vue-data-ui 1.9.67 → 1.9.68
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.
|
@@ -3633,9 +3633,9 @@ var op = 1, Pu = 2, zu = 3, sd = 4, ud = 5, lp = 7, cd = 8, Ou = 9, Ru = 10, hd
|
|
|
3633
3633
|
u.appendChild(n.createTextNode(En(x, Q, !1)));
|
|
3634
3634
|
}
|
|
3635
3635
|
} else if (d.name === "counters") {
|
|
3636
|
-
var X = d.values.filter(UA), w = X[0],
|
|
3636
|
+
var X = d.values.filter(UA), w = X[0], V = X[1], C = X[2];
|
|
3637
3637
|
if (w && Kt(w)) {
|
|
3638
|
-
var N = r.counters.getCounterValues(w.value), ie = C && Kt(C) ? mc.parse(r.context, C.value) : 3, ee =
|
|
3638
|
+
var N = r.counters.getCounterValues(w.value), ie = C && Kt(C) ? mc.parse(r.context, C.value) : 3, ee = V && V.type === 0 ? V.value : "", W = N.map(function(D) {
|
|
3639
3639
|
return En(D, ie, !1);
|
|
3640
3640
|
}).join(ee);
|
|
3641
3641
|
u.appendChild(n.createTextNode(W));
|
|
@@ -3864,8 +3864,8 @@ var Rp = function(e, t) {
|
|
|
3864
3864
|
C.push((r + h) / a.width), C.push((v + d) / a.width), C.push((A + w) / a.height), C.push((u + y) / a.height);
|
|
3865
3865
|
var x = Math.max.apply(Math, C);
|
|
3866
3866
|
x > 1 && (r /= x, A /= x, h /= x, u /= x, d /= x, y /= x, v /= x, w /= x);
|
|
3867
|
-
var Q = a.width - h, X = a.height - y,
|
|
3868
|
-
this.topLeftBorderDoubleOuterBox = r > 0 || A > 0 ? Zt(a.left + fe / 3, a.top + ie / 3, r - fe / 3, A - ie / 3, Ht.TOP_LEFT) : new Xe(a.left + fe / 3, a.top + ie / 3), this.topRightBorderDoubleOuterBox = r > 0 || A > 0 ? Zt(a.left + Q, a.top + ie / 3, h - ee / 3, u - ie / 3, Ht.TOP_RIGHT) : new Xe(a.left + a.width - ee / 3, a.top + ie / 3), this.bottomRightBorderDoubleOuterBox = d > 0 || y > 0 ? Zt(a.left +
|
|
3867
|
+
var Q = a.width - h, X = a.height - y, V = a.width - d, N = a.height - w, ie = l.borderTopWidth, ee = l.borderRightWidth, W = l.borderBottomWidth, fe = l.borderLeftWidth, pe = qt(l.paddingTop, t.bounds.width), D = qt(l.paddingRight, t.bounds.width), R = qt(l.paddingBottom, t.bounds.width), Ae = qt(l.paddingLeft, t.bounds.width);
|
|
3868
|
+
this.topLeftBorderDoubleOuterBox = r > 0 || A > 0 ? Zt(a.left + fe / 3, a.top + ie / 3, r - fe / 3, A - ie / 3, Ht.TOP_LEFT) : new Xe(a.left + fe / 3, a.top + ie / 3), this.topRightBorderDoubleOuterBox = r > 0 || A > 0 ? Zt(a.left + Q, a.top + ie / 3, h - ee / 3, u - ie / 3, Ht.TOP_RIGHT) : new Xe(a.left + a.width - ee / 3, a.top + ie / 3), this.bottomRightBorderDoubleOuterBox = d > 0 || y > 0 ? Zt(a.left + V, a.top + X, d - ee / 3, y - W / 3, Ht.BOTTOM_RIGHT) : new Xe(a.left + a.width - ee / 3, a.top + a.height - W / 3), this.bottomLeftBorderDoubleOuterBox = v > 0 || w > 0 ? Zt(a.left + fe / 3, a.top + N, v - fe / 3, w - W / 3, Ht.BOTTOM_LEFT) : new Xe(a.left + fe / 3, a.top + a.height - W / 3), this.topLeftBorderDoubleInnerBox = r > 0 || A > 0 ? Zt(a.left + fe * 2 / 3, a.top + ie * 2 / 3, r - fe * 2 / 3, A - ie * 2 / 3, Ht.TOP_LEFT) : new Xe(a.left + fe * 2 / 3, a.top + ie * 2 / 3), this.topRightBorderDoubleInnerBox = r > 0 || A > 0 ? Zt(a.left + Q, a.top + ie * 2 / 3, h - ee * 2 / 3, u - ie * 2 / 3, Ht.TOP_RIGHT) : new Xe(a.left + a.width - ee * 2 / 3, a.top + ie * 2 / 3), this.bottomRightBorderDoubleInnerBox = d > 0 || y > 0 ? Zt(a.left + V, a.top + X, d - ee * 2 / 3, y - W * 2 / 3, Ht.BOTTOM_RIGHT) : new Xe(a.left + a.width - ee * 2 / 3, a.top + a.height - W * 2 / 3), this.bottomLeftBorderDoubleInnerBox = v > 0 || w > 0 ? Zt(a.left + fe * 2 / 3, a.top + N, v - fe * 2 / 3, w - W * 2 / 3, Ht.BOTTOM_LEFT) : new Xe(a.left + fe * 2 / 3, a.top + a.height - W * 2 / 3), this.topLeftBorderStroke = r > 0 || A > 0 ? Zt(a.left + fe / 2, a.top + ie / 2, r - fe / 2, A - ie / 2, Ht.TOP_LEFT) : new Xe(a.left + fe / 2, a.top + ie / 2), this.topRightBorderStroke = r > 0 || A > 0 ? Zt(a.left + Q, a.top + ie / 2, h - ee / 2, u - ie / 2, Ht.TOP_RIGHT) : new Xe(a.left + a.width - ee / 2, a.top + ie / 2), this.bottomRightBorderStroke = d > 0 || y > 0 ? Zt(a.left + V, a.top + X, d - ee / 2, y - W / 2, Ht.BOTTOM_RIGHT) : new Xe(a.left + a.width - ee / 2, a.top + a.height - W / 2), this.bottomLeftBorderStroke = v > 0 || w > 0 ? Zt(a.left + fe / 2, a.top + N, v - fe / 2, w - W / 2, Ht.BOTTOM_LEFT) : new Xe(a.left + fe / 2, a.top + a.height - W / 2), this.topLeftBorderBox = r > 0 || A > 0 ? Zt(a.left, a.top, r, A, Ht.TOP_LEFT) : new Xe(a.left, a.top), this.topRightBorderBox = h > 0 || u > 0 ? Zt(a.left + Q, a.top, h, u, Ht.TOP_RIGHT) : new Xe(a.left + a.width, a.top), this.bottomRightBorderBox = d > 0 || y > 0 ? Zt(a.left + V, a.top + X, d, y, Ht.BOTTOM_RIGHT) : new Xe(a.left + a.width, a.top + a.height), this.bottomLeftBorderBox = v > 0 || w > 0 ? Zt(a.left, a.top + N, v, w, Ht.BOTTOM_LEFT) : new Xe(a.left, a.top + a.height), this.topLeftPaddingBox = r > 0 || A > 0 ? Zt(a.left + fe, a.top + ie, Math.max(0, r - fe), Math.max(0, A - ie), Ht.TOP_LEFT) : new Xe(a.left + fe, a.top + ie), this.topRightPaddingBox = h > 0 || u > 0 ? Zt(a.left + Math.min(Q, a.width - ee), a.top + ie, Q > a.width + ee ? 0 : Math.max(0, h - ee), Math.max(0, u - ie), Ht.TOP_RIGHT) : new Xe(a.left + a.width - ee, a.top + ie), this.bottomRightPaddingBox = d > 0 || y > 0 ? Zt(a.left + Math.min(V, a.width - fe), a.top + Math.min(X, a.height - W), Math.max(0, d - ee), Math.max(0, y - W), Ht.BOTTOM_RIGHT) : new Xe(a.left + a.width - ee, a.top + a.height - W), this.bottomLeftPaddingBox = v > 0 || w > 0 ? Zt(a.left + fe, a.top + Math.min(N, a.height - W), Math.max(0, v - fe), Math.max(0, w - W), Ht.BOTTOM_LEFT) : new Xe(a.left + fe, a.top + a.height - W), this.topLeftContentBox = r > 0 || A > 0 ? Zt(a.left + fe + Ae, a.top + ie + pe, Math.max(0, r - (fe + Ae)), Math.max(0, A - (ie + pe)), Ht.TOP_LEFT) : new Xe(a.left + fe + Ae, a.top + ie + pe), this.topRightContentBox = h > 0 || u > 0 ? Zt(a.left + Math.min(Q, a.width + fe + Ae), a.top + ie + pe, Q > a.width + fe + Ae ? 0 : h - fe + Ae, u - (ie + pe), Ht.TOP_RIGHT) : new Xe(a.left + a.width - (ee + D), a.top + ie + pe), this.bottomRightContentBox = d > 0 || y > 0 ? Zt(a.left + Math.min(V, a.width - (fe + Ae)), a.top + Math.min(X, a.height + ie + pe), Math.max(0, d - (ee + D)), y - (W + R), Ht.BOTTOM_RIGHT) : new Xe(a.left + a.width - (ee + D), a.top + a.height - (W + R)), this.bottomLeftContentBox = v > 0 || w > 0 ? Zt(a.left + fe + Ae, a.top + N, Math.max(0, v - (fe + Ae)), w - (W + R), Ht.BOTTOM_LEFT) : new Xe(a.left + fe + Ae, a.top + a.height - (W + R));
|
|
3869
3869
|
}
|
|
3870
3870
|
return e;
|
|
3871
3871
|
}()
|
|
@@ -4172,9 +4172,9 @@ var Zt = function(e, t, l, a, o) {
|
|
|
4172
4172
|
var x = 0, Q = 0;
|
|
4173
4173
|
return Fo(A) ? x = qt(A, l.width) : Fo(n) && (Q = qt(n, l.height)), gA(A) ? x = Q * r : (!n || gA(n)) && (Q = x / r), [x, Q];
|
|
4174
4174
|
}
|
|
4175
|
-
var X = null,
|
|
4176
|
-
if (Fo(A) ? X = qt(A, l.width) : n && Fo(n) && (
|
|
4177
|
-
return [X,
|
|
4175
|
+
var X = null, V = null;
|
|
4176
|
+
if (Fo(A) ? X = qt(A, l.width) : n && Fo(n) && (V = qt(n, l.height)), X !== null && (!n || gA(n)) && (V = s && d ? X / a * o : l.height), V !== null && gA(A) && (X = s && d ? V / o * a : l.width), X !== null && V !== null)
|
|
4177
|
+
return [X, V];
|
|
4178
4178
|
throw new Error("Unable to calculate background-size for element");
|
|
4179
4179
|
}, mA = function(e, t) {
|
|
4180
4180
|
var l = e[t];
|
|
@@ -4359,7 +4359,7 @@ var Zt = function(e, t, l, a, o) {
|
|
|
4359
4359
|
}
|
|
4360
4360
|
}, t.prototype.renderNodeContent = function(l) {
|
|
4361
4361
|
return tl(this, void 0, void 0, function() {
|
|
4362
|
-
var a, o, r, A, n, h, Q, Q, u, s, d, y,
|
|
4362
|
+
var a, o, r, A, n, h, Q, Q, u, s, d, y, V, i, v, N, w, C, x, Q, X, V, N;
|
|
4363
4363
|
return Jo(this, function(ie) {
|
|
4364
4364
|
switch (ie.label) {
|
|
4365
4365
|
case 0:
|
|
@@ -4414,7 +4414,7 @@ var Zt = function(e, t, l, a, o) {
|
|
|
4414
4414
|
new Xe(a.bounds.left + d * 0.84, a.bounds.top + d * 0.34085),
|
|
4415
4415
|
new Xe(a.bounds.left + d * 0.39363, a.bounds.top + d * 0.79)
|
|
4416
4416
|
]), this.ctx.fillStyle = Eo(bd), this.ctx.fill(), this.ctx.restore()) : a.type === fs && a.checked && (this.ctx.save(), this.ctx.beginPath(), this.ctx.arc(a.bounds.left + d / 2, a.bounds.top + d / 2, d / 4, 0, Math.PI * 2, !0), this.ctx.fillStyle = Eo(bd), this.ctx.fill(), this.ctx.restore())), _2(a) && a.value.length) {
|
|
4417
|
-
switch (y = this.createFontStyle(r),
|
|
4417
|
+
switch (y = this.createFontStyle(r), V = y[0], i = y[1], v = this.fontMetrics.getMetrics(V, i).baseline, this.ctx.font = V, this.ctx.fillStyle = Eo(r.color), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = Q2(a.styles.textAlign), N = bs(a), w = 0, a.styles.textAlign) {
|
|
4418
4418
|
case 1:
|
|
4419
4419
|
w += N.width / 2;
|
|
4420
4420
|
break;
|
|
@@ -4449,7 +4449,7 @@ var Zt = function(e, t, l, a, o) {
|
|
|
4449
4449
|
case 18:
|
|
4450
4450
|
return [3, 20];
|
|
4451
4451
|
case 19:
|
|
4452
|
-
l.listValue && a.styles.listStyleType !== -1 && (
|
|
4452
|
+
l.listValue && a.styles.listStyleType !== -1 && (V = this.createFontStyle(r)[0], this.ctx.font = V, this.ctx.fillStyle = Eo(r.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", N = new $r(a.bounds.left, a.bounds.top + qt(a.styles.paddingTop, a.bounds.width), a.bounds.width, od(r.lineHeight, r.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new Qn(l.listValue, N), r.letterSpacing, od(r.lineHeight, r.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), ie.label = 20;
|
|
4453
4453
|
case 20:
|
|
4454
4454
|
return [
|
|
4455
4455
|
2
|
|
@@ -4564,7 +4564,7 @@ var Zt = function(e, t, l, a, o) {
|
|
|
4564
4564
|
switch (u.label) {
|
|
4565
4565
|
case 0:
|
|
4566
4566
|
a = l.styles.backgroundImage.length - 1, o = function(s) {
|
|
4567
|
-
var d, y, i, pe, ce, j, Ae, re, W, v, pe, ce, j, Ae, re, w, C, x, Q, X,
|
|
4567
|
+
var d, y, i, pe, ce, j, Ae, re, W, v, pe, ce, j, Ae, re, w, C, x, Q, X, V, N, ie, ee, W, fe, pe, D, R, Ae, re, we, ce, j, k, P, I, he, F, M, T, H;
|
|
4568
4568
|
return Jo(this, function(ae) {
|
|
4569
4569
|
switch (ae.label) {
|
|
4570
4570
|
case 0:
|
|
@@ -4584,14 +4584,14 @@ var Zt = function(e, t, l, a, o) {
|
|
|
4584
4584
|
d.width / d.height
|
|
4585
4585
|
]), pe = i[0], ce = i[1], j = i[2], Ae = i[3], re = i[4], W = r.ctx.createPattern(r.resizeImage(d, Ae, re), "repeat"), r.renderRepeat(pe, W, ce, j)), [3, 6];
|
|
4586
4586
|
case 5:
|
|
4587
|
-
h0(s) ? (v = qu(l, a, [null, null, null]), pe = v[0], ce = v[1], j = v[2], Ae = v[3], re = v[4], w = n0(s.angle, Ae, re), C = w[0], x = w[1], Q = w[2], X = w[3],
|
|
4588
|
-
return ee.addColorStop(
|
|
4587
|
+
h0(s) ? (v = qu(l, a, [null, null, null]), pe = v[0], ce = v[1], j = v[2], Ae = v[3], re = v[4], w = n0(s.angle, Ae, re), C = w[0], x = w[1], Q = w[2], X = w[3], V = w[4], N = document.createElement("canvas"), N.width = Ae, N.height = re, ie = N.getContext("2d"), ee = ie.createLinearGradient(x, X, Q, V), ed(s.stops, C).forEach(function(K) {
|
|
4588
|
+
return ee.addColorStop(K.stop, Eo(K.color));
|
|
4589
4589
|
}), ie.fillStyle = ee, ie.fillRect(0, 0, Ae, re), Ae > 0 && re > 0 && (W = r.ctx.createPattern(N, "repeat"), r.renderRepeat(pe, W, ce, j))) : d0(s) && (fe = qu(l, a, [
|
|
4590
4590
|
null,
|
|
4591
4591
|
null,
|
|
4592
4592
|
null
|
|
4593
|
-
]), pe = fe[0], D = fe[1], R = fe[2], Ae = fe[3], re = fe[4], we = s.position.length === 0 ? [jc] : s.position, ce = qt(we[0], Ae), j = qt(we[we.length - 1], re), k = i0(s, ce, j, Ae, re), P = k[0], I = k[1], P > 0 && I > 0 && (he = r.ctx.createRadialGradient(D + ce, R + j, 0, D + ce, R + j, P), ed(s.stops, P * 2).forEach(function(
|
|
4594
|
-
return he.addColorStop(
|
|
4593
|
+
]), pe = fe[0], D = fe[1], R = fe[2], Ae = fe[3], re = fe[4], we = s.position.length === 0 ? [jc] : s.position, ce = qt(we[0], Ae), j = qt(we[we.length - 1], re), k = i0(s, ce, j, Ae, re), P = k[0], I = k[1], P > 0 && I > 0 && (he = r.ctx.createRadialGradient(D + ce, R + j, 0, D + ce, R + j, P), ed(s.stops, P * 2).forEach(function(K) {
|
|
4594
|
+
return he.addColorStop(K.stop, Eo(K.color));
|
|
4595
4595
|
}), r.path(pe), r.ctx.fillStyle = he, P !== I ? (F = l.bounds.left + 0.5 * l.bounds.width, M = l.bounds.top + 0.5 * l.bounds.height, T = I / P, H = 1 / T, r.ctx.save(), r.ctx.translate(F, M), r.ctx.transform(1, 0, 0, T, 0, 0), r.ctx.translate(-F, -M), r.ctx.fillRect(D, H * (R - M) + M, Ae, re * H), r.ctx.restore()) : r.ctx.fill())), ae.label = 6;
|
|
4596
4596
|
case 6:
|
|
4597
4597
|
return a--, [
|
|
@@ -4711,9 +4711,9 @@ var Zt = function(e, t, l, a, o) {
|
|
|
4711
4711
|
});
|
|
4712
4712
|
}, t.prototype.renderDashedDottedBorder = function(l, a, o, r, A) {
|
|
4713
4713
|
return tl(this, void 0, void 0, function() {
|
|
4714
|
-
var n, h, u, s, d, y, i, v, w, C, x, Q, X,
|
|
4714
|
+
var n, h, u, s, d, y, i, v, w, C, x, Q, X, V, N, ie, N, ie;
|
|
4715
4715
|
return Jo(this, function(ee) {
|
|
4716
|
-
return this.ctx.save(), n = p2(r, o), h = Ud(r, o), A === 2 && (this.path(h), this.ctx.clip()), Ql(h[0]) ? (u = h[0].start.x, s = h[0].start.y) : (u = h[0].x, s = h[0].y), Ql(h[1]) ? (d = h[1].end.x, y = h[1].end.y) : (d = h[1].x, y = h[1].y), o === 0 || o === 2 ? i = Math.abs(u - d) : i = Math.abs(s - y), this.ctx.beginPath(), A === 3 ? this.formatPath(n) : this.formatPath(h.slice(0, 2)), v = a < 3 ? a * 3 : a * 2, w = a < 3 ? a * 2 : a, A === 3 && (v = a, w = a), C = !0, i <= v * 2 ? C = !1 : i <= v * 2 + w ? (x = i / (2 * v + w), v *= x, w *= x) : (Q = Math.floor((i + w) / (v + w)), X = (i - Q * v) / (Q - 1),
|
|
4716
|
+
return this.ctx.save(), n = p2(r, o), h = Ud(r, o), A === 2 && (this.path(h), this.ctx.clip()), Ql(h[0]) ? (u = h[0].start.x, s = h[0].start.y) : (u = h[0].x, s = h[0].y), Ql(h[1]) ? (d = h[1].end.x, y = h[1].end.y) : (d = h[1].x, y = h[1].y), o === 0 || o === 2 ? i = Math.abs(u - d) : i = Math.abs(s - y), this.ctx.beginPath(), A === 3 ? this.formatPath(n) : this.formatPath(h.slice(0, 2)), v = a < 3 ? a * 3 : a * 2, w = a < 3 ? a * 2 : a, A === 3 && (v = a, w = a), C = !0, i <= v * 2 ? C = !1 : i <= v * 2 + w ? (x = i / (2 * v + w), v *= x, w *= x) : (Q = Math.floor((i + w) / (v + w)), X = (i - Q * v) / (Q - 1), V = (i - (Q + 1) * v) / Q, w = V <= 0 || Math.abs(w - X) < Math.abs(w - V) ? X : V), C && (A === 3 ? this.ctx.setLineDash([0, v + w]) : this.ctx.setLineDash([v, w])), A === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = a) : this.ctx.lineWidth = a * 2 + 1.1, this.ctx.strokeStyle = Eo(l), this.ctx.stroke(), this.ctx.setLineDash([]), A === 2 && (Ql(h[0]) && (N = h[3], ie = h[0], this.ctx.beginPath(), this.formatPath([new Xe(N.end.x, N.end.y), new Xe(ie.start.x, ie.start.y)]), this.ctx.stroke()), Ql(h[1]) && (N = h[1], ie = h[2], this.ctx.beginPath(), this.formatPath([new Xe(N.end.x, N.end.y), new Xe(ie.start.x, ie.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
4717
4717
|
2
|
|
4718
4718
|
/*return*/
|
|
4719
4719
|
];
|
|
@@ -4830,7 +4830,7 @@ var Zt = function(e, t, l, a, o) {
|
|
|
4830
4830
|
typeof window < "u" && e1.setContext(window);
|
|
4831
4831
|
var N2 = function(e, t) {
|
|
4832
4832
|
return tl(void 0, void 0, void 0, function() {
|
|
4833
|
-
var l, a, o, r, A, n, h, u, s, d, y, i, v, w, C, x, Q, X,
|
|
4833
|
+
var l, a, o, r, A, n, h, u, s, d, y, i, v, w, C, x, Q, X, V, N, ee, ie, ee, W, fe, pe, D, R, Ae, re, we, ce, j, k, P, I, he, F, M, T;
|
|
4834
4834
|
return Jo(this, function(H) {
|
|
4835
4835
|
switch (H.label) {
|
|
4836
4836
|
case 0:
|
|
@@ -4858,7 +4858,7 @@ var N2 = function(e, t) {
|
|
|
4858
4858
|
copyStyles: u
|
|
4859
4859
|
}, h.logger.debug("Starting document clone with size " + n.width + "x" + n.height + " scrolled to " + -n.left + "," + -n.top), d = new Sd(h, e, s), y = d.clonedReferenceElement, y ? [4, d.toIFrame(l, n)] : [2, Promise.reject("Unable to find element in cloned iframe")];
|
|
4860
4860
|
case 1:
|
|
4861
|
-
return i = H.sent(), v = Yc(y) || Hp(y) ? fg(y.ownerDocument) : Fs(h, y), w = v.width, C = v.height, x = v.left, Q = v.top, X = T2(h, y, t.backgroundColor),
|
|
4861
|
+
return i = H.sent(), v = Yc(y) || Hp(y) ? fg(y.ownerDocument) : Fs(h, y), w = v.width, C = v.height, x = v.left, Q = v.top, X = T2(h, y, t.backgroundColor), V = {
|
|
4862
4862
|
canvas: t.canvas,
|
|
4863
4863
|
backgroundColor: X,
|
|
4864
4864
|
scale: (P = (k = t.scale) !== null && k !== void 0 ? k : a.devicePixelRatio) !== null && P !== void 0 ? P : 1,
|
|
@@ -4866,11 +4866,11 @@ var N2 = function(e, t) {
|
|
|
4866
4866
|
y: ((he = t.y) !== null && he !== void 0 ? he : 0) + Q,
|
|
4867
4867
|
width: (F = t.width) !== null && F !== void 0 ? F : Math.ceil(w),
|
|
4868
4868
|
height: (M = t.height) !== null && M !== void 0 ? M : Math.ceil(C)
|
|
4869
|
-
}, u ? (h.logger.debug("Document cloned, using foreign object rendering"), ee = new I2(h,
|
|
4869
|
+
}, u ? (h.logger.debug("Document cloned, using foreign object rendering"), ee = new I2(h, V), [4, ee.render(y)]) : [3, 3];
|
|
4870
4870
|
case 2:
|
|
4871
4871
|
return N = H.sent(), [3, 5];
|
|
4872
4872
|
case 3:
|
|
4873
|
-
return h.logger.debug("Document cloned, element located at " + x + "," + Q + " with size " + w + "x" + C + " using computed rendering"), h.logger.debug("Starting DOM parsing"), ie = jf(h, y), X === ie.styles.backgroundColor && (ie.styles.backgroundColor = Mr.TRANSPARENT), h.logger.debug("Starting renderer for element at " +
|
|
4873
|
+
return h.logger.debug("Document cloned, element located at " + x + "," + Q + " with size " + w + "x" + C + " using computed rendering"), h.logger.debug("Starting DOM parsing"), ie = jf(h, y), X === ie.styles.backgroundColor && (ie.styles.backgroundColor = Mr.TRANSPARENT), h.logger.debug("Starting renderer for element at " + V.x + "," + V.y + " with size " + V.width + "x" + V.height), ee = new F2(h, V), [4, ee.render(ie)];
|
|
4874
4874
|
case 4:
|
|
4875
4875
|
N = H.sent(), H.label = 5;
|
|
4876
4876
|
case 5:
|
|
@@ -5027,9 +5027,9 @@ var P2 = /* @__PURE__ */ fr(ca, 9, 0), z2 = /* @__PURE__ */ fr(ca, 9, 1), O2 = /
|
|
|
5027
5027
|
var a = e.length, o = !t || l, r = !l || l.i;
|
|
5028
5028
|
l || (l = {}), t || (t = new ol(a * 3));
|
|
5029
5029
|
var A = function(ae) {
|
|
5030
|
-
var
|
|
5031
|
-
if (ae >
|
|
5032
|
-
var ue = new ol(Math.max(
|
|
5030
|
+
var K = t.length;
|
|
5031
|
+
if (ae > K) {
|
|
5032
|
+
var ue = new ol(Math.max(K * 2, ae));
|
|
5033
5033
|
ue.set(t), t = ue;
|
|
5034
5034
|
}
|
|
5035
5035
|
}, n = l.f || 0, h = l.p || 0, u = l.b || 0, s = l.l, d = l.d, y = l.m, i = l.n, v = a * 8;
|
|
@@ -5041,11 +5041,11 @@ var P2 = /* @__PURE__ */ fr(ca, 9, 0), z2 = /* @__PURE__ */ fr(ca, 9, 1), O2 = /
|
|
|
5041
5041
|
if (w == 1)
|
|
5042
5042
|
s = z2, d = R2, y = 9, i = 5;
|
|
5043
5043
|
else if (w == 2) {
|
|
5044
|
-
var X = Wl(e, h, 31) + 257,
|
|
5044
|
+
var X = Wl(e, h, 31) + 257, V = Wl(e, h + 10, 15) + 4, N = X + Wl(e, h + 5, 31) + 1;
|
|
5045
5045
|
h += 14;
|
|
5046
|
-
for (var ie = new ol(N), ee = new ol(19), W = 0; W <
|
|
5046
|
+
for (var ie = new ol(N), ee = new ol(19), W = 0; W < V; ++W)
|
|
5047
5047
|
ee[Lc[W]] = Wl(e, h + W * 3, 7);
|
|
5048
|
-
h +=
|
|
5048
|
+
h += V * 3;
|
|
5049
5049
|
var fe = Yu(ee), pe = (1 << fe) - 1;
|
|
5050
5050
|
if (!r && h + N * (fe + 7) > v)
|
|
5051
5051
|
break;
|
|
@@ -5159,8 +5159,8 @@ var P2 = /* @__PURE__ */ fr(ca, 9, 0), z2 = /* @__PURE__ */ fr(ca, 9, 1), O2 = /
|
|
|
5159
5159
|
i[X] < t ? w -= 1 << t - i[X]++ - 1 : ++a;
|
|
5160
5160
|
}
|
|
5161
5161
|
for (; a >= 0 && w; --a) {
|
|
5162
|
-
var
|
|
5163
|
-
i[
|
|
5162
|
+
var V = r[a].s;
|
|
5163
|
+
i[V] == t && (--i[V], ++w);
|
|
5164
5164
|
}
|
|
5165
5165
|
v = t;
|
|
5166
5166
|
}
|
|
@@ -5202,7 +5202,7 @@ var P2 = /* @__PURE__ */ fr(ca, 9, 0), z2 = /* @__PURE__ */ fr(ca, 9, 1), O2 = /
|
|
|
5202
5202
|
return (o + 4 + a) * 8;
|
|
5203
5203
|
}, $d = function(e, t, l, a, o, r, A, n, h, u, s) {
|
|
5204
5204
|
Ir(t, s++, l), ++o[256];
|
|
5205
|
-
for (var d = Zu(o, 15), y = d[0], i = d[1], v = Zu(r, 15), w = v[0], C = v[1], x = Ed(y), Q = x[0], X = x[1],
|
|
5205
|
+
for (var d = Zu(o, 15), y = d[0], i = d[1], v = Zu(r, 15), w = v[0], C = v[1], x = Ed(y), Q = x[0], X = x[1], V = Ed(w), N = V[0], ie = V[1], ee = new ll(19), W = 0; W < Q.length; ++W)
|
|
5206
5206
|
ee[Q[W] & 31]++;
|
|
5207
5207
|
for (var W = 0; W < N.length; ++W)
|
|
5208
5208
|
ee[N[W] & 31]++;
|
|
@@ -5243,10 +5243,10 @@ var P2 = /* @__PURE__ */ fr(ca, 9, 0), z2 = /* @__PURE__ */ fr(ca, 9, 1), O2 = /
|
|
|
5243
5243
|
d < A ? u = as(h, u, e.subarray(s, d)) : (h[s] = r, u = as(h, u, e.subarray(s, A)));
|
|
5244
5244
|
}
|
|
5245
5245
|
else {
|
|
5246
|
-
for (var y = V2[t - 1], i = y >>> 13, v = y & 8191, w = (1 << l) - 1, C = new ll(32768), x = new ll(w + 1), Q = Math.ceil(l / 3), X = 2 * Q,
|
|
5246
|
+
for (var y = V2[t - 1], i = y >>> 13, v = y & 8191, w = (1 << l) - 1, C = new ll(32768), x = new ll(w + 1), Q = Math.ceil(l / 3), X = 2 * Q, V = function(E) {
|
|
5247
5247
|
return (e[E] ^ e[E + 1] << Q ^ e[E + 2] << X) & w;
|
|
5248
5248
|
}, N = new $n(25e3), ie = new ll(288), ee = new ll(32), W = 0, fe = 0, s = 0, pe = 0, D = 0, R = 0; s < A; ++s) {
|
|
5249
|
-
var Ae =
|
|
5249
|
+
var Ae = V(s), re = s & 32767, we = x[Ae];
|
|
5250
5250
|
if (C[re] = we, x[Ae] = re, D <= s) {
|
|
5251
5251
|
var ce = A - s;
|
|
5252
5252
|
if ((W > 7e3 || pe > 24576) && ce > 423) {
|
|
@@ -5257,7 +5257,7 @@ var P2 = /* @__PURE__ */ fr(ca, 9, 0), z2 = /* @__PURE__ */ fr(ca, 9, 1), O2 = /
|
|
|
5257
5257
|
ee[j] = 0;
|
|
5258
5258
|
}
|
|
5259
5259
|
var k = 2, P = 0, I = v, he = re - we & 32767;
|
|
5260
|
-
if (ce > 2 && Ae ==
|
|
5260
|
+
if (ce > 2 && Ae == V(s - he))
|
|
5261
5261
|
for (var F = Math.min(i, ce) - 1, M = Math.min(32767, s), T = Math.min(258, ce); he <= M && --I && re != we; ) {
|
|
5262
5262
|
if (e[s + k] == e[s + k - he]) {
|
|
5263
5263
|
for (var H = 0; H < T && e[s + H] == e[s + H - he]; ++H)
|
|
@@ -5265,9 +5265,9 @@ var P2 = /* @__PURE__ */ fr(ca, 9, 0), z2 = /* @__PURE__ */ fr(ca, 9, 1), O2 = /
|
|
|
5265
5265
|
if (H > k) {
|
|
5266
5266
|
if (k = H, P = he, H > F)
|
|
5267
5267
|
break;
|
|
5268
|
-
for (var ae = Math.min(he, H - 2),
|
|
5268
|
+
for (var ae = Math.min(he, H - 2), K = 0, j = 0; j < ae; ++j) {
|
|
5269
5269
|
var ue = s - he + j + 32768 & 32767, Z = C[ue], G = ue - Z + 32768 & 32767;
|
|
5270
|
-
G >
|
|
5270
|
+
G > K && (K = G, we = ue);
|
|
5271
5271
|
}
|
|
5272
5272
|
}
|
|
5273
5273
|
}
|
|
@@ -5677,7 +5677,7 @@ function nt(e) {
|
|
|
5677
5677
|
};
|
|
5678
5678
|
o = o || "a4";
|
|
5679
5679
|
var Q = { COMPAT: "compat", ADVANCED: "advanced" }, X = Q.COMPAT;
|
|
5680
|
-
function
|
|
5680
|
+
function V() {
|
|
5681
5681
|
this.saveGraphicsState(), oe(new At(We, 0, 0, -We, 0, Pr() * We).toString() + " cm"), this.setFontSize(this.getFontSize() / We), u = "n", X = Q.ADVANCED;
|
|
5682
5682
|
}
|
|
5683
5683
|
function N() {
|
|
@@ -5690,10 +5690,10 @@ function nt(e) {
|
|
|
5690
5690
|
};
|
|
5691
5691
|
i.advancedAPI = function(m) {
|
|
5692
5692
|
var O = X === Q.COMPAT;
|
|
5693
|
-
return O &&
|
|
5693
|
+
return O && V.call(this), typeof m != "function" || (m(this), O && N.call(this)), this;
|
|
5694
5694
|
}, i.compatAPI = function(m) {
|
|
5695
5695
|
var O = X === Q.ADVANCED;
|
|
5696
|
-
return O && N.call(this), typeof m != "function" || (m(this), O &&
|
|
5696
|
+
return O && N.call(this), typeof m != "function" || (m(this), O && V.call(this)), this;
|
|
5697
5697
|
}, i.isAdvancedAPI = function() {
|
|
5698
5698
|
return X === Q.ADVANCED;
|
|
5699
5699
|
};
|
|
@@ -5780,8 +5780,8 @@ function nt(e) {
|
|
|
5780
5780
|
return ("0" + parseInt(m)).slice(-2);
|
|
5781
5781
|
}, H = i.__private__.padd2Hex = function(m) {
|
|
5782
5782
|
return ("00" + (m = m.toString())).substr(m.length);
|
|
5783
|
-
}, ae = 0,
|
|
5784
|
-
ae = 0, Z = 0, ue = [],
|
|
5783
|
+
}, ae = 0, K = [], ue = [], Z = 0, G = [], q = [], L = !1, de = ue, E = function() {
|
|
5784
|
+
ae = 0, Z = 0, ue = [], K = [], G = [], br = mo(), Nl = mo();
|
|
5785
5785
|
};
|
|
5786
5786
|
i.__private__.setCustomOutputDestination = function(m) {
|
|
5787
5787
|
L = !0, de = m;
|
|
@@ -5972,11 +5972,11 @@ function nt(e) {
|
|
|
5972
5972
|
var m = mo();
|
|
5973
5973
|
return dl(m, !0), m;
|
|
5974
5974
|
}, mo = i.__private__.newObjectDeferred = function() {
|
|
5975
|
-
return ae++,
|
|
5975
|
+
return ae++, K[ae] = function() {
|
|
5976
5976
|
return Z;
|
|
5977
5977
|
}, ae;
|
|
5978
5978
|
}, dl = function(m, O) {
|
|
5979
|
-
return O = typeof O == "boolean" && O,
|
|
5979
|
+
return O = typeof O == "boolean" && O, K[m] = Z, O && oe(m + " 0 obj"), m;
|
|
5980
5980
|
}, Na = i.__private__.newAdditionalObject = function() {
|
|
5981
5981
|
var m = { objId: mo(), content: "" };
|
|
5982
5982
|
return G.push(m), m;
|
|
@@ -6310,7 +6310,7 @@ Q`), dl(Se, !0), xl({ data: Ee, filters: Ar(), objectId: Se }), oe("endobj"), xe
|
|
|
6310
6310
|
var m = "0000000000";
|
|
6311
6311
|
oe("xref"), oe("0 " + (ae + 1)), oe("0000000000 65535 f ");
|
|
6312
6312
|
for (var O = 1; O <= ae; O++)
|
|
6313
|
-
typeof
|
|
6313
|
+
typeof K[O] == "function" ? oe((m + K[O]()).slice(-10) + " 00000 n ") : K[O] !== void 0 ? oe((m + K[O]).slice(-10) + " 00000 n ") : oe("0000000000 00000 n ");
|
|
6314
6314
|
}, wr = i.__private__.buildDocument = function() {
|
|
6315
6315
|
E(), se(ue), Tt.publish("buildDocument"), qs(), ga(), Kn(), Rn(), s !== null && Os(), Ws(), PA();
|
|
6316
6316
|
var m = Z;
|
|
@@ -7110,11 +7110,11 @@ var hl = function(e, t) {
|
|
|
7110
7110
|
}
|
|
7111
7111
|
for (var x = "", Q = 0, X = 0; X < o.length; X++)
|
|
7112
7112
|
if (o.hasOwnProperty(X)) {
|
|
7113
|
-
var
|
|
7113
|
+
var V = !1;
|
|
7114
7114
|
if (o[X].length !== 1 && C !== o[X].length - 1) {
|
|
7115
7115
|
if ((d + 2) * (Q + 2) + 2 > A)
|
|
7116
7116
|
continue e;
|
|
7117
|
-
x += o[X][C],
|
|
7117
|
+
x += o[X][C], V = !0, w = X, X--;
|
|
7118
7118
|
} else {
|
|
7119
7119
|
x = (x += o[X][C] + " ").substr(x.length - 1) == " " ? x.substr(0, x.length - 1) : x;
|
|
7120
7120
|
var N = parseInt(X), ie = h(N, x, r), ee = X >= o.length - 1;
|
|
@@ -7161,7 +7161,7 @@ var hl = function(e, t) {
|
|
|
7161
7161
|
t += dt(u) + " " + dt(i) + ` Td
|
|
7162
7162
|
`, t += "(" + Ea(W) + `) Tj
|
|
7163
7163
|
`, t += -dt(u) + ` 0 Td
|
|
7164
|
-
`, i = -(r + 2), s = 0, v =
|
|
7164
|
+
`, i = -(r + 2), s = 0, v = V ? w : w + 1, Q++, x = "";
|
|
7165
7165
|
}
|
|
7166
7166
|
break;
|
|
7167
7167
|
}
|
|
@@ -7997,7 +7997,7 @@ function p1(e) {
|
|
|
7997
7997
|
(D = D || "").toString().trim();
|
|
7998
7998
|
var R = !0;
|
|
7999
7999
|
return D.length === 0 && (R = !1), D.length % 4 != 0 && (R = !1), /^[A-Za-z0-9+/]+$/.test(D.substr(0, D.length - 2)) === !1 && (R = !1), /^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(D.substr(-2)) === !1 && (R = !1), R;
|
|
8000
|
-
},
|
|
8000
|
+
}, V = e.__addimage__.extractImageFromDataUrl = function(D) {
|
|
8001
8001
|
var R = (D = D || "").split("base64,"), Ae = null;
|
|
8002
8002
|
if (R.length === 2) {
|
|
8003
8003
|
var re = /^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(R[0]);
|
|
@@ -8055,7 +8055,7 @@ function p1(e) {
|
|
|
8055
8055
|
R = typeof R != "boolean" || R;
|
|
8056
8056
|
var re, we = "";
|
|
8057
8057
|
if (typeof D == "string") {
|
|
8058
|
-
re = (Ae =
|
|
8058
|
+
re = (Ae = V(D)) !== null ? Ae.data : D;
|
|
8059
8059
|
try {
|
|
8060
8060
|
we = Un(re);
|
|
8061
8061
|
} catch (ce) {
|
|
@@ -8115,8 +8115,8 @@ function(e) {
|
|
|
8115
8115
|
break;
|
|
8116
8116
|
case "freetext":
|
|
8117
8117
|
o = "/Rect [" + A(a.bounds.x) + " " + n(a.bounds.y) + " " + A(a.bounds.x + a.bounds.w) + " " + n(a.bounds.y + a.bounds.h) + "] ";
|
|
8118
|
-
var
|
|
8119
|
-
r = "<</Type /Annot /Subtype /FreeText " + o + "/Contents (" + i(v(a.contents)) + ")", r += " /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#" +
|
|
8118
|
+
var V = a.color || "#000000";
|
|
8119
|
+
r = "<</Type /Annot /Subtype /FreeText " + o + "/Contents (" + i(v(a.contents)) + ")", r += " /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#" + V + ")", r += " /Border [0 0 0]", r += " >>", this.internal.write(r);
|
|
8120
8120
|
break;
|
|
8121
8121
|
case "link":
|
|
8122
8122
|
if (a.options.name) {
|
|
@@ -8215,10 +8215,10 @@ function(e) {
|
|
|
8215
8215
|
var y = e.__arabicParser__.getCorrectForm = function(w, C, x) {
|
|
8216
8216
|
return A(w) ? r(w) === !1 ? -1 : !u(w) || !A(C) && !A(x) || !A(x) && n(C) || n(w) && !A(C) || n(w) && h(C) || n(w) && n(C) ? 0 : s(w) && A(C) && !n(C) && A(x) && u(x) ? 3 : n(w) || !A(x) ? 1 : 2 : -1;
|
|
8217
8217
|
}, i = function(w) {
|
|
8218
|
-
var C = 0, x = 0, Q = 0, X = "",
|
|
8218
|
+
var C = 0, x = 0, Q = 0, X = "", V = "", N = "", ie = (w = w || "").split("\\s+"), ee = [];
|
|
8219
8219
|
for (C = 0; C < ie.length; C += 1) {
|
|
8220
8220
|
for (ee.push(""), x = 0; x < ie[C].length; x += 1)
|
|
8221
|
-
X = ie[C][x],
|
|
8221
|
+
X = ie[C][x], V = ie[C][x - 1], N = ie[C][x + 1], A(X) ? (Q = y(X, V, N), ee[C] += Q !== -1 ? String.fromCharCode(t[X.charCodeAt(0)][Q]) : X) : ee[C] += X;
|
|
8222
8222
|
ee[C] = d(ee[C]);
|
|
8223
8223
|
}
|
|
8224
8224
|
return ee.join(" ");
|
|
@@ -8365,8 +8365,8 @@ function(e) {
|
|
|
8365
8365
|
h = String(h);
|
|
8366
8366
|
}
|
|
8367
8367
|
var x = u.maxWidth;
|
|
8368
|
-
x > 0 ? typeof h == "string" ? h = this.splitTextToSize(h, x) : Object.prototype.toString.call(h) === "[object Array]" && (h = h.reduce(function(X,
|
|
8369
|
-
return X.concat(C.splitTextToSize(
|
|
8368
|
+
x > 0 ? typeof h == "string" ? h = this.splitTextToSize(h, x) : Object.prototype.toString.call(h) === "[object Array]" && (h = h.reduce(function(X, V) {
|
|
8369
|
+
return X.concat(C.splitTextToSize(V, x));
|
|
8370
8370
|
}, [])) : h = Array.isArray(h) ? h : [h];
|
|
8371
8371
|
for (var Q = 0; Q < h.length; Q++)
|
|
8372
8372
|
i < (w = this.getStringUnitWidth(h[Q], { font: d }) * s) && (i = w);
|
|
@@ -8385,7 +8385,7 @@ function(e) {
|
|
|
8385
8385
|
e.table = function(h, u, s, d, y) {
|
|
8386
8386
|
if (a.call(this), !s)
|
|
8387
8387
|
throw new Error("No data for PDF table.");
|
|
8388
|
-
var i, v, w, C, x = [], Q = [], X = [],
|
|
8388
|
+
var i, v, w, C, x = [], Q = [], X = [], V = {}, N = {}, ie = [], ee = [], W = (y = y || {}).autoSize || !1, fe = y.printHeaders !== !1, pe = y.css && y.css["font-size"] !== void 0 ? 16 * y.css["font-size"] : y.fontSize || 12, D = y.margins || Object.assign({ width: this.getPageWidth() }, t), R = typeof y.padding == "number" ? y.padding : 3, Ae = y.headerBackgroundColor || "#c8c8c8", re = y.headerTextColor || "#000";
|
|
8389
8389
|
if (o.call(this), this.internal.__cell__.printHeaders = fe, this.internal.__cell__.margins = D, this.internal.__cell__.table_font_size = pe, this.internal.__cell__.padding = R, this.internal.__cell__.headerBackgroundColor = Ae, this.internal.__cell__.headerTextColor = re, this.setFontSize(pe), d == null)
|
|
8390
8390
|
Q = x = Object.keys(s[0]), X = x.map(function() {
|
|
8391
8391
|
return "left";
|
|
@@ -8405,9 +8405,9 @@ function(e) {
|
|
|
8405
8405
|
}));
|
|
8406
8406
|
if (W || Array.isArray(d) && typeof d[0] == "string")
|
|
8407
8407
|
for (i = 0; i < x.length; i += 1) {
|
|
8408
|
-
for (
|
|
8408
|
+
for (V[C = x[i]] = s.map(function(I) {
|
|
8409
8409
|
return I[C];
|
|
8410
|
-
}), this.setFont(void 0, "bold"), ie.push(this.getTextDimensions(Q[i], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w), v =
|
|
8410
|
+
}), this.setFont(void 0, "bold"), ie.push(this.getTextDimensions(Q[i], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w), v = V[C], this.setFont(void 0, "normal"), w = 0; w < v.length; w += 1)
|
|
8411
8411
|
ie.push(this.getTextDimensions(v[w], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w);
|
|
8412
8412
|
N[C] = Math.max.apply(null, ie) + R + R, ie = [];
|
|
8413
8413
|
}
|
|
@@ -8585,11 +8585,11 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
8585
8585
|
}, set: function(se) {
|
|
8586
8586
|
isNaN(se) || (ae = se);
|
|
8587
8587
|
} });
|
|
8588
|
-
var
|
|
8588
|
+
var K = 0;
|
|
8589
8589
|
Object.defineProperty(this, "posY", { get: function() {
|
|
8590
|
-
return
|
|
8590
|
+
return K;
|
|
8591
8591
|
}, set: function(se) {
|
|
8592
|
-
isNaN(se) || (
|
|
8592
|
+
isNaN(se) || (K = se);
|
|
8593
8593
|
} }), Object.defineProperty(this, "margin", { get: function() {
|
|
8594
8594
|
return u.margin;
|
|
8595
8595
|
}, set: function(se) {
|
|
@@ -8788,9 +8788,9 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
8788
8788
|
}, d.prototype.getLineDash = function() {
|
|
8789
8789
|
return this.lineDash.length % 2 ? this.lineDash.concat(this.lineDash) : this.lineDash.slice();
|
|
8790
8790
|
}, d.prototype.fill = function() {
|
|
8791
|
-
|
|
8791
|
+
V.call(this, "fill", !1);
|
|
8792
8792
|
}, d.prototype.stroke = function() {
|
|
8793
|
-
|
|
8793
|
+
V.call(this, "stroke", !1);
|
|
8794
8794
|
}, d.prototype.beginPath = function() {
|
|
8795
8795
|
this.path = [{ type: "begin" }];
|
|
8796
8796
|
}, d.prototype.moveTo = function(F, M) {
|
|
@@ -8812,27 +8812,27 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
8812
8812
|
var T = this.ctx.transform.applyToPoint(new A(F, M));
|
|
8813
8813
|
this.path.push({ type: "lt", x: T.x, y: T.y }), this.ctx.lastPoint = new A(T.x, T.y);
|
|
8814
8814
|
}, d.prototype.clip = function() {
|
|
8815
|
-
this.ctx.clip_path = JSON.parse(JSON.stringify(this.path)),
|
|
8815
|
+
this.ctx.clip_path = JSON.parse(JSON.stringify(this.path)), V.call(this, null, !0);
|
|
8816
8816
|
}, d.prototype.quadraticCurveTo = function(F, M, T, H) {
|
|
8817
8817
|
if (isNaN(T) || isNaN(H) || isNaN(F) || isNaN(M))
|
|
8818
8818
|
throw Gt.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");
|
|
8819
|
-
var ae = this.ctx.transform.applyToPoint(new A(T, H)),
|
|
8820
|
-
this.path.push({ type: "qct", x1:
|
|
8821
|
-
}, d.prototype.bezierCurveTo = function(F, M, T, H, ae,
|
|
8822
|
-
if (isNaN(ae) || isNaN(
|
|
8819
|
+
var ae = this.ctx.transform.applyToPoint(new A(T, H)), K = this.ctx.transform.applyToPoint(new A(F, M));
|
|
8820
|
+
this.path.push({ type: "qct", x1: K.x, y1: K.y, x: ae.x, y: ae.y }), this.ctx.lastPoint = new A(ae.x, ae.y);
|
|
8821
|
+
}, d.prototype.bezierCurveTo = function(F, M, T, H, ae, K) {
|
|
8822
|
+
if (isNaN(ae) || isNaN(K) || isNaN(F) || isNaN(M) || isNaN(T) || isNaN(H))
|
|
8823
8823
|
throw Gt.error("jsPDF.context2d.bezierCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");
|
|
8824
|
-
var ue = this.ctx.transform.applyToPoint(new A(ae,
|
|
8824
|
+
var ue = this.ctx.transform.applyToPoint(new A(ae, K)), Z = this.ctx.transform.applyToPoint(new A(F, M)), G = this.ctx.transform.applyToPoint(new A(T, H));
|
|
8825
8825
|
this.path.push({ type: "bct", x1: Z.x, y1: Z.y, x2: G.x, y2: G.y, x: ue.x, y: ue.y }), this.ctx.lastPoint = new A(ue.x, ue.y);
|
|
8826
|
-
}, d.prototype.arc = function(F, M, T, H, ae,
|
|
8826
|
+
}, d.prototype.arc = function(F, M, T, H, ae, K) {
|
|
8827
8827
|
if (isNaN(F) || isNaN(M) || isNaN(T) || isNaN(H) || isNaN(ae))
|
|
8828
8828
|
throw Gt.error("jsPDF.context2d.arc: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.arc");
|
|
8829
|
-
if (
|
|
8829
|
+
if (K = !!K, !this.ctx.transform.isIdentity) {
|
|
8830
8830
|
var ue = this.ctx.transform.applyToPoint(new A(F, M));
|
|
8831
8831
|
F = ue.x, M = ue.y;
|
|
8832
8832
|
var Z = this.ctx.transform.applyToPoint(new A(0, T)), G = this.ctx.transform.applyToPoint(new A(0, 0));
|
|
8833
8833
|
T = Math.sqrt(Math.pow(Z.x - G.x, 2) + Math.pow(Z.y - G.y, 2));
|
|
8834
8834
|
}
|
|
8835
|
-
Math.abs(ae - H) >= 2 * Math.PI && (H = 0, ae = 2 * Math.PI), this.path.push({ type: "arc", x: F, y: M, radius: T, startAngle: H, endAngle: ae, counterclockwise:
|
|
8835
|
+
Math.abs(ae - H) >= 2 * Math.PI && (H = 0, ae = 2 * Math.PI), this.path.push({ type: "arc", x: F, y: M, radius: T, startAngle: H, endAngle: ae, counterclockwise: K });
|
|
8836
8836
|
}, d.prototype.arcTo = function(F, M, T, H, ae) {
|
|
8837
8837
|
throw new Error("arcTo not implemented.");
|
|
8838
8838
|
}, d.prototype.rect = function(F, M, T, H) {
|
|
@@ -8878,11 +8878,11 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
8878
8878
|
if (/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(F))
|
|
8879
8879
|
M = 0, T = 0, H = 0, ae = 0;
|
|
8880
8880
|
else {
|
|
8881
|
-
var
|
|
8882
|
-
if (
|
|
8883
|
-
M = parseInt(
|
|
8884
|
-
else if ((
|
|
8885
|
-
M = parseInt(
|
|
8881
|
+
var K = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(F);
|
|
8882
|
+
if (K !== null)
|
|
8883
|
+
M = parseInt(K[1]), T = parseInt(K[2]), H = parseInt(K[3]), ae = 1;
|
|
8884
|
+
else if ((K = /rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(F)) !== null)
|
|
8885
|
+
M = parseInt(K[1]), T = parseInt(K[2]), H = parseInt(K[3]), ae = parseFloat(K[4]);
|
|
8886
8886
|
else {
|
|
8887
8887
|
if (ae = 1, typeof F == "string" && F.charAt(0) !== "#") {
|
|
8888
8888
|
var ue = new h1(F);
|
|
@@ -8901,27 +8901,27 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
8901
8901
|
if (isNaN(M) || isNaN(T) || typeof F != "string")
|
|
8902
8902
|
throw Gt.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
|
|
8903
8903
|
if (H = isNaN(H) ? void 0 : H, !i.call(this)) {
|
|
8904
|
-
var ae = k(this.ctx.transform.rotation),
|
|
8905
|
-
R.call(this, { text: F, x: M, y: T, scale:
|
|
8904
|
+
var ae = k(this.ctx.transform.rotation), K = this.ctx.transform.scaleX;
|
|
8905
|
+
R.call(this, { text: F, x: M, y: T, scale: K, angle: ae, align: this.textAlign, maxWidth: H });
|
|
8906
8906
|
}
|
|
8907
8907
|
}, d.prototype.strokeText = function(F, M, T, H) {
|
|
8908
8908
|
if (isNaN(M) || isNaN(T) || typeof F != "string")
|
|
8909
8909
|
throw Gt.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
|
|
8910
8910
|
if (!v.call(this)) {
|
|
8911
8911
|
H = isNaN(H) ? void 0 : H;
|
|
8912
|
-
var ae = k(this.ctx.transform.rotation),
|
|
8913
|
-
R.call(this, { text: F, x: M, y: T, scale:
|
|
8912
|
+
var ae = k(this.ctx.transform.rotation), K = this.ctx.transform.scaleX;
|
|
8913
|
+
R.call(this, { text: F, x: M, y: T, scale: K, renderingMode: "stroke", angle: ae, align: this.textAlign, maxWidth: H });
|
|
8914
8914
|
}
|
|
8915
8915
|
}, d.prototype.measureText = function(F) {
|
|
8916
8916
|
if (typeof F != "string")
|
|
8917
8917
|
throw Gt.error("jsPDF.context2d.measureText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.measureText");
|
|
8918
|
-
var M = this.pdf, T = this.pdf.internal.scaleFactor, H = M.internal.getFontSize(), ae = M.getStringUnitWidth(F) * H / M.internal.scaleFactor,
|
|
8918
|
+
var M = this.pdf, T = this.pdf.internal.scaleFactor, H = M.internal.getFontSize(), ae = M.getStringUnitWidth(F) * H / M.internal.scaleFactor, K = function(ue) {
|
|
8919
8919
|
var Z = (ue = ue || {}).width || 0;
|
|
8920
8920
|
return Object.defineProperty(this, "width", { get: function() {
|
|
8921
8921
|
return Z;
|
|
8922
8922
|
} }), this;
|
|
8923
8923
|
};
|
|
8924
|
-
return new
|
|
8924
|
+
return new K({ width: ae *= Math.round(96 * T / 72 * 1e4) / 1e4 });
|
|
8925
8925
|
}, d.prototype.scale = function(F, M) {
|
|
8926
8926
|
if (isNaN(F) || isNaN(M))
|
|
8927
8927
|
throw Gt.error("jsPDF.context2d.scale: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.scale");
|
|
@@ -8937,21 +8937,21 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
8937
8937
|
throw Gt.error("jsPDF.context2d.translate: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.translate");
|
|
8938
8938
|
var T = new h(1, 0, 0, 1, F, M);
|
|
8939
8939
|
this.ctx.transform = this.ctx.transform.multiply(T);
|
|
8940
|
-
}, d.prototype.transform = function(F, M, T, H, ae,
|
|
8941
|
-
if (isNaN(F) || isNaN(M) || isNaN(T) || isNaN(H) || isNaN(ae) || isNaN(
|
|
8940
|
+
}, d.prototype.transform = function(F, M, T, H, ae, K) {
|
|
8941
|
+
if (isNaN(F) || isNaN(M) || isNaN(T) || isNaN(H) || isNaN(ae) || isNaN(K))
|
|
8942
8942
|
throw Gt.error("jsPDF.context2d.transform: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.transform");
|
|
8943
|
-
var ue = new h(F, M, T, H, ae,
|
|
8943
|
+
var ue = new h(F, M, T, H, ae, K);
|
|
8944
8944
|
this.ctx.transform = this.ctx.transform.multiply(ue);
|
|
8945
|
-
}, d.prototype.setTransform = function(F, M, T, H, ae,
|
|
8946
|
-
F = isNaN(F) ? 1 : F, M = isNaN(M) ? 0 : M, T = isNaN(T) ? 0 : T, H = isNaN(H) ? 1 : H, ae = isNaN(ae) ? 0 : ae,
|
|
8945
|
+
}, d.prototype.setTransform = function(F, M, T, H, ae, K) {
|
|
8946
|
+
F = isNaN(F) ? 1 : F, M = isNaN(M) ? 0 : M, T = isNaN(T) ? 0 : T, H = isNaN(H) ? 1 : H, ae = isNaN(ae) ? 0 : ae, K = isNaN(K) ? 0 : K, this.ctx.transform = new h(F, M, T, H, ae, K);
|
|
8947
8947
|
};
|
|
8948
8948
|
var w = function() {
|
|
8949
8949
|
return this.margin[0] > 0 || this.margin[1] > 0 || this.margin[2] > 0 || this.margin[3] > 0;
|
|
8950
8950
|
};
|
|
8951
|
-
d.prototype.drawImage = function(F, M, T, H, ae,
|
|
8951
|
+
d.prototype.drawImage = function(F, M, T, H, ae, K, ue, Z, G) {
|
|
8952
8952
|
var q = this.pdf.getImageProperties(F), L = 1, de = 1, E = 1, se = 1;
|
|
8953
|
-
H !== void 0 && Z !== void 0 && (E = Z / H, se = G / ae, L = q.width / H * Z / H, de = q.height / ae * G / ae),
|
|
8954
|
-
for (var oe, Me = this.ctx.transform.decompose(), ze = k(Me.rotate.shx), De = new h(), Te = (De = (De = (De = De.multiply(Me.translate)).multiply(Me.skew)).multiply(Me.scale)).applyToRectangle(new n(
|
|
8953
|
+
H !== void 0 && Z !== void 0 && (E = Z / H, se = G / ae, L = q.width / H * Z / H, de = q.height / ae * G / ae), K === void 0 && (K = M, ue = T, M = 0, T = 0), H !== void 0 && Z === void 0 && (Z = H, G = ae), H === void 0 && Z === void 0 && (Z = q.width, G = q.height);
|
|
8954
|
+
for (var oe, Me = this.ctx.transform.decompose(), ze = k(Me.rotate.shx), De = new h(), Te = (De = (De = (De = De.multiply(Me.translate)).multiply(Me.skew)).multiply(Me.scale)).applyToRectangle(new n(K - M * E, ue - T * se, H * L, ae * de)), Re = C.call(this, Te), Ve = [], et = 0; et < Re.length; et += 1)
|
|
8955
8955
|
Ve.indexOf(Re[et]) === -1 && Ve.push(Re[et]);
|
|
8956
8956
|
if (X(Ve), this.autoPaging)
|
|
8957
8957
|
for (var ut = Ve[0], ft = Ve[Ve.length - 1], yt = ut; yt < ft + 1; yt++) {
|
|
@@ -8983,8 +8983,8 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
8983
8983
|
H.push(Math.floor((F.y + ae - F.radius) / T) + 1), H.push(Math.floor((F.y + ae + F.radius) / T) + 1);
|
|
8984
8984
|
break;
|
|
8985
8985
|
case "qct":
|
|
8986
|
-
var
|
|
8987
|
-
H.push(Math.floor((
|
|
8986
|
+
var K = P(this.ctx.lastPoint.x, this.ctx.lastPoint.y, F.x1, F.y1, F.x, F.y);
|
|
8987
|
+
H.push(Math.floor((K.y + ae) / T) + 1), H.push(Math.floor((K.y + K.h + ae) / T) + 1);
|
|
8988
8988
|
break;
|
|
8989
8989
|
case "bct":
|
|
8990
8990
|
var ue = I(this.ctx.lastPoint.x, this.ctx.lastPoint.y, F.x1, F.y1, F.x2, F.y2, F.x, F.y);
|
|
@@ -8998,8 +8998,8 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
8998
8998
|
x.call(this);
|
|
8999
8999
|
return H;
|
|
9000
9000
|
}, x = function() {
|
|
9001
|
-
var F = this.fillStyle, M = this.strokeStyle, T = this.font, H = this.lineCap, ae = this.lineWidth,
|
|
9002
|
-
this.pdf.addPage(), this.fillStyle = F, this.strokeStyle = M, this.font = T, this.lineCap = H, this.lineWidth = ae, this.lineJoin =
|
|
9001
|
+
var F = this.fillStyle, M = this.strokeStyle, T = this.font, H = this.lineCap, ae = this.lineWidth, K = this.lineJoin;
|
|
9002
|
+
this.pdf.addPage(), this.fillStyle = F, this.strokeStyle = M, this.font = T, this.lineCap = H, this.lineWidth = ae, this.lineJoin = K;
|
|
9003
9003
|
}, Q = function(F, M, T) {
|
|
9004
9004
|
for (var H = 0; H < F.length; H++)
|
|
9005
9005
|
switch (F[H].type) {
|
|
@@ -9018,8 +9018,8 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
9018
9018
|
return F.sort(function(M, T) {
|
|
9019
9019
|
return M - T;
|
|
9020
9020
|
});
|
|
9021
|
-
},
|
|
9022
|
-
for (var T, H, ae = this.fillStyle,
|
|
9021
|
+
}, V = function(F, M) {
|
|
9022
|
+
for (var T, H, ae = this.fillStyle, K = this.strokeStyle, ue = this.lineCap, Z = this.lineWidth, G = Math.abs(Z * this.ctx.transform.scaleX), q = this.lineJoin, L = JSON.parse(JSON.stringify(this.path)), de = JSON.parse(JSON.stringify(this.path)), E = [], se = 0; se < de.length; se++)
|
|
9023
9023
|
if (de[se].x !== void 0)
|
|
9024
9024
|
for (var oe = C.call(this, de[se]), Me = 0; Me < oe.length; Me += 1)
|
|
9025
9025
|
E.indexOf(oe[Me]) === -1 && E.push(oe[Me]);
|
|
@@ -9028,7 +9028,7 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
9028
9028
|
x.call(this);
|
|
9029
9029
|
if (X(E), this.autoPaging)
|
|
9030
9030
|
for (var De = E[0], Te = E[E.length - 1], Re = De; Re < Te + 1; Re++) {
|
|
9031
|
-
this.pdf.setPage(Re), this.fillStyle = ae, this.strokeStyle =
|
|
9031
|
+
this.pdf.setPage(Re), this.fillStyle = ae, this.strokeStyle = K, this.lineCap = ue, this.lineWidth = G, this.lineJoin = q;
|
|
9032
9032
|
var Ve = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], et = Re === 1 ? this.posY + this.margin[0] : this.margin[0], ut = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], ft = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], yt = Re === 1 ? 0 : ut + (Re - 2) * ft;
|
|
9033
9033
|
if (this.ctx.clip_path.length !== 0) {
|
|
9034
9034
|
var wt = this.path;
|
|
@@ -9045,8 +9045,8 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
9045
9045
|
this.path = L;
|
|
9046
9046
|
}, N = function(F, M) {
|
|
9047
9047
|
if ((F !== "stroke" || M || !v.call(this)) && (F === "stroke" || M || !i.call(this))) {
|
|
9048
|
-
for (var T, H, ae = [],
|
|
9049
|
-
var Z =
|
|
9048
|
+
for (var T, H, ae = [], K = this.path, ue = 0; ue < K.length; ue++) {
|
|
9049
|
+
var Z = K[ue];
|
|
9050
9050
|
switch (Z.type) {
|
|
9051
9051
|
case "begin":
|
|
9052
9052
|
ae.push({ begin: !0 });
|
|
@@ -9059,7 +9059,7 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
9059
9059
|
break;
|
|
9060
9060
|
case "lt":
|
|
9061
9061
|
var G = ae.length;
|
|
9062
|
-
if (
|
|
9062
|
+
if (K[ue - 1] && !isNaN(K[ue - 1].x) && (T = [Z.x - K[ue - 1].x, Z.y - K[ue - 1].y], G > 0)) {
|
|
9063
9063
|
for (; G >= 0; G--)
|
|
9064
9064
|
if (ae[G - 1].close !== !0 && ae[G - 1].begin !== !0) {
|
|
9065
9065
|
ae[G - 1].deltas.push(T), ae[G - 1].abs.push(Z);
|
|
@@ -9068,11 +9068,11 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
9068
9068
|
}
|
|
9069
9069
|
break;
|
|
9070
9070
|
case "bct":
|
|
9071
|
-
T = [Z.x1 -
|
|
9071
|
+
T = [Z.x1 - K[ue - 1].x, Z.y1 - K[ue - 1].y, Z.x2 - K[ue - 1].x, Z.y2 - K[ue - 1].y, Z.x - K[ue - 1].x, Z.y - K[ue - 1].y], ae[ae.length - 1].deltas.push(T);
|
|
9072
9072
|
break;
|
|
9073
9073
|
case "qct":
|
|
9074
|
-
var q =
|
|
9075
|
-
T = [q -
|
|
9074
|
+
var q = K[ue - 1].x + 2 / 3 * (Z.x1 - K[ue - 1].x), L = K[ue - 1].y + 2 / 3 * (Z.y1 - K[ue - 1].y), de = Z.x + 2 / 3 * (Z.x1 - Z.x), E = Z.y + 2 / 3 * (Z.y1 - Z.y), se = Z.x, oe = Z.y;
|
|
9075
|
+
T = [q - K[ue - 1].x, L - K[ue - 1].y, de - K[ue - 1].x, E - K[ue - 1].y, se - K[ue - 1].x, oe - K[ue - 1].y], ae[ae.length - 1].deltas.push(T);
|
|
9076
9076
|
break;
|
|
9077
9077
|
case "arc":
|
|
9078
9078
|
ae.push({ deltas: [], abs: [], arc: !0 }), Array.isArray(ae[ae.length - 1].abs) && ae[ae.length - 1].abs.push(Z);
|
|
@@ -9126,8 +9126,8 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
9126
9126
|
}, d.prototype.createRadialGradient = function() {
|
|
9127
9127
|
return this.createLinearGradient();
|
|
9128
9128
|
};
|
|
9129
|
-
var W = function(F, M, T, H, ae,
|
|
9130
|
-
for (var q = ce.call(this, T, H, ae,
|
|
9129
|
+
var W = function(F, M, T, H, ae, K, ue, Z, G) {
|
|
9130
|
+
for (var q = ce.call(this, T, H, ae, K), L = 0; L < q.length; L++) {
|
|
9131
9131
|
var de = q[L];
|
|
9132
9132
|
L === 0 && (G ? D.call(this, de.x1 + F, de.y1 + M) : Ae.call(this, de.x1 + F, de.y1 + M)), we.call(this, F, M, de.x2, de.y2, de.x3, de.y3, de.x4, de.y4);
|
|
9133
9133
|
}
|
|
@@ -9159,7 +9159,7 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
9159
9159
|
default:
|
|
9160
9160
|
M = "left";
|
|
9161
9161
|
}
|
|
9162
|
-
var T = this.pdf.getTextDimensions(F.text), H = ie.call(this, F.y), ae = ee.call(this, H) - T.h,
|
|
9162
|
+
var T = this.pdf.getTextDimensions(F.text), H = ie.call(this, F.y), ae = ee.call(this, H) - T.h, K = this.ctx.transform.applyToPoint(new A(F.x, H)), ue = this.ctx.transform.decompose(), Z = new h();
|
|
9163
9163
|
Z = (Z = (Z = Z.multiply(ue.translate)).multiply(ue.skew)).multiply(ue.scale);
|
|
9164
9164
|
for (var G, q, L, de = this.ctx.transform.applyToRectangle(new n(F.x, H, T.w, T.h)), E = Z.applyToRectangle(new n(F.x, ae, T.w, T.h)), se = C.call(this, E), oe = [], Me = 0; Me < se.length; Me += 1)
|
|
9165
9165
|
oe.indexOf(se[Me]) === -1 && oe.push(se[Me]);
|
|
@@ -9184,35 +9184,35 @@ var Ji, Vd, jd, rc = ["times"];
|
|
|
9184
9184
|
F.scale >= 0.01 && (this.pdf.setFontSize(q), this.lineWidth = L);
|
|
9185
9185
|
}
|
|
9186
9186
|
else
|
|
9187
|
-
F.scale >= 0.01 && (q = this.pdf.internal.getFontSize(), this.pdf.setFontSize(q * F.scale), L = this.lineWidth, this.lineWidth = L * F.scale), this.pdf.text(F.text,
|
|
9187
|
+
F.scale >= 0.01 && (q = this.pdf.internal.getFontSize(), this.pdf.setFontSize(q * F.scale), L = this.lineWidth, this.lineWidth = L * F.scale), this.pdf.text(F.text, K.x + this.posX, K.y + this.posY, { angle: F.angle, align: M, renderingMode: F.renderingMode, maxWidth: F.maxWidth }), F.scale >= 0.01 && (this.pdf.setFontSize(q), this.lineWidth = L);
|
|
9188
9188
|
}, Ae = function(F, M, T, H) {
|
|
9189
9189
|
T = T || 0, H = H || 0, this.pdf.internal.out(l(F + T) + " " + a(M + H) + " l");
|
|
9190
9190
|
}, re = function(F, M, T) {
|
|
9191
9191
|
return this.pdf.lines(F, M, T, null, null);
|
|
9192
|
-
}, we = function(F, M, T, H, ae,
|
|
9193
|
-
this.pdf.internal.out([t(o(T + F)), t(r(H + M)), t(o(ae + F)), t(r(
|
|
9192
|
+
}, we = function(F, M, T, H, ae, K, ue, Z) {
|
|
9193
|
+
this.pdf.internal.out([t(o(T + F)), t(r(H + M)), t(o(ae + F)), t(r(K + M)), t(o(ue + F)), t(r(Z + M)), "c"].join(" "));
|
|
9194
9194
|
}, ce = function(F, M, T, H) {
|
|
9195
|
-
for (var ae = 2 * Math.PI,
|
|
9195
|
+
for (var ae = 2 * Math.PI, K = Math.PI / 2; M > T; )
|
|
9196
9196
|
M -= ae;
|
|
9197
9197
|
var ue = Math.abs(T - M);
|
|
9198
9198
|
ue < ae && H && (ue = ae - ue);
|
|
9199
9199
|
for (var Z = [], G = H ? -1 : 1, q = M; ue > 1e-5; ) {
|
|
9200
|
-
var L = q + G * Math.min(ue,
|
|
9200
|
+
var L = q + G * Math.min(ue, K);
|
|
9201
9201
|
Z.push(j.call(this, F, q, L)), ue -= Math.abs(L - q), q = L;
|
|
9202
9202
|
}
|
|
9203
9203
|
return Z;
|
|
9204
9204
|
}, j = function(F, M, T) {
|
|
9205
|
-
var H = (T - M) / 2, ae = F * Math.cos(H),
|
|
9205
|
+
var H = (T - M) / 2, ae = F * Math.cos(H), K = F * Math.sin(H), ue = ae, Z = -K, G = ue * ue + Z * Z, q = G + ue * ae + Z * K, L = 4 / 3 * (Math.sqrt(2 * G * q) - q) / (ue * K - Z * ae), de = ue - L * Z, E = Z + L * ue, se = de, oe = -E, Me = H + M, ze = Math.cos(Me), De = Math.sin(Me);
|
|
9206
9206
|
return { x1: F * Math.cos(M), y1: F * Math.sin(M), x2: de * ze - E * De, y2: de * De + E * ze, x3: se * ze - oe * De, y3: se * De + oe * ze, x4: F * Math.cos(T), y4: F * Math.sin(T) };
|
|
9207
9207
|
}, k = function(F) {
|
|
9208
9208
|
return 180 * F / Math.PI;
|
|
9209
|
-
}, P = function(F, M, T, H, ae,
|
|
9210
|
-
var ue = F + 0.5 * (T - F), Z = M + 0.5 * (H - M), G = ae + 0.5 * (T - ae), q =
|
|
9209
|
+
}, P = function(F, M, T, H, ae, K) {
|
|
9210
|
+
var ue = F + 0.5 * (T - F), Z = M + 0.5 * (H - M), G = ae + 0.5 * (T - ae), q = K + 0.5 * (H - K), L = Math.min(F, ae, ue, G), de = Math.max(F, ae, ue, G), E = Math.min(M, K, Z, q), se = Math.max(M, K, Z, q);
|
|
9211
9211
|
return new n(L, E, de - L, se - E);
|
|
9212
|
-
}, I = function(F, M, T, H, ae,
|
|
9213
|
-
var G, q, L, de, E, se, oe, Me, ze, De, Te, Re, Ve, et, ut = T - F, ft = H - M, yt = ae - T, wt =
|
|
9212
|
+
}, I = function(F, M, T, H, ae, K, ue, Z) {
|
|
9213
|
+
var G, q, L, de, E, se, oe, Me, ze, De, Te, Re, Ve, et, ut = T - F, ft = H - M, yt = ae - T, wt = K - H, $t = ue - ae, it = Z - K;
|
|
9214
9214
|
for (q = 0; q < 41; q++)
|
|
9215
|
-
ze = (oe = (L = F + (G = q / 40) * ut) + G * ((E = T + G * yt) - L)) + G * (E + G * (ae + G * $t - E) - oe), De = (Me = (de = M + G * ft) + G * ((se = H + G * wt) - de)) + G * (se + G * (
|
|
9215
|
+
ze = (oe = (L = F + (G = q / 40) * ut) + G * ((E = T + G * yt) - L)) + G * (E + G * (ae + G * $t - E) - oe), De = (Me = (de = M + G * ft) + G * ((se = H + G * wt) - de)) + G * (se + G * (K + G * it - se) - Me), q == 0 ? (Te = ze, Re = De, Ve = ze, et = De) : (Te = Math.min(Te, ze), Re = Math.min(Re, De), Ve = Math.max(Ve, ze), et = Math.max(et, De));
|
|
9216
9216
|
return new n(Math.round(Te), Math.round(Re), Math.round(Ve - Te), Math.round(et - Re));
|
|
9217
9217
|
}, he = function() {
|
|
9218
9218
|
if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
|
|
@@ -9757,8 +9757,8 @@ var yA, Zi, Gd, Wd, Xd, bb = function() {
|
|
|
9757
9757
|
var A, n, h, u, s, d, y, i, v, w, C, x, Q, X;
|
|
9758
9758
|
for (this.data = r, this.pos = 8, this.palette = [], this.imgData = [], this.transparency = {}, this.animation = null, this.text = {}, d = null; ; ) {
|
|
9759
9759
|
switch (A = this.readUInt32(), v = (function() {
|
|
9760
|
-
var
|
|
9761
|
-
for (N = [],
|
|
9760
|
+
var V, N;
|
|
9761
|
+
for (N = [], V = 0; V < 4; ++V)
|
|
9762
9762
|
N.push(String.fromCharCode(this.data[this.pos++]));
|
|
9763
9763
|
return N;
|
|
9764
9764
|
}).call(this).join("")) {
|
|
@@ -9838,8 +9838,8 @@ var yA, Zi, Gd, Wd, Xd, bb = function() {
|
|
|
9838
9838
|
if (r == null && (r = this.imgData), r.length === 0)
|
|
9839
9839
|
return new Uint8Array(0);
|
|
9840
9840
|
function s(d, y, i, v) {
|
|
9841
|
-
var w, C, x, Q, X,
|
|
9842
|
-
for (R = A * I, pe = F ? n : new Uint8Array(R * he),
|
|
9841
|
+
var w, C, x, Q, X, V, N, ie, ee, W, fe, pe, D, R, Ae, re, we, ce, j, k, P, I = Math.ceil((u.width - d) / i), he = Math.ceil((u.height - y) / v), F = u.width == I && u.height == he;
|
|
9842
|
+
for (R = A * I, pe = F ? n : new Uint8Array(R * he), V = r.length, D = 0, C = 0; D < he && h < V; ) {
|
|
9843
9843
|
switch (r[h++]) {
|
|
9844
9844
|
case 0:
|
|
9845
9845
|
for (Q = we = 0; we < R; Q = we += 1)
|
|
@@ -10032,8 +10032,8 @@ function wb(e) {
|
|
|
10032
10032
|
}
|
|
10033
10033
|
break;
|
|
10034
10034
|
case 44:
|
|
10035
|
-
var C = e[t++] | e[t++] << 8, x = e[t++] | e[t++] << 8, Q = e[t++] | e[t++] << 8, X = e[t++] | e[t++] << 8,
|
|
10036
|
-
|
|
10035
|
+
var C = e[t++] | e[t++] << 8, x = e[t++] | e[t++] << 8, Q = e[t++] | e[t++] << 8, X = e[t++] | e[t++] << 8, V = e[t++], N = V >> 6 & 1, ie = 1 << (7 & V) + 1, ee = n, W = h, fe = !1;
|
|
10036
|
+
V >> 7 && (fe = !0, ee = t, W = ie, t += 3 * ie);
|
|
10037
10037
|
var pe = t;
|
|
10038
10038
|
for (t++; ; ) {
|
|
10039
10039
|
var D;
|
|
@@ -10066,8 +10066,8 @@ function wb(e) {
|
|
|
10066
10066
|
k === null && (k = 256);
|
|
10067
10067
|
var P = re.width, I = l - P, he = P, F = 4 * (re.y * l + re.x), M = 4 * ((re.y + re.height) * l + re.x), T = F, H = 4 * I;
|
|
10068
10068
|
re.interlaced === !0 && (H += 4 * l * 7);
|
|
10069
|
-
for (var ae = 8,
|
|
10070
|
-
var Z = ce[
|
|
10069
|
+
for (var ae = 8, K = 0, ue = ce.length; K < ue; ++K) {
|
|
10070
|
+
var Z = ce[K];
|
|
10071
10071
|
if (he === 0 && (he = P, (T += H) >= M && (H = 4 * I + 4 * l * (ae - 1), T = F + (P + I) * (ae << 1), ae >>= 1)), Z === k)
|
|
10072
10072
|
T += 4;
|
|
10073
10073
|
else {
|
|
@@ -10083,8 +10083,8 @@ function wb(e) {
|
|
|
10083
10083
|
k === null && (k = 256);
|
|
10084
10084
|
var P = re.width, I = l - P, he = P, F = 4 * (re.y * l + re.x), M = 4 * ((re.y + re.height) * l + re.x), T = F, H = 4 * I;
|
|
10085
10085
|
re.interlaced === !0 && (H += 4 * l * 7);
|
|
10086
|
-
for (var ae = 8,
|
|
10087
|
-
var Z = ce[
|
|
10086
|
+
for (var ae = 8, K = 0, ue = ce.length; K < ue; ++K) {
|
|
10087
|
+
var Z = ce[K];
|
|
10088
10088
|
if (he === 0 && (he = P, (T += H) >= M && (H = 4 * I + 4 * l * (ae - 1), T = F + (P + I) * (ae << 1), ae >>= 1)), Z === k)
|
|
10089
10089
|
T += 4;
|
|
10090
10090
|
else {
|
|
@@ -10107,14 +10107,14 @@ function qd(e, t, l, a) {
|
|
|
10107
10107
|
break;
|
|
10108
10108
|
for (var x = C < n ? C : w, Q = 0, X = x; X > r; )
|
|
10109
10109
|
X = v[X] >> 8, ++Q;
|
|
10110
|
-
var
|
|
10110
|
+
var V = X;
|
|
10111
10111
|
if (y + Q + (x !== C ? 1 : 0) > a)
|
|
10112
10112
|
return void Gt.log("Warning, gif stream longer than expected.");
|
|
10113
|
-
l[y++] =
|
|
10113
|
+
l[y++] = V;
|
|
10114
10114
|
var N = y += Q;
|
|
10115
|
-
for (x !== C && (l[y++] =
|
|
10115
|
+
for (x !== C && (l[y++] = V), X = x; Q--; )
|
|
10116
10116
|
X = v[X], l[--N] = 255 & X, X >>= 8;
|
|
10117
|
-
w !== null && n < 4096 && (v[n++] = w << 8 |
|
|
10117
|
+
w !== null && n < 4096 && (v[n++] = w << 8 | V, n >= u + 1 && h < 12 && (++h, u = u << 1 | 1)), w = C;
|
|
10118
10118
|
} else
|
|
10119
10119
|
n = A + 1, u = (1 << (h = o + 1)) - 1, w = null;
|
|
10120
10120
|
}
|
|
@@ -10153,11 +10153,11 @@ function qd(e, t, l, a) {
|
|
|
10153
10153
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10154
10154
|
*/
|
|
10155
10155
|
function ac(e) {
|
|
10156
|
-
var t, l, a, o, r, A = Math.floor, n = new Array(64), h = new Array(64), u = new Array(64), s = new Array(64), d = new Array(65535), y = new Array(65535), i = new Array(64), v = new Array(64), w = [], C = 0, x = 7, Q = new Array(64), X = new Array(64),
|
|
10156
|
+
var t, l, a, o, r, A = Math.floor, n = new Array(64), h = new Array(64), u = new Array(64), s = new Array(64), d = new Array(65535), y = new Array(65535), i = new Array(64), v = new Array(64), w = [], C = 0, x = 7, Q = new Array(64), X = new Array(64), V = new Array(64), N = new Array(256), ie = new Array(2048), ee = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], W = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], fe = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], pe = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], D = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], R = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], Ae = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], re = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], we = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
|
|
10157
10157
|
function ce(F, M) {
|
|
10158
|
-
for (var T = 0, H = 0, ae = new Array(),
|
|
10159
|
-
for (var ue = 1; ue <= F[
|
|
10160
|
-
ae[M[H]] = [], ae[M[H]][0] = T, ae[M[H]][1] =
|
|
10158
|
+
for (var T = 0, H = 0, ae = new Array(), K = 1; K <= 16; K++) {
|
|
10159
|
+
for (var ue = 1; ue <= F[K]; ue++)
|
|
10160
|
+
ae[M[H]] = [], ae[M[H]][0] = T, ae[M[H]][1] = K, H++, T++;
|
|
10161
10161
|
T *= 2;
|
|
10162
10162
|
}
|
|
10163
10163
|
return ae;
|
|
@@ -10173,7 +10173,7 @@ function ac(e) {
|
|
|
10173
10173
|
k(F >> 8 & 255), k(255 & F);
|
|
10174
10174
|
}
|
|
10175
10175
|
function I(F, M, T, H, ae) {
|
|
10176
|
-
for (var
|
|
10176
|
+
for (var K, ue = ae[0], Z = ae[240], G = function(De, Te) {
|
|
10177
10177
|
var Re, Ve, et, ut, ft, yt, wt, $t, it, mt, We = 0;
|
|
10178
10178
|
for (it = 0; it < 8; ++it) {
|
|
10179
10179
|
Re = De[We], Ve = De[We + 1], et = De[We + 2], ut = De[We + 3], ft = De[We + 4], yt = De[We + 5], wt = De[We + 6];
|
|
@@ -10199,7 +10199,7 @@ function ac(e) {
|
|
|
10199
10199
|
}(F, M), q = 0; q < 64; ++q)
|
|
10200
10200
|
v[ee[q]] = G[q];
|
|
10201
10201
|
var L = v[0] - T;
|
|
10202
|
-
T = v[0], L == 0 ? j(H[0]) : (j(H[y[
|
|
10202
|
+
T = v[0], L == 0 ? j(H[0]) : (j(H[y[K = 32767 + L]]), j(d[K]));
|
|
10203
10203
|
for (var de = 63; de > 0 && v[de] == 0; )
|
|
10204
10204
|
de--;
|
|
10205
10205
|
if (de == 0)
|
|
@@ -10214,7 +10214,7 @@ function ac(e) {
|
|
|
10214
10214
|
j(Z);
|
|
10215
10215
|
Me &= 15;
|
|
10216
10216
|
}
|
|
10217
|
-
|
|
10217
|
+
K = 32767 + v[se], j(ae[(Me << 4) + y[K]]), j(d[K]), se++;
|
|
10218
10218
|
}
|
|
10219
10219
|
return de != 63 && j(ue), T;
|
|
10220
10220
|
}
|
|
@@ -10224,8 +10224,8 @@ function ac(e) {
|
|
|
10224
10224
|
var ae = A((T[H] * M + 50) / 100);
|
|
10225
10225
|
ae = Math.min(Math.max(ae, 1), 255), n[ee[H]] = ae;
|
|
10226
10226
|
}
|
|
10227
|
-
for (var
|
|
10228
|
-
var Z = A((
|
|
10227
|
+
for (var K = [17, 18, 24, 47, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99, 24, 26, 56, 99, 99, 99, 99, 99, 47, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], ue = 0; ue < 64; ue++) {
|
|
10228
|
+
var Z = A((K[ue] * M + 50) / 100);
|
|
10229
10229
|
Z = Math.min(Math.max(Z, 1), 255), h[ee[ue]] = Z;
|
|
10230
10230
|
}
|
|
10231
10231
|
for (var G = [1, 1.387039845, 1.306562965, 1.175875602, 1, 0.785694958, 0.5411961, 0.275899379], q = 0, L = 0; L < 8; L++)
|
|
@@ -10267,11 +10267,11 @@ function ac(e) {
|
|
|
10267
10267
|
}(), P(65498), P(12), k(3), k(1), k(0), k(2), k(17), k(3), k(17), k(0), k(63), k(0);
|
|
10268
10268
|
var T = 0, H = 0, ae = 0;
|
|
10269
10269
|
C = 0, x = 7, this.encode.displayName = "_encode_";
|
|
10270
|
-
for (var
|
|
10271
|
-
for (
|
|
10272
|
-
for (q = De * Te +
|
|
10273
|
-
L = q + (E = se >> 3) * De + (de = 4 * (7 & se)), Te + E >= ze && (L -= De * (Te + 1 + E - ze)),
|
|
10274
|
-
T = I(Q, u, T, t, a), H = I(X, s, H, l, o), ae = I(
|
|
10270
|
+
for (var K, ue, Z, G, q, L, de, E, se, oe = F.data, Me = F.width, ze = F.height, De = 4 * Me, Te = 0; Te < ze; ) {
|
|
10271
|
+
for (K = 0; K < De; ) {
|
|
10272
|
+
for (q = De * Te + K, de = -1, E = 0, se = 0; se < 64; se++)
|
|
10273
|
+
L = q + (E = se >> 3) * De + (de = 4 * (7 & se)), Te + E >= ze && (L -= De * (Te + 1 + E - ze)), K + de >= De && (L -= K + de - De + 4), ue = oe[L++], Z = oe[L++], G = oe[L++], Q[se] = (ie[ue] + ie[Z + 256 >> 0] + ie[G + 512 >> 0] >> 16) - 128, X[se] = (ie[ue + 768 >> 0] + ie[Z + 1024 >> 0] + ie[G + 1280 >> 0] >> 16) - 128, V[se] = (ie[ue + 1280 >> 0] + ie[Z + 1536 >> 0] + ie[G + 1792 >> 0] >> 16) - 128;
|
|
10274
|
+
T = I(Q, u, T, t, a), H = I(X, s, H, l, o), ae = I(V, s, ae, l, o), K += 32;
|
|
10275
10275
|
}
|
|
10276
10276
|
Te += 8;
|
|
10277
10277
|
}
|
|
@@ -10410,7 +10410,7 @@ function Yd(e) {
|
|
|
10410
10410
|
this.G = A(5, R), this.H = r(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = A(Al, Ae);
|
|
10411
10411
|
}
|
|
10412
10412
|
function we(c, p, B, _) {
|
|
10413
|
-
t(c != null), t(p != null), t(2147483648 > _), c.Ca = 254, c.I = 0, c.b = -8, c.Ka = 0, c.oa = p, c.pa = B, c.Jd = p, c.Yc = B + _, c.Zc = 4 <= _ ? B + _ - 4 + 1 : B,
|
|
10413
|
+
t(c != null), t(p != null), t(2147483648 > _), c.Ca = 254, c.I = 0, c.b = -8, c.Ka = 0, c.oa = p, c.pa = B, c.Jd = p, c.Yc = B + _, c.Zc = 4 <= _ ? B + _ - 4 + 1 : B, K(c);
|
|
10414
10414
|
}
|
|
10415
10415
|
function ce(c, p) {
|
|
10416
10416
|
for (var B = 0; 0 < p--; )
|
|
@@ -10457,7 +10457,7 @@ function Yd(e) {
|
|
|
10457
10457
|
function ae(c) {
|
|
10458
10458
|
c.u >= tn && (t(c.u >= tn), P(c));
|
|
10459
10459
|
}
|
|
10460
|
-
function
|
|
10460
|
+
function K(c) {
|
|
10461
10461
|
t(c != null && c.oa != null), c.pa < c.Zc ? (c.I = (c.oa[c.pa++] | c.I << 8) >>> 0, c.b += 8) : (t(c != null && c.oa != null), c.pa < c.Yc ? (c.b += 8, c.I = c.oa[c.pa++] | c.I << 8) : c.Ka ? c.b = 0 : (c.I <<= 8, c.b += 8, c.Ka = 1));
|
|
10462
10462
|
}
|
|
10463
10463
|
function ue(c) {
|
|
@@ -10465,7 +10465,7 @@ function Yd(e) {
|
|
|
10465
10465
|
}
|
|
10466
10466
|
function Z(c, p) {
|
|
10467
10467
|
var B = c.Ca;
|
|
10468
|
-
0 > c.b &&
|
|
10468
|
+
0 > c.b && K(c);
|
|
10469
10469
|
var _ = c.b, z = B * p >>> 8, Y = (c.I >>> _ > z) + 0;
|
|
10470
10470
|
for (Y ? (B -= z, c.I -= z + 1 << _ >>> 0) : B = z + 1, _ = B, z = 0; 256 <= _; )
|
|
10471
10471
|
z += 8, _ >>= 8;
|
|
@@ -11261,7 +11261,7 @@ function Yd(e) {
|
|
|
11261
11261
|
le = ne[2];
|
|
11262
11262
|
} else
|
|
11263
11263
|
Be = 1, le = ne[1];
|
|
11264
|
-
ne = J + T1[z], 0 > (ge = c).b &&
|
|
11264
|
+
ne = J + T1[z], 0 > (ge = c).b && K(ge);
|
|
11265
11265
|
var Qe, Le = ge.b, _e = (Qe = ge.Ca >> 1) - (ge.I >> Le) >> 31;
|
|
11266
11266
|
--ge.b, ge.Ca += _e, ge.Ca |= 1, ge.I -= (Qe + 1 & _e) << Le, Y[ne] = ((Be ^ _e) - _e) * _[(0 < z) + 0];
|
|
11267
11267
|
}
|
|
@@ -12369,8 +12369,8 @@ function Yd(e) {
|
|
|
12369
12369
|
WebPRiffParser dominikhlbg@gmail.com
|
|
12370
12370
|
*/
|
|
12371
12371
|
function(M, T, H, ae) {
|
|
12372
|
-
for (var
|
|
12373
|
-
if (M[T +
|
|
12372
|
+
for (var K = 0; K < ae; K++)
|
|
12373
|
+
if (M[T + K] != H.charCodeAt(K))
|
|
12374
12374
|
return !0;
|
|
12375
12375
|
return !1;
|
|
12376
12376
|
}(W, fe, "RIFF", 4)) {
|
|
@@ -12408,7 +12408,7 @@ function Yd(e) {
|
|
|
12408
12408
|
var Q = x.header ? x.header : null, X = x.frames ? x.frames : null;
|
|
12409
12409
|
if (Q) {
|
|
12410
12410
|
Q.loop_counter = Q.loop_count, y = [Q.canvas_height], i = [Q.canvas_width];
|
|
12411
|
-
for (var
|
|
12411
|
+
for (var V = 0; V < X.length && X[V].blend != 0; V++)
|
|
12412
12412
|
;
|
|
12413
12413
|
}
|
|
12414
12414
|
var N = X[0], ie = w.WebPDecodeRGBA(C, N.src_off, N.src_size, i, y);
|
|
@@ -12436,18 +12436,18 @@ function Yd(e) {
|
|
|
12436
12436
|
var Q = Ec(y, { level: C });
|
|
12437
12437
|
return e.__addimage__.arrayBufferToBinaryString(Q);
|
|
12438
12438
|
}, a = function(y, i, v, w) {
|
|
12439
|
-
for (var C, x, Q, X = y.length / i,
|
|
12439
|
+
for (var C, x, Q, X = y.length / i, V = new Uint8Array(y.length + X), N = s(), ie = 0; ie < X; ie += 1) {
|
|
12440
12440
|
if (Q = ie * i, C = y.subarray(Q, Q + i), w)
|
|
12441
|
-
|
|
12441
|
+
V.set(w(C, v, x), Q + ie);
|
|
12442
12442
|
else {
|
|
12443
12443
|
for (var ee, W = N.length, fe = []; ee < W; ee += 1)
|
|
12444
12444
|
fe[ee] = N[ee](C, v, x);
|
|
12445
12445
|
var pe = d(fe.concat());
|
|
12446
|
-
|
|
12446
|
+
V.set(fe[pe], Q + ie);
|
|
12447
12447
|
}
|
|
12448
12448
|
x = C;
|
|
12449
12449
|
}
|
|
12450
|
-
return
|
|
12450
|
+
return V;
|
|
12451
12451
|
}, o = function(y) {
|
|
12452
12452
|
var i = Array.apply([], y);
|
|
12453
12453
|
return i.unshift(0), i;
|
|
@@ -12470,9 +12470,9 @@ function Yd(e) {
|
|
|
12470
12470
|
w = y[X - i] || 0, C = v && v[X] || 0, x[X + 1] = y[X] + 256 - (w + C >>> 1) & 255;
|
|
12471
12471
|
return x;
|
|
12472
12472
|
}, h = function(y, i, v) {
|
|
12473
|
-
var w, C, x, Q, X = [],
|
|
12473
|
+
var w, C, x, Q, X = [], V = y.length;
|
|
12474
12474
|
X[0] = 4;
|
|
12475
|
-
for (var N = 0; N <
|
|
12475
|
+
for (var N = 0; N < V; N += 1)
|
|
12476
12476
|
w = y[N - i] || 0, C = v && v[N] || 0, x = v && v[N - i] || 0, Q = u(w, C, x), X[N + 1] = y[N] - Q + 256 & 255;
|
|
12477
12477
|
return X;
|
|
12478
12478
|
}, u = function(y, i, v) {
|
|
@@ -12491,9 +12491,9 @@ function Yd(e) {
|
|
|
12491
12491
|
return i.indexOf(Math.min.apply(null, i));
|
|
12492
12492
|
};
|
|
12493
12493
|
e.processPNG = function(y, i, v, w) {
|
|
12494
|
-
var C, x, Q, X,
|
|
12494
|
+
var C, x, Q, X, V, N, ie, ee, W, fe, pe, D, R, Ae, re, we = this.decode.FLATE_DECODE, ce = "";
|
|
12495
12495
|
if (this.__addimage__.isArrayBuffer(y) && (y = new Uint8Array(y)), this.__addimage__.isArrayBufferView(y)) {
|
|
12496
|
-
if (y = (Q = new bb(y)).imgData, x = Q.bits, C = Q.colorSpace,
|
|
12496
|
+
if (y = (Q = new bb(y)).imgData, x = Q.bits, C = Q.colorSpace, V = Q.colors, [4, 6].indexOf(Q.colorType) !== -1) {
|
|
12497
12497
|
if (Q.bits === 8) {
|
|
12498
12498
|
W = (ee = Q.pixelBitlength == 32 ? new Uint32Array(Q.decodePixels().buffer) : Q.pixelBitlength == 16 ? new Uint16Array(Q.decodePixels().buffer) : new Uint8Array(Q.decodePixels().buffer)).length, pe = new Uint8Array(W * Q.colors), fe = new Uint8Array(W);
|
|
12499
12499
|
var j, k = Q.pixelBitlength - Q.bits;
|
|
@@ -12540,7 +12540,7 @@ function Yd(e) {
|
|
|
12540
12540
|
}
|
|
12541
12541
|
return T;
|
|
12542
12542
|
}(w);
|
|
12543
|
-
return we === this.decode.FLATE_DECODE && (ce = "/Predictor " + F + " "), ce += "/Colors " +
|
|
12543
|
+
return we === this.decode.FLATE_DECODE && (ce = "/Predictor " + F + " "), ce += "/Colors " + V + " /BitsPerComponent " + x + " /Columns " + Q.width, (this.__addimage__.isArrayBuffer(y) || this.__addimage__.isArrayBufferView(y)) && (y = this.__addimage__.arrayBufferToBinaryString(y)), (ie && this.__addimage__.isArrayBuffer(ie) || this.__addimage__.isArrayBufferView(ie)) && (ie = this.__addimage__.arrayBufferToBinaryString(ie)), { alias: v, data: y, index: i, filter: we, decodeParameters: ce, transparency: X, palette: N, sMask: ie, predictor: F, width: Q.width, height: Q.height, bitsPerComponent: x, colorSpace: C };
|
|
12544
12544
|
}
|
|
12545
12545
|
};
|
|
12546
12546
|
})(nt.API), function(e) {
|
|
@@ -12696,24 +12696,24 @@ function(e) {
|
|
|
12696
12696
|
var a, o, r, A, n, h, u, s = [], d = [s], y = l.textIndent || 0, i = 0, v = 0, w = e.split(" "), C = Zi.apply(this, [" ", l])[0];
|
|
12697
12697
|
if (h = l.lineIndent === -1 ? w[0].length + 2 : l.lineIndent || 0) {
|
|
12698
12698
|
var x = Array(h).join(" "), Q = [];
|
|
12699
|
-
w.map(function(
|
|
12700
|
-
(
|
|
12699
|
+
w.map(function(V) {
|
|
12700
|
+
(V = V.split(/\s*\n/)).length > 1 ? Q = Q.concat(V.map(function(N, ie) {
|
|
12701
12701
|
return (ie && N.length ? `
|
|
12702
12702
|
` : "") + N;
|
|
12703
|
-
})) : Q.push(
|
|
12703
|
+
})) : Q.push(V[0]);
|
|
12704
12704
|
}), w = Q, h = Gd.apply(this, [x, l]);
|
|
12705
12705
|
}
|
|
12706
12706
|
for (r = 0, A = w.length; r < A; r++) {
|
|
12707
12707
|
var X = 0;
|
|
12708
12708
|
if (a = w[r], h && a[0] == `
|
|
12709
|
-
` && (a = a.substr(1), X = 1), y + i + (v = (o = Zi.apply(this, [a, l])).reduce(function(
|
|
12710
|
-
return
|
|
12709
|
+
` && (a = a.substr(1), X = 1), y + i + (v = (o = Zi.apply(this, [a, l])).reduce(function(V, N) {
|
|
12710
|
+
return V + N;
|
|
12711
12711
|
}, 0)) > t || X) {
|
|
12712
12712
|
if (v > t) {
|
|
12713
12713
|
for (n = Wd.apply(this, [a, o, t - (y + i), t]), s.push(n.shift()), s = [n.pop()]; n.length; )
|
|
12714
12714
|
d.push([n.shift()]);
|
|
12715
|
-
v = o.slice(a.length - (s[0] ? s[0].length : 0)).reduce(function(
|
|
12716
|
-
return
|
|
12715
|
+
v = o.slice(a.length - (s[0] ? s[0].length : 0)).reduce(function(V, N) {
|
|
12716
|
+
return V + N;
|
|
12717
12717
|
}, 0);
|
|
12718
12718
|
} else
|
|
12719
12719
|
s = [a];
|
|
@@ -12721,10 +12721,10 @@ function(e) {
|
|
|
12721
12721
|
} else
|
|
12722
12722
|
s.push(a), y += i + v, i = C;
|
|
12723
12723
|
}
|
|
12724
|
-
return u = h ? function(
|
|
12725
|
-
return (N ? x : "") +
|
|
12726
|
-
} : function(
|
|
12727
|
-
return
|
|
12724
|
+
return u = h ? function(V, N) {
|
|
12725
|
+
return (N ? x : "") + V.join(" ");
|
|
12726
|
+
} : function(V) {
|
|
12727
|
+
return V.join(" ");
|
|
12728
12728
|
}, d.map(u);
|
|
12729
12729
|
}, yA.splitTextToSize = function(e, t, l) {
|
|
12730
12730
|
var a, o = (l = l || {}).fontSize || this.internal.getFontSize(), r = (function(s) {
|
|
@@ -12762,8 +12762,8 @@ function(e) {
|
|
|
12762
12762
|
}, n = e.__fontmetrics__.uncompress = function(d) {
|
|
12763
12763
|
if (typeof d != "string")
|
|
12764
12764
|
throw new Error("Invalid argument passed to uncompress.");
|
|
12765
|
-
for (var y, i, v, w, C = {}, x = 1, Q = C, X = [],
|
|
12766
|
-
(w = d[ee]) == "'" ? y ? (v = y.join(""), y = void 0) : y = [] : y ? y.push(w) : w == "{" ? (X.push([Q, v]), Q = {}, v = void 0) : w == "}" ? ((i = X.pop())[0][i[1]] = Q, v = void 0, Q = i[0]) : w == "-" ? x = -1 : v === void 0 ? l.hasOwnProperty(w) ? (
|
|
12765
|
+
for (var y, i, v, w, C = {}, x = 1, Q = C, X = [], V = "", N = "", ie = d.length - 1, ee = 1; ee < ie; ee += 1)
|
|
12766
|
+
(w = d[ee]) == "'" ? y ? (v = y.join(""), y = void 0) : y = [] : y ? y.push(w) : w == "{" ? (X.push([Q, v]), Q = {}, v = void 0) : w == "}" ? ((i = X.pop())[0][i[1]] = Q, v = void 0, Q = i[0]) : w == "-" ? x = -1 : v === void 0 ? l.hasOwnProperty(w) ? (V += l[w], v = parseInt(V, 16) * x, x = 1, V = "") : V += w : l.hasOwnProperty(w) ? (N += l[w], Q[v] = parseInt(N, 16) * x, x = 1, v = void 0, N = "") : N += w;
|
|
12767
12767
|
return C;
|
|
12768
12768
|
}, h = { codePages: ["WinAnsiEncoding"], WinAnsiEncoding: n("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}") }, u = { Unicode: { Courier: h, "Courier-Bold": h, "Courier-BoldOblique": h, "Courier-Oblique": h, Helvetica: h, "Helvetica-Bold": h, "Helvetica-BoldOblique": h, "Helvetica-Oblique": h, "Times-Roman": h, "Times-Bold": h, "Times-BoldItalic": h, "Times-Italic": h } }, s = { Unicode: { "Courier-Oblique": n("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-BoldItalic": n("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"), "Helvetica-Bold": n("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"), Courier: n("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Courier-BoldOblique": n("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-Bold": n("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"), Symbol: n("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"), Helvetica: n("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"), "Helvetica-BoldOblique": n("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"), ZapfDingbats: n("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"), "Courier-Bold": n("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-Italic": n("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"), "Times-Roman": n("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"), "Helvetica-Oblique": n("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}") } };
|
|
12769
12769
|
e.events.push(["addFont", function(d) {
|
|
@@ -12820,7 +12820,7 @@ function(e) {
|
|
|
12820
12820
|
*/
|
|
12821
12821
|
function(e) {
|
|
12822
12822
|
function t() {
|
|
12823
|
-
return (st.canvg ? Promise.resolve(st.canvg) : import("./index.es-
|
|
12823
|
+
return (st.canvg ? Promise.resolve(st.canvg) : import("./index.es-c2d9bb49.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;
|
|
@@ -13017,10 +13017,10 @@ end`;
|
|
|
13017
13017
|
return { text: n, x: h, y: u, options: s, mutex: d };
|
|
13018
13018
|
for (Q = n, w = i, Array.isArray(n) && (Q = n[0]), x = 0; x < Q.length; x += 1)
|
|
13019
13019
|
v[w].metadata.hasOwnProperty("cmap") && (A = v[w].metadata.cmap.unicode.codeMap[Q[x].charCodeAt(0)]), A || Q[x].charCodeAt(0) < 256 && v[w].metadata.hasOwnProperty("Unicode") ? C += Q[x] : C += "";
|
|
13020
|
-
var
|
|
13021
|
-
return parseInt(w.slice(1)) < 14 || X === "WinAnsiEncoding" ?
|
|
13020
|
+
var V = "";
|
|
13021
|
+
return parseInt(w.slice(1)) < 14 || X === "WinAnsiEncoding" ? V = y(C, w).split("").map(function(N) {
|
|
13022
13022
|
return N.charCodeAt(0).toString(16);
|
|
13023
|
-
}).join("") : X === "Identity-H" && (
|
|
13023
|
+
}).join("") : X === "Identity-H" && (V = l(C, v[w])), d.isHex = !0, { text: V, x: h, y: u, options: s, mutex: d };
|
|
13024
13024
|
};
|
|
13025
13025
|
t.events.push(["postProcessText", function(r) {
|
|
13026
13026
|
var A = r.text || "", n = [], h = { text: A, x: r.x, y: r.y, options: r.options, mutex: r.mutex };
|
|
@@ -13059,12 +13059,12 @@ function(e) {
|
|
|
13059
13059
|
e.__bidiEngine__ = e.prototype.__bidiEngine__ = function(a) {
|
|
13060
13060
|
var o, r, A, n, h, u, s, d = t, y = [[0, 3, 0, 1, 0, 0, 0], [0, 3, 0, 1, 2, 2, 0], [0, 3, 0, 17, 2, 0, 1], [0, 3, 5, 5, 4, 1, 0], [0, 3, 21, 21, 4, 0, 1], [0, 3, 5, 5, 4, 2, 0]], i = [[2, 0, 1, 1, 0, 1, 0], [2, 0, 1, 1, 0, 2, 0], [2, 0, 2, 1, 3, 2, 0], [2, 0, 2, 33, 3, 1, 1]], v = { L: 0, R: 1, EN: 2, AN: 3, N: 4, B: 5, S: 6 }, w = { 0: 0, 5: 1, 6: 2, 7: 3, 32: 4, 251: 5, 254: 6, 255: 7 }, C = ["(", ")", "(", "<", ">", "<", "[", "]", "[", "{", "}", "{", "«", "»", "«", "‹", "›", "‹", "⁅", "⁆", "⁅", "⁽", "⁾", "⁽", "₍", "₎", "₍", "≤", "≥", "≤", "〈", "〉", "〈", "﹙", "﹚", "﹙", "﹛", "﹜", "﹛", "﹝", "﹞", "﹝", "﹤", "﹥", "﹤"], x = new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/), Q = !1, X = 0;
|
|
13061
13061
|
this.__bidiEngine__ = {};
|
|
13062
|
-
var
|
|
13062
|
+
var V = function(D) {
|
|
13063
13063
|
var R = D.charCodeAt(), Ae = R >> 8, re = w[Ae];
|
|
13064
13064
|
return re !== void 0 ? d[256 * re + (255 & R)] : Ae === 252 || Ae === 253 ? "AL" : x.test(Ae) ? "L" : Ae === 8 ? "R" : "N";
|
|
13065
13065
|
}, N = function(D) {
|
|
13066
13066
|
for (var R, Ae = 0; Ae < D.length; Ae++) {
|
|
13067
|
-
if ((R =
|
|
13067
|
+
if ((R = V(D.charAt(Ae))) === "L")
|
|
13068
13068
|
return !1;
|
|
13069
13069
|
if (R === "R")
|
|
13070
13070
|
return !0;
|
|
@@ -13145,7 +13145,7 @@ function(e) {
|
|
|
13145
13145
|
}, W = function(D, R, Ae) {
|
|
13146
13146
|
var re, we, ce, j, k, P = -1, I = D.length, he = 0, F = [], M = X ? i : y, T = [];
|
|
13147
13147
|
for (Q = !1, o = !1, r = !1, we = 0; we < I; we++)
|
|
13148
|
-
T[we] =
|
|
13148
|
+
T[we] = V(D[we]);
|
|
13149
13149
|
for (ce = 0; ce < I; ce++) {
|
|
13150
13150
|
if (k = he, F[ce] = ie(D, T, F, ce), re = 240 & (he = M[k][v[F[ce]]]), he &= 15, R[ce] = j = M[he][5], re > 0)
|
|
13151
13151
|
if (re === 16) {
|
|
@@ -13163,8 +13163,8 @@ function(e) {
|
|
|
13163
13163
|
}
|
|
13164
13164
|
T[ce] === "B" && (R[ce] = 0), Ae.hiLevel |= j;
|
|
13165
13165
|
}
|
|
13166
|
-
r && function(H, ae,
|
|
13167
|
-
for (var ue = 0; ue <
|
|
13166
|
+
r && function(H, ae, K) {
|
|
13167
|
+
for (var ue = 0; ue < K; ue++)
|
|
13168
13168
|
if (H[ue] === "S") {
|
|
13169
13169
|
ae[ue] = X;
|
|
13170
13170
|
for (var Z = ue - 1; Z >= 0 && H[Z] === "WS"; Z--)
|
|
@@ -13392,28 +13392,28 @@ var Bb = function(e) {
|
|
|
13392
13392
|
break;
|
|
13393
13393
|
case 4:
|
|
13394
13394
|
for (i = t.readUInt16(), y = i / 2, t.pos += 6, r = function() {
|
|
13395
|
-
var
|
|
13396
|
-
for (N = [], h =
|
|
13395
|
+
var V, N;
|
|
13396
|
+
for (N = [], h = V = 0; 0 <= y ? V < y : V > y; h = 0 <= y ? ++V : --V)
|
|
13397
13397
|
N.push(t.readUInt16());
|
|
13398
13398
|
return N;
|
|
13399
13399
|
}(), t.pos += 2, w = function() {
|
|
13400
|
-
var
|
|
13401
|
-
for (N = [], h =
|
|
13400
|
+
var V, N;
|
|
13401
|
+
for (N = [], h = V = 0; 0 <= y ? V < y : V > y; h = 0 <= y ? ++V : --V)
|
|
13402
13402
|
N.push(t.readUInt16());
|
|
13403
13403
|
return N;
|
|
13404
13404
|
}(), u = function() {
|
|
13405
|
-
var
|
|
13406
|
-
for (N = [], h =
|
|
13405
|
+
var V, N;
|
|
13406
|
+
for (N = [], h = V = 0; 0 <= y ? V < y : V > y; h = 0 <= y ? ++V : --V)
|
|
13407
13407
|
N.push(t.readUInt16());
|
|
13408
13408
|
return N;
|
|
13409
13409
|
}(), s = function() {
|
|
13410
|
-
var
|
|
13411
|
-
for (N = [], h =
|
|
13410
|
+
var V, N;
|
|
13411
|
+
for (N = [], h = V = 0; 0 <= y ? V < y : V > y; h = 0 <= y ? ++V : --V)
|
|
13412
13412
|
N.push(t.readUInt16());
|
|
13413
13413
|
return N;
|
|
13414
13414
|
}(), o = (this.length - t.pos + this.offset) / 2, n = function() {
|
|
13415
|
-
var
|
|
13416
|
-
for (N = [], h =
|
|
13415
|
+
var V, N;
|
|
13416
|
+
for (N = [], h = V = 0; 0 <= o ? V < o : V > o; h = 0 <= o ? ++V : --V)
|
|
13417
13417
|
N.push(t.readUInt16());
|
|
13418
13418
|
return N;
|
|
13419
13419
|
}(), h = x = 0, X = r.length; x < X; h = ++x)
|
|
@@ -13423,7 +13423,7 @@ var Bb = function(e) {
|
|
|
13423
13423
|
t.pos = d;
|
|
13424
13424
|
}
|
|
13425
13425
|
return e.encode = function(t, l) {
|
|
13426
|
-
var a, o, r, A, n, h, u, s, d, y, i, v, w, C, x, Q, X,
|
|
13426
|
+
var a, o, r, A, n, h, u, s, d, y, i, v, w, C, x, Q, X, V, N, ie, ee, W, fe, pe, D, R, Ae, re, we, ce, j, k, P, I, he, F, M, T, H, ae, K, ue, Z, G, q, L;
|
|
13427
13427
|
switch (re = new ha(), A = Object.keys(t).sort(function(de, E) {
|
|
13428
13428
|
return de - E;
|
|
13429
13429
|
}), l) {
|
|
@@ -13450,14 +13450,14 @@ var Bb = function(e) {
|
|
|
13450
13450
|
else
|
|
13451
13451
|
h.push(Ae - D), ie.push(0);
|
|
13452
13452
|
}
|
|
13453
|
-
for (re.writeUInt16(3), re.writeUInt16(1), re.writeUInt32(12), re.writeUInt16(4), re.writeUInt16(16 + 8 * fe + 2 * i.length), re.writeUInt16(0), re.writeUInt16(pe), re.writeUInt16(W), re.writeUInt16(y), re.writeUInt16(ee),
|
|
13454
|
-
o = d[
|
|
13453
|
+
for (re.writeUInt16(3), re.writeUInt16(1), re.writeUInt32(12), re.writeUInt16(4), re.writeUInt16(16 + 8 * fe + 2 * i.length), re.writeUInt16(0), re.writeUInt16(pe), re.writeUInt16(W), re.writeUInt16(y), re.writeUInt16(ee), K = 0, F = d.length; K < F; K++)
|
|
13454
|
+
o = d[K], re.writeUInt16(o);
|
|
13455
13455
|
for (re.writeUInt16(0), ue = 0, M = R.length; ue < M; ue++)
|
|
13456
13456
|
o = R[ue], re.writeUInt16(o);
|
|
13457
13457
|
for (G = 0, T = h.length; G < T; G++)
|
|
13458
13458
|
n = h[G], re.writeUInt16(n);
|
|
13459
13459
|
for (q = 0, H = ie.length; q < H; q++)
|
|
13460
|
-
|
|
13460
|
+
V = ie[q], re.writeUInt16(V);
|
|
13461
13461
|
for (L = 0, ae = i.length; L < ae; L++)
|
|
13462
13462
|
w = i[L], re.writeUInt16(w);
|
|
13463
13463
|
return { charMap: a, subtable: re.data, maxGlyphID: X + 1 };
|
|
@@ -13678,17 +13678,17 @@ var Bb = function(e) {
|
|
|
13678
13678
|
for (v in y = a.maxGlyphID, A)
|
|
13679
13679
|
v in i || (i[v] = y++);
|
|
13680
13680
|
return s = function(Q) {
|
|
13681
|
-
var X,
|
|
13682
|
-
for (X in
|
|
13683
|
-
|
|
13684
|
-
return
|
|
13681
|
+
var X, V;
|
|
13682
|
+
for (X in V = {}, Q)
|
|
13683
|
+
V[Q[X]] = X;
|
|
13684
|
+
return V;
|
|
13685
13685
|
}(i), d = Object.keys(s).sort(function(Q, X) {
|
|
13686
13686
|
return Q - X;
|
|
13687
13687
|
}), w = function() {
|
|
13688
|
-
var Q, X,
|
|
13689
|
-
for (
|
|
13690
|
-
n = d[Q],
|
|
13691
|
-
return
|
|
13688
|
+
var Q, X, V;
|
|
13689
|
+
for (V = [], Q = 0, X = d.length; Q < X; Q++)
|
|
13690
|
+
n = d[Q], V.push(s[n]);
|
|
13691
|
+
return V;
|
|
13692
13692
|
}(), r = this.font.glyf.encode(A, w, i), u = this.font.loca.encode(r.offsets, w), C = { cmap: this.font.cmap.raw(), glyf: r.table, loca: u, hmtx: this.font.hmtx.raw(), hhea: this.font.hhea.raw(), maxp: this.font.maxp.raw(), post: this.font.post.raw(), name: this.font.name.raw(), head: this.font.head.encode(l) }, this.font.os2.exists && (C["OS/2"] = this.font.os2.raw()), this.font.directory.encode(C);
|
|
13693
13693
|
}, e;
|
|
13694
13694
|
}();
|
|
@@ -13798,7 +13798,7 @@ function Ia(e, t, l, a, o, r = 1.99999, A = 2, n = 1.45, h = 360, u = 105.25, s
|
|
|
13798
13798
|
let v = 0;
|
|
13799
13799
|
for (let w = 0; w < d.length; w += 1) {
|
|
13800
13800
|
let C = d[w].value / y;
|
|
13801
|
-
const x = C * (Math.PI * r), X = d[w].value / 2 / y * (Math.PI * A), { startX:
|
|
13801
|
+
const x = C * (Math.PI * r), X = d[w].value / 2 / y * (Math.PI * A), { startX: V, startY: N, endX: ie, endY: ee, path: W } = Ac(
|
|
13802
13802
|
[t, l],
|
|
13803
13803
|
[a, o],
|
|
13804
13804
|
[v, x],
|
|
@@ -13815,14 +13815,14 @@ function Ia(e, t, l, a, o, r = 1.99999, A = 2, n = 1.45, h = 360, u = 105.25, s
|
|
|
13815
13815
|
!0
|
|
13816
13816
|
);
|
|
13817
13817
|
i.push({
|
|
13818
|
-
arcSlice: `${W} L ${fe.startX} ${fe.startY} ${fe.path} L ${
|
|
13818
|
+
arcSlice: `${W} L ${fe.startX} ${fe.startY} ${fe.path} L ${V} ${N}`,
|
|
13819
13819
|
cx: t,
|
|
13820
13820
|
cy: l,
|
|
13821
13821
|
...d[w],
|
|
13822
13822
|
proportion: C,
|
|
13823
13823
|
ratio: x,
|
|
13824
13824
|
path: W,
|
|
13825
|
-
startX:
|
|
13825
|
+
startX: V,
|
|
13826
13826
|
startY: N,
|
|
13827
13827
|
endX: ie,
|
|
13828
13828
|
endY: ee,
|
|
@@ -14012,7 +14012,7 @@ function xt(e, t) {
|
|
|
14012
14012
|
if (s === 0)
|
|
14013
14013
|
y = i = v = d;
|
|
14014
14014
|
else {
|
|
14015
|
-
const w = (Q, X,
|
|
14015
|
+
const w = (Q, X, V) => (V < 0 && (V += 1), V > 1 && (V -= 1), V < 0.16666666666666666 ? Q + (X - Q) * 6 * V : V < 0.5 ? X : V < 0.6666666666666666 ? Q + (X - Q) * (0.6666666666666666 - V) * 6 : Q), C = d < 0.5 ? d * (1 + s) : d + s - d * s, x = 2 * d - C;
|
|
14016
14016
|
y = w(x, C, u + 0.3333333333333333), i = w(x, C, u), v = w(x, C, u - 0.3333333333333333);
|
|
14017
14017
|
}
|
|
14018
14018
|
return {
|
|
@@ -17741,7 +17741,7 @@ const Ww = ["onClick", "onKeypress"], Xw = ["data-open"], qw = {
|
|
|
17741
17741
|
document.addEventListener("fullscreenchange", Q);
|
|
17742
17742
|
}), tf(() => {
|
|
17743
17743
|
document.removeEventListener("fullscreenchange", Q);
|
|
17744
|
-
}), (X,
|
|
17744
|
+
}), (X, V) => No((f(), g("div", {
|
|
17745
17745
|
"data-html2canvas-ignore": "",
|
|
17746
17746
|
class: "vue-ui-user-options",
|
|
17747
17747
|
style: U(`width: 34px; height: 34px; position: ${C.value ? "fixed" : "absolute"}; top: 0; right:${C.value ? "12px" : "0"}; padding: 4px; background:transparent; `)
|
|
@@ -17849,13 +17849,13 @@ const Ww = ["onClick", "onKeypress"], Xw = ["data-open"], qw = {
|
|
|
17849
17849
|
key: 0,
|
|
17850
17850
|
name: "exitFullscreen",
|
|
17851
17851
|
stroke: e.color,
|
|
17852
|
-
onClick:
|
|
17852
|
+
onClick: V[0] || (V[0] = (N) => x("out"))
|
|
17853
17853
|
}, null, 8, ["stroke"])) : $("", !0),
|
|
17854
17854
|
C.value ? $("", !0) : (f(), ot(yo, {
|
|
17855
17855
|
key: 1,
|
|
17856
17856
|
name: "fullscreen",
|
|
17857
17857
|
stroke: e.color,
|
|
17858
|
-
onClick:
|
|
17858
|
+
onClick: V[1] || (V[1] = (N) => x("in"))
|
|
17859
17859
|
}, null, 8, ["stroke"]))
|
|
17860
17860
|
])) : $("", !0)
|
|
17861
17861
|
], 12, Xw)
|
|
@@ -20974,10 +20974,10 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
20974
20974
|
const X = ve(() => a.dataset.map((H, ae) => ({
|
|
20975
20975
|
name: H.name,
|
|
20976
20976
|
color: Bt(H.color) || Ze[ae] || Ze[ae % Ze.length],
|
|
20977
|
-
value: H.values.reduce((
|
|
20977
|
+
value: H.values.reduce((K, ue) => K + ue, 0),
|
|
20978
20978
|
absoluteValues: H.values
|
|
20979
20979
|
})).sort((H, ae) => ae.value - H.value));
|
|
20980
|
-
function
|
|
20980
|
+
function V() {
|
|
20981
20981
|
return X.value.map((H) => ({
|
|
20982
20982
|
name: H.name,
|
|
20983
20983
|
color: H.color,
|
|
@@ -20987,12 +20987,12 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
20987
20987
|
const N = ve(() => a.dataset.map((H, ae) => ({
|
|
20988
20988
|
name: H.name,
|
|
20989
20989
|
color: Bt(H.color) || Ze[ae] || Ze[ae % Ze.length],
|
|
20990
|
-
value: H.values.reduce((
|
|
20990
|
+
value: H.values.reduce((K, ue) => K + ue, 0),
|
|
20991
20991
|
absoluteValues: H.values
|
|
20992
20992
|
})).sort((H, ae) => ae.value - H.value).filter((H, ae) => !x.value.includes(ae))), ie = ve(() => a.dataset.map((H, ae) => ({
|
|
20993
20993
|
name: H.name,
|
|
20994
20994
|
color: Bt(H.color) || Ze[ae] || Ze[ae % Ze.length],
|
|
20995
|
-
value: H.values.reduce((
|
|
20995
|
+
value: H.values.reduce((K, ue) => K + ue, 0),
|
|
20996
20996
|
shape: "circle"
|
|
20997
20997
|
})).sort((H, ae) => ae.value - H.value).map((H, ae) => ({
|
|
20998
20998
|
...H,
|
|
@@ -21012,11 +21012,11 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21012
21012
|
return isNaN(H.value / D(ae)) ? 0 : (H.value / D(ae) * 100).toFixed(0) + "%";
|
|
21013
21013
|
}
|
|
21014
21014
|
function D(H) {
|
|
21015
|
-
return [...H].map((ae) => ae.value).reduce((ae,
|
|
21015
|
+
return [...H].map((ae) => ae.value).reduce((ae, K) => ae + K, 0);
|
|
21016
21016
|
}
|
|
21017
21017
|
const R = ve(() => N.value.map((H) => H.value).reduce((H, ae) => H + ae, 0)), Ae = ve(() => R.value / N.value.length);
|
|
21018
|
-
function re(H, ae,
|
|
21019
|
-
s.value =
|
|
21018
|
+
function re(H, ae, K = !0) {
|
|
21019
|
+
s.value = K, y.value = ae;
|
|
21020
21020
|
let ue = "";
|
|
21021
21021
|
ue += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${H.name}</div>`, ue += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${H.color}"/></svg>`, v.value.style.chart.tooltip.showValue && (ue += `<b>${H.value.toFixed(v.value.style.chart.tooltip.roundingValue)}</b>`), v.value.style.chart.tooltip.showPercentage && (v.value.style.chart.tooltip.showValue ? ue += `<span>(${(H.proportion * 100).toFixed(v.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : ue += `<b>${(H.proportion * 100).toFixed(v.value.style.chart.tooltip.roundingPercentage)}%</b></div>`), d.value = `<div>${ue}</div>`;
|
|
21022
21022
|
}
|
|
@@ -21049,18 +21049,18 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21049
21049
|
}, 100);
|
|
21050
21050
|
}
|
|
21051
21051
|
const I = ve(() => {
|
|
21052
|
-
const H = N.value.map((
|
|
21053
|
-
name:
|
|
21054
|
-
color:
|
|
21055
|
-
})), ae = N.value.map((
|
|
21052
|
+
const H = N.value.map((K) => ({
|
|
21053
|
+
name: K.name,
|
|
21054
|
+
color: K.color
|
|
21055
|
+
})), ae = N.value.map((K) => K.value);
|
|
21056
21056
|
return { head: H, body: ae };
|
|
21057
21057
|
});
|
|
21058
21058
|
function he() {
|
|
21059
21059
|
Ro(() => {
|
|
21060
21060
|
const H = I.value.head.map((ue, Z) => [[
|
|
21061
21061
|
ue.name
|
|
21062
|
-
], [I.value.body[Z]], [isNaN(I.value.body[Z] / R.value) ? "-" : I.value.body[Z] / R.value * 100]]), ae = [[v.value.style.chart.title.text], [v.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(H),
|
|
21063
|
-
Ko({ csvContent:
|
|
21062
|
+
], [I.value.body[Z]], [isNaN(I.value.body[Z] / R.value) ? "-" : I.value.body[Z] / R.value * 100]]), ae = [[v.value.style.chart.title.text], [v.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(H), K = Vo(ae);
|
|
21063
|
+
Ko({ csvContent: K, title: v.value.style.chart.title.text || "vue-ui-donut" });
|
|
21064
21064
|
});
|
|
21065
21065
|
}
|
|
21066
21066
|
const F = ve(() => {
|
|
@@ -21075,7 +21075,7 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21075
21075
|
},
|
|
21076
21076
|
I.value.body[Z].toFixed(v.value.table.td.roundingValue),
|
|
21077
21077
|
isNaN(I.value.body[Z] / R.value) ? "-" : (I.value.body[Z] / R.value * 100).toFixed(v.value.table.td.roundingPercentage) + "%"
|
|
21078
|
-
]),
|
|
21078
|
+
]), K = {
|
|
21079
21079
|
th: {
|
|
21080
21080
|
backgroundColor: v.value.table.th.backgroundColor,
|
|
21081
21081
|
color: v.value.table.th.color,
|
|
@@ -21090,14 +21090,14 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21090
21090
|
return {
|
|
21091
21091
|
head: H,
|
|
21092
21092
|
body: ae,
|
|
21093
|
-
config:
|
|
21093
|
+
config: K
|
|
21094
21094
|
};
|
|
21095
21095
|
}), M = te(!1);
|
|
21096
21096
|
function T(H) {
|
|
21097
21097
|
M.value = H, i.value += 1;
|
|
21098
21098
|
}
|
|
21099
21099
|
return t({
|
|
21100
|
-
getData:
|
|
21100
|
+
getData: V,
|
|
21101
21101
|
generatePdf: j,
|
|
21102
21102
|
generateCsv: he,
|
|
21103
21103
|
generateImage: P
|
|
@@ -21151,8 +21151,8 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21151
21151
|
onGeneratePdf: j,
|
|
21152
21152
|
onGenerateCsv: he,
|
|
21153
21153
|
onGenerateImage: P,
|
|
21154
|
-
onToggleTable: ae[0] || (ae[0] = (
|
|
21155
|
-
onToggleLabels: ae[1] || (ae[1] = (
|
|
21154
|
+
onToggleTable: ae[0] || (ae[0] = (K) => w.value.showTable = !w.value.showTable),
|
|
21155
|
+
onToggleLabels: ae[1] || (ae[1] = (K) => w.value.dataLabels.show = !w.value.dataLabels.show)
|
|
21156
21156
|
}, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "title", "uid", "isFullscreen", "chartElement"])) : $("", !0),
|
|
21157
21157
|
(f(), g("svg", {
|
|
21158
21158
|
class: Ue({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
|
|
@@ -21197,11 +21197,11 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21197
21197
|
style: U(`font-weight:${v.value.style.chart.title.subtitle.bold ? "bold" : ""}`)
|
|
21198
21198
|
}, S(v.value.style.chart.title.subtitle.text), 13, _C)) : $("", !0)
|
|
21199
21199
|
])) : $("", !0),
|
|
21200
|
-
(f(!0), g(be, null, me(W.value, (
|
|
21201
|
-
fe(
|
|
21200
|
+
(f(!0), g(be, null, me(W.value, (K, ue) => (f(), g("g", null, [
|
|
21201
|
+
fe(K) && w.value.dataLabels.show ? (f(), g("path", {
|
|
21202
21202
|
key: 0,
|
|
21203
|
-
d: ke(Cs)(
|
|
21204
|
-
stroke:
|
|
21203
|
+
d: ke(Cs)(K, { x: C.value.width / 2, y: C.value.height / 2 }, 16, 16, !1, !1, r.value.style.chart.layout.donut.strokeWidth),
|
|
21204
|
+
stroke: K.color,
|
|
21205
21205
|
"stroke-width": "1",
|
|
21206
21206
|
"stroke-linecap": "round",
|
|
21207
21207
|
"stroke-linejoin": "round",
|
|
@@ -21209,15 +21209,15 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21209
21209
|
class: Ue(!r.value.useBlurOnHover || [null, void 0].includes(y.value) || y.value === ue ? "" : "vue-ui-donut-blur")
|
|
21210
21210
|
}, null, 10, SC)) : $("", !0)
|
|
21211
21211
|
]))), 256)),
|
|
21212
|
-
(f(!0), g(be, null, me(W.value, (
|
|
21212
|
+
(f(!0), g(be, null, me(W.value, (K, ue) => (f(), g("path", {
|
|
21213
21213
|
stroke: v.value.style.chart.backgroundColor,
|
|
21214
|
-
d:
|
|
21214
|
+
d: K.arcSlice,
|
|
21215
21215
|
fill: "#FFFFFF"
|
|
21216
21216
|
}, null, 8, QC))), 256)),
|
|
21217
|
-
(f(!0), g(be, null, me(W.value, (
|
|
21217
|
+
(f(!0), g(be, null, me(W.value, (K, ue) => (f(), g("path", {
|
|
21218
21218
|
class: Ue(["vue-ui-donut-arc-path", !r.value.useBlurOnHover || [null, void 0].includes(y.value) || y.value === ue ? "" : "vue-ui-donut-blur"]),
|
|
21219
|
-
d:
|
|
21220
|
-
fill: `${
|
|
21219
|
+
d: K.arcSlice,
|
|
21220
|
+
fill: `${K.color}CC`,
|
|
21221
21221
|
stroke: v.value.style.chart.backgroundColor,
|
|
21222
21222
|
"stroke-width": v.value.style.chart.layout.donut.borderWidth
|
|
21223
21223
|
}, null, 10, LC))), 256)),
|
|
@@ -21228,10 +21228,10 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21228
21228
|
r: 136,
|
|
21229
21229
|
fill: `url(#gradient_${o.value})`
|
|
21230
21230
|
}, null, 8, UC)) : $("", !0),
|
|
21231
|
-
(f(!0), g(be, null, me(W.value, (
|
|
21232
|
-
d:
|
|
21231
|
+
(f(!0), g(be, null, me(W.value, (K, ue) => (f(), g("path", {
|
|
21232
|
+
d: K.arcSlice,
|
|
21233
21233
|
fill: y.value === ue ? "rgba(0,0,0,0.1)" : "transparent",
|
|
21234
|
-
onMouseenter: (Z) => re(
|
|
21234
|
+
onMouseenter: (Z) => re(K, ue, !0),
|
|
21235
21235
|
onMouseleave: ae[2] || (ae[2] = (Z) => {
|
|
21236
21236
|
s.value = !1, y.value = null;
|
|
21237
21237
|
}),
|
|
@@ -21279,35 +21279,35 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21279
21279
|
"font-size": v.value.style.chart.layout.labels.hollow.average.value.fontSize,
|
|
21280
21280
|
style: U(`font-weight:${v.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
21281
21281
|
}, S(v.value.style.chart.layout.labels.hollow.average.value.prefix) + " " + S(isNaN(Ae.value.toFixed(v.value.style.chart.layout.labels.hollow.average.value.rounding)) ? "-" : Number(Ae.value.toFixed(v.value.style.chart.layout.labels.hollow.average.value.rounding)).toLocaleString()) + " " + S(v.value.style.chart.layout.labels.hollow.average.value.suffix), 13, TC)) : $("", !0),
|
|
21282
|
-
(f(!0), g(be, null, me(W.value, (
|
|
21283
|
-
fe(
|
|
21282
|
+
(f(!0), g(be, null, me(W.value, (K, ue) => (f(), g("g", null, [
|
|
21283
|
+
fe(K) && w.value.dataLabels.show ? (f(), g("text", {
|
|
21284
21284
|
key: 0,
|
|
21285
|
-
"text-anchor": ke(eo)(
|
|
21286
|
-
x: ke(eo)(
|
|
21287
|
-
y: ke(cl)(
|
|
21288
|
-
fill:
|
|
21285
|
+
"text-anchor": ke(eo)(K, !0).anchor,
|
|
21286
|
+
x: ke(eo)(K).x,
|
|
21287
|
+
y: ke(cl)(K),
|
|
21288
|
+
fill: K.color,
|
|
21289
21289
|
"font-size": v.value.style.chart.layout.labels.percentage.fontSize * 0.8,
|
|
21290
21290
|
"font-family": "Arial",
|
|
21291
21291
|
class: Ue(!r.value.useBlurOnHover || [null, void 0].includes(y.value) || y.value === ue ? "" : "vue-ui-donut-blur")
|
|
21292
21292
|
}, " ⬤ ", 10, HC)) : $("", !0),
|
|
21293
|
-
fe(
|
|
21293
|
+
fe(K) && w.value.dataLabels.show ? (f(), g("text", {
|
|
21294
21294
|
key: 1,
|
|
21295
|
-
"text-anchor": ke(eo)(
|
|
21296
|
-
x: ke(eo)(
|
|
21297
|
-
y: ke(cl)(
|
|
21295
|
+
"text-anchor": ke(eo)(K, !0, 20).anchor,
|
|
21296
|
+
x: ke(eo)(K, !0, 20).x,
|
|
21297
|
+
y: ke(cl)(K),
|
|
21298
21298
|
fill: v.value.style.chart.layout.labels.percentage.color,
|
|
21299
21299
|
"font-size": v.value.style.chart.layout.labels.percentage.fontSize,
|
|
21300
21300
|
style: U(`font-weight:${v.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`)
|
|
21301
|
-
}, S(pe(
|
|
21302
|
-
fe(
|
|
21301
|
+
}, S(pe(K, W.value)), 13, DC)) : $("", !0),
|
|
21302
|
+
fe(K) && w.value.dataLabels.show ? (f(), g("text", {
|
|
21303
21303
|
key: 2,
|
|
21304
|
-
"text-anchor": ke(eo)(
|
|
21305
|
-
x: ke(eo)(
|
|
21306
|
-
y: ke(cl)(
|
|
21304
|
+
"text-anchor": ke(eo)(K).anchor,
|
|
21305
|
+
x: ke(eo)(K, !0, 20).x,
|
|
21306
|
+
y: ke(cl)(K) + v.value.style.chart.layout.labels.percentage.fontSize,
|
|
21307
21307
|
fill: v.value.style.chart.layout.labels.name.color,
|
|
21308
21308
|
"font-size": v.value.style.chart.layout.labels.name.fontSize,
|
|
21309
21309
|
style: U(`font-weight:${v.value.style.chart.layout.labels.name.bold ? "bold" : ""}`)
|
|
21310
|
-
}, S(
|
|
21310
|
+
}, S(K.name), 13, PC)) : $("", !0)
|
|
21311
21311
|
]))), 256)),
|
|
21312
21312
|
v.value.style.chart.legend.show && w.value.inside && !A.value ? (f(), g("foreignObject", {
|
|
21313
21313
|
key: 6,
|
|
@@ -21320,15 +21320,15 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21320
21320
|
lt(To, {
|
|
21321
21321
|
legendSet: ie.value,
|
|
21322
21322
|
config: ee.value,
|
|
21323
|
-
onClickMarker: ae[3] || (ae[3] = ({ i:
|
|
21323
|
+
onClickMarker: ae[3] || (ae[3] = ({ i: K }) => Q(K))
|
|
21324
21324
|
}, {
|
|
21325
|
-
item: Ut(({ legend:
|
|
21325
|
+
item: Ut(({ legend: K, index: ue }) => [
|
|
21326
21326
|
b("div", {
|
|
21327
21327
|
onClick: (Z) => Q(ue),
|
|
21328
21328
|
style: U(`opacity:${x.value.includes(ue) ? 0.5 : 1}`)
|
|
21329
21329
|
}, [
|
|
21330
|
-
bt(S(
|
|
21331
|
-
x.value.includes(ue) ? (f(), g("span", KC, " ( - % ) ")) : (f(), g("span", RC, " (" + S(isNaN(
|
|
21330
|
+
bt(S(K.name) + " : " + S(Number(K.value.toFixed(v.value.style.chart.legend.roundingValue)).toLocaleString()) + " ", 1),
|
|
21331
|
+
x.value.includes(ue) ? (f(), g("span", KC, " ( - % ) ")) : (f(), g("span", RC, " (" + S(isNaN(K.value / R.value) ? "-" : (K.value / R.value * 100).toFixed(v.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
21332
21332
|
], 12, OC)
|
|
21333
21333
|
]),
|
|
21334
21334
|
_: 1
|
|
@@ -21340,15 +21340,15 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21340
21340
|
key: 2,
|
|
21341
21341
|
legendSet: ie.value,
|
|
21342
21342
|
config: ee.value,
|
|
21343
|
-
onClickMarker: ae[4] || (ae[4] = ({ i:
|
|
21343
|
+
onClickMarker: ae[4] || (ae[4] = ({ i: K }) => Q(K))
|
|
21344
21344
|
}, {
|
|
21345
|
-
item: Ut(({ legend:
|
|
21345
|
+
item: Ut(({ legend: K, index: ue }) => [
|
|
21346
21346
|
b("div", {
|
|
21347
21347
|
onClick: (Z) => Q(ue),
|
|
21348
21348
|
style: U(`opacity:${x.value.includes(ue) ? 0.5 : 1}`)
|
|
21349
21349
|
}, [
|
|
21350
|
-
bt(S(
|
|
21351
|
-
x.value.includes(ue) ? (f(), g("span", GC, " ( - % ) ")) : (f(), g("span", jC, " (" + S(isNaN(
|
|
21350
|
+
bt(S(K.name) + " : " + S(Number(K.value.toFixed(v.value.style.chart.legend.roundingValue)).toLocaleString()) + " ", 1),
|
|
21351
|
+
x.value.includes(ue) ? (f(), g("span", GC, " ( - % ) ")) : (f(), g("span", jC, " (" + S(isNaN(K.value / R.value) ? "-" : (K.value / R.value * 100).toFixed(v.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
21352
21352
|
], 12, VC)
|
|
21353
21353
|
]),
|
|
21354
21354
|
_: 1
|
|
@@ -21367,14 +21367,14 @@ const bC = ["id"], wC = ["viewBox"], mC = ["id"], xC = ["stop-color"], BC = ["st
|
|
|
21367
21367
|
config: F.value.config,
|
|
21368
21368
|
title: `${v.value.style.chart.title.text}${v.value.style.chart.title.subtitle.text ? ` : ${v.value.style.chart.title.subtitle.text}` : ""}`
|
|
21369
21369
|
}, {
|
|
21370
|
-
th: Ut(({ th:
|
|
21370
|
+
th: Ut(({ th: K }) => [
|
|
21371
21371
|
b("div", {
|
|
21372
|
-
innerHTML:
|
|
21372
|
+
innerHTML: K,
|
|
21373
21373
|
style: { display: "flex", "align-items": "center" }
|
|
21374
21374
|
}, null, 8, WC)
|
|
21375
21375
|
]),
|
|
21376
|
-
td: Ut(({ td:
|
|
21377
|
-
bt(S(
|
|
21376
|
+
td: Ut(({ td: K }) => [
|
|
21377
|
+
bt(S(K.name || K), 1)
|
|
21378
21378
|
]),
|
|
21379
21379
|
_: 1
|
|
21380
21380
|
}, 8, ["head", "body", "config", "title"])) : $("", !0)
|
|
@@ -21421,7 +21421,7 @@ const qC = ["id"], YC = ["viewBox"], JC = ["id"], ZC = ["stop-color"], e4 = ["st
|
|
|
21421
21421
|
height: 512,
|
|
21422
21422
|
width: 512
|
|
21423
21423
|
})), Q = ve(() => (x.value.width - v.value.style.chart.layout.grid.size * v.value.style.chart.layout.grid.spaceBetween) / v.value.style.chart.layout.grid.size), X = ve(() => x.value.width / v.value.style.chart.layout.grid.size);
|
|
21424
|
-
function
|
|
21424
|
+
function V(G) {
|
|
21425
21425
|
const q = G.reduce((E, se) => E + se, 0), L = G.map((E) => Math.round(E / q * 100) / 100), de = L.reduce((E, se) => E + se, 0);
|
|
21426
21426
|
if (de !== 1) {
|
|
21427
21427
|
const E = L.length - 1;
|
|
@@ -21435,10 +21435,10 @@ const qC = ["id"], YC = ["viewBox"], JC = ["id"], ZC = ["stop-color"], e4 = ["st
|
|
|
21435
21435
|
uid: `serie_${q}`
|
|
21436
21436
|
}))), ie = ve(() => {
|
|
21437
21437
|
const G = N.value.filter((q, L) => !k.value.includes(q.uid)).map((q, L) => q.values.reduce((de, E) => de + E, 0));
|
|
21438
|
-
return
|
|
21438
|
+
return V(G);
|
|
21439
21439
|
}), ee = ve(() => {
|
|
21440
21440
|
const G = N.value.map((q, L) => q.values.reduce((de, E) => de + E));
|
|
21441
|
-
return
|
|
21441
|
+
return V(G);
|
|
21442
21442
|
}), W = ve(() => N.value.filter((G, q) => !k.value.includes(G.uid)).map((G, q) => ({
|
|
21443
21443
|
uid: G.uid,
|
|
21444
21444
|
name: G.name,
|
|
@@ -21562,7 +21562,7 @@ const qC = ["id"], YC = ["viewBox"], JC = ["id"], ZC = ["stop-color"], e4 = ["st
|
|
|
21562
21562
|
Ko({ csvContent: L, title: v.value.style.chart.title.text || "vue-ui-waffle" });
|
|
21563
21563
|
});
|
|
21564
21564
|
}
|
|
21565
|
-
const
|
|
21565
|
+
const K = ve(() => {
|
|
21566
21566
|
const G = [
|
|
21567
21567
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
21568
21568
|
Number(ce.value.toFixed(v.value.table.td.roundingValue)).toLocaleString(),
|
|
@@ -21774,9 +21774,9 @@ const qC = ["id"], YC = ["viewBox"], JC = ["id"], ZC = ["stop-color"], e4 = ["st
|
|
|
21774
21774
|
}, null, 8, ["show", "backgroundColor", "color", "parent", "content"]),
|
|
21775
21775
|
w.value.showTable ? (f(), ot($a, {
|
|
21776
21776
|
key: 3,
|
|
21777
|
-
head:
|
|
21778
|
-
body:
|
|
21779
|
-
config:
|
|
21777
|
+
head: K.value.head,
|
|
21778
|
+
body: K.value.body,
|
|
21779
|
+
config: K.value.config,
|
|
21780
21780
|
title: `${v.value.style.chart.title.text}${v.value.style.chart.title.subtitle.text ? ` : ${v.value.style.chart.title.subtitle.text}` : ""}`
|
|
21781
21781
|
}, {
|
|
21782
21782
|
th: Ut(({ th: L }) => [
|
|
@@ -21941,67 +21941,67 @@ const k4 = ["id"], F4 = ["viewBox"], _4 = ["id"], S4 = ["stop-color"], Q4 = ["st
|
|
|
21941
21941
|
height: v.value.inside ? 412 : 312,
|
|
21942
21942
|
width: 512
|
|
21943
21943
|
})), x = te([]);
|
|
21944
|
-
function Q(
|
|
21945
|
-
x.value.includes(
|
|
21944
|
+
function Q(K) {
|
|
21945
|
+
x.value.includes(K) ? x.value = x.value.filter((ue) => ue !== K) : x.value.push(K), l("selectLegend", Ae.value.filter((ue, Z) => !x.value.includes(Z)).map((ue) => ({
|
|
21946
21946
|
name: ue.name,
|
|
21947
21947
|
color: ue.color,
|
|
21948
21948
|
proportion: ue.totalProportion
|
|
21949
21949
|
})));
|
|
21950
21950
|
}
|
|
21951
21951
|
function X() {
|
|
21952
|
-
return Ae.value.map((
|
|
21953
|
-
name:
|
|
21954
|
-
color:
|
|
21955
|
-
proportion:
|
|
21952
|
+
return Ae.value.map((K) => ({
|
|
21953
|
+
name: K.name,
|
|
21954
|
+
color: K.color,
|
|
21955
|
+
proportion: K.totalProportion
|
|
21956
21956
|
}));
|
|
21957
21957
|
}
|
|
21958
|
-
const
|
|
21959
|
-
name:
|
|
21958
|
+
const V = ve(() => a.dataset.categories.map((K, ue) => ({
|
|
21959
|
+
name: K.name,
|
|
21960
21960
|
categoryId: `radar_category_${o.value}_${ue}`,
|
|
21961
|
-
color: Bt(
|
|
21962
|
-
}))), N = ve(() => a.dataset.series.map((
|
|
21963
|
-
...
|
|
21964
|
-
color: Bt(
|
|
21961
|
+
color: Bt(K.color) || Ze[ue] || Ze[ue % Ze.length]
|
|
21962
|
+
}))), N = ve(() => a.dataset.series.map((K, ue) => ({
|
|
21963
|
+
...K,
|
|
21964
|
+
color: Bt(K.color) || Ze[ue] || Ze[ue % Ze.length],
|
|
21965
21965
|
serieId: `radar_serie_${o.value}_${ue}`
|
|
21966
|
-
}))), ie = ve(() => Math.max(...N.value.flatMap((
|
|
21966
|
+
}))), ie = ve(() => Math.max(...N.value.flatMap((K) => K.values))), ee = ve(() => N.value.length), W = ve(() => ko({
|
|
21967
21967
|
plot: { x: 256, y: C.value.height / 2 },
|
|
21968
21968
|
radius: 128,
|
|
21969
21969
|
sides: ee.value,
|
|
21970
21970
|
rotation: 0
|
|
21971
21971
|
})), fe = ve(() => {
|
|
21972
|
-
const
|
|
21972
|
+
const K = [];
|
|
21973
21973
|
for (let ue = 0; ue < 128; ue += 128 / i.value.style.chart.layout.grid.graduations)
|
|
21974
|
-
|
|
21975
|
-
return
|
|
21976
|
-
}), pe = ve(() => W.value.coordinates.map((
|
|
21974
|
+
K.push(ue);
|
|
21975
|
+
return K;
|
|
21976
|
+
}), pe = ve(() => W.value.coordinates.map((K, ue) => {
|
|
21977
21977
|
const Z = N.value[ue].values.map((G) => R({
|
|
21978
21978
|
centerX: C.value.width / 2,
|
|
21979
21979
|
centerY: C.value.height / 2,
|
|
21980
|
-
apexX:
|
|
21981
|
-
apexY:
|
|
21980
|
+
apexX: K.x,
|
|
21981
|
+
apexY: K.y,
|
|
21982
21982
|
proportion: G / (N.value[ue].target || ie.value)
|
|
21983
21983
|
}));
|
|
21984
21984
|
return {
|
|
21985
|
-
...
|
|
21985
|
+
...K,
|
|
21986
21986
|
...N.value[ue],
|
|
21987
21987
|
plots: Z
|
|
21988
21988
|
};
|
|
21989
21989
|
}));
|
|
21990
|
-
function D({ x:
|
|
21990
|
+
function D({ x: K, y: ue }) {
|
|
21991
21991
|
let Z = "middle";
|
|
21992
|
-
return
|
|
21992
|
+
return K = Math.round(K), ue = Math.round(ue), K > C.value.width / 2 && (K += 12, Z = "start"), K < C.value.width / 2 && (K -= 12, Z = "end"), ue > C.value.height / 2 && (ue += 20), ue < C.value.height / 2 && (ue -= 12), ue === C.value.height / 2 && (ue += 4), { x: K, y: ue, anchor: Z };
|
|
21993
21993
|
}
|
|
21994
|
-
function R({ centerX:
|
|
21994
|
+
function R({ centerX: K, centerY: ue, apexX: Z, apexY: G, proportion: q }) {
|
|
21995
21995
|
return {
|
|
21996
|
-
x:
|
|
21996
|
+
x: K + (Z - K) * q,
|
|
21997
21997
|
y: ue + (G - ue) * q
|
|
21998
21998
|
};
|
|
21999
21999
|
}
|
|
22000
22000
|
const Ae = ve(() => {
|
|
22001
|
-
const
|
|
22002
|
-
return
|
|
22001
|
+
const K = N.value.map((ue, Z) => ue.values.map((G) => G / (ue.target || ie.value)));
|
|
22002
|
+
return V.value.map((ue, Z) => ({
|
|
22003
22003
|
...ue,
|
|
22004
|
-
totalProportion:
|
|
22004
|
+
totalProportion: K.map((G) => G[Z]).reduce((G, q) => G + q, 0) / N.value.length,
|
|
22005
22005
|
shape: "circle",
|
|
22006
22006
|
opacity: x.value.includes(Z) ? 0.5 : 1
|
|
22007
22007
|
}));
|
|
@@ -22013,23 +22013,23 @@ const k4 = ["id"], F4 = ["viewBox"], _4 = ["id"], S4 = ["stop-color"], Q4 = ["st
|
|
|
22013
22013
|
paddingBottom: 12,
|
|
22014
22014
|
fontWeight: i.value.style.chart.legend.bold ? "bold" : ""
|
|
22015
22015
|
})), we = ve(() => {
|
|
22016
|
-
const
|
|
22016
|
+
const K = [{ name: "", color: "" }, { name: i.value.translations.target, color: "" }, ...Ae.value], ue = a.dataset.series.map((Z, G) => [Z.name, Z.target, ...Z.values.flatMap((q) => [
|
|
22017
22017
|
q ? q.toFixed(i.value.table.td.roundingValue) : "-",
|
|
22018
22018
|
isNaN(q / Z.target) ? "" : (q / Z.target * 100).toFixed(i.value.table.td.roundingPercentage) + "%"
|
|
22019
22019
|
])]);
|
|
22020
|
-
return { head:
|
|
22020
|
+
return { head: K, body: ue };
|
|
22021
22021
|
}), ce = te(null), j = te([]);
|
|
22022
|
-
function k(
|
|
22022
|
+
function k(K, ue) {
|
|
22023
22023
|
j.value = [], ce.value = ue, s.value = !0;
|
|
22024
22024
|
let Z = "";
|
|
22025
|
-
Z += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${
|
|
22026
|
-
for (let G = 0; G <
|
|
22025
|
+
Z += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${K.name}</div>`;
|
|
22026
|
+
for (let G = 0; G < K.values.length; G += 1)
|
|
22027
22027
|
x.value.includes(G) || j.value.push({
|
|
22028
|
-
name:
|
|
22029
|
-
value:
|
|
22030
|
-
color:
|
|
22028
|
+
name: V.value[G].name,
|
|
22029
|
+
value: K.values[G] / K.target * 100,
|
|
22030
|
+
color: V.value[G].color,
|
|
22031
22031
|
suffix: "%)",
|
|
22032
|
-
prefix: `${
|
|
22032
|
+
prefix: `${K.values[G].toFixed(i.value.style.chart.tooltip.roundingValue)} (`,
|
|
22033
22033
|
rounding: i.value.style.chart.tooltip.roundingPercentage
|
|
22034
22034
|
});
|
|
22035
22035
|
d.value = Z;
|
|
@@ -22064,23 +22064,23 @@ const k4 = ["id"], F4 = ["viewBox"], _4 = ["id"], S4 = ["stop-color"], Q4 = ["st
|
|
|
22064
22064
|
}
|
|
22065
22065
|
function T() {
|
|
22066
22066
|
Ro(() => {
|
|
22067
|
-
const
|
|
22067
|
+
const K = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]], ue = [[""], [i.value.translations.target], ...Ae.value.flatMap((L) => [[L.name], ["%"]])], Z = a.dataset.series.map((L, de) => [L.name, L.target, ...L.values.flatMap((E) => [
|
|
22068
22068
|
E,
|
|
22069
22069
|
isNaN(E / L.target) ? "" : E / L.target * 100
|
|
22070
|
-
])]), G =
|
|
22070
|
+
])]), G = K.concat([ue]).concat(Z), q = Vo(G);
|
|
22071
22071
|
Ko({ csvContent: q, title: i.value.style.chart.title.text || "vue-ui-radar" });
|
|
22072
22072
|
});
|
|
22073
22073
|
}
|
|
22074
22074
|
const H = te(!1);
|
|
22075
|
-
function ae(
|
|
22076
|
-
H.value =
|
|
22075
|
+
function ae(K) {
|
|
22076
|
+
H.value = K, y.value += 1;
|
|
22077
22077
|
}
|
|
22078
22078
|
return t({
|
|
22079
22079
|
getData: X,
|
|
22080
22080
|
generatePdf: he,
|
|
22081
22081
|
generateCsv: T,
|
|
22082
22082
|
generateImage: M
|
|
22083
|
-
}), (
|
|
22083
|
+
}), (K, ue) => (f(), g("div", {
|
|
22084
22084
|
class: Ue(`vue-ui-radar ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${i.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
22085
22085
|
ref_key: "radarChart",
|
|
22086
22086
|
ref: h,
|
|
@@ -22137,7 +22137,7 @@ const k4 = ["id"], F4 = ["viewBox"], _4 = ["id"], S4 = ["stop-color"], Q4 = ["st
|
|
|
22137
22137
|
style: U(`max-width:100%;overflow:visible;background:${i.value.style.chart.backgroundColor};color:${i.value.style.chart.color}`)
|
|
22138
22138
|
}, [
|
|
22139
22139
|
b("defs", null, [
|
|
22140
|
-
(f(!0), g(be, null, me(
|
|
22140
|
+
(f(!0), g(be, null, me(V.value, (Z, G) => (f(), g("radialGradient", {
|
|
22141
22141
|
cx: "50%",
|
|
22142
22142
|
cy: "50%",
|
|
22143
22143
|
r: "50%",
|
|
@@ -22218,7 +22218,7 @@ const k4 = ["id"], F4 = ["viewBox"], _4 = ["id"], S4 = ["stop-color"], Q4 = ["st
|
|
|
22218
22218
|
})
|
|
22219
22219
|
}, S(Z.name), 41, D4))), 256))
|
|
22220
22220
|
])) : $("", !0),
|
|
22221
|
-
(f(!0), g(be, null, me(
|
|
22221
|
+
(f(!0), g(be, null, me(V.value, (Z, G) => (f(), g("g", null, [
|
|
22222
22222
|
x.value.includes(G) ? $("", !0) : (f(), g("g", P4, [
|
|
22223
22223
|
b("path", {
|
|
22224
22224
|
d: ke(S1)(pe.value.map((q) => q.plots[G])),
|
|
@@ -22233,7 +22233,7 @@ const k4 = ["id"], F4 = ["viewBox"], _4 = ["id"], S4 = ["stop-color"], Q4 = ["st
|
|
|
22233
22233
|
(f(!0), g(be, null, me(Z.plots, (q, L) => (f(), g("circle", {
|
|
22234
22234
|
cx: q.x,
|
|
22235
22235
|
cy: q.y,
|
|
22236
|
-
fill: x.value.includes(L) ? "transparent" :
|
|
22236
|
+
fill: x.value.includes(L) ? "transparent" : V.value[L].color,
|
|
22237
22237
|
r: ce.value !== null && ce.value === G ? i.value.style.chart.layout.plots.radius * 1.6 : i.value.style.chart.layout.plots.radius
|
|
22238
22238
|
}, null, 8, R4))), 256))
|
|
22239
22239
|
]))), 256))
|
|
@@ -22253,7 +22253,7 @@ const k4 = ["id"], F4 = ["viewBox"], _4 = ["id"], S4 = ["stop-color"], Q4 = ["st
|
|
|
22253
22253
|
_: 1
|
|
22254
22254
|
}, 8, ["legendSet", "config"])
|
|
22255
22255
|
])) : $("", !0),
|
|
22256
|
-
Dt(
|
|
22256
|
+
Dt(K.$slots, "svg", { svg: C.value }, void 0, !0)
|
|
22257
22257
|
], 14, F4)),
|
|
22258
22258
|
i.value.style.chart.legend.show && (!v.value.inside || n.value) ? (f(), ot(To, {
|
|
22259
22259
|
key: 2,
|
|
@@ -22444,11 +22444,11 @@ const ek = ["id"], tk = ["viewBox", "id"], ok = ["id"], lk = ["stop-color"], rk
|
|
|
22444
22444
|
min: de
|
|
22445
22445
|
}
|
|
22446
22446
|
};
|
|
22447
|
-
}),
|
|
22447
|
+
}), V = te([]), N = ve(() => a.dataset.map((G, q) => ({
|
|
22448
22448
|
...G,
|
|
22449
22449
|
id: `cat_${q}_${o.value}`,
|
|
22450
22450
|
color: Bt(G.color) || Ze[q]
|
|
22451
|
-
}))), ie = ve(() => N.value.filter((G) => !
|
|
22451
|
+
}))), ie = ve(() => N.value.filter((G) => !V.value.includes(G.id))), ee = ve(() => N.value.map((G, q) => ({
|
|
22452
22452
|
...G,
|
|
22453
22453
|
shape: G.shape || "circle",
|
|
22454
22454
|
series: G.series.map((L) => ({
|
|
@@ -22507,7 +22507,7 @@ const ek = ["id"], tk = ["viewBox", "id"], ok = ["id"], lk = ["stop-color"], rk
|
|
|
22507
22507
|
shape: G.shape,
|
|
22508
22508
|
color: G.color,
|
|
22509
22509
|
id: G.id,
|
|
22510
|
-
opacity:
|
|
22510
|
+
opacity: V.value.includes(G.id) ? 0.5 : 1
|
|
22511
22511
|
}))), Ae = ve(() => ({
|
|
22512
22512
|
cy: "quadrant-div-legend",
|
|
22513
22513
|
backgroundColor: v.value.style.chart.legend.backgroundColor,
|
|
@@ -22517,7 +22517,7 @@ const ek = ["id"], tk = ["viewBox", "id"], ok = ["id"], lk = ["stop-color"], rk
|
|
|
22517
22517
|
fontWeight: v.value.style.chart.legend.bold ? "bold" : ""
|
|
22518
22518
|
}));
|
|
22519
22519
|
function re(G) {
|
|
22520
|
-
|
|
22520
|
+
V.value.includes(G) ? V.value = V.value.filter((L) => L !== G) : V.value.push(G);
|
|
22521
22521
|
const q = he();
|
|
22522
22522
|
l("selectLegend", q);
|
|
22523
22523
|
}
|
|
@@ -22611,7 +22611,7 @@ const ek = ["id"], tk = ["viewBox", "id"], ok = ["id"], lk = ["stop-color"], rk
|
|
|
22611
22611
|
});
|
|
22612
22612
|
}, 100);
|
|
22613
22613
|
}
|
|
22614
|
-
function
|
|
22614
|
+
function K() {
|
|
22615
22615
|
Ro(() => {
|
|
22616
22616
|
const G = [[v.value.style.chart.title.text], [v.value.style.chart.title.subtitle.text], [""]], q = D.value.head, L = D.value.body, de = G.concat([q]).concat(L), E = Vo(de);
|
|
22617
22617
|
Ko({ csvContent: E, title: v.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
@@ -22624,7 +22624,7 @@ const ek = ["id"], tk = ["viewBox", "id"], ok = ["id"], lk = ["stop-color"], rk
|
|
|
22624
22624
|
return t({
|
|
22625
22625
|
getData: he,
|
|
22626
22626
|
generatePdf: T,
|
|
22627
|
-
generateCsv:
|
|
22627
|
+
generateCsv: K,
|
|
22628
22628
|
generateImage: ae
|
|
22629
22629
|
}), (G, q) => (f(), g("div", {
|
|
22630
22630
|
class: Ue(`vue-ui-quadrant ${ue.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${v.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -22674,7 +22674,7 @@ const ek = ["id"], tk = ["viewBox", "id"], ok = ["id"], lk = ["stop-color"], rk
|
|
|
22674
22674
|
chartElement: h.value,
|
|
22675
22675
|
onToggleFullscreen: Z,
|
|
22676
22676
|
onGeneratePdf: T,
|
|
22677
|
-
onGenerateCsv:
|
|
22677
|
+
onGenerateCsv: K,
|
|
22678
22678
|
onGenerateImage: ae,
|
|
22679
22679
|
onToggleTable: q[0] || (q[0] = (L) => w.value.showTable = !w.value.showTable),
|
|
22680
22680
|
onToggleLabels: q[1] || (q[1] = (L) => w.value.plotLabels.show = !w.value.plotLabels.show)
|
|
@@ -22908,7 +22908,7 @@ const ek = ["id"], tk = ["viewBox", "id"], ok = ["id"], lk = ["stop-color"], rk
|
|
|
22908
22908
|
item: Ut(({ legend: L }) => [
|
|
22909
22909
|
b("div", {
|
|
22910
22910
|
onClick: (de) => re(L.id),
|
|
22911
|
-
style: U(`opacity:${
|
|
22911
|
+
style: U(`opacity:${V.value.includes(L.id) ? 0.5 : 1}`)
|
|
22912
22912
|
}, S(L.name), 13, Ek)
|
|
22913
22913
|
]),
|
|
22914
22914
|
_: 1
|
|
@@ -22925,7 +22925,7 @@ const ek = ["id"], tk = ["viewBox", "id"], ok = ["id"], lk = ["stop-color"], rk
|
|
|
22925
22925
|
item: Ut(({ legend: L }) => [
|
|
22926
22926
|
b("div", {
|
|
22927
22927
|
onClick: (de) => re(L.id),
|
|
22928
|
-
style: U(`opacity:${
|
|
22928
|
+
style: U(`opacity:${V.value.includes(L.id) ? 0.5 : 1}`)
|
|
22929
22929
|
}, S(L.name), 13, $k)
|
|
22930
22930
|
]),
|
|
22931
22931
|
_: 1
|
|
@@ -23086,7 +23086,7 @@ const Rk = ["id"], Kk = ["viewBox"], Vk = ["id"], jk = ["stop-color"], Gk = ["st
|
|
|
23086
23086
|
j * Math.sin(k + P)
|
|
23087
23087
|
]),
|
|
23088
23088
|
[re, we]
|
|
23089
|
-
), ae = P > Math.PI ? 1 : 0,
|
|
23089
|
+
), ae = P > Math.PI ? 1 : 0, K = P > 0 ? 1 : 0;
|
|
23090
23090
|
return {
|
|
23091
23091
|
startX: F,
|
|
23092
23092
|
startY: M,
|
|
@@ -23097,13 +23097,13 @@ const Rk = ["id"], Kk = ["viewBox"], Vk = ["id"], jk = ["stop-color"], Gk = ["st
|
|
|
23097
23097
|
j,
|
|
23098
23098
|
I / (2 * Math.PI) * 180,
|
|
23099
23099
|
ae,
|
|
23100
|
-
|
|
23100
|
+
K,
|
|
23101
23101
|
T,
|
|
23102
23102
|
H
|
|
23103
23103
|
].join(" ")}`
|
|
23104
23104
|
};
|
|
23105
23105
|
}
|
|
23106
|
-
function
|
|
23106
|
+
function V(re, we, ce, j, k) {
|
|
23107
23107
|
let { series: P } = re;
|
|
23108
23108
|
if (re.base || (re.base = 1), !P || re.base === 0)
|
|
23109
23109
|
return {
|
|
@@ -23120,7 +23120,7 @@ const Rk = ["id"], Kk = ["viewBox"], Vk = ["id"], jk = ["stop-color"], Gk = ["st
|
|
|
23120
23120
|
let F = 0;
|
|
23121
23121
|
for (let M = 0; M < P.length; M += 1) {
|
|
23122
23122
|
let T = P[M].value / I;
|
|
23123
|
-
const H = T * (Math.PI * 0.975),
|
|
23123
|
+
const H = T * (Math.PI * 0.975), K = P[M].value / 2 / I * Math.PI, { startX: ue, startY: Z, endX: G, endY: q, path: L } = X(
|
|
23124
23124
|
[we, ce],
|
|
23125
23125
|
[j, k],
|
|
23126
23126
|
[F, H],
|
|
@@ -23138,7 +23138,7 @@ const Rk = ["id"], Kk = ["viewBox"], Vk = ["id"], jk = ["stop-color"], Gk = ["st
|
|
|
23138
23138
|
center: X(
|
|
23139
23139
|
[we, ce],
|
|
23140
23140
|
[j, k],
|
|
23141
|
-
[F,
|
|
23141
|
+
[F, K],
|
|
23142
23142
|
110
|
|
23143
23143
|
)
|
|
23144
23144
|
}), F += H;
|
|
@@ -23285,7 +23285,7 @@ const Rk = ["id"], Kk = ["viewBox"], Vk = ["id"], jk = ["stop-color"], Gk = ["st
|
|
|
23285
23285
|
style: U(`font-weight:${s.value.style.chart.title.subtitle.bold ? "bold" : ""}`)
|
|
23286
23286
|
}, S(s.value.translations.base) + " : " + S(e.dataset.base), 13, Jk))
|
|
23287
23287
|
])) : $("", !0),
|
|
23288
|
-
(f(!0), g(be, null, me(
|
|
23288
|
+
(f(!0), g(be, null, me(V(y.value, i.value.width / 2, i.value.height * 0.7, i.value.width / 2.5, i.value.width / 2.5), (ce, j) => (f(), g("path", {
|
|
23289
23289
|
key: `arc_${j}`,
|
|
23290
23290
|
d: ce.path,
|
|
23291
23291
|
fill: "none",
|
|
@@ -23317,7 +23317,7 @@ const Rk = ["id"], Kk = ["viewBox"], Vk = ["id"], jk = ["stop-color"], Gk = ["st
|
|
|
23317
23317
|
stroke: "none"
|
|
23318
23318
|
}, null, 8, l3)
|
|
23319
23319
|
])) : $("", !0),
|
|
23320
|
-
(f(!0), g(be, null, me(
|
|
23320
|
+
(f(!0), g(be, null, me(V(y.value, i.value.width / 2, i.value.height * 0.7, i.value.width / 2.5, i.value.width / 2.5), (ce, j) => (f(), g("circle", {
|
|
23321
23321
|
cx: ce.center.startX,
|
|
23322
23322
|
cy: j === 0 ? ce.center.startY + 5 : ce.center.startY,
|
|
23323
23323
|
r: i.value.width / 31 * s.value.style.chart.layout.track.size * s.value.style.chart.layout.markers.size,
|
|
@@ -23333,7 +23333,7 @@ const Rk = ["id"], Kk = ["viewBox"], Vk = ["id"], jk = ["stop-color"], Gk = ["st
|
|
|
23333
23333
|
stroke: s.value.style.chart.layout.markers.stroke,
|
|
23334
23334
|
"stroke-width": s.value.style.chart.layout.markers.strokeWidth
|
|
23335
23335
|
}, null, 8, a3),
|
|
23336
|
-
(f(!0), g(be, null, me(
|
|
23336
|
+
(f(!0), g(be, null, me(V(y.value, i.value.width / 2, i.value.height * 0.7, i.value.width / 2.5, i.value.width / 2.5), (ce, j) => (f(), g("text", {
|
|
23337
23337
|
x: ce.center.startX,
|
|
23338
23338
|
y: N(j, ce.center.startY, ce.from) + s.value.style.chart.layout.markers.offsetY,
|
|
23339
23339
|
"text-anchor": "middle",
|
|
@@ -23497,7 +23497,7 @@ const d3 = ["id"], f3 = ["viewBox"], g3 = { key: 0 }, v3 = ["fill", "font-weight
|
|
|
23497
23497
|
function x() {
|
|
23498
23498
|
return C.value;
|
|
23499
23499
|
}
|
|
23500
|
-
const Q = ve(() => C.value.flatMap((L) => L.branches).length), X = ve(() => Math.max(...C.value.map((L) => L.branches.map((de) => de.value).reduce((de, E) => de + E, 0)))),
|
|
23500
|
+
const Q = ve(() => C.value.flatMap((L) => L.branches).length), X = ve(() => Math.max(...C.value.map((L) => L.branches.map((de) => de.value).reduce((de, E) => de + E, 0)))), V = ve(() => Math.max(...C.value.flatMap((L) => L.branches.map((de) => de.value)))), N = ve(() => 256 + i.value.padding.left), ie = ve(() => C.value.sort((L, de) => de.total - L.total).map((L, de) => {
|
|
23501
23501
|
const E = v.value.height / C.value.length / 2, se = L.total / X.value * (E > 64 ? 64 : E);
|
|
23502
23502
|
return {
|
|
23503
23503
|
...L,
|
|
@@ -23510,7 +23510,7 @@ const d3 = ["id"], f3 = ["viewBox"], g3 = { key: 0 }, v3 = ["fill", "font-weight
|
|
|
23510
23510
|
y1: de * i.value.branchSize + v.value.top + de * i.value.gap,
|
|
23511
23511
|
y2: de * i.value.branchSize + i.value.branchSize,
|
|
23512
23512
|
x1: N.value,
|
|
23513
|
-
x2: 384 * L.value /
|
|
23513
|
+
x2: 384 * L.value / V.value * ee.value + N.value
|
|
23514
23514
|
})));
|
|
23515
23515
|
function pe(L) {
|
|
23516
23516
|
const de = ie.value.find((E) => E.rootIndex === L.rootIndex);
|
|
@@ -23570,7 +23570,7 @@ const d3 = ["id"], f3 = ["viewBox"], g3 = { key: 0 }, v3 = ["fill", "font-weight
|
|
|
23570
23570
|
function ae() {
|
|
23571
23571
|
A.value = !0;
|
|
23572
23572
|
}
|
|
23573
|
-
function
|
|
23573
|
+
function K() {
|
|
23574
23574
|
ae(), clearTimeout(M.value), M.value = setTimeout(() => {
|
|
23575
23575
|
uo({
|
|
23576
23576
|
domElement: document.getElementById(`vue-ui-chestnut_${o.value}`),
|
|
@@ -23625,7 +23625,7 @@ const d3 = ["id"], f3 = ["viewBox"], g3 = { key: 0 }, v3 = ["fill", "font-weight
|
|
|
23625
23625
|
getData: x,
|
|
23626
23626
|
generatePdf: H,
|
|
23627
23627
|
generateCsv: Z,
|
|
23628
|
-
generateImage:
|
|
23628
|
+
generateImage: K
|
|
23629
23629
|
}), (L, de) => (f(), g("div", {
|
|
23630
23630
|
class: Ue(`vue-ui-chestnut ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
23631
23631
|
ref_key: "chestnutChart",
|
|
@@ -23651,7 +23651,7 @@ const d3 = ["id"], f3 = ["viewBox"], g3 = { key: 0 }, v3 = ["fill", "font-weight
|
|
|
23651
23651
|
onToggleFullscreen: q,
|
|
23652
23652
|
onGeneratePdf: H,
|
|
23653
23653
|
onGenerateCsv: Z,
|
|
23654
|
-
onGenerateImage:
|
|
23654
|
+
onGenerateImage: K,
|
|
23655
23655
|
onToggleTable: de[0] || (de[0] = (E) => y.value.showTable = !y.value.showTable)
|
|
23656
23656
|
}, null, 8, ["backgroundColor", "color", "isImaging", "isPrinting", "title", "uid", "isFullscreen", "chartElement"])) : $("", !0),
|
|
23657
23657
|
i.value.height > 0 ? (f(), g("svg", {
|
|
@@ -24313,7 +24313,7 @@ const GF = ["id"], WF = ["viewBox"], XF = ["id"], qF = ["stop-color"], YF = ["st
|
|
|
24313
24313
|
})), x = te([]), Q = ve(() => w.value.filter((k) => !x.value.includes(k.id)).length), X = ve(() => ({
|
|
24314
24314
|
gutter: v.value.width / 2 / Q.value * d.value.style.chart.layout.gutter.width,
|
|
24315
24315
|
track: v.value.width / 2 / Q.value * d.value.style.chart.layout.track.width
|
|
24316
|
-
})),
|
|
24316
|
+
})), V = ve(() => w.value.filter((k) => !x.value.includes(k.id)).map((k, P) => {
|
|
24317
24317
|
const I = (v.value.maxRadius - X.value.track) / Q.value / 2 * (1 + P), he = v.value.centerY - (v.value.centerY - v.value.top - d.value.style.chart.layout.labels.fontSize) / Q.value * (P + 1);
|
|
24318
24318
|
return {
|
|
24319
24319
|
...k,
|
|
@@ -24334,13 +24334,13 @@ const GF = ["id"], WF = ["viewBox"], XF = ["id"], qF = ["stop-color"], YF = ["st
|
|
|
24334
24334
|
};
|
|
24335
24335
|
}
|
|
24336
24336
|
function ie(k) {
|
|
24337
|
-
x.value.includes(k) ? x.value = x.value.filter((P) => P !== k) : x.value.push(k), l("selectLegend",
|
|
24337
|
+
x.value.includes(k) ? x.value = x.value.filter((P) => P !== k) : x.value.push(k), l("selectLegend", V.value);
|
|
24338
24338
|
}
|
|
24339
24339
|
function ee() {
|
|
24340
|
-
return
|
|
24340
|
+
return V.value;
|
|
24341
24341
|
}
|
|
24342
24342
|
const W = ve(() => {
|
|
24343
|
-
const k = [d.value.table.translations.serie, d.value.table.translations.percentage, d.value.table.translations.value], P =
|
|
24343
|
+
const k = [d.value.table.translations.serie, d.value.table.translations.percentage, d.value.table.translations.value], P = V.value.map((I) => [
|
|
24344
24344
|
I.name,
|
|
24345
24345
|
I.percentage,
|
|
24346
24346
|
I.value
|
|
@@ -24482,7 +24482,7 @@ const GF = ["id"], WF = ["viewBox"], XF = ["id"], qF = ["stop-color"], YF = ["st
|
|
|
24482
24482
|
style: U(`font-weight:${d.value.style.chart.title.subtitle.bold ? "bold" : ""}`)
|
|
24483
24483
|
}, S(d.value.style.chart.title.subtitle.text), 13, t_)) : $("", !0)
|
|
24484
24484
|
])) : $("", !0),
|
|
24485
|
-
(f(!0), g(be, null, me(
|
|
24485
|
+
(f(!0), g(be, null, me(V.value, (I, he) => (f(), g("circle", {
|
|
24486
24486
|
cx: v.value.centerX,
|
|
24487
24487
|
cy: v.value.centerY,
|
|
24488
24488
|
r: I.radius,
|
|
@@ -24495,7 +24495,7 @@ const GF = ["id"], WF = ["viewBox"], XF = ["id"], qF = ["stop-color"], YF = ["st
|
|
|
24495
24495
|
class: Ue({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": d.value.useBlurOnHover && ![null, void 0].includes(we.value) && we.value !== he }),
|
|
24496
24496
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
24497
24497
|
}, null, 10, o_))), 256)),
|
|
24498
|
-
(f(!0), g(be, null, me(
|
|
24498
|
+
(f(!0), g(be, null, me(V.value, (I, he) => (f(), g("circle", {
|
|
24499
24499
|
cx: v.value.centerX,
|
|
24500
24500
|
cy: v.value.centerY,
|
|
24501
24501
|
r: I.radius,
|
|
@@ -24508,7 +24508,7 @@ const GF = ["id"], WF = ["viewBox"], XF = ["id"], qF = ["stop-color"], YF = ["st
|
|
|
24508
24508
|
"stroke-linecap": "round",
|
|
24509
24509
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
24510
24510
|
}, null, 10, l_))), 256)),
|
|
24511
|
-
(f(!0), g(be, null, me(
|
|
24511
|
+
(f(!0), g(be, null, me(V.value, (I, he) => (f(), g("circle", {
|
|
24512
24512
|
cx: v.value.centerX,
|
|
24513
24513
|
cy: v.value.centerY,
|
|
24514
24514
|
r: I.radius,
|
|
@@ -24524,7 +24524,7 @@ const GF = ["id"], WF = ["viewBox"], XF = ["id"], qF = ["stop-color"], YF = ["st
|
|
|
24524
24524
|
onMouseleave: P[1] || (P[1] = (F) => we.value = void 0)
|
|
24525
24525
|
}, null, 40, r_))), 256)),
|
|
24526
24526
|
d.value.style.chart.useGradient ? (f(), g("g", a_, [
|
|
24527
|
-
(f(!0), g(be, null, me(
|
|
24527
|
+
(f(!0), g(be, null, me(V.value, (I) => (f(), g("circle", {
|
|
24528
24528
|
cx: v.value.centerX,
|
|
24529
24529
|
cy: v.value.centerY,
|
|
24530
24530
|
r: I.radius * 1.1,
|
|
@@ -24534,7 +24534,7 @@ const GF = ["id"], WF = ["viewBox"], XF = ["id"], qF = ["stop-color"], YF = ["st
|
|
|
24534
24534
|
}, null, 8, A_))), 256))
|
|
24535
24535
|
])) : $("", !0),
|
|
24536
24536
|
d.value.style.chart.layout.labels.show ? (f(), g("g", n_, [
|
|
24537
|
-
(f(!0), g(be, null, me(
|
|
24537
|
+
(f(!0), g(be, null, me(V.value, (I, he) => (f(), g("g", null, [
|
|
24538
24538
|
x.value.includes(I.id) ? $("", !0) : (f(), g("text", {
|
|
24539
24539
|
key: 0,
|
|
24540
24540
|
x: i.value.width / 2 - X.value.gutter * 0.8 + d.value.style.chart.layout.labels.offsetX,
|
|
@@ -24608,7 +24608,7 @@ const GF = ["id"], WF = ["viewBox"], XF = ["id"], qF = ["stop-color"], YF = ["st
|
|
|
24608
24608
|
])
|
|
24609
24609
|
]),
|
|
24610
24610
|
b("tbody", null, [
|
|
24611
|
-
(f(!0), g(be, null, me(
|
|
24611
|
+
(f(!0), g(be, null, me(V.value, (I, he) => (f(), g("tr", null, [
|
|
24612
24612
|
b("td", {
|
|
24613
24613
|
style: U(`background:${d.value.table.td.backgroundColor};color:${d.value.table.td.color};outline:${d.value.table.td.outline}`)
|
|
24614
24614
|
}, [
|
|
@@ -24691,7 +24691,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
24691
24691
|
fontSize: w.value.style.chart.legend.fontSize,
|
|
24692
24692
|
paddingBottom: 12,
|
|
24693
24693
|
fontWeight: w.value.style.chart.legend.bold ? "bold" : ""
|
|
24694
|
-
})),
|
|
24694
|
+
})), V = ve(() => ({
|
|
24695
24695
|
width: 512,
|
|
24696
24696
|
height: (w.value.style.chart.layout.bars.height + w.value.style.chart.layout.bars.gap) * y.value,
|
|
24697
24697
|
padding: {
|
|
@@ -24701,12 +24701,12 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
24701
24701
|
bottom: C.value.inside ? 92 : 12
|
|
24702
24702
|
}
|
|
24703
24703
|
})), N = ve(() => ({
|
|
24704
|
-
fullHeight:
|
|
24705
|
-
top:
|
|
24706
|
-
left:
|
|
24707
|
-
right:
|
|
24708
|
-
bottom:
|
|
24709
|
-
width:
|
|
24704
|
+
fullHeight: V.value.padding.top + V.value.padding.bottom + V.value.height,
|
|
24705
|
+
top: V.value.padding.top,
|
|
24706
|
+
left: V.value.padding.left,
|
|
24707
|
+
right: V.value.width - V.value.padding.right,
|
|
24708
|
+
bottom: V.value.padding.top + V.value.height,
|
|
24709
|
+
width: V.value.width - (V.value.padding.left + V.value.padding.right)
|
|
24710
24710
|
}));
|
|
24711
24711
|
function ie() {
|
|
24712
24712
|
y.value = fe.value.flatMap((Z) => Z.children && Z.children.length > 0 ? Z.children.length : 1).reduce((Z, G) => Z + G, 0);
|
|
@@ -24828,9 +24828,9 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
24828
24828
|
]), L = Z.concat([G]).concat(q), de = Vo(L);
|
|
24829
24829
|
Ko({ csvContent: de, title: w.value.style.chart.title.text || "vue-ui-vertical-bar" });
|
|
24830
24830
|
}
|
|
24831
|
-
const
|
|
24831
|
+
const K = te(!1);
|
|
24832
24832
|
function ue(Z) {
|
|
24833
|
-
|
|
24833
|
+
K.value = Z, v.value += 1;
|
|
24834
24834
|
}
|
|
24835
24835
|
return t({
|
|
24836
24836
|
getData: j,
|
|
@@ -24839,7 +24839,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
24839
24839
|
generateCsv: ae,
|
|
24840
24840
|
generateImage: T
|
|
24841
24841
|
}), (Z, G) => (f(), g("div", {
|
|
24842
|
-
class: Ue(`vue-ui-vertical-bar ${
|
|
24842
|
+
class: Ue(`vue-ui-vertical-bar ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${w.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
24843
24843
|
ref_key: "verticalBarChart",
|
|
24844
24844
|
ref: h,
|
|
24845
24845
|
id: `vue-ui-vertical-bar_${o.value}`,
|
|
@@ -24882,7 +24882,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
24882
24882
|
hasTable: "",
|
|
24883
24883
|
hasSort: "",
|
|
24884
24884
|
hasFullscreen: "",
|
|
24885
|
-
isFullscreen:
|
|
24885
|
+
isFullscreen: K.value,
|
|
24886
24886
|
chartElement: h.value,
|
|
24887
24887
|
onToggleFullscreen: ue,
|
|
24888
24888
|
onGeneratePdf: F,
|
|
@@ -24908,8 +24908,8 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
24908
24908
|
_: 1
|
|
24909
24909
|
}, 8, ["legendSet", "config"])) : $("", !0),
|
|
24910
24910
|
(f(), g("svg", {
|
|
24911
|
-
class: Ue({ "vue-data-ui-fullscreen--on":
|
|
24912
|
-
viewBox: `0 0 ${
|
|
24911
|
+
class: Ue({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
|
|
24912
|
+
viewBox: `0 0 ${V.value.width} ${N.value.fullHeight}`,
|
|
24913
24913
|
style: U(`max-width:100%;overflow:visible;background:${w.value.style.chart.backgroundColor};color:${w.value.style.chart.color}`)
|
|
24914
24914
|
}, [
|
|
24915
24915
|
(f(!0), g(be, null, me(R.value, (q, L) => (f(), g("linearGradient", {
|
|
@@ -24932,7 +24932,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
24932
24932
|
b("text", {
|
|
24933
24933
|
"font-size": w.value.style.chart.title.fontSize,
|
|
24934
24934
|
fill: w.value.style.chart.title.color,
|
|
24935
|
-
x:
|
|
24935
|
+
x: V.value.width / 2,
|
|
24936
24936
|
y: w.value.style.chart.title.fontSize,
|
|
24937
24937
|
"text-anchor": "middle",
|
|
24938
24938
|
style: U(`font-weight:${w.value.style.chart.title.bold ? "bold" : ""}`)
|
|
@@ -24941,7 +24941,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
24941
24941
|
key: 0,
|
|
24942
24942
|
"font-size": w.value.style.chart.title.subtitle.fontSize,
|
|
24943
24943
|
fill: w.value.style.chart.title.subtitle.color,
|
|
24944
|
-
x:
|
|
24944
|
+
x: V.value.width / 2,
|
|
24945
24945
|
y: w.value.style.chart.title.fontSize * 2,
|
|
24946
24946
|
"text-anchor": "middle",
|
|
24947
24947
|
style: U(`font-weight:${w.value.style.chart.title.subtitle.bold ? "bold" : ""}`)
|
|
@@ -25016,7 +25016,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
25016
25016
|
b("rect", {
|
|
25017
25017
|
x: 0,
|
|
25018
25018
|
y: N.value.top + (w.value.style.chart.layout.bars.gap + w.value.style.chart.layout.bars.height) * L - w.value.style.chart.layout.bars.gap / 2,
|
|
25019
|
-
width:
|
|
25019
|
+
width: V.value.width,
|
|
25020
25020
|
height: w.value.style.chart.layout.bars.height + w.value.style.chart.layout.bars.gap,
|
|
25021
25021
|
fill: k.value === q.id ? `${w.value.style.chart.layout.highlighter.color}${ke(Ke)[w.value.style.chart.layout.highlighter.opacity]}` : "transparent",
|
|
25022
25022
|
onMouseenter: (de) => P(q),
|
|
@@ -25047,7 +25047,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
25047
25047
|
_: 1
|
|
25048
25048
|
}, 8, ["legendSet", "config"])
|
|
25049
25049
|
], 8, M_)) : $("", !0),
|
|
25050
|
-
Dt(Z.$slots, "svg", { svg:
|
|
25050
|
+
Dt(Z.$slots, "svg", { svg: V.value }, void 0, !0)
|
|
25051
25051
|
], 14, p_)),
|
|
25052
25052
|
w.value.style.chart.legend.show && (!C.value.inside || n.value) && w.value.style.chart.legend.position === "bottom" ? (f(), ot(To, {
|
|
25053
25053
|
key: 3,
|
|
@@ -25173,7 +25173,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
25173
25173
|
});
|
|
25174
25174
|
return NA(k);
|
|
25175
25175
|
}), n = te(null), h = te(null), u = te(null), s = te(null), d = te(null), y = te(null), i = te(null), v = te(null), w = te(null), C = te(null), x = te(null), Q = te(!1), X = te(null);
|
|
25176
|
-
function
|
|
25176
|
+
function V() {
|
|
25177
25177
|
const k = document.createElement("DIV");
|
|
25178
25178
|
return k.style.position = "fixed", k.style.top = "200px", k.style.left = "100px", k.style.width = `${A.value.style.captureArea.initialWidth}px`, k.style.height = `${A.value.style.captureArea.initialHeight}px`, k.style.background = A.value.style.captureArea.background, k.style.cursor = "move", k.style.boxSizing = "border-box", k.style.border = A.value.style.captureArea.border, k.style.resize = "both", k.style.padding = "none !important", k.style.margin = "none !important", k.dataset.cy = "screenshot-overlay", k;
|
|
25179
25179
|
}
|
|
@@ -25298,7 +25298,7 @@ const v_ = ["id"], y_ = ["onClick"], p_ = ["viewBox"], b_ = ["id"], w_ = ["stop-
|
|
|
25298
25298
|
}
|
|
25299
25299
|
function j() {
|
|
25300
25300
|
n.value || Ro(() => {
|
|
25301
|
-
const k =
|
|
25301
|
+
const k = V();
|
|
25302
25302
|
k.dataset.html2canvasIgnore = !0, ie(k), ce(k), n.value = k, k.addEventListener("touchmove", function(P) {
|
|
25303
25303
|
P.preventDefault();
|
|
25304
25304
|
}, { passive: !1 }), document.body.appendChild(k), document.addEventListener("mousedown", fe), document.addEventListener("touchstart", fe), document.addEventListener("mouseup", R), document.addEventListener("touchend", R);
|
|
@@ -25371,12 +25371,12 @@ const P_ = {
|
|
|
25371
25371
|
function X() {
|
|
25372
25372
|
return y.value;
|
|
25373
25373
|
}
|
|
25374
|
-
function
|
|
25374
|
+
function V(N = !0) {
|
|
25375
25375
|
v.value = N;
|
|
25376
25376
|
}
|
|
25377
25377
|
return t({
|
|
25378
25378
|
getData: X,
|
|
25379
|
-
toggleReadonly:
|
|
25379
|
+
toggleReadonly: V
|
|
25380
25380
|
}), (N, ie) => (f(), g("div", {
|
|
25381
25381
|
style: U(`background:${u.value.style.backgroundColor};font-family:${u.value.style.fontFamily};width:100%`),
|
|
25382
25382
|
class: "vue-ui-rating",
|
|
@@ -25825,12 +25825,12 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
25825
25825
|
}
|
|
25826
25826
|
const x = ve(() => {
|
|
25827
25827
|
const Q = [];
|
|
25828
|
-
for (let
|
|
25828
|
+
for (let V = 0; V < 100; V += 1)
|
|
25829
25829
|
Q.push({
|
|
25830
|
-
x1: C(360 / 100 *
|
|
25831
|
-
y1: C(360 / 100 *
|
|
25832
|
-
x2: C(360 / 100 *
|
|
25833
|
-
y2: C(360 / 100 *
|
|
25830
|
+
x1: C(360 / 100 * V).x,
|
|
25831
|
+
y1: C(360 / 100 * V).y,
|
|
25832
|
+
x2: C(360 / 100 * V, 0.9).x,
|
|
25833
|
+
y2: C(360 / 100 * V, 0.9).y,
|
|
25834
25834
|
color: o.value.style.wheel.color
|
|
25835
25835
|
});
|
|
25836
25836
|
return Q;
|
|
@@ -25846,18 +25846,18 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
25846
25846
|
viewBox: "0 0 105 80",
|
|
25847
25847
|
style: U(`background:${o.value.style.backgroundColor}`)
|
|
25848
25848
|
}, [
|
|
25849
|
-
(f(!0), g(be, null, me(v.value, (
|
|
25849
|
+
(f(!0), g(be, null, me(v.value, (V, N) => (f(), g("g", null, [
|
|
25850
25850
|
b("rect", {
|
|
25851
|
-
x: 50 -
|
|
25851
|
+
x: 50 - V[0],
|
|
25852
25852
|
y: N * (80 / v.value.length),
|
|
25853
|
-
width:
|
|
25853
|
+
width: V[0],
|
|
25854
25854
|
height: 80 / v.value.length * 0.95,
|
|
25855
25855
|
fill: o.value.style.pyramid.color
|
|
25856
25856
|
}, null, 8, r6),
|
|
25857
25857
|
b("rect", {
|
|
25858
25858
|
x: 55,
|
|
25859
25859
|
y: N * (80 / v.value.length),
|
|
25860
|
-
width:
|
|
25860
|
+
width: V[1],
|
|
25861
25861
|
height: 80 / v.value.length * 0.95,
|
|
25862
25862
|
fill: o.value.style.pyramid.color
|
|
25863
25863
|
}, null, 8, a6)
|
|
@@ -25894,12 +25894,12 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
25894
25894
|
viewBox: "0 0 400 400",
|
|
25895
25895
|
style: U(`background:${o.value.style.backgroundColor}`)
|
|
25896
25896
|
}, [
|
|
25897
|
-
(f(!0), g(be, null, me(x.value, (
|
|
25898
|
-
x1:
|
|
25899
|
-
x2:
|
|
25900
|
-
y1:
|
|
25901
|
-
y2:
|
|
25902
|
-
stroke: N < 66 ?
|
|
25897
|
+
(f(!0), g(be, null, me(x.value, (V, N) => (f(), g("line", {
|
|
25898
|
+
x1: V.x1,
|
|
25899
|
+
x2: V.x2,
|
|
25900
|
+
y1: V.y1,
|
|
25901
|
+
y2: V.y2,
|
|
25902
|
+
stroke: N < 66 ? V.color : `${V.color}${ke(Ke)[50]}`,
|
|
25903
25903
|
"stroke-width": 5,
|
|
25904
25904
|
"stroke-linecap": "round"
|
|
25905
25905
|
}, null, 8, s6))), 256)),
|
|
@@ -25945,11 +25945,11 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
25945
25945
|
rx: "3"
|
|
25946
25946
|
}, null, 8, d6)
|
|
25947
25947
|
]),
|
|
25948
|
-
(f(!0), g(be, null, me(w.value, (
|
|
25948
|
+
(f(!0), g(be, null, me(w.value, (V, N) => (f(), g("g", null, [
|
|
25949
25949
|
N < w.value.length - 1 ? (f(), g("line", {
|
|
25950
25950
|
key: 0,
|
|
25951
|
-
x1:
|
|
25952
|
-
y1:
|
|
25951
|
+
x1: V.x,
|
|
25952
|
+
y1: V.y,
|
|
25953
25953
|
x2: w.value[N + 1].x,
|
|
25954
25954
|
y2: w.value[N + 1].y,
|
|
25955
25955
|
"stroke-width": o.value.style.sparkline.strokeWidth,
|
|
@@ -25985,12 +25985,12 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
25985
25985
|
"stroke-linecap": "round"
|
|
25986
25986
|
}, null, 8, y6)
|
|
25987
25987
|
])) : $("", !0),
|
|
25988
|
-
(f(!0), g(be, null, me(i.value, (
|
|
25988
|
+
(f(!0), g(be, null, me(i.value, (V, N) => (f(), g("g", null, [
|
|
25989
25989
|
b("line", {
|
|
25990
25990
|
x1: 24 + 464 * N / (i.value.length - 1) - 464 / (i.value.length - 1) / 8,
|
|
25991
25991
|
x2: 24 + 464 * N / (i.value.length - 1) + 464 / (i.value.length - 1) / 8,
|
|
25992
|
-
y1:
|
|
25993
|
-
y2:
|
|
25992
|
+
y1: V.y,
|
|
25993
|
+
y2: V.y,
|
|
25994
25994
|
stroke: o.value.style.candlesticks.candle.color,
|
|
25995
25995
|
"stroke-width": o.value.style.candlesticks.candle.strokeWidth,
|
|
25996
25996
|
"stroke-linecap": "round"
|
|
@@ -25998,8 +25998,8 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
25998
25998
|
b("line", {
|
|
25999
25999
|
x1: 24 + 464 * N / (i.value.length - 1) - 464 / (i.value.length - 1) / 8,
|
|
26000
26000
|
x2: 24 + 464 * N / (i.value.length - 1) + 464 / (i.value.length - 1) / 8,
|
|
26001
|
-
y1:
|
|
26002
|
-
y2:
|
|
26001
|
+
y1: V.y + V.height,
|
|
26002
|
+
y2: V.y + V.height,
|
|
26003
26003
|
stroke: o.value.style.candlesticks.candle.color,
|
|
26004
26004
|
"stroke-width": o.value.style.candlesticks.candle.strokeWidth,
|
|
26005
26005
|
"stroke-linecap": "round"
|
|
@@ -26007,16 +26007,16 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26007
26007
|
b("line", {
|
|
26008
26008
|
x1: 24 + 464 * N / (i.value.length - 1),
|
|
26009
26009
|
x2: 24 + 464 * N / (i.value.length - 1),
|
|
26010
|
-
y1:
|
|
26011
|
-
y2:
|
|
26010
|
+
y1: V.y,
|
|
26011
|
+
y2: V.y + V.height,
|
|
26012
26012
|
stroke: o.value.style.candlesticks.candle.color,
|
|
26013
26013
|
"stroke-width": o.value.style.candlesticks.candle.strokeWidth,
|
|
26014
26014
|
"stroke-linecap": "round"
|
|
26015
26015
|
}, null, 8, w6),
|
|
26016
26016
|
b("rect", {
|
|
26017
26017
|
x: 24 + 464 * N / (i.value.length - 1) - 464 / (i.value.length - 1) / 8,
|
|
26018
|
-
y:
|
|
26019
|
-
height:
|
|
26018
|
+
y: V.y + (V.height - V.bar * 1.5),
|
|
26019
|
+
height: V.bar,
|
|
26020
26020
|
width: 464 / (i.value.length - 1) / 4,
|
|
26021
26021
|
fill: o.value.style.candlesticks.candle.color,
|
|
26022
26022
|
rx: "1"
|
|
@@ -26029,7 +26029,7 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26029
26029
|
viewBox: `0 0 ${10 * o.value.style.heatmap.cellsX} ${10 * o.value.style.heatmap.cellsY}`,
|
|
26030
26030
|
style: U(`background:${o.value.style.backgroundColor}`)
|
|
26031
26031
|
}, [
|
|
26032
|
-
(f(!0), g(be, null, me(o.value.style.heatmap.cellsY, (
|
|
26032
|
+
(f(!0), g(be, null, me(o.value.style.heatmap.cellsY, (V, N) => (f(), g("g", null, [
|
|
26033
26033
|
(f(!0), g(be, null, me(o.value.style.heatmap.cellsX, (ie, ee) => (f(), g("g", null, [
|
|
26034
26034
|
b("rect", {
|
|
26035
26035
|
x: ee * 10,
|
|
@@ -26049,14 +26049,14 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26049
26049
|
viewBox: "0 0 512 316",
|
|
26050
26050
|
style: U(`background:${o.value.style.backgroundColor}`)
|
|
26051
26051
|
}, [
|
|
26052
|
-
(f(!0), g(be, null, me(y.value, (
|
|
26053
|
-
(f(!0), g(be, null, me(
|
|
26052
|
+
(f(!0), g(be, null, me(y.value, (V) => (f(), g("g", null, [
|
|
26053
|
+
(f(!0), g(be, null, me(V.bars, (N) => (f(), g("g", null, [
|
|
26054
26054
|
(f(), g(be, null, me(22, (ie, ee) => b("path", {
|
|
26055
26055
|
d: `M
|
|
26056
26056
|
${N.x},${N.y + ee}
|
|
26057
26057
|
C${N.x - 20},${N.y + ee}
|
|
26058
26058
|
${N.x - 80},${N.y + ee}
|
|
26059
|
-
${
|
|
26059
|
+
${V.root.x + V.root.r / 2}, ${V.root.y}
|
|
26060
26060
|
`,
|
|
26061
26061
|
stroke: `${o.value.style.chestnut.color}${ke(Ke)[N.opacity * 0.2]}`,
|
|
26062
26062
|
fill: "none",
|
|
@@ -26065,24 +26065,24 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26065
26065
|
}, null, 8, C6)), 64))
|
|
26066
26066
|
]))), 256))
|
|
26067
26067
|
]))), 256)),
|
|
26068
|
-
(f(!0), g(be, null, me(y.value, (
|
|
26069
|
-
cx:
|
|
26070
|
-
cy:
|
|
26071
|
-
r:
|
|
26068
|
+
(f(!0), g(be, null, me(y.value, (V) => (f(), g("circle", {
|
|
26069
|
+
cx: V.root.x,
|
|
26070
|
+
cy: V.root.y,
|
|
26071
|
+
r: V.root.r,
|
|
26072
26072
|
fill: `${o.value.style.backgroundColor}`,
|
|
26073
26073
|
stroke: o.value.backgroundColor,
|
|
26074
26074
|
"stroke-width": 3
|
|
26075
26075
|
}, null, 8, k6))), 256)),
|
|
26076
|
-
(f(!0), g(be, null, me(y.value, (
|
|
26077
|
-
cx:
|
|
26078
|
-
cy:
|
|
26079
|
-
r:
|
|
26080
|
-
fill: `${o.value.style.chestnut.color}${ke(Ke)[
|
|
26076
|
+
(f(!0), g(be, null, me(y.value, (V) => (f(), g("circle", {
|
|
26077
|
+
cx: V.root.x,
|
|
26078
|
+
cy: V.root.y,
|
|
26079
|
+
r: V.root.r,
|
|
26080
|
+
fill: `${o.value.style.chestnut.color}${ke(Ke)[V.root.opacity]}`,
|
|
26081
26081
|
stroke: o.value.style.backgroundColor,
|
|
26082
26082
|
"stroke-width": 3
|
|
26083
26083
|
}, null, 8, F6))), 256)),
|
|
26084
|
-
(f(!0), g(be, null, me(y.value, (
|
|
26085
|
-
(f(!0), g(be, null, me(
|
|
26084
|
+
(f(!0), g(be, null, me(y.value, (V) => (f(), g("g", null, [
|
|
26085
|
+
(f(!0), g(be, null, me(V.bars, (N) => (f(), g("rect", {
|
|
26086
26086
|
rx: "2",
|
|
26087
26087
|
x: N.x,
|
|
26088
26088
|
y: N.y,
|
|
@@ -26090,13 +26090,13 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26090
26090
|
height: 22,
|
|
26091
26091
|
fill: `${o.value.style.chestnut.color}${ke(Ke)[N.opacity]}`
|
|
26092
26092
|
}, null, 8, _6))), 256)),
|
|
26093
|
-
(f(!0), g(be, null, me(
|
|
26093
|
+
(f(!0), g(be, null, me(V.bars, (N) => (f(), g("circle", {
|
|
26094
26094
|
cx: N.x + N.width + 32,
|
|
26095
26095
|
cy: N.y + 11,
|
|
26096
26096
|
r: 11,
|
|
26097
26097
|
fill: `${o.value.style.chestnut.color}${ke(Ke)[N.opacity]}`
|
|
26098
26098
|
}, null, 8, S6))), 256)),
|
|
26099
|
-
(f(!0), g(be, null, me(
|
|
26099
|
+
(f(!0), g(be, null, me(V.bars, (N) => (f(), g("circle", {
|
|
26100
26100
|
cx: N.x + N.width + 32,
|
|
26101
26101
|
cy: N.y + 11,
|
|
26102
26102
|
r: 5,
|
|
@@ -26257,13 +26257,13 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26257
26257
|
"stroke-linejoin": "round"
|
|
26258
26258
|
}, null, 8, X6)
|
|
26259
26259
|
])) : $("", !0),
|
|
26260
|
-
(f(!0), g(be, null, me(n.value, (
|
|
26260
|
+
(f(!0), g(be, null, me(n.value, (V, N) => (f(), g("rect", {
|
|
26261
26261
|
fill: o.value.style.bar.color,
|
|
26262
26262
|
rx: o.value.style.bar.borderRadius,
|
|
26263
26263
|
x: 6 + 11.2 * N,
|
|
26264
|
-
y:
|
|
26264
|
+
y: V,
|
|
26265
26265
|
width: o.value.style.bar.barWidth,
|
|
26266
|
-
height: 67 -
|
|
26266
|
+
height: 67 - V
|
|
26267
26267
|
}, null, 8, q6))), 256))
|
|
26268
26268
|
], 4)) : $("", !0),
|
|
26269
26269
|
A.value === "donut" ? (f(), g("svg", {
|
|
@@ -26494,7 +26494,7 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26494
26494
|
viewBox: "0 0 100 100",
|
|
26495
26495
|
style: U(`background:${o.value.style.backgroundColor}`)
|
|
26496
26496
|
}, [
|
|
26497
|
-
(f(), g(be, null, me(10, (
|
|
26497
|
+
(f(), g(be, null, me(10, (V, N) => b("g", null, [
|
|
26498
26498
|
(f(), g(be, null, me(10, (ie, ee) => b("g", null, [
|
|
26499
26499
|
b("rect", {
|
|
26500
26500
|
x: 3 + ee * 9.5,
|
|
@@ -26506,7 +26506,7 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26506
26506
|
}, null, 8, F8)
|
|
26507
26507
|
])), 64))
|
|
26508
26508
|
])), 64)),
|
|
26509
|
-
(f(), g(be, null, me(10, (
|
|
26509
|
+
(f(), g(be, null, me(10, (V, N) => b("g", null, [
|
|
26510
26510
|
(f(), g(be, null, me(10, (ie, ee) => b("g", null, [
|
|
26511
26511
|
N > 2 ? (f(), g("rect", {
|
|
26512
26512
|
key: 0,
|
|
@@ -26519,7 +26519,7 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26519
26519
|
}, null, 8, _8)) : $("", !0)
|
|
26520
26520
|
])), 64))
|
|
26521
26521
|
])), 64)),
|
|
26522
|
-
(f(), g(be, null, me(10, (
|
|
26522
|
+
(f(), g(be, null, me(10, (V, N) => b("g", null, [
|
|
26523
26523
|
(f(), g(be, null, me(10, (ie, ee) => b("g", null, [
|
|
26524
26524
|
N > 6 ? (f(), g("rect", {
|
|
26525
26525
|
key: 0,
|
|
@@ -26553,7 +26553,7 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26553
26553
|
height: "50",
|
|
26554
26554
|
width: "23.25"
|
|
26555
26555
|
}, null, 8, L8),
|
|
26556
|
-
(f(), g(be, null, me(7, (
|
|
26556
|
+
(f(), g(be, null, me(7, (V, N) => b("line", {
|
|
26557
26557
|
x1: "3.7",
|
|
26558
26558
|
x2: "96.3",
|
|
26559
26559
|
y1: 5 + N * 10,
|
|
@@ -26562,7 +26562,7 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26562
26562
|
"stroke-width": o.value.style.table.td.strokeWidth,
|
|
26563
26563
|
"stroke-linecap": "round"
|
|
26564
26564
|
}, null, 8, U8)), 64)),
|
|
26565
|
-
(f(), g(be, null, me(5, (
|
|
26565
|
+
(f(), g(be, null, me(5, (V, N) => b("line", {
|
|
26566
26566
|
x1: 3.5 + N * 23.25,
|
|
26567
26567
|
x2: 3.5 + N * 23.25,
|
|
26568
26568
|
y1: "5",
|
|
@@ -26713,7 +26713,7 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26713
26713
|
viewBox: "0 0 100 30",
|
|
26714
26714
|
style: U(`background:${o.value.style.backgroundColor};max-width:${o.value.style.rating.maxWidth}px`)
|
|
26715
26715
|
}, [
|
|
26716
|
-
(f(), g(be, null, me(5, (
|
|
26716
|
+
(f(), g(be, null, me(5, (V, N) => b("polygon", {
|
|
26717
26717
|
points: ke(Ma)({
|
|
26718
26718
|
plot: { x: 10 + N * 20, y: 15 },
|
|
26719
26719
|
radius: 6
|
|
@@ -26742,7 +26742,7 @@ const Nr = (e) => (IA("data-v-51b3e622"), e = e(), MA(), e), l6 = ["id"], r6 = [
|
|
|
26742
26742
|
"stroke-width": o.value.style.verticalBar.axis.strokeWidth
|
|
26743
26743
|
}, null, 8, fS)
|
|
26744
26744
|
])) : $("", !0),
|
|
26745
|
-
(f(), g(be, null, me(6, (
|
|
26745
|
+
(f(), g(be, null, me(6, (V, N) => b("rect", {
|
|
26746
26746
|
x: 3,
|
|
26747
26747
|
y: 5 + N * 15.6,
|
|
26748
26748
|
height: "12",
|
|
@@ -26799,7 +26799,7 @@ const yS = ["id"], pS = ["viewBox"], bS = ["id"], wS = ["stop-color"], mS = ["st
|
|
|
26799
26799
|
x: A.value.start + ie * (A.value.width / v.value),
|
|
26800
26800
|
y: A.value.bottom - A.value.height * i(ee + u.value + s.value),
|
|
26801
26801
|
id: `plot_${l}_${ie}`,
|
|
26802
|
-
color:
|
|
26802
|
+
color: V.value ? o.value.style.bar.color : o.value.style.area.useGradient ? xt(o.value.style.line.color, 0.05 * (1 - ie / v.value)) : o.value.style.line.color,
|
|
26803
26803
|
width: A.value.width / v.value
|
|
26804
26804
|
};
|
|
26805
26805
|
})), C = ve(() => {
|
|
@@ -26811,7 +26811,7 @@ const yS = ["id"], pS = ["viewBox"], bS = ["id"], wS = ["stop-color"], mS = ["st
|
|
|
26811
26811
|
function Q(N) {
|
|
26812
26812
|
x.value = N;
|
|
26813
26813
|
}
|
|
26814
|
-
const X = ve(() => o.value.style.dataLabel.valueType === "latest" ? w.value[w.value.length - 1].absoluteValue : o.value.style.dataLabel.valueType === "sum" ? w.value.map((N) => N.absoluteValue).reduce((N, ie) => N + ie) : o.value.style.dataLabel.valueType === "average" ? w.value.map((N) => N.absoluteValue).reduce((N, ie) => N + ie) / w.value.length : 0),
|
|
26814
|
+
const X = ve(() => o.value.style.dataLabel.valueType === "latest" ? w.value[w.value.length - 1].absoluteValue : o.value.style.dataLabel.valueType === "sum" ? w.value.map((N) => N.absoluteValue).reduce((N, ie) => N + ie) : o.value.style.dataLabel.valueType === "average" ? w.value.map((N) => N.absoluteValue).reduce((N, ie) => N + ie) / w.value.length : 0), V = ve(() => o.value.type && o.value.type === "bar");
|
|
26815
26815
|
return (N, ie) => (f(), g("div", {
|
|
26816
26816
|
class: "vue-ui-sparkline",
|
|
26817
26817
|
id: l.value,
|
|
@@ -26876,7 +26876,7 @@ const yS = ["id"], pS = ["viewBox"], bS = ["id"], wS = ["stop-color"], mS = ["st
|
|
|
26876
26876
|
}, null, 8, _S)
|
|
26877
26877
|
], 8, kS)
|
|
26878
26878
|
]),
|
|
26879
|
-
o.value.style.area.show && !
|
|
26879
|
+
o.value.style.area.show && !V.value ? (f(), g("g", SS, [
|
|
26880
26880
|
o.value.style.line.smooth ? (f(), g("path", {
|
|
26881
26881
|
key: 0,
|
|
26882
26882
|
d: `M ${w.value[0].x},${A.value.bottom} ${ke(Oc)(w.value)} L ${w.value.at(-1).x},${A.value.bottom} Z`,
|
|
@@ -26887,7 +26887,7 @@ const yS = ["id"], pS = ["viewBox"], bS = ["id"], wS = ["stop-color"], mS = ["st
|
|
|
26887
26887
|
fill: o.value.style.area.useGradient ? `url(#sparkline_gradient_${l.value})` : `${o.value.style.area.color}${ke(Ke)[o.value.style.area.opacity]}`
|
|
26888
26888
|
}, null, 8, LS))
|
|
26889
26889
|
])) : $("", !0),
|
|
26890
|
-
o.value.style.line.smooth && !
|
|
26890
|
+
o.value.style.line.smooth && !V.value ? (f(), g("path", {
|
|
26891
26891
|
key: 1,
|
|
26892
26892
|
d: `M ${ke(Oc)(w.value)}`,
|
|
26893
26893
|
stroke: o.value.style.line.color,
|
|
@@ -26896,7 +26896,7 @@ const yS = ["id"], pS = ["viewBox"], bS = ["id"], wS = ["stop-color"], mS = ["st
|
|
|
26896
26896
|
"stroke-linecap": "round"
|
|
26897
26897
|
}, null, 8, US)) : $("", !0),
|
|
26898
26898
|
(f(!0), g(be, null, me(w.value, (ee, W) => (f(), g("g", null, [
|
|
26899
|
-
W < w.value.length - 1 && !o.value.style.line.smooth && !
|
|
26899
|
+
W < w.value.length - 1 && !o.value.style.line.smooth && !V.value ? (f(), g("line", {
|
|
26900
26900
|
key: 0,
|
|
26901
26901
|
x1: ee.x,
|
|
26902
26902
|
x2: w.value[W + 1].x,
|
|
@@ -26908,7 +26908,7 @@ const yS = ["id"], pS = ["viewBox"], bS = ["id"], wS = ["stop-color"], mS = ["st
|
|
|
26908
26908
|
"stroke-linejoin": "round",
|
|
26909
26909
|
"shape-rendering": "geometricPrecision"
|
|
26910
26910
|
}, null, 8, IS)) : $("", !0),
|
|
26911
|
-
|
|
26911
|
+
V.value ? (f(), g("rect", {
|
|
26912
26912
|
key: 1,
|
|
26913
26913
|
x: ee.x - ee.width / 2,
|
|
26914
26914
|
y: ee.absoluteValue > 0 ? ee.y : y.value,
|
|
@@ -27014,7 +27014,7 @@ const PS = ["id"], zS = ["viewBox"], OS = { key: 0 }, RS = ["font-size", "fill",
|
|
|
27014
27014
|
bottom: C.value.height - i.value.style.layout.padding.bottom,
|
|
27015
27015
|
height: C.value.height - i.value.style.layout.padding.top - i.value.style.layout.padding.bottom,
|
|
27016
27016
|
width: C.value.width - i.value.style.layout.padding.right - i.value.style.layout.padding.left
|
|
27017
|
-
})), Q = ve(() => Math.max(...l.dataset.flatMap((j) => j.values))), X = ve(() => Math.min(...l.dataset.flatMap((j) => j.values))),
|
|
27017
|
+
})), Q = ve(() => Math.max(...l.dataset.flatMap((j) => j.values))), X = ve(() => Math.min(...l.dataset.flatMap((j) => j.values))), V = ve(() => {
|
|
27018
27018
|
const j = l.dataset.flatMap((P) => P.values);
|
|
27019
27019
|
return j.reduce((P, I) => P + I, 0) / j.length;
|
|
27020
27020
|
}), N = ve(() => ({
|
|
@@ -27028,16 +27028,16 @@ const PS = ["id"], zS = ["viewBox"], OS = { key: 0 }, RS = ["font-size", "fill",
|
|
|
27028
27028
|
};
|
|
27029
27029
|
}), ee = ve(() => l.dataset.map((j) => ({
|
|
27030
27030
|
...j,
|
|
27031
|
-
temperatures: j.values.map((k, P) => k >=
|
|
27031
|
+
temperatures: j.values.map((k, P) => k >= V.value ? {
|
|
27032
27032
|
side: "up",
|
|
27033
|
-
ratio: Math.abs(Math.abs(k -
|
|
27033
|
+
ratio: Math.abs(Math.abs(k - V.value) / Math.abs(Q.value - V.value)) > 1 ? 1 : Math.abs(Math.abs(k - V.value) / Math.abs(Q.value - V.value)),
|
|
27034
27034
|
value: k,
|
|
27035
27035
|
yAxisName: j.name,
|
|
27036
27036
|
xAxisName: ie.value.xLabels[P],
|
|
27037
27037
|
id: `vue-data-ui-heatmap-cell-${Math.random()}`
|
|
27038
27038
|
} : {
|
|
27039
27039
|
side: "down",
|
|
27040
|
-
ratio: Math.abs(1 - Math.abs(k) / Math.abs(
|
|
27040
|
+
ratio: Math.abs(1 - Math.abs(k) / Math.abs(V.value)) > 1 ? 1 : Math.abs(1 - Math.abs(k) / Math.abs(V.value)),
|
|
27041
27041
|
value: k,
|
|
27042
27042
|
yAxisName: j.name,
|
|
27043
27043
|
xAxisName: ie.value.xLabels[P],
|
|
@@ -27418,7 +27418,7 @@ const fQ = ["id"], gQ = ["viewBox"], vQ = { key: 0 }, yQ = ["font-size", "fill",
|
|
|
27418
27418
|
fontSize: y.value.style.legend.fontSize,
|
|
27419
27419
|
paddingBottom: 12,
|
|
27420
27420
|
fontWeight: y.value.style.legend.bold ? "bold" : ""
|
|
27421
|
-
})),
|
|
27421
|
+
})), V = ve(() => Q.value.map((he, F) => ({
|
|
27422
27422
|
...he,
|
|
27423
27423
|
plots: he.values.map((M) => ({
|
|
27424
27424
|
x: w.value.left + (M.x + Math.abs(C.value.xMin)) / (C.value.xMax + Math.abs(C.value.xMin)) * w.value.width,
|
|
@@ -27431,17 +27431,17 @@ const fQ = ["id"], gQ = ["viewBox"], vQ = { key: 0 }, yQ = ["font-size", "fill",
|
|
|
27431
27431
|
color: he.color ? he.color : Ze[F] || Ze[F % Ze.length],
|
|
27432
27432
|
id: `plot_${a.value}_${Math.random()}`
|
|
27433
27433
|
}))
|
|
27434
|
-
})).filter((he) => !D.value.includes(he.id))), N = ve(() =>
|
|
27434
|
+
})).filter((he) => !D.value.includes(he.id))), N = ve(() => V.value.map((he) => {
|
|
27435
27435
|
const F = he.plots.reduce((se, oe) => se + oe.x, 0) / he.plots.length, M = he.plots.reduce((se, oe) => se + oe.y, 0) / he.plots.length;
|
|
27436
27436
|
let T = 0, H = 0, ae = 0;
|
|
27437
27437
|
for (const se of he.plots)
|
|
27438
27438
|
T += (se.x - F) * (se.y - M), H += (se.x - F) ** 2, ae += (se.y - M) ** 2;
|
|
27439
|
-
const
|
|
27439
|
+
const K = T / Math.sqrt(H * ae), ue = K * (Math.sqrt(ae) / Math.sqrt(H)), Z = M - ue * F, G = {
|
|
27440
27440
|
x1: w.value.left,
|
|
27441
27441
|
x2: w.value.right,
|
|
27442
27442
|
y1: ue * w.value.left + Z,
|
|
27443
27443
|
y2: ue * w.value.right + Z,
|
|
27444
|
-
coefficient:
|
|
27444
|
+
coefficient: K
|
|
27445
27445
|
}, q = (G.y2 - G.y1) / (G.x2 - G.x1), L = G.y1 - q * G.x1, de = Math.min(v.value.width - y.value.style.layout.padding.right, Math.max(y.value.style.layout.padding.left, (w.value.top - L) / q)), E = {
|
|
27446
27446
|
x: de,
|
|
27447
27447
|
y: q * de + L <= y.value.style.layout.padding.top ? w.value.top : q * de + L
|
|
@@ -27511,8 +27511,8 @@ const fQ = ["id"], gQ = ["viewBox"], vQ = { key: 0 }, yQ = ["font-size", "fill",
|
|
|
27511
27511
|
H.name,
|
|
27512
27512
|
H.correlation.coefficient,
|
|
27513
27513
|
H.plots.length,
|
|
27514
|
-
H.plots.map((ae) => ae.v.x).reduce((ae,
|
|
27515
|
-
H.plots.map((ae) => ae.v.y).reduce((ae,
|
|
27514
|
+
H.plots.map((ae) => ae.v.x).reduce((ae, K) => ae + K, 0) / H.plots.length,
|
|
27515
|
+
H.plots.map((ae) => ae.v.y).reduce((ae, K) => ae + K, 0) / H.plots.length
|
|
27516
27516
|
]), M = [[y.value.style.title.text], [y.value.style.title.subtitle.text], [[""], [""], [""]]].concat([he]).concat(F), T = Vo(M);
|
|
27517
27517
|
Ko({ csvContent: T, title: y.value.style.title.text || "vue-ui-heatmap" });
|
|
27518
27518
|
});
|
|
@@ -27630,7 +27630,7 @@ const fQ = ["id"], gQ = ["viewBox"], vQ = { key: 0 }, yQ = ["font-size", "fill",
|
|
|
27630
27630
|
fill: `${M.color}${ke(Ke)[y.value.style.layout.plots.opacity * 100]}`,
|
|
27631
27631
|
stroke: y.value.style.layout.plots.stroke,
|
|
27632
27632
|
"stroke-width": y.value.style.layout.plots.strokeWidth,
|
|
27633
|
-
onMouseover: (
|
|
27633
|
+
onMouseover: (K) => fe(H),
|
|
27634
27634
|
onMouseleave: pe,
|
|
27635
27635
|
style: U(`opacity:${y.value.style.layout.plots.significance.show && Math.abs(H.deviation) > y.value.style.layout.plots.significance.deviationThreshold ? y.value.style.layout.plots.significance.opacity : 1}`)
|
|
27636
27636
|
}, null, 44, BQ))), 256))
|
|
@@ -27642,7 +27642,7 @@ const fQ = ["id"], gQ = ["viewBox"], vQ = { key: 0 }, yQ = ["font-size", "fill",
|
|
|
27642
27642
|
color: `${M.color}${ke(Ke)[y.value.style.layout.plots.opacity * 100]}`,
|
|
27643
27643
|
stroke: y.value.style.layout.plots.stroke,
|
|
27644
27644
|
strokeWidth: y.value.style.layout.plots.strokeWidth,
|
|
27645
|
-
onMouseover: (
|
|
27645
|
+
onMouseover: (K) => fe(H),
|
|
27646
27646
|
onMouseleave: pe,
|
|
27647
27647
|
style: U(`opacity:${y.value.style.layout.plots.significance.show && Math.abs(H.deviation) > y.value.style.layout.plots.significance.deviationThreshold ? y.value.style.layout.plots.significance.opacity : 1}`)
|
|
27648
27648
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
@@ -27893,13 +27893,13 @@ const XQ = ["id"], qQ = ["viewBox"], YQ = { key: 0 }, JQ = ["id"], ZQ = ["stop-c
|
|
|
27893
27893
|
if (F && M && H) {
|
|
27894
27894
|
let ae = function() {
|
|
27895
27895
|
parseInt(M.value) - parseInt(F.value) <= T && (F.value = parseInt(M.value) - T), ue();
|
|
27896
|
-
},
|
|
27896
|
+
}, K = function() {
|
|
27897
27897
|
parseInt(M.value) - parseInt(F.value) <= T && (M.value = parseInt(F.value) + T), ue();
|
|
27898
27898
|
}, ue = function() {
|
|
27899
27899
|
let Z = F.value / l.dataset.length * 100, G = M.value / l.dataset.length * 100;
|
|
27900
27900
|
H.style.background = `linear-gradient(to right, #dadae5 ${Z}% , #858585 ${Z}% , #858585 ${G}%, #dadae5 ${G}%)`;
|
|
27901
27901
|
};
|
|
27902
|
-
F.addEventListener("input", ae), M.addEventListener("input",
|
|
27902
|
+
F.addEventListener("input", ae), M.addEventListener("input", K), ae(), K();
|
|
27903
27903
|
}
|
|
27904
27904
|
});
|
|
27905
27905
|
const i = ve(() => Et({
|
|
@@ -27924,7 +27924,7 @@ const XQ = ["id"], qQ = ["viewBox"], YQ = { key: 0 }, JQ = ["id"], ZQ = ["stop-c
|
|
|
27924
27924
|
}), x = ve(() => l.dataset.length), Q = te({
|
|
27925
27925
|
start: 0,
|
|
27926
27926
|
end: x.value
|
|
27927
|
-
}), X = ve(() => l.dataset.slice(Q.value.start, Q.value.end)),
|
|
27927
|
+
}), X = ve(() => l.dataset.slice(Q.value.start, Q.value.end)), V = ve(() => X.value.map((F) => ({
|
|
27928
27928
|
period: F[0],
|
|
27929
27929
|
open: F[1],
|
|
27930
27930
|
high: F[2],
|
|
@@ -27932,8 +27932,8 @@ const XQ = ["id"], qQ = ["viewBox"], YQ = { key: 0 }, JQ = ["id"], ZQ = ["stop-c
|
|
|
27932
27932
|
last: F[4],
|
|
27933
27933
|
volume: F[5]
|
|
27934
27934
|
}))), N = ve(() => C.value.width / X.value.length), ie = ve(() => ({
|
|
27935
|
-
max: Math.max(...
|
|
27936
|
-
min:
|
|
27935
|
+
max: Math.max(...V.value.map((F) => F.high)),
|
|
27936
|
+
min: 0
|
|
27937
27937
|
})), ee = ve(() => ks(ie.value.min, ie.value.max, 10));
|
|
27938
27938
|
function W(F, M) {
|
|
27939
27939
|
return {
|
|
@@ -27943,14 +27943,14 @@ const XQ = ["id"], qQ = ["viewBox"], YQ = { key: 0 }, JQ = ["id"], ZQ = ["stop-c
|
|
|
27943
27943
|
value: F
|
|
27944
27944
|
};
|
|
27945
27945
|
}
|
|
27946
|
-
const fe = ve(() =>
|
|
27947
|
-
const T = W(F.open, M), H = W(F.high, M), ae = W(F.low, M),
|
|
27946
|
+
const fe = ve(() => V.value.map((F, M) => {
|
|
27947
|
+
const T = W(F.open, M), H = W(F.high, M), ae = W(F.low, M), K = W(F.last, M), ue = F.last > F.open;
|
|
27948
27948
|
return {
|
|
27949
27949
|
period: F.period,
|
|
27950
27950
|
open: T,
|
|
27951
27951
|
high: H,
|
|
27952
27952
|
low: ae,
|
|
27953
|
-
last:
|
|
27953
|
+
last: K,
|
|
27954
27954
|
volume: F.volume,
|
|
27955
27955
|
isBullish: ue
|
|
27956
27956
|
};
|
|
@@ -27961,13 +27961,13 @@ const XQ = ["id"], qQ = ["viewBox"], YQ = { key: 0 }, JQ = ["id"], ZQ = ["stop-c
|
|
|
27961
27961
|
const D = ve(() => ee.value.ticks.map((F) => ({
|
|
27962
27962
|
y: C.value.bottom - C.value.height * pe(F),
|
|
27963
27963
|
value: F
|
|
27964
|
-
}))), R = ve(() =>
|
|
27964
|
+
}))), R = ve(() => V.value.map((F) => F.period));
|
|
27965
27965
|
function Ae(F) {
|
|
27966
27966
|
if (d.value = F, i.value.style.tooltip.show) {
|
|
27967
27967
|
let M = "";
|
|
27968
|
-
const { period: T, open: H, high: ae, low:
|
|
27968
|
+
const { period: T, open: H, high: ae, low: K, last: ue, volume: Z, isBullish: G } = fe.value[F], { period: q, open: L, high: de, low: E, last: se, volume: oe } = i.value.translations;
|
|
27969
27969
|
M += `<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="${i.value.style.layout.candle.borderRadius * 3}" stroke="${i.value.style.layout.candle.stroke}" stroke-width="${i.value.style.layout.candle.strokeWidth}"
|
|
27970
|
-
fill="${i.value.style.layout.candle.gradient.show ? G ? `url(#bullish_gradient_${a.value})` : `url(#bearish_gradient_${a.value})` : G ? i.value.style.layout.candle.colors.bullish : i.value.style.layout.candle.colors.bearish}"/></svg>${T}</div>`, M += `${oe} : <b>${isNaN(Z) ? "-" : Number(Z.toFixed(i.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, M += '<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8">', M += `<div>${L} : <b>${i.value.style.tooltip.prefix} ${isNaN(H.value) ? "-" : Number(H.value.toFixed(i.value.style.tooltip.roundingValue)).toLocaleString()} ${i.value.style.tooltip.suffix}</b></div>`, M += `<div>${de} : <b>${i.value.style.tooltip.prefix} ${isNaN(ae.value) ? "-" : Number(ae.value.toFixed(i.value.style.tooltip.roundingValue)).toLocaleString()} ${i.value.style.tooltip.suffix}</b></div>`, M += `<div>${E} : <b>${i.value.style.tooltip.prefix} ${isNaN(
|
|
27970
|
+
fill="${i.value.style.layout.candle.gradient.show ? G ? `url(#bullish_gradient_${a.value})` : `url(#bearish_gradient_${a.value})` : G ? i.value.style.layout.candle.colors.bullish : i.value.style.layout.candle.colors.bearish}"/></svg>${T}</div>`, M += `${oe} : <b>${isNaN(Z) ? "-" : Number(Z.toFixed(i.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, M += '<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8">', M += `<div>${L} : <b>${i.value.style.tooltip.prefix} ${isNaN(H.value) ? "-" : Number(H.value.toFixed(i.value.style.tooltip.roundingValue)).toLocaleString()} ${i.value.style.tooltip.suffix}</b></div>`, M += `<div>${de} : <b>${i.value.style.tooltip.prefix} ${isNaN(ae.value) ? "-" : Number(ae.value.toFixed(i.value.style.tooltip.roundingValue)).toLocaleString()} ${i.value.style.tooltip.suffix}</b></div>`, M += `<div>${E} : <b>${i.value.style.tooltip.prefix} ${isNaN(K.value) ? "-" : Number(K.value.toFixed(i.value.style.tooltip.roundingValue)).toLocaleString()} ${i.value.style.tooltip.suffix}</b></div>`, M += `<div>${se} : <b>${i.value.style.tooltip.prefix} ${isNaN(ue.value) ? "-" : Number(ue.value.toFixed(i.value.style.tooltip.roundingValue)).toLocaleString()} ${i.value.style.tooltip.suffix}</b></div>`, M += "</div>", u.value = `<div style="text-align:right">${M}</div>`, h.value = !0;
|
|
27971
27971
|
}
|
|
27972
27972
|
}
|
|
27973
27973
|
const re = te(null);
|
|
@@ -28384,7 +28384,7 @@ const XQ = ["id"], qQ = ["viewBox"], YQ = { key: 0 }, JQ = ["id"], ZQ = ["stop-c
|
|
|
28384
28384
|
], 4)) : $("", !0)
|
|
28385
28385
|
], 14, XQ));
|
|
28386
28386
|
}
|
|
28387
|
-
}, ET = /* @__PURE__ */ Qt(DL, [["__scopeId", "data-v-
|
|
28387
|
+
}, ET = /* @__PURE__ */ Qt(DL, [["__scopeId", "data-v-c6b6e140"]]);
|
|
28388
28388
|
const PL = ["id"], zL = ["viewBox"], OL = ["id"], RL = ["stop-color"], KL = ["stop-color"], VL = ["id"], jL = ["stop-color"], GL = ["stop-color"], WL = { key: 0 }, XL = ["font-size", "fill", "x"], qL = ["font-size", "fill", "x", "y"], YL = ["x", "y", "width", "height", "fill", "rx"], JL = ["x", "y", "width", "height", "fill", "rx"], ZL = ["x", "y", "width", "height", "fill", "rx"], eU = ["x", "y", "width", "height", "fill", "rx"], tU = { key: 0 }, oU = ["x", "y", "fill", "font-size", "font-weight"], lU = ["x", "y", "fill", "font-size", "font-weight"], rU = { key: 1 }, aU = ["x", "y", "font-size", "fill", "font-weight"], AU = { key: 2 }, nU = { key: 0 }, iU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], uU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], cU = ["x", "y", "font-size", "fill", "font-weight"], hU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dU = ["x", "y", "font-size", "fill", "font-weight"], fU = ["x", "y", "font-size", "fill", "font-weight"], gU = ["x", "y", "width", "height", "fill", "onMouseover"], vU = { key: 0 }, yU = { key: 0 }, pU = {
|
|
28389
28389
|
__name: "vue-ui-age-pyramid",
|
|
28390
28390
|
props: {
|
|
@@ -28431,15 +28431,15 @@ const PL = ["id"], zL = ["viewBox"], OL = ["id"], RL = ["stop-color"], KL = ["st
|
|
|
28431
28431
|
}
|
|
28432
28432
|
};
|
|
28433
28433
|
}), x = ve(() => l.dataset.map((j) => i.value.style.layout.dataLabels.yAxis.display === "age" ? j[1] : j[0])), Q = ve(() => {
|
|
28434
|
-
const j = X(
|
|
28434
|
+
const j = X(V.value / 5), k = [], P = [];
|
|
28435
28435
|
for (let I = 0; I <= 5; I += 1) {
|
|
28436
28436
|
const he = j * I, F = j * (I - 5);
|
|
28437
28437
|
k.push({
|
|
28438
28438
|
value: he,
|
|
28439
|
-
x: C.value.left + C.value.width / 2 + i.value.style.layout.centerSlit.width + he /
|
|
28439
|
+
x: C.value.left + C.value.width / 2 + i.value.style.layout.centerSlit.width + he / V.value * C.value.leftChart.width
|
|
28440
28440
|
}), P.push({
|
|
28441
28441
|
value: Math.abs(F),
|
|
28442
|
-
x: C.value.left + C.value.width / 2 + F /
|
|
28442
|
+
x: C.value.left + C.value.width / 2 + F / V.value * C.value.leftChart.width - i.value.style.layout.centerSlit.width
|
|
28443
28443
|
});
|
|
28444
28444
|
}
|
|
28445
28445
|
return {
|
|
@@ -28454,16 +28454,16 @@ const PL = ["id"], zL = ["viewBox"], OL = ["id"], RL = ["stop-color"], KL = ["st
|
|
|
28454
28454
|
let I;
|
|
28455
28455
|
return j < 0, I = Math.round(j / P) * P, I;
|
|
28456
28456
|
}
|
|
28457
|
-
const
|
|
28457
|
+
const V = ve(() => Math.max(...l.dataset.flatMap((j) => j.slice(-2)))), N = ve(() => l.dataset.length), ie = ve(() => l.dataset.map((j) => ({
|
|
28458
28458
|
segment: j[0],
|
|
28459
28459
|
age: j[1],
|
|
28460
28460
|
left: {
|
|
28461
28461
|
value: j[2],
|
|
28462
|
-
proportionToMax: j[2] /
|
|
28462
|
+
proportionToMax: j[2] / V.value
|
|
28463
28463
|
},
|
|
28464
28464
|
right: {
|
|
28465
28465
|
value: j[3],
|
|
28466
|
-
proportionToMax: j[3] /
|
|
28466
|
+
proportionToMax: j[3] / V.value
|
|
28467
28467
|
}
|
|
28468
28468
|
}))), ee = ve(() => ie.value.map((j, k) => {
|
|
28469
28469
|
const P = C.value.top + C.value.height / N.value * k, I = C.value.height / N.value - i.value.style.layout.bars.gap;
|
|
@@ -28928,7 +28928,7 @@ const bU = (e) => (IA("data-v-f95b5501"), e = e(), MA(), e), wU = {
|
|
|
28928
28928
|
I >= es && (j.width = I);
|
|
28929
28929
|
}
|
|
28930
28930
|
}
|
|
28931
|
-
function
|
|
28931
|
+
function V(j) {
|
|
28932
28932
|
if (i.value = !0, h.value !== null) {
|
|
28933
28933
|
const k = n.value[h.value], P = j.clientX - s.value.x, I = j.clientY - s.value.y, he = k.left + P / y.value.offsetWidth * 100, F = k.top + I / y.value.offsetHeight * 100;
|
|
28934
28934
|
he >= 0 && F >= 0 && he + k.width <= 100 && F + k.height <= 100 && (k.left = he, k.top = F), s.value = { x: j.clientX, y: j.clientY };
|
|
@@ -29017,7 +29017,7 @@ const bU = (e) => (IA("data-v-f95b5501"), e = e(), MA(), e), wU = {
|
|
|
29017
29017
|
b("div", {
|
|
29018
29018
|
class: "vue-ui-dashboard-grid-container",
|
|
29019
29019
|
ref: "container",
|
|
29020
|
-
onMousemove:
|
|
29020
|
+
onMousemove: V,
|
|
29021
29021
|
onMouseup: N,
|
|
29022
29022
|
onTouchmove: fe,
|
|
29023
29023
|
onTouchend: pe,
|
|
@@ -31354,22 +31354,22 @@ const Ho = (e) => (IA("data-v-47a45dc9"), e = e(), MA(), e), sI = {
|
|
|
31354
31354
|
function y(Q) {
|
|
31355
31355
|
if (Q === null)
|
|
31356
31356
|
return null;
|
|
31357
|
-
let X = 0,
|
|
31357
|
+
let X = 0, V = 0;
|
|
31358
31358
|
for (const ie in Q) {
|
|
31359
31359
|
const ee = parseInt(ie), W = Q[ie];
|
|
31360
|
-
X += ee * W,
|
|
31360
|
+
X += ee * W, V += W;
|
|
31361
31361
|
}
|
|
31362
|
-
return
|
|
31362
|
+
return V === 0 ? 0 : X / V;
|
|
31363
31363
|
}
|
|
31364
31364
|
function i(Q) {
|
|
31365
|
-
const X = s.value - Q,
|
|
31365
|
+
const X = s.value - Q, V = 24;
|
|
31366
31366
|
switch (!0) {
|
|
31367
31367
|
case X < 0:
|
|
31368
31368
|
return 0;
|
|
31369
31369
|
case X > 1:
|
|
31370
|
-
return 1 *
|
|
31370
|
+
return 1 * V;
|
|
31371
31371
|
default:
|
|
31372
|
-
return X *
|
|
31372
|
+
return X * V;
|
|
31373
31373
|
}
|
|
31374
31374
|
}
|
|
31375
31375
|
function v(Q) {
|
|
@@ -31390,8 +31390,8 @@ const Ho = (e) => (IA("data-v-47a45dc9"), e = e(), MA(), e), sI = {
|
|
|
31390
31390
|
}
|
|
31391
31391
|
return (Q, X) => (f(), g("div", {
|
|
31392
31392
|
style: U(`background:${n.value.style.backgroundColor};font-family:${n.value.style.fontFamily};width:100%;`),
|
|
31393
|
-
onMouseover: X[20] || (X[20] = (
|
|
31394
|
-
onMouseleave: X[21] || (X[21] = (
|
|
31393
|
+
onMouseover: X[20] || (X[20] = (V) => r.value = !0),
|
|
31394
|
+
onMouseleave: X[21] || (X[21] = (V) => {
|
|
31395
31395
|
r.value = !1, A.value = void 0;
|
|
31396
31396
|
})
|
|
31397
31397
|
}, [
|
|
@@ -31421,10 +31421,10 @@ const Ho = (e) => (IA("data-v-47a45dc9"), e = e(), MA(), e), sI = {
|
|
|
31421
31421
|
class: Ue({ "vue-ui-smiley-rated": !n.value.readonly && s.value === 1 }),
|
|
31422
31422
|
style: U(`cursor:${n.value.readonly ? "default" : "pointer"};height:${n.value.style.itemSize}px;aspect-ratio:1/1;
|
|
31423
31423
|
position:relative`),
|
|
31424
|
-
onMouseenter: X[0] || (X[0] = (
|
|
31425
|
-
onMouseleave: X[1] || (X[1] = (
|
|
31426
|
-
onClick: X[2] || (X[2] = (
|
|
31427
|
-
onKeyup: X[3] || (X[3] = bl((
|
|
31424
|
+
onMouseenter: X[0] || (X[0] = (V) => A.value = 0),
|
|
31425
|
+
onMouseleave: X[1] || (X[1] = (V) => A.value = void 0),
|
|
31426
|
+
onClick: X[2] || (X[2] = (V) => v(1)),
|
|
31427
|
+
onKeyup: X[3] || (X[3] = bl((V) => v(1), ["enter"]))
|
|
31428
31428
|
}, [
|
|
31429
31429
|
n.value.style.tooltip.show && u.value && d.value ? (f(), g("div", {
|
|
31430
31430
|
key: 0,
|
|
@@ -31532,10 +31532,10 @@ const Ho = (e) => (IA("data-v-47a45dc9"), e = e(), MA(), e), sI = {
|
|
|
31532
31532
|
tabindex: "0",
|
|
31533
31533
|
class: Ue({ "vue-ui-smiley-rated": !n.value.readonly && s.value === 2 }),
|
|
31534
31534
|
style: U(`cursor:${n.value.readonly ? "default" : "pointer"};height:${n.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
31535
|
-
onMouseenter: X[4] || (X[4] = (
|
|
31536
|
-
onMouseleave: X[5] || (X[5] = (
|
|
31537
|
-
onClick: X[6] || (X[6] = (
|
|
31538
|
-
onKeyup: X[7] || (X[7] = bl((
|
|
31535
|
+
onMouseenter: X[4] || (X[4] = (V) => A.value = 1),
|
|
31536
|
+
onMouseleave: X[5] || (X[5] = (V) => A.value = void 0),
|
|
31537
|
+
onClick: X[6] || (X[6] = (V) => v(2)),
|
|
31538
|
+
onKeyup: X[7] || (X[7] = bl((V) => v(2), ["enter"]))
|
|
31539
31539
|
}, [
|
|
31540
31540
|
n.value.style.tooltip.show && u.value && d.value ? (f(), g("div", {
|
|
31541
31541
|
key: 0,
|
|
@@ -31643,10 +31643,10 @@ const Ho = (e) => (IA("data-v-47a45dc9"), e = e(), MA(), e), sI = {
|
|
|
31643
31643
|
tabindex: "0",
|
|
31644
31644
|
class: Ue({ "vue-ui-smiley-rated": !n.value.readonly && s.value === 3 }),
|
|
31645
31645
|
style: U(`cursor:${n.value.readonly ? "default" : "pointer"};height:${n.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
31646
|
-
onMouseenter: X[8] || (X[8] = (
|
|
31647
|
-
onMouseleave: X[9] || (X[9] = (
|
|
31648
|
-
onClick: X[10] || (X[10] = (
|
|
31649
|
-
onKeyup: X[11] || (X[11] = bl((
|
|
31646
|
+
onMouseenter: X[8] || (X[8] = (V) => A.value = 2),
|
|
31647
|
+
onMouseleave: X[9] || (X[9] = (V) => A.value = void 0),
|
|
31648
|
+
onClick: X[10] || (X[10] = (V) => v(3)),
|
|
31649
|
+
onKeyup: X[11] || (X[11] = bl((V) => v(3), ["enter"]))
|
|
31650
31650
|
}, [
|
|
31651
31651
|
n.value.style.tooltip.show && u.value && d.value ? (f(), g("div", {
|
|
31652
31652
|
key: 0,
|
|
@@ -31754,10 +31754,10 @@ const Ho = (e) => (IA("data-v-47a45dc9"), e = e(), MA(), e), sI = {
|
|
|
31754
31754
|
tabindex: "0",
|
|
31755
31755
|
class: Ue({ "vue-ui-smiley-rated": !n.value.readonly && s.value === 4 }),
|
|
31756
31756
|
style: U(`cursor:${n.value.readonly ? "default" : "pointer"};height:${n.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
31757
|
-
onMouseenter: X[12] || (X[12] = (
|
|
31758
|
-
onMouseleave: X[13] || (X[13] = (
|
|
31759
|
-
onClick: X[14] || (X[14] = (
|
|
31760
|
-
onKeyup: X[15] || (X[15] = bl((
|
|
31757
|
+
onMouseenter: X[12] || (X[12] = (V) => A.value = 3),
|
|
31758
|
+
onMouseleave: X[13] || (X[13] = (V) => A.value = void 0),
|
|
31759
|
+
onClick: X[14] || (X[14] = (V) => v(4)),
|
|
31760
|
+
onKeyup: X[15] || (X[15] = bl((V) => v(4), ["enter"]))
|
|
31761
31761
|
}, [
|
|
31762
31762
|
n.value.style.tooltip.show && u.value && d.value ? (f(), g("div", {
|
|
31763
31763
|
key: 0,
|
|
@@ -31865,10 +31865,10 @@ const Ho = (e) => (IA("data-v-47a45dc9"), e = e(), MA(), e), sI = {
|
|
|
31865
31865
|
tabindex: "0",
|
|
31866
31866
|
class: Ue({ "vue-ui-smiley-rated": !n.value.readonly && s.value === 5 }),
|
|
31867
31867
|
style: U(`cursor:${n.value.readonly ? "default" : "pointer"};height:${n.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
31868
|
-
onMouseenter: X[16] || (X[16] = (
|
|
31869
|
-
onMouseleave: X[17] || (X[17] = (
|
|
31870
|
-
onClick: X[18] || (X[18] = (
|
|
31871
|
-
onKeyup: X[19] || (X[19] = bl((
|
|
31868
|
+
onMouseenter: X[16] || (X[16] = (V) => A.value = 4),
|
|
31869
|
+
onMouseleave: X[17] || (X[17] = (V) => A.value = void 0),
|
|
31870
|
+
onClick: X[18] || (X[18] = (V) => v(5)),
|
|
31871
|
+
onKeyup: X[19] || (X[19] = bl((V) => v(5), ["enter"]))
|
|
31872
31872
|
}, [
|
|
31873
31873
|
n.value.style.tooltip.show && u.value && d.value ? (f(), g("div", {
|
|
31874
31874
|
key: 0,
|
|
@@ -32002,9 +32002,9 @@ const ZM = ["id"], eE = ["viewBox"], tE = { key: 0 }, oE = ["font-size", "fill",
|
|
|
32002
32002
|
},
|
|
32003
32003
|
setup(e, { expose: t }) {
|
|
32004
32004
|
const l = e;
|
|
32005
|
-
Rc((
|
|
32005
|
+
Rc((K) => ({
|
|
32006
32006
|
"888bad1e": N.value,
|
|
32007
|
-
ea46ca60:
|
|
32007
|
+
ea46ca60: V.value,
|
|
32008
32008
|
"6e48ba9c": ie.value
|
|
32009
32009
|
}));
|
|
32010
32010
|
const a = te(Mt()), o = te(St.vue_ui_relation_circle), r = te(!1), A = te(!1), n = te(null), h = te(0), u = ve(() => Et({
|
|
@@ -32013,68 +32013,68 @@ const ZM = ["id"], eE = ["viewBox"], tE = { key: 0 }, oE = ["font-size", "fill",
|
|
|
32013
32013
|
})), s = te([]), d = ve(() => u.value.style.size * u.value.style.circle.radiusProportion), y = te([]), i = te({}), v = te([]), w = te(0), C = ve(() => l.dataset.slice(0, u.value.style.limit)), x = ve(() => u.value.style.size), Q = ve(() => ({
|
|
32014
32014
|
height: u.value.style.size,
|
|
32015
32015
|
width: u.value.style.size
|
|
32016
|
-
})), X = ve(() => u.value.style.links.curved),
|
|
32016
|
+
})), X = ve(() => u.value.style.links.curved), V = ve(() => `${u.value.style.animation.speedMs}ms`), N = ve(() => d.value * 2), ie = ve(() => d.value * 4);
|
|
32017
32017
|
ml(() => {
|
|
32018
32018
|
W(), fe(), document.getElementById(`relation_circle_${a.value}`).addEventListener("click", ee);
|
|
32019
32019
|
}), tf(() => {
|
|
32020
32020
|
document.getElementById(`relation_circle_${a.value}`).removeEventListener("click", ee);
|
|
32021
32021
|
});
|
|
32022
|
-
function ee(
|
|
32023
|
-
const ue =
|
|
32022
|
+
function ee(K) {
|
|
32023
|
+
const ue = K.target;
|
|
32024
32024
|
ue && Array.from(ue.classList).includes("vue-ui-user-options") || ue && Array.from(ue.classList).includes("vue-ui-user-options-summary") || ue && Array.from(ue.classList).includes("vue-data-ui-button") || ue && Array.from(ue.classList).includes("vue-ui-relation-circle-legend") || (i.value = {}, v.value = []);
|
|
32025
32025
|
}
|
|
32026
32026
|
function W() {
|
|
32027
|
-
const
|
|
32027
|
+
const K = 6.28319 / C.value.length, ue = 360 / C.value.length;
|
|
32028
32028
|
let Z = 0, G = 0;
|
|
32029
32029
|
C.value.forEach((q, L) => {
|
|
32030
32030
|
const de = d.value * Math.cos(Z) + u.value.style.size / 2, E = d.value * Math.sin(Z) + u.value.style.size / 2 + u.value.style.circle.offsetY;
|
|
32031
|
-
s.value.push({ x: de, y: E, ...q, color: q.color ? q.color : Ze[L], regAngle: G }), Z +=
|
|
32031
|
+
s.value.push({ x: de, y: E, ...q, color: q.color ? q.color : Ze[L], regAngle: G }), Z += K, G += ue;
|
|
32032
32032
|
});
|
|
32033
32033
|
}
|
|
32034
32034
|
function fe() {
|
|
32035
|
-
s.value.forEach((
|
|
32036
|
-
s.value.filter((Z) => Z.relations.includes(
|
|
32035
|
+
s.value.forEach((K) => {
|
|
32036
|
+
s.value.filter((Z) => Z.relations.includes(K.id)).forEach((Z, G) => {
|
|
32037
32037
|
y.value.push({
|
|
32038
|
-
weight:
|
|
32039
|
-
relationId: `${
|
|
32040
|
-
x1:
|
|
32041
|
-
y1:
|
|
32038
|
+
weight: K.weights && K.weights[G] ? K.weights[G] : 1,
|
|
32039
|
+
relationId: `${K.id}_${Z.id}`,
|
|
32040
|
+
x1: K.x,
|
|
32041
|
+
y1: K.y,
|
|
32042
32042
|
x2: Z.x,
|
|
32043
32043
|
y2: Z.y,
|
|
32044
|
-
colorSource:
|
|
32044
|
+
colorSource: K.color,
|
|
32045
32045
|
colorTarget: Z.color,
|
|
32046
|
-
...
|
|
32046
|
+
...K
|
|
32047
32047
|
});
|
|
32048
32048
|
});
|
|
32049
32049
|
});
|
|
32050
32050
|
}
|
|
32051
|
-
const pe = ve(() => Math.max(...y.value.map((
|
|
32052
|
-
function D(
|
|
32053
|
-
return Object.hasOwn(i.value, "x") ? v.value.includes(
|
|
32051
|
+
const pe = ve(() => Math.max(...y.value.map((K) => K.weight)));
|
|
32052
|
+
function D(K) {
|
|
32053
|
+
return Object.hasOwn(i.value, "x") ? v.value.includes(K.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
|
|
32054
32054
|
}
|
|
32055
|
-
function R(
|
|
32056
|
-
return Object.hasOwn(i.value, "x") ?
|
|
32055
|
+
function R(K) {
|
|
32056
|
+
return Object.hasOwn(i.value, "x") ? K.colorTarget : K.colorSource;
|
|
32057
32057
|
}
|
|
32058
|
-
function Ae(
|
|
32059
|
-
return Object.hasOwn(i.value, "x") ? v.value.includes(
|
|
32058
|
+
function Ae(K) {
|
|
32059
|
+
return Object.hasOwn(i.value, "x") ? v.value.includes(K.id) && K.relationId === `${K.id}_${i.value.id}` || K.relationId === `${i.value.id}_${K.id}` ? `opacity:1;stroke-width:${P(K)}` : "opacity: 0" : "opacity: 1";
|
|
32060
32060
|
}
|
|
32061
|
-
function re(
|
|
32062
|
-
return
|
|
32061
|
+
function re(K) {
|
|
32062
|
+
return K.regAngle > 90 && K.regAngle < 270 ? "end" : "start";
|
|
32063
32063
|
}
|
|
32064
|
-
function we(
|
|
32065
|
-
return
|
|
32064
|
+
function we(K) {
|
|
32065
|
+
return K.regAngle > 90 && K.regAngle < 270 ? K.x - 5 : K.x + 5;
|
|
32066
32066
|
}
|
|
32067
|
-
function ce(
|
|
32068
|
-
return Object.hasOwn(i.value, "x") ? i.value.id ===
|
|
32067
|
+
function ce(K) {
|
|
32068
|
+
return Object.hasOwn(i.value, "x") ? i.value.id === K.id || v.value.includes(K.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
|
|
32069
32069
|
}
|
|
32070
|
-
function j(
|
|
32071
|
-
return
|
|
32070
|
+
function j(K) {
|
|
32071
|
+
return K.regAngle > 90 && K.regAngle < 270 ? `rotate(${K.regAngle + 180},${K.x},${K.y})` : `rotate(${K.regAngle},${K.x},${K.y})`;
|
|
32072
32072
|
}
|
|
32073
|
-
function k(
|
|
32074
|
-
w.value = 360 -
|
|
32073
|
+
function k(K) {
|
|
32074
|
+
w.value = 360 - K.regAngle, i.value.id && K.id === i.value.id ? (i.value = {}, v.value = []) : (i.value = K, v.value = [...K.relations]);
|
|
32075
32075
|
}
|
|
32076
|
-
function P(
|
|
32077
|
-
return
|
|
32076
|
+
function P(K) {
|
|
32077
|
+
return K.weight / pe.value * u.value.style.links.maxWidth;
|
|
32078
32078
|
}
|
|
32079
32079
|
const I = te(null);
|
|
32080
32080
|
function he() {
|
|
@@ -32105,13 +32105,13 @@ const ZM = ["id"], eE = ["viewBox"], tE = { key: 0 }, oE = ["font-size", "fill",
|
|
|
32105
32105
|
}, 100);
|
|
32106
32106
|
}
|
|
32107
32107
|
const H = te(!1);
|
|
32108
|
-
function ae(
|
|
32109
|
-
H.value =
|
|
32108
|
+
function ae(K) {
|
|
32109
|
+
H.value = K, h.value += 1;
|
|
32110
32110
|
}
|
|
32111
32111
|
return t({
|
|
32112
32112
|
generatePdf: F,
|
|
32113
32113
|
generateImage: T
|
|
32114
|
-
}), (
|
|
32114
|
+
}), (K, ue) => (f(), g("div", {
|
|
32115
32115
|
ref_key: "relationCircleChart",
|
|
32116
32116
|
ref: n,
|
|
32117
32117
|
class: "vue-ui-relation-circle",
|
|
@@ -32241,7 +32241,7 @@ const ZM = ["id"], eE = ["viewBox"], tE = { key: 0 }, oE = ["font-size", "fill",
|
|
|
32241
32241
|
onClick: (q) => k(Z),
|
|
32242
32242
|
r: u.value.style.plot.radius
|
|
32243
32243
|
}, null, 12, uE))), 128)),
|
|
32244
|
-
Dt(
|
|
32244
|
+
Dt(K.$slots, "svg", { svg: Q.value }, void 0, !0)
|
|
32245
32245
|
], 10, eE))
|
|
32246
32246
|
], 12, ZM));
|
|
32247
32247
|
}
|
|
@@ -32292,7 +32292,7 @@ const hE = ["id"], dE = {
|
|
|
32292
32292
|
function w(k, P, I) {
|
|
32293
32293
|
const he = [], F = C(k), M = C(P);
|
|
32294
32294
|
for (let T = 0; T < I; T++) {
|
|
32295
|
-
const H = x(F.red, M.red, T, I), ae = x(F.green, M.green, T, I),
|
|
32295
|
+
const H = x(F.red, M.red, T, I), ae = x(F.green, M.green, T, I), K = x(F.blue, M.blue, T, I), ue = `#${Q(H)}${Q(ae)}${Q(K)}`;
|
|
32296
32296
|
he.push(ue);
|
|
32297
32297
|
}
|
|
32298
32298
|
return he;
|
|
@@ -32321,7 +32321,7 @@ const hE = ["id"], dE = {
|
|
|
32321
32321
|
bottom: P - i.value.bottom,
|
|
32322
32322
|
height: P
|
|
32323
32323
|
};
|
|
32324
|
-
}),
|
|
32324
|
+
}), V = ve(() => X.value), N = ve(() => {
|
|
32325
32325
|
const k = l.dataset.from < 0 ? Math.abs(l.dataset.from) : l.dataset.from, P = l.dataset.to < 0 ? Math.abs(l.dataset.to) : l.dataset.to;
|
|
32326
32326
|
let I = 0;
|
|
32327
32327
|
return l.dataset.to > 0 ? I = k + P : k > P ? I = k - P : I = P - k, (1 - (Math.abs(l.dataset.from) + l.dataset.value) / I) * (X.value.height - i.value.top - i.value.bottom);
|
|
@@ -32608,7 +32608,7 @@ const hE = ["id"], dE = {
|
|
|
32608
32608
|
"font-size": u.value.style.chart.label.fontSize,
|
|
32609
32609
|
"font-weight": u.value.style.chart.label.bold ? "bold" : "normal"
|
|
32610
32610
|
}, S(isNaN(e.dataset.value) ? "" : Number(e.dataset.value.toFixed(u.value.style.chart.label.rounding)).toLocaleString()), 11, NE),
|
|
32611
|
-
Dt(k.$slots, "svg", { svg:
|
|
32611
|
+
Dt(k.$slots, "svg", { svg: V.value }, void 0, !0)
|
|
32612
32612
|
], 10, fE))
|
|
32613
32613
|
], 14, hE));
|
|
32614
32614
|
}
|
|
@@ -32798,13 +32798,13 @@ const hE = ["id"], dE = {
|
|
|
32798
32798
|
return Math.abs(s) / A.value;
|
|
32799
32799
|
}
|
|
32800
32800
|
const h = ve(() => t.dataset.map((s, d) => {
|
|
32801
|
-
const y = n(s.value), i = r.value.drawingHeight * y, v = r.value.drawingWidth / t.dataset.length, w = v * (o.value.style.bars.gap / 100), C = v - w, x = r.value.centerY - i / 2, Q = r.value.left + (w / 2 + d * v), X = r.value.left + d * v,
|
|
32801
|
+
const y = n(s.value), i = r.value.drawingHeight * y, v = r.value.drawingWidth / t.dataset.length, w = v * (o.value.style.bars.gap / 100), C = v - w, x = r.value.centerY - i / 2, Q = r.value.left + (w / 2 + d * v), X = r.value.left + d * v, V = typeof s.intensity > "u" ? 100 : Math.round(s.intensity * 100), N = s.value >= 0 ? `${o.value.style.bars.colors.positive}${Ke[V]}` : `${o.value.style.bars.colors.negative}${Ke[V]}`, ie = s.value >= 0 ? o.value.style.bars.colors.positive : o.value.style.bars.colors.negative, ee = s.value >= 0 ? `url(#gradient_positive_${d}_${l.value})` : `url(#gradient_negative_${d}_${l.value})`, W = Q + C / 2;
|
|
32802
32802
|
return {
|
|
32803
32803
|
...s,
|
|
32804
32804
|
color: N,
|
|
32805
32805
|
gradient: ee,
|
|
32806
32806
|
height: i,
|
|
32807
|
-
intensity:
|
|
32807
|
+
intensity: V,
|
|
32808
32808
|
proportion: y,
|
|
32809
32809
|
stroke: ie,
|
|
32810
32810
|
textAnchor: W,
|
|
@@ -32979,15 +32979,15 @@ const d$ = ["id"], f$ = ["viewBox"], g$ = ["id"], v$ = ["stop-color"], y$ = ["st
|
|
|
32979
32979
|
const X = ve(() => Math.max(
|
|
32980
32980
|
...N.value.filter((M) => !x.value.includes(M.uid)).map(({ value: M }) => M)
|
|
32981
32981
|
));
|
|
32982
|
-
function
|
|
32982
|
+
function V(M) {
|
|
32983
32983
|
return M / X.value;
|
|
32984
32984
|
}
|
|
32985
32985
|
const N = ve(() => a.dataset.map(({ values: M, name: T, color: H = null }, ae) => {
|
|
32986
|
-
const
|
|
32986
|
+
const K = M.reduce((ue, Z) => ue + Z, 0);
|
|
32987
32987
|
return {
|
|
32988
32988
|
name: T,
|
|
32989
32989
|
color: H || Bt(H) || Ze[ae] || Ze[ae % Ze.length],
|
|
32990
|
-
value:
|
|
32990
|
+
value: K,
|
|
32991
32991
|
uid: Mt()
|
|
32992
32992
|
};
|
|
32993
32993
|
})), ie = ve(() => N.value.map((M) => ({
|
|
@@ -33001,23 +33001,23 @@ const d$ = ["id"], f$ = ["viewBox"], g$ = ["id"], v$ = ["stop-color"], y$ = ["st
|
|
|
33001
33001
|
fontSize: v.value.style.chart.legend.fontSize,
|
|
33002
33002
|
paddingBottom: 12,
|
|
33003
33003
|
fontWeight: v.value.style.chart.legend.bold ? "bold" : ""
|
|
33004
|
-
})), W = ve(() => N.value.filter((M) => !x.value.includes(M.uid)).map(({ value: M }) => M).reduce((M, T) => M + T, 0)), fe = ve(() => N.value.filter((M) => !x.value.includes(M.uid)).map(({ name: M, value: T, color: H = null, uid: ae },
|
|
33004
|
+
})), W = ve(() => N.value.filter((M) => !x.value.includes(M.uid)).map(({ value: M }) => M).reduce((M, T) => M + T, 0)), fe = ve(() => N.value.filter((M) => !x.value.includes(M.uid)).map(({ name: M, value: T, color: H = null, uid: ae }, K) => ({
|
|
33005
33005
|
uid: ae,
|
|
33006
33006
|
name: M,
|
|
33007
|
-
color: H || Bt(H) || Ze[
|
|
33007
|
+
color: H || Bt(H) || Ze[K] || Ze[K % Ze.length],
|
|
33008
33008
|
value: T,
|
|
33009
|
-
proportion:
|
|
33009
|
+
proportion: V(T),
|
|
33010
33010
|
percentage: T / W.value * 100,
|
|
33011
|
-
strokeWidth: v.value.style.chart.layout.rings.strokeWidth *
|
|
33011
|
+
strokeWidth: v.value.style.chart.layout.rings.strokeWidth * V(T)
|
|
33012
33012
|
})).toSorted((M, T) => T.value - M.value));
|
|
33013
33013
|
function pe() {
|
|
33014
33014
|
return fe.value.map(
|
|
33015
|
-
({ name: M, color: T, value: H, absoluteValues: ae, percentage:
|
|
33015
|
+
({ name: M, color: T, value: H, absoluteValues: ae, percentage: K }) => ({
|
|
33016
33016
|
name: M,
|
|
33017
33017
|
color: T,
|
|
33018
33018
|
value: H,
|
|
33019
33019
|
absoluteValues: ae,
|
|
33020
|
-
percentage:
|
|
33020
|
+
percentage: K
|
|
33021
33021
|
})
|
|
33022
33022
|
);
|
|
33023
33023
|
}
|
|
@@ -33075,13 +33075,13 @@ const d$ = ["id"], f$ = ["viewBox"], g$ = ["id"], v$ = ["stop-color"], y$ = ["st
|
|
|
33075
33075
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
33076
33076
|
Number(W.value.toFixed(v.value.table.td.roundingValue)).toLocaleString(),
|
|
33077
33077
|
"100%"
|
|
33078
|
-
], T = k.value.head.map((ae,
|
|
33078
|
+
], T = k.value.head.map((ae, K) => [
|
|
33079
33079
|
{
|
|
33080
33080
|
color: ae.color,
|
|
33081
33081
|
name: ae.name
|
|
33082
33082
|
},
|
|
33083
|
-
k.value.body[
|
|
33084
|
-
isNaN(k.value.body[
|
|
33083
|
+
k.value.body[K].toFixed(v.value.table.td.roundingValue),
|
|
33084
|
+
isNaN(k.value.body[K] / W.value) ? "-" : (k.value.body[K] / W.value * 100).toFixed(v.value.table.td.roundingPercentage) + "%"
|
|
33085
33085
|
]), H = {
|
|
33086
33086
|
th: {
|
|
33087
33087
|
backgroundColor: v.value.table.th.backgroundColor,
|
|
@@ -33102,9 +33102,9 @@ const d$ = ["id"], f$ = ["viewBox"], g$ = ["id"], v$ = ["stop-color"], y$ = ["st
|
|
|
33102
33102
|
});
|
|
33103
33103
|
function I() {
|
|
33104
33104
|
Ro(() => {
|
|
33105
|
-
const M = k.value.head.map((ae,
|
|
33105
|
+
const M = k.value.head.map((ae, K) => [[
|
|
33106
33106
|
ae.name
|
|
33107
|
-
], [k.value.body[
|
|
33107
|
+
], [k.value.body[K]], [isNaN(k.value.body[K] / W.value) ? "-" : k.value.body[K] / W.value * 100]]), T = [[v.value.style.chart.title.text], [v.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(M), H = Vo(T);
|
|
33108
33108
|
Ko({ csvContent: H, title: v.value.style.chart.title.text || "vue-ui-rings" });
|
|
33109
33109
|
});
|
|
33110
33110
|
}
|
|
@@ -33226,8 +33226,8 @@ const d$ = ["id"], f$ = ["viewBox"], g$ = ["id"], v$ = ["stop-color"], y$ = ["st
|
|
|
33226
33226
|
cy: C.value.height * 0.95 - D.value * 0.9 * H.proportion / 2 - H.strokeWidth / 2,
|
|
33227
33227
|
r: D.value * H.proportion / 2 * 0.9,
|
|
33228
33228
|
fill: "transparent",
|
|
33229
|
-
onMouseenter: (
|
|
33230
|
-
onMouseleave: T[1] || (T[1] = (
|
|
33229
|
+
onMouseenter: (K) => R(ae),
|
|
33230
|
+
onMouseleave: T[1] || (T[1] = (K) => {
|
|
33231
33231
|
y.value = null, s.value = !1;
|
|
33232
33232
|
})
|
|
33233
33233
|
}, null, 40, w$)
|
|
@@ -33352,7 +33352,7 @@ const F$ = ["id"], _$ = ["viewBox"], S$ = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
33352
33352
|
function X() {
|
|
33353
33353
|
r.value = !0;
|
|
33354
33354
|
}
|
|
33355
|
-
function
|
|
33355
|
+
function V() {
|
|
33356
33356
|
X(), clearTimeout(C.value), C.value = setTimeout(() => {
|
|
33357
33357
|
uo({
|
|
33358
33358
|
domElement: document.getElementById(`${a.value}`),
|
|
@@ -33369,7 +33369,7 @@ const F$ = ["id"], _$ = ["viewBox"], S$ = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
33369
33369
|
}
|
|
33370
33370
|
return t({
|
|
33371
33371
|
generatePdf: Q,
|
|
33372
|
-
generateImage:
|
|
33372
|
+
generateImage: V
|
|
33373
33373
|
}), (ee, W) => (f(), g("div", {
|
|
33374
33374
|
class: "vue-ui-wheel",
|
|
33375
33375
|
ref_key: "wheelChart",
|
|
@@ -33417,7 +33417,7 @@ const F$ = ["id"], _$ = ["viewBox"], S$ = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
33417
33417
|
chartElement: n.value,
|
|
33418
33418
|
onToggleFullscreen: ie,
|
|
33419
33419
|
onGeneratePdf: Q,
|
|
33420
|
-
onGenerateImage:
|
|
33420
|
+
onGenerateImage: V
|
|
33421
33421
|
}, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "title", "uid", "isFullscreen", "chartElement"])) : $("", !0),
|
|
33422
33422
|
(f(), g("svg", {
|
|
33423
33423
|
class: Ue({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
@@ -33556,11 +33556,11 @@ const I$ = ["id"], M$ = ["viewBox"], E$ = { key: 0 }, $$ = ["d", "stroke-width",
|
|
|
33556
33556
|
fill: u.value.style.chart.percentage.color
|
|
33557
33557
|
};
|
|
33558
33558
|
}), X = te(null);
|
|
33559
|
-
function
|
|
33559
|
+
function V() {
|
|
33560
33560
|
A.value = !0;
|
|
33561
33561
|
}
|
|
33562
33562
|
function N() {
|
|
33563
|
-
|
|
33563
|
+
V(), clearTimeout(X.value), X.value = setTimeout(() => {
|
|
33564
33564
|
ro({
|
|
33565
33565
|
domElement: document.getElementById(`${a.value}`),
|
|
33566
33566
|
fileName: u.value.style.chart.title.text || "vue-ui-tiremarks"
|
|
@@ -33720,10 +33720,10 @@ const P$ = ["id"], z$ = ["viewBox"], O$ = ["id"], R$ = ["stop-color"], K$ = ["st
|
|
|
33720
33720
|
color: Bt(L.color) || Ze[de] || Ze[de % Ze.length],
|
|
33721
33721
|
length: L.values.length,
|
|
33722
33722
|
uid: Mt()
|
|
33723
|
-
}))),
|
|
33723
|
+
}))), V = ve(() => X.value.filter((L) => !h.value.includes(L.uid))), N = ve(() => Math.max(...V.value.map((L) => L.length))), ie = ve(() => Q.value.width / N.value), ee = ve(() => {
|
|
33724
33724
|
const L = [];
|
|
33725
33725
|
for (let se = 0; se < N.value; se += 1) {
|
|
33726
|
-
const oe =
|
|
33726
|
+
const oe = V.value.map((Re) => Re.values[se] ?? null), Me = oe.filter((Re) => [void 0, null].includes(Re)).length === oe.length, ze = oe.reduce((Re, Ve) => Re + Ve, 0), De = oe.map((Re) => Re / ze), Te = x.value.left + ie.value * se + ie.value / 2;
|
|
33727
33727
|
L.push({
|
|
33728
33728
|
index: se,
|
|
33729
33729
|
percentages: De,
|
|
@@ -33740,14 +33740,14 @@ const P$ = ["id"], z$ = ["viewBox"], O$ = ["id"], R$ = ["stop-color"], K$ = ["st
|
|
|
33740
33740
|
y: Te,
|
|
33741
33741
|
radius: ze,
|
|
33742
33742
|
donut: Ia({
|
|
33743
|
-
series:
|
|
33743
|
+
series: V.value.map((Re, Ve) => ({
|
|
33744
33744
|
color: Re.color,
|
|
33745
33745
|
name: Re.name,
|
|
33746
33746
|
value: Re.values[oe] ?? 0
|
|
33747
33747
|
}))
|
|
33748
33748
|
}, se.x, Te, De, De),
|
|
33749
33749
|
donutFocus: Ia({
|
|
33750
|
-
series:
|
|
33750
|
+
series: V.value.map((Re, Ve) => ({
|
|
33751
33751
|
color: Re.color,
|
|
33752
33752
|
name: Re.name,
|
|
33753
33753
|
value: Re.values[oe] ?? 0
|
|
@@ -33817,7 +33817,7 @@ const P$ = ["id"], z$ = ["viewBox"], O$ = ["id"], R$ = ["stop-color"], K$ = ["st
|
|
|
33817
33817
|
l("selectLegend", ee.value), y.value && (y.value = {
|
|
33818
33818
|
...y.value,
|
|
33819
33819
|
donutFocus: Ia({
|
|
33820
|
-
series:
|
|
33820
|
+
series: V.value.map((de, E) => ({
|
|
33821
33821
|
color: de.color,
|
|
33822
33822
|
name: de.name,
|
|
33823
33823
|
value: de.values[y.value.index] ?? 0
|
|
@@ -33849,7 +33849,7 @@ const P$ = ["id"], z$ = ["viewBox"], O$ = ["id"], R$ = ["stop-color"], K$ = ["st
|
|
|
33849
33849
|
});
|
|
33850
33850
|
}, 100);
|
|
33851
33851
|
}
|
|
33852
|
-
const
|
|
33852
|
+
const K = ve(() => {
|
|
33853
33853
|
const L = [""].concat(X.value.filter((se) => !h.value.includes(se.uid)).map((se) => ({
|
|
33854
33854
|
name: se.name,
|
|
33855
33855
|
color: se.color
|
|
@@ -33881,7 +33881,7 @@ const P$ = ["id"], z$ = ["viewBox"], O$ = ["id"], R$ = ["stop-color"], K$ = ["st
|
|
|
33881
33881
|
}
|
|
33882
33882
|
function Z() {
|
|
33883
33883
|
Ro(() => {
|
|
33884
|
-
const L = [[w.value.style.chart.title.text], [w.value.style.chart.title.subtitle.text], [""]], de = [...
|
|
33884
|
+
const L = [[w.value.style.chart.title.text], [w.value.style.chart.title.subtitle.text], [""]], de = [...K.value.head.map((Me) => Me.name ?? Me)], E = [...K.value.body.map((Me) => Me.map((ze) => ze.value ?? ze))], se = L.concat([de]).concat(E), oe = Vo(se);
|
|
33885
33885
|
Ko({ csvContent: oe, title: w.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
33886
33886
|
});
|
|
33887
33887
|
}
|
|
@@ -34286,9 +34286,9 @@ const P$ = ["id"], z$ = ["viewBox"], O$ = ["id"], R$ = ["stop-color"], K$ = ["st
|
|
|
34286
34286
|
}, 8, ["legendSet", "config"])) : $("", !0),
|
|
34287
34287
|
C.value.showTable ? (f(), ot($a, {
|
|
34288
34288
|
key: 3,
|
|
34289
|
-
head:
|
|
34290
|
-
body:
|
|
34291
|
-
config:
|
|
34289
|
+
head: K.value.head,
|
|
34290
|
+
body: K.value.body,
|
|
34291
|
+
config: K.value.config,
|
|
34292
34292
|
title: `${w.value.style.chart.title.text}${w.value.style.chart.title.subtitle.text ? ` : ${w.value.style.chart.title.subtitle.text}` : ""}`
|
|
34293
34293
|
}, {
|
|
34294
34294
|
th: Ut(({ th: E }) => [
|
|
@@ -34374,7 +34374,7 @@ const H9 = ["id"], D9 = ["viewBox"], P9 = ["id"], z9 = ["stop-color"], O9 = ["st
|
|
|
34374
34374
|
paddingBottom: 12,
|
|
34375
34375
|
fontWeight: s.value.style.chart.legend.bold ? "bold" : ""
|
|
34376
34376
|
}));
|
|
34377
|
-
function
|
|
34377
|
+
function V(ce) {
|
|
34378
34378
|
ce === u.value ? u.value = null : u.value = ce;
|
|
34379
34379
|
}
|
|
34380
34380
|
const N = te(null);
|
|
@@ -34696,7 +34696,7 @@ const H9 = ["id"], D9 = ["viewBox"], P9 = ["id"], z9 = ["stop-color"], O9 = ["st
|
|
|
34696
34696
|
}, {
|
|
34697
34697
|
item: Ut(({ legend: k, index: P }) => [
|
|
34698
34698
|
b("div", {
|
|
34699
|
-
onClick: () =>
|
|
34699
|
+
onClick: () => V(k.key),
|
|
34700
34700
|
style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" }
|
|
34701
34701
|
}, [
|
|
34702
34702
|
k.key == 1 ? (f(), ot(yo, {
|
|
@@ -34850,7 +34850,7 @@ const cN = ["id"], hN = ["viewBox"], dN = ["id"], fN = ["stop-color"], gN = ["st
|
|
|
34850
34850
|
}, 100);
|
|
34851
34851
|
}
|
|
34852
34852
|
const X = te(!1);
|
|
34853
|
-
function
|
|
34853
|
+
function V(N) {
|
|
34854
34854
|
X.value = N;
|
|
34855
34855
|
}
|
|
34856
34856
|
return t({
|
|
@@ -34899,7 +34899,7 @@ const cN = ["id"], hN = ["viewBox"], dN = ["id"], fN = ["stop-color"], gN = ["st
|
|
|
34899
34899
|
hasImg: "",
|
|
34900
34900
|
hasFullscreen: "",
|
|
34901
34901
|
chartElement: h.value,
|
|
34902
|
-
onToggleFullscreen:
|
|
34902
|
+
onToggleFullscreen: V,
|
|
34903
34903
|
hasXls: !1,
|
|
34904
34904
|
onGeneratePdf: C,
|
|
34905
34905
|
onGenerateImage: Q
|
|
@@ -35526,8 +35526,8 @@ const uT = ["id"], cT = ["viewBox"], hT = ["id"], dT = ["stop-color"], fT = ["st
|
|
|
35526
35526
|
width: E
|
|
35527
35527
|
};
|
|
35528
35528
|
}
|
|
35529
|
-
const
|
|
35530
|
-
function ie(L, de = { x: -
|
|
35529
|
+
const V = te(X()), N = te(`0 0 ${V.value.width} ${V.value.height}`);
|
|
35530
|
+
function ie(L, de = { x: -V.value.width / 2.43, y: V.value.height / 2 }, E = V.value.width / 1.1, se = 24, oe = 0, Me = 0, ze = "#BBBBBB") {
|
|
35531
35531
|
if (L && L.length > 0) {
|
|
35532
35532
|
const De = ko({
|
|
35533
35533
|
plot: de,
|
|
@@ -35573,7 +35573,7 @@ const uT = ["id"], cT = ["viewBox"], hT = ["id"], dT = ["stop-color"], fT = ["st
|
|
|
35573
35573
|
function pe() {
|
|
35574
35574
|
y.value = !1, d.value = null, v.value = null, i.value = null, R({
|
|
35575
35575
|
polygonPath: {
|
|
35576
|
-
coordinates: [{ x:
|
|
35576
|
+
coordinates: [{ x: V.value.width / 2, y: V.value.height / 2 }]
|
|
35577
35577
|
},
|
|
35578
35578
|
circleRadius: 24
|
|
35579
35579
|
});
|
|
@@ -35656,7 +35656,7 @@ const uT = ["id"], cT = ["viewBox"], hT = ["id"], dT = ["stop-color"], fT = ["st
|
|
|
35656
35656
|
}
|
|
35657
35657
|
return E(L), de;
|
|
35658
35658
|
}
|
|
35659
|
-
const ae = ve(() => H(fe.value)),
|
|
35659
|
+
const ae = ve(() => H(fe.value)), K = ve(() => {
|
|
35660
35660
|
const L = [
|
|
35661
35661
|
C.value.table.translations.nodeName,
|
|
35662
35662
|
C.value.table.translations.details,
|
|
@@ -35688,7 +35688,7 @@ const uT = ["id"], cT = ["viewBox"], hT = ["id"], dT = ["stop-color"], fT = ["st
|
|
|
35688
35688
|
});
|
|
35689
35689
|
function ue() {
|
|
35690
35690
|
Ro(() => {
|
|
35691
|
-
const L =
|
|
35691
|
+
const L = K.value.body.map((se, oe) => [[se[0].name], [se[1]], [se[2]]]), de = [[C.value.style.chart.title.text], [C.value.style.chart.title.subtitle.text], [[...K.value.head]]].concat(L), E = Vo(de);
|
|
35692
35692
|
Ko({ csvContent: E, title: C.value.style.chart.title.text || "vue-ui-molecule" });
|
|
35693
35693
|
});
|
|
35694
35694
|
}
|
|
@@ -35803,7 +35803,7 @@ const uT = ["id"], cT = ["viewBox"], hT = ["id"], dT = ["stop-color"], fT = ["st
|
|
|
35803
35803
|
color: C.value.style.chart.color,
|
|
35804
35804
|
hoveredUid: j.value
|
|
35805
35805
|
}, null, 8, ["dataset", "color", "hoveredUid"])) : $("", !0),
|
|
35806
|
-
Dt(L.$slots, "svg", { svg:
|
|
35806
|
+
Dt(L.$slots, "svg", { svg: V.value }, void 0, !0)
|
|
35807
35807
|
], 14, cT)),
|
|
35808
35808
|
y.value ? (f(), ot(sT, {
|
|
35809
35809
|
key: `direction_pad_${w.value}`,
|
|
@@ -35826,9 +35826,9 @@ const uT = ["id"], cT = ["viewBox"], hT = ["id"], dT = ["stop-color"], fT = ["st
|
|
|
35826
35826
|
}, null, 8, ["show", "backgroundColor", "color", "parent", "content"]),
|
|
35827
35827
|
x.value.showTable ? (f(), ot($a, {
|
|
35828
35828
|
key: 3,
|
|
35829
|
-
head:
|
|
35830
|
-
body:
|
|
35831
|
-
config:
|
|
35829
|
+
head: K.value.head,
|
|
35830
|
+
body: K.value.body,
|
|
35831
|
+
config: K.value.config,
|
|
35832
35832
|
title: `${C.value.style.chart.title.text}${C.value.style.chart.title.subtitle.text ? ` : ${C.value.style.chart.title.subtitle.text}` : ""}`
|
|
35833
35833
|
}, {
|
|
35834
35834
|
th: Ut(({ th: E }) => [
|