@arcgis/charts-components 5.2.0-next.150 → 5.2.0-next.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{5U44JITQ.js → 23DAXBKQ.js} +1 -1
- package/dist/cdn/{LBMIXS7P.js → 273IJ43I.js} +1 -1
- package/dist/cdn/{E2IXXH5R.js → 3IQQDZZD.js} +1 -1
- package/dist/cdn/{NNQEFAQU.js → 47EPN7FR.js} +1 -1
- package/dist/cdn/{QGHGUVWE.js → 4TEMFIHR.js} +1 -1
- package/dist/cdn/{4I2I5IVQ.js → 4VKFYSJT.js} +1 -1
- package/dist/cdn/{SKN5OMXV.js → 4YF43WY7.js} +1 -1
- package/dist/cdn/{BTDPI3AR.js → 4ZBAUXGZ.js} +1 -1
- package/dist/cdn/{257PEDYJ.js → 5HL7EQRK.js} +1 -1
- package/dist/cdn/{73GS7B7G.js → 5IGMXNM2.js} +1 -1
- package/dist/cdn/{GHAC6H6F.js → 5WX476SX.js} +1 -1
- package/dist/cdn/{ITTVEYZH.js → 5XIL7NWT.js} +1 -1
- package/dist/cdn/{ACXDPMZD.js → 6OWV7F4O.js} +1 -1
- package/dist/cdn/{HL3H6U7M.js → 6RWJ4N2Q.js} +1 -1
- package/dist/cdn/{XOZZXRKR.js → 6U6W5ZSW.js} +1 -1
- package/dist/cdn/{YOAS5HJU.js → 7RUDMEC3.js} +1 -1
- package/dist/cdn/{MCY2C5IV.js → 7UC2JQPS.js} +1 -1
- package/dist/cdn/{FAFM7HRN.js → A2TBWLEB.js} +1 -1
- package/dist/cdn/{IRYTXVTM.js → A4TOCPEB.js} +1 -1
- package/dist/cdn/{ZUMDTFHS.js → AQDO3GMP.js} +1 -1
- package/dist/cdn/{SLH66QHH.js → AXJC4XS3.js} +1 -1
- package/dist/cdn/{ZY2X4X6T.js → BC262Z6H.js} +1 -1
- package/dist/cdn/{LJ3IPYWK.js → BIXI63YR.js} +1 -1
- package/dist/cdn/{GJUNAKKB.js → BNQWCCMX.js} +1 -1
- package/dist/cdn/{5TXHUDP4.js → BOPSKTO3.js} +1 -1
- package/dist/cdn/{4QXXXWA6.js → CQ4UAH3F.js} +1 -1
- package/dist/cdn/{YRHDWCLS.js → DIT5QYRZ.js} +1 -1
- package/dist/cdn/{OPLY5TWI.js → DY2RFK5X.js} +1 -1
- package/dist/cdn/{BH2DGNXG.js → DYTFQZOO.js} +1 -1
- package/dist/cdn/{SHG5B5EO.js → EMJJDN2H.js} +1 -1
- package/dist/cdn/{QYMY2RNU.js → EOH2W3LP.js} +1 -1
- package/dist/cdn/{PFAQRCVD.js → ERKURCJE.js} +1 -1
- package/dist/cdn/{6IYV7IV4.js → F27FJBNB.js} +1 -1
- package/dist/cdn/{WQQUCFW5.js → F4HRPOER.js} +1 -1
- package/dist/cdn/{QBP5QHM5.js → F7BDZDWJ.js} +1 -1
- package/dist/cdn/{G63T5MU4.js → FJG5G3NR.js} +1 -1
- package/dist/cdn/{XKKO432P.js → GANKBRNZ.js} +1 -1
- package/dist/cdn/{XZ42EIPM.js → GEWPZ2SD.js} +2 -2
- package/dist/cdn/{TQW7WM4O.js → HF5XFFU2.js} +1 -1
- package/dist/cdn/{NDBNHEEZ.js → HQA37HHH.js} +1 -1
- package/dist/cdn/{GQ5T4JIV.js → I6KD2MMJ.js} +1 -1
- package/dist/cdn/{PFIVTH6Z.js → IHFE6MFI.js} +1 -1
- package/dist/cdn/{VVHVHDWG.js → INRSI4JY.js} +1 -1
- package/dist/cdn/{6OLJQWVE.js → IVCIEJ4G.js} +1 -1
- package/dist/cdn/{7Q7ES4BZ.js → IVJ2VRAU.js} +1 -1
- package/dist/cdn/{B2LCOSXO.js → JOZZX5IK.js} +1 -1
- package/dist/cdn/{TRI6WAGM.js → JY62I5FE.js} +1 -1
- package/dist/cdn/{OKB4GB4J.js → KHOVZWE4.js} +1 -1
- package/dist/cdn/{UK2ILVTG.js → KKLIUCWP.js} +1 -1
- package/dist/cdn/{AKOQC2SC.js → KMYMJ4TB.js} +1 -1
- package/dist/cdn/{IIYJJRMN.js → KNM4Y7PI.js} +1 -1
- package/dist/cdn/{QAN2SQN2.js → KWK2VF72.js} +1 -1
- package/dist/cdn/{W2XIAHGG.js → LX3JDSZQ.js} +1 -1
- package/dist/cdn/{3E7JBKUK.js → M5WNLFQ6.js} +1 -1
- package/dist/cdn/{NVPRRSLO.js → MYR6PJFL.js} +1 -1
- package/dist/cdn/{IVUICF2P.js → NR6WJN42.js} +1 -1
- package/dist/cdn/{M3EQKFST.js → O5YSHLEC.js} +1 -1
- package/dist/cdn/{SDMBKMSY.js → O6OHBRAO.js} +1 -1
- package/dist/cdn/{6IOXNE24.js → PIWPQCJ7.js} +1 -1
- package/dist/cdn/{F7VQ6K7S.js → QBQZBIOR.js} +1 -1
- package/dist/cdn/{TLCAHGNK.js → QJTMDECJ.js} +1 -1
- package/dist/cdn/{YR2QJZ5S.js → QPE4226Z.js} +1 -1
- package/dist/cdn/{AGKYRKW5.js → S7MBWOPD.js} +1 -1
- package/dist/cdn/{MSFQI34M.js → SNBZEAP3.js} +1 -1
- package/dist/cdn/{72UQY733.js → T35Z5NW4.js} +1 -1
- package/dist/cdn/{XWYYPCI6.js → THF4PSZK.js} +1 -1
- package/dist/cdn/{R2R6S5K6.js → UBOQOV4R.js} +1 -1
- package/dist/cdn/{5FHRHVMR.js → VSC4SDJS.js} +1 -1
- package/dist/cdn/{OPVOVIKX.js → VUMWERXB.js} +1 -1
- package/dist/cdn/{25NUJ5YH.js → VZUGRGXA.js} +1 -1
- package/dist/cdn/{TUVE7ZQE.js → WMOWSZUY.js} +1 -1
- package/dist/cdn/{JASVY2S5.js → WN23K74S.js} +1 -1
- package/dist/cdn/{H4HQBS46.js → WOQECVI6.js} +3 -3
- package/dist/cdn/{5KS2PX57.js → X7NFMMYD.js} +1 -1
- package/dist/cdn/{MOSYGTYS.js → XPNVMNSO.js} +1 -1
- package/dist/cdn/{KJFL57RE.js → XUN6JTT4.js} +1 -1
- package/dist/cdn/{YINDSPLO.js → XZYQVNBK.js} +1 -1
- package/dist/cdn/{4P7L6R6R.js → YJUJ2JXY.js} +1 -1
- package/dist/cdn/{QJJRZHVE.js → YKD6IBPT.js} +1 -1
- package/dist/cdn/{VRVLAPPS.js → YNLUQX4T.js} +1 -1
- package/dist/cdn/{WZIPMTG5.js → YUJPRB3D.js} +1 -1
- package/dist/cdn/{JIANMLCP.js → YW52HGG5.js} +1 -1
- package/dist/cdn/{ZP2Y7KD7.js → Z2DQ6K54.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/index.js +333 -328
- package/dist/components/arcgis-chart/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +4 -4
package/dist/chunks/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { memoize as Qe, cloneDeep as ke, isEqual as we, isArray as xi, isNil as sn, isEmpty as on, sortBy as $i } from "es-toolkit/compat";
|
|
3
|
-
import { T as ht, p as Vt, U as ln, r as Ci, q as
|
|
3
|
+
import { T as ht, p as Vt, U as ln, r as Ci, q as _, l as Yt, V as Ie, H as We, g as br, W as cn, i as H, X as Zt, Y as xr, L as He, a as _i, z as Cr, O as un, P as dn, Z as zi, s as fn } from "./index2.js";
|
|
4
4
|
import { R as ni, b as ne, e as je, a as ci, d as Z, c as fe } from "./rest-js-object-literals.js";
|
|
5
5
|
import { a as h, g as oe, c as Fe, i as mn, f as Br, e as $, d as O, s as te, G as vr, t as Ve, b as ae, h as be, S as Tr, l as Se, o as ot } from "./chart-object-literals.js";
|
|
6
6
|
import Ar from "@arcgis/core/Graphic.js";
|
|
@@ -1178,7 +1178,7 @@ async function $r(t) {
|
|
|
1178
1178
|
async function ls(t) {
|
|
1179
1179
|
const e = [], { featureCount: i, maxRecords: r, queryConfig: a, abortSignal: n } = t;
|
|
1180
1180
|
let s = [], o = 0, l = a?.start ?? 0;
|
|
1181
|
-
for (; o <
|
|
1181
|
+
for (; o < _.maxParallelRequests && l < i; ) {
|
|
1182
1182
|
const c = { ...t };
|
|
1183
1183
|
c.queryConfig = {
|
|
1184
1184
|
...a,
|
|
@@ -1204,9 +1204,9 @@ async function xe(t) {
|
|
|
1204
1204
|
const d = j(e), f = a ?? 1, m = qa(e, d);
|
|
1205
1205
|
if (n !== !0 && f > m && d?.capabilities?.query.supportsPagination) {
|
|
1206
1206
|
let g = 0, p = 0;
|
|
1207
|
-
const y = Math.ceil(f / m), S = Math.ceil(y /
|
|
1207
|
+
const y = Math.ceil(f / m), S = Math.ceil(y / _.maxParallelRequests), b = [];
|
|
1208
1208
|
for (; p < S; ) {
|
|
1209
|
-
g = p *
|
|
1209
|
+
g = p * _.maxParallelRequests * m;
|
|
1210
1210
|
const C = ls({
|
|
1211
1211
|
queryConfig: { ...i, start: g },
|
|
1212
1212
|
queryObject: e,
|
|
@@ -1561,47 +1561,47 @@ function Ti(t, e) {
|
|
|
1561
1561
|
maxRadarThreePlusSeriesCountTotal: v,
|
|
1562
1562
|
maxHeatChartCellLimit: A,
|
|
1563
1563
|
serialChart: { series: N, elements: L },
|
|
1564
|
-
pieChart: { slices:
|
|
1564
|
+
pieChart: { slices: M },
|
|
1565
1565
|
gauge: { features: w },
|
|
1566
1566
|
heatChart: { cells: D }
|
|
1567
|
-
} = We(e),
|
|
1568
|
-
switch (
|
|
1567
|
+
} = We(e), I = V(t.series), P = t.series.length === 0 ? 1 : t.series.length, E = G(t.series);
|
|
1568
|
+
switch (I) {
|
|
1569
1569
|
case h.ComboLineAndBarSeries:
|
|
1570
1570
|
case h.BarSeries:
|
|
1571
|
-
|
|
1571
|
+
P <= (r ?? N) && (P === 1 ? i = a ?? L : P === 2 ? i = lt({
|
|
1572
1572
|
countTotal: s ?? L,
|
|
1573
1573
|
countPerSeries: n,
|
|
1574
|
-
numberOfSeries:
|
|
1575
|
-
}) :
|
|
1574
|
+
numberOfSeries: P
|
|
1575
|
+
}) : P > 2 && (i = lt({
|
|
1576
1576
|
countTotal: l ?? L,
|
|
1577
1577
|
countPerSeries: o,
|
|
1578
|
-
numberOfSeries:
|
|
1578
|
+
numberOfSeries: P
|
|
1579
1579
|
})));
|
|
1580
1580
|
break;
|
|
1581
1581
|
case h.LineSeries:
|
|
1582
|
-
|
|
1582
|
+
P <= (u ?? N) && (P === 1 ? i = c ?? L : P === 2 ? i = lt({
|
|
1583
1583
|
countTotal: f ?? L,
|
|
1584
1584
|
countPerSeries: d,
|
|
1585
|
-
numberOfSeries:
|
|
1586
|
-
}) :
|
|
1585
|
+
numberOfSeries: P
|
|
1586
|
+
}) : P > 2 && (i = lt({
|
|
1587
1587
|
countTotal: g ?? L,
|
|
1588
1588
|
countPerSeries: m,
|
|
1589
|
-
numberOfSeries:
|
|
1589
|
+
numberOfSeries: P
|
|
1590
1590
|
})));
|
|
1591
1591
|
break;
|
|
1592
1592
|
case h.RadarSeries:
|
|
1593
|
-
|
|
1593
|
+
P <= (S ?? N) && (P === 1 ? i = b ?? L : P === 2 ? i = lt({
|
|
1594
1594
|
countTotal: C ?? L,
|
|
1595
1595
|
countPerSeries: T,
|
|
1596
|
-
numberOfSeries:
|
|
1597
|
-
}) :
|
|
1596
|
+
numberOfSeries: P
|
|
1597
|
+
}) : P > 2 && (i = lt({
|
|
1598
1598
|
countTotal: v ?? L,
|
|
1599
1599
|
countPerSeries: x,
|
|
1600
|
-
numberOfSeries:
|
|
1600
|
+
numberOfSeries: P
|
|
1601
1601
|
})));
|
|
1602
1602
|
break;
|
|
1603
1603
|
case h.PieSeries:
|
|
1604
|
-
i = p ??
|
|
1604
|
+
i = p ?? M;
|
|
1605
1605
|
break;
|
|
1606
1606
|
case h.GaugeSeries:
|
|
1607
1607
|
i = y ?? w;
|
|
@@ -1615,7 +1615,7 @@ function Ti(t, e) {
|
|
|
1615
1615
|
// handled through the number of bins
|
|
1616
1616
|
case h.BoxPlotSeries:
|
|
1617
1617
|
}
|
|
1618
|
-
return (E === F.BarAndLineNoAggregation || E === F.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i /
|
|
1618
|
+
return (E === F.BarAndLineNoAggregation || E === F.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / P)), i;
|
|
1619
1619
|
}
|
|
1620
1620
|
function ji(t, e) {
|
|
1621
1621
|
let i = t;
|
|
@@ -1758,7 +1758,7 @@ const cf = { PNG: "png" }, ct = {
|
|
|
1758
1758
|
AdditionalProperties: "additionalProperties",
|
|
1759
1759
|
Enum: "enum",
|
|
1760
1760
|
AnyOf: "anyOf"
|
|
1761
|
-
},
|
|
1761
|
+
}, W = {
|
|
1762
1762
|
BadData: "badData",
|
|
1763
1763
|
EmptyDataSet: "emptyDataSet",
|
|
1764
1764
|
NoValue: "noValue",
|
|
@@ -1879,14 +1879,14 @@ async function Ps(t) {
|
|
|
1879
1879
|
});
|
|
1880
1880
|
if (x !== void 0) {
|
|
1881
1881
|
let v = Number.NaN, A = Number.NaN;
|
|
1882
|
-
const { expr: N } = qt(x, S), { expr: L } = qt(x, b), { expr:
|
|
1883
|
-
N !== void 0 && Number.isFinite(x[N]) && (v = x[N]), L !== void 0 && Number.isFinite(x[L]) && (A = x[L]),
|
|
1884
|
-
const { dataContextXMinField: w, dataContextXMaxField: D, dataContextYMinField:
|
|
1882
|
+
const { expr: N } = qt(x, S), { expr: L } = qt(x, b), { expr: M } = qt(x, T);
|
|
1883
|
+
N !== void 0 && Number.isFinite(x[N]) && (v = x[N]), L !== void 0 && Number.isFinite(x[L]) && (A = x[L]), M !== void 0 && Number.isFinite(x[M]) && (c = x[M]);
|
|
1884
|
+
const { dataContextXMinField: w, dataContextXMaxField: D, dataContextYMinField: I, dataContextYMaxField: P } = B.scatterplotAggregationFields, E = e.get(w) ?? Number.NaN, z = e.get(D) ?? Number.NaN, Q = e.get(I) ?? Number.NaN, q = e.get(P) ?? Number.NaN, X = (z - E) / 100;
|
|
1885
1885
|
let K = E - X, k = Number.NaN;
|
|
1886
|
-
for (; !(k >=
|
|
1886
|
+
for (; !(k >= Q && k <= q) && K <= z; )
|
|
1887
1887
|
K += X, k = v * K + A;
|
|
1888
|
-
let Y =
|
|
1889
|
-
for (; !(ge >=
|
|
1888
|
+
let Y = z + X, ge = Number.NaN;
|
|
1889
|
+
for (; !(ge >= Q && ge <= q) && Y >= E; )
|
|
1890
1890
|
Y -= X, ge = v * Y + A;
|
|
1891
1891
|
d = [
|
|
1892
1892
|
{ [l]: K, [u]: k },
|
|
@@ -1932,7 +1932,7 @@ function Is(t) {
|
|
|
1932
1932
|
[o]: m.attributes?.[f]
|
|
1933
1933
|
},
|
|
1934
1934
|
...m.attributes,
|
|
1935
|
-
[
|
|
1935
|
+
[_.uniqueIds]: m.attributes?.[l]
|
|
1936
1936
|
}));
|
|
1937
1937
|
}
|
|
1938
1938
|
return a ?? [];
|
|
@@ -2362,16 +2362,16 @@ async function Zs(t) {
|
|
|
2362
2362
|
T = n.resolution, C = n.resolution, x = n.spatialReference;
|
|
2363
2363
|
else {
|
|
2364
2364
|
const A = Xs, N = 2;
|
|
2365
|
-
let L = g.width,
|
|
2365
|
+
let L = g.width, M = g.height;
|
|
2366
2366
|
if (!a && !p && Ye(m) && At(m))
|
|
2367
2367
|
try {
|
|
2368
|
-
const
|
|
2369
|
-
|
|
2368
|
+
const I = m.createQuery(), { extent: P } = await m.queryExtent(I, { signal: l });
|
|
2369
|
+
P && (L = P.width, M = P.height, p = P);
|
|
2370
2370
|
} catch {
|
|
2371
2371
|
}
|
|
2372
2372
|
const w = Math.max(
|
|
2373
2373
|
0,
|
|
2374
|
-
Math.ceil(Math.log(Math.max(L,
|
|
2374
|
+
Math.ceil(Math.log(Math.max(L, M) / A) / Math.log(N))
|
|
2375
2375
|
), D = N ** w;
|
|
2376
2376
|
T = g.pixelSize.x * D, C = g.pixelSize.y * D, x = m.spatialReference;
|
|
2377
2377
|
}
|
|
@@ -2461,12 +2461,12 @@ async function Ks(t) {
|
|
|
2461
2461
|
}
|
|
2462
2462
|
} : l = {
|
|
2463
2463
|
valid: !1,
|
|
2464
|
-
invalidType:
|
|
2464
|
+
invalidType: W.EmptyDataSet
|
|
2465
2465
|
};
|
|
2466
2466
|
} else
|
|
2467
2467
|
l = {
|
|
2468
2468
|
valid: !1,
|
|
2469
|
-
invalidType:
|
|
2469
|
+
invalidType: W.NoValue
|
|
2470
2470
|
// for #17296
|
|
2471
2471
|
// invalidType: DataWarningKeywords.BadData, // 2DO: review whether to use BadData or NoValue after future enhancement
|
|
2472
2472
|
};
|
|
@@ -2520,7 +2520,7 @@ function io(t = te.None, e) {
|
|
|
2520
2520
|
}
|
|
2521
2521
|
function ta(t, e) {
|
|
2522
2522
|
const i = { valid: !1 };
|
|
2523
|
-
return e === !0 ? i.invalidType =
|
|
2523
|
+
return e === !0 ? i.invalidType = W.HistogramEmptyField : t === te.Log ? i.invalidType = W.NegativeValueInLogCalculation : t === te.Sqrt && (i.invalidType = W.NegativeValueInSqrtCalculation), i;
|
|
2524
2524
|
}
|
|
2525
2525
|
function ro(t, e) {
|
|
2526
2526
|
let i = t;
|
|
@@ -2733,17 +2733,17 @@ async function mo(t) {
|
|
|
2733
2733
|
queryConfig: i,
|
|
2734
2734
|
abortSignal: u
|
|
2735
2735
|
});
|
|
2736
|
-
let
|
|
2736
|
+
let M;
|
|
2737
2737
|
try {
|
|
2738
|
-
|
|
2739
|
-
} catch (
|
|
2740
|
-
throw new ue(de.QueryFeaturesError, l.errors.queryError,
|
|
2738
|
+
M = await qn(L);
|
|
2739
|
+
} catch (I) {
|
|
2740
|
+
throw new ue(de.QueryFeaturesError, l.errors.queryError, I);
|
|
2741
2741
|
}
|
|
2742
|
-
const w =
|
|
2742
|
+
const w = M.bins?.map((I, P) => {
|
|
2743
2743
|
const E = {
|
|
2744
|
-
...
|
|
2744
|
+
...I,
|
|
2745
2745
|
type: h.HistogramBin,
|
|
2746
|
-
isLastBin:
|
|
2746
|
+
isLastBin: P === M.bins.length - 1
|
|
2747
2747
|
// adding a flag on the last bin - useful for the selection feature
|
|
2748
2748
|
};
|
|
2749
2749
|
return "aggregateIds" in E && (Array.isArray(E.aggregateIds) && E.aggregateIds.length !== wt && (E.arcgisChartsUniqueIds = E.aggregateIds), delete E.aggregateIds), E;
|
|
@@ -2843,12 +2843,12 @@ function aa(t) {
|
|
|
2843
2843
|
return {
|
|
2844
2844
|
xAxisData: er({
|
|
2845
2845
|
chartConfig: e,
|
|
2846
|
-
field:
|
|
2846
|
+
field: H.xField,
|
|
2847
2847
|
chartData: i
|
|
2848
2848
|
}),
|
|
2849
2849
|
yAxisData: er({
|
|
2850
2850
|
chartConfig: e,
|
|
2851
|
-
field:
|
|
2851
|
+
field: H.yField,
|
|
2852
2852
|
chartData: i
|
|
2853
2853
|
})
|
|
2854
2854
|
};
|
|
@@ -3012,25 +3012,25 @@ function Wt(t) {
|
|
|
3012
3012
|
switch (e.valid = !1, i) {
|
|
3013
3013
|
case h.BarSeries:
|
|
3014
3014
|
case h.ComboLineAndBarSeries:
|
|
3015
|
-
e.invalidType =
|
|
3015
|
+
e.invalidType = W.BarElementExceedsLimit;
|
|
3016
3016
|
break;
|
|
3017
3017
|
case h.LineSeries:
|
|
3018
|
-
e.invalidType =
|
|
3018
|
+
e.invalidType = W.LineChartExceedsLimit;
|
|
3019
3019
|
break;
|
|
3020
3020
|
case h.RadarSeries:
|
|
3021
|
-
e.invalidType =
|
|
3021
|
+
e.invalidType = W.RadarChartExceedsLimit;
|
|
3022
3022
|
break;
|
|
3023
3023
|
case h.PieSeries:
|
|
3024
|
-
e.invalidType =
|
|
3024
|
+
e.invalidType = W.PieChartExceedsLimit;
|
|
3025
3025
|
break;
|
|
3026
3026
|
case h.GaugeSeries:
|
|
3027
|
-
e.invalidType =
|
|
3027
|
+
e.invalidType = W.GaugeExceedsLimit;
|
|
3028
3028
|
break;
|
|
3029
3029
|
case h.BoxPlotSeries:
|
|
3030
|
-
r?.outlierLimit === !0 ? e.invalidType =
|
|
3030
|
+
r?.outlierLimit === !0 ? e.invalidType = W.BoxPlotOutliersExceedsLimit : e.invalidType = W.BoxPlotExceedsLimit;
|
|
3031
3031
|
break;
|
|
3032
3032
|
case h.HeatSeries:
|
|
3033
|
-
e.invalidType =
|
|
3033
|
+
e.invalidType = W.HeatChartExceedsLimit;
|
|
3034
3034
|
break;
|
|
3035
3035
|
}
|
|
3036
3036
|
}
|
|
@@ -3057,7 +3057,7 @@ function Uf(t) {
|
|
|
3057
3057
|
} = p;
|
|
3058
3058
|
let b = c.modalHeaders.invalidChart;
|
|
3059
3059
|
switch (e) {
|
|
3060
|
-
case
|
|
3060
|
+
case W.BarElementExceedsLimit:
|
|
3061
3061
|
{
|
|
3062
3062
|
b = c.modalHeaders.tooManyFeatures;
|
|
3063
3063
|
let C = Number.NaN, x = Number.NaN, v = "";
|
|
@@ -3074,7 +3074,7 @@ function Uf(t) {
|
|
|
3074
3074
|
};
|
|
3075
3075
|
}
|
|
3076
3076
|
break;
|
|
3077
|
-
case
|
|
3077
|
+
case W.LineChartExceedsLimit:
|
|
3078
3078
|
{
|
|
3079
3079
|
b = c.modalHeaders.tooManyFeatures;
|
|
3080
3080
|
let C = Number.NaN, x = Number.NaN, v = "";
|
|
@@ -3091,7 +3091,7 @@ function Uf(t) {
|
|
|
3091
3091
|
};
|
|
3092
3092
|
}
|
|
3093
3093
|
break;
|
|
3094
|
-
case
|
|
3094
|
+
case W.RadarChartExceedsLimit:
|
|
3095
3095
|
{
|
|
3096
3096
|
b = c.modalHeaders.tooManyFeatures;
|
|
3097
3097
|
let C = Number.NaN, x = Number.NaN, v = "";
|
|
@@ -3108,7 +3108,7 @@ function Uf(t) {
|
|
|
3108
3108
|
};
|
|
3109
3109
|
}
|
|
3110
3110
|
break;
|
|
3111
|
-
case
|
|
3111
|
+
case W.BoxPlotExceedsLimit:
|
|
3112
3112
|
{
|
|
3113
3113
|
b = c.modalHeaders.tooManyFeatures;
|
|
3114
3114
|
let C = Number.NaN, x = Number.NaN, v = "";
|
|
@@ -3125,7 +3125,7 @@ function Uf(t) {
|
|
|
3125
3125
|
};
|
|
3126
3126
|
}
|
|
3127
3127
|
break;
|
|
3128
|
-
case
|
|
3128
|
+
case W.BoxPlotOutliersExceedsLimit:
|
|
3129
3129
|
{
|
|
3130
3130
|
b = c.modalHeaders.tooManyFeatures;
|
|
3131
3131
|
const C = c.errors.boxSeriesOutlierCannotExceedLimit, x = p.maxBoxPlotOutlierLimit ?? p.boxPlot?.outliers, v = g.format(x);
|
|
@@ -3134,7 +3134,7 @@ function Uf(t) {
|
|
|
3134
3134
|
}), m = { actualCount: r ?? Number.NaN, totalLimit: x };
|
|
3135
3135
|
}
|
|
3136
3136
|
break;
|
|
3137
|
-
case
|
|
3137
|
+
case W.HeatChartExceedsLimit:
|
|
3138
3138
|
{
|
|
3139
3139
|
b = c.modalHeaders.tooManyFeatures;
|
|
3140
3140
|
const C = c.errors.heatChartCannotExceedLimit, x = p.maxHeatChartCellLimit ?? p.heatChart?.cells, v = g.format(x), A = r !== void 0 ? g.format(r) : "";
|
|
@@ -3147,7 +3147,7 @@ function Uf(t) {
|
|
|
3147
3147
|
};
|
|
3148
3148
|
}
|
|
3149
3149
|
break;
|
|
3150
|
-
case
|
|
3150
|
+
case W.PieChartExceedsLimit:
|
|
3151
3151
|
{
|
|
3152
3152
|
b = c.modalHeaders.tooManyFeatures;
|
|
3153
3153
|
const C = c.errors.pieChartSlicesCannotExceedLimit, x = p.maxPieChartSliceCountTotal ?? p.pieChart?.slices, v = g.format(x), A = r !== void 0 ? g.format(r) : "";
|
|
@@ -3160,7 +3160,7 @@ function Uf(t) {
|
|
|
3160
3160
|
};
|
|
3161
3161
|
}
|
|
3162
3162
|
break;
|
|
3163
|
-
case
|
|
3163
|
+
case W.GaugeExceedsLimit:
|
|
3164
3164
|
{
|
|
3165
3165
|
b = c.modalHeaders.tooManyFeatures;
|
|
3166
3166
|
const C = c.errors.gaugeCannotExceedLimit, x = p.maxGaugeByFeaturesLimit ?? p.gauge?.features, v = g.format(x), A = r !== void 0 ? g.format(r) : "";
|
|
@@ -3173,33 +3173,33 @@ function Uf(t) {
|
|
|
3173
3173
|
};
|
|
3174
3174
|
}
|
|
3175
3175
|
break;
|
|
3176
|
-
case
|
|
3176
|
+
case W.PieChartMixOfNegativePositiveSlices:
|
|
3177
3177
|
b = c.modalHeaders.cannotCombineNegativeAndPositiveSlices, f = c.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
|
|
3178
3178
|
break;
|
|
3179
|
-
case
|
|
3179
|
+
case W.NegativeValueInSqrtCalculation:
|
|
3180
3180
|
b = c.modalHeaders.invalidData, f = c.errors.negativeValueInDataForSqrtTransformation;
|
|
3181
3181
|
break;
|
|
3182
|
-
case
|
|
3182
|
+
case W.NegativeValueInLogCalculation:
|
|
3183
3183
|
b = c.modalHeaders.invalidData, f = c.errors.negativeValueInDataForLogTransformation;
|
|
3184
3184
|
break;
|
|
3185
|
-
case
|
|
3185
|
+
case W.HistogramEmptyField:
|
|
3186
3186
|
s === !0 ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBSMessage) : $e(n) ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBEMessage) : (b = c.modalHeaders.invalidChart, f = c.errors.histogramEmptyField);
|
|
3187
3187
|
break;
|
|
3188
|
-
case
|
|
3188
|
+
case W.EmptyDataSet:
|
|
3189
3189
|
b = c.modalHeaders.noDataAvailable, s === !0 ? f = c.errors.noDataFBSMessage : $e(n) ? f = c.errors.noDataFBEMessage : f = c.errors.noDataMessage;
|
|
3190
3190
|
break;
|
|
3191
|
-
case
|
|
3191
|
+
case W.NoValue:
|
|
3192
3192
|
u && r ? (b = void 0, f = c.errors.noValue) : d && (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataMessage);
|
|
3193
3193
|
break;
|
|
3194
|
-
case
|
|
3194
|
+
case W.NegativeValueInXAxisLogScale:
|
|
3195
3195
|
f = c.errors.logarithmicXAxisNotPossible;
|
|
3196
3196
|
break;
|
|
3197
|
-
case
|
|
3197
|
+
case W.NegativeValueInYAxisLogScale:
|
|
3198
3198
|
f = c.errors.logarithmicYAxisNotPossible;
|
|
3199
3199
|
break;
|
|
3200
|
-
case
|
|
3200
|
+
case W.BadData:
|
|
3201
3201
|
}
|
|
3202
|
-
if (f === c.errors.defaultInvalidChart && (e ===
|
|
3202
|
+
if (f === c.errors.defaultInvalidChart && (e === W.BarElementExceedsLimit || e === W.LineChartExceedsLimit || e === W.RadarChartExceedsLimit || e === W.HeatChartExceedsLimit || e === W.PieChartExceedsLimit || e === W.GaugeExceedsLimit || e === W.BoxPlotExceedsLimit) && typeof r == "number" && typeof a == "number" && r / a > (y ?? S)) {
|
|
3203
3203
|
const C = r / a;
|
|
3204
3204
|
f = Ce(c.errors.categoryCountCannotExceedLimit, {
|
|
3205
3205
|
categoryCount: g.format(C),
|
|
@@ -3207,7 +3207,7 @@ function Uf(t) {
|
|
|
3207
3207
|
});
|
|
3208
3208
|
}
|
|
3209
3209
|
return {
|
|
3210
|
-
keyword: e ??
|
|
3210
|
+
keyword: e ?? W.BadData,
|
|
3211
3211
|
header: b,
|
|
3212
3212
|
message: f,
|
|
3213
3213
|
params: m
|
|
@@ -3292,7 +3292,7 @@ function Ao(t) {
|
|
|
3292
3292
|
return e.forEach((s) => {
|
|
3293
3293
|
const o = s[i];
|
|
3294
3294
|
o !== void 0 && Object.keys(s).forEach((l) => {
|
|
3295
|
-
l === B.rendererSymbolField || l ===
|
|
3295
|
+
l === B.rendererSymbolField || l === _.uniqueIds ? a[`${l}_${o?.toString()}`] = s[l] : l === B.boxPlot.boxPlotMeanLineMarkerId ? a[l] = s[l] : a[`${o?.toString()}_${l}`] = s[l];
|
|
3296
3296
|
});
|
|
3297
3297
|
}), [a];
|
|
3298
3298
|
}
|
|
@@ -3305,7 +3305,7 @@ function No(t) {
|
|
|
3305
3305
|
[B.boxPlot.boxPlotCategory]: c
|
|
3306
3306
|
};
|
|
3307
3307
|
Object.entries(l).forEach(([f, m]) => {
|
|
3308
|
-
f.startsWith(`${c}_`) ? d[`${u}_${f.replace(`${c}_`, "")}`] = m : f.includes(B.rendererSymbolField) || f ===
|
|
3308
|
+
f.startsWith(`${c}_`) ? d[`${u}_${f.replace(`${c}_`, "")}`] = m : f.includes(B.rendererSymbolField) || f === _.uniqueIds ? d[`${f}_${u}`] = m : f === B.boxPlot.boxPlotMeanLineMarkerId && (d[f] = l[f]);
|
|
3309
3309
|
}), a && (d = Ai({
|
|
3310
3310
|
dataItem: d,
|
|
3311
3311
|
chartSubType: F.BoxPlotC6MultiFieldsAndSplitBy,
|
|
@@ -3340,8 +3340,8 @@ function wo(t) {
|
|
|
3340
3340
|
Object.entries(s).forEach(([c, d]) => {
|
|
3341
3341
|
if (c.includes(B.rendererSymbolField))
|
|
3342
3342
|
l[`${B.rendererSymbolField}_${u?.toString()}`] = d;
|
|
3343
|
-
else if (c.includes(
|
|
3344
|
-
l[`${
|
|
3343
|
+
else if (c.includes(_.uniqueIds))
|
|
3344
|
+
l[`${_.uniqueIds}_${u?.toString()}`] = d;
|
|
3345
3345
|
else if (c === B.boxPlot.boxPlotMeanLineMarkerId)
|
|
3346
3346
|
l[c] = s[c];
|
|
3347
3347
|
else if (c !== e && c !== i) {
|
|
@@ -3534,17 +3534,17 @@ async function Oo(t) {
|
|
|
3534
3534
|
};
|
|
3535
3535
|
break;
|
|
3536
3536
|
}
|
|
3537
|
-
const L = se(N),
|
|
3538
|
-
A[L] =
|
|
3539
|
-
const w = `${A[d]}-${A[f]}-${
|
|
3540
|
-
if (A[
|
|
3541
|
-
...D?.[
|
|
3537
|
+
const L = se(N), M = A[x];
|
|
3538
|
+
A[L] = M;
|
|
3539
|
+
const w = `${A[d]}-${A[f]}-${M}`, D = b.get(w);
|
|
3540
|
+
if (A[_.uniqueIds] = [
|
|
3541
|
+
...D?.[_.uniqueIds] ?? [],
|
|
3542
3542
|
A[g]
|
|
3543
3543
|
], delete A[g], Ca(u)) {
|
|
3544
|
-
const
|
|
3544
|
+
const I = se({
|
|
3545
3545
|
...N,
|
|
3546
3546
|
standardizeValues: !0
|
|
3547
|
-
}), { mean:
|
|
3547
|
+
}), { mean: P, stdDev: E } = Io({
|
|
3548
3548
|
data: i,
|
|
3549
3549
|
outlierDataItem: A,
|
|
3550
3550
|
chartSubType: u,
|
|
@@ -3553,9 +3553,9 @@ async function Oo(t) {
|
|
|
3553
3553
|
splitByField: f,
|
|
3554
3554
|
meanAndStdDevPerField: n
|
|
3555
3555
|
});
|
|
3556
|
-
|
|
3557
|
-
value:
|
|
3558
|
-
mean:
|
|
3556
|
+
P !== void 0 && E !== void 0 && (A[I] = mi({
|
|
3557
|
+
value: M,
|
|
3558
|
+
mean: P,
|
|
3559
3559
|
stdDev: E
|
|
3560
3560
|
}));
|
|
3561
3561
|
}
|
|
@@ -3593,10 +3593,10 @@ async function Do(t) {
|
|
|
3593
3593
|
where: J([r.where, N])
|
|
3594
3594
|
};
|
|
3595
3595
|
L.outStatistics !== void 0 && (L.outStatistics = L.outStatistics?.filter(
|
|
3596
|
-
(
|
|
3597
|
-
).map((
|
|
3598
|
-
...
|
|
3599
|
-
outStatisticFieldName: `${
|
|
3596
|
+
(M) => (M.statisticType === O.Minimum || M.statisticType === O.Maximum) && M.onStatisticField === x
|
|
3597
|
+
).map((M) => ({
|
|
3598
|
+
...M,
|
|
3599
|
+
outStatisticFieldName: `${M.outStatisticFieldName}${B.boxPlot.boxPlotOutliersSuffix}`
|
|
3600
3600
|
}))), b.push(
|
|
3601
3601
|
ei({
|
|
3602
3602
|
queryObject: i,
|
|
@@ -3962,16 +3962,16 @@ function _o(t) {
|
|
|
3962
3962
|
B.firstTemporalBin,
|
|
3963
3963
|
B.lastTemporalBin,
|
|
3964
3964
|
B.technicalFieldSplitByField,
|
|
3965
|
-
|
|
3965
|
+
H.valueField,
|
|
3966
3966
|
...xr
|
|
3967
3967
|
], d = (p, y) => {
|
|
3968
3968
|
const S = y[B.originalXValue];
|
|
3969
3969
|
S !== void 0 && a && (y[a] = S);
|
|
3970
3970
|
const b = y[B.originalYCategoryValue];
|
|
3971
|
-
b !== void 0 && n && (y[n] = b), a && y[
|
|
3971
|
+
b !== void 0 && n && (y[n] = b), a && y[H.xField] !== void 0 && (y[a] = y[B.originalXValue] !== void 0 ? y[B.originalXValue] : y[H.xField], delete y[H.xField]), n && y[H.yField] !== void 0 && (y[n] = y[B.originalYCategoryValue] !== void 0 ? y[B.originalYCategoryValue] : y[H.yField], delete y[H.yField]), s && y[H.valueField] !== void 0 && (y[s] = y[H.valueField], delete y[H.valueField]);
|
|
3972
3972
|
const T = {};
|
|
3973
3973
|
return Object.keys(y).forEach((C) => {
|
|
3974
|
-
!c.includes(C) && !C.includes(B.rendererSymbolField) && !C.includes(
|
|
3974
|
+
!c.includes(C) && !C.includes(B.rendererSymbolField) && !C.includes(_.uniqueIds) && (T[C] = y[C]);
|
|
3975
3975
|
}), p.push(T), p;
|
|
3976
3976
|
}, f = (p, y) => JSON.stringify(p).localeCompare(JSON.stringify(y));
|
|
3977
3977
|
let m = o?.reduce(d, [])?.sort(f), g = l?.reduce(d, [])?.sort(f);
|
|
@@ -4072,7 +4072,7 @@ async function Wo(t) {
|
|
|
4072
4072
|
calculatedAxisMinimum: S,
|
|
4073
4073
|
calculatedAxisMaximum: b,
|
|
4074
4074
|
gaugeValue: T
|
|
4075
|
-
}, l.count = y.length, Number.isNaN(T) && y.length > 0 && (l.valid = !1, l.invalidType =
|
|
4075
|
+
}, l.count = y.length, Number.isNaN(T) && y.length > 0 && (l.valid = !1, l.invalidType = W.NoValue);
|
|
4076
4076
|
} else
|
|
4077
4077
|
l.count = p, Wt({
|
|
4078
4078
|
dataInfo: l,
|
|
@@ -4331,7 +4331,7 @@ function Zo(t) {
|
|
|
4331
4331
|
let u = "";
|
|
4332
4332
|
if (l.type === h.HeatSeries) {
|
|
4333
4333
|
let c, d;
|
|
4334
|
-
const f = r[
|
|
4334
|
+
const f = r[H.xField], m = r[B.originalXValue], g = r[H.yField], p = r[B.originalYCategoryValue], y = a.axes?.[0]?.valueFormat?.type, S = a.axes?.[1]?.valueFormat?.type;
|
|
4335
4335
|
y === h.CategoryAxisFormat ? c = Ee({
|
|
4336
4336
|
where: _e(l.x, m ?? f),
|
|
4337
4337
|
normalize: !1,
|
|
@@ -4422,38 +4422,38 @@ async function Ko(t) {
|
|
|
4422
4422
|
let S = { valid: !0, data: { dataItems: [] } };
|
|
4423
4423
|
if (a !== void 0 && a.length > 0) {
|
|
4424
4424
|
const b = Ge(r), { x: T } = b, C = "y" in b ? b.y : "", v = Te(e).find((D) => D.name === T)?.type, A = [], N = a.reduce(
|
|
4425
|
-
(D,
|
|
4426
|
-
const
|
|
4427
|
-
if (
|
|
4428
|
-
A.push(
|
|
4425
|
+
(D, I) => {
|
|
4426
|
+
const P = [];
|
|
4427
|
+
if (_.uniqueIds in I)
|
|
4428
|
+
A.push(I[_.uniqueIds]);
|
|
4429
4429
|
else {
|
|
4430
4430
|
switch (y) {
|
|
4431
4431
|
case F.BoxPlotC5MonoFieldAndSplitBy:
|
|
4432
4432
|
case F.BoxPlotC6MultiFieldsAndSplitBy:
|
|
4433
4433
|
case F.BoxPlotC7MonoFieldAndCategoryAndSplitBy: {
|
|
4434
|
-
const
|
|
4435
|
-
Object.keys(
|
|
4434
|
+
const Q = re(b.query?.where ?? ""), q = `_${R.Average}`;
|
|
4435
|
+
Object.keys(I).forEach((U) => {
|
|
4436
4436
|
if (U.includes(q)) {
|
|
4437
4437
|
const X = U.replace(q, "");
|
|
4438
|
-
X.trim() !== "" &&
|
|
4438
|
+
X.trim() !== "" && P.push(_e(Q, X));
|
|
4439
4439
|
}
|
|
4440
4440
|
});
|
|
4441
4441
|
break;
|
|
4442
4442
|
}
|
|
4443
4443
|
}
|
|
4444
4444
|
const E = [C].flat();
|
|
4445
|
-
let
|
|
4445
|
+
let z = E.length === 1 ? E[0] : "";
|
|
4446
4446
|
if (y === F.BoxPlotC4MultiFieldsAndCategory) {
|
|
4447
|
-
const
|
|
4448
|
-
q !== void 0 && (
|
|
4447
|
+
const Q = `_${R.FirstQuartile}`, q = Object.keys(I).find((U) => U.includes(Q));
|
|
4448
|
+
q !== void 0 && (z = q.replace(Q, ""));
|
|
4449
4449
|
}
|
|
4450
|
-
|
|
4450
|
+
P.length === 0 && P.push(""), P.forEach((Q) => {
|
|
4451
4451
|
const q = fa({
|
|
4452
4452
|
chartConfig: r,
|
|
4453
4453
|
xAxisField: T,
|
|
4454
|
-
yAxisField:
|
|
4455
|
-
splitBy:
|
|
4456
|
-
dataContext:
|
|
4454
|
+
yAxisField: z,
|
|
4455
|
+
splitBy: Q,
|
|
4456
|
+
dataContext: I,
|
|
4457
4457
|
xAxisFieldType: v
|
|
4458
4458
|
});
|
|
4459
4459
|
D.push(q);
|
|
@@ -4467,8 +4467,8 @@ async function Ko(t) {
|
|
|
4467
4467
|
const D = Ae(L).idField;
|
|
4468
4468
|
N.push(`${D} IN (${A.join(",")})`);
|
|
4469
4469
|
}
|
|
4470
|
-
const
|
|
4471
|
-
w.where = J([w.where,
|
|
4470
|
+
const M = N.join(" OR "), w = { ...i };
|
|
4471
|
+
w.where = J([w.where, M]), S = await Ni({
|
|
4472
4472
|
queryObject: e,
|
|
4473
4473
|
chartConfig: r,
|
|
4474
4474
|
queryConfig: w,
|
|
@@ -4518,10 +4518,10 @@ async function el(t) {
|
|
|
4518
4518
|
break;
|
|
4519
4519
|
case h.PieSeries:
|
|
4520
4520
|
if (G(r.series) === F.PieFromFields) {
|
|
4521
|
-
const { x: N, y: L } = r.series[0],
|
|
4522
|
-
|
|
4521
|
+
const { x: N, y: L } = r.series[0], M = ke(v);
|
|
4522
|
+
M.forEach((w) => {
|
|
4523
4523
|
N in w && (w[ye] = w[N], delete w[N]), L in w && (w[Le] = w[L], delete w[L]);
|
|
4524
|
-
}), x.data = { dataItems:
|
|
4524
|
+
}), x.data = { dataItems: M };
|
|
4525
4525
|
} else
|
|
4526
4526
|
x.data = { dataItems: v };
|
|
4527
4527
|
x.count = v.length, A = !0;
|
|
@@ -4559,11 +4559,11 @@ async function el(t) {
|
|
|
4559
4559
|
else {
|
|
4560
4560
|
const N = { ...i };
|
|
4561
4561
|
if (a !== void 0 && a.length > 0) {
|
|
4562
|
-
const
|
|
4563
|
-
(
|
|
4562
|
+
const M = Wr(r), w = a.map(
|
|
4563
|
+
(I) => ua({
|
|
4564
4564
|
xAxisField: b[0].x,
|
|
4565
|
-
dataContext:
|
|
4566
|
-
timeAggregationType:
|
|
4565
|
+
dataContext: I,
|
|
4566
|
+
timeAggregationType: M,
|
|
4567
4567
|
queryObject: e
|
|
4568
4568
|
})
|
|
4569
4569
|
), D = J(w, "OR");
|
|
@@ -4595,11 +4595,11 @@ async function el(t) {
|
|
|
4595
4595
|
bins: []
|
|
4596
4596
|
}, x.count = 0;
|
|
4597
4597
|
else {
|
|
4598
|
-
const { x: N } = b[0], L = v.map((D,
|
|
4599
|
-
const { minValue:
|
|
4600
|
-
return `${N} >= ${
|
|
4601
|
-
}),
|
|
4602
|
-
w.where = J([w.where,
|
|
4598
|
+
const { x: N } = b[0], L = v.map((D, I) => {
|
|
4599
|
+
const { minValue: P, maxValue: E } = D, z = I === v.length - 1 ? "<=" : "<";
|
|
4600
|
+
return `${N} >= ${P} AND ${N} ${z} ${E}`;
|
|
4601
|
+
}), M = J(L, "OR"), w = { ...i };
|
|
4602
|
+
w.where = J([w.where, M]), x = await ra({
|
|
4603
4603
|
queryObject: e,
|
|
4604
4604
|
chartConfig: r,
|
|
4605
4605
|
queryConfig: w,
|
|
@@ -4718,7 +4718,7 @@ async function Kf(t) {
|
|
|
4718
4718
|
preFetchedQueryResponse: A
|
|
4719
4719
|
} = t, { series: N } = i;
|
|
4720
4720
|
let L = { valid: !0 };
|
|
4721
|
-
const
|
|
4721
|
+
const M = V(N), w = Qa({
|
|
4722
4722
|
queryObject: e,
|
|
4723
4723
|
chartConfig: i,
|
|
4724
4724
|
runtimeDataFilters: l,
|
|
@@ -4747,7 +4747,7 @@ async function Kf(t) {
|
|
|
4747
4747
|
abortSignal: a
|
|
4748
4748
|
});
|
|
4749
4749
|
else
|
|
4750
|
-
switch (
|
|
4750
|
+
switch (M) {
|
|
4751
4751
|
case h.HeatSeries:
|
|
4752
4752
|
Ct(e), L = await ba({
|
|
4753
4753
|
chartConfig: i,
|
|
@@ -5099,12 +5099,17 @@ function ll(t) {
|
|
|
5099
5099
|
nl(b)
|
|
5100
5100
|
);
|
|
5101
5101
|
if (y = v, T = d === ae.End ? T = e[L - 1] : T = e[S], x > n && C < n || C < a && x > a || C >= a && x <= n) {
|
|
5102
|
-
const
|
|
5103
|
-
g.forEach((
|
|
5104
|
-
T[
|
|
5102
|
+
const M = e.slice(N, L).filter((P) => !(B.dateBinModel in P));
|
|
5103
|
+
g.forEach((P) => {
|
|
5104
|
+
T[P] = ol({ binsToRegroup: M, statisticType: p, y: P, nullPolicy: f });
|
|
5105
5105
|
});
|
|
5106
|
-
const w =
|
|
5107
|
-
D !== void 0 && (T[Ie] = D)
|
|
5106
|
+
const w = M.map((P) => P[Ie]).filter((P) => P !== void 0), D = ms(w);
|
|
5107
|
+
D !== void 0 && (T[Ie] = D);
|
|
5108
|
+
const I = M.reduce((P, E) => {
|
|
5109
|
+
const z = E[_.uniqueIds];
|
|
5110
|
+
return z ? P.concat(z) : P;
|
|
5111
|
+
}, []);
|
|
5112
|
+
I.length > 0 && (T[_.uniqueIds] = I), T[c] = C, T[B.xAxisField] = C, T[B.dateBinningRange] = [C, x], delete T[B.dateBinModel], s.push(T);
|
|
5108
5113
|
} else v && d !== ae.End && s.length > 0 && (s[s.length - 1][B.dateBinningRange][1] = s[s.length - 1][B.dateBinningRange][1] + 1);
|
|
5109
5114
|
S = A, b.binFirstOrLastIndex = A;
|
|
5110
5115
|
}
|
|
@@ -5418,21 +5423,21 @@ function hl(t) {
|
|
|
5418
5423
|
else {
|
|
5419
5424
|
const { attributes: C, stackedAttributes: x, statisticsAggregatedIds: v } = S;
|
|
5420
5425
|
let A = C[u.lowerBoundaryAlias], N = C[u.upperBoundaryAlias];
|
|
5421
|
-
const L = A,
|
|
5426
|
+
const L = A, M = N;
|
|
5422
5427
|
if (A = lr(A, d), N = lr(N, d), typeof A == "number" && typeof N == "number") {
|
|
5423
5428
|
const w = { ...C };
|
|
5424
|
-
w[B.originalServerBinningRange] = [L,
|
|
5425
|
-
const E =
|
|
5429
|
+
w[B.originalServerBinningRange] = [L, M], w[n] = A, w[B.xAxisField] = A, w[B.dateBinningRange] = [A, N], v && v.length !== wt && (w[_.uniqueIds] = v), delete w[u.lowerBoundaryAlias], delete w[u.upperBoundaryAlias], x && a && !ie(a) && r ? x.forEach((P) => {
|
|
5430
|
+
const E = P[a];
|
|
5426
5431
|
if (E === null || typeof E == "string" || typeof E == "number") {
|
|
5427
|
-
const
|
|
5428
|
-
|
|
5432
|
+
const z = r?.get(E);
|
|
5433
|
+
z !== void 0 && (w[z] = P[_.outStatistics?.outStatisticFieldName ?? ""], "aggregateIds" in P && Array.isArray(P.aggregateIds) && P.aggregateIds.length > 0 && (w[`${_.uniqueIds}_${z}`] = P.aggregateIds), or({ dataItem: w, statField: z, nullPolicy: o }));
|
|
5429
5434
|
}
|
|
5430
5435
|
}) : typeof s == "string" && or({ dataItem: w, statField: s, nullPolicy: o });
|
|
5431
|
-
const { featureExtent: D, featureExtentKey:
|
|
5436
|
+
const { featureExtent: D, featureExtentKey: I } = pa({
|
|
5432
5437
|
feature: S,
|
|
5433
5438
|
splitByField: a
|
|
5434
5439
|
});
|
|
5435
|
-
D && (w[
|
|
5440
|
+
D && (w[I] = D), f.push(w);
|
|
5436
5441
|
}
|
|
5437
5442
|
}
|
|
5438
5443
|
}), f && f.length > 0 && !y && (f[0][B.firstTemporalBin] = !0, f[f.length - 1][B.lastTemporalBin] = !0), { data: f, firstOrLastWasSkipped: y };
|
|
@@ -5604,14 +5609,14 @@ function Nl(t) {
|
|
|
5604
5609
|
}
|
|
5605
5610
|
function Ll(t) {
|
|
5606
5611
|
const { chartConfig: e, chartType: i, chartSubType: r, attributes: a, featureIndex: n, x: s } = t;
|
|
5607
|
-
(r === F.BarAndLineNoAggregation || r === F.BarAndLineSplitByNoAggregation) && _n({ isXAxis: !0, chartType: i, valueFormat: e.axes?.[0]?.valueFormat }) ? (a[B.xAxisField] = `${a[s]}-${n}`, a[B.xAxisDisplayField] = a[s]) : i === h.HeatSeries ? a[B.xAxisField] = a[
|
|
5612
|
+
(r === F.BarAndLineNoAggregation || r === F.BarAndLineSplitByNoAggregation) && _n({ isXAxis: !0, chartType: i, valueFormat: e.axes?.[0]?.valueFormat }) ? (a[B.xAxisField] = `${a[s]}-${n}`, a[B.xAxisDisplayField] = a[s]) : i === h.HeatSeries ? a[B.xAxisField] = a[H.xField] : r !== F.BarAndLineFromFields && r !== F.PieFromFields && (a[B.xAxisField] = a[s]);
|
|
5608
5613
|
}
|
|
5609
5614
|
function wl(t) {
|
|
5610
5615
|
const { feature: e, splitByField: i, chartSubType: r, attributes: a } = t, { featureExtent: n, featureExtentKey: s } = pa({ feature: e, splitByField: i, chartSubType: r });
|
|
5611
5616
|
n && (a[s] = n);
|
|
5612
5617
|
}
|
|
5613
5618
|
function Pl(t) {
|
|
5614
|
-
const { chartSubType: e, attributes: i, splitByField: r, mapToStatField: a } = t, { outStatisticFieldName: n } =
|
|
5619
|
+
const { chartSubType: e, attributes: i, splitByField: r, mapToStatField: a } = t, { outStatisticFieldName: n } = _.outStatistics ?? {}, s = ha(i, r);
|
|
5615
5620
|
if (e === F.BarAndLineSplitBy && n && s !== void 0) {
|
|
5616
5621
|
const o = a?.get(s);
|
|
5617
5622
|
o !== void 0 && (s === r && (i[B.technicalFieldSplitByField] = i[o]), i[o] = i[n]), delete i[n];
|
|
@@ -5621,9 +5626,9 @@ function Ml(t, e) {
|
|
|
5621
5626
|
const i = e.series[0];
|
|
5622
5627
|
if (i.type === h.HeatSeries) {
|
|
5623
5628
|
const { x: r, y: a } = i;
|
|
5624
|
-
t[
|
|
5629
|
+
t[H.xField] = t[r]?.toString(), delete t[r], t[H.yField] = t[a]?.toString(), delete t[a];
|
|
5625
5630
|
const n = i.query?.outStatistics?.[0]?.outStatisticFieldName;
|
|
5626
|
-
n && (t[
|
|
5631
|
+
n && (t[H.valueField] = t[n], delete t[n]);
|
|
5627
5632
|
}
|
|
5628
5633
|
}
|
|
5629
5634
|
function Li(t, e) {
|
|
@@ -5633,7 +5638,7 @@ function Li(t, e) {
|
|
|
5633
5638
|
}
|
|
5634
5639
|
function Il(t, e) {
|
|
5635
5640
|
let i = [];
|
|
5636
|
-
|
|
5641
|
+
_.outStatistics.outStatisticFieldName && (Object.keys(t).includes(_.outStatistics.outStatisticFieldName) || Object.keys(t).includes(_.outStatistics.outStatisticFieldName.toUpperCase())) ? i = [_.outStatistics.outStatisticFieldName] : i = Array.from(
|
|
5637
5642
|
new Set(
|
|
5638
5643
|
e.flatMap((r) => r.query?.outStatistics?.map((a) => a.outStatisticFieldName))
|
|
5639
5644
|
)
|
|
@@ -5653,8 +5658,8 @@ function Dl(t) {
|
|
|
5653
5658
|
if (typeof r == "string" && a === F.BarAndLineSplitByNoAggregation) {
|
|
5654
5659
|
const s = j(n), { idField: o, isTraditionalTypeOID: l } = Ae(s), u = l ? o : void 0;
|
|
5655
5660
|
if (e !== void 0 && !ie(i) && !ie(r)) {
|
|
5656
|
-
const c = e[i], d = `${r}_${
|
|
5657
|
-
e[
|
|
5661
|
+
const c = e[i], d = c === null ? "null" : c?.toString(), f = `${r}_${d}`;
|
|
5662
|
+
e[f] = e[r], u !== void 0 && r !== u && delete e[r];
|
|
5658
5663
|
}
|
|
5659
5664
|
}
|
|
5660
5665
|
}
|
|
@@ -5734,7 +5739,7 @@ function _l(t) {
|
|
|
5734
5739
|
l != null && (o = [l]);
|
|
5735
5740
|
}
|
|
5736
5741
|
if (Array.isArray(o) && o.length !== wt) {
|
|
5737
|
-
const l = ha(e, n), u = l ? s?.get(l) : void 0, c = u ? `${
|
|
5742
|
+
const l = ha(e, n), u = l !== void 0 ? s?.get(l) : void 0, c = u ? `${_.uniqueIds}_${u}` : _.uniqueIds;
|
|
5738
5743
|
e[c] = o;
|
|
5739
5744
|
}
|
|
5740
5745
|
}
|
|
@@ -5750,7 +5755,7 @@ function ha(t, e) {
|
|
|
5750
5755
|
let i;
|
|
5751
5756
|
if (e) {
|
|
5752
5757
|
const r = t[e];
|
|
5753
|
-
i = typeof r == "string" || typeof r == "number" ? r : void 0;
|
|
5758
|
+
i = typeof r == "string" || typeof r == "number" || r === null ? r : void 0;
|
|
5754
5759
|
}
|
|
5755
5760
|
return i;
|
|
5756
5761
|
}
|
|
@@ -5769,11 +5774,11 @@ function Sa(t) {
|
|
|
5769
5774
|
let A = 0;
|
|
5770
5775
|
const N = /* @__PURE__ */ new Set(), {
|
|
5771
5776
|
maxCategoryCount: L,
|
|
5772
|
-
serialChart: { categories:
|
|
5773
|
-
} = We(l), w = Number.isFinite(L) ? L :
|
|
5774
|
-
for (let
|
|
5777
|
+
serialChart: { categories: M }
|
|
5778
|
+
} = We(l), w = Number.isFinite(L) ? L : M, D = Vl({ queryResponse: i, chartConfig: r, maxCategoryCount: w });
|
|
5779
|
+
for (let I = 0; D[I] && I < D.length && !(o !== void 0 && A >= o); I += 1) {
|
|
5775
5780
|
A += Rl(d, r);
|
|
5776
|
-
const
|
|
5781
|
+
const P = D[I], E = { ...P.attributes };
|
|
5777
5782
|
kl({ attributes: E, uniqueCategoryList: N, maxCategoryCount: w, x: m, chartSubType: d }) || (Ql({ chartSubType: d, x: m, attributes: E }), Il(E, c), Ol({ chartSubType: d, dataItem: E, outStatistics: p }), Dl({
|
|
5778
5783
|
dataItem: E,
|
|
5779
5784
|
splitByField: n,
|
|
@@ -5807,11 +5812,11 @@ function Sa(t) {
|
|
|
5807
5812
|
chartSubType: d,
|
|
5808
5813
|
xAxisValueFormat: r.axes?.[0].valueFormat,
|
|
5809
5814
|
yAxisValueFormat: r.axes?.[1]?.valueFormat
|
|
5810
|
-
}), wl({ feature:
|
|
5815
|
+
}), wl({ feature: P, splitByField: n, chartSubType: d, attributes: E }), _l({
|
|
5811
5816
|
attributes: E,
|
|
5812
|
-
statisticsAggregatedIds:
|
|
5817
|
+
statisticsAggregatedIds: P.statisticsAggregatedIds,
|
|
5813
5818
|
chartSubType: d,
|
|
5814
|
-
feature:
|
|
5819
|
+
feature: P,
|
|
5815
5820
|
splitByField: n,
|
|
5816
5821
|
mapToStatField: a
|
|
5817
5822
|
}), Ml(E, r), Ll({
|
|
@@ -5819,7 +5824,7 @@ function Sa(t) {
|
|
|
5819
5824
|
chartType: f,
|
|
5820
5825
|
chartSubType: d,
|
|
5821
5826
|
attributes: E,
|
|
5822
|
-
featureIndex:
|
|
5827
|
+
featureIndex: I,
|
|
5823
5828
|
x: m
|
|
5824
5829
|
}), v.push(E));
|
|
5825
5830
|
}
|
|
@@ -5920,7 +5925,7 @@ async function gi(t) {
|
|
|
5920
5925
|
T = V(A) === h.BarSeries ? await $c(t) : C;
|
|
5921
5926
|
else {
|
|
5922
5927
|
if (N !== void 0) {
|
|
5923
|
-
const
|
|
5928
|
+
const M = V(A), { uniqueQuery: w, mapToStatField: D } = Vi({
|
|
5924
5929
|
chartConfig: e,
|
|
5925
5930
|
queryObject: a,
|
|
5926
5931
|
queryConfig: i,
|
|
@@ -5929,7 +5934,7 @@ async function gi(t) {
|
|
|
5929
5934
|
returnFeaturesExtent: d,
|
|
5930
5935
|
chartLimits: m
|
|
5931
5936
|
});
|
|
5932
|
-
let { categoryOrDateCount:
|
|
5937
|
+
let { categoryOrDateCount: I, elementCount: P, chartLimitsReached: E } = await Fa({
|
|
5933
5938
|
chartConfig: e,
|
|
5934
5939
|
queryObject: a,
|
|
5935
5940
|
queryConfig: i,
|
|
@@ -5937,21 +5942,21 @@ async function gi(t) {
|
|
|
5937
5942
|
numberMaxOfFeaturesToFetch: w.num,
|
|
5938
5943
|
abortSignal: u
|
|
5939
5944
|
});
|
|
5940
|
-
const
|
|
5941
|
-
let
|
|
5942
|
-
count:
|
|
5945
|
+
const z = !Number.isFinite(P);
|
|
5946
|
+
let Q = z || Oe({
|
|
5947
|
+
count: P ?? 0,
|
|
5943
5948
|
seriesCount: A.length,
|
|
5944
|
-
chartType:
|
|
5949
|
+
chartType: M,
|
|
5945
5950
|
chartLimits: m
|
|
5946
5951
|
});
|
|
5947
|
-
if (
|
|
5952
|
+
if (Q) {
|
|
5948
5953
|
if (x = await ei({
|
|
5949
5954
|
queryObject: a,
|
|
5950
5955
|
uniqueQuery: w,
|
|
5951
5956
|
chartConfig: e,
|
|
5952
5957
|
preFetchedQueryResponse: o,
|
|
5953
5958
|
mapToStatField: D,
|
|
5954
|
-
elementCount:
|
|
5959
|
+
elementCount: P,
|
|
5955
5960
|
isTimeBinningSeries: !1,
|
|
5956
5961
|
chartLimits: m,
|
|
5957
5962
|
popupTemplateFieldInfosEnabled: g,
|
|
@@ -5966,22 +5971,22 @@ async function gi(t) {
|
|
|
5966
5971
|
fetchFullBoxPlotData: r,
|
|
5967
5972
|
uniqueQuery: w,
|
|
5968
5973
|
chartConfig: e,
|
|
5969
|
-
elementCount:
|
|
5974
|
+
elementCount: P,
|
|
5970
5975
|
chartLimits: m,
|
|
5971
5976
|
errorStrings: l,
|
|
5972
5977
|
abortKey: n,
|
|
5973
5978
|
abortSignal: u
|
|
5974
5979
|
});
|
|
5975
5980
|
const q = m?.maxBoxPlotOutlierLimit ?? m?.boxPlot?.outliers;
|
|
5976
|
-
q !== void 0 && (
|
|
5981
|
+
q !== void 0 && (Q = (C.data.outliers ?? []).length <= q, v = !Q);
|
|
5977
5982
|
}
|
|
5978
|
-
if (
|
|
5979
|
-
count:
|
|
5983
|
+
if (z && (I = x.length, P = di(L) ? I * A.length : I, Q = Oe({
|
|
5984
|
+
count: P,
|
|
5980
5985
|
seriesCount: A.length,
|
|
5981
|
-
chartType:
|
|
5986
|
+
chartType: M,
|
|
5982
5987
|
chartLimits: m
|
|
5983
|
-
})),
|
|
5984
|
-
if (
|
|
5988
|
+
})), Q) {
|
|
5989
|
+
if (M === h.PieSeries) {
|
|
5985
5990
|
L === F.PieFromFields && (x = zt({
|
|
5986
5991
|
dataToConvert: x[0],
|
|
5987
5992
|
x: ye,
|
|
@@ -5989,8 +5994,8 @@ async function gi(t) {
|
|
|
5989
5994
|
fieldList: s
|
|
5990
5995
|
}));
|
|
5991
5996
|
let q = "";
|
|
5992
|
-
L === F.PieFromFields ? q = Le : "y" in N && typeof N.y == "string" && (q = N.y), hs(x, q) ? C.data = { dataItems: x } : vo(C,
|
|
5993
|
-
} else if ((
|
|
5997
|
+
L === F.PieFromFields ? q = Le : "y" in N && typeof N.y == "string" && (q = N.y), hs(x, q) ? C.data = { dataItems: x } : vo(C, W.PieChartMixOfNegativePositiveSlices);
|
|
5998
|
+
} else if ((M === h.RadarSeries || M === h.BarSeries || M === h.LineSeries || M === h.ComboLineAndBarSeries) && (L === F.BarAndLineFromFields && "y" in N && typeof N.y == "string" ? x = zt({
|
|
5994
5999
|
dataToConvert: x[0],
|
|
5995
6000
|
x: N.x,
|
|
5996
6001
|
y: N.y,
|
|
@@ -6000,17 +6005,17 @@ async function gi(t) {
|
|
|
6000
6005
|
seriesData: x,
|
|
6001
6006
|
chartConfig: e,
|
|
6002
6007
|
queryConfig: i,
|
|
6003
|
-
categoryOrDateCount:
|
|
6008
|
+
categoryOrDateCount: I,
|
|
6004
6009
|
behaviorAfterLimit: b,
|
|
6005
6010
|
errorStrings: l,
|
|
6006
6011
|
abortKey: n,
|
|
6007
6012
|
abortSignal: u
|
|
6008
|
-
}),
|
|
6009
|
-
count:
|
|
6013
|
+
}), P = di(L) ? x.length * A.length : x.length, Q = Oe({
|
|
6014
|
+
count: P,
|
|
6010
6015
|
seriesCount: A.length,
|
|
6011
|
-
chartType:
|
|
6016
|
+
chartType: M,
|
|
6012
6017
|
chartLimits: m
|
|
6013
|
-
}),
|
|
6018
|
+
}), Q)) {
|
|
6014
6019
|
S && (x = rl(x, e));
|
|
6015
6020
|
let q = {};
|
|
6016
6021
|
if (Be(N)) {
|
|
@@ -6021,11 +6026,11 @@ async function gi(t) {
|
|
|
6021
6026
|
}
|
|
6022
6027
|
}
|
|
6023
6028
|
}
|
|
6024
|
-
|
|
6029
|
+
Q || Wt({
|
|
6025
6030
|
dataInfo: C,
|
|
6026
|
-
chartType:
|
|
6031
|
+
chartType: M,
|
|
6027
6032
|
subError: { outlierLimit: v }
|
|
6028
|
-
}), C.count =
|
|
6033
|
+
}), C.count = P;
|
|
6029
6034
|
}
|
|
6030
6035
|
T = C;
|
|
6031
6036
|
}
|
|
@@ -6047,12 +6052,12 @@ function Gl(t) {
|
|
|
6047
6052
|
const { dataItems: e, valueField: i, filterOutZero: r } = t, a = [null];
|
|
6048
6053
|
r && a.push(0);
|
|
6049
6054
|
const n = new Set(
|
|
6050
|
-
e.filter((o) => !a.includes(o[i])).map((o) => o[
|
|
6055
|
+
e.filter((o) => !a.includes(o[i])).map((o) => o[H.xField])
|
|
6051
6056
|
), s = new Set(
|
|
6052
|
-
e.filter((o) => !a.includes(o[i])).map((o) => o[
|
|
6057
|
+
e.filter((o) => !a.includes(o[i])).map((o) => o[H.yField])
|
|
6053
6058
|
);
|
|
6054
6059
|
return e.filter(
|
|
6055
|
-
(o) => n.has(o[
|
|
6060
|
+
(o) => n.has(o[H.xField]) && s.has(o[H.yField])
|
|
6056
6061
|
);
|
|
6057
6062
|
}
|
|
6058
6063
|
function cr(t, e) {
|
|
@@ -6063,13 +6068,13 @@ function Ul(t) {
|
|
|
6063
6068
|
const { chartConfig: e, dataItems: i, chartLimits: r } = t, a = Ti(e, r);
|
|
6064
6069
|
let n = i;
|
|
6065
6070
|
if (a !== void 0 && i.length > a) {
|
|
6066
|
-
const s = [...new Set(i.map((c) => c[
|
|
6071
|
+
const s = [...new Set(i.map((c) => c[H.xField]))].sort(
|
|
6067
6072
|
(c, d) => cr(c, d)
|
|
6068
|
-
), o = [...new Set(i.map((c) => c[
|
|
6073
|
+
), o = [...new Set(i.map((c) => c[H.yField]))].sort(
|
|
6069
6074
|
(c, d) => cr(c, d)
|
|
6070
6075
|
), l = /* @__PURE__ */ new Map();
|
|
6071
6076
|
for (const c of i) {
|
|
6072
|
-
const d = c[
|
|
6077
|
+
const d = c[H.xField], f = c[H.yField];
|
|
6073
6078
|
l.set(`${String(d)}\0${String(f)}`, c);
|
|
6074
6079
|
}
|
|
6075
6080
|
const u = [];
|
|
@@ -6085,7 +6090,7 @@ function Ul(t) {
|
|
|
6085
6090
|
function jl(t) {
|
|
6086
6091
|
const { dataItems: e, xUniqueValues: i, yUniqueValues: r, valueField: a, emptyCellValue: n, x: s, y: o, queryObject: l } = t, u = [], c = /* @__PURE__ */ new Set();
|
|
6087
6092
|
for (const d of e) {
|
|
6088
|
-
const f = d[B.originalXValue] !== void 0 ? d[B.originalXValue] : d[
|
|
6093
|
+
const f = d[B.originalXValue] !== void 0 ? d[B.originalXValue] : d[H.xField], m = d[B.originalYCategoryValue] !== void 0 ? d[B.originalYCategoryValue] : d[H.yField];
|
|
6089
6094
|
c.add(`${f}|${m}`);
|
|
6090
6095
|
}
|
|
6091
6096
|
for (const d of i) {
|
|
@@ -6105,8 +6110,8 @@ function jl(t) {
|
|
|
6105
6110
|
u.push({
|
|
6106
6111
|
[B.originalXValue]: d === null ? null : d,
|
|
6107
6112
|
[B.originalYCategoryValue]: m === null ? null : m,
|
|
6108
|
-
[
|
|
6109
|
-
[
|
|
6113
|
+
[H.xField]: d === null ? "null" : p,
|
|
6114
|
+
[H.yField]: m === null ? "null" : y,
|
|
6110
6115
|
[a]: n,
|
|
6111
6116
|
[Cr]: !0
|
|
6112
6117
|
// flagging the cell with an extra field to later skip it at selection
|
|
@@ -6139,23 +6144,23 @@ async function ba(t) {
|
|
|
6139
6144
|
} = t, p = { valid: !0 };
|
|
6140
6145
|
let y;
|
|
6141
6146
|
if (Je(e)) {
|
|
6142
|
-
const { nullPolicy: S } = e, b = e.series[0], { x: T, y: C, query: x, xTemporalBinning: v, yTemporalBinning: A } = b, N = x?.outStatistics?.[0]?.outStatisticFieldName ?? "", L = x?.outStatistics?.[0]?.statisticType ?? O.Count,
|
|
6147
|
+
const { nullPolicy: S } = e, b = e.series[0], { x: T, y: C, query: x, xTemporalBinning: v, yTemporalBinning: A } = b, N = x?.outStatistics?.[0]?.outStatisticFieldName ?? "", L = x?.outStatistics?.[0]?.statisticType ?? O.Count, M = Hl(e), w = H.valueField, D = S === be.Zero ? 0 : null;
|
|
6143
6148
|
if (xo(e)) {
|
|
6144
|
-
const
|
|
6149
|
+
const I = n ? await St({
|
|
6145
6150
|
queryObject: r,
|
|
6146
6151
|
queryConfig: i,
|
|
6147
6152
|
category: T,
|
|
6148
6153
|
errorStrings: s,
|
|
6149
6154
|
abortKey: m,
|
|
6150
6155
|
abortSignal: g
|
|
6151
|
-
}) : void 0,
|
|
6156
|
+
}) : void 0, P = n ? await St({
|
|
6152
6157
|
queryObject: r,
|
|
6153
6158
|
queryConfig: i,
|
|
6154
6159
|
category: C,
|
|
6155
6160
|
errorStrings: s,
|
|
6156
6161
|
abortKey: m,
|
|
6157
6162
|
abortSignal: g
|
|
6158
|
-
}) : void 0, E = (
|
|
6163
|
+
}) : void 0, E = (I?.length ?? 0) * (P?.length ?? 0);
|
|
6159
6164
|
if (!Oe({
|
|
6160
6165
|
count: E,
|
|
6161
6166
|
seriesCount: 1,
|
|
@@ -6164,7 +6169,7 @@ async function ba(t) {
|
|
|
6164
6169
|
}))
|
|
6165
6170
|
Wt({ dataInfo: p, chartType: h.HeatSeries });
|
|
6166
6171
|
else {
|
|
6167
|
-
const
|
|
6172
|
+
const z = await ns({
|
|
6168
6173
|
chartConfig: e,
|
|
6169
6174
|
queryObject: r,
|
|
6170
6175
|
queryConfig: i,
|
|
@@ -6174,30 +6179,30 @@ async function ba(t) {
|
|
|
6174
6179
|
abortKey: m,
|
|
6175
6180
|
abortSignal: g
|
|
6176
6181
|
});
|
|
6177
|
-
if (typeof
|
|
6178
|
-
const
|
|
6182
|
+
if (typeof z?.[0] == "object") {
|
|
6183
|
+
const Q = Te(r, c);
|
|
6179
6184
|
y = Sa({
|
|
6180
6185
|
queryObject: r,
|
|
6181
|
-
queryResponse:
|
|
6186
|
+
queryResponse: z,
|
|
6182
6187
|
chartConfig: e,
|
|
6183
6188
|
splitByField: "",
|
|
6184
6189
|
isTimeBinningSeries: !1,
|
|
6185
6190
|
chartLimits: u,
|
|
6186
6191
|
resultLimit: i.num,
|
|
6187
|
-
fieldList:
|
|
6188
|
-
}), y.length !== E &&
|
|
6192
|
+
fieldList: Q
|
|
6193
|
+
}), y.length !== E && I && P && (y = [
|
|
6189
6194
|
...y,
|
|
6190
6195
|
...jl({
|
|
6191
6196
|
dataItems: y,
|
|
6192
|
-
xUniqueValues:
|
|
6193
|
-
yUniqueValues:
|
|
6197
|
+
xUniqueValues: I,
|
|
6198
|
+
yUniqueValues: P,
|
|
6194
6199
|
valueField: w,
|
|
6195
6200
|
emptyCellValue: D,
|
|
6196
6201
|
x: T,
|
|
6197
6202
|
y: C,
|
|
6198
6203
|
queryObject: r
|
|
6199
6204
|
})
|
|
6200
|
-
],
|
|
6205
|
+
], M && (y = Gl({
|
|
6201
6206
|
dataItems: y,
|
|
6202
6207
|
valueField: w,
|
|
6203
6208
|
filterOutZero: L === O.Count
|
|
@@ -6205,7 +6210,7 @@ async function ba(t) {
|
|
|
6205
6210
|
}
|
|
6206
6211
|
}
|
|
6207
6212
|
} else {
|
|
6208
|
-
const
|
|
6213
|
+
const I = await as({
|
|
6209
6214
|
chartConfig: e,
|
|
6210
6215
|
queryObject: r,
|
|
6211
6216
|
queryConfig: i,
|
|
@@ -6214,40 +6219,40 @@ async function ba(t) {
|
|
|
6214
6219
|
syncViewTimeZone: f,
|
|
6215
6220
|
errorStrings: s,
|
|
6216
6221
|
abortSignal: g
|
|
6217
|
-
}),
|
|
6222
|
+
}), P = A ? Wl(A.unit) : await St({ queryObject: r, queryConfig: i, category: C, errorStrings: s, abortKey: m, abortSignal: g });
|
|
6218
6223
|
let E = 0;
|
|
6219
|
-
y =
|
|
6220
|
-
const
|
|
6224
|
+
y = I?.features.flatMap((z) => {
|
|
6225
|
+
const Q = [], { attributes: q, stackedAttributes: U } = z, X = [];
|
|
6221
6226
|
if (U?.forEach((K) => {
|
|
6222
6227
|
const k = `${K[C]}`;
|
|
6223
6228
|
X.push(k);
|
|
6224
6229
|
const Y = {
|
|
6225
|
-
[
|
|
6226
|
-
[
|
|
6230
|
+
[H.xField]: `${q[_.heatChartLowerBoundaryAlias]}`,
|
|
6231
|
+
[H.yField]: k,
|
|
6227
6232
|
[w]: K[N]
|
|
6228
6233
|
};
|
|
6229
|
-
Array.isArray(K.aggregateIds) && K.aggregateIds.length !== wt && (Y[
|
|
6230
|
-
}), a &&
|
|
6231
|
-
const K =
|
|
6232
|
-
|
|
6233
|
-
Number.isFinite(Number(q[
|
|
6234
|
-
day: Number(q[
|
|
6234
|
+
Array.isArray(K.aggregateIds) && K.aggregateIds.length !== wt && (Y[_.uniqueIds] = K.aggregateIds), Q.push(Y);
|
|
6235
|
+
}), a && P && X.length !== P?.length) {
|
|
6236
|
+
const K = P.filter((k) => !X.includes(k.toString()));
|
|
6237
|
+
M && (K.length !== P.length || X.length === 0) || K.forEach((k) => {
|
|
6238
|
+
Number.isFinite(Number(q[_.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(k)) && (v?.unit === Se.DayOfMonth && A?.unit === Se.MonthOfYear && ur({
|
|
6239
|
+
day: Number(q[_.heatChartLowerBoundaryAlias]),
|
|
6235
6240
|
month: Number(k),
|
|
6236
6241
|
includeLeapDay: e.includeLeapDay
|
|
6237
6242
|
}) || A?.unit === Se.DayOfMonth && v?.unit === Se.MonthOfYear && ur({
|
|
6238
6243
|
day: Number(k),
|
|
6239
|
-
month: Number(q[
|
|
6244
|
+
month: Number(q[_.heatChartLowerBoundaryAlias]),
|
|
6240
6245
|
includeLeapDay: e.includeLeapDay
|
|
6241
|
-
})) ||
|
|
6242
|
-
[
|
|
6243
|
-
[
|
|
6246
|
+
})) || Q.push({
|
|
6247
|
+
[H.xField]: `${q[_.heatChartLowerBoundaryAlias]}`,
|
|
6248
|
+
[H.yField]: k,
|
|
6244
6249
|
[w]: S === be.Zero ? 0 : null,
|
|
6245
6250
|
[Cr]: !0
|
|
6246
6251
|
// flagging the cell with an extra field to later skip it at selection
|
|
6247
6252
|
});
|
|
6248
6253
|
});
|
|
6249
6254
|
}
|
|
6250
|
-
return E +=
|
|
6255
|
+
return E += Q.length, Q;
|
|
6251
6256
|
}), Oe({
|
|
6252
6257
|
count: E,
|
|
6253
6258
|
seriesCount: 1,
|
|
@@ -6316,28 +6321,28 @@ async function wi(t) {
|
|
|
6316
6321
|
const { temporalBinning: v } = S;
|
|
6317
6322
|
if (r && v) {
|
|
6318
6323
|
const { unit: A, size: N } = v, w = Te(r).find((ge) => ge.name === b)?.type;
|
|
6319
|
-
let D = 1,
|
|
6320
|
-
const
|
|
6324
|
+
let D = 1, I = { unit: A, size: N }, P = !1, E = !1, z = !1;
|
|
6325
|
+
const Q = xl({
|
|
6321
6326
|
series: S,
|
|
6322
6327
|
isTimeBinningSeries: !0,
|
|
6323
6328
|
setTimeBinningInfoWhenNotProvided: l
|
|
6324
|
-
}), q = !dt(T, r) ||
|
|
6325
|
-
|
|
6329
|
+
}), q = !dt(T, r) || Q ? await dl({ queryObject: r, queryConfig: i, x: b, xFieldType: w, errorStrings: o, abortSignal: n }) : void 0;
|
|
6330
|
+
Q && q && q.numberOfFeatures > 0 && q.dateRange.dateMaxTimestamp !== void 0 && q.dateRange.dateMinTimestamp !== void 0 && (I = bl(q), w === Z.DateOnly && I.unit !== void 0 && [
|
|
6326
6331
|
$.Hour,
|
|
6327
6332
|
$.Minute,
|
|
6328
6333
|
$.Second
|
|
6329
|
-
].includes(
|
|
6334
|
+
].includes(I.unit) && (I.unit = $.Day, I.size = 1), v.size = I.size, v.unit = I.unit);
|
|
6330
6335
|
const { uniqueQuery: U, mapToStatField: X } = Vi({
|
|
6331
6336
|
chartConfig: e,
|
|
6332
6337
|
queryConfig: i,
|
|
6333
6338
|
queryObject: r,
|
|
6334
|
-
timeIntervalInfo:
|
|
6339
|
+
timeIntervalInfo: I,
|
|
6335
6340
|
setTimeBinningInfoWhenNotProvided: l,
|
|
6336
6341
|
returnFeaturesExtent: u,
|
|
6337
6342
|
chartLimits: d
|
|
6338
6343
|
});
|
|
6339
|
-
let K = h.LineSeries, k =
|
|
6340
|
-
Fo(S) ? (K = h.BarSeries, k =
|
|
6344
|
+
let K = h.LineSeries, k = W.LineChartExceedsLimit;
|
|
6345
|
+
Fo(S) ? (K = h.BarSeries, k = W.BarElementExceedsLimit) : So(S) && (K = h.RadarSeries, k = W.RadarChartExceedsLimit);
|
|
6341
6346
|
let Y = Oe({
|
|
6342
6347
|
count: D ?? 0,
|
|
6343
6348
|
seriesCount: y.length,
|
|
@@ -6359,7 +6364,7 @@ async function wi(t) {
|
|
|
6359
6364
|
returnStatisticsAggregatedIds: c,
|
|
6360
6365
|
abortSignal: n
|
|
6361
6366
|
}), nt = "y" in S && typeof S.y == "string" ? S.y : void 0;
|
|
6362
|
-
if ({ data: x, firstOrLastWasSkipped:
|
|
6367
|
+
if ({ data: x, firstOrLastWasSkipped: z } = hl({
|
|
6363
6368
|
chartConfig: e,
|
|
6364
6369
|
queryResults: yt,
|
|
6365
6370
|
mapToStatField: X,
|
|
@@ -6388,9 +6393,9 @@ async function wi(t) {
|
|
|
6388
6393
|
const { numberOfFinalBinsWithinDataRange: ge } = ga({
|
|
6389
6394
|
dateMinTimestamp: q.dateRange.dateMinTimestamp,
|
|
6390
6395
|
dateMaxTimestamp: q.dateRange.dateMaxTimestamp,
|
|
6391
|
-
timeIntervalInfo:
|
|
6396
|
+
timeIntervalInfo: I
|
|
6392
6397
|
});
|
|
6393
|
-
D = ge * y.length, D = ma(D,
|
|
6398
|
+
D = ge * y.length, D = ma(D, I.unit), x = await ei({
|
|
6394
6399
|
queryObject: r,
|
|
6395
6400
|
uniqueQuery: U,
|
|
6396
6401
|
chartConfig: e,
|
|
@@ -6411,17 +6416,17 @@ async function wi(t) {
|
|
|
6411
6416
|
x: b,
|
|
6412
6417
|
seriesConfig: y,
|
|
6413
6418
|
dateRange: q.dateRange,
|
|
6414
|
-
timeIntervalInfo:
|
|
6419
|
+
timeIntervalInfo: I,
|
|
6415
6420
|
errorStrings: o,
|
|
6416
6421
|
abortSignal: n
|
|
6417
6422
|
});
|
|
6418
6423
|
}
|
|
6419
|
-
Yn(r) && x && (x?.length + 1 === Ji &&
|
|
6424
|
+
Yn(r) && x && (x?.length + 1 === Ji && z || x.length === Ji) && (P = !0), p === He.RenderUpToTheLimit && x && ({ trimmedData: x, chartLimitsReached: E } = Xl({ chartConfig: e, chartLimits: d, data: x }));
|
|
6420
6425
|
}
|
|
6421
6426
|
Y || (C.valid = !1, C.invalidType = k), C.data = {
|
|
6422
6427
|
dataItems: x,
|
|
6423
|
-
timeIntervalInfo:
|
|
6424
|
-
serverLimitReached:
|
|
6428
|
+
timeIntervalInfo: I,
|
|
6429
|
+
serverLimitReached: P,
|
|
6425
6430
|
chartLimitsReached: E
|
|
6426
6431
|
}, C.count = D;
|
|
6427
6432
|
}
|
|
@@ -6617,7 +6622,7 @@ async function rc(t) {
|
|
|
6617
6622
|
let T;
|
|
6618
6623
|
const C = e?.get(m) ?? Number.NaN, x = e?.get(g) ?? Number.NaN, v = e?.get(S) ?? Number.NaN, A = e?.get(p) ?? C, N = e?.get(y) ?? x;
|
|
6619
6624
|
if (C != null && A !== void 0 && A !== null && x !== void 0 && x !== null && N !== void 0 && N !== null && !Number.isNaN(C + x + A + N)) {
|
|
6620
|
-
const L = j(r), { idField:
|
|
6625
|
+
const L = j(r), { idField: M, isTraditionalTypeOID: w } = Ae(L), D = w ? M : "*", I = e?.get(B.scatterplotAggregationFields.xStep), P = e?.get(B.scatterplotAggregationFields.yStep), E = e?.get(B.scatterplotAggregationFields.realGridSize), z = e?.get(B.scatterplotAggregationFields.rowCount), Q = e?.get(B.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), U = Te(r);
|
|
6621
6626
|
if (U?.forEach((k) => {
|
|
6622
6627
|
Nt(k) && q.set(k.name, {
|
|
6623
6628
|
onStatisticField: k.name,
|
|
@@ -6636,7 +6641,7 @@ async function rc(t) {
|
|
|
6636
6641
|
outStatisticFieldName: k,
|
|
6637
6642
|
statisticType: O.Maximum
|
|
6638
6643
|
});
|
|
6639
|
-
}),
|
|
6644
|
+
}), M !== "" && q.set(M, {
|
|
6640
6645
|
onStatisticField: D,
|
|
6641
6646
|
outStatisticFieldName: b,
|
|
6642
6647
|
statisticType: O.Count
|
|
@@ -6648,7 +6653,7 @@ async function rc(t) {
|
|
|
6648
6653
|
onStatisticField: f,
|
|
6649
6654
|
outStatisticFieldName: f,
|
|
6650
6655
|
statisticType: O.Maximum
|
|
6651
|
-
}),
|
|
6656
|
+
}), I !== void 0 && P !== void 0) {
|
|
6652
6657
|
if (n) {
|
|
6653
6658
|
const k = {
|
|
6654
6659
|
...a,
|
|
@@ -6657,33 +6662,33 @@ async function rc(t) {
|
|
|
6657
6662
|
T = await ss({
|
|
6658
6663
|
queryObject: r,
|
|
6659
6664
|
queryConfig: k,
|
|
6660
|
-
xStep:
|
|
6665
|
+
xStep: I,
|
|
6661
6666
|
xMin: C,
|
|
6662
6667
|
xMax: x,
|
|
6663
6668
|
x: d,
|
|
6664
6669
|
y: f,
|
|
6665
|
-
yStep:
|
|
6670
|
+
yStep: P,
|
|
6666
6671
|
returnStatisticsAggregatedIds: s,
|
|
6667
6672
|
errorStrings: o,
|
|
6668
6673
|
abortSignal: u
|
|
6669
6674
|
});
|
|
6670
|
-
} else if (
|
|
6675
|
+
} else if (z !== void 0 && Q !== void 0) {
|
|
6671
6676
|
let k = 0;
|
|
6672
6677
|
const { maxScatterCellsPerQuery: Y, maxScatterCellsPerQueryForStandard: ge } = Zt(), nt = await fu(L, u) ? ge : Y, Pt = [];
|
|
6673
6678
|
let pt = !0, Pe = C, Ne = A, st = "", Mt = 1, ai = 1, It = Number.MAX_SAFE_INTEGER, Ot = Number.MIN_SAFE_INTEGER, Dt = Number.MAX_SAFE_INTEGER, Et = Number.MIN_SAFE_INTEGER;
|
|
6674
|
-
for (; ai <=
|
|
6675
|
-
for (Ne = A, Mt = 1; Mt <=
|
|
6679
|
+
for (; ai <= Q && pt; ) {
|
|
6680
|
+
for (Ne = A, Mt = 1; Mt <= z && pt; ) {
|
|
6676
6681
|
if (st = tc({
|
|
6677
6682
|
groupByFieldsForStatistics: st,
|
|
6678
6683
|
x: d,
|
|
6679
6684
|
y: f,
|
|
6680
6685
|
xValue: Pe,
|
|
6681
6686
|
yValue: Ne,
|
|
6682
|
-
xStep:
|
|
6683
|
-
yStep:
|
|
6684
|
-
endOfRow: Mt ===
|
|
6685
|
-
endOfColumn: ai ===
|
|
6686
|
-
}), Pe < It && (It = Pe), Pe +
|
|
6687
|
+
xStep: I,
|
|
6688
|
+
yStep: P,
|
|
6689
|
+
endOfRow: Mt === z,
|
|
6690
|
+
endOfColumn: ai === Q
|
|
6691
|
+
}), Pe < It && (It = Pe), Pe + I > Ot && (Ot = Pe + I), Ne < Dt && (Dt = Ne), Ne + I > Et && (Et = Ne + P), k += 1, k % nt === 0 || k === E || k === v) {
|
|
6687
6692
|
st = `${st} ${et.groupByCaseEnd}`;
|
|
6688
6693
|
const nn = {
|
|
6689
6694
|
...a,
|
|
@@ -6705,9 +6710,9 @@ async function rc(t) {
|
|
|
6705
6710
|
})
|
|
6706
6711
|
), It = Number.MAX_SAFE_INTEGER, Ot = Number.MIN_SAFE_INTEGER, Dt = Number.MAX_SAFE_INTEGER, Et = Number.MIN_SAFE_INTEGER, st = "", k === E && (pt = !1);
|
|
6707
6712
|
}
|
|
6708
|
-
Ne +=
|
|
6713
|
+
Ne += P, Mt += 1;
|
|
6709
6714
|
}
|
|
6710
|
-
Pe +=
|
|
6715
|
+
Pe += I, ai += 1;
|
|
6711
6716
|
}
|
|
6712
6717
|
T = (await Promise.all(Pt)).flat();
|
|
6713
6718
|
}
|
|
@@ -6785,7 +6790,7 @@ function nc(t) {
|
|
|
6785
6790
|
[u]: y,
|
|
6786
6791
|
[c]: S
|
|
6787
6792
|
};
|
|
6788
|
-
Array.isArray(p.aggregateIds) && p.aggregateIds.length !== wt && (C[
|
|
6793
|
+
Array.isArray(p.aggregateIds) && p.aggregateIds.length !== wt && (C[_.uniqueIds] = p.aggregateIds), d.push(C);
|
|
6789
6794
|
}
|
|
6790
6795
|
});
|
|
6791
6796
|
} else {
|
|
@@ -6823,7 +6828,7 @@ function sc(t) {
|
|
|
6823
6828
|
x: o,
|
|
6824
6829
|
y: l,
|
|
6825
6830
|
yStep: a
|
|
6826
|
-
}) : f[0][
|
|
6831
|
+
}) : f[0][_.uniqueIds] = d.getObjectId(), f;
|
|
6827
6832
|
});
|
|
6828
6833
|
return c = c?.filter((d) => {
|
|
6829
6834
|
const { expr: f } = ti(d);
|
|
@@ -7169,7 +7174,7 @@ function im(t) {
|
|
|
7169
7174
|
break;
|
|
7170
7175
|
case h.HeatSeries:
|
|
7171
7176
|
u = a.some(
|
|
7172
|
-
(c) => qe(c[
|
|
7177
|
+
(c) => qe(c[H.valueField], i)
|
|
7173
7178
|
);
|
|
7174
7179
|
break;
|
|
7175
7180
|
}
|
|
@@ -7396,7 +7401,7 @@ function Sc(t, e) {
|
|
|
7396
7401
|
const n = xi(t);
|
|
7397
7402
|
let s = n ? t : t.dataItems;
|
|
7398
7403
|
if (t !== void 0) {
|
|
7399
|
-
const { originalXValue: o, originalYCategoryValue: l, xAxisField: u } = B, c = i === h.HeatSeries ?
|
|
7404
|
+
const { originalXValue: o, originalYCategoryValue: l, xAxisField: u } = B, c = i === h.HeatSeries ? H.xField : a.x, d = i === h.HeatSeries ? H.yField : void 0;
|
|
7400
7405
|
s = s.map((f) => {
|
|
7401
7406
|
let m = f[c];
|
|
7402
7407
|
f[o] !== void 0 && (m = f[o]);
|
|
@@ -7413,7 +7418,7 @@ function Sc(t, e) {
|
|
|
7413
7418
|
}
|
|
7414
7419
|
function fr(t) {
|
|
7415
7420
|
const e = { ...t };
|
|
7416
|
-
delete e[B.technicalSortingFieldBySum], delete e[B.technicalSortingFieldByPercent], delete e[B.pieChart.technicalFieldSlicePercent], delete e[B.pieChart.technicalFieldGroupedSlices], delete e[B.firstTemporalBin], delete e[B.lastTemporalBin], delete e[B.originalServerBinningRange], delete e[B.technicalFieldSplitByField], delete e[
|
|
7421
|
+
delete e[B.technicalSortingFieldBySum], delete e[B.technicalSortingFieldByPercent], delete e[B.pieChart.technicalFieldSlicePercent], delete e[B.pieChart.technicalFieldGroupedSlices], delete e[B.firstTemporalBin], delete e[B.lastTemporalBin], delete e[B.originalServerBinningRange], delete e[B.technicalFieldSplitByField], delete e[_.uniqueIds], Object.keys(e).filter(
|
|
7417
7422
|
(a) => a.includes(B.rendererSymbolField)
|
|
7418
7423
|
).forEach((a) => delete e[a]);
|
|
7419
7424
|
const r = ti(e);
|
|
@@ -7472,7 +7477,7 @@ function bc(t) {
|
|
|
7472
7477
|
if (i[0].type === h.HeatSeries)
|
|
7473
7478
|
o > 0 && c.forEach((d) => {
|
|
7474
7479
|
s.set(
|
|
7475
|
-
`${d[
|
|
7480
|
+
`${d[H.xField]}-${d[H.yField]}`,
|
|
7476
7481
|
d
|
|
7477
7482
|
);
|
|
7478
7483
|
});
|
|
@@ -7515,18 +7520,18 @@ async function xc(t) {
|
|
|
7515
7520
|
popupTemplateFieldInfosEnabled: g,
|
|
7516
7521
|
view: p
|
|
7517
7522
|
} = t, { series: y } = r, S = V(y), b = [], { maxOIDsPerSelectionQuery: T, maxElementsPerSelectionQuery: C } = Zt(), x = i && i.length > 0 ? Math.ceil(i.length / C) : void 0, v = Math.ceil(e.length / T), A = x ? x <= v : !1, N = (A ? x : v) ?? 1;
|
|
7518
|
-
for (let
|
|
7523
|
+
for (let M = 0; M < N; M += 1) {
|
|
7519
7524
|
const w = { ...a };
|
|
7520
7525
|
if (A && i) {
|
|
7521
7526
|
const D = yi({
|
|
7522
|
-
queryIndex:
|
|
7527
|
+
queryIndex: M,
|
|
7523
7528
|
batchSize: C,
|
|
7524
7529
|
filterList: i
|
|
7525
7530
|
});
|
|
7526
7531
|
w.where = J([w.where, J(D, "OR")]);
|
|
7527
7532
|
} else {
|
|
7528
7533
|
const D = yi({
|
|
7529
|
-
queryIndex:
|
|
7534
|
+
queryIndex: M,
|
|
7530
7535
|
batchSize: T,
|
|
7531
7536
|
filterList: e
|
|
7532
7537
|
});
|
|
@@ -7677,18 +7682,18 @@ async function om(t) {
|
|
|
7677
7682
|
runtimeDataFilters: y,
|
|
7678
7683
|
ignoreViewExtent: S,
|
|
7679
7684
|
view: g
|
|
7680
|
-
}),
|
|
7681
|
-
if (w && !Cc(w) && w.some((
|
|
7682
|
-
v = w.filter((
|
|
7683
|
-
const
|
|
7684
|
-
return (typeof
|
|
7685
|
+
}), I = re(e.series[0]?.query?.where), P = le(e.series), E = De(e.series[0].query?.where);
|
|
7686
|
+
if (w && !Cc(w) && w.some((z) => N.objectIdField in z))
|
|
7687
|
+
v = w.filter((z) => {
|
|
7688
|
+
const Q = z[N.objectIdField];
|
|
7689
|
+
return (typeof Q == "number" || typeof Q == "string") && x.includes(Q);
|
|
7685
7690
|
});
|
|
7686
7691
|
else if (w) {
|
|
7687
|
-
const
|
|
7692
|
+
const z = new Set(x), Q = /* @__PURE__ */ new Set();
|
|
7688
7693
|
w?.some(
|
|
7689
7694
|
(X) => Object.keys(X).some((K) => {
|
|
7690
7695
|
let k = !1;
|
|
7691
|
-
if (K.startsWith(
|
|
7696
|
+
if (K.startsWith(_.uniqueIds)) {
|
|
7692
7697
|
const Y = X[K];
|
|
7693
7698
|
k = Array.isArray(Y) && Y.length > 0;
|
|
7694
7699
|
}
|
|
@@ -7698,18 +7703,18 @@ async function om(t) {
|
|
|
7698
7703
|
let K = !1;
|
|
7699
7704
|
const k = [];
|
|
7700
7705
|
return Object.keys(X).forEach((Y) => {
|
|
7701
|
-
if (Y.startsWith(
|
|
7706
|
+
if (Y.startsWith(_.uniqueIds)) {
|
|
7702
7707
|
const ge = X[Y];
|
|
7703
7708
|
let yt = !1;
|
|
7704
7709
|
ge?.forEach((nt) => {
|
|
7705
|
-
|
|
7706
|
-
}), yt && k.push(Y.replace(`${
|
|
7710
|
+
z.has(nt) && (Q.add(nt), yt = !0);
|
|
7711
|
+
}), yt && k.push(Y.replace(`${_.uniqueIds}_`, ""));
|
|
7707
7712
|
}
|
|
7708
|
-
}), K = k.length > 0, E ||
|
|
7709
|
-
k.includes(Y) || (delete X[Y], delete X[`${
|
|
7713
|
+
}), K = k.length > 0, E || P.forEach((Y) => {
|
|
7714
|
+
k.includes(Y) || (delete X[Y], delete X[`${_.uniqueIds}_${Y}`], delete X[`${B.rendererSymbolField}_${Y}`]);
|
|
7710
7715
|
}), K;
|
|
7711
7716
|
}));
|
|
7712
|
-
const U = x.filter((X) => !
|
|
7717
|
+
const U = x.filter((X) => !Q.has(X));
|
|
7713
7718
|
if (U?.[0] !== void 0 && D) {
|
|
7714
7719
|
const X = await xc({
|
|
7715
7720
|
selectionOIDs: U,
|
|
@@ -7724,7 +7729,7 @@ async function om(t) {
|
|
|
7724
7729
|
returnStatisticsAggregatedIds: !1,
|
|
7725
7730
|
popupTemplateFieldInfosEnabled: m,
|
|
7726
7731
|
view: g,
|
|
7727
|
-
splitByField:
|
|
7732
|
+
splitByField: I,
|
|
7728
7733
|
errorStrings: o,
|
|
7729
7734
|
chartConfig: e
|
|
7730
7735
|
});
|
|
@@ -7947,7 +7952,7 @@ async function Pc(t) {
|
|
|
7947
7952
|
});
|
|
7948
7953
|
}
|
|
7949
7954
|
}) : e[0].type === h.HeatSeries && a === fe.ClassBreaks ? g.set(B.rendererSymbolField, {
|
|
7950
|
-
[
|
|
7955
|
+
[H.valueField]: i[H.valueField]
|
|
7951
7956
|
}) : g.set(
|
|
7952
7957
|
V(e) === h.HistogramSeries ? B.rendererSymbolFieldForHistogram : B.rendererSymbolField,
|
|
7953
7958
|
{
|
|
@@ -8271,7 +8276,7 @@ async function $c(t) {
|
|
|
8271
8276
|
if (!c || !f)
|
|
8272
8277
|
l = {
|
|
8273
8278
|
valid: !1,
|
|
8274
|
-
invalidType:
|
|
8279
|
+
invalidType: W.NoValue
|
|
8275
8280
|
// for #17296
|
|
8276
8281
|
// invalidType: DataWarningKeywords.BadData, // 2DO: review whether to use BadData or NoValue after future enhancement
|
|
8277
8282
|
};
|
|
@@ -8280,13 +8285,13 @@ async function $c(t) {
|
|
|
8280
8285
|
if (!m || m.length === 0)
|
|
8281
8286
|
l = {
|
|
8282
8287
|
valid: !1,
|
|
8283
|
-
invalidType:
|
|
8288
|
+
invalidType: W.InvalidConfig
|
|
8284
8289
|
// for #17296
|
|
8285
8290
|
};
|
|
8286
8291
|
else if (f.length === 0)
|
|
8287
8292
|
l = {
|
|
8288
8293
|
valid: !1,
|
|
8289
|
-
invalidType:
|
|
8294
|
+
invalidType: W.EmptyDataSet
|
|
8290
8295
|
// for #17296
|
|
8291
8296
|
};
|
|
8292
8297
|
else {
|
|
@@ -8302,7 +8307,7 @@ async function $c(t) {
|
|
|
8302
8307
|
S.forEach((x) => {
|
|
8303
8308
|
const v = {}, A = x[0][g], { display: N, original: L } = yr(A, y);
|
|
8304
8309
|
if (v[g] = N, v[B.xAxisField] = N, v[B.originalXValue] = L, p) {
|
|
8305
|
-
const
|
|
8310
|
+
const M = gr({
|
|
8306
8311
|
layer: u,
|
|
8307
8312
|
chartRenderer: e.chartRenderer,
|
|
8308
8313
|
categoryField: g,
|
|
@@ -8311,15 +8316,15 @@ async function $c(t) {
|
|
|
8311
8316
|
hasColormap: d,
|
|
8312
8317
|
canUseRasterAttributeTableColors: T
|
|
8313
8318
|
});
|
|
8314
|
-
|
|
8319
|
+
M && (v[B.rendererSymbolField] = M);
|
|
8315
8320
|
}
|
|
8316
|
-
m.forEach((
|
|
8317
|
-
const w = re(
|
|
8318
|
-
where:
|
|
8321
|
+
m.forEach((M) => {
|
|
8322
|
+
const w = re(M.query?.where), D = ce({
|
|
8323
|
+
where: M.query?.where,
|
|
8319
8324
|
keepSurroundingQuotes: !1,
|
|
8320
8325
|
escape: !1
|
|
8321
8326
|
});
|
|
8322
|
-
if (p && w && D !== void 0 && "y" in
|
|
8327
|
+
if (p && w && D !== void 0 && "y" in M) {
|
|
8323
8328
|
const U = w.toLowerCase() === b?.toLowerCase(), X = gr({
|
|
8324
8329
|
layer: u,
|
|
8325
8330
|
chartRenderer: e.chartRenderer,
|
|
@@ -8329,24 +8334,24 @@ async function $c(t) {
|
|
|
8329
8334
|
hasColormap: d,
|
|
8330
8335
|
canUseRasterAttributeTableColors: U
|
|
8331
8336
|
});
|
|
8332
|
-
X && typeof
|
|
8337
|
+
X && typeof M.y == "string" && (v[`${B.rendererSymbolField}_${M.y}`] = X);
|
|
8333
8338
|
}
|
|
8334
|
-
const
|
|
8335
|
-
if (!
|
|
8336
|
-
const U = "y" in
|
|
8339
|
+
const I = M.query?.outStatistics?.[0];
|
|
8340
|
+
if (!I) {
|
|
8341
|
+
const U = "y" in M && typeof M.y == "string" ? M.y : M.name;
|
|
8337
8342
|
if (typeof U != "string")
|
|
8338
8343
|
return;
|
|
8339
8344
|
v[U] = x[0][U];
|
|
8340
8345
|
return;
|
|
8341
8346
|
}
|
|
8342
|
-
let
|
|
8343
|
-
const E =
|
|
8344
|
-
E && (
|
|
8345
|
-
const
|
|
8347
|
+
let P = x;
|
|
8348
|
+
const E = M.query?.where;
|
|
8349
|
+
E && (P = x.filter((U) => qc(U, E)));
|
|
8350
|
+
const z = I.statisticType, Q = I.onStatisticField, q = I.outStatisticFieldName;
|
|
8346
8351
|
v[q] = Vc({
|
|
8347
|
-
features:
|
|
8348
|
-
aggregationType:
|
|
8349
|
-
onField:
|
|
8352
|
+
features: P,
|
|
8353
|
+
aggregationType: z,
|
|
8354
|
+
onField: Q
|
|
8350
8355
|
});
|
|
8351
8356
|
}), C.push(v);
|
|
8352
8357
|
}), l = {
|
|
@@ -8611,14 +8616,14 @@ function Oe(t) {
|
|
|
8611
8616
|
maxRadarThreePlusSeriesCountPerSeries: A,
|
|
8612
8617
|
maxRadarThreePlusSeriesCountTotal: N,
|
|
8613
8618
|
maxPieChartSliceCountTotal: L,
|
|
8614
|
-
maxGaugeByFeaturesLimit:
|
|
8619
|
+
maxGaugeByFeaturesLimit: M,
|
|
8615
8620
|
maxBoxPlotSeriesCount: w,
|
|
8616
8621
|
maxBoxUniqueSeriesCountTotal: D,
|
|
8617
|
-
maxBoxTwoSeriesCountTotal:
|
|
8618
|
-
maxBoxTwoSeriesCountPerSeries:
|
|
8622
|
+
maxBoxTwoSeriesCountTotal: I,
|
|
8623
|
+
maxBoxTwoSeriesCountPerSeries: P,
|
|
8619
8624
|
maxBoxThreePlusSeriesCountTotal: E,
|
|
8620
|
-
maxBoxThreePlusSeriesCountPerSeries:
|
|
8621
|
-
maxHeatChartCellLimit:
|
|
8625
|
+
maxBoxThreePlusSeriesCountPerSeries: z,
|
|
8626
|
+
maxHeatChartCellLimit: Q,
|
|
8622
8627
|
serialChart: { series: q, elements: U },
|
|
8623
8628
|
heatChart: { cells: X },
|
|
8624
8629
|
pieChart: { slices: K },
|
|
@@ -8650,14 +8655,14 @@ function Oe(t) {
|
|
|
8650
8655
|
case h.BoxPlotSeries:
|
|
8651
8656
|
{
|
|
8652
8657
|
const Y = e / i;
|
|
8653
|
-
i <= (w ?? q) ? i === 0 ? s = !0 : i === 1 ? s = e <= (D ?? U) : i === 2 ? s = e <= (
|
|
8658
|
+
i <= (w ?? q) ? i === 0 ? s = !0 : i === 1 ? s = e <= (D ?? U) : i === 2 ? s = e <= (I ?? U) && Y <= P : i > 2 && (s = e <= (E ?? U) && Y <= z) : s = !1;
|
|
8654
8659
|
}
|
|
8655
8660
|
break;
|
|
8656
8661
|
case h.HeatSeries:
|
|
8657
|
-
s = e <= (
|
|
8662
|
+
s = e <= (Q ?? X);
|
|
8658
8663
|
break;
|
|
8659
8664
|
case h.GaugeSeries:
|
|
8660
|
-
s = e <= (
|
|
8665
|
+
s = e <= (M ?? k);
|
|
8661
8666
|
break;
|
|
8662
8667
|
}
|
|
8663
8668
|
}
|
|
@@ -8899,11 +8904,11 @@ function Kc(t) {
|
|
|
8899
8904
|
return e && r;
|
|
8900
8905
|
}
|
|
8901
8906
|
function qa(t, e) {
|
|
8902
|
-
let i =
|
|
8907
|
+
let i = _.maxRecords;
|
|
8903
8908
|
const r = Vr(t);
|
|
8904
8909
|
if (e && "sourceJSON" in e) {
|
|
8905
8910
|
const { sourceJSON: a } = e;
|
|
8906
|
-
r ? i = a?.standardMaxRecordCount : e.sourceJSON?.maxRecordCount && (i = a?.maxRecordCount), a?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 && (i *=
|
|
8911
|
+
r ? i = a?.standardMaxRecordCount : e.sourceJSON?.maxRecordCount && (i = a?.maxRecordCount), a?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 && (i *= _.maxRecordCountFactor);
|
|
8907
8912
|
}
|
|
8908
8913
|
return i;
|
|
8909
8914
|
}
|
|
@@ -8958,8 +8963,8 @@ function ii(t) {
|
|
|
8958
8963
|
const C = ri(y).idFields;
|
|
8959
8964
|
if (e === "AttributeBinsQuery" && r?.objectIds?.[0] !== void 0 && C && (T = `${C} IN (${r.objectIds.join(",")})`), e === "AttributeBinsQuery" && (b = new xn(b.toJSON()), Te(i).find((N) => N.name === s)?.type !== Z.DateOnly)) {
|
|
8960
8965
|
const N = Intl.DateTimeFormat().resolvedOptions().timeZone, L = o && a && "timeZone" in a ? a.timeZone : void 0;
|
|
8961
|
-
let
|
|
8962
|
-
|
|
8966
|
+
let M = n ?? L ?? N;
|
|
8967
|
+
M === "unknown" ? M = "Etc/UTC" : M === "system" && (M = N), b.outTimeZone = M;
|
|
8963
8968
|
}
|
|
8964
8969
|
if (b.where = J([b.where, u, T]), "returnDistinctValues" in b && S?.capabilities?.query?.supportsDistinct && (b.returnDistinctValues = p ?? !1), c !== void 0 && S?.capabilities?.query?.supportsStatistics) {
|
|
8965
8970
|
const v = ts(y);
|
|
@@ -9132,7 +9137,7 @@ function nu(t) {
|
|
|
9132
9137
|
y.binParameters = {
|
|
9133
9138
|
type: "fixed-interval",
|
|
9134
9139
|
interval: 1
|
|
9135
|
-
}, y.lowerBoundaryAlias =
|
|
9140
|
+
}, y.lowerBoundaryAlias = _.heatChartLowerBoundaryAlias, y.upperBoundaryAlias = _.heatChartUpperBoundaryAlias, o !== void 0 && (y.binParameters.firstDayOfWeek = o);
|
|
9136
9141
|
const S = hr({
|
|
9137
9142
|
temporalBinning: n,
|
|
9138
9143
|
xOrY: r,
|
|
@@ -9190,7 +9195,7 @@ function Ei(t) {
|
|
|
9190
9195
|
return d.outFields = Va(c), d.outStatistics?.[0] && (d.groupByFieldsForStatistics = n ?? d.groupByFieldsForStatistics), f.capabilities?.query?.supportsOrderBy && (d.orderByFields = s ?? []), d.objectIds = i?.objectIds, r !== void 0 && (d.maxRecordCountFactor = r), Vr(e) && (d.resultType = "standard"), o !== void 0 && o !== "" && (d.gdbVersion = o), u !== void 0 && (d.num = u), l !== void 0 && (d.start = l, d.num = d.num ?? qa(e, f)), d;
|
|
9191
9196
|
}
|
|
9192
9197
|
function ou(t) {
|
|
9193
|
-
return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ?
|
|
9198
|
+
return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? _.maxRecordCountFactor : void 0;
|
|
9194
9199
|
}
|
|
9195
9200
|
const wm = {
|
|
9196
9201
|
sanitizeOutFields: Va
|
|
@@ -9414,8 +9419,8 @@ function Qa(t) {
|
|
|
9414
9419
|
units: v,
|
|
9415
9420
|
objectIds: A,
|
|
9416
9421
|
spatialRelationship: N
|
|
9417
|
-
} = r ?? {}, L = o[0], { query:
|
|
9418
|
-
return
|
|
9422
|
+
} = r ?? {}, L = o[0], { query: M } = L, { where: w } = M ?? {}, D = G(o), I = { ...M };
|
|
9423
|
+
return I.where = J([u, S]), D !== F.BarAndLineSplitBy && D !== F.BoxPlotC5MonoFieldAndSplitBy && D !== F.BoxPlotC7MonoFieldAndCategoryAndSplitBy && D !== F.BoxPlotC6MultiFieldsAndSplitBy && D !== F.BarAndLineSplitByNoAggregation && (I.where = J([I.where, w])), i.orderOptions?.orderByFields !== void 0 && (I.orderByFields = i.orderOptions.orderByFields), I.gdbVersion = b ?? c, I.timeExtent = eu(s?.timeExtent, T ?? d), I.geometry = ee(e) ? js({
|
|
9419
9424
|
queryObject: e,
|
|
9420
9425
|
defaultGeometry: C ?? f,
|
|
9421
9426
|
filterByViewExtent: a,
|
|
@@ -9424,11 +9429,11 @@ function Qa(t) {
|
|
|
9424
9429
|
queryObject: e,
|
|
9425
9430
|
defaultGeometry: C ?? f,
|
|
9426
9431
|
ignoreViewExtent: n
|
|
9427
|
-
}),
|
|
9428
|
-
qi(
|
|
9429
|
-
value:
|
|
9432
|
+
}), I.distance = x ?? m, I.units = v ?? g, I.objectIds = A ?? p, I.spatialRelationship = N ?? y, M?.outStatistics?.[0]?.statisticType === O.Count && (I.returnDistinctValues = M?.returnDistinctValues ?? !1), I?.outStatistics?.forEach((P) => {
|
|
9433
|
+
qi(P) && !("statisticParameters" in P) && (P.statisticParameters = {
|
|
9434
|
+
value: _.defaultStatParameterValue
|
|
9430
9435
|
});
|
|
9431
|
-
}),
|
|
9436
|
+
}), I;
|
|
9432
9437
|
}
|
|
9433
9438
|
async function Rm(t) {
|
|
9434
9439
|
let e = [];
|
|
@@ -9488,7 +9493,7 @@ async function Ri(t, e) {
|
|
|
9488
9493
|
}
|
|
9489
9494
|
function bu(t) {
|
|
9490
9495
|
const { whereValue: e, outStatistics: i, y: r } = t;
|
|
9491
|
-
let a =
|
|
9496
|
+
let a = _.outStatistics.outStatisticFieldName ?? "";
|
|
9492
9497
|
return i?.outStatisticFieldName !== void 0 ? a = i.outStatisticFieldName : i?.onStatisticField !== void 0 && i.statisticType !== void 0 ? a = `${i.statisticType}_${i.onStatisticField}_${e}` : r !== void 0 && (a = [r].flat()[0]), a;
|
|
9493
9498
|
}
|
|
9494
9499
|
function xu(t) {
|
|
@@ -9528,7 +9533,7 @@ function Bu(t) {
|
|
|
9528
9533
|
isTimeBinningSeries: s,
|
|
9529
9534
|
returnFeaturesExtent: o,
|
|
9530
9535
|
splitByField: l
|
|
9531
|
-
} = t, u =
|
|
9536
|
+
} = t, u = _.outStatistics;
|
|
9532
9537
|
if (e.outStatistics?.[0] !== void 0) {
|
|
9533
9538
|
n !== F.PieFromFields && n !== F.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = r ? u.outStatisticFieldName : [i].flat()[0]);
|
|
9534
9539
|
const { outStatistics: c } = e;
|
|
@@ -9537,7 +9542,7 @@ function Bu(t) {
|
|
|
9537
9542
|
f !== void 0 && qi(f) && (s && !dt(l, a) ? (c[d].statisticType = O.Count, delete c[d].statisticParameters) : c[d] = {
|
|
9538
9543
|
...c[d],
|
|
9539
9544
|
statisticParameters: c[d].statisticParameters ?? {
|
|
9540
|
-
value:
|
|
9545
|
+
value: _.defaultStatParameterValue
|
|
9541
9546
|
}
|
|
9542
9547
|
});
|
|
9543
9548
|
}
|
|
@@ -9652,8 +9657,8 @@ function Vi(t) {
|
|
|
9652
9657
|
if (f !== void 0) {
|
|
9653
9658
|
v = ke(f);
|
|
9654
9659
|
const E = re(f.where);
|
|
9655
|
-
let
|
|
9656
|
-
switch (i.fetchNullValues !== !0 && (m !== B.boxPlot.boxPlotCategory && (
|
|
9660
|
+
let z = "";
|
|
9661
|
+
switch (i.fetchNullValues !== !0 && (m !== B.boxPlot.boxPlotCategory && (z = `${m} IS NOT NULL`), E.trim() !== "" && E !== m && !De(f.where) && (z = J([z, `${E} IS NOT NULL`]))), c) {
|
|
9657
9662
|
case F.BarAndLineSplitBy: {
|
|
9658
9663
|
y = xu(u), C = !0, S = !0, b = !0;
|
|
9659
9664
|
break;
|
|
@@ -9663,7 +9668,7 @@ function Vi(t) {
|
|
|
9663
9668
|
break;
|
|
9664
9669
|
case F.PieFromFields:
|
|
9665
9670
|
case F.BarAndLineFromFields:
|
|
9666
|
-
|
|
9671
|
+
z = "", T = !0, b = !0;
|
|
9667
9672
|
break;
|
|
9668
9673
|
case F.BarAndLineMonoField:
|
|
9669
9674
|
case F.PieFromCategory:
|
|
@@ -9694,11 +9699,11 @@ function Vi(t) {
|
|
|
9694
9699
|
isTimeBinningSeries: p,
|
|
9695
9700
|
returnFeaturesExtent: o,
|
|
9696
9701
|
splitByField: E
|
|
9697
|
-
}), C && Cu({ uniqueQuery: v, splitByField: E, x: m }), me(e) && x && (v.outStatistics = vu({ chartConfig: e, fetchFullBoxPlotData: s })), T ? delete v.orderByFields : i.orderByFields !== void 0 && (v.orderByFields = i.orderByFields.filter((
|
|
9698
|
-
const q =
|
|
9702
|
+
}), C && Cu({ uniqueQuery: v, splitByField: E, x: m }), me(e) && x && (v.outStatistics = vu({ chartConfig: e, fetchFullBoxPlotData: s })), T ? delete v.orderByFields : i.orderByFields !== void 0 && (v.orderByFields = i.orderByFields.filter((Q) => {
|
|
9703
|
+
const q = Q.split(" ");
|
|
9699
9704
|
return !ie(q[0]);
|
|
9700
9705
|
})), p && Be(u[0])) {
|
|
9701
|
-
const
|
|
9706
|
+
const Q = j(r), { idFields: q } = ri(Q);
|
|
9702
9707
|
Te(r).find((K) => K.name === m)?.type !== Z.DateOnly && q && Au({
|
|
9703
9708
|
uniqueQuery: v,
|
|
9704
9709
|
x: m,
|
|
@@ -9709,11 +9714,11 @@ function Vi(t) {
|
|
|
9709
9714
|
runsOnClientQueryEngine: $e(r)
|
|
9710
9715
|
});
|
|
9711
9716
|
}
|
|
9712
|
-
v.where =
|
|
9717
|
+
v.where = z;
|
|
9713
9718
|
}
|
|
9714
9719
|
Wa({ chartConfig: e, uniqueQuery: v, chartLimits: l });
|
|
9715
|
-
const { gdbVersion: A, geometry: N, distance: L, units:
|
|
9716
|
-
return A !== void 0 && (v.gdbVersion = A), N !== void 0 && (v.geometry = N), L !== void 0 && (v.distance = L),
|
|
9720
|
+
const { gdbVersion: A, geometry: N, distance: L, units: M, timeExtent: w, where: D, objectIds: I, spatialRelationship: P } = i;
|
|
9721
|
+
return A !== void 0 && (v.gdbVersion = A), N !== void 0 && (v.geometry = N), L !== void 0 && (v.distance = L), M !== void 0 && (v.units = M), w !== void 0 && (v.timeExtent = w), I !== void 0 && (v.objectIds = I), P !== void 0 && (v.spatialRelationship = P), D !== void 0 && (v.where = J([v.where, D])), { uniqueQuery: v, mapToStatField: y };
|
|
9717
9722
|
}
|
|
9718
9723
|
const rt = {
|
|
9719
9724
|
LegendItemVisibilityChange: "arcgisChartsJSLegendItemVisibilityChange",
|
|
@@ -10044,7 +10049,7 @@ function ja(t) {
|
|
|
10044
10049
|
const m = f.query;
|
|
10045
10050
|
return m?.outStatistics?.forEach((g) => {
|
|
10046
10051
|
qi(g) && !("statisticParameters" in g) && (g.statisticParameters = {
|
|
10047
|
-
value:
|
|
10052
|
+
value: _.defaultStatParameterValue
|
|
10048
10053
|
});
|
|
10049
10054
|
}), m;
|
|
10050
10055
|
}, u = ["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"], c = $i(a.map(l), u), d = $i(n.map(l), u);
|
|
@@ -10369,10 +10374,10 @@ function ki(t) {
|
|
|
10369
10374
|
let e;
|
|
10370
10375
|
const i = t?.orderOptions?.data;
|
|
10371
10376
|
return t.series?.length > 0 && i?.orderType === Ve.MultiAxes && (e = [], e.push({
|
|
10372
|
-
sortingField:
|
|
10377
|
+
sortingField: H.xField,
|
|
10373
10378
|
orderBy: i.orderByX ?? oe.Ascending
|
|
10374
10379
|
}), e.push({
|
|
10375
|
-
sortingField: i.orderByY !== void 0 ?
|
|
10380
|
+
sortingField: i.orderByY !== void 0 ? H.yField : "",
|
|
10376
10381
|
orderBy: i.orderByY
|
|
10377
10382
|
})), e;
|
|
10378
10383
|
}
|
|
@@ -10380,7 +10385,7 @@ function Qu(t) {
|
|
|
10380
10385
|
const { chartConfig: e, field: i } = t;
|
|
10381
10386
|
let r;
|
|
10382
10387
|
const a = ki(e);
|
|
10383
|
-
return a?.length === 2 && (r = i ===
|
|
10388
|
+
return a?.length === 2 && (r = i === H.xField ? a[0]?.orderBy : a[1]?.orderBy), r;
|
|
10384
10389
|
}
|
|
10385
10390
|
function rn(t) {
|
|
10386
10391
|
const e = G(t.series);
|
|
@@ -10634,7 +10639,7 @@ export {
|
|
|
10634
10639
|
Kf as bE,
|
|
10635
10640
|
tm as bF,
|
|
10636
10641
|
la as bG,
|
|
10637
|
-
|
|
10642
|
+
W as bH,
|
|
10638
10643
|
Qf as bI,
|
|
10639
10644
|
_a as bJ,
|
|
10640
10645
|
Oc as bK,
|