vue-data-ui 3.2.1 → 3.2.3
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-cyyFTTnm.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-xISHA7Pu.js → DataTable-BvjacRbw.js} +10 -10
- package/dist/{Legend-_Rv594VS.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-oBQ8brnx.js} +1 -1
- package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-BDy56-wS.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-qM5l8BsU.js → Slicer-BA2GhOmY.js} +68 -68
- package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-BIaVNiUQ.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-DsTgvAok.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 +5 -0
- 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-CSg_eTqL.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-CH7J0fYg.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-p5pfHmOX.js → lib-BEpWEyMm.js} +351 -368
- package/dist/{pdf-Wd2BQz4D.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +24 -3
- package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-CLD3Gk9S.js} +24 -7
- package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-hSWsJzdK.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-B45AYk-O.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-CJ66TbYc.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-D_V1l1Jt.js} +15 -15
- package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-DrkWrGT2.js} +33 -33
- package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-0zk2YkV7.js} +4 -4
- package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-CAGkS9Lt.js} +33 -33
- package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-CHAaUGaZ.js} +54 -54
- package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-CBySiQot.js} +31 -31
- package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-BAOd1hi1.js} +69 -69
- package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-BgYaWImK.js} +8 -8
- package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-UWyvIsbE.js} +55 -55
- package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-B5IHRXdS.js} +7 -7
- package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DB4sLZG4.js} +63 -63
- package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-COZLSfZ8.js} +37 -37
- package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-S8pIdU78.js} +46 -46
- package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-BVaE3IZt.js} +59 -59
- package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-BmJ01zdG.js} +3 -3
- package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-DiAryN8L.js} +8 -8
- package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-eeYk4C28.js} +44 -44
- package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-CKMzFSG5.js} +5 -5
- package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-daI3rmbc.js} +6 -6
- package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-CawOBU0s.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-Ci7qxsh6.js} +70 -70
- package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-CUkVuewC.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-D7UkjkUV.js} +35 -35
- package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-B9VZz5d6.js} +8 -8
- package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-BQgH4Aap.js} +55 -55
- package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-DvZ8XcZC.js} +54 -54
- package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-Bal5QL_Z.js} +28 -28
- package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-DbRZFJcN.js} +27 -27
- package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-BJ_Dmy5i.js} +38 -38
- package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-bljL9Bav.js} +50 -50
- package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-DZPi12tE.js} +3 -3
- package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-CqMF642_.js} +22 -22
- package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-BcyaivMe.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BkIUpzkZ.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-DnPdJk3e.js} +4 -4
- package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-F7h636hU.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-B-Du5D3w.js} +3 -3
- package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-BNOfLkY2.js} +38 -38
- package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-DNPM01M_.js} +7 -7
- package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-__ABUm9x.js} +196 -156
- package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-D-iueyM0.js} +14 -14
- package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-B5QdvlV7.js} +5 -5
- package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-DID_4Y6w.js} +10 -10
- package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-CjJmpXoF.js} +27 -27
- package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-wDKOTVny.js} +6 -6
- package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-DFo4w0cb.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-BEdckhBh.js} +31 -31
- package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-D5i1Q6tF.js} +75 -75
- package/dist/vue-ui-wheel-DJlN8joO.js +620 -0
- package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-B7Y2UrwO.js} +29 -29
- package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-DzF8YW_Q.js} +6 -6
- package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-DGln2YgO.js} +900 -822
- package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-DF2Ts-g3.js} +10 -10
- package/package.json +3 -3
- package/dist/ColorPicker-gaAecgEC.js +0 -135
- package/dist/vue-ui-accordion-BSrtaPYx.js +0 -76
- package/dist/vue-ui-annotator-DGVlVhhy.js +0 -2182
- package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
|
@@ -1,10 +1,10 @@
|
|
|
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 U, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as z, 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, a3 as ce, E as ve, a0 as me, x as fe, y as he } from "./lib-BEpWEyMm.js";
|
|
3
|
+
import { u as ge, a as H } from "./useNestedProp-CLD3Gk9S.js";
|
|
4
|
+
import { u as be } from "./usePrinter-w23K-ezx.js";
|
|
5
5
|
import { u as ye } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { t as Ce } from "./themes-D3cUNuKw.js";
|
|
7
|
-
import { _ as ke } from "./Shape-
|
|
7
|
+
import { _ as ke } from "./Shape-C_C_OmqR.js";
|
|
8
8
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], xe = {
|
|
10
10
|
key: 0,
|
|
@@ -43,11 +43,11 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
43
43
|
},
|
|
44
44
|
setup(D, { expose: L }) {
|
|
45
45
|
ae((e) => ({
|
|
46
|
-
|
|
46
|
+
v8f8e7142: ee.value,
|
|
47
47
|
cb3b028c: j.value
|
|
48
48
|
}));
|
|
49
|
-
const X = oe(() => import("./UserOptions-
|
|
50
|
-
|
|
49
|
+
const X = oe(() => import("./UserOptions-DsTgvAok.js")), { vue_ui_table_heatmap: W } = ge(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
|
|
50
|
+
U(() => {
|
|
51
51
|
q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
52
52
|
});
|
|
53
53
|
const t = c({
|
|
@@ -74,7 +74,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
74
74
|
fileName: "vue-ui-table-heatmap",
|
|
75
75
|
options: t.value.userOptions.print
|
|
76
76
|
}), Q = c(() => t.value.table.responsiveBreakpoint), Y = c(() => !!m.dataset && m.dataset.length);
|
|
77
|
-
|
|
77
|
+
U(() => {
|
|
78
78
|
V();
|
|
79
79
|
});
|
|
80
80
|
function V() {
|
|
@@ -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 E(e = null) {
|
|
123
123
|
ie(() => {
|
|
124
124
|
const o = T.value.map((l) => [
|
|
125
125
|
[l.name],
|
|
@@ -136,13 +136,13 @@ 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: E,
|
|
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: z({ "vue-ui-responsive": d.value }),
|
|
146
146
|
id: `table_heatmap_${_.value}`,
|
|
147
147
|
onMouseenter: o[0] || (o[0] = () => i(x)(!0)),
|
|
148
148
|
onMouseleave: o[1] || (o[1] = () => i(x)(!1))
|
|
@@ -167,7 +167,7 @@ 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: E,
|
|
171
171
|
onGenerateImage: i(S),
|
|
172
172
|
style: C({
|
|
173
173
|
visibility: i(F) ? i($) ? "visible" : "hidden" : "visible"
|
|
@@ -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: z({ "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, [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Fe, defineAsyncComponent as J, 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 K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
|
|
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-
|
|
2
|
+
import { u as Ge, a as ye } from "./useNestedProp-CLD3Gk9S.js";
|
|
3
|
+
import { c as Le, b as Re, p as T, e as He, o as Xe, f as he, g as qe, a3 as Je, h as Ke, a as W, d as M, x as Qe, y as Ye } from "./lib-BEpWEyMm.js";
|
|
4
|
+
import { u as Ze } from "./usePrinter-w23K-ezx.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-D3cUNuKw.js";
|
|
@@ -42,9 +42,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
42
42
|
},
|
|
43
43
|
setup(ke, { expose: _e }) {
|
|
44
44
|
Fe((t) => ({
|
|
45
|
-
|
|
45
|
+
v3ff44dec: t.tdo
|
|
46
46
|
}));
|
|
47
|
-
const Ce = J(() => import("./vue-ui-sparkline-
|
|
47
|
+
const Ce = J(() => import("./vue-ui-sparkline-F7h636hU.js")), N = J(() => import("./BaseIcon-Bz-1GQhu.js")), xe = J(() => import("./UserOptions-DsTgvAok.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
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useCssVars as ze, computed as c, defineAsyncComponent as j, ref as v, onMounted as We, toRefs as Ue, watch as Le, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as ve, normalizeClass as z, createBlock as W, createCommentVNode as i, createSlots as Ne, withCtx as A, renderSlot as y, normalizeProps as U, guardReactiveProps as L, createVNode as Ye, createElementVNode as d, Fragment as N, renderList as de, toDisplayString as He } from "vue";
|
|
2
|
-
import { c as qe, t as Ee, o as Re, f as me, g as Ve, b as Ge, p as F, e as Be, q as f, h as Y, X as De, s as je, a as Xe, d as Je } from "./lib-
|
|
2
|
+
import { c as qe, t as Ee, o as Re, f as me, g as Ve, b as Ge, p as F, e as Be, q as f, h as Y, X as De, s as je, a as Xe, d as Je } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as Ke, u as Qe } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ze, a as ye } from "./useNestedProp-
|
|
4
|
+
import { u as Ze, a as ye } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as et, B as tt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as st } from "./usePrinter-
|
|
6
|
+
import { u as st } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as ot } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as lt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import { u as at } from "./useAutoSizeLabelsInsideViewbox-
|
|
9
|
+
import { u as at } from "./useAutoSizeLabelsInsideViewbox-BVJkib7z.js";
|
|
10
10
|
import { t as rt } from "./themes-D3cUNuKw.js";
|
|
11
|
-
import ut from "./Title-
|
|
12
|
-
import nt from "./img-
|
|
11
|
+
import ut from "./Title-C__lOIPC.js";
|
|
12
|
+
import nt from "./img-DjWwQXVS.js";
|
|
13
13
|
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const ht = ["id"], ct = {
|
|
15
15
|
key: 1,
|
|
@@ -37,11 +37,11 @@ const ht = ["id"], ct = {
|
|
|
37
37
|
},
|
|
38
38
|
setup(O, { expose: fe }) {
|
|
39
39
|
ze((s) => ({
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
v25439570: Fe.value,
|
|
41
|
+
v6fd0a11e: Ae.value,
|
|
42
|
+
v1ea034ea: $e.value
|
|
43
43
|
}));
|
|
44
|
-
const ge = j(() => import("./PackageVersion-
|
|
44
|
+
const ge = j(() => import("./PackageVersion-oBQ8brnx.js")), pe = j(() => import("./PenAndPaper-CR8q353D.js")), ke = j(() => import("./UserOptions-DsTgvAok.js")), { vue_ui_thermometer: be } = Ze(), g = O, p = v(qe()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), b = v(null), I = v(null), xe = c(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
45
45
|
We(() => {
|
|
46
46
|
te();
|
|
47
47
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as
|
|
2
|
-
import { u as ne, a as ce } from "./useNestedProp-
|
|
3
|
-
import { c as ve, X as de,
|
|
1
|
+
import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
|
|
2
|
+
import { u as ne, a as ce } from "./useNestedProp-CLD3Gk9S.js";
|
|
3
|
+
import { c as ve, X as de, D as X } from "./lib-BEpWEyMm.js";
|
|
4
4
|
import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import we from "./Title-
|
|
7
|
-
import R from "./BaseIcon-
|
|
6
|
+
import we from "./Title-C__lOIPC.js";
|
|
7
|
+
import R from "./BaseIcon-Bz-1GQhu.js";
|
|
8
8
|
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
class ge {
|
|
10
|
-
constructor(L, N, S, j = !0,
|
|
10
|
+
constructor(L, N, S, j = !0, D = !0) {
|
|
11
11
|
this.interval = N, this.elapsed = 0, this.isPaused = !1;
|
|
12
12
|
const g = `
|
|
13
13
|
let interval;
|
|
@@ -72,10 +72,10 @@ class ge {
|
|
|
72
72
|
break;
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
|
-
`, $ = new Blob([g], { type: "application/javascript" }),
|
|
75
|
+
`, $ = new Blob([g], { type: "application/javascript" }), A = URL.createObjectURL($), i = new Worker(A);
|
|
76
76
|
function n(o) {
|
|
77
77
|
let h = Math.floor(o / 1e3), k = Math.floor(o % 1e3 / 10), m = Math.floor(h / 3600), e = Math.floor(h % 3600 / 60), x = h % 60, p = "";
|
|
78
|
-
return
|
|
78
|
+
return D && (p += String(m).padStart(2, "0") + ":"), p += String(e).padStart(2, "0") + ":", p += String(x).padStart(2, "0"), j && (p += "." + String(k).padStart(2, "0")), p;
|
|
79
79
|
}
|
|
80
80
|
this.start = () => {
|
|
81
81
|
this.isPaused = !1, i.postMessage({ action: "start", data: { interval: this.interval } });
|
|
@@ -118,7 +118,7 @@ class ge {
|
|
|
118
118
|
const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e = ["id"], Ce = ["stop-color"], Me = ["stop-color"], Te = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], $e = ["d", "stroke", "stroke-width"], xe = ["r", "fill", "stroke", "stroke-width"], Ie = ["r", "fill", "stroke", "stroke-width"], Pe = ["x", "y"], Re = ["x", "y", "font-size", "fill", "font-weight"], Se = {
|
|
119
119
|
key: 0,
|
|
120
120
|
class: "vue-ui-timer-controls"
|
|
121
|
-
},
|
|
121
|
+
}, De = ["title"], Ae = ["title"], ze = ["title"], Fe = ["title"], He = ["title"], Le = {
|
|
122
122
|
__name: "vue-ui-timer",
|
|
123
123
|
props: {
|
|
124
124
|
config: {
|
|
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
130
130
|
},
|
|
131
131
|
emits: ["start", "pause", "reset", "restart", "lap"],
|
|
132
132
|
setup(q, { expose: L, emit: N }) {
|
|
133
|
-
const S = se(() => import("./PackageVersion-
|
|
133
|
+
const S = se(() => import("./PackageVersion-oBQ8brnx.js")), { vue_ui_timer: j } = ne(), D = q, g = N, $ = v(null), A = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
|
|
134
134
|
le(() => {
|
|
135
135
|
m();
|
|
136
136
|
});
|
|
@@ -139,7 +139,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
139
139
|
const a = he(() => {
|
|
140
140
|
const { width: u, height: c } = pe({
|
|
141
141
|
chart: $.value,
|
|
142
|
-
title: e.value.style.title.text ?
|
|
142
|
+
title: e.value.style.title.text ? A.value : null,
|
|
143
143
|
legend: i.value
|
|
144
144
|
});
|
|
145
145
|
requestAnimationFrame(() => {
|
|
@@ -170,20 +170,20 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
170
170
|
oe(() => {
|
|
171
171
|
n.value && (o.value && n.value.unobserve(o.value), n.value.disconnect());
|
|
172
172
|
});
|
|
173
|
-
const e =
|
|
173
|
+
const e = F({
|
|
174
174
|
get: () => p(),
|
|
175
175
|
set: (a) => a
|
|
176
176
|
}), { svgRef: x } = fe({ config: e.value.style.title });
|
|
177
177
|
function p() {
|
|
178
178
|
return ce({
|
|
179
|
-
userConfig:
|
|
179
|
+
userConfig: D.config,
|
|
180
180
|
defaultConfig: j
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
|
-
re(() =>
|
|
183
|
+
re(() => D.config, (a) => {
|
|
184
184
|
e.value = p(), m(), k.value += 1;
|
|
185
185
|
}, { deep: !0 });
|
|
186
|
-
const J =
|
|
186
|
+
const J = F(() => {
|
|
187
187
|
if (e.value.stopwatch.showHours && e.value.stopwatch.showHundredth)
|
|
188
188
|
return "00:00:00.00";
|
|
189
189
|
if (e.value.stopwatch.showHours && !e.value.stopwatch.showHundredth)
|
|
@@ -220,7 +220,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
220
220
|
s.value && (f.value = !1, g("restart"), _.value = [], I.restart());
|
|
221
221
|
}
|
|
222
222
|
const _ = v([]);
|
|
223
|
-
async function
|
|
223
|
+
async function z() {
|
|
224
224
|
if (!s.value || f.value) return;
|
|
225
225
|
const a = await I.lap();
|
|
226
226
|
a && (_.value.push(a), g("lap", _.value));
|
|
@@ -228,7 +228,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
228
228
|
function Z({ timestamp: a, elapsed: u, formatted: c }) {
|
|
229
229
|
y.value = { timestamp: a, elapsed: u, formatted: c };
|
|
230
230
|
}
|
|
231
|
-
const b =
|
|
231
|
+
const b = F(() => Math.min(t.value.width, t.value.height) / 2.5 * e.value.stopwatch.track.radiusRatio);
|
|
232
232
|
function ee(a, u) {
|
|
233
233
|
const P = 360 / (u * 1e3);
|
|
234
234
|
return a * P % 360;
|
|
@@ -237,7 +237,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
237
237
|
let u = a * (Math.PI / 180), c = t.value.width / 2 + b.value * Math.cos(u), P = t.value.height / 2 + b.value * Math.sin(u);
|
|
238
238
|
return { cx: c, cy: P };
|
|
239
239
|
}
|
|
240
|
-
const C =
|
|
240
|
+
const C = F(() => {
|
|
241
241
|
const a = ee(y.value.elapsed, e.value.stopwatch.cycleSeconds), { cx: u, cy: c } = te(a - 90), P = a > 180 ? 1 : 0;
|
|
242
242
|
return {
|
|
243
243
|
cx: u || t.value.width / 2,
|
|
@@ -251,7 +251,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
251
251
|
pause: U,
|
|
252
252
|
reset: O,
|
|
253
253
|
restart: W,
|
|
254
|
-
lap:
|
|
254
|
+
lap: z
|
|
255
255
|
}), (a, u) => (l(), r("div", {
|
|
256
256
|
ref_key: "timerChart",
|
|
257
257
|
ref: $,
|
|
@@ -266,7 +266,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
266
266
|
e.value.style.title.text ? (l(), r("div", {
|
|
267
267
|
key: 0,
|
|
268
268
|
ref_key: "chartTitle",
|
|
269
|
-
ref:
|
|
269
|
+
ref: A,
|
|
270
270
|
style: w({
|
|
271
271
|
width: "100%",
|
|
272
272
|
background: e.value.style.backgroundColor
|
|
@@ -397,7 +397,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
397
397
|
name: "play",
|
|
398
398
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
399
399
|
}, null, 8, ["stroke"])
|
|
400
|
-
], 12,
|
|
400
|
+
], 12, De)) : d("", !0),
|
|
401
401
|
e.value.stopwatch.legend.buttons.pause ? (l(), r("button", {
|
|
402
402
|
key: 1,
|
|
403
403
|
title: f.value ? e.value.stopwatch.legend.buttonTitles.resume : e.value.stopwatch.legend.buttonTitles.pause,
|
|
@@ -412,7 +412,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
412
412
|
name: "pause",
|
|
413
413
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
414
414
|
}, null, 8, ["stroke"])
|
|
415
|
-
], 12,
|
|
415
|
+
], 12, Ae)) : d("", !0),
|
|
416
416
|
e.value.stopwatch.legend.buttons.reset ? (l(), r("button", {
|
|
417
417
|
key: 2,
|
|
418
418
|
title: e.value.stopwatch.legend.buttonTitles.reset,
|
|
@@ -427,7 +427,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
427
427
|
name: "stop",
|
|
428
428
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
429
429
|
}, null, 8, ["stroke"])
|
|
430
|
-
], 12,
|
|
430
|
+
], 12, ze)) : d("", !0),
|
|
431
431
|
e.value.stopwatch.legend.buttons.restart ? (l(), r("button", {
|
|
432
432
|
key: 3,
|
|
433
433
|
title: e.value.stopwatch.legend.buttonTitles.restart,
|
|
@@ -442,11 +442,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
442
442
|
name: "restart",
|
|
443
443
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
444
444
|
}, null, 8, ["stroke"])
|
|
445
|
-
], 12,
|
|
445
|
+
], 12, Fe)) : d("", !0),
|
|
446
446
|
e.value.stopwatch.legend.buttons.lap ? (l(), r("button", {
|
|
447
447
|
key: 4,
|
|
448
448
|
title: e.value.stopwatch.legend.buttonTitles.lap,
|
|
449
|
-
onClick:
|
|
449
|
+
onClick: z,
|
|
450
450
|
class: "vue-ui-timer-button",
|
|
451
451
|
style: w({
|
|
452
452
|
opacity: s.value && !f.value ? 1 : 0.2,
|
|
@@ -464,7 +464,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
464
464
|
pause: U,
|
|
465
465
|
reset: O,
|
|
466
466
|
restart: W,
|
|
467
|
-
lap:
|
|
467
|
+
lap: z,
|
|
468
468
|
laps: _.value,
|
|
469
469
|
isRunning: s.value,
|
|
470
470
|
isPaused: f.value,
|
|
@@ -472,7 +472,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
472
472
|
})), void 0, !0),
|
|
473
473
|
H(a.$slots, "laps", V(G({
|
|
474
474
|
laps: _.value,
|
|
475
|
-
lap:
|
|
475
|
+
lap: z,
|
|
476
476
|
isRunning: s.value,
|
|
477
477
|
isPaused: f.value,
|
|
478
478
|
...y.value
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as H, computed as f, ref as v, toRefs as xe, watch as ie, onMounted as Ae, createElementBlock as u, openBlock as r, unref as s, normalizeStyle as j, normalizeClass as X, createBlock as R, createCommentVNode as g, createSlots as Oe, withCtx as O, renderSlot as p, normalizeProps as M, guardReactiveProps as E, createVNode as Pe, Fragment as ce, renderList as ve, toDisplayString as Ie } from "vue";
|
|
2
|
-
import { c as ze, t as Se, q as Fe, o as Te, f as Ne, i as he, X as Re, a as Me, d as Ee } from "./lib-
|
|
2
|
+
import { c as ze, t as Se, q as Fe, o as Te, f as Ne, i as he, X as Re, a as Me, d as Ee } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as Le, u as Ue } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Be, a as de } from "./useNestedProp-
|
|
4
|
+
import { u as Be, a as de } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as Ge, B as De } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as He } from "./usePrinter-
|
|
6
|
+
import { u as He } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as je } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Xe } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { t as qe } from "./themes-D3cUNuKw.js";
|
|
10
|
-
import Ve from "./Title-
|
|
11
|
-
import Ye from "./img-
|
|
10
|
+
import Ve from "./Title-C__lOIPC.js";
|
|
11
|
+
import Ye from "./img-DjWwQXVS.js";
|
|
12
12
|
import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = { key: 1 }, et = ["d", "stroke-width", "stroke"], tt = { key: 2 }, at = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], lt = { key: 3 }, ot = ["x", "y", "height"], st = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], nt = {
|
|
14
14
|
key: 4,
|
|
@@ -30,7 +30,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = { k
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
setup(fe, { expose: ye }) {
|
|
33
|
-
const ge = H(() => import("./PenAndPaper-
|
|
33
|
+
const ge = H(() => import("./PenAndPaper-CR8q353D.js")), pe = H(() => import("./UserOptions-DsTgvAok.js")), me = H(() => import("./PackageVersion-oBQ8brnx.js")), { vue_ui_tiremarks: ke } = Be(), w = fe, be = f(() => !!w.dataset && Object.keys(w.dataset).length), L = v(ze()), C = v(null), we = v(null), q = v(null), V = v(null), Y = v(0), W = v(0), $ = v(null), P = v(null), e = v(G()), { loading: J, FINAL_DATASET: U } = Ge({
|
|
34
34
|
...xe(w),
|
|
35
35
|
FINAL_CONFIG: e,
|
|
36
36
|
prepareConfig: G,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineAsyncComponent as te, useSlots as Wt, onMounted as yt, computed as b, ref as m, shallowRef as U, toRefs as Gt, watch as ke, onBeforeUnmount as Xt, createElementBlock as y, openBlock as d, unref as c, normalizeStyle as M, normalizeClass as Le, createBlock as Z, createCommentVNode as _, createElementVNode as O, createVNode as we, createSlots as bt, withCtx as T, renderSlot as C, normalizeProps as le, guardReactiveProps as oe, Fragment as Ce, renderList as Me, withKeys as kt, withModifiers as Be, mergeProps as Ve, createTextVNode as $e, toDisplayString as H, Teleport as qt, resolveDynamicComponent as Yt, nextTick as jt } from "vue";
|
|
2
|
-
import { c as Te, t as Zt, b as Kt, p as F, e as Jt, o as wt, f as Qt, h as de, a as xe, d as he, X as el, m as Ct,
|
|
2
|
+
import { c as Te, t as Zt, b as Kt, p as F, e as Jt, o as wt, f as Qt, h as de, a as xe, d as he, X as el, m as Ct, E as $t, z as Tt, x as tl, y as ll, A as ol } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as al, u as nl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as sl, a as xt } from "./useNestedProp-
|
|
4
|
+
import { u as sl, a as xt } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as ul, B as rl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as il } from "./usePrinter-
|
|
6
|
+
import { u as il } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as cl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as vl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import dl from "./img-
|
|
10
|
-
import hl from "./Title-
|
|
9
|
+
import dl from "./img-DjWwQXVS.js";
|
|
10
|
+
import hl from "./Title-C__lOIPC.js";
|
|
11
11
|
import { t as pl } from "./themes-D3cUNuKw.js";
|
|
12
|
-
import fl from "./Legend-
|
|
13
|
-
import _t from "./BaseIcon-
|
|
12
|
+
import fl from "./Legend-BpoFJ8fc.js";
|
|
13
|
+
import _t from "./BaseIcon-Bz-1GQhu.js";
|
|
14
14
|
import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
function Ot(n, r) {
|
|
16
16
|
const s = n.length;
|
|
@@ -202,7 +202,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
202
202
|
},
|
|
203
203
|
emits: ["selectLegend", "selectDatapoint"],
|
|
204
204
|
setup(n, { expose: r, emit: s }) {
|
|
205
|
-
const i = te(() => import("./DataTable-
|
|
205
|
+
const i = te(() => import("./DataTable-BvjacRbw.js")), u = te(() => import("./PenAndPaper-CR8q353D.js")), h = te(() => import("./vue-ui-accordion-Cv7OaVUI.js")), v = te(() => import("./Tooltip-BOXz8skU.js")), g = te(() => import("./UserOptions-DsTgvAok.js")), f = te(() => import("./PackageVersion-oBQ8brnx.js")), W = te(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_treemap: P } = sl(), k = n, $ = s, w = Wt();
|
|
206
206
|
yt(() => {
|
|
207
207
|
w["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
208
208
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { useCssVars as Ut, defineAsyncComponent as K, useSlots as Xt, computed as y, ref as i, toRefs as Wt, watch as Ae, shallowRef as vt, onMounted as ze, nextTick as de, onBeforeUnmount as Gt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as U, createBlock as X, createCommentVNode as f, renderSlot as _, createVNode as J, createSlots as he, withCtx as m, normalizeProps as Q, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as ct, resolveDynamicComponent as Ht, withKeys as jt, createTextVNode as dt } from "vue";
|
|
2
|
-
import { c as qt, t as Yt, b as Kt, p as W,
|
|
2
|
+
import { c as qt, t as Yt, b as Kt, p as W, B as Ve, e as Jt, q as L, o as Oe, f as ue, h as Fe, a as pe, d as G, X as Qt, s as Ie, i as Zt, x as ea, y as ta, z as aa, A as la } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as oa, u as na } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ua, a as ht } from "./useNestedProp-
|
|
4
|
+
import { u as ua, a as ht } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as sa, B as ra } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as ia } from "./usePrinter-
|
|
6
|
+
import { u as ia } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as va } from "./useTableResponsive-Cbx-ACcP.js";
|
|
8
8
|
import { u as ca } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as da } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { t as ha } from "./themes-D3cUNuKw.js";
|
|
11
|
-
import pt from "./Legend-
|
|
12
|
-
import pa from "./vue-ui-accordion-
|
|
13
|
-
import fa from "./Title-
|
|
14
|
-
import { _ as ft } from "./Shape-
|
|
15
|
-
import ga from "./img-
|
|
11
|
+
import pt from "./Legend-BpoFJ8fc.js";
|
|
12
|
+
import pa from "./vue-ui-accordion-Cv7OaVUI.js";
|
|
13
|
+
import fa from "./Title-C__lOIPC.js";
|
|
14
|
+
import { _ as ft } from "./Shape-C_C_OmqR.js";
|
|
15
|
+
import ga from "./img-DjWwQXVS.js";
|
|
16
16
|
import { _ as ya } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "width", "height"], _a = ["id"], wa = ["stop-color"], $a = ["stop-color"], Ca = { key: 1 }, Ta = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = { class: "vue-ui-horizontal-bar-child-label" }, za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Va = ["x", "y", "font-size", "fill", "font-weight"], Oa = { class: "vue-ui-horizontal-bar-parent-label" }, Fa = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight"],
|
|
17
|
+
const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "width", "height"], _a = ["id"], wa = ["stop-color"], $a = ["stop-color"], Ca = { key: 1 }, Ta = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = { class: "vue-ui-horizontal-bar-child-label" }, za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Va = ["x", "y", "font-size", "fill", "font-weight"], Oa = { class: "vue-ui-horizontal-bar-parent-label" }, Fa = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight"], Ma = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Da = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, Ba = ["onClick"], Ra = { style: "width:100%;padding-top: 36px;position:relative" }, Ea = { class: "vue-ui-data-table" }, Ua = { key: 0 }, Xa = { style: { width: "100%" } }, Wa = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ha = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ka = ["data-cell"], Ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qa = ["data-cell"], Za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, el = ["data-cell"], tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = {
|
|
@@ -36,16 +36,16 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
36
36
|
emits: ["selectLegend"],
|
|
37
37
|
setup(gt, { expose: yt, emit: bt }) {
|
|
38
38
|
Ut((t) => ({
|
|
39
|
-
|
|
39
|
+
v27fa778f: t.tdo
|
|
40
40
|
}));
|
|
41
|
-
const mt = K(() => import("./Tooltip-
|
|
41
|
+
const mt = K(() => import("./Tooltip-BOXz8skU.js")), Me = K(() => import("./BaseIcon-Bz-1GQhu.js")), kt = K(() => import("./PenAndPaper-CR8q353D.js")), xt = K(() => import("./UserOptions-DsTgvAok.js")), _t = K(() => import("./PackageVersion-oBQ8brnx.js")), wt = K(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_vertical_bar: $t } = ua(), Ct = Xt(), b = gt, fe = y({
|
|
42
42
|
get() {
|
|
43
43
|
return !!b.dataset && b.dataset.length;
|
|
44
44
|
},
|
|
45
45
|
set(t) {
|
|
46
46
|
return t;
|
|
47
47
|
}
|
|
48
|
-
}), S = i(qt()), ge = i(!1), ye = i(""), ae = i(0), Tt = i(null),
|
|
48
|
+
}), S = i(qt()), ge = i(!1), ye = i(""), ae = i(0), Tt = i(null), De = i(0), P = i(null), Be = i(null), be = i(null), Re = i(null), Ee = i(null), Ue = i(0), me = i(0), H = i(null), le = i(null), ke = i(null), St = bt, e = i($e()), Lt = y(() => [
|
|
49
49
|
{ name: "", value: 6, color: "#d9d9d9" },
|
|
50
50
|
{ name: "", value: 5, color: "#d9d9d9" },
|
|
51
51
|
{ name: "", value: 4, color: "#d9d9d9" },
|
|
@@ -291,7 +291,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
291
291
|
width: C.value.width - (C.value.padding.left + C.value.padding.right)
|
|
292
292
|
}));
|
|
293
293
|
async function q() {
|
|
294
|
-
ae.value =
|
|
294
|
+
ae.value = D.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await F();
|
|
295
295
|
}
|
|
296
296
|
const A = i([]);
|
|
297
297
|
async function oe(t) {
|
|
@@ -301,9 +301,9 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
301
301
|
if (A.value.length === I.value.length - 1) return;
|
|
302
302
|
A.value.push(t);
|
|
303
303
|
}
|
|
304
|
-
q(), await de(), e.value.autoSize && F(), St("selectLegend",
|
|
304
|
+
q(), await de(), e.value.autoSize && F(), St("selectLegend", D.value);
|
|
305
305
|
}
|
|
306
|
-
const
|
|
306
|
+
const D = y(() => I.value.filter((t) => !A.value.includes(t.id))), V = y(() => D.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
|
|
307
307
|
function ot(t, l = !1, a = 0) {
|
|
308
308
|
return l ? G({
|
|
309
309
|
v: L(Math.abs(t) / V.value * 100),
|
|
@@ -311,7 +311,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
311
311
|
r: a
|
|
312
312
|
}) : Math.abs(t) / V.value;
|
|
313
313
|
}
|
|
314
|
-
const B = y(() =>
|
|
314
|
+
const B = y(() => D.value.flatMap((t) => t.hasChildren ? t.children : t)), R = y(() => B.value.map((t) => t.sign).includes(-1)), zt = y(() => Math.max(...D.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
|
|
315
315
|
function T(t) {
|
|
316
316
|
const l = t / zt.value;
|
|
317
317
|
return r.value.width / (R.value ? 2 : 1) * l;
|
|
@@ -320,7 +320,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
320
320
|
return T(t) + r.value.left;
|
|
321
321
|
}
|
|
322
322
|
function ne(t, l) {
|
|
323
|
-
const a =
|
|
323
|
+
const a = D.value.find((w) => w.id === t.parentId), o = r.value.top + (k.value + p.value) * l, g = a.children.length * (k.value + p.value);
|
|
324
324
|
return {
|
|
325
325
|
y: o + g / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
326
326
|
name: a.name,
|
|
@@ -330,7 +330,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
332
|
function Ot() {
|
|
333
|
-
return
|
|
333
|
+
return D.value;
|
|
334
334
|
}
|
|
335
335
|
const Te = i(null), Se = i(null);
|
|
336
336
|
function Ft({ datapoint: t, seriesIndex: l }) {
|
|
@@ -339,7 +339,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
339
339
|
function It({ datapoint: t, seriesIndex: l }) {
|
|
340
340
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Tt.value = null, ge.value = !1, Te.value = null;
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Mt(t, l) {
|
|
343
343
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Se.value = {
|
|
344
344
|
datapoint: t,
|
|
345
345
|
seriesIndex: l,
|
|
@@ -450,29 +450,29 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
450
450
|
}
|
|
451
451
|
const E = i(!1);
|
|
452
452
|
function ut(t) {
|
|
453
|
-
E.value = t,
|
|
453
|
+
E.value = t, De.value += 1;
|
|
454
454
|
}
|
|
455
455
|
function st() {
|
|
456
456
|
$.value.showTable = !$.value.showTable;
|
|
457
457
|
}
|
|
458
|
-
const
|
|
458
|
+
const Dt = i({
|
|
459
459
|
none: 0,
|
|
460
460
|
asc: 1,
|
|
461
461
|
desc: 2
|
|
462
|
-
}),
|
|
462
|
+
}), M = i(0), ie = i(!1);
|
|
463
463
|
ze(() => {
|
|
464
464
|
["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || ue({
|
|
465
465
|
componentName: "VueUiVerticalBar",
|
|
466
466
|
type: "attributeWrongValue",
|
|
467
467
|
property: "style.chart.layout.bars.sort",
|
|
468
468
|
key: e.value.style.chart.layout.bars.sort
|
|
469
|
-
}),
|
|
469
|
+
}), M.value = Dt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, ie.value = M.value === 0;
|
|
470
470
|
});
|
|
471
471
|
function Bt() {
|
|
472
|
-
|
|
472
|
+
M.value += 1, M.value > 2 && (M.value = 0);
|
|
473
473
|
}
|
|
474
474
|
function rt() {
|
|
475
|
-
Bt(), $.value.sortDesc =
|
|
475
|
+
Bt(), $.value.sortDesc = M.value === 2, ie.value = M.value === 0, q();
|
|
476
476
|
}
|
|
477
477
|
function it() {
|
|
478
478
|
$.value.showTooltip = !$.value.showTooltip;
|
|
@@ -591,7 +591,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
591
591
|
e.value.userOptions.show && fe.value && (s(Ge) || s(we)) ? (u(), X(s(xt), {
|
|
592
592
|
ref_key: "userOptionsRef",
|
|
593
593
|
ref: ke,
|
|
594
|
-
key: `user_options_${
|
|
594
|
+
key: `user_options_${De.value}`,
|
|
595
595
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
596
596
|
color: e.value.style.chart.color,
|
|
597
597
|
isImaging: s(qe),
|
|
@@ -889,15 +889,15 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
889
889
|
width: N.value.width,
|
|
890
890
|
height: p.value + k.value <= 0 ? 1e-4 : p.value + k.value,
|
|
891
891
|
fill: Te.value === a.id ? s(Ie)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
|
|
892
|
-
onMouseenter: (g) =>
|
|
892
|
+
onMouseenter: (g) => Mt(a, o),
|
|
893
893
|
onMouseleave: (g) => It({ datapoint: a, seriesIndex: o }),
|
|
894
894
|
onClick: (g) => Ft({ datapoint: a, seriesIndex: o })
|
|
895
|
-
}, null, 40,
|
|
895
|
+
}, null, 40, Ma)
|
|
896
896
|
]))), 256)),
|
|
897
897
|
_(t.$slots, "svg", { svg: N.value }, void 0, !0)
|
|
898
898
|
], 512)
|
|
899
899
|
], 14, ka)),
|
|
900
|
-
t.$slots.watermark ? (u(), v("div",
|
|
900
|
+
t.$slots.watermark ? (u(), v("div", Da, [
|
|
901
901
|
_(t.$slots, "watermark", Q(Z({ isPrinting: s(je) || s(qe) })), void 0, !0)
|
|
902
902
|
])) : f("", !0),
|
|
903
903
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
|
|
@@ -1002,7 +1002,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
1002
1002
|
onClick: Ne,
|
|
1003
1003
|
onKeypress: jt(Ne, ["enter"])
|
|
1004
1004
|
}, [
|
|
1005
|
-
J(s(
|
|
1005
|
+
J(s(Me), {
|
|
1006
1006
|
name: "close",
|
|
1007
1007
|
stroke: e.value.table.th.color,
|
|
1008
1008
|
"stroke-width": 2
|
|
@@ -1140,7 +1140,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
1140
1140
|
class: "vue-ui-user-options-button",
|
|
1141
1141
|
onClick: l[2] || (l[2] = (a) => Le(e.value.userOptions.callbacks.csv))
|
|
1142
1142
|
}, [
|
|
1143
|
-
J(s(
|
|
1143
|
+
J(s(Me), {
|
|
1144
1144
|
name: "excel",
|
|
1145
1145
|
stroke: ce.value.props.color
|
|
1146
1146
|
}, null, 8, ["stroke"])
|