@turquoisehealth/pit-viper 2.63.1-dev.5 → 2.63.1-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pv-components/dist/vue/charts/pv-components-charts.js +12 -12
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +220 -219
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +12 -12
- package/pv-components/dist/vue/tables/pv-components-tables.js +1 -1
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +2 -1
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +10 -10
|
@@ -14195,8 +14195,8 @@ var OQ = 18, BQ = [1, 2, 3, 4, 6, 8, 9, 10, 12], GQ = new Date(1970, 0, 4), _8 =
|
|
|
14195
14195
|
rawTickCount: void 0,
|
|
14196
14196
|
timeInterval: void 0,
|
|
14197
14197
|
fractionDigits: 0
|
|
14198
|
-
},
|
|
14199
|
-
for (; !
|
|
14198
|
+
}, te = 0, ce = 0, pe = !0, ee = !1;
|
|
14199
|
+
for (; !ee && pe && te <= E; ) {
|
|
14200
14200
|
ce = 0;
|
|
14201
14201
|
for (const ae of this.getTickStrategies({
|
|
14202
14202
|
domain: i,
|
|
@@ -14206,10 +14206,10 @@ var OQ = 18, BQ = [1, 2, 3, 4, 6, 8, 9, 10, 12], GQ = new Date(1970, 0, 4), _8 =
|
|
|
14206
14206
|
secondaryAxis: x,
|
|
14207
14207
|
sizeLimit: g
|
|
14208
14208
|
}))
|
|
14209
|
-
({ tickData: q, index:
|
|
14210
|
-
index:
|
|
14209
|
+
({ tickData: q, index: te, autoRotation: ce, terminate: ee } = ae({
|
|
14210
|
+
index: te,
|
|
14211
14211
|
tickData: q,
|
|
14212
|
-
terminate:
|
|
14212
|
+
terminate: ee,
|
|
14213
14213
|
primaryTickCount: s,
|
|
14214
14214
|
defaultTickMinSpacing: n,
|
|
14215
14215
|
visibleRange: r,
|
|
@@ -29480,7 +29480,7 @@ var xie = 0.125, wie = 0.25, Die = pb(rH), ID = class extends Vp {
|
|
|
29480
29480
|
let W = 0, X = 0;
|
|
29481
29481
|
const q = $?.indices;
|
|
29482
29482
|
[W, X] = this.visibleRangeIndices("xValue", n.range, q), W = Math.max(W - 1, 0), X = Math.min(X + 1, q?.length ?? x.length), i.input.count < 1e3 && (W = 0, X = i.input.count);
|
|
29483
|
-
const
|
|
29483
|
+
const te = (j, se, ge) => {
|
|
29484
29484
|
let Pe;
|
|
29485
29485
|
return (no(this.properties.normalizedTo) ? w && $w(ge) : !isNaN(ge)) && (Pe = se), {
|
|
29486
29486
|
x: v.convert(j) + M,
|
|
@@ -29491,7 +29491,7 @@ var xie = 0.125, wie = 0.25, Die = pb(rH), ID = class extends Vp {
|
|
|
29491
29491
|
const se = x[j];
|
|
29492
29492
|
if (se == null)
|
|
29493
29493
|
return;
|
|
29494
|
-
const ge = z[j], Pe = D[j], We = I[j], Ze = Number.isFinite(Pe), nt =
|
|
29494
|
+
const ge = z[j], Pe = D[j], We = I[j], Ze = Number.isFinite(Pe), nt = te(se, +We, Pe), Mt = R != null ? R[j] === Pe : void 0;
|
|
29495
29495
|
if (Mt === !1 && (N = !0), Ze && h && E.push({
|
|
29496
29496
|
series: this,
|
|
29497
29497
|
itemId: a,
|
|
@@ -29537,7 +29537,7 @@ var xie = 0.125, wie = 0.25, Die = pb(rH), ID = class extends Vp {
|
|
|
29537
29537
|
const se = q?.[j] ?? j;
|
|
29538
29538
|
x[se] != null && ce(se);
|
|
29539
29539
|
}
|
|
29540
|
-
const pe = (j) => j.flatMap((se) => Array.isArray(se) ? Sx(se, y) : new Array(se.skip).fill(null)),
|
|
29540
|
+
const pe = (j) => j.flatMap((se) => Array.isArray(se) ? Sx(se, y) : new Array(se.skip).fill(null)), ee = (j, se) => ({
|
|
29541
29541
|
point: {
|
|
29542
29542
|
x: v.convert(j) + M,
|
|
29543
29543
|
y: b.convert(se)
|
|
@@ -29568,11 +29568,11 @@ var xie = 0.125, wie = 0.25, Die = pb(rH), ID = class extends Vp {
|
|
|
29568
29568
|
if (!dt && Array.isArray(xe) && xe.length === 1)
|
|
29569
29569
|
se[se.length - 1] = { skip: 1 };
|
|
29570
29570
|
else {
|
|
29571
|
-
const Te =
|
|
29571
|
+
const Te = ee(nt, Yt), Y = ee(nt, Cn);
|
|
29572
29572
|
Array.isArray(xe) ? xe.push(Te) : xe != null && (xe.skip += 1), se.push(dt ? [Y] : { skip: 0 });
|
|
29573
29573
|
}
|
|
29574
29574
|
else {
|
|
29575
|
-
const Te = m ? Mt : Math.max(Yt, Cn), Y =
|
|
29575
|
+
const Te = m ? Mt : Math.max(Yt, Cn), Y = ee(nt, Te);
|
|
29576
29576
|
Array.isArray(xe) ? xe.push(Y) : xe != null ? (xe.skip += 1, se.push([Y])) : se.push([Y]);
|
|
29577
29577
|
}
|
|
29578
29578
|
};
|
|
@@ -29594,7 +29594,7 @@ var xie = 0.125, wie = 0.25, Die = pb(rH), ID = class extends Vp {
|
|
|
29594
29594
|
const j = (ge) => {
|
|
29595
29595
|
const Pe = x[ge], We = P?.[ge][ie] ?? D[ge];
|
|
29596
29596
|
if (!(m && !Number.isFinite(We)))
|
|
29597
|
-
return
|
|
29597
|
+
return ee(Pe, 0);
|
|
29598
29598
|
};
|
|
29599
29599
|
let se;
|
|
29600
29600
|
if (i.type === "grouped")
|
|
@@ -30493,10 +30493,10 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30493
30493
|
xValue: W,
|
|
30494
30494
|
yValue: X,
|
|
30495
30495
|
cumulativeValue: q,
|
|
30496
|
-
phantom:
|
|
30496
|
+
phantom: te,
|
|
30497
30497
|
currY: ce,
|
|
30498
30498
|
prevY: pe,
|
|
30499
|
-
x:
|
|
30499
|
+
x: ee,
|
|
30500
30500
|
width: oe,
|
|
30501
30501
|
isPositive: ie,
|
|
30502
30502
|
yRange: ae,
|
|
@@ -30506,23 +30506,23 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30506
30506
|
crossScale: me = 1
|
|
30507
30507
|
}) => {
|
|
30508
30508
|
const Ke = ie !== m, j = l.convert(ce), se = l.convert(pe), ge = l.convert(ae), Pe = this.getBarDirection() === "x", We = oe * 0.5 * (1 - me), Ze = {
|
|
30509
|
-
x: Pe ? Math.min(j, se) :
|
|
30510
|
-
y: Pe ?
|
|
30509
|
+
x: Pe ? Math.min(j, se) : ee + We,
|
|
30510
|
+
y: Pe ? ee + We : Math.min(j, se),
|
|
30511
30511
|
width: Pe ? Math.abs(se - j) : oe * me,
|
|
30512
30512
|
height: Pe ? oe * me : Math.abs(se - j)
|
|
30513
30513
|
}, nt = new Ee(Ze.x, Ze.y, Ze.width, Ze.height), Mt = {
|
|
30514
|
-
x: Pe ? Math.min(R, ge) :
|
|
30515
|
-
y: Pe ?
|
|
30514
|
+
x: Pe ? Math.min(R, ge) : ee + We,
|
|
30515
|
+
y: Pe ? ee + We : Math.min(R, ge),
|
|
30516
30516
|
width: Pe ? Math.abs(R - ge) : oe * me,
|
|
30517
30517
|
height: Pe ? oe * me : Math.abs(R - ge)
|
|
30518
30518
|
}, dt = this.shouldFlipXY() ? Ze.height : Ze.width, Yt = g.spacing + (typeof g.padding == "number" ? g.padding : 0);
|
|
30519
30519
|
return {
|
|
30520
30520
|
series: this,
|
|
30521
|
-
itemId:
|
|
30521
|
+
itemId: te ? Oc(d, te) : d,
|
|
30522
30522
|
datum: _,
|
|
30523
30523
|
datumIndex: $,
|
|
30524
30524
|
cumulativeValue: q,
|
|
30525
|
-
phantom:
|
|
30525
|
+
phantom: te,
|
|
30526
30526
|
xValue: W,
|
|
30527
30527
|
yValue: X,
|
|
30528
30528
|
yKey: d,
|
|
@@ -30555,11 +30555,11 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30555
30555
|
})
|
|
30556
30556
|
} : void 0,
|
|
30557
30557
|
missing: X == null,
|
|
30558
|
-
focusable: !
|
|
30558
|
+
focusable: !te
|
|
30559
30559
|
};
|
|
30560
|
-
}, O = [], E = [], F = [], N = (_, $, W, X, q,
|
|
30561
|
-
const
|
|
30562
|
-
if (
|
|
30560
|
+
}, O = [], E = [], F = [], N = (_, $, W, X, q, te, ce = 0, pe = 1) => {
|
|
30561
|
+
const ee = w[_];
|
|
30562
|
+
if (ee == null)
|
|
30563
30563
|
return;
|
|
30564
30564
|
const oe = r[_], ie = M[_], ae = k != null ? Number(k[_]) : void 0, ye = ie >= 0 && !Object.is(ie, -0);
|
|
30565
30565
|
if (!Number.isFinite(q) || ae != null && !Number.isFinite(ae))
|
|
@@ -30575,7 +30575,7 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30575
30575
|
) : void 0, Ce = ae != null && ae > ie, me = P({
|
|
30576
30576
|
datum: oe,
|
|
30577
30577
|
datumIndex: _,
|
|
30578
|
-
xValue:
|
|
30578
|
+
xValue: ee,
|
|
30579
30579
|
yValue: ae ?? ie,
|
|
30580
30580
|
cumulativeValue: ae ?? q,
|
|
30581
30581
|
phantom: !1,
|
|
@@ -30584,7 +30584,7 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30584
30584
|
x: $,
|
|
30585
30585
|
width: W,
|
|
30586
30586
|
isPositive: ye,
|
|
30587
|
-
yRange: Math.max(X + (ae ?? -1 / 0),
|
|
30587
|
+
yRange: Math.max(X + (ae ?? -1 / 0), te),
|
|
30588
30588
|
labelText: Ae,
|
|
30589
30589
|
opacity: pe,
|
|
30590
30590
|
featherRatio: ce,
|
|
@@ -30594,7 +30594,7 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30594
30594
|
const Ke = P({
|
|
30595
30595
|
datum: r[_],
|
|
30596
30596
|
datumIndex: _,
|
|
30597
|
-
xValue:
|
|
30597
|
+
xValue: ee,
|
|
30598
30598
|
yValue: ae,
|
|
30599
30599
|
cumulativeValue: ae,
|
|
30600
30600
|
phantom: !0,
|
|
@@ -30603,7 +30603,7 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30603
30603
|
x: $,
|
|
30604
30604
|
width: W,
|
|
30605
30605
|
isPositive: ye,
|
|
30606
|
-
yRange:
|
|
30606
|
+
yRange: te,
|
|
30607
30607
|
labelText: void 0,
|
|
30608
30608
|
opacity: pe,
|
|
30609
30609
|
featherRatio: ce,
|
|
@@ -30615,12 +30615,12 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30615
30615
|
if (t.type === "grouped") {
|
|
30616
30616
|
const _ = y, $ = e.hasColumnById(this, "yValue-start"), W = $ ? e.resolveColumnById(this, "yValue-start", t) : void 0, X = $ ? e.resolveColumnById(this, "yValue-end", t) : void 0, q = $ ? e.resolveProcessedDataIndexById(this, "yValue-range") : -1;
|
|
30617
30617
|
for (const {
|
|
30618
|
-
datumIndex:
|
|
30618
|
+
datumIndex: te,
|
|
30619
30619
|
group: { aggregation: ce }
|
|
30620
30620
|
} of e.forEachGroupDatum(this, t)) {
|
|
30621
|
-
const pe = D(
|
|
30621
|
+
const pe = D(te), ee = M[te], oe = ee >= 0 && !Object.is(ee, -0), ie = $ ? Number(W?.[te]) : 0, ae = $ ? Number(X?.[te]) : ee;
|
|
30622
30622
|
let ye = ae;
|
|
30623
|
-
$ && (ye = ce[q][oe ? 1 : 0]), N(
|
|
30623
|
+
$ && (ye = ce[q][oe ? 1 : 0]), N(te, pe, _, ie, ae, ye);
|
|
30624
30624
|
}
|
|
30625
30625
|
} else if (H == null) {
|
|
30626
30626
|
const _ = t.invalidData?.get(this.id), $ = y;
|
|
@@ -30629,16 +30629,16 @@ var Oie = pb(Pie), Yb = class extends cH {
|
|
|
30629
30629
|
for (let q = W; q < X; q += 1) {
|
|
30630
30630
|
if (_?.[q] === !0)
|
|
30631
30631
|
continue;
|
|
30632
|
-
const
|
|
30633
|
-
N(q,
|
|
30632
|
+
const te = D(q), ce = Number(M[q]);
|
|
30633
|
+
N(q, te, $, 0, ce, ce);
|
|
30634
30634
|
}
|
|
30635
30635
|
} else {
|
|
30636
30636
|
const { indexData: _, indices: $ } = H, [W, X] = this.visibleRangeIndices("xValue", s.range, $), q = m ? -1 : 1;
|
|
30637
|
-
for (let
|
|
30638
|
-
const ce =
|
|
30637
|
+
for (let te = W; te < X; te += 1) {
|
|
30638
|
+
const ce = te * Rie, pe = _[ce + Aie], ee = _[ce + kie], oe = _[ce + Iie], ie = _[ce + Tie];
|
|
30639
30639
|
if (pe === -1)
|
|
30640
30640
|
continue;
|
|
30641
|
-
const ae = D((pe +
|
|
30641
|
+
const ae = D((pe + ee) / 2 | 0), ye = Math.abs(D(ee) - D(pe)) + y, Ae = Math.abs(ee - pe), Ce = nd.is(a) ? a.bandwidth * Math.max(Ae - 1, 1) / (a.step * Ae) : 1, me = w[ie] != null ? Number(M[ie]) : NaN, Ke = w[oe] != null ? Number(M[oe]) : NaN;
|
|
30642
30642
|
if (me > 0) {
|
|
30643
30643
|
const j = Ke >= 0 ? q * (1 - Ke / me) : q;
|
|
30644
30644
|
N(ie, ae, ye, 0, me, me, j, Ce);
|
|
@@ -31327,22 +31327,22 @@ var Wie = class extends LL {
|
|
|
31327
31327
|
const _ = Lu.getMeasurer({ font: m }), $ = i.dataSources.get(this.id);
|
|
31328
31328
|
if ($ == null)
|
|
31329
31329
|
return;
|
|
31330
|
-
const W = Af(m), X = (
|
|
31331
|
-
const
|
|
31330
|
+
const W = Af(m), X = (te, ce, pe) => {
|
|
31331
|
+
const ee = $[te], oe = x[te], ie = D[te], ae = I?.[te], ye = N.convert(oe) + z, Ae = B.convert(ie) + G;
|
|
31332
31332
|
let Ce;
|
|
31333
|
-
P != null && O != null && (Ce = P[
|
|
31333
|
+
P != null && O != null && (Ce = P[te] === oe && O[te] === ie, E != null && Ce && (Ce = E[te] === ae));
|
|
31334
31334
|
let me;
|
|
31335
31335
|
if (b) {
|
|
31336
31336
|
let j, se, ge;
|
|
31337
|
-
u && R ? (j = R[
|
|
31337
|
+
u && R ? (j = R[te], se = u, ge = "label") : a ? (j = ae, se = a, ge = "size") : (j = ie, se = r, ge = "y");
|
|
31338
31338
|
const Pe = this.getLabelText(
|
|
31339
31339
|
j,
|
|
31340
|
-
|
|
31340
|
+
ee,
|
|
31341
31341
|
se,
|
|
31342
31342
|
ge,
|
|
31343
31343
|
F,
|
|
31344
31344
|
m,
|
|
31345
|
-
{ value: j, datum:
|
|
31345
|
+
{ value: j, datum: ee, xKey: n, yKey: r, sizeKey: a, labelKey: u, xName: h, yName: p, sizeName: g, labelName: f }
|
|
31346
31346
|
), We = _.measureText(String(Pe));
|
|
31347
31347
|
We.width += W.left + W.right, We.height += W.bottom + W.top, me = { text: Pe, ...We };
|
|
31348
31348
|
} else
|
|
@@ -31353,8 +31353,8 @@ var Wie = class extends LL {
|
|
|
31353
31353
|
itemId: r,
|
|
31354
31354
|
yKey: r,
|
|
31355
31355
|
xKey: n,
|
|
31356
|
-
datum:
|
|
31357
|
-
datumIndex:
|
|
31356
|
+
datum: ee,
|
|
31357
|
+
datumIndex: te,
|
|
31358
31358
|
xValue: oe,
|
|
31359
31359
|
yValue: ie,
|
|
31360
31360
|
sizeValue: ae,
|
|
@@ -31370,21 +31370,21 @@ var Wie = class extends LL {
|
|
|
31370
31370
|
});
|
|
31371
31371
|
}, { dataAggregation: q } = this;
|
|
31372
31372
|
if (q == null)
|
|
31373
|
-
for (let
|
|
31374
|
-
X(
|
|
31373
|
+
for (let te = 0; te < $.length; te++)
|
|
31374
|
+
X(te, 1, 1);
|
|
31375
31375
|
else {
|
|
31376
|
-
const
|
|
31376
|
+
const te = this.aggregationOptions(M, k), ce = Hie(
|
|
31377
31377
|
q,
|
|
31378
|
-
|
|
31378
|
+
te,
|
|
31379
31379
|
v
|
|
31380
|
-
), { groupedAggregation: pe, singleDatumIndices:
|
|
31380
|
+
), { groupedAggregation: pe, singleDatumIndices: ee } = $ie(
|
|
31381
31381
|
ce,
|
|
31382
31382
|
q,
|
|
31383
|
-
|
|
31383
|
+
te
|
|
31384
31384
|
);
|
|
31385
31385
|
for (const { datumIndex: oe, count: ie, dilation: ae } of pe)
|
|
31386
31386
|
X(oe, ie, ae);
|
|
31387
|
-
for (const oe of
|
|
31387
|
+
for (const oe of ee)
|
|
31388
31388
|
X(oe, 1, 1);
|
|
31389
31389
|
}
|
|
31390
31390
|
return {
|
|
@@ -32336,7 +32336,7 @@ var Kie = 0.25, Yie = pb(rH), Zb = class extends Vp {
|
|
|
32336
32336
|
lengthRatioMultiplier: this.properties.marker.getDiameter(),
|
|
32337
32337
|
lengthMax: 1 / 0
|
|
32338
32338
|
}, E = [], F = [], N = (ce) => {
|
|
32339
|
-
const pe = M[ce],
|
|
32339
|
+
const pe = M[ce], ee = k[ce], oe = x[ce], ie = D?.[ce], ae = R?.[ce], ye = y.convert(ee) + b, Ae = v.convert(I[ce]) + S;
|
|
32340
32340
|
if (!Number.isFinite(ye))
|
|
32341
32341
|
return;
|
|
32342
32342
|
if (oe != null) {
|
|
@@ -32359,7 +32359,7 @@ var Kie = 0.25, Yie = pb(rH), Zb = class extends Vp {
|
|
|
32359
32359
|
midPoint: { x: ye, y: Ae },
|
|
32360
32360
|
cumulativeValue: ie,
|
|
32361
32361
|
yValue: oe,
|
|
32362
|
-
xValue:
|
|
32362
|
+
xValue: ee,
|
|
32363
32363
|
capDefaults: O,
|
|
32364
32364
|
labelText: me,
|
|
32365
32365
|
selected: ae
|
|
@@ -32369,7 +32369,7 @@ var Kie = 0.25, Yie = pb(rH), Zb = class extends Vp {
|
|
|
32369
32369
|
if (oe != null) {
|
|
32370
32370
|
const me = {
|
|
32371
32371
|
point: { x: ye, y: Ae },
|
|
32372
|
-
xDatum:
|
|
32372
|
+
xDatum: ee,
|
|
32373
32373
|
yDatum: oe
|
|
32374
32374
|
};
|
|
32375
32375
|
Array.isArray(Ce) ? Ce.push(me) : Ce != null ? (Ce.skip += 1, F.push([me])) : F.push([me]);
|
|
@@ -32379,7 +32379,7 @@ var Kie = 0.25, Yie = pb(rH), Zb = class extends Vp {
|
|
|
32379
32379
|
$ = Math.max($ - 1, 0), W = Math.min(W + 1, _?.length ?? k.length), t.input.count < 1e3 && ($ = 0, W = t.input.count);
|
|
32380
32380
|
for (let ce = $; ce < W; ce += 1)
|
|
32381
32381
|
N(_?.[ce] ?? ce);
|
|
32382
|
-
const X = F.flatMap((ce) => Array.isArray(ce) ? Sx(ce, g) : []), q = { itemId: a, spans: X },
|
|
32382
|
+
const X = F.flatMap((ce) => Array.isArray(ce) ? Sx(ce, g) : []), q = { itemId: a, spans: X }, te = R?.some((ce, pe) => ce === x[pe]) ?? !1;
|
|
32383
32383
|
return {
|
|
32384
32384
|
itemId: a,
|
|
32385
32385
|
nodeData: E,
|
|
@@ -32387,7 +32387,7 @@ var Kie = 0.25, Yie = pb(rH), Zb = class extends Vp {
|
|
|
32387
32387
|
strokeData: q,
|
|
32388
32388
|
scales: this.calculateScaling(),
|
|
32389
32389
|
visible: this.visible,
|
|
32390
|
-
crossFiltering:
|
|
32390
|
+
crossFiltering: te
|
|
32391
32391
|
};
|
|
32392
32392
|
}
|
|
32393
32393
|
isPathOrSelectionDirty() {
|
|
@@ -33019,13 +33019,13 @@ var $M = class {
|
|
|
33019
33019
|
-l
|
|
33020
33020
|
);
|
|
33021
33021
|
if (a *= I, l *= I, !M && w) {
|
|
33022
|
-
const
|
|
33022
|
+
const ee = PN(
|
|
33023
33023
|
p,
|
|
33024
33024
|
m - 2 * v,
|
|
33025
33025
|
c,
|
|
33026
33026
|
d
|
|
33027
33027
|
);
|
|
33028
|
-
c *=
|
|
33028
|
+
c *= ee, d *= ee;
|
|
33029
33029
|
} else
|
|
33030
33030
|
c = 0, d = 0;
|
|
33031
33031
|
const R = Math.max(
|
|
@@ -33039,15 +33039,15 @@ var $M = class {
|
|
|
33039
33039
|
O = Math.asin(F);
|
|
33040
33040
|
else {
|
|
33041
33041
|
O = m / 2;
|
|
33042
|
-
const
|
|
33043
|
-
a = Math.min(
|
|
33042
|
+
const ee = g / (1 / Math.sin(O) + 1);
|
|
33043
|
+
a = Math.min(ee, a);
|
|
33044
33044
|
}
|
|
33045
33045
|
if (N >= 0 && N < 1 - 1e-6)
|
|
33046
33046
|
E = Math.asin(N);
|
|
33047
33047
|
else {
|
|
33048
33048
|
E = m / 2;
|
|
33049
|
-
const
|
|
33050
|
-
l = Math.min(
|
|
33049
|
+
const ee = g / (1 / Math.sin(E) + 1);
|
|
33050
|
+
l = Math.min(ee, l);
|
|
33051
33051
|
}
|
|
33052
33052
|
const B = Math.asin(
|
|
33053
33053
|
c / (p + c)
|
|
@@ -33068,7 +33068,7 @@ var $M = class {
|
|
|
33068
33068
|
X,
|
|
33069
33069
|
!0,
|
|
33070
33070
|
!1
|
|
33071
|
-
),
|
|
33071
|
+
), te = this.arc(
|
|
33072
33072
|
l,
|
|
33073
33073
|
E,
|
|
33074
33074
|
h - E,
|
|
@@ -33097,39 +33097,39 @@ var $M = class {
|
|
|
33097
33097
|
!0
|
|
33098
33098
|
);
|
|
33099
33099
|
if (M) {
|
|
33100
|
-
const
|
|
33100
|
+
const ee = m < Math.PI * 0.5 ? r * (1 + Math.cos(m)) / Math.sin(m) : NaN;
|
|
33101
33101
|
let oe;
|
|
33102
|
-
|
|
33102
|
+
ee > 0 && ee < g ? oe = Math.max(Math.hypot(r, ee), p) : oe = r, oe = Math.max(oe, p);
|
|
33103
33103
|
const ie = u + m * 0.5;
|
|
33104
33104
|
i.moveTo(o + oe * Math.cos(ie), s + oe * Math.sin(ie));
|
|
33105
33105
|
} else if (!(pe?.isValid() === !0 || X?.isValid() === !0)) {
|
|
33106
|
-
const
|
|
33106
|
+
const ee = u + m / 2, oe = p * Math.cos(ee), ie = p * Math.sin(ee);
|
|
33107
33107
|
i.moveTo(o + oe, s + ie);
|
|
33108
33108
|
}
|
|
33109
33109
|
if (q?.isValid() === !0) {
|
|
33110
|
-
const { cx:
|
|
33111
|
-
i.arc(o +
|
|
33110
|
+
const { cx: ee, cy: oe, r: ie, a0: ae, a1: ye } = q;
|
|
33111
|
+
i.arc(o + ee, s + oe, ie, ae, ye);
|
|
33112
33112
|
}
|
|
33113
33113
|
if (_.isValid()) {
|
|
33114
|
-
const { r:
|
|
33115
|
-
i.arc(o, s,
|
|
33114
|
+
const { r: ee, a0: oe, a1: ie } = _;
|
|
33115
|
+
i.arc(o, s, ee, oe, ie);
|
|
33116
33116
|
}
|
|
33117
|
-
if (
|
|
33118
|
-
const { cx:
|
|
33119
|
-
i.arc(o +
|
|
33117
|
+
if (te?.isValid() === !0) {
|
|
33118
|
+
const { cx: ee, cy: oe, r: ie, a0: ae, a1: ye } = te;
|
|
33119
|
+
i.arc(o + ee, s + oe, ie, ae, ye);
|
|
33120
33120
|
}
|
|
33121
33121
|
if (!M) {
|
|
33122
33122
|
if (ce?.isValid() === !0) {
|
|
33123
|
-
const { cx:
|
|
33124
|
-
i.arc(o +
|
|
33123
|
+
const { cx: ee, cy: oe, r: ie, a0: ae, a1: ye } = ce;
|
|
33124
|
+
i.arc(o + ee, s + oe, ie, ae, ye);
|
|
33125
33125
|
}
|
|
33126
33126
|
if (X?.isValid() === !0) {
|
|
33127
|
-
const { r:
|
|
33128
|
-
i.arc(o, s,
|
|
33127
|
+
const { r: ee, a0: oe, a1: ie } = X;
|
|
33128
|
+
i.arc(o, s, ee, ie, oe, !0);
|
|
33129
33129
|
}
|
|
33130
33130
|
if (pe?.isValid() === !0) {
|
|
33131
|
-
const { cx:
|
|
33132
|
-
i.arc(o +
|
|
33131
|
+
const { cx: ee, cy: oe, r: ie, a0: ae, a1: ye } = pe;
|
|
33132
|
+
i.arc(o + ee, s + oe, ie, ae, ye);
|
|
33133
33133
|
}
|
|
33134
33134
|
}
|
|
33135
33135
|
i.closePath();
|
|
@@ -34825,7 +34825,7 @@ function loe(e) {
|
|
|
34825
34825
|
secondaryLabel: W,
|
|
34826
34826
|
spacing: X,
|
|
34827
34827
|
...q
|
|
34828
|
-
} = e, { chartTooltipOptions:
|
|
34828
|
+
} = e, { chartTooltipOptions: te, seriesTooltipOptions: ce } = TH(w), pe = Jr(e, {
|
|
34829
34829
|
animation: t,
|
|
34830
34830
|
background: i,
|
|
34831
34831
|
container: o,
|
|
@@ -34842,9 +34842,9 @@ function loe(e) {
|
|
|
34842
34842
|
subtitle: g,
|
|
34843
34843
|
theme: f,
|
|
34844
34844
|
title: m,
|
|
34845
|
-
tooltip:
|
|
34845
|
+
tooltip: te,
|
|
34846
34846
|
width: y
|
|
34847
|
-
}),
|
|
34847
|
+
}), ee = Jr(e, {
|
|
34848
34848
|
needle: E != null ? { enabled: !0, ...E } : Tn,
|
|
34849
34849
|
startAngle: x,
|
|
34850
34850
|
endAngle: D,
|
|
@@ -34873,7 +34873,7 @@ function loe(e) {
|
|
|
34873
34873
|
});
|
|
34874
34874
|
return {
|
|
34875
34875
|
...pe,
|
|
34876
|
-
series: [
|
|
34876
|
+
series: [ee]
|
|
34877
34877
|
};
|
|
34878
34878
|
}
|
|
34879
34879
|
function coe(e) {
|
|
@@ -50510,7 +50510,7 @@ var {
|
|
|
50510
50510
|
if (!e)
|
|
50511
50511
|
return w;
|
|
50512
50512
|
const M = (E, F, N, B, z, G, H, _) => {
|
|
50513
|
-
const $ = c[E], W = S ? H / 2 : 0, X = o.scale.convert(F) + v + W, q = s.scale.convert(N),
|
|
50513
|
+
const $ = c[E], W = S ? H / 2 : 0, X = o.scale.convert(F) + v + W, q = s.scale.convert(N), te = s.scale.convert(B), ce = s.scale.convert(z), pe = s.scale.convert(G), ee = B > N, oe = ee ? "up" : "down", ie = Math.min(ce, pe), ae = Math.max(ce, pe) - ie, ye = {
|
|
50514
50514
|
x: X,
|
|
50515
50515
|
y: ie + ae / 2
|
|
50516
50516
|
};
|
|
@@ -50527,13 +50527,13 @@ var {
|
|
|
50527
50527
|
lowValue: G,
|
|
50528
50528
|
midPoint: ye,
|
|
50529
50529
|
aggregatedValue: B,
|
|
50530
|
-
isRising:
|
|
50530
|
+
isRising: ee,
|
|
50531
50531
|
centerX: X,
|
|
50532
50532
|
width: H,
|
|
50533
50533
|
y: ie,
|
|
50534
50534
|
height: ae,
|
|
50535
50535
|
yOpen: q,
|
|
50536
|
-
yClose:
|
|
50536
|
+
yClose: te,
|
|
50537
50537
|
crisp: _
|
|
50538
50538
|
});
|
|
50539
50539
|
}, { dataAggregationFilters: k } = this, x = o.scale, [D, I] = x.range, R = Math.abs(I - D), P = (E) => x.convert(d[E]) + v, O = k?.find((E) => E.maxRange > R);
|
|
@@ -50580,8 +50580,8 @@ var {
|
|
|
50580
50580
|
const X = (H + _) / 2 | 0, q = d[X];
|
|
50581
50581
|
if (q == null)
|
|
50582
50582
|
continue;
|
|
50583
|
-
const
|
|
50584
|
-
M(X, q,
|
|
50583
|
+
const te = u[H], ce = h[_], pe = p[$], ee = g[W], oe = Math.abs(P(_) - P(H)) + b;
|
|
50584
|
+
M(X, q, te, ce, pe, ee, oe, !1);
|
|
50585
50585
|
}
|
|
50586
50586
|
}
|
|
50587
50587
|
return w;
|
|
@@ -51629,7 +51629,7 @@ var {
|
|
|
51629
51629
|
this.properties.label,
|
|
51630
51630
|
{ padding: f },
|
|
51631
51631
|
F
|
|
51632
|
-
),
|
|
51632
|
+
), te = { x: _, y: $, size: 0 };
|
|
51633
51633
|
if (D.push({
|
|
51634
51634
|
series: this,
|
|
51635
51635
|
itemId: c,
|
|
@@ -51640,13 +51640,13 @@ var {
|
|
|
51640
51640
|
yValue: H,
|
|
51641
51641
|
colorValue: W,
|
|
51642
51642
|
datum: B,
|
|
51643
|
-
point:
|
|
51643
|
+
point: te,
|
|
51644
51644
|
width: R,
|
|
51645
51645
|
height: P,
|
|
51646
51646
|
midPoint: { x: _, y: $ },
|
|
51647
51647
|
missing: b != null && W == null
|
|
51648
51648
|
}), q?.label != null) {
|
|
51649
|
-
const { text: ce, fontSize: pe, lineHeight:
|
|
51649
|
+
const { text: ce, fontSize: pe, lineHeight: ee, height: oe } = q.label, { fontStyle: ie, fontFamily: ae, fontWeight: ye, color: Ae } = this.properties.label, Ce = te.x + O * (R - 2 * f), me = te.y + E * (P - 2 * f) - (q.height - oe) * 0.5;
|
|
51650
51650
|
I.push({
|
|
51651
51651
|
series: this,
|
|
51652
51652
|
itemId: c,
|
|
@@ -51654,7 +51654,7 @@ var {
|
|
|
51654
51654
|
datumIndex: z,
|
|
51655
51655
|
text: ce,
|
|
51656
51656
|
fontSize: pe,
|
|
51657
|
-
lineHeight:
|
|
51657
|
+
lineHeight: ee,
|
|
51658
51658
|
fontStyle: ie,
|
|
51659
51659
|
fontFamily: ae,
|
|
51660
51660
|
fontWeight: ye,
|
|
@@ -52376,7 +52376,7 @@ var {
|
|
|
52376
52376
|
return;
|
|
52377
52377
|
const q = M[M.length - 1];
|
|
52378
52378
|
if (Number.isFinite(_) && Number.isFinite($)) {
|
|
52379
|
-
const
|
|
52379
|
+
const te = (ye, Ae, Ce) => {
|
|
52380
52380
|
w.push({
|
|
52381
52381
|
index: H,
|
|
52382
52382
|
series: this,
|
|
@@ -52405,11 +52405,11 @@ var {
|
|
|
52405
52405
|
series: this
|
|
52406
52406
|
});
|
|
52407
52407
|
S.push(me);
|
|
52408
|
-
}, ce = $ > _, pe = b(H),
|
|
52409
|
-
|
|
52408
|
+
}, ce = $ > _, pe = b(H), ee = a.convert(_), oe = a.convert($), { size: ie } = h;
|
|
52409
|
+
te("high", _, ee), te("low", $, oe);
|
|
52410
52410
|
const ae = {
|
|
52411
52411
|
high: {
|
|
52412
|
-
point: { x: pe, y:
|
|
52412
|
+
point: { x: pe, y: ee },
|
|
52413
52413
|
xDatum: X,
|
|
52414
52414
|
yDatum: _
|
|
52415
52415
|
},
|
|
@@ -53068,12 +53068,12 @@ var {
|
|
|
53068
53068
|
const W = m[N], X = y[N];
|
|
53069
53069
|
if (X == null)
|
|
53070
53070
|
return;
|
|
53071
|
-
const q = v[N],
|
|
53072
|
-
if (!Number.isFinite(q?.valueOf()) || !Number.isFinite(
|
|
53071
|
+
const q = v[N], te = b[N];
|
|
53072
|
+
if (!Number.isFinite(q?.valueOf()) || !Number.isFinite(te?.valueOf()))
|
|
53073
53073
|
return;
|
|
53074
|
-
const [ce, pe] = q <
|
|
53075
|
-
x: c ? Math.min(
|
|
53076
|
-
y: c ? z : Math.min(
|
|
53074
|
+
const [ce, pe] = q < te ? [q, te] : [te, q], ee = Math.round(l.convert(_)), oe = Math.round(l.convert(H)), ie = Math.max(p, Math.abs(oe - ee)), ae = {
|
|
53075
|
+
x: c ? Math.min(ee, oe) : z,
|
|
53076
|
+
y: c ? z : Math.min(ee, oe),
|
|
53077
53077
|
width: c ? ie : G,
|
|
53078
53078
|
height: c ? G : ie
|
|
53079
53079
|
}, ye = {
|
|
@@ -53095,7 +53095,7 @@ var {
|
|
|
53095
53095
|
datumIndex: N,
|
|
53096
53096
|
xValue: X,
|
|
53097
53097
|
yLowValue: q,
|
|
53098
|
-
yHighValue:
|
|
53098
|
+
yHighValue: te,
|
|
53099
53099
|
yLowKey: u,
|
|
53100
53100
|
yHighKey: h,
|
|
53101
53101
|
xKey: d,
|
|
@@ -53121,11 +53121,11 @@ var {
|
|
|
53121
53121
|
const _ = H * X4, $ = B[_ + q4], W = B[_ + Z4], X = B[_ + cpe], q = B[_ + lpe];
|
|
53122
53122
|
if ($ === -1)
|
|
53123
53123
|
continue;
|
|
53124
|
-
const
|
|
53125
|
-
if (y[
|
|
53124
|
+
const te = ($ + W) / 2 | 0;
|
|
53125
|
+
if (y[te] == null)
|
|
53126
53126
|
continue;
|
|
53127
|
-
const pe = D(
|
|
53128
|
-
I(
|
|
53127
|
+
const pe = D(te), ee = Math.abs(D($) - D(W)) + S, oe = v[X], ie = b[q];
|
|
53128
|
+
I(te, 0, pe, ee, oe, ie, !1);
|
|
53129
53129
|
}
|
|
53130
53130
|
} else if (o.type === "ungrouped") {
|
|
53131
53131
|
const N = o.invalidData?.get(this.id);
|
|
@@ -53773,7 +53773,7 @@ var {
|
|
|
53773
53773
|
return;
|
|
53774
53774
|
const $ = Math.round(r.convert(_)), W = f[N], { cumulativeValue: X, trailingValue: q } = M(G, z, N);
|
|
53775
53775
|
H && (x = X ?? 0);
|
|
53776
|
-
const
|
|
53776
|
+
const te = Math.round(a.convert(X)), ce = Math.round(a.convert(q)), pe = k(G, z, W, X, q), ee = (pe ?? 0) >= 0, oe = this.getSeriesItemType(ee, B), { strokeWidth: ie, label: ae } = this.getItemConfig(oe), ye = ee ? te : ce, Ae = ee ? ce : te, Ce = Math.max(ie, Math.abs(Ae - ye)), me = {
|
|
53777
53777
|
x: l ? Math.min(ye, Ae) : $,
|
|
53778
53778
|
y: l ? $ : Math.min(ye, Ae),
|
|
53779
53779
|
width: l ? Ce : c,
|
|
@@ -53781,7 +53781,7 @@ var {
|
|
|
53781
53781
|
}, Ke = {
|
|
53782
53782
|
x: me.x + me.width / 2,
|
|
53783
53783
|
y: me.y + me.height / 2
|
|
53784
|
-
}, j = H ?
|
|
53784
|
+
}, j = H ? te : ce, se = Math.floor(n.strokeWidth) % 2 / 2, ge = d ? te : j, Pe = d ? j : te;
|
|
53785
53785
|
let We, Ze;
|
|
53786
53786
|
l ? (We = {
|
|
53787
53787
|
x: ge + se,
|
|
@@ -60557,9 +60557,9 @@ var {
|
|
|
60557
60557
|
sizeLimit: void 0,
|
|
60558
60558
|
removeOverflowLabels: !1
|
|
60559
60559
|
}).tickData, k = this.getTargets(), x = [], D = [], I = [], R = [], [P, O] = o.range, E = Math.abs(O - P), F = i ? o.convert(n) : y, N = i ? b : o.convert(n), B = r.enabled ? r.spacing / 2 : 0, z = i ? B : 0, G = i ? 0 : B, H = Math.min(d.thickness ?? Math.round(d.thicknessRatio * a), a), _ = -(a - H) / 2, $ = i ? 0 : _, W = i ? _ : 0, X = c === "item", q = Math.ceil(E);
|
|
60560
|
-
let
|
|
60560
|
+
let te = r.enabled ? r.interval.getSegments(o, q) : void 0;
|
|
60561
60561
|
const ce = d.fill ?? this.createLinearGradient(o, d.fills, d.fillMode), pe = u.fill ?? (d.enabled && u.fills.length === 0 ? u.defaultFill : void 0) ?? this.createLinearGradient(o, u.fills, u.fillMode);
|
|
60562
|
-
if (
|
|
60562
|
+
if (te == null && X) {
|
|
60563
60563
|
const oe = Math.min(...o.domain), ie = Math.max(...o.domain), ae = { value: n, segmentStart: oe, segmentEnd: ie };
|
|
60564
60564
|
if (d.enabled) {
|
|
60565
60565
|
const j = Math.min(l, H / 2, E / 2) * 1, se = i ? j : 0, ge = i ? 0 : j;
|
|
@@ -60616,10 +60616,10 @@ var {
|
|
|
60616
60616
|
verticalInset: G
|
|
60617
60617
|
});
|
|
60618
60618
|
} else {
|
|
60619
|
-
|
|
60619
|
+
te ?? (te = o.domain);
|
|
60620
60620
|
const oe = S + m - $, ie = w + v - W, ae = S + F + $, ye = w + N + W;
|
|
60621
|
-
for (let Ae = 0; Ae <
|
|
60622
|
-
const Ce =
|
|
60621
|
+
for (let Ae = 0; Ae < te.length - 1; Ae += 1) {
|
|
60622
|
+
const Ce = te[Ae + 0], me = te[Ae + 1], Ke = { value: n, segmentStart: Ce, segmentEnd: me }, j = Ae === 0, se = Ae === te.length - 2, ge = o.convert(Ce), Pe = o.convert(me), We = X || j ? l : 0, Ze = X || se ? l : 0, nt = i ? We : Ze, Mt = Ze, dt = i ? Ze : We, Yt = We;
|
|
60623
60623
|
d.enabled && x.push({
|
|
60624
60624
|
series: this,
|
|
60625
60625
|
itemId: `value-${Ae}`,
|
|
@@ -60672,7 +60672,7 @@ var {
|
|
|
60672
60672
|
}
|
|
60673
60673
|
}
|
|
60674
60674
|
h.enabled && I.push(this.labelDatum(h, n));
|
|
60675
|
-
const
|
|
60675
|
+
const ee = i ? pve : gve;
|
|
60676
60676
|
for (let oe = 0; oe < k.length; oe += 1) {
|
|
60677
60677
|
const ie = k[oe], {
|
|
60678
60678
|
value: ae,
|
|
@@ -60686,7 +60686,7 @@ var {
|
|
|
60686
60686
|
strokeOpacity: ge,
|
|
60687
60687
|
lineDash: Pe,
|
|
60688
60688
|
lineDashOffset: We
|
|
60689
|
-
} = ie, Ze = this.getTargetPoint(ie), nt = XB(ie.rotation +
|
|
60689
|
+
} = ie, Ze = this.getTargetPoint(ie), nt = XB(ie.rotation + ee[ie.placement]);
|
|
60690
60690
|
D.push({
|
|
60691
60691
|
series: this,
|
|
60692
60692
|
itemId: `target-${oe}`,
|
|
@@ -62655,8 +62655,8 @@ var {
|
|
|
62655
62655
|
(i.dataSources.get(this.id) ?? []).forEach((E, F) => {
|
|
62656
62656
|
const N = f?.[F], B = v?.[F], z = y?.[F], G = w?.[F], H = S?.[F], _ = b?.[F], $ = H != null ? o.convert(H, { clamp: !0 }) : s.size, W = N != null ? x?.get(N) : void 0;
|
|
62657
62657
|
if (N != null && Mu == null && R.push(N), B != null && z != null) {
|
|
62658
|
-
const [X, q] = n.convert([B, z]),
|
|
62659
|
-
|
|
62658
|
+
const [X, q] = n.convert([B, z]), te = this.getLabelDatum(E, _, X, q, $, k);
|
|
62659
|
+
te && I.push(te), D.push({
|
|
62660
62660
|
series: this,
|
|
62661
62661
|
itemId: a,
|
|
62662
62662
|
datum: E,
|
|
@@ -62672,14 +62672,14 @@ var {
|
|
|
62672
62672
|
midPoint: { x: X, y: q },
|
|
62673
62673
|
legendItemName: p
|
|
62674
62674
|
});
|
|
62675
|
-
} else W != null && r$(W, 1).forEach(([X, q],
|
|
62675
|
+
} else W != null && r$(W, 1).forEach(([X, q], te) => {
|
|
62676
62676
|
const ce = this.getLabelDatum(E, _, X, q, $, k);
|
|
62677
62677
|
ce && I.push(ce), D.push({
|
|
62678
62678
|
series: this,
|
|
62679
62679
|
itemId: a,
|
|
62680
62680
|
datum: E,
|
|
62681
62681
|
datumIndex: F,
|
|
62682
|
-
index:
|
|
62682
|
+
index: te,
|
|
62683
62683
|
idValue: N,
|
|
62684
62684
|
lonValue: B,
|
|
62685
62685
|
latValue: z,
|
|
@@ -64081,7 +64081,7 @@ var { commonSeriesOptionsDefs: iCe, mapShapeBackgroundSeriesThemeableOptionsDef:
|
|
|
64081
64081
|
const G = N[B], H = a[B];
|
|
64082
64082
|
if (H == null)
|
|
64083
64083
|
return;
|
|
64084
|
-
const _ = d[B], $ = _ >= 0 && !Object.is(_, -0), W = l[B], X = c[B], q = z.aggregation[u][$ ? 1 : 0] ?? 0,
|
|
64084
|
+
const _ = d[B], $ = _ >= 0 && !Object.is(_, -0), W = l[B], X = c[B], q = z.aggregation[u][$ ? 1 : 0] ?? 0, te = $ === v;
|
|
64085
64085
|
if (W === void 0 || X === void 0)
|
|
64086
64086
|
return;
|
|
64087
64087
|
let ce, pe;
|
|
@@ -64091,7 +64091,7 @@ var { commonSeriesOptionsDefs: iCe, mapShapeBackgroundSeriesThemeableOptionsDef:
|
|
|
64091
64091
|
const se = n.convert(H);
|
|
64092
64092
|
ce = m3(se + i.convert(String(m))), pe = m3(ce + i.bandwidth);
|
|
64093
64093
|
}
|
|
64094
|
-
const
|
|
64094
|
+
const ee = ce + i.bandwidth / 2, oe = w - r.convert(W), ie = w - r.convert(X), ae = (oe + ie) / 2, ye = w - r.convert(0), Ae = w - r.convert(q), Ce = Math.cos(ee) * ae, me = Math.sin(ee) * ae, Ke = this.properties.label.enabled ? P(G, _, Ce, me) : void 0, j = this.getColumnWidth(ce, pe);
|
|
64095
64095
|
O.push({
|
|
64096
64096
|
series: this,
|
|
64097
64097
|
datum: G,
|
|
@@ -64101,14 +64101,14 @@ var { commonSeriesOptionsDefs: iCe, mapShapeBackgroundSeriesThemeableOptionsDef:
|
|
|
64101
64101
|
label: Ke,
|
|
64102
64102
|
angleValue: H,
|
|
64103
64103
|
radiusValue: _,
|
|
64104
|
-
negative:
|
|
64104
|
+
negative: te,
|
|
64105
64105
|
innerRadius: oe,
|
|
64106
64106
|
outerRadius: ie,
|
|
64107
64107
|
stackInnerRadius: ye,
|
|
64108
64108
|
stackOuterRadius: Ae,
|
|
64109
64109
|
startAngle: ce,
|
|
64110
64110
|
endAngle: pe,
|
|
64111
|
-
midAngle:
|
|
64111
|
+
midAngle: ee,
|
|
64112
64112
|
axisInnerRadius: b,
|
|
64113
64113
|
axisOuterRadius: S,
|
|
64114
64114
|
columnWidth: j,
|
|
@@ -64787,7 +64787,7 @@ var {
|
|
|
64787
64787
|
let k = 0, x = 0, D = 0;
|
|
64788
64788
|
const I = i.dataSources.get(this.id) ?? [];
|
|
64789
64789
|
I.forEach(($, W) => {
|
|
64790
|
-
const X = f[W], q = m[W],
|
|
64790
|
+
const X = f[W], q = m[W], te = s && n.getItemEnabled({ seriesId: e, itemId: W });
|
|
64791
64791
|
if (D += q, M == null)
|
|
64792
64792
|
return;
|
|
64793
64793
|
const ce = this.getLabelText(
|
|
@@ -64798,15 +64798,15 @@ var {
|
|
|
64798
64798
|
y,
|
|
64799
64799
|
this.properties.stageLabel,
|
|
64800
64800
|
{ datum: $, value: q, stageKey: r, valueKey: a }
|
|
64801
|
-
), { width: pe } = b.measureText(ce),
|
|
64801
|
+
), { width: pe } = b.measureText(ce), ee = ce.split(`
|
|
64802
64802
|
`).length * e0e.getLineHeight(h.fontSize);
|
|
64803
|
-
k = Math.max(k, pe), x = Math.max(x,
|
|
64803
|
+
k = Math.max(k, pe), x = Math.max(x, ee), M.push({
|
|
64804
64804
|
x: NaN,
|
|
64805
64805
|
y: NaN,
|
|
64806
64806
|
text: ce,
|
|
64807
64807
|
textAlign: S,
|
|
64808
64808
|
textBaseline: w,
|
|
64809
|
-
visible:
|
|
64809
|
+
visible: te
|
|
64810
64810
|
});
|
|
64811
64811
|
});
|
|
64812
64812
|
const R = this._nodeDataDependencies?.seriesRectWidth ?? 0, P = this._nodeDataDependencies?.seriesRectHeight ?? 0, O = d * (i.input.count - 1);
|
|
@@ -64845,19 +64845,19 @@ var {
|
|
|
64845
64845
|
const G = [], H = [];
|
|
64846
64846
|
let _ = 0;
|
|
64847
64847
|
return I.forEach(($, W) => {
|
|
64848
|
-
const X = f[W], q = m[W],
|
|
64848
|
+
const X = f[W], q = m[W], te = s && n.getItemEnabled({ seriesId: e, itemId: W }), ce = _ + q, pe = (_ + ce) / (2 * D), ee = (ce - _) / D, oe = g ? B * pe + d * W : B * 0.5, ie = g ? z * 0.5 : z * pe + d * W, ae = E.x + oe, ye = E.y + ie;
|
|
64849
64849
|
if (M != null) {
|
|
64850
64850
|
const ge = M[W];
|
|
64851
64851
|
ge.x = F ?? ae, ge.y = N ?? ye;
|
|
64852
64852
|
}
|
|
64853
64853
|
let Ae, Ce, me, Ke;
|
|
64854
64854
|
if (g) {
|
|
64855
|
-
const ge = B *
|
|
64855
|
+
const ge = B * ee;
|
|
64856
64856
|
Ae = ge, me = ge;
|
|
64857
64857
|
const Pe = (oe + ge / 2) * (z / E.width), We = (oe - ge / 2) * (z / E.width);
|
|
64858
64858
|
Ce = c ? E.height - Pe : Pe, Ke = c ? E.height - We : We;
|
|
64859
64859
|
} else {
|
|
64860
|
-
const ge = z *
|
|
64860
|
+
const ge = z * ee;
|
|
64861
64861
|
Ce = ge, Ke = ge;
|
|
64862
64862
|
const Pe = (ie - ge / 2) * (B / E.height), We = (ie + ge / 2) * (B / E.height);
|
|
64863
64863
|
Ae = c ? E.width - Pe : Pe, me = c ? E.width - We : We;
|
|
@@ -64881,7 +64881,7 @@ var {
|
|
|
64881
64881
|
text: j,
|
|
64882
64882
|
textAlign: "center",
|
|
64883
64883
|
textBaseline: "middle",
|
|
64884
|
-
visible:
|
|
64884
|
+
visible: te
|
|
64885
64885
|
};
|
|
64886
64886
|
H.push(se), G.push({
|
|
64887
64887
|
series: this,
|
|
@@ -64898,7 +64898,7 @@ var {
|
|
|
64898
64898
|
bottom: me,
|
|
64899
64899
|
left: Ke,
|
|
64900
64900
|
label: se,
|
|
64901
|
-
enabled:
|
|
64901
|
+
enabled: te,
|
|
64902
64902
|
midPoint: {
|
|
64903
64903
|
x: ae,
|
|
64904
64904
|
y: ye
|
|
@@ -66131,9 +66131,9 @@ var {
|
|
|
66131
66131
|
if (G == null)
|
|
66132
66132
|
return;
|
|
66133
66133
|
const H = c[N], _ = a[N], $ = l[N], W = H >= 0 && !Object.is(H, -0), X = B.aggregation[d][W ? 1 : 0], q = W === m;
|
|
66134
|
-
let
|
|
66135
|
-
q && ([pe,
|
|
66136
|
-
const ie = S - n.convert(G) + h.convert(String(p)), ae = ie + f, ye = (ie + ae) / 2, Ae =
|
|
66134
|
+
let te = s.convert(_, { clamp: !0 }), ce = s.convert($, { clamp: !0 }), pe = s.convert(0, { clamp: !0 }), ee = s.convert(X, { clamp: !0 });
|
|
66135
|
+
q && ([pe, ee] = [ee, pe], [te, ce] = [ce, te]);
|
|
66136
|
+
const ie = S - n.convert(G) + h.convert(String(p)), ae = ie + f, ye = (ie + ae) / 2, Ae = te + kSe(te, ce) / 2, Ce = Math.cos(Ae) * ye, me = Math.sin(Ae) * ye, Ke = this.properties.label.enabled ? R(z, H, Ce, me) : void 0, j = new RSe(te, ce, ie, ae);
|
|
66137
66137
|
P.push({
|
|
66138
66138
|
series: this,
|
|
66139
66139
|
datum: z,
|
|
@@ -66146,7 +66146,7 @@ var {
|
|
|
66146
66146
|
innerRadius: ie,
|
|
66147
66147
|
outerRadius: ae,
|
|
66148
66148
|
startAngle: pe,
|
|
66149
|
-
endAngle:
|
|
66149
|
+
endAngle: ee,
|
|
66150
66150
|
clipSector: j,
|
|
66151
66151
|
reversed: q,
|
|
66152
66152
|
index: N
|
|
@@ -67020,16 +67020,16 @@ var {
|
|
|
67020
67020
|
maxTickCount: P,
|
|
67021
67021
|
tickCount: E
|
|
67022
67022
|
})?.ticks ?? [], N = bxe(F, typeof l.format == "string" ? l.format : void 0), B = dxe.getMeasurer({ font: l }), z = F.map((X, q) => {
|
|
67023
|
-
let
|
|
67024
|
-
if (l.formatter && (
|
|
67023
|
+
let te;
|
|
67024
|
+
if (l.formatter && (te = _v(this.ctx, l.formatter, {
|
|
67025
67025
|
value: X,
|
|
67026
67026
|
index: q,
|
|
67027
67027
|
domain: e.domain,
|
|
67028
67028
|
boundSeries: void 0
|
|
67029
|
-
})),
|
|
67029
|
+
})), te ?? (te = N?.(X)), te == null)
|
|
67030
67030
|
return;
|
|
67031
|
-
const { width: ce, height: pe } = B.measureText(
|
|
67032
|
-
return { index: q, value: X, text:
|
|
67031
|
+
const { width: ce, height: pe } = B.measureText(te);
|
|
67032
|
+
return { index: q, value: X, text: te, width: ce, height: pe };
|
|
67033
67033
|
}).filter((X) => X != null), G = z.reduce((X, q) => Math.max(X, q.width), 0), H = z.reduce((X, q) => Math.max(X, q.height), 0), _ = l.enabled ? Math.max(G, H) + l.spacing : 0, $ = Math.max(
|
|
67034
67034
|
0.5 * k - _,
|
|
67035
67035
|
// seriesRect may have negative size
|
|
@@ -67261,7 +67261,7 @@ var {
|
|
|
67261
67261
|
fontWeight: $,
|
|
67262
67262
|
fontFamily: W,
|
|
67263
67263
|
lineHeight: X,
|
|
67264
|
-
formatter: q = (
|
|
67264
|
+
formatter: q = (te) => this.formatLabel(te.value)
|
|
67265
67265
|
} = m;
|
|
67266
67266
|
x.push({
|
|
67267
67267
|
label: "primary",
|
|
@@ -67328,10 +67328,10 @@ var {
|
|
|
67328
67328
|
fill: W,
|
|
67329
67329
|
fillOpacity: X,
|
|
67330
67330
|
stroke: q,
|
|
67331
|
-
strokeWidth:
|
|
67331
|
+
strokeWidth: te,
|
|
67332
67332
|
strokeOpacity: ce,
|
|
67333
67333
|
lineDash: pe,
|
|
67334
|
-
lineDashOffset:
|
|
67334
|
+
lineDashOffset: ee
|
|
67335
67335
|
} = z;
|
|
67336
67336
|
if (G < Math.min(...i.domain) || G > Math.max(...i.domain))
|
|
67337
67337
|
continue;
|
|
@@ -67359,9 +67359,9 @@ var {
|
|
|
67359
67359
|
fillOpacity: X,
|
|
67360
67360
|
stroke: q,
|
|
67361
67361
|
strokeOpacity: ce,
|
|
67362
|
-
strokeWidth:
|
|
67362
|
+
strokeWidth: te,
|
|
67363
67363
|
lineDash: pe,
|
|
67364
|
-
lineDashOffset:
|
|
67364
|
+
lineDashOffset: ee,
|
|
67365
67365
|
label: this.getTargetLabel(z)
|
|
67366
67366
|
});
|
|
67367
67367
|
}
|
|
@@ -68813,7 +68813,7 @@ var H1 = class extends T.HierarchySeries {
|
|
|
68813
68813
|
}
|
|
68814
68814
|
if (F === "" && (F = void 0), D == null)
|
|
68815
68815
|
return;
|
|
68816
|
-
const N = D * y + f, B = (D + 1) * y - f, z = N > f ? f / N : f, G = B > f ? f / B : f, H = I + z, $ = R + z - H, W = I + G, q = R + G - W,
|
|
68816
|
+
const N = D * y + f, B = (D + 1) * y - f, z = N > f ? f / N : f, G = B > f ? f / B : f, H = I + z, $ = R + z - H, W = I + G, q = R + G - W, te = (j) => {
|
|
68817
68817
|
if (D === 0 && P?.sumSize === O)
|
|
68818
68818
|
return {
|
|
68819
68819
|
width: 2 * Math.sqrt(B ** 2 - (j * 0.5) ** 2),
|
|
@@ -68843,24 +68843,24 @@ var H1 = class extends T.HierarchySeries {
|
|
|
68843
68843
|
F,
|
|
68844
68844
|
this.properties.secondaryLabel,
|
|
68845
68845
|
{ padding: r },
|
|
68846
|
-
|
|
68846
|
+
te
|
|
68847
68847
|
);
|
|
68848
68848
|
if (ce == null)
|
|
68849
68849
|
return;
|
|
68850
|
-
const { width: pe, height:
|
|
68850
|
+
const { width: pe, height: ee, meta: oe, label: ie, secondaryLabel: ae } = ce, ye = v + (I + R) / 2, Ae = Math.sin(ye) >= 0, Ce = Math.cos(ye) >= 0, me = (Ae ? 3 : 12) & (Ce ? 6 : 9);
|
|
68851
68851
|
let Ke;
|
|
68852
68852
|
switch (oe) {
|
|
68853
68853
|
case 0:
|
|
68854
68854
|
Ke = 0;
|
|
68855
68855
|
break;
|
|
68856
68856
|
case 1: {
|
|
68857
|
-
const se = B - (y -
|
|
68857
|
+
const se = B - (y - ee) * 0.58, ge = Math.sqrt((B - r) ** 2 - (pe / 2) ** 2);
|
|
68858
68858
|
Ke = Math.min(se, ge);
|
|
68859
68859
|
break;
|
|
68860
68860
|
}
|
|
68861
68861
|
case 2:
|
|
68862
68862
|
if (D === 0) {
|
|
68863
|
-
const j =
|
|
68863
|
+
const j = ee / (2 * Math.tan($ * 0.5)) + pe * 0.5, se = Math.sqrt(B ** 2 - (ee * 0.5) ** 2) - pe * 0.5;
|
|
68864
68864
|
Ke = (j + se) * 0.5;
|
|
68865
68865
|
} else
|
|
68866
68866
|
Ke = (N + B) * 0.5;
|
|
@@ -108820,16 +108820,16 @@ function l4e() {
|
|
|
108820
108820
|
function q() {
|
|
108821
108821
|
if (W && R && (ce("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + c.DefaultDelimiter + "'"), R = !1), x.skipEmptyLines && (W.data = W.data.filter(function(ie) {
|
|
108822
108822
|
return !X(ie);
|
|
108823
|
-
})),
|
|
108823
|
+
})), te()) {
|
|
108824
108824
|
let ie = function(ae, ye) {
|
|
108825
108825
|
k(x.transformHeader) && (ae = x.transformHeader(ae, ye)), $.push(ae);
|
|
108826
108826
|
};
|
|
108827
108827
|
if (W) if (Array.isArray(W.data[0])) {
|
|
108828
|
-
for (var pe = 0;
|
|
108828
|
+
for (var pe = 0; te() && pe < W.data.length; pe++) W.data[pe].forEach(ie);
|
|
108829
108829
|
W.data.splice(0, 1);
|
|
108830
108830
|
} else W.data.forEach(ie);
|
|
108831
108831
|
}
|
|
108832
|
-
function
|
|
108832
|
+
function ee(ie, ae) {
|
|
108833
108833
|
for (var ye = x.header ? {} : [], Ae = 0; Ae < ie.length; Ae++) {
|
|
108834
108834
|
var Ce = Ae, me = ie[Ae], me = ((Ke, j) => ((se) => (x.dynamicTypingFunction && x.dynamicTyping[se] === void 0 && (x.dynamicTyping[se] = x.dynamicTypingFunction(se)), (x.dynamicTyping[se] || x.dynamicTyping) === !0))(Ke) ? j === "true" || j === "TRUE" || j !== "false" && j !== "FALSE" && (((se) => {
|
|
108835
108835
|
if (F.test(se) && (se = parseFloat(se), E < se && se < O))
|
|
@@ -108840,17 +108840,17 @@ function l4e() {
|
|
|
108840
108840
|
return x.header && (Ae > $.length ? ce("FieldMismatch", "TooManyFields", "Too many fields: expected " + $.length + " fields but parsed " + Ae, G + ae) : Ae < $.length && ce("FieldMismatch", "TooFewFields", "Too few fields: expected " + $.length + " fields but parsed " + Ae, G + ae)), ye;
|
|
108841
108841
|
}
|
|
108842
108842
|
var oe;
|
|
108843
|
-
W && (x.header || x.dynamicTyping || x.transform) && (oe = 1, !W.data.length || Array.isArray(W.data[0]) ? (W.data = W.data.map(
|
|
108843
|
+
W && (x.header || x.dynamicTyping || x.transform) && (oe = 1, !W.data.length || Array.isArray(W.data[0]) ? (W.data = W.data.map(ee), oe = W.data.length) : W.data = ee(W.data, 0), x.header && W.meta && (W.meta.fields = $), G += oe);
|
|
108844
108844
|
}
|
|
108845
|
-
function
|
|
108845
|
+
function te() {
|
|
108846
108846
|
return x.header && $.length === 0;
|
|
108847
108847
|
}
|
|
108848
|
-
function ce(pe,
|
|
108849
|
-
pe = { type: pe, code:
|
|
108848
|
+
function ce(pe, ee, oe, ie) {
|
|
108849
|
+
pe = { type: pe, code: ee, message: oe }, ie !== void 0 && (pe.row = ie), W.errors.push(pe);
|
|
108850
108850
|
}
|
|
108851
108851
|
k(x.step) && (P = x.step, x.step = function(pe) {
|
|
108852
|
-
W = pe,
|
|
108853
|
-
}), this.parse = function(pe,
|
|
108852
|
+
W = pe, te() ? q() : (q(), W.data.length !== 0 && (z += pe.data.length, x.preview && z > x.preview ? I.abort() : (W.data = W.data[0], P(W, B))));
|
|
108853
|
+
}), this.parse = function(pe, ee, oe) {
|
|
108854
108854
|
var ie = x.quoteChar || '"', ie = (x.newline || (x.newline = this.guessLineEndings(pe, ie)), R = !1, x.delimiter ? k(x.delimiter) && (x.delimiter = x.delimiter(pe), W.meta.delimiter = x.delimiter) : ((ie = ((ae, ye, Ae, Ce, me) => {
|
|
108855
108855
|
var Ke, j, se, ge;
|
|
108856
108856
|
me = me || [",", " ", "|", ";", c.RECORD_SEP, c.UNIT_SEP];
|
|
@@ -108860,7 +108860,7 @@ function l4e() {
|
|
|
108860
108860
|
}
|
|
108861
108861
|
return { successful: !!(x.delimiter = Ke), bestDelimiter: Ke };
|
|
108862
108862
|
})(pe, x.newline, x.skipEmptyLines, x.comments, x.delimitersToGuess)).successful ? x.delimiter = ie.bestDelimiter : (R = !0, x.delimiter = c.DefaultDelimiter), W.meta.delimiter = x.delimiter), w(x));
|
|
108863
|
-
return x.preview && x.header && ie.preview++, D = pe, I = new y(ie), W = I.parse(D,
|
|
108863
|
+
return x.preview && x.header && ie.preview++, D = pe, I = new y(ie), W = I.parse(D, ee, oe), q(), H ? { meta: { paused: !0 } } : W || { meta: { paused: !1 } };
|
|
108864
108864
|
}, this.paused = function() {
|
|
108865
108865
|
return H;
|
|
108866
108866
|
}, this.pause = function() {
|
|
@@ -108896,7 +108896,7 @@ function l4e() {
|
|
|
108896
108896
|
var G = 0, H = !1;
|
|
108897
108897
|
this.parse = function(_, $, W) {
|
|
108898
108898
|
if (typeof _ != "string") throw new Error("Input must be a string");
|
|
108899
|
-
var X = _.length, q = D.length,
|
|
108899
|
+
var X = _.length, q = D.length, te = I.length, ce = R.length, pe = k(P), ee = [], oe = [], ie = [], ae = G = 0;
|
|
108900
108900
|
if (!_) return nt();
|
|
108901
108901
|
if (E || E !== !1 && _.indexOf(B) === -1) {
|
|
108902
108902
|
for (var ye = _.split(I), Ae = 0; Ae < ye.length; Ae++) {
|
|
@@ -108904,15 +108904,15 @@ function l4e() {
|
|
|
108904
108904
|
else if (W) return nt();
|
|
108905
108905
|
if (!R || ie.substring(0, ce) !== R) {
|
|
108906
108906
|
if (pe) {
|
|
108907
|
-
if (
|
|
108907
|
+
if (ee = [], ge(ie.split(D)), Mt(), H) return nt();
|
|
108908
108908
|
} else ge(ie.split(D));
|
|
108909
|
-
if (O && O <= Ae) return
|
|
108909
|
+
if (O && O <= Ae) return ee = ee.slice(0, O), nt(!0);
|
|
108910
108910
|
}
|
|
108911
108911
|
}
|
|
108912
108912
|
return nt();
|
|
108913
108913
|
}
|
|
108914
108914
|
for (var Ce = _.indexOf(D, G), me = _.indexOf(I, G), Ke = new RegExp(m(z) + m(B), "g"), j = _.indexOf(B, G); ; ) if (_[G] === B) for (j = G, G++; ; ) {
|
|
108915
|
-
if ((j = _.indexOf(B, j + 1)) === -1) return W || oe.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row:
|
|
108915
|
+
if ((j = _.indexOf(B, j + 1)) === -1) return W || oe.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: ee.length, index: G }), We();
|
|
108916
108916
|
if (j === X - 1) return We(_.substring(G, j).replace(Ke, B));
|
|
108917
108917
|
if (B === z && _[j + 1] === z) j++;
|
|
108918
108918
|
else if (B === z || j === 0 || _[j - 1] !== z) {
|
|
@@ -108922,26 +108922,26 @@ function l4e() {
|
|
|
108922
108922
|
ie.push(_.substring(G, j).replace(Ke, B)), _[G = j + 1 + se + q] !== B && (j = _.indexOf(B, G)), Ce = _.indexOf(D, G), me = _.indexOf(I, G);
|
|
108923
108923
|
break;
|
|
108924
108924
|
}
|
|
108925
|
-
if (se = Pe(me), _.substring(j + 1 + se, j + 1 + se +
|
|
108926
|
-
if (ie.push(_.substring(G, j).replace(Ke, B)), Ze(j + 1 + se +
|
|
108927
|
-
if (O &&
|
|
108925
|
+
if (se = Pe(me), _.substring(j + 1 + se, j + 1 + se + te) === I) {
|
|
108926
|
+
if (ie.push(_.substring(G, j).replace(Ke, B)), Ze(j + 1 + se + te), Ce = _.indexOf(D, G), j = _.indexOf(B, G), pe && (Mt(), H)) return nt();
|
|
108927
|
+
if (O && ee.length >= O) return nt(!0);
|
|
108928
108928
|
break;
|
|
108929
108929
|
}
|
|
108930
|
-
oe.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row:
|
|
108930
|
+
oe.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: ee.length, index: G }), j++;
|
|
108931
108931
|
}
|
|
108932
108932
|
}
|
|
108933
108933
|
else if (R && ie.length === 0 && _.substring(G, G + ce) === R) {
|
|
108934
108934
|
if (me === -1) return nt();
|
|
108935
|
-
G = me +
|
|
108935
|
+
G = me + te, me = _.indexOf(I, G), Ce = _.indexOf(D, G);
|
|
108936
108936
|
} else if (Ce !== -1 && (Ce < me || me === -1)) ie.push(_.substring(G, Ce)), G = Ce + q, Ce = _.indexOf(D, G);
|
|
108937
108937
|
else {
|
|
108938
108938
|
if (me === -1) break;
|
|
108939
|
-
if (ie.push(_.substring(G, me)), Ze(me +
|
|
108940
|
-
if (O &&
|
|
108939
|
+
if (ie.push(_.substring(G, me)), Ze(me + te), pe && (Mt(), H)) return nt();
|
|
108940
|
+
if (O && ee.length >= O) return nt(!0);
|
|
108941
108941
|
}
|
|
108942
108942
|
return We();
|
|
108943
108943
|
function ge(dt) {
|
|
108944
|
-
|
|
108944
|
+
ee.push(dt), ae = G;
|
|
108945
108945
|
}
|
|
108946
108946
|
function Pe(dt) {
|
|
108947
108947
|
var Yt = 0;
|
|
@@ -108954,8 +108954,8 @@ function l4e() {
|
|
|
108954
108954
|
G = dt, ge(ie), ie = [], me = _.indexOf(I, G);
|
|
108955
108955
|
}
|
|
108956
108956
|
function nt(dt) {
|
|
108957
|
-
if (x.header && !$ &&
|
|
108958
|
-
var Yt =
|
|
108957
|
+
if (x.header && !$ && ee.length && !N) {
|
|
108958
|
+
var Yt = ee[0], mo = /* @__PURE__ */ Object.create(null), Cn = new Set(Yt);
|
|
108959
108959
|
let de = !1;
|
|
108960
108960
|
for (let xe = 0; xe < Yt.length; xe++) {
|
|
108961
108961
|
let Te = Yt[xe];
|
|
@@ -108968,10 +108968,10 @@ function l4e() {
|
|
|
108968
108968
|
}
|
|
108969
108969
|
de && console.warn("Duplicate headers found and renamed."), N = !0;
|
|
108970
108970
|
}
|
|
108971
|
-
return { data:
|
|
108971
|
+
return { data: ee, errors: oe, meta: { delimiter: D, linebreak: I, aborted: H, truncated: !!dt, cursor: ae + ($ || 0), renamedHeaders: F } };
|
|
108972
108972
|
}
|
|
108973
108973
|
function Mt() {
|
|
108974
|
-
P(nt()),
|
|
108974
|
+
P(nt()), ee = [], oe = [];
|
|
108975
108975
|
}
|
|
108976
108976
|
}, this.abort = function() {
|
|
108977
108977
|
H = !0;
|
|
@@ -109043,35 +109043,35 @@ function l4e() {
|
|
|
109043
109043
|
} else if (typeof x == "object") return typeof x.data == "string" && (x.data = JSON.parse(x.data)), Array.isArray(x.data) && (x.fields || (x.fields = x.meta && x.meta.fields || B), x.fields || (x.fields = Array.isArray(x.data[0]) ? x.fields : typeof x.data[0] == "object" ? Object.keys(x.data[0]) : []), Array.isArray(x.data[0]) || typeof x.data[0] == "object" || (x.data = [x.data])), H(x.fields || [], x.data || [], N);
|
|
109044
109044
|
throw new Error("Unable to serialize unrecognized input");
|
|
109045
109045
|
function H($, W, X) {
|
|
109046
|
-
var q = "",
|
|
109047
|
-
if (
|
|
109046
|
+
var q = "", te = (typeof $ == "string" && ($ = JSON.parse($)), typeof W == "string" && (W = JSON.parse(W)), Array.isArray($) && 0 < $.length), ce = !Array.isArray(W[0]);
|
|
109047
|
+
if (te && R) {
|
|
109048
109048
|
for (var pe = 0; pe < $.length; pe++) 0 < pe && (q += P), q += _($[pe], pe);
|
|
109049
109049
|
0 < W.length && (q += O);
|
|
109050
109050
|
}
|
|
109051
|
-
for (var
|
|
109052
|
-
var oe = (
|
|
109053
|
-
if (X && !
|
|
109051
|
+
for (var ee = 0; ee < W.length; ee++) {
|
|
109052
|
+
var oe = (te ? $ : W[ee]).length, ie = !1, ae = te ? Object.keys(W[ee]).length === 0 : W[ee].length === 0;
|
|
109053
|
+
if (X && !te && (ie = X === "greedy" ? W[ee].join("").trim() === "" : W[ee].length === 1 && W[ee][0].length === 0), X === "greedy" && te) {
|
|
109054
109054
|
for (var ye = [], Ae = 0; Ae < oe; Ae++) {
|
|
109055
109055
|
var Ce = ce ? $[Ae] : Ae;
|
|
109056
|
-
ye.push(W[
|
|
109056
|
+
ye.push(W[ee][Ce]);
|
|
109057
109057
|
}
|
|
109058
109058
|
ie = ye.join("").trim() === "";
|
|
109059
109059
|
}
|
|
109060
109060
|
if (!ie) {
|
|
109061
109061
|
for (var me = 0; me < oe; me++) {
|
|
109062
109062
|
0 < me && !ae && (q += P);
|
|
109063
|
-
var Ke =
|
|
109064
|
-
q += _(W[
|
|
109063
|
+
var Ke = te && ce ? $[me] : me;
|
|
109064
|
+
q += _(W[ee][Ke], me);
|
|
109065
109065
|
}
|
|
109066
|
-
|
|
109066
|
+
ee < W.length - 1 && (!X || 0 < oe && !ae) && (q += O);
|
|
109067
109067
|
}
|
|
109068
109068
|
}
|
|
109069
109069
|
return q;
|
|
109070
109070
|
}
|
|
109071
109071
|
function _($, W) {
|
|
109072
109072
|
var X, q;
|
|
109073
|
-
return $ == null ? "" : $.constructor === Date ? JSON.stringify($).slice(1, 25) : (q = !1, z && typeof $ == "string" && z.test($) && ($ = "'" + $, q = !0), X = $.toString().replace(G, F), (q = q || I === !0 || typeof I == "function" && I($, W) || Array.isArray(I) && I[W] || ((
|
|
109074
|
-
for (var pe = 0; pe < ce.length; pe++) if (-1 <
|
|
109073
|
+
return $ == null ? "" : $.constructor === Date ? JSON.stringify($).slice(1, 25) : (q = !1, z && typeof $ == "string" && z.test($) && ($ = "'" + $, q = !0), X = $.toString().replace(G, F), (q = q || I === !0 || typeof I == "function" && I($, W) || Array.isArray(I) && I[W] || ((te, ce) => {
|
|
109074
|
+
for (var pe = 0; pe < ce.length; pe++) if (-1 < te.indexOf(ce[pe])) return !0;
|
|
109075
109075
|
return !1;
|
|
109076
109076
|
})(X, c.BAD_DELIMITERS) || -1 < X.indexOf(P) || X.charAt(0) === " " || X.charAt(X.length - 1) === " ") ? E + X + E : X);
|
|
109077
109077
|
}
|
|
@@ -111527,9 +111527,9 @@ var ka = {
|
|
|
111527
111527
|
const { preset: h, options: p } = t;
|
|
111528
111528
|
let g, f, m, y, v, b, S;
|
|
111529
111529
|
if (so(h) && p.transform !== "strict") {
|
|
111530
|
-
const { primitive: w, semantic: M, extend: k } = h, x = M || {}, { colorScheme: D } = x, I = vc(x, ["colorScheme"]), R = k || {}, { colorScheme: P } = R, O = vc(R, ["colorScheme"]), E = D || {}, { dark: F } = E, N = vc(E, ["dark"]), B = P || {}, { dark: z } = B, G = vc(B, ["dark"]), H = so(w) ? this._toVariables({ primitive: w }, p) : {}, _ = so(I) ? this._toVariables({ semantic: I }, p) : {}, $ = so(N) ? this._toVariables({ light: N }, p) : {}, W = so(F) ? this._toVariables({ dark: F }, p) : {}, X = so(O) ? this._toVariables({ semantic: O }, p) : {}, q = so(G) ? this._toVariables({ light: G }, p) : {},
|
|
111530
|
+
const { primitive: w, semantic: M, extend: k } = h, x = M || {}, { colorScheme: D } = x, I = vc(x, ["colorScheme"]), R = k || {}, { colorScheme: P } = R, O = vc(R, ["colorScheme"]), E = D || {}, { dark: F } = E, N = vc(E, ["dark"]), B = P || {}, { dark: z } = B, G = vc(B, ["dark"]), H = so(w) ? this._toVariables({ primitive: w }, p) : {}, _ = so(I) ? this._toVariables({ semantic: I }, p) : {}, $ = so(N) ? this._toVariables({ light: N }, p) : {}, W = so(F) ? this._toVariables({ dark: F }, p) : {}, X = so(O) ? this._toVariables({ semantic: O }, p) : {}, q = so(G) ? this._toVariables({ light: G }, p) : {}, te = so(z) ? this._toVariables({ dark: z }, p) : {}, [ce, pe] = [(n = H.declarations) != null ? n : "", H.tokens], [ee, oe] = [(r = _.declarations) != null ? r : "", _.tokens || []], [ie, ae] = [(a = $.declarations) != null ? a : "", $.tokens || []], [ye, Ae] = [(l = W.declarations) != null ? l : "", W.tokens || []], [Ce, me] = [(c = X.declarations) != null ? c : "", X.tokens || []], [Ke, j] = [(d = q.declarations) != null ? d : "", q.tokens || []], [se, ge] = [(u = te.declarations) != null ? u : "", te.tokens || []];
|
|
111531
111531
|
g = this.transformCSS(e, ce, "light", "variable", p, o, s), f = pe;
|
|
111532
|
-
const Pe = this.transformCSS(e, `${
|
|
111532
|
+
const Pe = this.transformCSS(e, `${ee}${ie}`, "light", "variable", p, o, s), We = this.transformCSS(e, `${ye}`, "dark", "variable", p, o, s);
|
|
111533
111533
|
m = `${Pe}${We}`, y = [.../* @__PURE__ */ new Set([...oe, ...ae, ...Ae])];
|
|
111534
111534
|
const Ze = this.transformCSS(e, `${Ce}${Ke}color-scheme:light`, "light", "variable", p, o, s), nt = this.transformCSS(e, `${se}color-scheme:dark`, "dark", "variable", p, o, s);
|
|
111535
111535
|
v = `${Ze}${nt}`, b = [.../* @__PURE__ */ new Set([...me, ...j, ...ge])], S = ru(h.css, { dt: ap });
|
|
@@ -112240,12 +112240,12 @@ function C3e() {
|
|
|
112240
112240
|
}, F.valueOf = function() {
|
|
112241
112241
|
return this.$d.getTime();
|
|
112242
112242
|
}, F.startOf = function(N, B) {
|
|
112243
|
-
var z = this, G = !!R.u(B) || B, H = R.p(N), _ = function(
|
|
112244
|
-
var ie = R.w(z.$u ? Date.UTC(z.$y, oe,
|
|
112243
|
+
var z = this, G = !!R.u(B) || B, H = R.p(N), _ = function(ee, oe) {
|
|
112244
|
+
var ie = R.w(z.$u ? Date.UTC(z.$y, oe, ee) : new Date(z.$y, oe, ee), z);
|
|
112245
112245
|
return G ? ie : ie.endOf(c);
|
|
112246
|
-
}, $ = function(
|
|
112247
|
-
return R.w(z.toDate()[
|
|
112248
|
-
}, W = this.$W, X = this.$M, q = this.$D,
|
|
112246
|
+
}, $ = function(ee, oe) {
|
|
112247
|
+
return R.w(z.toDate()[ee].apply(z.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(oe)), z);
|
|
112248
|
+
}, W = this.$W, X = this.$M, q = this.$D, te = "set" + (this.$u ? "UTC" : "");
|
|
112249
112249
|
switch (H) {
|
|
112250
112250
|
case p:
|
|
112251
112251
|
return G ? _(1, 0) : _(31, 11);
|
|
@@ -112256,13 +112256,13 @@ function C3e() {
|
|
|
112256
112256
|
return _(G ? q - pe : q + (6 - pe), X);
|
|
112257
112257
|
case c:
|
|
112258
112258
|
case g:
|
|
112259
|
-
return $(
|
|
112259
|
+
return $(te + "Hours", 0);
|
|
112260
112260
|
case l:
|
|
112261
|
-
return $(
|
|
112261
|
+
return $(te + "Minutes", 1);
|
|
112262
112262
|
case a:
|
|
112263
|
-
return $(
|
|
112263
|
+
return $(te + "Seconds", 2);
|
|
112264
112264
|
case r:
|
|
112265
|
-
return $(
|
|
112265
|
+
return $(te + "Milliseconds", 3);
|
|
112266
112266
|
default:
|
|
112267
112267
|
return this.clone();
|
|
112268
112268
|
}
|
|
@@ -112297,11 +112297,11 @@ function C3e() {
|
|
|
112297
112297
|
}, F.format = function(N) {
|
|
112298
112298
|
var B = this, z = this.$locale();
|
|
112299
112299
|
if (!this.isValid()) return z.invalidDate || f;
|
|
112300
|
-
var G = N || "YYYY-MM-DDTHH:mm:ssZ", H = R.z(this), _ = this.$H, $ = this.$m, W = this.$M, X = z.weekdays, q = z.months,
|
|
112300
|
+
var G = N || "YYYY-MM-DDTHH:mm:ssZ", H = R.z(this), _ = this.$H, $ = this.$m, W = this.$M, X = z.weekdays, q = z.months, te = z.meridiem, ce = function(oe, ie, ae, ye) {
|
|
112301
112301
|
return oe && (oe[ie] || oe(B, G)) || ae[ie].slice(0, ye);
|
|
112302
112302
|
}, pe = function(oe) {
|
|
112303
112303
|
return R.s(_ % 12 || 12, oe, "0");
|
|
112304
|
-
},
|
|
112304
|
+
}, ee = te || function(oe, ie, ae) {
|
|
112305
112305
|
var ye = oe < 12 ? "AM" : "PM";
|
|
112306
112306
|
return ae ? ye.toLowerCase() : ye;
|
|
112307
112307
|
};
|
|
@@ -112341,9 +112341,9 @@ function C3e() {
|
|
|
112341
112341
|
case "hh":
|
|
112342
112342
|
return pe(2);
|
|
112343
112343
|
case "a":
|
|
112344
|
-
return
|
|
112344
|
+
return ee(_, $, !0);
|
|
112345
112345
|
case "A":
|
|
112346
|
-
return
|
|
112346
|
+
return ee(_, $, !1);
|
|
112347
112347
|
case "m":
|
|
112348
112348
|
return String($);
|
|
112349
112349
|
case "mm":
|
|
@@ -114051,22 +114051,22 @@ const xK = (e) => {
|
|
|
114051
114051
|
const j = i.filterColDef.context;
|
|
114052
114052
|
if (j && j.filterFooterRenderer)
|
|
114053
114053
|
return j.filterFooterRenderer;
|
|
114054
|
-
}),
|
|
114054
|
+
}), te = ue(() => z.value ? S.value.length >= z.value : !1), ce = ue(() => w.value.filter(
|
|
114055
114055
|
(j) => !S.value.includes(j)
|
|
114056
|
-
)), pe = ue(() => w.value.length === 1 && w.value[0] === null && S.value.length === 0),
|
|
114056
|
+
)), pe = ue(() => w.value.length === 1 && w.value[0] === null && S.value.length === 0), ee = (j) => {
|
|
114057
114057
|
const se = n.value[0], ge = Array.isArray(i.focusableColumns) ? i.focusableColumns : [];
|
|
114058
114058
|
return (
|
|
114059
114059
|
// this is the first group by field (the x-axis)
|
|
114060
114060
|
se === j && i.enableFocusView && (ge.length === 0 || ge.includes(j))
|
|
114061
114061
|
);
|
|
114062
|
-
}, oe = (j) => pe.value || u(M.value, j)?.isSelectable === !1 ? !0 : G.value ? !1 :
|
|
114062
|
+
}, oe = (j) => pe.value || u(M.value, j)?.isSelectable === !1 ? !0 : G.value ? !1 : te.value && !S.value.includes(j), ie = ue(() => w.value.filter((se, ge) => w.value.indexOf(se) === ge).filter((se) => se != null && se !== "").map((se) => {
|
|
114063
114063
|
let ge = H.value ? "suggestions" : null;
|
|
114064
114064
|
return u(M.value, se)?.isPreference && (ge = "preferences"), {
|
|
114065
114065
|
id: se,
|
|
114066
114066
|
text: B(se),
|
|
114067
114067
|
groupingLabel: ge,
|
|
114068
114068
|
disabled: oe(se),
|
|
114069
|
-
renderer:
|
|
114069
|
+
renderer: ee(M.value) ? w$e : X.value,
|
|
114070
114070
|
rendererProps: {
|
|
114071
114071
|
onFocusUpdate: me
|
|
114072
114072
|
},
|
|
@@ -114954,10 +114954,10 @@ const PWe = {
|
|
|
114954
114954
|
const ve = Y.success, Ie = {
|
|
114955
114955
|
...Y,
|
|
114956
114956
|
success: (Ge) => {
|
|
114957
|
-
if (n.enableFocusView && q.value.length > 0 &&
|
|
114957
|
+
if (n.enableFocusView && q.value.length > 0 && te.value && Ge.rowData) {
|
|
114958
114958
|
const tt = XT(
|
|
114959
114959
|
Ge.rowData,
|
|
114960
|
-
|
|
114960
|
+
te.value,
|
|
114961
114961
|
q.value
|
|
114962
114962
|
);
|
|
114963
114963
|
if (tt) {
|
|
@@ -115054,11 +115054,11 @@ const PWe = {
|
|
|
115054
115054
|
F.value = n.filterValuesSetHandler, P.value = n.initialFilterValueMap || {};
|
|
115055
115055
|
const N = fe(null), B = ue(() => m.value.filter((Y) => Y.filter)), z = ue(() => m.value.filter((Y) => Y.enableRowGroup)), G = ue(() => m.value.filter((Y) => Y.aggFunc)), H = fe(null), _ = fe({}), $ = fe(1), W = fe(0);
|
|
115056
115056
|
xi(gw, I), xi(aK, x), xi(ig, k), xi(U7e, N), xi(lK, y), xi(cK, B), xi(aM, z), xi(lM, v), xi(dK, H), xi(EE, _), xi(uK, b), xi(hK, $), xi(pK, W);
|
|
115057
|
-
const X = ue(() => !n.enableFocusView && !n.rowData || n.enableFocusView && !q.value.length && !
|
|
115057
|
+
const X = ue(() => !n.enableFocusView && !n.rowData || n.enableFocusView && !q.value.length && !te.value ? n.rowData : XT(
|
|
115058
115058
|
n.rowData,
|
|
115059
|
-
|
|
115059
|
+
te.value,
|
|
115060
115060
|
q.value
|
|
115061
|
-
)), { focuses: q, focusType:
|
|
115061
|
+
)), { focuses: q, focusType: te, handleFocusUpdate: ce, clearAllFocuses: pe } = zm(), ee = (Y) => {
|
|
115062
115062
|
if (!n.enableFocusView || !k.value)
|
|
115063
115063
|
return;
|
|
115064
115064
|
const ve = Y.filterField, Ie = Y.focuses && Y.focuses.length > 0 ? Y.focuses[0] : null;
|
|
@@ -115210,7 +115210,7 @@ const PWe = {
|
|
|
115210
115210
|
rowNode: Y.node,
|
|
115211
115211
|
api: k.value,
|
|
115212
115212
|
onFocusUpdate: (ve, Ie) => {
|
|
115213
|
-
|
|
115213
|
+
ee({
|
|
115214
115214
|
filterField: ve,
|
|
115215
115215
|
focuses: [Ie]
|
|
115216
115216
|
});
|
|
@@ -115293,14 +115293,15 @@ const PWe = {
|
|
|
115293
115293
|
"display-preferences-icon": Y.displayPreferencesIcon,
|
|
115294
115294
|
"focusable-columns": Y.focusableColumns,
|
|
115295
115295
|
onHandleSettingsIcon: ve[0] || (ve[0] = (Ie) => Y.$emit("handle-settings-icon", Ie)),
|
|
115296
|
-
onFocusUpdate:
|
|
115296
|
+
onFocusUpdate: ee
|
|
115297
115297
|
}, null, 8, ["enable-focus-view", "enable-vertical-panel", "display-preferences-icon", "focusable-columns"])) : Oe("", !0)
|
|
115298
115298
|
], 8, ["to", "disabled"])),
|
|
115299
115299
|
we("div", HWe, [
|
|
115300
115300
|
Y.enableGroupBySelector && Y.rowGroupLimit !== 0 ? (Z(), at(e$e, {
|
|
115301
115301
|
key: 0,
|
|
115302
115302
|
rowGroupLimit: Y.rowGroupLimit,
|
|
115303
|
-
enableFocusView: Y.enableFocusView
|
|
115303
|
+
enableFocusView: Y.enableFocusView,
|
|
115304
|
+
onFocusUpdate: ee
|
|
115304
115305
|
}, null, 8, ["rowGroupLimit", "enableFocusView"])) : Oe("", !0),
|
|
115305
115306
|
Y.enableCsvExport ? (Z(), at(iWe, {
|
|
115306
115307
|
key: 1,
|
|
@@ -115903,7 +115904,7 @@ const PWe = {
|
|
|
115903
115904
|
const { setFilterSelectedValues: f } = g, m = (de) => {
|
|
115904
115905
|
n.value = de.api, s("grid-ready", de);
|
|
115905
115906
|
}, y = (de) => {
|
|
115906
|
-
p.value = de.api.getRowGroupColumns().map((xe) => xe.getColId()), console.log("Row group columns changed:", p.value),
|
|
115907
|
+
p.value = de.api.getRowGroupColumns().map((xe) => xe.getColId()), console.log("Row group columns changed:", p.value), ee(), ae(de.api), s("column-row-group-changed", de);
|
|
115907
115908
|
}, v = async (de) => {
|
|
115908
115909
|
if (o.chartFilter) {
|
|
115909
115910
|
const Te = (await de.api.getColumnFilterInstance(
|
|
@@ -115919,7 +115920,7 @@ const PWe = {
|
|
|
115919
115920
|
let ve = "";
|
|
115920
115921
|
const Ie = w(de), Ge = g$e(Ie);
|
|
115921
115922
|
if (o.truncateLabelValues && Te && Ge && !isNaN(Number(Y.value))) {
|
|
115922
|
-
if (
|
|
115923
|
+
if (te.value) {
|
|
115923
115924
|
const th = Y.datum?.[R.value], cM = I.value?.find(
|
|
115924
115925
|
(dM) => dM[R.value] === th
|
|
115925
115926
|
)?.[`${P.value}_sort_total`] || 1 / 0;
|
|
@@ -116011,8 +116012,8 @@ const PWe = {
|
|
|
116011
116012
|
]
|
|
116012
116013
|
};
|
|
116013
116014
|
}, X = (de) => {
|
|
116014
|
-
}, q = ue(() => k.value?.id.includes("column") || k.value?.id.includes("bar")),
|
|
116015
|
-
const de =
|
|
116015
|
+
}, q = ue(() => k.value?.id.includes("column") || k.value?.id.includes("bar")), te = ue(() => k.value?.id.includes("stacked")), ce = ue(() => {
|
|
116016
|
+
const de = te.value, xe = q.value ? "bar" : k.value?.id;
|
|
116016
116017
|
let Te = [];
|
|
116017
116018
|
const Y = S(P.value, !0), ve = S(
|
|
116018
116019
|
O.value?.fieldName,
|
|
@@ -116074,7 +116075,7 @@ const PWe = {
|
|
|
116074
116075
|
type: "pie",
|
|
116075
116076
|
legendItemKey: R.value,
|
|
116076
116077
|
angleKey: P.value
|
|
116077
|
-
}]),
|
|
116078
|
+
}]), ee = () => {
|
|
116078
116079
|
R.value = p.value[0] || "";
|
|
116079
116080
|
};
|
|
116080
116081
|
Qt(P, (de) => {
|