@arcgis/charts-components 5.2.0-next.93 → 5.2.0-next.94
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/{BZIGQJAH.js → 3DFJNY6A.js} +1 -1
- package/dist/cdn/{ULF3LG3W.js → 3PDCMLV2.js} +1 -1
- package/dist/cdn/{73DFT5MR.js → 4CXLM72I.js} +1 -1
- package/dist/cdn/4GHPGD5V.js +3 -0
- package/dist/cdn/{OQQIDPDH.js → 4JEK27XV.js} +1 -1
- package/dist/cdn/{EFXNPF4V.js → 4KFOFEIN.js} +1 -1
- package/dist/cdn/{YX7WAUQZ.js → 4MP4Q5I4.js} +1 -1
- package/dist/cdn/{SQHEWY2J.js → 4SM6EV6P.js} +1 -1
- package/dist/cdn/{COSE26XR.js → 52GO2JZC.js} +1 -1
- package/dist/cdn/{2B4DKL3R.js → 5DCUB4FX.js} +1 -1
- package/dist/cdn/{ELNZ7PTF.js → 5IQPL6AC.js} +1 -1
- package/dist/cdn/{GUMN6KPP.js → 5LBF4SSV.js} +1 -1
- package/dist/cdn/{QVLDIB2N.js → 6AFE4M3T.js} +1 -1
- package/dist/cdn/{F66W272X.js → 6SUEHUL6.js} +1 -1
- package/dist/cdn/{YQL5A2WS.js → 7HWZXF5A.js} +1 -1
- package/dist/cdn/{CKRZTUGB.js → AELTVK5N.js} +1 -1
- package/dist/cdn/{BZEYWH2F.js → AHAIJDB2.js} +1 -1
- package/dist/cdn/{KAUOH4F3.js → AXWUOABD.js} +1 -1
- package/dist/cdn/{GK6IJBRW.js → BCNKEOFL.js} +1 -1
- package/dist/cdn/{QIBUTVUN.js → BGXZ42ED.js} +1 -1
- package/dist/cdn/{4JMHK7HK.js → BYT7C7VI.js} +1 -1
- package/dist/cdn/{SBZKGQBV.js → CXZ7MZPY.js} +1 -1
- package/dist/cdn/{XYJJ2PIL.js → CZ62W7UB.js} +1 -1
- package/dist/cdn/{4O4L6CM3.js → DQ6LRD4W.js} +1 -1
- package/dist/cdn/{KYCNUCTQ.js → EL5EBXW6.js} +1 -1
- package/dist/cdn/{DLCJMSYG.js → EU2EVPUK.js} +1 -1
- package/dist/cdn/{KZ4SCRQT.js → F65D4RJJ.js} +1 -1
- package/dist/cdn/{VCBFPEET.js → FBRQK463.js} +1 -1
- package/dist/cdn/{LZ3ZRY2F.js → FLR2AT35.js} +1 -1
- package/dist/cdn/{MTFWTSTG.js → FSRPLIND.js} +1 -1
- package/dist/cdn/{LU7UO6PR.js → FZOFULPS.js} +1 -1
- package/dist/cdn/{65HVRSR6.js → GVQLHXCG.js} +1 -1
- package/dist/cdn/{D7LBGWWL.js → HAY6LZTC.js} +1 -1
- package/dist/cdn/{LJJPOUVA.js → HS3QXLZC.js} +1 -1
- package/dist/cdn/{KHWZ54IX.js → IC6GECR5.js} +1 -1
- package/dist/cdn/{3HG6OEAW.js → IGITXVJI.js} +1 -1
- package/dist/cdn/{MF2ZBHWI.js → IL2RER5V.js} +1 -1
- package/dist/cdn/{KVWM73YN.js → IPKMUURX.js} +1 -1
- package/dist/cdn/{VBDLVCPP.js → JMQEKJA5.js} +1 -1
- package/dist/cdn/{6K6Z6CQE.js → K3LGNMJB.js} +1 -1
- package/dist/cdn/{N4XXKTCN.js → KCCLZZS7.js} +1 -1
- package/dist/cdn/{ZFHU5I2O.js → KDGXJ3LJ.js} +1 -1
- package/dist/cdn/{NGGJIQHT.js → KE3BTQXC.js} +1 -1
- package/dist/cdn/{3K7H52Y5.js → KIQONRCW.js} +1 -1
- package/dist/cdn/{HZEGDF6W.js → KMP2NYK6.js} +1 -1
- package/dist/cdn/{HIVJRWLF.js → LEZM24PU.js} +1 -1
- package/dist/cdn/{62EUOXR7.js → LZNXWS4O.js} +19 -19
- package/dist/cdn/{YOUTTWJN.js → M46SIJYN.js} +1 -1
- package/dist/cdn/{XW5I2M45.js → MTQFQWYG.js} +1 -1
- package/dist/cdn/{IIV6X3KV.js → MXGHQBEG.js} +1 -1
- package/dist/cdn/{SMTDJE55.js → NPI4IPBC.js} +1 -1
- package/dist/cdn/{SJBJ2N5C.js → NYVOHYRH.js} +2 -2
- package/dist/cdn/{GVJF3VFV.js → ODYN5EMU.js} +1 -1
- package/dist/cdn/{GUWBPR2H.js → ONQJB7XI.js} +1 -1
- package/dist/cdn/{RAJO727X.js → P6LFMAZJ.js} +1 -1
- package/dist/cdn/{QBBUOEKF.js → PEOJOFFP.js} +1 -1
- package/dist/cdn/QDYO64C6.js +2 -0
- package/dist/cdn/{LKC6J4IQ.js → QFNDC2XR.js} +1 -1
- package/dist/cdn/{NYR4K242.js → QODVHTRA.js} +1 -1
- package/dist/cdn/{L6IM34J7.js → QUYRCQOV.js} +1 -1
- package/dist/cdn/{KPEBWOLJ.js → R3RLEISD.js} +1 -1
- package/dist/cdn/{5YBMIR4F.js → R7UWW3TZ.js} +1 -1
- package/dist/cdn/{44ICH2UX.js → RAZ5P564.js} +1 -1
- package/dist/cdn/{7HANUCEA.js → RFLBJ5F6.js} +1 -1
- package/dist/cdn/{54LUEUIT.js → RNSUQVAD.js} +1 -1
- package/dist/cdn/{ZO4GRLG6.js → SHTMAA3U.js} +1 -1
- package/dist/cdn/{JSPNXGH3.js → SJXTS4TF.js} +1 -1
- package/dist/cdn/{WTABMFFY.js → SYWTGNM2.js} +1 -1
- package/dist/cdn/{OPMACXLA.js → TF6SC2R3.js} +1 -1
- package/dist/cdn/{JXAPOWHG.js → TK44WD5Z.js} +1 -1
- package/dist/cdn/{RCAJJ24P.js → TVQFQTJN.js} +1 -1
- package/dist/cdn/{DOE5S7EP.js → UBTJOXKH.js} +1 -1
- package/dist/cdn/{4QQRIMTI.js → VGZCEHUH.js} +1 -1
- package/dist/cdn/{WPLJ5BXE.js → WGON3TB6.js} +1 -1
- package/dist/cdn/{KHC2DMSU.js → WXPIZP63.js} +1 -1
- package/dist/cdn/{LCJVASMQ.js → XSDCK3IH.js} +1 -1
- package/dist/cdn/{D5O2M65G.js → XYFPPUVQ.js} +1 -1
- package/dist/cdn/{H4R2P2BO.js → YBVVLNAT.js} +1 -1
- package/dist/cdn/{4A42J7HF.js → YWLBGSMG.js} +1 -1
- package/dist/cdn/{CPDE3ZSY.js → ZNR5734Q.js} +1 -1
- package/dist/cdn/{OCT2KA4Q.js → ZZNMJQYT.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 +819 -871
- package/dist/chunks/index4.js +3 -3
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +1792 -1803
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +23 -23
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/spec/chart-object-literals.d.ts +3 -3
- package/package.json +4 -4
- package/dist/cdn/CDWFPVYG.js +0 -2
- package/dist/cdn/IHDWXIBS.js +0 -3
package/dist/chunks/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { cloneDeep as Re, isEqual as at, isArray as pi, isNil as Da, isEmpty as Oa, memoize as Qe, sortBy as Di } from "lodash-es";
|
|
3
3
|
import { C, i as ae, a as S, v as Jt, g as or, f as hi, w as ri, x as Pe, y as Ht, z as lr, b as ai, t as Ea, r as qa, B as Ra, e as Oi, n as ur } from "./index2.js";
|
|
4
4
|
import { a as ni, b as xe, d as j, e as Ke, c as ce } from "./rest-js-object-literals.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as h, f as Va, e as _, d as D, b as te, l as he, s as K, G as cr, g as ye, c as Ae, t as Ee, h as Se, S as dr, o as et } from "./chart-object-literals.js";
|
|
6
6
|
import $a from "@arcgis/core/Graphic.js";
|
|
7
7
|
import * as fr from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
8
|
import * as Kt from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -40,6 +40,35 @@ import mn from "@arcgis/core/AttributeBinsGraphic.js";
|
|
|
40
40
|
import { substitute as be } from "@arcgis/core/intl.js";
|
|
41
41
|
import { unsafeGetElementDirection as gn } from "@arcgis/toolkit/dom";
|
|
42
42
|
import { sqlLiteral as yn } from "@arcgis/core/core/sql.js";
|
|
43
|
+
function Dt(t) {
|
|
44
|
+
return t?.type === h.NumberAxisFormat;
|
|
45
|
+
}
|
|
46
|
+
function Dc(t) {
|
|
47
|
+
return Dt(t) && t.intlOptions?.style === "percent";
|
|
48
|
+
}
|
|
49
|
+
function Be(t) {
|
|
50
|
+
return t.axes?.[0]?.valueFormat?.type;
|
|
51
|
+
}
|
|
52
|
+
function Oc(t) {
|
|
53
|
+
return t.intlOptions;
|
|
54
|
+
}
|
|
55
|
+
function Ot(t) {
|
|
56
|
+
return t?.type === h.CategoryAxisFormat;
|
|
57
|
+
}
|
|
58
|
+
function Cr(t) {
|
|
59
|
+
return t?.type === h.DateAxisFormat;
|
|
60
|
+
}
|
|
61
|
+
function Ec(t) {
|
|
62
|
+
const { oldConfig: e, newConfig: i, rotationChanged: r } = t;
|
|
63
|
+
return r ? [!0, !0] : [
|
|
64
|
+
e.horizontalAxisLabelsBehavior !== i.horizontalAxisLabelsBehavior,
|
|
65
|
+
e.verticalAxisLabelsBehavior !== i.verticalAxisLabelsBehavior
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
function pn(t) {
|
|
69
|
+
const { isXAxis: e, chartType: i, valueFormat: r, isAxisForHistogramOverlaySeries: a } = t;
|
|
70
|
+
return i === h.HeatSeries || e && (Ot(r) || i === h.HistogramSeries && !a || i === h.BarSeries && Dt(r));
|
|
71
|
+
}
|
|
43
72
|
const St = {
|
|
44
73
|
...C,
|
|
45
74
|
titleAndSubtitlePaddingBottom: 5,
|
|
@@ -130,37 +159,7 @@ const St = {
|
|
|
130
159
|
},
|
|
131
160
|
focusableThreshold: 500,
|
|
132
161
|
lineJoin: "round"
|
|
133
|
-
}
|
|
134
|
-
function Dt(t) {
|
|
135
|
-
return t?.type === h.NumberAxisFormat;
|
|
136
|
-
}
|
|
137
|
-
function Oc(t) {
|
|
138
|
-
return Dt(t) && t.intlOptions?.style === "percent";
|
|
139
|
-
}
|
|
140
|
-
function Be(t) {
|
|
141
|
-
return t.axes?.[0]?.valueFormat?.type;
|
|
142
|
-
}
|
|
143
|
-
function Ec(t) {
|
|
144
|
-
return t.intlOptions;
|
|
145
|
-
}
|
|
146
|
-
function Ot(t) {
|
|
147
|
-
return t?.type === h.CategoryAxisFormat;
|
|
148
|
-
}
|
|
149
|
-
function Cr(t) {
|
|
150
|
-
return t?.type === h.DateAxisFormat;
|
|
151
|
-
}
|
|
152
|
-
function qc(t) {
|
|
153
|
-
const { oldConfig: e, newConfig: i, rotationChanged: r } = t;
|
|
154
|
-
return r ? [!0, !0] : [
|
|
155
|
-
e.horizontalAxisLabelsBehavior !== i.horizontalAxisLabelsBehavior,
|
|
156
|
-
e.verticalAxisLabelsBehavior !== i.verticalAxisLabelsBehavior
|
|
157
|
-
];
|
|
158
|
-
}
|
|
159
|
-
function pn(t) {
|
|
160
|
-
const { isXAxis: e, chartType: i, valueFormat: r, isAxisForHistogramOverlaySeries: a } = t;
|
|
161
|
-
return i === h.HeatSeries || e && (Ot(r) || i === h.HistogramSeries && !a || i === h.BarSeries && Dt(r));
|
|
162
|
-
}
|
|
163
|
-
const q = {
|
|
162
|
+
}, q = {
|
|
164
163
|
Min: "min",
|
|
165
164
|
FirstQuartile: "first_quartile",
|
|
166
165
|
Median: "median",
|
|
@@ -233,16 +232,16 @@ function Sn(t) {
|
|
|
233
232
|
}
|
|
234
233
|
return f;
|
|
235
234
|
}
|
|
236
|
-
function
|
|
235
|
+
function qc(t) {
|
|
237
236
|
return t !== void 0 && (!("url" in t) || !t.url);
|
|
238
237
|
}
|
|
239
238
|
function Ve(t) {
|
|
240
239
|
return t !== void 0 && "view" in t && "layer" in t && t.layer.type === "feature";
|
|
241
240
|
}
|
|
242
|
-
function
|
|
241
|
+
function Rc(t) {
|
|
243
242
|
return t !== void 0 && "view" in t && "layer" in t && t.layer.type === "scene";
|
|
244
243
|
}
|
|
245
|
-
function
|
|
244
|
+
function Vc(t) {
|
|
246
245
|
return t !== void 0 && "view" in t && "layer" in t && t.layer.type === "point-cloud";
|
|
247
246
|
}
|
|
248
247
|
function Fn(t) {
|
|
@@ -251,10 +250,10 @@ function Fn(t) {
|
|
|
251
250
|
function bn(t) {
|
|
252
251
|
return t !== void 0 && !ie(t) && "fields" in t && "capabilities" in t && "queryFeatures" in t && typeof t.queryFeatures == "function" && "queryFeatureCount" in t && typeof t.queryFeatureCount == "function" && "queryAttributeBins" in t && typeof t.queryAttributeBins == "function";
|
|
253
252
|
}
|
|
254
|
-
function
|
|
253
|
+
function $c(t) {
|
|
255
254
|
return t !== void 0 && !ie(t) && "fields" in t && "objectIdField" in t && typeof t.objectIdField == "string" && "createQuery" in t && typeof t.createQuery == "function" && "queryFeatures" in t && typeof t.queryFeatures == "function";
|
|
256
255
|
}
|
|
257
|
-
function
|
|
256
|
+
function kc(t) {
|
|
258
257
|
return t !== void 0 && "type" in t && t.type === "subtype-group";
|
|
259
258
|
}
|
|
260
259
|
function vr(t) {
|
|
@@ -272,7 +271,7 @@ function Tr(t) {
|
|
|
272
271
|
function Cn(t) {
|
|
273
272
|
return t?.capabilities?.queryAttributeBins?.supportsFixedInterval === !0 && t?.capabilities?.queryAttributeBins?.supportsStackBy;
|
|
274
273
|
}
|
|
275
|
-
function
|
|
274
|
+
function Qc(t) {
|
|
276
275
|
const { chartConfig: e, queryObject: i, options: r } = t, a = Q(e?.series), n = ne(e?.series[0]?.query?.where);
|
|
277
276
|
return !(a === h.HeatSeries || e && De({
|
|
278
277
|
xAxisValueFormatType: Be(e),
|
|
@@ -284,7 +283,7 @@ function _c(t) {
|
|
|
284
283
|
function st(t, e) {
|
|
285
284
|
return e !== void 0 && (Ve(e) || !ie(e) && "capabilities" in e && e.capabilities?.queryAttributeBins?.supportsDate === !0 && (ae(t) || e.capabilities?.queryAttributeBins?.supportsStackBy));
|
|
286
285
|
}
|
|
287
|
-
function
|
|
286
|
+
function _c(t) {
|
|
288
287
|
return pe(
|
|
289
288
|
W(t)
|
|
290
289
|
)?.sourceJSON?.advancedQueryCapabilities.supportedOperationsWithCacheHint.includes("queryBins");
|
|
@@ -300,7 +299,7 @@ function Bn(t) {
|
|
|
300
299
|
}
|
|
301
300
|
return e;
|
|
302
301
|
}
|
|
303
|
-
function
|
|
302
|
+
function Hc(t) {
|
|
304
303
|
let e;
|
|
305
304
|
return Ve(t) ? e = t.layer : e = t, e;
|
|
306
305
|
}
|
|
@@ -313,7 +312,7 @@ function vn(t) {
|
|
|
313
312
|
const i = pe(t)?.sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics ?? [], r = t?.capabilities?.query.supportedSpatialAggregationStatistics ?? {};
|
|
314
313
|
return e = i.includes("EnvelopeAggregate") || "envelope" in r && r.envelope === !0, e;
|
|
315
314
|
}
|
|
316
|
-
function
|
|
315
|
+
function zc(t) {
|
|
317
316
|
const { chartConfig: e, queryObject: i } = t;
|
|
318
317
|
let r;
|
|
319
318
|
if (i) {
|
|
@@ -363,8 +362,8 @@ async function Nn(t) {
|
|
|
363
362
|
if (y) {
|
|
364
363
|
const F = { where: Y([l, y.definitionExpression]) }, b = { query: F, signal: o }, N = dt(c)?.extent?.toJSON();
|
|
365
364
|
if (N !== void 0) {
|
|
366
|
-
const x = Tn(d), { xmin: v, ymin: T, xmax: A, ymax:
|
|
367
|
-
F.geometryType = "esriGeometryEnvelope", F.geometry = `${v},${T},${A},${
|
|
365
|
+
const x = Tn(d), { xmin: v, ymin: T, xmax: A, ymax: P } = N;
|
|
366
|
+
F.geometryType = "esriGeometryEnvelope", F.geometry = `${v},${T},${A},${P}`, u !== void 0 && (F.distance = u.toString()), x !== void 0 && (F.units = x, c?.spatialReference?.wkid != null && (F.inSR = c.spatialReference.wkid.toString()));
|
|
368
367
|
}
|
|
369
368
|
f && (F.time = `${f[0]},${f[1]}`);
|
|
370
369
|
const B = `${y.url}/${y.layerId}/queryAnalytic?f=${r}&dataFormat=${a}&outAnalytics=${n}`;
|
|
@@ -759,7 +758,7 @@ function Rn(t) {
|
|
|
759
758
|
}
|
|
760
759
|
return a;
|
|
761
760
|
}
|
|
762
|
-
function
|
|
761
|
+
function Uc(t) {
|
|
763
762
|
let e;
|
|
764
763
|
return t !== void 0 && (e = new Fr({
|
|
765
764
|
start: new Date(t[0]),
|
|
@@ -787,8 +786,8 @@ function Gt(t) {
|
|
|
787
786
|
let b = pe(p)?.createQuery() ?? new Vi(), N;
|
|
788
787
|
const B = Xt(p).idFields;
|
|
789
788
|
if (e === "AttributeBinsQuery" && r?.objectIds?.[0] !== void 0 && B && (N = `${B} IN (${r.objectIds.join(",")})`), e === "AttributeBinsQuery" && (b = new Ja(b.toJSON()), ve(i).find((A) => A.name === s)?.type !== j.DateOnly)) {
|
|
790
|
-
const A = Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
791
|
-
let I = n ??
|
|
789
|
+
const A = Intl.DateTimeFormat().resolvedOptions().timeZone, P = o && a && "timeZone" in a ? a.timeZone : void 0;
|
|
790
|
+
let I = n ?? P ?? A;
|
|
792
791
|
I === "unknown" ? I = "Etc/UTC" : I === "system" && (I = A), b.outTimeZone = I;
|
|
793
792
|
}
|
|
794
793
|
if (b.where = Y([b.where, c, N]), "returnDistinctValues" in b && (b.returnDistinctValues = y ?? !1), u !== void 0) {
|
|
@@ -1022,12 +1021,12 @@ function bi(t) {
|
|
|
1022
1021
|
function Hn(t) {
|
|
1023
1022
|
return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? k.maxRecordCountFactor : void 0;
|
|
1024
1023
|
}
|
|
1025
|
-
const
|
|
1024
|
+
const Gc = {
|
|
1026
1025
|
sanitizeOutFields: Pr
|
|
1027
|
-
},
|
|
1026
|
+
}, Wc = {
|
|
1028
1027
|
NonNumericAggregation: "nonNumericAggregation",
|
|
1029
1028
|
DuplicateSeriesID: "duplicateSeriesId"
|
|
1030
|
-
},
|
|
1029
|
+
}, jc = {
|
|
1031
1030
|
Required: "required",
|
|
1032
1031
|
MinLength: "minLength",
|
|
1033
1032
|
MinItems: "minItems",
|
|
@@ -1092,17 +1091,17 @@ async function Gn(t) {
|
|
|
1092
1091
|
N = n.resolution, B = n.resolution, x = n.spatialReference;
|
|
1093
1092
|
else {
|
|
1094
1093
|
const T = zn, A = 2;
|
|
1095
|
-
let
|
|
1094
|
+
let P = g.width, I = g.height;
|
|
1096
1095
|
if (!a && !y && nt(m) && kt(m))
|
|
1097
1096
|
try {
|
|
1098
1097
|
const L = m.createQuery(), { extent: O } = await m.queryExtent(L, { signal: l });
|
|
1099
|
-
O && (
|
|
1098
|
+
O && (P = O.width, I = O.height, y = O);
|
|
1100
1099
|
} catch {
|
|
1101
1100
|
}
|
|
1102
|
-
const
|
|
1101
|
+
const w = Math.max(
|
|
1103
1102
|
0,
|
|
1104
|
-
Math.ceil(Math.log(Math.max(
|
|
1105
|
-
), M = A **
|
|
1103
|
+
Math.ceil(Math.log(Math.max(P, I) / T) / Math.log(A))
|
|
1104
|
+
), M = A ** w;
|
|
1106
1105
|
N = g.pixelSize.x * M, B = g.pixelSize.y * M, x = m.spatialReference;
|
|
1107
1106
|
}
|
|
1108
1107
|
const v = new hr({
|
|
@@ -1264,7 +1263,7 @@ function Jn(t, e) {
|
|
|
1264
1263
|
}
|
|
1265
1264
|
return i;
|
|
1266
1265
|
}
|
|
1267
|
-
function
|
|
1266
|
+
function Xc(t, e, i = 1) {
|
|
1268
1267
|
const r = Math.max(0, Math.ceil((e - t) / i)), a = new Array(r);
|
|
1269
1268
|
for (let n = 0; n < r; n++)
|
|
1270
1269
|
a[n] = t + n * i;
|
|
@@ -1335,9 +1334,9 @@ async function rs(t) {
|
|
|
1335
1334
|
});
|
|
1336
1335
|
if (x !== void 0) {
|
|
1337
1336
|
let v = Number.NaN, T = Number.NaN;
|
|
1338
|
-
const { expr: A } = Jt(x, F), { expr:
|
|
1339
|
-
A !== void 0 && Number.isFinite(x[A]) && (v = x[A]),
|
|
1340
|
-
const { dataContextXMinField:
|
|
1337
|
+
const { expr: A } = Jt(x, F), { expr: P } = Jt(x, b), { expr: I } = Jt(x, N);
|
|
1338
|
+
A !== void 0 && Number.isFinite(x[A]) && (v = x[A]), P !== void 0 && Number.isFinite(x[P]) && (T = x[P]), I !== void 0 && Number.isFinite(x[I]) && (u = x[I]);
|
|
1339
|
+
const { dataContextXMinField: w, dataContextXMaxField: M, dataContextYMinField: L, dataContextYMaxField: O } = C.scatterplotAggregationFields, E = e.get(w) ?? Number.NaN, z = e.get(M) ?? Number.NaN, U = e.get(L) ?? Number.NaN, R = e.get(O) ?? Number.NaN, X = (z - E) / 100;
|
|
1341
1340
|
let Z = E - X, V = Number.NaN;
|
|
1342
1341
|
for (; !(V >= U && V <= R) && Z <= z; )
|
|
1343
1342
|
Z += X, V = v * Z + T;
|
|
@@ -1375,11 +1374,11 @@ async function Ir(t) {
|
|
|
1375
1374
|
}
|
|
1376
1375
|
return (!e || c) && (l = Mr(t)), l;
|
|
1377
1376
|
}
|
|
1378
|
-
const fe = "arcgis_charts_pie_from_fields_name", Ne = "arcgis_charts_pie_from_fields_value",
|
|
1377
|
+
const fe = "arcgis_charts_pie_from_fields_name", Ne = "arcgis_charts_pie_from_fields_value", Yc = "arcgis_charts_bar_line_from_fields_name", Zc = "arcgis_charts_bar_line_from_fields_value";
|
|
1379
1378
|
function as(t) {
|
|
1380
1379
|
return t !== void 0 && t !== ni.Solid && t !== ni.Null;
|
|
1381
1380
|
}
|
|
1382
|
-
function
|
|
1381
|
+
function Jc(t, e) {
|
|
1383
1382
|
let i = "";
|
|
1384
1383
|
const n = (e ?? 0) / 2, s = 0 - n, o = 0 + n, l = 0 - n, c = 0 + n;
|
|
1385
1384
|
switch (t) {
|
|
@@ -1404,7 +1403,7 @@ function Kc(t, e) {
|
|
|
1404
1403
|
}
|
|
1405
1404
|
return i;
|
|
1406
1405
|
}
|
|
1407
|
-
function
|
|
1406
|
+
function Kc(t, e = 0) {
|
|
1408
1407
|
return (t ?? e) % 360;
|
|
1409
1408
|
}
|
|
1410
1409
|
function Dr(t) {
|
|
@@ -1412,7 +1411,7 @@ function Dr(t) {
|
|
|
1412
1411
|
let a = e;
|
|
1413
1412
|
return typeof i == "number" && Number.isFinite(i) && i > 0 && i < e.length && (a = e.slice(0, i), a = `${a}${r}`), a;
|
|
1414
1413
|
}
|
|
1415
|
-
function
|
|
1414
|
+
function ed(t) {
|
|
1416
1415
|
const { input: e, charsPerLine: i } = t;
|
|
1417
1416
|
let r = e;
|
|
1418
1417
|
if (i > 0 && e.length > i) {
|
|
@@ -1426,10 +1425,10 @@ ${d}`;
|
|
|
1426
1425
|
}
|
|
1427
1426
|
return r;
|
|
1428
1427
|
}
|
|
1429
|
-
function
|
|
1428
|
+
function td(t, e = ":") {
|
|
1430
1429
|
return t ? `${e}` : `${e}`;
|
|
1431
1430
|
}
|
|
1432
|
-
function
|
|
1431
|
+
function id(t) {
|
|
1433
1432
|
return (i) => {
|
|
1434
1433
|
let r = typeof i != "string" ? i?.toString() ?? "" : i;
|
|
1435
1434
|
return !ae(r) && r !== C.htmlEmptyContent && (r = Dr({
|
|
@@ -1438,7 +1437,7 @@ function rd(t) {
|
|
|
1438
1437
|
})), r;
|
|
1439
1438
|
};
|
|
1440
1439
|
}
|
|
1441
|
-
function
|
|
1440
|
+
function rd(t) {
|
|
1442
1441
|
const e = /[[]/gu, i = /[\]]/gu, r = /[{]/gu, a = /[}]/gu, n = /[']/gu;
|
|
1443
1442
|
return t = t.replace(e, "[["), t = t.replace(i, "]]"), t = t.replace(r, "{{"), t = t.replace(a, "}}"), t = t.replace(n, "''"), t;
|
|
1444
1443
|
}
|
|
@@ -1451,7 +1450,7 @@ function Ge(t) {
|
|
|
1451
1450
|
function de(t) {
|
|
1452
1451
|
return Q(t?.series) === h.BoxPlotSeries;
|
|
1453
1452
|
}
|
|
1454
|
-
function
|
|
1453
|
+
function ad(t) {
|
|
1455
1454
|
return t !== void 0 && Q(t.series) === h.GaugeSeries;
|
|
1456
1455
|
}
|
|
1457
1456
|
function Wt(t) {
|
|
@@ -1463,7 +1462,7 @@ function ss(t, e) {
|
|
|
1463
1462
|
function os(t, e) {
|
|
1464
1463
|
return t[0].binCount !== e[0].binCount;
|
|
1465
1464
|
}
|
|
1466
|
-
function
|
|
1465
|
+
function nd(t, e) {
|
|
1467
1466
|
let i = !0;
|
|
1468
1467
|
const r = Q(t?.series), a = Q(e?.series);
|
|
1469
1468
|
return r && r !== a && (i = r === h.ComboLineAndBarSeries && (a === h.BarSeries || a === h.LineSeries) || a === h.ComboLineAndBarSeries && (r === h.BarSeries || r === h.LineSeries) || r === h.BarSeries && a === h.LineSeries || r === h.LineSeries && a === h.BarSeries), i;
|
|
@@ -1471,14 +1470,14 @@ function sd(t, e) {
|
|
|
1471
1470
|
function oi(t, e) {
|
|
1472
1471
|
return t !== void 0 && e !== void 0 && e > 0;
|
|
1473
1472
|
}
|
|
1474
|
-
function
|
|
1473
|
+
function sd(t) {
|
|
1475
1474
|
const { chartConfig: e, queryObject: i, chartData: r } = t;
|
|
1476
1475
|
let a = [];
|
|
1477
1476
|
const n = H(e.series), s = or(e), o = W(i), l = e.chartRenderer ?? o?.renderer?.toJSON();
|
|
1478
1477
|
return a = e.series.map((c, u) => {
|
|
1479
1478
|
const d = Q([c]);
|
|
1480
1479
|
let f;
|
|
1481
|
-
return (d === h.BarSeries || d === h.LineSeries || d === h.RadarSeries) && (c.type === h.BarSeries ? f = c.fillSymbol?.color : (c.type === h.RadarSeries || c.type === h.LineSeries) && (f = c.lineSymbol?.color), s ? f =
|
|
1480
|
+
return (d === h.BarSeries || d === h.LineSeries || d === h.RadarSeries) && (c.type === h.BarSeries ? f = c.fillSymbol?.color : (c.type === h.RadarSeries || c.type === h.LineSeries) && (f = c.lineSymbol?.color), s ? f = zl({
|
|
1482
1481
|
dataItem: r[0],
|
|
1483
1482
|
seriesConfig: c,
|
|
1484
1483
|
chartSubType: n,
|
|
@@ -1503,20 +1502,20 @@ function us(t) {
|
|
|
1503
1502
|
function Or(t) {
|
|
1504
1503
|
return t?.series?.[0] && "temporalBinning" in t?.series?.[0] ? t?.series[0].temporalBinning?.timeAggregationType : void 0;
|
|
1505
1504
|
}
|
|
1506
|
-
function
|
|
1505
|
+
function od() {
|
|
1507
1506
|
return `{name} {${C.originalXValue}} {dateY} {valueX} {dateX} {valueY}`;
|
|
1508
1507
|
}
|
|
1509
|
-
function
|
|
1508
|
+
function ld() {
|
|
1510
1509
|
return "{category} {value} {valuePercentTotal.formatNumber('#.#')}%";
|
|
1511
1510
|
}
|
|
1512
|
-
const
|
|
1511
|
+
const ud = [
|
|
1513
1512
|
h.BarSeries,
|
|
1514
1513
|
h.BoxPlotSeries,
|
|
1515
1514
|
h.LineSeries,
|
|
1516
1515
|
h.PieSeries,
|
|
1517
1516
|
h.HistogramSeries,
|
|
1518
1517
|
h.ScatterSeries
|
|
1519
|
-
],
|
|
1518
|
+
], cd = { PNG: "png" }, it = {
|
|
1520
1519
|
ChartRenderer: 1,
|
|
1521
1520
|
LayerRenderer: 2
|
|
1522
1521
|
}, Er = [
|
|
@@ -1721,13 +1720,13 @@ async function bs(t) {
|
|
|
1721
1720
|
p.outStatisticTypes = { exclude: ["median"] };
|
|
1722
1721
|
try {
|
|
1723
1722
|
F = await Ri(p);
|
|
1724
|
-
} catch (
|
|
1725
|
-
throw new oe(le.QueryFeaturesError, o.errors.queryError,
|
|
1723
|
+
} catch (P) {
|
|
1724
|
+
throw new oe(le.QueryFeaturesError, o.errors.queryError, P);
|
|
1726
1725
|
}
|
|
1727
1726
|
p.outStatisticTypes = { include: ["median"] };
|
|
1728
1727
|
try {
|
|
1729
|
-
const
|
|
1730
|
-
|
|
1728
|
+
const P = await Ri(p);
|
|
1729
|
+
P?.median && (F.median = P.median);
|
|
1731
1730
|
} catch {
|
|
1732
1731
|
}
|
|
1733
1732
|
F = ys(F);
|
|
@@ -1737,7 +1736,7 @@ async function bs(t) {
|
|
|
1737
1736
|
...qr(u)
|
|
1738
1737
|
};
|
|
1739
1738
|
else {
|
|
1740
|
-
const
|
|
1739
|
+
const P = hs({
|
|
1741
1740
|
seriesConfig: c,
|
|
1742
1741
|
layer: f,
|
|
1743
1742
|
view: s,
|
|
@@ -1751,11 +1750,11 @@ async function bs(t) {
|
|
|
1751
1750
|
});
|
|
1752
1751
|
let I;
|
|
1753
1752
|
try {
|
|
1754
|
-
I = await ja(
|
|
1753
|
+
I = await ja(P);
|
|
1755
1754
|
} catch (L) {
|
|
1756
1755
|
throw new oe(le.QueryFeaturesError, o.errors.queryError, L);
|
|
1757
1756
|
}
|
|
1758
|
-
const
|
|
1757
|
+
const w = I.bins?.map((L, O) => {
|
|
1759
1758
|
const E = {
|
|
1760
1759
|
...L,
|
|
1761
1760
|
type: h.HistogramBin,
|
|
@@ -1770,7 +1769,7 @@ async function bs(t) {
|
|
|
1770
1769
|
min: x,
|
|
1771
1770
|
max: v,
|
|
1772
1771
|
median: Number(A),
|
|
1773
|
-
bins:
|
|
1772
|
+
bins: w,
|
|
1774
1773
|
count: a,
|
|
1775
1774
|
nulls: M,
|
|
1776
1775
|
sum: T ?? void 0
|
|
@@ -1885,7 +1884,7 @@ function Cs(t, e, i) {
|
|
|
1885
1884
|
return r;
|
|
1886
1885
|
}
|
|
1887
1886
|
function _i(t) {
|
|
1888
|
-
const { chartConfig: e, field: i, chartData: r } = t, a =
|
|
1887
|
+
const { chartConfig: e, field: i, chartData: r } = t, a = Xu({ chartConfig: e, field: i }), n = Array.from(
|
|
1889
1888
|
new Set(r.map((s) => i in s ? s[i] : void 0))
|
|
1890
1889
|
);
|
|
1891
1890
|
return a && n.length > 1 && n.sort((s, o) => Cs(s, o, a)), n.map((s) => ({ [i]: s }));
|
|
@@ -2083,13 +2082,13 @@ async function Ns(t) {
|
|
|
2083
2082
|
return;
|
|
2084
2083
|
}
|
|
2085
2084
|
let A = F;
|
|
2086
|
-
const
|
|
2087
|
-
|
|
2088
|
-
const I = T.statisticType,
|
|
2085
|
+
const P = v.query?.where;
|
|
2086
|
+
P && (A = F.filter((L) => Bs(L, P)));
|
|
2087
|
+
const I = T.statisticType, w = T.onStatisticField, M = T.outStatisticFieldName;
|
|
2089
2088
|
b[M] = vs({
|
|
2090
2089
|
features: A,
|
|
2091
2090
|
aggregationType: I,
|
|
2092
|
-
onField:
|
|
2091
|
+
onField: w
|
|
2093
2092
|
});
|
|
2094
2093
|
}), p.push(b);
|
|
2095
2094
|
}), l = {
|
|
@@ -2102,7 +2101,7 @@ async function Ns(t) {
|
|
|
2102
2101
|
}
|
|
2103
2102
|
return l;
|
|
2104
2103
|
}
|
|
2105
|
-
async function
|
|
2104
|
+
async function dd(t) {
|
|
2106
2105
|
const { layer: e, category: i, splitByField: r, fetchNullValues: a } = t, o = (await ft(e))?.attributeTable?.features, l = r ?? i;
|
|
2107
2106
|
return Array.from(
|
|
2108
2107
|
new Set(
|
|
@@ -2158,7 +2157,7 @@ function Ls(t) {
|
|
|
2158
2157
|
}
|
|
2159
2158
|
return a;
|
|
2160
2159
|
}
|
|
2161
|
-
function
|
|
2160
|
+
function fd(t) {
|
|
2162
2161
|
const e = [
|
|
2163
2162
|
h.BarSeries,
|
|
2164
2163
|
h.LineSeries,
|
|
@@ -2167,7 +2166,7 @@ function md(t) {
|
|
|
2167
2166
|
], i = Q(t?.series);
|
|
2168
2167
|
return i !== void 0 ? e.includes(i) : !1;
|
|
2169
2168
|
}
|
|
2170
|
-
function
|
|
2169
|
+
function md(t) {
|
|
2171
2170
|
const e = [
|
|
2172
2171
|
h.BarSeries,
|
|
2173
2172
|
h.LineSeries,
|
|
@@ -2179,25 +2178,25 @@ function gd(t) {
|
|
|
2179
2178
|
function Ps(t) {
|
|
2180
2179
|
return t?.type === xe.SFS;
|
|
2181
2180
|
}
|
|
2182
|
-
function
|
|
2181
|
+
function gd(t) {
|
|
2183
2182
|
return t?.type === xe.SLS;
|
|
2184
2183
|
}
|
|
2185
|
-
function
|
|
2184
|
+
function yd(t) {
|
|
2186
2185
|
return t?.type === xe.SMS;
|
|
2187
2186
|
}
|
|
2188
|
-
function
|
|
2187
|
+
function pd(t) {
|
|
2189
2188
|
return t?.type === xe.TS;
|
|
2190
2189
|
}
|
|
2191
|
-
function
|
|
2190
|
+
function hd(t) {
|
|
2192
2191
|
return t && "iLayer" in t && t.iLayer;
|
|
2193
2192
|
}
|
|
2194
|
-
function
|
|
2193
|
+
function Sd(t, e) {
|
|
2195
2194
|
return t !== void 0 && e !== void 0 && t.series[0]?.type === e;
|
|
2196
2195
|
}
|
|
2197
2196
|
function Ms(t) {
|
|
2198
2197
|
return t?.type === h.BoxPlotSeries;
|
|
2199
2198
|
}
|
|
2200
|
-
function
|
|
2199
|
+
function Fd(t) {
|
|
2201
2200
|
return t?.type === h.LineSeries;
|
|
2202
2201
|
}
|
|
2203
2202
|
function Is(t) {
|
|
@@ -2206,39 +2205,39 @@ function Is(t) {
|
|
|
2206
2205
|
function Ds(t) {
|
|
2207
2206
|
return t?.type === h.BarSeries;
|
|
2208
2207
|
}
|
|
2209
|
-
function
|
|
2208
|
+
function bd(t) {
|
|
2210
2209
|
return t?.type === h.HeatSeries;
|
|
2211
2210
|
}
|
|
2212
|
-
const
|
|
2213
|
-
function
|
|
2211
|
+
const xd = (t) => Q(t) === h.BarSeries, Cd = (t) => Q(t) === h.LineSeries, Bd = (t) => Q(t) === h.RadarSeries, vd = (t) => Q(t) === h.HeatSeries;
|
|
2212
|
+
function Td(t) {
|
|
2214
2213
|
return t.every((e) => e.type === h.PieSeries);
|
|
2215
2214
|
}
|
|
2216
|
-
function
|
|
2215
|
+
function Nd(t) {
|
|
2217
2216
|
return t.every(Ms);
|
|
2218
2217
|
}
|
|
2219
|
-
function
|
|
2218
|
+
function Ad(t) {
|
|
2220
2219
|
return t?.type === h.NumberAxisFormat;
|
|
2221
2220
|
}
|
|
2222
|
-
function
|
|
2221
|
+
function wd(t) {
|
|
2223
2222
|
return t === void 0 || "bins" in t;
|
|
2224
2223
|
}
|
|
2225
|
-
function
|
|
2224
|
+
function Ld(t) {
|
|
2226
2225
|
return t === void 0 || "dataItems" in t;
|
|
2227
2226
|
}
|
|
2228
|
-
function
|
|
2227
|
+
function Pd(t) {
|
|
2229
2228
|
return t === void 0 || "dataItems" in t && "r2" in t;
|
|
2230
2229
|
}
|
|
2231
|
-
function
|
|
2230
|
+
function Md(t) {
|
|
2232
2231
|
return "value" in t;
|
|
2233
2232
|
}
|
|
2234
|
-
function
|
|
2233
|
+
function Id(t) {
|
|
2235
2234
|
return Q(t.series) !== h.BoxPlotSeries ? C.xAxisField : t.series[0].x;
|
|
2236
2235
|
}
|
|
2237
|
-
function
|
|
2236
|
+
function Dd(t) {
|
|
2238
2237
|
const e = hi(t);
|
|
2239
2238
|
return e === Ae.Stacked || e === Ae.Stacked100;
|
|
2240
2239
|
}
|
|
2241
|
-
function
|
|
2240
|
+
function Od(t, e) {
|
|
2242
2241
|
const i = [], r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
|
|
2243
2242
|
return t.forEach((n, s) => a.set(n.id, s)), e.forEach((n, s) => {
|
|
2244
2243
|
let o = a.get(n.id);
|
|
@@ -2250,7 +2249,7 @@ function Ed(t, e) {
|
|
|
2250
2249
|
}
|
|
2251
2250
|
}), i;
|
|
2252
2251
|
}
|
|
2253
|
-
function
|
|
2252
|
+
function Ed(t, e) {
|
|
2254
2253
|
return t?.[0] === e?.[0] && t?.[1] === e?.[1] && t?.[2] === e?.[2] && t?.[3] === e?.[3];
|
|
2255
2254
|
}
|
|
2256
2255
|
function Os(t) {
|
|
@@ -2274,15 +2273,15 @@ const qs = [
|
|
|
2274
2273
|
"it-CH",
|
|
2275
2274
|
"it-IT"
|
|
2276
2275
|
];
|
|
2277
|
-
function
|
|
2276
|
+
function qd(t) {
|
|
2278
2277
|
const { t9nLocale: e } = ze(t ?? document.documentElement), i = kr(t ?? document.documentElement), r = gn(t ?? document.documentElement) === "rtl";
|
|
2279
2278
|
return { locale: e, formatLocale: i, rtl: r };
|
|
2280
2279
|
}
|
|
2281
|
-
function
|
|
2280
|
+
function Rd(t) {
|
|
2282
2281
|
let e;
|
|
2283
2282
|
return t === "unknown" ? e = "UTC" : t !== void 0 && t !== "system" && (e = t), e;
|
|
2284
2283
|
}
|
|
2285
|
-
function
|
|
2284
|
+
function Vd(t, e) {
|
|
2286
2285
|
const i = {
|
|
2287
2286
|
year: "numeric",
|
|
2288
2287
|
month: "2-digit",
|
|
@@ -2291,7 +2290,7 @@ function $d(t, e) {
|
|
|
2291
2290
|
};
|
|
2292
2291
|
return new Intl.DateTimeFormat("en-CA", i).format(t);
|
|
2293
2292
|
}
|
|
2294
|
-
function
|
|
2293
|
+
function $d(t, e) {
|
|
2295
2294
|
const i = {
|
|
2296
2295
|
hour: "2-digit",
|
|
2297
2296
|
minute: "2-digit",
|
|
@@ -2300,7 +2299,7 @@ function kd(t, e) {
|
|
|
2300
2299
|
};
|
|
2301
2300
|
return new Intl.DateTimeFormat("en-US", i).format(t);
|
|
2302
2301
|
}
|
|
2303
|
-
function
|
|
2302
|
+
function kd(t, e) {
|
|
2304
2303
|
const [, i, , , , r] = 1111.1.toLocaleString(e), a = t.replace(i, "").replace(r, ".");
|
|
2305
2304
|
return Number.parseFloat(a);
|
|
2306
2305
|
}
|
|
@@ -2342,7 +2341,7 @@ function Et(t) {
|
|
|
2342
2341
|
function Vs(t, e) {
|
|
2343
2342
|
t.valid = !1, t.invalidType = e;
|
|
2344
2343
|
}
|
|
2345
|
-
function
|
|
2344
|
+
function Qd(t) {
|
|
2346
2345
|
const {
|
|
2347
2346
|
invalidType: e,
|
|
2348
2347
|
chartLimits: i,
|
|
@@ -2367,11 +2366,11 @@ function _d(t) {
|
|
|
2367
2366
|
b = u.modalHeaders.tooManyFeatures;
|
|
2368
2367
|
let B = Number.NaN, x = Number.NaN, v = "";
|
|
2369
2368
|
a !== void 0 && (a <= (y.maxBarChartSeriesCount ?? y.serialChart?.series) ? a === 1 ? (v = u.errors.uniqueSeriesBarCountCannotExceedLimit, B = y.maxBarUniqueSeriesCountTotal ?? y.serialChart?.elements) : a === 2 ? (v = u.errors.twoSeriesBarCountCannotExceedLimit, B = y.maxBarTwoSeriesCountTotal ?? y.serialChart?.elements, x = y.maxBarTwoSeriesCountPerSeries) : a > 2 && (v = u.errors.threePlusSeriesBarCountCannotExceedLimit, B = y.maxBarThreePlusSeriesCountTotal ?? y.serialChart?.elements, x = y.maxBarThreePlusSeriesCountPerSeries) : (v = u.errors.barSeriesCountCannotExceedLimit, x = y.maxBarChartSeriesCount ?? y.serialChart?.series));
|
|
2370
|
-
const T = g.format(B), A = g.format(x),
|
|
2369
|
+
const T = g.format(B), A = g.format(x), P = r !== void 0 ? g.format(r) : "";
|
|
2371
2370
|
f = be(v, {
|
|
2372
2371
|
totalLimit: T,
|
|
2373
2372
|
seriesLimit: A,
|
|
2374
|
-
elementCount:
|
|
2373
|
+
elementCount: P
|
|
2375
2374
|
}), m = {
|
|
2376
2375
|
actualCount: r ?? Number.NaN,
|
|
2377
2376
|
totalLimit: B,
|
|
@@ -2384,9 +2383,9 @@ function _d(t) {
|
|
|
2384
2383
|
b = u.modalHeaders.tooManyFeatures;
|
|
2385
2384
|
let B = Number.NaN, x = Number.NaN, v = "";
|
|
2386
2385
|
a !== void 0 && (a <= (y.maxLineChartSeriesCount ?? y.serialChart?.series) ? a === 1 ? (v = l ? u.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : u.errors.uniqueSeriesLineCountCannotExceedLimit, B = y.maxLineUniqueSeriesCountTotal ?? y.serialChart.elements) : a === 2 ? (v = l ? u.errors.twoTemporalSeriesLineCountCannotExceedLimit : u.errors.twoSeriesLineCountCannotExceedLimit, B = y.maxLineTwoSeriesCountTotal ?? y.serialChart.elements, x = y.maxLineTwoSeriesCountPerSeries) : a > 2 && (v = l ? u.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : u.errors.threePlusSeriesLineCountCannotExceedLimit, B = y.maxLineThreePlusSeriesCountTotal ?? y.serialChart.elements, x = y.maxLineThreePlusSeriesCountPerSeries) : (v = u.errors.lineSeriesCountCannotExceedLimit, x = y.maxLineChartSeriesCount ?? y.serialChart?.series));
|
|
2387
|
-
const T = g.format(B), A = g.format(x),
|
|
2386
|
+
const T = g.format(B), A = g.format(x), P = r !== void 0 ? g.format(r) : "";
|
|
2388
2387
|
f = be(v, {
|
|
2389
|
-
elementCount:
|
|
2388
|
+
elementCount: P,
|
|
2390
2389
|
seriesLimit: A,
|
|
2391
2390
|
totalLimit: T
|
|
2392
2391
|
}), m = {
|
|
@@ -2401,9 +2400,9 @@ function _d(t) {
|
|
|
2401
2400
|
b = u.modalHeaders.tooManyFeatures;
|
|
2402
2401
|
let B = Number.NaN, x = Number.NaN, v = "";
|
|
2403
2402
|
a !== void 0 && (a <= (y.maxRadarChartSeriesCount ?? y.serialChart?.series) ? a === 1 ? (v = u.errors.uniqueSeriesRadarCountCannotExceedLimit, B = y.maxRadarUniqueSeriesCountTotal ?? y.serialChart.elements) : a === 2 ? (v = u.errors.twoSeriesRadarCountCannotExceedLimit, B = y.maxRadarTwoSeriesCountTotal ?? y.serialChart.elements, x = y.maxRadarTwoSeriesCountPerSeries) : a > 2 && (v = u.errors.threePlusSeriesRadarCountCannotExceedLimit, B = y.maxRadarThreePlusSeriesCountTotal ?? y.serialChart.elements, x = y.maxRadarThreePlusSeriesCountPerSeries) : (v = u.errors.radarSeriesCountCannotExceedLimit, x = y.maxRadarChartSeriesCount ?? y.serialChart?.series));
|
|
2404
|
-
const T = g.format(B), A = g.format(x),
|
|
2403
|
+
const T = g.format(B), A = g.format(x), P = r !== void 0 ? g.format(r) : "";
|
|
2405
2404
|
f = be(v, {
|
|
2406
|
-
elementCount:
|
|
2405
|
+
elementCount: P,
|
|
2407
2406
|
seriesLimit: A,
|
|
2408
2407
|
totalLimit: T
|
|
2409
2408
|
}), m = {
|
|
@@ -2418,9 +2417,9 @@ function _d(t) {
|
|
|
2418
2417
|
b = u.modalHeaders.tooManyFeatures;
|
|
2419
2418
|
let B = Number.NaN, x = Number.NaN, v = "";
|
|
2420
2419
|
a !== void 0 && (a <= (y.maxBoxPlotSeriesCount ?? y.serialChart?.series) ? a === 1 ? (v = u.errors.uniqueSeriesBoxCountCannotExceedLimit, B = y.maxBoxUniqueSeriesCountTotal ?? y.serialChart.elements) : a === 2 ? (v = u.errors.twoSeriesBoxCountCannotExceedLimit, B = y.maxBoxTwoSeriesCountTotal ?? y.serialChart.elements, x = y.maxBoxTwoSeriesCountPerSeries) : a > 2 && (v = u.errors.threePlusBoxLineCountCannotExceedLimit, B = y.maxBoxThreePlusSeriesCountTotal ?? y.serialChart.elements, x = y.maxBoxThreePlusSeriesCountPerSeries) : (v = u.errors.boxSeriesCountCannotExceedLimit, x = y.maxBoxPlotSeriesCount ?? y.serialChart.series));
|
|
2421
|
-
const T = g.format(B), A = g.format(x),
|
|
2420
|
+
const T = g.format(B), A = g.format(x), P = r !== void 0 ? g.format(r) : "";
|
|
2422
2421
|
f = be(v, {
|
|
2423
|
-
elementCount:
|
|
2422
|
+
elementCount: P,
|
|
2424
2423
|
seriesLimit: A,
|
|
2425
2424
|
totalLimit: T
|
|
2426
2425
|
}), m = {
|
|
@@ -2778,7 +2777,7 @@ async function Ws(t) {
|
|
|
2778
2777
|
if (T !== "") {
|
|
2779
2778
|
const A = [];
|
|
2780
2779
|
d !== C.boxPlot.boxPlotCategory && A.push(d), A.push(B), f !== "" && A.push(f), A.push(g);
|
|
2781
|
-
const
|
|
2780
|
+
const P = {
|
|
2782
2781
|
...r,
|
|
2783
2782
|
where: Y([r.where, T]),
|
|
2784
2783
|
groupByFieldsForStatistics: void 0,
|
|
@@ -2790,7 +2789,7 @@ async function Ws(t) {
|
|
|
2790
2789
|
p.push(
|
|
2791
2790
|
Fe({
|
|
2792
2791
|
queryObject: a,
|
|
2793
|
-
queryConfig:
|
|
2792
|
+
queryConfig: P,
|
|
2794
2793
|
featureCount: 1,
|
|
2795
2794
|
// TODO: pre-count to trigger batching
|
|
2796
2795
|
returnStatisticsAggregatedIds: !1,
|
|
@@ -2829,9 +2828,9 @@ async function Ws(t) {
|
|
|
2829
2828
|
};
|
|
2830
2829
|
break;
|
|
2831
2830
|
}
|
|
2832
|
-
const
|
|
2833
|
-
T[
|
|
2834
|
-
const
|
|
2831
|
+
const P = re(A), I = T[x];
|
|
2832
|
+
T[P] = I;
|
|
2833
|
+
const w = `${T[d]}-${T[f]}-${I}`, M = b.get(w);
|
|
2835
2834
|
if (T[k.uniqueIds] = [
|
|
2836
2835
|
...M?.[k.uniqueIds] ?? [],
|
|
2837
2836
|
T[g]
|
|
@@ -2854,7 +2853,7 @@ async function Ws(t) {
|
|
|
2854
2853
|
stdDev: E
|
|
2855
2854
|
}));
|
|
2856
2855
|
}
|
|
2857
|
-
delete T[x], T[C.boxPlot.boxPlotOutlierId] = !0, b.set(
|
|
2856
|
+
delete T[x], T[C.boxPlot.boxPlotOutlierId] = !0, b.set(w, T);
|
|
2858
2857
|
}
|
|
2859
2858
|
});
|
|
2860
2859
|
}
|
|
@@ -2883,11 +2882,11 @@ async function js(t) {
|
|
|
2883
2882
|
splitByField: F
|
|
2884
2883
|
});
|
|
2885
2884
|
for (let T = 0; T < v.length; T += 1) {
|
|
2886
|
-
const A = v[T],
|
|
2885
|
+
const A = v[T], P = {
|
|
2887
2886
|
...r,
|
|
2888
2887
|
where: Y([r.where, A])
|
|
2889
2888
|
};
|
|
2890
|
-
|
|
2889
|
+
P.outStatistics !== void 0 && (P.outStatistics = P.outStatistics?.filter(
|
|
2891
2890
|
(I) => (I.statisticType === D.Minimum || I.statisticType === D.Maximum) && I.onStatisticField === x
|
|
2892
2891
|
).map((I) => ({
|
|
2893
2892
|
...I,
|
|
@@ -2895,7 +2894,7 @@ async function js(t) {
|
|
|
2895
2894
|
}))), b.push(
|
|
2896
2895
|
jt({
|
|
2897
2896
|
queryObject: i,
|
|
2898
|
-
uniqueQuery:
|
|
2897
|
+
uniqueQuery: P,
|
|
2899
2898
|
chartConfig: n,
|
|
2900
2899
|
elementCount: a,
|
|
2901
2900
|
isTimeBinningSeries: !1,
|
|
@@ -3134,7 +3133,7 @@ function qt(t) {
|
|
|
3134
3133
|
let { sortingField: d } = c[0];
|
|
3135
3134
|
const f = i.orderOptions?.data?.orderType === Ee.Category, m = c[0].preferLabel !== !1, g = s === S.BarAndLineFromFields || s === S.PieFromFields || s === S.BoxPlotMultiFields || s === S.BoxPlotMultiFieldsAndSplitBy, y = g || o === h.PieSeries, p = s === S.PieNoAggregation || s === S.BarAndLineNoAggregation || s === S.BarAndLineSplitByNoAggregation;
|
|
3136
3135
|
if (f && y && (!m || (o === h.LineSeries || o === h.RadarSeries) && l === h.NumberAxisFormat) && (d = C.originalXValue), Array.isArray(u))
|
|
3137
|
-
|
|
3136
|
+
Xl({
|
|
3138
3137
|
arrayToSort: e,
|
|
3139
3138
|
orderBy: u,
|
|
3140
3139
|
sortingField: d,
|
|
@@ -3158,7 +3157,7 @@ function qt(t) {
|
|
|
3158
3157
|
}
|
|
3159
3158
|
}
|
|
3160
3159
|
}
|
|
3161
|
-
function
|
|
3160
|
+
function _d(t) {
|
|
3162
3161
|
const { alteredConfig: e, dataInfo: i, fieldList: r, options: a, queryObject: n } = t, s = Ti(i.data);
|
|
3163
3162
|
if (s && qt({
|
|
3164
3163
|
arrayToSort: s,
|
|
@@ -3185,20 +3184,20 @@ function eo(t) {
|
|
|
3185
3184
|
return { ...e, value: i };
|
|
3186
3185
|
})), t;
|
|
3187
3186
|
}
|
|
3188
|
-
async function
|
|
3187
|
+
async function Hd(t) {
|
|
3189
3188
|
const { data: e, queryObject: i, chartConfig: r, allowColorMatch: a } = t;
|
|
3190
3189
|
let n = !1, s = [];
|
|
3191
3190
|
if (a && !ie(i)) {
|
|
3192
3191
|
const { series: o, chartRenderer: l } = r, c = eo(l), u = c ? it.ChartRenderer : it.LayerRenderer, d = i ? W(i) : void 0, f = c ?? d?.renderer;
|
|
3193
3192
|
let m;
|
|
3194
|
-
d && u === it.LayerRenderer ? s = await ya(d) : u === it.ChartRenderer && (s =
|
|
3195
|
-
const g =
|
|
3193
|
+
d && u === it.LayerRenderer ? s = await ya(d) : u === it.ChartRenderer && (s = Gl(f));
|
|
3194
|
+
const g = Rl(c, d?.renderer), y = _l({
|
|
3196
3195
|
chartRenderer: l,
|
|
3197
3196
|
queryObject: i
|
|
3198
3197
|
}), p = Q(o), F = H(o), b = _e(r), N = ne(b.query?.where);
|
|
3199
3198
|
m = /* @__PURE__ */ new Map();
|
|
3200
3199
|
for (let B = 0; B < (p === h.HistogramSeries && e.length > 0 ? 1 : e.length); B += 1) {
|
|
3201
|
-
const x = e[B], v = await
|
|
3200
|
+
const x = e[B], v = await Hl({
|
|
3202
3201
|
seriesConfig: r.series,
|
|
3203
3202
|
dataItem: x,
|
|
3204
3203
|
renderer: f,
|
|
@@ -3355,7 +3354,7 @@ function zr(t) {
|
|
|
3355
3354
|
}
|
|
3356
3355
|
return r;
|
|
3357
3356
|
}
|
|
3358
|
-
function
|
|
3357
|
+
function zd(t) {
|
|
3359
3358
|
const { chartData: e, chartConfig: i } = t, { x: r } = i.series?.[0];
|
|
3360
3359
|
let a = Number.NaN;
|
|
3361
3360
|
if (Wt(i)) {
|
|
@@ -3637,7 +3636,7 @@ function mo(t) {
|
|
|
3637
3636
|
let a = "";
|
|
3638
3637
|
const n = r.series[0], { minValue: s, maxValue: o } = i;
|
|
3639
3638
|
if (Number.isFinite(s) && Number.isFinite(o) && n.type === h.HistogramSeries) {
|
|
3640
|
-
const l =
|
|
3639
|
+
const l = Yl(e, n.dataTransformationType), c = i.isLastBin ? "<=" : "<";
|
|
3641
3640
|
a = Y([
|
|
3642
3641
|
`${l}>=${s?.toString()}`,
|
|
3643
3642
|
`${l}${c}${o?.toString()}`
|
|
@@ -3645,7 +3644,7 @@ function mo(t) {
|
|
|
3645
3644
|
}
|
|
3646
3645
|
return a;
|
|
3647
3646
|
}
|
|
3648
|
-
function
|
|
3647
|
+
function Ud(t) {
|
|
3649
3648
|
const { chartConfig: e } = t, i = Q(e.series);
|
|
3650
3649
|
let r = "";
|
|
3651
3650
|
switch (i) {
|
|
@@ -3734,16 +3733,16 @@ async function go(t) {
|
|
|
3734
3733
|
return M;
|
|
3735
3734
|
},
|
|
3736
3735
|
[]
|
|
3737
|
-
),
|
|
3738
|
-
if (
|
|
3739
|
-
const M = we(
|
|
3736
|
+
), P = W(e);
|
|
3737
|
+
if (P !== void 0 && T.length > 0) {
|
|
3738
|
+
const M = we(P).idField;
|
|
3740
3739
|
A.push(`${M} IN (${T.join(",")})`);
|
|
3741
3740
|
}
|
|
3742
|
-
const I = A.join(" OR "),
|
|
3743
|
-
|
|
3741
|
+
const I = A.join(" OR "), w = { ...i };
|
|
3742
|
+
w.where = Y([w.where, I]), F = await Ci({
|
|
3744
3743
|
queryObject: e,
|
|
3745
3744
|
chartConfig: r,
|
|
3746
|
-
queryConfig:
|
|
3745
|
+
queryConfig: w,
|
|
3747
3746
|
setTimeBinningInfoWhenNotProvided: n,
|
|
3748
3747
|
returnFeaturesExtent: s,
|
|
3749
3748
|
returnStatisticsAggregatedIds: o,
|
|
@@ -3790,9 +3789,9 @@ async function yo(t) {
|
|
|
3790
3789
|
break;
|
|
3791
3790
|
case h.PieSeries:
|
|
3792
3791
|
if (H(r.series) === S.PieFromFields) {
|
|
3793
|
-
const { x: A, y:
|
|
3794
|
-
I.forEach((
|
|
3795
|
-
A in
|
|
3792
|
+
const { x: A, y: P } = r.series[0], I = Re(v);
|
|
3793
|
+
I.forEach((w) => {
|
|
3794
|
+
A in w && (w[fe] = w[A], delete w[A]), P in w && (w[Ne] = w[P], delete w[P]);
|
|
3796
3795
|
}), x.data = { dataItems: I };
|
|
3797
3796
|
} else
|
|
3798
3797
|
x.data = { dataItems: v };
|
|
@@ -3831,14 +3830,14 @@ async function yo(t) {
|
|
|
3831
3830
|
else {
|
|
3832
3831
|
const A = { ...i };
|
|
3833
3832
|
if (a !== void 0 && a.length > 0) {
|
|
3834
|
-
const I = Or(r),
|
|
3833
|
+
const I = Or(r), w = a.map(
|
|
3835
3834
|
(L) => Ur({
|
|
3836
3835
|
xAxisField: b[0].x,
|
|
3837
3836
|
dataContext: L,
|
|
3838
3837
|
timeAggregationType: I,
|
|
3839
3838
|
queryObject: e
|
|
3840
3839
|
})
|
|
3841
|
-
), M = Y(
|
|
3840
|
+
), M = Y(w, "OR");
|
|
3842
3841
|
A.where = Y([A.where, M]);
|
|
3843
3842
|
}
|
|
3844
3843
|
x = await vi({
|
|
@@ -3867,14 +3866,14 @@ async function yo(t) {
|
|
|
3867
3866
|
bins: []
|
|
3868
3867
|
}, x.count = 0;
|
|
3869
3868
|
else {
|
|
3870
|
-
const { x: A } = b[0],
|
|
3869
|
+
const { x: A } = b[0], P = v.map((M, L) => {
|
|
3871
3870
|
const { minValue: O, maxValue: E } = M, z = L === v.length - 1 ? "<=" : "<";
|
|
3872
3871
|
return `${A} >= ${O} AND ${A} ${z} ${E}`;
|
|
3873
|
-
}), I = Y(
|
|
3874
|
-
|
|
3872
|
+
}), I = Y(P, "OR"), w = { ...i };
|
|
3873
|
+
w.where = Y([w.where, I]), x = await Vr({
|
|
3875
3874
|
queryObject: e,
|
|
3876
3875
|
chartConfig: r,
|
|
3877
|
-
queryConfig:
|
|
3876
|
+
queryConfig: w,
|
|
3878
3877
|
view: g,
|
|
3879
3878
|
errorStrings: y,
|
|
3880
3879
|
abortKey: p,
|
|
@@ -3885,14 +3884,14 @@ async function yo(t) {
|
|
|
3885
3884
|
}
|
|
3886
3885
|
case h.ScatterSeries: {
|
|
3887
3886
|
if (v.length === 0) {
|
|
3888
|
-
const { r2: A, trendLinePoints:
|
|
3889
|
-
x.data = { dataItems: [], r2: A, trendLinePoints:
|
|
3887
|
+
const { r2: A, trendLinePoints: P } = C.scatterplotSeries;
|
|
3888
|
+
x.data = { dataItems: [], r2: A, trendLinePoints: P, count: 0 }, x.count = 0;
|
|
3890
3889
|
} else {
|
|
3891
|
-
const { r2: A, trendLinePoints:
|
|
3890
|
+
const { r2: A, trendLinePoints: P } = Mr({
|
|
3892
3891
|
data: v,
|
|
3893
3892
|
chartConfig: r
|
|
3894
3893
|
});
|
|
3895
|
-
x.data = { dataItems: v, r2: A, trendLinePoints:
|
|
3894
|
+
x.data = { dataItems: v, r2: A, trendLinePoints: P }, x.count = v.length;
|
|
3896
3895
|
}
|
|
3897
3896
|
break;
|
|
3898
3897
|
}
|
|
@@ -3963,87 +3962,96 @@ async function Ci(t) {
|
|
|
3963
3962
|
}
|
|
3964
3963
|
return y;
|
|
3965
3964
|
}
|
|
3966
|
-
async function
|
|
3965
|
+
async function Gd(t) {
|
|
3967
3966
|
const {
|
|
3968
3967
|
queryObject: e,
|
|
3969
3968
|
chartConfig: i,
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3969
|
+
abortKey: r,
|
|
3970
|
+
abortSignal: a,
|
|
3971
|
+
currentSelectionDataItems: n,
|
|
3972
|
+
dataForFilterBySelectionChanged: s,
|
|
3973
|
+
filterByViewExtent: o,
|
|
3974
|
+
runtimeDataFilters: l,
|
|
3975
|
+
ignoreViewExtent: c,
|
|
3976
|
+
filterBySelection: u,
|
|
3977
|
+
selectionData: d,
|
|
3978
|
+
setTimeBinningInfoWhenNotProvided: f,
|
|
3979
|
+
returnFeaturesExtent: m,
|
|
3980
|
+
returnStatisticsAggregatedIds: g,
|
|
3981
|
+
chartLimits: y,
|
|
3982
|
+
popupTemplateFieldInfosEnabled: p,
|
|
3983
|
+
hideZeroCountCategories: F,
|
|
3984
|
+
replaceNoValueCategoryWithZero: b,
|
|
3985
|
+
view: N,
|
|
3986
|
+
syncViewTimeZone: B,
|
|
3987
|
+
errorStrings: x,
|
|
3988
|
+
fieldList: v,
|
|
3989
|
+
preFetchedQueryResponse: T
|
|
3990
|
+
} = t, { series: A } = i;
|
|
3991
|
+
let P = { valid: !0 };
|
|
3992
|
+
const I = Q(A), w = ha({
|
|
3993
|
+
queryObject: e,
|
|
3994
|
+
chartConfig: i,
|
|
3995
|
+
runtimeDataFilters: l,
|
|
3996
|
+
filterByViewExtent: o,
|
|
3997
|
+
ignoreViewExtent: c,
|
|
3998
|
+
view: N
|
|
3999
|
+
});
|
|
4000
|
+
if (Dn(r), u)
|
|
4001
|
+
P = await yo({
|
|
3994
4002
|
queryObject: e,
|
|
3995
|
-
queryConfig:
|
|
4003
|
+
queryConfig: w,
|
|
3996
4004
|
chartConfig: i,
|
|
3997
|
-
currentSelectionDataItems:
|
|
3998
|
-
dataForFilterBySelectionChanged:
|
|
3999
|
-
selectionData:
|
|
4000
|
-
setTimeBinningInfoWhenNotProvided:
|
|
4001
|
-
returnFeaturesExtent:
|
|
4002
|
-
returnStatisticsAggregatedIds:
|
|
4003
|
-
chartLimits:
|
|
4004
|
-
popupTemplateFieldInfosEnabled:
|
|
4005
|
-
hideZeroCountCategories:
|
|
4006
|
-
replaceNoValueCategoryWithZero:
|
|
4007
|
-
view:
|
|
4008
|
-
errorStrings:
|
|
4009
|
-
abortKey:
|
|
4010
|
-
abortSignal:
|
|
4005
|
+
currentSelectionDataItems: n,
|
|
4006
|
+
dataForFilterBySelectionChanged: s,
|
|
4007
|
+
selectionData: d,
|
|
4008
|
+
setTimeBinningInfoWhenNotProvided: f,
|
|
4009
|
+
returnFeaturesExtent: m,
|
|
4010
|
+
returnStatisticsAggregatedIds: g,
|
|
4011
|
+
chartLimits: y,
|
|
4012
|
+
popupTemplateFieldInfosEnabled: p,
|
|
4013
|
+
hideZeroCountCategories: F,
|
|
4014
|
+
replaceNoValueCategoryWithZero: b,
|
|
4015
|
+
view: N,
|
|
4016
|
+
errorStrings: x,
|
|
4017
|
+
abortKey: r,
|
|
4018
|
+
abortSignal: a
|
|
4011
4019
|
});
|
|
4012
4020
|
else
|
|
4013
|
-
switch (
|
|
4021
|
+
switch (I) {
|
|
4014
4022
|
case h.HeatSeries:
|
|
4015
|
-
yt(e),
|
|
4023
|
+
yt(e), P = await ta({
|
|
4016
4024
|
chartConfig: i,
|
|
4017
|
-
queryConfig:
|
|
4025
|
+
queryConfig: w,
|
|
4018
4026
|
queryObject: e,
|
|
4019
|
-
errorStrings:
|
|
4020
|
-
returnFeaturesExtent:
|
|
4021
|
-
returnStatisticsAggregatedIds:
|
|
4022
|
-
chartLimits:
|
|
4023
|
-
popupTemplateFieldInfosEnabled:
|
|
4024
|
-
view:
|
|
4025
|
-
syncViewTimeZone:
|
|
4026
|
-
abortKey:
|
|
4027
|
-
abortSignal:
|
|
4027
|
+
errorStrings: x,
|
|
4028
|
+
returnFeaturesExtent: m,
|
|
4029
|
+
returnStatisticsAggregatedIds: g,
|
|
4030
|
+
chartLimits: y,
|
|
4031
|
+
popupTemplateFieldInfosEnabled: p,
|
|
4032
|
+
view: N,
|
|
4033
|
+
syncViewTimeZone: B,
|
|
4034
|
+
abortKey: r,
|
|
4035
|
+
abortSignal: a
|
|
4028
4036
|
});
|
|
4029
4037
|
break;
|
|
4030
4038
|
case h.BoxPlotSeries:
|
|
4031
|
-
de(i) && (
|
|
4039
|
+
de(i) && (P = await Ci({
|
|
4032
4040
|
queryObject: e,
|
|
4033
4041
|
// @REV: temporary
|
|
4034
4042
|
chartConfig: i,
|
|
4035
|
-
queryConfig:
|
|
4036
|
-
setTimeBinningInfoWhenNotProvided:
|
|
4037
|
-
returnFeaturesExtent:
|
|
4038
|
-
returnStatisticsAggregatedIds:
|
|
4039
|
-
chartLimits:
|
|
4040
|
-
popupTemplateFieldInfosEnabled:
|
|
4041
|
-
hideZeroCountCategories:
|
|
4042
|
-
replaceNoValueCategoryWithZero:
|
|
4043
|
-
view:
|
|
4044
|
-
errorStrings:
|
|
4045
|
-
abortKey:
|
|
4046
|
-
abortSignal:
|
|
4043
|
+
queryConfig: w,
|
|
4044
|
+
setTimeBinningInfoWhenNotProvided: f,
|
|
4045
|
+
returnFeaturesExtent: m,
|
|
4046
|
+
returnStatisticsAggregatedIds: g,
|
|
4047
|
+
chartLimits: y,
|
|
4048
|
+
popupTemplateFieldInfosEnabled: p,
|
|
4049
|
+
hideZeroCountCategories: F,
|
|
4050
|
+
replaceNoValueCategoryWithZero: b,
|
|
4051
|
+
view: N,
|
|
4052
|
+
errorStrings: x,
|
|
4053
|
+
abortKey: r,
|
|
4054
|
+
abortSignal: a
|
|
4047
4055
|
}));
|
|
4048
4056
|
break;
|
|
4049
4057
|
case h.BarSeries:
|
|
@@ -4051,140 +4059,80 @@ async function po(t) {
|
|
|
4051
4059
|
case h.PieSeries:
|
|
4052
4060
|
case h.RadarSeries:
|
|
4053
4061
|
case h.LineSeries: {
|
|
4054
|
-
const
|
|
4062
|
+
const M = {
|
|
4055
4063
|
queryObject: e,
|
|
4056
4064
|
// @REV: temporary
|
|
4057
|
-
queryConfig:
|
|
4065
|
+
queryConfig: w,
|
|
4058
4066
|
chartConfig: i,
|
|
4059
|
-
filterByViewExtent:
|
|
4060
|
-
errorStrings:
|
|
4061
|
-
setTimeBinningInfoWhenNotProvided:
|
|
4062
|
-
returnFeaturesExtent:
|
|
4063
|
-
returnStatisticsAggregatedIds:
|
|
4064
|
-
chartLimits:
|
|
4065
|
-
popupTemplateFieldInfosEnabled:
|
|
4066
|
-
hideZeroCountCategories:
|
|
4067
|
-
replaceNoValueCategoryWithZero:
|
|
4068
|
-
view:
|
|
4069
|
-
abortKey:
|
|
4070
|
-
abortSignal:
|
|
4071
|
-
fieldList:
|
|
4072
|
-
preFetchedQueryResponse:
|
|
4067
|
+
filterByViewExtent: o,
|
|
4068
|
+
errorStrings: x,
|
|
4069
|
+
setTimeBinningInfoWhenNotProvided: f,
|
|
4070
|
+
returnFeaturesExtent: m,
|
|
4071
|
+
returnStatisticsAggregatedIds: g,
|
|
4072
|
+
chartLimits: y,
|
|
4073
|
+
popupTemplateFieldInfosEnabled: p,
|
|
4074
|
+
hideZeroCountCategories: F,
|
|
4075
|
+
replaceNoValueCategoryWithZero: b,
|
|
4076
|
+
view: N,
|
|
4077
|
+
abortKey: r,
|
|
4078
|
+
abortSignal: a,
|
|
4079
|
+
fieldList: v,
|
|
4080
|
+
preFetchedQueryResponse: T
|
|
4073
4081
|
};
|
|
4074
4082
|
De({
|
|
4075
4083
|
xAxisValueFormatType: Be(i),
|
|
4076
|
-
setTimeBinningInfoWhenNotProvided:
|
|
4077
|
-
seriesConfig:
|
|
4084
|
+
setTimeBinningInfoWhenNotProvided: f,
|
|
4085
|
+
seriesConfig: A[0],
|
|
4078
4086
|
queryObject: e
|
|
4079
|
-
}) ?
|
|
4087
|
+
}) ? P = await vi(M) : P = await ci(M);
|
|
4080
4088
|
break;
|
|
4081
4089
|
}
|
|
4082
4090
|
case h.ScatterSeries:
|
|
4083
|
-
|
|
4091
|
+
P.data = await ia({
|
|
4084
4092
|
queryObject: e,
|
|
4085
|
-
queryConfig:
|
|
4086
|
-
filterByViewExtent:
|
|
4087
|
-
setTimeBinningInfoWhenNotProvided:
|
|
4088
|
-
returnFeaturesExtent:
|
|
4089
|
-
returnStatisticsAggregatedIds:
|
|
4090
|
-
chartLimits:
|
|
4091
|
-
popupTemplateFieldInfosEnabled:
|
|
4092
|
-
hideZeroCountCategories:
|
|
4093
|
-
replaceNoValueCategoryWithZero:
|
|
4094
|
-
view:
|
|
4093
|
+
queryConfig: w,
|
|
4094
|
+
filterByViewExtent: o,
|
|
4095
|
+
setTimeBinningInfoWhenNotProvided: f,
|
|
4096
|
+
returnFeaturesExtent: m,
|
|
4097
|
+
returnStatisticsAggregatedIds: g,
|
|
4098
|
+
chartLimits: y,
|
|
4099
|
+
popupTemplateFieldInfosEnabled: p,
|
|
4100
|
+
hideZeroCountCategories: F,
|
|
4101
|
+
replaceNoValueCategoryWithZero: b,
|
|
4102
|
+
view: N,
|
|
4095
4103
|
chartConfig: i,
|
|
4096
|
-
errorStrings:
|
|
4097
|
-
abortKey:
|
|
4098
|
-
abortSignal:
|
|
4104
|
+
errorStrings: x,
|
|
4105
|
+
abortKey: r,
|
|
4106
|
+
abortSignal: a
|
|
4099
4107
|
});
|
|
4100
4108
|
break;
|
|
4101
4109
|
case h.HistogramSeries:
|
|
4102
|
-
|
|
4110
|
+
P = await Vr({
|
|
4103
4111
|
queryObject: e,
|
|
4104
|
-
queryConfig:
|
|
4112
|
+
queryConfig: w,
|
|
4105
4113
|
chartConfig: i,
|
|
4106
|
-
filterByViewExtent:
|
|
4107
|
-
view:
|
|
4108
|
-
abortKey:
|
|
4109
|
-
abortSignal:
|
|
4110
|
-
errorStrings:
|
|
4114
|
+
filterByViewExtent: o,
|
|
4115
|
+
view: N,
|
|
4116
|
+
abortKey: r,
|
|
4117
|
+
abortSignal: a,
|
|
4118
|
+
errorStrings: x
|
|
4111
4119
|
});
|
|
4112
4120
|
break;
|
|
4113
4121
|
case h.GaugeSeries:
|
|
4114
|
-
yt(e),
|
|
4122
|
+
yt(e), P = await io({
|
|
4115
4123
|
queryObject: e,
|
|
4116
4124
|
chartConfig: i,
|
|
4117
|
-
queryConfig:
|
|
4118
|
-
chartLimits:
|
|
4119
|
-
errorStrings:
|
|
4120
|
-
abortKey:
|
|
4121
|
-
abortSignal:
|
|
4125
|
+
queryConfig: w,
|
|
4126
|
+
chartLimits: y,
|
|
4127
|
+
errorStrings: x,
|
|
4128
|
+
abortKey: r,
|
|
4129
|
+
abortSignal: a
|
|
4122
4130
|
});
|
|
4123
4131
|
break;
|
|
4124
4132
|
}
|
|
4125
|
-
return w;
|
|
4133
|
+
return P.queryConfig = w, P;
|
|
4126
4134
|
}
|
|
4127
|
-
|
|
4128
|
-
const {
|
|
4129
|
-
queryObject: e,
|
|
4130
|
-
chartConfig: i,
|
|
4131
|
-
abortKey: r,
|
|
4132
|
-
abortSignal: a,
|
|
4133
|
-
currentSelectionDataItems: n,
|
|
4134
|
-
dataForFilterBySelectionChanged: s,
|
|
4135
|
-
filterByViewExtent: o,
|
|
4136
|
-
runtimeDataFilters: l,
|
|
4137
|
-
ignoreViewExtent: c,
|
|
4138
|
-
filterBySelection: u,
|
|
4139
|
-
selectionData: d,
|
|
4140
|
-
setTimeBinningInfoWhenNotProvided: f,
|
|
4141
|
-
returnFeaturesExtent: m,
|
|
4142
|
-
returnStatisticsAggregatedIds: g,
|
|
4143
|
-
chartLimits: y,
|
|
4144
|
-
popupTemplateFieldInfosEnabled: p,
|
|
4145
|
-
hideZeroCountCategories: F,
|
|
4146
|
-
replaceNoValueCategoryWithZero: b,
|
|
4147
|
-
view: N,
|
|
4148
|
-
syncViewTimeZone: B,
|
|
4149
|
-
errorStrings: x,
|
|
4150
|
-
fieldList: v,
|
|
4151
|
-
preFetchedQueryResponse: T
|
|
4152
|
-
} = t;
|
|
4153
|
-
let A = { valid: !0 };
|
|
4154
|
-
const w = ha({
|
|
4155
|
-
queryObject: e,
|
|
4156
|
-
chartConfig: i,
|
|
4157
|
-
runtimeDataFilters: l,
|
|
4158
|
-
filterByViewExtent: o,
|
|
4159
|
-
ignoreViewExtent: c,
|
|
4160
|
-
view: N
|
|
4161
|
-
});
|
|
4162
|
-
return Dn(r), A = await po({
|
|
4163
|
-
chartConfig: i,
|
|
4164
|
-
queryObject: e,
|
|
4165
|
-
queryConfig: w,
|
|
4166
|
-
currentSelectionDataItems: n,
|
|
4167
|
-
dataForFilterBySelectionChanged: s,
|
|
4168
|
-
filterByViewExtent: o,
|
|
4169
|
-
filterBySelection: u,
|
|
4170
|
-
selectionData: d,
|
|
4171
|
-
setTimeBinningInfoWhenNotProvided: f,
|
|
4172
|
-
returnFeaturesExtent: m,
|
|
4173
|
-
returnStatisticsAggregatedIds: g,
|
|
4174
|
-
chartLimits: y,
|
|
4175
|
-
popupTemplateFieldInfosEnabled: p,
|
|
4176
|
-
hideZeroCountCategories: F,
|
|
4177
|
-
replaceNoValueCategoryWithZero: b,
|
|
4178
|
-
view: N,
|
|
4179
|
-
syncViewTimeZone: B,
|
|
4180
|
-
abortKey: r,
|
|
4181
|
-
abortSignal: a,
|
|
4182
|
-
errorStrings: x,
|
|
4183
|
-
fieldList: v,
|
|
4184
|
-
preFetchedQueryResponse: T
|
|
4185
|
-
}), A.queryConfig = w, A;
|
|
4186
|
-
}
|
|
4187
|
-
function ho(t, e, i) {
|
|
4135
|
+
function po(t, e, i) {
|
|
4188
4136
|
const r = /* @__PURE__ */ new Map();
|
|
4189
4137
|
for (let n = 0; n < t.length; n += 1) {
|
|
4190
4138
|
const s = { [i]: t[n] };
|
|
@@ -4196,7 +4144,7 @@ function ho(t, e, i) {
|
|
|
4196
4144
|
}
|
|
4197
4145
|
return [...r.values()];
|
|
4198
4146
|
}
|
|
4199
|
-
async function
|
|
4147
|
+
async function ho(t) {
|
|
4200
4148
|
const {
|
|
4201
4149
|
seriesData: e,
|
|
4202
4150
|
chartConfig: i,
|
|
@@ -4226,11 +4174,11 @@ async function So(t) {
|
|
|
4226
4174
|
abortKey: l,
|
|
4227
4175
|
abortSignal: c
|
|
4228
4176
|
})).map((b) => b.attributes[g]).filter((b) => b != null);
|
|
4229
|
-
F.length > e.length && (d =
|
|
4177
|
+
F.length > e.length && (d = po(F, e, g));
|
|
4230
4178
|
}
|
|
4231
4179
|
return d;
|
|
4232
4180
|
}
|
|
4233
|
-
function
|
|
4181
|
+
function So(t, e) {
|
|
4234
4182
|
const i = t, { series: r } = e;
|
|
4235
4183
|
if (Be(e) === h.CategoryAxisFormat && r[0].query?.outStatistics?.[0].statisticType === D.Count) {
|
|
4236
4184
|
const a = r.reduce(
|
|
@@ -4288,7 +4236,7 @@ const Xi = [
|
|
|
4288
4236
|
unitMs: 1e3 * 60 * 60 * 24 * 7 * 4 * 12,
|
|
4289
4237
|
preferredIntervalSize: [1, 2, 4, 5, 10, 25, 50, 100]
|
|
4290
4238
|
}
|
|
4291
|
-
],
|
|
4239
|
+
], Fo = "{ groupByFieldsForStatistics } WHEN { dateField }>='{ startDate }' AND { dateField }{ endDateOperand }'{ endDate }' THEN '{ y }|{ binIndex}'";
|
|
4292
4240
|
function jr(t, e) {
|
|
4293
4241
|
let i = t;
|
|
4294
4242
|
return e === _.Week ? i /= 7 : e === _.Month ? i /= 30 : e === _.Year && (i /= 365), i = Math.ceil(i), i;
|
|
@@ -4315,7 +4263,7 @@ function ke(t) {
|
|
|
4315
4263
|
}
|
|
4316
4264
|
return e;
|
|
4317
4265
|
}
|
|
4318
|
-
function
|
|
4266
|
+
function bo(t) {
|
|
4319
4267
|
const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: a } = t, { unit: n, size: s } = a, o = n === _.Week ? (s ?? 1) * 7 : s, l = i[e][r];
|
|
4320
4268
|
let c = e;
|
|
4321
4269
|
const u = ke({
|
|
@@ -4345,7 +4293,7 @@ function xo(t) {
|
|
|
4345
4293
|
sliceEndIndex: m
|
|
4346
4294
|
};
|
|
4347
4295
|
}
|
|
4348
|
-
function
|
|
4296
|
+
function xo(t) {
|
|
4349
4297
|
const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: a } = t, { unit: n, size: s } = a, o = n === _.Week ? (s ?? 1) * 7 : s, l = i[e][r];
|
|
4350
4298
|
let c = e;
|
|
4351
4299
|
const u = ke({
|
|
@@ -4373,7 +4321,7 @@ function Co(t) {
|
|
|
4373
4321
|
last: f
|
|
4374
4322
|
};
|
|
4375
4323
|
}
|
|
4376
|
-
function
|
|
4324
|
+
function Co(t) {
|
|
4377
4325
|
const { binsToRegroup: e, statisticType: i, y: r, nullPolicy: a } = t;
|
|
4378
4326
|
let n;
|
|
4379
4327
|
a !== Se.Interpolate && (n = a === Se.Zero ? 0 : null);
|
|
@@ -4397,7 +4345,7 @@ function Bo(t) {
|
|
|
4397
4345
|
}
|
|
4398
4346
|
return n;
|
|
4399
4347
|
}
|
|
4400
|
-
function
|
|
4348
|
+
function Bo(t) {
|
|
4401
4349
|
const { data: e, seriesConfig: i, timeIntervalInfo: r, dateMinTimestamp: a, dateMaxTimestamp: n } = t;
|
|
4402
4350
|
let s = [];
|
|
4403
4351
|
const { unit: o } = r, l = r.size ?? 1, c = i[0], { x: u } = c;
|
|
@@ -4413,19 +4361,19 @@ function vo(t) {
|
|
|
4413
4361
|
};
|
|
4414
4362
|
for (; !p; ) {
|
|
4415
4363
|
let N = {};
|
|
4416
|
-
const { binStartDate: B, binEndDate: x, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: A, sliceEndIndex:
|
|
4364
|
+
const { binStartDate: B, binEndDate: x, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: A, sliceEndIndex: P } = d === te.End ? (
|
|
4417
4365
|
// When grouping from the end we'll start from the last date and move backward to create the bins
|
|
4418
|
-
|
|
4366
|
+
xo(b)
|
|
4419
4367
|
) : (
|
|
4420
4368
|
// When grouping from the start we'll start from the first date and move forward to create the bins
|
|
4421
|
-
|
|
4369
|
+
bo(b)
|
|
4422
4370
|
);
|
|
4423
|
-
if (p = v, N = d === te.End ? N = e[
|
|
4424
|
-
const I = e.slice(A,
|
|
4371
|
+
if (p = v, N = d === te.End ? N = e[P - 1] : N = e[F], x > n && B < n || B < a && x > a || B >= a && x <= n) {
|
|
4372
|
+
const I = e.slice(A, P).filter((L) => !(C.dateBinModel in L));
|
|
4425
4373
|
g.forEach((L) => {
|
|
4426
|
-
N[L] =
|
|
4374
|
+
N[L] = Co({ binsToRegroup: I, statisticType: y, y: L, nullPolicy: f });
|
|
4427
4375
|
});
|
|
4428
|
-
const
|
|
4376
|
+
const w = I.map((L) => L[qe]).filter((L) => L !== void 0), M = Wl(w);
|
|
4429
4377
|
M !== void 0 && (N[qe] = M), N[u] = B, N[C.xAxisField] = B, N[C.dateBinningRange] = [B, x], delete N[C.dateBinModel], s.push(N);
|
|
4430
4378
|
} else v && d !== te.End && s.length > 0 && (s[s.length - 1][C.dateBinningRange][1] = s[s.length - 1][C.dateBinningRange][1] + 1);
|
|
4431
4379
|
F = T, b.binFirstOrLastIndex = T;
|
|
@@ -4486,7 +4434,7 @@ function Yr(t) {
|
|
|
4486
4434
|
{}
|
|
4487
4435
|
);
|
|
4488
4436
|
}
|
|
4489
|
-
function
|
|
4437
|
+
function vo(t) {
|
|
4490
4438
|
const {
|
|
4491
4439
|
dateMaxTimestamp: e,
|
|
4492
4440
|
numberOfFinalBinsWithinDataRange: i,
|
|
@@ -4532,11 +4480,11 @@ function To(t) {
|
|
|
4532
4480
|
}
|
|
4533
4481
|
return { newDateMin: d, newDateMax: f };
|
|
4534
4482
|
}
|
|
4535
|
-
function
|
|
4483
|
+
function To(t) {
|
|
4536
4484
|
const { numberOfSingleBinsWithinDataRange: e, dataLength: i, unit: r } = t;
|
|
4537
4485
|
return jr(i, r) >= e;
|
|
4538
4486
|
}
|
|
4539
|
-
async function
|
|
4487
|
+
async function No(t) {
|
|
4540
4488
|
const { queryObject: e, queryConfig: i, x: r, xFieldType: a, errorStrings: n, abortSignal: s } = t, o = `MIN_${r}`, l = `MAX_${r}`, c = `COUNT_${r}`, u = {
|
|
4541
4489
|
...i,
|
|
4542
4490
|
outStatistics: [
|
|
@@ -4568,7 +4516,7 @@ async function Ao(t) {
|
|
|
4568
4516
|
const g = d.get(c);
|
|
4569
4517
|
return typeof f == "string" && (f = a === j.TimeOnly ? Rt(f) ?? 0 : new Date(f).valueOf()), typeof m == "string" && (m = a === j.TimeOnly ? Rt(m) ?? 0 : new Date(m).valueOf()), { dateRange: { dateMinTimestamp: f, dateMaxTimestamp: m }, numberOfFeatures: g };
|
|
4570
4518
|
}
|
|
4571
|
-
function
|
|
4519
|
+
function Ao(t) {
|
|
4572
4520
|
const {
|
|
4573
4521
|
newDateMin: e,
|
|
4574
4522
|
newDateMax: i,
|
|
@@ -4578,7 +4526,7 @@ function wo(t) {
|
|
|
4578
4526
|
initialNumberOfBins: s,
|
|
4579
4527
|
timeIntervalInfo: o
|
|
4580
4528
|
} = t, { unit: l } = o, c = a;
|
|
4581
|
-
if (!
|
|
4529
|
+
if (!To({
|
|
4582
4530
|
numberOfSingleBinsWithinDataRange: n,
|
|
4583
4531
|
dataLength: s,
|
|
4584
4532
|
unit: l
|
|
@@ -4599,7 +4547,7 @@ function wo(t) {
|
|
|
4599
4547
|
}
|
|
4600
4548
|
return c;
|
|
4601
4549
|
}
|
|
4602
|
-
function
|
|
4550
|
+
function wo(t) {
|
|
4603
4551
|
const { data: e, seriesConfig: i, dateMinTimestamp: r, dateMaxTimestamp: a } = t, n = e;
|
|
4604
4552
|
if (i[0].temporalBinning?.trimIncompleteTimeInterval !== !1) {
|
|
4605
4553
|
const { timeAggregationType: s } = i[0].temporalBinning ?? {}, o = e[0]?.[C.dateBinningRange]?.[0], l = e[e.length - 1]?.[C.dateBinningRange]?.[1];
|
|
@@ -4616,10 +4564,10 @@ function Lo(t) {
|
|
|
4616
4564
|
}
|
|
4617
4565
|
return n;
|
|
4618
4566
|
}
|
|
4619
|
-
function
|
|
4567
|
+
function Lo(t) {
|
|
4620
4568
|
const { groupByFieldsForStatistics: e, dateField: i, queryStartDate: r, queryEndDate: a, y: n, binIndex: s, lastBin: o } = t;
|
|
4621
4569
|
let l = e === "" ? je.groupByCaseBegin : e;
|
|
4622
|
-
return l = be(
|
|
4570
|
+
return l = be(Fo, {
|
|
4623
4571
|
groupByFieldsForStatistics: l,
|
|
4624
4572
|
dateField: i,
|
|
4625
4573
|
startDate: `${r}`,
|
|
@@ -4630,7 +4578,7 @@ function Po(t) {
|
|
|
4630
4578
|
// we use <= to catch the last bin's value, < otherwise
|
|
4631
4579
|
}), l;
|
|
4632
4580
|
}
|
|
4633
|
-
function*
|
|
4581
|
+
function* Po(t) {
|
|
4634
4582
|
const { queryObject: e, seriesConfig: i, queryConfig: r, completeData: a, errorStrings: n, abortSignal: s } = t;
|
|
4635
4583
|
for (let o = 0; o < i.length; o += 1) {
|
|
4636
4584
|
const l = i[o], { query: c, x: u, y: d } = l, m = [
|
|
@@ -4644,7 +4592,7 @@ function* Mo(t) {
|
|
|
4644
4592
|
let g = je.groupByCaseBegin;
|
|
4645
4593
|
for (let p = 0; p < a.length; p += 1) {
|
|
4646
4594
|
const F = a[p], [b, N] = F[C.dateBinningRange], B = lt(b), x = lt(N);
|
|
4647
|
-
g =
|
|
4595
|
+
g = Lo({
|
|
4648
4596
|
groupByFieldsForStatistics: g,
|
|
4649
4597
|
queryStartDate: B,
|
|
4650
4598
|
queryEndDate: x,
|
|
@@ -4671,10 +4619,10 @@ function* Mo(t) {
|
|
|
4671
4619
|
});
|
|
4672
4620
|
}
|
|
4673
4621
|
}
|
|
4674
|
-
async function
|
|
4622
|
+
async function Mo(t) {
|
|
4675
4623
|
const { queryObject: e, data: i, seriesConfig: r, queryConfig: a, errorStrings: n, abortSignal: s } = t, o = i, { statisticType: l } = r[0].query?.outStatistics?.[0] ?? dr;
|
|
4676
4624
|
if (l === D.ContinuousPercentile && o.length > 0) {
|
|
4677
|
-
const c =
|
|
4625
|
+
const c = Po({
|
|
4678
4626
|
queryObject: e,
|
|
4679
4627
|
completeData: o,
|
|
4680
4628
|
seriesConfig: r,
|
|
@@ -4731,7 +4679,7 @@ function Zi(t, e) {
|
|
|
4731
4679
|
});
|
|
4732
4680
|
return i;
|
|
4733
4681
|
}
|
|
4734
|
-
function
|
|
4682
|
+
function Io(t) {
|
|
4735
4683
|
const { chartConfig: e, queryResults: i, mapToStatField: r, splitByField: a, x: n, y: s, nullPolicy: o, queryObject: l } = t, c = wr(n), d = ve(l).find((F) => F.name === n)?.type, f = [], m = e.series[0], g = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, y = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
|
|
4736
4684
|
let p = !1;
|
|
4737
4685
|
return i.forEach((F, b) => {
|
|
@@ -4740,26 +4688,26 @@ function Do(t) {
|
|
|
4740
4688
|
else {
|
|
4741
4689
|
const { attributes: B, stackedAttributes: x, statisticsAggregatedIds: v } = F;
|
|
4742
4690
|
let T = B[c.lowerBoundaryAlias], A = B[c.upperBoundaryAlias];
|
|
4743
|
-
const
|
|
4691
|
+
const P = T, I = A;
|
|
4744
4692
|
if (T = Zi(T, d), A = Zi(A, d), typeof T == "number" && typeof A == "number") {
|
|
4745
|
-
const
|
|
4746
|
-
|
|
4693
|
+
const w = { ...B };
|
|
4694
|
+
w[C.originalServerBinningRange] = [P, I], w[n] = T, w[C.xAxisField] = T, w[C.dateBinningRange] = [T, A], v && v.length !== vt && (w[k.uniqueIds] = v), delete w[c.lowerBoundaryAlias], delete w[c.upperBoundaryAlias], x && a && !ae(a) && r ? x.forEach((O) => {
|
|
4747
4695
|
const E = O[a];
|
|
4748
4696
|
if (E === null || typeof E == "string" || typeof E == "number") {
|
|
4749
4697
|
const z = r?.get(E);
|
|
4750
|
-
z !== void 0 && (
|
|
4698
|
+
z !== void 0 && (w[z] = O[k.outStatistics?.outStatisticFieldName ?? ""], "aggregateIds" in O && Array.isArray(O.aggregateIds) && O.aggregateIds.length > 0 && (w[`${k.uniqueIds}_${z}`] = O.aggregateIds), Yi({ dataItem: w, statField: z, nullPolicy: o }));
|
|
4751
4699
|
}
|
|
4752
|
-
}) : typeof s == "string" && Yi({ dataItem:
|
|
4700
|
+
}) : typeof s == "string" && Yi({ dataItem: w, statField: s, nullPolicy: o });
|
|
4753
4701
|
const { featureExtent: M, featureExtentKey: L } = Zr({
|
|
4754
4702
|
feature: F,
|
|
4755
4703
|
splitByField: a
|
|
4756
4704
|
});
|
|
4757
|
-
M && (
|
|
4705
|
+
M && (w[L] = M), f.push(w);
|
|
4758
4706
|
}
|
|
4759
4707
|
}
|
|
4760
4708
|
}), f && f.length > 0 && !p && (f[0][C.firstTemporalBin] = !0, f[f.length - 1][C.lastTemporalBin] = !0), { data: f, firstOrLastWasSkipped: p };
|
|
4761
4709
|
}
|
|
4762
|
-
async function
|
|
4710
|
+
async function Do(t) {
|
|
4763
4711
|
const {
|
|
4764
4712
|
queryObject: e,
|
|
4765
4713
|
queryResults: i,
|
|
@@ -4783,7 +4731,7 @@ async function Oo(t) {
|
|
|
4783
4731
|
dateMinTimestamp: d,
|
|
4784
4732
|
dateMaxTimestamp: f,
|
|
4785
4733
|
timeIntervalInfo: o
|
|
4786
|
-
}), { newDateMin: p, newDateMax: F } =
|
|
4734
|
+
}), { newDateMin: p, newDateMax: F } = vo({
|
|
4787
4735
|
dateMaxTimestamp: f,
|
|
4788
4736
|
data: u,
|
|
4789
4737
|
numberOfFinalBinsWithinDataRange: g,
|
|
@@ -4791,7 +4739,7 @@ async function Oo(t) {
|
|
|
4791
4739
|
seriesConfig: n,
|
|
4792
4740
|
timeIntervalInfo: o
|
|
4793
4741
|
});
|
|
4794
|
-
u =
|
|
4742
|
+
u = Ao({
|
|
4795
4743
|
newDateMin: p,
|
|
4796
4744
|
newDateMax: F,
|
|
4797
4745
|
seriesConfig: n,
|
|
@@ -4802,18 +4750,18 @@ async function Oo(t) {
|
|
|
4802
4750
|
}), xt({
|
|
4803
4751
|
arrayToSort: u,
|
|
4804
4752
|
sortingField: r
|
|
4805
|
-
}), u =
|
|
4753
|
+
}), u = Bo({
|
|
4806
4754
|
data: u,
|
|
4807
4755
|
seriesConfig: n,
|
|
4808
4756
|
dateMinTimestamp: d,
|
|
4809
4757
|
dateMaxTimestamp: f,
|
|
4810
4758
|
timeIntervalInfo: o
|
|
4811
|
-
}), u =
|
|
4759
|
+
}), u = wo({
|
|
4812
4760
|
data: u,
|
|
4813
4761
|
seriesConfig: n,
|
|
4814
4762
|
dateMinTimestamp: d,
|
|
4815
4763
|
dateMaxTimestamp: f
|
|
4816
|
-
}), e && (u = await
|
|
4764
|
+
}), e && (u = await Mo({
|
|
4817
4765
|
queryObject: e,
|
|
4818
4766
|
data: u,
|
|
4819
4767
|
seriesConfig: n,
|
|
@@ -4825,15 +4773,15 @@ async function Oo(t) {
|
|
|
4825
4773
|
}
|
|
4826
4774
|
return u;
|
|
4827
4775
|
}
|
|
4828
|
-
function
|
|
4776
|
+
function Oo(t) {
|
|
4829
4777
|
return Math.floor(Math.min(Math.max(8, Math.sqrt(t ?? 8)), 128) + 0.5);
|
|
4830
4778
|
}
|
|
4831
|
-
function
|
|
4779
|
+
function Eo(t) {
|
|
4832
4780
|
const { dateRange: e, numberOfFeatures: i } = t;
|
|
4833
4781
|
let r, a, { dateMinTimestamp: n, dateMaxTimestamp: s } = e;
|
|
4834
4782
|
if (n && s) {
|
|
4835
4783
|
typeof n == "string" && (n = new Date(n).valueOf()), typeof s == "string" && (s = new Date(s).valueOf());
|
|
4836
|
-
const o =
|
|
4784
|
+
const o = Oo(i), l = (s - n) / o, c = Xi.findIndex((F) => F.threshold > l), u = Xi[c], { unitMs: d, preferredIntervalSize: f } = u;
|
|
4837
4785
|
({ unit: r } = u);
|
|
4838
4786
|
const m = l / d, g = f.findIndex(
|
|
4839
4787
|
(F) => F >= m
|
|
@@ -4842,7 +4790,7 @@ function qo(t) {
|
|
|
4842
4790
|
}
|
|
4843
4791
|
return { size: a, unit: r };
|
|
4844
4792
|
}
|
|
4845
|
-
function
|
|
4793
|
+
function qo(t) {
|
|
4846
4794
|
const { series: e, isTimeBinningSeries: i, setTimeBinningInfoWhenNotProvided: r } = t;
|
|
4847
4795
|
let a = !1;
|
|
4848
4796
|
if (Ce(e) && i) {
|
|
@@ -4851,7 +4799,7 @@ function Ro(t) {
|
|
|
4851
4799
|
}
|
|
4852
4800
|
return a;
|
|
4853
4801
|
}
|
|
4854
|
-
function
|
|
4802
|
+
function Ro(t) {
|
|
4855
4803
|
const e = [];
|
|
4856
4804
|
for (let i = 1; i <= 6; i += 1) {
|
|
4857
4805
|
const r = t[`EXPR_${i}`] ?? t[`Expr${i}`] ?? t[`expr${i}`] ?? t[`EXPR${i}`];
|
|
@@ -4884,7 +4832,7 @@ function Zr(t) {
|
|
|
4884
4832
|
let s = qe;
|
|
4885
4833
|
return n !== void 0 && i !== void 0 && r === S.BarAndLineSplitBy && (s = e.attributes[i] !== void 0 ? `${qe}_${e.attributes[i]}` : qe), { featureExtent: n, featureExtentKey: s };
|
|
4886
4834
|
}
|
|
4887
|
-
function
|
|
4835
|
+
function Vo(t) {
|
|
4888
4836
|
const { input: e, x: i, splitByField: r } = t;
|
|
4889
4837
|
return e.reduce((n, s) => (r !== void 0 && r !== i && !(C.technicalFieldSplitByField in s) && delete s[r], Object.assign(n, s)), {});
|
|
4890
4838
|
}
|
|
@@ -4897,11 +4845,11 @@ function bt(t) {
|
|
|
4897
4845
|
const o = s[i], l = n.get(o) ?? [];
|
|
4898
4846
|
l.push(s), n.set(o, l);
|
|
4899
4847
|
}
|
|
4900
|
-
n.size > 0 && (a = Array.from(n.values(), (s) =>
|
|
4848
|
+
n.size > 0 && (a = Array.from(n.values(), (s) => Vo({ input: s, x: i, splitByField: r })));
|
|
4901
4849
|
}
|
|
4902
4850
|
return a;
|
|
4903
4851
|
}
|
|
4904
|
-
function
|
|
4852
|
+
function $o(t, e) {
|
|
4905
4853
|
const i = t, r = Q(e);
|
|
4906
4854
|
if (r !== h.PieSeries && r !== h.BoxPlotSeries) {
|
|
4907
4855
|
const a = ue(e), n = e[0].y;
|
|
@@ -4921,7 +4869,7 @@ function ko(t, e) {
|
|
|
4921
4869
|
}
|
|
4922
4870
|
return i;
|
|
4923
4871
|
}
|
|
4924
|
-
function
|
|
4872
|
+
function ko(t, e) {
|
|
4925
4873
|
if (de(t)) {
|
|
4926
4874
|
const i = ue(t.series), r = i.length === 1;
|
|
4927
4875
|
i.forEach((a) => {
|
|
@@ -4930,34 +4878,34 @@ function Qo(t, e) {
|
|
|
4930
4878
|
});
|
|
4931
4879
|
}
|
|
4932
4880
|
}
|
|
4933
|
-
function
|
|
4881
|
+
function Qo(t) {
|
|
4934
4882
|
const { x: e, attributes: i, fieldList: r } = t;
|
|
4935
4883
|
typeof i[e] == "string" && r?.find((a) => a.name === e)?.type === j.TimeOnly && (i[e] = Rt(i[e]));
|
|
4936
4884
|
}
|
|
4937
|
-
function
|
|
4885
|
+
function _o(t) {
|
|
4938
4886
|
const { chartType: e, x: i, attributes: r } = t;
|
|
4939
4887
|
e === h.PieSeries && typeof r[i] == "number" && (r[i] = `${r[i]}`);
|
|
4940
4888
|
}
|
|
4941
|
-
function
|
|
4889
|
+
function Ho(t) {
|
|
4942
4890
|
const { attributes: e, x: i, categoryValueFormat: r, isTimeBinningSeries: a, isDateField: n } = t;
|
|
4943
|
-
r || (n && typeof e[i] == "string" ? e[i] = new Date(e[i]).valueOf() : a && (e[i] =
|
|
4891
|
+
r || (n && typeof e[i] == "string" ? e[i] = new Date(e[i]).valueOf() : a && (e[i] = Ro(e)));
|
|
4944
4892
|
}
|
|
4945
|
-
function
|
|
4893
|
+
function zo(t) {
|
|
4946
4894
|
const { chartConfig: e, chartType: i, chartSubType: r, attributes: a, featureIndex: n, x: s } = t;
|
|
4947
4895
|
(r === S.BarAndLineNoAggregation || r === S.BarAndLineSplitByNoAggregation) && pn({ isXAxis: !0, chartType: i, valueFormat: e.axes?.[0]?.valueFormat }) ? (a[C.xAxisField] = `${a[s]}-${n}`, a[C.xAxisDisplayField] = a[s]) : i === h.HeatSeries ? a[C.xAxisField] = a[G.xField] : r !== S.BarAndLineFromFields && r !== S.PieFromFields && (a[C.xAxisField] = a[s]);
|
|
4948
4896
|
}
|
|
4949
|
-
function
|
|
4897
|
+
function Uo(t) {
|
|
4950
4898
|
const { feature: e, splitByField: i, chartSubType: r, attributes: a } = t, { featureExtent: n, featureExtentKey: s } = Zr({ feature: e, splitByField: i, chartSubType: r });
|
|
4951
4899
|
n && (a[s] = n);
|
|
4952
4900
|
}
|
|
4953
|
-
function
|
|
4901
|
+
function Go(t) {
|
|
4954
4902
|
const { chartSubType: e, attributes: i, splitByField: r, mapToStatField: a } = t, { outStatisticFieldName: n } = k.outStatistics ?? {}, s = Jr(i, r);
|
|
4955
4903
|
if (e === S.BarAndLineSplitBy && n && s !== void 0) {
|
|
4956
4904
|
const o = a?.get(s);
|
|
4957
4905
|
o !== void 0 && (s === r && (i[C.technicalFieldSplitByField] = i[o]), i[o] = i[n]), delete i[n];
|
|
4958
4906
|
}
|
|
4959
4907
|
}
|
|
4960
|
-
function
|
|
4908
|
+
function Wo(t, e) {
|
|
4961
4909
|
const i = e.series[0];
|
|
4962
4910
|
if (i.type === h.HeatSeries) {
|
|
4963
4911
|
const { x: r, y: a } = i;
|
|
@@ -4971,7 +4919,7 @@ function Bi(t, e) {
|
|
|
4971
4919
|
i && (t[i] === void 0 && (t[i.toUpperCase()] !== void 0 ? (t[i] = t[i.toUpperCase()], delete t[i.toUpperCase()]) : t[i.toLowerCase()] !== void 0 && (t[i] = t[i.toLowerCase()], delete t[i.toLowerCase()])), t[i] === void 0 && delete t[i]);
|
|
4972
4920
|
});
|
|
4973
4921
|
}
|
|
4974
|
-
function
|
|
4922
|
+
function jo(t, e) {
|
|
4975
4923
|
let i = [];
|
|
4976
4924
|
k.outStatistics.outStatisticFieldName && (Object.keys(t).includes(k.outStatistics.outStatisticFieldName) || Object.keys(t).includes(k.outStatistics.outStatisticFieldName.toUpperCase())) ? i = [k.outStatistics.outStatisticFieldName] : i = Array.from(
|
|
4977
4925
|
new Set(
|
|
@@ -4979,7 +4927,7 @@ function Xo(t, e) {
|
|
|
4979
4927
|
)
|
|
4980
4928
|
), Bi(t, i);
|
|
4981
4929
|
}
|
|
4982
|
-
function
|
|
4930
|
+
function Xo(t) {
|
|
4983
4931
|
const { chartSubType: e, dataItem: i, outStatistics: r } = t;
|
|
4984
4932
|
(e === S.PieFromFields || e === S.BarAndLineFromFields) && i !== void 0 && r[0] !== void 0 && Object.keys(i).forEach((a) => {
|
|
4985
4933
|
const n = r.find(
|
|
@@ -4988,7 +4936,7 @@ function Yo(t) {
|
|
|
4988
4936
|
n !== void 0 && i[a] !== void 0 && n !== a && (i[n] = i[a], delete i[a]);
|
|
4989
4937
|
});
|
|
4990
4938
|
}
|
|
4991
|
-
function
|
|
4939
|
+
function Yo(t) {
|
|
4992
4940
|
const { dataItem: e, splitByField: i, y: r, chartSubType: a, queryObject: n } = t;
|
|
4993
4941
|
if (typeof r == "string" && a === S.BarAndLineSplitByNoAggregation) {
|
|
4994
4942
|
const s = W(n), { idField: o, isTraditionalTypeOID: l } = we(s), c = l ? o : void 0;
|
|
@@ -4998,7 +4946,7 @@ function Zo(t) {
|
|
|
4998
4946
|
}
|
|
4999
4947
|
}
|
|
5000
4948
|
}
|
|
5001
|
-
function
|
|
4949
|
+
function Zo(t) {
|
|
5002
4950
|
const { chartSubType: e, attributes: i, y: r } = t;
|
|
5003
4951
|
r && (e === S.BoxPlotMonoField || e === S.BoxPlotMonoFieldAndCategory || e === S.BoxPlotMonoFieldAndSplitBy || e === S.BoxPlotMonoFieldAndCategoryAndSplitBy) && Object.keys(i).forEach((n) => {
|
|
5004
4952
|
if (n.startsWith(`${r}_`)) {
|
|
@@ -5007,7 +4955,7 @@ function Jo(t) {
|
|
|
5007
4955
|
}
|
|
5008
4956
|
});
|
|
5009
4957
|
}
|
|
5010
|
-
function
|
|
4958
|
+
function Jo(t, e) {
|
|
5011
4959
|
let i = 1;
|
|
5012
4960
|
switch (t) {
|
|
5013
4961
|
case S.BarAndLineFromFields:
|
|
@@ -5034,15 +4982,15 @@ function Ko(t, e) {
|
|
|
5034
4982
|
}
|
|
5035
4983
|
return i;
|
|
5036
4984
|
}
|
|
5037
|
-
function
|
|
4985
|
+
function Ko(t) {
|
|
5038
4986
|
const { attributes: e, showMean: i, chartSubType: r } = t;
|
|
5039
4987
|
i && (r === S.BoxPlotMonoFieldAndSplitBy || r === S.BoxPlotMultiFieldsAndSplitBy || r === S.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[C.boxPlot.boxPlotMeanLineMarkerId] = !0);
|
|
5040
4988
|
}
|
|
5041
|
-
function
|
|
4989
|
+
function el(t) {
|
|
5042
4990
|
const { queryResponse: e, chartConfig: i, maxCategoryCount: r } = t, a = H(i.series);
|
|
5043
4991
|
return r && Number.isFinite(r) && r < e.length && Er.includes(a) ? e.slice(0, r) : e;
|
|
5044
4992
|
}
|
|
5045
|
-
function
|
|
4993
|
+
function tl(t) {
|
|
5046
4994
|
const { attributes: e, uniqueCategoryList: i, maxCategoryCount: r, x: a, chartSubType: n } = t;
|
|
5047
4995
|
let s = !1;
|
|
5048
4996
|
if (a && r && Number.isFinite(r) && !Er.includes(n))
|
|
@@ -5056,7 +5004,7 @@ function il(t) {
|
|
|
5056
5004
|
}
|
|
5057
5005
|
return s;
|
|
5058
5006
|
}
|
|
5059
|
-
function
|
|
5007
|
+
function il(t) {
|
|
5060
5008
|
const { attributes: e, x: i, y: r, xFieldDomain: a, yFieldDomain: n, chartType: s, chartSubType: o, xAxisValueFormat: l, yAxisValueFormat: c } = t;
|
|
5061
5009
|
let u, d;
|
|
5062
5010
|
if (o !== S.PieFromFields) {
|
|
@@ -5064,7 +5012,7 @@ function rl(t) {
|
|
|
5064
5012
|
a && (typeof f == "string" || typeof f == "number") && (u = yi(f, a)), n && s === h.HeatSeries && (typeof g == "string" || typeof g == "number") && (d = yi(g, n)), u !== void 0 && u !== f && (typeof u != "string" || !Dt(l)) && (e[C.originalXValue] = f, e[i] = u, e[C.xAxisDisplayField] = u), typeof r == "string" && !Dt(c) && d !== void 0 && d !== g && (e[C.originalYCategoryValue] = e[r], e[r] = d);
|
|
5065
5013
|
}
|
|
5066
5014
|
}
|
|
5067
|
-
function
|
|
5015
|
+
function rl(t) {
|
|
5068
5016
|
const { attributes: e, statisticsAggregatedIds: i, chartSubType: r, feature: a, splitByField: n, mapToStatField: s } = t;
|
|
5069
5017
|
let o;
|
|
5070
5018
|
if (i)
|
|
@@ -5078,11 +5026,11 @@ function al(t) {
|
|
|
5078
5026
|
e[u] = o;
|
|
5079
5027
|
}
|
|
5080
5028
|
}
|
|
5081
|
-
function
|
|
5029
|
+
function al(t) {
|
|
5082
5030
|
const { attributes: e, x: i, chartType: r, firstSeriesY: a } = t;
|
|
5083
5031
|
e[i] === null && (e[C.originalXValue] = null, e[i] = r === h.HeatSeries ? "null" : C.nullValue), r === h.HeatSeries && typeof a == "string" && e[a] === null && (e[C.originalYCategoryValue] = null, e[a] = "null");
|
|
5084
5032
|
}
|
|
5085
|
-
function
|
|
5033
|
+
function nl(t) {
|
|
5086
5034
|
const { chartSubType: e, attributes: i, x: r } = t;
|
|
5087
5035
|
e !== S.BarAndLineFromFields && e !== S.PieFromFields && (i[C.originalXValue] = i[r]);
|
|
5088
5036
|
}
|
|
@@ -5105,39 +5053,39 @@ function Kr(t) {
|
|
|
5105
5053
|
resultLimit: o,
|
|
5106
5054
|
chartLimits: l,
|
|
5107
5055
|
fieldList: c
|
|
5108
|
-
} = t, { series: u } = r, d = H(u), f = Q(u), { x: m } = u[0], g = "y" in u[0] ? u[0].y : void 0, y = u[0].query?.outStatistics ?? [], p = Ot(r?.axes?.[0]?.valueFormat), F = gi(e, m), b = typeof g == "string" ? gi(e, g) : void 0, B =
|
|
5056
|
+
} = t, { series: u } = r, d = H(u), f = Q(u), { x: m } = u[0], g = "y" in u[0] ? u[0].y : void 0, y = u[0].query?.outStatistics ?? [], p = Ot(r?.axes?.[0]?.valueFormat), F = gi(e, m), b = typeof g == "string" ? gi(e, g) : void 0, B = Su(c ?? []).includes(m), x = We(r), v = [];
|
|
5109
5057
|
let T = 0;
|
|
5110
5058
|
const A = /* @__PURE__ */ new Set(), {
|
|
5111
|
-
maxCategoryCount:
|
|
5059
|
+
maxCategoryCount: P,
|
|
5112
5060
|
serialChart: { categories: I }
|
|
5113
|
-
} = ut(l),
|
|
5061
|
+
} = ut(l), w = P ?? I, M = el({ queryResponse: i, chartConfig: r, maxCategoryCount: w });
|
|
5114
5062
|
for (let L = 0; M[L] && L < M.length && !(o !== void 0 && T >= o); L += 1) {
|
|
5115
|
-
T +=
|
|
5063
|
+
T += Jo(d, r);
|
|
5116
5064
|
const O = M[L], E = { ...O.attributes };
|
|
5117
|
-
|
|
5065
|
+
tl({ attributes: E, uniqueCategoryList: A, maxCategoryCount: w, x: m, chartSubType: d }) || (nl({ chartSubType: d, x: m, attributes: E }), jo(E, u), Xo({ chartSubType: d, dataItem: E, outStatistics: y }), Yo({
|
|
5118
5066
|
dataItem: E,
|
|
5119
5067
|
splitByField: n,
|
|
5120
5068
|
y: g,
|
|
5121
5069
|
queryObject: e,
|
|
5122
5070
|
chartSubType: d
|
|
5123
|
-
}),
|
|
5071
|
+
}), Zo({
|
|
5124
5072
|
chartSubType: d,
|
|
5125
5073
|
attributes: E,
|
|
5126
5074
|
y: typeof g == "string" ? g : g?.[0]
|
|
5127
|
-
}),
|
|
5075
|
+
}), Ko({ attributes: E, showMean: x, chartSubType: d }), Ho({ attributes: E, x: m, categoryValueFormat: p, isDateField: B, isTimeBinningSeries: s }), Qo({
|
|
5128
5076
|
x: m,
|
|
5129
5077
|
fieldList: c,
|
|
5130
5078
|
attributes: E
|
|
5131
|
-
}),
|
|
5079
|
+
}), Go({
|
|
5132
5080
|
chartSubType: d,
|
|
5133
5081
|
attributes: E,
|
|
5134
5082
|
splitByField: n,
|
|
5135
5083
|
mapToStatField: a
|
|
5136
|
-
}),
|
|
5084
|
+
}), ko(r, E), _o({
|
|
5137
5085
|
chartType: f,
|
|
5138
5086
|
x: m,
|
|
5139
5087
|
attributes: E
|
|
5140
|
-
}),
|
|
5088
|
+
}), al({ attributes: E, x: m, chartType: f, firstSeriesY: g }), il({
|
|
5141
5089
|
attributes: E,
|
|
5142
5090
|
x: m,
|
|
5143
5091
|
y: g,
|
|
@@ -5147,14 +5095,14 @@ function Kr(t) {
|
|
|
5147
5095
|
chartSubType: d,
|
|
5148
5096
|
xAxisValueFormat: r.axes?.[0].valueFormat,
|
|
5149
5097
|
yAxisValueFormat: r.axes?.[1]?.valueFormat
|
|
5150
|
-
}),
|
|
5098
|
+
}), Uo({ feature: O, splitByField: n, chartSubType: d, attributes: E }), rl({
|
|
5151
5099
|
attributes: E,
|
|
5152
5100
|
statisticsAggregatedIds: O.statisticsAggregatedIds,
|
|
5153
5101
|
chartSubType: d,
|
|
5154
5102
|
feature: O,
|
|
5155
5103
|
splitByField: n,
|
|
5156
5104
|
mapToStatField: a
|
|
5157
|
-
}),
|
|
5105
|
+
}), Wo(E, r), zo({
|
|
5158
5106
|
chartConfig: r,
|
|
5159
5107
|
chartType: f,
|
|
5160
5108
|
chartSubType: d,
|
|
@@ -5201,7 +5149,7 @@ async function jt(t) {
|
|
|
5201
5149
|
fieldList: N,
|
|
5202
5150
|
resultLimit: i.num,
|
|
5203
5151
|
chartLimits: o
|
|
5204
|
-
}), y !== S.BarAndLineSplitByNoAggregation && y !== S.BarAndLineFromFields && (F !== "" && (p = bt({ data: p, x: B, splitByField: F })), p =
|
|
5152
|
+
}), y !== S.BarAndLineSplitByNoAggregation && y !== S.BarAndLineFromFields && (F !== "" && (p = bt({ data: p, x: B, splitByField: F })), p = $o(
|
|
5205
5153
|
p,
|
|
5206
5154
|
g
|
|
5207
5155
|
)), p;
|
|
@@ -5255,12 +5203,12 @@ async function ci(t) {
|
|
|
5255
5203
|
let N;
|
|
5256
5204
|
const B = { valid: !0 };
|
|
5257
5205
|
let x, v = !1;
|
|
5258
|
-
const T = e.series, A = T[0],
|
|
5206
|
+
const T = e.series, A = T[0], P = H(e.series);
|
|
5259
5207
|
if (ie(a))
|
|
5260
5208
|
N = Q(T) === h.BarSeries ? await Ns(t) : B;
|
|
5261
5209
|
else {
|
|
5262
5210
|
if (A !== void 0) {
|
|
5263
|
-
const I = Q(T), { uniqueQuery:
|
|
5211
|
+
const I = Q(T), { uniqueQuery: w, mapToStatField: M } = Mi({
|
|
5264
5212
|
chartConfig: e,
|
|
5265
5213
|
queryObject: a,
|
|
5266
5214
|
queryConfig: i,
|
|
@@ -5274,7 +5222,7 @@ async function ci(t) {
|
|
|
5274
5222
|
queryObject: a,
|
|
5275
5223
|
queryConfig: i,
|
|
5276
5224
|
behaviorAfterLimit: b,
|
|
5277
|
-
numberMaxOfFeaturesToFetch:
|
|
5225
|
+
numberMaxOfFeaturesToFetch: w.num,
|
|
5278
5226
|
abortSignal: c
|
|
5279
5227
|
});
|
|
5280
5228
|
const z = !Number.isFinite(O);
|
|
@@ -5287,7 +5235,7 @@ async function ci(t) {
|
|
|
5287
5235
|
if (U) {
|
|
5288
5236
|
if (x = await jt({
|
|
5289
5237
|
queryObject: a,
|
|
5290
|
-
uniqueQuery:
|
|
5238
|
+
uniqueQuery: w,
|
|
5291
5239
|
chartConfig: e,
|
|
5292
5240
|
preFetchedQueryResponse: o,
|
|
5293
5241
|
mapToStatField: M,
|
|
@@ -5304,7 +5252,7 @@ async function ci(t) {
|
|
|
5304
5252
|
data: x,
|
|
5305
5253
|
queryObject: a,
|
|
5306
5254
|
fetchFullBoxPlotData: r,
|
|
5307
|
-
uniqueQuery:
|
|
5255
|
+
uniqueQuery: w,
|
|
5308
5256
|
chartConfig: e,
|
|
5309
5257
|
elementCount: O,
|
|
5310
5258
|
chartLimits: m,
|
|
@@ -5315,27 +5263,27 @@ async function ci(t) {
|
|
|
5315
5263
|
const R = m?.maxBoxPlotOutlierLimit ?? m?.boxPlot?.outliers;
|
|
5316
5264
|
R !== void 0 && (U = (B.data.outliers ?? []).length <= R, v = !U);
|
|
5317
5265
|
}
|
|
5318
|
-
if (z && (L = x.length, O = li(
|
|
5266
|
+
if (z && (L = x.length, O = li(P) ? L * T.length : L, U = Pe({
|
|
5319
5267
|
count: O,
|
|
5320
5268
|
seriesCount: T.length,
|
|
5321
5269
|
chartType: I,
|
|
5322
5270
|
chartLimits: m
|
|
5323
5271
|
})), U) {
|
|
5324
5272
|
if (I === h.PieSeries) {
|
|
5325
|
-
|
|
5273
|
+
P === S.PieFromFields && (x = Vt({
|
|
5326
5274
|
dataToConvert: x[0],
|
|
5327
5275
|
x: fe,
|
|
5328
5276
|
y: Ne,
|
|
5329
5277
|
fieldList: s
|
|
5330
5278
|
}));
|
|
5331
5279
|
let R = "";
|
|
5332
|
-
|
|
5333
|
-
} else if ((I === h.RadarSeries || I === h.BarSeries || I === h.LineSeries || I === h.ComboLineAndBarSeries) && (
|
|
5280
|
+
P === S.PieFromFields ? R = Ne : "y" in A && typeof A.y == "string" && (R = A.y), Zl(x, R) ? B.data = { dataItems: x } : Vs(B, $.PieChartMixOfNegativePositiveSlices);
|
|
5281
|
+
} else if ((I === h.RadarSeries || I === h.BarSeries || I === h.LineSeries || I === h.ComboLineAndBarSeries) && (P === S.BarAndLineFromFields && "y" in A && typeof A.y == "string" ? x = Vt({
|
|
5334
5282
|
dataToConvert: x[0],
|
|
5335
5283
|
x: A.x,
|
|
5336
5284
|
y: A.y,
|
|
5337
5285
|
fieldList: s
|
|
5338
|
-
}) : x = await
|
|
5286
|
+
}) : x = await ho({
|
|
5339
5287
|
queryObject: a,
|
|
5340
5288
|
seriesData: x,
|
|
5341
5289
|
chartConfig: e,
|
|
@@ -5345,13 +5293,13 @@ async function ci(t) {
|
|
|
5345
5293
|
errorStrings: l,
|
|
5346
5294
|
abortKey: n,
|
|
5347
5295
|
abortSignal: c
|
|
5348
|
-
}), O = li(
|
|
5296
|
+
}), O = li(P) ? x.length * T.length : x.length, U = Pe({
|
|
5349
5297
|
count: O,
|
|
5350
5298
|
seriesCount: T.length,
|
|
5351
5299
|
chartType: I,
|
|
5352
5300
|
chartLimits: m
|
|
5353
5301
|
}), U)) {
|
|
5354
|
-
F && (x =
|
|
5302
|
+
F && (x = So(x, e));
|
|
5355
5303
|
let R = {};
|
|
5356
5304
|
if (Ce(A)) {
|
|
5357
5305
|
const { size: ee, unit: X } = A.temporalBinning ?? {};
|
|
@@ -5371,7 +5319,7 @@ async function ci(t) {
|
|
|
5371
5319
|
}
|
|
5372
5320
|
return N;
|
|
5373
5321
|
}
|
|
5374
|
-
function
|
|
5322
|
+
function sl(t) {
|
|
5375
5323
|
let e;
|
|
5376
5324
|
const { start: i, end: r } = Fi({
|
|
5377
5325
|
field: "",
|
|
@@ -5380,10 +5328,10 @@ function ol(t) {
|
|
|
5380
5328
|
});
|
|
5381
5329
|
return r && (e = Array.from({ length: r + (i === 0 ? 1 : 0) }, (a, n) => (n + (i ?? 1)).toString())), e;
|
|
5382
5330
|
}
|
|
5383
|
-
function
|
|
5331
|
+
function ol(t) {
|
|
5384
5332
|
return t.hideEmptyRowsAndColumns === !0 && (t.nullPolicy !== Se.Zero || t.series[0].query?.outStatistics?.[0].statisticType === D.Count);
|
|
5385
5333
|
}
|
|
5386
|
-
function
|
|
5334
|
+
function ll(t) {
|
|
5387
5335
|
const { dataItems: e, valueField: i, filterOutZero: r } = t, a = [null];
|
|
5388
5336
|
r && a.push(0);
|
|
5389
5337
|
const n = new Set(
|
|
@@ -5395,7 +5343,7 @@ function ul(t) {
|
|
|
5395
5343
|
(o) => n.has(o[G.xField]) && s.has(o[G.yField])
|
|
5396
5344
|
);
|
|
5397
5345
|
}
|
|
5398
|
-
function
|
|
5346
|
+
function ul(t) {
|
|
5399
5347
|
const { dataItems: e, xUniqueValues: i, yUniqueValues: r, valueField: a, emptyCellValue: n, x: s, y: o, queryObject: l } = t, c = [], u = /* @__PURE__ */ new Set();
|
|
5400
5348
|
for (const d of e) {
|
|
5401
5349
|
const f = d[C.originalXValue] !== void 0 ? d[C.originalXValue] : d[G.xField], m = d[C.originalYCategoryValue] !== void 0 ? d[C.originalYCategoryValue] : d[G.yField];
|
|
@@ -5452,7 +5400,7 @@ async function ta(t) {
|
|
|
5452
5400
|
} = t, y = { valid: !0 };
|
|
5453
5401
|
let p;
|
|
5454
5402
|
if (Ge(e)) {
|
|
5455
|
-
const { nullPolicy: F } = e, b = e.series[0], { x: N, y: B, query: x, xTemporalBinning: v, yTemporalBinning: T } = b, A = x?.outStatistics?.[0]?.outStatisticFieldName ?? "",
|
|
5403
|
+
const { nullPolicy: F } = e, b = e.series[0], { x: N, y: B, query: x, xTemporalBinning: v, yTemporalBinning: T } = b, A = x?.outStatistics?.[0]?.outStatisticFieldName ?? "", P = x?.outStatistics?.[0]?.statisticType ?? D.Count, I = ol(e), w = G.valueField, M = F === Se.Zero ? 0 : null;
|
|
5456
5404
|
if (Es(e)) {
|
|
5457
5405
|
const L = n ? await ei({
|
|
5458
5406
|
queryObject: r,
|
|
@@ -5500,20 +5448,20 @@ async function ta(t) {
|
|
|
5500
5448
|
fieldList: U
|
|
5501
5449
|
}), p.length !== E && L && O && (p = [
|
|
5502
5450
|
...p,
|
|
5503
|
-
...
|
|
5451
|
+
...ul({
|
|
5504
5452
|
dataItems: p,
|
|
5505
5453
|
xUniqueValues: L,
|
|
5506
5454
|
yUniqueValues: O,
|
|
5507
|
-
valueField:
|
|
5455
|
+
valueField: w,
|
|
5508
5456
|
emptyCellValue: M,
|
|
5509
5457
|
x: N,
|
|
5510
5458
|
y: B,
|
|
5511
5459
|
queryObject: r
|
|
5512
5460
|
})
|
|
5513
|
-
], I && (p =
|
|
5461
|
+
], I && (p = ll({
|
|
5514
5462
|
dataItems: p,
|
|
5515
|
-
valueField:
|
|
5516
|
-
filterOutZero:
|
|
5463
|
+
valueField: w,
|
|
5464
|
+
filterOutZero: P === D.Count
|
|
5517
5465
|
})));
|
|
5518
5466
|
}
|
|
5519
5467
|
}
|
|
@@ -5527,7 +5475,7 @@ async function ta(t) {
|
|
|
5527
5475
|
syncViewTimeZone: f,
|
|
5528
5476
|
errorStrings: s,
|
|
5529
5477
|
abortSignal: g
|
|
5530
|
-
}), O = T ?
|
|
5478
|
+
}), O = T ? sl(T.unit) : await ei({ queryObject: r, queryConfig: i, category: B, errorStrings: s, abortKey: m, abortSignal: g });
|
|
5531
5479
|
let E = 0;
|
|
5532
5480
|
p = L?.features.flatMap((z) => {
|
|
5533
5481
|
const U = [], { attributes: R, stackedAttributes: ee } = z, X = [];
|
|
@@ -5537,7 +5485,7 @@ async function ta(t) {
|
|
|
5537
5485
|
const J = {
|
|
5538
5486
|
[G.xField]: `${R[k.heatChartLowerBoundaryAlias]}`,
|
|
5539
5487
|
[G.yField]: V,
|
|
5540
|
-
[
|
|
5488
|
+
[w]: Z[A]
|
|
5541
5489
|
};
|
|
5542
5490
|
Array.isArray(Z.aggregateIds) && Z.aggregateIds.length !== vt && (J[k.uniqueIds] = Z.aggregateIds), U.push(J);
|
|
5543
5491
|
}), a && O && X.length !== O?.length) {
|
|
@@ -5554,7 +5502,7 @@ async function ta(t) {
|
|
|
5554
5502
|
})) || U.push({
|
|
5555
5503
|
[G.xField]: `${R[k.heatChartLowerBoundaryAlias]}`,
|
|
5556
5504
|
[G.yField]: V,
|
|
5557
|
-
[
|
|
5505
|
+
[w]: F === Se.Zero ? 0 : null,
|
|
5558
5506
|
[gr]: !0
|
|
5559
5507
|
// flagging the cell with an extra field to later skip it at selection
|
|
5560
5508
|
});
|
|
@@ -5575,7 +5523,7 @@ async function ta(t) {
|
|
|
5575
5523
|
}
|
|
5576
5524
|
return y;
|
|
5577
5525
|
}
|
|
5578
|
-
function
|
|
5526
|
+
function cl(t) {
|
|
5579
5527
|
const { chartConfig: e, data: i, chartLimits: r } = t, a = e.series;
|
|
5580
5528
|
let n = i, s = !1;
|
|
5581
5529
|
const o = la(e, r);
|
|
@@ -5624,14 +5572,14 @@ async function vi(t) {
|
|
|
5624
5572
|
if (Ce(F)) {
|
|
5625
5573
|
const { temporalBinning: v } = F;
|
|
5626
5574
|
if (r && v) {
|
|
5627
|
-
const { unit: T, size: A } = v,
|
|
5575
|
+
const { unit: T, size: A } = v, w = ve(r).find((se) => se.name === b)?.type;
|
|
5628
5576
|
let M = 1, L = { unit: T, size: A }, O = !1, E = !1, z = !1;
|
|
5629
|
-
const U =
|
|
5577
|
+
const U = qo({
|
|
5630
5578
|
series: F,
|
|
5631
5579
|
isTimeBinningSeries: !0,
|
|
5632
5580
|
setTimeBinningInfoWhenNotProvided: l
|
|
5633
|
-
}), R = !st(N, r) || U ? await
|
|
5634
|
-
U && R && R.numberOfFeatures > 0 && R.dateRange.dateMaxTimestamp !== void 0 && R.dateRange.dateMinTimestamp !== void 0 && (L =
|
|
5581
|
+
}), R = !st(N, r) || U ? await No({ queryObject: r, queryConfig: i, x: b, xFieldType: w, errorStrings: o, abortSignal: n }) : void 0;
|
|
5582
|
+
U && R && R.numberOfFeatures > 0 && R.dateRange.dateMaxTimestamp !== void 0 && R.dateRange.dateMinTimestamp !== void 0 && (L = Eo(R), w === j.DateOnly && L.unit !== void 0 && [
|
|
5635
5583
|
_.Hour,
|
|
5636
5584
|
_.Minute,
|
|
5637
5585
|
_.Second
|
|
@@ -5668,7 +5616,7 @@ async function vi(t) {
|
|
|
5668
5616
|
returnStatisticsAggregatedIds: u,
|
|
5669
5617
|
abortSignal: n
|
|
5670
5618
|
}), mt = "y" in F && typeof F.y == "string" ? F.y : void 0;
|
|
5671
|
-
if ({ data: x, firstOrLastWasSkipped: z } =
|
|
5619
|
+
if ({ data: x, firstOrLastWasSkipped: z } = Io({
|
|
5672
5620
|
chartConfig: e,
|
|
5673
5621
|
queryResults: Yt,
|
|
5674
5622
|
mapToStatField: X,
|
|
@@ -5712,7 +5660,7 @@ async function vi(t) {
|
|
|
5712
5660
|
errorStrings: o,
|
|
5713
5661
|
abortKey: a,
|
|
5714
5662
|
abortSignal: n
|
|
5715
|
-
}), x = await
|
|
5663
|
+
}), x = await Do({
|
|
5716
5664
|
queryObject: r,
|
|
5717
5665
|
queryConfig: i,
|
|
5718
5666
|
queryResults: x,
|
|
@@ -5724,7 +5672,7 @@ async function vi(t) {
|
|
|
5724
5672
|
abortSignal: n
|
|
5725
5673
|
});
|
|
5726
5674
|
}
|
|
5727
|
-
Fn(r) && x && (x?.length + 1 === ki && z || x.length === ki) && (O = !0), y === ct.RenderUpToTheLimit && x && ({ trimmedData: x, chartLimitsReached: E } =
|
|
5675
|
+
Fn(r) && x && (x?.length + 1 === ki && z || x.length === ki) && (O = !0), y === ct.RenderUpToTheLimit && x && ({ trimmedData: x, chartLimitsReached: E } = cl({ chartConfig: e, chartLimits: d, data: x }));
|
|
5728
5676
|
}
|
|
5729
5677
|
J || (B.valid = !1, B.invalidType = V), B.data = {
|
|
5730
5678
|
dataItems: x,
|
|
@@ -5736,7 +5684,7 @@ async function vi(t) {
|
|
|
5736
5684
|
}
|
|
5737
5685
|
return B;
|
|
5738
5686
|
}
|
|
5739
|
-
async function
|
|
5687
|
+
async function dl(t) {
|
|
5740
5688
|
const {
|
|
5741
5689
|
chartConfig: e,
|
|
5742
5690
|
queryConfig: i,
|
|
@@ -5778,7 +5726,7 @@ async function fl(t) {
|
|
|
5778
5726
|
});
|
|
5779
5727
|
return de(e) && (F = _r({ chartConfig: e, data: F, calculateZScore: !1 })), f.data = { dataItems: F }, f;
|
|
5780
5728
|
}
|
|
5781
|
-
async function
|
|
5729
|
+
async function fl(t) {
|
|
5782
5730
|
const {
|
|
5783
5731
|
chartConfig: e,
|
|
5784
5732
|
queryConfig: i,
|
|
@@ -5815,8 +5763,8 @@ async function ml(t) {
|
|
|
5815
5763
|
}
|
|
5816
5764
|
return g;
|
|
5817
5765
|
}
|
|
5818
|
-
const
|
|
5819
|
-
async function
|
|
5766
|
+
const ml = "{ groupByFieldsForStatistics } WHEN ({ y } { yMinOperand } { yValue } AND { y } { yMaxOperand } { yValuePlusStep } AND { x } { xMinOperand } { xValue } AND { x } { xMaxOperand } { xValuePlusStep }) THEN '{ xValue }|{ xValuePlusStep}|{ yValue }|{ yValuePlusStep }'";
|
|
5767
|
+
async function gl(t) {
|
|
5820
5768
|
const { chartConfig: e, queryObject: i, queryConfig: r, errorStrings: a, abortKey: n, abortSignal: s } = t, o = e.series[0], { x: l, y: c } = o, { dataContextCountDistinctX: u, dataContextCountDistinctY: d } = C.scatterplotAggregationFields, f = {
|
|
5821
5769
|
...r,
|
|
5822
5770
|
outStatistics: [
|
|
@@ -5842,7 +5790,7 @@ async function yl(t) {
|
|
|
5842
5790
|
abortSignal: s
|
|
5843
5791
|
});
|
|
5844
5792
|
}
|
|
5845
|
-
async function
|
|
5793
|
+
async function yl(t) {
|
|
5846
5794
|
const { statsMap: e, chartConfig: i, queryObject: r, chartLimits: a, queryConfig: n, errorStrings: s, abortKey: o, abortSignal: l } = t, {
|
|
5847
5795
|
dataContextXMinField: c,
|
|
5848
5796
|
dataContextXMaxField: u,
|
|
@@ -5856,8 +5804,8 @@ async function pl(t) {
|
|
|
5856
5804
|
if (B != null && v !== void 0 && v !== null && x !== void 0 && x !== null && T !== void 0 && T !== null && !Number.isNaN(B + x + v + T)) {
|
|
5857
5805
|
const {
|
|
5858
5806
|
maxScatterPointsAfterAggregation: A,
|
|
5859
|
-
scatterplot: { markersAfterAggregation:
|
|
5860
|
-
} = ut(a),
|
|
5807
|
+
scatterplot: { markersAfterAggregation: P }
|
|
5808
|
+
} = ut(a), w = Math.floor(Math.sqrt(A ?? P)), M = await gl({
|
|
5861
5809
|
queryObject: r,
|
|
5862
5810
|
chartConfig: i,
|
|
5863
5811
|
queryConfig: n,
|
|
@@ -5865,13 +5813,13 @@ async function pl(t) {
|
|
|
5865
5813
|
abortKey: o,
|
|
5866
5814
|
abortSignal: l
|
|
5867
5815
|
});
|
|
5868
|
-
F = Math.min(M.get(g) ?? Number.NaN,
|
|
5816
|
+
F = Math.min(M.get(g) ?? Number.NaN, w), b = Math.min(M.get(m) ?? Number.NaN, w), N = b * F, y = x === B ? 0 : (x - B) / (b - 1), p = T === v ? 0 : (T - v) / (F - 1), e.set(C.scatterplotAggregationFields.xStep, y), e.set(C.scatterplotAggregationFields.yStep, p), e.set(C.scatterplotAggregationFields.rowCount, F), e.set(C.scatterplotAggregationFields.columnCount, b), e.set(C.scatterplotAggregationFields.realGridSize, N);
|
|
5869
5817
|
}
|
|
5870
5818
|
}
|
|
5871
|
-
function
|
|
5819
|
+
function pl(t) {
|
|
5872
5820
|
const { groupByFieldsForStatistics: e, x: i, y: r, xValue: a, yValue: n, xStep: s, yStep: o, endOfRow: l, endOfColumn: c } = t;
|
|
5873
5821
|
let u = e === "" ? je.groupByCaseBegin : e;
|
|
5874
|
-
return u = be(
|
|
5822
|
+
return u = be(ml, {
|
|
5875
5823
|
groupByFieldsForStatistics: u,
|
|
5876
5824
|
x: i,
|
|
5877
5825
|
y: r,
|
|
@@ -5889,7 +5837,7 @@ function hl(t) {
|
|
|
5889
5837
|
// we use = to catch the last value of the line, < otherwise
|
|
5890
5838
|
}), u;
|
|
5891
5839
|
}
|
|
5892
|
-
async function
|
|
5840
|
+
async function hl(t) {
|
|
5893
5841
|
const { chartConfig: e, queryConfig: i, queryObject: r, xMin: a, xMax: n, yMin: s, yMax: o, errorStrings: l, abortKey: c, abortSignal: u } = t, d = e.series[0], { x: f, y: m } = d, g = { ...i };
|
|
5894
5842
|
return g.where = Y([g.where, `${f}>=${a}`, `${f}<=${n}`]), f !== m && (g.where = Y([g.where, `${m}>=${s}`, `${m}<=${o}`])), await Fe({
|
|
5895
5843
|
queryObject: r,
|
|
@@ -5903,7 +5851,7 @@ async function Sl(t) {
|
|
|
5903
5851
|
abortSignal: u
|
|
5904
5852
|
});
|
|
5905
5853
|
}
|
|
5906
|
-
async function
|
|
5854
|
+
async function Sl(t) {
|
|
5907
5855
|
const {
|
|
5908
5856
|
statsMap: e,
|
|
5909
5857
|
chartConfig: i,
|
|
@@ -5925,7 +5873,7 @@ async function Fl(t) {
|
|
|
5925
5873
|
let N;
|
|
5926
5874
|
const B = e?.get(m) ?? Number.NaN, x = e?.get(g) ?? Number.NaN, v = e?.get(F) ?? Number.NaN, T = e?.get(y) ?? B, A = e?.get(p) ?? x;
|
|
5927
5875
|
if (B != null && T !== void 0 && T !== null && x !== void 0 && x !== null && A !== void 0 && A !== null && !Number.isNaN(B + x + T + A)) {
|
|
5928
|
-
const
|
|
5876
|
+
const P = W(r), { idField: I, isTraditionalTypeOID: w } = we(P), M = w ? I : "*", L = e?.get(C.scatterplotAggregationFields.xStep), O = e?.get(C.scatterplotAggregationFields.yStep), E = e?.get(C.scatterplotAggregationFields.realGridSize), z = e?.get(C.scatterplotAggregationFields.rowCount), U = e?.get(C.scatterplotAggregationFields.columnCount), R = /* @__PURE__ */ new Map(), ee = ve(r);
|
|
5929
5877
|
if (ee?.forEach((V) => {
|
|
5930
5878
|
Ct(V) && R.set(V.name, {
|
|
5931
5879
|
onStatisticField: V.name,
|
|
@@ -5938,7 +5886,7 @@ async function Fl(t) {
|
|
|
5938
5886
|
outStatisticFieldName: V.name,
|
|
5939
5887
|
statisticType: D.Maximum
|
|
5940
5888
|
});
|
|
5941
|
-
}), (await ya(
|
|
5889
|
+
}), (await ya(P)).forEach((V) => {
|
|
5942
5890
|
R.set(V, {
|
|
5943
5891
|
onStatisticField: V,
|
|
5944
5892
|
outStatisticFieldName: V,
|
|
@@ -5977,11 +5925,11 @@ async function Fl(t) {
|
|
|
5977
5925
|
});
|
|
5978
5926
|
} else if (z !== void 0 && U !== void 0) {
|
|
5979
5927
|
let V = 0;
|
|
5980
|
-
const { maxScatterCellsPerQuery: J, maxScatterCellsPerQueryForStandard: se } = Ut(), mt = await
|
|
5928
|
+
const { maxScatterCellsPerQuery: J, maxScatterCellsPerQueryForStandard: se } = Ut(), mt = await Fu(P, c) ? se : J, Tt = [];
|
|
5981
5929
|
let gt = !0, Le = B, Te = T, Je = "", Nt = 1, Zt = 1, At = Number.MAX_SAFE_INTEGER, wt = Number.MIN_SAFE_INTEGER, Lt = Number.MAX_SAFE_INTEGER, Pt = Number.MIN_SAFE_INTEGER;
|
|
5982
5930
|
for (; Zt <= U && gt; ) {
|
|
5983
5931
|
for (Te = T, Nt = 1; Nt <= z && gt; ) {
|
|
5984
|
-
if (Je =
|
|
5932
|
+
if (Je = pl({
|
|
5985
5933
|
groupByFieldsForStatistics: Je,
|
|
5986
5934
|
x: d,
|
|
5987
5935
|
y: f,
|
|
@@ -5999,7 +5947,7 @@ async function Fl(t) {
|
|
|
5999
5947
|
outStatistics: [...R.values()]
|
|
6000
5948
|
};
|
|
6001
5949
|
Tt.push(
|
|
6002
|
-
|
|
5950
|
+
hl({
|
|
6003
5951
|
chartConfig: i,
|
|
6004
5952
|
queryConfig: Ia,
|
|
6005
5953
|
queryObject: r,
|
|
@@ -6023,7 +5971,7 @@ async function Fl(t) {
|
|
|
6023
5971
|
}
|
|
6024
5972
|
return N;
|
|
6025
5973
|
}
|
|
6026
|
-
async function
|
|
5974
|
+
async function Fl(t) {
|
|
6027
5975
|
const { chartConfig: e, queryConfig: i, queryObject: r, errorStrings: a, abortKey: n, abortSignal: s } = t, o = e.series[0], { x: l, y: c } = o;
|
|
6028
5976
|
let u = /* @__PURE__ */ new Map();
|
|
6029
5977
|
const {
|
|
@@ -6074,7 +6022,7 @@ function Mt(t) {
|
|
|
6074
6022
|
const { value: e, valueMin: i, valueMax: r } = t;
|
|
6075
6023
|
return e === i || e === r ? e : Math.random() * (r - i) + i;
|
|
6076
6024
|
}
|
|
6077
|
-
function
|
|
6025
|
+
function bl(t) {
|
|
6078
6026
|
const { useQueryAttributeBins: e, graphic: i, x: r, y: a, yStep: n } = t, { groupByOutKeyword: s } = je, { dataContextXMinField: o, dataContextXMaxField: l, dataContextYMinField: c, dataContextYMaxField: u } = C.scatterplotAggregationFields;
|
|
6079
6027
|
let d = [];
|
|
6080
6028
|
if (e && "stackedAttributes" in i && i.stackedAttributes) {
|
|
@@ -6121,11 +6069,11 @@ function xl(t) {
|
|
|
6121
6069
|
}
|
|
6122
6070
|
return d;
|
|
6123
6071
|
}
|
|
6124
|
-
function
|
|
6072
|
+
function xl(t) {
|
|
6125
6073
|
const { chartConfig: e, rawData: i, isAggregationMode: r, yStep: a, useQueryAttributeBins: n } = t, s = e.series[0], { x: o, y: l } = s;
|
|
6126
6074
|
let u = (Array.isArray(i) ? i : i?.features)?.flatMap((d) => {
|
|
6127
6075
|
let f = [{ ...d.attributes }];
|
|
6128
|
-
return Bi(f[0], [o, l]), r ? f =
|
|
6076
|
+
return Bi(f[0], [o, l]), r ? f = bl({
|
|
6129
6077
|
useQueryAttributeBins: n,
|
|
6130
6078
|
graphic: d,
|
|
6131
6079
|
x: o,
|
|
@@ -6138,7 +6086,7 @@ function Cl(t) {
|
|
|
6138
6086
|
return Number.isFinite(d[o]) && Number.isFinite(d[l]) && (f === void 0 || d[f] !== je.groupByOutKeyword);
|
|
6139
6087
|
}), u ?? [];
|
|
6140
6088
|
}
|
|
6141
|
-
async function
|
|
6089
|
+
async function Cl(t) {
|
|
6142
6090
|
const { queryObject: e, queryConfig: i, chartConfig: r, featureCount: a, errorStrings: n, abortKey: s, abortSignal: o } = t, l = r.series[0], { x: c, y: u } = l, d = W(e);
|
|
6143
6091
|
let f = [];
|
|
6144
6092
|
const m = ve(e), g = Xt(d).idFields, y = (m?.filter((B) => Ct(B) && B.name !== c && B.name !== u) ?? []).map(
|
|
@@ -6147,7 +6095,7 @@ async function Bl(t) {
|
|
|
6147
6095
|
/* @__PURE__ */ new Set([c, u, ...g ?? [], ...y, ...p])
|
|
6148
6096
|
), b = pe(d);
|
|
6149
6097
|
if (b && !b.isTable) {
|
|
6150
|
-
const { rendererField: B, rendererNormalizationField: x } =
|
|
6098
|
+
const { rendererField: B, rendererNormalizationField: x } = pu(d?.renderer ?? void 0);
|
|
6151
6099
|
ae(B) || F.push(B), ae(x) || F.push(x);
|
|
6152
6100
|
}
|
|
6153
6101
|
const N = {
|
|
@@ -6165,7 +6113,7 @@ async function Bl(t) {
|
|
|
6165
6113
|
abortSignal: o
|
|
6166
6114
|
}), f;
|
|
6167
6115
|
}
|
|
6168
|
-
async function
|
|
6116
|
+
async function Bl(t) {
|
|
6169
6117
|
let e;
|
|
6170
6118
|
const {
|
|
6171
6119
|
chartConfig: i,
|
|
@@ -6182,7 +6130,7 @@ async function vl(t) {
|
|
|
6182
6130
|
} = t, m = i.series[0], { x: g, y } = m;
|
|
6183
6131
|
if (!Number.isNaN(s) && s > 0) {
|
|
6184
6132
|
const p = { ...r };
|
|
6185
|
-
p.where = Y([p.where, `${g} IS NOT NULL`, `${y} IS NOT NULL`]), l ? e = await
|
|
6133
|
+
p.where = Y([p.where, `${g} IS NOT NULL`, `${y} IS NOT NULL`]), l ? e = await Sl({
|
|
6186
6134
|
chartConfig: i,
|
|
6187
6135
|
queryObject: a,
|
|
6188
6136
|
queryConfig: p,
|
|
@@ -6192,7 +6140,7 @@ async function vl(t) {
|
|
|
6192
6140
|
errorStrings: u,
|
|
6193
6141
|
abortKey: d,
|
|
6194
6142
|
abortSignal: f
|
|
6195
|
-
}) : e = await
|
|
6143
|
+
}) : e = await Cl({
|
|
6196
6144
|
queryObject: a,
|
|
6197
6145
|
chartConfig: i,
|
|
6198
6146
|
queryConfig: p,
|
|
@@ -6218,9 +6166,9 @@ async function ia(t) {
|
|
|
6218
6166
|
} = t;
|
|
6219
6167
|
let u;
|
|
6220
6168
|
if (ie(r))
|
|
6221
|
-
u = await
|
|
6169
|
+
u = await ru(t);
|
|
6222
6170
|
else {
|
|
6223
|
-
const d = await
|
|
6171
|
+
const d = await Fl({
|
|
6224
6172
|
chartConfig: e,
|
|
6225
6173
|
queryConfig: i,
|
|
6226
6174
|
queryObject: r,
|
|
@@ -6231,7 +6179,7 @@ async function ia(t) {
|
|
|
6231
6179
|
maxScatterPointsBeforeAggregation: g,
|
|
6232
6180
|
scatterplot: { aggregationThreshold: y }
|
|
6233
6181
|
} = ut(s), p = d?.get(f) ?? Number.NaN, F = p >= (g ?? y), b = Bn(r);
|
|
6234
|
-
F && await
|
|
6182
|
+
F && await yl({
|
|
6235
6183
|
statsMap: d,
|
|
6236
6184
|
chartConfig: e,
|
|
6237
6185
|
queryObject: r,
|
|
@@ -6241,14 +6189,14 @@ async function ia(t) {
|
|
|
6241
6189
|
abortKey: l,
|
|
6242
6190
|
abortSignal: c
|
|
6243
6191
|
});
|
|
6244
|
-
const N = await
|
|
6192
|
+
const N = await Bl({
|
|
6245
6193
|
...t,
|
|
6246
6194
|
queryObject: r,
|
|
6247
6195
|
statsMap: d,
|
|
6248
6196
|
numberOfFeatures: p,
|
|
6249
6197
|
isAggregationMode: F,
|
|
6250
6198
|
useQueryAttributeBins: b
|
|
6251
|
-
}), B =
|
|
6199
|
+
}), B = xl({
|
|
6252
6200
|
chartConfig: e,
|
|
6253
6201
|
rawData: N,
|
|
6254
6202
|
isAggregationMode: F,
|
|
@@ -6277,7 +6225,7 @@ function di(t) {
|
|
|
6277
6225
|
const { queryIndex: e, batchSize: i, filterList: r } = t, a = e * i, n = (e + 1) * i;
|
|
6278
6226
|
return r.slice(a, n);
|
|
6279
6227
|
}
|
|
6280
|
-
function*
|
|
6228
|
+
function* vl(t) {
|
|
6281
6229
|
const { filterList: e, queryObject: i, queryConfig: r, errorStrings: a } = t;
|
|
6282
6230
|
for (let n = 0; n < e.length; n += 1) {
|
|
6283
6231
|
const s = { ...r };
|
|
@@ -6289,7 +6237,7 @@ function* Tl(t) {
|
|
|
6289
6237
|
});
|
|
6290
6238
|
}
|
|
6291
6239
|
}
|
|
6292
|
-
async function
|
|
6240
|
+
async function Wd(t) {
|
|
6293
6241
|
const { whereList: e, queryObject: i, queryFilter: r, queryConfig: a, errorStrings: n } = t;
|
|
6294
6242
|
let s = [];
|
|
6295
6243
|
if (e.length > 0) {
|
|
@@ -6298,7 +6246,7 @@ async function jd(t) {
|
|
|
6298
6246
|
const f = di({ queryIndex: d, batchSize: o, filterList: e });
|
|
6299
6247
|
l.push(Y([r, Y(f, "OR")]));
|
|
6300
6248
|
}
|
|
6301
|
-
const u =
|
|
6249
|
+
const u = vl({
|
|
6302
6250
|
filterList: l,
|
|
6303
6251
|
queryObject: i,
|
|
6304
6252
|
queryConfig: a,
|
|
@@ -6322,7 +6270,7 @@ function rt(t) {
|
|
|
6322
6270
|
[q.StandardDeviation]: `${e ? "" : `${t}_`}${q.StandardDeviation}`
|
|
6323
6271
|
};
|
|
6324
6272
|
}
|
|
6325
|
-
function
|
|
6273
|
+
function jd(t) {
|
|
6326
6274
|
return "subType" in t && t.subType === cr.FeatureGauge;
|
|
6327
6275
|
}
|
|
6328
6276
|
function Ti(t) {
|
|
@@ -6341,7 +6289,7 @@ function ti(t) {
|
|
|
6341
6289
|
const { dataItem: e, y: i, splitBy: r, showOutliers: a } = t, n = re({ key: q.FirstQuartile, y: i, splitBy: r, showOutliers: a }), s = re({ key: q.ThirdQuartile, y: i, splitBy: r, showOutliers: a });
|
|
6342
6290
|
return Number.isFinite(e[n]) || Number.isFinite(e[s]);
|
|
6343
6291
|
}
|
|
6344
|
-
function
|
|
6292
|
+
function Tl(t) {
|
|
6345
6293
|
const { configSeries: e, boxPlotDataItem: i, yList: r, showOutliers: a } = t, n = H(e);
|
|
6346
6294
|
let s = !1;
|
|
6347
6295
|
switch (n) {
|
|
@@ -6396,7 +6344,7 @@ function Ai(t) {
|
|
|
6396
6344
|
function Oe(t, e) {
|
|
6397
6345
|
return t === null && e === !0 || Number.isFinite(t);
|
|
6398
6346
|
}
|
|
6399
|
-
function
|
|
6347
|
+
function Nl(t) {
|
|
6400
6348
|
const {
|
|
6401
6349
|
dataItem: e,
|
|
6402
6350
|
x: i,
|
|
@@ -6407,7 +6355,7 @@ function Al(t) {
|
|
|
6407
6355
|
} = t, o = e[i], l = e[r];
|
|
6408
6356
|
return o !== void 0 && (typeof o != "number" || Number.isFinite(o)) && Oe(l, a) && (s !== D.Count || l !== 0 || n);
|
|
6409
6357
|
}
|
|
6410
|
-
function
|
|
6358
|
+
function Xd(t) {
|
|
6411
6359
|
const { chartConfig: e, nullAsValid: i = !1, zeroCountAsValid: r = !1, dataSet: a } = t;
|
|
6412
6360
|
let n = !0;
|
|
6413
6361
|
if (e !== void 0) {
|
|
@@ -6437,7 +6385,7 @@ function Yd(t) {
|
|
|
6437
6385
|
case h.BarSeries: {
|
|
6438
6386
|
const u = l, { x: d } = e.series[0];
|
|
6439
6387
|
c = o.some(
|
|
6440
|
-
(f) =>
|
|
6388
|
+
(f) => Nl({
|
|
6441
6389
|
dataItem: u,
|
|
6442
6390
|
x: d,
|
|
6443
6391
|
y: f,
|
|
@@ -6451,7 +6399,7 @@ function Yd(t) {
|
|
|
6451
6399
|
case h.BoxPlotSeries: {
|
|
6452
6400
|
if (de(e)) {
|
|
6453
6401
|
const u = e.series;
|
|
6454
|
-
c =
|
|
6402
|
+
c = Tl({
|
|
6455
6403
|
configSeries: u,
|
|
6456
6404
|
boxPlotDataItem: l,
|
|
6457
6405
|
yList: o,
|
|
@@ -6487,7 +6435,7 @@ function Yd(t) {
|
|
|
6487
6435
|
}
|
|
6488
6436
|
return n;
|
|
6489
6437
|
}
|
|
6490
|
-
function
|
|
6438
|
+
function Al(t, e) {
|
|
6491
6439
|
const i = /* @__PURE__ */ new Map(), r = e ?? Ni(t);
|
|
6492
6440
|
return t.forEach((a) => {
|
|
6493
6441
|
if (r.includes(a.id) && "y" in a) {
|
|
@@ -6496,8 +6444,8 @@ function wl(t, e) {
|
|
|
6496
6444
|
}
|
|
6497
6445
|
}), i;
|
|
6498
6446
|
}
|
|
6499
|
-
function
|
|
6500
|
-
const { seriesConfig: e, filteredSeriesIds: i, filteredData: r } = t, a =
|
|
6447
|
+
function wl(t) {
|
|
6448
|
+
const { seriesConfig: e, filteredSeriesIds: i, filteredData: r } = t, a = Al(e, i), n = e.find(
|
|
6501
6449
|
(c) => c.type === h.LineSeries || c.type === h.RadarSeries
|
|
6502
6450
|
)?.stackNegativeValuesToBaseline ?? !0;
|
|
6503
6451
|
let s = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER, l = !1;
|
|
@@ -6521,7 +6469,7 @@ function Ll(t) {
|
|
|
6521
6469
|
});
|
|
6522
6470
|
}), { stackedMinY: o, stackedMaxY: s, dataHasNegativeValues: l };
|
|
6523
6471
|
}
|
|
6524
|
-
function
|
|
6472
|
+
function Ll(t) {
|
|
6525
6473
|
const { dataItem: e, ...i } = t, r = re({ key: q.Min, ...i }), a = re({ key: q.Max, ...i }), n = e[r], s = e[a];
|
|
6526
6474
|
return { min: n, max: s };
|
|
6527
6475
|
}
|
|
@@ -6544,7 +6492,7 @@ function Ki(t) {
|
|
|
6544
6492
|
m.forEach((b) => {
|
|
6545
6493
|
const N = g === S.BoxPlotMultiFieldsAndCategory ? b : void 0;
|
|
6546
6494
|
p.forEach((B) => {
|
|
6547
|
-
const { min: x, max: v } =
|
|
6495
|
+
const { min: x, max: v } = Ll({
|
|
6548
6496
|
y: N,
|
|
6549
6497
|
splitByValue: B,
|
|
6550
6498
|
chartSubType: g,
|
|
@@ -6561,7 +6509,7 @@ function Ki(t) {
|
|
|
6561
6509
|
// we should keep the intention of the function purely as it is, meaning retrieving the min/max values from the stacked series.
|
|
6562
6510
|
case Ae.Stacked100:
|
|
6563
6511
|
case Ae.Stacked: {
|
|
6564
|
-
const { stackedMinY: g, stackedMaxY: y } =
|
|
6512
|
+
const { stackedMinY: g, stackedMaxY: y } = wl({
|
|
6565
6513
|
seriesConfig: l,
|
|
6566
6514
|
filteredData: d,
|
|
6567
6515
|
filteredSeriesIds: o
|
|
@@ -6585,7 +6533,7 @@ function Ki(t) {
|
|
|
6585
6533
|
}
|
|
6586
6534
|
return { minY: e, maxY: i, minX: r, maxX: a };
|
|
6587
6535
|
}
|
|
6588
|
-
function
|
|
6536
|
+
function Pl(t) {
|
|
6589
6537
|
const { chartConfig: e, isSecondaryYAxis: i, seriesIds: r } = t;
|
|
6590
6538
|
let a = r;
|
|
6591
6539
|
return e.axes?.length === 3 && (a = e.series.map((n) => {
|
|
@@ -6617,7 +6565,7 @@ function na(t) {
|
|
|
6617
6565
|
a = fi(n, s);
|
|
6618
6566
|
}
|
|
6619
6567
|
} else {
|
|
6620
|
-
const n =
|
|
6568
|
+
const n = Pl({
|
|
6621
6569
|
chartConfig: e,
|
|
6622
6570
|
isSecondaryYAxis: r === 2
|
|
6623
6571
|
}), { minY: s, maxY: o } = Ki({
|
|
@@ -6629,13 +6577,13 @@ function na(t) {
|
|
|
6629
6577
|
}
|
|
6630
6578
|
return a;
|
|
6631
6579
|
}
|
|
6632
|
-
function
|
|
6580
|
+
function Yd(t) {
|
|
6633
6581
|
const { chartConfig: e, axisConfigIndex: i, chartData: r } = t;
|
|
6634
6582
|
let a = !0;
|
|
6635
6583
|
const n = e?.axes?.[i];
|
|
6636
6584
|
return e && r && n?.isLogarithmic === !0 && (a = !na({ chartConfig: e, chartData: r, axisConfigIndex: i })), a;
|
|
6637
6585
|
}
|
|
6638
|
-
function
|
|
6586
|
+
function Ml(t, e) {
|
|
6639
6587
|
const i = t;
|
|
6640
6588
|
if (e?.[0] !== void 0 && H(e) === S.PieFromFields) {
|
|
6641
6589
|
const { x: r, y: a } = e[0];
|
|
@@ -6643,7 +6591,7 @@ function Il(t, e) {
|
|
|
6643
6591
|
}
|
|
6644
6592
|
return i;
|
|
6645
6593
|
}
|
|
6646
|
-
function
|
|
6594
|
+
function Il(t, e) {
|
|
6647
6595
|
const i = Q(e);
|
|
6648
6596
|
let r = t;
|
|
6649
6597
|
const a = e?.[0];
|
|
@@ -6674,7 +6622,7 @@ function er(t) {
|
|
|
6674
6622
|
const r = Ht(e);
|
|
6675
6623
|
return r.isInItem && delete e[r.expr ?? ""], e;
|
|
6676
6624
|
}
|
|
6677
|
-
function
|
|
6625
|
+
function Dl(t, e) {
|
|
6678
6626
|
let i = t;
|
|
6679
6627
|
const r = Q(e);
|
|
6680
6628
|
let a = Ti(i);
|
|
@@ -6700,16 +6648,16 @@ function Ol(t, e) {
|
|
|
6700
6648
|
}
|
|
6701
6649
|
return i;
|
|
6702
6650
|
}
|
|
6703
|
-
const
|
|
6651
|
+
const Zd = (t, e) => {
|
|
6704
6652
|
const i = 10 ** e;
|
|
6705
6653
|
return Math.round(t * i) / i;
|
|
6706
6654
|
};
|
|
6707
|
-
function
|
|
6655
|
+
function Jd(t) {
|
|
6708
6656
|
const { data: e, seriesConfig: i } = t;
|
|
6709
6657
|
let r = Re(e);
|
|
6710
|
-
return r !== void 0 && (r =
|
|
6658
|
+
return r !== void 0 && (r = Il(r, i), r = Dl(r, i), r = Ml(r, i)), r;
|
|
6711
6659
|
}
|
|
6712
|
-
function
|
|
6660
|
+
function Ol(t) {
|
|
6713
6661
|
const { dataFetchingResults: e, series: i } = t, r = Q(i), a = H(i);
|
|
6714
6662
|
let n = [];
|
|
6715
6663
|
const s = /* @__PURE__ */ new Map(), o = e.length;
|
|
@@ -6752,7 +6700,7 @@ function El(t) {
|
|
|
6752
6700
|
}
|
|
6753
6701
|
return s.size > 0 && (n = Array.from(s.values())), n;
|
|
6754
6702
|
}
|
|
6755
|
-
async function
|
|
6703
|
+
async function El(t) {
|
|
6756
6704
|
const {
|
|
6757
6705
|
selectionOIDs: e,
|
|
6758
6706
|
selectionFilters: i,
|
|
@@ -6771,21 +6719,21 @@ async function ql(t) {
|
|
|
6771
6719
|
view: y
|
|
6772
6720
|
} = t, { series: p } = r, F = Q(p), b = [], { maxOIDsPerSelectionQuery: N, maxElementsPerSelectionQuery: B } = Ut(), x = i && i.length > 0 ? Math.ceil(i.length / B) : void 0, v = Math.ceil(e.length / N), T = x ? x <= v : !1, A = (T ? x : v) ?? 1;
|
|
6773
6721
|
for (let I = 0; I < A; I += 1) {
|
|
6774
|
-
const
|
|
6722
|
+
const w = { ...a };
|
|
6775
6723
|
if (T && i) {
|
|
6776
6724
|
const M = di({
|
|
6777
6725
|
queryIndex: I,
|
|
6778
6726
|
batchSize: B,
|
|
6779
6727
|
filterList: i
|
|
6780
6728
|
});
|
|
6781
|
-
|
|
6729
|
+
w.where = Y([w.where, Y(M, "OR")]);
|
|
6782
6730
|
} else {
|
|
6783
6731
|
const M = di({
|
|
6784
6732
|
queryIndex: I,
|
|
6785
6733
|
batchSize: N,
|
|
6786
6734
|
filterList: e
|
|
6787
6735
|
});
|
|
6788
|
-
|
|
6736
|
+
w.objectIds = M;
|
|
6789
6737
|
}
|
|
6790
6738
|
switch (F) {
|
|
6791
6739
|
case h.HeatSeries:
|
|
@@ -6795,7 +6743,7 @@ async function ql(t) {
|
|
|
6795
6743
|
// we do not want the empty bins to be added for the selection
|
|
6796
6744
|
fetchMatrixUniqueCategories: !1,
|
|
6797
6745
|
chartConfig: r,
|
|
6798
|
-
queryConfig:
|
|
6746
|
+
queryConfig: w,
|
|
6799
6747
|
queryObject: s,
|
|
6800
6748
|
errorStrings: n,
|
|
6801
6749
|
chartLimits: u,
|
|
@@ -6821,7 +6769,7 @@ async function ql(t) {
|
|
|
6821
6769
|
"temporalBinning" in M.series[0] && M.series[0].temporalBinning && (M.series[0].temporalBinning.trimIncompleteTimeInterval = !1, st(o, s) && (delete M.series[0].temporalBinning.start, delete M.series[0].temporalBinning.end)), b.push(
|
|
6822
6770
|
vi({
|
|
6823
6771
|
chartConfig: M,
|
|
6824
|
-
queryConfig:
|
|
6772
|
+
queryConfig: w,
|
|
6825
6773
|
queryObject: s,
|
|
6826
6774
|
chartLimits: u,
|
|
6827
6775
|
setTimeBinningInfoWhenNotProvided: d,
|
|
@@ -6834,7 +6782,7 @@ async function ql(t) {
|
|
|
6834
6782
|
);
|
|
6835
6783
|
} else
|
|
6836
6784
|
b.push(
|
|
6837
|
-
|
|
6785
|
+
dl({
|
|
6838
6786
|
queryObject: s,
|
|
6839
6787
|
chartConfig: r,
|
|
6840
6788
|
chartLimits: u,
|
|
@@ -6843,13 +6791,13 @@ async function ql(t) {
|
|
|
6843
6791
|
returnStatisticsAggregatedIds: m,
|
|
6844
6792
|
popupTemplateFieldInfosEnabled: g,
|
|
6845
6793
|
errorStrings: n,
|
|
6846
|
-
queryConfig:
|
|
6794
|
+
queryConfig: w
|
|
6847
6795
|
})
|
|
6848
6796
|
);
|
|
6849
6797
|
break;
|
|
6850
6798
|
case h.BoxPlotSeries:
|
|
6851
6799
|
b.push(
|
|
6852
|
-
|
|
6800
|
+
fl({
|
|
6853
6801
|
queryObject: s,
|
|
6854
6802
|
chartConfig: r,
|
|
6855
6803
|
replaceNoValueCategoryWithZero: l,
|
|
@@ -6861,7 +6809,7 @@ async function ql(t) {
|
|
|
6861
6809
|
popupTemplateFieldInfosEnabled: g,
|
|
6862
6810
|
view: y,
|
|
6863
6811
|
errorStrings: n,
|
|
6864
|
-
queryConfig:
|
|
6812
|
+
queryConfig: w
|
|
6865
6813
|
})
|
|
6866
6814
|
);
|
|
6867
6815
|
break;
|
|
@@ -6870,7 +6818,7 @@ async function ql(t) {
|
|
|
6870
6818
|
ia({
|
|
6871
6819
|
queryObject: s,
|
|
6872
6820
|
chartConfig: r,
|
|
6873
|
-
queryConfig:
|
|
6821
|
+
queryConfig: w,
|
|
6874
6822
|
replaceNoValueCategoryWithZero: l,
|
|
6875
6823
|
hideZeroCountCategories: c,
|
|
6876
6824
|
chartLimits: u,
|
|
@@ -6891,7 +6839,7 @@ async function ql(t) {
|
|
|
6891
6839
|
b.push(
|
|
6892
6840
|
xs({
|
|
6893
6841
|
queryObject: s,
|
|
6894
|
-
queryConfig:
|
|
6842
|
+
queryConfig: w,
|
|
6895
6843
|
chartConfig: r,
|
|
6896
6844
|
x: p[0].x,
|
|
6897
6845
|
errorStrings: n
|
|
@@ -6902,7 +6850,7 @@ async function ql(t) {
|
|
|
6902
6850
|
}
|
|
6903
6851
|
return await Promise.all(b);
|
|
6904
6852
|
}
|
|
6905
|
-
async function
|
|
6853
|
+
async function Kd(t) {
|
|
6906
6854
|
const {
|
|
6907
6855
|
chartConfig: e,
|
|
6908
6856
|
chartData: i,
|
|
@@ -6924,23 +6872,23 @@ async function ef(t) {
|
|
|
6924
6872
|
selectionData: b
|
|
6925
6873
|
} = t, { series: N } = e, { selectionItems: B, selectionOIDs: x } = b ?? {};
|
|
6926
6874
|
let v;
|
|
6927
|
-
const T = Q(N), A = W(s),
|
|
6928
|
-
if (y !== !0 && f !== !1 && x !== void 0 && x.length > 0 && (r === !0 ||
|
|
6929
|
-
const
|
|
6875
|
+
const T = Q(N), A = W(s), P = T !== h.HistogramSeries && T !== h.HeatSeries && B !== void 0 && B.length > 0 && !(N[0].x in B[0]) && !(fe in B[0]) && !(C.boxPlot.boxPlotCategory in B[0]);
|
|
6876
|
+
if (y !== !0 && f !== !1 && x !== void 0 && x.length > 0 && (r === !0 || P || l)) {
|
|
6877
|
+
const w = Ti(i), M = ha({
|
|
6930
6878
|
queryObject: s,
|
|
6931
6879
|
chartConfig: e,
|
|
6932
6880
|
runtimeDataFilters: p,
|
|
6933
6881
|
ignoreViewExtent: F,
|
|
6934
6882
|
view: g
|
|
6935
6883
|
}), L = ne(e.series[0]?.query?.where), O = ue(e.series), E = Me(e.series[0].query?.where);
|
|
6936
|
-
if (
|
|
6937
|
-
v =
|
|
6884
|
+
if (w && !ql(w) && w.some((z) => A.objectIdField in z))
|
|
6885
|
+
v = w.filter((z) => {
|
|
6938
6886
|
const U = z[A.objectIdField];
|
|
6939
6887
|
return (typeof U == "number" || typeof U == "string") && x.includes(U);
|
|
6940
6888
|
});
|
|
6941
|
-
else if (
|
|
6889
|
+
else if (w) {
|
|
6942
6890
|
const z = [];
|
|
6943
|
-
|
|
6891
|
+
w?.some(
|
|
6944
6892
|
(X) => Object.keys(X).some((Z) => {
|
|
6945
6893
|
let V = !1;
|
|
6946
6894
|
if (Z.startsWith(k.uniqueIds)) {
|
|
@@ -6949,7 +6897,7 @@ async function ef(t) {
|
|
|
6949
6897
|
}
|
|
6950
6898
|
return V;
|
|
6951
6899
|
})
|
|
6952
|
-
) &&
|
|
6900
|
+
) && w && (v = Re(w).filter((X) => {
|
|
6953
6901
|
let Z = !1;
|
|
6954
6902
|
const V = [];
|
|
6955
6903
|
return Object.keys(X).forEach((J) => {
|
|
@@ -6964,8 +6912,8 @@ async function ef(t) {
|
|
|
6964
6912
|
}), Z;
|
|
6965
6913
|
}));
|
|
6966
6914
|
const R = new Set(z), ee = x.filter((X) => !R.has(X));
|
|
6967
|
-
if (ee?.[0] !== void 0 && M && v?.length !==
|
|
6968
|
-
const X = await
|
|
6915
|
+
if (ee?.[0] !== void 0 && M && v?.length !== w.length) {
|
|
6916
|
+
const X = await El({
|
|
6969
6917
|
selectionOIDs: ee,
|
|
6970
6918
|
selectionFilters: b?.selectionFilters,
|
|
6971
6919
|
queryConfig: M,
|
|
@@ -6983,7 +6931,7 @@ async function ef(t) {
|
|
|
6983
6931
|
chartConfig: e
|
|
6984
6932
|
});
|
|
6985
6933
|
v ??= [], v.push(
|
|
6986
|
-
...
|
|
6934
|
+
...Ol({
|
|
6987
6935
|
dataFetchingResults: X,
|
|
6988
6936
|
series: N
|
|
6989
6937
|
})
|
|
@@ -6993,16 +6941,16 @@ async function ef(t) {
|
|
|
6993
6941
|
}
|
|
6994
6942
|
return v;
|
|
6995
6943
|
}
|
|
6996
|
-
function
|
|
6944
|
+
function ql(t) {
|
|
6997
6945
|
return t.length > 0 && t[0].type === h.HistogramBin;
|
|
6998
6946
|
}
|
|
6999
|
-
const
|
|
6947
|
+
const ef = {
|
|
7000
6948
|
shouldCheckDataMinMaxForLogScaleOnXAxis: aa,
|
|
7001
6949
|
minMaxHasZeroOrNegativeValues: fi,
|
|
7002
6950
|
isChartWithZeroOrNegativeValues: na,
|
|
7003
6951
|
getAllSeriesIDs: Ni
|
|
7004
6952
|
};
|
|
7005
|
-
function
|
|
6953
|
+
function tf(t) {
|
|
7006
6954
|
const { chartConfig: e, queryObject: i } = t;
|
|
7007
6955
|
let r = !1;
|
|
7008
6956
|
if (e.chartRenderer)
|
|
@@ -7036,10 +6984,10 @@ function rf(t) {
|
|
|
7036
6984
|
}
|
|
7037
6985
|
return r;
|
|
7038
6986
|
}
|
|
7039
|
-
function
|
|
6987
|
+
function Rl(t, e) {
|
|
7040
6988
|
return ns(t?.type) ?? e?.type;
|
|
7041
6989
|
}
|
|
7042
|
-
function
|
|
6990
|
+
function Vl(t) {
|
|
7043
6991
|
const e = C.rendererSymbolField;
|
|
7044
6992
|
let i = e in t ? e : void 0;
|
|
7045
6993
|
if (!i) {
|
|
@@ -7051,13 +6999,13 @@ function $l(t) {
|
|
|
7051
6999
|
}
|
|
7052
7000
|
return t[i]?.label;
|
|
7053
7001
|
}
|
|
7054
|
-
function
|
|
7002
|
+
function $l(t) {
|
|
7055
7003
|
return t?.type !== void 0 && (t.color !== void 0 || t.label !== void 0 || t.style !== void 0 || t.outline !== void 0);
|
|
7056
7004
|
}
|
|
7057
7005
|
function sa(t) {
|
|
7058
7006
|
const { symbolField: e, dataItem: i, rendererSymbol: r, rendererOrigin: a } = t;
|
|
7059
7007
|
let n = !1;
|
|
7060
|
-
if (
|
|
7008
|
+
if (!$l(r))
|
|
7061
7009
|
delete i[e];
|
|
7062
7010
|
else {
|
|
7063
7011
|
const s = { ...r };
|
|
@@ -7065,7 +7013,7 @@ function sa(t) {
|
|
|
7065
7013
|
}
|
|
7066
7014
|
return n;
|
|
7067
7015
|
}
|
|
7068
|
-
function
|
|
7016
|
+
function kl(t) {
|
|
7069
7017
|
const { renderer: e, seriesConfig: i, chartSubType: r, dataItem: a, rendererOrigin: n } = t;
|
|
7070
7018
|
let s, o = !1;
|
|
7071
7019
|
const l = Q(i), { outline: c, attributes: u } = e;
|
|
@@ -7107,7 +7055,7 @@ function Ql(t) {
|
|
|
7107
7055
|
}
|
|
7108
7056
|
), { rendererSymbol: s, colorMatchApplied: o };
|
|
7109
7057
|
}
|
|
7110
|
-
function
|
|
7058
|
+
function Ql(t) {
|
|
7111
7059
|
const { seriesConfig: e, chartSubType: i, rendererType: r } = t;
|
|
7112
7060
|
let n = C.rendererSymbolField;
|
|
7113
7061
|
if (r === ce.UniqueValue) {
|
|
@@ -7136,14 +7084,14 @@ function _l(t) {
|
|
|
7136
7084
|
}
|
|
7137
7085
|
function oa(t) {
|
|
7138
7086
|
const { seriesConfig: e, chartSubType: i, rendererType: r, dataItem: a } = t;
|
|
7139
|
-
let n =
|
|
7087
|
+
let n = Ql({
|
|
7140
7088
|
seriesConfig: e,
|
|
7141
7089
|
chartSubType: i,
|
|
7142
7090
|
rendererType: r
|
|
7143
7091
|
});
|
|
7144
7092
|
return n instanceof Array && e.type === h.BoxPlotSeries && r === ce.PieChart && a !== void 0 && (n = n.find((s) => s === a[zt]) ?? n[0]), n = n !== C.rendererSymbolField ? `${C.rendererSymbolField}_${n.toString()}` : n, n;
|
|
7145
7093
|
}
|
|
7146
|
-
function
|
|
7094
|
+
function _l(t) {
|
|
7147
7095
|
const { chartRenderer: e, queryObject: i } = t, r = e !== void 0 ? {
|
|
7148
7096
|
// TODO: find a better way to copy the layer. For now it's all right as the information we need are not lost with the spread operator
|
|
7149
7097
|
// eslint-disable-next-line @typescript-eslint/no-misused-spread
|
|
@@ -7154,7 +7102,7 @@ function Hl(t) {
|
|
|
7154
7102
|
layer: r
|
|
7155
7103
|
});
|
|
7156
7104
|
}
|
|
7157
|
-
async function
|
|
7105
|
+
async function Hl(t) {
|
|
7158
7106
|
const {
|
|
7159
7107
|
seriesConfig: e,
|
|
7160
7108
|
dataItem: i,
|
|
@@ -7169,7 +7117,7 @@ async function zl(t) {
|
|
|
7169
7117
|
} = t;
|
|
7170
7118
|
let d, f = !1;
|
|
7171
7119
|
if (a === ce.PieChart) {
|
|
7172
|
-
const m =
|
|
7120
|
+
const m = kl({
|
|
7173
7121
|
renderer: r,
|
|
7174
7122
|
seriesConfig: e,
|
|
7175
7123
|
chartSubType: s,
|
|
@@ -7203,7 +7151,7 @@ async function zl(t) {
|
|
|
7203
7151
|
Q(e) === h.HistogramSeries ? C.rendererSymbolFieldForHistogram : C.rendererSymbolField,
|
|
7204
7152
|
{
|
|
7205
7153
|
...i,
|
|
7206
|
-
[m]:
|
|
7154
|
+
[m]: jl(i)
|
|
7207
7155
|
}
|
|
7208
7156
|
);
|
|
7209
7157
|
try {
|
|
@@ -7255,7 +7203,7 @@ function tr(t) {
|
|
|
7255
7203
|
i[n] === (a === "encode" ? null : C.nullValue) && (i[n] = a === "encode" ? C.nullValue : null);
|
|
7256
7204
|
});
|
|
7257
7205
|
}
|
|
7258
|
-
function
|
|
7206
|
+
function zl(t) {
|
|
7259
7207
|
const { dataItem: e, seriesConfig: i, chartSubType: r, colorMatch: a, rendererType: n } = t;
|
|
7260
7208
|
let s;
|
|
7261
7209
|
if (a && e !== void 0) {
|
|
@@ -7269,7 +7217,7 @@ function Ul(t) {
|
|
|
7269
7217
|
}
|
|
7270
7218
|
return s;
|
|
7271
7219
|
}
|
|
7272
|
-
function
|
|
7220
|
+
function rf(t) {
|
|
7273
7221
|
const { seriesSymbol: e, rendererSymbol: i, colorIndex: r } = t;
|
|
7274
7222
|
let a = i?.color ?? e.color;
|
|
7275
7223
|
a = a ?? mr({ colorIndex: r, opacity: yr });
|
|
@@ -7284,19 +7232,19 @@ function af(t) {
|
|
|
7284
7232
|
color: i?.outline?.color ?? n.outline?.color ?? i?.color
|
|
7285
7233
|
}), n;
|
|
7286
7234
|
}
|
|
7287
|
-
function
|
|
7235
|
+
function Ul(t) {
|
|
7288
7236
|
let e = [];
|
|
7289
7237
|
return t && (e = t.series.flatMap((i) => i.query?.outStatistics?.map((r) => r.onStatisticField)).filter((i) => i !== void 0), e.length === 0 && (e = ue(t.series))), e;
|
|
7290
7238
|
}
|
|
7291
|
-
function
|
|
7239
|
+
function af(t, e) {
|
|
7292
7240
|
let i = !1;
|
|
7293
7241
|
if (t && e && e.length > 0 && or(t)) {
|
|
7294
7242
|
const a = ls(t), n = _e(t);
|
|
7295
|
-
a ? i =
|
|
7243
|
+
a ? i = Ul(t).some((o) => e.includes(o)) : i = e.includes(n.x);
|
|
7296
7244
|
}
|
|
7297
7245
|
return i;
|
|
7298
7246
|
}
|
|
7299
|
-
function
|
|
7247
|
+
function Gl(t) {
|
|
7300
7248
|
let e = [];
|
|
7301
7249
|
if (t && "type" in t && typeof t.type == "string")
|
|
7302
7250
|
switch (t.type) {
|
|
@@ -7315,7 +7263,7 @@ function Wl(t) {
|
|
|
7315
7263
|
}
|
|
7316
7264
|
return e;
|
|
7317
7265
|
}
|
|
7318
|
-
function
|
|
7266
|
+
function Wl(t) {
|
|
7319
7267
|
let e;
|
|
7320
7268
|
return t?.[0] !== void 0 && (e = t.reduce(
|
|
7321
7269
|
(i, r) => ({
|
|
@@ -7333,8 +7281,8 @@ function ir(t) {
|
|
|
7333
7281
|
let o = e;
|
|
7334
7282
|
const { originalXValue: l } = C;
|
|
7335
7283
|
if (i !== void 0) {
|
|
7336
|
-
const c = n ?
|
|
7337
|
-
r !== void 0 && i[r] !== void 0 ? o = i[r] : c !== void 0 ? o = c : i[C.xAxisDisplayField] !== void 0 ? o = i[C.xAxisDisplayField] : i[C.xAxisField] !== void 0 ? o = i[C.xAxisField] : i[C.boxPlot.boxPlotCategory] !== void 0 ? o = i[C.boxPlot.boxPlotCategory] : i[l] !== void 0 ? o = i[l] : i[fe] !== void 0 && (o = i[fe]), !a && (o === null || o === C.nullValue) && (o =
|
|
7284
|
+
const c = n ? Vl(i) : void 0;
|
|
7285
|
+
r !== void 0 && i[r] !== void 0 ? o = i[r] : c !== void 0 ? o = c : i[C.xAxisDisplayField] !== void 0 ? o = i[C.xAxisDisplayField] : i[C.xAxisField] !== void 0 ? o = i[C.xAxisField] : i[C.boxPlot.boxPlotCategory] !== void 0 ? o = i[C.boxPlot.boxPlotCategory] : i[l] !== void 0 ? o = i[l] : i[fe] !== void 0 && (o = i[fe]), !a && (o === null || o === C.nullValue) && (o = Yu(s) ?? C.nullCategory?.text ?? "null");
|
|
7338
7286
|
}
|
|
7339
7287
|
return o;
|
|
7340
7288
|
}
|
|
@@ -7344,7 +7292,7 @@ function wi(t) {
|
|
|
7344
7292
|
const { originalXValue: a } = C;
|
|
7345
7293
|
return i?.[a] !== void 0 ? r = i[a] : i?.[fe] !== void 0 && (r = i[fe]), r;
|
|
7346
7294
|
}
|
|
7347
|
-
function
|
|
7295
|
+
function jl(t) {
|
|
7348
7296
|
return t?.[C.originalXValue];
|
|
7349
7297
|
}
|
|
7350
7298
|
function xt(t) {
|
|
@@ -7378,7 +7326,7 @@ function xt(t) {
|
|
|
7378
7326
|
});
|
|
7379
7327
|
}
|
|
7380
7328
|
}
|
|
7381
|
-
function
|
|
7329
|
+
function Xl(t) {
|
|
7382
7330
|
const { arrayToSort: e, orderBy: i, sortingField: r, fieldList: a, isByFieldsChart: n, preferLabel: s } = t;
|
|
7383
7331
|
e !== void 0 && e.length > 1 && !ae(r) && i !== void 0 && i.length > 0 && e.sort((o, l) => {
|
|
7384
7332
|
let c = o[r];
|
|
@@ -7391,7 +7339,7 @@ function Yl(t) {
|
|
|
7391
7339
|
return f === -1 && (f = i.length), u - f;
|
|
7392
7340
|
});
|
|
7393
7341
|
}
|
|
7394
|
-
function
|
|
7342
|
+
function Yl(t, e) {
|
|
7395
7343
|
let i = t;
|
|
7396
7344
|
switch (e) {
|
|
7397
7345
|
case K.Log:
|
|
@@ -7425,7 +7373,7 @@ function Vt(t) {
|
|
|
7425
7373
|
}
|
|
7426
7374
|
return n;
|
|
7427
7375
|
}
|
|
7428
|
-
function
|
|
7376
|
+
function Zl(t, e) {
|
|
7429
7377
|
let i = !0;
|
|
7430
7378
|
if (t !== void 0 && t.length > 1 && !ae(e)) {
|
|
7431
7379
|
let r = 0, a = 0, n = 0;
|
|
@@ -7466,10 +7414,10 @@ function la(t, e) {
|
|
|
7466
7414
|
maxRadarThreePlusSeriesCountPerSeries: x,
|
|
7467
7415
|
maxRadarThreePlusSeriesCountTotal: v,
|
|
7468
7416
|
serialChart: { series: T, elements: A },
|
|
7469
|
-
pieChart: { slices:
|
|
7417
|
+
pieChart: { slices: P },
|
|
7470
7418
|
gauge: { features: I }
|
|
7471
|
-
} = ut(e),
|
|
7472
|
-
switch (
|
|
7419
|
+
} = ut(e), w = Q(t.series), M = t.series.length === 0 ? 1 : t.series.length, L = H(t.series);
|
|
7420
|
+
switch (w) {
|
|
7473
7421
|
case h.ComboLineAndBarSeries:
|
|
7474
7422
|
case h.BarSeries:
|
|
7475
7423
|
M <= (r ?? T) && (M === 1 ? i = a ?? A : M === 2 ? i = tt({
|
|
@@ -7505,7 +7453,7 @@ function la(t, e) {
|
|
|
7505
7453
|
})));
|
|
7506
7454
|
break;
|
|
7507
7455
|
case h.PieSeries:
|
|
7508
|
-
i = y ??
|
|
7456
|
+
i = y ?? P;
|
|
7509
7457
|
break;
|
|
7510
7458
|
case h.GaugeSeries:
|
|
7511
7459
|
i = p ?? I;
|
|
@@ -7526,7 +7474,7 @@ function rr(t, e) {
|
|
|
7526
7474
|
}
|
|
7527
7475
|
return i;
|
|
7528
7476
|
}
|
|
7529
|
-
function
|
|
7477
|
+
function Jl(t) {
|
|
7530
7478
|
let e = !1;
|
|
7531
7479
|
if (t !== void 0) {
|
|
7532
7480
|
const i = t.replace(" ", ""), r = /^%(0*100{1,1}\.?((?:\.)0*)?$)|(^%0*\d{0,2}\.?((?:\.)\d*)?)$/u, a = /^(0*100{1,1}\.?((?:\.)0*)?%$)|(^0*\d{0,2}\.?((?:\.)\d*)?%)$/u;
|
|
@@ -7534,16 +7482,16 @@ function Kl(t) {
|
|
|
7534
7482
|
}
|
|
7535
7483
|
return e;
|
|
7536
7484
|
}
|
|
7537
|
-
function
|
|
7485
|
+
function nf(t) {
|
|
7538
7486
|
let e;
|
|
7539
|
-
if (
|
|
7487
|
+
if (Jl(t)) {
|
|
7540
7488
|
const i = /%(\d{1,3}(.\d+)?)$/u, r = /(\d{1,3}(.\d+)?)%$/u, a = t.replace(" ", ""), n = i.exec(a)?.[1] ?? r.exec(a)?.[1];
|
|
7541
7489
|
n !== void 0 && (e = Number(n));
|
|
7542
7490
|
}
|
|
7543
7491
|
return e;
|
|
7544
7492
|
}
|
|
7545
|
-
const
|
|
7546
|
-
function
|
|
7493
|
+
const Kl = 50, eu = 4194304;
|
|
7494
|
+
function tu(t) {
|
|
7547
7495
|
const { layer: e, chartConfig: i, rawData: r } = t;
|
|
7548
7496
|
let a;
|
|
7549
7497
|
const n = i.series[0], { x: s, y: o } = n, { idField: l } = we(e), c = Xe(e);
|
|
@@ -7560,7 +7508,7 @@ function iu(t) {
|
|
|
7560
7508
|
}
|
|
7561
7509
|
return a ?? [];
|
|
7562
7510
|
}
|
|
7563
|
-
async function
|
|
7511
|
+
async function iu(t) {
|
|
7564
7512
|
const { queryObject: e, queryConfig: i, filterByViewExtent: r, abortKey: a, abortSignal: n } = t, s = n ?? (a !== void 0 ? Ue.get(a)?.signal : void 0);
|
|
7565
7513
|
if (!e || !ie(e))
|
|
7566
7514
|
throw new oe(le.LayerNotSupported);
|
|
@@ -7574,16 +7522,16 @@ async function ru(t) {
|
|
|
7574
7522
|
f && (c = f);
|
|
7575
7523
|
} catch {
|
|
7576
7524
|
}
|
|
7577
|
-
return await
|
|
7525
|
+
return await gu({
|
|
7578
7526
|
queryObject: e,
|
|
7579
7527
|
queryConfig: i,
|
|
7580
|
-
imagerySkipFactor:
|
|
7581
|
-
imageryMaxPixelCount:
|
|
7528
|
+
imagerySkipFactor: Kl,
|
|
7529
|
+
imageryMaxPixelCount: eu,
|
|
7582
7530
|
defaultQueryGeometry: c,
|
|
7583
7531
|
abortSignal: s
|
|
7584
7532
|
});
|
|
7585
7533
|
}
|
|
7586
|
-
async function
|
|
7534
|
+
async function ru(t) {
|
|
7587
7535
|
const {
|
|
7588
7536
|
chartConfig: e,
|
|
7589
7537
|
queryConfig: i,
|
|
@@ -7597,13 +7545,13 @@ async function au(t) {
|
|
|
7597
7545
|
} = t;
|
|
7598
7546
|
if (!r)
|
|
7599
7547
|
throw new Error("QueryObject is undefined!");
|
|
7600
|
-
const u = await
|
|
7548
|
+
const u = await iu({
|
|
7601
7549
|
queryObject: r,
|
|
7602
7550
|
queryConfig: i,
|
|
7603
7551
|
filterByViewExtent: a,
|
|
7604
7552
|
abortKey: l,
|
|
7605
7553
|
abortSignal: c
|
|
7606
|
-
}), d =
|
|
7554
|
+
}), d = tu({
|
|
7607
7555
|
layer: r,
|
|
7608
7556
|
chartConfig: e,
|
|
7609
7557
|
rawData: u
|
|
@@ -7624,15 +7572,15 @@ async function au(t) {
|
|
|
7624
7572
|
}) : C.scatterplotSeries;
|
|
7625
7573
|
return { dataItems: d, r2: m, trendLinePoints: g };
|
|
7626
7574
|
}
|
|
7627
|
-
const
|
|
7575
|
+
const au = (t) => ({
|
|
7628
7576
|
x: t.series[0].x,
|
|
7629
7577
|
y: t.series[0].y
|
|
7630
7578
|
});
|
|
7631
|
-
function
|
|
7579
|
+
function nu(t) {
|
|
7632
7580
|
const { chartConfig: e, layer: i, selectionDataItems: r } = t;
|
|
7633
7581
|
let a;
|
|
7634
7582
|
if (r.length > 0) {
|
|
7635
|
-
const { x: n, y: s } =
|
|
7583
|
+
const { x: n, y: s } = au(e), o = $t(i, n), l = $t(i, s);
|
|
7636
7584
|
if (o !== void 0 && l !== void 0 && o !== l) {
|
|
7637
7585
|
let c = Number.MAX_SAFE_INTEGER, u = Number.MIN_SAFE_INTEGER, d = Number.MAX_SAFE_INTEGER, f = Number.MIN_SAFE_INTEGER;
|
|
7638
7586
|
r.forEach((m) => {
|
|
@@ -7656,15 +7604,15 @@ function su(t) {
|
|
|
7656
7604
|
}
|
|
7657
7605
|
return a;
|
|
7658
7606
|
}
|
|
7659
|
-
const mi = "PixelID",
|
|
7607
|
+
const mi = "PixelID", su = "Pixel ID", ou = [
|
|
7660
7608
|
h.BarSeries,
|
|
7661
7609
|
h.HistogramSeries,
|
|
7662
7610
|
h.ScatterSeries
|
|
7663
7611
|
];
|
|
7664
|
-
async function
|
|
7612
|
+
async function sf(t) {
|
|
7665
7613
|
let e = !1;
|
|
7666
7614
|
const { config: i, layer: r, abortSignal: a } = t;
|
|
7667
|
-
if (qa(
|
|
7615
|
+
if (qa(ou, i))
|
|
7668
7616
|
switch (Q(i?.series)) {
|
|
7669
7617
|
case h.BarSeries:
|
|
7670
7618
|
r.loaded || await r.load({ signal: a }), e = !!(await ft(r, a))?.attributeTable;
|
|
@@ -7676,12 +7624,12 @@ async function of(t) {
|
|
|
7676
7624
|
}
|
|
7677
7625
|
return e;
|
|
7678
7626
|
}
|
|
7679
|
-
function
|
|
7627
|
+
function lu(t) {
|
|
7680
7628
|
const { layer: e, iLayer: i } = t;
|
|
7681
7629
|
let r;
|
|
7682
7630
|
return ie(e) ? r = e : i?.layerType === "ArcGISImageServiceLayer" ? r = da(i) : i?.layerType === "ArcGISTiledImageServiceLayer" && (r = fa(i)), r;
|
|
7683
7631
|
}
|
|
7684
|
-
function
|
|
7632
|
+
function uu(t) {
|
|
7685
7633
|
let e;
|
|
7686
7634
|
switch (t) {
|
|
7687
7635
|
case "f32":
|
|
@@ -7727,7 +7675,7 @@ function ar(t) {
|
|
|
7727
7675
|
throw new Error("Raster info must be provided or generated beforehand to get raster layer fields info");
|
|
7728
7676
|
let n;
|
|
7729
7677
|
try {
|
|
7730
|
-
const s =
|
|
7678
|
+
const s = uu(a.pixelType), o = a.bandInfos.map((u) => ({
|
|
7731
7679
|
name: u.name,
|
|
7732
7680
|
alias: u.name,
|
|
7733
7681
|
type: s
|
|
@@ -7739,7 +7687,7 @@ function ar(t) {
|
|
|
7739
7687
|
return d && d !== u.name && (u.alias = d), u;
|
|
7740
7688
|
}), n = [{
|
|
7741
7689
|
name: mi,
|
|
7742
|
-
alias:
|
|
7690
|
+
alias: su,
|
|
7743
7691
|
type: j.OID
|
|
7744
7692
|
}, ...o];
|
|
7745
7693
|
} catch {
|
|
@@ -7750,7 +7698,7 @@ function ar(t) {
|
|
|
7750
7698
|
async function ft(t, e) {
|
|
7751
7699
|
return t.loaded || await t.load({ signal: e }), Ga(t) ? Xe(t) ?? void 0 : await t.generateRasterInfo(t.rasterFunction, { signal: e });
|
|
7752
7700
|
}
|
|
7753
|
-
async function
|
|
7701
|
+
async function of(t, e) {
|
|
7754
7702
|
t.loaded || await t.load();
|
|
7755
7703
|
const i = await ft(t);
|
|
7756
7704
|
return ca({ layer: t, rasterInfo: i, popupTemplateFieldInfosEnabled: e });
|
|
@@ -7762,7 +7710,7 @@ const da = Qe(
|
|
|
7762
7710
|
},
|
|
7763
7711
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
7764
7712
|
// stringify with sorted keys
|
|
7765
|
-
),
|
|
7713
|
+
), cu = Qe(
|
|
7766
7714
|
async (t, e) => {
|
|
7767
7715
|
const i = da(t);
|
|
7768
7716
|
return await Li(i, e), i;
|
|
@@ -7776,23 +7724,23 @@ const da = Qe(
|
|
|
7776
7724
|
},
|
|
7777
7725
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
7778
7726
|
// stringify with sorted keys
|
|
7779
|
-
),
|
|
7727
|
+
), du = Qe(
|
|
7780
7728
|
async (t, e) => {
|
|
7781
7729
|
const i = fa(t);
|
|
7782
7730
|
return await Li(i, e), i;
|
|
7783
7731
|
},
|
|
7784
7732
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
7785
7733
|
// stringify with sorted keys
|
|
7786
|
-
),
|
|
7734
|
+
), fu = Qe(
|
|
7787
7735
|
(t) => {
|
|
7788
7736
|
const e = {};
|
|
7789
7737
|
return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new ln(e);
|
|
7790
7738
|
},
|
|
7791
7739
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
7792
7740
|
// stringify with sorted keys
|
|
7793
|
-
),
|
|
7741
|
+
), mu = Qe(
|
|
7794
7742
|
async (t, e) => {
|
|
7795
|
-
const i =
|
|
7743
|
+
const i = fu(t);
|
|
7796
7744
|
return await Li(i, e), i;
|
|
7797
7745
|
},
|
|
7798
7746
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
@@ -7809,7 +7757,7 @@ const da = Qe(
|
|
|
7809
7757
|
n > -1 && (i = n);
|
|
7810
7758
|
}
|
|
7811
7759
|
return i;
|
|
7812
|
-
},
|
|
7760
|
+
}, lf = (t) => {
|
|
7813
7761
|
const { chartConfig: e, layer: i, selectionDataItems: r } = t, a = Q(e.series);
|
|
7814
7762
|
let n;
|
|
7815
7763
|
switch (a) {
|
|
@@ -7828,7 +7776,7 @@ const da = Qe(
|
|
|
7828
7776
|
});
|
|
7829
7777
|
break;
|
|
7830
7778
|
case h.ScatterSeries:
|
|
7831
|
-
n =
|
|
7779
|
+
n = nu({
|
|
7832
7780
|
chartConfig: e,
|
|
7833
7781
|
layer: i,
|
|
7834
7782
|
selectionDataItems: r
|
|
@@ -7844,7 +7792,7 @@ function kt(t) {
|
|
|
7844
7792
|
const { definitionExpression: e, mosaicRule: i } = t;
|
|
7845
7793
|
return !!(e || i?.objectIds?.length || i?.method === "lock-raster" && i?.lockRasterIds?.length || i?.where);
|
|
7846
7794
|
}
|
|
7847
|
-
async function
|
|
7795
|
+
async function gu(t) {
|
|
7848
7796
|
const { queryObject: e, queryConfig: i, imagerySkipFactor: r, imageryMaxPixelCount: a, defaultQueryGeometry: n, abortSignal: s } = t;
|
|
7849
7797
|
let o = [];
|
|
7850
7798
|
if (e !== void 0)
|
|
@@ -7861,7 +7809,7 @@ async function yu(t) {
|
|
|
7861
7809
|
}
|
|
7862
7810
|
return o;
|
|
7863
7811
|
}
|
|
7864
|
-
function
|
|
7812
|
+
function yu(t) {
|
|
7865
7813
|
const { queryObject: e, defaultGeometry: i, filterByViewExtent: r, viewExtent: a } = t, n = W(e);
|
|
7866
7814
|
let s = i;
|
|
7867
7815
|
if (r && a) {
|
|
@@ -7892,7 +7840,7 @@ function pu(t) {
|
|
|
7892
7840
|
}
|
|
7893
7841
|
return s;
|
|
7894
7842
|
}
|
|
7895
|
-
function
|
|
7843
|
+
function pu(t) {
|
|
7896
7844
|
let e, i, r;
|
|
7897
7845
|
return t !== void 0 && (e = t.type, (e === ce.UniqueValue || e === ce.ClassBreaks) && (i = t.field ?? void 0, e === ce.ClassBreaks && (r = t.normalizationField ?? void 0))), { rendererType: e, rendererField: i, rendererNormalizationField: r };
|
|
7898
7846
|
}
|
|
@@ -7929,30 +7877,30 @@ const ma = Qe(
|
|
|
7929
7877
|
(t) => JSON.stringify(t)
|
|
7930
7878
|
// stringify with sorted keys
|
|
7931
7879
|
);
|
|
7932
|
-
async function
|
|
7880
|
+
async function uf(t, e) {
|
|
7933
7881
|
let i;
|
|
7934
7882
|
switch (t?.layerType ?? "") {
|
|
7935
7883
|
case "ArcGISFeatureLayer":
|
|
7936
7884
|
i = await ga(t, e);
|
|
7937
7885
|
break;
|
|
7938
7886
|
case "ArcGISImageServiceLayer":
|
|
7939
|
-
i = await
|
|
7887
|
+
i = await cu(t, e);
|
|
7940
7888
|
break;
|
|
7941
7889
|
case "ArcGISTiledImageServiceLayer":
|
|
7942
|
-
i = await
|
|
7890
|
+
i = await du(t, e);
|
|
7943
7891
|
break;
|
|
7944
7892
|
case "WCS":
|
|
7945
|
-
i = await
|
|
7893
|
+
i = await mu(t, e);
|
|
7946
7894
|
break;
|
|
7947
7895
|
default:
|
|
7948
7896
|
throw new oe(le.LayerNotSupported);
|
|
7949
7897
|
}
|
|
7950
7898
|
return i;
|
|
7951
7899
|
}
|
|
7952
|
-
function
|
|
7900
|
+
function cf(t) {
|
|
7953
7901
|
const { layerOrLayerView: e, iLayer: i, view: r, layerItemId: a } = t, n = W(e), s = pe(n), o = ie(s) || Wa(i);
|
|
7954
7902
|
let l;
|
|
7955
|
-
return o ? l =
|
|
7903
|
+
return o ? l = lu({ layer: e, iLayer: i }) : s !== void 0 ? (s.isTable || (s.outFields = ["*"]), l = e) : i?.layerType === "ArcGISFeatureLayer" && (l = ma(i)), !l && a && (l = Nu({
|
|
7956
7904
|
view: r,
|
|
7957
7905
|
portalItemId: a
|
|
7958
7906
|
})), l;
|
|
@@ -7975,7 +7923,7 @@ function ve(t, e) {
|
|
|
7975
7923
|
}
|
|
7976
7924
|
return r;
|
|
7977
7925
|
}
|
|
7978
|
-
function
|
|
7926
|
+
function df(t, e = []) {
|
|
7979
7927
|
return e.find((i) => i.name === t);
|
|
7980
7928
|
}
|
|
7981
7929
|
function Xt(t) {
|
|
@@ -8008,16 +7956,16 @@ function Ct(t) {
|
|
|
8008
7956
|
];
|
|
8009
7957
|
return t !== void 0 && e.includes(t.type);
|
|
8010
7958
|
}
|
|
8011
|
-
function
|
|
7959
|
+
function hu(t) {
|
|
8012
7960
|
return t?.type === j.Date || t?.type === j.DateOnly || t?.type === j.TimestampOffset;
|
|
8013
7961
|
}
|
|
8014
|
-
function
|
|
7962
|
+
function ff(t) {
|
|
8015
7963
|
return t?.type === j.String;
|
|
8016
7964
|
}
|
|
8017
|
-
function
|
|
7965
|
+
function mf(t) {
|
|
8018
7966
|
return t?.type === j.TimeOnly;
|
|
8019
7967
|
}
|
|
8020
|
-
function
|
|
7968
|
+
function gf(t) {
|
|
8021
7969
|
const e = [
|
|
8022
7970
|
j.SmallInteger,
|
|
8023
7971
|
j.Integer,
|
|
@@ -8025,10 +7973,10 @@ function yf(t) {
|
|
|
8025
7973
|
];
|
|
8026
7974
|
return t !== void 0 && e.includes(t.type);
|
|
8027
7975
|
}
|
|
8028
|
-
function
|
|
8029
|
-
return t.filter((e) =>
|
|
7976
|
+
function Su(t) {
|
|
7977
|
+
return t.filter((e) => hu(e)).map((e) => e.name);
|
|
8030
7978
|
}
|
|
8031
|
-
function
|
|
7979
|
+
function yf(t) {
|
|
8032
7980
|
return t.filter((e) => Ct(e)).map((e) => e.name);
|
|
8033
7981
|
}
|
|
8034
7982
|
function gi(t, e) {
|
|
@@ -8057,7 +8005,7 @@ function pa(t) {
|
|
|
8057
8005
|
const r = i.indexOf(e);
|
|
8058
8006
|
return i = r > -1 ? t.substring(0, r) : t, `${i}/rest/info`;
|
|
8059
8007
|
}
|
|
8060
|
-
async function
|
|
8008
|
+
async function Fu(t, e) {
|
|
8061
8009
|
let i = !0;
|
|
8062
8010
|
const r = ".arcgis.com/", a = t?.url, n = a?.includes(r);
|
|
8063
8011
|
if (a && n && pe(t)?.sourceJSON?.serviceItemId !== void 0) {
|
|
@@ -8077,19 +8025,19 @@ async function bu(t, e) {
|
|
|
8077
8025
|
}
|
|
8078
8026
|
return i;
|
|
8079
8027
|
}
|
|
8080
|
-
function
|
|
8081
|
-
const { queryObject: e, fieldToMatch: i, returnUndefinedIfNotFound: r } = t, a = ve(e), n =
|
|
8028
|
+
function bu(t) {
|
|
8029
|
+
const { queryObject: e, fieldToMatch: i, returnUndefinedIfNotFound: r } = t, a = ve(e), n = xu(a, i), s = r ? "" : i;
|
|
8082
8030
|
return n?.name ?? s;
|
|
8083
8031
|
}
|
|
8084
|
-
function
|
|
8032
|
+
function xu(t, e) {
|
|
8085
8033
|
let i = t.find((r) => e === r.name);
|
|
8086
8034
|
return i || (i = t.find((r) => e.toUpperCase() === r.name.toUpperCase())), i;
|
|
8087
8035
|
}
|
|
8088
|
-
function
|
|
8036
|
+
function Cu(t) {
|
|
8089
8037
|
const { fieldsList: e, queryObject: i, returnUndefinedIfNotFound: r } = t;
|
|
8090
8038
|
let a = e;
|
|
8091
8039
|
return a !== void 0 && (a = a.map(
|
|
8092
|
-
(n) =>
|
|
8040
|
+
(n) => bu({ queryObject: i, fieldToMatch: n, returnUndefinedIfNotFound: r })
|
|
8093
8041
|
)), a;
|
|
8094
8042
|
}
|
|
8095
8043
|
function ha(t) {
|
|
@@ -8111,8 +8059,8 @@ function ha(t) {
|
|
|
8111
8059
|
units: v,
|
|
8112
8060
|
objectIds: T,
|
|
8113
8061
|
spatialRelationship: A
|
|
8114
|
-
} = r ?? {},
|
|
8115
|
-
return L.where = Y([c, F]), M !== S.BarAndLineSplitBy && M !== S.BoxPlotMonoFieldAndSplitBy && M !== S.BoxPlotMonoFieldAndCategoryAndSplitBy && M !== S.BoxPlotMultiFieldsAndSplitBy && M !== S.BarAndLineSplitByNoAggregation && (L.where = Y([L.where,
|
|
8062
|
+
} = r ?? {}, P = o[0], { query: I } = P, { where: w } = I ?? {}, M = H(o), L = { ...I };
|
|
8063
|
+
return L.where = Y([c, F]), M !== S.BarAndLineSplitBy && M !== S.BoxPlotMonoFieldAndSplitBy && M !== S.BoxPlotMonoFieldAndCategoryAndSplitBy && M !== S.BoxPlotMultiFieldsAndSplitBy && M !== S.BarAndLineSplitByNoAggregation && (L.where = Y([L.where, w])), i.orderOptions?.orderByFields !== void 0 && (L.orderByFields = i.orderOptions.orderByFields), L.gdbVersion = b ?? u, L.timeExtent = qn(s?.timeExtent, N ?? d), L.geometry = ie(e) ? yu({
|
|
8116
8064
|
queryObject: e,
|
|
8117
8065
|
defaultGeometry: B ?? f,
|
|
8118
8066
|
filterByViewExtent: a,
|
|
@@ -8127,11 +8075,11 @@ function ha(t) {
|
|
|
8127
8075
|
});
|
|
8128
8076
|
}), L;
|
|
8129
8077
|
}
|
|
8130
|
-
async function
|
|
8078
|
+
async function pf(t) {
|
|
8131
8079
|
let e = [];
|
|
8132
|
-
return t !== void 0 && (e = await
|
|
8080
|
+
return t !== void 0 && (e = await vu(t)), e;
|
|
8133
8081
|
}
|
|
8134
|
-
async function
|
|
8082
|
+
async function Bu(t, e) {
|
|
8135
8083
|
const i = [];
|
|
8136
8084
|
let r = [];
|
|
8137
8085
|
const a = t.series;
|
|
@@ -8142,21 +8090,21 @@ async function vu(t, e) {
|
|
|
8142
8090
|
return m?.length > 0 ? m : "";
|
|
8143
8091
|
}).flat();
|
|
8144
8092
|
i.push(s), i.push(...o), i.push(l), i.push(...c), i.push(...u);
|
|
8145
|
-
const d =
|
|
8093
|
+
const d = Cu({ fieldsList: i, queryObject: n, returnUndefinedIfNotFound: !0 });
|
|
8146
8094
|
d && (r = Array.from(new Set(d)).filter((f) => f !== ""));
|
|
8147
8095
|
}
|
|
8148
8096
|
return r;
|
|
8149
8097
|
}
|
|
8150
|
-
async function
|
|
8098
|
+
async function vu(t) {
|
|
8151
8099
|
const e = t.charts ?? [];
|
|
8152
8100
|
let i = [];
|
|
8153
8101
|
if (e.length > 0) {
|
|
8154
|
-
const r = e.map(async (a) => await
|
|
8102
|
+
const r = e.map(async (a) => await Bu(a, t));
|
|
8155
8103
|
i = await Promise.all(r).then((a) => a.flat()), i = Array.from(new Set(i.filter((a) => a !== "")));
|
|
8156
8104
|
}
|
|
8157
8105
|
return i;
|
|
8158
8106
|
}
|
|
8159
|
-
const
|
|
8107
|
+
const Tu = (t) => {
|
|
8160
8108
|
let e;
|
|
8161
8109
|
if ("portalItem" in t) {
|
|
8162
8110
|
const i = t.portalItem && "id" in t.portalItem ? t.portalItem.id : void 0;
|
|
@@ -8164,18 +8112,18 @@ const Nu = (t) => {
|
|
|
8164
8112
|
}
|
|
8165
8113
|
return e;
|
|
8166
8114
|
};
|
|
8167
|
-
function
|
|
8115
|
+
function Nu(t) {
|
|
8168
8116
|
const { view: e, portalItemId: i } = t;
|
|
8169
8117
|
let r;
|
|
8170
8118
|
if (e && i) {
|
|
8171
8119
|
const a = Array.from(e.map?.allLayers ?? []).find(
|
|
8172
|
-
(n) =>
|
|
8120
|
+
(n) => Tu(n) === i
|
|
8173
8121
|
);
|
|
8174
8122
|
a && (r = a);
|
|
8175
8123
|
}
|
|
8176
8124
|
return r;
|
|
8177
8125
|
}
|
|
8178
|
-
const
|
|
8126
|
+
const hf = {
|
|
8179
8127
|
getServerRestInfo: pa
|
|
8180
8128
|
};
|
|
8181
8129
|
async function Li(t, e) {
|
|
@@ -8183,19 +8131,19 @@ async function Li(t, e) {
|
|
|
8183
8131
|
signal: e
|
|
8184
8132
|
});
|
|
8185
8133
|
}
|
|
8186
|
-
function
|
|
8134
|
+
function Au(t) {
|
|
8187
8135
|
const { whereValue: e, outStatistics: i, y: r } = t;
|
|
8188
8136
|
let a = k.outStatistics.outStatisticFieldName ?? "";
|
|
8189
8137
|
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;
|
|
8190
8138
|
}
|
|
8191
|
-
function
|
|
8139
|
+
function wu(t) {
|
|
8192
8140
|
const e = /* @__PURE__ */ new Map();
|
|
8193
8141
|
for (let i = 0; i < t.length; i += 1) {
|
|
8194
8142
|
const r = t[i], a = r.query?.where;
|
|
8195
8143
|
if (a !== void 0 && "y" in r) {
|
|
8196
8144
|
const n = me({ where: a, normalize: !0, escape: !1 });
|
|
8197
8145
|
if (n !== "") {
|
|
8198
|
-
const s =
|
|
8146
|
+
const s = Au({
|
|
8199
8147
|
whereValue: n,
|
|
8200
8148
|
outStatistics: r.query?.outStatistics?.[0],
|
|
8201
8149
|
y: r.y
|
|
@@ -8206,7 +8154,7 @@ function Lu(t) {
|
|
|
8206
8154
|
}
|
|
8207
8155
|
return e;
|
|
8208
8156
|
}
|
|
8209
|
-
function
|
|
8157
|
+
function Lu(t) {
|
|
8210
8158
|
const { uniqueQuery: e, splitByField: i, x: r } = t, a = [...e.groupByFieldsForStatistics ?? [], r, i].filter(
|
|
8211
8159
|
(n) => n !== void 0 && n.trim() !== "" && n !== zt
|
|
8212
8160
|
);
|
|
@@ -8215,7 +8163,7 @@ function Pu(t) {
|
|
|
8215
8163
|
function Pi(t) {
|
|
8216
8164
|
return t.statisticType === D.ContinuousPercentile || t.statisticType === D.DiscretePercentile;
|
|
8217
8165
|
}
|
|
8218
|
-
function
|
|
8166
|
+
function Pu(t) {
|
|
8219
8167
|
const {
|
|
8220
8168
|
uniqueQuery: e,
|
|
8221
8169
|
y: i,
|
|
@@ -8250,7 +8198,7 @@ function Mu(t) {
|
|
|
8250
8198
|
}
|
|
8251
8199
|
o === !0 && (!s || ae(l)) && e.outStatistics?.push({ statisticType: D.EnvelopeAggregate, onStatisticField: "1" });
|
|
8252
8200
|
}
|
|
8253
|
-
function
|
|
8201
|
+
function Mu(t) {
|
|
8254
8202
|
const { chartConfig: e, fetchFullBoxPlotData: i } = t, { series: r } = e, a = We(e);
|
|
8255
8203
|
let n = [
|
|
8256
8204
|
{ statisticType: D.Average, suffix: q.Average }
|
|
@@ -8290,13 +8238,13 @@ function Iu(t) {
|
|
|
8290
8238
|
})
|
|
8291
8239
|
);
|
|
8292
8240
|
}
|
|
8293
|
-
function
|
|
8241
|
+
function Iu(t, e) {
|
|
8294
8242
|
for (let i = 1; i < e.length; i += 1) {
|
|
8295
8243
|
const r = { ...e[i].query?.outStatistics?.[0] };
|
|
8296
8244
|
r !== void 0 && t.outStatistics !== void 0 && t.outStatistics.push(r);
|
|
8297
8245
|
}
|
|
8298
8246
|
}
|
|
8299
|
-
function
|
|
8247
|
+
function Du(t) {
|
|
8300
8248
|
const { uniqueQuery: e, x: i, splitByField: r, unit: a, chartSubType: n, objectIdFields: s, runsOnClientQueryEngine: o } = t;
|
|
8301
8249
|
if (a !== void 0) {
|
|
8302
8250
|
const l = Sn({
|
|
@@ -8352,11 +8300,11 @@ function Mi(t) {
|
|
|
8352
8300
|
let z = "";
|
|
8353
8301
|
switch (i.fetchNullValues !== !0 && (m !== C.boxPlot.boxPlotCategory && (z = `${m} IS NOT NULL`), E.trim() !== "" && E !== m && !Me(f.where) && (z = Y([z, `${E} IS NOT NULL`]))), u) {
|
|
8354
8302
|
case S.BarAndLineSplitBy: {
|
|
8355
|
-
p =
|
|
8303
|
+
p = wu(c), B = !0, F = !0, b = !0;
|
|
8356
8304
|
break;
|
|
8357
8305
|
}
|
|
8358
8306
|
case S.BarAndLineMultiFields:
|
|
8359
|
-
|
|
8307
|
+
Iu(v, c), b = !0;
|
|
8360
8308
|
break;
|
|
8361
8309
|
case S.PieFromFields:
|
|
8362
8310
|
case S.BarAndLineFromFields:
|
|
@@ -8382,7 +8330,7 @@ function Mi(t) {
|
|
|
8382
8330
|
case S.BarAndLineNoAggregation:
|
|
8383
8331
|
case S.BarAndLineSplitByNoAggregation:
|
|
8384
8332
|
}
|
|
8385
|
-
if (b &&
|
|
8333
|
+
if (b && Pu({
|
|
8386
8334
|
uniqueQuery: v,
|
|
8387
8335
|
y: g,
|
|
8388
8336
|
useGenericOutStatFieldName: F,
|
|
@@ -8391,12 +8339,12 @@ function Mi(t) {
|
|
|
8391
8339
|
isTimeBinningSeries: y,
|
|
8392
8340
|
returnFeaturesExtent: o,
|
|
8393
8341
|
splitByField: E
|
|
8394
|
-
}), B &&
|
|
8342
|
+
}), B && Lu({ uniqueQuery: v, splitByField: E, x: m }), de(e) && x && (v.outStatistics = Mu({ chartConfig: e, fetchFullBoxPlotData: s })), N ? delete v.orderByFields : i.orderByFields !== void 0 && (v.orderByFields = i.orderByFields.filter((U) => {
|
|
8395
8343
|
const R = U.split(" ");
|
|
8396
8344
|
return !ae(R[0]);
|
|
8397
8345
|
})), y && Ce(c[0])) {
|
|
8398
8346
|
const U = W(r), { idFields: R } = Xt(U);
|
|
8399
|
-
ve(r).find((Z) => Z.name === m)?.type !== j.DateOnly && R &&
|
|
8347
|
+
ve(r).find((Z) => Z.name === m)?.type !== j.DateOnly && R && Du({
|
|
8400
8348
|
uniqueQuery: v,
|
|
8401
8349
|
x: m,
|
|
8402
8350
|
splitByField: ne(f.where),
|
|
@@ -8409,8 +8357,8 @@ function Mi(t) {
|
|
|
8409
8357
|
v.where = z;
|
|
8410
8358
|
}
|
|
8411
8359
|
Sa({ chartConfig: e, uniqueQuery: v, chartLimits: l });
|
|
8412
|
-
const { gdbVersion: T, geometry: A, distance:
|
|
8413
|
-
return T !== void 0 && (v.gdbVersion = T), A !== void 0 && (v.geometry = A),
|
|
8360
|
+
const { gdbVersion: T, geometry: A, distance: P, units: I, timeExtent: w, where: M, objectIds: L, spatialRelationship: O } = i;
|
|
8361
|
+
return T !== void 0 && (v.gdbVersion = T), A !== void 0 && (v.geometry = A), P !== void 0 && (v.distance = P), I !== void 0 && (v.units = I), w !== void 0 && (v.timeExtent = w), L !== void 0 && (v.objectIds = L), O !== void 0 && (v.spatialRelationship = O), M !== void 0 && (v.where = Y([v.where, M])), { uniqueQuery: v, mapToStatField: p };
|
|
8414
8362
|
}
|
|
8415
8363
|
const Ye = {
|
|
8416
8364
|
LegendItemVisibilityChange: "arcgisChartsJSLegendItemVisibilityChange",
|
|
@@ -8429,22 +8377,22 @@ function Ze(t) {
|
|
|
8429
8377
|
bubbles: !0
|
|
8430
8378
|
};
|
|
8431
8379
|
}
|
|
8432
|
-
function
|
|
8380
|
+
function Sf(t, e) {
|
|
8433
8381
|
e && e.dispatchEvent(
|
|
8434
8382
|
new window.CustomEvent(Ye.LegendItemVisibilityChange, Ze(t))
|
|
8435
8383
|
);
|
|
8436
8384
|
}
|
|
8437
|
-
function
|
|
8385
|
+
function Ff(t) {
|
|
8438
8386
|
t && t.dispatchEvent(new window.CustomEvent(Ye.RenderingComplete, Ze()));
|
|
8439
8387
|
}
|
|
8440
|
-
function
|
|
8388
|
+
function bf(t) {
|
|
8441
8389
|
const { data: e, htmlContainer: i } = t;
|
|
8442
8390
|
i && i.dispatchEvent(new window.CustomEvent(Ye.SelectionComplete, Ze(e)));
|
|
8443
8391
|
}
|
|
8444
|
-
function
|
|
8392
|
+
function xf(t) {
|
|
8445
8393
|
t && t.dispatchEvent(new window.CustomEvent(Ye.TooManySelectedElements, Ze()));
|
|
8446
8394
|
}
|
|
8447
|
-
function
|
|
8395
|
+
function Cf(t) {
|
|
8448
8396
|
const { data: e, htmlContainer: i, chartId: r, colorMatchApplied: a } = t;
|
|
8449
8397
|
i && i.dispatchEvent(
|
|
8450
8398
|
new window.CustomEvent(
|
|
@@ -8457,10 +8405,10 @@ function Bf(t) {
|
|
|
8457
8405
|
)
|
|
8458
8406
|
);
|
|
8459
8407
|
}
|
|
8460
|
-
function
|
|
8408
|
+
function Bf(t, e) {
|
|
8461
8409
|
e && e.dispatchEvent(new window.CustomEvent(Ye.AxesMinMaxChange, Ze(t)));
|
|
8462
8410
|
}
|
|
8463
|
-
function
|
|
8411
|
+
function Ou(t) {
|
|
8464
8412
|
const { data: e, htmlContainer: i } = t;
|
|
8465
8413
|
i && e && i.dispatchEvent(new window.CustomEvent(Ye.SeriesOrder, Ze(e)));
|
|
8466
8414
|
}
|
|
@@ -8555,7 +8503,7 @@ const He = [
|
|
|
8555
8503
|
"25.0.0",
|
|
8556
8504
|
"25.1.0",
|
|
8557
8505
|
"25.2.0"
|
|
8558
|
-
],
|
|
8506
|
+
], Eu = "1.0.0", qu = "unrecognized.version", Ru = [
|
|
8559
8507
|
h.LineSeries,
|
|
8560
8508
|
h.BarSeries,
|
|
8561
8509
|
h.ComboLineAndBarSeries,
|
|
@@ -8579,12 +8527,12 @@ function ii(t, e) {
|
|
|
8579
8527
|
}
|
|
8580
8528
|
return i;
|
|
8581
8529
|
}
|
|
8582
|
-
function
|
|
8530
|
+
function Vu(t) {
|
|
8583
8531
|
return t !== void 0 ? /^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t) : !1;
|
|
8584
8532
|
}
|
|
8585
|
-
function
|
|
8533
|
+
function vf(t) {
|
|
8586
8534
|
let e = et.Same, i = [];
|
|
8587
|
-
if (
|
|
8535
|
+
if (Vu(t) && t !== void 0) {
|
|
8588
8536
|
He.sort(ii);
|
|
8589
8537
|
const a = ii(t, He[He.length - 1]);
|
|
8590
8538
|
if (a === 1 ? e = et.Newer : a === -1 && (e = et.Older), e === et.Newer || e === et.Same)
|
|
@@ -8595,10 +8543,10 @@ function Tf(t) {
|
|
|
8595
8543
|
i = He.slice(n, He.length);
|
|
8596
8544
|
break;
|
|
8597
8545
|
}
|
|
8598
|
-
i.length === 0 && i.push(
|
|
8546
|
+
i.length === 0 && i.push(Eu);
|
|
8599
8547
|
}
|
|
8600
8548
|
} else
|
|
8601
|
-
e = et.Unrecognized, i.push(
|
|
8549
|
+
e = et.Unrecognized, i.push(qu);
|
|
8602
8550
|
return { versionStatus: e, versions: i };
|
|
8603
8551
|
}
|
|
8604
8552
|
function _e(t) {
|
|
@@ -8606,7 +8554,7 @@ function _e(t) {
|
|
|
8606
8554
|
let r = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((a) => a.type === h.LineSeries) : e[0];
|
|
8607
8555
|
return r ??= e[0], r;
|
|
8608
8556
|
}
|
|
8609
|
-
function
|
|
8557
|
+
function Tf(t, e) {
|
|
8610
8558
|
const i = t !== null ? t.toString() : null, r = e != null ? e.toString() : null;
|
|
8611
8559
|
return r !== null && r !== i ? xe.SFS : xe.SLS;
|
|
8612
8560
|
}
|
|
@@ -8648,7 +8596,7 @@ function ba(t) {
|
|
|
8648
8596
|
const i = t[0].query?.where;
|
|
8649
8597
|
return t[0].query?.groupByFieldsForStatistics === void 0 && (t[0].query?.outStatistics ?? []).length > 0 ? e = S.BarAndLineFromFields : i === void 0 && t[0].query?.outStatistics === void 0 ? e = S.BarAndLineNoAggregation : Me(i) ? t.length > 1 && (e = S.BarAndLineMultiFields) : e = t[0].query?.outStatistics === void 0 ? S.BarAndLineSplitByNoAggregation : S.BarAndLineSplitBy, e;
|
|
8650
8598
|
}
|
|
8651
|
-
function
|
|
8599
|
+
function $u(t) {
|
|
8652
8600
|
let e = S.BoxPlotMonoField;
|
|
8653
8601
|
const i = t.length === 1, r = t.find((o) => o.type === h.LineSeries) ?? t[0], { x: a } = r, n = "y" in r ? r.y : "", s = r.query?.where;
|
|
8654
8602
|
return a === zt ? typeof n == "object" && n.length > 1 ? Me(s) ? i && (e = S.BoxPlotMultiFields) : e = S.BoxPlotMultiFieldsAndSplitBy : i ? e = S.BoxPlotMonoField : Me(s) || (e = S.BoxPlotMonoFieldAndSplitBy) : i ? e = S.BoxPlotMonoFieldAndCategory : Me(s) ? e = S.BoxPlotMultiFieldsAndCategory : e = S.BoxPlotMonoFieldAndCategoryAndSplitBy, e;
|
|
@@ -8667,15 +8615,15 @@ function H(t) {
|
|
|
8667
8615
|
e = ba(t);
|
|
8668
8616
|
break;
|
|
8669
8617
|
case h.BoxPlotSeries:
|
|
8670
|
-
e =
|
|
8618
|
+
e = $u(t);
|
|
8671
8619
|
break;
|
|
8672
8620
|
}
|
|
8673
8621
|
return e;
|
|
8674
8622
|
}
|
|
8675
|
-
function
|
|
8623
|
+
function ku(t) {
|
|
8676
8624
|
return H(t.series) !== S.PieNoAggregation;
|
|
8677
8625
|
}
|
|
8678
|
-
function
|
|
8626
|
+
function Qu(t) {
|
|
8679
8627
|
let e = !0;
|
|
8680
8628
|
const i = Q(t.series);
|
|
8681
8629
|
if (i === h.BarSeries || i === h.LineSeries || i === h.ComboLineAndBarSeries) {
|
|
@@ -8696,7 +8644,7 @@ function xa(t) {
|
|
|
8696
8644
|
} else i !== void 0 && (a = C.scatterplotAggregationFields.dataContextXMinField in i);
|
|
8697
8645
|
return a;
|
|
8698
8646
|
}
|
|
8699
|
-
function
|
|
8647
|
+
function Nf(t) {
|
|
8700
8648
|
const { dataContext: e, chartConfig: i, chartLimits: r } = t;
|
|
8701
8649
|
let a = !0;
|
|
8702
8650
|
if (i !== void 0)
|
|
@@ -8704,13 +8652,13 @@ function Af(t) {
|
|
|
8704
8652
|
case h.BarSeries:
|
|
8705
8653
|
case h.LineSeries:
|
|
8706
8654
|
case h.ComboLineAndBarSeries:
|
|
8707
|
-
a =
|
|
8655
|
+
a = Qu(i);
|
|
8708
8656
|
break;
|
|
8709
8657
|
case h.ScatterSeries:
|
|
8710
8658
|
a = xa({ dataContext: e, chartLimits: r });
|
|
8711
8659
|
break;
|
|
8712
8660
|
case h.PieSeries:
|
|
8713
|
-
a =
|
|
8661
|
+
a = ku(i);
|
|
8714
8662
|
break;
|
|
8715
8663
|
}
|
|
8716
8664
|
return a;
|
|
@@ -8728,7 +8676,7 @@ function De(t) {
|
|
|
8728
8676
|
return n;
|
|
8729
8677
|
}
|
|
8730
8678
|
function Ce(t) {
|
|
8731
|
-
return
|
|
8679
|
+
return Ru.includes(t?.type);
|
|
8732
8680
|
}
|
|
8733
8681
|
function Ca(t) {
|
|
8734
8682
|
const { previousConfig: e, newConfig: i, behaviorAfterLimit: r } = t, a = e.series, n = i.series;
|
|
@@ -8747,10 +8695,10 @@ function Ca(t) {
|
|
|
8747
8695
|
}, c = ["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"], u = Di(a.map(l), c), d = Di(n.map(l), c);
|
|
8748
8696
|
return s = !at(u, d), s || o;
|
|
8749
8697
|
}
|
|
8750
|
-
function
|
|
8698
|
+
function _u(t, e) {
|
|
8751
8699
|
return JSON.stringify(t.dataFilters) !== JSON.stringify(e.dataFilters);
|
|
8752
8700
|
}
|
|
8753
|
-
function
|
|
8701
|
+
function Hu(t, e) {
|
|
8754
8702
|
let i = !1;
|
|
8755
8703
|
if (e.length && t.length)
|
|
8756
8704
|
if (e[0].x !== t[0].x)
|
|
@@ -8774,7 +8722,7 @@ function Ta(t, e) {
|
|
|
8774
8722
|
const i = t.axes?.[0].valueFormat.type, r = e.axes?.[0].valueFormat.type, a = H(e.series), n = a === S.BarAndLineNoAggregation || a === S.BarAndLineSplitByNoAggregation, s = i === h.DateAxisFormat && r === h.NumberAxisFormat, o = i === h.NumberAxisFormat && r === h.DateAxisFormat;
|
|
8775
8723
|
return i !== r && (n || s || o);
|
|
8776
8724
|
}
|
|
8777
|
-
function
|
|
8725
|
+
function zu(t) {
|
|
8778
8726
|
const { previousSeries: e, newConfig: i, setTimeBinningInfoWhenNotProvided: r, queryObject: a } = t, n = i.series?.[0];
|
|
8779
8727
|
let s = !1, o = !1;
|
|
8780
8728
|
if (n && Ce(n) && De({
|
|
@@ -8804,13 +8752,13 @@ function wa(t, e) {
|
|
|
8804
8752
|
function La(t, e) {
|
|
8805
8753
|
return JSON.stringify(t.series[0]?.xTemporalBinning) !== JSON.stringify(e.series[0]?.xTemporalBinning) || JSON.stringify(t.series[0]?.yTemporalBinning) !== JSON.stringify(e.series[0]?.yTemporalBinning) || (t.firstDayOfWeek ?? 7) !== (e.firstDayOfWeek ?? 7) || t.outTimeZone !== e.outTimeZone || (t.nullPolicy ?? Se.Null) !== (e.nullPolicy ?? Se.Null);
|
|
8806
8754
|
}
|
|
8807
|
-
function
|
|
8755
|
+
function Uu(t, e) {
|
|
8808
8756
|
return (t.hideEmptyRowsAndColumns ?? !1) !== (e.hideEmptyRowsAndColumns ?? !1);
|
|
8809
8757
|
}
|
|
8810
|
-
function
|
|
8758
|
+
function Gu(t, e) {
|
|
8811
8759
|
return (t.includeLeapDay ?? St.heatChart.includeLeapDay) !== (e.includeLeapDay ?? St.heatChart.includeLeapDay);
|
|
8812
8760
|
}
|
|
8813
|
-
function
|
|
8761
|
+
function Wu(t) {
|
|
8814
8762
|
const { previousConfig: e, newConfig: i, fieldList: r } = t, a = e.series[0], n = i.series[0];
|
|
8815
8763
|
let s = !1;
|
|
8816
8764
|
if (a.type === h.ScatterSeries && n.type === h.ScatterSeries && r && r.length > 0) {
|
|
@@ -8822,31 +8770,31 @@ function ju(t) {
|
|
|
8822
8770
|
}
|
|
8823
8771
|
return s;
|
|
8824
8772
|
}
|
|
8825
|
-
function
|
|
8773
|
+
function Af(t, e) {
|
|
8826
8774
|
return (t?.colorMatch ?? !1) !== (e.colorMatch ?? !1);
|
|
8827
8775
|
}
|
|
8828
|
-
function
|
|
8776
|
+
function wf(t, e) {
|
|
8829
8777
|
return (t.stackedType ?? Ae.Side) !== (e.stackedType ?? Ae.Side);
|
|
8830
8778
|
}
|
|
8831
8779
|
function Qt(t) {
|
|
8832
8780
|
const e = { ...t };
|
|
8833
8781
|
return e.position === void 0 && (e.position = St.heatChart.legend.position), e;
|
|
8834
8782
|
}
|
|
8835
|
-
function
|
|
8783
|
+
function Lf(t, e) {
|
|
8836
8784
|
const i = t.legend ?? { type: h.Legend }, r = e.legend ?? { type: h.Legend }, a = Qt(i), n = Qt(r);
|
|
8837
8785
|
return !at(a, n);
|
|
8838
8786
|
}
|
|
8839
|
-
function
|
|
8787
|
+
function Pf(t, e) {
|
|
8840
8788
|
const i = t.legend ?? { type: h.Legend }, r = e.legend ?? { type: h.Legend }, a = Qt(i), n = Qt(r);
|
|
8841
8789
|
return a.position !== n.position;
|
|
8842
8790
|
}
|
|
8843
|
-
function
|
|
8791
|
+
function Mf(t, e) {
|
|
8844
8792
|
return JSON.stringify(t.series[0]?.gradientRules) !== JSON.stringify(e.series[0]?.gradientRules);
|
|
8845
8793
|
}
|
|
8846
|
-
function
|
|
8794
|
+
function If(t, e) {
|
|
8847
8795
|
return t.series[0].heatRulesType !== e.series[0].heatRulesType;
|
|
8848
8796
|
}
|
|
8849
|
-
function
|
|
8797
|
+
function Df(t) {
|
|
8850
8798
|
const { oldConfig: e, newConfig: i } = t;
|
|
8851
8799
|
let r = !1;
|
|
8852
8800
|
const a = e?.series[0], n = i.series[0], s = Q(e?.series), o = Q(i.series);
|
|
@@ -8862,52 +8810,52 @@ function Of(t) {
|
|
|
8862
8810
|
}
|
|
8863
8811
|
return r;
|
|
8864
8812
|
}
|
|
8865
|
-
function
|
|
8813
|
+
function ju(t) {
|
|
8866
8814
|
const { previousSelectionOIDs: e, selectionData: i, filterBySelection: r } = t;
|
|
8867
8815
|
let a = !1;
|
|
8868
8816
|
return r === !0 && (a = e?.length !== i?.selectionOIDs?.length || !at(e, i?.selectionOIDs)), a;
|
|
8869
8817
|
}
|
|
8870
|
-
function
|
|
8818
|
+
function Of(t, e) {
|
|
8871
8819
|
return t?.length !== e?.length || t?.some((i, r) => {
|
|
8872
8820
|
const a = me({ where: i?.query?.where }), n = me({ where: e?.[r]?.query?.where });
|
|
8873
8821
|
return a !== n;
|
|
8874
8822
|
});
|
|
8875
8823
|
}
|
|
8876
|
-
function
|
|
8824
|
+
function Ef(t, e) {
|
|
8877
8825
|
const i = ue(t), r = ue(e);
|
|
8878
8826
|
return JSON.stringify(i) !== JSON.stringify(r);
|
|
8879
8827
|
}
|
|
8880
|
-
function
|
|
8828
|
+
function qf(t, e) {
|
|
8881
8829
|
let i, r, a, n;
|
|
8882
8830
|
return Ce(t.series[0]) && (i = t.series[0].temporalBinning?.unit, a = t.series[0].temporalBinning?.size), Ce(e.series[0]) && (r = e.series[0].temporalBinning?.unit, n = e.series[0].temporalBinning?.size), oi(i, a) && !oi(r, n);
|
|
8883
8831
|
}
|
|
8884
|
-
function
|
|
8832
|
+
function Rf(t, e) {
|
|
8885
8833
|
return t.axes?.length === 3 && e.axes?.length === 2 || t.axes?.length === 2 && e.axes?.length === 3;
|
|
8886
8834
|
}
|
|
8887
|
-
function
|
|
8835
|
+
function Vf(t, e) {
|
|
8888
8836
|
return JSON.stringify(t.series.map((i) => i.assignToSecondValueAxis ?? !1)) !== JSON.stringify(e.series.map((i) => i.assignToSecondValueAxis ?? !1));
|
|
8889
8837
|
}
|
|
8890
|
-
function
|
|
8838
|
+
function $f(t, e) {
|
|
8891
8839
|
const i = t.axes?.map((a) => a?.guides?.map((n) => n?.above === !0)), r = e.axes?.map((a) => a?.guides?.map((n) => n?.above === !0));
|
|
8892
8840
|
return JSON.stringify(i) !== JSON.stringify(r);
|
|
8893
8841
|
}
|
|
8894
|
-
function
|
|
8842
|
+
function kf(t, e) {
|
|
8895
8843
|
return Oi(t) !== Oi(e);
|
|
8896
8844
|
}
|
|
8897
|
-
function
|
|
8845
|
+
function Qf(t, e) {
|
|
8898
8846
|
return (t.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility);
|
|
8899
8847
|
}
|
|
8900
|
-
function
|
|
8848
|
+
function _f(t, e) {
|
|
8901
8849
|
return (t.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility);
|
|
8902
8850
|
}
|
|
8903
|
-
function
|
|
8851
|
+
function Hf(t, e) {
|
|
8904
8852
|
return JSON.stringify(t?.chartRenderer) !== JSON.stringify(e?.chartRenderer);
|
|
8905
8853
|
}
|
|
8906
|
-
function
|
|
8854
|
+
function zf(t, e) {
|
|
8907
8855
|
const i = t.axes?.[0].valueFormat.type === h.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0, r = e.axes?.[0].valueFormat.type === h.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
8908
8856
|
return i !== r;
|
|
8909
8857
|
}
|
|
8910
|
-
function
|
|
8858
|
+
function Uf(t, e) {
|
|
8911
8859
|
let i = !1;
|
|
8912
8860
|
const r = t.series[0], a = e.series[0];
|
|
8913
8861
|
if (r.type === h.ScatterSeries && a.type === h.ScatterSeries) {
|
|
@@ -8916,7 +8864,7 @@ function Gf(t, e) {
|
|
|
8916
8864
|
}
|
|
8917
8865
|
return i;
|
|
8918
8866
|
}
|
|
8919
|
-
function
|
|
8867
|
+
function Gf(t, e) {
|
|
8920
8868
|
let i = !1;
|
|
8921
8869
|
const r = t.series[0], a = e.series[0];
|
|
8922
8870
|
if (r.type === h.ScatterSeries && a.type === h.ScatterSeries) {
|
|
@@ -8925,7 +8873,7 @@ function Wf(t, e) {
|
|
|
8925
8873
|
}
|
|
8926
8874
|
return i;
|
|
8927
8875
|
}
|
|
8928
|
-
function
|
|
8876
|
+
function Wf(t) {
|
|
8929
8877
|
const {
|
|
8930
8878
|
previousConfig: e,
|
|
8931
8879
|
newConfig: i,
|
|
@@ -8972,10 +8920,10 @@ function jf(t) {
|
|
|
8972
8920
|
previousConfig: e,
|
|
8973
8921
|
newConfig: i,
|
|
8974
8922
|
behaviorAfterLimit: u?.behaviorAfterLimit
|
|
8975
|
-
}), F.common.configFiltersChanged =
|
|
8923
|
+
}), F.common.configFiltersChanged = _u(e, i), F.common.xOrYChanged = Hu(f, d), F.common.filterBySelectionChanged = Ba(
|
|
8976
8924
|
r,
|
|
8977
8925
|
o
|
|
8978
|
-
), F.common.dataForFilterBySelectionChanged =
|
|
8926
|
+
), F.common.dataForFilterBySelectionChanged = ju({
|
|
8979
8927
|
previousSelectionOIDs: a,
|
|
8980
8928
|
selectionData: l,
|
|
8981
8929
|
filterBySelection: o
|
|
@@ -8984,7 +8932,7 @@ function jf(t) {
|
|
|
8984
8932
|
i
|
|
8985
8933
|
), F.common = {
|
|
8986
8934
|
...F.common,
|
|
8987
|
-
...
|
|
8935
|
+
...zu({
|
|
8988
8936
|
previousSeries: f,
|
|
8989
8937
|
newConfig: i,
|
|
8990
8938
|
setTimeBinningInfoWhenNotProvided: c,
|
|
@@ -9012,13 +8960,13 @@ function jf(t) {
|
|
|
9012
8960
|
);
|
|
9013
8961
|
break;
|
|
9014
8962
|
case h.HeatSeries:
|
|
9015
|
-
Ge(e) && Ge(i) && (F.heatChart.binningChanged = La(e, i), F.heatChart.hideEmptyRowsAndColumnsChanged =
|
|
8963
|
+
Ge(e) && Ge(i) && (F.heatChart.binningChanged = La(e, i), F.heatChart.hideEmptyRowsAndColumnsChanged = Uu(
|
|
9016
8964
|
e,
|
|
9017
8965
|
i
|
|
9018
|
-
), F.heatChart.includeLeapDay =
|
|
8966
|
+
), F.heatChart.includeLeapDay = Gu(e, i));
|
|
9019
8967
|
break;
|
|
9020
8968
|
case h.ScatterSeries:
|
|
9021
|
-
F.scatterPlot.tooltipFieldsChanged =
|
|
8969
|
+
F.scatterPlot.tooltipFieldsChanged = Wu({
|
|
9022
8970
|
previousConfig: e,
|
|
9023
8971
|
newConfig: i,
|
|
9024
8972
|
fieldList: n
|
|
@@ -9027,7 +8975,7 @@ function jf(t) {
|
|
|
9027
8975
|
}
|
|
9028
8976
|
return y = Object.values(F.common).some((b) => b), (F.gauge.valueConversionChanged || F.gauge.minMaxFromFieldsChanged || F.histogram.dataPropsChanged || F.boxPlot.showMeanChanged || F.heatChart.binningChanged || F.heatChart.hideEmptyRowsAndColumnsChanged || F.heatChart.includeLeapDay || F.scatterPlot.tooltipFieldsChanged) && (p = !0), g = y || p, { dataUpdateNeeded: g, dataUpdateDetails: F };
|
|
9029
8977
|
}
|
|
9030
|
-
function
|
|
8978
|
+
function jf(t, e) {
|
|
9031
8979
|
const i = Re(t);
|
|
9032
8980
|
if (i && i.series.length > 1) {
|
|
9033
8981
|
const { preferLabel: r, orderBy: a } = i.orderOptions?.series ?? {};
|
|
@@ -9046,7 +8994,7 @@ function Xf(t, e) {
|
|
|
9046
8994
|
});
|
|
9047
8995
|
}
|
|
9048
8996
|
}
|
|
9049
|
-
return
|
|
8997
|
+
return Ou({
|
|
9050
8998
|
data: i?.series.map((r) => r.id),
|
|
9051
8999
|
htmlContainer: e
|
|
9052
9000
|
}), i;
|
|
@@ -9062,7 +9010,7 @@ function Ii(t) {
|
|
|
9062
9010
|
orderBy: i.orderByY
|
|
9063
9011
|
})), e;
|
|
9064
9012
|
}
|
|
9065
|
-
function
|
|
9013
|
+
function Xu(t) {
|
|
9066
9014
|
const { chartConfig: e, field: i } = t;
|
|
9067
9015
|
let r;
|
|
9068
9016
|
const a = Ii(e);
|
|
@@ -9152,7 +9100,7 @@ function _t(t) {
|
|
|
9152
9100
|
}
|
|
9153
9101
|
return e;
|
|
9154
9102
|
}
|
|
9155
|
-
function
|
|
9103
|
+
function Xf(t) {
|
|
9156
9104
|
const { oldConfig: e, newConfig: i, dataWasUpdated: r } = t, a = Q(i.series), n = H(i.series);
|
|
9157
9105
|
let s = !1, o = !1;
|
|
9158
9106
|
if (n !== S.BoxPlotMonoField && n !== S.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
|
|
@@ -9167,10 +9115,10 @@ function Yf(t) {
|
|
|
9167
9115
|
}
|
|
9168
9116
|
return s;
|
|
9169
9117
|
}
|
|
9170
|
-
function
|
|
9118
|
+
function Yf(t) {
|
|
9171
9119
|
return t?.fillSymbol ?? (Ps(t?.symbol) ? t?.symbol : void 0);
|
|
9172
9120
|
}
|
|
9173
|
-
const
|
|
9121
|
+
const Zf = {
|
|
9174
9122
|
getPieChartChartSubType: Fa,
|
|
9175
9123
|
getBarLineChartSubType: ba,
|
|
9176
9124
|
hasQueryChanged: Ca,
|
|
@@ -9185,7 +9133,7 @@ const Jf = {
|
|
|
9185
9133
|
getDataOrderParametersForCommonChart: Ma,
|
|
9186
9134
|
getDataOrderParametersForHeatChart: Ii
|
|
9187
9135
|
};
|
|
9188
|
-
function
|
|
9136
|
+
function Yu(t) {
|
|
9189
9137
|
let e;
|
|
9190
9138
|
const i = t?.series?.find(
|
|
9191
9139
|
(r) => ka(r) && "nullCategory" in r && r.nullCategory?.text !== void 0
|
|
@@ -9193,18 +9141,18 @@ function Zu(t) {
|
|
|
9193
9141
|
return i && "nullCategory" in i && (e = i.nullCategory?.text), e;
|
|
9194
9142
|
}
|
|
9195
9143
|
export {
|
|
9196
|
-
|
|
9144
|
+
Sf as $,
|
|
9197
9145
|
oe as A,
|
|
9198
9146
|
Cr as B,
|
|
9199
9147
|
Dt as C,
|
|
9200
9148
|
kr as D,
|
|
9201
9149
|
pn as E,
|
|
9202
|
-
|
|
9203
|
-
|
|
9150
|
+
Oc as F,
|
|
9151
|
+
id as G,
|
|
9204
9152
|
ir as H,
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9153
|
+
af as I,
|
|
9154
|
+
jl as J,
|
|
9155
|
+
kd as K,
|
|
9208
9156
|
We as L,
|
|
9209
9157
|
Me as M,
|
|
9210
9158
|
ne as N,
|
|
@@ -9212,276 +9160,276 @@ export {
|
|
|
9212
9160
|
q as P,
|
|
9213
9161
|
re as Q,
|
|
9214
9162
|
xa as R,
|
|
9215
|
-
|
|
9216
|
-
|
|
9163
|
+
nf as S,
|
|
9164
|
+
od as T,
|
|
9217
9165
|
ue as U,
|
|
9218
9166
|
us as V,
|
|
9219
9167
|
de as W,
|
|
9220
|
-
|
|
9168
|
+
Qc as X,
|
|
9221
9169
|
Ce as Y,
|
|
9222
|
-
|
|
9170
|
+
td as Z,
|
|
9223
9171
|
De as _,
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9172
|
+
yd as a,
|
|
9173
|
+
Uf as a$,
|
|
9174
|
+
Rl as a0,
|
|
9227
9175
|
nr as a1,
|
|
9228
|
-
|
|
9176
|
+
Cf as a2,
|
|
9229
9177
|
ra as a3,
|
|
9230
9178
|
Os as a4,
|
|
9231
|
-
|
|
9179
|
+
bf as a5,
|
|
9232
9180
|
Dn as a6,
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9181
|
+
xf as a7,
|
|
9182
|
+
qc as a8,
|
|
9183
|
+
Ud as a9,
|
|
9184
|
+
Qf as aA,
|
|
9185
|
+
_f as aB,
|
|
9186
|
+
Ec as aC,
|
|
9187
|
+
Od as aD,
|
|
9188
|
+
Ef as aE,
|
|
9189
|
+
Of as aF,
|
|
9190
|
+
sd as aG,
|
|
9243
9191
|
li as aH,
|
|
9244
9192
|
St as aI,
|
|
9245
|
-
|
|
9193
|
+
Ed as aJ,
|
|
9246
9194
|
as as aK,
|
|
9247
|
-
|
|
9248
|
-
|
|
9195
|
+
ed as aL,
|
|
9196
|
+
Xc as aM,
|
|
9249
9197
|
Ge as aN,
|
|
9250
9198
|
Ct as aO,
|
|
9251
|
-
|
|
9199
|
+
hu as aP,
|
|
9252
9200
|
Qi as aQ,
|
|
9253
9201
|
Ve as aR,
|
|
9254
9202
|
pe as aS,
|
|
9255
|
-
|
|
9203
|
+
ld as aT,
|
|
9256
9204
|
Dr as aU,
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9205
|
+
wl as aV,
|
|
9206
|
+
mf as aW,
|
|
9207
|
+
Nl as aX,
|
|
9208
|
+
Ld as aY,
|
|
9209
|
+
Pd as aZ,
|
|
9210
|
+
wd as a_,
|
|
9211
|
+
Wd as aa,
|
|
9264
9212
|
bt as ab,
|
|
9265
|
-
|
|
9213
|
+
lf as ac,
|
|
9266
9214
|
Or as ad,
|
|
9267
9215
|
so as ae,
|
|
9268
|
-
|
|
9269
|
-
|
|
9216
|
+
Id as af,
|
|
9217
|
+
Pl as ag,
|
|
9270
9218
|
Ki as ah,
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9219
|
+
Ad as ai,
|
|
9220
|
+
Yd as aj,
|
|
9221
|
+
Bf as ak,
|
|
9274
9222
|
rr as al,
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9223
|
+
Md as am,
|
|
9224
|
+
zd as an,
|
|
9225
|
+
Dd as ao,
|
|
9226
|
+
Yf as ap,
|
|
9227
|
+
Ff as aq,
|
|
9280
9228
|
Ue as ar,
|
|
9281
|
-
|
|
9282
|
-
|
|
9229
|
+
qd as as,
|
|
9230
|
+
nd as at,
|
|
9283
9231
|
le as au,
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9232
|
+
Xf as av,
|
|
9233
|
+
qf as aw,
|
|
9234
|
+
kf as ax,
|
|
9235
|
+
Rf as ay,
|
|
9236
|
+
Vf as az,
|
|
9237
|
+
gd as b,
|
|
9238
|
+
Cd as b$,
|
|
9239
|
+
$f as b0,
|
|
9240
|
+
wf as b1,
|
|
9241
|
+
zf as b2,
|
|
9242
|
+
Gf as b3,
|
|
9243
|
+
If as b4,
|
|
9244
|
+
Pf as b5,
|
|
9245
|
+
Lf as b6,
|
|
9246
|
+
Mf as b7,
|
|
9247
|
+
Uu as b8,
|
|
9248
|
+
ad as b9,
|
|
9249
|
+
Yc as bA,
|
|
9250
|
+
gf as bB,
|
|
9251
|
+
hd as bC,
|
|
9252
|
+
uf as bD,
|
|
9305
9253
|
Es as bE,
|
|
9306
|
-
|
|
9254
|
+
ud as bF,
|
|
9307
9255
|
ft as bG,
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9256
|
+
ou as bH,
|
|
9257
|
+
Vl as bI,
|
|
9258
|
+
pd as bJ,
|
|
9259
|
+
Tf as bK,
|
|
9260
|
+
Vd as bL,
|
|
9261
|
+
$d as bM,
|
|
9262
|
+
jf as bN,
|
|
9263
|
+
sf as bO,
|
|
9316
9264
|
ti as bP,
|
|
9317
|
-
|
|
9318
|
-
|
|
9265
|
+
zc as bQ,
|
|
9266
|
+
df as bR,
|
|
9319
9267
|
ha as bS,
|
|
9320
9268
|
st as bT,
|
|
9321
9269
|
Mi as bU,
|
|
9322
9270
|
On as bV,
|
|
9323
9271
|
ea as bW,
|
|
9324
9272
|
Fe as bX,
|
|
9325
|
-
|
|
9326
|
-
|
|
9273
|
+
xu as bY,
|
|
9274
|
+
ff as bZ,
|
|
9327
9275
|
Ds as b_,
|
|
9328
9276
|
Li as ba,
|
|
9329
9277
|
xn as bb,
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9278
|
+
_u as bc,
|
|
9279
|
+
Wf as bd,
|
|
9280
|
+
Gd as be,
|
|
9281
|
+
jd as bf,
|
|
9334
9282
|
Hr as bg,
|
|
9335
9283
|
$ as bh,
|
|
9336
|
-
|
|
9337
|
-
|
|
9284
|
+
Hc as bi,
|
|
9285
|
+
Rd as bj,
|
|
9338
9286
|
ya as bk,
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9287
|
+
Gl as bl,
|
|
9288
|
+
cd as bm,
|
|
9289
|
+
cf as bn,
|
|
9290
|
+
Wc as bo,
|
|
9291
|
+
Il as bp,
|
|
9344
9292
|
er as bq,
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9293
|
+
Ml as br,
|
|
9294
|
+
$c as bs,
|
|
9295
|
+
vf as bt,
|
|
9296
|
+
Xd as bu,
|
|
9349
9297
|
Be as bv,
|
|
9350
|
-
|
|
9298
|
+
Qd as bw,
|
|
9351
9299
|
sr as bx,
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9300
|
+
_d as by,
|
|
9301
|
+
Kd as bz,
|
|
9302
|
+
Kc as c,
|
|
9355
9303
|
$t as c$,
|
|
9356
|
-
|
|
9357
|
-
|
|
9304
|
+
Bd as c0,
|
|
9305
|
+
Fd as c1,
|
|
9358
9306
|
Is as c2,
|
|
9359
|
-
|
|
9360
|
-
|
|
9307
|
+
bd as c3,
|
|
9308
|
+
jc as c4,
|
|
9361
9309
|
ca as c5,
|
|
9362
9310
|
_e as c6,
|
|
9363
9311
|
Ai as c7,
|
|
9364
|
-
|
|
9312
|
+
Zc as c8,
|
|
9365
9313
|
ga as c9,
|
|
9366
9314
|
jn as cA,
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
|
|
9315
|
+
ru as cB,
|
|
9316
|
+
gu as cC,
|
|
9317
|
+
of as cD,
|
|
9318
|
+
Nu as cE,
|
|
9319
|
+
$u as cF,
|
|
9372
9320
|
rt as cG,
|
|
9373
9321
|
Fi as cH,
|
|
9374
9322
|
_t as cI,
|
|
9375
9323
|
ma as cJ,
|
|
9376
9324
|
gi as cK,
|
|
9377
9325
|
yi as cL,
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9326
|
+
pf as cM,
|
|
9327
|
+
Xu as cN,
|
|
9328
|
+
cu as cO,
|
|
9381
9329
|
da as cP,
|
|
9382
|
-
|
|
9330
|
+
du as cQ,
|
|
9383
9331
|
fa as cR,
|
|
9384
9332
|
vn as cS,
|
|
9385
9333
|
Xt as cT,
|
|
9386
9334
|
Hn as cU,
|
|
9387
9335
|
Lr as cV,
|
|
9388
|
-
|
|
9336
|
+
Yu as cW,
|
|
9389
9337
|
Nr as cX,
|
|
9390
9338
|
wr as cY,
|
|
9391
9339
|
Rn as cZ,
|
|
9392
9340
|
qn as c_,
|
|
9393
|
-
|
|
9394
|
-
|
|
9341
|
+
Zd as ca,
|
|
9342
|
+
yf as cb,
|
|
9395
9343
|
Y as cc,
|
|
9396
|
-
|
|
9344
|
+
dd as cd,
|
|
9397
9345
|
ei as ce,
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9346
|
+
Eu as cf,
|
|
9347
|
+
qu as cg,
|
|
9348
|
+
bu as ch,
|
|
9349
|
+
Cu as ci,
|
|
9350
|
+
fd as cj,
|
|
9351
|
+
md as ck,
|
|
9404
9352
|
Ms as cl,
|
|
9405
|
-
|
|
9406
|
-
|
|
9353
|
+
Nd as cm,
|
|
9354
|
+
Su as cn,
|
|
9407
9355
|
ua as co,
|
|
9408
9356
|
qs as cp,
|
|
9409
|
-
|
|
9357
|
+
Zf as cq,
|
|
9410
9358
|
He as cr,
|
|
9411
|
-
|
|
9359
|
+
ef as cs,
|
|
9412
9360
|
Tr as ct,
|
|
9413
|
-
|
|
9361
|
+
_c as cu,
|
|
9414
9362
|
Cn as cv,
|
|
9415
9363
|
Bn as cw,
|
|
9416
|
-
|
|
9417
|
-
|
|
9364
|
+
vu as cx,
|
|
9365
|
+
Bu as cy,
|
|
9418
9366
|
Ns as cz,
|
|
9419
|
-
|
|
9367
|
+
rf as d,
|
|
9420
9368
|
Ls as d0,
|
|
9421
9369
|
Yn as d1,
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9370
|
+
lu as d2,
|
|
9371
|
+
yu as d3,
|
|
9372
|
+
nu as d4,
|
|
9373
|
+
pu as d5,
|
|
9374
|
+
mu as d6,
|
|
9375
|
+
fu as d7,
|
|
9376
|
+
Fo as d8,
|
|
9377
|
+
Wu as d9,
|
|
9430
9378
|
An as dA,
|
|
9431
9379
|
Ln as dB,
|
|
9432
9380
|
Pn as dC,
|
|
9433
9381
|
wn as dD,
|
|
9434
|
-
|
|
9382
|
+
Gc as dE,
|
|
9435
9383
|
Bt as dF,
|
|
9436
9384
|
In as dG,
|
|
9437
|
-
|
|
9385
|
+
Dl as dH,
|
|
9438
9386
|
Xi as dI,
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9387
|
+
Ru as dJ,
|
|
9388
|
+
ju as da,
|
|
9389
|
+
Gu as db,
|
|
9390
|
+
xd as dc,
|
|
9391
|
+
Sd as dd,
|
|
9444
9392
|
Fn as de,
|
|
9445
9393
|
bn as df,
|
|
9446
|
-
|
|
9394
|
+
vd as dg,
|
|
9447
9395
|
kt as dh,
|
|
9448
|
-
|
|
9396
|
+
Vc as di,
|
|
9449
9397
|
En as dj,
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9398
|
+
Rc as dk,
|
|
9399
|
+
Fu as dl,
|
|
9400
|
+
kc as dm,
|
|
9453
9401
|
vr as dn,
|
|
9454
|
-
|
|
9455
|
-
|
|
9402
|
+
ql as dp,
|
|
9403
|
+
hf as dq,
|
|
9456
9404
|
Qn as dr,
|
|
9457
9405
|
_n as ds,
|
|
9458
9406
|
$n as dt,
|
|
9459
9407
|
bi as du,
|
|
9460
9408
|
dt as dv,
|
|
9461
|
-
|
|
9409
|
+
Uc as dw,
|
|
9462
9410
|
Qt as dx,
|
|
9463
9411
|
Ie as dy,
|
|
9464
9412
|
Nn as dz,
|
|
9465
|
-
|
|
9413
|
+
rd as e,
|
|
9466
9414
|
Ti as f,
|
|
9467
|
-
|
|
9468
|
-
|
|
9415
|
+
Af as g,
|
|
9416
|
+
Df as h,
|
|
9469
9417
|
Ps as i,
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9418
|
+
Hf as j,
|
|
9419
|
+
Hd as k,
|
|
9420
|
+
tf as l,
|
|
9421
|
+
Jc as m,
|
|
9422
|
+
Dc as n,
|
|
9423
|
+
Nf as o,
|
|
9476
9424
|
H as p,
|
|
9477
9425
|
W as q,
|
|
9478
9426
|
we as r,
|
|
9479
|
-
|
|
9427
|
+
Jd as s,
|
|
9480
9428
|
ve as t,
|
|
9481
|
-
|
|
9429
|
+
zl as u,
|
|
9482
9430
|
qt as v,
|
|
9483
9431
|
fe as w,
|
|
9484
|
-
|
|
9432
|
+
Td as x,
|
|
9485
9433
|
Ne as y,
|
|
9486
9434
|
Ot as z
|
|
9487
9435
|
};
|