vue-data-ui 0.1.4 → 0.1.5
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.
|
@@ -12820,7 +12820,7 @@ function(e) {
|
|
|
12820
12820
|
*/
|
|
12821
12821
|
function(e) {
|
|
12822
12822
|
function A() {
|
|
12823
|
-
return (CA.canvg ? Promise.resolve(CA.canvg) : import("./index.es-
|
|
12823
|
+
return (CA.canvg ? Promise.resolve(CA.canvg) : import("./index.es-c7dc9e76.js")).catch(function(t) {
|
|
12824
12824
|
return Promise.reject(new Error("Could not load canvg: " + t));
|
|
12825
12825
|
}).then(function(t) {
|
|
12826
12826
|
return t.default ? t.default : t;
|
|
@@ -29311,7 +29311,7 @@ function Jn(e, A, t) {
|
|
|
29311
29311
|
}
|
|
29312
29312
|
throw new Error("Unrecognized type " + A.type);
|
|
29313
29313
|
}
|
|
29314
|
-
function
|
|
29314
|
+
function e6(e, A) {
|
|
29315
29315
|
switch (A.type) {
|
|
29316
29316
|
case "base64":
|
|
29317
29317
|
return tl(e);
|
|
@@ -29366,7 +29366,7 @@ function D0(e, A) {
|
|
|
29366
29366
|
case "html":
|
|
29367
29367
|
return Jn(sw(e.Sheets[e.SheetNames[n]], t), t);
|
|
29368
29368
|
case "txt":
|
|
29369
|
-
return
|
|
29369
|
+
return e6(fw(e.Sheets[e.SheetNames[n]], t), t);
|
|
29370
29370
|
case "csv":
|
|
29371
29371
|
return Jn(Fh(e.Sheets[e.SheetNames[n]], t), t, "\uFEFF");
|
|
29372
29372
|
case "dif":
|
|
@@ -29408,7 +29408,7 @@ function D0(e, A) {
|
|
|
29408
29408
|
throw new Error("Unrecognized bookType |" + t.bookType + "|");
|
|
29409
29409
|
}
|
|
29410
29410
|
}
|
|
29411
|
-
function
|
|
29411
|
+
function A6(e, A, t, r, n, i, a, s) {
|
|
29412
29412
|
var o = or(t), l = s.defval, u = s.raw || !Object.prototype.hasOwnProperty.call(s, "raw"), d = !0, g = n === 1 ? [] : {};
|
|
29413
29413
|
if (n !== 1)
|
|
29414
29414
|
if (Object.defineProperty)
|
|
@@ -29505,13 +29505,13 @@ function d0(e, A) {
|
|
|
29505
29505
|
}
|
|
29506
29506
|
for (y = o.s.r + n; y <= o.e.r; ++y)
|
|
29507
29507
|
if (!(J[y] || {}).hidden) {
|
|
29508
|
-
var Ae =
|
|
29508
|
+
var Ae = A6(e, o, y, g, r, i, x, l);
|
|
29509
29509
|
(Ae.isempty === !1 || (r === 1 ? l.blankrows !== !1 : l.blankrows)) && (h[w++] = Ae.row);
|
|
29510
29510
|
}
|
|
29511
29511
|
return h.length = w, h;
|
|
29512
29512
|
}
|
|
29513
29513
|
var ug = /"/g;
|
|
29514
|
-
function
|
|
29514
|
+
function t6(e, A, t, r, n, i, a, s) {
|
|
29515
29515
|
for (var o = !0, l = [], u = "", d = or(t), g = A.s.c; g <= A.e.c; ++g)
|
|
29516
29516
|
if (r[g]) {
|
|
29517
29517
|
var h = s.dense ? (e[t] || [])[g] : e[r[g] + d];
|
|
@@ -29541,7 +29541,7 @@ function Fh(e, A) {
|
|
|
29541
29541
|
for (var g = r.skipHidden && e["!cols"] || [], h = r.skipHidden && e["!rows"] || [], w = n.s.c; w <= n.e.c; ++w)
|
|
29542
29542
|
(g[w] || {}).hidden || (d[w] = mr(w));
|
|
29543
29543
|
for (var v = 0, x = n.s.r; x <= n.e.r; ++x)
|
|
29544
|
-
(h[x] || {}).hidden || (u =
|
|
29544
|
+
(h[x] || {}).hidden || (u = t6(e, n, x, d, a, o, i, r), u != null && (r.strip && (u = u.replace(l, "")), (u || r.blankrows !== !1) && t.push((v++ ? s : "") + u)));
|
|
29545
29545
|
return delete r.dense, t.join("");
|
|
29546
29546
|
}
|
|
29547
29547
|
function fw(e, A) {
|
|
@@ -29550,7 +29550,7 @@ function fw(e, A) {
|
|
|
29550
29550
|
var t = Fh(e, A);
|
|
29551
29551
|
return t;
|
|
29552
29552
|
}
|
|
29553
|
-
function
|
|
29553
|
+
function r6(e) {
|
|
29554
29554
|
var A = "", t, r = "";
|
|
29555
29555
|
if (e == null || e["!ref"] == null)
|
|
29556
29556
|
return [];
|
|
@@ -29615,7 +29615,7 @@ function hw(e, A, t) {
|
|
|
29615
29615
|
i[mr(h + s) + w] = { t: "s", v: g[h] };
|
|
29616
29616
|
return i["!ref"] = Mt(u), i;
|
|
29617
29617
|
}
|
|
29618
|
-
function
|
|
29618
|
+
function n6(e, A) {
|
|
29619
29619
|
return hw(null, e, A);
|
|
29620
29620
|
}
|
|
29621
29621
|
function al(e, A, t) {
|
|
@@ -29628,7 +29628,7 @@ function al(e, A, t) {
|
|
|
29628
29628
|
}
|
|
29629
29629
|
return typeof A != "number" ? al(e, tt(A)) : al(e, tt({ r: A, c: t || 0 }));
|
|
29630
29630
|
}
|
|
29631
|
-
function
|
|
29631
|
+
function i6(e, A) {
|
|
29632
29632
|
if (typeof A == "number") {
|
|
29633
29633
|
if (A >= 0 && e.SheetNames.length > A)
|
|
29634
29634
|
return A;
|
|
@@ -29641,10 +29641,10 @@ function iU(e, A) {
|
|
|
29641
29641
|
} else
|
|
29642
29642
|
throw new Error("Cannot find sheet |" + A + "|");
|
|
29643
29643
|
}
|
|
29644
|
-
function
|
|
29644
|
+
function a6() {
|
|
29645
29645
|
return { SheetNames: [], Sheets: {} };
|
|
29646
29646
|
}
|
|
29647
|
-
function
|
|
29647
|
+
function s6(e, A, t, r) {
|
|
29648
29648
|
var n = 1;
|
|
29649
29649
|
if (!t)
|
|
29650
29650
|
for (; n <= 65535 && e.SheetNames.indexOf(t = "Sheet" + n) != -1; ++n, t = void 0)
|
|
@@ -29662,9 +29662,9 @@ function sU(e, A, t, r) {
|
|
|
29662
29662
|
throw new Error("Worksheet with name |" + t + "| already exists!");
|
|
29663
29663
|
return e.SheetNames.push(t), e.Sheets[t] = A, t;
|
|
29664
29664
|
}
|
|
29665
|
-
function
|
|
29665
|
+
function o6(e, A, t) {
|
|
29666
29666
|
e.Workbook || (e.Workbook = {}), e.Workbook.Sheets || (e.Workbook.Sheets = []);
|
|
29667
|
-
var r =
|
|
29667
|
+
var r = i6(e, A);
|
|
29668
29668
|
switch (e.Workbook.Sheets[r] || (e.Workbook.Sheets[r] = {}), t) {
|
|
29669
29669
|
case 0:
|
|
29670
29670
|
case 1:
|
|
@@ -29675,19 +29675,19 @@ function oU(e, A, t) {
|
|
|
29675
29675
|
}
|
|
29676
29676
|
e.Workbook.Sheets[r].Hidden = t;
|
|
29677
29677
|
}
|
|
29678
|
-
function
|
|
29678
|
+
function l6(e, A) {
|
|
29679
29679
|
return e.z = A, e;
|
|
29680
29680
|
}
|
|
29681
29681
|
function dw(e, A, t) {
|
|
29682
29682
|
return A ? (e.l = { Target: A }, t && (e.l.Tooltip = t)) : delete e.l, e;
|
|
29683
29683
|
}
|
|
29684
|
-
function
|
|
29684
|
+
function c6(e, A, t) {
|
|
29685
29685
|
return dw(e, "#" + A, t);
|
|
29686
29686
|
}
|
|
29687
|
-
function
|
|
29687
|
+
function u6(e, A, t) {
|
|
29688
29688
|
e.c || (e.c = []), e.c.push({ t: A, a: t || "SheetJS" });
|
|
29689
29689
|
}
|
|
29690
|
-
function
|
|
29690
|
+
function f6(e, A, t, r) {
|
|
29691
29691
|
for (var n = typeof A != "string" ? A : wt(A), i = typeof A == "string" ? A : Mt(A), a = n.s.r; a <= n.e.r; ++a)
|
|
29692
29692
|
for (var s = n.s.c; s <= n.e.c; ++s) {
|
|
29693
29693
|
var o = al(e, a, s);
|
|
@@ -29710,24 +29710,24 @@ var bi = {
|
|
|
29710
29710
|
sheet_add_json: hw,
|
|
29711
29711
|
sheet_add_dom: ow,
|
|
29712
29712
|
aoa_to_sheet: Ks,
|
|
29713
|
-
json_to_sheet:
|
|
29713
|
+
json_to_sheet: n6,
|
|
29714
29714
|
table_to_sheet: lw,
|
|
29715
29715
|
table_to_book: OS,
|
|
29716
29716
|
sheet_to_csv: Fh,
|
|
29717
29717
|
sheet_to_txt: fw,
|
|
29718
29718
|
sheet_to_json: d0,
|
|
29719
29719
|
sheet_to_html: sw,
|
|
29720
|
-
sheet_to_formulae:
|
|
29720
|
+
sheet_to_formulae: r6,
|
|
29721
29721
|
sheet_to_row_object_array: d0,
|
|
29722
29722
|
sheet_get_cell: al,
|
|
29723
|
-
book_new:
|
|
29724
|
-
book_append_sheet:
|
|
29725
|
-
book_set_sheet_visibility:
|
|
29726
|
-
cell_set_number_format:
|
|
29723
|
+
book_new: a6,
|
|
29724
|
+
book_append_sheet: s6,
|
|
29725
|
+
book_set_sheet_visibility: o6,
|
|
29726
|
+
cell_set_number_format: l6,
|
|
29727
29727
|
cell_set_hyperlink: dw,
|
|
29728
|
-
cell_set_internal_link:
|
|
29729
|
-
cell_add_comment:
|
|
29730
|
-
sheet_set_array_formula:
|
|
29728
|
+
cell_set_internal_link: c6,
|
|
29729
|
+
cell_add_comment: u6,
|
|
29730
|
+
sheet_set_array_formula: f6,
|
|
29731
29731
|
consts: {
|
|
29732
29732
|
SHEET_VISIBLE: 0,
|
|
29733
29733
|
SHEET_HIDDEN: 1,
|
|
@@ -29783,7 +29783,7 @@ function fg([e, A], [t, r]) {
|
|
|
29783
29783
|
function hg([[e, A], [t, r]], [n, i]) {
|
|
29784
29784
|
return [e * n + A * i, t * n + r * i];
|
|
29785
29785
|
}
|
|
29786
|
-
function
|
|
29786
|
+
function h6(e) {
|
|
29787
29787
|
return [
|
|
29788
29788
|
[Math.cos(e), -Math.sin(e)],
|
|
29789
29789
|
[Math.sin(e), Math.cos(e)]
|
|
@@ -29791,7 +29791,7 @@ function hU(e) {
|
|
|
29791
29791
|
}
|
|
29792
29792
|
function dg([e, A], [t, r], [n, i], a) {
|
|
29793
29793
|
i = i % (2 * Math.PI);
|
|
29794
|
-
const s =
|
|
29794
|
+
const s = h6(a), [o, l] = fg(
|
|
29795
29795
|
hg(s, [
|
|
29796
29796
|
t * Math.cos(n),
|
|
29797
29797
|
r * Math.sin(n)
|
|
@@ -29825,26 +29825,26 @@ function O0({ defaultConfig: e, userConfig: A }) {
|
|
|
29825
29825
|
return Object.keys(t).forEach((r) => {
|
|
29826
29826
|
if (Object.hasOwn(A, r)) {
|
|
29827
29827
|
const n = A[r];
|
|
29828
|
-
typeof n == "boolean" ? t[r] = n : ["string", "number"].includes(typeof n) ?
|
|
29828
|
+
typeof n == "boolean" ? t[r] = n : ["string", "number"].includes(typeof n) ? p6(n) && (t[r] = n) : Array.isArray(t[r]) ? d6({ userConfig: A, key: r }) && (t[r] = n) : g6({ userConfig: A, key: r }) && (t[r] = O0({
|
|
29829
29829
|
defaultConfig: t[r],
|
|
29830
29830
|
userConfig: n
|
|
29831
29831
|
}));
|
|
29832
29832
|
}
|
|
29833
29833
|
}), t;
|
|
29834
29834
|
}
|
|
29835
|
-
function
|
|
29835
|
+
function d6({ userConfig: e, key: A }) {
|
|
29836
29836
|
return Object.hasOwn(e, A) && Array.isArray(e[A]) && e[A].length;
|
|
29837
29837
|
}
|
|
29838
|
-
function
|
|
29838
|
+
function g6({ userConfig: e, key: A }) {
|
|
29839
29839
|
return Object.hasOwn(e, A) && !Array.isArray(e[A]) && typeof e[A] == "object";
|
|
29840
29840
|
}
|
|
29841
|
-
function
|
|
29841
|
+
function p6(e) {
|
|
29842
29842
|
return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(e);
|
|
29843
29843
|
}
|
|
29844
|
-
function
|
|
29844
|
+
function w6(e) {
|
|
29845
29845
|
return ![void 0, NaN, 1 / 0, -1 / 0].includes(e);
|
|
29846
29846
|
}
|
|
29847
|
-
function
|
|
29847
|
+
function v6(e, A = 0) {
|
|
29848
29848
|
return isNaN(e) ? A : e;
|
|
29849
29849
|
}
|
|
29850
29850
|
const Zi = [
|
|
@@ -29890,7 +29890,7 @@ function gg(e) {
|
|
|
29890
29890
|
const [, i, a, s] = n;
|
|
29891
29891
|
return `#${ms(i)}${ms(a)}${ms(s)}`;
|
|
29892
29892
|
} else if (n = e.match(r)) {
|
|
29893
|
-
const [, i, a, s] = n, o =
|
|
29893
|
+
const [, i, a, s] = n, o = B6(Number(i), Number(a), Number(s));
|
|
29894
29894
|
return `#${ms(o[0])}${ms(o[1])}${ms(o[2])}`;
|
|
29895
29895
|
}
|
|
29896
29896
|
return null;
|
|
@@ -29899,7 +29899,7 @@ function ms(e) {
|
|
|
29899
29899
|
const A = Number(e).toString(16);
|
|
29900
29900
|
return A.length === 1 ? "0" + A : A;
|
|
29901
29901
|
}
|
|
29902
|
-
function
|
|
29902
|
+
function B6(e, A, t) {
|
|
29903
29903
|
e /= 360, A /= 100, t /= 100;
|
|
29904
29904
|
let r, n, i;
|
|
29905
29905
|
if (A === 0)
|
|
@@ -29919,7 +29919,7 @@ const bh = (e, A) => {
|
|
|
29919
29919
|
for (const [r, n] of A)
|
|
29920
29920
|
t[r] = n;
|
|
29921
29921
|
return t;
|
|
29922
|
-
},
|
|
29922
|
+
}, m6 = {
|
|
29923
29923
|
name: "vue-ui-xy",
|
|
29924
29924
|
props: {
|
|
29925
29925
|
config: {
|
|
@@ -30051,7 +30051,6 @@ const bh = (e, A) => {
|
|
|
30051
30051
|
},
|
|
30052
30052
|
table: {
|
|
30053
30053
|
rounding: 0,
|
|
30054
|
-
show: !1,
|
|
30055
30054
|
th: {
|
|
30056
30055
|
backgroundColor: "#FAFAFA",
|
|
30057
30056
|
color: "#2D353C",
|
|
@@ -30281,8 +30280,8 @@ const bh = (e, A) => {
|
|
|
30281
30280
|
},
|
|
30282
30281
|
methods: {
|
|
30283
30282
|
// lib
|
|
30284
|
-
checkNaN:
|
|
30285
|
-
isSafeValue:
|
|
30283
|
+
checkNaN: v6,
|
|
30284
|
+
isSafeValue: w6,
|
|
30286
30285
|
treeShake: O0,
|
|
30287
30286
|
// specific
|
|
30288
30287
|
calcRectHeight(e) {
|
|
@@ -30461,7 +30460,7 @@ const bh = (e, A) => {
|
|
|
30461
30460
|
l.href = window.URL.createObjectURL(o), l.download = `${this.chartConfig.chart.title.text.replaceAll(" ", "_") || "vue-ui-xy"}.xlsx`, l.click(), window.URL.revokeObjectURL(l.href);
|
|
30462
30461
|
}
|
|
30463
30462
|
}
|
|
30464
|
-
},
|
|
30463
|
+
}, x6 = (e) => (Wf("data-v-fff5213c"), e = e(), zf(), e), C6 = { class: "vue-ui-xy-user-option-item" }, y6 = ["id", "name"], F6 = ["for"], b6 = { class: "vue-ui-xy-user-option-item" }, E6 = ["id", "name"], _6 = ["for"], S6 = { class: "vue-ui-xy-user-option-item" }, U6 = ["id", "name"], Q6 = ["for"], T6 = { class: "vue-ui-xy-user-option-item" }, L6 = ["id", "name"], I6 = ["for"], N6 = ["disabled"], k6 = {
|
|
30465
30464
|
key: 0,
|
|
30466
30465
|
class: "vue-ui-xy-print-icon",
|
|
30467
30466
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -30473,15 +30472,15 @@ const bh = (e, A) => {
|
|
|
30473
30472
|
fill: "none",
|
|
30474
30473
|
"stroke-linecap": "round",
|
|
30475
30474
|
"stroke-linejoin": "round"
|
|
30476
|
-
},
|
|
30477
|
-
|
|
30478
|
-
],
|
|
30475
|
+
}, D6 = /* @__PURE__ */ jf('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-fff5213c></path><path d="M18 16v.01" data-v-fff5213c></path><path d="M6 16v.01" data-v-fff5213c></path><path d="M12 5v.01" data-v-fff5213c></path><path d="M12 12v.01" data-v-fff5213c></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-fff5213c></path>', 6), O6 = [
|
|
30476
|
+
D6
|
|
30477
|
+
], H6 = { key: 1 }, P6 = ["viewBox"], M6 = { class: "vue-ui-xy-grid" }, R6 = ["stroke", "x1", "x2", "y1", "y2"], K6 = ["stroke", "x1", "x2", "y1", "y2"], V6 = { key: 0 }, G6 = ["x1", "x2", "y1", "y2", "stroke"], j6 = ["id"], W6 = ["stop-color"], z6 = ["stop-color"], X6 = ["stop-color"], q6 = ["id"], Y6 = ["stop-color"], J6 = ["stop-color"], Z6 = ["stop-color"], $6 = ["id"], eU = ["stop-color"], AU = ["stop-color"], tU = ["id"], rU = ["stop-color"], nU = ["stop-color"], iU = ["x", "y", "height", "width", "fill"], aU = ["cx", "cy", "r", "fill", "stroke"], sU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oU = ["cx", "cy", "r", "fill", "stroke"], lU = { key: 0 }, cU = ["x", "y", "font-size", "fill"], uU = { key: 1 }, fU = ["x", "y", "font-size", "fill"], hU = { key: 2 }, dU = ["x", "y", "font-size", "fill"], gU = { key: 3 }, pU = ["x1", "x2", "y1", "y2", "stroke"], wU = ["x", "y", "font-size", "fill"], vU = ["font-size", "fill"], BU = ["x", "y", "font-size", "fill"], mU = { key: 4 }, xU = {
|
|
30479
30478
|
x: "0",
|
|
30480
30479
|
y: "0",
|
|
30481
30480
|
width: "100%",
|
|
30482
30481
|
height: "40px",
|
|
30483
30482
|
style: { overflow: "visible" }
|
|
30484
|
-
},
|
|
30483
|
+
}, CU = { key: 5 }, yU = ["y"], FU = { class: "vue-ui-xy-legend" }, bU = ["onClick"], EU = { key: 6 }, _U = ["y", "x", "font-size", "fill"], SU = { key: 7 }, UU = ["x", "y", "height", "width", "fill", "onMouseenter"], QU = ["onClick"], TU = ["innerHTML"], LU = ["innerHTML"], IU = { class: "vue-ui-xy-table" }, NU = { style: { "max-width": "200px", margin: "0 auto", "text-align": "center" } }, kU = /* @__PURE__ */ x6(() => /* @__PURE__ */ oe("svg", {
|
|
30485
30484
|
xmlns: "http://www.w3.org/2000/svg",
|
|
30486
30485
|
width: "16",
|
|
30487
30486
|
height: "16",
|
|
@@ -30498,10 +30497,10 @@ const bh = (e, A) => {
|
|
|
30498
30497
|
fill: "none"
|
|
30499
30498
|
}),
|
|
30500
30499
|
/* @__PURE__ */ oe("path", { d: "M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" })
|
|
30501
|
-
], -1)),
|
|
30502
|
-
|
|
30503
|
-
],
|
|
30504
|
-
function
|
|
30500
|
+
], -1)), DU = [
|
|
30501
|
+
kU
|
|
30502
|
+
], OU = ["onMouseover"];
|
|
30503
|
+
function HU(e, A, t, r, n, i) {
|
|
30505
30504
|
return ne(), ie("div", {
|
|
30506
30505
|
class: "vue-ui-xy",
|
|
30507
30506
|
ref: "chart",
|
|
@@ -30536,57 +30535,57 @@ function H6(e, A, t, r, n, i) {
|
|
|
30536
30535
|
class: "vue-ui-xy-user-options-items",
|
|
30537
30536
|
style: He(`background:${i.chartConfig.chart.backgroundColor};color:${i.chartConfig.chart.color}`)
|
|
30538
30537
|
}, [
|
|
30539
|
-
oe("div",
|
|
30538
|
+
oe("div", C6, [
|
|
30540
30539
|
Zr(oe("input", {
|
|
30541
30540
|
type: "checkbox",
|
|
30542
30541
|
id: `vue-ui-xy-option-datalabels_${n.uniqueId}`,
|
|
30543
30542
|
name: `vue-ui-xy-option-datalabels_${n.uniqueId}`,
|
|
30544
30543
|
"onUpdate:modelValue": A[0] || (A[0] = (a) => n.mutableConfig.dataLabels.show = a)
|
|
30545
|
-
}, null, 8,
|
|
30544
|
+
}, null, 8, y6), [
|
|
30546
30545
|
[_a, n.mutableConfig.dataLabels.show]
|
|
30547
30546
|
]),
|
|
30548
30547
|
oe("label", {
|
|
30549
30548
|
for: `vue-ui-xy-option-datalabels_${n.uniqueId}`
|
|
30550
|
-
}, Ue(i.chartConfig.chart.userOptions.labels.dataLabels), 9,
|
|
30549
|
+
}, Ue(i.chartConfig.chart.userOptions.labels.dataLabels), 9, F6)
|
|
30551
30550
|
]),
|
|
30552
|
-
oe("div",
|
|
30551
|
+
oe("div", b6, [
|
|
30553
30552
|
Zr(oe("input", {
|
|
30554
30553
|
type: "checkbox",
|
|
30555
30554
|
id: `vue-ui-xy-option-title_${n.uniqueId}`,
|
|
30556
30555
|
name: `vue-ui-xy-option-title_${n.uniqueId}`,
|
|
30557
30556
|
"onUpdate:modelValue": A[1] || (A[1] = (a) => n.mutableConfig.titleInside = a)
|
|
30558
|
-
}, null, 8,
|
|
30557
|
+
}, null, 8, E6), [
|
|
30559
30558
|
[_a, n.mutableConfig.titleInside]
|
|
30560
30559
|
]),
|
|
30561
30560
|
oe("label", {
|
|
30562
30561
|
for: `vue-ui-xy-option-title_${n.uniqueId}`
|
|
30563
|
-
}, Ue(i.chartConfig.chart.userOptions.labels.titleInside), 9,
|
|
30562
|
+
}, Ue(i.chartConfig.chart.userOptions.labels.titleInside), 9, _6)
|
|
30564
30563
|
]),
|
|
30565
|
-
oe("div",
|
|
30564
|
+
oe("div", S6, [
|
|
30566
30565
|
Zr(oe("input", {
|
|
30567
30566
|
type: "checkbox",
|
|
30568
30567
|
id: `vue-ui-xy-option-legend_${n.uniqueId}`,
|
|
30569
30568
|
name: `vue-ui-xy-option-legend_${n.uniqueId}`,
|
|
30570
30569
|
"onUpdate:modelValue": A[2] || (A[2] = (a) => n.mutableConfig.legendInside = a)
|
|
30571
|
-
}, null, 8,
|
|
30570
|
+
}, null, 8, U6), [
|
|
30572
30571
|
[_a, n.mutableConfig.legendInside]
|
|
30573
30572
|
]),
|
|
30574
30573
|
oe("label", {
|
|
30575
30574
|
for: `vue-ui-xy-option-legend_${n.uniqueId}`
|
|
30576
|
-
}, Ue(i.chartConfig.chart.userOptions.labels.legendInside), 9,
|
|
30575
|
+
}, Ue(i.chartConfig.chart.userOptions.labels.legendInside), 9, Q6)
|
|
30577
30576
|
]),
|
|
30578
|
-
oe("div",
|
|
30577
|
+
oe("div", T6, [
|
|
30579
30578
|
Zr(oe("input", {
|
|
30580
30579
|
type: "checkbox",
|
|
30581
30580
|
id: `vue-ui-xy-option-table_${n.uniqueId}`,
|
|
30582
30581
|
name: `vue-ui-xy-option-table_${n.uniqueId}`,
|
|
30583
30582
|
"onUpdate:modelValue": A[3] || (A[3] = (a) => n.mutableConfig.showTable = a)
|
|
30584
|
-
}, null, 8,
|
|
30583
|
+
}, null, 8, L6), [
|
|
30585
30584
|
[_a, n.mutableConfig.showTable]
|
|
30586
30585
|
]),
|
|
30587
30586
|
oe("label", {
|
|
30588
30587
|
for: `vue-ui-xy-option-table_${n.uniqueId}`
|
|
30589
|
-
}, Ue(i.chartConfig.chart.userOptions.labels.showTable), 9,
|
|
30588
|
+
}, Ue(i.chartConfig.chart.userOptions.labels.showTable), 9, I6)
|
|
30590
30589
|
]),
|
|
30591
30590
|
oe("button", {
|
|
30592
30591
|
class: "vue-ui-xy-button",
|
|
@@ -30594,8 +30593,8 @@ function H6(e, A, t, r, n, i) {
|
|
|
30594
30593
|
disabled: n.isPrinting,
|
|
30595
30594
|
style: { "margin-top": "12px" }
|
|
30596
30595
|
}, [
|
|
30597
|
-
n.isPrinting ? (ne(), ie("svg",
|
|
30598
|
-
], 8,
|
|
30596
|
+
n.isPrinting ? (ne(), ie("svg", k6, O6)) : (ne(), ie("span", H6, "PDF"))
|
|
30597
|
+
], 8, N6),
|
|
30599
30598
|
oe("button", {
|
|
30600
30599
|
class: "vue-ui-xy-button",
|
|
30601
30600
|
onClick: A[5] || (A[5] = (...a) => i.generateXls && i.generateXls(...a))
|
|
@@ -30609,7 +30608,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30609
30608
|
style: He(`background:${i.chartConfig.chart.backgroundColor}; color:${i.chartConfig.chart.color}; font-family:${i.chartConfig.chart.fontFamily}`),
|
|
30610
30609
|
onClick: A[7] || (A[7] = (...a) => i.closeDetails && i.closeDetails(...a))
|
|
30611
30610
|
}, [
|
|
30612
|
-
oe("g",
|
|
30611
|
+
oe("g", M6, [
|
|
30613
30612
|
oe("line", {
|
|
30614
30613
|
stroke: i.chartConfig.chart.grid.stroke,
|
|
30615
30614
|
"stroke-width": "1",
|
|
@@ -30618,7 +30617,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30618
30617
|
y1: i.drawingArea.top,
|
|
30619
30618
|
y2: i.drawingArea.bottom,
|
|
30620
30619
|
"stroke-linecap": "round"
|
|
30621
|
-
}, null, 8,
|
|
30620
|
+
}, null, 8, R6),
|
|
30622
30621
|
oe("line", {
|
|
30623
30622
|
stroke: i.chartConfig.chart.grid.stroke,
|
|
30624
30623
|
"stroke-width": "1",
|
|
@@ -30627,8 +30626,8 @@ function H6(e, A, t, r, n, i) {
|
|
|
30627
30626
|
y1: i.zero,
|
|
30628
30627
|
y2: i.zero,
|
|
30629
30628
|
"stroke-linecap": "round"
|
|
30630
|
-
}, null, 8,
|
|
30631
|
-
i.chartConfig.chart.grid.showVerticalLines ? (ne(), ie("g",
|
|
30629
|
+
}, null, 8, K6),
|
|
30630
|
+
i.chartConfig.chart.grid.showVerticalLines ? (ne(), ie("g", V6, [
|
|
30632
30631
|
(ne(!0), ie(gA, null, yA(i.maxSeries + 1, (a, s) => (ne(), ie("line", {
|
|
30633
30632
|
key: `grid_vertical_line_${s}`,
|
|
30634
30633
|
x1: i.drawingArea.width / i.maxSeries * s + i.drawingArea.left,
|
|
@@ -30637,7 +30636,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30637
30636
|
y2: i.drawingArea.bottom,
|
|
30638
30637
|
"stroke-width": "0.5",
|
|
30639
30638
|
stroke: i.chartConfig.chart.grid.stroke
|
|
30640
|
-
}, null, 8,
|
|
30639
|
+
}, null, 8, G6))), 128))
|
|
30641
30640
|
])) : Xe("", !0)
|
|
30642
30641
|
]),
|
|
30643
30642
|
(ne(!0), ie(gA, null, yA(i.barSet, (a, s) => (ne(), ie("defs", {
|
|
@@ -30651,16 +30650,16 @@ function H6(e, A, t, r, n, i) {
|
|
|
30651
30650
|
oe("stop", {
|
|
30652
30651
|
offset: "0%",
|
|
30653
30652
|
"stop-color": a.color
|
|
30654
|
-
}, null, 8,
|
|
30653
|
+
}, null, 8, W6),
|
|
30655
30654
|
oe("stop", {
|
|
30656
30655
|
offset: "62%",
|
|
30657
30656
|
"stop-color": `${i.shiftHue(a.color, 0.02)}DE`
|
|
30658
|
-
}, null, 8,
|
|
30657
|
+
}, null, 8, z6),
|
|
30659
30658
|
oe("stop", {
|
|
30660
30659
|
offset: "100%",
|
|
30661
30660
|
"stop-color": `${i.shiftHue(a.color, 0.05)}66`
|
|
30662
|
-
}, null, 8,
|
|
30663
|
-
], 8,
|
|
30661
|
+
}, null, 8, X6)
|
|
30662
|
+
], 8, j6),
|
|
30664
30663
|
oe("linearGradient", {
|
|
30665
30664
|
id: `rectGradient_neg_${s}_${n.uniqueId}`,
|
|
30666
30665
|
x2: "0%",
|
|
@@ -30669,16 +30668,16 @@ function H6(e, A, t, r, n, i) {
|
|
|
30669
30668
|
oe("stop", {
|
|
30670
30669
|
offset: "0%",
|
|
30671
30670
|
"stop-color": `${i.shiftHue(a.color, 0.05)}66`
|
|
30672
|
-
}, null, 8,
|
|
30671
|
+
}, null, 8, Y6),
|
|
30673
30672
|
oe("stop", {
|
|
30674
30673
|
offset: "38%",
|
|
30675
30674
|
"stop-color": `${i.shiftHue(a.color, 0.02)}DE`
|
|
30676
|
-
}, null, 8,
|
|
30675
|
+
}, null, 8, J6),
|
|
30677
30676
|
oe("stop", {
|
|
30678
30677
|
offset: "100%",
|
|
30679
30678
|
"stop-color": a.color
|
|
30680
|
-
}, null, 8,
|
|
30681
|
-
], 8,
|
|
30679
|
+
}, null, 8, Z6)
|
|
30680
|
+
], 8, q6)
|
|
30682
30681
|
]))), 128)),
|
|
30683
30682
|
(ne(!0), ie(gA, null, yA(i.plotSet, (a, s) => (ne(), ie("defs", {
|
|
30684
30683
|
key: `def_plot_${s}`
|
|
@@ -30694,12 +30693,12 @@ function H6(e, A, t, r, n, i) {
|
|
|
30694
30693
|
oe("stop", {
|
|
30695
30694
|
offset: "0%",
|
|
30696
30695
|
"stop-color": `${i.shiftHue(a.color, 0.05)}`
|
|
30697
|
-
}, null, 8,
|
|
30696
|
+
}, null, 8, eU),
|
|
30698
30697
|
oe("stop", {
|
|
30699
30698
|
offset: "100%",
|
|
30700
30699
|
"stop-color": a.color
|
|
30701
|
-
}, null, 8,
|
|
30702
|
-
], 8, $
|
|
30700
|
+
}, null, 8, AU)
|
|
30701
|
+
], 8, $6)
|
|
30703
30702
|
]))), 128)),
|
|
30704
30703
|
(ne(!0), ie(gA, null, yA(i.lineSet, (a, s) => (ne(), ie("defs", {
|
|
30705
30704
|
key: `def_line_${s}`
|
|
@@ -30715,12 +30714,12 @@ function H6(e, A, t, r, n, i) {
|
|
|
30715
30714
|
oe("stop", {
|
|
30716
30715
|
offset: "0%",
|
|
30717
30716
|
"stop-color": `${i.shiftHue(a.color, 0.05)}`
|
|
30718
|
-
}, null, 8,
|
|
30717
|
+
}, null, 8, rU),
|
|
30719
30718
|
oe("stop", {
|
|
30720
30719
|
offset: "100%",
|
|
30721
30720
|
"stop-color": a.color
|
|
30722
|
-
}, null, 8,
|
|
30723
|
-
], 8,
|
|
30721
|
+
}, null, 8, nU)
|
|
30722
|
+
], 8, tU)
|
|
30724
30723
|
]))), 128)),
|
|
30725
30724
|
(ne(!0), ie(gA, null, yA(i.barSet, (a, s) => (ne(), ie("g", {
|
|
30726
30725
|
key: `serie_bar_${s}`,
|
|
@@ -30736,7 +30735,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30736
30735
|
height: i.calcRectHeight(o),
|
|
30737
30736
|
width: i.calcRectWidth(),
|
|
30738
30737
|
fill: i.chartConfig.bar.useGradient ? o.value >= 0 ? `url(#rectGradient_pos_${s}_${n.uniqueId})` : `url(#rectGradient_neg_${s}_${n.uniqueId})` : a.color
|
|
30739
|
-
}, null, 8,
|
|
30738
|
+
}, null, 8, iU)) : Xe("", !0)
|
|
30740
30739
|
]))), 128))
|
|
30741
30740
|
], 2))), 128)),
|
|
30742
30741
|
(ne(!0), ie(gA, null, yA(i.plotSet, (a, s) => (ne(), ie("g", {
|
|
@@ -30754,7 +30753,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30754
30753
|
fill: i.chartConfig.plot.useGradient ? `url(#plotGradient_${s}_${n.uniqueId})` : a.color,
|
|
30755
30754
|
stroke: i.chartConfig.chart.backgroundColor,
|
|
30756
30755
|
"stroke-width": "0.5"
|
|
30757
|
-
}, null, 8,
|
|
30756
|
+
}, null, 8, aU)) : Xe("", !0)
|
|
30758
30757
|
]))), 128))
|
|
30759
30758
|
], 2))), 128)),
|
|
30760
30759
|
(ne(!0), ie(gA, null, yA(i.lineSet, (a, s) => (ne(), ie("g", {
|
|
@@ -30772,7 +30771,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30772
30771
|
y2: a.plots[l + 1].y,
|
|
30773
30772
|
stroke: a.color,
|
|
30774
30773
|
"stroke-width": i.chartConfig.line.strokeWidth
|
|
30775
|
-
}, null, 8,
|
|
30774
|
+
}, null, 8, sU)) : Xe("", !0)
|
|
30776
30775
|
]))), 128)),
|
|
30777
30776
|
(ne(!0), ie(gA, null, yA(a.plots, (o, l) => (ne(), ie("g", {
|
|
30778
30777
|
key: `circle_line_${s}_${l}`
|
|
@@ -30785,10 +30784,10 @@ function H6(e, A, t, r, n, i) {
|
|
|
30785
30784
|
fill: i.chartConfig.line.useGradient ? `url(#lineGradient_${s}_${n.uniqueId})` : a.color,
|
|
30786
30785
|
stroke: i.chartConfig.chart.backgroundColor,
|
|
30787
30786
|
"stroke-width": "0.5"
|
|
30788
|
-
}, null, 8,
|
|
30787
|
+
}, null, 8, oU)) : Xe("", !0)
|
|
30789
30788
|
]))), 128))
|
|
30790
30789
|
], 2))), 128)),
|
|
30791
|
-
i.chartConfig.bar.labels.show && n.mutableConfig.dataLabels.show ? (ne(), ie("g",
|
|
30790
|
+
i.chartConfig.bar.labels.show && n.mutableConfig.dataLabels.show ? (ne(), ie("g", lU, [
|
|
30792
30791
|
(ne(!0), ie(gA, null, yA(i.barSet, (a, s) => (ne(), ie("g", {
|
|
30793
30792
|
key: `xLabel_bar_${s}`,
|
|
30794
30793
|
class: it(`xLabel_bar_${s}`)
|
|
@@ -30802,11 +30801,11 @@ function H6(e, A, t, r, n, i) {
|
|
|
30802
30801
|
"text-anchor": "middle",
|
|
30803
30802
|
"font-size": i.chartConfig.chart.labels.fontSize,
|
|
30804
30803
|
fill: i.chartConfig.bar.labels.color
|
|
30805
|
-
}, Ue(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.bar.labels.rounding) : ""), 9,
|
|
30804
|
+
}, Ue(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.bar.labels.rounding) : ""), 9, cU)
|
|
30806
30805
|
]))), 128))
|
|
30807
30806
|
], 2))), 128))
|
|
30808
30807
|
])) : Xe("", !0),
|
|
30809
|
-
i.chartConfig.plot.labels.show && n.mutableConfig.dataLabels.show ? (ne(), ie("g",
|
|
30808
|
+
i.chartConfig.plot.labels.show && n.mutableConfig.dataLabels.show ? (ne(), ie("g", uU, [
|
|
30810
30809
|
(ne(!0), ie(gA, null, yA(i.plotSet, (a, s) => (ne(), ie("g", {
|
|
30811
30810
|
key: `xLabel_plot_${s}`,
|
|
30812
30811
|
class: it(`xLabel_plot_${s}`)
|
|
@@ -30820,11 +30819,11 @@ function H6(e, A, t, r, n, i) {
|
|
|
30820
30819
|
"text-anchor": "middle",
|
|
30821
30820
|
"font-size": i.chartConfig.chart.labels.fontSize,
|
|
30822
30821
|
fill: i.chartConfig.plot.labels.color
|
|
30823
|
-
}, Ue(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.plot.labels.rounding) : ""), 9,
|
|
30822
|
+
}, Ue(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.plot.labels.rounding) : ""), 9, fU)
|
|
30824
30823
|
]))), 128))
|
|
30825
30824
|
], 2))), 128))
|
|
30826
30825
|
])) : Xe("", !0),
|
|
30827
|
-
i.chartConfig.line.labels.show && n.mutableConfig.dataLabels.show ? (ne(), ie("g",
|
|
30826
|
+
i.chartConfig.line.labels.show && n.mutableConfig.dataLabels.show ? (ne(), ie("g", hU, [
|
|
30828
30827
|
(ne(!0), ie(gA, null, yA(i.lineSet, (a, s) => (ne(), ie("g", {
|
|
30829
30828
|
key: `xLabel_line_${s}`,
|
|
30830
30829
|
class: it(`xLabel_line_${s}`)
|
|
@@ -30838,11 +30837,11 @@ function H6(e, A, t, r, n, i) {
|
|
|
30838
30837
|
"text-anchor": "middle",
|
|
30839
30838
|
"font-size": i.chartConfig.chart.labels.fontSize,
|
|
30840
30839
|
fill: i.chartConfig.line.labels.color
|
|
30841
|
-
}, Ue(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.line.labels.rounding) : ""), 9,
|
|
30840
|
+
}, Ue(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.line.labels.rounding) : ""), 9, dU)
|
|
30842
30841
|
]))), 128))
|
|
30843
30842
|
], 2))), 128))
|
|
30844
30843
|
])) : Xe("", !0),
|
|
30845
|
-
i.chartConfig.chart.grid.labels.show ? (ne(), ie("g",
|
|
30844
|
+
i.chartConfig.chart.grid.labels.show ? (ne(), ie("g", gU, [
|
|
30846
30845
|
(ne(!0), ie(gA, null, yA(i.yLabels, (a, s) => (ne(), ie("g", {
|
|
30847
30846
|
key: `yLabel_${s}`
|
|
30848
30847
|
}, [
|
|
@@ -30854,7 +30853,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30854
30853
|
y2: a.y,
|
|
30855
30854
|
stroke: i.chartConfig.chart.grid.stroke,
|
|
30856
30855
|
"stroke-width": "1"
|
|
30857
|
-
}, null, 8,
|
|
30856
|
+
}, null, 8, pU)) : Xe("", !0),
|
|
30858
30857
|
a.value >= i.min && a.value <= i.max ? (ne(), ie("text", {
|
|
30859
30858
|
key: 1,
|
|
30860
30859
|
x: i.drawingArea.left - 5,
|
|
@@ -30862,7 +30861,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30862
30861
|
"font-size": i.chartConfig.chart.grid.labels.fontSize,
|
|
30863
30862
|
"text-anchor": "end",
|
|
30864
30863
|
fill: i.chartConfig.chart.grid.labels.color
|
|
30865
|
-
}, Ue(i.canShowValue(a.value) ? a.value.toFixed(0) : ""), 9,
|
|
30864
|
+
}, Ue(i.canShowValue(a.value) ? a.value.toFixed(0) : ""), 9, wU)) : Xe("", !0)
|
|
30866
30865
|
]))), 128))
|
|
30867
30866
|
])) : Xe("", !0),
|
|
30868
30867
|
oe("g", null, [
|
|
@@ -30873,7 +30872,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30873
30872
|
id: "yAxisLabel",
|
|
30874
30873
|
"text-anchor": "middle",
|
|
30875
30874
|
style: { transition: "none" }
|
|
30876
|
-
}, Ue(i.chartConfig.chart.grid.labels.axis.yLabel), 9,
|
|
30875
|
+
}, Ue(i.chartConfig.chart.grid.labels.axis.yLabel), 9, vU)) : Xe("", !0),
|
|
30877
30876
|
i.chartConfig.chart.grid.labels.axis.xLabel ? (ne(), ie("text", {
|
|
30878
30877
|
key: 1,
|
|
30879
30878
|
"text-anchor": "middle",
|
|
@@ -30881,10 +30880,10 @@ function H6(e, A, t, r, n, i) {
|
|
|
30881
30880
|
y: i.drawingArea.bottom + i.chartConfig.chart.grid.labels.axis.fontSize + i.chartConfig.chart.grid.labels.xAxisLabels.fontSize * 1.3,
|
|
30882
30881
|
"font-size": i.chartConfig.chart.grid.labels.axis.fontSize,
|
|
30883
30882
|
fill: i.chartConfig.chart.grid.labels.color
|
|
30884
|
-
}, Ue(i.chartConfig.chart.grid.labels.axis.xLabel), 9,
|
|
30883
|
+
}, Ue(i.chartConfig.chart.grid.labels.axis.xLabel), 9, BU)) : Xe("", !0)
|
|
30885
30884
|
]),
|
|
30886
|
-
i.chartConfig.chart.title.show && n.mutableConfig.titleInside && !n.isPrinting ? (ne(), ie("g",
|
|
30887
|
-
(ne(), ie("foreignObject",
|
|
30885
|
+
i.chartConfig.chart.title.show && n.mutableConfig.titleInside && !n.isPrinting ? (ne(), ie("g", mU, [
|
|
30886
|
+
(ne(), ie("foreignObject", xU, [
|
|
30888
30887
|
oe("div", {
|
|
30889
30888
|
class: "vue-ui-xy-title",
|
|
30890
30889
|
style: He(`font-family:${i.chartConfig.chart.fontFamily}`)
|
|
@@ -30901,7 +30900,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30901
30900
|
], 4)
|
|
30902
30901
|
]))
|
|
30903
30902
|
])) : Xe("", !0),
|
|
30904
|
-
i.chartConfig.chart.legend.show && n.mutableConfig.legendInside && !n.isPrinting ? (ne(), ie("g",
|
|
30903
|
+
i.chartConfig.chart.legend.show && n.mutableConfig.legendInside && !n.isPrinting ? (ne(), ie("g", CU, [
|
|
30905
30904
|
(ne(), ie("foreignObject", {
|
|
30906
30905
|
x: "0",
|
|
30907
30906
|
y: i.drawingArea.bottom + i.chartConfig.chart.padding.bottom / 3 + 12,
|
|
@@ -30909,7 +30908,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
30909
30908
|
height: "20px",
|
|
30910
30909
|
style: He(`overflow:visible; font-size:${i.chartConfig.chart.legend.fontSize * 0.6}px`)
|
|
30911
30910
|
}, [
|
|
30912
|
-
oe("div",
|
|
30911
|
+
oe("div", FU, [
|
|
30913
30912
|
(ne(!0), ie(gA, null, yA(i.absoluteDataset, (a, s) => (ne(), ie("div", {
|
|
30914
30913
|
key: `div_legend_item_${s}`,
|
|
30915
30914
|
onClick: (o) => i.segregate(a),
|
|
@@ -30930,11 +30929,11 @@ function H6(e, A, t, r, n, i) {
|
|
|
30930
30929
|
oe("span", {
|
|
30931
30930
|
style: He(`color:${i.chartConfig.chart.legend.color}`)
|
|
30932
30931
|
}, Ue(a.name), 5)
|
|
30933
|
-
], 10,
|
|
30932
|
+
], 10, bU))), 128))
|
|
30934
30933
|
])
|
|
30935
|
-
], 12,
|
|
30934
|
+
], 12, yU))
|
|
30936
30935
|
])) : Xe("", !0),
|
|
30937
|
-
i.chartConfig.chart.grid.labels.xAxisLabels.show ? (ne(), ie("g",
|
|
30936
|
+
i.chartConfig.chart.grid.labels.xAxisLabels.show ? (ne(), ie("g", EU, [
|
|
30938
30937
|
(ne(!0), ie(gA, null, yA(i.maxSeries, (a, s) => (ne(), ie("text", {
|
|
30939
30938
|
key: `time_label_${s}`,
|
|
30940
30939
|
"text-anchor": "middle",
|
|
@@ -30942,9 +30941,9 @@ function H6(e, A, t, r, n, i) {
|
|
|
30942
30941
|
x: i.drawingArea.left + i.drawingArea.width / i.maxSeries * s + i.drawingArea.width / i.maxSeries / 2,
|
|
30943
30942
|
"font-size": i.chartConfig.chart.grid.labels.xAxisLabels.fontSize,
|
|
30944
30943
|
fill: i.chartConfig.chart.grid.labels.xAxisLabels.color
|
|
30945
|
-
}, Ue(i.chartConfig.chart.grid.labels.xAxisLabels.values[s] || ""), 9,
|
|
30944
|
+
}, Ue(i.chartConfig.chart.grid.labels.xAxisLabels.values[s] || ""), 9, _U))), 128))
|
|
30946
30945
|
])) : Xe("", !0),
|
|
30947
|
-
i.chartConfig.chart.tooltip.show ? (ne(), ie("g",
|
|
30946
|
+
i.chartConfig.chart.tooltip.show ? (ne(), ie("g", SU, [
|
|
30948
30947
|
(ne(!0), ie(gA, null, yA(i.maxSeries, (a, s) => (ne(), ie("g", {
|
|
30949
30948
|
key: `tooltip_trap_${s}`
|
|
30950
30949
|
}, [
|
|
@@ -30956,10 +30955,10 @@ function H6(e, A, t, r, n, i) {
|
|
|
30956
30955
|
fill: n.selectedSerieIndex === s || n.selectedRowIndex === s ? "rgba(0,0,0,0.03)" : "transparent",
|
|
30957
30956
|
onMouseenter: (o) => i.toggleTooltip(!0, s),
|
|
30958
30957
|
onMouseleave: A[6] || (A[6] = (o) => i.toggleTooltip(!1))
|
|
30959
|
-
}, null, 40,
|
|
30958
|
+
}, null, 40, UU)
|
|
30960
30959
|
]))), 128))
|
|
30961
30960
|
])) : Xe("", !0)
|
|
30962
|
-
], 12,
|
|
30961
|
+
], 12, P6)),
|
|
30963
30962
|
i.chartConfig.chart.legend.show && (!n.mutableConfig.legendInside || n.isPrinting) ? (ne(), ie("div", {
|
|
30964
30963
|
key: 2,
|
|
30965
30964
|
class: "vue-ui-xy-legend",
|
|
@@ -30973,11 +30972,11 @@ function H6(e, A, t, r, n, i) {
|
|
|
30973
30972
|
oe("span", {
|
|
30974
30973
|
style: He(`color:${a.color}`),
|
|
30975
30974
|
innerHTML: n.icons[a.type]
|
|
30976
|
-
}, null, 12,
|
|
30975
|
+
}, null, 12, TU),
|
|
30977
30976
|
oe("span", {
|
|
30978
30977
|
style: He(`color:${i.chartConfig.chart.legend.color}`)
|
|
30979
30978
|
}, Ue(a.name), 5)
|
|
30980
|
-
], 10,
|
|
30979
|
+
], 10, QU))), 128))
|
|
30981
30980
|
], 4)) : Xe("", !0),
|
|
30982
30981
|
i.chartConfig.chart.tooltip.show && n.isTooltip ? (ne(), ie("div", {
|
|
30983
30982
|
key: 3,
|
|
@@ -30985,13 +30984,13 @@ function H6(e, A, t, r, n, i) {
|
|
|
30985
30984
|
ref: "tooltip",
|
|
30986
30985
|
style: He(`top:${i.tooltipPosition.top}px;left:${i.tooltipPosition.left}px; background-color:${i.chartConfig.chart.tooltip.backgroundColor};color:${i.chartConfig.chart.tooltip.color}`),
|
|
30987
30986
|
innerHTML: i.tooltipContent
|
|
30988
|
-
}, null, 12,
|
|
30987
|
+
}, null, 12, LU)) : Xe("", !0),
|
|
30989
30988
|
i.chartConfig.showTable && n.mutableConfig.showTable ? (ne(), ie("div", {
|
|
30990
30989
|
key: 4,
|
|
30991
30990
|
class: it({ "vue-ui-xy-table-wrapper": !0, "vue-ui-xy-table-wrapper-printing": n.isPrinting }),
|
|
30992
30991
|
onClick: A[9] || (A[9] = (...a) => i.closeDetails && i.closeDetails(...a))
|
|
30993
30992
|
}, [
|
|
30994
|
-
oe("table",
|
|
30993
|
+
oe("table", IU, [
|
|
30995
30994
|
oe("thead", null, [
|
|
30996
30995
|
oe("tr", null, [
|
|
30997
30996
|
oe("th", {
|
|
@@ -31001,7 +31000,7 @@ function H6(e, A, t, r, n, i) {
|
|
|
31001
31000
|
key: `th_${s}`,
|
|
31002
31001
|
style: He(`background:${i.chartConfig.table.th.backgroundColor};color:${i.chartConfig.table.th.color}`)
|
|
31003
31002
|
}, [
|
|
31004
|
-
oe("div",
|
|
31003
|
+
oe("div", NU, [
|
|
31005
31004
|
oe("span", {
|
|
31006
31005
|
style: He(`color:${a.color}; margin-right:3px`)
|
|
31007
31006
|
}, Ue(n.icons[a.type]), 5),
|
|
@@ -31013,10 +31012,11 @@ function H6(e, A, t, r, n, i) {
|
|
|
31013
31012
|
oe("th", {
|
|
31014
31013
|
align: "right",
|
|
31015
31014
|
style: He(`background:${i.chartConfig.table.th.backgroundColor};color:${i.chartConfig.table.th.color}`)
|
|
31016
|
-
},
|
|
31015
|
+
}, DU, 4),
|
|
31017
31016
|
(ne(!0), ie(gA, null, yA(i.table.head, (a, s) => (ne(), ie("th", {
|
|
31017
|
+
align: "right",
|
|
31018
31018
|
key: `th_sum_${s}`,
|
|
31019
|
-
style: He(`background:${i.chartConfig.table.th.backgroundColor};color:${i.chartConfig.table.th.color}`)
|
|
31019
|
+
style: He(`background:${i.chartConfig.table.th.backgroundColor};color:${i.chartConfig.table.th.color};padding-right:6px`)
|
|
31020
31020
|
}, Ue(i.relativeDataset[s].absoluteValues.reduce((o, l) => o + l, 0).toFixed(i.chartConfig.table.rounding)), 5))), 128))
|
|
31021
31021
|
])
|
|
31022
31022
|
]),
|
|
@@ -31029,16 +31029,16 @@ function H6(e, A, t, r, n, i) {
|
|
|
31029
31029
|
}, [
|
|
31030
31030
|
(ne(!0), ie(gA, null, yA(a, (o, l) => (ne(), ie("td", {
|
|
31031
31031
|
key: `td_${s}_${l}`,
|
|
31032
|
-
style: He(`background:${i.chartConfig.table.td.backgroundColor};color:${i.chartConfig.table.td.color}
|
|
31032
|
+
style: He(`background:${i.chartConfig.table.td.backgroundColor};color:${i.chartConfig.table.td.color};padding-right:6px;`)
|
|
31033
31033
|
}, Ue(o), 5))), 128))
|
|
31034
|
-
], 42,
|
|
31034
|
+
], 42, OU))), 128))
|
|
31035
31035
|
])
|
|
31036
31036
|
])
|
|
31037
31037
|
], 2)) : Xe("", !0)
|
|
31038
31038
|
], 4);
|
|
31039
31039
|
}
|
|
31040
|
-
const AL = /* @__PURE__ */ bh(
|
|
31041
|
-
const
|
|
31040
|
+
const AL = /* @__PURE__ */ bh(m6, [["render", HU], ["__scopeId", "data-v-fff5213c"]]);
|
|
31041
|
+
const PU = {
|
|
31042
31042
|
name: "vue-ui-table",
|
|
31043
31043
|
props: {
|
|
31044
31044
|
config: {
|
|
@@ -31826,7 +31826,7 @@ Provide an array of objects of type:
|
|
|
31826
31826
|
this.clientX = e.clientX - t.width / 2, this.clientY = e.clientY - t.height / 2, this.rafId = null;
|
|
31827
31827
|
}
|
|
31828
31828
|
}
|
|
31829
|
-
}, Rn = (e) => (Wf("data-v-80d709a0"), e = e(), zf(), e),
|
|
31829
|
+
}, Rn = (e) => (Wf("data-v-80d709a0"), e = e(), zf(), e), MU = { class: "vue-ui-table-export-hub" }, RU = ["innerHTML"], KU = ["data-is-open"], VU = /* @__PURE__ */ Rn(() => /* @__PURE__ */ oe("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)), GU = { class: "vue-ui-table-export-hub-options" }, jU = { class: "vue-ui-table-export-hub-option-wrapper" }, WU = { class: "label" }, zU = ["innerHTML"], XU = { class: "vue-ui-table-export-hub-option-wrapper" }, qU = { class: "label" }, YU = ["innerHTML"], JU = { class: "vue-ui-table" }, ZU = { id: "tableHead" }, $U = /* @__PURE__ */ Rn(() => /* @__PURE__ */ oe("th", { class: "invisible-cell" }, null, -1)), eQ = { key: 0 }, AQ = { key: 0 }, tQ = { key: 1 }, rQ = /* @__PURE__ */ Rn(() => /* @__PURE__ */ oe("th", { class: "invisible-cell" }, null, -1)), nQ = {
|
|
31830
31830
|
key: 0,
|
|
31831
31831
|
style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
|
|
31832
31832
|
}, iQ = ["innerHTML"], aQ = {
|
|
@@ -31874,26 +31874,26 @@ function oT(e, A, t, r, n, i) {
|
|
|
31874
31874
|
class: "vue-ui-table-main",
|
|
31875
31875
|
style: He(`font-family: ${i.tableConfig.fontFamily}`)
|
|
31876
31876
|
}, [
|
|
31877
|
-
oe("div",
|
|
31877
|
+
oe("div", MU, [
|
|
31878
31878
|
oe("button", {
|
|
31879
31879
|
onClick: A[0] || (A[0] = (a) => n.isExportRequest = !n.isExportRequest),
|
|
31880
31880
|
innerHTML: i.icons.export,
|
|
31881
31881
|
style: He(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
|
|
31882
|
-
}, null, 12,
|
|
31882
|
+
}, null, 12, RU),
|
|
31883
31883
|
oe("div", {
|
|
31884
31884
|
class: "vue-ui-table-export-hub-dropdown",
|
|
31885
31885
|
"data-is-open": n.isExportRequest || "false",
|
|
31886
31886
|
style: He(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
|
|
31887
31887
|
}, [
|
|
31888
|
-
|
|
31888
|
+
VU,
|
|
31889
31889
|
oe("button", {
|
|
31890
31890
|
class: "close-dropdown",
|
|
31891
31891
|
onClick: A[1] || (A[1] = (a) => n.isExportRequest = !1),
|
|
31892
31892
|
style: He(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
|
|
31893
31893
|
}, " ✖ ", 4),
|
|
31894
|
-
oe("div",
|
|
31895
|
-
oe("div",
|
|
31896
|
-
oe("div",
|
|
31894
|
+
oe("div", GU, [
|
|
31895
|
+
oe("div", jU, [
|
|
31896
|
+
oe("div", WU, Ue(i.tableConfig.translations.exportAllLabel) + " (" + Ue(n.bodyCopy.length) + ") ", 1),
|
|
31897
31897
|
oe("button", {
|
|
31898
31898
|
id: "exportAll",
|
|
31899
31899
|
onClick: A[2] || (A[2] = (a) => i.createXls("all")),
|
|
@@ -31901,12 +31901,12 @@ function oT(e, A, t, r, n, i) {
|
|
|
31901
31901
|
}, [
|
|
31902
31902
|
oe("div", {
|
|
31903
31903
|
innerHTML: i.icons.fileDownload
|
|
31904
|
-
}, null, 8,
|
|
31904
|
+
}, null, 8, zU),
|
|
31905
31905
|
oe("span", null, Ue(i.tableConfig.translations.exportAllButton), 1)
|
|
31906
31906
|
], 4)
|
|
31907
31907
|
]),
|
|
31908
|
-
oe("div",
|
|
31909
|
-
oe("div",
|
|
31908
|
+
oe("div", XU, [
|
|
31909
|
+
oe("div", qU, Ue(i.tableConfig.translations.exportPageLabel), 1),
|
|
31910
31910
|
oe("button", {
|
|
31911
31911
|
id: "exportPage",
|
|
31912
31912
|
onClick: A[3] || (A[3] = (a) => i.createXls("page")),
|
|
@@ -31914,22 +31914,22 @@ function oT(e, A, t, r, n, i) {
|
|
|
31914
31914
|
}, [
|
|
31915
31915
|
oe("div", {
|
|
31916
31916
|
innerHTML: i.icons.fileDownload
|
|
31917
|
-
}, null, 8,
|
|
31917
|
+
}, null, 8, YU),
|
|
31918
31918
|
oe("span", null, Ue(i.tableConfig.translations.exportPageButton), 1)
|
|
31919
31919
|
], 4)
|
|
31920
31920
|
])
|
|
31921
31921
|
])
|
|
31922
|
-
], 12,
|
|
31922
|
+
], 12, KU)
|
|
31923
31923
|
]),
|
|
31924
31924
|
oe("div", {
|
|
31925
31925
|
class: "vue-ui-table__wrapper",
|
|
31926
31926
|
style: He(`max-height:${i.tableConfig.maxHeight}px`),
|
|
31927
31927
|
ref: "tableWrapper"
|
|
31928
31928
|
}, [
|
|
31929
|
-
oe("table",
|
|
31930
|
-
oe("thead",
|
|
31929
|
+
oe("table", JU, [
|
|
31930
|
+
oe("thead", ZU, [
|
|
31931
31931
|
oe("tr", null, [
|
|
31932
|
-
$
|
|
31932
|
+
$U,
|
|
31933
31933
|
(ne(!0), ie(gA, null, yA(n.tableHead, (a, s) => (ne(), ie("th", {
|
|
31934
31934
|
key: `thead_${s}`,
|
|
31935
31935
|
style: He(`overflow: visible;background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`),
|
|
@@ -32689,7 +32689,7 @@ function oT(e, A, t, r, n, i) {
|
|
|
32689
32689
|
], 4)) : Xe("", !0)
|
|
32690
32690
|
], 4);
|
|
32691
32691
|
}
|
|
32692
|
-
const tL = /* @__PURE__ */ bh(
|
|
32692
|
+
const tL = /* @__PURE__ */ bh(PU, [["render", oT], ["__scopeId", "data-v-80d709a0"]]);
|
|
32693
32693
|
const lT = (e) => (Wf("data-v-6c28ce05"), e = e(), zf(), e), cT = ["id"], uT = { class: "vue-ui-donut-user-option-item" }, fT = ["id", "name"], hT = ["for"], dT = { class: "vue-ui-donut-user-option-item" }, gT = ["id", "name"], pT = ["for"], wT = { class: "vue-ui-donut-user-option-item" }, vT = ["id", "name"], BT = ["for"], mT = ["disabled"], xT = {
|
|
32694
32694
|
key: 0,
|
|
32695
32695
|
class: "vue-ui-donut-print-icon",
|