vue-data-ui 2.0.96 → 2.0.97
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { onMounted as
|
|
1
|
+
import { onMounted as $t, onUnmounted as H1, ref as N, computed as ie, openBlock as d, createElementBlock as f, createCommentVNode as L, useCssVars as io, unref as Be, normalizeClass as He, createElementVNode as p, normalizeStyle as H, toDisplayString as D, Fragment as Ce, renderList as Le, renderSlot as Me, createVNode as ot, onBeforeUnmount as Cf, withDirectives as zl, withModifiers as En, withKeys as $a, createBlock as ze, pushScopeId as Ao, popScopeId as uo, createStaticVNode as vl, nextTick as fl, resolveComponent as so, vModelText as Qa, withCtx as Ie, normalizeProps as Ze, guardReactiveProps as tt, vModelCheckbox as gA, createTextVNode as dt, vModelSelect as P1, watch as xf, toRef as od, mergeProps as Cc } from "vue";
|
|
2
2
|
/*!
|
|
3
3
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
4
4
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
@@ -5678,7 +5678,7 @@ function bt(e) {
|
|
|
5678
5678
|
o = o || "a4";
|
|
5679
5679
|
var F = { COMPAT: "compat", ADVANCED: "advanced" }, k = F.COMPAT;
|
|
5680
5680
|
function O() {
|
|
5681
|
-
this.saveGraphicsState(),
|
|
5681
|
+
this.saveGraphicsState(), T(new pt(nt, 0, 0, -nt, 0, ar() * nt).toString() + " cm"), this.setFontSize(this.getFontSize() / nt), v = "n", k = F.ADVANCED;
|
|
5682
5682
|
}
|
|
5683
5683
|
function W() {
|
|
5684
5684
|
this.restoreGraphicsState(), v = "S", k = F.COMPAT;
|
|
@@ -5792,10 +5792,10 @@ function bt(e) {
|
|
|
5792
5792
|
w.__private__.resetCustomOutputDestination = function() {
|
|
5793
5793
|
fe = !1, Z = I;
|
|
5794
5794
|
};
|
|
5795
|
-
var
|
|
5795
|
+
var T = w.__private__.out = function(x) {
|
|
5796
5796
|
return x = x.toString(), P += x.length + 1, Z.push(x), Z;
|
|
5797
5797
|
}, ee = w.__private__.write = function(x) {
|
|
5798
|
-
return
|
|
5798
|
+
return T(arguments.length === 1 ? x.toString() : Array.prototype.join.call(arguments, " "));
|
|
5799
5799
|
}, ue = w.__private__.getArrayBuffer = function(x) {
|
|
5800
5800
|
for (var oe = x.length, Se = new ArrayBuffer(oe), Ue = new Uint8Array(Se); oe--; )
|
|
5801
5801
|
Ue[oe] = x.charCodeAt(oe);
|
|
@@ -5938,8 +5938,8 @@ function bt(e) {
|
|
|
5938
5938
|
}, pt.prototype.toString = function(x) {
|
|
5939
5939
|
return this.join(" ");
|
|
5940
5940
|
}, pt.prototype.inversed = function() {
|
|
5941
|
-
var x = this.sx, oe = this.shy, Se = this.shx, Ue = this.sy, De = this.tx, Ke = this.ty, Je = 1 / (x * Ue - oe * Se), it = Ue * Je, gt = -oe * Je, St = -Se * Je,
|
|
5942
|
-
return new pt(it, gt, St,
|
|
5941
|
+
var x = this.sx, oe = this.shy, Se = this.shx, Ue = this.sy, De = this.tx, Ke = this.ty, Je = 1 / (x * Ue - oe * Se), it = Ue * Je, gt = -oe * Je, St = -Se * Je, Qt = x * Je;
|
|
5942
|
+
return new pt(it, gt, St, Qt, -it * De - St * Ke, -gt * De - Qt * Ke);
|
|
5943
5943
|
}, pt.prototype.applyToPoint = function(x) {
|
|
5944
5944
|
var oe = x.x * this.sx + x.y * this.shx + this.tx, Se = x.x * this.shy + x.y * this.sy + this.ty;
|
|
5945
5945
|
return new cn(oe, Se);
|
|
@@ -5976,7 +5976,7 @@ function bt(e) {
|
|
|
5976
5976
|
return P;
|
|
5977
5977
|
}, $;
|
|
5978
5978
|
}, Ba = function(x, oe) {
|
|
5979
|
-
return oe = typeof oe == "boolean" && oe, K[x] = P, oe &&
|
|
5979
|
+
return oe = typeof oe == "boolean" && oe, K[x] = P, oe && T(x + " 0 obj"), x;
|
|
5980
5980
|
}, Yr = w.__private__.newAdditionalObject = function() {
|
|
5981
5981
|
var x = { objId: El(), content: "" };
|
|
5982
5982
|
return j.push(x), x;
|
|
@@ -6055,12 +6055,12 @@ function bt(e) {
|
|
|
6055
6055
|
g !== null && (it = aa.encryptor(Je, 0));
|
|
6056
6056
|
var gt = {};
|
|
6057
6057
|
Se === !0 && (Se = ["FlateEncode"]);
|
|
6058
|
-
var St = x.additionalKeyValues || [],
|
|
6059
|
-
if (gt.data.length !== 0 && (St.push({ key: "Length", value: gt.data.length }), De === !0 && St.push({ key: "Length1", value: Ke })),
|
|
6060
|
-
if (
|
|
6061
|
-
St.push({ key: "Filter", value:
|
|
6058
|
+
var St = x.additionalKeyValues || [], Qt = (gt = bt.API.processDataByFilters !== void 0 ? bt.API.processDataByFilters(oe, Se) : { data: oe, reverseChain: [] }).reverseChain + (Array.isArray(Ue) ? Ue.join(" ") : Ue.toString());
|
|
6059
|
+
if (gt.data.length !== 0 && (St.push({ key: "Length", value: gt.data.length }), De === !0 && St.push({ key: "Length1", value: Ke })), Qt.length != 0)
|
|
6060
|
+
if (Qt.split("/").length - 1 == 1)
|
|
6061
|
+
St.push({ key: "Filter", value: Qt });
|
|
6062
6062
|
else {
|
|
6063
|
-
St.push({ key: "Filter", value: "[" +
|
|
6063
|
+
St.push({ key: "Filter", value: "[" + Qt + "]" });
|
|
6064
6064
|
for (var Ot = 0; Ot < St.length; Ot += 1)
|
|
6065
6065
|
if (St[Ot].key === "DecodeParms") {
|
|
6066
6066
|
for (var hl = [], ml = 0; ml < gt.reverseChain.split("/").length - 1; ml += 1)
|
|
@@ -6068,30 +6068,30 @@ function bt(e) {
|
|
|
6068
6068
|
hl.push(St[Ot].value), St[Ot].value = "[" + hl.join(" ") + "]";
|
|
6069
6069
|
}
|
|
6070
6070
|
}
|
|
6071
|
-
|
|
6071
|
+
T("<<");
|
|
6072
6072
|
for (var Il = 0; Il < St.length; Il++)
|
|
6073
|
-
|
|
6074
|
-
|
|
6073
|
+
T("/" + St[Il].key + " " + St[Il].value);
|
|
6074
|
+
T(">>"), gt.data.length !== 0 && (T("stream"), T(it(gt.data)), T("endstream"));
|
|
6075
6075
|
}, Co = w.__private__.putPage = function(x) {
|
|
6076
6076
|
var oe = x.number, Se = x.data, Ue = x.objId, De = x.contentsObjId;
|
|
6077
|
-
Ba(Ue, !0),
|
|
6077
|
+
Ba(Ue, !0), T("<</Type /Page"), T("/Parent " + x.rootDictionaryObjId + " 0 R"), T("/Resources " + x.resourceDictionaryObjId + " 0 R"), T("/MediaBox [" + parseFloat(se(x.mediaBox.bottomLeftX)) + " " + parseFloat(se(x.mediaBox.bottomLeftY)) + " " + se(x.mediaBox.topRightX) + " " + se(x.mediaBox.topRightY) + "]"), x.cropBox !== null && T("/CropBox [" + se(x.cropBox.bottomLeftX) + " " + se(x.cropBox.bottomLeftY) + " " + se(x.cropBox.topRightX) + " " + se(x.cropBox.topRightY) + "]"), x.bleedBox !== null && T("/BleedBox [" + se(x.bleedBox.bottomLeftX) + " " + se(x.bleedBox.bottomLeftY) + " " + se(x.bleedBox.topRightX) + " " + se(x.bleedBox.topRightY) + "]"), x.trimBox !== null && T("/TrimBox [" + se(x.trimBox.bottomLeftX) + " " + se(x.trimBox.bottomLeftY) + " " + se(x.trimBox.topRightX) + " " + se(x.trimBox.topRightY) + "]"), x.artBox !== null && T("/ArtBox [" + se(x.artBox.bottomLeftX) + " " + se(x.artBox.bottomLeftY) + " " + se(x.artBox.topRightX) + " " + se(x.artBox.topRightY) + "]"), typeof x.userUnit == "number" && x.userUnit !== 1 && T("/UserUnit " + x.userUnit), jt.publish("putPage", { objId: Ue, pageContext: Bt[oe], pageNumber: oe, page: Se }), T("/Contents " + De + " 0 R"), T(">>"), T("endobj");
|
|
6078
6078
|
var Ke = Se.join(`
|
|
6079
6079
|
`);
|
|
6080
6080
|
return k === F.ADVANCED && (Ke += `
|
|
6081
|
-
Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }),
|
|
6081
|
+
Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), T("endobj"), Ue;
|
|
6082
6082
|
}, Mr = w.__private__.putPages = function() {
|
|
6083
6083
|
var x, oe, Se = [];
|
|
6084
6084
|
for (x = 1; x <= wl; x++)
|
|
6085
6085
|
Bt[x].objId = El(), Bt[x].contentsObjId = El();
|
|
6086
6086
|
for (x = 1; x <= wl; x++)
|
|
6087
6087
|
Se.push(Co({ number: x, data: q[x], objId: Bt[x].objId, contentsObjId: Bt[x].contentsObjId, mediaBox: Bt[x].mediaBox, cropBox: Bt[x].cropBox, bleedBox: Bt[x].bleedBox, trimBox: Bt[x].trimBox, artBox: Bt[x].artBox, userUnit: Bt[x].userUnit, rootDictionaryObjId: Eo, resourceDictionaryObjId: Wa }));
|
|
6088
|
-
Ba(Eo, !0),
|
|
6088
|
+
Ba(Eo, !0), T("<</Type /Pages");
|
|
6089
6089
|
var Ue = "/Kids [";
|
|
6090
6090
|
for (oe = 0; oe < wl; oe++)
|
|
6091
6091
|
Ue += Se[oe] + " 0 R ";
|
|
6092
|
-
|
|
6092
|
+
T(Ue + "]"), T("/Count " + wl), T(">>"), T("endobj"), jt.publish("postPutPages");
|
|
6093
6093
|
}, Jr = function(x) {
|
|
6094
|
-
jt.publish("putFont", { font: x, out:
|
|
6094
|
+
jt.publish("putFont", { font: x, out: T, newObject: Pl, putStream: Ma }), x.isAlreadyPutted !== !0 && (x.objectNumber = Pl(), T("<<"), T("/Type /Font"), T("/BaseFont /" + Dn(x.postScriptName)), T("/Subtype /Type1"), typeof x.encoding == "string" && T("/Encoding /" + x.encoding), T("/FirstChar 32"), T("/LastChar 255"), T(">>"), T("endobj"));
|
|
6095
6095
|
}, Zr = function() {
|
|
6096
6096
|
for (var x in Kt)
|
|
6097
6097
|
Kt.hasOwnProperty(x) && (b === !1 || b === !0 && y.hasOwnProperty(x)) && Jr(Kt[x]);
|
|
@@ -6101,7 +6101,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6101
6101
|
oe.push({ key: "Type", value: "/XObject" }), oe.push({ key: "Subtype", value: "/Form" }), oe.push({ key: "BBox", value: "[" + [se(x.x), se(x.y), se(x.x + x.width), se(x.y + x.height)].join(" ") + "]" }), oe.push({ key: "Matrix", value: "[" + x.matrix.toString() + "]" });
|
|
6102
6102
|
var Se = x.pages[1].join(`
|
|
6103
6103
|
`);
|
|
6104
|
-
Ma({ data: Se, additionalKeyValues: oe, objectId: x.objectNumber }),
|
|
6104
|
+
Ma({ data: Se, additionalKeyValues: oe, objectId: x.objectNumber }), T("endobj");
|
|
6105
6105
|
}, tn = function() {
|
|
6106
6106
|
for (var x in Jl)
|
|
6107
6107
|
Jl.hasOwnProperty(x) && en(Jl[x]);
|
|
@@ -6120,70 +6120,70 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6120
6120
|
for (var it = "", gt = 0, St = 0; St < Ue.length; St++) {
|
|
6121
6121
|
for (Se = Ue[St]; Se > x[gt + 1].offset; )
|
|
6122
6122
|
gt++;
|
|
6123
|
-
var
|
|
6123
|
+
var Qt = x[gt].offset, Ot = (Se - Qt) / (x[gt + 1].offset - Qt), hl = x[gt].color, ml = x[gt + 1].color;
|
|
6124
6124
|
it += S(Math.round((1 - Ot) * hl[0] + Ot * ml[0]).toString(16)) + S(Math.round((1 - Ot) * hl[1] + Ot * ml[1]).toString(16)) + S(Math.round((1 - Ot) * hl[2] + Ot * ml[2]).toString(16));
|
|
6125
6125
|
}
|
|
6126
6126
|
return it.trim();
|
|
6127
6127
|
}, tu = function(x, oe) {
|
|
6128
6128
|
oe || (oe = 21);
|
|
6129
6129
|
var Se = Pl(), Ue = ei(x.colors, oe), De = [];
|
|
6130
|
-
De.push({ key: "FunctionType", value: "0" }), De.push({ key: "Domain", value: "[0.0 1.0]" }), De.push({ key: "Size", value: "[" + oe + "]" }), De.push({ key: "BitsPerSample", value: "8" }), De.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), De.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), Ma({ data: Ue, additionalKeyValues: De, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: Se }),
|
|
6130
|
+
De.push({ key: "FunctionType", value: "0" }), De.push({ key: "Domain", value: "[0.0 1.0]" }), De.push({ key: "Size", value: "[" + oe + "]" }), De.push({ key: "BitsPerSample", value: "8" }), De.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), De.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), Ma({ data: Ue, additionalKeyValues: De, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: Se }), T("endobj"), x.objectNumber = Pl(), T("<< /ShadingType " + x.type), T("/ColorSpace /DeviceRGB");
|
|
6131
6131
|
var Ke = "/Coords [" + se(parseFloat(x.coords[0])) + " " + se(parseFloat(x.coords[1])) + " ";
|
|
6132
|
-
x.type === 2 ? Ke += se(parseFloat(x.coords[2])) + " " + se(parseFloat(x.coords[3])) : Ke += se(parseFloat(x.coords[2])) + " " + se(parseFloat(x.coords[3])) + " " + se(parseFloat(x.coords[4])) + " " + se(parseFloat(x.coords[5])),
|
|
6132
|
+
x.type === 2 ? Ke += se(parseFloat(x.coords[2])) + " " + se(parseFloat(x.coords[3])) : Ke += se(parseFloat(x.coords[2])) + " " + se(parseFloat(x.coords[3])) + " " + se(parseFloat(x.coords[4])) + " " + se(parseFloat(x.coords[5])), T(Ke += "]"), x.matrix && T("/Matrix [" + x.matrix.toString() + "]"), T("/Function " + Se + " 0 R"), T("/Extend [true true]"), T(">>"), T("endobj");
|
|
6133
6133
|
}, lu = function(x, oe) {
|
|
6134
6134
|
var Se = El(), Ue = Pl();
|
|
6135
6135
|
oe.push({ resourcesOid: Se, objectOid: Ue }), x.objectNumber = Ue;
|
|
6136
6136
|
var De = [];
|
|
6137
|
-
De.push({ key: "Type", value: "/Pattern" }), De.push({ key: "PatternType", value: "1" }), De.push({ key: "PaintType", value: "1" }), De.push({ key: "TilingType", value: "1" }), De.push({ key: "BBox", value: "[" + x.boundingBox.map(se).join(" ") + "]" }), De.push({ key: "XStep", value: se(x.xStep) }), De.push({ key: "YStep", value: se(x.yStep) }), De.push({ key: "Resources", value: Se + " 0 R" }), x.matrix && De.push({ key: "Matrix", value: "[" + x.matrix.toString() + "]" }), Ma({ data: x.stream, additionalKeyValues: De, objectId: x.objectNumber }),
|
|
6137
|
+
De.push({ key: "Type", value: "/Pattern" }), De.push({ key: "PatternType", value: "1" }), De.push({ key: "PaintType", value: "1" }), De.push({ key: "TilingType", value: "1" }), De.push({ key: "BBox", value: "[" + x.boundingBox.map(se).join(" ") + "]" }), De.push({ key: "XStep", value: se(x.xStep) }), De.push({ key: "YStep", value: se(x.yStep) }), De.push({ key: "Resources", value: Se + " 0 R" }), x.matrix && De.push({ key: "Matrix", value: "[" + x.matrix.toString() + "]" }), Ma({ data: x.stream, additionalKeyValues: De, objectId: x.objectNumber }), T("endobj");
|
|
6138
6138
|
}, ln = function(x) {
|
|
6139
6139
|
var oe;
|
|
6140
6140
|
for (oe in Wt)
|
|
6141
6141
|
Wt.hasOwnProperty(oe) && (Wt[oe] instanceof Vr ? tu(Wt[oe]) : Wt[oe] instanceof Pn && lu(Wt[oe], x));
|
|
6142
6142
|
}, ti = function(x) {
|
|
6143
|
-
for (var oe in x.objectNumber = Pl(),
|
|
6143
|
+
for (var oe in x.objectNumber = Pl(), T("<<"), x)
|
|
6144
6144
|
switch (oe) {
|
|
6145
6145
|
case "opacity":
|
|
6146
|
-
|
|
6146
|
+
T("/ca " + ve(x[oe]));
|
|
6147
6147
|
break;
|
|
6148
6148
|
case "stroke-opacity":
|
|
6149
|
-
|
|
6149
|
+
T("/CA " + ve(x[oe]));
|
|
6150
6150
|
}
|
|
6151
|
-
|
|
6151
|
+
T(">>"), T("endobj");
|
|
6152
6152
|
}, au = function() {
|
|
6153
6153
|
var x;
|
|
6154
6154
|
for (x in bl)
|
|
6155
6155
|
bl.hasOwnProperty(x) && ti(bl[x]);
|
|
6156
6156
|
}, Yn = function() {
|
|
6157
|
-
for (var x in
|
|
6158
|
-
Jl.hasOwnProperty(x) && Jl[x].objectNumber >= 0 &&
|
|
6159
|
-
jt.publish("putXobjectDict"),
|
|
6157
|
+
for (var x in T("/XObject <<"), Jl)
|
|
6158
|
+
Jl.hasOwnProperty(x) && Jl[x].objectNumber >= 0 && T("/" + x + " " + Jl[x].objectNumber + " 0 R");
|
|
6159
|
+
jt.publish("putXobjectDict"), T(">>");
|
|
6160
6160
|
}, ou = function() {
|
|
6161
|
-
aa.oid = Pl(),
|
|
6161
|
+
aa.oid = Pl(), T("<<"), T("/Filter /Standard"), T("/V " + aa.v), T("/R " + aa.r), T("/U <" + aa.toHexString(aa.U) + ">"), T("/O <" + aa.toHexString(aa.O) + ">"), T("/P " + aa.P), T(">>"), T("endobj");
|
|
6162
6162
|
}, li = function() {
|
|
6163
|
-
for (var x in
|
|
6164
|
-
Kt.hasOwnProperty(x) && (b === !1 || b === !0 && y.hasOwnProperty(x)) &&
|
|
6165
|
-
|
|
6163
|
+
for (var x in T("/Font <<"), Kt)
|
|
6164
|
+
Kt.hasOwnProperty(x) && (b === !1 || b === !0 && y.hasOwnProperty(x)) && T("/" + x + " " + Kt[x].objectNumber + " 0 R");
|
|
6165
|
+
T(">>");
|
|
6166
6166
|
}, ru = function() {
|
|
6167
6167
|
if (Object.keys(Wt).length > 0) {
|
|
6168
|
-
for (var x in
|
|
6169
|
-
Wt.hasOwnProperty(x) && Wt[x] instanceof Vr && Wt[x].objectNumber >= 0 &&
|
|
6170
|
-
jt.publish("putShadingPatternDict"),
|
|
6168
|
+
for (var x in T("/Shading <<"), Wt)
|
|
6169
|
+
Wt.hasOwnProperty(x) && Wt[x] instanceof Vr && Wt[x].objectNumber >= 0 && T("/" + x + " " + Wt[x].objectNumber + " 0 R");
|
|
6170
|
+
jt.publish("putShadingPatternDict"), T(">>");
|
|
6171
6171
|
}
|
|
6172
6172
|
}, an = function(x) {
|
|
6173
6173
|
if (Object.keys(Wt).length > 0) {
|
|
6174
|
-
for (var oe in
|
|
6175
|
-
Wt.hasOwnProperty(oe) && Wt[oe] instanceof w.TilingPattern && Wt[oe].objectNumber >= 0 && Wt[oe].objectNumber < x &&
|
|
6176
|
-
jt.publish("putTilingPatternDict"),
|
|
6174
|
+
for (var oe in T("/Pattern <<"), Wt)
|
|
6175
|
+
Wt.hasOwnProperty(oe) && Wt[oe] instanceof w.TilingPattern && Wt[oe].objectNumber >= 0 && Wt[oe].objectNumber < x && T("/" + oe + " " + Wt[oe].objectNumber + " 0 R");
|
|
6176
|
+
jt.publish("putTilingPatternDict"), T(">>");
|
|
6177
6177
|
}
|
|
6178
6178
|
}, nu = function() {
|
|
6179
6179
|
if (Object.keys(bl).length > 0) {
|
|
6180
6180
|
var x;
|
|
6181
|
-
for (x in
|
|
6182
|
-
bl.hasOwnProperty(x) && bl[x].objectNumber >= 0 &&
|
|
6183
|
-
jt.publish("putGStateDict"),
|
|
6181
|
+
for (x in T("/ExtGState <<"), bl)
|
|
6182
|
+
bl.hasOwnProperty(x) && bl[x].objectNumber >= 0 && T("/" + x + " " + bl[x].objectNumber + " 0 R");
|
|
6183
|
+
jt.publish("putGStateDict"), T(">>");
|
|
6184
6184
|
}
|
|
6185
6185
|
}, kl = function(x) {
|
|
6186
|
-
Ba(x.resourcesOid, !0),
|
|
6186
|
+
Ba(x.resourcesOid, !0), T("<<"), T("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), li(), ru(), an(x.objectOid), nu(), Yn(), T(">>"), T("endobj");
|
|
6187
6187
|
}, ai = function() {
|
|
6188
6188
|
var x = [];
|
|
6189
6189
|
Zr(), au(), tn(), ln(x), jt.publish("putResources"), x.forEach(kl), kl({ resourcesOid: Wa, objectOid: Number.MAX_SAFE_INTEGER }), jt.publish("postPutResources");
|
|
@@ -6191,7 +6191,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6191
6191
|
jt.publish("putAdditionalObjects");
|
|
6192
6192
|
for (var x = 0; x < j.length; x++) {
|
|
6193
6193
|
var oe = j[x];
|
|
6194
|
-
Ba(oe.objId, !0),
|
|
6194
|
+
Ba(oe.objId, !0), T(oe.content), T("endobj");
|
|
6195
6195
|
}
|
|
6196
6196
|
jt.publish("postPutAdditionalObjects");
|
|
6197
6197
|
}, ri = function(x) {
|
|
@@ -6222,7 +6222,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6222
6222
|
}
|
|
6223
6223
|
}, x.foo.bar = x, x.foo;
|
|
6224
6224
|
}, on = function(x, oe) {
|
|
6225
|
-
var Se, Ue, De, Ke, Je, it, gt, St,
|
|
6225
|
+
var Se, Ue, De, Ke, Je, it, gt, St, Qt;
|
|
6226
6226
|
if (De = (oe = oe || {}).sourceEncoding || "Unicode", Je = oe.outputEncoding, (oe.autoencode || Je) && Kt[Et].metadata && Kt[Et].metadata[De] && Kt[Et].metadata[De].encoding && (Ke = Kt[Et].metadata[De].encoding, !Je && Kt[Et].encoding && (Je = Kt[Et].encoding), !Je && Ke.codePages && (Je = Ke.codePages[0]), typeof Je == "string" && (Je = Ke[Je]), Je)) {
|
|
6227
6227
|
for (gt = !1, it = [], Se = 0, Ue = x.length; Se < Ue; Se++)
|
|
6228
6228
|
(St = Je[x.charCodeAt(Se)]) ? it.push(String.fromCharCode(St)) : it.push(x[Se]), it[Se].charCodeAt(0) >> 8 && (gt = !0);
|
|
@@ -6233,9 +6233,9 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6233
6233
|
if (!gt)
|
|
6234
6234
|
return x;
|
|
6235
6235
|
for (it = oe.noBOM ? [] : [254, 255], Se = 0, Ue = x.length; Se < Ue; Se++) {
|
|
6236
|
-
if ((
|
|
6236
|
+
if ((Qt = (St = x.charCodeAt(Se)) >> 8) >> 8)
|
|
6237
6237
|
throw new Error("Character at position " + Se + " of string '" + x + "' exceeds 16bits. Cannot be encoded into UCS-2 BE");
|
|
6238
|
-
it.push(
|
|
6238
|
+
it.push(Qt), it.push(St - (Qt << 8));
|
|
6239
6239
|
}
|
|
6240
6240
|
return String.fromCharCode.apply(void 0, it);
|
|
6241
6241
|
}, pa = w.__private__.pdfEscape = w.pdfEscape = function(x, oe) {
|
|
@@ -6251,7 +6251,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6251
6251
|
case "p":
|
|
6252
6252
|
Ue > De && (o = [De, Ue]);
|
|
6253
6253
|
}
|
|
6254
|
-
Zn(o), hi(as),
|
|
6254
|
+
Zn(o), hi(as), T(qa), rs !== 0 && T(rs + " J"), ns !== 0 && T(ns + " j"), jt.publish("addPage", { pageNumber: wl });
|
|
6255
6255
|
}, iu = function(x) {
|
|
6256
6256
|
x > 0 && x <= wl && (q.splice(x, 1), Bt.splice(x, 1), wl--, Q > wl && (Q = wl), this.setPage(Q));
|
|
6257
6257
|
}, si = function(x) {
|
|
@@ -6265,56 +6265,56 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6265
6265
|
var x = Pl(), oe = function(Ue) {
|
|
6266
6266
|
return Ue;
|
|
6267
6267
|
};
|
|
6268
|
-
for (var Se in g !== null && (oe = aa.encryptor(x, 0)),
|
|
6269
|
-
ht.hasOwnProperty(Se) && ht[Se] &&
|
|
6270
|
-
|
|
6268
|
+
for (var Se in g !== null && (oe = aa.encryptor(x, 0)), T("<<"), T("/Producer (" + pa(oe("jsPDF " + bt.version)) + ")"), ht)
|
|
6269
|
+
ht.hasOwnProperty(Se) && ht[Se] && T("/" + Se.substr(0, 1).toUpperCase() + Se.substr(1) + " (" + pa(oe(ht[Se])) + ")");
|
|
6270
|
+
T("/CreationDate (" + pa(oe(we)) + ")"), T(">>"), T("endobj");
|
|
6271
6271
|
}, es = w.__private__.putCatalog = function(x) {
|
|
6272
6272
|
var oe = (x = x || {}).rootDictionaryObjId || Eo;
|
|
6273
|
-
switch (Pl(),
|
|
6273
|
+
switch (Pl(), T("<<"), T("/Type /Catalog"), T("/Pages " + oe + " 0 R"), Fe || (Fe = "fullwidth"), Fe) {
|
|
6274
6274
|
case "fullwidth":
|
|
6275
|
-
|
|
6275
|
+
T("/OpenAction [3 0 R /FitH null]");
|
|
6276
6276
|
break;
|
|
6277
6277
|
case "fullheight":
|
|
6278
|
-
|
|
6278
|
+
T("/OpenAction [3 0 R /FitV null]");
|
|
6279
6279
|
break;
|
|
6280
6280
|
case "fullpage":
|
|
6281
|
-
|
|
6281
|
+
T("/OpenAction [3 0 R /Fit]");
|
|
6282
6282
|
break;
|
|
6283
6283
|
case "original":
|
|
6284
|
-
|
|
6284
|
+
T("/OpenAction [3 0 R /XYZ null null 1]");
|
|
6285
6285
|
break;
|
|
6286
6286
|
default:
|
|
6287
6287
|
var Se = "" + Fe;
|
|
6288
|
-
Se.substr(Se.length - 1) === "%" && (Fe = parseInt(Fe) / 100), typeof Fe == "number" &&
|
|
6288
|
+
Se.substr(Se.length - 1) === "%" && (Fe = parseInt(Fe) / 100), typeof Fe == "number" && T("/OpenAction [3 0 R /XYZ null null " + ve(Fe) + "]");
|
|
6289
6289
|
}
|
|
6290
6290
|
switch (We || (We = "continuous"), We) {
|
|
6291
6291
|
case "continuous":
|
|
6292
|
-
|
|
6292
|
+
T("/PageLayout /OneColumn");
|
|
6293
6293
|
break;
|
|
6294
6294
|
case "single":
|
|
6295
|
-
|
|
6295
|
+
T("/PageLayout /SinglePage");
|
|
6296
6296
|
break;
|
|
6297
6297
|
case "two":
|
|
6298
6298
|
case "twoleft":
|
|
6299
|
-
|
|
6299
|
+
T("/PageLayout /TwoColumnLeft");
|
|
6300
6300
|
break;
|
|
6301
6301
|
case "tworight":
|
|
6302
|
-
|
|
6302
|
+
T("/PageLayout /TwoColumnRight");
|
|
6303
6303
|
}
|
|
6304
|
-
Te &&
|
|
6304
|
+
Te && T("/PageMode /" + Te), jt.publish("putCatalog"), T(">>"), T("endobj");
|
|
6305
6305
|
}, cu = w.__private__.putTrailer = function() {
|
|
6306
|
-
|
|
6306
|
+
T("trailer"), T("<<"), T("/Size " + ($ + 1)), T("/Root " + $ + " 0 R"), T("/Info " + ($ - 1) + " 0 R"), g !== null && T("/Encrypt " + aa.oid + " 0 R"), T("/ID [ <" + _e + "> <" + _e + "> ]"), T(">>");
|
|
6307
6307
|
}, du = w.__private__.putHeader = function() {
|
|
6308
|
-
|
|
6308
|
+
T("%PDF-" + u), T("%ºß¬à");
|
|
6309
6309
|
}, hu = w.__private__.putXRef = function() {
|
|
6310
6310
|
var x = "0000000000";
|
|
6311
|
-
|
|
6311
|
+
T("xref"), T("0 " + ($ + 1)), T("0000000000 65535 f ");
|
|
6312
6312
|
for (var oe = 1; oe <= $; oe++)
|
|
6313
|
-
typeof K[oe] == "function" ?
|
|
6313
|
+
typeof K[oe] == "function" ? T((x + K[oe]()).slice(-10) + " 00000 n ") : K[oe] !== void 0 ? T((x + K[oe]).slice(-10) + " 00000 n ") : T("0000000000 00000 n ");
|
|
6314
6314
|
}, Io = w.__private__.buildDocument = function() {
|
|
6315
6315
|
pe(), M(I), jt.publish("buildDocument"), du(), Mr(), oi(), ai(), g !== null && ou(), uu(), es();
|
|
6316
6316
|
var x = P;
|
|
6317
|
-
return hu(), cu(),
|
|
6317
|
+
return hu(), cu(), T("startxref"), T("" + x), T("%%EOF"), M(q[Q]), I.join(`
|
|
6318
6318
|
`);
|
|
6319
6319
|
}, rn = w.__private__.getBlob = function(x) {
|
|
6320
6320
|
return new Blob([ue(x)], { type: "application/pdf" });
|
|
@@ -6357,9 +6357,9 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6357
6357
|
var gt = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="' + (oe.pdfJsUrl || "examples/PDF.js/web/viewer.html") + "?file=&downloadName=" + oe.filename + '" width="500px" height="400px" /></body></html>', St = wt.open();
|
|
6358
6358
|
if (St !== null) {
|
|
6359
6359
|
St.document.write(gt);
|
|
6360
|
-
var
|
|
6360
|
+
var Qt = this;
|
|
6361
6361
|
St.document.documentElement.querySelector("#pdfViewer").onload = function() {
|
|
6362
|
-
St.document.title = oe.filename, St.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(
|
|
6362
|
+
St.document.title = oe.filename, St.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Qt.output("bloburl"));
|
|
6363
6363
|
};
|
|
6364
6364
|
}
|
|
6365
6365
|
return St;
|
|
@@ -6452,7 +6452,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6452
6452
|
}, w.deletePage = function() {
|
|
6453
6453
|
return iu.apply(this, arguments), this;
|
|
6454
6454
|
}, w.__private__.text = w.text = function(x, oe, Se, Ue, De) {
|
|
6455
|
-
var Ke, Je, it, gt, St,
|
|
6455
|
+
var Ke, Je, it, gt, St, Qt, Ot, hl, ml, Il = (Ue = Ue || {}).scope || this;
|
|
6456
6456
|
if (typeof x == "number" && typeof oe == "number" && (typeof Se == "string" || Array.isArray(Se))) {
|
|
6457
6457
|
var oa = Se;
|
|
6458
6458
|
Se = oe, oe = x, x = oa;
|
|
@@ -6508,8 +6508,8 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6508
6508
|
case "middle":
|
|
6509
6509
|
Se += vn / 2 - gn;
|
|
6510
6510
|
}
|
|
6511
|
-
if ((
|
|
6512
|
-
return rl.concat(Il.splitTextToSize(nl,
|
|
6511
|
+
if ((Qt = Ue.maxWidth || 0) > 0 && (typeof x == "string" ? x = Il.splitTextToSize(x, Qt) : Object.prototype.toString.call(x) === "[object Array]" && (x = x.reduce(function(rl, nl) {
|
|
6512
|
+
return rl.concat(Il.splitTextToSize(nl, Qt));
|
|
6513
6513
|
}, []))), Ke = { text: x, x: oe, y: Se, options: Ue, mutex: { pdfEscape: pa, activeFontKey: Et, fonts: Kt, activeFontSize: me } }, jt.publish("preProcessText", Ke), x = Ke.text, it = (Ue = Ke.options).angle, !(ml instanceof pt) && it && typeof it == "number") {
|
|
6514
6514
|
it *= Math.PI / 180, Ue.rotationDirection === 0 && (it = -it), k === F.ADVANCED && (it = -it);
|
|
6515
6515
|
var yn = Math.cos(it), vs = Math.sin(it);
|
|
@@ -6560,7 +6560,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6560
6560
|
` : wi !== -1 && (Wl += `0 Tr
|
|
6561
6561
|
`), wa !== -1 && (gs.usedRenderingMode = wa), gt = Ue.align || "left";
|
|
6562
6562
|
var Ja, ys = me * _a, _u = Il.internal.pageSize.getWidth(), Fu = Kt[Et];
|
|
6563
|
-
St = Ue.charSpace || un,
|
|
6563
|
+
St = Ue.charSpace || un, Qt = Ue.maxWidth || 0, Ot = Object.assign({ autoencode: !0, noBOM: !0 }, Ue.flags);
|
|
6564
6564
|
var or = [];
|
|
6565
6565
|
if (Object.prototype.toString.call(x) === "[object Array]") {
|
|
6566
6566
|
var Ea;
|
|
@@ -6583,9 +6583,9 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6583
6583
|
} else {
|
|
6584
6584
|
if (gt !== "justify")
|
|
6585
6585
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
6586
|
-
x = [], ba = Je.length,
|
|
6586
|
+
x = [], ba = Je.length, Qt = Qt !== 0 ? Qt : _u;
|
|
6587
6587
|
for (var eo = 0; eo < ba; eo++)
|
|
6588
|
-
Ea = eo === 0 ? tr(Se) : -ys, Za = eo === 0 ? No(oe) : 0, eo < ba - 1 ? or.push(se(V((
|
|
6588
|
+
Ea = eo === 0 ? tr(Se) : -ys, Za = eo === 0 ? No(oe) : 0, eo < ba - 1 ? or.push(se(V((Qt - Ja[eo]) / (Je[eo].split(" ").length - 1)))) : or.push(0), x.push([Je[eo], Za, Ea]);
|
|
6589
6589
|
}
|
|
6590
6590
|
}
|
|
6591
6591
|
var bn = typeof Ue.R2L == "boolean" ? Ue.R2L : he;
|
|
@@ -6621,15 +6621,15 @@ T* `) : x.join(` Tj
|
|
|
6621
6621
|
return Po += Et + " " + me + ` Tf
|
|
6622
6622
|
`, Po += se(me * _a) + ` TL
|
|
6623
6623
|
`, Po += Nr + `
|
|
6624
|
-
`, Po += Wl, Po += x,
|
|
6624
|
+
`, Po += Wl, Po += x, T(Po += "ET"), y[Et] = !0, Il;
|
|
6625
6625
|
};
|
|
6626
6626
|
var gu = w.__private__.clip = w.clip = function(x) {
|
|
6627
|
-
return
|
|
6627
|
+
return T(x === "evenodd" ? "W*" : "W"), this;
|
|
6628
6628
|
};
|
|
6629
6629
|
w.clipEvenOdd = function() {
|
|
6630
6630
|
return gu("evenodd");
|
|
6631
6631
|
}, w.__private__.discardPath = w.discardPath = function() {
|
|
6632
|
-
return
|
|
6632
|
+
return T("n"), this;
|
|
6633
6633
|
};
|
|
6634
6634
|
var xo = w.__private__.isValidStyle = function(x) {
|
|
6635
6635
|
var oe = !1;
|
|
@@ -6660,10 +6660,10 @@ T* `) : x.join(` Tj
|
|
|
6660
6660
|
}
|
|
6661
6661
|
return oe;
|
|
6662
6662
|
}, di = w.close = function() {
|
|
6663
|
-
return
|
|
6663
|
+
return T("h"), this;
|
|
6664
6664
|
};
|
|
6665
6665
|
w.stroke = function() {
|
|
6666
|
-
return
|
|
6666
|
+
return T("S"), this;
|
|
6667
6667
|
}, w.fill = function(x) {
|
|
6668
6668
|
return sn("f", x), this;
|
|
6669
6669
|
}, w.fillEvenOdd = function(x) {
|
|
@@ -6674,9 +6674,9 @@ T* `) : x.join(` Tj
|
|
|
6674
6674
|
return sn("B*", x), this;
|
|
6675
6675
|
};
|
|
6676
6676
|
var sn = function(x, oe) {
|
|
6677
|
-
Yt(oe) === "object" ? pu(oe, x) :
|
|
6677
|
+
Yt(oe) === "object" ? pu(oe, x) : T(x);
|
|
6678
6678
|
}, ts = function(x) {
|
|
6679
|
-
x === null || k === F.ADVANCED && x === void 0 || (x = ci(x),
|
|
6679
|
+
x === null || k === F.ADVANCED && x === void 0 || (x = ci(x), T(x));
|
|
6680
6680
|
};
|
|
6681
6681
|
function yu(x, oe, Se, Ue, De) {
|
|
6682
6682
|
var Ke = new Pn(oe || this.boundingBox, Se || this.xStep, Ue || this.yStep, this.gState, De || this.matrix);
|
|
@@ -6687,10 +6687,10 @@ T* `) : x.join(` Tj
|
|
|
6687
6687
|
var pu = function(x, oe) {
|
|
6688
6688
|
var Se = $r[x.key], Ue = Wt[Se];
|
|
6689
6689
|
if (Ue instanceof Vr)
|
|
6690
|
-
|
|
6690
|
+
T("q"), T(bu(oe)), Ue.gState && w.setGState(Ue.gState), T(x.matrix.toString() + " cm"), T("/" + Se + " sh"), T("Q");
|
|
6691
6691
|
else if (Ue instanceof Pn) {
|
|
6692
6692
|
var De = new pt(1, 0, 0, -1, 0, ar());
|
|
6693
|
-
x.matrix && (De = De.multiply(x.matrix || wo), Se = yu.call(Ue, x.key, x.boundingBox, x.xStep, x.yStep, De).id),
|
|
6693
|
+
x.matrix && (De = De.multiply(x.matrix || wo), Se = yu.call(Ue, x.key, x.boundingBox, x.xStep, x.yStep, De).id), T("q"), T("/Pattern cs"), T("/" + Se + " scn"), Ue.gState && w.setGState(Ue.gState), T(oe), T("Q");
|
|
6694
6694
|
}
|
|
6695
6695
|
}, bu = function(x) {
|
|
6696
6696
|
switch (x) {
|
|
@@ -6709,22 +6709,22 @@ T* `) : x.join(` Tj
|
|
|
6709
6709
|
return "W n";
|
|
6710
6710
|
}
|
|
6711
6711
|
}, ls = w.moveTo = function(x, oe) {
|
|
6712
|
-
return
|
|
6712
|
+
return T(se(V(x)) + " " + se(de(oe)) + " m"), this;
|
|
6713
6713
|
}, Er = w.lineTo = function(x, oe) {
|
|
6714
|
-
return
|
|
6714
|
+
return T(se(V(x)) + " " + se(de(oe)) + " l"), this;
|
|
6715
6715
|
}, er = w.curveTo = function(x, oe, Se, Ue, De, Ke) {
|
|
6716
|
-
return
|
|
6716
|
+
return T([se(V(x)), se(de(oe)), se(V(Se)), se(de(Ue)), se(V(De)), se(de(Ke)), "c"].join(" ")), this;
|
|
6717
6717
|
};
|
|
6718
6718
|
w.__private__.line = w.line = function(x, oe, Se, Ue, De) {
|
|
6719
6719
|
if (isNaN(x) || isNaN(oe) || isNaN(Se) || isNaN(Ue) || !xo(De))
|
|
6720
6720
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
6721
6721
|
return k === F.COMPAT ? this.lines([[Se - x, Ue - oe]], x, oe, [1, 1], De || "S") : this.lines([[Se - x, Ue - oe]], x, oe, [1, 1]).stroke();
|
|
6722
6722
|
}, w.__private__.lines = w.lines = function(x, oe, Se, Ue, De, Ke) {
|
|
6723
|
-
var Je, it, gt, St,
|
|
6723
|
+
var Je, it, gt, St, Qt, Ot, hl, ml, Il, oa, Wl, Ya;
|
|
6724
6724
|
if (typeof x == "number" && (Ya = Se, Se = oe, oe = x, x = Ya), Ue = Ue || [1, 1], Ke = Ke || !1, isNaN(oe) || isNaN(Se) || !Array.isArray(x) || !Array.isArray(Ue) || !xo(De) || typeof Ke != "boolean")
|
|
6725
6725
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
6726
6726
|
for (ls(oe, Se), Je = Ue[0], it = Ue[1], St = x.length, oa = oe, Wl = Se, gt = 0; gt < St; gt++)
|
|
6727
|
-
(
|
|
6727
|
+
(Qt = x[gt]).length === 2 ? (oa = Qt[0] * Je + oa, Wl = Qt[1] * it + Wl, Er(oa, Wl)) : (Ot = Qt[0] * Je + oa, hl = Qt[1] * it + Wl, ml = Qt[2] * Je + oa, Il = Qt[3] * it + Wl, oa = Qt[4] * Je + oa, Wl = Qt[5] * it + Wl, er(Ot, hl, ml, Il, oa, Wl));
|
|
6728
6728
|
return Ke && di(), ts(De), this;
|
|
6729
6729
|
}, w.path = function(x) {
|
|
6730
6730
|
for (var oe = 0; oe < x.length; oe++) {
|
|
@@ -6747,7 +6747,7 @@ T* `) : x.join(` Tj
|
|
|
6747
6747
|
}, w.__private__.rect = w.rect = function(x, oe, Se, Ue, De) {
|
|
6748
6748
|
if (isNaN(x) || isNaN(oe) || isNaN(Se) || isNaN(Ue) || !xo(De))
|
|
6749
6749
|
throw new Error("Invalid arguments passed to jsPDF.rect");
|
|
6750
|
-
return k === F.COMPAT && (Ue = -Ue),
|
|
6750
|
+
return k === F.COMPAT && (Ue = -Ue), T([se(V(x)), se(de(oe)), se(V(Se)), se(V(Ue)), "re"].join(" ")), ts(De), this;
|
|
6751
6751
|
}, w.__private__.triangle = w.triangle = function(x, oe, Se, Ue, De, Ke, Je) {
|
|
6752
6752
|
if (isNaN(x) || isNaN(oe) || isNaN(Se) || isNaN(Ue) || isNaN(De) || isNaN(Ke) || !xo(Je))
|
|
6753
6753
|
throw new Error("Invalid arguments passed to jsPDF.triangle");
|
|
@@ -6786,14 +6786,14 @@ T* `) : x.join(` Tj
|
|
|
6786
6786
|
var Ir, as = e.lineWidth || 0.200025, An = w.__private__.getLineWidth = w.getLineWidth = function() {
|
|
6787
6787
|
return as;
|
|
6788
6788
|
}, hi = w.__private__.setLineWidth = w.setLineWidth = function(x) {
|
|
6789
|
-
return as = x,
|
|
6789
|
+
return as = x, T(se(V(x)) + " w"), this;
|
|
6790
6790
|
};
|
|
6791
6791
|
w.__private__.setLineDash = bt.API.setLineDash = bt.API.setLineDashPattern = function(x, oe) {
|
|
6792
6792
|
if (x = x || [], oe = oe || 0, isNaN(oe) || !Array.isArray(x))
|
|
6793
6793
|
throw new Error("Invalid arguments passed to jsPDF.setLineDash");
|
|
6794
6794
|
return x = x.map(function(Se) {
|
|
6795
6795
|
return se(V(Se));
|
|
6796
|
-
}).join(" "), oe = se(V(oe)),
|
|
6796
|
+
}).join(" "), oe = se(V(oe)), T("[" + x + "] " + oe + " d"), this;
|
|
6797
6797
|
};
|
|
6798
6798
|
var fi = w.__private__.getLineHeight = w.getLineHeight = function() {
|
|
6799
6799
|
return me * Ir;
|
|
@@ -6819,13 +6819,13 @@ T* `) : x.join(` Tj
|
|
|
6819
6819
|
w.__private__.getStrokeColor = w.getDrawColor = function() {
|
|
6820
6820
|
return ja(qa);
|
|
6821
6821
|
}, w.__private__.setStrokeColor = w.setDrawColor = function(x, oe, Se, Ue) {
|
|
6822
|
-
return qa = Ga({ ch1: x, ch2: oe, ch3: Se, ch4: Ue, pdfColorType: "draw", precision: 2 }),
|
|
6822
|
+
return qa = Ga({ ch1: x, ch2: oe, ch3: Se, ch4: Ue, pdfColorType: "draw", precision: 2 }), T(qa), this;
|
|
6823
6823
|
};
|
|
6824
6824
|
var os = e.fillColor || "0 g";
|
|
6825
6825
|
w.__private__.getFillColor = w.getFillColor = function() {
|
|
6826
6826
|
return ja(os);
|
|
6827
6827
|
}, w.__private__.setFillColor = w.setFillColor = function(x, oe, Se, Ue) {
|
|
6828
|
-
return os = Ga({ ch1: x, ch2: oe, ch3: Se, ch4: Ue, pdfColorType: "fill", precision: 2 }),
|
|
6828
|
+
return os = Ga({ ch1: x, ch2: oe, ch3: Se, ch4: Ue, pdfColorType: "fill", precision: 2 }), T(os), this;
|
|
6829
6829
|
};
|
|
6830
6830
|
var Nr = e.textColor || "0 g", Cu = w.__private__.getTextColor = w.getTextColor = function() {
|
|
6831
6831
|
return ja(Nr);
|
|
@@ -6846,20 +6846,20 @@ T* `) : x.join(` Tj
|
|
|
6846
6846
|
var oe = w.CapJoinStyles[x];
|
|
6847
6847
|
if (oe === void 0)
|
|
6848
6848
|
throw new Error("Line cap style of '" + x + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
6849
|
-
return rs = oe,
|
|
6849
|
+
return rs = oe, T(oe + " J"), this;
|
|
6850
6850
|
};
|
|
6851
6851
|
var ns = 0;
|
|
6852
6852
|
w.__private__.setLineJoin = w.setLineJoin = function(x) {
|
|
6853
6853
|
var oe = w.CapJoinStyles[x];
|
|
6854
6854
|
if (oe === void 0)
|
|
6855
6855
|
throw new Error("Line join style of '" + x + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
6856
|
-
return ns = oe,
|
|
6856
|
+
return ns = oe, T(oe + " j"), this;
|
|
6857
6857
|
}, w.__private__.setLineMiterLimit = w.__private__.setMiterLimit = w.setLineMiterLimit = w.setMiterLimit = function(x) {
|
|
6858
6858
|
if (x = x || 0, isNaN(x))
|
|
6859
6859
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
6860
|
-
return
|
|
6860
|
+
return T(se(V(x)) + " M"), this;
|
|
6861
6861
|
}, w.GState = NA, w.setGState = function(x) {
|
|
6862
|
-
(x = typeof x == "string" ? bl[Va[x]] : yi(null, x)).equals(Mo) || (
|
|
6862
|
+
(x = typeof x == "string" ? bl[Va[x]] : yi(null, x)).equals(Mo) || (T("/" + x.id + " gs"), Mo = x);
|
|
6863
6863
|
};
|
|
6864
6864
|
var yi = function(x, oe) {
|
|
6865
6865
|
if (!x || !Va[x]) {
|
|
@@ -6881,15 +6881,15 @@ T* `) : x.join(` Tj
|
|
|
6881
6881
|
w.addGState = function(x, oe) {
|
|
6882
6882
|
return yi(x, oe), this;
|
|
6883
6883
|
}, w.saveGraphicsState = function() {
|
|
6884
|
-
return
|
|
6884
|
+
return T("q"), yo.push({ key: Et, size: me, color: Nr }), this;
|
|
6885
6885
|
}, w.restoreGraphicsState = function() {
|
|
6886
|
-
|
|
6886
|
+
T("Q");
|
|
6887
6887
|
var x = yo.pop();
|
|
6888
6888
|
return Et = x.key, me = x.size, Nr = x.color, Mo = null, this;
|
|
6889
6889
|
}, w.setCurrentTransformationMatrix = function(x) {
|
|
6890
|
-
return
|
|
6890
|
+
return T(x.toString() + " cm"), this;
|
|
6891
6891
|
}, w.comment = function(x) {
|
|
6892
|
-
return
|
|
6892
|
+
return T("#" + x), this;
|
|
6893
6893
|
};
|
|
6894
6894
|
var cn = function(x, oe) {
|
|
6895
6895
|
var Se = x || 0;
|
|
@@ -6946,7 +6946,7 @@ T* `) : x.join(` Tj
|
|
|
6946
6946
|
return ku(x), this;
|
|
6947
6947
|
}, w.doFormObject = function(x, oe) {
|
|
6948
6948
|
var Se = Jl[po[x]];
|
|
6949
|
-
return
|
|
6949
|
+
return T("q"), T(oe.toString() + " cm"), T("/" + Se.id + " Do"), T("Q"), this;
|
|
6950
6950
|
}, w.getFormObject = function(x) {
|
|
6951
6951
|
var oe = Jl[po[x]];
|
|
6952
6952
|
return { x: oe.x, y: oe.y, width: oe.width, height: oe.height, matrix: oe.matrix };
|
|
@@ -6982,7 +6982,7 @@ T* `) : x.join(` Tj
|
|
|
6982
6982
|
return ar(Q);
|
|
6983
6983
|
}, setHeight: function(x) {
|
|
6984
6984
|
us(Q, x);
|
|
6985
|
-
} }, encryptionOptions: g, encryption: aa, getEncryptor: fu, output: nn, getNumberOfPages: Au, pages: q, out:
|
|
6985
|
+
} }, encryptionOptions: g, encryption: aa, getEncryptor: fu, output: nn, getNumberOfPages: Au, pages: q, out: T, f2: ve, f3: z, getPageInfo: ui, getPageInfoByObjId: kt, getCurrentPageInfo: vu, getPDFVersion: c, Point: cn, Rectangle: ss, Matrix: pt, hasHotfix: Ai }, Object.defineProperty(w.internal.pageSize, "width", { get: function() {
|
|
6986
6986
|
return Tr(Q);
|
|
6987
6987
|
}, set: function(x) {
|
|
6988
6988
|
As(Q, x);
|
|
@@ -8593,8 +8593,8 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8593
8593
|
} }), Object.defineProperty(this, "margin", { get: function() {
|
|
8594
8594
|
return v.margin;
|
|
8595
8595
|
}, set: function(M) {
|
|
8596
|
-
var
|
|
8597
|
-
typeof M == "number" ?
|
|
8596
|
+
var T;
|
|
8597
|
+
typeof M == "number" ? T = [M, M, M, M] : ((T = new Array(4))[0] = M[0], T[1] = M.length >= 2 ? M[1] : T[0], T[2] = M.length >= 3 ? M[2] : T[0], T[3] = M.length >= 4 ? M[3] : T[1]), v.margin = T;
|
|
8598
8598
|
} });
|
|
8599
8599
|
var I = !1;
|
|
8600
8600
|
Object.defineProperty(this, "autoPaging", { get: function() {
|
|
@@ -8630,13 +8630,13 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8630
8630
|
} }), Object.defineProperty(this, "fillStyle", { get: function() {
|
|
8631
8631
|
return this.ctx.fillStyle;
|
|
8632
8632
|
}, set: function(M) {
|
|
8633
|
-
var
|
|
8634
|
-
|
|
8633
|
+
var T;
|
|
8634
|
+
T = y(M), this.ctx.fillStyle = T.style, this.ctx.isFillTransparent = T.a === 0, this.ctx.fillOpacity = T.a, this.pdf.setFillColor(T.r, T.g, T.b, { a: T.a }), this.pdf.setTextColor(T.r, T.g, T.b, { a: T.a });
|
|
8635
8635
|
} }), Object.defineProperty(this, "strokeStyle", { get: function() {
|
|
8636
8636
|
return this.ctx.strokeStyle;
|
|
8637
8637
|
}, set: function(M) {
|
|
8638
|
-
var
|
|
8639
|
-
this.ctx.strokeStyle =
|
|
8638
|
+
var T = y(M);
|
|
8639
|
+
this.ctx.strokeStyle = T.style, this.ctx.isStrokeTransparent = T.a === 0, this.ctx.strokeOpacity = T.a, T.a === 0 ? this.pdf.setDrawColor(255, 255, 255) : (T.a, this.pdf.setDrawColor(T.r, T.g, T.b));
|
|
8640
8640
|
} }), Object.defineProperty(this, "lineCap", { get: function() {
|
|
8641
8641
|
return this.ctx.lineCap;
|
|
8642
8642
|
}, set: function(M) {
|
|
@@ -8663,7 +8663,7 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8663
8663
|
["right", "end", "center", "left", "start"].indexOf(M) !== -1 && (this.ctx.textAlign = M);
|
|
8664
8664
|
} });
|
|
8665
8665
|
var fe = null;
|
|
8666
|
-
function Z(M,
|
|
8666
|
+
function Z(M, T) {
|
|
8667
8667
|
if (fe === null) {
|
|
8668
8668
|
var ee = function(ue) {
|
|
8669
8669
|
var R = [];
|
|
@@ -8694,7 +8694,7 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8694
8694
|
R[ke] = R[ke] || {}, R[ke][he] = R[ke][he] || {}, R[ke][he][Te] = R[ke][he][Te] || {}, R[ke][he][Te][Re] = Fe;
|
|
8695
8695
|
}
|
|
8696
8696
|
return R;
|
|
8697
|
-
}(ee.concat(
|
|
8697
|
+
}(ee.concat(T));
|
|
8698
8698
|
}
|
|
8699
8699
|
return fe;
|
|
8700
8700
|
}
|
|
@@ -8706,9 +8706,9 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8706
8706
|
} }), Object.defineProperty(this, "font", { get: function() {
|
|
8707
8707
|
return this.ctx.font;
|
|
8708
8708
|
}, set: function(M) {
|
|
8709
|
-
var
|
|
8710
|
-
if (this.ctx.font = M, (
|
|
8711
|
-
var ee =
|
|
8709
|
+
var T;
|
|
8710
|
+
if (this.ctx.font = M, (T = /^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(M)) !== null) {
|
|
8711
|
+
var ee = T[1], ue = (T[2], T[3]), R = T[4], me = (T[5], T[6]), Fe = /^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(R)[2];
|
|
8712
8712
|
R = Math.floor(Fe === "px" ? parseFloat(R) * this.pdf.internal.scaleFactor : Fe === "em" ? parseFloat(R) * this.pdf.getFontSize() : parseFloat(R) * this.pdf.internal.scaleFactor), this.pdf.setFontSize(R);
|
|
8713
8713
|
var ke = function(ht) {
|
|
8714
8714
|
var Et, nt, Vl = [], Pt = ht.trim();
|
|
@@ -8951,7 +8951,7 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8951
8951
|
b.prototype.drawImage = function(_, Q, U, S, $, K, I, P, j) {
|
|
8952
8952
|
var q = this.pdf.getImageProperties(_), fe = 1, Z = 1, pe = 1, M = 1;
|
|
8953
8953
|
S !== void 0 && P !== void 0 && (pe = P / S, M = j / $, fe = q.width / S * P / S, Z = q.height / $ * j / $), K === void 0 && (K = Q, I = U, Q = 0, U = 0), S !== void 0 && P === void 0 && (P = S, j = $), S === void 0 && P === void 0 && (P = q.width, j = q.height);
|
|
8954
|
-
for (var
|
|
8954
|
+
for (var T, ee = this.ctx.transform.decompose(), ue = G(ee.rotate.shx), R = new A(), me = (R = (R = (R = R.multiply(ee.translate)).multiply(ee.skew)).multiply(ee.scale)).applyToRectangle(new s(K - Q * pe, I - U * M, S * fe, $ * Z)), Fe = i.call(this, me), ke = [], he = 0; he < Fe.length; he += 1)
|
|
8955
8955
|
ke.indexOf(Fe[he]) === -1 && ke.push(Fe[he]);
|
|
8956
8956
|
if (k(ke), this.autoPaging)
|
|
8957
8957
|
for (var Te = ke[0], Re = ke[ke.length - 1], We = Te; We < Re + 1; We++) {
|
|
@@ -8959,7 +8959,7 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8959
8959
|
var vt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], xt = We === 1 ? this.posY + this.margin[0] : this.margin[0], ht = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Et = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], nt = We === 1 ? 0 : ht + (We - 2) * Et;
|
|
8960
8960
|
if (this.ctx.clip_path.length !== 0) {
|
|
8961
8961
|
var Vl = this.path;
|
|
8962
|
-
|
|
8962
|
+
T = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = F(T, this.posX + this.margin[3], -nt + xt + this.ctx.prevPageLastElemOffset), W.call(this, "fill", !0), this.path = Vl;
|
|
8963
8963
|
}
|
|
8964
8964
|
var Pt = JSON.parse(JSON.stringify(me));
|
|
8965
8965
|
Pt = F([Pt], this.posX + this.margin[3], -nt + xt + this.ctx.prevPageLastElemOffset)[0];
|
|
@@ -9021,8 +9021,8 @@ var dA, Af, uf, bc = ["times"];
|
|
|
9021
9021
|
}, O = function(_, Q) {
|
|
9022
9022
|
for (var U, S, $ = this.fillStyle, K = this.strokeStyle, I = this.lineCap, P = this.lineWidth, j = Math.abs(P * this.ctx.transform.scaleX), q = this.lineJoin, fe = JSON.parse(JSON.stringify(this.path)), Z = JSON.parse(JSON.stringify(this.path)), pe = [], M = 0; M < Z.length; M++)
|
|
9023
9023
|
if (Z[M].x !== void 0)
|
|
9024
|
-
for (var
|
|
9025
|
-
pe.indexOf(
|
|
9024
|
+
for (var T = i.call(this, Z[M]), ee = 0; ee < T.length; ee += 1)
|
|
9025
|
+
pe.indexOf(T[ee]) === -1 && pe.push(T[ee]);
|
|
9026
9026
|
for (var ue = 0; ue < pe.length; ue++)
|
|
9027
9027
|
for (; this.pdf.internal.getNumberOfPages() < pe[ue]; )
|
|
9028
9028
|
C.call(this);
|
|
@@ -9071,8 +9071,8 @@ var dA, Af, uf, bc = ["times"];
|
|
|
9071
9071
|
U = [P.x1 - K[I - 1].x, P.y1 - K[I - 1].y, P.x2 - K[I - 1].x, P.y2 - K[I - 1].y, P.x - K[I - 1].x, P.y - K[I - 1].y], $[$.length - 1].deltas.push(U);
|
|
9072
9072
|
break;
|
|
9073
9073
|
case "qct":
|
|
9074
|
-
var q = K[I - 1].x + 2 / 3 * (P.x1 - K[I - 1].x), fe = K[I - 1].y + 2 / 3 * (P.y1 - K[I - 1].y), Z = P.x + 2 / 3 * (P.x1 - P.x), pe = P.y + 2 / 3 * (P.y1 - P.y), M = P.x,
|
|
9075
|
-
U = [q - K[I - 1].x, fe - K[I - 1].y, Z - K[I - 1].x, pe - K[I - 1].y, M - K[I - 1].x,
|
|
9074
|
+
var q = K[I - 1].x + 2 / 3 * (P.x1 - K[I - 1].x), fe = K[I - 1].y + 2 / 3 * (P.y1 - K[I - 1].y), Z = P.x + 2 / 3 * (P.x1 - P.x), pe = P.y + 2 / 3 * (P.y1 - P.y), M = P.x, T = P.y;
|
|
9075
|
+
U = [q - K[I - 1].x, fe - K[I - 1].y, Z - K[I - 1].x, pe - K[I - 1].y, M - K[I - 1].x, T - K[I - 1].y], $[$.length - 1].deltas.push(U);
|
|
9076
9076
|
break;
|
|
9077
9077
|
case "arc":
|
|
9078
9078
|
$.push({ deltas: [], abs: [], arc: !0 }), Array.isArray($[$.length - 1].abs) && $[$.length - 1].abs.push(P);
|
|
@@ -9161,10 +9161,10 @@ var dA, Af, uf, bc = ["times"];
|
|
|
9161
9161
|
}
|
|
9162
9162
|
var U = this.pdf.getTextDimensions(_.text), S = ae.call(this, _.y), $ = se.call(this, S) - U.h, K = this.ctx.transform.applyToPoint(new n(_.x, S)), I = this.ctx.transform.decompose(), P = new A();
|
|
9163
9163
|
P = (P = (P = P.multiply(I.translate)).multiply(I.skew)).multiply(I.scale);
|
|
9164
|
-
for (var j, q, fe, Z = this.ctx.transform.applyToRectangle(new s(_.x, S, U.w, U.h)), pe = P.applyToRectangle(new s(_.x, $, U.w, U.h)), M = i.call(this, pe),
|
|
9165
|
-
|
|
9166
|
-
if (k(
|
|
9167
|
-
for (var ue =
|
|
9164
|
+
for (var j, q, fe, Z = this.ctx.transform.applyToRectangle(new s(_.x, S, U.w, U.h)), pe = P.applyToRectangle(new s(_.x, $, U.w, U.h)), M = i.call(this, pe), T = [], ee = 0; ee < M.length; ee += 1)
|
|
9165
|
+
T.indexOf(M[ee]) === -1 && T.push(M[ee]);
|
|
9166
|
+
if (k(T), this.autoPaging)
|
|
9167
|
+
for (var ue = T[0], R = T[T.length - 1], me = ue; me < R + 1; me++) {
|
|
9168
9168
|
this.pdf.setPage(me);
|
|
9169
9169
|
var Fe = me === 1 ? this.posY + this.margin[0] : this.margin[0], ke = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], he = this.pdf.internal.pageSize.height - this.margin[2], Te = he - this.margin[0], Re = this.pdf.internal.pageSize.width - this.margin[1], We = Re - this.margin[3], vt = me === 1 ? 0 : ke + (me - 2) * Te;
|
|
9170
9170
|
if (this.ctx.clip_path.length !== 0) {
|
|
@@ -9202,17 +9202,17 @@ var dA, Af, uf, bc = ["times"];
|
|
|
9202
9202
|
}
|
|
9203
9203
|
return P;
|
|
9204
9204
|
}, ne = function(_, Q, U) {
|
|
9205
|
-
var S = (U - Q) / 2, $ = _ * Math.cos(S), K = _ * Math.sin(S), I = $, P = -K, j = I * I + P * P, q = j + I * $ + P * K, fe = 4 / 3 * (Math.sqrt(2 * j * q) - q) / (I * K - P * $), Z = I - fe * P, pe = P + fe * I, M = Z,
|
|
9206
|
-
return { x1: _ * Math.cos(Q), y1: _ * Math.sin(Q), x2: Z * ue - pe * R, y2: Z * R + pe * ue, x3: M * ue -
|
|
9205
|
+
var S = (U - Q) / 2, $ = _ * Math.cos(S), K = _ * Math.sin(S), I = $, P = -K, j = I * I + P * P, q = j + I * $ + P * K, fe = 4 / 3 * (Math.sqrt(2 * j * q) - q) / (I * K - P * $), Z = I - fe * P, pe = P + fe * I, M = Z, T = -pe, ee = S + Q, ue = Math.cos(ee), R = Math.sin(ee);
|
|
9206
|
+
return { x1: _ * Math.cos(Q), y1: _ * Math.sin(Q), x2: Z * ue - pe * R, y2: Z * R + pe * ue, x3: M * ue - T * R, y3: M * R + T * ue, x4: _ * Math.cos(U), y4: _ * Math.sin(U) };
|
|
9207
9207
|
}, G = function(_) {
|
|
9208
9208
|
return 180 * _ / Math.PI;
|
|
9209
9209
|
}, X = function(_, Q, U, S, $, K) {
|
|
9210
9210
|
var I = _ + 0.5 * (U - _), P = Q + 0.5 * (S - Q), j = $ + 0.5 * (U - $), q = K + 0.5 * (S - K), fe = Math.min(_, $, I, j), Z = Math.max(_, $, I, j), pe = Math.min(Q, K, P, q), M = Math.max(Q, K, P, q);
|
|
9211
9211
|
return new s(fe, pe, Z - fe, M - pe);
|
|
9212
9212
|
}, te = function(_, Q, U, S, $, K, I, P) {
|
|
9213
|
-
var j, q, fe, Z, pe, M,
|
|
9213
|
+
var j, q, fe, Z, pe, M, T, ee, ue, R, me, Fe, ke, he, Te = U - _, Re = S - Q, We = $ - U, vt = K - S, xt = I - $, ht = P - K;
|
|
9214
9214
|
for (q = 0; q < 41; q++)
|
|
9215
|
-
ue = (
|
|
9215
|
+
ue = (T = (fe = _ + (j = q / 40) * Te) + j * ((pe = U + j * We) - fe)) + j * (pe + j * ($ + j * xt - pe) - T), R = (ee = (Z = Q + j * Re) + j * ((M = S + j * vt) - Z)) + j * (M + j * (K + j * ht - M) - ee), q == 0 ? (me = ue, Fe = R, ke = ue, he = R) : (me = Math.min(me, ue), Fe = Math.min(Fe, R), ke = Math.max(ke, ue), he = Math.max(he, R));
|
|
9216
9216
|
return new s(Math.round(me), Math.round(Fe), Math.round(ke - me), Math.round(he - Fe));
|
|
9217
9217
|
}, re = function() {
|
|
9218
9218
|
if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
|
|
@@ -10205,9 +10205,9 @@ function wc(e) {
|
|
|
10205
10205
|
if (Z == 0)
|
|
10206
10206
|
return ne(I), U;
|
|
10207
10207
|
for (var pe, M = 1; M <= Z; ) {
|
|
10208
|
-
for (var
|
|
10208
|
+
for (var T = M; u[M] == 0 && M <= Z; )
|
|
10209
10209
|
++M;
|
|
10210
|
-
var ee = M -
|
|
10210
|
+
var ee = M - T;
|
|
10211
10211
|
if (ee >= 16) {
|
|
10212
10212
|
pe = ee >> 4;
|
|
10213
10213
|
for (var ue = 1; ue <= pe; ++ue)
|
|
@@ -10267,10 +10267,10 @@ function wc(e) {
|
|
|
10267
10267
|
}(), X(65498), X(12), G(3), G(1), G(0), G(2), G(17), G(3), G(17), G(0), G(63), G(0);
|
|
10268
10268
|
var U = 0, S = 0, $ = 0;
|
|
10269
10269
|
i = 0, C = 7, this.encode.displayName = "_encode_";
|
|
10270
|
-
for (var K, I, P, j, q, fe, Z, pe, M,
|
|
10270
|
+
for (var K, I, P, j, q, fe, Z, pe, M, T = _.data, ee = _.width, ue = _.height, R = 4 * ee, me = 0; me < ue; ) {
|
|
10271
10271
|
for (K = 0; K < R; ) {
|
|
10272
10272
|
for (q = R * me + K, Z = -1, pe = 0, M = 0; M < 64; M++)
|
|
10273
|
-
fe = q + (pe = M >> 3) * R + (Z = 4 * (7 & M)), me + pe >= ue && (fe -= R * (me + 1 + pe - ue)), K + Z >= R && (fe -= K + Z - R + 4), I =
|
|
10273
|
+
fe = q + (pe = M >> 3) * R + (Z = 4 * (7 & M)), me + pe >= ue && (fe -= R * (me + 1 + pe - ue)), K + Z >= R && (fe -= K + Z - R + 4), I = T[fe++], P = T[fe++], j = T[fe++], F[M] = (ae[I] + ae[P + 256 >> 0] + ae[j + 512 >> 0] >> 16) - 128, k[M] = (ae[I + 768 >> 0] + ae[P + 1024 >> 0] + ae[j + 1280 >> 0] >> 16) - 128, O[M] = (ae[I + 1280 >> 0] + ae[P + 1536 >> 0] + ae[j + 1792 >> 0] >> 16) - 128;
|
|
10274
10274
|
U = te(F, v, U, t, r), S = te(k, g, S, l, o), $ = te(O, g, $, l, o), K += 32;
|
|
10275
10275
|
}
|
|
10276
10276
|
me += 8;
|
|
@@ -10490,7 +10490,7 @@ function vf(e) {
|
|
|
10490
10490
|
function M(h, m) {
|
|
10491
10491
|
t(h != null), t(m != null), t(h.Xa == m.Xa), r(m.X, 0, h.X, 0, 1 << m.Xa);
|
|
10492
10492
|
}
|
|
10493
|
-
function
|
|
10493
|
+
function T() {
|
|
10494
10494
|
this.X = [], this.Xa = this.Mb = 0;
|
|
10495
10495
|
}
|
|
10496
10496
|
function ee(h, m, B, E) {
|
|
@@ -11710,7 +11710,7 @@ function vf(e) {
|
|
|
11710
11710
|
this.nc = this.Ea = this.b = this.hc = 0, this.K = [], this.w = 0;
|
|
11711
11711
|
}
|
|
11712
11712
|
function pi() {
|
|
11713
|
-
this.ua = 0, this.Wa = new
|
|
11713
|
+
this.ua = 0, this.Wa = new T(), this.vb = new T(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new de(), this.yc = new V();
|
|
11714
11714
|
}
|
|
11715
11715
|
function ku() {
|
|
11716
11716
|
this.xb = this.a = 0, this.l = new an(), this.ca = new Va(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new _(), this.Pb = 0, this.wd = new _(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new pi(), this.ab = 0, this.gc = n(4, is), this.Oc = 0;
|
|
@@ -11901,21 +11901,21 @@ function vf(e) {
|
|
|
11901
11901
|
function St(h, m, B) {
|
|
11902
11902
|
return it((19077 * h >> 8) - (6419 * m >> 8) - (13320 * B >> 8) + 8708);
|
|
11903
11903
|
}
|
|
11904
|
-
function
|
|
11904
|
+
function Qt(h, m) {
|
|
11905
11905
|
return it((19077 * h >> 8) + (33050 * m >> 8) - 17685);
|
|
11906
11906
|
}
|
|
11907
11907
|
function Ot(h, m, B, E, le) {
|
|
11908
|
-
E[le + 0] = gt(h, B), E[le + 1] = St(h, m, B), E[le + 2] =
|
|
11908
|
+
E[le + 0] = gt(h, B), E[le + 1] = St(h, m, B), E[le + 2] = Qt(h, m);
|
|
11909
11909
|
}
|
|
11910
11910
|
function hl(h, m, B, E, le) {
|
|
11911
|
-
E[le + 0] =
|
|
11911
|
+
E[le + 0] = Qt(h, m), E[le + 1] = St(h, m, B), E[le + 2] = gt(h, B);
|
|
11912
11912
|
}
|
|
11913
11913
|
function ml(h, m, B, E, le) {
|
|
11914
11914
|
var Ae = St(h, m, B);
|
|
11915
|
-
m = Ae << 3 & 224 |
|
|
11915
|
+
m = Ae << 3 & 224 | Qt(h, m) >> 3, E[le + 0] = 248 & gt(h, B) | Ae >> 5, E[le + 1] = m;
|
|
11916
11916
|
}
|
|
11917
11917
|
function Il(h, m, B, E, le) {
|
|
11918
|
-
var Ae = 240 &
|
|
11918
|
+
var Ae = 240 & Qt(h, m) | 15;
|
|
11919
11919
|
E[le + 0] = 240 & gt(h, B) | St(h, m, B) >> 4, E[le + 1] = Ae;
|
|
11920
11920
|
}
|
|
11921
11921
|
function oa(h, m, B, E, le) {
|
|
@@ -12820,7 +12820,7 @@ function(e) {
|
|
|
12820
12820
|
*/
|
|
12821
12821
|
function(e) {
|
|
12822
12822
|
function t() {
|
|
12823
|
-
return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-
|
|
12823
|
+
return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-35c0f27e.js")).catch(function(l) {
|
|
12824
12824
|
return Promise.reject(new Error("Could not load canvg: " + l));
|
|
12825
12825
|
}).then(function(l) {
|
|
12826
12826
|
return l.default ? l.default : l;
|
|
@@ -13773,10 +13773,10 @@ function al({ domElement: e, fileName: t, format: l = "png" }) {
|
|
|
13773
13773
|
});
|
|
13774
13774
|
}
|
|
13775
13775
|
function Aw(e, t, l) {
|
|
13776
|
-
|
|
13776
|
+
$t(() => e.addEventListener(t, l)), H1(() => e.removeEventListener(t, l));
|
|
13777
13777
|
}
|
|
13778
13778
|
function Vv() {
|
|
13779
|
-
const e =
|
|
13779
|
+
const e = N(0), t = N(0);
|
|
13780
13780
|
return Aw(window, "mousemove", (l) => {
|
|
13781
13781
|
e.value = l.clientX, t.value = l.clientY;
|
|
13782
13782
|
}), { x: e, y: t };
|
|
@@ -18170,6 +18170,7 @@ const Uw = {
|
|
|
18170
18170
|
show: !0
|
|
18171
18171
|
}
|
|
18172
18172
|
}, pm = {
|
|
18173
|
+
open: !1,
|
|
18173
18174
|
head: {
|
|
18174
18175
|
useArrowSlot: !1,
|
|
18175
18176
|
backgroundColor: "#FFFFFF",
|
|
@@ -18363,8 +18364,8 @@ const Ut = (e, t) => {
|
|
|
18363
18364
|
io((b) => ({
|
|
18364
18365
|
"4f04048e": Be(s)
|
|
18365
18366
|
}));
|
|
18366
|
-
const { backgroundColor: l, color: r, outline: o } = t.config.th, { backgroundColor: a, color: n, outline: s } = t.config.td, A = ie(() => t.config.breakpoint), v =
|
|
18367
|
-
return
|
|
18367
|
+
const { backgroundColor: l, color: r, outline: o } = t.config.th, { backgroundColor: a, color: n, outline: s } = t.config.td, A = ie(() => t.config.breakpoint), v = N(null), g = N(!1);
|
|
18368
|
+
return $t(() => {
|
|
18368
18369
|
const b = new ResizeObserver((y) => {
|
|
18369
18370
|
y.forEach((w) => {
|
|
18370
18371
|
g.value = w.contentRect.width < A.value;
|
|
@@ -18488,7 +18489,7 @@ const pl = {
|
|
|
18488
18489
|
}
|
|
18489
18490
|
};
|
|
18490
18491
|
function Um({ tooltip: e, chart: t, clientPosition: l }) {
|
|
18491
|
-
const r =
|
|
18492
|
+
const r = N(0), o = N(48);
|
|
18492
18493
|
if (e && t) {
|
|
18493
18494
|
const { width: a, height: n } = e.getBoundingClientRect(), { right: s, left: A, bottom: v } = t.getBoundingClientRect();
|
|
18494
18495
|
l.x + a / 2 > s ? r.value = -a : l.x - a / 2 < A ? r.value = 0 : r.value = -a / 2, l.y + n > v && (o.value = -n - 48);
|
|
@@ -18527,7 +18528,7 @@ const $m = ["innerHTML"], da = {
|
|
|
18527
18528
|
}
|
|
18528
18529
|
},
|
|
18529
18530
|
setup(e) {
|
|
18530
|
-
const t = e, l =
|
|
18531
|
+
const t = e, l = N(null), r = N(Vv()), o = ie(() => Um({
|
|
18531
18532
|
tooltip: l.value,
|
|
18532
18533
|
chart: t.parent,
|
|
18533
18534
|
clientPosition: r.value
|
|
@@ -18781,11 +18782,11 @@ const Im = ["onClick", "onKeypress"], Nm = ["data-open"], Tm = {
|
|
|
18781
18782
|
function a() {
|
|
18782
18783
|
t("generateImage");
|
|
18783
18784
|
}
|
|
18784
|
-
const n =
|
|
18785
|
+
const n = N(!1);
|
|
18785
18786
|
function s() {
|
|
18786
18787
|
n.value = !n.value, t("toggleTable");
|
|
18787
18788
|
}
|
|
18788
|
-
const A =
|
|
18789
|
+
const A = N(!1), v = N(!0);
|
|
18789
18790
|
function g() {
|
|
18790
18791
|
A.value = !A.value, A.value && (v.value = !1);
|
|
18791
18792
|
}
|
|
@@ -18795,21 +18796,21 @@ const Im = ["onClick", "onKeypress"], Nm = ["data-open"], Tm = {
|
|
|
18795
18796
|
function y() {
|
|
18796
18797
|
A.value && b();
|
|
18797
18798
|
}
|
|
18798
|
-
const w =
|
|
18799
|
+
const w = N(l.isLabelActive);
|
|
18799
18800
|
function u() {
|
|
18800
18801
|
w.value = !w.value, t("toggleLabels");
|
|
18801
18802
|
}
|
|
18802
18803
|
function c() {
|
|
18803
18804
|
t("toggleSort");
|
|
18804
18805
|
}
|
|
18805
|
-
const i =
|
|
18806
|
+
const i = N(!1);
|
|
18806
18807
|
function C(k) {
|
|
18807
18808
|
l.chartElement && (k === "in" ? (i.value = !0, l.chartElement.requestFullscreen(), t("toggleFullscreen", !0)) : (i.value = !1, document.exitFullscreen(), t("toggleFullscreen", !1)));
|
|
18808
18809
|
}
|
|
18809
18810
|
function F(k) {
|
|
18810
18811
|
document.fullscreenElement ? i.value = !0 : i.value = !1;
|
|
18811
18812
|
}
|
|
18812
|
-
return
|
|
18813
|
+
return $t(() => {
|
|
18813
18814
|
document.addEventListener("fullscreenchange", F);
|
|
18814
18815
|
}), Cf(() => {
|
|
18815
18816
|
document.removeEventListener("fullscreenchange", F);
|
|
@@ -18984,10 +18985,10 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
18984
18985
|
}
|
|
18985
18986
|
},
|
|
18986
18987
|
setup(e) {
|
|
18987
|
-
const t = e, l =
|
|
18988
|
+
const t = e, l = N(`vue-ui-skeleton-${Math.random()}`), r = N(Ft.vue_ui_skeleton), o = ie(() => Mt({
|
|
18988
18989
|
userConfig: t.config,
|
|
18989
18990
|
defaultConfig: r.value
|
|
18990
|
-
})), a = ie(() => o.value.style.animated), n = ie(() => o.value.type), s =
|
|
18991
|
+
})), a = ie(() => o.value.style.animated), n = ie(() => o.value.type), s = N([60, 50, 55, 36, 40, 25, 26, 12]), A = ie(() => Dl({
|
|
18991
18992
|
plot: { x: 50, y: 50 },
|
|
18992
18993
|
radius: 40,
|
|
18993
18994
|
sides: 6
|
|
@@ -19003,7 +19004,7 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
19003
19004
|
plot: { x: 50, y: 50 },
|
|
19004
19005
|
radius: 10,
|
|
19005
19006
|
sides: 6
|
|
19006
|
-
}).path), y =
|
|
19007
|
+
}).path), y = N([
|
|
19007
19008
|
{
|
|
19008
19009
|
root: {
|
|
19009
19010
|
x: 70,
|
|
@@ -19088,7 +19089,7 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
19088
19089
|
}
|
|
19089
19090
|
]
|
|
19090
19091
|
}
|
|
19091
|
-
]), w =
|
|
19092
|
+
]), w = N([
|
|
19092
19093
|
{
|
|
19093
19094
|
y: 200,
|
|
19094
19095
|
height: 100,
|
|
@@ -19139,7 +19140,7 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
19139
19140
|
height: 45,
|
|
19140
19141
|
bar: 19
|
|
19141
19142
|
}
|
|
19142
|
-
]), u =
|
|
19143
|
+
]), u = N([
|
|
19143
19144
|
[3, 2.5],
|
|
19144
19145
|
[4, 3.1],
|
|
19145
19146
|
[8, 6],
|
|
@@ -19159,7 +19160,7 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
19159
19160
|
[44, 45],
|
|
19160
19161
|
[38, 35],
|
|
19161
19162
|
[31, 32]
|
|
19162
|
-
]), c =
|
|
19163
|
+
]), c = N(
|
|
19163
19164
|
[
|
|
19164
19165
|
{ x: 40, y: 30 },
|
|
19165
19166
|
{ x: 45, y: 28 },
|
|
@@ -20562,17 +20563,17 @@ const Hx = ["id"], Px = ["viewBox"], Ox = ["id"], zx = ["stop-color"], Rx = ["st
|
|
|
20562
20563
|
},
|
|
20563
20564
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
20564
20565
|
setup(e, { emit: t }) {
|
|
20565
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
20566
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_sparkline), n = ie(() => Mt({
|
|
20566
20567
|
userConfig: l.config,
|
|
20567
20568
|
defaultConfig: a.value
|
|
20568
|
-
})), s =
|
|
20569
|
+
})), s = N(l.dataset.map((ve) => n.value.style.animation.show ? {
|
|
20569
20570
|
...ve,
|
|
20570
20571
|
value: null
|
|
20571
20572
|
} : {
|
|
20572
20573
|
...ve,
|
|
20573
20574
|
value: [void 0].includes(ve.value) ? null : ve.value
|
|
20574
20575
|
}));
|
|
20575
|
-
|
|
20576
|
+
$t(() => {
|
|
20576
20577
|
if (Ht(l.dataset) ? et({
|
|
20577
20578
|
componentName: "VueUiSparkline",
|
|
20578
20579
|
type: "dataset"
|
|
@@ -20600,10 +20601,10 @@ const Hx = ["id"], Px = ["viewBox"], Ox = ["id"], zx = ["stop-color"], Rx = ["st
|
|
|
20600
20601
|
V();
|
|
20601
20602
|
}
|
|
20602
20603
|
});
|
|
20603
|
-
const A =
|
|
20604
|
+
const A = N({
|
|
20604
20605
|
height: 80,
|
|
20605
20606
|
width: 500
|
|
20606
|
-
}), v =
|
|
20607
|
+
}), v = N(6), g = ie(() => ({
|
|
20607
20608
|
top: 12,
|
|
20608
20609
|
left: 0,
|
|
20609
20610
|
right: A.value.width,
|
|
@@ -20636,7 +20637,7 @@ const Hx = ["id"], Px = ["viewBox"], Ox = ["id"], zx = ["stop-color"], Rx = ["st
|
|
|
20636
20637
|
return F.value.forEach((Y) => {
|
|
20637
20638
|
V.push(`${Y.x},${Y.y} `);
|
|
20638
20639
|
}), [ve.x, ve.y, ...V, z.x, z.y].toString();
|
|
20639
|
-
}), O =
|
|
20640
|
+
}), O = N(void 0);
|
|
20640
20641
|
function W(ve, z) {
|
|
20641
20642
|
O.value = ve, t("hoverIndex", { index: z });
|
|
20642
20643
|
}
|
|
@@ -20843,11 +20844,11 @@ const ik = ["id"], Ak = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
20843
20844
|
io((X) => ({
|
|
20844
20845
|
"202ddaf6": X.tdo
|
|
20845
20846
|
}));
|
|
20846
|
-
const r =
|
|
20847
|
+
const r = N(Ct()), o = N(0), a = N(Ft.vue_ui_table_sparkline), n = N(!1), s = N(!1), A = ie(() => Mt({
|
|
20847
20848
|
userConfig: l.config,
|
|
20848
20849
|
defaultConfig: a.value
|
|
20849
|
-
})), v =
|
|
20850
|
-
|
|
20850
|
+
})), v = N(null), g = N(!1), b = ie(() => A.value.responsiveBreakpoint);
|
|
20851
|
+
$t(() => {
|
|
20851
20852
|
Ht(l.dataset) && et({
|
|
20852
20853
|
componentName: "VueUiTableSparkline",
|
|
20853
20854
|
type: "dataset"
|
|
@@ -20898,7 +20899,7 @@ const ik = ["id"], Ak = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
20898
20899
|
orders: re[U]
|
|
20899
20900
|
}));
|
|
20900
20901
|
}
|
|
20901
|
-
const u = ie(() => w(y.value)), c =
|
|
20902
|
+
const u = ie(() => w(y.value)), c = N(u.value), i = N(void 0), C = N(!1), F = N(void 0), k = N(-1);
|
|
20902
20903
|
function O() {
|
|
20903
20904
|
C.value = !1, F.value = void 0, k.value = -1, c.value = u.value;
|
|
20904
20905
|
}
|
|
@@ -20921,15 +20922,15 @@ const ik = ["id"], Ak = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
20921
20922
|
A.value.translations.average,
|
|
20922
20923
|
A.value.translations.median
|
|
20923
20924
|
] : A.value.showAverage && !A.value.showMedian ? te = [...X, A.value.translations.average] : !A.value.showAverage && A.value.showMedian ? te = [...X, A.value.translations.median] : te = X, A.value.showSparklines ? [...te, A.value.translations.chart] : te;
|
|
20924
|
-
}), J =
|
|
20925
|
+
}), J = N(void 0), ye = N(void 0);
|
|
20925
20926
|
function ve({ dataIndex: X, serieIndex: te }) {
|
|
20926
20927
|
J.value = X, ye.value = te;
|
|
20927
20928
|
}
|
|
20928
|
-
const z =
|
|
20929
|
+
const z = N(!1);
|
|
20929
20930
|
function V(X) {
|
|
20930
20931
|
z.value = X, o.value += 1;
|
|
20931
20932
|
}
|
|
20932
|
-
const Y =
|
|
20933
|
+
const Y = N(null);
|
|
20933
20934
|
function de() {
|
|
20934
20935
|
n.value = !0;
|
|
20935
20936
|
}
|
|
@@ -24500,7 +24501,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24500
24501
|
return P;
|
|
24501
24502
|
}
|
|
24502
24503
|
});
|
|
24503
|
-
|
|
24504
|
+
$t(() => {
|
|
24504
24505
|
Ht(r.dataset) ? et({
|
|
24505
24506
|
componentName: "VueUiDonut",
|
|
24506
24507
|
type: "dataset"
|
|
@@ -24518,10 +24519,10 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24518
24519
|
});
|
|
24519
24520
|
});
|
|
24520
24521
|
});
|
|
24521
|
-
const a =
|
|
24522
|
+
const a = N(Ct()), n = N(Ft.vue_ui_donut), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(null), u = N(0), c = ie(() => Mt({
|
|
24522
24523
|
userConfig: r.config,
|
|
24523
24524
|
defaultConfig: n.value
|
|
24524
|
-
})), i =
|
|
24525
|
+
})), i = N({
|
|
24525
24526
|
dataLabels: {
|
|
24526
24527
|
show: c.value.style.chart.layout.labels.dataLabels.show
|
|
24527
24528
|
},
|
|
@@ -24530,7 +24531,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24530
24531
|
}), C = ie(() => ({
|
|
24531
24532
|
height: i.value.inside || s.value ? 512 : 360,
|
|
24532
24533
|
width: 512
|
|
24533
|
-
})), F =
|
|
24534
|
+
})), F = N([]);
|
|
24534
24535
|
function k(P) {
|
|
24535
24536
|
F.value.includes(P) ? F.value = F.value.filter((j) => j !== P) : F.value.push(P), l("selectLegend", ae.value.map((j) => ({
|
|
24536
24537
|
name: j.name,
|
|
@@ -24589,7 +24590,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24589
24590
|
function V(P) {
|
|
24590
24591
|
return [...P].map((j) => j.value).reduce((j, q) => j + q, 0);
|
|
24591
24592
|
}
|
|
24592
|
-
const Y = ie(() => ae.value.map((P) => P.value).reduce((P, j) => P + j, 0)), de = ie(() => Y.value / ae.value.length), we =
|
|
24593
|
+
const Y = ie(() => ae.value.map((P) => P.value).reduce((P, j) => P + j, 0)), de = ie(() => Y.value / ae.value.length), we = N(null);
|
|
24593
24594
|
function _e({ datapoint: P, relativeIndex: j, seriesIndex: q, show: fe = !1 }) {
|
|
24594
24595
|
we.value = { datapoint: P, seriesIndex: q, config: c.value, series: O.value }, b.value = fe, w.value = j;
|
|
24595
24596
|
let Z = "";
|
|
@@ -24609,7 +24610,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24609
24610
|
function ne(P) {
|
|
24610
24611
|
return c.value.useBlurOnHover && ![null, void 0].includes(w.value) && w.value !== P ? `url(#blur_${a.value})` : "";
|
|
24611
24612
|
}
|
|
24612
|
-
const G =
|
|
24613
|
+
const G = N(null);
|
|
24613
24614
|
function X() {
|
|
24614
24615
|
s.value = !0;
|
|
24615
24616
|
}
|
|
@@ -24690,7 +24691,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24690
24691
|
body: j,
|
|
24691
24692
|
config: q
|
|
24692
24693
|
};
|
|
24693
|
-
}), $ =
|
|
24694
|
+
}), $ = N(!1);
|
|
24694
24695
|
function K(P) {
|
|
24695
24696
|
$.value = P, u.value += 1;
|
|
24696
24697
|
}
|
|
@@ -25070,7 +25071,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25070
25071
|
emits: ["selectLegend"],
|
|
25071
25072
|
setup(e, { expose: t, emit: l }) {
|
|
25072
25073
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
25073
|
-
|
|
25074
|
+
$t(() => {
|
|
25074
25075
|
Ht(r.dataset) ? et({
|
|
25075
25076
|
componentName: "VueUiWaffle",
|
|
25076
25077
|
type: "dataset"
|
|
@@ -25088,10 +25089,10 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25088
25089
|
});
|
|
25089
25090
|
});
|
|
25090
25091
|
});
|
|
25091
|
-
const a =
|
|
25092
|
+
const a = N(Ct()), n = N(Ft.vue_ui_waffle), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(null), u = N(0), c = ie(() => Mt({
|
|
25092
25093
|
userConfig: r.config,
|
|
25093
25094
|
defaultConfig: n.value
|
|
25094
|
-
})), i =
|
|
25095
|
+
})), i = N({
|
|
25095
25096
|
inside: !c.value.style.chart.layout.useDiv,
|
|
25096
25097
|
showTable: c.value.table.show
|
|
25097
25098
|
});
|
|
@@ -25106,10 +25107,10 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25106
25107
|
width: 512
|
|
25107
25108
|
})), k = ie(() => (F.value.width - c.value.style.chart.layout.grid.size * c.value.style.chart.layout.grid.spaceBetween) / c.value.style.chart.layout.grid.size), O = ie(() => F.value.width / c.value.style.chart.layout.grid.size);
|
|
25108
25109
|
function W(Z) {
|
|
25109
|
-
const pe = Z.reduce((ee, ue) => ee + ue, 0), M = Z.map((ee) => Math.round(ee / pe * 100) / 100),
|
|
25110
|
-
if (
|
|
25110
|
+
const pe = Z.reduce((ee, ue) => ee + ue, 0), M = Z.map((ee) => Math.round(ee / pe * 100) / 100), T = M.reduce((ee, ue) => ee + ue, 0);
|
|
25111
|
+
if (T !== 1) {
|
|
25111
25112
|
const ee = M.length - 1;
|
|
25112
|
-
M[ee] += 1 -
|
|
25113
|
+
M[ee] += 1 - T, M[ee] = Math.round(M[ee] * 100) / 100;
|
|
25113
25114
|
}
|
|
25114
25115
|
return M;
|
|
25115
25116
|
}
|
|
@@ -25119,10 +25120,10 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25119
25120
|
uid: `serie_${pe}`,
|
|
25120
25121
|
absoluteIndex: pe
|
|
25121
25122
|
}))), se = ie(() => {
|
|
25122
|
-
const Z = ae.value.filter((pe, M) => !te.value.includes(pe.uid)).map((pe, M) => (pe.values || []).reduce((
|
|
25123
|
+
const Z = ae.value.filter((pe, M) => !te.value.includes(pe.uid)).map((pe, M) => (pe.values || []).reduce((T, ee) => T + ee, 0));
|
|
25123
25124
|
return W(Z);
|
|
25124
25125
|
}), J = ie(() => {
|
|
25125
|
-
const Z = ae.value.map((pe, M) => (pe.values || []).reduce((
|
|
25126
|
+
const Z = ae.value.map((pe, M) => (pe.values || []).reduce((T, ee) => T + ee));
|
|
25126
25127
|
return W(Z);
|
|
25127
25128
|
}), ye = ie(() => (r.dataset.forEach((Z, pe) => {
|
|
25128
25129
|
[null, void 0].includes(Z.values) && et({
|
|
@@ -25136,7 +25137,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25136
25137
|
uid: Z.uid,
|
|
25137
25138
|
name: Z.name,
|
|
25138
25139
|
color: Z.color,
|
|
25139
|
-
value: (Z.values || []).reduce((M,
|
|
25140
|
+
value: (Z.values || []).reduce((M, T) => M + T, 0),
|
|
25140
25141
|
absoluteValues: Z.values || [],
|
|
25141
25142
|
proportion: se.value[pe] * Math.pow(c.value.style.chart.layout.grid.size, 2)
|
|
25142
25143
|
})).sort((Z, pe) => pe.value - Z.value))), ve = ie(() => ae.value.map((Z, pe) => ({
|
|
@@ -25144,7 +25145,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25144
25145
|
uid: Z.uid,
|
|
25145
25146
|
name: Z.name,
|
|
25146
25147
|
color: Z.color,
|
|
25147
|
-
value: (Z.values || []).reduce((M,
|
|
25148
|
+
value: (Z.values || []).reduce((M, T) => M + T, 0),
|
|
25148
25149
|
absoluteValues: Z.values || [],
|
|
25149
25150
|
proportion: J.value[pe] * Math.pow(c.value.style.chart.layout.grid.size, 2)
|
|
25150
25151
|
})).sort((Z, pe) => pe.value - Z.value));
|
|
@@ -25157,22 +25158,22 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25157
25158
|
}));
|
|
25158
25159
|
}
|
|
25159
25160
|
const V = ie(() => ye.value.map((Z, pe) => {
|
|
25160
|
-
const M = pe > 0 ? ye.value.filter((ue, R) => R < pe).map((ue) => ue.proportion).reduce((ue, R) => ue + R) + Z.proportion - ye.value[pe - 1].proportion : Z.proportion - Z.proportion,
|
|
25161
|
-
for (let ue = M; ue <=
|
|
25161
|
+
const M = pe > 0 ? ye.value.filter((ue, R) => R < pe).map((ue) => ue.proportion).reduce((ue, R) => ue + R) + Z.proportion - ye.value[pe - 1].proportion : Z.proportion - Z.proportion, T = M + Z.proportion, ee = [];
|
|
25162
|
+
for (let ue = M; ue <= T; ue += 1)
|
|
25162
25163
|
ee.push(ue);
|
|
25163
25164
|
return {
|
|
25164
25165
|
...Z,
|
|
25165
25166
|
start: pe > 0 ? ye.value.filter((ue, R) => R < pe).map((ue) => ue.proportion).reduce((ue, R) => ue + R) + Z.proportion - ye.value[pe - 1].proportion : Z.proportion - Z.proportion,
|
|
25166
25167
|
rects: ee
|
|
25167
25168
|
};
|
|
25168
|
-
})), Y = ie(() => V.value.flatMap((Z, pe) => Z.rects.map((M,
|
|
25169
|
-
isFirst:
|
|
25169
|
+
})), Y = ie(() => V.value.flatMap((Z, pe) => Z.rects.map((M, T) => ({
|
|
25170
|
+
isFirst: T === 0,
|
|
25170
25171
|
isLongEnough: M.length > 2,
|
|
25171
25172
|
name: Z.name,
|
|
25172
25173
|
color: Z.color,
|
|
25173
25174
|
value: Z.value,
|
|
25174
25175
|
serieIndex: pe,
|
|
25175
|
-
absoluteStartIndex:
|
|
25176
|
+
absoluteStartIndex: T < 3,
|
|
25176
25177
|
...Z
|
|
25177
25178
|
}))).map((Z, pe) => ({
|
|
25178
25179
|
...Z,
|
|
@@ -25191,12 +25192,12 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25191
25192
|
}), we = ie(() => ae.value.map((Z, pe) => ({
|
|
25192
25193
|
name: Z.name,
|
|
25193
25194
|
color: Z.color || Ye[pe] || Ye[pe % Ye.length],
|
|
25194
|
-
value: (Z.values || []).reduce((M,
|
|
25195
|
+
value: (Z.values || []).reduce((M, T) => M + T, 0),
|
|
25195
25196
|
uid: Z.uid,
|
|
25196
25197
|
shape: "square"
|
|
25197
25198
|
})).sort((Z, pe) => pe.value - Z.value).map((Z, pe) => ({
|
|
25198
25199
|
...Z,
|
|
25199
|
-
proportion: Z.value / ae.value.map((M) => (M.values || []).reduce((
|
|
25200
|
+
proportion: Z.value / ae.value.map((M) => (M.values || []).reduce((T, ee) => T + ee, 0)).reduce((M, T) => M + T, 0),
|
|
25200
25201
|
opacity: te.value.includes(Z.uid) ? 0.5 : 1
|
|
25201
25202
|
}))), _e = ie(() => ({
|
|
25202
25203
|
cy: "waffle-div-legend",
|
|
@@ -25205,7 +25206,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25205
25206
|
fontSize: c.value.style.chart.legend.fontSize,
|
|
25206
25207
|
paddingBottom: 12,
|
|
25207
25208
|
fontWeight: c.value.style.chart.legend.bold ? "bold" : ""
|
|
25208
|
-
})), ne = ie(() => ye.value.map((Z) => Z.value).reduce((Z, pe) => Z + pe, 0)), G =
|
|
25209
|
+
})), ne = ie(() => ye.value.map((Z) => Z.value).reduce((Z, pe) => Z + pe, 0)), G = N(null);
|
|
25209
25210
|
function X(Z) {
|
|
25210
25211
|
if (te.value.length === r.dataset.length)
|
|
25211
25212
|
return;
|
|
@@ -25230,11 +25231,11 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25230
25231
|
config: c.value
|
|
25231
25232
|
});
|
|
25232
25233
|
else {
|
|
25233
|
-
let
|
|
25234
|
-
|
|
25234
|
+
let T = "";
|
|
25235
|
+
T += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${pe.name}</div>`, T += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" rx="1" fill="${pe.color}" /></svg>`, c.value.style.chart.tooltip.showValue && (T += `<b>${ft({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: pe.value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.tooltip.roundingValue })}</b>`), c.value.style.chart.tooltip.showPercentage && (c.value.style.chart.tooltip.showValue ? T += `<span>(${(pe.value / ne.value * 100).toFixed(c.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : T += `<b>${(pe.value / ne.value * 100).toFixed(c.value.style.chart.tooltip.roundingPercentage)}%</b></div>`), y.value = T;
|
|
25235
25236
|
}
|
|
25236
25237
|
}
|
|
25237
|
-
const te =
|
|
25238
|
+
const te = N([]);
|
|
25238
25239
|
function re(Z) {
|
|
25239
25240
|
te.value.includes(Z) ? te.value = te.value.filter((pe) => pe !== Z) : te.value.length < we.value.length - 1 && we.value.length > 1 && te.value.push(Z), l("selectLegend", ye.value.map((pe) => ({
|
|
25240
25241
|
name: pe.name,
|
|
@@ -25253,7 +25254,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25253
25254
|
function Q(Z) {
|
|
25254
25255
|
return c.value.useBlurOnHover && ![null, void 0].includes(w.value) && w.value !== Z ? `url(#blur_${a.value})` : "";
|
|
25255
25256
|
}
|
|
25256
|
-
const U =
|
|
25257
|
+
const U = N(null);
|
|
25257
25258
|
function S() {
|
|
25258
25259
|
A.value = !0;
|
|
25259
25260
|
}
|
|
@@ -25283,8 +25284,8 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25283
25284
|
}
|
|
25284
25285
|
function P() {
|
|
25285
25286
|
fl(() => {
|
|
25286
|
-
const Z = _.value.head.map((
|
|
25287
|
-
|
|
25287
|
+
const Z = _.value.head.map((T, ee) => [[
|
|
25288
|
+
T.name
|
|
25288
25289
|
], [_.value.body[ee]], [isNaN(_.value.body[ee] / ne.value) ? "-" : _.value.body[ee] / ne.value * 100]]), pe = [[c.value.style.chart.title.text], [c.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(Z), M = yl(pe);
|
|
25289
25290
|
gl({ csvContent: M, title: c.value.style.chart.title.text || "vue-ui-waffle" });
|
|
25290
25291
|
});
|
|
@@ -25314,7 +25315,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25314
25315
|
},
|
|
25315
25316
|
shape: "square",
|
|
25316
25317
|
breakpoint: c.value.table.responsiveBreakpoint
|
|
25317
|
-
},
|
|
25318
|
+
}, T = [
|
|
25318
25319
|
c.value.table.columnNames.series,
|
|
25319
25320
|
c.value.table.columnNames.value,
|
|
25320
25321
|
c.value.table.columnNames.percentage
|
|
@@ -25323,9 +25324,9 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25323
25324
|
head: Z,
|
|
25324
25325
|
body: pe,
|
|
25325
25326
|
config: M,
|
|
25326
|
-
colNames:
|
|
25327
|
+
colNames: T
|
|
25327
25328
|
};
|
|
25328
|
-
}), q =
|
|
25329
|
+
}), q = N(!1);
|
|
25329
25330
|
function fe(Z) {
|
|
25330
25331
|
q.value = Z, u.value += 1;
|
|
25331
25332
|
}
|
|
@@ -25392,13 +25393,13 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25392
25393
|
style: H(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)
|
|
25393
25394
|
}, [
|
|
25394
25395
|
p("defs", null, [
|
|
25395
|
-
(d(!0), f(Ce, null, Le(Y.value, (M,
|
|
25396
|
+
(d(!0), f(Ce, null, Le(Y.value, (M, T) => (d(), f("radialGradient", {
|
|
25396
25397
|
cx: "50%",
|
|
25397
25398
|
cy: "50%",
|
|
25398
25399
|
r: "50%",
|
|
25399
25400
|
fx: "50%",
|
|
25400
25401
|
fy: "50%",
|
|
25401
|
-
id: `gradient_${a.value}_${
|
|
25402
|
+
id: `gradient_${a.value}_${T}`
|
|
25402
25403
|
}, [
|
|
25403
25404
|
p("stop", {
|
|
25404
25405
|
offset: "0%",
|
|
@@ -25438,16 +25439,16 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25438
25439
|
height: "200%"
|
|
25439
25440
|
}, TF, 8, EF)
|
|
25440
25441
|
]),
|
|
25441
|
-
c.value.useCustomCells ? (d(!0), f(Ce, { key: 1 }, Le(de.value, (M,
|
|
25442
|
+
c.value.useCustomCells ? (d(!0), f(Ce, { key: 1 }, Le(de.value, (M, T) => (d(), f("foreignObject", {
|
|
25442
25443
|
x: M.x,
|
|
25443
25444
|
y: M.y,
|
|
25444
25445
|
height: k.value,
|
|
25445
25446
|
width: k.value,
|
|
25446
25447
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
25447
25448
|
}, [
|
|
25448
|
-
Me(Z.$slots, "cell", Ze(tt({ cell: { ...M, color: Y.value[
|
|
25449
|
+
Me(Z.$slots, "cell", Ze(tt({ cell: { ...M, color: Y.value[T].color, ...Y.value[T] }, isSelected: [null, void 0].includes(w.value) ? !0 : Y.value[T].serieIndex === w.value })), void 0, !0)
|
|
25449
25450
|
], 8, DF))), 256)) : (d(), f(Ce, { key: 2 }, [
|
|
25450
|
-
(d(!0), f(Ce, null, Le(de.value, (M,
|
|
25451
|
+
(d(!0), f(Ce, null, Le(de.value, (M, T) => (d(), f("rect", {
|
|
25451
25452
|
rx: c.value.style.chart.layout.rect.rounded ? c.value.style.chart.layout.rect.rounding : 0,
|
|
25452
25453
|
x: M.x,
|
|
25453
25454
|
y: M.y,
|
|
@@ -25456,42 +25457,42 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25456
25457
|
fill: "white",
|
|
25457
25458
|
stroke: c.value.style.chart.layout.rect.stroke,
|
|
25458
25459
|
"stroke-width": c.value.style.chart.layout.rect.strokeWidth,
|
|
25459
|
-
filter: Q(Y.value[
|
|
25460
|
+
filter: Q(Y.value[T].serieIndex)
|
|
25460
25461
|
}, null, 8, HF))), 256)),
|
|
25461
|
-
(d(!0), f(Ce, null, Le(de.value, (M,
|
|
25462
|
+
(d(!0), f(Ce, null, Le(de.value, (M, T) => (d(), f("rect", {
|
|
25462
25463
|
rx: c.value.style.chart.layout.rect.rounded ? c.value.style.chart.layout.rect.rounding : 0,
|
|
25463
25464
|
x: M.x,
|
|
25464
25465
|
y: M.y,
|
|
25465
25466
|
height: k.value,
|
|
25466
25467
|
width: k.value,
|
|
25467
|
-
fill: c.value.style.chart.layout.rect.useGradient && c.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${a.value}_${
|
|
25468
|
+
fill: c.value.style.chart.layout.rect.useGradient && c.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${a.value}_${T})` : Y.value[T].color,
|
|
25468
25469
|
stroke: c.value.style.chart.layout.rect.stroke,
|
|
25469
25470
|
"stroke-width": c.value.style.chart.layout.rect.strokeWidth,
|
|
25470
|
-
filter: Q(Y.value[
|
|
25471
|
+
filter: Q(Y.value[T].serieIndex)
|
|
25471
25472
|
}, null, 8, PF))), 256))
|
|
25472
25473
|
], 64)),
|
|
25473
|
-
(d(!0), f(Ce, null, Le(de.value, (M,
|
|
25474
|
-
!c.value.style.chart.layout.grid.vertical && c.value.style.chart.layout.labels.captions.show && (Y.value[
|
|
25474
|
+
(d(!0), f(Ce, null, Le(de.value, (M, T) => (d(), f(Ce, null, [
|
|
25475
|
+
!c.value.style.chart.layout.grid.vertical && c.value.style.chart.layout.labels.captions.show && (Y.value[T].isFirst && M.position < c.value.style.chart.layout.grid.size - 2 || Y.value[T].isAbsoluteFirst && T % c.value.style.chart.layout.grid.size === 0 && Y.value[T].absoluteStartIndex) ? (d(), f("foreignObject", {
|
|
25475
25476
|
key: 0,
|
|
25476
25477
|
x: M.x + c.value.style.chart.layout.labels.captions.offsetX,
|
|
25477
25478
|
y: M.y + c.value.style.chart.layout.labels.captions.offsetY,
|
|
25478
25479
|
height: O.value,
|
|
25479
25480
|
width: O.value * c.value.style.chart.layout.grid.size,
|
|
25480
|
-
filter: Q(Y.value[
|
|
25481
|
+
filter: Q(Y.value[T].serieIndex)
|
|
25481
25482
|
}, [
|
|
25482
25483
|
p("div", {
|
|
25483
25484
|
class: "vue-ui-waffle-caption",
|
|
25484
|
-
style: H(`height: 100%; width: 100%; font-size:${c.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${O.value / 12}px;color:${Be(Jo)(Y.value[
|
|
25485
|
+
style: H(`height: 100%; width: 100%; font-size:${c.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${O.value / 12}px;color:${Be(Jo)(Y.value[T].color)};gap:2px`)
|
|
25485
25486
|
}, [
|
|
25486
|
-
c.value.style.chart.layout.labels.captions.showSerieName ? (d(), f("span", zF, D(c.value.style.chart.layout.labels.captions.serieNameAbbreviation ? Be(fd)({ source: Y.value[
|
|
25487
|
-
c.value.style.chart.layout.labels.captions.showPercentage ? (d(), f("span", RF, D(Be(ft)({ v: Y.value[
|
|
25488
|
-
c.value.style.chart.layout.labels.captions.showPercentage && c.value.style.chart.layout.labels.captions.showValue ? (d(), f("span", VF, " (" + D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: Y.value[
|
|
25489
|
-
!c.value.style.chart.layout.labels.captions.showPercentage && c.value.style.chart.layout.labels.captions.showValue ? (d(), f("span", KF, D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: Y.value[
|
|
25487
|
+
c.value.style.chart.layout.labels.captions.showSerieName ? (d(), f("span", zF, D(c.value.style.chart.layout.labels.captions.serieNameAbbreviation ? Be(fd)({ source: Y.value[T].name, length: c.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : Y.value[T].name) + " : ", 1)) : L("", !0),
|
|
25488
|
+
c.value.style.chart.layout.labels.captions.showPercentage ? (d(), f("span", RF, D(Be(ft)({ v: Y.value[T].proportion, s: "%", r: c.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : L("", !0),
|
|
25489
|
+
c.value.style.chart.layout.labels.captions.showPercentage && c.value.style.chart.layout.labels.captions.showValue ? (d(), f("span", VF, " (" + D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: Y.value[T].value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.layout.labels.captions.roundingValue })) + ") ", 1)) : L("", !0),
|
|
25490
|
+
!c.value.style.chart.layout.labels.captions.showPercentage && c.value.style.chart.layout.labels.captions.showValue ? (d(), f("span", KF, D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: Y.value[T].value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.layout.labels.captions.roundingValue })), 1)) : L("", !0)
|
|
25490
25491
|
], 4)
|
|
25491
25492
|
], 8, OF)) : L("", !0)
|
|
25492
25493
|
], 64))), 256)),
|
|
25493
|
-
(d(!0), f(Ce, null, Le(de.value, (M,
|
|
25494
|
-
onMouseover: (ee) => X(
|
|
25494
|
+
(d(!0), f(Ce, null, Le(de.value, (M, T) => (d(), f("rect", {
|
|
25495
|
+
onMouseover: (ee) => X(T),
|
|
25495
25496
|
onMouseleave: pe[1] || (pe[1] = (ee) => {
|
|
25496
25497
|
b.value = !1, w.value = null;
|
|
25497
25498
|
}),
|
|
@@ -25510,7 +25511,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25510
25511
|
}, {
|
|
25511
25512
|
item: Ie(({ legend: M }) => [
|
|
25512
25513
|
p("div", {
|
|
25513
|
-
onClick: (
|
|
25514
|
+
onClick: (T) => re(M.uid),
|
|
25514
25515
|
style: H(`opacity:${te.value.includes(M.uid) ? 0.5 : 1}`)
|
|
25515
25516
|
}, [
|
|
25516
25517
|
dt(D(M.name) + " : " + D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: M.value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
@@ -25542,7 +25543,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25542
25543
|
}, {
|
|
25543
25544
|
item: Ie(({ legend: M }) => [
|
|
25544
25545
|
p("div", {
|
|
25545
|
-
onClick: (
|
|
25546
|
+
onClick: (T) => re(M.uid),
|
|
25546
25547
|
style: H(`opacity:${te.value.includes(M.uid) ? 0.5 : 1}`)
|
|
25547
25548
|
}, [
|
|
25548
25549
|
dt(D(M.name) + " : " + D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: M.value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
@@ -25607,14 +25608,14 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25607
25608
|
},
|
|
25608
25609
|
emits: ["selectDatapoint"],
|
|
25609
25610
|
setup(e, { emit: t }) {
|
|
25610
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
25611
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_sparkbar), n = ie(() => Mt({
|
|
25611
25612
|
userConfig: l.config,
|
|
25612
25613
|
defaultConfig: a.value
|
|
25613
|
-
})), s =
|
|
25614
|
+
})), s = N(l.dataset.map((u) => ({
|
|
25614
25615
|
...u,
|
|
25615
25616
|
value: n.value.style.animation.show ? 0 : u.value || 0
|
|
25616
25617
|
})));
|
|
25617
|
-
|
|
25618
|
+
$t(() => {
|
|
25618
25619
|
if (Ht(l.dataset) && et({
|
|
25619
25620
|
componentName: "VueUiSparkbar",
|
|
25620
25621
|
type: "dataset"
|
|
@@ -25633,7 +25634,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25633
25634
|
F();
|
|
25634
25635
|
}
|
|
25635
25636
|
});
|
|
25636
|
-
const A =
|
|
25637
|
+
const A = N({
|
|
25637
25638
|
width: 500,
|
|
25638
25639
|
height: 16
|
|
25639
25640
|
}), v = ie(() => Math.max(...l.dataset.map((u) => u.value))), g = ie(() => (l.dataset.forEach((u, c) => {
|
|
@@ -25770,16 +25771,16 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
25770
25771
|
emits: ["selectLegend"],
|
|
25771
25772
|
setup(e, { expose: t, emit: l }) {
|
|
25772
25773
|
const r = e, o = ie(() => !!r.dataset && Object.keys(r.dataset).length);
|
|
25773
|
-
|
|
25774
|
+
$t(() => {
|
|
25774
25775
|
Ht(r.dataset) && et({
|
|
25775
25776
|
componentName: "VueUiRadar",
|
|
25776
25777
|
type: "dataset"
|
|
25777
25778
|
});
|
|
25778
25779
|
});
|
|
25779
|
-
const a =
|
|
25780
|
+
const a = N(Ct()), n = N(Ft.vue_ui_radar), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(0), u = ie(() => Mt({
|
|
25780
25781
|
userConfig: r.config,
|
|
25781
25782
|
defaultConfig: n.value
|
|
25782
|
-
})), c =
|
|
25783
|
+
})), c = N({
|
|
25783
25784
|
dataLabels: {
|
|
25784
25785
|
show: u.value.style.chart.layout.labels.dataLabels.show
|
|
25785
25786
|
},
|
|
@@ -25806,7 +25807,7 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
25806
25807
|
})), C = ie(() => ({
|
|
25807
25808
|
height: c.value.inside ? 412 : 312,
|
|
25808
25809
|
width: 512
|
|
25809
|
-
})), F =
|
|
25810
|
+
})), F = N([]);
|
|
25810
25811
|
function k(P) {
|
|
25811
25812
|
F.value.includes(P) ? F.value = F.value.filter((j) => j !== P) : F.value.push(P), l("selectLegend", de.value.filter((j, q) => !F.value.includes(q)).map((j) => ({
|
|
25812
25813
|
name: j.name,
|
|
@@ -25948,7 +25949,7 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
25948
25949
|
breakpoint: u.value.table.responsiveBreakpoint
|
|
25949
25950
|
};
|
|
25950
25951
|
return { head: P, body: j, config: q, colNames: P };
|
|
25951
|
-
}), ne =
|
|
25952
|
+
}), ne = N(null), G = N([]), X = N(null);
|
|
25952
25953
|
function te(P, j) {
|
|
25953
25954
|
G.value = [], ne.value = j, b.value = !0;
|
|
25954
25955
|
let q = "";
|
|
@@ -25989,7 +25990,7 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
25989
25990
|
y.value = q;
|
|
25990
25991
|
}
|
|
25991
25992
|
}
|
|
25992
|
-
const re =
|
|
25993
|
+
const re = N(null);
|
|
25993
25994
|
function _() {
|
|
25994
25995
|
A.value = !0;
|
|
25995
25996
|
}
|
|
@@ -26019,14 +26020,14 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
26019
26020
|
}
|
|
26020
26021
|
function $() {
|
|
26021
26022
|
fl(() => {
|
|
26022
|
-
const P = [[u.value.style.chart.title.text], [u.value.style.chart.title.subtitle.text], [""]], j = [[""], [u.value.translations.target], ...de.value.flatMap((pe) => [[pe.name], ["%"]])], q = r.dataset.series.map((pe, M) => [pe.name, pe.target, ...pe.values.flatMap((
|
|
26023
|
-
|
|
26024
|
-
isNaN(
|
|
26023
|
+
const P = [[u.value.style.chart.title.text], [u.value.style.chart.title.subtitle.text], [""]], j = [[""], [u.value.translations.target], ...de.value.flatMap((pe) => [[pe.name], ["%"]])], q = r.dataset.series.map((pe, M) => [pe.name, pe.target, ...pe.values.flatMap((T) => [
|
|
26024
|
+
T,
|
|
26025
|
+
isNaN(T / pe.target) ? "" : T / pe.target * 100
|
|
26025
26026
|
])]), fe = P.concat([j]).concat(q), Z = yl(fe);
|
|
26026
26027
|
gl({ csvContent: Z, title: u.value.style.chart.title.text || "vue-ui-radar" });
|
|
26027
26028
|
});
|
|
26028
26029
|
}
|
|
26029
|
-
const K =
|
|
26030
|
+
const K = N(!1);
|
|
26030
26031
|
function I(P) {
|
|
26031
26032
|
K.value = P, w.value += 1;
|
|
26032
26033
|
}
|
|
@@ -26314,8 +26315,8 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26314
26315
|
},
|
|
26315
26316
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
26316
26317
|
setup(e, { expose: t, emit: l }) {
|
|
26317
|
-
const r = e, o = ie(() => !!r.dataset && r.dataset.length), a =
|
|
26318
|
-
|
|
26318
|
+
const r = e, o = ie(() => !!r.dataset && r.dataset.length), a = N(Ct()), n = N(Ft.vue_ui_quadrant), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(0), u = N(!1);
|
|
26319
|
+
$t(() => {
|
|
26319
26320
|
Ht(r.dataset) ? et({
|
|
26320
26321
|
componentName: "VueUiQuadrant",
|
|
26321
26322
|
type: "dataset"
|
|
@@ -26377,7 +26378,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26377
26378
|
const i = ie(() => Mt({
|
|
26378
26379
|
userConfig: r.config,
|
|
26379
26380
|
defaultConfig: n.value
|
|
26380
|
-
})), C =
|
|
26381
|
+
})), C = N({
|
|
26381
26382
|
plotLabels: {
|
|
26382
26383
|
show: i.value.style.chart.layout.labels.plotLabels.show
|
|
26383
26384
|
},
|
|
@@ -26402,11 +26403,11 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26402
26403
|
centerY: i.value.style.chart.height + ue - i.value.style.chart.height / 2,
|
|
26403
26404
|
padding: me
|
|
26404
26405
|
};
|
|
26405
|
-
}), O =
|
|
26406
|
+
}), O = N({
|
|
26406
26407
|
...JSON.parse(JSON.stringify(k.value)),
|
|
26407
26408
|
startX: 0,
|
|
26408
26409
|
startY: 0
|
|
26409
|
-
}), W =
|
|
26410
|
+
}), W = N(null);
|
|
26410
26411
|
function ae(ue) {
|
|
26411
26412
|
if (u.value && W.value === ue)
|
|
26412
26413
|
O.value.startX = 0, O.value.startY = 0, O.value.width = k.value.width, O.value.height = k.value.height, W.value = null, u.value = !1;
|
|
@@ -26454,7 +26455,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26454
26455
|
min: Fe
|
|
26455
26456
|
}
|
|
26456
26457
|
};
|
|
26457
|
-
}), ye =
|
|
26458
|
+
}), ye = N([]), ve = ie(() => r.dataset.map((ue, R) => ({
|
|
26458
26459
|
...ue,
|
|
26459
26460
|
id: `cat_${R}_${a.value}`,
|
|
26460
26461
|
color: mt(ue.color) || Ye[R]
|
|
@@ -26596,7 +26597,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26596
26597
|
return "";
|
|
26597
26598
|
}
|
|
26598
26599
|
}
|
|
26599
|
-
const _ =
|
|
26600
|
+
const _ = N(null), Q = N(null), U = N(null);
|
|
26600
26601
|
function S(ue, R, me) {
|
|
26601
26602
|
_.value = R.uid, Q.value = {
|
|
26602
26603
|
color: ue.color,
|
|
@@ -26770,7 +26771,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26770
26771
|
}))
|
|
26771
26772
|
}));
|
|
26772
26773
|
}
|
|
26773
|
-
const j =
|
|
26774
|
+
const j = N(null);
|
|
26774
26775
|
function q() {
|
|
26775
26776
|
A.value = !0;
|
|
26776
26777
|
}
|
|
@@ -26804,9 +26805,9 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26804
26805
|
gl({ csvContent: ke, title: i.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
26805
26806
|
});
|
|
26806
26807
|
}
|
|
26807
|
-
const
|
|
26808
|
+
const T = N(!1);
|
|
26808
26809
|
function ee(ue) {
|
|
26809
|
-
|
|
26810
|
+
T.value = ue, w.value += 1;
|
|
26810
26811
|
}
|
|
26811
26812
|
return t({
|
|
26812
26813
|
getData: P,
|
|
@@ -26814,7 +26815,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26814
26815
|
generateCsv: M,
|
|
26815
26816
|
generateImage: pe
|
|
26816
26817
|
}), (ue, R) => (d(), f("div", {
|
|
26817
|
-
class: He(`vue-ui-quadrant ${
|
|
26818
|
+
class: He(`vue-ui-quadrant ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${i.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
26818
26819
|
ref_key: "quadrantChart",
|
|
26819
26820
|
ref: v,
|
|
26820
26821
|
id: `vue-ui-quadrant_${a.value}`,
|
|
@@ -26857,7 +26858,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26857
26858
|
hasTable: "",
|
|
26858
26859
|
hasLabel: "",
|
|
26859
26860
|
hasFullscreen: "",
|
|
26860
|
-
isFullscreen:
|
|
26861
|
+
isFullscreen: T.value,
|
|
26861
26862
|
chartElement: v.value,
|
|
26862
26863
|
onToggleFullscreen: ee,
|
|
26863
26864
|
onGeneratePdf: fe,
|
|
@@ -26868,7 +26869,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26868
26869
|
}, null, 8, ["backgroundColor", "color", "isImaging", "isPrinting", "title", "uid", "isFullscreen", "chartElement"])) : L("", !0),
|
|
26869
26870
|
o.value ? (d(), f("svg", {
|
|
26870
26871
|
key: 2,
|
|
26871
|
-
class: He({ "vue-data-ui-fullscreen--on":
|
|
26872
|
+
class: He({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
26872
26873
|
viewBox: `${O.value.startX} ${O.value.startY} ${O.value.width} ${O.value.height}`,
|
|
26873
26874
|
style: H(`max-width:100%;overflow:${u.value ? "hidden" : "visible"};background:${i.value.style.chart.backgroundColor};color:${i.value.style.chart.color}`),
|
|
26874
26875
|
id: `svg_${a.value}`
|
|
@@ -27355,10 +27356,10 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27355
27356
|
}
|
|
27356
27357
|
},
|
|
27357
27358
|
setup(e, { expose: t }) {
|
|
27358
|
-
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o =
|
|
27359
|
+
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o = N(Ct()), a = N(Ft.vue_ui_gauge), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(0), b = ie(() => Mt({
|
|
27359
27360
|
userConfig: l.config,
|
|
27360
27361
|
defaultConfig: a.value
|
|
27361
|
-
})), y =
|
|
27362
|
+
})), y = N({
|
|
27362
27363
|
inside: !b.value.style.chart.layout.useDiv
|
|
27363
27364
|
}), w = ie(() => {
|
|
27364
27365
|
if (!r.value || Ht(l.dataset.series || {}))
|
|
@@ -27391,7 +27392,7 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27391
27392
|
bottom: y.value.inside ? 435.2 : 358.4,
|
|
27392
27393
|
centerX: y.value.inside ? 256 : 179.2,
|
|
27393
27394
|
centerY: 256
|
|
27394
|
-
})), c =
|
|
27395
|
+
})), c = N(0), i = N(0), C = N(b.value.style.chart.animation.use ? 0 : l.dataset.value), F = ie(() => {
|
|
27395
27396
|
const we = u.value.width / 2, _e = u.value.height * 0.69, ne = Math.PI * ((C.value + 0 - i.value) / (c.value - i.value)) + Math.PI;
|
|
27396
27397
|
return {
|
|
27397
27398
|
x1: we,
|
|
@@ -27407,7 +27408,7 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27407
27408
|
}
|
|
27408
27409
|
return "#2D353C";
|
|
27409
27410
|
});
|
|
27410
|
-
|
|
27411
|
+
$t(() => {
|
|
27411
27412
|
Ht(l.dataset) ? et({
|
|
27412
27413
|
componentName: "VueUiGauge",
|
|
27413
27414
|
type: "dataset"
|
|
@@ -27528,7 +27529,7 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27528
27529
|
function se(we) {
|
|
27529
27530
|
return String(we).length > 2 ? 15 : 20;
|
|
27530
27531
|
}
|
|
27531
|
-
const J =
|
|
27532
|
+
const J = N(null);
|
|
27532
27533
|
function ye() {
|
|
27533
27534
|
s.value = !0;
|
|
27534
27535
|
}
|
|
@@ -27556,7 +27557,7 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27556
27557
|
});
|
|
27557
27558
|
}, 100);
|
|
27558
27559
|
}
|
|
27559
|
-
const Y =
|
|
27560
|
+
const Y = N(!1);
|
|
27560
27561
|
function de(we) {
|
|
27561
27562
|
Y.value = we, g.value += 1;
|
|
27562
27563
|
}
|
|
@@ -27823,12 +27824,12 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
27823
27824
|
io((ee) => ({
|
|
27824
27825
|
a9ab5acc: ee.tdo
|
|
27825
27826
|
}));
|
|
27826
|
-
const o = ie(() => !!r.dataset && r.dataset.length), a =
|
|
27827
|
+
const o = ie(() => !!r.dataset && r.dataset.length), a = N(Ct()), n = N(Ft.vue_ui_chestnut), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(0), y = ie(() => Mt({
|
|
27827
27828
|
userConfig: r.config,
|
|
27828
27829
|
defaultConfig: n.value
|
|
27829
|
-
})), w =
|
|
27830
|
+
})), w = N({
|
|
27830
27831
|
showTable: y.value.table.show
|
|
27831
|
-
}), u =
|
|
27832
|
+
}), u = N(null), c = N(!1), i = ie(() => y.value.table.responsiveBreakpoint), C = N({
|
|
27832
27833
|
gap: 6,
|
|
27833
27834
|
padding: {
|
|
27834
27835
|
top: 102,
|
|
@@ -27955,7 +27956,7 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
27955
27956
|
const ue = ve.value.find((R) => R.rootIndex === ee.rootIndex);
|
|
27956
27957
|
return { x: ue.x, y: ue.y, r: ue.r };
|
|
27957
27958
|
}
|
|
27958
|
-
const we =
|
|
27959
|
+
const we = N(null), _e = N(null), ne = N(null), G = N(null);
|
|
27959
27960
|
function X() {
|
|
27960
27961
|
we.value = null, ne.value = null, G.value = null;
|
|
27961
27962
|
}
|
|
@@ -27995,7 +27996,7 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
27995
27996
|
});
|
|
27996
27997
|
}).observe(u.value);
|
|
27997
27998
|
}
|
|
27998
|
-
|
|
27999
|
+
$t(() => {
|
|
27999
28000
|
Ht(r.dataset) && et({
|
|
28000
28001
|
componentName: "VueUiChestnut",
|
|
28001
28002
|
type: "dataset"
|
|
@@ -28003,7 +28004,7 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
28003
28004
|
const ee = ae.value * (C.value.branchSize + C.value.gap) + C.value.padding.top + C.value.padding.bottom;
|
|
28004
28005
|
C.value.height = ee, K();
|
|
28005
28006
|
});
|
|
28006
|
-
const I =
|
|
28007
|
+
const I = N(null);
|
|
28007
28008
|
function P() {
|
|
28008
28009
|
A.value = !0;
|
|
28009
28010
|
}
|
|
@@ -28067,8 +28068,8 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
28067
28068
|
gl({ csvContent: Fe, title: y.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
28068
28069
|
});
|
|
28069
28070
|
}
|
|
28070
|
-
const M =
|
|
28071
|
-
function
|
|
28071
|
+
const M = N(!1);
|
|
28072
|
+
function T(ee) {
|
|
28072
28073
|
M.value = ee, b.value += 1;
|
|
28073
28074
|
}
|
|
28074
28075
|
return t({
|
|
@@ -28098,7 +28099,7 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
28098
28099
|
hasFullscreen: "",
|
|
28099
28100
|
isFullscreen: M.value,
|
|
28100
28101
|
chartElement: v.value,
|
|
28101
|
-
onToggleFullscreen:
|
|
28102
|
+
onToggleFullscreen: T,
|
|
28102
28103
|
onGeneratePdf: j,
|
|
28103
28104
|
onGenerateCsv: pe,
|
|
28104
28105
|
onGenerateImage: fe,
|
|
@@ -28792,16 +28793,16 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, CU = ["font-size", "fill",
|
|
|
28792
28793
|
emits: ["selectLegend"],
|
|
28793
28794
|
setup(e, { expose: t, emit: l }) {
|
|
28794
28795
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
28795
|
-
|
|
28796
|
+
$t(() => {
|
|
28796
28797
|
Ht(r.dataset) && et({
|
|
28797
28798
|
componentName: "VueUiOnion",
|
|
28798
28799
|
type: "dataset"
|
|
28799
28800
|
});
|
|
28800
28801
|
});
|
|
28801
|
-
const a =
|
|
28802
|
+
const a = N(Ct()), n = N(Ft.vue_ui_onion), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(0), y = N(!1), w = N(""), u = ie(() => Mt({
|
|
28802
28803
|
userConfig: r.config,
|
|
28803
28804
|
defaultConfig: n.value
|
|
28804
|
-
})), c =
|
|
28805
|
+
})), c = N({
|
|
28805
28806
|
inside: !u.value.style.chart.layout.useDiv,
|
|
28806
28807
|
showTable: u.value.table.show
|
|
28807
28808
|
}), i = ie(() => {
|
|
@@ -28857,7 +28858,7 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, CU = ["font-size", "fill",
|
|
|
28857
28858
|
fontSize: u.value.style.chart.legend.fontSize,
|
|
28858
28859
|
paddingBottom: 12,
|
|
28859
28860
|
fontWeight: u.value.style.chart.legend.bold ? "bold" : ""
|
|
28860
|
-
})), O =
|
|
28861
|
+
})), O = N([]), W = ie(() => F.value.filter((U) => !O.value.includes(U.id)).length), ae = ie(() => ({
|
|
28861
28862
|
gutter: C.value.width / 2 / W.value * u.value.style.chart.layout.gutter.width,
|
|
28862
28863
|
track: C.value.width / 2 / W.value * u.value.style.chart.layout.track.width
|
|
28863
28864
|
})), se = ie(() => F.value.filter((U) => !O.value.includes(U.id)).map((U, S) => {
|
|
@@ -28913,7 +28914,7 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, CU = ["font-size", "fill",
|
|
|
28913
28914
|
breakpoint: u.value.table.responsiveBreakpoint
|
|
28914
28915
|
};
|
|
28915
28916
|
return { head: U, body: S, config: $, colNames: U };
|
|
28916
|
-
}), Y =
|
|
28917
|
+
}), Y = N(null);
|
|
28917
28918
|
function de() {
|
|
28918
28919
|
A.value = !0;
|
|
28919
28920
|
}
|
|
@@ -28947,11 +28948,11 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, CU = ["font-size", "fill",
|
|
|
28947
28948
|
gl({ csvContent: I, title: u.value.style.chart.title.text || "vue-ui-onion" });
|
|
28948
28949
|
});
|
|
28949
28950
|
}
|
|
28950
|
-
const X =
|
|
28951
|
+
const X = N(void 0), te = N(!1);
|
|
28951
28952
|
function re(U) {
|
|
28952
28953
|
te.value = U, b.value += 1;
|
|
28953
28954
|
}
|
|
28954
|
-
const _ =
|
|
28955
|
+
const _ = N(null);
|
|
28955
28956
|
function Q({ datapoint: U, seriesIndex: S, show: $ = !0 }) {
|
|
28956
28957
|
const K = U.absoluteIndex;
|
|
28957
28958
|
X.value = S, _.value = {
|
|
@@ -29261,32 +29262,32 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29261
29262
|
io((M) => ({
|
|
29262
29263
|
"312578ef": M.tdo
|
|
29263
29264
|
}));
|
|
29264
|
-
const o = ie(() => !!r.dataset && r.dataset.length), a =
|
|
29265
|
+
const o = ie(() => !!r.dataset && r.dataset.length), a = N(Ct()), n = N(Ft.vue_ui_vertical_bar), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(0), u = N(null), c = N(0), i = ie(() => Mt({
|
|
29265
29266
|
userConfig: r.config,
|
|
29266
29267
|
defaultConfig: n.value
|
|
29267
|
-
})), C =
|
|
29268
|
-
|
|
29268
|
+
})), C = N(null), F = N(!1), k = ie(() => i.value.table.responsiveBreakpoint);
|
|
29269
|
+
$t(() => {
|
|
29269
29270
|
Ht(r.dataset) && et({
|
|
29270
29271
|
componentName: "VueUiVerticalBar",
|
|
29271
29272
|
type: "dataset"
|
|
29272
|
-
}), w.value = r.dataset.flatMap((M) => M.children && M.children.length > 0 ? M.children.length : 1).reduce((M,
|
|
29273
|
+
}), w.value = r.dataset.flatMap((M) => M.children && M.children.length > 0 ? M.children.length : 1).reduce((M, T) => M + T, 0), O();
|
|
29273
29274
|
});
|
|
29274
29275
|
function O() {
|
|
29275
|
-
new ResizeObserver((
|
|
29276
|
-
|
|
29276
|
+
new ResizeObserver((T) => {
|
|
29277
|
+
T.forEach((ee) => {
|
|
29277
29278
|
F.value = ee.contentRect.width < k.value;
|
|
29278
29279
|
});
|
|
29279
29280
|
}).observe(C.value);
|
|
29280
29281
|
}
|
|
29281
|
-
const W =
|
|
29282
|
+
const W = N({
|
|
29282
29283
|
inside: !i.value.style.chart.layout.useDiv,
|
|
29283
29284
|
showTable: i.value.table.show,
|
|
29284
29285
|
sortDesc: i.value.style.chart.layout.bars.sort === "desc"
|
|
29285
|
-
}), ae = ie(() => W.value.sortDesc), se = ie(() => (r.dataset.forEach((M,
|
|
29286
|
+
}), ae = ie(() => W.value.sortDesc), se = ie(() => (r.dataset.forEach((M, T) => {
|
|
29286
29287
|
M.children && (Ht(M.children) ? et({
|
|
29287
29288
|
componentName: "VueUiVerticalBar",
|
|
29288
29289
|
type: "datasetAttributeEmpty",
|
|
29289
|
-
property: `children (index ${
|
|
29290
|
+
property: `children (index ${T})`
|
|
29290
29291
|
}) : M.children.forEach((ee, ue) => {
|
|
29291
29292
|
[null, void 0].includes(ee.name) && et({
|
|
29292
29293
|
componentName: "VueUiVerticalBar",
|
|
@@ -29296,8 +29297,8 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29296
29297
|
index: ue
|
|
29297
29298
|
});
|
|
29298
29299
|
}));
|
|
29299
|
-
}), r.dataset.map((M,
|
|
29300
|
-
const ee = `vertical_parent_${
|
|
29300
|
+
}), r.dataset.map((M, T) => {
|
|
29301
|
+
const ee = `vertical_parent_${T}_${a.value}`, ue = !!M.children && M.children.length > 0;
|
|
29301
29302
|
return {
|
|
29302
29303
|
...M,
|
|
29303
29304
|
id: ee,
|
|
@@ -29306,7 +29307,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29306
29307
|
value: ue ? M.children.map((R) => R.value || 0).reduce((R, me) => R + me, 0) : M.value || 0,
|
|
29307
29308
|
hasChildren: ue,
|
|
29308
29309
|
isChild: !1,
|
|
29309
|
-
color: mt(M.color) || Ye[
|
|
29310
|
+
color: mt(M.color) || Ye[T] || Ye[T % Ye.length],
|
|
29310
29311
|
children: !M.children || !M.children.length ? [] : M.children.toSorted((R, me) => ae.value ? me.value - R.value : R.value - me.value).map((R, me) => ({
|
|
29311
29312
|
...R,
|
|
29312
29313
|
value: R.value || 0,
|
|
@@ -29314,16 +29315,16 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29314
29315
|
parentId: ee,
|
|
29315
29316
|
parentName: M.name,
|
|
29316
29317
|
parentValue: M.value,
|
|
29317
|
-
id: `vertical_child_${
|
|
29318
|
+
id: `vertical_child_${T}_${me}_${a.value}`,
|
|
29318
29319
|
childIndex: me,
|
|
29319
|
-
color: mt(R.color) || mt(M.color) || Ye[
|
|
29320
|
+
color: mt(R.color) || mt(M.color) || Ye[T] || Ye[T % Ye.length]
|
|
29320
29321
|
})).map((R, me) => ({
|
|
29321
29322
|
...R,
|
|
29322
29323
|
isFirstChild: me === 0,
|
|
29323
29324
|
isLastChild: me === M.children.length - 1
|
|
29324
29325
|
}))
|
|
29325
29326
|
};
|
|
29326
|
-
}).toSorted((M,
|
|
29327
|
+
}).toSorted((M, T) => ae.value ? T.value - M.value : M.value - T.value))), J = ie(() => ({
|
|
29327
29328
|
cy: "vertical-bar-div-legend",
|
|
29328
29329
|
backgroundColor: i.value.style.chart.legend.backgroundColor,
|
|
29329
29330
|
color: i.value.style.chart.legend.color,
|
|
@@ -29348,26 +29349,26 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29348
29349
|
width: ye.value.width - (ye.value.padding.left + ye.value.padding.right)
|
|
29349
29350
|
}));
|
|
29350
29351
|
function z() {
|
|
29351
|
-
w.value = de.value.flatMap((M) => M.children && M.children.length > 0 ? M.children.length : 1).reduce((M,
|
|
29352
|
+
w.value = de.value.flatMap((M) => M.children && M.children.length > 0 ? M.children.length : 1).reduce((M, T) => M + T, 0);
|
|
29352
29353
|
}
|
|
29353
|
-
const V =
|
|
29354
|
+
const V = N([]);
|
|
29354
29355
|
function Y(M) {
|
|
29355
|
-
V.value.includes(M) ? V.value = V.value.filter((
|
|
29356
|
+
V.value.includes(M) ? V.value = V.value.filter((T) => T !== M) : V.value.push(M), z(), l("selectLegend", de.value);
|
|
29356
29357
|
}
|
|
29357
|
-
const de = ie(() => se.value.filter((M) => !V.value.includes(M.id))), we = ie(() => de.value.map((M) => M.value).reduce((M,
|
|
29358
|
-
function _e(M,
|
|
29359
|
-
return
|
|
29358
|
+
const de = ie(() => se.value.filter((M) => !V.value.includes(M.id))), we = ie(() => de.value.map((M) => M.value).reduce((M, T) => M + T));
|
|
29359
|
+
function _e(M, T = !1, ee = 0) {
|
|
29360
|
+
return T ? (M / we.value * 100).toFixed(ee) + "%" : M / we.value;
|
|
29360
29361
|
}
|
|
29361
|
-
const ne = ie(() => de.value.flatMap((M) => M.hasChildren ? M.children : M)), G = ie(() => Math.max(...de.value.flatMap((M) => M.children && M.children.length ? Math.max(...M.children.map((
|
|
29362
|
+
const ne = ie(() => de.value.flatMap((M) => M.hasChildren ? M.children : M)), G = ie(() => Math.max(...de.value.flatMap((M) => M.children && M.children.length ? Math.max(...M.children.map((T) => T.value)) : M.value)));
|
|
29362
29363
|
function X(M) {
|
|
29363
|
-
const
|
|
29364
|
-
return ve.value.width *
|
|
29364
|
+
const T = M / G.value;
|
|
29365
|
+
return ve.value.width * T;
|
|
29365
29366
|
}
|
|
29366
29367
|
function te(M) {
|
|
29367
29368
|
return X(M) + ve.value.left;
|
|
29368
29369
|
}
|
|
29369
|
-
function re(M,
|
|
29370
|
-
const ee = de.value.find((me) => me.id === M.parentId), ue = ve.value.top + (i.value.style.chart.layout.bars.gap + i.value.style.chart.layout.bars.height) *
|
|
29370
|
+
function re(M, T) {
|
|
29371
|
+
const ee = de.value.find((me) => me.id === M.parentId), ue = ve.value.top + (i.value.style.chart.layout.bars.gap + i.value.style.chart.layout.bars.height) * T, R = ee.children.length * (i.value.style.chart.layout.bars.gap + i.value.style.chart.layout.bars.height);
|
|
29371
29372
|
return {
|
|
29372
29373
|
y: ue + R / 2 - i.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
29373
29374
|
name: ee.name,
|
|
@@ -29378,11 +29379,11 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29378
29379
|
function _() {
|
|
29379
29380
|
return de.value;
|
|
29380
29381
|
}
|
|
29381
|
-
const Q =
|
|
29382
|
-
function S(M,
|
|
29382
|
+
const Q = N(null), U = N(null);
|
|
29383
|
+
function S(M, T) {
|
|
29383
29384
|
U.value = {
|
|
29384
29385
|
datapoint: M,
|
|
29385
|
-
seriesIndex:
|
|
29386
|
+
seriesIndex: T,
|
|
29386
29387
|
series: se.value,
|
|
29387
29388
|
config: i.value
|
|
29388
29389
|
}, b.value = !0, Q.value = M.id;
|
|
@@ -29392,18 +29393,18 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29392
29393
|
datapoint: M,
|
|
29393
29394
|
series: se.value,
|
|
29394
29395
|
config: i.value,
|
|
29395
|
-
seriesIndex:
|
|
29396
|
+
seriesIndex: T
|
|
29396
29397
|
})) ? y.value = me({
|
|
29397
29398
|
datapoint: M,
|
|
29398
29399
|
series: se.value,
|
|
29399
29400
|
config: i.value,
|
|
29400
|
-
seriesIndex:
|
|
29401
|
+
seriesIndex: T
|
|
29401
29402
|
}) : (ee += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
29402
29403
|
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" rx="2" stroke="none" fill="${M.color}"/></svg> ${ue}</div>
|
|
29403
29404
|
${R ? `<div>${R}</div>` : ""}
|
|
29404
29405
|
</div>`, i.value.style.chart.tooltip.showValue && (ee += `<div>${i.value.translations.value} : <b>${i.value.style.chart.tooltip.prefix}${[void 0, NaN, null].includes(M.value) ? "-" : M.value.toFixed(i.value.style.chart.tooltip.roundingValue)}${i.value.style.chart.tooltip.suffix}</b></div>`), i.value.style.chart.tooltip.showPercentage && (ee += `<div>${i.value.translations.percentageToTotal} : <b>${isNaN(M.value / we.value) ? "-" : `${(M.value / we.value * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`, M.isChild && (ee += `<div>${i.value.translations.percentageToSerie} : <b>${isNaN(M.value / M.parentValue) ? "-" : `${(M.value / M.parentValue * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`)), y.value = `<div style="text-align:left">${ee}</div>`);
|
|
29405
29406
|
}
|
|
29406
|
-
const $ =
|
|
29407
|
+
const $ = N(null);
|
|
29407
29408
|
function K() {
|
|
29408
29409
|
A.value = !0;
|
|
29409
29410
|
}
|
|
@@ -29440,7 +29441,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29440
29441
|
i.value.translations.value,
|
|
29441
29442
|
i.value.translations.percentageToSerie,
|
|
29442
29443
|
i.value.translations.percentageToTotal
|
|
29443
|
-
],
|
|
29444
|
+
], T = ne.value.map((ee) => ee.isChild ? ee.isFirstChild ? {
|
|
29444
29445
|
color: ee.color,
|
|
29445
29446
|
parentName: ee.parentName,
|
|
29446
29447
|
parentValue: ee.parentValue,
|
|
@@ -29468,10 +29469,10 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29468
29469
|
childPercentageToParent: "",
|
|
29469
29470
|
childPercentageToTotal: ""
|
|
29470
29471
|
});
|
|
29471
|
-
return { head: M, body:
|
|
29472
|
+
return { head: M, body: T };
|
|
29472
29473
|
});
|
|
29473
29474
|
function fe() {
|
|
29474
|
-
const M = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]],
|
|
29475
|
+
const M = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]], T = q.value.head, ee = q.value.body.map((me) => [
|
|
29475
29476
|
me.parentName,
|
|
29476
29477
|
me.parentValue,
|
|
29477
29478
|
me.percentageToTotal,
|
|
@@ -29479,10 +29480,10 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29479
29480
|
me.childValue,
|
|
29480
29481
|
me.childPercentageToParent,
|
|
29481
29482
|
me.childPercentageToTotal
|
|
29482
|
-
]), ue = M.concat([
|
|
29483
|
+
]), ue = M.concat([T]).concat(ee), R = yl(ue);
|
|
29483
29484
|
gl({ csvContent: R, title: i.value.style.chart.title.text || "vue-ui-vertical-bar" });
|
|
29484
29485
|
}
|
|
29485
|
-
const Z =
|
|
29486
|
+
const Z = N(!1);
|
|
29486
29487
|
function pe(M) {
|
|
29487
29488
|
Z.value = M, c.value += 1;
|
|
29488
29489
|
}
|
|
@@ -29492,7 +29493,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29492
29493
|
generatePdf: I,
|
|
29493
29494
|
generateCsv: fe,
|
|
29494
29495
|
generateImage: j
|
|
29495
|
-
}), (M,
|
|
29496
|
+
}), (M, T) => (d(), f("div", {
|
|
29496
29497
|
class: He(`vue-ui-vertical-bar ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${i.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
29497
29498
|
ref_key: "verticalBarChart",
|
|
29498
29499
|
ref: v,
|
|
@@ -29542,8 +29543,8 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29542
29543
|
onGeneratePdf: I,
|
|
29543
29544
|
onGenerateCsv: fe,
|
|
29544
29545
|
onGenerateImage: j,
|
|
29545
|
-
onToggleTable:
|
|
29546
|
-
onToggleSort:
|
|
29546
|
+
onToggleTable: T[0] || (T[0] = (ee) => W.value.showTable = !W.value.showTable),
|
|
29547
|
+
onToggleSort: T[1] || (T[1] = () => {
|
|
29547
29548
|
W.value.sortDesc = !W.value.sortDesc, z();
|
|
29548
29549
|
})
|
|
29549
29550
|
}, null, 8, ["backgroundColor", "color", "isImaging", "isPrinting", "title", "uid", "isFullscreen", "chartElement"])) : L("", !0),
|
|
@@ -29551,7 +29552,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29551
29552
|
key: 2,
|
|
29552
29553
|
legendSet: se.value,
|
|
29553
29554
|
config: J.value,
|
|
29554
|
-
onClickMarker:
|
|
29555
|
+
onClickMarker: T[2] || (T[2] = ({ legend: ee }) => Y(ee.id))
|
|
29555
29556
|
}, {
|
|
29556
29557
|
item: Ie(({ legend: ee }) => [
|
|
29557
29558
|
p("div", {
|
|
@@ -29677,7 +29678,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29677
29678
|
height: i.value.style.chart.layout.bars.height + i.value.style.chart.layout.bars.gap,
|
|
29678
29679
|
fill: Q.value === ee.id ? `${i.value.style.chart.layout.highlighter.color}${Be(lt)[i.value.style.chart.layout.highlighter.opacity]}` : "transparent",
|
|
29679
29680
|
onMouseenter: (R) => S(ee, ue),
|
|
29680
|
-
onMouseleave:
|
|
29681
|
+
onMouseleave: T[3] || (T[3] = (R) => {
|
|
29681
29682
|
u.value = null, b.value = !1, Q.value = null;
|
|
29682
29683
|
})
|
|
29683
29684
|
}, null, 40, t$)
|
|
@@ -29693,7 +29694,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29693
29694
|
ot(Ql, {
|
|
29694
29695
|
legendSet: se.value,
|
|
29695
29696
|
config: J.value,
|
|
29696
|
-
onClickMarker:
|
|
29697
|
+
onClickMarker: T[4] || (T[4] = ({ legend: ee }) => Y(ee.id))
|
|
29697
29698
|
}, {
|
|
29698
29699
|
item: Ie(({ legend: ee }) => [
|
|
29699
29700
|
p("div", {
|
|
@@ -29725,7 +29726,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29725
29726
|
key: 5,
|
|
29726
29727
|
legendSet: se.value,
|
|
29727
29728
|
config: J.value,
|
|
29728
|
-
onClickMarker:
|
|
29729
|
+
onClickMarker: T[5] || (T[5] = ({ legend: ee }) => Y(ee.id))
|
|
29729
29730
|
}, {
|
|
29730
29731
|
item: Ie(({ legend: ee }) => [
|
|
29731
29732
|
p("div", {
|
|
@@ -29888,7 +29889,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29888
29889
|
},
|
|
29889
29890
|
emits: ["postImage"],
|
|
29890
29891
|
setup(e, { expose: t, emit: l }) {
|
|
29891
|
-
const r = e, o =
|
|
29892
|
+
const r = e, o = N(`vue-ui-screenshot-${Math.random()}`), a = N(Ft.vue_ui_screenshot), n = ie(() => {
|
|
29892
29893
|
if (!Object.keys(r.config || {}).length)
|
|
29893
29894
|
return a.value;
|
|
29894
29895
|
const G = Xn({
|
|
@@ -29896,7 +29897,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29896
29897
|
userConfig: r.config
|
|
29897
29898
|
});
|
|
29898
29899
|
return qn(G);
|
|
29899
|
-
}), s =
|
|
29900
|
+
}), s = N(null), A = N(null), v = N(null), g = N(null), b = N(null), y = N(null), w = N(null), u = N(null), c = N(null), i = N(null), C = N(null), F = N(!1), k = N(null);
|
|
29900
29901
|
function O() {
|
|
29901
29902
|
const G = document.createElement("DIV");
|
|
29902
29903
|
return G.style.position = "fixed", G.style.top = "200px", G.style.left = "100px", G.style.width = `${n.value.style.captureArea.initialWidth}px`, G.style.height = `${n.value.style.captureArea.initialHeight}px`, G.style.background = n.value.style.captureArea.background, G.style.cursor = "move", G.style.boxSizing = "border-box", G.style.border = n.value.style.captureArea.border, G.style.resize = "both", G.style.padding = "none !important", G.style.margin = "none !important", G.dataset.cy = "screenshot-overlay", G;
|
|
@@ -30056,10 +30057,10 @@ const B$ = {
|
|
|
30056
30057
|
},
|
|
30057
30058
|
emits: ["rate"],
|
|
30058
30059
|
setup(e, { expose: t, emit: l }) {
|
|
30059
|
-
const r = e, o =
|
|
30060
|
+
const r = e, o = N(Ct()), a = N(Ft.vue_ui_rating), n = N(!1), s = N(void 0), A = N([]), v = ie(() => Mt({
|
|
30060
30061
|
userConfig: r.config,
|
|
30061
30062
|
defaultConfig: a.value
|
|
30062
|
-
})), g = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? c(r.dataset.rating) : r.dataset.rating), b = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), y =
|
|
30063
|
+
})), g = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? c(r.dataset.rating) : r.dataset.rating), b = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), y = N(g.value), w = N(v.value.type === "image"), u = N(v.value.readonly);
|
|
30063
30064
|
function c(W) {
|
|
30064
30065
|
let ae = 0, se = 0;
|
|
30065
30066
|
for (const ye in W) {
|
|
@@ -30071,7 +30072,7 @@ const B$ = {
|
|
|
30071
30072
|
const J = ae / se;
|
|
30072
30073
|
return Math.min(v.value.to, Math.max(v.value.from, J));
|
|
30073
30074
|
}
|
|
30074
|
-
|
|
30075
|
+
$t(() => {
|
|
30075
30076
|
Ht(r.dataset) && et({
|
|
30076
30077
|
componentName: "VueUiRating",
|
|
30077
30078
|
type: "dataset"
|
|
@@ -30331,10 +30332,10 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30331
30332
|
componentName: "VueUiHeatmap",
|
|
30332
30333
|
type: "dataset"
|
|
30333
30334
|
});
|
|
30334
|
-
const o =
|
|
30335
|
+
const o = N(Ct()), a = N(Ft.vue_ui_heatmap), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(!1), b = N(""), y = N(void 0), w = N(0), u = N(null), c = N(!1), i = ie(() => Mt({
|
|
30335
30336
|
userConfig: l.config,
|
|
30336
30337
|
defaultConfig: a.value
|
|
30337
|
-
})), C =
|
|
30338
|
+
})), C = N({
|
|
30338
30339
|
inside: !i.value.style.layout.useDiv,
|
|
30339
30340
|
showTable: i.value.table.show
|
|
30340
30341
|
}), F = ie(() => i.value.table.responsiveBreakpoint);
|
|
@@ -30345,7 +30346,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30345
30346
|
});
|
|
30346
30347
|
}).observe(u.value);
|
|
30347
30348
|
}
|
|
30348
|
-
|
|
30349
|
+
$t(k);
|
|
30349
30350
|
const O = ie(() => Math.max(...l.dataset.flatMap((I) => (I.values || []).length))), W = ie(() => {
|
|
30350
30351
|
const I = i.value.style.layout.padding.top + i.value.style.layout.padding.bottom + l.dataset.length * i.value.style.layout.cells.height + (C.value.inside ? 92 : 0), P = i.value.style.layout.padding.left + i.value.style.layout.padding.right + (O.value < l.dataset.length ? l.dataset.length : O.value) * i.value.style.layout.cells.height, j = I + (i.value.style.legend.show ? i.value.style.legend.position === "right" ? 0 : i.value.style.layout.cells.height * 2 : 0);
|
|
30351
30352
|
return {
|
|
@@ -30403,7 +30404,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30403
30404
|
xAxisName: Y.value.xLabels[j],
|
|
30404
30405
|
id: `vue-data-ui-heatmap-cell-${Ct()}`
|
|
30405
30406
|
})
|
|
30406
|
-
})))), we =
|
|
30407
|
+
})))), we = N(null), _e = N(null);
|
|
30407
30408
|
function ne(I, P) {
|
|
30408
30409
|
const { value: j, yAxisName: q, xAxisName: fe, id: Z } = I;
|
|
30409
30410
|
y.value = Z, we.value = j, _e.value = {
|
|
@@ -30426,7 +30427,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30426
30427
|
config: i.value
|
|
30427
30428
|
}) : (pe += `<div>${q} ${fe ? `${fe}` : ""}</div>`, pe += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8;font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${Ks(i.value.style.layout.cells.colors.cold, i.value.style.layout.cells.colors.hot, ve.value, ye.value, j)}">⬤</span><span>${isNaN(j) ? "-" : ft({ p: i.value.style.layout.dataLabels.prefix, v: j, s: i.value.style.layout.dataLabels.suffix, r: i.value.style.tooltip.roundingValue })}</span></div>`, b.value = `<div style="font-size:${i.value.style.tooltip.fontSize}px">${pe}</div>`);
|
|
30428
30429
|
}
|
|
30429
|
-
const G = ie(() => se.value.top + J.value * (1 - we.value / ye.value)), X = ie(() => se.value.left + (W.value.width - se.value.left - i.value.style.layout.padding.right) * (we.value / ye.value)), te =
|
|
30430
|
+
const G = ie(() => se.value.top + J.value * (1 - we.value / ye.value)), X = ie(() => se.value.left + (W.value.width - se.value.left - i.value.style.layout.padding.right) * (we.value / ye.value)), te = N(null);
|
|
30430
30431
|
function re() {
|
|
30431
30432
|
s.value = !0;
|
|
30432
30433
|
}
|
|
@@ -30473,7 +30474,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30473
30474
|
gl({ csvContent: q, title: i.value.style.title.text || "vue-ui-heatmap" });
|
|
30474
30475
|
});
|
|
30475
30476
|
}
|
|
30476
|
-
const $ =
|
|
30477
|
+
const $ = N(!1);
|
|
30477
30478
|
function K(I) {
|
|
30478
30479
|
$.value = I, w.value += 1;
|
|
30479
30480
|
}
|
|
@@ -30838,8 +30839,8 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30838
30839
|
}
|
|
30839
30840
|
},
|
|
30840
30841
|
setup(e, { expose: t }) {
|
|
30841
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
30842
|
-
|
|
30842
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_scatter), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(!1), b = N(""), y = N(0);
|
|
30843
|
+
$t(() => {
|
|
30843
30844
|
Ht(l.dataset) && et({
|
|
30844
30845
|
componentName: "VueUiScatter",
|
|
30845
30846
|
type: "dataset"
|
|
@@ -30853,7 +30854,7 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30853
30854
|
const w = ie(() => Mt({
|
|
30854
30855
|
userConfig: l.config,
|
|
30855
30856
|
defaultConfig: a.value
|
|
30856
|
-
})), u =
|
|
30857
|
+
})), u = N({
|
|
30857
30858
|
inside: !w.value.style.layout.useDiv,
|
|
30858
30859
|
showTable: w.value.table.show
|
|
30859
30860
|
}), c = ie(() => ({
|
|
@@ -30938,9 +30939,9 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30938
30939
|
y1: q * i.value.left + fe,
|
|
30939
30940
|
y2: q * i.value.right + fe,
|
|
30940
30941
|
coefficient: j
|
|
30941
|
-
}, pe = (Z.y2 - Z.y1) / (Z.x2 - Z.x1), M = Z.y1 - pe * Z.x1,
|
|
30942
|
-
x:
|
|
30943
|
-
y: pe *
|
|
30942
|
+
}, pe = (Z.y2 - Z.y1) / (Z.x2 - Z.x1), M = Z.y1 - pe * Z.x1, T = Math.min(c.value.width - w.value.style.layout.padding.right, Math.max(w.value.style.layout.padding.left, (i.value.top - M) / pe)), ee = {
|
|
30943
|
+
x: T,
|
|
30944
|
+
y: pe * T + M <= w.value.style.layout.padding.top ? i.value.top : pe * T + M
|
|
30944
30945
|
};
|
|
30945
30946
|
return {
|
|
30946
30947
|
...U,
|
|
@@ -30960,7 +30961,7 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30960
30961
|
function se() {
|
|
30961
30962
|
return ae.value;
|
|
30962
30963
|
}
|
|
30963
|
-
const J =
|
|
30964
|
+
const J = N(void 0), ye = N(null), ve = N(null);
|
|
30964
30965
|
function z(U, S) {
|
|
30965
30966
|
J.value = U.id, ye.value = U;
|
|
30966
30967
|
let $ = "";
|
|
@@ -30986,11 +30987,11 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30986
30987
|
function V() {
|
|
30987
30988
|
g.value = !1, J.value = void 0, ye.value = null;
|
|
30988
30989
|
}
|
|
30989
|
-
const Y =
|
|
30990
|
+
const Y = N([]);
|
|
30990
30991
|
function de(U) {
|
|
30991
30992
|
Y.value.includes(U) ? Y.value = Y.value.filter((S) => S !== U) : Y.value.length < l.dataset.length - 1 && Y.value.push(U);
|
|
30992
30993
|
}
|
|
30993
|
-
const we =
|
|
30994
|
+
const we = N(null);
|
|
30994
30995
|
function _e() {
|
|
30995
30996
|
s.value = !0;
|
|
30996
30997
|
}
|
|
@@ -31061,7 +31062,7 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
31061
31062
|
breakpoint: w.value.table.responsiveBreakpoint
|
|
31062
31063
|
};
|
|
31063
31064
|
return { head: U, body: S, config: $, colNames: U };
|
|
31064
|
-
}), _ =
|
|
31065
|
+
}), _ = N(!1);
|
|
31065
31066
|
function Q(U) {
|
|
31066
31067
|
_.value = U, y.value += 1;
|
|
31067
31068
|
}
|
|
@@ -31420,8 +31421,8 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31420
31421
|
}
|
|
31421
31422
|
},
|
|
31422
31423
|
setup(e, { expose: t }) {
|
|
31423
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
31424
|
-
|
|
31424
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_candlestick), n = N(!1), s = N(!1), A = N(null), v = N(!1), g = N(""), b = N(null), y = N(void 0), w = N(0);
|
|
31425
|
+
$t(() => {
|
|
31425
31426
|
Ht(l.dataset) && et({
|
|
31426
31427
|
componentName: "VueUiCandlestick",
|
|
31427
31428
|
type: "dataset"
|
|
@@ -31444,7 +31445,7 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31444
31445
|
const u = ie(() => Mt({
|
|
31445
31446
|
userConfig: l.config,
|
|
31446
31447
|
defaultConfig: a.value
|
|
31447
|
-
})), c =
|
|
31448
|
+
})), c = N({
|
|
31448
31449
|
inside: !u.value.style.layout.useDiv,
|
|
31449
31450
|
showTable: u.value.table.show
|
|
31450
31451
|
}), i = ie(() => ({
|
|
@@ -31460,7 +31461,7 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31460
31461
|
width: i.value.width - I - $,
|
|
31461
31462
|
height: i.value.height - S - K
|
|
31462
31463
|
};
|
|
31463
|
-
}), F = ie(() => l.dataset.length), k =
|
|
31464
|
+
}), F = ie(() => l.dataset.length), k = N({
|
|
31464
31465
|
start: 0,
|
|
31465
31466
|
end: F.value
|
|
31466
31467
|
}), O = ie(() => l.dataset.slice(k.value.start, k.value.end)), W = ie(() => (l.dataset.forEach((S, $) => {
|
|
@@ -31532,7 +31533,7 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31532
31533
|
const V = ie(() => J.value.ticks.map((S) => ({
|
|
31533
31534
|
y: C.value.bottom - C.value.height * z(S),
|
|
31534
31535
|
value: S
|
|
31535
|
-
}))), Y = ie(() => W.value.map((S) => S.period)), de =
|
|
31536
|
+
}))), Y = ie(() => W.value.map((S) => S.period)), de = N(null);
|
|
31536
31537
|
function we(S, $) {
|
|
31537
31538
|
y.value = S, de.value = {
|
|
31538
31539
|
datapoint: $,
|
|
@@ -31555,13 +31556,13 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31555
31556
|
});
|
|
31556
31557
|
else if (u.value.style.tooltip.show) {
|
|
31557
31558
|
let I = "";
|
|
31558
|
-
const { period: P, open: j, high: q, low: fe, last: Z, volume: pe, isBullish: M } = ve.value[S], { period:
|
|
31559
|
+
const { period: P, open: j, high: q, low: fe, last: Z, volume: pe, isBullish: M } = ve.value[S], { period: T, open: ee, high: ue, low: R, last: me, volume: Fe } = u.value.translations;
|
|
31559
31560
|
I += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${u.value.style.layout.candle.borderRadius * 3}" stroke="${u.value.style.layout.candle.stroke}" stroke-width="${u.value.style.layout.candle.strokeWidth}"
|
|
31560
31561
|
fill="${u.value.style.layout.candle.gradient.show ? M ? `url(#bullish_gradient_${o.value})` : `url(#bearish_gradient_${o.value})` : M ? u.value.style.layout.candle.colors.bullish : u.value.style.layout.candle.colors.bearish}"/></svg>${P}</div>`, I += `${Fe} : <b>${isNaN(pe) ? "-" : Number(pe.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, I += '<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8">', I += `<div>${ee} : <b>${u.value.style.tooltip.prefix} ${isNaN(j.value) ? "-" : Number(j.value.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()} ${u.value.style.tooltip.suffix}</b></div>`, I += `<div>${ue} : <b>${u.value.style.tooltip.prefix} ${isNaN(q.value) ? "-" : Number(q.value.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()} ${u.value.style.tooltip.suffix}</b></div>`, I += `<div>${R} : <b>${u.value.style.tooltip.prefix} ${isNaN(fe.value) ? "-" : Number(fe.value.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()} ${u.value.style.tooltip.suffix}</b></div>`, I += `<div>${me} : <b>${u.value.style.tooltip.prefix} ${isNaN(Z.value) ? "-" : Number(Z.value.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()} ${u.value.style.tooltip.suffix}</b></div>`, I += "</div>", g.value = `<div style="text-align:right">${I}</div>`;
|
|
31561
31562
|
}
|
|
31562
31563
|
v.value = !0;
|
|
31563
31564
|
}
|
|
31564
|
-
const _e =
|
|
31565
|
+
const _e = N(null);
|
|
31565
31566
|
function ne() {
|
|
31566
31567
|
s.value = !0;
|
|
31567
31568
|
}
|
|
@@ -31631,7 +31632,7 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31631
31632
|
u.value.translations.volume
|
|
31632
31633
|
];
|
|
31633
31634
|
return { head: K, body: S, config: $, colNames: K };
|
|
31634
|
-
}), Q =
|
|
31635
|
+
}), Q = N(!1);
|
|
31635
31636
|
function U(S) {
|
|
31636
31637
|
Q.value = S, w.value += 1;
|
|
31637
31638
|
}
|
|
@@ -31997,16 +31998,16 @@ const YQ = ["id"], JQ = ["viewBox"], ZQ = ["id"], eM = ["stop-color"], tM = ["st
|
|
|
31997
31998
|
},
|
|
31998
31999
|
setup(e, { expose: t }) {
|
|
31999
32000
|
const l = e, r = ie(() => !!l.dataset && l.dataset.length);
|
|
32000
|
-
|
|
32001
|
+
$t(() => {
|
|
32001
32002
|
Ht(l.dataset) && et({
|
|
32002
32003
|
componentName: "VueUiAgePyramid",
|
|
32003
32004
|
type: "dataset"
|
|
32004
32005
|
});
|
|
32005
32006
|
});
|
|
32006
|
-
const o =
|
|
32007
|
+
const o = N(Ct()), a = N(Ft.vue_ui_age_pyramid), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(!1), b = N(""), y = N(null), w = N(0), u = ie(() => Mt({
|
|
32007
32008
|
userConfig: l.config,
|
|
32008
32009
|
defaultConfig: a.value
|
|
32009
|
-
})), c =
|
|
32010
|
+
})), c = N({
|
|
32010
32011
|
inside: !u.value.style.layout.useDiv,
|
|
32011
32012
|
showTable: u.value.table.show
|
|
32012
32013
|
}), i = ie(() => ({
|
|
@@ -32088,7 +32089,7 @@ const YQ = ["id"], JQ = ["viewBox"], ZQ = ["id"], eM = ["stop-color"], tM = ["st
|
|
|
32088
32089
|
height: Q
|
|
32089
32090
|
}
|
|
32090
32091
|
};
|
|
32091
|
-
})), ye =
|
|
32092
|
+
})), ye = N(null);
|
|
32092
32093
|
function ve(te, re) {
|
|
32093
32094
|
y.value = te, ye.value = {
|
|
32094
32095
|
datapoint: re,
|
|
@@ -32126,7 +32127,7 @@ const YQ = ["id"], JQ = ["viewBox"], ZQ = ["id"], eM = ["stop-color"], tM = ["st
|
|
|
32126
32127
|
}
|
|
32127
32128
|
g.value = !0;
|
|
32128
32129
|
}
|
|
32129
|
-
const z =
|
|
32130
|
+
const z = N(null);
|
|
32130
32131
|
function V() {
|
|
32131
32132
|
s.value = !0;
|
|
32132
32133
|
}
|
|
@@ -32193,7 +32194,7 @@ const YQ = ["id"], JQ = ["viewBox"], ZQ = ["id"], eM = ["stop-color"], tM = ["st
|
|
|
32193
32194
|
breakpoint: u.value.table.responsiveBreakpoint
|
|
32194
32195
|
};
|
|
32195
32196
|
return { head: te, body: re, config: _, colNames: te };
|
|
32196
|
-
}), G =
|
|
32197
|
+
}), G = N(!1);
|
|
32197
32198
|
function X(te) {
|
|
32198
32199
|
G.value = te, w.value += 1;
|
|
32199
32200
|
}
|
|
@@ -32534,10 +32535,10 @@ const LM = (e) => (Ao("data-v-5f9a401a"), e = e(), uo(), e), UM = {
|
|
|
32534
32535
|
"75ab387a": z.value,
|
|
32535
32536
|
"99f5c3c0": V.value
|
|
32536
32537
|
}));
|
|
32537
|
-
const o =
|
|
32538
|
+
const o = N(Ft.vue_ui_dashboard), a = ie(() => Mt({
|
|
32538
32539
|
userConfig: r.config,
|
|
32539
32540
|
defaultConfig: o.value
|
|
32540
|
-
})), n =
|
|
32541
|
+
})), n = N(`vue-ui-dashboard-${Math.random()}`), s = N(r.dataset), A = N(null), v = N(null), g = N({ x: 0, y: 0 }), b = N({ x: 0, y: 0 }), y = N(null), w = N(!1), u = N(null), c = N(!1);
|
|
32541
32542
|
function i() {
|
|
32542
32543
|
c.value = !0, el({
|
|
32543
32544
|
domElement: document.getElementById(`vue-ui-dashboard_${n.value}`),
|
|
@@ -34996,16 +34997,16 @@ const Yl = (e) => (Ao("data-v-e7267f47"), e = e(), uo(), e), mI = {
|
|
|
34996
34997
|
emits: ["rate"],
|
|
34997
34998
|
setup(e, { expose: t, emit: l }) {
|
|
34998
34999
|
const r = e;
|
|
34999
|
-
|
|
35000
|
+
$t(() => {
|
|
35000
35001
|
Ht(r.dataset) && et({
|
|
35001
35002
|
componentName: "VueUiSmiley",
|
|
35002
35003
|
type: "dataset"
|
|
35003
35004
|
});
|
|
35004
35005
|
});
|
|
35005
|
-
const o =
|
|
35006
|
+
const o = N(Ft.vue_ui_smiley), a = N(!1), n = N(void 0), s = ie(() => Mt({
|
|
35006
35007
|
userConfig: r.config,
|
|
35007
35008
|
defaultConfig: o.value
|
|
35008
|
-
})), A = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? y(r.dataset.rating) : r.dataset.rating || null), v = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), g =
|
|
35009
|
+
})), A = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? y(r.dataset.rating) : r.dataset.rating || null), v = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), g = N(A.value), b = N(s.value.readonly);
|
|
35009
35010
|
function y(F) {
|
|
35010
35011
|
if (F === null)
|
|
35011
35012
|
return null;
|
|
@@ -35662,14 +35663,14 @@ const dN = ["id"], hN = ["viewBox"], fN = { key: 0 }, vN = ["font-size", "fill",
|
|
|
35662
35663
|
"0936e62e": W.value,
|
|
35663
35664
|
"32bb470b": se.value
|
|
35664
35665
|
}));
|
|
35665
|
-
const r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o =
|
|
35666
|
+
const r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o = N(Ct()), a = N(Ft.vue_ui_relation_circle), n = N(!1), s = N(!1), A = N(null), v = N(0), g = ie(() => Mt({
|
|
35666
35667
|
userConfig: l.config,
|
|
35667
35668
|
defaultConfig: a.value
|
|
35668
|
-
})), b =
|
|
35669
|
+
})), b = N([]), y = ie(() => g.value.style.size * g.value.style.circle.radiusProportion), w = N([]), u = N({}), c = N([]), i = N(0), C = ie(() => l.dataset.slice(0, g.value.style.limit)), F = ie(() => g.value.style.size), k = ie(() => ({
|
|
35669
35670
|
height: g.value.style.size,
|
|
35670
35671
|
width: g.value.style.size
|
|
35671
35672
|
})), O = ie(() => g.value.style.links.curved), W = ie(() => `${g.value.style.animation.speedMs}ms`), ae = ie(() => y.value * 2), se = ie(() => y.value * 4);
|
|
35672
|
-
|
|
35673
|
+
$t(() => {
|
|
35673
35674
|
Ht(l.dataset) ? et({
|
|
35674
35675
|
componentName: "VueUiRelationCircle",
|
|
35675
35676
|
type: "dataset"
|
|
@@ -35746,7 +35747,7 @@ const dN = ["id"], hN = ["viewBox"], fN = { key: 0 }, vN = ["font-size", "fill",
|
|
|
35746
35747
|
function te(I) {
|
|
35747
35748
|
return I.weight / z.value * g.value.style.links.maxWidth;
|
|
35748
35749
|
}
|
|
35749
|
-
const re =
|
|
35750
|
+
const re = N(null);
|
|
35750
35751
|
function _() {
|
|
35751
35752
|
s.value = !0;
|
|
35752
35753
|
}
|
|
@@ -35774,7 +35775,7 @@ const dN = ["id"], hN = ["viewBox"], fN = { key: 0 }, vN = ["font-size", "fill",
|
|
|
35774
35775
|
});
|
|
35775
35776
|
}, 100);
|
|
35776
35777
|
}
|
|
35777
|
-
const $ =
|
|
35778
|
+
const $ = N(!1);
|
|
35778
35779
|
function K(I) {
|
|
35779
35780
|
$.value = I, v.value += 1;
|
|
35780
35781
|
}
|
|
@@ -35959,7 +35960,7 @@ const _N = ["id"], FN = {
|
|
|
35959
35960
|
"6b0f96f4": se.value
|
|
35960
35961
|
}));
|
|
35961
35962
|
const r = ie(() => !!l.dataset && Object.keys(l.dataset).length);
|
|
35962
|
-
|
|
35963
|
+
$t(() => {
|
|
35963
35964
|
Ht(l.dataset) ? et({
|
|
35964
35965
|
componentName: "VueUiThermometer",
|
|
35965
35966
|
type: "dataset"
|
|
@@ -35974,12 +35975,12 @@ const _N = ["id"], FN = {
|
|
|
35974
35975
|
});
|
|
35975
35976
|
});
|
|
35976
35977
|
});
|
|
35977
|
-
const o =
|
|
35978
|
+
const o = N(Ct()), a = N(Ft.vue_ui_thermometer), n = N(!1), s = N(!1), A = N(null), v = N(0), g = ie(() => Mt({
|
|
35978
35979
|
userConfig: l.config,
|
|
35979
35980
|
defaultConfig: a.value
|
|
35980
|
-
})), b = ie(() => g.value.style.chart.thermometer.width), y =
|
|
35981
|
+
})), b = ie(() => g.value.style.chart.thermometer.width), y = N({
|
|
35981
35982
|
inside: !g.value.style.title.useDiv
|
|
35982
|
-
}), w = ie(() => l.dataset.steps || 10), u =
|
|
35983
|
+
}), w = ie(() => l.dataset.steps || 10), u = N({
|
|
35983
35984
|
top: y.inside ? g.value.style.chart.padding.top + 64 : g.value.style.chart.padding.top,
|
|
35984
35985
|
left: g.value.style.chart.padding.left,
|
|
35985
35986
|
right: g.value.style.chart.padding.right,
|
|
@@ -36048,7 +36049,7 @@ const _N = ["id"], FN = {
|
|
|
36048
36049
|
height: re / w.value
|
|
36049
36050
|
}), te += 1;
|
|
36050
36051
|
return X;
|
|
36051
|
-
}), V =
|
|
36052
|
+
}), V = N(null);
|
|
36052
36053
|
function Y() {
|
|
36053
36054
|
s.value = !0, u.value.top = g.value.style.chart.padding.top;
|
|
36054
36055
|
}
|
|
@@ -36076,7 +36077,7 @@ const _N = ["id"], FN = {
|
|
|
36076
36077
|
});
|
|
36077
36078
|
}, 100);
|
|
36078
36079
|
}
|
|
36079
|
-
const ne =
|
|
36080
|
+
const ne = N(!1);
|
|
36080
36081
|
function G(X) {
|
|
36081
36082
|
ne.value = X, v.value += 1;
|
|
36082
36083
|
}
|
|
@@ -36347,15 +36348,15 @@ const ZN = ["viewBox"], eT = ["id"], tT = ["stop-color"], lT = ["stop-color"], a
|
|
|
36347
36348
|
},
|
|
36348
36349
|
emits: ["selectDatapoint"],
|
|
36349
36350
|
setup(e, { emit: t }) {
|
|
36350
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
36351
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_sparkstackbar), n = ie(() => Mt({
|
|
36351
36352
|
userConfig: l.config,
|
|
36352
36353
|
defaultConfig: a.value
|
|
36353
|
-
})), s =
|
|
36354
|
+
})), s = N(l.dataset.map((i, C) => ({
|
|
36354
36355
|
...i,
|
|
36355
36356
|
value: n.value.style.animation.show ? 0 : i.value || 0,
|
|
36356
36357
|
color: i.color ? mt(i.color) : Ye[C] || Ye[C % Ye.length]
|
|
36357
36358
|
})));
|
|
36358
|
-
|
|
36359
|
+
$t(() => {
|
|
36359
36360
|
if (Ht(l.dataset) ? et({
|
|
36360
36361
|
componentName: "VueUiSparkStackbar",
|
|
36361
36362
|
type: "dataset"
|
|
@@ -36389,10 +36390,10 @@ const ZN = ["viewBox"], eT = ["id"], tT = ["stop-color"], lT = ["stop-color"], a
|
|
|
36389
36390
|
O();
|
|
36390
36391
|
}
|
|
36391
36392
|
});
|
|
36392
|
-
const A =
|
|
36393
|
+
const A = N({
|
|
36393
36394
|
width: 500,
|
|
36394
36395
|
height: 16
|
|
36395
|
-
}), v =
|
|
36396
|
+
}), v = N([]);
|
|
36396
36397
|
function g(i) {
|
|
36397
36398
|
v.value.includes(i) ? v.value = v.value.filter((C) => C !== i) : v.value.length < s.value.length - 1 && v.value.push(i);
|
|
36398
36399
|
}
|
|
@@ -36564,7 +36565,7 @@ const vT = { key: 0 }, gT = { key: 1 }, yT = ["viewBox"], pT = ["id"], bT = ["st
|
|
|
36564
36565
|
"4f32ae0f": w.value
|
|
36565
36566
|
}));
|
|
36566
36567
|
const r = ie(() => !!l.dataset && l.dataset.length);
|
|
36567
|
-
|
|
36568
|
+
$t(() => {
|
|
36568
36569
|
Ht(l.dataset) ? et({
|
|
36569
36570
|
componentName: "VueUiSparkHistogram",
|
|
36570
36571
|
type: "dataset"
|
|
@@ -36582,7 +36583,7 @@ const vT = { key: 0 }, gT = { key: 1 }, yT = ["viewBox"], pT = ["id"], bT = ["st
|
|
|
36582
36583
|
});
|
|
36583
36584
|
});
|
|
36584
36585
|
});
|
|
36585
|
-
const o =
|
|
36586
|
+
const o = N(Ct()), a = N(Ft.vue_ui_sparkhistogram), n = ie(() => Mt({
|
|
36586
36587
|
userConfig: l.config,
|
|
36587
36588
|
defaultConfig: a.value
|
|
36588
36589
|
})), s = ie(() => {
|
|
@@ -36619,7 +36620,7 @@ const vT = { key: 0 }, gT = { key: 1 }, yT = ["viewBox"], pT = ["id"], bT = ["st
|
|
|
36619
36620
|
x: ae,
|
|
36620
36621
|
y: W
|
|
36621
36622
|
};
|
|
36622
|
-
})), b =
|
|
36623
|
+
})), b = N(null);
|
|
36623
36624
|
function y(u, c) {
|
|
36624
36625
|
t("selectDatapoint", { datapoint: u, index: c });
|
|
36625
36626
|
}
|
|
@@ -36786,7 +36787,7 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36786
36787
|
emits: ["selectLegend"],
|
|
36787
36788
|
setup(e, { expose: t, emit: l }) {
|
|
36788
36789
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
36789
|
-
|
|
36790
|
+
$t(() => {
|
|
36790
36791
|
Ht(r.dataset) ? et({
|
|
36791
36792
|
componentName: "VueUiRings",
|
|
36792
36793
|
type: "dataset"
|
|
@@ -36804,15 +36805,15 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36804
36805
|
});
|
|
36805
36806
|
});
|
|
36806
36807
|
});
|
|
36807
|
-
const a =
|
|
36808
|
+
const a = N(Ct()), n = N(Ft.vue_ui_rings), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(null), u = N(0), c = ie(() => Mt({
|
|
36808
36809
|
userConfig: r.config,
|
|
36809
36810
|
defaultConfig: n.value
|
|
36810
|
-
})), i =
|
|
36811
|
+
})), i = N({
|
|
36811
36812
|
showTable: c.value.table.show
|
|
36812
36813
|
}), C = ie(() => ({
|
|
36813
36814
|
height: 360,
|
|
36814
36815
|
width: 360
|
|
36815
|
-
})), F =
|
|
36816
|
+
})), F = N([]);
|
|
36816
36817
|
function k(S) {
|
|
36817
36818
|
F.value.includes(S) ? F.value = F.value.filter(($) => $ !== S) : F.value.push(S), l("selectLegend", ve.value.map(($) => ({
|
|
36818
36819
|
name: $.name,
|
|
@@ -36866,7 +36867,7 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36866
36867
|
})
|
|
36867
36868
|
);
|
|
36868
36869
|
}
|
|
36869
|
-
const V = ie(() => C.value.height - c.value.style.chart.layout.rings.strokeWidth * 2), Y =
|
|
36870
|
+
const V = ie(() => C.value.height - c.value.style.chart.layout.rings.strokeWidth * 2), Y = N(null);
|
|
36870
36871
|
function de(S, $) {
|
|
36871
36872
|
if (F.value.length === r.dataset.length)
|
|
36872
36873
|
return;
|
|
@@ -36899,7 +36900,7 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36899
36900
|
}
|
|
36900
36901
|
b.value = !0;
|
|
36901
36902
|
}
|
|
36902
|
-
const we =
|
|
36903
|
+
const we = N(null);
|
|
36903
36904
|
function _e() {
|
|
36904
36905
|
s.value = !0;
|
|
36905
36906
|
}
|
|
@@ -36977,7 +36978,7 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36977
36978
|
gl({ csvContent: K, title: c.value.style.chart.title.text || "vue-ui-rings" });
|
|
36978
36979
|
});
|
|
36979
36980
|
}
|
|
36980
|
-
const Q =
|
|
36981
|
+
const Q = N(!1);
|
|
36981
36982
|
function U(S) {
|
|
36982
36983
|
Q.value = S, u.value += 1;
|
|
36983
36984
|
}
|
|
@@ -37191,10 +37192,10 @@ const jT = ["id"], GT = ["viewBox"], XT = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
37191
37192
|
}
|
|
37192
37193
|
},
|
|
37193
37194
|
setup(e, { expose: t }) {
|
|
37194
|
-
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o =
|
|
37195
|
+
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o = N(Ct()), a = N(Ft.vue_ui_wheel), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(0), b = ie(() => Mt({
|
|
37195
37196
|
userConfig: l.config,
|
|
37196
37197
|
defaultConfig: a.value
|
|
37197
|
-
})), y =
|
|
37198
|
+
})), y = N({
|
|
37198
37199
|
size: 360,
|
|
37199
37200
|
height: 360,
|
|
37200
37201
|
width: 360
|
|
@@ -37209,8 +37210,8 @@ const jT = ["id"], GT = ["viewBox"], XT = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
37209
37210
|
y: w.value.centerY + w.value.radius * Math.sin(29.85 + J * Math.PI / 180) * ye
|
|
37210
37211
|
};
|
|
37211
37212
|
}
|
|
37212
|
-
const c =
|
|
37213
|
-
|
|
37213
|
+
const c = N(b.value.style.chart.animation.use ? 0 : l.dataset.percentage || 0);
|
|
37214
|
+
$t(() => {
|
|
37214
37215
|
Ht(l.dataset) && et({
|
|
37215
37216
|
componentName: "VueUiWheel",
|
|
37216
37217
|
type: "dataset"
|
|
@@ -37234,7 +37235,7 @@ const jT = ["id"], GT = ["viewBox"], XT = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
37234
37235
|
});
|
|
37235
37236
|
}
|
|
37236
37237
|
return J;
|
|
37237
|
-
}), C =
|
|
37238
|
+
}), C = N(null);
|
|
37238
37239
|
function F() {
|
|
37239
37240
|
s.value = !0;
|
|
37240
37241
|
}
|
|
@@ -37262,7 +37263,7 @@ const jT = ["id"], GT = ["viewBox"], XT = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
37262
37263
|
});
|
|
37263
37264
|
}, 100);
|
|
37264
37265
|
}
|
|
37265
|
-
const ae =
|
|
37266
|
+
const ae = N(!1);
|
|
37266
37267
|
function se(J) {
|
|
37267
37268
|
ae.value = J, g.value += 1;
|
|
37268
37269
|
}
|
|
@@ -37387,11 +37388,11 @@ const eD = ["id"], tD = ["viewBox"], lD = { key: 0 }, aD = ["d", "stroke-width",
|
|
|
37387
37388
|
}
|
|
37388
37389
|
},
|
|
37389
37390
|
setup(e, { expose: t }) {
|
|
37390
|
-
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o =
|
|
37391
|
+
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o = N(Ct()), a = N(Ft.vue_ui_tiremarks), n = N(null), s = N(!1), A = N(!1), v = N(0), g = ie(() => Mt({
|
|
37391
37392
|
userConfig: l.config,
|
|
37392
37393
|
defaultConfig: a.value
|
|
37393
|
-
})), b =
|
|
37394
|
-
|
|
37394
|
+
})), b = N(g.value.style.chart.animation.use ? 0 : l.dataset.percentage);
|
|
37395
|
+
$t(() => {
|
|
37395
37396
|
Ht(l.dataset) && et({
|
|
37396
37397
|
componentName: "VueUiTiremarks",
|
|
37397
37398
|
type: "dataset"
|
|
@@ -37423,7 +37424,7 @@ const eD = ["id"], tD = ["viewBox"], lD = { key: 0 }, aD = ["d", "stroke-width",
|
|
|
37423
37424
|
}), u = ie(() => Object.values(w.value).reduce((z, V) => z + V, 0)), c = ie(() => ({
|
|
37424
37425
|
height: y.value ? 312 : 56,
|
|
37425
37426
|
width: y.value ? 56 : 312
|
|
37426
|
-
})), i =
|
|
37427
|
+
})), i = N(100);
|
|
37427
37428
|
ie(() => l.dataset.percentage / i.value);
|
|
37428
37429
|
const C = ie(() => y.value ? {
|
|
37429
37430
|
mark: (c.value.height - u.value) / 100 * 0.5,
|
|
@@ -37469,7 +37470,7 @@ const eD = ["id"], tD = ["viewBox"], lD = { key: 0 }, aD = ["d", "stroke-width",
|
|
|
37469
37470
|
fontSize: g.value.style.chart.percentage.fontSize,
|
|
37470
37471
|
fill: g.value.style.chart.percentage.color
|
|
37471
37472
|
};
|
|
37472
|
-
}), O =
|
|
37473
|
+
}), O = N(null);
|
|
37473
37474
|
function W() {
|
|
37474
37475
|
s.value = !0;
|
|
37475
37476
|
}
|
|
@@ -37497,7 +37498,7 @@ const eD = ["id"], tD = ["viewBox"], lD = { key: 0 }, aD = ["d", "stroke-width",
|
|
|
37497
37498
|
});
|
|
37498
37499
|
}, 100);
|
|
37499
37500
|
}
|
|
37500
|
-
const ye =
|
|
37501
|
+
const ye = N(!1);
|
|
37501
37502
|
function ve(z) {
|
|
37502
37503
|
ye.value = z, v.value += 1;
|
|
37503
37504
|
}
|
|
@@ -37626,7 +37627,7 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37626
37627
|
emits: ["selectLegend"],
|
|
37627
37628
|
setup(e, { expose: t, emit: l }) {
|
|
37628
37629
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
37629
|
-
|
|
37630
|
+
$t(() => {
|
|
37630
37631
|
Ht(r.dataset) ? et({
|
|
37631
37632
|
componentName: "VueUiDonutEvolution",
|
|
37632
37633
|
type: "dataset"
|
|
@@ -37644,10 +37645,10 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37644
37645
|
});
|
|
37645
37646
|
});
|
|
37646
37647
|
});
|
|
37647
|
-
const a =
|
|
37648
|
+
const a = N(Ct()), n = N(Ft.vue_ui_donut_evolution), s = N(!1), A = N(!1), v = N([]), g = N(null), b = N(null), y = N(!1), w = N(null), u = N(null), c = N(0), i = ie(() => Mt({
|
|
37648
37649
|
userConfig: r.config,
|
|
37649
37650
|
defaultConfig: n.value
|
|
37650
|
-
})), C =
|
|
37651
|
+
})), C = N({
|
|
37651
37652
|
showTable: i.value.table.show
|
|
37652
37653
|
}), F = ie(() => ({
|
|
37653
37654
|
top: i.value.style.chart.layout.padding.top,
|
|
@@ -37655,14 +37656,14 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37655
37656
|
bottom: i.value.style.chart.layout.padding.bottom,
|
|
37656
37657
|
left: i.value.style.chart.layout.padding.left
|
|
37657
37658
|
})), k = ie(() => {
|
|
37658
|
-
const Z = i.value.style.chart.layout.height, pe = i.value.style.chart.layout.width, M = Z - F.value.top - F.value.bottom,
|
|
37659
|
+
const Z = i.value.style.chart.layout.height, pe = i.value.style.chart.layout.width, M = Z - F.value.top - F.value.bottom, T = pe - F.value.left - F.value.right;
|
|
37659
37660
|
return {
|
|
37660
37661
|
absoluteHeight: Z,
|
|
37661
37662
|
absoluteWidth: pe,
|
|
37662
|
-
centerX: F.value.left +
|
|
37663
|
+
centerX: F.value.left + T / 2,
|
|
37663
37664
|
centerY: F.value.top + M / 2,
|
|
37664
37665
|
height: M,
|
|
37665
|
-
width:
|
|
37666
|
+
width: T
|
|
37666
37667
|
};
|
|
37667
37668
|
}), O = ie(() => (r.dataset.forEach((Z, pe) => {
|
|
37668
37669
|
[null, void 0].includes(Z.name) && et({
|
|
@@ -37684,21 +37685,21 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37684
37685
|
uid: Ct()
|
|
37685
37686
|
})))), W = ie(() => O.value.filter((Z) => !v.value.includes(Z.uid))), ae = ie(() => Math.max(...W.value.map((Z) => Z.length))), se = ie(() => k.value.width / ae.value), J = ie(() => {
|
|
37686
37687
|
const Z = [];
|
|
37687
|
-
for (let
|
|
37688
|
-
const ee = W.value.map((ke) => ke.values[
|
|
37688
|
+
for (let T = 0; T < ae.value; T += 1) {
|
|
37689
|
+
const ee = W.value.map((ke) => ke.values[T] ?? null), ue = ee.filter((ke) => [void 0, null].includes(ke)).length === ee.length, R = ee.reduce((ke, he) => ke + he, 0), me = ee.map((ke) => ke / R), Fe = F.value.left + se.value * T + se.value / 2;
|
|
37689
37690
|
Z.push({
|
|
37690
|
-
index:
|
|
37691
|
+
index: T,
|
|
37691
37692
|
percentages: me,
|
|
37692
37693
|
subtotal: ue || R < 0 ? null : R,
|
|
37693
37694
|
values: ee,
|
|
37694
37695
|
x: Fe
|
|
37695
37696
|
});
|
|
37696
37697
|
}
|
|
37697
|
-
const pe = 0, M = Math.max(...Z.map((
|
|
37698
|
-
return Z.map((
|
|
37699
|
-
const ue = se.value / 2 * 0.7, R = ue > k.value.width / 16 ? k.value.width / 16 : ue, me = g.value ===
|
|
37698
|
+
const pe = 0, M = Math.max(...Z.map((T) => T.subtotal));
|
|
37699
|
+
return Z.map((T, ee) => {
|
|
37700
|
+
const ue = se.value / 2 * 0.7, R = ue > k.value.width / 16 ? k.value.width / 16 : ue, me = g.value === T.index ? k.value.width / 16 : R, Fe = k.value.absoluteHeight - F.value.bottom - k.value.height * T.subtotal / PA(pe, M, 10).max;
|
|
37700
37701
|
return {
|
|
37701
|
-
...
|
|
37702
|
+
...T,
|
|
37702
37703
|
y: Fe,
|
|
37703
37704
|
radius: R,
|
|
37704
37705
|
donut: Ra({
|
|
@@ -37707,14 +37708,14 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37707
37708
|
name: ke.name,
|
|
37708
37709
|
value: ke.values[ee] ?? 0
|
|
37709
37710
|
}))
|
|
37710
|
-
},
|
|
37711
|
+
}, T.x, Fe, me, me, 1.99999, 2, 1, 360, 105.25, se.value / 5 > 16 ? 16 : se.value / 5),
|
|
37711
37712
|
donutHover: Ra({
|
|
37712
37713
|
series: W.value.map((ke, he) => ({
|
|
37713
37714
|
color: ke.color,
|
|
37714
37715
|
name: ke.name,
|
|
37715
37716
|
value: ke.values[ee] ?? 0
|
|
37716
37717
|
}))
|
|
37717
|
-
},
|
|
37718
|
+
}, T.x, Fe, me, me, 1.99999, 2, 1, 360, 105.25, 12),
|
|
37718
37719
|
donutFocus: Ra({
|
|
37719
37720
|
series: W.value.map((ke, he) => ({
|
|
37720
37721
|
color: ke.color,
|
|
@@ -37754,13 +37755,13 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37754
37755
|
function G() {
|
|
37755
37756
|
w.value = null, y.value = !1;
|
|
37756
37757
|
}
|
|
37757
|
-
const X =
|
|
37758
|
+
const X = N(null);
|
|
37758
37759
|
function te() {
|
|
37759
37760
|
s.value = !0;
|
|
37760
37761
|
}
|
|
37761
37762
|
const re = ie(() => O.value.map((Z, pe) => ({
|
|
37762
37763
|
name: Z.name,
|
|
37763
|
-
value: Z.values.reduce((M,
|
|
37764
|
+
value: Z.values.reduce((M, T) => M + T, 0),
|
|
37764
37765
|
shape: "circle",
|
|
37765
37766
|
uid: Z.uid,
|
|
37766
37767
|
color: Z.color
|
|
@@ -37843,21 +37844,21 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37843
37844
|
outline: i.value.table.td.outline
|
|
37844
37845
|
},
|
|
37845
37846
|
breakpoint: i.value.table.responsiveBreakpoint
|
|
37846
|
-
},
|
|
37847
|
+
}, T = [
|
|
37847
37848
|
i.value.table.columnNames.period
|
|
37848
37849
|
].concat(O.value.filter((ee) => !v.value.includes(ee.uid)).map((ee) => ee.name)).concat(i.value.table.columnNames.total);
|
|
37849
|
-
return { head: Z, body: pe, config: M, colNames:
|
|
37850
|
+
return { head: Z, body: pe, config: M, colNames: T };
|
|
37850
37851
|
});
|
|
37851
37852
|
function P() {
|
|
37852
37853
|
return O.value;
|
|
37853
37854
|
}
|
|
37854
37855
|
function j() {
|
|
37855
37856
|
fl(() => {
|
|
37856
|
-
const Z = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]], pe = [...I.value.head.map((ue) => ue.name ?? ue)], M = [...I.value.body.map((ue) => ue.map((R) => R.value ?? R))],
|
|
37857
|
+
const Z = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]], pe = [...I.value.head.map((ue) => ue.name ?? ue)], M = [...I.value.body.map((ue) => ue.map((R) => R.value ?? R))], T = Z.concat([pe]).concat(M), ee = yl(T);
|
|
37857
37858
|
gl({ csvContent: ee, title: i.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
37858
37859
|
});
|
|
37859
37860
|
}
|
|
37860
|
-
const q =
|
|
37861
|
+
const q = N(!1);
|
|
37861
37862
|
function fe(Z) {
|
|
37862
37863
|
q.value = Z, c.value += 1;
|
|
37863
37864
|
}
|
|
@@ -37977,9 +37978,9 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37977
37978
|
"stroke-linecap": "round"
|
|
37978
37979
|
}, null, 8, wD),
|
|
37979
37980
|
i.value.style.chart.layout.grid.showVerticalLines ? (d(), f("g", mD, [
|
|
37980
|
-
(d(!0), f(Ce, null, Le(ae.value, (M,
|
|
37981
|
-
x1: F.value.left + (
|
|
37982
|
-
x2: F.value.left + (
|
|
37981
|
+
(d(!0), f(Ce, null, Le(ae.value, (M, T) => (d(), f("line", {
|
|
37982
|
+
x1: F.value.left + (T + 1) * se.value,
|
|
37983
|
+
x2: F.value.left + (T + 1) * se.value,
|
|
37983
37984
|
y1: F.value.top,
|
|
37984
37985
|
y2: k.value.absoluteHeight - F.value.bottom,
|
|
37985
37986
|
stroke: i.value.style.chart.layout.grid.stroke,
|
|
@@ -37992,7 +37993,7 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37992
37993
|
key: 1,
|
|
37993
37994
|
class: He({ "donut-opacity": !0, "donut-behind": g.value !== null || y.value })
|
|
37994
37995
|
}, [
|
|
37995
|
-
(d(!0), f(Ce, null, Le(Y.value, (M,
|
|
37996
|
+
(d(!0), f(Ce, null, Le(Y.value, (M, T) => (d(), f("g", null, [
|
|
37996
37997
|
M.value >= z.value.min && M.value <= z.value.max ? (d(), f("line", {
|
|
37997
37998
|
key: 0,
|
|
37998
37999
|
x1: F.value.left,
|
|
@@ -38017,25 +38018,25 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38017
38018
|
key: 2,
|
|
38018
38019
|
class: He({ "donut-opacity": !0, "donut-behind": y.value })
|
|
38019
38020
|
}, [
|
|
38020
|
-
(d(!0), f(Ce, null, Le(ae.value, (M,
|
|
38021
|
-
i.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (
|
|
38021
|
+
(d(!0), f(Ce, null, Le(ae.value, (M, T) => (d(), f("g", null, [
|
|
38022
|
+
i.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (T === 0 || T === ae.value - 1) || !i.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (d(), f("text", {
|
|
38022
38023
|
key: 0,
|
|
38023
|
-
x: F.value.left + se.value *
|
|
38024
|
+
x: F.value.left + se.value * T + se.value / 2,
|
|
38024
38025
|
y: k.value.absoluteHeight - F.value.bottom + i.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
38025
38026
|
"text-anchor": "middle",
|
|
38026
38027
|
"font-size": i.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
38027
38028
|
fill: i.value.style.chart.layout.grid.xAxis.dataLabels.color
|
|
38028
|
-
}, D(i.value.style.chart.layout.grid.xAxis.dataLabels.values[
|
|
38029
|
+
}, D(i.value.style.chart.layout.grid.xAxis.dataLabels.values[T] ?? ""), 9, BD)) : L("", !0)
|
|
38029
38030
|
]))), 256))
|
|
38030
38031
|
], 2)) : L("", !0),
|
|
38031
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38032
|
-
i.value.style.chart.layout.line.show &&
|
|
38032
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("g", null, [
|
|
38033
|
+
i.value.style.chart.layout.line.show && T < J.value.length - 1 && ![M.subtotal, J.value[T + 1].subtotal].includes(null) ? (d(), f("line", {
|
|
38033
38034
|
key: 0,
|
|
38034
38035
|
class: He({ "donut-opacity": !0, "donut-behind": g.value !== null || y.value }),
|
|
38035
38036
|
x1: M.x,
|
|
38036
38037
|
y1: M.y,
|
|
38037
|
-
x2: J.value[
|
|
38038
|
-
y2: J.value[
|
|
38038
|
+
x2: J.value[T + 1].x,
|
|
38039
|
+
y2: J.value[T + 1].y,
|
|
38039
38040
|
stroke: i.value.style.chart.layout.line.stroke,
|
|
38040
38041
|
"stroke-width": i.value.style.chart.layout.line.strokeWidth,
|
|
38041
38042
|
"stroke-linecap": "round",
|
|
@@ -38051,11 +38052,11 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38051
38052
|
}, null, 8, SD)) : L("", !0)
|
|
38052
38053
|
])) : L("", !0)
|
|
38053
38054
|
]))), 256)),
|
|
38054
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38055
|
-
class: He({ "donut-opacity": !0, "donut-behind":
|
|
38055
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("g", {
|
|
38056
|
+
class: He({ "donut-opacity": !0, "donut-behind": T !== g.value && g.value !== null || y.value })
|
|
38056
38057
|
}, [
|
|
38057
38058
|
M.subtotal ? (d(), f("g", LD, [
|
|
38058
|
-
g.value !== null && g.value ===
|
|
38059
|
+
g.value !== null && g.value === T ? (d(), f("g", UD, [
|
|
38059
38060
|
(d(!0), f(Ce, null, Le(M.donut, (ee) => (d(), f("g", null, [
|
|
38060
38061
|
p("path", {
|
|
38061
38062
|
d: Be(jn)(ee, { x: ee.center.endX, y: ee.center.endY }, 12, 12, { x: M.x, y: M.y }, !0),
|
|
@@ -38080,8 +38081,8 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38080
38081
|
])) : L("", !0)
|
|
38081
38082
|
])) : L("", !0)
|
|
38082
38083
|
], 2))), 256)),
|
|
38083
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38084
|
-
class: He({ "donut-opacity": !0, "donut-behind":
|
|
38084
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("g", {
|
|
38085
|
+
class: He({ "donut-opacity": !0, "donut-behind": T !== g.value && g.value !== null || y.value })
|
|
38085
38086
|
}, [
|
|
38086
38087
|
M.subtotal !== null ? (d(), f("g", MD, [
|
|
38087
38088
|
M.subtotal === 0 ? (d(), f("circle", {
|
|
@@ -38090,7 +38091,7 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38090
38091
|
cy: M.y,
|
|
38091
38092
|
r: 3,
|
|
38092
38093
|
fill: i.value.style.chart.color
|
|
38093
|
-
}, null, 8, ED)) : g.value !== null && g.value ===
|
|
38094
|
+
}, null, 8, ED)) : g.value !== null && g.value === T ? (d(), f("g", ID, [
|
|
38094
38095
|
(d(!0), f(Ce, null, Le(M.donutHover, (ee, ue) => (d(), f("path", {
|
|
38095
38096
|
d: ee.arcSlice,
|
|
38096
38097
|
fill: `${ee.color}`,
|
|
@@ -38116,8 +38117,8 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38116
38117
|
}, null, 8, PD)) : L("", !0)
|
|
38117
38118
|
])) : L("", !0)
|
|
38118
38119
|
], 2))), 256)),
|
|
38119
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38120
|
-
class: He({ "donut-opacity": !0, "donut-behind":
|
|
38120
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("g", {
|
|
38121
|
+
class: He({ "donut-opacity": !0, "donut-behind": T !== g.value && g.value !== null || y.value })
|
|
38121
38122
|
}, [
|
|
38122
38123
|
M.subtotal !== null && i.value.style.chart.layout.dataLabels.show ? (d(), f("text", {
|
|
38123
38124
|
key: 0,
|
|
@@ -38129,8 +38130,8 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38129
38130
|
fill: i.value.style.chart.layout.dataLabels.color
|
|
38130
38131
|
}, D(ye(M.subtotal)), 9, OD)) : L("", !0)
|
|
38131
38132
|
], 2))), 256)),
|
|
38132
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38133
|
-
x: F.value.left +
|
|
38133
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("rect", {
|
|
38134
|
+
x: F.value.left + T * se.value,
|
|
38134
38135
|
y: k.value.absoluteHeight - F.value.bottom - 10,
|
|
38135
38136
|
width: se.value,
|
|
38136
38137
|
height: 10,
|
|
@@ -38138,9 +38139,9 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38138
38139
|
onClick: (ee) => ne(M),
|
|
38139
38140
|
class: He({ "donut-hover": g.value === M.index && M.subtotal })
|
|
38140
38141
|
}, null, 10, zD))), 256)),
|
|
38141
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38142
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("rect", {
|
|
38142
38143
|
"data-cy-trap": "",
|
|
38143
|
-
x: F.value.left +
|
|
38144
|
+
x: F.value.left + T * se.value,
|
|
38144
38145
|
y: F.value.top,
|
|
38145
38146
|
width: se.value,
|
|
38146
38147
|
height: k.value.height,
|
|
@@ -38209,14 +38210,14 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38209
38210
|
r: k.value.height / 7,
|
|
38210
38211
|
fill: i.value.style.chart.backgroundColor
|
|
38211
38212
|
}, null, 8, qD),
|
|
38212
|
-
(d(!0), f(Ce, null, Le(w.value.donutFocus, (M,
|
|
38213
|
+
(d(!0), f(Ce, null, Le(w.value.donutFocus, (M, T) => (d(), f("path", {
|
|
38213
38214
|
d: M.arcSlice,
|
|
38214
38215
|
fill: `${M.color}`,
|
|
38215
38216
|
"stroke-width": 1,
|
|
38216
38217
|
stroke: i.value.style.chart.backgroundColor,
|
|
38217
38218
|
class: "vue-ui-donut-evolution-focus"
|
|
38218
38219
|
}, null, 8, YD))), 256)),
|
|
38219
|
-
(d(!0), f(Ce, null, Le(w.value.donutFocus, (M,
|
|
38220
|
+
(d(!0), f(Ce, null, Le(w.value.donutFocus, (M, T) => (d(), f("g", JD, [
|
|
38220
38221
|
p("text", {
|
|
38221
38222
|
"text-anchor": Be(Nt)(M, !0, 20).anchor,
|
|
38222
38223
|
x: Be(Nt)(M, !0, 10).x,
|
|
@@ -38280,7 +38281,7 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38280
38281
|
config: Q.value,
|
|
38281
38282
|
onClickMarker: pe[1] || (pe[1] = ({ legend: M }) => U(M.uid))
|
|
38282
38283
|
}, {
|
|
38283
|
-
item: Ie(({ legend: M, index:
|
|
38284
|
+
item: Ie(({ legend: M, index: T }) => [
|
|
38284
38285
|
p("div", {
|
|
38285
38286
|
"data-cy-legend-item": "",
|
|
38286
38287
|
onClick: (ee) => U(M.uid),
|
|
@@ -38335,16 +38336,16 @@ const cH = ["id"], dH = ["viewBox"], hH = ["id"], fH = ["stop-color"], vH = ["st
|
|
|
38335
38336
|
},
|
|
38336
38337
|
setup(e, { expose: t }) {
|
|
38337
38338
|
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length);
|
|
38338
|
-
|
|
38339
|
+
$t(() => {
|
|
38339
38340
|
Ht(l.dataset) && et({
|
|
38340
38341
|
componentName: "VueUiMoodRadar",
|
|
38341
38342
|
type: "dataset"
|
|
38342
38343
|
});
|
|
38343
38344
|
});
|
|
38344
|
-
const o =
|
|
38345
|
+
const o = N(Ct()), a = N(Ft.vue_ui_mood_radar), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(null), b = ie(() => Mt({
|
|
38345
38346
|
userConfig: l.config,
|
|
38346
38347
|
defaultConfig: a.value
|
|
38347
|
-
})), y =
|
|
38348
|
+
})), y = N({
|
|
38348
38349
|
showTable: b.value.table.show
|
|
38349
38350
|
}), w = ie(() => ({
|
|
38350
38351
|
height: 256,
|
|
@@ -38404,7 +38405,7 @@ const cH = ["id"], dH = ["viewBox"], hH = ["id"], fH = ["stop-color"], vH = ["st
|
|
|
38404
38405
|
function W(ne) {
|
|
38405
38406
|
ne === g.value ? g.value = null : g.value = ne;
|
|
38406
38407
|
}
|
|
38407
|
-
const ae =
|
|
38408
|
+
const ae = N(null);
|
|
38408
38409
|
function se() {
|
|
38409
38410
|
s.value = !0;
|
|
38410
38411
|
}
|
|
@@ -38486,7 +38487,7 @@ const cH = ["id"], dH = ["viewBox"], hH = ["id"], fH = ["stop-color"], vH = ["st
|
|
|
38486
38487
|
function de() {
|
|
38487
38488
|
return F.value;
|
|
38488
38489
|
}
|
|
38489
|
-
const we =
|
|
38490
|
+
const we = N(!1);
|
|
38490
38491
|
function _e(ne) {
|
|
38491
38492
|
we.value = ne;
|
|
38492
38493
|
}
|
|
@@ -38844,10 +38845,10 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
38844
38845
|
},
|
|
38845
38846
|
emits: ["selectDatapoint"],
|
|
38846
38847
|
setup(e, { expose: t, emit: l }) {
|
|
38847
|
-
const r = e, o = ie(() => !!r.dataset && Object.keys(r.dataset).length), a =
|
|
38848
|
+
const r = e, o = ie(() => !!r.dataset && Object.keys(r.dataset).length), a = N(Ct()), n = N(Ft.vue_ui_3d_bar), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = ie(() => Mt({
|
|
38848
38849
|
userConfig: r.config,
|
|
38849
38850
|
defaultConfig: n.value
|
|
38850
|
-
})), w =
|
|
38851
|
+
})), w = N({
|
|
38851
38852
|
showTable: y.value.table.show
|
|
38852
38853
|
}), u = ie(() => r.dataset.series && r.dataset.series.length), c = ie(() => ({
|
|
38853
38854
|
height: y.value.style.chart.box.dimensions.height,
|
|
@@ -38885,8 +38886,8 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
38885
38886
|
tubeLeft: `M${c.value.left},${c.value.top + c.value.perspective} ${c.value.left},${c.value.height - c.value.bottom - c.value.perspective}`,
|
|
38886
38887
|
tubeRight: `M${c.value.width - c.value.right},${c.value.top + c.value.perspective} ${c.value.width - c.value.right},${c.value.height - c.value.bottom - c.value.perspective}`,
|
|
38887
38888
|
tubeBottom: `M${c.value.width - c.value.right},${c.value.height - c.value.bottom - c.value.perspective} C ${c.value.width - c.value.right},${c.value.height} ${c.value.left},${c.value.height} ${c.value.left},${c.value.height - c.value.bottom - c.value.perspective}`
|
|
38888
|
-
})), F =
|
|
38889
|
-
|
|
38889
|
+
})), F = N(y.value.style.chart.animation.use ? 0 : r.dataset.percentage);
|
|
38890
|
+
$t(() => {
|
|
38890
38891
|
Ht(r.dataset) ? et({
|
|
38891
38892
|
componentName: "VueUi3dBar",
|
|
38892
38893
|
type: "dataset"
|
|
@@ -38931,9 +38932,9 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
38931
38932
|
y.value.style.chart.animation.use && (F.value = 0, U());
|
|
38932
38933
|
});
|
|
38933
38934
|
function k(re, _, Q, U) {
|
|
38934
|
-
const S = c.value.height - c.value.bottom - c.value.top - c.value.perspective * 2, { width: $, height: K, bottom: I, right: P, left: j, perspective: q } = c.value, fe = I + S * re, Z = K - fe - q - S * _ / 2, pe = Z > c.value.height / 2 ? "top" : "bottom", M = 64,
|
|
38935
|
+
const S = c.value.height - c.value.bottom - c.value.top - c.value.perspective * 2, { width: $, height: K, bottom: I, right: P, left: j, perspective: q } = c.value, fe = I + S * re, Z = K - fe - q - S * _ / 2, pe = Z > c.value.height / 2 ? "top" : "bottom", M = 64, T = !!Q;
|
|
38935
38936
|
let ee = null, ue = null;
|
|
38936
|
-
return
|
|
38937
|
+
return T && (Q = Q.map((R, me) => ({
|
|
38937
38938
|
...R,
|
|
38938
38939
|
value: R.value || 0,
|
|
38939
38940
|
color: Xo(U, me / Q.length)
|
|
@@ -39009,7 +39010,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39009
39010
|
${K},${U}
|
|
39010
39011
|
${K},${U - j - I}Z`
|
|
39011
39012
|
};
|
|
39012
|
-
}), W =
|
|
39013
|
+
}), W = N(null);
|
|
39013
39014
|
function ae(re, _ = !1) {
|
|
39014
39015
|
l("selectDatapoint", re), _ || (W.value = re.id), _ && b.value && (b.value = !1), _ && !b.value && (b.value = !0);
|
|
39015
39016
|
}
|
|
@@ -39023,7 +39024,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39023
39024
|
function ye(re) {
|
|
39024
39025
|
return [...re].map((_) => _.value).reduce((_, Q) => _ + Q, 0);
|
|
39025
39026
|
}
|
|
39026
|
-
const ve =
|
|
39027
|
+
const ve = N(null);
|
|
39027
39028
|
function z() {
|
|
39028
39029
|
s.value = !0;
|
|
39029
39030
|
}
|
|
@@ -39051,7 +39052,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39051
39052
|
});
|
|
39052
39053
|
}, 100);
|
|
39053
39054
|
}
|
|
39054
|
-
const we =
|
|
39055
|
+
const we = N(!1);
|
|
39055
39056
|
function _e(re) {
|
|
39056
39057
|
we.value = re;
|
|
39057
39058
|
}
|
|
@@ -39869,7 +39870,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39869
39870
|
}
|
|
39870
39871
|
},
|
|
39871
39872
|
setup(e) {
|
|
39872
|
-
const t = e, l =
|
|
39873
|
+
const t = e, l = N({
|
|
39873
39874
|
/**
|
|
39874
39875
|
* clockwise from top (last: g)
|
|
39875
39876
|
* a
|
|
@@ -39956,7 +39957,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39956
39957
|
}
|
|
39957
39958
|
},
|
|
39958
39959
|
setup(e) {
|
|
39959
|
-
const t = e, l =
|
|
39960
|
+
const t = e, l = N(Ft.vue_ui_digits), r = ie(() => Mt({
|
|
39960
39961
|
userConfig: t.config,
|
|
39961
39962
|
defaultConfig: l.value
|
|
39962
39963
|
})), o = ie(() => {
|
|
@@ -40254,16 +40255,16 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40254
40255
|
},
|
|
40255
40256
|
setup(e, { expose: t }) {
|
|
40256
40257
|
const l = e, r = ie(() => !!l.dataset && l.dataset.length);
|
|
40257
|
-
|
|
40258
|
+
$t(() => {
|
|
40258
40259
|
Ht(l.dataset) && et({
|
|
40259
40260
|
componentName: "VueUiMolecule",
|
|
40260
40261
|
type: "dataset"
|
|
40261
40262
|
});
|
|
40262
40263
|
});
|
|
40263
|
-
const o =
|
|
40264
|
+
const o = N(Ct()), a = N(Ft.vue_ui_molecule), n = N(!1), s = N(!1), A = N(null), v = N(!1), g = N(""), b = N(null), y = N(null), w = N(!1), u = N(null), c = N(null), i = N(0), C = ie(() => Mt({
|
|
40264
40265
|
userConfig: l.config,
|
|
40265
40266
|
defaultConfig: a.value
|
|
40266
|
-
})), F =
|
|
40267
|
+
})), F = N({
|
|
40267
40268
|
showTable: C.value.table.show,
|
|
40268
40269
|
showDataLabels: !0
|
|
40269
40270
|
});
|
|
@@ -40272,20 +40273,20 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40272
40273
|
}
|
|
40273
40274
|
function O() {
|
|
40274
40275
|
const pe = k(l.dataset);
|
|
40275
|
-
let M = 100,
|
|
40276
|
+
let M = 100, T = M;
|
|
40276
40277
|
for (let ee = 0; ee < pe; ee += 1)
|
|
40277
|
-
M /= 1,
|
|
40278
|
+
M /= 1, T += M;
|
|
40278
40279
|
return {
|
|
40279
|
-
height:
|
|
40280
|
-
width:
|
|
40280
|
+
height: T,
|
|
40281
|
+
width: T
|
|
40281
40282
|
};
|
|
40282
40283
|
}
|
|
40283
|
-
const W =
|
|
40284
|
-
function se(pe, M = { x: -W.value.width / 2.43, y: W.value.height / 2 },
|
|
40284
|
+
const W = N(O()), ae = N(`0 0 ${W.value.width} ${W.value.height}`);
|
|
40285
|
+
function se(pe, M = { x: -W.value.width / 2.43, y: W.value.height / 2 }, T = W.value.width / 1.1, ee = 24, ue = 0, R = 0, me = "#BBBBBB") {
|
|
40285
40286
|
if (pe && pe.length > 0) {
|
|
40286
40287
|
const Fe = Dl({
|
|
40287
40288
|
plot: M,
|
|
40288
|
-
radius:
|
|
40289
|
+
radius: T,
|
|
40289
40290
|
sides: pe.length,
|
|
40290
40291
|
rotation: ue
|
|
40291
40292
|
});
|
|
@@ -40299,7 +40300,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40299
40300
|
ke.nodes = se(
|
|
40300
40301
|
ke.nodes,
|
|
40301
40302
|
Te,
|
|
40302
|
-
|
|
40303
|
+
T / 2.9,
|
|
40303
40304
|
ee / 2.2,
|
|
40304
40305
|
ue + Math.PI * he / ke.nodes.length,
|
|
40305
40306
|
We,
|
|
@@ -40312,12 +40313,12 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40312
40313
|
}
|
|
40313
40314
|
function J(pe) {
|
|
40314
40315
|
const M = /* @__PURE__ */ new Set();
|
|
40315
|
-
function
|
|
40316
|
+
function T(ue) {
|
|
40316
40317
|
ue.forEach((R) => {
|
|
40317
|
-
R.color && !M.has(R.color) && M.add(R.color), R.nodes && R.nodes.length > 0 &&
|
|
40318
|
+
R.color && !M.has(R.color) && M.add(R.color), R.nodes && R.nodes.length > 0 && T(R.nodes);
|
|
40318
40319
|
});
|
|
40319
40320
|
}
|
|
40320
|
-
|
|
40321
|
+
T(pe);
|
|
40321
40322
|
const ee = {};
|
|
40322
40323
|
return Array.from(M).forEach((ue, R) => {
|
|
40323
40324
|
ee[ue] = `gradient_${R}`;
|
|
@@ -40332,13 +40333,13 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40332
40333
|
circleRadius: 24
|
|
40333
40334
|
});
|
|
40334
40335
|
}
|
|
40335
|
-
const V =
|
|
40336
|
+
const V = N(null);
|
|
40336
40337
|
function Y(pe) {
|
|
40337
40338
|
V.value && cancelAnimationFrame(V.value);
|
|
40338
|
-
const M = ae.value.split(" "),
|
|
40339
|
+
const M = ae.value.split(" "), T = parseFloat(M[0]), ee = parseFloat(M[1]), ue = parseFloat(M[2]), R = parseFloat(M[3]), { x: me, y: Fe } = pe.polygonPath.coordinates[0], { circleRadius: ke } = pe, he = 8.34, Te = me - ke * he, Re = Fe - ke * he, We = ke * he * 2, vt = ke * he * 2, xt = Math.sqrt((Te - T) ** 2 + (Re - ee) ** 2), ht = Math.min(1200, Math.max(20, Math.floor(xt / 10))), Et = (Te - T) / ht, nt = (Re - ee) / ht, Vl = (We - ue) / ht, Pt = (vt - R) / ht;
|
|
40339
40340
|
let Kl = 0;
|
|
40340
40341
|
function Kt() {
|
|
40341
|
-
ae.value = `${
|
|
40342
|
+
ae.value = `${T + Et * Kl} ${ee + nt * Kl} ${ue + Vl * Kl} ${R + Pt * Kl}`, Kl += C.value.style.chart.zoom.speed, Kl <= ht && (V.value = requestAnimationFrame(Kt));
|
|
40342
40343
|
}
|
|
40343
40344
|
Kt();
|
|
40344
40345
|
}
|
|
@@ -40356,7 +40357,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40356
40357
|
else
|
|
40357
40358
|
return;
|
|
40358
40359
|
}
|
|
40359
|
-
const _e =
|
|
40360
|
+
const _e = N(null);
|
|
40360
40361
|
function ne(pe) {
|
|
40361
40362
|
_e.value = {
|
|
40362
40363
|
datapoint: pe,
|
|
@@ -40379,18 +40380,18 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40379
40380
|
config: C.value
|
|
40380
40381
|
});
|
|
40381
40382
|
else {
|
|
40382
|
-
let
|
|
40383
|
-
|
|
40383
|
+
let T = "";
|
|
40384
|
+
T += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${pe.color}">⬤</div><div>${pe.name}</div></div>`, pe.details && (T += `<div style="width:100%;border-top:1px solid #e1e5e8;margin-top: 2px">${pe.details}</div>`), g.value = `<div style="font-family:inherit">${T}</div>`;
|
|
40384
40385
|
}
|
|
40385
40386
|
}
|
|
40386
|
-
const G =
|
|
40387
|
+
const G = N(null), X = N(null);
|
|
40387
40388
|
function te(pe) {
|
|
40388
40389
|
G.value = pe, pe ? (v.value = !0, ne(pe), X.value = pe.uid) : (v.value = !1, g.value = "", X.value = null);
|
|
40389
40390
|
}
|
|
40390
40391
|
function re(pe) {
|
|
40391
40392
|
pe === "right" && (u.value.polygonPath.coordinates[0].x += u.value.circleRadius), pe === "left" && (u.value.polygonPath.coordinates[0].x -= u.value.circleRadius), pe === "top" && (u.value.polygonPath.coordinates[0].y -= u.value.circleRadius), pe === "bottom" && (u.value.polygonPath.coordinates[0].y += u.value.circleRadius), Y(u.value);
|
|
40392
40393
|
}
|
|
40393
|
-
const _ =
|
|
40394
|
+
const _ = N(null);
|
|
40394
40395
|
function Q() {
|
|
40395
40396
|
n.value = !0;
|
|
40396
40397
|
}
|
|
@@ -40420,7 +40421,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40420
40421
|
}
|
|
40421
40422
|
function K(pe) {
|
|
40422
40423
|
const M = [];
|
|
40423
|
-
function
|
|
40424
|
+
function T(ee) {
|
|
40424
40425
|
ee.forEach((ue) => {
|
|
40425
40426
|
const R = {
|
|
40426
40427
|
name: ue.name,
|
|
@@ -40428,10 +40429,10 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40428
40429
|
parentNode: ue.parentNode && ue.parentNode.name || "-",
|
|
40429
40430
|
color: ue.color || ""
|
|
40430
40431
|
};
|
|
40431
|
-
M.push(R), ue.nodes && ue.nodes.length > 0 &&
|
|
40432
|
+
M.push(R), ue.nodes && ue.nodes.length > 0 && T(ue.nodes, ue.name);
|
|
40432
40433
|
});
|
|
40433
40434
|
}
|
|
40434
|
-
return
|
|
40435
|
+
return T(pe), M;
|
|
40435
40436
|
}
|
|
40436
40437
|
const I = ie(() => K(ve.value)), P = ie(() => {
|
|
40437
40438
|
const pe = [
|
|
@@ -40445,7 +40446,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40445
40446
|
},
|
|
40446
40447
|
ue.details,
|
|
40447
40448
|
ue.parentNode || ""
|
|
40448
|
-
]),
|
|
40449
|
+
]), T = {
|
|
40449
40450
|
th: {
|
|
40450
40451
|
backgroundColor: C.value.table.th.backgroundColor,
|
|
40451
40452
|
color: C.value.table.th.color,
|
|
@@ -40465,20 +40466,20 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40465
40466
|
return {
|
|
40466
40467
|
head: pe,
|
|
40467
40468
|
body: M,
|
|
40468
|
-
config:
|
|
40469
|
+
config: T,
|
|
40469
40470
|
colNames: ee
|
|
40470
40471
|
};
|
|
40471
40472
|
});
|
|
40472
40473
|
function j() {
|
|
40473
40474
|
fl(() => {
|
|
40474
|
-
const pe = P.value.body.map((ee, ue) => [[ee[0].name], [ee[1]], [ee[2]]]), M = [[C.value.style.chart.title.text], [C.value.style.chart.title.subtitle.text], [[...P.value.head]]].concat(pe),
|
|
40475
|
-
gl({ csvContent:
|
|
40475
|
+
const pe = P.value.body.map((ee, ue) => [[ee[0].name], [ee[1]], [ee[2]]]), M = [[C.value.style.chart.title.text], [C.value.style.chart.title.subtitle.text], [[...P.value.head]]].concat(pe), T = yl(M);
|
|
40476
|
+
gl({ csvContent: T, title: C.value.style.chart.title.text || "vue-ui-molecule" });
|
|
40476
40477
|
});
|
|
40477
40478
|
}
|
|
40478
40479
|
function q() {
|
|
40479
40480
|
return ve.value;
|
|
40480
40481
|
}
|
|
40481
|
-
const fe =
|
|
40482
|
+
const fe = N(!1);
|
|
40482
40483
|
function Z(pe) {
|
|
40483
40484
|
fe.value = pe, i.value += 1;
|
|
40484
40485
|
}
|
|
@@ -40488,7 +40489,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40488
40489
|
generateCsv: j,
|
|
40489
40490
|
generateImage: $
|
|
40490
40491
|
}), (pe, M) => (d(), f("div", {
|
|
40491
|
-
onMouseleave: M[8] || (M[8] = (
|
|
40492
|
+
onMouseleave: M[8] || (M[8] = (T) => {
|
|
40492
40493
|
G.value = null, X.value = null;
|
|
40493
40494
|
}),
|
|
40494
40495
|
ref_key: "moleculeChart",
|
|
@@ -40539,19 +40540,19 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40539
40540
|
onGeneratePdf: U,
|
|
40540
40541
|
onGenerateCsv: j,
|
|
40541
40542
|
onGenerateImage: $,
|
|
40542
|
-
onToggleTable: M[0] || (M[0] = (
|
|
40543
|
-
onToggleLabels: M[1] || (M[1] = (
|
|
40543
|
+
onToggleTable: M[0] || (M[0] = (T) => F.value.showTable = !F.value.showTable),
|
|
40544
|
+
onToggleLabels: M[1] || (M[1] = (T) => F.value.showDataLabels = !F.value.showDataLabels)
|
|
40544
40545
|
}, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "title", "uid", "chartElement"])) : L("", !0),
|
|
40545
40546
|
r.value ? (d(), f("svg", {
|
|
40546
40547
|
key: 2,
|
|
40547
40548
|
viewBox: ae.value,
|
|
40548
40549
|
class: He({ "vue-data-ui-fullscreen--on": fe.value, "vue-data-ui-fulscreen--off": !fe.value }),
|
|
40549
40550
|
style: H(`overflow: hidden; background:${C.value.style.chart.backgroundColor};color:${C.value.style.chart.color}`),
|
|
40550
|
-
onClick: M[2] || (M[2] = (
|
|
40551
|
+
onClick: M[2] || (M[2] = (T) => we(T))
|
|
40551
40552
|
}, [
|
|
40552
40553
|
p("defs", null, [
|
|
40553
|
-
(d(!0), f(Ce, null, Le(Object.keys(ye.value), (
|
|
40554
|
-
id: `gradient_${
|
|
40554
|
+
(d(!0), f(Ce, null, Le(Object.keys(ye.value), (T) => (d(), f("radialGradient", {
|
|
40555
|
+
id: `gradient_${T}`,
|
|
40555
40556
|
cx: "50%",
|
|
40556
40557
|
cy: "30%",
|
|
40557
40558
|
r: "50%",
|
|
@@ -40560,11 +40561,11 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40560
40561
|
}, [
|
|
40561
40562
|
p("stop", {
|
|
40562
40563
|
offset: "0%",
|
|
40563
|
-
"stop-color": Be(Xo)(
|
|
40564
|
+
"stop-color": Be(Xo)(T, 0.5)
|
|
40564
40565
|
}, null, 8, hz),
|
|
40565
40566
|
p("stop", {
|
|
40566
40567
|
offset: "100%",
|
|
40567
|
-
"stop-color":
|
|
40568
|
+
"stop-color": T
|
|
40568
40569
|
}, null, 8, fz)
|
|
40569
40570
|
], 8, dz))), 256))
|
|
40570
40571
|
]),
|
|
@@ -40593,11 +40594,11 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40593
40594
|
key: `direction_pad_${i.value}`,
|
|
40594
40595
|
color: C.value.style.chart.color,
|
|
40595
40596
|
isFullscreen: fe.value,
|
|
40596
|
-
onMoveLeft: M[3] || (M[3] = (
|
|
40597
|
-
onMoveRight: M[4] || (M[4] = (
|
|
40598
|
-
onMoveTop: M[5] || (M[5] = (
|
|
40599
|
-
onMoveBottom: M[6] || (M[6] = (
|
|
40600
|
-
onReset: M[7] || (M[7] = (
|
|
40597
|
+
onMoveLeft: M[3] || (M[3] = (T) => re("left")),
|
|
40598
|
+
onMoveRight: M[4] || (M[4] = (T) => re("right")),
|
|
40599
|
+
onMoveTop: M[5] || (M[5] = (T) => re("top")),
|
|
40600
|
+
onMoveBottom: M[6] || (M[6] = (T) => re("bottom")),
|
|
40601
|
+
onReset: M[7] || (M[7] = (T) => {
|
|
40601
40602
|
z(), w.value = !1;
|
|
40602
40603
|
})
|
|
40603
40604
|
}, null, 8, ["color", "isFullscreen"])) : L("", !0),
|
|
@@ -40640,21 +40641,21 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40640
40641
|
config: P.value.config,
|
|
40641
40642
|
title: `${C.value.style.chart.title.text}${C.value.style.chart.title.subtitle.text ? ` : ${C.value.style.chart.title.subtitle.text}` : ""}`
|
|
40642
40643
|
}, {
|
|
40643
|
-
th: Ie(({ th:
|
|
40644
|
+
th: Ie(({ th: T }) => [
|
|
40644
40645
|
p("div", {
|
|
40645
|
-
innerHTML:
|
|
40646
|
+
innerHTML: T,
|
|
40646
40647
|
style: { display: "flex", "align-items": "center" }
|
|
40647
40648
|
}, null, 8, vz)
|
|
40648
40649
|
]),
|
|
40649
|
-
td: Ie(({ td:
|
|
40650
|
-
dt(D(
|
|
40650
|
+
td: Ie(({ td: T }) => [
|
|
40651
|
+
dt(D(T.name || T), 1)
|
|
40651
40652
|
]),
|
|
40652
40653
|
_: 1
|
|
40653
40654
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
40654
40655
|
], 4)) : L("", !0)
|
|
40655
40656
|
], 46, uz));
|
|
40656
40657
|
}
|
|
40657
|
-
}, yz = /* @__PURE__ */ Ut(gz, [["__scopeId", "data-v-ea914357"]]), pz = { class: "vue-ui-element-arrow" }, bz = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], wz = ["d", "fill"], mz = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], Cz = ["d", "fill"], xz = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"],
|
|
40658
|
+
}, yz = /* @__PURE__ */ Ut(gz, [["__scopeId", "data-v-ea914357"]]), pz = { class: "vue-ui-element-arrow" }, bz = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], wz = ["d", "fill"], mz = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], Cz = ["d", "fill"], xz = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], fV = {
|
|
40658
40659
|
__name: "Arrow",
|
|
40659
40660
|
props: {
|
|
40660
40661
|
markerEnd: {
|
|
@@ -40767,10 +40768,10 @@ const kz = ["viewBox"], Bz = { key: 0 }, _z = ["stroke"], Fz = ["stroke"], Sz =
|
|
|
40767
40768
|
44404118: v.value,
|
|
40768
40769
|
"648b3701": g.value
|
|
40769
40770
|
}));
|
|
40770
|
-
const l =
|
|
40771
|
+
const l = N(Ft.vue_ui_mini_loader), r = ie(() => Mt({
|
|
40771
40772
|
userConfig: t.config,
|
|
40772
40773
|
defaultConfig: l.value
|
|
40773
|
-
})), o =
|
|
40774
|
+
})), o = N({
|
|
40774
40775
|
onion: "-10 -10 84 84",
|
|
40775
40776
|
line: "-10 -10 112 84",
|
|
40776
40777
|
bar: "-10 -10 106 84"
|
|
@@ -40873,7 +40874,7 @@ const kz = ["viewBox"], Bz = { key: 0 }, _z = ["stroke"], Fz = ["stroke"], Sz =
|
|
|
40873
40874
|
], 8, kz));
|
|
40874
40875
|
}
|
|
40875
40876
|
}, Ez = /* @__PURE__ */ Ut(Mz, [["__scopeId", "data-v-668859ed"]]);
|
|
40876
|
-
function
|
|
40877
|
+
function vV(e) {
|
|
40877
40878
|
return Ft[e];
|
|
40878
40879
|
}
|
|
40879
40880
|
const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = ["viewBox"], Tz = ["d", "fill", "stroke", "stroke-width", "filter"], Dz = ["id", "fr"], Hz = /* @__PURE__ */ vd(() => /* @__PURE__ */ p("stop", {
|
|
@@ -40909,20 +40910,20 @@ const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = [
|
|
|
40909
40910
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40910
40911
|
setup(e, { expose: t, emit: l }) {
|
|
40911
40912
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
40912
|
-
|
|
40913
|
+
$t(() => {
|
|
40913
40914
|
Ht(r.dataset) && et({
|
|
40914
40915
|
componentName: "VueUiNestedDonuts",
|
|
40915
40916
|
type: "dataset"
|
|
40916
40917
|
});
|
|
40917
40918
|
});
|
|
40918
|
-
const a =
|
|
40919
|
+
const a = N(Ct()), n = N(Ft.vue_ui_nested_donuts), s = N(!1), A = N(!1), v = N(null), g = N(!1), b = N(""), y = N(null), w = N(0), u = N(!1);
|
|
40919
40920
|
function c(I) {
|
|
40920
40921
|
u.value = I, w.value += 1;
|
|
40921
40922
|
}
|
|
40922
40923
|
const i = ie(() => Mt({
|
|
40923
40924
|
userConfig: r.config,
|
|
40924
40925
|
defaultConfig: n.value
|
|
40925
|
-
})), C =
|
|
40926
|
+
})), C = N({
|
|
40926
40927
|
dataLabels: {
|
|
40927
40928
|
show: i.value.style.chart.layout.labels.dataLabels.show
|
|
40928
40929
|
},
|
|
@@ -40937,7 +40938,7 @@ const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = [
|
|
|
40937
40938
|
function O({ datapoint: I, index: P }) {
|
|
40938
40939
|
l("selectDatapoint", { datapoint: I, index: P });
|
|
40939
40940
|
}
|
|
40940
|
-
const W =
|
|
40941
|
+
const W = N([]), ae = ie(() => (r.dataset.forEach((I, P) => {
|
|
40941
40942
|
[null, void 0].includes(I.name) && et({
|
|
40942
40943
|
componentName: "VueUiNestedDonuts",
|
|
40943
40944
|
type: "datasetSerieAttribute",
|
|
@@ -41024,7 +41025,7 @@ const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = [
|
|
|
41024
41025
|
se.value / ae.value.length * i.value.style.chart.layout.donut.spacingRatio
|
|
41025
41026
|
)[0]
|
|
41026
41027
|
};
|
|
41027
|
-
})), ve =
|
|
41028
|
+
})), ve = N(null), z = N(null), V = N(null), Y = N(null);
|
|
41028
41029
|
function de({ datapoint: I, _relativeIndex: P, seriesIndex: j }) {
|
|
41029
41030
|
ve.value = I.arcOfId, z.value = I.id, V.value = j, Y.value = {
|
|
41030
41031
|
datapoint: I,
|
|
@@ -41106,7 +41107,7 @@ const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = [
|
|
|
41106
41107
|
fontSize: i.value.style.chart.legend.fontSize,
|
|
41107
41108
|
paddingBottom: 12,
|
|
41108
41109
|
fontWeight: i.value.style.chart.legend.bold ? "bold" : ""
|
|
41109
|
-
})), X =
|
|
41110
|
+
})), X = N(null);
|
|
41110
41111
|
function te() {
|
|
41111
41112
|
s.value = !0;
|
|
41112
41113
|
}
|
|
@@ -41472,7 +41473,7 @@ const nR = ["viewBox"], sR = ["id"], iR = ["stop-color"], AR = ["stop-color"], u
|
|
|
41472
41473
|
},
|
|
41473
41474
|
setup(e) {
|
|
41474
41475
|
const t = e, l = ie(() => !!t.dataset && Object.keys(t.dataset).length);
|
|
41475
|
-
|
|
41476
|
+
$t(() => {
|
|
41476
41477
|
Ht(t.dataset) ? et({
|
|
41477
41478
|
componentName: "VueUiSparkgauge",
|
|
41478
41479
|
type: "dataset"
|
|
@@ -41487,7 +41488,7 @@ const nR = ["viewBox"], sR = ["id"], iR = ["stop-color"], AR = ["stop-color"], u
|
|
|
41487
41488
|
});
|
|
41488
41489
|
});
|
|
41489
41490
|
});
|
|
41490
|
-
const r =
|
|
41491
|
+
const r = N(Ct()), o = N(Ft.vue_ui_sparkgauge), a = ie(() => Mt({
|
|
41491
41492
|
userConfig: t.config,
|
|
41492
41493
|
defaultConfig: o.value
|
|
41493
41494
|
})), n = ie(() => ({
|
|
@@ -41501,8 +41502,8 @@ const nR = ["viewBox"], sR = ["id"], iR = ["stop-color"], AR = ["stop-color"], u
|
|
|
41501
41502
|
max: C,
|
|
41502
41503
|
diff: F
|
|
41503
41504
|
};
|
|
41504
|
-
}), A =
|
|
41505
|
-
|
|
41505
|
+
}), A = N(a.value.style.animation.show ? s.value.min : t.dataset.value), v = ie(() => A.value > s.value.max ? s.value.max : A.value < s.value.min ? s.value.min : A.value), g = ie(() => s.value.diff / a.value.style.animation.speedMs);
|
|
41506
|
+
$t(() => {
|
|
41506
41507
|
function i() {
|
|
41507
41508
|
A.value += g.value, A.value < t.dataset.value ? requestAnimationFrame(i) : A.value = t.dataset.value;
|
|
41508
41509
|
}
|
|
@@ -41607,7 +41608,7 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41607
41608
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41608
41609
|
setup(e, { expose: t, emit: l }) {
|
|
41609
41610
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
41610
|
-
|
|
41611
|
+
$t(() => {
|
|
41611
41612
|
Ht(r.dataset) ? et({
|
|
41612
41613
|
componentName: "VueUiGalaxy",
|
|
41613
41614
|
type: "dataset"
|
|
@@ -41625,21 +41626,21 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41625
41626
|
});
|
|
41626
41627
|
});
|
|
41627
41628
|
});
|
|
41628
|
-
const a =
|
|
41629
|
+
const a = N(Ct()), n = N(Ft.vue_ui_galaxy), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(null), u = N(0), c = ie(() => Mt({
|
|
41629
41630
|
userConfig: r.config,
|
|
41630
41631
|
defaultConfig: n.value
|
|
41631
|
-
})), i =
|
|
41632
|
+
})), i = N({
|
|
41632
41633
|
dataLabels: {
|
|
41633
41634
|
show: c.value.style.chart.layout.labels.dataLabels.show
|
|
41634
41635
|
},
|
|
41635
41636
|
showTable: c.value.table.show
|
|
41636
41637
|
});
|
|
41637
41638
|
ie(() => `${c.value.style.chart.layout.arcs.gradient.intensity}%`);
|
|
41638
|
-
const C =
|
|
41639
|
+
const C = N({
|
|
41639
41640
|
height: 180,
|
|
41640
41641
|
// or 250 if non fibo
|
|
41641
41642
|
width: 250
|
|
41642
|
-
}), F =
|
|
41643
|
+
}), F = N([]);
|
|
41643
41644
|
function k(U) {
|
|
41644
41645
|
F.value.includes(U.id) ? F.value = F.value.filter((S) => S !== U.id) : F.value.push(U.id), l("selectLegend", ye.value.map((S) => ({
|
|
41645
41646
|
name: S.name,
|
|
@@ -41662,7 +41663,7 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41662
41663
|
value: U.value
|
|
41663
41664
|
}));
|
|
41664
41665
|
}
|
|
41665
|
-
const ae = ie(() => O.value.filter((U) => !F.value.includes(U.id)).map((U) => U.value).reduce((U, S) => U + S, 0)), se =
|
|
41666
|
+
const ae = ie(() => O.value.filter((U) => !F.value.includes(U.id)).map((U) => U.value).reduce((U, S) => U + S, 0)), se = N(190), J = ie(() => O.value.filter((U) => !F.value.includes(U.id))), ye = ie(() => {
|
|
41666
41667
|
const U = [];
|
|
41667
41668
|
for (let S = 0; S < J.value.length; S += 1) {
|
|
41668
41669
|
const $ = J.value[S];
|
|
@@ -41680,11 +41681,11 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41680
41681
|
});
|
|
41681
41682
|
}
|
|
41682
41683
|
return U.filter((S, $) => !F.value.includes(S.id)).toSorted((S, $) => $.points - S.points);
|
|
41683
|
-
}), ve =
|
|
41684
|
+
}), ve = N(!1);
|
|
41684
41685
|
function z(U) {
|
|
41685
41686
|
ve.value = U, u.value += 1;
|
|
41686
41687
|
}
|
|
41687
|
-
const V =
|
|
41688
|
+
const V = N(null);
|
|
41688
41689
|
function Y({ datapoint: U, _relativeIndex: S, seriesIndex: $, show: K = !1 }) {
|
|
41689
41690
|
V.value = {
|
|
41690
41691
|
datapoint: U,
|
|
@@ -41718,7 +41719,7 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41718
41719
|
fontSize: c.value.style.chart.legend.fontSize,
|
|
41719
41720
|
paddingBottom: 12,
|
|
41720
41721
|
fontWeight: c.value.style.chart.legend.bold ? "bold" : ""
|
|
41721
|
-
})), _e =
|
|
41722
|
+
})), _e = N(null);
|
|
41722
41723
|
function ne() {
|
|
41723
41724
|
s.value = !0;
|
|
41724
41725
|
}
|
|
@@ -41994,11 +41995,11 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41994
41995
|
}
|
|
41995
41996
|
},
|
|
41996
41997
|
setup(e) {
|
|
41997
|
-
const t = e, l =
|
|
41998
|
+
const t = e, l = N(Ft.vue_ui_kpi), r = ie(() => Mt({
|
|
41998
41999
|
userConfig: t.config,
|
|
41999
42000
|
defaultConfig: l.value
|
|
42000
|
-
})), o =
|
|
42001
|
-
return
|
|
42001
|
+
})), o = N((typeof t.dataset == "number", t.dataset)), a = N(r.value.useAnimation ? r.value.animationValueStart : o.value);
|
|
42002
|
+
return $t(() => {
|
|
42002
42003
|
const n = r.value.animationFrames, s = t.dataset / n;
|
|
42003
42004
|
function A() {
|
|
42004
42005
|
a.value += s, a.value < t.dataset ? requestAnimationFrame(A) : a.value = t.dataset;
|
|
@@ -42209,16 +42210,16 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42209
42210
|
emits: ["selectLegend", "selectDatapoint"],
|
|
42210
42211
|
setup(e, { expose: t, emit: l }) {
|
|
42211
42212
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
42212
|
-
|
|
42213
|
+
$t(() => {
|
|
42213
42214
|
Ht(r.dataset) && et({
|
|
42214
42215
|
componentName: "VueUiTreemap",
|
|
42215
42216
|
type: "dataset"
|
|
42216
42217
|
});
|
|
42217
42218
|
});
|
|
42218
|
-
const a =
|
|
42219
|
+
const a = N(Ct()), n = N(Ft.vue_ui_treemap), s = N(!1), A = N(!1), v = N(null), g = N(!1), b = N(""), y = N(!1), w = N(0), u = N([]), c = ie(() => Mt({
|
|
42219
42220
|
userConfig: r.config,
|
|
42220
42221
|
defaultConfig: n.value
|
|
42221
|
-
})), i =
|
|
42222
|
+
})), i = N({
|
|
42222
42223
|
showTable: c.value.table.show
|
|
42223
42224
|
}), C = ie(() => ({
|
|
42224
42225
|
bottom: c.value.style.chart.height - c.value.style.chart.padding.bottom,
|
|
@@ -42231,40 +42232,40 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42231
42232
|
width: c.value.style.chart.width - c.value.style.chart.padding.left - c.value.style.chart.padding.right
|
|
42232
42233
|
}));
|
|
42233
42234
|
function F(M) {
|
|
42234
|
-
M.forEach((
|
|
42235
|
-
|
|
42236
|
-
ue.parentId =
|
|
42237
|
-
}), F(
|
|
42235
|
+
M.forEach((T, ee) => {
|
|
42236
|
+
T.id = Ct(), T.color = mt(T.color) || Ye[ee] || Ye[ee % Ye.length], T.children && (T.children.forEach((ue) => {
|
|
42237
|
+
ue.parentId = T.id, ue.color = T.color;
|
|
42238
|
+
}), F(T.children));
|
|
42238
42239
|
});
|
|
42239
42240
|
}
|
|
42240
|
-
const k =
|
|
42241
|
-
|
|
42241
|
+
const k = N(r.dataset);
|
|
42242
|
+
$t(() => {
|
|
42242
42243
|
F(k.value);
|
|
42243
42244
|
});
|
|
42244
|
-
const O =
|
|
42245
|
+
const O = N(k.value), W = ie(() => O.value.map((M, T) => ({
|
|
42245
42246
|
...M,
|
|
42246
|
-
color: mt(M.color) || Ye[
|
|
42247
|
-
})).filter((M) => !u.value.includes(M.id))), ae = ie(() => k.value.filter((M) => !u.value.includes(M.id)).map((M) => M.value || 0).reduce((M,
|
|
42247
|
+
color: mt(M.color) || Ye[T] || Ye[T % Ye.length]
|
|
42248
|
+
})).filter((M) => !u.value.includes(M.id))), ae = ie(() => k.value.filter((M) => !u.value.includes(M.id)).map((M) => M.value || 0).reduce((M, T) => M + T, 0)), se = ie({
|
|
42248
42249
|
get() {
|
|
42249
42250
|
let M = [...W.value];
|
|
42250
|
-
return c.value.style.chart.layout.sorted && (M = [...W.value].sort((
|
|
42251
|
-
...
|
|
42251
|
+
return c.value.style.chart.layout.sorted && (M = [...W.value].sort((T, ee) => ee.value - T.value)), M.map((T) => ({
|
|
42252
|
+
...T
|
|
42252
42253
|
}));
|
|
42253
42254
|
},
|
|
42254
42255
|
set(M) {
|
|
42255
42256
|
return M;
|
|
42256
42257
|
}
|
|
42257
42258
|
});
|
|
42258
|
-
function J(M,
|
|
42259
|
-
return M.value /
|
|
42259
|
+
function J(M, T) {
|
|
42260
|
+
return M.value / T;
|
|
42260
42261
|
}
|
|
42261
|
-
function ye(M,
|
|
42262
|
-
const ue = c.value.style.chart.layout.rects.colorRatio - J(
|
|
42262
|
+
function ye(M, T, ee) {
|
|
42263
|
+
const ue = c.value.style.chart.layout.rects.colorRatio - J(T, ee);
|
|
42263
42264
|
return Xo(M, ue < 0 ? 0 : ue);
|
|
42264
42265
|
}
|
|
42265
|
-
function ve(M,
|
|
42266
|
+
function ve(M, T, ee, ue) {
|
|
42266
42267
|
return M.map((R, me) => {
|
|
42267
|
-
const Fe = ye(mt(
|
|
42268
|
+
const Fe = ye(mt(T) || Ye[me] || Ye[me % Ye.length], R, ue), ke = J(R, ue);
|
|
42268
42269
|
return {
|
|
42269
42270
|
...R,
|
|
42270
42271
|
color: Fe,
|
|
@@ -42275,7 +42276,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42275
42276
|
});
|
|
42276
42277
|
}
|
|
42277
42278
|
const z = ie(() => LR(
|
|
42278
|
-
se.value.map((M,
|
|
42279
|
+
se.value.map((M, T) => {
|
|
42279
42280
|
const ee = M.children ? M.children.reduce((ue, R) => ue + R.value, 0) : M.value;
|
|
42280
42281
|
return {
|
|
42281
42282
|
value: M.value,
|
|
@@ -42287,17 +42288,17 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42287
42288
|
}),
|
|
42288
42289
|
{ x0: C.value.left * 2, y0: C.value.top, x1: C.value.width, y1: C.value.height }
|
|
42289
42290
|
));
|
|
42290
|
-
function V({ y0: M, y1:
|
|
42291
|
-
return
|
|
42291
|
+
function V({ y0: M, y1: T }) {
|
|
42292
|
+
return T - M;
|
|
42292
42293
|
}
|
|
42293
|
-
function Y({ x0: M, x1:
|
|
42294
|
-
return
|
|
42294
|
+
function Y({ x0: M, x1: T }) {
|
|
42295
|
+
return T - M;
|
|
42295
42296
|
}
|
|
42296
42297
|
function de(M) {
|
|
42297
|
-
const
|
|
42298
|
-
return
|
|
42298
|
+
const T = c.value.style.chart.layout.labels.fontSize * (M.proportion * 2 > 1 ? 1 : M.proportion * 2);
|
|
42299
|
+
return T < c.value.style.chart.layout.labels.minFontSize ? c.value.style.chart.layout.labels.minFontSize : T;
|
|
42299
42300
|
}
|
|
42300
|
-
const we =
|
|
42301
|
+
const we = N(null);
|
|
42301
42302
|
function _e() {
|
|
42302
42303
|
s.value = !0;
|
|
42303
42304
|
}
|
|
@@ -42328,14 +42329,14 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42328
42329
|
function te(M) {
|
|
42329
42330
|
y.value = M, w.value += 1;
|
|
42330
42331
|
}
|
|
42331
|
-
const re =
|
|
42332
|
+
const re = N({
|
|
42332
42333
|
startX: 0,
|
|
42333
42334
|
startY: 0,
|
|
42334
42335
|
width: C.value.vbWidth,
|
|
42335
42336
|
height: C.value.vbHeight
|
|
42336
|
-
}), _ =
|
|
42337
|
-
function Q(M,
|
|
42338
|
-
for (const ee of
|
|
42337
|
+
}), _ = N(!1);
|
|
42338
|
+
function Q(M, T = k.value) {
|
|
42339
|
+
for (const ee of T) {
|
|
42339
42340
|
if (ee.id === M)
|
|
42340
42341
|
return ee;
|
|
42341
42342
|
if (ee.children) {
|
|
@@ -42349,11 +42350,11 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42349
42350
|
function U(M) {
|
|
42350
42351
|
_.value ? (l("selectDatapoint", void 0), O.value = k.value) : (l("selectDatapoint", M), O.value = [Q(M.parentId)]), _.value = !_.value;
|
|
42351
42352
|
}
|
|
42352
|
-
const S =
|
|
42353
|
+
const S = N(null), $ = ie(() => k.value.map((M, T) => ({
|
|
42353
42354
|
...M,
|
|
42354
|
-
color: mt(M.color) || Ye[
|
|
42355
|
+
color: mt(M.color) || Ye[T] || Ye[T % Ye.length],
|
|
42355
42356
|
shape: "square"
|
|
42356
|
-
})).sort((M,
|
|
42357
|
+
})).sort((M, T) => T.value - M.value).map((M, T) => ({
|
|
42357
42358
|
...M,
|
|
42358
42359
|
proportion: M.value / k.value.map((ee) => ee.value).reduce((ee, ue) => ee + ue, 0),
|
|
42359
42360
|
opacity: u.value.includes(M.id) ? 0.5 : 1
|
|
@@ -42366,20 +42367,20 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42366
42367
|
fontWeight: c.value.style.chart.legend.bold ? "bold" : ""
|
|
42367
42368
|
}));
|
|
42368
42369
|
function I(M) {
|
|
42369
|
-
_.value = !1, S.value = null, u.value.includes(M.id) ? u.value = u.value.filter((
|
|
42370
|
+
_.value = !1, S.value = null, u.value.includes(M.id) ? u.value = u.value.filter((T) => T !== M.id) : u.value.length < r.dataset.length - 1 && u.value.push(M.id), l("selectLegend", se.value);
|
|
42370
42371
|
}
|
|
42371
|
-
const P =
|
|
42372
|
-
function j({ datapoint: M, seriesIndex:
|
|
42373
|
-
S.value = M, P.value = { datapoint: M, seriesIndex:
|
|
42372
|
+
const P = N(null);
|
|
42373
|
+
function j({ datapoint: M, seriesIndex: T }) {
|
|
42374
|
+
S.value = M, P.value = { datapoint: M, seriesIndex: T, config: c.value, series: W.value };
|
|
42374
42375
|
const ee = c.value.style.chart.tooltip.customFormat;
|
|
42375
42376
|
if (Ml(ee) && ca(() => ee({
|
|
42376
|
-
seriesIndex:
|
|
42377
|
+
seriesIndex: T,
|
|
42377
42378
|
datapoint: M,
|
|
42378
42379
|
series: W.value,
|
|
42379
42380
|
config: c.value
|
|
42380
42381
|
})))
|
|
42381
42382
|
b.value = ee({
|
|
42382
|
-
seriesIndex:
|
|
42383
|
+
seriesIndex: T,
|
|
42383
42384
|
datapoint: M,
|
|
42384
42385
|
series: W.value,
|
|
42385
42386
|
config: c.value
|
|
@@ -42394,14 +42395,14 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42394
42395
|
const M = z.value.map((ee) => ({
|
|
42395
42396
|
name: ee.name,
|
|
42396
42397
|
color: ee.color
|
|
42397
|
-
})),
|
|
42398
|
-
return { head: M, body:
|
|
42398
|
+
})), T = z.value.map((ee) => ee.value);
|
|
42399
|
+
return { head: M, body: T };
|
|
42399
42400
|
});
|
|
42400
42401
|
function fe() {
|
|
42401
42402
|
fl(() => {
|
|
42402
42403
|
const M = q.value.head.map((ue, R) => [[
|
|
42403
42404
|
ue.name
|
|
42404
|
-
], [q.value.body[R]], [isNaN(q.value.body[R] / ae.value) ? "-" : q.value.body[R] / ae.value * 100]]),
|
|
42405
|
+
], [q.value.body[R]], [isNaN(q.value.body[R] / ae.value) ? "-" : q.value.body[R] / ae.value * 100]]), T = [[c.value.style.chart.title.text], [c.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(M), ee = yl(T);
|
|
42405
42406
|
gl({ csvContent: ee, title: c.value.style.chart.title.text || "vue-ui-treemap" });
|
|
42406
42407
|
});
|
|
42407
42408
|
}
|
|
@@ -42410,7 +42411,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42410
42411
|
c.value.table.columnNames.series,
|
|
42411
42412
|
c.value.table.columnNames.value,
|
|
42412
42413
|
c.value.table.columnNames.percentage
|
|
42413
|
-
],
|
|
42414
|
+
], T = q.value.head.map((R, me) => {
|
|
42414
42415
|
const Fe = ft({ p: c.value.style.chart.layout.labels.prefix, v: q.value.body[me], s: c.value.style.chart.layout.labels.suffix, r: c.value.table.td.roundingValue });
|
|
42415
42416
|
return [
|
|
42416
42417
|
{
|
|
@@ -42440,7 +42441,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42440
42441
|
c.value.table.columnNames.value
|
|
42441
42442
|
],
|
|
42442
42443
|
head: M,
|
|
42443
|
-
body:
|
|
42444
|
+
body: T,
|
|
42444
42445
|
config: ee
|
|
42445
42446
|
};
|
|
42446
42447
|
});
|
|
@@ -42452,7 +42453,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42452
42453
|
generateCsv: fe,
|
|
42453
42454
|
generateImage: X,
|
|
42454
42455
|
generatePdf: ne
|
|
42455
|
-
}), (M,
|
|
42456
|
+
}), (M, T) => (d(), f("div", {
|
|
42456
42457
|
ref_key: "treemapChart",
|
|
42457
42458
|
ref: v,
|
|
42458
42459
|
class: He(`vue-ui-treemap ${y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${c.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -42495,7 +42496,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42495
42496
|
hasFullscreen: "",
|
|
42496
42497
|
isFullscreen: y.value,
|
|
42497
42498
|
chartElement: v.value,
|
|
42498
|
-
onToggleTable:
|
|
42499
|
+
onToggleTable: T[0] || (T[0] = (ee) => i.value.showTable = !i.value.showTable),
|
|
42499
42500
|
onToggleFullscreen: te,
|
|
42500
42501
|
onGeneratePdf: ne,
|
|
42501
42502
|
onGenerateCsv: fe,
|
|
@@ -42539,7 +42540,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42539
42540
|
datapoint: ee,
|
|
42540
42541
|
seriesIndex: ue
|
|
42541
42542
|
}),
|
|
42542
|
-
onMouseleave:
|
|
42543
|
+
onMouseleave: T[1] || (T[1] = (R) => {
|
|
42543
42544
|
S.value = null, g.value = !1;
|
|
42544
42545
|
}),
|
|
42545
42546
|
style: H(`opacity:${S.value ? S.value.id === ee.id ? 1 : c.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
@@ -42600,7 +42601,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42600
42601
|
legendSet: $.value,
|
|
42601
42602
|
config: K.value,
|
|
42602
42603
|
id: `treemap_legend_${a.value}`,
|
|
42603
|
-
onClickMarker:
|
|
42604
|
+
onClickMarker: T[2] || (T[2] = ({ legend: ee }) => I(ee))
|
|
42604
42605
|
}, {
|
|
42605
42606
|
item: Ie(({ legend: ee, index: ue }) => [
|
|
42606
42607
|
p("div", {
|
|
@@ -42686,11 +42687,11 @@ const JR = ["id"], ZR = { role: "cell" }, eV = { role: "row" }, tV = ["data-cell
|
|
|
42686
42687
|
c905d5a4: k.value,
|
|
42687
42688
|
f7c565ee: F.value
|
|
42688
42689
|
}));
|
|
42689
|
-
const r =
|
|
42690
|
+
const r = N(Ct()), o = N(Ft.vue_ui_table_heatmap), a = N(!1), n = N(null), s = N(!1), A = N(!1), v = N(!1), g = N(0), b = ie(() => Mt({
|
|
42690
42691
|
userConfig: l.config,
|
|
42691
42692
|
defaultConfig: o.value
|
|
42692
42693
|
})), y = ie(() => b.value.table.responsiveBreakpoint), w = ie(() => !!l.dataset && l.dataset.length);
|
|
42693
|
-
|
|
42694
|
+
$t(() => {
|
|
42694
42695
|
Ht(l.dataset) && et({
|
|
42695
42696
|
componentName: "VueUiTableHeatmap",
|
|
42696
42697
|
type: "dataset"
|
|
@@ -42731,7 +42732,7 @@ const JR = ["id"], ZR = { role: "cell" }, eV = { role: "row" }, tV = ["data-cell
|
|
|
42731
42732
|
const C = ie(() => u.value.map((z) => ({
|
|
42732
42733
|
...z,
|
|
42733
42734
|
colors: z.displayValues.map((V) => isNaN(V) ? b.value.style.backgroundColor : i(V, z.serieExtremes))
|
|
42734
|
-
}))), F = ie(() => b.value.style.backgroundColor), k = ie(() => `${b.value.table.borderWidth}px`), O =
|
|
42735
|
+
}))), F = ie(() => b.value.style.backgroundColor), k = ie(() => `${b.value.table.borderWidth}px`), O = N(null);
|
|
42735
42736
|
function W() {
|
|
42736
42737
|
s.value = !0;
|
|
42737
42738
|
}
|
|
@@ -42843,7 +42844,7 @@ const JR = ["id"], ZR = { role: "cell" }, eV = { role: "row" }, tV = ["data-cell
|
|
|
42843
42844
|
], 14, JR));
|
|
42844
42845
|
}
|
|
42845
42846
|
}, nV = /* @__PURE__ */ Ut(rV, [["__scopeId", "data-v-189b5a71"]]);
|
|
42846
|
-
const sV = { class: "vue-ui-accordion-arrow" },
|
|
42847
|
+
const sV = ["id"], iV = { class: "vue-ui-accordion-arrow" }, AV = {
|
|
42847
42848
|
__name: "vue-ui-accordion",
|
|
42848
42849
|
props: {
|
|
42849
42850
|
config: {
|
|
@@ -42854,40 +42855,51 @@ const sV = { class: "vue-ui-accordion-arrow" }, iV = {
|
|
|
42854
42855
|
}
|
|
42855
42856
|
},
|
|
42856
42857
|
setup(e) {
|
|
42857
|
-
const t = e, l =
|
|
42858
|
+
const t = e, l = N(Ft.vue_ui_accordion), r = ie(() => Mt({
|
|
42858
42859
|
userConfig: t.config,
|
|
42859
42860
|
defaultConfig: l.value
|
|
42860
|
-
}));
|
|
42861
|
-
|
|
42862
|
-
|
|
42861
|
+
})), o = N(t.config.open), a = N(Ct()), n = N(null), s = N(0);
|
|
42862
|
+
$t(() => {
|
|
42863
|
+
n.value.open = r.value.open;
|
|
42864
|
+
});
|
|
42865
|
+
function A() {
|
|
42866
|
+
(s.value > 0 || !r.value.open) && (o.value = !o.value), s.value += 1;
|
|
42867
|
+
}
|
|
42868
|
+
return (v, g) => (d(), f(Ce, null, [
|
|
42869
|
+
p("details", {
|
|
42870
|
+
id: `details_${a.value}`,
|
|
42871
|
+
ref_key: "details",
|
|
42872
|
+
ref: n,
|
|
42873
|
+
onToggle: A
|
|
42874
|
+
}, [
|
|
42863
42875
|
p("summary", null, [
|
|
42864
42876
|
p("div", {
|
|
42865
42877
|
class: "vue-ui-accordion-head",
|
|
42866
42878
|
style: H(`background:${r.value.head.backgroundColor};padding:${r.value.head.padding};`)
|
|
42867
42879
|
}, [
|
|
42868
|
-
p("div",
|
|
42869
|
-
r.value.head.useArrowSlot ? Me(
|
|
42880
|
+
p("div", iV, [
|
|
42881
|
+
r.value.head.useArrowSlot ? Me(v.$slots, "arrow", Ze(Cc({ key: 0 }, { backgroundColor: r.value.head.backgroundColor, color: r.value.head.color, iconColor: r.value.head.iconColor, isOpen: o.value })), void 0, !0) : (d(), ze(Al, {
|
|
42870
42882
|
key: 1,
|
|
42871
42883
|
name: "arrowRight",
|
|
42872
42884
|
stroke: r.value.head.iconColor
|
|
42873
42885
|
}, null, 8, ["stroke"]))
|
|
42874
42886
|
]),
|
|
42875
|
-
Me(
|
|
42887
|
+
Me(v.$slots, "title", Ze(tt({ color: r.value.head.color, isOpen: o.value })), void 0, !0)
|
|
42876
42888
|
], 4)
|
|
42877
42889
|
])
|
|
42878
|
-
]),
|
|
42890
|
+
], 40, sV),
|
|
42879
42891
|
p("div", {
|
|
42880
42892
|
class: "vue-ui-accordion-content",
|
|
42881
42893
|
style: H(`background:${r.value.body.backgroundColor};color:${r.value.body.color}`)
|
|
42882
42894
|
}, [
|
|
42883
|
-
Me(
|
|
42895
|
+
Me(v.$slots, "content", Ze(tt({ backgroundColor: r.value.body.backgroundColor, color: r.value.body.color, isOpen: o.value })), void 0, !0)
|
|
42884
42896
|
], 4)
|
|
42885
42897
|
], 64));
|
|
42886
42898
|
}
|
|
42887
|
-
},
|
|
42899
|
+
}, uV = /* @__PURE__ */ Ut(AV, [["__scopeId", "data-v-4b15adfa"]]), cV = {
|
|
42888
42900
|
key: 0,
|
|
42889
42901
|
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
42890
|
-
},
|
|
42902
|
+
}, dV = { style: { width: "36px" } }, gV = {
|
|
42891
42903
|
__name: "vue-data-ui",
|
|
42892
42904
|
props: {
|
|
42893
42905
|
component: { type: String },
|
|
@@ -42911,8 +42923,8 @@ const sV = { class: "vue-ui-accordion-arrow" }, iV = {
|
|
|
42911
42923
|
"selectX"
|
|
42912
42924
|
],
|
|
42913
42925
|
setup(e, { expose: t, emit: l }) {
|
|
42914
|
-
const r = e, o = ie(() => !["VueUi3dBar", "VueUiAgePyramid", "VueUiAnnotator", "VueUiCandlestick", "VueUiChestnut", "VueUiDashboard", "VueUiDigits", "VueUiDonutEvolution", "VueUiDonut", "VueUiGauge", "VueUiGalaxy", "VueUiHeatmap", "VueUiKpi", "VueUiMiniLoader", "VueUiMolecule", "VueUiMoodRadar", "VueUiNestedDonuts", "VueUiOnion", "VueUiQuadrant", "VueUiRadar", "VueUiRating", "VueUiRelationCircle", "VueUiRings", "VueUiScatter", "VueUiScreenshot", "VueUiSkeleton", "VueUiSmiley", "VueUiSparkbar", "VueUiSparkgauge", "VueUiSparkHistogram", "VueUiSparkline", "VueUiSparkStackbar", "VueUiTableSparkline", "VueUiTable", "VueUiThermometer", "VueUiTiremarks", "VueUiVerticalBar", "VueUiWaffle", "VueUiWheel", "VueUiXy", "VueUiTreemap", "VueUiTableHeatmap", "VueUiAccordion"].includes(r.component)), a =
|
|
42915
|
-
return
|
|
42926
|
+
const r = e, o = ie(() => !["VueUi3dBar", "VueUiAgePyramid", "VueUiAnnotator", "VueUiCandlestick", "VueUiChestnut", "VueUiDashboard", "VueUiDigits", "VueUiDonutEvolution", "VueUiDonut", "VueUiGauge", "VueUiGalaxy", "VueUiHeatmap", "VueUiKpi", "VueUiMiniLoader", "VueUiMolecule", "VueUiMoodRadar", "VueUiNestedDonuts", "VueUiOnion", "VueUiQuadrant", "VueUiRadar", "VueUiRating", "VueUiRelationCircle", "VueUiRings", "VueUiScatter", "VueUiScreenshot", "VueUiSkeleton", "VueUiSmiley", "VueUiSparkbar", "VueUiSparkgauge", "VueUiSparkHistogram", "VueUiSparkline", "VueUiSparkStackbar", "VueUiTableSparkline", "VueUiTable", "VueUiThermometer", "VueUiTiremarks", "VueUiVerticalBar", "VueUiWaffle", "VueUiWheel", "VueUiXy", "VueUiTreemap", "VueUiTableHeatmap", "VueUiAccordion"].includes(r.component)), a = N(null), n = N(null), s = N(null), A = N(null), v = N(null), g = N(null), b = N(null), y = N(null), w = N(null), u = N(null), c = N(null), i = N(null), C = N(null), F = N(null), k = N(null), O = N(null), W = N(null), ae = N(null), se = N(null), J = N(null), ye = N(null), ve = N(null), z = N(null), V = N(null), Y = N(null), de = N(null), we = N(null), _e = N(null), ne = N(null), G = N(null), X = N(null), te = N(null), re = N(null), _ = N(null), Q = N(null), U = N(null), S = N(null), $ = N(null), K = N(null), I = N(null), P = N(null), j = N(null), q = N(() => null), fe = N(() => null), Z = N(() => null), pe = N(() => null), M = N(() => null), T = N(() => null), ee = N(() => null), ue = N(() => null), R = N(() => null), me = N(() => null);
|
|
42927
|
+
return $t(() => {
|
|
42916
42928
|
if (o.value)
|
|
42917
42929
|
throw new Error(`
|
|
42918
42930
|
|
|
@@ -42964,21 +42976,21 @@ Available components:
|
|
|
42964
42976
|
. VueUiXy
|
|
42965
42977
|
|
|
42966
42978
|
`);
|
|
42967
|
-
j.value && (fe.value = j.value.generatePdf, Z.value = j.value.generateCsv, pe.value = j.value.generateImage), a.value && (fe.value = a.value.generatePdf, pe.value = a.value.generateImage), n.value && (fe.value = n.value.generatePdf, Z.value = n.value.generateCsv, pe.value = n.value.generateImage), A.value && (fe.value = A.value.generatePdf, Z.value = A.value.generateCsv, pe.value = A.value.generateImage), v.value && (q.value = v.value.getData, fe.value = v.value.generatePdf, Z.value = v.value.generateCsv, pe.value = v.value.generateImage), g.value && (M.value = g.value.getItemsPositions, fe.value = g.value.generatePdf), w.value && (q.value = w.value.getData, fe.value = w.value.generatePdf, Z.value = w.value.generateCsv, pe.value = w.value.generateImage), y.value && (q.value = y.value.getData, fe.value = y.value.generatePdf, Z.value = y.value.generateCsv, pe.value = y.value.generateImage), u.value && (q.value = u.value.getData, fe.value = u.value.generatePdf, Z.value = u.value.generateCsv, pe.value = u.value.generateImage), c.value && (fe.value = c.value.generatePdf, pe.value = c.value.generateImage), i.value && (fe.value = i.value.generatePdf, Z.value = i.value.generateCsv, pe.value = i.value.generateImage), k.value && (q.value = k.value.getData, fe.value = k.value.generatePdf, Z.value = k.value.generateCsv, pe.value = k.value.generateImage), O.value && (q.value = O.value.getData, fe.value = O.value.generatePdf, Z.value = O.value.generateCsv, pe.value = O.value.generateImage), W.value && (q.value = W.value.getData, fe.value = W.value.generatePdf, Z.value = W.value.generateCsv, pe.value = W.value.generateImage), ae.value && (q.value = ae.value.getData, fe.value = ae.value.generatePdf, Z.value = ae.value.generateCsv, pe.value = ae.value.generateImage), se.value && (q.value = se.value.getData, fe.value = se.value.generatePdf, Z.value = se.value.generateCsv, pe.value = se.value.generateImage), J.value && (q.value = J.value.getData, fe.value = J.value.generatePdf, Z.value = J.value.generateCsv, pe.value = J.value.generateImage), ye.value && (q.value = ye.value.getData,
|
|
42979
|
+
j.value && (fe.value = j.value.generatePdf, Z.value = j.value.generateCsv, pe.value = j.value.generateImage), a.value && (fe.value = a.value.generatePdf, pe.value = a.value.generateImage), n.value && (fe.value = n.value.generatePdf, Z.value = n.value.generateCsv, pe.value = n.value.generateImage), A.value && (fe.value = A.value.generatePdf, Z.value = A.value.generateCsv, pe.value = A.value.generateImage), v.value && (q.value = v.value.getData, fe.value = v.value.generatePdf, Z.value = v.value.generateCsv, pe.value = v.value.generateImage), g.value && (M.value = g.value.getItemsPositions, fe.value = g.value.generatePdf), w.value && (q.value = w.value.getData, fe.value = w.value.generatePdf, Z.value = w.value.generateCsv, pe.value = w.value.generateImage), y.value && (q.value = y.value.getData, fe.value = y.value.generatePdf, Z.value = y.value.generateCsv, pe.value = y.value.generateImage), u.value && (q.value = u.value.getData, fe.value = u.value.generatePdf, Z.value = u.value.generateCsv, pe.value = u.value.generateImage), c.value && (fe.value = c.value.generatePdf, pe.value = c.value.generateImage), i.value && (fe.value = i.value.generatePdf, Z.value = i.value.generateCsv, pe.value = i.value.generateImage), k.value && (q.value = k.value.getData, fe.value = k.value.generatePdf, Z.value = k.value.generateCsv, pe.value = k.value.generateImage), O.value && (q.value = O.value.getData, fe.value = O.value.generatePdf, Z.value = O.value.generateCsv, pe.value = O.value.generateImage), W.value && (q.value = W.value.getData, fe.value = W.value.generatePdf, Z.value = W.value.generateCsv, pe.value = W.value.generateImage), ae.value && (q.value = ae.value.getData, fe.value = ae.value.generatePdf, Z.value = ae.value.generateCsv, pe.value = ae.value.generateImage), se.value && (q.value = se.value.getData, fe.value = se.value.generatePdf, Z.value = se.value.generateCsv, pe.value = se.value.generateImage), J.value && (q.value = J.value.getData, fe.value = J.value.generatePdf, Z.value = J.value.generateCsv, pe.value = J.value.generateImage), ye.value && (q.value = ye.value.getData, T.value = ye.value.toggleReadonly), ve.value && (fe.value = ve.value.generatePdf, pe.value = ve.value.generateImage), z.value && (q.value = z.value.getData, fe.value = z.value.generatePdf, Z.value = z.value.generateCsv, pe.value = z.generateImage), V.value && (q.value = V.value.getData, fe.value = V.value.generatePdf, Z.value = V.value.generateCsv, pe.value = V.value.generateImage), Y.value && (ee.value = Y.value.shoot, ue.value = Y.value.close), we.value && (q.value = we.value.getData, T.value = we.value.toggleReadonly), _.value && (fe.value = _.value.generatePdf, Z.value = _.value.generateCsv, pe.value = _.value.generateImage, R.value = _.value.restoreOrder), Q.value && (fe.value = Q.value.generatePdf, pe.value = Q.value.generateImage), U.value && (fe.value = U.value.generatePdf, pe.value = U.value.generateImage), S.value && (q.value = S.value.getData, fe.value = S.value.generatePdf, Z.value = S.value.generateCsv, pe.value = S.value.generateImage), $.value && (q.value = $.value.getData, me.value = $.value.recalculateHeight, fe.value = $.value.generatePdf, Z.value = $.value.generateCsv, pe.value = $.value.generateImage), K.value && (q.value = K.value.getData, fe.value = K.value.generatePdf, Z.value = K.value.generateCsv, pe.value = K.value.generateImage), I.value && (fe.value = I.value.generatePdf, pe.value = I.value.generateImage), P.value && (q.value = P.value.getData, fe.value = P.value.generatePdf, Z.value = P.generateCsv, pe.value = P.generateImage);
|
|
42968
42980
|
}), t({
|
|
42969
42981
|
getData: q,
|
|
42970
42982
|
generatePdf: fe,
|
|
42971
42983
|
generateCsv: Z,
|
|
42972
42984
|
generateImage: pe,
|
|
42973
42985
|
getItemsPositions: M,
|
|
42974
|
-
toggleReadonly:
|
|
42986
|
+
toggleReadonly: T,
|
|
42975
42987
|
shoot: ee,
|
|
42976
42988
|
close: ue,
|
|
42977
42989
|
restoreOrder: R,
|
|
42978
42990
|
recalculateHeight: me
|
|
42979
42991
|
}), (Fe, ke) => (d(), f(Ce, null, [
|
|
42980
|
-
o.value ? (d(), f("div",
|
|
42981
|
-
p("div",
|
|
42992
|
+
o.value ? (d(), f("div", cV, [
|
|
42993
|
+
p("div", dV, [
|
|
42982
42994
|
ot(Al, {
|
|
42983
42995
|
name: "moodFlat",
|
|
42984
42996
|
stroke: "#FF0000"
|
|
@@ -42986,18 +42998,18 @@ Available components:
|
|
|
42986
42998
|
]),
|
|
42987
42999
|
dt(' The provided component "' + D(e.component) + '" does not exist ', 1)
|
|
42988
43000
|
])) : L("", !0),
|
|
42989
|
-
e.component === "VueUiAccordion" ? (d(), ze(
|
|
43001
|
+
e.component === "VueUiAccordion" ? (d(), ze(uV, {
|
|
42990
43002
|
key: 1,
|
|
42991
43003
|
config: e.config
|
|
42992
43004
|
}, {
|
|
42993
|
-
arrow: Ie(({ backgroundColor: he, color: Te, iconColor: Re }) => [
|
|
42994
|
-
Me(Fe.$slots, "arrow", Ze(tt({ backgroundColor: he, color: Te, iconColor: Re })))
|
|
43005
|
+
arrow: Ie(({ backgroundColor: he, color: Te, iconColor: Re, isOpen: We }) => [
|
|
43006
|
+
Me(Fe.$slots, "arrow", Ze(tt({ backgroundColor: he, color: Te, iconColor: Re, isOpen: We })))
|
|
42995
43007
|
]),
|
|
42996
|
-
title: Ie(({ color: he }) => [
|
|
42997
|
-
Me(Fe.$slots, "title", Ze(tt({ color: he })))
|
|
43008
|
+
title: Ie(({ color: he, isOpen: Te }) => [
|
|
43009
|
+
Me(Fe.$slots, "title", Ze(tt({ color: he, isOpen: Te })))
|
|
42998
43010
|
]),
|
|
42999
|
-
content: Ie(({ backgroundColor: he, color: Te }) => [
|
|
43000
|
-
Me(Fe.$slots, "content", Ze(tt({ backgroundColor: he, color: Te })))
|
|
43011
|
+
content: Ie(({ backgroundColor: he, color: Te, isOpen: Re }) => [
|
|
43012
|
+
Me(Fe.$slots, "content", Ze(tt({ backgroundColor: he, color: Te, isOpen: Re })))
|
|
43001
43013
|
]),
|
|
43002
43014
|
_: 3
|
|
43003
43015
|
}, 8, ["config"])) : L("", !0),
|
|
@@ -43682,17 +43694,17 @@ export {
|
|
|
43682
43694
|
ez as G,
|
|
43683
43695
|
yz as H,
|
|
43684
43696
|
Jv as I,
|
|
43685
|
-
|
|
43697
|
+
fV as J,
|
|
43686
43698
|
Ez as K,
|
|
43687
|
-
|
|
43699
|
+
vV as L,
|
|
43688
43700
|
rR as M,
|
|
43689
43701
|
hR as N,
|
|
43690
|
-
|
|
43702
|
+
gV as O,
|
|
43691
43703
|
BR as P,
|
|
43692
43704
|
_R as Q,
|
|
43693
43705
|
YR as R,
|
|
43694
43706
|
nV as S,
|
|
43695
|
-
|
|
43707
|
+
uV as T,
|
|
43696
43708
|
h4 as V,
|
|
43697
43709
|
Yt as _,
|
|
43698
43710
|
D_ as a,
|