@arcgis/charts-components 5.2.0-next.94 → 5.2.0-next.95
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/{H2NVXIPH.js → 225VUGML.js} +3 -3
- package/dist/cdn/{5LBF4SSV.js → 2CFI7BGP.js} +1 -1
- package/dist/cdn/{AHAIJDB2.js → 2R6MQ752.js} +1 -1
- package/dist/cdn/{AXWUOABD.js → 3GJ64ZJ4.js} +1 -1
- package/dist/cdn/{UBTJOXKH.js → 3NLKE6ZN.js} +1 -1
- package/dist/cdn/{MXGHQBEG.js → 42FKRE56.js} +1 -1
- package/dist/cdn/{6AFE4M3T.js → 455LSMAU.js} +1 -1
- package/dist/cdn/{SYWTGNM2.js → 4A4EW5Z5.js} +1 -1
- package/dist/cdn/{NYVOHYRH.js → 4DR6JUR7.js} +1 -1
- package/dist/cdn/{FBRQK463.js → 4LJRIJWD.js} +1 -1
- package/dist/cdn/{BYT7C7VI.js → 4U63XRSZ.js} +1 -1
- package/dist/cdn/{FZOFULPS.js → 52GJ6UGS.js} +1 -1
- package/dist/cdn/{4CXLM72I.js → 56CLURJA.js} +1 -1
- package/dist/cdn/{RNSUQVAD.js → 5GDVKAX5.js} +1 -1
- package/dist/cdn/{TK44WD5Z.js → 5SKJYBPO.js} +1 -1
- package/dist/cdn/{UZHQF5CV.js → 5SYHQWPP.js} +1 -1
- package/dist/cdn/{IL2RER5V.js → 63AHC52W.js} +1 -1
- package/dist/cdn/{BGXZ42ED.js → 6H6SZO4Y.js} +1 -1
- package/dist/cdn/{4JEK27XV.js → 6VIPQGM6.js} +1 -1
- package/dist/cdn/{HAY6LZTC.js → 7LA6R3JD.js} +1 -1
- package/dist/cdn/{SBJGOYJL.js → 7TM4LYGN.js} +1 -1
- package/dist/cdn/{5IQPL6AC.js → AIQU35U3.js} +1 -1
- package/dist/cdn/{YWLBGSMG.js → AMTIT4IA.js} +1 -1
- package/dist/cdn/{KJAMXKR3.js → AOVXHBJK.js} +1 -1
- package/dist/cdn/{KQUI4CT6.js → AYCQHDDV.js} +1 -1
- package/dist/cdn/{KIQONRCW.js → AZYYQMCD.js} +1 -1
- package/dist/cdn/{RAZ5P564.js → BB3YY4S4.js} +1 -1
- package/dist/cdn/{MTQFQWYG.js → BDASIXVJ.js} +1 -1
- package/dist/cdn/{K3LGNMJB.js → BWLRC2U5.js} +1 -1
- package/dist/cdn/{R7UWW3TZ.js → C3ZVHFEH.js} +1 -1
- package/dist/cdn/{IC6GECR5.js → CC7DZFC6.js} +1 -1
- package/dist/cdn/{AELTVK5N.js → CDRZ4CST.js} +1 -1
- package/dist/cdn/{4JWNKQ22.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/{YBVVLNAT.js → D3VGNOMT.js} +1 -1
- package/dist/cdn/{4VW736DF.js → D5DOFLCS.js} +1 -1
- package/dist/cdn/{IGITXVJI.js → E6E2KLJ2.js} +1 -1
- package/dist/cdn/{CZ62W7UB.js → E6JK3JRJ.js} +1 -1
- package/dist/cdn/{WXPIZP63.js → EB4CM3YK.js} +1 -1
- package/dist/cdn/{QODVHTRA.js → EVTLSZ5O.js} +1 -1
- package/dist/cdn/{RFLBJ5F6.js → EWIMT2AS.js} +1 -1
- package/dist/cdn/{IGE2Z7GO.js → FBS4RBSA.js} +1 -1
- package/dist/cdn/{SHTMAA3U.js → FCADGQJJ.js} +1 -1
- package/dist/cdn/{ONQJB7XI.js → GJ2CW5F2.js} +1 -1
- package/dist/cdn/{7HWZXF5A.js → GKIYT47O.js} +1 -1
- package/dist/cdn/{FSRPLIND.js → GVJ5WCQD.js} +1 -1
- package/dist/cdn/{M46SIJYN.js → GXYKOTY7.js} +1 -1
- package/dist/cdn/{DQ6LRD4W.js → H62OOC74.js} +1 -1
- package/dist/cdn/{BCNKEOFL.js → HC33KORY.js} +1 -1
- package/dist/cdn/{GVQLHXCG.js → HF4BJOBP.js} +1 -1
- package/dist/cdn/{4KFOFEIN.js → HKNSFOTD.js} +1 -1
- package/dist/cdn/{KMP2NYK6.js → HN3ITVY4.js} +1 -1
- package/dist/cdn/{TF6SC2R3.js → HPPHOWG7.js} +1 -1
- package/dist/cdn/{5DCUB4FX.js → IBMPLHXH.js} +1 -1
- package/dist/cdn/{HSIYQNVK.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/{KDGXJ3LJ.js → IJVOYQLH.js} +1 -1
- package/dist/cdn/{EU2EVPUK.js → JM6L3BZH.js} +1 -1
- package/dist/cdn/{52GO2JZC.js → JMEPJL72.js} +1 -1
- package/dist/cdn/{TVQFQTJN.js → JSVAA6N4.js} +1 -1
- package/dist/cdn/{PEOJOFFP.js → KERMLQR2.js} +1 -1
- package/dist/cdn/{VGZCEHUH.js → KYESCAI2.js} +1 -1
- package/dist/cdn/{CXZ7MZPY.js → KYOCE6FA.js} +1 -1
- package/dist/cdn/{LEZM24PU.js → LZ7SW2R3.js} +1 -1
- package/dist/cdn/{SOR4DYKA.js → MQI4ZLAS.js} +1 -1
- package/dist/cdn/{P6LFMAZJ.js → O4DFT4N4.js} +1 -1
- package/dist/cdn/{57PMXO2G.js → OKKEWHMB.js} +1 -1
- package/dist/cdn/{3PDCMLV2.js → OKZKKKY6.js} +1 -1
- package/dist/cdn/{SJXTS4TF.js → OURE3TA5.js} +1 -1
- package/dist/cdn/{FLR2AT35.js → OVRV43B7.js} +1 -1
- package/dist/cdn/{IPKMUURX.js → PT2OG4W2.js} +1 -1
- package/dist/cdn/{SZNZAD56.js → QKUFLZC3.js} +1 -1
- package/dist/cdn/QO2RH3XB.js +3 -0
- package/dist/cdn/{LZNXWS4O.js → QWVW4ZUT.js} +24 -24
- package/dist/cdn/{QFNDC2XR.js → RD7TKIQS.js} +1 -1
- package/dist/cdn/{F65D4RJJ.js → RNGQEQRO.js} +1 -1
- package/dist/cdn/{R3RLEISD.js → RQCFIEGS.js} +1 -1
- package/dist/cdn/{XYFPPUVQ.js → S6RBDFHP.js} +1 -1
- package/dist/cdn/{HS3QXLZC.js → SIHW3QVG.js} +1 -1
- package/dist/cdn/{KE3BTQXC.js → SS7GYFUD.js} +1 -1
- package/dist/cdn/{ODYN5EMU.js → SZSTCHLY.js} +1 -1
- package/dist/cdn/{BHJHX65O.js → SZYIWW3C.js} +1 -1
- package/dist/cdn/{KCCLZZS7.js → TJJ4LMYG.js} +1 -1
- package/dist/cdn/{XSDCK3IH.js → UCHQXTEC.js} +1 -1
- package/dist/cdn/{6SUEHUL6.js → ULQSD4KK.js} +1 -1
- package/dist/cdn/{QDYO64C6.js → UVESG7TY.js} +1 -1
- package/dist/cdn/{NPI4IPBC.js → VJNOQYPI.js} +1 -1
- package/dist/cdn/{F6VXAPTT.js → VMHDTE3U.js} +1 -1
- package/dist/cdn/{4MP4Q5I4.js → VWUW3HFU.js} +1 -1
- package/dist/cdn/{EL5EBXW6.js → WOVEUX6R.js} +1 -1
- package/dist/cdn/{QFXCVZYG.js → WTMEWLUJ.js} +1 -1
- package/dist/cdn/{ZZNMJQYT.js → WTOK3YQI.js} +1 -1
- package/dist/cdn/{VVOQ4Q2X.js → WVOXFKFO.js} +1 -1
- package/dist/cdn/{ZNR5734Q.js → XQ7JB6AU.js} +1 -1
- package/dist/cdn/{JMQEKJA5.js → YFMHKHFE.js} +1 -1
- package/dist/cdn/{3DFJNY6A.js → YGPTQ6U2.js} +1 -1
- package/dist/cdn/{QUYRCQOV.js → YHC6WRNQ.js} +1 -1
- package/dist/cdn/{4SM6EV6P.js → ZDKUHFRX.js} +1 -1
- package/dist/cdn/{WGON3TB6.js → ZLARROJV.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +59 -47
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +3 -3
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/index.js +848 -844
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +8 -8
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/serial-chart-data.js +50 -50
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/utils.js +2 -2
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +156 -22
- package/dist/components/arcgis-chart/customElement.js +5546 -5571
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +366 -364
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +2 -2
- package/dist/utils/chart-config/utils/index.d.ts +1 -2
- package/dist/utils/data/categorical-data/index.d.ts +17 -1
- package/package.json +4 -4
- package/dist/cdn/4GHPGD5V.js +0 -3
package/dist/chunks/index.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { cloneDeep as Re, isEqual as at, isArray as pi, isNil as
|
|
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
|
|
2
|
+
import { cloneDeep as Re, isEqual as at, isArray as pi, isNil as Oa, isEmpty as Ea, memoize as Qe, sortBy as Di } from "lodash-es";
|
|
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 qa, r as Ra, B as Va, 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 { a as h, f as
|
|
6
|
-
import
|
|
5
|
+
import { a as h, f as $a, 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
|
+
import ka 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";
|
|
9
|
-
import { g as Q, s as
|
|
10
|
-
import { q as k, g as mr, Q as
|
|
11
|
-
import { i as ie, c as nt, d as pr, a as yt, e as
|
|
9
|
+
import { g as Q, s as Qa } from "./series-types.js";
|
|
10
|
+
import { q as k, g as mr, Q as _a, l as zt, i as G, R as ut, S as Ut, T as Ha, U as ct, a as Ei, V as qe, C as gr, L as za, M as Ua, p as si, r as yr } from "./index3.js";
|
|
11
|
+
import { i as ie, c as nt, d as pr, a as yt, e as Ga, f as Wa, g as ja } from "./type-guards.js";
|
|
12
12
|
import qi from "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
|
-
import
|
|
13
|
+
import Xa from "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
14
14
|
import Ri from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
15
|
-
import { computeStatisticsHistograms as
|
|
15
|
+
import { computeStatisticsHistograms as Ya, computeRasterAttributeTable as Za, getCurrentRasterInfo as Xe, fetchPixelFeatureSet as Ja } from "@arcgis/core/applications/Components/imageryUtils.js";
|
|
16
16
|
import * as Si from "@arcgis/core/core/promiseUtils.js";
|
|
17
17
|
import hr from "@arcgis/core/geometry/Point.js";
|
|
18
18
|
import * as Sr from "@arcgis/core/geometry/support/jsonUtils.js";
|
|
19
|
-
import
|
|
19
|
+
import Ka from "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
20
20
|
import Vi from "@arcgis/core/rest/support/Query.js";
|
|
21
|
-
import
|
|
21
|
+
import en from "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
22
22
|
import Fr from "@arcgis/core/time/TimeExtent.js";
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import * as
|
|
27
|
-
import
|
|
23
|
+
import tn from "@arcgis/core/layers/FeatureLayer.js";
|
|
24
|
+
import rn from "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
25
|
+
import an from "@arcgis/core/layers/support/Field.js";
|
|
26
|
+
import * as nn from "@arcgis/core/layers/support/fieldUtils.js";
|
|
27
|
+
import sn from "@arcgis/core/portal/Portal.js";
|
|
28
28
|
import It from "@arcgis/core/request.js";
|
|
29
29
|
import br from "@arcgis/core/rest/support/FeatureSet.js";
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import { linearRegression as
|
|
30
|
+
import on from "@arcgis/core/layers/ImageryLayer.js";
|
|
31
|
+
import ln from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
32
|
+
import un from "@arcgis/core/layers/WCSLayer.js";
|
|
33
|
+
import cn from "@arcgis/core/geometry/Extent.js";
|
|
34
|
+
import { linearRegression as dn, linearRegressionLine as fn, rSquared as mn } from "simple-statistics";
|
|
35
35
|
import { fetchT9nStringsBundle as pt, supportedLocales as xr } from "@arcgis/toolkit/intl";
|
|
36
36
|
import { getElementLocale as ze } from "@arcgis/toolkit/intl/dom";
|
|
37
37
|
import { g as ht } from "./runtime.js";
|
|
38
38
|
import { DateTime as ge } from "luxon";
|
|
39
|
-
import
|
|
39
|
+
import gn from "@arcgis/core/AttributeBinsGraphic.js";
|
|
40
40
|
import { substitute as be } from "@arcgis/core/intl.js";
|
|
41
|
-
import { unsafeGetElementDirection as
|
|
42
|
-
import { sqlLiteral as
|
|
41
|
+
import { unsafeGetElementDirection as yn } from "@arcgis/toolkit/dom";
|
|
42
|
+
import { sqlLiteral as pn } from "@arcgis/core/core/sql.js";
|
|
43
43
|
function Dt(t) {
|
|
44
44
|
return t?.type === h.NumberAxisFormat;
|
|
45
45
|
}
|
|
@@ -65,7 +65,7 @@ function Ec(t) {
|
|
|
65
65
|
e.verticalAxisLabelsBehavior !== i.verticalAxisLabelsBehavior
|
|
66
66
|
];
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function hn(t) {
|
|
69
69
|
const { isXAxis: e, chartType: i, valueFormat: r, isAxisForHistogramOverlaySeries: a } = t;
|
|
70
70
|
return i === h.HeatSeries || e && (Ot(r) || i === h.HistogramSeries && !a || i === h.BarSeries && Dt(r));
|
|
71
71
|
}
|
|
@@ -130,7 +130,7 @@ const St = {
|
|
|
130
130
|
// blue
|
|
131
131
|
},
|
|
132
132
|
legend: {
|
|
133
|
-
position:
|
|
133
|
+
position: $a.Bottom,
|
|
134
134
|
chartPadding: 40,
|
|
135
135
|
legendPadding: 20,
|
|
136
136
|
width: 70,
|
|
@@ -190,7 +190,7 @@ const le = {
|
|
|
190
190
|
LayerFieldsNotFound: "layerFieldsNotFound",
|
|
191
191
|
LayerNotSupported: "layerNotSupported"
|
|
192
192
|
};
|
|
193
|
-
function
|
|
193
|
+
function Sn(t, e) {
|
|
194
194
|
const i = ge.now().offset / 60, r = ge.now().setZone(t) ?? i, a = r.offset / 60, n = e ? r.setZone(e).offset / 60 : 0;
|
|
195
195
|
return a - n;
|
|
196
196
|
}
|
|
@@ -200,7 +200,7 @@ function Br(t) {
|
|
|
200
200
|
dataTimeZone: i = "UTC",
|
|
201
201
|
runsOnClientQueryEngine: r
|
|
202
202
|
} = t;
|
|
203
|
-
let a = "", n =
|
|
203
|
+
let a = "", n = Sn(e, i);
|
|
204
204
|
if (n !== 0)
|
|
205
205
|
if (r)
|
|
206
206
|
a = `${n > 0 ? "+" : "-"}1*INTERVAL '${Math.abs(n)}' HOUR `;
|
|
@@ -210,7 +210,7 @@ function Br(t) {
|
|
|
210
210
|
}
|
|
211
211
|
return a;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Fn(t) {
|
|
214
214
|
const { dateFieldName: e, unit: i, runsOnClientQueryEngine: r, outTimeZone: a } = t, n = Br({ runsOnClientQueryEngine: r, outTimeZone: a }), s = `EXTRACT(YEAR FROM ${e} ${n})`, o = `EXTRACT(MONTH FROM ${e} ${n})`, l = `EXTRACT(DAY FROM ${e} ${n})`, c = `EXTRACT(HOUR FROM ${e} ${n})`, u = `EXTRACT(MINUTE FROM ${e} ${n})`, d = `EXTRACT(SECOND FROM ${e} ${n})`;
|
|
215
215
|
let f = [];
|
|
216
216
|
switch (i) {
|
|
@@ -244,10 +244,10 @@ function Rc(t) {
|
|
|
244
244
|
function Vc(t) {
|
|
245
245
|
return t !== void 0 && "view" in t && "layer" in t && t.layer.type === "point-cloud";
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function bn(t) {
|
|
248
248
|
return t !== void 0 && "type" in t && t.type === "feature";
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function xn(t) {
|
|
251
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";
|
|
252
252
|
}
|
|
253
253
|
function $c(t) {
|
|
@@ -259,8 +259,8 @@ function kc(t) {
|
|
|
259
259
|
function vr(t) {
|
|
260
260
|
return t !== void 0 && "type" in t && t.type === "subtype-sublayer";
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
return
|
|
262
|
+
function Cn(t) {
|
|
263
|
+
return xn(t) || vr(t);
|
|
264
264
|
}
|
|
265
265
|
function pe(t) {
|
|
266
266
|
return vr(t) ? t.parent ?? void 0 : t;
|
|
@@ -268,7 +268,7 @@ function pe(t) {
|
|
|
268
268
|
function Tr(t) {
|
|
269
269
|
return t?.capabilities?.query?.supportsDistance || pe(t)?.sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance === !0;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Bn(t) {
|
|
272
272
|
return t?.capabilities?.queryAttributeBins?.supportsFixedInterval === !0 && t?.capabilities?.queryAttributeBins?.supportsStackBy;
|
|
273
273
|
}
|
|
274
274
|
function Qc(t) {
|
|
@@ -288,7 +288,7 @@ function _c(t) {
|
|
|
288
288
|
W(t)
|
|
289
289
|
)?.sourceJSON?.advancedQueryCapabilities.supportedOperationsWithCacheHint.includes("queryBins");
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function vn(t) {
|
|
292
292
|
let e = !1;
|
|
293
293
|
const r = pe(W(t))?.sourceJSON;
|
|
294
294
|
if (r) {
|
|
@@ -307,7 +307,7 @@ function W(t) {
|
|
|
307
307
|
let e;
|
|
308
308
|
return Ve(t) ? e = t.layer : e = t, e;
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function Tn(t) {
|
|
311
311
|
let e = !1;
|
|
312
312
|
const i = pe(t)?.sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics ?? [], r = t?.capabilities?.query.supportedSpatialAggregationStatistics ?? {};
|
|
313
313
|
return e = i.includes("EnvelopeAggregate") || "envelope" in r && r.envelope === !0, e;
|
|
@@ -331,7 +331,7 @@ function zc(t) {
|
|
|
331
331
|
return { ...e, iLayer: r };
|
|
332
332
|
}
|
|
333
333
|
const Ue = /* @__PURE__ */ new Map();
|
|
334
|
-
function
|
|
334
|
+
function Nn(t) {
|
|
335
335
|
let e;
|
|
336
336
|
switch (t) {
|
|
337
337
|
case "feet":
|
|
@@ -355,14 +355,14 @@ function Tn(t) {
|
|
|
355
355
|
}
|
|
356
356
|
return e;
|
|
357
357
|
}
|
|
358
|
-
async function
|
|
358
|
+
async function An(t) {
|
|
359
359
|
const { queryObject: e, queryConfig: i, outputFormat: r, dataFormat: a, outAnalytics: n, errorStrings: s, abortSignal: o } = t, { where: l, geometry: c, distance: u, units: d, timeExtent: f } = i;
|
|
360
360
|
let m;
|
|
361
361
|
const g = W(e), y = pe(g);
|
|
362
362
|
if (y) {
|
|
363
363
|
const F = { where: Y([l, y.definitionExpression]) }, b = { query: F, signal: o }, N = dt(c)?.extent?.toJSON();
|
|
364
364
|
if (N !== void 0) {
|
|
365
|
-
const x =
|
|
365
|
+
const x = Nn(d), { xmin: v, ymin: T, xmax: A, ymax: P } = N;
|
|
366
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()));
|
|
367
367
|
}
|
|
368
368
|
f && (F.time = `${f[0]},${f[1]}`);
|
|
@@ -387,7 +387,7 @@ function Nr(t, e) {
|
|
|
387
387
|
stackAlias: `charts_stack_alias_${e}`
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
|
-
async function
|
|
390
|
+
async function wn(t) {
|
|
391
391
|
const {
|
|
392
392
|
chartConfig: e,
|
|
393
393
|
queryObject: i,
|
|
@@ -399,9 +399,9 @@ async function An(t) {
|
|
|
399
399
|
abortSignal: l
|
|
400
400
|
} = t;
|
|
401
401
|
let c;
|
|
402
|
-
const u = W(i), d =
|
|
402
|
+
const u = W(i), d = Bn(u);
|
|
403
403
|
if (d && i && "queryAttributeBins" in i) {
|
|
404
|
-
const { x: f, y: m, xTemporalBinning: g, yTemporalBinning: y } = e.series[0], { outTimeZone: p, firstDayOfWeek: F, includeLeapDay: b } = e, N =
|
|
404
|
+
const { x: f, y: m, xTemporalBinning: g, yTemporalBinning: y } = e.series[0], { outTimeZone: p, firstDayOfWeek: F, includeLeapDay: b } = e, N = _n({
|
|
405
405
|
queryObject: i,
|
|
406
406
|
queryConfig: r,
|
|
407
407
|
x: f,
|
|
@@ -430,7 +430,7 @@ async function An(t) {
|
|
|
430
430
|
);
|
|
431
431
|
return c;
|
|
432
432
|
}
|
|
433
|
-
async function
|
|
433
|
+
async function Ln(t) {
|
|
434
434
|
const {
|
|
435
435
|
chartConfig: e,
|
|
436
436
|
queryObject: i,
|
|
@@ -461,7 +461,7 @@ async function wn(t) {
|
|
|
461
461
|
}
|
|
462
462
|
return u;
|
|
463
463
|
}
|
|
464
|
-
async function
|
|
464
|
+
async function Pn(t) {
|
|
465
465
|
const {
|
|
466
466
|
queryObject: e,
|
|
467
467
|
queryConfig: i,
|
|
@@ -477,7 +477,7 @@ async function Ln(t) {
|
|
|
477
477
|
} = t;
|
|
478
478
|
let f;
|
|
479
479
|
if (e && "queryAttributeBins" in e && Number.isFinite(r) && Number.isFinite(l) && Number.isFinite(a) && Number.isFinite(n) && r > 0 && l > 0) {
|
|
480
|
-
const m =
|
|
480
|
+
const m = Hn({
|
|
481
481
|
queryObject: e,
|
|
482
482
|
queryConfig: i,
|
|
483
483
|
xStep: r,
|
|
@@ -496,7 +496,7 @@ async function Ln(t) {
|
|
|
496
496
|
}
|
|
497
497
|
return f;
|
|
498
498
|
}
|
|
499
|
-
async function
|
|
499
|
+
async function Mn(t) {
|
|
500
500
|
const { queryConfig: e, x: i, queryObject: r, chartSubType: a, isGaugeByFeature: n, abortSignal: s } = t;
|
|
501
501
|
let o;
|
|
502
502
|
const l = W(r), { idField: c, isTraditionalTypeOID: u } = we(l), d = bi({
|
|
@@ -566,7 +566,7 @@ async function Ar(t) {
|
|
|
566
566
|
abortSignal: o
|
|
567
567
|
} = t;
|
|
568
568
|
let l = [];
|
|
569
|
-
const c = W(e), u = o || (n !== void 0 ? Ue.get(n)?.signal : void 0), d = r === !0 ? void 0 :
|
|
569
|
+
const c = W(e), u = o || (n !== void 0 ? Ue.get(n)?.signal : void 0), d = r === !0 ? void 0 : zn(c), f = bi({
|
|
570
570
|
queryObject: e,
|
|
571
571
|
queryConfig: i,
|
|
572
572
|
maxRecordCountFactor: d,
|
|
@@ -586,7 +586,7 @@ async function Ar(t) {
|
|
|
586
586
|
}
|
|
587
587
|
return l;
|
|
588
588
|
}
|
|
589
|
-
async function
|
|
589
|
+
async function In(t) {
|
|
590
590
|
const e = [], { featureCount: i, maxRecords: r, queryConfig: a, abortSignal: n } = t;
|
|
591
591
|
let s = [], o = 0, l = a?.start ?? 0;
|
|
592
592
|
for (; o < k.maxParallelRequests && l < i; ) {
|
|
@@ -618,7 +618,7 @@ async function Fe(t) {
|
|
|
618
618
|
const p = Math.ceil(f / m), F = Math.ceil(p / k.maxParallelRequests), b = [];
|
|
619
619
|
for (; y < F; ) {
|
|
620
620
|
g = y * k.maxParallelRequests * m;
|
|
621
|
-
const B =
|
|
621
|
+
const B = In({
|
|
622
622
|
queryConfig: { ...i, start: g },
|
|
623
623
|
queryObject: e,
|
|
624
624
|
maxRecords: m,
|
|
@@ -643,7 +643,7 @@ async function Fe(t) {
|
|
|
643
643
|
}));
|
|
644
644
|
return u;
|
|
645
645
|
}
|
|
646
|
-
async function
|
|
646
|
+
async function Dn(t) {
|
|
647
647
|
const { queryObject: e, queryConfig: i, uniqueFeature: r, errorStrings: a, abortKey: n } = t, s = { ...i, returnDistinctValues: !0 };
|
|
648
648
|
return await Fe({
|
|
649
649
|
queryObject: e,
|
|
@@ -656,7 +656,7 @@ async function In(t) {
|
|
|
656
656
|
errorStrings: a
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function On(t) {
|
|
660
660
|
if (t !== void 0) {
|
|
661
661
|
const e = Ue.get(t);
|
|
662
662
|
e !== void 0 && e.abort(), Ue.set(t, new AbortController());
|
|
@@ -668,7 +668,7 @@ function wr(t) {
|
|
|
668
668
|
upperBoundaryAlias: `charts_upper_boundary_${t}`
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
|
-
async function
|
|
671
|
+
async function En(t) {
|
|
672
672
|
const {
|
|
673
673
|
queryObject: e,
|
|
674
674
|
dateField: i,
|
|
@@ -687,7 +687,7 @@ async function On(t) {
|
|
|
687
687
|
const { unit: g } = n;
|
|
688
688
|
try {
|
|
689
689
|
if (g && (m = st(r, e), m && e && "queryAttributeBins" in e)) {
|
|
690
|
-
const y =
|
|
690
|
+
const y = kn({
|
|
691
691
|
queryObject: e,
|
|
692
692
|
queryConfig: a,
|
|
693
693
|
temporalBinning: n,
|
|
@@ -724,7 +724,7 @@ async function On(t) {
|
|
|
724
724
|
}
|
|
725
725
|
return f;
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function qn(t) {
|
|
728
728
|
const e = !t.geometry || t.geometry.type === "extent", i = (t.where ?? "").toUpperCase(), r = !i.includes("CURRENT_TIMESTAMP") && !i.includes("CURRENT_DATE") && !i.includes("CURRENT_TIME");
|
|
729
729
|
return e && r;
|
|
730
730
|
}
|
|
@@ -745,11 +745,11 @@ function Y(t, e) {
|
|
|
745
745
|
a !== void 0 && (ae(i) ? i = `(${a})` : i?.includes(`(${a})`) || (i = `${i} ${e ?? "AND"} (${a})`));
|
|
746
746
|
}), i ?? "1=1";
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function Rn(t, e) {
|
|
749
749
|
let i = e;
|
|
750
750
|
return t?.start != null && t?.end != null && (i = [t.start.valueOf(), t.end.valueOf()]), i;
|
|
751
751
|
}
|
|
752
|
-
function
|
|
752
|
+
function Vn(t) {
|
|
753
753
|
const { queryObject: e, defaultGeometry: i, ignoreViewExtent: r } = t;
|
|
754
754
|
let a = i;
|
|
755
755
|
if (!r && Ve(e)) {
|
|
@@ -785,24 +785,24 @@ function Gt(t) {
|
|
|
785
785
|
} = t, { where: c, outStatistics: u, geometry: d, distance: f, units: m, timeExtent: g, returnDistinctValues: y } = r ?? {}, p = W(i);
|
|
786
786
|
let b = pe(p)?.createQuery() ?? new Vi(), N;
|
|
787
787
|
const B = Xt(p).idFields;
|
|
788
|
-
if (e === "AttributeBinsQuery" && r?.objectIds?.[0] !== void 0 && B && (N = `${B} IN (${r.objectIds.join(",")})`), e === "AttributeBinsQuery" && (b = new
|
|
788
|
+
if (e === "AttributeBinsQuery" && r?.objectIds?.[0] !== void 0 && B && (N = `${B} IN (${r.objectIds.join(",")})`), e === "AttributeBinsQuery" && (b = new Ka(b.toJSON()), ve(i).find((A) => A.name === s)?.type !== j.DateOnly)) {
|
|
789
789
|
const A = Intl.DateTimeFormat().resolvedOptions().timeZone, P = o && a && "timeZone" in a ? a.timeZone : void 0;
|
|
790
790
|
let I = n ?? P ?? A;
|
|
791
791
|
I === "unknown" ? I = "Etc/UTC" : I === "system" && (I = A), b.outTimeZone = I;
|
|
792
792
|
}
|
|
793
793
|
if (b.where = Y([b.where, c, N]), "returnDistinctValues" in b && (b.returnDistinctValues = y ?? !1), u !== void 0) {
|
|
794
|
-
const v =
|
|
794
|
+
const v = Tn(p);
|
|
795
795
|
b.outStatistics = u.filter(
|
|
796
796
|
(T) => T.statisticType !== D.EnvelopeAggregate || v
|
|
797
|
-
).map((T) =>
|
|
797
|
+
).map((T) => en.fromJSON(T));
|
|
798
798
|
}
|
|
799
799
|
const x = dt(d);
|
|
800
800
|
return x !== void 0 && (b.geometry = x, r?.spatialRelationship && (b.spatialRelationship = r.spatialRelationship), Tr(p) && (f !== void 0 && (b.distance = f), m !== void 0 && (b.units = m))), g && (b.timeExtent = new Fr({
|
|
801
801
|
start: g?.[0],
|
|
802
802
|
end: g?.[1]
|
|
803
|
-
})),
|
|
803
|
+
})), qn(b) && (b.cacheHint = !0), l && (b instanceof Vi ? b.returnStatisticsAggregatedIds = !0 : b.returnAggregateIds = !0), b;
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function $n(t) {
|
|
806
806
|
let e;
|
|
807
807
|
switch (t) {
|
|
808
808
|
case te.Start:
|
|
@@ -814,7 +814,7 @@ function Vn(t) {
|
|
|
814
814
|
}
|
|
815
815
|
return e;
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function kn(t) {
|
|
818
818
|
const {
|
|
819
819
|
queryObject: e,
|
|
820
820
|
queryConfig: i,
|
|
@@ -843,7 +843,7 @@ function $n(t) {
|
|
|
843
843
|
start: m,
|
|
844
844
|
end: g,
|
|
845
845
|
offset: y ? { unit: y.unit, value: y.size } : null
|
|
846
|
-
}, b.binParameters.type === "date" && (F?.capabilities?.queryAttributeBins?.supportsSnapToData && (b.binParameters.snapToData =
|
|
846
|
+
}, b.binParameters.type === "date" && (F?.capabilities?.queryAttributeBins?.supportsSnapToData && (b.binParameters.snapToData = $n(f)), F?.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin && (b.binParameters.returnFullIntervalBin = !0)), !ae(n)) {
|
|
847
847
|
const x = pe(F)?.fields.find((v) => v.name === n)?.type;
|
|
848
848
|
(!x || x === "string" || x === "integer" || x === "small-integer" || x === "big-integer" || x === "double") && (b.binParameters.stackBy = {
|
|
849
849
|
type: "field",
|
|
@@ -897,7 +897,7 @@ function Fi(t) {
|
|
|
897
897
|
runsOnClientQueryEngine: s,
|
|
898
898
|
outTimeZone: a
|
|
899
899
|
})}` : "";
|
|
900
|
-
c =
|
|
900
|
+
c = Qn({
|
|
901
901
|
addLeapDayExpression: l,
|
|
902
902
|
temporalKey: u,
|
|
903
903
|
field: e,
|
|
@@ -906,7 +906,7 @@ function Fi(t) {
|
|
|
906
906
|
}
|
|
907
907
|
return { expression: c, start: d, end: f };
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function Qn(t) {
|
|
910
910
|
const { addLeapDayExpression: e = !1, temporalKey: i, field: r, intervalStatement: a } = t;
|
|
911
911
|
let n;
|
|
912
912
|
return e && r.length && i === "DAY" ? n = `CASE WHEN (EXTRACT(MONTH FROM ${r})=2 AND EXTRACT(DAY FROM ${r})=29) THEN 0 ELSE EXTRACT (${i} FROM ${r}${a}) END` : n = `EXTRACT (${i} FROM ${r}${a})`, n;
|
|
@@ -934,7 +934,7 @@ function $i(t) {
|
|
|
934
934
|
addLeapDayExpression: !l
|
|
935
935
|
}) : u = i, { field: u, expression: d, start: f, end: m };
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function _n(t) {
|
|
938
938
|
const {
|
|
939
939
|
queryObject: e,
|
|
940
940
|
queryConfig: i,
|
|
@@ -984,7 +984,7 @@ function Qn(t) {
|
|
|
984
984
|
alias: a
|
|
985
985
|
}), p;
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function Hn(t) {
|
|
988
988
|
const { queryObject: e, queryConfig: i, xStep: r, xMin: a, xMax: n, x: s, y: o, yStep: l, returnStatisticsAggregatedIds: c } = t, u = Gt({
|
|
989
989
|
queryType: "AttributeBinsQuery",
|
|
990
990
|
queryObject: e,
|
|
@@ -1018,7 +1018,7 @@ function bi(t) {
|
|
|
1018
1018
|
const f = W(e);
|
|
1019
1019
|
return d.outFields = Pr(u), d.groupByFieldsForStatistics = n ?? d.groupByFieldsForStatistics, d.orderByFields = s ?? [], d.objectIds = i?.objectIds, r !== void 0 && (d.maxRecordCountFactor = r), o !== void 0 && o !== "" && (d.gdbVersion = o), c !== void 0 && (d.num = c), l !== void 0 && (d.start = l, d.num = d.num ?? Lr(f)), d;
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function zn(t) {
|
|
1022
1022
|
return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? k.maxRecordCountFactor : void 0;
|
|
1023
1023
|
}
|
|
1024
1024
|
const Gc = {
|
|
@@ -1054,8 +1054,8 @@ const Gc = {
|
|
|
1054
1054
|
NegativeValueInLogCalculation: "negativeValueInLogCalculation",
|
|
1055
1055
|
NegativeValueInXAxisLogScale: "negativeValueInXAxisLogScale",
|
|
1056
1056
|
NegativeValueInYAxisLogScale: "negativeValueInYAxisLogScale"
|
|
1057
|
-
},
|
|
1058
|
-
function
|
|
1057
|
+
}, Un = 2048;
|
|
1058
|
+
function Gn(t) {
|
|
1059
1059
|
let e;
|
|
1060
1060
|
switch (t) {
|
|
1061
1061
|
case K.Log:
|
|
@@ -1071,7 +1071,7 @@ function Un(t) {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
return e;
|
|
1073
1073
|
}
|
|
1074
|
-
async function
|
|
1074
|
+
async function Wn(t) {
|
|
1075
1075
|
const { chartConfig: e, queryConfig: i, queryObject: r, filterByViewExtent: a, view: n, abortKey: s, abortSignal: o } = t, l = o ?? (s !== void 0 ? Ue.get(s)?.signal : void 0), c = e.series[0], { x: u, dataTransformationType: d, binCount: f } = c, m = W(r);
|
|
1076
1076
|
if (!ie(m))
|
|
1077
1077
|
throw new oe(le.LayerNotSupported);
|
|
@@ -1090,7 +1090,7 @@ async function Gn(t) {
|
|
|
1090
1090
|
if (a && n)
|
|
1091
1091
|
N = n.resolution, B = n.resolution, x = n.spatialReference;
|
|
1092
1092
|
else {
|
|
1093
|
-
const T =
|
|
1093
|
+
const T = Un, A = 2;
|
|
1094
1094
|
let P = g.width, I = g.height;
|
|
1095
1095
|
if (!a && !y && nt(m) && kt(m))
|
|
1096
1096
|
try {
|
|
@@ -1110,7 +1110,7 @@ async function Gn(t) {
|
|
|
1110
1110
|
spatialReference: x
|
|
1111
1111
|
});
|
|
1112
1112
|
try {
|
|
1113
|
-
const T =
|
|
1113
|
+
const T = Gn(d), A = await Ya(
|
|
1114
1114
|
m,
|
|
1115
1115
|
{
|
|
1116
1116
|
bandIds: [p],
|
|
@@ -1130,7 +1130,7 @@ async function Gn(t) {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
return { histogram: F, statistics: b };
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function jn(t, e) {
|
|
1134
1134
|
const i = [], r = (t.max - t.min) / t.size;
|
|
1135
1135
|
for (let a = 0; a < t.size; a++) {
|
|
1136
1136
|
const n = t.min + a * r;
|
|
@@ -1159,12 +1159,12 @@ function Wn(t, e) {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
return i;
|
|
1161
1161
|
}
|
|
1162
|
-
async function
|
|
1162
|
+
async function Xn(t) {
|
|
1163
1163
|
const { chartConfig: e, queryConfig: i, queryObject: r, filterByViewExtent: a, abortKey: n, abortSignal: s, view: o } = t;
|
|
1164
1164
|
if (r === void 0)
|
|
1165
1165
|
throw new Error("QueryObject is undefined!");
|
|
1166
1166
|
let l;
|
|
1167
|
-
const { statistics: c, histogram: u } = await
|
|
1167
|
+
const { statistics: c, histogram: u } = await Wn({
|
|
1168
1168
|
queryObject: r,
|
|
1169
1169
|
chartConfig: e,
|
|
1170
1170
|
queryConfig: i,
|
|
@@ -1174,7 +1174,7 @@ async function jn(t) {
|
|
|
1174
1174
|
abortSignal: s
|
|
1175
1175
|
});
|
|
1176
1176
|
if (c && u) {
|
|
1177
|
-
const d = e.series[0].binCount ?? void 0, f =
|
|
1177
|
+
const d = e.series[0].binCount ?? void 0, f = jn(u, d);
|
|
1178
1178
|
f.length > 0 ? l = {
|
|
1179
1179
|
valid: !0,
|
|
1180
1180
|
count: f.length,
|
|
@@ -1201,9 +1201,9 @@ async function jn(t) {
|
|
|
1201
1201
|
};
|
|
1202
1202
|
return l;
|
|
1203
1203
|
}
|
|
1204
|
-
const
|
|
1205
|
-
function
|
|
1206
|
-
const { chartConfig: e, layer: i,
|
|
1204
|
+
const Yn = (t) => t.series[0].x;
|
|
1205
|
+
function Zn(t) {
|
|
1206
|
+
const { chartConfig: e, layer: i, selectionItems: r } = t, a = $t(i, Yn(e)), s = r.map((c) => [
|
|
1207
1207
|
c.minValue,
|
|
1208
1208
|
c.maxValue
|
|
1209
1209
|
]).reduce((c, u, d) => {
|
|
@@ -1245,7 +1245,7 @@ function Ft(t, e) {
|
|
|
1245
1245
|
max: r
|
|
1246
1246
|
};
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1248
|
+
function Jn(t, e) {
|
|
1249
1249
|
let i = 0, r = 0;
|
|
1250
1250
|
const a = e ?? ((n) => n);
|
|
1251
1251
|
for (const n of t) {
|
|
@@ -1254,7 +1254,7 @@ function Zn(t, e) {
|
|
|
1254
1254
|
}
|
|
1255
1255
|
return i > 0 ? r / i : void 0;
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1257
|
+
function Kn(t, e) {
|
|
1258
1258
|
let i = 0;
|
|
1259
1259
|
const r = e ?? ((a) => a);
|
|
1260
1260
|
for (const a of t) {
|
|
@@ -1269,7 +1269,7 @@ function Xc(t, e, i = 1) {
|
|
|
1269
1269
|
a[n] = t + n * i;
|
|
1270
1270
|
return a;
|
|
1271
1271
|
}
|
|
1272
|
-
const
|
|
1272
|
+
const es = {
|
|
1273
1273
|
dataFormat: "json",
|
|
1274
1274
|
outputFormat: "json",
|
|
1275
1275
|
typeKey: "analyticType",
|
|
@@ -1279,11 +1279,11 @@ const Kn = {
|
|
|
1279
1279
|
interceptPropertyList: ["Intercept", "INTERCEPT", "intercept"],
|
|
1280
1280
|
r2PropertyList: ["R2", "r2"]
|
|
1281
1281
|
};
|
|
1282
|
-
async function
|
|
1282
|
+
async function ts(t) {
|
|
1283
1283
|
const { queryObject: e, abortSignal: i } = t;
|
|
1284
1284
|
let r = !1;
|
|
1285
1285
|
if (!ie(e)) {
|
|
1286
|
-
const a =
|
|
1286
|
+
const a = Cn(e), n = W(e), s = pe(n);
|
|
1287
1287
|
if (a && s?.url !== void 0 && s.url !== null) {
|
|
1288
1288
|
const o = `${s.url}/${s.layerId}?f=json`;
|
|
1289
1289
|
try {
|
|
@@ -1295,19 +1295,19 @@ async function es(t) {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
return r;
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function is(t) {
|
|
1299
1299
|
const { x: e, y: i, trendlineXToY: r, data: a } = t, { min: n, max: s } = a ? Ft(a, (l) => l[e]) : { min: Number.NaN, max: Number.NaN };
|
|
1300
1300
|
return [
|
|
1301
1301
|
{ [e]: n ?? Number.NaN, [i]: r(n ?? Number.NaN) },
|
|
1302
1302
|
{ [e]: s ?? Number.NaN, [i]: r(s ?? Number.NaN) }
|
|
1303
1303
|
];
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function rs(t) {
|
|
1306
1306
|
const { data: e, x: i, y: r } = t;
|
|
1307
1307
|
let a = [];
|
|
1308
1308
|
return e !== void 0 && (a = e.filter((n) => Number.isFinite(n[i]) && Number.isFinite(n[r])).map((n) => [n[i], n[r]])), a;
|
|
1309
1309
|
}
|
|
1310
|
-
async function
|
|
1310
|
+
async function as(t) {
|
|
1311
1311
|
const { statsMap: e, queryObject: i, chartConfig: r, queryConfig: a, errorStrings: n, abortSignal: s } = t, o = r.series[0], { x: l, y: c } = o;
|
|
1312
1312
|
yt(i);
|
|
1313
1313
|
let u = Number.NaN, d = [
|
|
@@ -1323,7 +1323,7 @@ async function rs(t) {
|
|
|
1323
1323
|
slopePropertyList: F,
|
|
1324
1324
|
interceptPropertyList: b,
|
|
1325
1325
|
r2PropertyList: N
|
|
1326
|
-
} =
|
|
1326
|
+
} = es, B = `[{"${g}": "${y}", "${p}":"${l},${c}"}]`, x = await An({
|
|
1327
1327
|
queryObject: i,
|
|
1328
1328
|
queryConfig: a,
|
|
1329
1329
|
outputFormat: m,
|
|
@@ -1353,29 +1353,29 @@ async function rs(t) {
|
|
|
1353
1353
|
function Mr(t) {
|
|
1354
1354
|
const { data: e, chartConfig: i } = t, r = i.series[0], { x: a, y: n } = r;
|
|
1355
1355
|
let { r2: s, trendLinePoints: o } = C.scatterplotSeries;
|
|
1356
|
-
const l =
|
|
1356
|
+
const l = rs({ data: e, x: a, y: n });
|
|
1357
1357
|
if (l !== void 0) {
|
|
1358
|
-
const c =
|
|
1359
|
-
s = c.m === 0 ? 0 :
|
|
1358
|
+
const c = dn(l), u = fn(c);
|
|
1359
|
+
s = c.m === 0 ? 0 : mn(l, u), o = is({ x: a, y: n, trendlineXToY: u, data: e });
|
|
1360
1360
|
}
|
|
1361
1361
|
return { r2: s, trendLinePoints: o };
|
|
1362
1362
|
}
|
|
1363
1363
|
async function Ir(t) {
|
|
1364
|
-
const e = await
|
|
1364
|
+
const e = await ts(t), { chartConfig: i } = t, r = i.series[0], { x: a, y: n } = r, { r2: s } = C.scatterplotSeries, o = [
|
|
1365
1365
|
{ [a]: Number.NaN, [n]: Number.NaN },
|
|
1366
1366
|
{ [a]: Number.NaN, [n]: Number.NaN }
|
|
1367
1367
|
];
|
|
1368
1368
|
let l = { r2: s, trendLinePoints: o }, c = !1;
|
|
1369
1369
|
if (e)
|
|
1370
1370
|
try {
|
|
1371
|
-
l = await
|
|
1371
|
+
l = await as(t);
|
|
1372
1372
|
} catch {
|
|
1373
1373
|
c = !0;
|
|
1374
1374
|
}
|
|
1375
1375
|
return (!e || c) && (l = Mr(t)), l;
|
|
1376
1376
|
}
|
|
1377
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";
|
|
1378
|
-
function
|
|
1378
|
+
function ns(t) {
|
|
1379
1379
|
return t !== void 0 && t !== ni.Solid && t !== ni.Null;
|
|
1380
1380
|
}
|
|
1381
1381
|
function Jc(t, e) {
|
|
@@ -1441,7 +1441,7 @@ function rd(t) {
|
|
|
1441
1441
|
const e = /[[]/gu, i = /[\]]/gu, r = /[{]/gu, a = /[}]/gu, n = /[']/gu;
|
|
1442
1442
|
return t = t.replace(e, "[["), t = t.replace(i, "]]"), t = t.replace(r, "{{"), t = t.replace(a, "}}"), t = t.replace(n, "''"), t;
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function ss(t) {
|
|
1445
1445
|
return t ? t.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
|
|
1446
1446
|
}
|
|
1447
1447
|
function Ge(t) {
|
|
@@ -1456,10 +1456,10 @@ function ad(t) {
|
|
|
1456
1456
|
function Wt(t) {
|
|
1457
1457
|
return "subType" in t && t.subType === cr.FeatureGauge;
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1459
|
+
function os(t, e) {
|
|
1460
1460
|
return t[0].dataTransformationType !== e[0].dataTransformationType;
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1462
|
+
function ls(t, e) {
|
|
1463
1463
|
return t[0].binCount !== e[0].binCount;
|
|
1464
1464
|
}
|
|
1465
1465
|
function nd(t, e) {
|
|
@@ -1489,14 +1489,14 @@ function sd(t) {
|
|
|
1489
1489
|
function li(t) {
|
|
1490
1490
|
return t !== S.PieNoAggregation && t !== S.BarAndLineNoAggregation && t !== S.BarAndLineSplitByNoAggregation;
|
|
1491
1491
|
}
|
|
1492
|
-
function
|
|
1492
|
+
function us(t) {
|
|
1493
1493
|
const e = H(t.series);
|
|
1494
1494
|
return e === S.BarAndLineFromFields || e === S.PieFromFields || e === S.BoxPlotMonoField || e === S.BoxPlotMultiFields || e === S.BoxPlotMonoFieldAndSplitBy || e === S.BoxPlotMultiFieldsAndSplitBy;
|
|
1495
1495
|
}
|
|
1496
1496
|
function We(t) {
|
|
1497
1497
|
return de(t) ? t?.showMean ?? !1 : !1;
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function cs(t) {
|
|
1500
1500
|
return de(t) ? t?.showOutliers : void 0;
|
|
1501
1501
|
}
|
|
1502
1502
|
function Or(t) {
|
|
@@ -1527,14 +1527,14 @@ const ud = [
|
|
|
1527
1527
|
S.BoxPlotMultiFieldsAndCategory,
|
|
1528
1528
|
S.BoxPlotMonoFieldAndCategoryAndSplitBy
|
|
1529
1529
|
], ki = 1e4, vt = 1e4;
|
|
1530
|
-
function
|
|
1530
|
+
function ds(t = K.None, e) {
|
|
1531
1531
|
return t === K.None || t === K.Log && e > 0 || t === K.Sqrt && e >= 0;
|
|
1532
1532
|
}
|
|
1533
1533
|
function qr(t, e) {
|
|
1534
1534
|
const i = { valid: !1 };
|
|
1535
1535
|
return e === !0 ? i.invalidType = $.HistogramEmptyField : t === K.Log ? i.invalidType = $.NegativeValueInLogCalculation : t === K.Sqrt && (i.invalidType = $.NegativeValueInSqrtCalculation), i;
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function fs(t, e) {
|
|
1538
1538
|
let i = t;
|
|
1539
1539
|
switch (e) {
|
|
1540
1540
|
case K.Log:
|
|
@@ -1546,7 +1546,7 @@ function ds(t, e) {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
return i;
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function ms(t) {
|
|
1550
1550
|
let e = t;
|
|
1551
1551
|
if (t) {
|
|
1552
1552
|
const i = t.toString().split(".");
|
|
@@ -1570,7 +1570,7 @@ function Rr(t) {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
return e;
|
|
1572
1572
|
}
|
|
1573
|
-
async function
|
|
1573
|
+
async function gs(t) {
|
|
1574
1574
|
const { queryObject: e, fieldName: i, queryConfig: r, errorStrings: a, abortKey: n, abortSignal: s } = t, o = W(e), { idField: l, isTraditionalTypeOID: c } = we(o), u = c ? l : "*", d = `${D.Count}_${l}`, f = `${D.Count}_${i}`, m = `${D.Minimum}_${i}`, g = `${D.Maximum}_${i}`, y = {
|
|
1575
1575
|
...r,
|
|
1576
1576
|
outStatistics: [
|
|
@@ -1604,17 +1604,17 @@ async function ms(t) {
|
|
|
1604
1604
|
}), F = p.get(d) ?? Number.NaN, b = p.get(f) ?? Number.NaN, N = p.get(m) ?? Number.NaN, B = p.get(g) ?? Number.NaN;
|
|
1605
1605
|
return { countExcludingNulls: b, countIncludingNulls: F, min: N, max: B };
|
|
1606
1606
|
}
|
|
1607
|
-
async function
|
|
1607
|
+
async function ys(t) {
|
|
1608
1608
|
const { queryConfig: e, chartConfig: i, queryObject: r, errorStrings: a, abortKey: n, abortSignal: s } = t, o = i.series[0], { x: l, dataTransformationType: c } = o;
|
|
1609
1609
|
let u = [];
|
|
1610
|
-
const { countIncludingNulls: d, countExcludingNulls: f, min: m, max: g } = await
|
|
1610
|
+
const { countIncludingNulls: d, countExcludingNulls: f, min: m, max: g } = await gs({
|
|
1611
1611
|
queryObject: r,
|
|
1612
1612
|
queryConfig: e,
|
|
1613
1613
|
fieldName: l,
|
|
1614
1614
|
errorStrings: a,
|
|
1615
1615
|
abortKey: n,
|
|
1616
1616
|
abortSignal: s
|
|
1617
|
-
}), y =
|
|
1617
|
+
}), y = ds(c, m), p = f < 2 || m === g, F = { ...e };
|
|
1618
1618
|
return F.where = Y([F.where, `${l} is not null`]), {
|
|
1619
1619
|
rawData: u,
|
|
1620
1620
|
dataCompatibleWithTransformation: y,
|
|
@@ -1623,11 +1623,11 @@ async function gs(t) {
|
|
|
1623
1623
|
countIncludingNulls: d
|
|
1624
1624
|
};
|
|
1625
1625
|
}
|
|
1626
|
-
function
|
|
1626
|
+
function ps(t) {
|
|
1627
1627
|
const e = { ...t };
|
|
1628
1628
|
return e.avg = e.avg ?? Number.NaN, e.count = e.count ?? Number.NaN, e.max = e.max ?? Number.NaN, e.min = e.min ?? Number.NaN, e.stddev = e.stddev ?? Number.NaN, e.sum = e.sum ?? Number.NaN, e.variance = e.variance ?? Number.NaN, e.median = e.median ?? Number.NaN, e;
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1630
|
+
function hs(t) {
|
|
1631
1631
|
const { seriesConfig: e, layer: i, useFeaturesInView: r, view: a, featureFilter: n, queryConfig: s, abortSignal: o } = t, { x: l, dataTransformationType: c } = e;
|
|
1632
1632
|
let u = {
|
|
1633
1633
|
layer: i,
|
|
@@ -1643,7 +1643,7 @@ function ps(t) {
|
|
|
1643
1643
|
normalizationType: Rr(c)
|
|
1644
1644
|
}), u.filter = n, u;
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function Ss(t) {
|
|
1647
1647
|
const {
|
|
1648
1648
|
seriesConfig: e,
|
|
1649
1649
|
layer: i,
|
|
@@ -1661,7 +1661,7 @@ function hs(t) {
|
|
|
1661
1661
|
field: u,
|
|
1662
1662
|
minValue: n,
|
|
1663
1663
|
maxValue: s,
|
|
1664
|
-
numBins: d ??
|
|
1664
|
+
numBins: d ?? _a,
|
|
1665
1665
|
classificationMethod: "equal-interval",
|
|
1666
1666
|
// excluding the filters like 1=tionMethod: "equal-interval",1 from the sqlWhere. It's causing query failures (see https://devtopia.esri.com/WebGIS/arcgis-charts/issues/6677)
|
|
1667
1667
|
sqlWhere: Me(l.where) ? void 0 : l.where,
|
|
@@ -1673,11 +1673,11 @@ function hs(t) {
|
|
|
1673
1673
|
normalizationType: Rr(f)
|
|
1674
1674
|
}), m.filter = o, m.returnAggregateIds = !0, m;
|
|
1675
1675
|
}
|
|
1676
|
-
function
|
|
1676
|
+
function Fs(t, e) {
|
|
1677
1677
|
let i = Number.NaN;
|
|
1678
1678
|
return t !== void 0 && e !== void 0 && (i = t - e), i;
|
|
1679
1679
|
}
|
|
1680
|
-
function
|
|
1680
|
+
function bs(t) {
|
|
1681
1681
|
const { view: e, queryConfig: i, layer: r } = t;
|
|
1682
1682
|
let a;
|
|
1683
1683
|
if (e !== void 0 && (a = new qi({
|
|
@@ -1692,7 +1692,7 @@ function Fs(t) {
|
|
|
1692
1692
|
}
|
|
1693
1693
|
return a;
|
|
1694
1694
|
}
|
|
1695
|
-
async function
|
|
1695
|
+
async function xs(t) {
|
|
1696
1696
|
const {
|
|
1697
1697
|
chartConfig: e,
|
|
1698
1698
|
queryConfig: i,
|
|
@@ -1705,9 +1705,9 @@ async function bs(t) {
|
|
|
1705
1705
|
} = t, c = e.series[0], { dataTransformationType: u } = c;
|
|
1706
1706
|
let d = { valid: !0 };
|
|
1707
1707
|
const f = W(r);
|
|
1708
|
-
if (!
|
|
1708
|
+
if (!Ga(f))
|
|
1709
1709
|
return { valid: !1 };
|
|
1710
|
-
const g = dt(i?.geometry)?.extent?.toJSON() !== void 0, y =
|
|
1710
|
+
const g = dt(i?.geometry)?.extent?.toJSON() !== void 0, y = bs({ view: s, queryConfig: i, layer: f }), p = hs({
|
|
1711
1711
|
seriesConfig: c,
|
|
1712
1712
|
layer: f,
|
|
1713
1713
|
view: s,
|
|
@@ -1729,19 +1729,19 @@ async function bs(t) {
|
|
|
1729
1729
|
P?.median && (F.median = P.median);
|
|
1730
1730
|
} catch {
|
|
1731
1731
|
}
|
|
1732
|
-
F =
|
|
1732
|
+
F = ps(F);
|
|
1733
1733
|
const { avg: b, count: N, stddev: B, min: x, max: v, sum: T, median: A } = F;
|
|
1734
1734
|
if (N === 0)
|
|
1735
1735
|
d = {
|
|
1736
1736
|
...qr(u)
|
|
1737
1737
|
};
|
|
1738
1738
|
else {
|
|
1739
|
-
const P =
|
|
1739
|
+
const P = Ss({
|
|
1740
1740
|
seriesConfig: c,
|
|
1741
1741
|
layer: f,
|
|
1742
1742
|
view: s,
|
|
1743
1743
|
useFeaturesInView: g,
|
|
1744
|
-
minValue:
|
|
1744
|
+
minValue: ms(x),
|
|
1745
1745
|
maxValue: v,
|
|
1746
1746
|
valueExpression: p.valueExpression,
|
|
1747
1747
|
featureFilter: y,
|
|
@@ -1750,7 +1750,7 @@ async function bs(t) {
|
|
|
1750
1750
|
});
|
|
1751
1751
|
let I;
|
|
1752
1752
|
try {
|
|
1753
|
-
I = await
|
|
1753
|
+
I = await Xa(P);
|
|
1754
1754
|
} catch (L) {
|
|
1755
1755
|
throw new oe(le.QueryFeaturesError, o.errors.queryError, L);
|
|
1756
1756
|
}
|
|
@@ -1762,7 +1762,7 @@ async function bs(t) {
|
|
|
1762
1762
|
// adding a flag on the last bin - useful for the selection feature
|
|
1763
1763
|
};
|
|
1764
1764
|
return "aggregateIds" in E && (Array.isArray(E.aggregateIds) && E.aggregateIds.length !== vt && (E.arcgisChartsUniqueIds = E.aggregateIds), delete E.aggregateIds), E;
|
|
1765
|
-
}), M =
|
|
1765
|
+
}), M = Fs(n, a);
|
|
1766
1766
|
d.data = {
|
|
1767
1767
|
mean: b,
|
|
1768
1768
|
stddev: B,
|
|
@@ -1781,7 +1781,7 @@ async function Vr(t) {
|
|
|
1781
1781
|
const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: a, abortSignal: n, errorStrings: s, view: o } = t, { series: l } = e, c = l[0];
|
|
1782
1782
|
let u;
|
|
1783
1783
|
if (ie(r))
|
|
1784
|
-
u = await
|
|
1784
|
+
u = await Xn(t);
|
|
1785
1785
|
else {
|
|
1786
1786
|
const {
|
|
1787
1787
|
rawData: d,
|
|
@@ -1789,7 +1789,7 @@ async function Vr(t) {
|
|
|
1789
1789
|
dataCountIncompatible: m,
|
|
1790
1790
|
countIncludingNulls: g,
|
|
1791
1791
|
countExcludingNulls: y
|
|
1792
|
-
} = await
|
|
1792
|
+
} = await ys({
|
|
1793
1793
|
queryObject: r,
|
|
1794
1794
|
chartConfig: e,
|
|
1795
1795
|
queryConfig: i,
|
|
@@ -1797,7 +1797,7 @@ async function Vr(t) {
|
|
|
1797
1797
|
abortKey: a,
|
|
1798
1798
|
abortSignal: n
|
|
1799
1799
|
});
|
|
1800
|
-
u = { valid: !0 }, !f || m ? u = qr(c.dataTransformationType, m) : u = await
|
|
1800
|
+
u = { valid: !0 }, !f || m ? u = qr(c.dataTransformationType, m) : u = await xs({
|
|
1801
1801
|
chartConfig: e,
|
|
1802
1802
|
queryObject: r,
|
|
1803
1803
|
queryConfig: i,
|
|
@@ -1810,7 +1810,7 @@ async function Vr(t) {
|
|
|
1810
1810
|
}
|
|
1811
1811
|
return u;
|
|
1812
1812
|
}
|
|
1813
|
-
async function
|
|
1813
|
+
async function Cs(t) {
|
|
1814
1814
|
const { queryObject: e, queryConfig: i, chartConfig: r, x: a, errorStrings: n } = t, { series: s } = r, { dataTransformationType: o } = s[0], l = {
|
|
1815
1815
|
...i,
|
|
1816
1816
|
orderByFields: [a],
|
|
@@ -1824,7 +1824,7 @@ async function xs(t) {
|
|
|
1824
1824
|
returnStatisticsAggregatedIds: !1,
|
|
1825
1825
|
errorStrings: n
|
|
1826
1826
|
})).map((d) => ({
|
|
1827
|
-
[a]:
|
|
1827
|
+
[a]: fs(d.attributes[a], o)
|
|
1828
1828
|
})) }
|
|
1829
1829
|
};
|
|
1830
1830
|
}
|
|
@@ -1874,7 +1874,27 @@ async function ei(t) {
|
|
|
1874
1874
|
)
|
|
1875
1875
|
).sort((b, N) => typeof b == "string" && typeof N == "string" ? b.localeCompare(N) : Number(b) - Number(N));
|
|
1876
1876
|
}
|
|
1877
|
-
function
|
|
1877
|
+
function $r(t) {
|
|
1878
|
+
const { input: e, x: i, splitByField: r } = t;
|
|
1879
|
+
return e.reduce((n, s) => (r !== void 0 && r !== i && !(C.technicalFieldSplitByField in s) && delete s[r], Object.assign(n, s)), {});
|
|
1880
|
+
}
|
|
1881
|
+
function bt(t) {
|
|
1882
|
+
const { data: e, x: i, splitByField: r } = t;
|
|
1883
|
+
let a = e;
|
|
1884
|
+
if (e !== void 0 && e.length > 0) {
|
|
1885
|
+
const n = /* @__PURE__ */ new Map();
|
|
1886
|
+
for (const s of e) {
|
|
1887
|
+
const o = s[i], l = n.get(o) ?? [];
|
|
1888
|
+
l.push(s), n.set(o, l);
|
|
1889
|
+
}
|
|
1890
|
+
n.size > 0 && (a = Array.from(n.values(), (s) => $r({ input: s, x: i, splitByField: r })));
|
|
1891
|
+
}
|
|
1892
|
+
return a;
|
|
1893
|
+
}
|
|
1894
|
+
const dd = {
|
|
1895
|
+
mergeDataItems: $r
|
|
1896
|
+
};
|
|
1897
|
+
function Bs(t, e, i) {
|
|
1878
1898
|
let r = 0;
|
|
1879
1899
|
if (Array.isArray(i)) {
|
|
1880
1900
|
const a = t?.toString() ?? "", n = e?.toString() ?? "";
|
|
@@ -1887,9 +1907,9 @@ function _i(t) {
|
|
|
1887
1907
|
const { chartConfig: e, field: i, chartData: r } = t, a = Xu({ chartConfig: e, field: i }), n = Array.from(
|
|
1888
1908
|
new Set(r.map((s) => i in s ? s[i] : void 0))
|
|
1889
1909
|
);
|
|
1890
|
-
return a && n.length > 1 && n.sort((s, o) =>
|
|
1910
|
+
return a && n.length > 1 && n.sort((s, o) => Bs(s, o, a)), n.map((s) => ({ [i]: s }));
|
|
1891
1911
|
}
|
|
1892
|
-
function
|
|
1912
|
+
function kr(t) {
|
|
1893
1913
|
const { chartConfig: e, chartData: i } = t;
|
|
1894
1914
|
return {
|
|
1895
1915
|
xAxisData: _i({
|
|
@@ -1904,7 +1924,7 @@ function $r(t) {
|
|
|
1904
1924
|
})
|
|
1905
1925
|
};
|
|
1906
1926
|
}
|
|
1907
|
-
function
|
|
1927
|
+
function vs(t, e) {
|
|
1908
1928
|
let i = !0;
|
|
1909
1929
|
if (e?.trim()) {
|
|
1910
1930
|
const r = {};
|
|
@@ -1953,7 +1973,7 @@ function Bs(t, e) {
|
|
|
1953
1973
|
}
|
|
1954
1974
|
return i;
|
|
1955
1975
|
}
|
|
1956
|
-
function
|
|
1976
|
+
function Ts(t) {
|
|
1957
1977
|
const { features: e, aggregationType: i, onField: r } = t;
|
|
1958
1978
|
let a;
|
|
1959
1979
|
if (!r)
|
|
@@ -2005,7 +2025,7 @@ function Hi(t, e) {
|
|
|
2005
2025
|
original: null
|
|
2006
2026
|
} : i = { groupKey: t, display: t, original: t }, i;
|
|
2007
2027
|
}
|
|
2008
|
-
async function
|
|
2028
|
+
async function Ns(t) {
|
|
2009
2029
|
const { layer: e, geometry: i, filterByViewExtent: r, view: a, abortKey: n, abortSignal: s } = t, o = s ?? (n !== void 0 ? Ue.get(n)?.signal : void 0);
|
|
2010
2030
|
e.loaded || await e.load({ signal: o });
|
|
2011
2031
|
const l = await ft(e, s), c = dt(i) ?? e.fullExtent;
|
|
@@ -2016,7 +2036,7 @@ async function Ts(t) {
|
|
|
2016
2036
|
y: a.resolution,
|
|
2017
2037
|
spatialReference: a.spatialReference
|
|
2018
2038
|
}) : void 0;
|
|
2019
|
-
u = await
|
|
2039
|
+
u = await Za(
|
|
2020
2040
|
e,
|
|
2021
2041
|
{
|
|
2022
2042
|
geometry: c,
|
|
@@ -2028,7 +2048,7 @@ async function Ts(t) {
|
|
|
2028
2048
|
}
|
|
2029
2049
|
return u;
|
|
2030
2050
|
}
|
|
2031
|
-
async function
|
|
2051
|
+
async function As(t) {
|
|
2032
2052
|
const { chartConfig: e, queryConfig: i, queryObject: r, filterByViewExtent: a, view: n, abortKey: s, abortSignal: o } = t;
|
|
2033
2053
|
let l;
|
|
2034
2054
|
if (r === void 0)
|
|
@@ -2036,7 +2056,7 @@ async function Ns(t) {
|
|
|
2036
2056
|
const c = W(r);
|
|
2037
2057
|
if (!ie(c))
|
|
2038
2058
|
throw new oe(le.LayerNotSupported);
|
|
2039
|
-
const u = await
|
|
2059
|
+
const u = await Ns({
|
|
2040
2060
|
layer: c,
|
|
2041
2061
|
geometry: i.geometry,
|
|
2042
2062
|
filterByViewExtent: a,
|
|
@@ -2083,9 +2103,9 @@ async function Ns(t) {
|
|
|
2083
2103
|
}
|
|
2084
2104
|
let A = F;
|
|
2085
2105
|
const P = v.query?.where;
|
|
2086
|
-
P && (A = F.filter((L) =>
|
|
2106
|
+
P && (A = F.filter((L) => vs(L, P)));
|
|
2087
2107
|
const I = T.statisticType, w = T.onStatisticField, M = T.outStatisticFieldName;
|
|
2088
|
-
b[M] =
|
|
2108
|
+
b[M] = Ts({
|
|
2089
2109
|
features: A,
|
|
2090
2110
|
aggregationType: I,
|
|
2091
2111
|
onField: w
|
|
@@ -2101,7 +2121,7 @@ async function Ns(t) {
|
|
|
2101
2121
|
}
|
|
2102
2122
|
return l;
|
|
2103
2123
|
}
|
|
2104
|
-
async function
|
|
2124
|
+
async function fd(t) {
|
|
2105
2125
|
const { layer: e, category: i, splitByField: r, fetchNullValues: a } = t, o = (await ft(e))?.attributeTable?.features, l = r ?? i;
|
|
2106
2126
|
return Array.from(
|
|
2107
2127
|
new Set(
|
|
@@ -2114,7 +2134,7 @@ async function dd(t) {
|
|
|
2114
2134
|
)
|
|
2115
2135
|
).sort((u, d) => typeof u == "string" && typeof d == "string" ? u.localeCompare(d) : Number(u) - Number(d));
|
|
2116
2136
|
}
|
|
2117
|
-
function
|
|
2137
|
+
function ws(t, e) {
|
|
2118
2138
|
const i = /* @__PURE__ */ new Map();
|
|
2119
2139
|
return e.forEach((a, n) => {
|
|
2120
2140
|
i.set(a, n);
|
|
@@ -2128,11 +2148,11 @@ function As(t, e) {
|
|
|
2128
2148
|
return o !== void 0 && l !== void 0 && o === l + 1 ? (s[1] = n, a) : (a.push([n, n]), a);
|
|
2129
2149
|
}, []);
|
|
2130
2150
|
}
|
|
2131
|
-
function
|
|
2151
|
+
function Ls(t, e) {
|
|
2132
2152
|
return t?.map(({ attributes: r }) => r[e]).filter((r) => r != null).sort((r, a) => r - a);
|
|
2133
2153
|
}
|
|
2134
|
-
function
|
|
2135
|
-
const { chartConfig: e, layer: i,
|
|
2154
|
+
function Ps(t) {
|
|
2155
|
+
const { chartConfig: e, layer: i, selectionItems: r } = t;
|
|
2136
2156
|
let a;
|
|
2137
2157
|
const n = i.serviceRasterInfo?.attributeTable ?? Xe(i)?.attributeTable, s = e.series?.[0]?.x, o = n?.features, l = n?.fields?.find(({ name: c }) => c.toLowerCase() === "value")?.name;
|
|
2138
2158
|
if (r.length > 0 && s && o && o.length > 0 && l) {
|
|
@@ -2147,17 +2167,17 @@ function Ls(t) {
|
|
|
2147
2167
|
});
|
|
2148
2168
|
const d = Array.from(u).sort((f, m) => f - m);
|
|
2149
2169
|
if (d.length > 0) {
|
|
2150
|
-
const f =
|
|
2170
|
+
const f = Ls(o, l);
|
|
2151
2171
|
a = {
|
|
2152
2172
|
bandId: 0,
|
|
2153
|
-
pixelRanges:
|
|
2173
|
+
pixelRanges: ws(d, f)
|
|
2154
2174
|
};
|
|
2155
2175
|
}
|
|
2156
2176
|
}
|
|
2157
2177
|
}
|
|
2158
2178
|
return a;
|
|
2159
2179
|
}
|
|
2160
|
-
function
|
|
2180
|
+
function md(t) {
|
|
2161
2181
|
const e = [
|
|
2162
2182
|
h.BarSeries,
|
|
2163
2183
|
h.LineSeries,
|
|
@@ -2166,7 +2186,7 @@ function fd(t) {
|
|
|
2166
2186
|
], i = Q(t?.series);
|
|
2167
2187
|
return i !== void 0 ? e.includes(i) : !1;
|
|
2168
2188
|
}
|
|
2169
|
-
function
|
|
2189
|
+
function gd(t) {
|
|
2170
2190
|
const e = [
|
|
2171
2191
|
h.BarSeries,
|
|
2172
2192
|
h.LineSeries,
|
|
@@ -2175,69 +2195,69 @@ function md(t) {
|
|
|
2175
2195
|
], i = Q(t?.series);
|
|
2176
2196
|
return i !== void 0 ? e.includes(i) : !1;
|
|
2177
2197
|
}
|
|
2178
|
-
function
|
|
2198
|
+
function Ms(t) {
|
|
2179
2199
|
return t?.type === xe.SFS;
|
|
2180
2200
|
}
|
|
2181
|
-
function
|
|
2201
|
+
function yd(t) {
|
|
2182
2202
|
return t?.type === xe.SLS;
|
|
2183
2203
|
}
|
|
2184
|
-
function
|
|
2204
|
+
function pd(t) {
|
|
2185
2205
|
return t?.type === xe.SMS;
|
|
2186
2206
|
}
|
|
2187
|
-
function
|
|
2207
|
+
function hd(t) {
|
|
2188
2208
|
return t?.type === xe.TS;
|
|
2189
2209
|
}
|
|
2190
|
-
function
|
|
2210
|
+
function Sd(t) {
|
|
2191
2211
|
return t && "iLayer" in t && t.iLayer;
|
|
2192
2212
|
}
|
|
2193
|
-
function
|
|
2213
|
+
function Fd(t, e) {
|
|
2194
2214
|
return t !== void 0 && e !== void 0 && t.series[0]?.type === e;
|
|
2195
2215
|
}
|
|
2196
|
-
function
|
|
2216
|
+
function Is(t) {
|
|
2197
2217
|
return t?.type === h.BoxPlotSeries;
|
|
2198
2218
|
}
|
|
2199
|
-
function
|
|
2219
|
+
function bd(t) {
|
|
2200
2220
|
return t?.type === h.LineSeries;
|
|
2201
2221
|
}
|
|
2202
|
-
function
|
|
2222
|
+
function Ds(t) {
|
|
2203
2223
|
return t?.type === h.RadarSeries;
|
|
2204
2224
|
}
|
|
2205
|
-
function
|
|
2225
|
+
function Os(t) {
|
|
2206
2226
|
return t?.type === h.BarSeries;
|
|
2207
2227
|
}
|
|
2208
|
-
function
|
|
2228
|
+
function xd(t) {
|
|
2209
2229
|
return t?.type === h.HeatSeries;
|
|
2210
2230
|
}
|
|
2211
|
-
const
|
|
2212
|
-
function Td(t) {
|
|
2213
|
-
return t.every((e) => e.type === h.PieSeries);
|
|
2214
|
-
}
|
|
2231
|
+
const Cd = (t) => Q(t) === h.BarSeries, Bd = (t) => Q(t) === h.LineSeries, vd = (t) => Q(t) === h.RadarSeries, Td = (t) => Q(t) === h.HeatSeries;
|
|
2215
2232
|
function Nd(t) {
|
|
2216
|
-
return t.every(
|
|
2233
|
+
return t.every((e) => e.type === h.PieSeries);
|
|
2217
2234
|
}
|
|
2218
2235
|
function Ad(t) {
|
|
2219
|
-
return t
|
|
2236
|
+
return t.every(Is);
|
|
2220
2237
|
}
|
|
2221
2238
|
function wd(t) {
|
|
2222
|
-
return t ===
|
|
2239
|
+
return t?.type === h.NumberAxisFormat;
|
|
2223
2240
|
}
|
|
2224
2241
|
function Ld(t) {
|
|
2225
|
-
return t === void 0 || "
|
|
2242
|
+
return t === void 0 || "bins" in t;
|
|
2226
2243
|
}
|
|
2227
2244
|
function Pd(t) {
|
|
2228
|
-
return t === void 0 || "dataItems" in t
|
|
2245
|
+
return t === void 0 || "dataItems" in t;
|
|
2229
2246
|
}
|
|
2230
2247
|
function Md(t) {
|
|
2231
|
-
return "
|
|
2248
|
+
return t === void 0 || "dataItems" in t && "r2" in t;
|
|
2232
2249
|
}
|
|
2233
2250
|
function Id(t) {
|
|
2234
|
-
return
|
|
2251
|
+
return "value" in t;
|
|
2235
2252
|
}
|
|
2236
2253
|
function Dd(t) {
|
|
2254
|
+
return Q(t.series) !== h.BoxPlotSeries ? C.xAxisField : t.series[0].x;
|
|
2255
|
+
}
|
|
2256
|
+
function Od(t) {
|
|
2237
2257
|
const e = hi(t);
|
|
2238
2258
|
return e === Ae.Stacked || e === Ae.Stacked100;
|
|
2239
2259
|
}
|
|
2240
|
-
function
|
|
2260
|
+
function Ed(t, e) {
|
|
2241
2261
|
const i = [], r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
|
|
2242
2262
|
return t.forEach((n, s) => a.set(n.id, s)), e.forEach((n, s) => {
|
|
2243
2263
|
let o = a.get(n.id);
|
|
@@ -2249,17 +2269,17 @@ function Od(t, e) {
|
|
|
2249
2269
|
}
|
|
2250
2270
|
}), i;
|
|
2251
2271
|
}
|
|
2252
|
-
function
|
|
2272
|
+
function qd(t, e) {
|
|
2253
2273
|
return t?.[0] === e?.[0] && t?.[1] === e?.[1] && t?.[2] === e?.[2] && t?.[3] === e?.[3];
|
|
2254
2274
|
}
|
|
2255
|
-
function
|
|
2275
|
+
function Es(t) {
|
|
2256
2276
|
const e = { ...t };
|
|
2257
2277
|
return t.showMean === !0 && (e.series = [e.series[0]], e.series[0].query?.where !== void 0 && delete e.series[0].query.where), e;
|
|
2258
2278
|
}
|
|
2259
|
-
function
|
|
2279
|
+
function qs(t) {
|
|
2260
2280
|
return Ge(t) && Ot(t?.axes?.[0]?.valueFormat) && Ot(t?.axes?.[1]?.valueFormat);
|
|
2261
2281
|
}
|
|
2262
|
-
const
|
|
2282
|
+
const Rs = [
|
|
2263
2283
|
...xr,
|
|
2264
2284
|
"ar-u-nu-latn",
|
|
2265
2285
|
"en-AU",
|
|
@@ -2273,15 +2293,15 @@ const qs = [
|
|
|
2273
2293
|
"it-CH",
|
|
2274
2294
|
"it-IT"
|
|
2275
2295
|
];
|
|
2276
|
-
function
|
|
2277
|
-
const { t9nLocale: e } = ze(t ?? document.documentElement), i =
|
|
2296
|
+
function Rd(t) {
|
|
2297
|
+
const { t9nLocale: e } = ze(t ?? document.documentElement), i = Qr(t ?? document.documentElement), r = yn(t ?? document.documentElement) === "rtl";
|
|
2278
2298
|
return { locale: e, formatLocale: i, rtl: r };
|
|
2279
2299
|
}
|
|
2280
|
-
function
|
|
2300
|
+
function Vd(t) {
|
|
2281
2301
|
let e;
|
|
2282
2302
|
return t === "unknown" ? e = "UTC" : t !== void 0 && t !== "system" && (e = t), e;
|
|
2283
2303
|
}
|
|
2284
|
-
function
|
|
2304
|
+
function $d(t, e) {
|
|
2285
2305
|
const i = {
|
|
2286
2306
|
year: "numeric",
|
|
2287
2307
|
month: "2-digit",
|
|
@@ -2290,7 +2310,7 @@ function Vd(t, e) {
|
|
|
2290
2310
|
};
|
|
2291
2311
|
return new Intl.DateTimeFormat("en-CA", i).format(t);
|
|
2292
2312
|
}
|
|
2293
|
-
function
|
|
2313
|
+
function kd(t, e) {
|
|
2294
2314
|
const i = {
|
|
2295
2315
|
hour: "2-digit",
|
|
2296
2316
|
minute: "2-digit",
|
|
@@ -2299,17 +2319,17 @@ function $d(t, e) {
|
|
|
2299
2319
|
};
|
|
2300
2320
|
return new Intl.DateTimeFormat("en-US", i).format(t);
|
|
2301
2321
|
}
|
|
2302
|
-
function
|
|
2322
|
+
function Qd(t, e) {
|
|
2303
2323
|
const [, i, , , , r] = 1111.1.toLocaleString(e), a = t.replace(i, "").replace(r, ".");
|
|
2304
2324
|
return Number.parseFloat(a);
|
|
2305
2325
|
}
|
|
2306
|
-
function
|
|
2326
|
+
function Vs(t) {
|
|
2307
2327
|
const e = Array.from(xr);
|
|
2308
|
-
return
|
|
2328
|
+
return Rs.includes(t) && !e.includes(t);
|
|
2309
2329
|
}
|
|
2310
|
-
function
|
|
2330
|
+
function Qr(t) {
|
|
2311
2331
|
const { lang: e, t9nLocale: i } = ze(t);
|
|
2312
|
-
return
|
|
2332
|
+
return Vs(e) ? e : i;
|
|
2313
2333
|
}
|
|
2314
2334
|
function Et(t) {
|
|
2315
2335
|
const { dataInfo: e, chartType: i, subError: r } = t;
|
|
@@ -2338,10 +2358,10 @@ function Et(t) {
|
|
|
2338
2358
|
break;
|
|
2339
2359
|
}
|
|
2340
2360
|
}
|
|
2341
|
-
function
|
|
2361
|
+
function $s(t, e) {
|
|
2342
2362
|
t.valid = !1, t.invalidType = e;
|
|
2343
2363
|
}
|
|
2344
|
-
function
|
|
2364
|
+
function _d(t) {
|
|
2345
2365
|
const {
|
|
2346
2366
|
invalidType: e,
|
|
2347
2367
|
chartLimits: i,
|
|
@@ -2349,7 +2369,7 @@ function Qd(t) {
|
|
|
2349
2369
|
seriesCount: a,
|
|
2350
2370
|
queryObject: n,
|
|
2351
2371
|
filterBySelection: s,
|
|
2352
|
-
formatLocale: o =
|
|
2372
|
+
formatLocale: o = Qr(document.documentElement),
|
|
2353
2373
|
isTemporalChart: l,
|
|
2354
2374
|
isByFeatureGauge: c,
|
|
2355
2375
|
errorStrings: u
|
|
@@ -2577,7 +2597,7 @@ function xi(t) {
|
|
|
2577
2597
|
}
|
|
2578
2598
|
}), o;
|
|
2579
2599
|
}
|
|
2580
|
-
function
|
|
2600
|
+
function ks(t) {
|
|
2581
2601
|
const { data: e, yList: i, calculateZScore: r = !1 } = t, a = e[0], n = /* @__PURE__ */ new Map();
|
|
2582
2602
|
return i.forEach((o) => {
|
|
2583
2603
|
let l = {};
|
|
@@ -2589,7 +2609,7 @@ function $s(t) {
|
|
|
2589
2609
|
}), n.set(o, l);
|
|
2590
2610
|
}), Array.from(n.values());
|
|
2591
2611
|
}
|
|
2592
|
-
function
|
|
2612
|
+
function Qs(t) {
|
|
2593
2613
|
const { data: e, splitByField: i, y: r } = t, a = {
|
|
2594
2614
|
[C.boxPlot.boxPlotCategory]: r
|
|
2595
2615
|
};
|
|
@@ -2600,7 +2620,7 @@ function ks(t) {
|
|
|
2600
2620
|
});
|
|
2601
2621
|
}), [a];
|
|
2602
2622
|
}
|
|
2603
|
-
function
|
|
2623
|
+
function _s(t) {
|
|
2604
2624
|
const { splitByField: e, data: i, yList: r, calculateZScore: a = !1, meanAndStdDevPerField: n } = t, s = /* @__PURE__ */ new Map();
|
|
2605
2625
|
return i.forEach((l) => {
|
|
2606
2626
|
const c = l[e];
|
|
@@ -2623,7 +2643,7 @@ function Qs(t) {
|
|
|
2623
2643
|
});
|
|
2624
2644
|
}), Array.from(s.values());
|
|
2625
2645
|
}
|
|
2626
|
-
function
|
|
2646
|
+
function Hs(t) {
|
|
2627
2647
|
const { data: e, yList: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, n = e;
|
|
2628
2648
|
return r && n.forEach((s) => {
|
|
2629
2649
|
i.forEach((o) => {
|
|
@@ -2637,7 +2657,7 @@ function _s(t) {
|
|
|
2637
2657
|
});
|
|
2638
2658
|
}), n;
|
|
2639
2659
|
}
|
|
2640
|
-
function
|
|
2660
|
+
function zs(t) {
|
|
2641
2661
|
const { splitByField: e, x: i, data: r } = t, a = /* @__PURE__ */ new Map();
|
|
2642
2662
|
return r.forEach((s) => {
|
|
2643
2663
|
const o = s[i], l = { [i]: o }, c = s[e];
|
|
@@ -2658,7 +2678,7 @@ function Hs(t) {
|
|
|
2658
2678
|
});
|
|
2659
2679
|
}), Array.from(a.values());
|
|
2660
2680
|
}
|
|
2661
|
-
function
|
|
2681
|
+
function Us(t, e) {
|
|
2662
2682
|
const { series: i } = t, r = i[0], { y: a } = r, n = H(t.series), s = {
|
|
2663
2683
|
y: n === S.BoxPlotMultiFieldsAndCategory ? a : void 0,
|
|
2664
2684
|
chartSubType: n
|
|
@@ -2694,7 +2714,7 @@ function zs(t, e) {
|
|
|
2694
2714
|
});
|
|
2695
2715
|
});
|
|
2696
2716
|
}
|
|
2697
|
-
function
|
|
2717
|
+
function Gs(t, e) {
|
|
2698
2718
|
let i, r;
|
|
2699
2719
|
const a = t[e[q.IQR]], n = t[e[q.FirstQuartile]], s = t[e[q.ThirdQuartile]];
|
|
2700
2720
|
return Number.isFinite(a) && Number.isFinite(n) && Number.isFinite(s) && (i = n - a * 1.5, r = s + a * 1.5), { outlierMinThreshold: i, outlierMaxThreshold: r };
|
|
@@ -2714,11 +2734,11 @@ function zi(t) {
|
|
|
2714
2734
|
let d;
|
|
2715
2735
|
return l === "outliers" && o !== s ? d = `(${e}<${o} OR ${e}>${s})` : l === "alternativeData" && (o === s ? d = `(${e}=${o})` : d = `(${e}>=${o} AND ${e}<=${s})`), [c, u, d].filter((m) => m !== void 0).join(" AND ");
|
|
2716
2736
|
}
|
|
2717
|
-
function
|
|
2737
|
+
function _r(t) {
|
|
2718
2738
|
const { data: e, yField: i, x: r, chartSubType: a, splitByField: n } = t, s = a === S.BoxPlotMonoField || a === S.BoxPlotMonoFieldAndCategory || a === S.BoxPlotMonoFieldAndSplitBy || a === S.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, o = rt(s), l = [], c = [], { maxOperandsPerWhereClause: u } = Ut();
|
|
2719
2739
|
let d = [], f = [], m = 1;
|
|
2720
2740
|
return e.forEach((g, y) => {
|
|
2721
|
-
const { outlierMinThreshold: p, outlierMaxThreshold: F } =
|
|
2741
|
+
const { outlierMinThreshold: p, outlierMaxThreshold: F } = Gs(g, o);
|
|
2722
2742
|
if (typeof p == "number" && typeof F == "number") {
|
|
2723
2743
|
const b = {
|
|
2724
2744
|
yField: i,
|
|
@@ -2733,7 +2753,7 @@ function Qr(t) {
|
|
|
2733
2753
|
m += 1;
|
|
2734
2754
|
}), { outliersFilterBatches: l, dataWithoutOutliersFilterBatches: c };
|
|
2735
2755
|
}
|
|
2736
|
-
function
|
|
2756
|
+
function Ws(t) {
|
|
2737
2757
|
const { data: e, outlierDataItem: i, chartSubType: r, x: a, y: n, meanAndStdDevPerField: s, splitByField: o } = t;
|
|
2738
2758
|
let l = s?.[ot(n, D.Average)], c = s?.[ot(n, D.StandardDeviation)];
|
|
2739
2759
|
if (l === void 0 && c === void 0)
|
|
@@ -2762,10 +2782,10 @@ function Gs(t) {
|
|
|
2762
2782
|
}
|
|
2763
2783
|
return { mean: l, stdDev: c };
|
|
2764
2784
|
}
|
|
2765
|
-
async function
|
|
2785
|
+
async function js(t) {
|
|
2766
2786
|
const { seriesConfig: e, data: i, uniqueQuery: r, queryObject: a, meanAndStdDevPerField: n, errorStrings: s, abortKey: o, abortSignal: l } = t, c = H(e), u = e[0], { x: d } = u, f = ne(u.query?.where), m = W(a), g = we(m).idField, y = ue(e), p = [];
|
|
2767
2787
|
for (let N = 0; N < y.length; N += 1) {
|
|
2768
|
-
const B = y[N], { outliersFilterBatches: x } =
|
|
2788
|
+
const B = y[N], { outliersFilterBatches: x } = _r({
|
|
2769
2789
|
data: i,
|
|
2770
2790
|
yField: B,
|
|
2771
2791
|
x: d,
|
|
@@ -2834,11 +2854,11 @@ async function Ws(t) {
|
|
|
2834
2854
|
if (T[k.uniqueIds] = [
|
|
2835
2855
|
...M?.[k.uniqueIds] ?? [],
|
|
2836
2856
|
T[g]
|
|
2837
|
-
], delete T[g],
|
|
2857
|
+
], delete T[g], aa(c)) {
|
|
2838
2858
|
const L = re({
|
|
2839
2859
|
...A,
|
|
2840
2860
|
standardizeValues: !0
|
|
2841
|
-
}), { mean: O, stdDev: E } =
|
|
2861
|
+
}), { mean: O, stdDev: E } = Ws({
|
|
2842
2862
|
data: i,
|
|
2843
2863
|
outlierDataItem: T,
|
|
2844
2864
|
chartSubType: c,
|
|
@@ -2859,7 +2879,7 @@ async function Ws(t) {
|
|
|
2859
2879
|
}
|
|
2860
2880
|
return Array.from(b.values());
|
|
2861
2881
|
}
|
|
2862
|
-
async function
|
|
2882
|
+
async function Xs(t) {
|
|
2863
2883
|
const {
|
|
2864
2884
|
data: e,
|
|
2865
2885
|
queryObject: i,
|
|
@@ -2874,7 +2894,7 @@ async function js(t) {
|
|
|
2874
2894
|
let u = [];
|
|
2875
2895
|
const { series: d, showMean: f } = n, m = Ai({ showMean: f, seriesConfig: d }), g = H(d), y = _e(n), { x: p } = y, F = ne(y.query?.where), b = [];
|
|
2876
2896
|
for (let B = 0; B < m.length; B += 1) {
|
|
2877
|
-
const x = m[B], { dataWithoutOutliersFilterBatches: v } =
|
|
2897
|
+
const x = m[B], { dataWithoutOutliersFilterBatches: v } = _r({
|
|
2878
2898
|
data: e,
|
|
2879
2899
|
yField: x,
|
|
2880
2900
|
x: p,
|
|
@@ -2915,7 +2935,7 @@ async function js(t) {
|
|
|
2915
2935
|
x: F !== void 0 && F !== "" ? F : p
|
|
2916
2936
|
})), u;
|
|
2917
2937
|
}
|
|
2918
|
-
async function
|
|
2938
|
+
async function Ys(t) {
|
|
2919
2939
|
const { queryObject: e, uniqueQuery: i, chartConfig: r, errorStrings: a, abortKey: n, abortSignal: s } = t;
|
|
2920
2940
|
let o;
|
|
2921
2941
|
const { series: l, showMean: c } = r, u = H(l);
|
|
@@ -2954,7 +2974,7 @@ async function Xs(t) {
|
|
|
2954
2974
|
}
|
|
2955
2975
|
return o;
|
|
2956
2976
|
}
|
|
2957
|
-
function
|
|
2977
|
+
function Zs(t) {
|
|
2958
2978
|
const { data: e, additionalData: i, chartConfig: r } = t, a = r.series[0], { x: n } = a, s = ne(a.query?.where);
|
|
2959
2979
|
return e.map((o) => {
|
|
2960
2980
|
let l = o;
|
|
@@ -2964,7 +2984,7 @@ function Ys(t) {
|
|
|
2964
2984
|
return c !== void 0 && (l = { ...o, ...c }), l;
|
|
2965
2985
|
});
|
|
2966
2986
|
}
|
|
2967
|
-
function
|
|
2987
|
+
function Hr(t) {
|
|
2968
2988
|
const { chartConfig: e, data: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, { series: n, showMean: s } = e, o = _e(e), l = H(e.series), { x: c } = o, u = Ai({ showMean: s, seriesConfig: n });
|
|
2969
2989
|
let d = i;
|
|
2970
2990
|
if (i?.[0] !== void 0) {
|
|
@@ -2974,14 +2994,14 @@ function _r(t) {
|
|
|
2974
2994
|
d[0][C.boxPlot.boxPlotCategory] = u[0];
|
|
2975
2995
|
break;
|
|
2976
2996
|
case S.BoxPlotMultiFields:
|
|
2977
|
-
d =
|
|
2997
|
+
d = ks({
|
|
2978
2998
|
data: i,
|
|
2979
2999
|
yList: u,
|
|
2980
3000
|
calculateZScore: r
|
|
2981
3001
|
});
|
|
2982
3002
|
break;
|
|
2983
3003
|
case S.BoxPlotMultiFieldsAndCategory:
|
|
2984
|
-
d =
|
|
3004
|
+
d = Hs({
|
|
2985
3005
|
data: i,
|
|
2986
3006
|
yList: u,
|
|
2987
3007
|
meanAndStdDevPerField: a,
|
|
@@ -2989,7 +3009,7 @@ function _r(t) {
|
|
|
2989
3009
|
});
|
|
2990
3010
|
break;
|
|
2991
3011
|
case S.BoxPlotMonoFieldAndSplitBy:
|
|
2992
|
-
d =
|
|
3012
|
+
d = Qs({
|
|
2993
3013
|
data: i,
|
|
2994
3014
|
splitByField: f,
|
|
2995
3015
|
y: u[0]
|
|
@@ -2997,7 +3017,7 @@ function _r(t) {
|
|
|
2997
3017
|
});
|
|
2998
3018
|
break;
|
|
2999
3019
|
case S.BoxPlotMultiFieldsAndSplitBy:
|
|
3000
|
-
d =
|
|
3020
|
+
d = _s({
|
|
3001
3021
|
splitByField: f,
|
|
3002
3022
|
data: i,
|
|
3003
3023
|
yList: u,
|
|
@@ -3006,7 +3026,7 @@ function _r(t) {
|
|
|
3006
3026
|
});
|
|
3007
3027
|
break;
|
|
3008
3028
|
case S.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
3009
|
-
d =
|
|
3029
|
+
d = zs({
|
|
3010
3030
|
splitByField: f,
|
|
3011
3031
|
x: c,
|
|
3012
3032
|
data: i
|
|
@@ -3015,9 +3035,9 @@ function _r(t) {
|
|
|
3015
3035
|
case S.BoxPlotMonoFieldAndCategory:
|
|
3016
3036
|
}
|
|
3017
3037
|
}
|
|
3018
|
-
return
|
|
3038
|
+
return Us(e, d), d;
|
|
3019
3039
|
}
|
|
3020
|
-
async function
|
|
3040
|
+
async function Js(t) {
|
|
3021
3041
|
const {
|
|
3022
3042
|
data: e,
|
|
3023
3043
|
queryObject: i,
|
|
@@ -3032,7 +3052,7 @@ async function Zs(t) {
|
|
|
3032
3052
|
} = t;
|
|
3033
3053
|
let d = e, f = [];
|
|
3034
3054
|
if (d !== void 0) {
|
|
3035
|
-
const { series: m } = n, g = await
|
|
3055
|
+
const { series: m } = n, g = await Ys({
|
|
3036
3056
|
queryObject: i,
|
|
3037
3057
|
uniqueQuery: r,
|
|
3038
3058
|
chartConfig: n,
|
|
@@ -3041,7 +3061,7 @@ async function Zs(t) {
|
|
|
3041
3061
|
abortSignal: u
|
|
3042
3062
|
});
|
|
3043
3063
|
if (a !== !1) {
|
|
3044
|
-
f = await
|
|
3064
|
+
f = await js({
|
|
3045
3065
|
queryObject: i,
|
|
3046
3066
|
uniqueQuery: r,
|
|
3047
3067
|
seriesConfig: m,
|
|
@@ -3050,7 +3070,7 @@ async function Zs(t) {
|
|
|
3050
3070
|
abortKey: c,
|
|
3051
3071
|
abortSignal: u
|
|
3052
3072
|
});
|
|
3053
|
-
const y = await
|
|
3073
|
+
const y = await Xs({
|
|
3054
3074
|
queryObject: i,
|
|
3055
3075
|
uniqueQuery: r,
|
|
3056
3076
|
elementCount: s,
|
|
@@ -3061,13 +3081,13 @@ async function Zs(t) {
|
|
|
3061
3081
|
abortKey: c,
|
|
3062
3082
|
abortSignal: u
|
|
3063
3083
|
});
|
|
3064
|
-
d =
|
|
3084
|
+
d = Zs({
|
|
3065
3085
|
data: d,
|
|
3066
3086
|
additionalData: y,
|
|
3067
3087
|
chartConfig: n
|
|
3068
3088
|
});
|
|
3069
3089
|
}
|
|
3070
|
-
d =
|
|
3090
|
+
d = Hr({
|
|
3071
3091
|
chartConfig: n,
|
|
3072
3092
|
data: d,
|
|
3073
3093
|
meanAndStdDevPerField: g,
|
|
@@ -3089,7 +3109,7 @@ function Gi(t, e, i) {
|
|
|
3089
3109
|
} else i === ye.Descending ? typeof t == "string" && typeof e == "string" ? r = e.localeCompare(t, void 0, { numeric: !0 }) : r = (Number(e) || 0) - (Number(t) || 0) : i === ye.Ascending && (typeof t == "string" && typeof e == "string" ? r = t.localeCompare(e, void 0, { numeric: !0 }) : r = (Number(t) || 0) - (Number(e) || 0));
|
|
3090
3110
|
return r;
|
|
3091
3111
|
}
|
|
3092
|
-
function
|
|
3112
|
+
function Ks(t) {
|
|
3093
3113
|
const { arrayToSort: e, chartConfig: i, dataOrderParameters: r } = t, a = r ?? _t(i);
|
|
3094
3114
|
let n, s, o = !1, l = !1, c = !1;
|
|
3095
3115
|
a && e.length > 1 && ([n, s] = a, o = n && n.sortingField.length > 0 && Ui({
|
|
@@ -3111,9 +3131,9 @@ function Js(t) {
|
|
|
3111
3131
|
return f;
|
|
3112
3132
|
});
|
|
3113
3133
|
}
|
|
3114
|
-
function
|
|
3134
|
+
function eo(t) {
|
|
3115
3135
|
const { chartConfig: e, chartData: i } = t;
|
|
3116
|
-
i.heatChartAxesData =
|
|
3136
|
+
i.heatChartAxesData = kr({
|
|
3117
3137
|
chartConfig: e,
|
|
3118
3138
|
chartData: i.dataItems
|
|
3119
3139
|
});
|
|
@@ -3123,7 +3143,7 @@ function qt(t) {
|
|
|
3123
3143
|
if (a !== !0 && e[0] !== void 0) {
|
|
3124
3144
|
const { series: n } = i, s = H(n), o = Q(n), l = Be(i), c = _t(i);
|
|
3125
3145
|
if (Ge(i) && e !== void 0)
|
|
3126
|
-
|
|
3146
|
+
Ks({
|
|
3127
3147
|
arrayToSort: e,
|
|
3128
3148
|
chartConfig: i,
|
|
3129
3149
|
dataOrderParameters: c
|
|
@@ -3157,7 +3177,7 @@ function qt(t) {
|
|
|
3157
3177
|
}
|
|
3158
3178
|
}
|
|
3159
3179
|
}
|
|
3160
|
-
function
|
|
3180
|
+
function Hd(t) {
|
|
3161
3181
|
const { alteredConfig: e, dataInfo: i, fieldList: r, options: a, queryObject: n } = t, s = Ti(i.data);
|
|
3162
3182
|
if (s && qt({
|
|
3163
3183
|
arrayToSort: s,
|
|
@@ -3176,21 +3196,21 @@ function _d(t) {
|
|
|
3176
3196
|
chartConfig: e
|
|
3177
3197
|
});
|
|
3178
3198
|
}
|
|
3179
|
-
Ge(e) && i.data &&
|
|
3199
|
+
Ge(e) && i.data && eo({ chartConfig: e, chartData: i.data });
|
|
3180
3200
|
}
|
|
3181
|
-
function
|
|
3201
|
+
function to(t) {
|
|
3182
3202
|
return t?.type === "uniqueValue" && (t.uniqueValueInfos = t.uniqueValueInfos.map((e) => {
|
|
3183
3203
|
const i = e.value === null ? C.nullValue : e.value;
|
|
3184
3204
|
return { ...e, value: i };
|
|
3185
3205
|
})), t;
|
|
3186
3206
|
}
|
|
3187
|
-
async function
|
|
3207
|
+
async function zd(t) {
|
|
3188
3208
|
const { data: e, queryObject: i, chartConfig: r, allowColorMatch: a } = t;
|
|
3189
3209
|
let n = !1, s = [];
|
|
3190
3210
|
if (a && !ie(i)) {
|
|
3191
|
-
const { series: o, chartRenderer: l } = r, c =
|
|
3211
|
+
const { series: o, chartRenderer: l } = r, c = to(l), u = c ? it.ChartRenderer : it.LayerRenderer, d = i ? W(i) : void 0, f = c ?? d?.renderer;
|
|
3192
3212
|
let m;
|
|
3193
|
-
d && u === it.LayerRenderer ? s = await
|
|
3213
|
+
d && u === it.LayerRenderer ? s = await pa(d) : u === it.ChartRenderer && (s = Gl(f));
|
|
3194
3214
|
const g = Rl(c, d?.renderer), y = _l({
|
|
3195
3215
|
chartRenderer: l,
|
|
3196
3216
|
queryObject: i
|
|
@@ -3214,7 +3234,66 @@ async function Hd(t) {
|
|
|
3214
3234
|
}
|
|
3215
3235
|
return { dataItems: e, colorMatchApplied: n, rendererFieldNames: s };
|
|
3216
3236
|
}
|
|
3217
|
-
|
|
3237
|
+
function io(t) {
|
|
3238
|
+
const { itemsA: e, itemsB: i, isPieFromFields: r, x: a, y: n, outStatisticFieldName: s } = t, o = Re(e), l = Re(i);
|
|
3239
|
+
let c = !1;
|
|
3240
|
+
if (o === void 0 && l !== void 0 || o !== void 0 && l === void 0)
|
|
3241
|
+
c = !0;
|
|
3242
|
+
else if (!r) {
|
|
3243
|
+
const u = [
|
|
3244
|
+
C.originalXValue,
|
|
3245
|
+
C.originalYCategoryValue,
|
|
3246
|
+
C.xAxisField,
|
|
3247
|
+
C.technicalSortingFieldBySum,
|
|
3248
|
+
C.technicalSortingFieldByPercent,
|
|
3249
|
+
C.pieChart.technicalFieldSlicePercent,
|
|
3250
|
+
C.pieChart.technicalFieldGroupedSlices,
|
|
3251
|
+
C.pieChart.technicalFieldSliceId,
|
|
3252
|
+
C.originalServerBinningRange,
|
|
3253
|
+
C.firstTemporalBin,
|
|
3254
|
+
C.lastTemporalBin,
|
|
3255
|
+
C.technicalFieldSplitByField,
|
|
3256
|
+
G.valueField,
|
|
3257
|
+
...Ha
|
|
3258
|
+
], d = (y, p) => {
|
|
3259
|
+
const F = p[C.originalXValue];
|
|
3260
|
+
F !== void 0 && a && (p[a] = F);
|
|
3261
|
+
const b = p[C.originalYCategoryValue];
|
|
3262
|
+
b !== void 0 && n && (p[n] = b), a && p[G.xField] !== void 0 && (p[a] = p[C.originalXValue] !== void 0 ? p[C.originalXValue] : p[G.xField], delete p[G.xField]), n && p[G.yField] !== void 0 && (p[n] = p[C.originalYCategoryValue] !== void 0 ? p[C.originalYCategoryValue] : p[G.yField], delete p[G.yField]), s && p[G.valueField] !== void 0 && (p[s] = p[G.valueField], delete p[G.valueField]);
|
|
3263
|
+
const N = {};
|
|
3264
|
+
return Object.keys(p).forEach((B) => {
|
|
3265
|
+
!u.includes(B) && !B.includes(C.rendererSymbolField) && !B.includes(k.uniqueIds) && (N[B] = p[B]);
|
|
3266
|
+
}), y.push(N), y;
|
|
3267
|
+
}, f = (y, p) => JSON.stringify(y).localeCompare(JSON.stringify(p));
|
|
3268
|
+
let m = o?.reduce(d, [])?.sort(f), g = l?.reduce(d, [])?.sort(f);
|
|
3269
|
+
m && g && a && m.length !== g.length && (m = bt({ data: m, x: a }), g = bt({ data: g, x: a })), c = m?.length !== g?.length || !at(m, g);
|
|
3270
|
+
}
|
|
3271
|
+
return c;
|
|
3272
|
+
}
|
|
3273
|
+
function ro(t) {
|
|
3274
|
+
const { chartConfig: e, currentSelectionItems: i, selectionData: r } = t;
|
|
3275
|
+
let a = [];
|
|
3276
|
+
if (e !== void 0) {
|
|
3277
|
+
const n = e.series, s = H(n), { selectionItems: o } = r ?? {};
|
|
3278
|
+
if (o !== void 0 && io({
|
|
3279
|
+
itemsA: o,
|
|
3280
|
+
itemsB: i,
|
|
3281
|
+
isPieFromFields: H(e.series) === S.PieFromFields,
|
|
3282
|
+
x: e.series[0].x,
|
|
3283
|
+
y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
|
|
3284
|
+
outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
|
|
3285
|
+
}) ? a = o : a = i ?? [], n.length > 1 && s !== S.BarAndLineNoAggregation && s !== S.BarAndLineSplitByNoAggregation) {
|
|
3286
|
+
const l = ne(n[0].query?.where);
|
|
3287
|
+
a = bt({ data: a, x: n[0].x, splitByField: l });
|
|
3288
|
+
}
|
|
3289
|
+
qt({
|
|
3290
|
+
arrayToSort: a,
|
|
3291
|
+
chartConfig: e
|
|
3292
|
+
});
|
|
3293
|
+
}
|
|
3294
|
+
return a ?? [];
|
|
3295
|
+
}
|
|
3296
|
+
async function ao(t) {
|
|
3218
3297
|
const { queryObject: e, queryConfig: i, chartConfig: r, errorStrings: a, abortKey: n, abortSignal: s } = t, o = r.series[0], { x: l, valueConversion: c } = o, u = Wt(r), d = await Fe({
|
|
3219
3298
|
queryObject: e,
|
|
3220
3299
|
queryConfig: i,
|
|
@@ -3238,10 +3317,10 @@ async function to(t) {
|
|
|
3238
3317
|
}
|
|
3239
3318
|
return f;
|
|
3240
3319
|
}
|
|
3241
|
-
async function
|
|
3320
|
+
async function no(t) {
|
|
3242
3321
|
const { queryObject: e, chartConfig: i, queryConfig: r, chartLimits: a, errorStrings: n, abortKey: s, abortSignal: o } = t, l = { valid: !0 }, { behaviorAfterLimit: c, maxGaugeByFeaturesLimit: u, gauge: d } = a ?? {}, f = u ?? d?.features, m = Wt(i);
|
|
3243
3322
|
let g = !0, y;
|
|
3244
|
-
if (m && (y = (await
|
|
3323
|
+
if (m && (y = (await ta({
|
|
3245
3324
|
chartConfig: i,
|
|
3246
3325
|
queryObject: e,
|
|
3247
3326
|
queryConfig: r,
|
|
@@ -3261,17 +3340,17 @@ async function io(t) {
|
|
|
3261
3340
|
...a,
|
|
3262
3341
|
maxGaugeByFeaturesLimit: p,
|
|
3263
3342
|
gauge: { features: p }
|
|
3264
|
-
}),
|
|
3343
|
+
}), Fa({ chartConfig: i, chartLimits: F, uniqueQuery: r });
|
|
3265
3344
|
}
|
|
3266
3345
|
if (Number.isNaN(g) || g) {
|
|
3267
|
-
const p = await
|
|
3346
|
+
const p = await ao({
|
|
3268
3347
|
queryObject: e,
|
|
3269
3348
|
chartConfig: i,
|
|
3270
3349
|
queryConfig: r,
|
|
3271
3350
|
errorStrings: n,
|
|
3272
3351
|
abortKey: s,
|
|
3273
3352
|
abortSignal: o
|
|
3274
|
-
}), { calculatedAxisMinimum: F, calculatedAxisMaximum: b, gaugeValue: N } = await
|
|
3353
|
+
}), { calculatedAxisMinimum: F, calculatedAxisMaximum: b, gaugeValue: N } = await lo({
|
|
3275
3354
|
chartConfig: i,
|
|
3276
3355
|
queryConfig: r,
|
|
3277
3356
|
chartData: p,
|
|
@@ -3292,7 +3371,7 @@ async function io(t) {
|
|
|
3292
3371
|
});
|
|
3293
3372
|
return l;
|
|
3294
3373
|
}
|
|
3295
|
-
function
|
|
3374
|
+
function so(t) {
|
|
3296
3375
|
const { featureIndex: e, chartData: i, chartConfig: r } = t, { minimumFromField: a, maximumFromField: n } = r?.axes?.[0] ?? {};
|
|
3297
3376
|
let s, o;
|
|
3298
3377
|
if (e >= 0 && e < i.length) {
|
|
@@ -3301,7 +3380,7 @@ function ro(t) {
|
|
|
3301
3380
|
}
|
|
3302
3381
|
return { minimumFromData: s, maximumFromData: o };
|
|
3303
3382
|
}
|
|
3304
|
-
async function
|
|
3383
|
+
async function oo(t) {
|
|
3305
3384
|
const { queryObject: e, chartConfig: i, queryConfig: r, errorStrings: a } = t, { minimumFromField: n, maximumFromField: s } = i.axes[0], o = [];
|
|
3306
3385
|
let l = "", c = "";
|
|
3307
3386
|
n !== void 0 && (typeof n == "string" ? (l = `${D.Minimum}_${n}`, o.push({
|
|
@@ -3336,7 +3415,7 @@ async function ao(t) {
|
|
|
3336
3415
|
}), f = d.get(l), m = d.get(c);
|
|
3337
3416
|
return { minimumFromData: f, maximumFromData: m };
|
|
3338
3417
|
}
|
|
3339
|
-
function
|
|
3418
|
+
function zr(t) {
|
|
3340
3419
|
const { featureIndex: e, chartData: i, x: r } = t;
|
|
3341
3420
|
let a = Number.NaN;
|
|
3342
3421
|
if (e >= 0 && e < i.length) {
|
|
@@ -3345,7 +3424,7 @@ function Hr(t) {
|
|
|
3345
3424
|
}
|
|
3346
3425
|
return a;
|
|
3347
3426
|
}
|
|
3348
|
-
function
|
|
3427
|
+
function Ur(t) {
|
|
3349
3428
|
const { x: e, chartData: i } = t;
|
|
3350
3429
|
let r = Number.NaN;
|
|
3351
3430
|
if (i !== void 0 && e !== void 0) {
|
|
@@ -3354,91 +3433,32 @@ function zr(t) {
|
|
|
3354
3433
|
}
|
|
3355
3434
|
return r;
|
|
3356
3435
|
}
|
|
3357
|
-
function
|
|
3436
|
+
function Ud(t) {
|
|
3358
3437
|
const { chartData: e, chartConfig: i } = t, { x: r } = i.series?.[0];
|
|
3359
3438
|
let a = Number.NaN;
|
|
3360
3439
|
if (Wt(i)) {
|
|
3361
3440
|
const n = i.series?.[0]?.featureIndex ?? 0;
|
|
3362
|
-
a =
|
|
3441
|
+
a = zr({ chartData: e ?? [], featureIndex: n, x: r });
|
|
3363
3442
|
} else
|
|
3364
|
-
a =
|
|
3443
|
+
a = Ur({ chartData: e, x: r });
|
|
3365
3444
|
return a;
|
|
3366
3445
|
}
|
|
3367
|
-
async function
|
|
3446
|
+
async function lo(t) {
|
|
3368
3447
|
const { featureIndex: e = 0, chartData: i, queryConfig: r, chartConfig: a, queryObject: n, errorStrings: s } = t, { x: o } = a.series?.[0], { axes: l } = a, { minimum: c, maximum: u } = l?.[0] ?? {}, d = Wt(a);
|
|
3369
3448
|
let f, m, g;
|
|
3370
|
-
d ? ({ minimumFromData: f, maximumFromData: m } =
|
|
3449
|
+
d ? ({ minimumFromData: f, maximumFromData: m } = so({
|
|
3371
3450
|
featureIndex: e,
|
|
3372
3451
|
chartData: i,
|
|
3373
3452
|
chartConfig: a
|
|
3374
|
-
}), g =
|
|
3453
|
+
}), g = zr({ chartData: i, featureIndex: e, x: a.series?.[0]?.x })) : ({ minimumFromData: f, maximumFromData: m } = await oo({
|
|
3375
3454
|
chartConfig: a,
|
|
3376
3455
|
queryObject: n,
|
|
3377
3456
|
queryConfig: r ?? {},
|
|
3378
3457
|
errorStrings: s
|
|
3379
|
-
}), g =
|
|
3458
|
+
}), g = Ur({ chartData: i, x: o }));
|
|
3380
3459
|
const y = f ?? c ?? Ei.axisMinimum, p = m ?? u ?? Ei.axisMaximum;
|
|
3381
3460
|
return { calculatedAxisMinimum: y, calculatedAxisMaximum: p, gaugeValue: g };
|
|
3382
3461
|
}
|
|
3383
|
-
function so(t) {
|
|
3384
|
-
const { itemsA: e, itemsB: i, isPieFromFields: r, x: a, y: n, outStatisticFieldName: s } = t, o = Re(e), l = Re(i);
|
|
3385
|
-
let c = !1;
|
|
3386
|
-
if (o === void 0 && l !== void 0 || o !== void 0 && l === void 0)
|
|
3387
|
-
c = !0;
|
|
3388
|
-
else if (!r) {
|
|
3389
|
-
const u = [
|
|
3390
|
-
C.originalXValue,
|
|
3391
|
-
C.originalYCategoryValue,
|
|
3392
|
-
C.xAxisField,
|
|
3393
|
-
C.technicalSortingFieldBySum,
|
|
3394
|
-
C.technicalSortingFieldByPercent,
|
|
3395
|
-
C.pieChart.technicalFieldSlicePercent,
|
|
3396
|
-
C.pieChart.technicalFieldGroupedSlices,
|
|
3397
|
-
C.pieChart.technicalFieldSliceId,
|
|
3398
|
-
C.originalServerBinningRange,
|
|
3399
|
-
C.firstTemporalBin,
|
|
3400
|
-
C.lastTemporalBin,
|
|
3401
|
-
C.technicalFieldSplitByField,
|
|
3402
|
-
G.valueField,
|
|
3403
|
-
..._a
|
|
3404
|
-
], d = (y, p) => {
|
|
3405
|
-
const F = p[C.originalXValue];
|
|
3406
|
-
F !== void 0 && a && (p[a] = F);
|
|
3407
|
-
const b = p[C.originalYCategoryValue];
|
|
3408
|
-
b !== void 0 && n && (p[n] = b), a && p[G.xField] !== void 0 && (p[a] = p[C.originalXValue] !== void 0 ? p[C.originalXValue] : p[G.xField], delete p[G.xField]), n && p[G.yField] !== void 0 && (p[n] = p[C.originalYCategoryValue] !== void 0 ? p[C.originalYCategoryValue] : p[G.yField], delete p[G.yField]), s && p[G.valueField] !== void 0 && (p[s] = p[G.valueField], delete p[G.valueField]);
|
|
3409
|
-
const N = {};
|
|
3410
|
-
return Object.keys(p).forEach((B) => {
|
|
3411
|
-
!u.includes(B) && !B.includes(C.rendererSymbolField) && !B.includes(k.uniqueIds) && (N[B] = p[B]);
|
|
3412
|
-
}), y.push(N), y;
|
|
3413
|
-
}, f = (y, p) => JSON.stringify(y).localeCompare(JSON.stringify(p));
|
|
3414
|
-
let m = o?.reduce(d, [])?.sort(f), g = l?.reduce(d, [])?.sort(f);
|
|
3415
|
-
m && g && a && m.length !== g.length && (m = bt({ data: m, x: a }), g = bt({ data: g, x: a })), c = m?.length !== g?.length || !at(m, g);
|
|
3416
|
-
}
|
|
3417
|
-
return c;
|
|
3418
|
-
}
|
|
3419
|
-
function oo(t) {
|
|
3420
|
-
const { chartConfig: e, currentSelectionDataItems: i, selectionData: r } = t;
|
|
3421
|
-
let a = [];
|
|
3422
|
-
if (e !== void 0) {
|
|
3423
|
-
const n = e.series, s = H(n), { selectionItems: o } = r ?? {};
|
|
3424
|
-
if (o !== void 0 && so({
|
|
3425
|
-
itemsA: o,
|
|
3426
|
-
itemsB: i,
|
|
3427
|
-
isPieFromFields: H(e.series) === S.PieFromFields,
|
|
3428
|
-
x: e.series[0].x,
|
|
3429
|
-
y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
|
|
3430
|
-
outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
|
|
3431
|
-
}) ? a = o : a = i ?? [], n.length > 1 && s !== S.BarAndLineNoAggregation && s !== S.BarAndLineSplitByNoAggregation) {
|
|
3432
|
-
const l = ne(n[0].query?.where);
|
|
3433
|
-
a = bt({ data: a, x: n[0].x, splitByField: l });
|
|
3434
|
-
}
|
|
3435
|
-
qt({
|
|
3436
|
-
arrayToSort: a,
|
|
3437
|
-
chartConfig: e
|
|
3438
|
-
});
|
|
3439
|
-
}
|
|
3440
|
-
return a ?? [];
|
|
3441
|
-
}
|
|
3442
3462
|
function $e(t, e) {
|
|
3443
3463
|
let i = "";
|
|
3444
3464
|
if (t.trim() !== "" && e !== void 0)
|
|
@@ -3450,11 +3470,11 @@ function $e(t, e) {
|
|
|
3450
3470
|
}
|
|
3451
3471
|
return i;
|
|
3452
3472
|
}
|
|
3453
|
-
function
|
|
3473
|
+
function uo(t) {
|
|
3454
3474
|
const { dataContext: e, xAxisField: i, yAxisField: r, options: a } = t;
|
|
3455
3475
|
let n = "";
|
|
3456
3476
|
const { dataContextXMinField: s, dataContextXMaxField: o, dataContextYMinField: l, dataContextYMaxField: c } = C.scatterplotAggregationFields;
|
|
3457
|
-
if (
|
|
3477
|
+
if (Ca({ dataContext: e, chartLimits: a?.chartLimits })) {
|
|
3458
3478
|
const { [s]: u, [o]: d } = e, f = i !== r ? e[l] : u, m = i !== r ? e[c] : d;
|
|
3459
3479
|
if (!Number.isNaN(u) && !Number.isNaN(d) && !Number.isNaN(f) && !Number.isNaN(m)) {
|
|
3460
3480
|
const g = [];
|
|
@@ -3469,9 +3489,9 @@ function lo(t) {
|
|
|
3469
3489
|
}
|
|
3470
3490
|
function Wi(t) {
|
|
3471
3491
|
const { fieldsIndex: e, fieldName: i, inputDate: r } = t, a = e.get(i), n = e.getTimeZone(i);
|
|
3472
|
-
return
|
|
3492
|
+
return pn(new Date(r), { type: "date" }, { type: a, timeZone: n });
|
|
3473
3493
|
}
|
|
3474
|
-
function
|
|
3494
|
+
function Gr(t) {
|
|
3475
3495
|
const {
|
|
3476
3496
|
xAxisField: e,
|
|
3477
3497
|
xAxisFieldType: i,
|
|
@@ -3498,7 +3518,7 @@ function Ur(t) {
|
|
|
3498
3518
|
}
|
|
3499
3519
|
return s;
|
|
3500
3520
|
}
|
|
3501
|
-
function
|
|
3521
|
+
function Wr(t, e) {
|
|
3502
3522
|
let i = "";
|
|
3503
3523
|
if (Number.isFinite(t)) {
|
|
3504
3524
|
const r = 1 / 10 ** C.queryMaxFloatPrecision;
|
|
@@ -3506,7 +3526,7 @@ function Gr(t, e) {
|
|
|
3506
3526
|
}
|
|
3507
3527
|
return i;
|
|
3508
3528
|
}
|
|
3509
|
-
function
|
|
3529
|
+
function jr(t) {
|
|
3510
3530
|
const { xAxisField: e, yAxisField: i, splitBy: r, dataContext: a, xAxisFieldType: n, chartConfig: s } = t;
|
|
3511
3531
|
let o = "";
|
|
3512
3532
|
if (e !== void 0 && e !== C.boxPlot.boxPlotCategory) {
|
|
@@ -3514,7 +3534,7 @@ function Wr(t) {
|
|
|
3514
3534
|
value: a[e],
|
|
3515
3535
|
dataContext: a
|
|
3516
3536
|
});
|
|
3517
|
-
n === j.Double ? o =
|
|
3537
|
+
n === j.Double ? o = Wr(d, e) : (Cr(s.axes?.[0].valueFormat) && (d = lt(d)), o = Ie({
|
|
3518
3538
|
where: $e(e, d),
|
|
3519
3539
|
normalize: !1,
|
|
3520
3540
|
escape: !0
|
|
@@ -3522,7 +3542,7 @@ function Wr(t) {
|
|
|
3522
3542
|
}
|
|
3523
3543
|
const l = Ie({ where: r ?? "", normalize: !1, escape: !0 });
|
|
3524
3544
|
let c = "";
|
|
3525
|
-
if (
|
|
3545
|
+
if (cs(s)) {
|
|
3526
3546
|
const d = H(s.series) === S.BoxPlotMultiFieldsAndCategory ? i : void 0, f = re({
|
|
3527
3547
|
key: q.Min,
|
|
3528
3548
|
showOutliers: !0,
|
|
@@ -3541,11 +3561,11 @@ function Wr(t) {
|
|
|
3541
3561
|
}
|
|
3542
3562
|
return Y([o, l, c]);
|
|
3543
3563
|
}
|
|
3544
|
-
function
|
|
3564
|
+
function co(t) {
|
|
3545
3565
|
const { xAxisField: e, splitBy: i, dataContext: r, xAxisFieldType: a, chartConfig: n, queryObject: s } = t;
|
|
3546
3566
|
let o = "";
|
|
3547
3567
|
if (C.dateBinningRange in r)
|
|
3548
|
-
o =
|
|
3568
|
+
o = Gr({
|
|
3549
3569
|
xAxisField: e,
|
|
3550
3570
|
xAxisFieldType: a,
|
|
3551
3571
|
timeAggregationType: Or(n),
|
|
@@ -3557,7 +3577,7 @@ function uo(t) {
|
|
|
3557
3577
|
value: r[e],
|
|
3558
3578
|
dataContext: r
|
|
3559
3579
|
});
|
|
3560
|
-
a === j.Double ? o =
|
|
3580
|
+
a === j.Double ? o = Wr(u, e) : (Cr(n.axes?.[0].valueFormat) && a !== j.TimeOnly && (u = lt(u)), o = Ie({
|
|
3561
3581
|
where: $e(e, u),
|
|
3562
3582
|
normalize: !1,
|
|
3563
3583
|
escape: !0
|
|
@@ -3566,7 +3586,7 @@ function uo(t) {
|
|
|
3566
3586
|
const l = Ie({ where: i ?? "", normalize: !1, escape: !0 });
|
|
3567
3587
|
return Y([o, l]);
|
|
3568
3588
|
}
|
|
3569
|
-
function
|
|
3589
|
+
function fo(t) {
|
|
3570
3590
|
const { xAxisField: e, dataContext: i, chartConfig: r } = t;
|
|
3571
3591
|
let a = i[C.originalXValue];
|
|
3572
3592
|
return a === void 0 && (a = i[e]), H(r.series) === S.PieFromFields ? "" : Ie({
|
|
@@ -3589,7 +3609,7 @@ function ji(t) {
|
|
|
3589
3609
|
});
|
|
3590
3610
|
return c && (l = `${c}=${r}`), l;
|
|
3591
3611
|
}
|
|
3592
|
-
function
|
|
3612
|
+
function mo(t) {
|
|
3593
3613
|
const {
|
|
3594
3614
|
xAxisFieldType: e,
|
|
3595
3615
|
yAxisFieldType: i,
|
|
@@ -3631,7 +3651,7 @@ function fo(t) {
|
|
|
3631
3651
|
}
|
|
3632
3652
|
return c;
|
|
3633
3653
|
}
|
|
3634
|
-
function
|
|
3654
|
+
function go(t) {
|
|
3635
3655
|
const { xAxisField: e, dataContext: i, chartConfig: r } = t;
|
|
3636
3656
|
let a = "";
|
|
3637
3657
|
const n = r.series[0], { minValue: s, maxValue: o } = i;
|
|
@@ -3644,40 +3664,40 @@ function mo(t) {
|
|
|
3644
3664
|
}
|
|
3645
3665
|
return a;
|
|
3646
3666
|
}
|
|
3647
|
-
function
|
|
3667
|
+
function Gd(t) {
|
|
3648
3668
|
const { chartConfig: e } = t, i = Q(e.series);
|
|
3649
3669
|
let r = "";
|
|
3650
3670
|
switch (i) {
|
|
3651
3671
|
case h.ScatterSeries:
|
|
3652
|
-
r =
|
|
3672
|
+
r = uo(t);
|
|
3653
3673
|
break;
|
|
3654
3674
|
case h.HeatSeries:
|
|
3655
|
-
r =
|
|
3675
|
+
r = mo(t);
|
|
3656
3676
|
break;
|
|
3657
3677
|
case h.RadarSeries:
|
|
3658
3678
|
case h.BarSeries:
|
|
3659
3679
|
case h.LineSeries:
|
|
3660
3680
|
case h.ComboLineAndBarSeries:
|
|
3661
|
-
r =
|
|
3681
|
+
r = co(t);
|
|
3662
3682
|
break;
|
|
3663
3683
|
case h.BoxPlotSeries:
|
|
3664
|
-
r =
|
|
3684
|
+
r = jr(t);
|
|
3665
3685
|
break;
|
|
3666
3686
|
case h.HistogramSeries:
|
|
3667
|
-
r =
|
|
3687
|
+
r = go(t);
|
|
3668
3688
|
break;
|
|
3669
3689
|
case h.PieSeries:
|
|
3670
|
-
r =
|
|
3690
|
+
r = fo(t);
|
|
3671
3691
|
break;
|
|
3672
3692
|
}
|
|
3673
3693
|
return r;
|
|
3674
3694
|
}
|
|
3675
|
-
async function
|
|
3695
|
+
async function yo(t) {
|
|
3676
3696
|
const {
|
|
3677
3697
|
queryObject: e,
|
|
3678
3698
|
queryConfig: i,
|
|
3679
3699
|
chartConfig: r,
|
|
3680
|
-
|
|
3700
|
+
currentSelectionItems: a,
|
|
3681
3701
|
setTimeBinningInfoWhenNotProvided: n,
|
|
3682
3702
|
returnFeaturesExtent: s,
|
|
3683
3703
|
returnStatisticsAggregatedIds: o,
|
|
@@ -3719,7 +3739,7 @@ async function go(t) {
|
|
|
3719
3739
|
R !== void 0 && (z = R.replace(U, ""));
|
|
3720
3740
|
}
|
|
3721
3741
|
O.length === 0 && O.push(""), O.forEach((U) => {
|
|
3722
|
-
const R =
|
|
3742
|
+
const R = jr({
|
|
3723
3743
|
chartConfig: r,
|
|
3724
3744
|
xAxisField: N,
|
|
3725
3745
|
yAxisField: z,
|
|
@@ -3758,12 +3778,12 @@ async function go(t) {
|
|
|
3758
3778
|
}
|
|
3759
3779
|
return F;
|
|
3760
3780
|
}
|
|
3761
|
-
async function
|
|
3781
|
+
async function po(t) {
|
|
3762
3782
|
const {
|
|
3763
3783
|
queryObject: e,
|
|
3764
3784
|
queryConfig: i,
|
|
3765
3785
|
chartConfig: r,
|
|
3766
|
-
|
|
3786
|
+
currentSelectionItems: a,
|
|
3767
3787
|
dataForFilterBySelectionChanged: n,
|
|
3768
3788
|
selectionData: s,
|
|
3769
3789
|
setTimeBinningInfoWhenNotProvided: o,
|
|
@@ -3781,7 +3801,7 @@ async function yo(t) {
|
|
|
3781
3801
|
yt(e);
|
|
3782
3802
|
const { series: b } = r, N = Q(b), B = Be(r);
|
|
3783
3803
|
let x = { valid: !0 }, v = s?.selectionItems ?? [];
|
|
3784
|
-
n || (v =
|
|
3804
|
+
n || (v = ro({ chartConfig: r, currentSelectionItems: a, selectionData: s }));
|
|
3785
3805
|
let T = !1;
|
|
3786
3806
|
switch (N) {
|
|
3787
3807
|
case h.HeatSeries:
|
|
@@ -3798,11 +3818,11 @@ async function yo(t) {
|
|
|
3798
3818
|
x.count = v.length, T = !0;
|
|
3799
3819
|
break;
|
|
3800
3820
|
case h.BoxPlotSeries:
|
|
3801
|
-
de(r) && (x = await
|
|
3821
|
+
de(r) && (x = await yo({
|
|
3802
3822
|
queryObject: e,
|
|
3803
3823
|
queryConfig: i,
|
|
3804
3824
|
chartConfig: r,
|
|
3805
|
-
|
|
3825
|
+
currentSelectionItems: a,
|
|
3806
3826
|
setTimeBinningInfoWhenNotProvided: o,
|
|
3807
3827
|
returnFeaturesExtent: l,
|
|
3808
3828
|
returnStatisticsAggregatedIds: c,
|
|
@@ -3831,7 +3851,7 @@ async function yo(t) {
|
|
|
3831
3851
|
const A = { ...i };
|
|
3832
3852
|
if (a !== void 0 && a.length > 0) {
|
|
3833
3853
|
const I = Or(r), w = a.map(
|
|
3834
|
-
(L) =>
|
|
3854
|
+
(L) => Gr({
|
|
3835
3855
|
xAxisField: b[0].x,
|
|
3836
3856
|
dataContext: L,
|
|
3837
3857
|
timeAggregationType: I,
|
|
@@ -3941,7 +3961,7 @@ async function Ci(t) {
|
|
|
3941
3961
|
else {
|
|
3942
3962
|
const b = { dataItems: [] };
|
|
3943
3963
|
b.meanLines = F.data.dataItems;
|
|
3944
|
-
const N =
|
|
3964
|
+
const N = Es(i), B = (await ci({
|
|
3945
3965
|
queryObject: e,
|
|
3946
3966
|
queryConfig: r,
|
|
3947
3967
|
fetchFullBoxPlotData: !0,
|
|
@@ -3962,13 +3982,13 @@ async function Ci(t) {
|
|
|
3962
3982
|
}
|
|
3963
3983
|
return y;
|
|
3964
3984
|
}
|
|
3965
|
-
async function
|
|
3985
|
+
async function Wd(t) {
|
|
3966
3986
|
const {
|
|
3967
3987
|
queryObject: e,
|
|
3968
3988
|
chartConfig: i,
|
|
3969
3989
|
abortKey: r,
|
|
3970
3990
|
abortSignal: a,
|
|
3971
|
-
|
|
3991
|
+
currentSelectionItems: n,
|
|
3972
3992
|
dataForFilterBySelectionChanged: s,
|
|
3973
3993
|
filterByViewExtent: o,
|
|
3974
3994
|
runtimeDataFilters: l,
|
|
@@ -3989,7 +4009,7 @@ async function Gd(t) {
|
|
|
3989
4009
|
preFetchedQueryResponse: T
|
|
3990
4010
|
} = t, { series: A } = i;
|
|
3991
4011
|
let P = { valid: !0 };
|
|
3992
|
-
const I = Q(A), w =
|
|
4012
|
+
const I = Q(A), w = Sa({
|
|
3993
4013
|
queryObject: e,
|
|
3994
4014
|
chartConfig: i,
|
|
3995
4015
|
runtimeDataFilters: l,
|
|
@@ -3997,12 +4017,12 @@ async function Gd(t) {
|
|
|
3997
4017
|
ignoreViewExtent: c,
|
|
3998
4018
|
view: N
|
|
3999
4019
|
});
|
|
4000
|
-
if (
|
|
4001
|
-
P = await
|
|
4020
|
+
if (On(r), u)
|
|
4021
|
+
P = await po({
|
|
4002
4022
|
queryObject: e,
|
|
4003
4023
|
queryConfig: w,
|
|
4004
4024
|
chartConfig: i,
|
|
4005
|
-
|
|
4025
|
+
currentSelectionItems: n,
|
|
4006
4026
|
dataForFilterBySelectionChanged: s,
|
|
4007
4027
|
selectionData: d,
|
|
4008
4028
|
setTimeBinningInfoWhenNotProvided: f,
|
|
@@ -4020,7 +4040,7 @@ async function Gd(t) {
|
|
|
4020
4040
|
else
|
|
4021
4041
|
switch (I) {
|
|
4022
4042
|
case h.HeatSeries:
|
|
4023
|
-
yt(e), P = await
|
|
4043
|
+
yt(e), P = await ia({
|
|
4024
4044
|
chartConfig: i,
|
|
4025
4045
|
queryConfig: w,
|
|
4026
4046
|
queryObject: e,
|
|
@@ -4088,7 +4108,7 @@ async function Gd(t) {
|
|
|
4088
4108
|
break;
|
|
4089
4109
|
}
|
|
4090
4110
|
case h.ScatterSeries:
|
|
4091
|
-
P.data = await
|
|
4111
|
+
P.data = await ra({
|
|
4092
4112
|
queryObject: e,
|
|
4093
4113
|
queryConfig: w,
|
|
4094
4114
|
filterByViewExtent: o,
|
|
@@ -4119,7 +4139,7 @@ async function Gd(t) {
|
|
|
4119
4139
|
});
|
|
4120
4140
|
break;
|
|
4121
4141
|
case h.GaugeSeries:
|
|
4122
|
-
yt(e), P = await
|
|
4142
|
+
yt(e), P = await no({
|
|
4123
4143
|
queryObject: e,
|
|
4124
4144
|
chartConfig: i,
|
|
4125
4145
|
queryConfig: w,
|
|
@@ -4132,7 +4152,7 @@ async function Gd(t) {
|
|
|
4132
4152
|
}
|
|
4133
4153
|
return P.queryConfig = w, P;
|
|
4134
4154
|
}
|
|
4135
|
-
function
|
|
4155
|
+
function ho(t, e, i) {
|
|
4136
4156
|
const r = /* @__PURE__ */ new Map();
|
|
4137
4157
|
for (let n = 0; n < t.length; n += 1) {
|
|
4138
4158
|
const s = { [i]: t[n] };
|
|
@@ -4144,7 +4164,7 @@ function po(t, e, i) {
|
|
|
4144
4164
|
}
|
|
4145
4165
|
return [...r.values()];
|
|
4146
4166
|
}
|
|
4147
|
-
async function
|
|
4167
|
+
async function So(t) {
|
|
4148
4168
|
const {
|
|
4149
4169
|
seriesData: e,
|
|
4150
4170
|
chartConfig: i,
|
|
@@ -4174,11 +4194,11 @@ async function ho(t) {
|
|
|
4174
4194
|
abortKey: l,
|
|
4175
4195
|
abortSignal: c
|
|
4176
4196
|
})).map((b) => b.attributes[g]).filter((b) => b != null);
|
|
4177
|
-
F.length > e.length && (d =
|
|
4197
|
+
F.length > e.length && (d = ho(F, e, g));
|
|
4178
4198
|
}
|
|
4179
4199
|
return d;
|
|
4180
4200
|
}
|
|
4181
|
-
function
|
|
4201
|
+
function Fo(t, e) {
|
|
4182
4202
|
const i = t, { series: r } = e;
|
|
4183
4203
|
if (Be(e) === h.CategoryAxisFormat && r[0].query?.outStatistics?.[0].statisticType === D.Count) {
|
|
4184
4204
|
const a = r.reduce(
|
|
@@ -4236,8 +4256,8 @@ const Xi = [
|
|
|
4236
4256
|
unitMs: 1e3 * 60 * 60 * 24 * 7 * 4 * 12,
|
|
4237
4257
|
preferredIntervalSize: [1, 2, 4, 5, 10, 25, 50, 100]
|
|
4238
4258
|
}
|
|
4239
|
-
],
|
|
4240
|
-
function
|
|
4259
|
+
], bo = "{ groupByFieldsForStatistics } WHEN { dateField }>='{ startDate }' AND { dateField }{ endDateOperand }'{ endDate }' THEN '{ y }|{ binIndex}'";
|
|
4260
|
+
function Xr(t, e) {
|
|
4241
4261
|
let i = t;
|
|
4242
4262
|
return e === _.Week ? i /= 7 : e === _.Month ? i /= 30 : e === _.Year && (i /= 365), i = Math.ceil(i), i;
|
|
4243
4263
|
}
|
|
@@ -4263,7 +4283,7 @@ function ke(t) {
|
|
|
4263
4283
|
}
|
|
4264
4284
|
return e;
|
|
4265
4285
|
}
|
|
4266
|
-
function
|
|
4286
|
+
function xo(t) {
|
|
4267
4287
|
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];
|
|
4268
4288
|
let c = e;
|
|
4269
4289
|
const u = ke({
|
|
@@ -4293,7 +4313,7 @@ function bo(t) {
|
|
|
4293
4313
|
sliceEndIndex: m
|
|
4294
4314
|
};
|
|
4295
4315
|
}
|
|
4296
|
-
function
|
|
4316
|
+
function Co(t) {
|
|
4297
4317
|
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];
|
|
4298
4318
|
let c = e;
|
|
4299
4319
|
const u = ke({
|
|
@@ -4321,7 +4341,7 @@ function xo(t) {
|
|
|
4321
4341
|
last: f
|
|
4322
4342
|
};
|
|
4323
4343
|
}
|
|
4324
|
-
function
|
|
4344
|
+
function Bo(t) {
|
|
4325
4345
|
const { binsToRegroup: e, statisticType: i, y: r, nullPolicy: a } = t;
|
|
4326
4346
|
let n;
|
|
4327
4347
|
a !== Se.Interpolate && (n = a === Se.Zero ? 0 : null);
|
|
@@ -4330,7 +4350,7 @@ function Co(t) {
|
|
|
4330
4350
|
switch (i) {
|
|
4331
4351
|
case D.Count:
|
|
4332
4352
|
case D.Sum:
|
|
4333
|
-
n =
|
|
4353
|
+
n = Kn(s, (o) => o[r]);
|
|
4334
4354
|
break;
|
|
4335
4355
|
case D.Minimum:
|
|
4336
4356
|
n = Ft(s, (o) => o[r]).min;
|
|
@@ -4339,13 +4359,13 @@ function Co(t) {
|
|
|
4339
4359
|
n = Ft(s, (o) => o[r]).max;
|
|
4340
4360
|
break;
|
|
4341
4361
|
case D.Average:
|
|
4342
|
-
n =
|
|
4362
|
+
n = Jn(s, (o) => o[r]);
|
|
4343
4363
|
break;
|
|
4344
4364
|
case D.ContinuousPercentile:
|
|
4345
4365
|
}
|
|
4346
4366
|
return n;
|
|
4347
4367
|
}
|
|
4348
|
-
function
|
|
4368
|
+
function vo(t) {
|
|
4349
4369
|
const { data: e, seriesConfig: i, timeIntervalInfo: r, dateMinTimestamp: a, dateMaxTimestamp: n } = t;
|
|
4350
4370
|
let s = [];
|
|
4351
4371
|
const { unit: o } = r, l = r.size ?? 1, c = i[0], { x: u } = c;
|
|
@@ -4363,15 +4383,15 @@ function Bo(t) {
|
|
|
4363
4383
|
let N = {};
|
|
4364
4384
|
const { binStartDate: B, binEndDate: x, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: A, sliceEndIndex: P } = d === te.End ? (
|
|
4365
4385
|
// When grouping from the end we'll start from the last date and move backward to create the bins
|
|
4366
|
-
|
|
4386
|
+
Co(b)
|
|
4367
4387
|
) : (
|
|
4368
4388
|
// When grouping from the start we'll start from the first date and move forward to create the bins
|
|
4369
|
-
|
|
4389
|
+
xo(b)
|
|
4370
4390
|
);
|
|
4371
4391
|
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
4392
|
const I = e.slice(A, P).filter((L) => !(C.dateBinModel in L));
|
|
4373
4393
|
g.forEach((L) => {
|
|
4374
|
-
N[L] =
|
|
4394
|
+
N[L] = Bo({ binsToRegroup: I, statisticType: y, y: L, nullPolicy: f });
|
|
4375
4395
|
});
|
|
4376
4396
|
const w = I.map((L) => L[qe]).filter((L) => L !== void 0), M = Wl(w);
|
|
4377
4397
|
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);
|
|
@@ -4394,7 +4414,7 @@ function Bo(t) {
|
|
|
4394
4414
|
}) : s = e;
|
|
4395
4415
|
return s;
|
|
4396
4416
|
}
|
|
4397
|
-
function
|
|
4417
|
+
function Yr(t) {
|
|
4398
4418
|
const { dateMinTimestamp: e, dateMaxTimestamp: i, timeIntervalInfo: r } = t, { size: a, unit: n } = r;
|
|
4399
4419
|
let s = 0, o = 0;
|
|
4400
4420
|
if (a !== void 0 && Number.isFinite(a) && Number.isFinite(e) && Number.isFinite(i)) {
|
|
@@ -4423,7 +4443,7 @@ function Xr(t) {
|
|
|
4423
4443
|
}
|
|
4424
4444
|
return { numberOfFinalBinsWithinDataRange: s, numberOfSingleBinsWithinDataRange: o };
|
|
4425
4445
|
}
|
|
4426
|
-
function
|
|
4446
|
+
function Zr(t) {
|
|
4427
4447
|
const e = t[0].temporalBinning?.nullPolicy;
|
|
4428
4448
|
return t.reduce(
|
|
4429
4449
|
(r, a) => {
|
|
@@ -4434,7 +4454,7 @@ function Yr(t) {
|
|
|
4434
4454
|
{}
|
|
4435
4455
|
);
|
|
4436
4456
|
}
|
|
4437
|
-
function
|
|
4457
|
+
function To(t) {
|
|
4438
4458
|
const {
|
|
4439
4459
|
dateMaxTimestamp: e,
|
|
4440
4460
|
numberOfFinalBinsWithinDataRange: i,
|
|
@@ -4447,7 +4467,7 @@ function vo(t) {
|
|
|
4447
4467
|
if (o !== void 0 && Number.isFinite(o) && r / i !== o) {
|
|
4448
4468
|
let g = Math.ceil(r / i) * i - r;
|
|
4449
4469
|
l === _.Week && (g *= 7);
|
|
4450
|
-
const y =
|
|
4470
|
+
const y = Zr(n);
|
|
4451
4471
|
if (u === te.End) {
|
|
4452
4472
|
let p = a[0][c];
|
|
4453
4473
|
for (let F = 0; F < g; F += 1)
|
|
@@ -4480,11 +4500,11 @@ function vo(t) {
|
|
|
4480
4500
|
}
|
|
4481
4501
|
return { newDateMin: d, newDateMax: f };
|
|
4482
4502
|
}
|
|
4483
|
-
function
|
|
4503
|
+
function No(t) {
|
|
4484
4504
|
const { numberOfSingleBinsWithinDataRange: e, dataLength: i, unit: r } = t;
|
|
4485
|
-
return
|
|
4505
|
+
return Xr(i, r) >= e;
|
|
4486
4506
|
}
|
|
4487
|
-
async function
|
|
4507
|
+
async function Ao(t) {
|
|
4488
4508
|
const { queryObject: e, queryConfig: i, x: r, xFieldType: a, errorStrings: n, abortSignal: s } = t, o = `MIN_${r}`, l = `MAX_${r}`, c = `COUNT_${r}`, u = {
|
|
4489
4509
|
...i,
|
|
4490
4510
|
outStatistics: [
|
|
@@ -4516,7 +4536,7 @@ async function No(t) {
|
|
|
4516
4536
|
const g = d.get(c);
|
|
4517
4537
|
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 };
|
|
4518
4538
|
}
|
|
4519
|
-
function
|
|
4539
|
+
function wo(t) {
|
|
4520
4540
|
const {
|
|
4521
4541
|
newDateMin: e,
|
|
4522
4542
|
newDateMax: i,
|
|
@@ -4526,12 +4546,12 @@ function Ao(t) {
|
|
|
4526
4546
|
initialNumberOfBins: s,
|
|
4527
4547
|
timeIntervalInfo: o
|
|
4528
4548
|
} = t, { unit: l } = o, c = a;
|
|
4529
|
-
if (!
|
|
4549
|
+
if (!No({
|
|
4530
4550
|
numberOfSingleBinsWithinDataRange: n,
|
|
4531
4551
|
dataLength: s,
|
|
4532
4552
|
unit: l
|
|
4533
4553
|
})) {
|
|
4534
|
-
const { x: d } = r[0], f = r[0].temporalBinning?.timeAggregationType, m =
|
|
4554
|
+
const { x: d } = r[0], f = r[0].temporalBinning?.timeAggregationType, m = Zr(r);
|
|
4535
4555
|
let y = f === te.End ? i : e, p = f === te.End ? a.length - 1 : 0;
|
|
4536
4556
|
for (; p < a.length && (f === te.End && y > e || f !== te.End && y < i); )
|
|
4537
4557
|
y !== a[p][d] ? c.push({
|
|
@@ -4547,7 +4567,7 @@ function Ao(t) {
|
|
|
4547
4567
|
}
|
|
4548
4568
|
return c;
|
|
4549
4569
|
}
|
|
4550
|
-
function
|
|
4570
|
+
function Lo(t) {
|
|
4551
4571
|
const { data: e, seriesConfig: i, dateMinTimestamp: r, dateMaxTimestamp: a } = t, n = e;
|
|
4552
4572
|
if (i[0].temporalBinning?.trimIncompleteTimeInterval !== !1) {
|
|
4553
4573
|
const { timeAggregationType: s } = i[0].temporalBinning ?? {}, o = e[0]?.[C.dateBinningRange]?.[0], l = e[e.length - 1]?.[C.dateBinningRange]?.[1];
|
|
@@ -4564,10 +4584,10 @@ function wo(t) {
|
|
|
4564
4584
|
}
|
|
4565
4585
|
return n;
|
|
4566
4586
|
}
|
|
4567
|
-
function
|
|
4587
|
+
function Po(t) {
|
|
4568
4588
|
const { groupByFieldsForStatistics: e, dateField: i, queryStartDate: r, queryEndDate: a, y: n, binIndex: s, lastBin: o } = t;
|
|
4569
4589
|
let l = e === "" ? je.groupByCaseBegin : e;
|
|
4570
|
-
return l = be(
|
|
4590
|
+
return l = be(bo, {
|
|
4571
4591
|
groupByFieldsForStatistics: l,
|
|
4572
4592
|
dateField: i,
|
|
4573
4593
|
startDate: `${r}`,
|
|
@@ -4578,7 +4598,7 @@ function Lo(t) {
|
|
|
4578
4598
|
// we use <= to catch the last bin's value, < otherwise
|
|
4579
4599
|
}), l;
|
|
4580
4600
|
}
|
|
4581
|
-
function*
|
|
4601
|
+
function* Mo(t) {
|
|
4582
4602
|
const { queryObject: e, seriesConfig: i, queryConfig: r, completeData: a, errorStrings: n, abortSignal: s } = t;
|
|
4583
4603
|
for (let o = 0; o < i.length; o += 1) {
|
|
4584
4604
|
const l = i[o], { query: c, x: u, y: d } = l, m = [
|
|
@@ -4592,7 +4612,7 @@ function* Po(t) {
|
|
|
4592
4612
|
let g = je.groupByCaseBegin;
|
|
4593
4613
|
for (let p = 0; p < a.length; p += 1) {
|
|
4594
4614
|
const F = a[p], [b, N] = F[C.dateBinningRange], B = lt(b), x = lt(N);
|
|
4595
|
-
g =
|
|
4615
|
+
g = Po({
|
|
4596
4616
|
groupByFieldsForStatistics: g,
|
|
4597
4617
|
queryStartDate: B,
|
|
4598
4618
|
queryEndDate: x,
|
|
@@ -4619,10 +4639,10 @@ function* Po(t) {
|
|
|
4619
4639
|
});
|
|
4620
4640
|
}
|
|
4621
4641
|
}
|
|
4622
|
-
async function
|
|
4642
|
+
async function Io(t) {
|
|
4623
4643
|
const { queryObject: e, data: i, seriesConfig: r, queryConfig: a, errorStrings: n, abortSignal: s } = t, o = i, { statisticType: l } = r[0].query?.outStatistics?.[0] ?? dr;
|
|
4624
4644
|
if (l === D.ContinuousPercentile && o.length > 0) {
|
|
4625
|
-
const c =
|
|
4645
|
+
const c = Mo({
|
|
4626
4646
|
queryObject: e,
|
|
4627
4647
|
completeData: o,
|
|
4628
4648
|
seriesConfig: r,
|
|
@@ -4679,7 +4699,7 @@ function Zi(t, e) {
|
|
|
4679
4699
|
});
|
|
4680
4700
|
return i;
|
|
4681
4701
|
}
|
|
4682
|
-
function
|
|
4702
|
+
function Do(t) {
|
|
4683
4703
|
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;
|
|
4684
4704
|
let p = !1;
|
|
4685
4705
|
return i.forEach((F, b) => {
|
|
@@ -4698,7 +4718,7 @@ function Io(t) {
|
|
|
4698
4718
|
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 }));
|
|
4699
4719
|
}
|
|
4700
4720
|
}) : typeof s == "string" && Yi({ dataItem: w, statField: s, nullPolicy: o });
|
|
4701
|
-
const { featureExtent: M, featureExtentKey: L } =
|
|
4721
|
+
const { featureExtent: M, featureExtentKey: L } = Jr({
|
|
4702
4722
|
feature: F,
|
|
4703
4723
|
splitByField: a
|
|
4704
4724
|
});
|
|
@@ -4707,7 +4727,7 @@ function Io(t) {
|
|
|
4707
4727
|
}
|
|
4708
4728
|
}), f && f.length > 0 && !p && (f[0][C.firstTemporalBin] = !0, f[f.length - 1][C.lastTemporalBin] = !0), { data: f, firstOrLastWasSkipped: p };
|
|
4709
4729
|
}
|
|
4710
|
-
async function
|
|
4730
|
+
async function Oo(t) {
|
|
4711
4731
|
const {
|
|
4712
4732
|
queryObject: e,
|
|
4713
4733
|
queryResults: i,
|
|
@@ -4727,11 +4747,11 @@ async function Do(t) {
|
|
|
4727
4747
|
arrayToSort: u,
|
|
4728
4748
|
sortingField: r
|
|
4729
4749
|
}), m > 1) {
|
|
4730
|
-
const { numberOfFinalBinsWithinDataRange: g, numberOfSingleBinsWithinDataRange: y } =
|
|
4750
|
+
const { numberOfFinalBinsWithinDataRange: g, numberOfSingleBinsWithinDataRange: y } = Yr({
|
|
4731
4751
|
dateMinTimestamp: d,
|
|
4732
4752
|
dateMaxTimestamp: f,
|
|
4733
4753
|
timeIntervalInfo: o
|
|
4734
|
-
}), { newDateMin: p, newDateMax: F } =
|
|
4754
|
+
}), { newDateMin: p, newDateMax: F } = To({
|
|
4735
4755
|
dateMaxTimestamp: f,
|
|
4736
4756
|
data: u,
|
|
4737
4757
|
numberOfFinalBinsWithinDataRange: g,
|
|
@@ -4739,7 +4759,7 @@ async function Do(t) {
|
|
|
4739
4759
|
seriesConfig: n,
|
|
4740
4760
|
timeIntervalInfo: o
|
|
4741
4761
|
});
|
|
4742
|
-
u =
|
|
4762
|
+
u = wo({
|
|
4743
4763
|
newDateMin: p,
|
|
4744
4764
|
newDateMax: F,
|
|
4745
4765
|
seriesConfig: n,
|
|
@@ -4750,18 +4770,18 @@ async function Do(t) {
|
|
|
4750
4770
|
}), xt({
|
|
4751
4771
|
arrayToSort: u,
|
|
4752
4772
|
sortingField: r
|
|
4753
|
-
}), u =
|
|
4773
|
+
}), u = vo({
|
|
4754
4774
|
data: u,
|
|
4755
4775
|
seriesConfig: n,
|
|
4756
4776
|
dateMinTimestamp: d,
|
|
4757
4777
|
dateMaxTimestamp: f,
|
|
4758
4778
|
timeIntervalInfo: o
|
|
4759
|
-
}), u =
|
|
4779
|
+
}), u = Lo({
|
|
4760
4780
|
data: u,
|
|
4761
4781
|
seriesConfig: n,
|
|
4762
4782
|
dateMinTimestamp: d,
|
|
4763
4783
|
dateMaxTimestamp: f
|
|
4764
|
-
}), e && (u = await
|
|
4784
|
+
}), e && (u = await Io({
|
|
4765
4785
|
queryObject: e,
|
|
4766
4786
|
data: u,
|
|
4767
4787
|
seriesConfig: n,
|
|
@@ -4773,15 +4793,15 @@ async function Do(t) {
|
|
|
4773
4793
|
}
|
|
4774
4794
|
return u;
|
|
4775
4795
|
}
|
|
4776
|
-
function
|
|
4796
|
+
function Eo(t) {
|
|
4777
4797
|
return Math.floor(Math.min(Math.max(8, Math.sqrt(t ?? 8)), 128) + 0.5);
|
|
4778
4798
|
}
|
|
4779
|
-
function
|
|
4799
|
+
function qo(t) {
|
|
4780
4800
|
const { dateRange: e, numberOfFeatures: i } = t;
|
|
4781
4801
|
let r, a, { dateMinTimestamp: n, dateMaxTimestamp: s } = e;
|
|
4782
4802
|
if (n && s) {
|
|
4783
4803
|
typeof n == "string" && (n = new Date(n).valueOf()), typeof s == "string" && (s = new Date(s).valueOf());
|
|
4784
|
-
const o =
|
|
4804
|
+
const o = Eo(i), l = (s - n) / o, c = Xi.findIndex((F) => F.threshold > l), u = Xi[c], { unitMs: d, preferredIntervalSize: f } = u;
|
|
4785
4805
|
({ unit: r } = u);
|
|
4786
4806
|
const m = l / d, g = f.findIndex(
|
|
4787
4807
|
(F) => F >= m
|
|
@@ -4790,7 +4810,7 @@ function Eo(t) {
|
|
|
4790
4810
|
}
|
|
4791
4811
|
return { size: a, unit: r };
|
|
4792
4812
|
}
|
|
4793
|
-
function
|
|
4813
|
+
function Ro(t) {
|
|
4794
4814
|
const { series: e, isTimeBinningSeries: i, setTimeBinningInfoWhenNotProvided: r } = t;
|
|
4795
4815
|
let a = !1;
|
|
4796
4816
|
if (Ce(e) && i) {
|
|
@@ -4799,7 +4819,7 @@ function qo(t) {
|
|
|
4799
4819
|
}
|
|
4800
4820
|
return a;
|
|
4801
4821
|
}
|
|
4802
|
-
function
|
|
4822
|
+
function Vo(t) {
|
|
4803
4823
|
const e = [];
|
|
4804
4824
|
for (let i = 1; i <= 6; i += 1) {
|
|
4805
4825
|
const r = t[`EXPR_${i}`] ?? t[`Expr${i}`] ?? t[`expr${i}`] ?? t[`EXPR${i}`];
|
|
@@ -4819,7 +4839,7 @@ function Rt(t) {
|
|
|
4819
4839
|
const [i, r, a] = t.split(":");
|
|
4820
4840
|
return Number.isFinite(Number(i)) && Number.isFinite(Number(r)) && Number.isFinite(Number(a)) && (e = new Date(2e3, 0, 1, Number(i), Number(r), Number(a)).valueOf()), e;
|
|
4821
4841
|
}
|
|
4822
|
-
function
|
|
4842
|
+
function Jr(t) {
|
|
4823
4843
|
const { feature: e, splitByField: i, chartSubType: r } = t;
|
|
4824
4844
|
let a;
|
|
4825
4845
|
if (e.aggregateGeometries && "Extent" in e.aggregateGeometries)
|
|
@@ -4832,23 +4852,6 @@ function Zr(t) {
|
|
|
4832
4852
|
let s = qe;
|
|
4833
4853
|
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 };
|
|
4834
4854
|
}
|
|
4835
|
-
function Vo(t) {
|
|
4836
|
-
const { input: e, x: i, splitByField: r } = t;
|
|
4837
|
-
return e.reduce((n, s) => (r !== void 0 && r !== i && !(C.technicalFieldSplitByField in s) && delete s[r], Object.assign(n, s)), {});
|
|
4838
|
-
}
|
|
4839
|
-
function bt(t) {
|
|
4840
|
-
const { data: e, x: i, splitByField: r } = t;
|
|
4841
|
-
let a = e;
|
|
4842
|
-
if (e !== void 0 && e.length > 0) {
|
|
4843
|
-
const n = /* @__PURE__ */ new Map();
|
|
4844
|
-
for (const s of e) {
|
|
4845
|
-
const o = s[i], l = n.get(o) ?? [];
|
|
4846
|
-
l.push(s), n.set(o, l);
|
|
4847
|
-
}
|
|
4848
|
-
n.size > 0 && (a = Array.from(n.values(), (s) => Vo({ input: s, x: i, splitByField: r })));
|
|
4849
|
-
}
|
|
4850
|
-
return a;
|
|
4851
|
-
}
|
|
4852
4855
|
function $o(t, e) {
|
|
4853
4856
|
const i = t, r = Q(e);
|
|
4854
4857
|
if (r !== h.PieSeries && r !== h.BoxPlotSeries) {
|
|
@@ -4888,18 +4891,18 @@ function _o(t) {
|
|
|
4888
4891
|
}
|
|
4889
4892
|
function Ho(t) {
|
|
4890
4893
|
const { attributes: e, x: i, categoryValueFormat: r, isTimeBinningSeries: a, isDateField: n } = t;
|
|
4891
|
-
r || (n && typeof e[i] == "string" ? e[i] = new Date(e[i]).valueOf() : a && (e[i] =
|
|
4894
|
+
r || (n && typeof e[i] == "string" ? e[i] = new Date(e[i]).valueOf() : a && (e[i] = Vo(e)));
|
|
4892
4895
|
}
|
|
4893
4896
|
function zo(t) {
|
|
4894
4897
|
const { chartConfig: e, chartType: i, chartSubType: r, attributes: a, featureIndex: n, x: s } = t;
|
|
4895
|
-
(r === S.BarAndLineNoAggregation || r === S.BarAndLineSplitByNoAggregation) &&
|
|
4898
|
+
(r === S.BarAndLineNoAggregation || r === S.BarAndLineSplitByNoAggregation) && hn({ 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]);
|
|
4896
4899
|
}
|
|
4897
4900
|
function Uo(t) {
|
|
4898
|
-
const { feature: e, splitByField: i, chartSubType: r, attributes: a } = t, { featureExtent: n, featureExtentKey: s } =
|
|
4901
|
+
const { feature: e, splitByField: i, chartSubType: r, attributes: a } = t, { featureExtent: n, featureExtentKey: s } = Jr({ feature: e, splitByField: i, chartSubType: r });
|
|
4899
4902
|
n && (a[s] = n);
|
|
4900
4903
|
}
|
|
4901
4904
|
function Go(t) {
|
|
4902
|
-
const { chartSubType: e, attributes: i, splitByField: r, mapToStatField: a } = t, { outStatisticFieldName: n } = k.outStatistics ?? {}, s =
|
|
4905
|
+
const { chartSubType: e, attributes: i, splitByField: r, mapToStatField: a } = t, { outStatisticFieldName: n } = k.outStatistics ?? {}, s = Kr(i, r);
|
|
4903
4906
|
if (e === S.BarAndLineSplitBy && n && s !== void 0) {
|
|
4904
4907
|
const o = a?.get(s);
|
|
4905
4908
|
o !== void 0 && (s === r && (i[C.technicalFieldSplitByField] = i[o]), i[o] = i[n]), delete i[n];
|
|
@@ -5022,7 +5025,7 @@ function rl(t) {
|
|
|
5022
5025
|
l != null && (o = [l]);
|
|
5023
5026
|
}
|
|
5024
5027
|
if (Array.isArray(o) && o.length !== vt) {
|
|
5025
|
-
const l =
|
|
5028
|
+
const l = Kr(e, n), c = l ? s?.get(l) : void 0, u = c ? `${k.uniqueIds}_${c}` : k.uniqueIds;
|
|
5026
5029
|
e[u] = o;
|
|
5027
5030
|
}
|
|
5028
5031
|
}
|
|
@@ -5034,7 +5037,7 @@ function nl(t) {
|
|
|
5034
5037
|
const { chartSubType: e, attributes: i, x: r } = t;
|
|
5035
5038
|
e !== S.BarAndLineFromFields && e !== S.PieFromFields && (i[C.originalXValue] = i[r]);
|
|
5036
5039
|
}
|
|
5037
|
-
function
|
|
5040
|
+
function Kr(t, e) {
|
|
5038
5041
|
let i;
|
|
5039
5042
|
if (e) {
|
|
5040
5043
|
const r = t[e];
|
|
@@ -5042,7 +5045,7 @@ function Jr(t, e) {
|
|
|
5042
5045
|
}
|
|
5043
5046
|
return i;
|
|
5044
5047
|
}
|
|
5045
|
-
function
|
|
5048
|
+
function ea(t) {
|
|
5046
5049
|
const {
|
|
5047
5050
|
queryObject: e,
|
|
5048
5051
|
queryResponse: i,
|
|
@@ -5139,7 +5142,7 @@ async function jt(t) {
|
|
|
5139
5142
|
errorStrings: d,
|
|
5140
5143
|
abortSignal: m
|
|
5141
5144
|
}), N = ve(e, l), { x: B } = g[0];
|
|
5142
|
-
return p =
|
|
5145
|
+
return p = ea({
|
|
5143
5146
|
queryObject: e,
|
|
5144
5147
|
queryResponse: b,
|
|
5145
5148
|
chartConfig: r,
|
|
@@ -5154,7 +5157,7 @@ async function jt(t) {
|
|
|
5154
5157
|
g
|
|
5155
5158
|
)), p;
|
|
5156
5159
|
}
|
|
5157
|
-
async function
|
|
5160
|
+
async function ta(t) {
|
|
5158
5161
|
const {
|
|
5159
5162
|
chartConfig: e,
|
|
5160
5163
|
queryObject: i,
|
|
@@ -5167,7 +5170,7 @@ async function ea(t) {
|
|
|
5167
5170
|
let f, m, g = !1;
|
|
5168
5171
|
if (c === S.BoxPlotMonoField || c === S.BoxPlotMonoFieldAndSplitBy ? (m = d, f = m) : c === S.BoxPlotMultiFields || c === S.BoxPlotMultiFieldsAndSplitBy ? (m = e.series[0].y.length, f = m) : c === S.PieFromFields || c === S.BarAndLineFromFields ? (m = l[0].query?.outStatistics?.filter(
|
|
5169
5172
|
(y) => y.statisticType !== D.EnvelopeAggregate
|
|
5170
|
-
).length ?? 0, f = m) : f = await
|
|
5173
|
+
).length ?? 0, f = m) : f = await Mn({
|
|
5171
5174
|
queryObject: i,
|
|
5172
5175
|
x: u,
|
|
5173
5176
|
chartSubType: c,
|
|
@@ -5205,7 +5208,7 @@ async function ci(t) {
|
|
|
5205
5208
|
let x, v = !1;
|
|
5206
5209
|
const T = e.series, A = T[0], P = H(e.series);
|
|
5207
5210
|
if (ie(a))
|
|
5208
|
-
N = Q(T) === h.BarSeries ? await
|
|
5211
|
+
N = Q(T) === h.BarSeries ? await As(t) : B;
|
|
5209
5212
|
else {
|
|
5210
5213
|
if (A !== void 0) {
|
|
5211
5214
|
const I = Q(T), { uniqueQuery: w, mapToStatField: M } = Mi({
|
|
@@ -5217,7 +5220,7 @@ async function ci(t) {
|
|
|
5217
5220
|
returnFeaturesExtent: d,
|
|
5218
5221
|
chartLimits: m
|
|
5219
5222
|
});
|
|
5220
|
-
let { categoryOrDateCount: L, elementCount: O, chartLimitsReached: E } = await
|
|
5223
|
+
let { categoryOrDateCount: L, elementCount: O, chartLimitsReached: E } = await ta({
|
|
5221
5224
|
chartConfig: e,
|
|
5222
5225
|
queryObject: a,
|
|
5223
5226
|
queryConfig: i,
|
|
@@ -5248,7 +5251,7 @@ async function ci(t) {
|
|
|
5248
5251
|
abortKey: n,
|
|
5249
5252
|
abortSignal: c
|
|
5250
5253
|
}), de(e) && x !== void 0) {
|
|
5251
|
-
B.data = await
|
|
5254
|
+
B.data = await Js({
|
|
5252
5255
|
data: x,
|
|
5253
5256
|
queryObject: a,
|
|
5254
5257
|
fetchFullBoxPlotData: r,
|
|
@@ -5277,13 +5280,13 @@ async function ci(t) {
|
|
|
5277
5280
|
fieldList: s
|
|
5278
5281
|
}));
|
|
5279
5282
|
let R = "";
|
|
5280
|
-
P === S.PieFromFields ? R = Ne : "y" in A && typeof A.y == "string" && (R = A.y), Zl(x, R) ? B.data = { dataItems: x } :
|
|
5283
|
+
P === S.PieFromFields ? R = Ne : "y" in A && typeof A.y == "string" && (R = A.y), Zl(x, R) ? B.data = { dataItems: x } : $s(B, $.PieChartMixOfNegativePositiveSlices);
|
|
5281
5284
|
} 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({
|
|
5282
5285
|
dataToConvert: x[0],
|
|
5283
5286
|
x: A.x,
|
|
5284
5287
|
y: A.y,
|
|
5285
5288
|
fieldList: s
|
|
5286
|
-
}) : x = await
|
|
5289
|
+
}) : x = await So({
|
|
5287
5290
|
queryObject: a,
|
|
5288
5291
|
seriesData: x,
|
|
5289
5292
|
chartConfig: e,
|
|
@@ -5299,7 +5302,7 @@ async function ci(t) {
|
|
|
5299
5302
|
chartType: I,
|
|
5300
5303
|
chartLimits: m
|
|
5301
5304
|
}), U)) {
|
|
5302
|
-
F && (x =
|
|
5305
|
+
F && (x = Fo(x, e));
|
|
5303
5306
|
let R = {};
|
|
5304
5307
|
if (Ce(A)) {
|
|
5305
5308
|
const { size: ee, unit: X } = A.temporalBinning ?? {};
|
|
@@ -5381,7 +5384,7 @@ function Ji(t) {
|
|
|
5381
5384
|
const { day: e, month: i, includeLeapDay: r } = t;
|
|
5382
5385
|
return i === 2 && e > (r ? 29 : 28) || [4, 6, 9, 11].includes(i) && e > 30;
|
|
5383
5386
|
}
|
|
5384
|
-
async function
|
|
5387
|
+
async function ia(t) {
|
|
5385
5388
|
const {
|
|
5386
5389
|
chartConfig: e,
|
|
5387
5390
|
queryConfig: i,
|
|
@@ -5401,7 +5404,7 @@ async function ta(t) {
|
|
|
5401
5404
|
let p;
|
|
5402
5405
|
if (Ge(e)) {
|
|
5403
5406
|
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;
|
|
5404
|
-
if (
|
|
5407
|
+
if (qs(e)) {
|
|
5405
5408
|
const L = n ? await ei({
|
|
5406
5409
|
queryObject: r,
|
|
5407
5410
|
queryConfig: i,
|
|
@@ -5425,7 +5428,7 @@ async function ta(t) {
|
|
|
5425
5428
|
}))
|
|
5426
5429
|
Et({ dataInfo: y, chartType: h.HeatSeries });
|
|
5427
5430
|
else {
|
|
5428
|
-
const z = await
|
|
5431
|
+
const z = await Ln({
|
|
5429
5432
|
chartConfig: e,
|
|
5430
5433
|
queryObject: r,
|
|
5431
5434
|
queryConfig: i,
|
|
@@ -5437,7 +5440,7 @@ async function ta(t) {
|
|
|
5437
5440
|
});
|
|
5438
5441
|
if (typeof z?.[0] == "object") {
|
|
5439
5442
|
const U = ve(r, u);
|
|
5440
|
-
p =
|
|
5443
|
+
p = ea({
|
|
5441
5444
|
queryObject: r,
|
|
5442
5445
|
queryResponse: z,
|
|
5443
5446
|
chartConfig: e,
|
|
@@ -5466,7 +5469,7 @@ async function ta(t) {
|
|
|
5466
5469
|
}
|
|
5467
5470
|
}
|
|
5468
5471
|
} else {
|
|
5469
|
-
const L = await
|
|
5472
|
+
const L = await wn({
|
|
5470
5473
|
chartConfig: e,
|
|
5471
5474
|
queryObject: r,
|
|
5472
5475
|
queryConfig: i,
|
|
@@ -5518,7 +5521,7 @@ async function ta(t) {
|
|
|
5518
5521
|
}
|
|
5519
5522
|
p && (y.data = {
|
|
5520
5523
|
dataItems: p,
|
|
5521
|
-
heatChartAxesData:
|
|
5524
|
+
heatChartAxesData: kr({ chartConfig: e, chartData: p })
|
|
5522
5525
|
});
|
|
5523
5526
|
}
|
|
5524
5527
|
return y;
|
|
@@ -5526,7 +5529,7 @@ async function ta(t) {
|
|
|
5526
5529
|
function cl(t) {
|
|
5527
5530
|
const { chartConfig: e, data: i, chartLimits: r } = t, a = e.series;
|
|
5528
5531
|
let n = i, s = !1;
|
|
5529
|
-
const o =
|
|
5532
|
+
const o = ua(e, r);
|
|
5530
5533
|
if (o !== void 0) {
|
|
5531
5534
|
const l = ue(a);
|
|
5532
5535
|
if (l.length === 1)
|
|
@@ -5574,12 +5577,12 @@ async function vi(t) {
|
|
|
5574
5577
|
if (r && v) {
|
|
5575
5578
|
const { unit: T, size: A } = v, w = ve(r).find((se) => se.name === b)?.type;
|
|
5576
5579
|
let M = 1, L = { unit: T, size: A }, O = !1, E = !1, z = !1;
|
|
5577
|
-
const U =
|
|
5580
|
+
const U = Ro({
|
|
5578
5581
|
series: F,
|
|
5579
5582
|
isTimeBinningSeries: !0,
|
|
5580
5583
|
setTimeBinningInfoWhenNotProvided: l
|
|
5581
|
-
}), R = !st(N, r) || U ? await
|
|
5582
|
-
U && R && R.numberOfFeatures > 0 && R.dateRange.dateMaxTimestamp !== void 0 && R.dateRange.dateMinTimestamp !== void 0 && (L =
|
|
5584
|
+
}), R = !st(N, r) || U ? await Ao({ queryObject: r, queryConfig: i, x: b, xFieldType: w, errorStrings: o, abortSignal: n }) : void 0;
|
|
5585
|
+
U && R && R.numberOfFeatures > 0 && R.dateRange.dateMaxTimestamp !== void 0 && R.dateRange.dateMinTimestamp !== void 0 && (L = qo(R), w === j.DateOnly && L.unit !== void 0 && [
|
|
5583
5586
|
_.Hour,
|
|
5584
5587
|
_.Minute,
|
|
5585
5588
|
_.Second
|
|
@@ -5594,7 +5597,7 @@ async function vi(t) {
|
|
|
5594
5597
|
chartLimits: d
|
|
5595
5598
|
});
|
|
5596
5599
|
let Z = h.LineSeries, V = $.LineChartExceedsLimit;
|
|
5597
|
-
|
|
5600
|
+
Os(F) ? (Z = h.BarSeries, V = $.BarElementExceedsLimit) : Ds(F) && (Z = h.RadarSeries, V = $.RadarChartExceedsLimit);
|
|
5598
5601
|
let J = Pe({
|
|
5599
5602
|
count: M ?? 0,
|
|
5600
5603
|
seriesCount: p.length,
|
|
@@ -5603,7 +5606,7 @@ async function vi(t) {
|
|
|
5603
5606
|
});
|
|
5604
5607
|
if (J) {
|
|
5605
5608
|
if (st(N, r)) {
|
|
5606
|
-
const se = e.axes?.[0].valueFormat.type === h.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0, Yt = s?.[0] instanceof
|
|
5609
|
+
const se = e.axes?.[0].valueFormat.type === h.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0, Yt = s?.[0] instanceof gn ? s : await En({
|
|
5607
5610
|
queryObject: r,
|
|
5608
5611
|
dateField: b,
|
|
5609
5612
|
splitByField: N,
|
|
@@ -5616,7 +5619,7 @@ async function vi(t) {
|
|
|
5616
5619
|
returnStatisticsAggregatedIds: u,
|
|
5617
5620
|
abortSignal: n
|
|
5618
5621
|
}), mt = "y" in F && typeof F.y == "string" ? F.y : void 0;
|
|
5619
|
-
if ({ data: x, firstOrLastWasSkipped: z } =
|
|
5622
|
+
if ({ data: x, firstOrLastWasSkipped: z } = Do({
|
|
5620
5623
|
chartConfig: e,
|
|
5621
5624
|
queryResults: Yt,
|
|
5622
5625
|
mapToStatField: X,
|
|
@@ -5642,12 +5645,12 @@ async function vi(t) {
|
|
|
5642
5645
|
}) || (J = !1);
|
|
5643
5646
|
}
|
|
5644
5647
|
} else if (R?.dateRange.dateMinTimestamp && R.dateRange.dateMaxTimestamp) {
|
|
5645
|
-
const { numberOfFinalBinsWithinDataRange: se } =
|
|
5648
|
+
const { numberOfFinalBinsWithinDataRange: se } = Yr({
|
|
5646
5649
|
dateMinTimestamp: R.dateRange.dateMinTimestamp,
|
|
5647
5650
|
dateMaxTimestamp: R.dateRange.dateMaxTimestamp,
|
|
5648
5651
|
timeIntervalInfo: L
|
|
5649
5652
|
});
|
|
5650
|
-
M = se * p.length, M =
|
|
5653
|
+
M = se * p.length, M = Xr(M, L.unit), x = await jt({
|
|
5651
5654
|
queryObject: r,
|
|
5652
5655
|
uniqueQuery: ee,
|
|
5653
5656
|
chartConfig: e,
|
|
@@ -5660,7 +5663,7 @@ async function vi(t) {
|
|
|
5660
5663
|
errorStrings: o,
|
|
5661
5664
|
abortKey: a,
|
|
5662
5665
|
abortSignal: n
|
|
5663
|
-
}), x = await
|
|
5666
|
+
}), x = await Oo({
|
|
5664
5667
|
queryObject: r,
|
|
5665
5668
|
queryConfig: i,
|
|
5666
5669
|
queryResults: x,
|
|
@@ -5672,7 +5675,7 @@ async function vi(t) {
|
|
|
5672
5675
|
abortSignal: n
|
|
5673
5676
|
});
|
|
5674
5677
|
}
|
|
5675
|
-
|
|
5678
|
+
bn(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 }));
|
|
5676
5679
|
}
|
|
5677
5680
|
J || (B.valid = !1, B.invalidType = V), B.data = {
|
|
5678
5681
|
dataItems: x,
|
|
@@ -5724,7 +5727,7 @@ async function dl(t) {
|
|
|
5724
5727
|
errorStrings: u,
|
|
5725
5728
|
abortKey: a
|
|
5726
5729
|
});
|
|
5727
|
-
return de(e) && (F =
|
|
5730
|
+
return de(e) && (F = Hr({ chartConfig: e, data: F, calculateZScore: !1 })), f.data = { dataItems: F }, f;
|
|
5728
5731
|
}
|
|
5729
5732
|
async function fl(t) {
|
|
5730
5733
|
const {
|
|
@@ -5886,7 +5889,7 @@ async function Sl(t) {
|
|
|
5886
5889
|
outStatisticFieldName: V.name,
|
|
5887
5890
|
statisticType: D.Maximum
|
|
5888
5891
|
});
|
|
5889
|
-
}), (await
|
|
5892
|
+
}), (await pa(P)).forEach((V) => {
|
|
5890
5893
|
R.set(V, {
|
|
5891
5894
|
onStatisticField: V,
|
|
5892
5895
|
outStatisticFieldName: V,
|
|
@@ -5910,7 +5913,7 @@ async function Sl(t) {
|
|
|
5910
5913
|
...a,
|
|
5911
5914
|
outStatistics: [...R.values()]
|
|
5912
5915
|
};
|
|
5913
|
-
N = await
|
|
5916
|
+
N = await Pn({
|
|
5914
5917
|
queryObject: r,
|
|
5915
5918
|
queryConfig: V,
|
|
5916
5919
|
xStep: L,
|
|
@@ -5941,7 +5944,7 @@ async function Sl(t) {
|
|
|
5941
5944
|
endOfColumn: Zt === U
|
|
5942
5945
|
}), Le < At && (At = Le), Le + L > wt && (wt = Le + L), Te < Lt && (Lt = Te), Te + L > Pt && (Pt = Te + O), V += 1, V % mt === 0 || V === E || V === v) {
|
|
5943
5946
|
Je = `${Je} ${je.groupByCaseEnd}`;
|
|
5944
|
-
const
|
|
5947
|
+
const Da = {
|
|
5945
5948
|
...a,
|
|
5946
5949
|
groupByFieldsForStatistics: [Je],
|
|
5947
5950
|
outStatistics: [...R.values()]
|
|
@@ -5949,7 +5952,7 @@ async function Sl(t) {
|
|
|
5949
5952
|
Tt.push(
|
|
5950
5953
|
hl({
|
|
5951
5954
|
chartConfig: i,
|
|
5952
|
-
queryConfig:
|
|
5955
|
+
queryConfig: Da,
|
|
5953
5956
|
queryObject: r,
|
|
5954
5957
|
xMin: At,
|
|
5955
5958
|
xMax: wt,
|
|
@@ -6152,7 +6155,7 @@ async function Bl(t) {
|
|
|
6152
6155
|
}
|
|
6153
6156
|
return e;
|
|
6154
6157
|
}
|
|
6155
|
-
async function
|
|
6158
|
+
async function ra(t) {
|
|
6156
6159
|
const {
|
|
6157
6160
|
chartConfig: e,
|
|
6158
6161
|
queryConfig: i,
|
|
@@ -6178,7 +6181,7 @@ async function ia(t) {
|
|
|
6178
6181
|
}), { queryNumberOfFeatures: f, yStep: m } = C.scatterplotAggregationFields, {
|
|
6179
6182
|
maxScatterPointsBeforeAggregation: g,
|
|
6180
6183
|
scatterplot: { aggregationThreshold: y }
|
|
6181
|
-
} = ut(s), p = d?.get(f) ?? Number.NaN, F = p >= (g ?? y), b =
|
|
6184
|
+
} = ut(s), p = d?.get(f) ?? Number.NaN, F = p >= (g ?? y), b = vn(r);
|
|
6182
6185
|
F && await yl({
|
|
6183
6186
|
statsMap: d,
|
|
6184
6187
|
chartConfig: e,
|
|
@@ -6229,7 +6232,7 @@ function* vl(t) {
|
|
|
6229
6232
|
const { filterList: e, queryObject: i, queryConfig: r, errorStrings: a } = t;
|
|
6230
6233
|
for (let n = 0; n < e.length; n += 1) {
|
|
6231
6234
|
const s = { ...r };
|
|
6232
|
-
s.where = Y([s.where, e[n]]), yield
|
|
6235
|
+
s.where = Y([s.where, e[n]]), yield Dn({
|
|
6233
6236
|
queryObject: i,
|
|
6234
6237
|
queryConfig: s,
|
|
6235
6238
|
uniqueFeature: !0,
|
|
@@ -6237,7 +6240,7 @@ function* vl(t) {
|
|
|
6237
6240
|
});
|
|
6238
6241
|
}
|
|
6239
6242
|
}
|
|
6240
|
-
async function
|
|
6243
|
+
async function jd(t) {
|
|
6241
6244
|
const { whereList: e, queryObject: i, queryFilter: r, queryConfig: a, errorStrings: n } = t;
|
|
6242
6245
|
let s = [];
|
|
6243
6246
|
if (e.length > 0) {
|
|
@@ -6270,20 +6273,20 @@ function rt(t) {
|
|
|
6270
6273
|
[q.StandardDeviation]: `${e ? "" : `${t}_`}${q.StandardDeviation}`
|
|
6271
6274
|
};
|
|
6272
6275
|
}
|
|
6273
|
-
function
|
|
6276
|
+
function Xd(t) {
|
|
6274
6277
|
return "subType" in t && t.subType === cr.FeatureGauge;
|
|
6275
6278
|
}
|
|
6276
6279
|
function Ti(t) {
|
|
6277
6280
|
let e;
|
|
6278
6281
|
return t !== void 0 && ("bins" in t ? e = t.bins : "dataItems" in t && (e = t.dataItems)), e;
|
|
6279
6282
|
}
|
|
6280
|
-
function
|
|
6283
|
+
function aa(t) {
|
|
6281
6284
|
return t === S.BoxPlotMultiFields || t === S.BoxPlotMultiFieldsAndCategory || t === S.BoxPlotMultiFieldsAndSplitBy;
|
|
6282
6285
|
}
|
|
6283
6286
|
function re(t) {
|
|
6284
6287
|
const { key: e, y: i, chartSubType: r, splitBy: a, splitByValue: n, showOutliers: s, standardizeValues: o } = t;
|
|
6285
6288
|
let l = n, u = rt(i)[e];
|
|
6286
|
-
return s === !0 && (e === q.Min || e === q.Max) && (u = `${u}${
|
|
6289
|
+
return s === !0 && (e === q.Min || e === q.Max) && (u = `${u}${za}`), o === !0 && (aa(r) || e === q.Outlier) && (u = `${u}${Ua}`), (n === void 0 || `${n}`.trim() === "") && (l = me({ where: a, normalize: !0, escape: !1 })), l !== void 0 && `${l}`.trim() !== "" && (u = `${l}${u !== "" ? `_${u}` : ""}`), u;
|
|
6287
6290
|
}
|
|
6288
6291
|
function ti(t) {
|
|
6289
6292
|
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 });
|
|
@@ -6355,7 +6358,7 @@ function Nl(t) {
|
|
|
6355
6358
|
} = t, o = e[i], l = e[r];
|
|
6356
6359
|
return o !== void 0 && (typeof o != "number" || Number.isFinite(o)) && Oe(l, a) && (s !== D.Count || l !== 0 || n);
|
|
6357
6360
|
}
|
|
6358
|
-
function
|
|
6361
|
+
function Yd(t) {
|
|
6359
6362
|
const { chartConfig: e, nullAsValid: i = !1, zeroCountAsValid: r = !1, dataSet: a } = t;
|
|
6360
6363
|
let n = !0;
|
|
6361
6364
|
if (e !== void 0) {
|
|
@@ -6414,7 +6417,7 @@ function Xd(t) {
|
|
|
6414
6417
|
let { x: d, y: f } = e.series[0];
|
|
6415
6418
|
H(e.series) === S.PieFromFields && (d = fe, f = Ne);
|
|
6416
6419
|
const m = u[f];
|
|
6417
|
-
c = u[d] !== void 0 && u[d] !== null && !
|
|
6420
|
+
c = u[d] !== void 0 && u[d] !== null && !Oa(m) && Oe(Number(m), i);
|
|
6418
6421
|
}
|
|
6419
6422
|
break;
|
|
6420
6423
|
case h.GaugeSeries:
|
|
@@ -6541,7 +6544,7 @@ function Pl(t) {
|
|
|
6541
6544
|
return (r === void 0 || r.includes(n.id)) && (i === !0 && "assignToSecondValueAxis" in n && n.assignToSecondValueAxis === !0 || i !== !0 && (!("assignToSecondValueAxis" in n) || n.assignToSecondValueAxis !== !0)) && ({ id: s } = n), s;
|
|
6542
6545
|
}).filter((n) => n !== "")), a;
|
|
6543
6546
|
}
|
|
6544
|
-
function
|
|
6547
|
+
function na(t) {
|
|
6545
6548
|
let e = !1;
|
|
6546
6549
|
if (t) {
|
|
6547
6550
|
const i = t.axes?.[0], r = i?.isLogarithmic === !0, a = i?.valueFormat?.type;
|
|
@@ -6553,11 +6556,11 @@ function fi(t, e) {
|
|
|
6553
6556
|
let i = !1;
|
|
6554
6557
|
return Number.isFinite(t) && t !== Number.MAX_SAFE_INTEGER && Number.isFinite(e) && e !== Number.MIN_SAFE_INTEGER && (i = t <= 0 || e <= 0), i;
|
|
6555
6558
|
}
|
|
6556
|
-
function
|
|
6559
|
+
function sa(t) {
|
|
6557
6560
|
const { chartConfig: e, chartData: i, axisConfigIndex: r } = t;
|
|
6558
6561
|
let a = !1;
|
|
6559
6562
|
if (r === 0) {
|
|
6560
|
-
if (
|
|
6563
|
+
if (na(e)) {
|
|
6561
6564
|
const { minX: n, maxX: s } = Ki({
|
|
6562
6565
|
chartConfig: e,
|
|
6563
6566
|
chartData: i
|
|
@@ -6577,11 +6580,11 @@ function na(t) {
|
|
|
6577
6580
|
}
|
|
6578
6581
|
return a;
|
|
6579
6582
|
}
|
|
6580
|
-
function
|
|
6583
|
+
function Zd(t) {
|
|
6581
6584
|
const { chartConfig: e, axisConfigIndex: i, chartData: r } = t;
|
|
6582
6585
|
let a = !0;
|
|
6583
6586
|
const n = e?.axes?.[i];
|
|
6584
|
-
return e && r && n?.isLogarithmic === !0 && (a = !
|
|
6587
|
+
return e && r && n?.isLogarithmic === !0 && (a = !sa({ chartConfig: e, chartData: r, axisConfigIndex: i })), a;
|
|
6585
6588
|
}
|
|
6586
6589
|
function Ml(t, e) {
|
|
6587
6590
|
const i = t;
|
|
@@ -6636,7 +6639,7 @@ function Dl(t, e) {
|
|
|
6636
6639
|
{
|
|
6637
6640
|
a = a.map(er), i = { dataItems: a };
|
|
6638
6641
|
const { timeIntervalInfo: n, serverLimitReached: s, chartLimitsReached: o } = t ?? {};
|
|
6639
|
-
|
|
6642
|
+
Ea(n) || (i.timeIntervalInfo = n), s !== void 0 && (i.serverLimitReached = s), o !== void 0 && (i.chartLimitsReached = o);
|
|
6640
6643
|
}
|
|
6641
6644
|
break;
|
|
6642
6645
|
case h.ScatterSeries:
|
|
@@ -6648,11 +6651,11 @@ function Dl(t, e) {
|
|
|
6648
6651
|
}
|
|
6649
6652
|
return i;
|
|
6650
6653
|
}
|
|
6651
|
-
const
|
|
6654
|
+
const Jd = (t, e) => {
|
|
6652
6655
|
const i = 10 ** e;
|
|
6653
6656
|
return Math.round(t * i) / i;
|
|
6654
6657
|
};
|
|
6655
|
-
function
|
|
6658
|
+
function Kd(t) {
|
|
6656
6659
|
const { data: e, seriesConfig: i } = t;
|
|
6657
6660
|
let r = Re(e);
|
|
6658
6661
|
return r !== void 0 && (r = Il(r, i), r = Dl(r, i), r = Ml(r, i)), r;
|
|
@@ -6738,7 +6741,7 @@ async function El(t) {
|
|
|
6738
6741
|
switch (F) {
|
|
6739
6742
|
case h.HeatSeries:
|
|
6740
6743
|
b.push(
|
|
6741
|
-
|
|
6744
|
+
ia({
|
|
6742
6745
|
completeHeatChartDataset: !1,
|
|
6743
6746
|
// we do not want the empty bins to be added for the selection
|
|
6744
6747
|
fetchMatrixUniqueCategories: !1,
|
|
@@ -6815,7 +6818,7 @@ async function El(t) {
|
|
|
6815
6818
|
break;
|
|
6816
6819
|
case h.ScatterSeries:
|
|
6817
6820
|
b.push(
|
|
6818
|
-
|
|
6821
|
+
ra({
|
|
6819
6822
|
queryObject: s,
|
|
6820
6823
|
chartConfig: r,
|
|
6821
6824
|
queryConfig: w,
|
|
@@ -6837,7 +6840,7 @@ async function El(t) {
|
|
|
6837
6840
|
break;
|
|
6838
6841
|
case h.HistogramSeries:
|
|
6839
6842
|
b.push(
|
|
6840
|
-
|
|
6843
|
+
Cs({
|
|
6841
6844
|
queryObject: s,
|
|
6842
6845
|
queryConfig: w,
|
|
6843
6846
|
chartConfig: r,
|
|
@@ -6850,7 +6853,7 @@ async function El(t) {
|
|
|
6850
6853
|
}
|
|
6851
6854
|
return await Promise.all(b);
|
|
6852
6855
|
}
|
|
6853
|
-
async function
|
|
6856
|
+
async function ef(t) {
|
|
6854
6857
|
const {
|
|
6855
6858
|
chartConfig: e,
|
|
6856
6859
|
chartData: i,
|
|
@@ -6874,7 +6877,7 @@ async function Kd(t) {
|
|
|
6874
6877
|
let v;
|
|
6875
6878
|
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
6879
|
if (y !== !0 && f !== !1 && x !== void 0 && x.length > 0 && (r === !0 || P || l)) {
|
|
6877
|
-
const w = Ti(i), M =
|
|
6880
|
+
const w = Ti(i), M = Sa({
|
|
6878
6881
|
queryObject: s,
|
|
6879
6882
|
chartConfig: e,
|
|
6880
6883
|
runtimeDataFilters: p,
|
|
@@ -6944,13 +6947,13 @@ async function Kd(t) {
|
|
|
6944
6947
|
function ql(t) {
|
|
6945
6948
|
return t.length > 0 && t[0].type === h.HistogramBin;
|
|
6946
6949
|
}
|
|
6947
|
-
const
|
|
6948
|
-
shouldCheckDataMinMaxForLogScaleOnXAxis:
|
|
6950
|
+
const tf = {
|
|
6951
|
+
shouldCheckDataMinMaxForLogScaleOnXAxis: na,
|
|
6949
6952
|
minMaxHasZeroOrNegativeValues: fi,
|
|
6950
|
-
isChartWithZeroOrNegativeValues:
|
|
6953
|
+
isChartWithZeroOrNegativeValues: sa,
|
|
6951
6954
|
getAllSeriesIDs: Ni
|
|
6952
6955
|
};
|
|
6953
|
-
function
|
|
6956
|
+
function rf(t) {
|
|
6954
6957
|
const { chartConfig: e, queryObject: i } = t;
|
|
6955
6958
|
let r = !1;
|
|
6956
6959
|
if (e.chartRenderer)
|
|
@@ -6985,7 +6988,7 @@ function tf(t) {
|
|
|
6985
6988
|
return r;
|
|
6986
6989
|
}
|
|
6987
6990
|
function Rl(t, e) {
|
|
6988
|
-
return
|
|
6991
|
+
return ss(t?.type) ?? e?.type;
|
|
6989
6992
|
}
|
|
6990
6993
|
function Vl(t) {
|
|
6991
6994
|
const e = C.rendererSymbolField;
|
|
@@ -7002,7 +7005,7 @@ function Vl(t) {
|
|
|
7002
7005
|
function $l(t) {
|
|
7003
7006
|
return t?.type !== void 0 && (t.color !== void 0 || t.label !== void 0 || t.style !== void 0 || t.outline !== void 0);
|
|
7004
7007
|
}
|
|
7005
|
-
function
|
|
7008
|
+
function oa(t) {
|
|
7006
7009
|
const { symbolField: e, dataItem: i, rendererSymbol: r, rendererOrigin: a } = t;
|
|
7007
7010
|
let n = !1;
|
|
7008
7011
|
if (!$l(r))
|
|
@@ -7046,7 +7049,7 @@ function kl(t) {
|
|
|
7046
7049
|
type: xe.SMS,
|
|
7047
7050
|
color: y,
|
|
7048
7051
|
label: F && g ? g : void 0
|
|
7049
|
-
}, c != null && (s.outline = c),
|
|
7052
|
+
}, c != null && (s.outline = c), oa({
|
|
7050
7053
|
dataItem: a,
|
|
7051
7054
|
symbolField: r === S.BarAndLineFromFields || r === S.PieFromFields ? C.rendererSymbolField : `${C.rendererSymbolField}_${f}`,
|
|
7052
7055
|
rendererSymbol: s,
|
|
@@ -7082,7 +7085,7 @@ function Ql(t) {
|
|
|
7082
7085
|
}
|
|
7083
7086
|
return n;
|
|
7084
7087
|
}
|
|
7085
|
-
function
|
|
7088
|
+
function la(t) {
|
|
7086
7089
|
const { seriesConfig: e, chartSubType: i, rendererType: r, dataItem: a } = t;
|
|
7087
7090
|
let n = Ql({
|
|
7088
7091
|
seriesConfig: e,
|
|
@@ -7098,7 +7101,7 @@ function _l(t) {
|
|
|
7098
7101
|
...W(i),
|
|
7099
7102
|
renderer: fr.fromJSON(e)
|
|
7100
7103
|
} : W(i);
|
|
7101
|
-
return new
|
|
7104
|
+
return new ka({
|
|
7102
7105
|
layer: r
|
|
7103
7106
|
});
|
|
7104
7107
|
}
|
|
@@ -7129,7 +7132,7 @@ async function Hl(t) {
|
|
|
7129
7132
|
const { x: m } = e[0], g = /* @__PURE__ */ new Map();
|
|
7130
7133
|
o && o.trim() !== "" ? e.forEach((y) => {
|
|
7131
7134
|
if (y.type === h.BarSeries || y.type === h.LineSeries || y.type === h.BoxPlotSeries || y.type === h.RadarSeries) {
|
|
7132
|
-
const p =
|
|
7135
|
+
const p = la({
|
|
7133
7136
|
seriesConfig: y,
|
|
7134
7137
|
chartSubType: s,
|
|
7135
7138
|
rendererType: a,
|
|
@@ -7185,7 +7188,7 @@ async function Hl(t) {
|
|
|
7185
7188
|
x: m,
|
|
7186
7189
|
splitByField: o,
|
|
7187
7190
|
attributes: i
|
|
7188
|
-
}),
|
|
7191
|
+
}), oa({
|
|
7189
7192
|
dataItem: i,
|
|
7190
7193
|
symbolField: N,
|
|
7191
7194
|
rendererSymbol: d,
|
|
@@ -7207,7 +7210,7 @@ function zl(t) {
|
|
|
7207
7210
|
const { dataItem: e, seriesConfig: i, chartSubType: r, colorMatch: a, rendererType: n } = t;
|
|
7208
7211
|
let s;
|
|
7209
7212
|
if (a && e !== void 0) {
|
|
7210
|
-
const o =
|
|
7213
|
+
const o = la({
|
|
7211
7214
|
seriesConfig: i,
|
|
7212
7215
|
chartSubType: r,
|
|
7213
7216
|
rendererType: n,
|
|
@@ -7217,14 +7220,14 @@ function zl(t) {
|
|
|
7217
7220
|
}
|
|
7218
7221
|
return s;
|
|
7219
7222
|
}
|
|
7220
|
-
function
|
|
7223
|
+
function af(t) {
|
|
7221
7224
|
const { seriesSymbol: e, rendererSymbol: i, colorIndex: r } = t;
|
|
7222
7225
|
let a = i?.color ?? e.color;
|
|
7223
7226
|
a = a ?? mr({ colorIndex: r, opacity: yr });
|
|
7224
7227
|
const n = {
|
|
7225
7228
|
...e,
|
|
7226
7229
|
color: a
|
|
7227
|
-
}, s = n.type === xe.SFS &&
|
|
7230
|
+
}, s = n.type === xe.SFS && ns(n.style);
|
|
7228
7231
|
return i?.type === e.type && i.style !== void 0 && !s && (n.style = i.style), n.type !== xe.SLS && (n.outline = {
|
|
7229
7232
|
type: xe.SLS,
|
|
7230
7233
|
style: i?.outline?.style ?? n.outline?.style,
|
|
@@ -7236,10 +7239,10 @@ function Ul(t) {
|
|
|
7236
7239
|
let e = [];
|
|
7237
7240
|
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;
|
|
7238
7241
|
}
|
|
7239
|
-
function
|
|
7242
|
+
function nf(t, e) {
|
|
7240
7243
|
let i = !1;
|
|
7241
7244
|
if (t && e && e.length > 0 && or(t)) {
|
|
7242
|
-
const a =
|
|
7245
|
+
const a = us(t), n = _e(t);
|
|
7243
7246
|
a ? i = Ul(t).some((o) => e.includes(o)) : i = e.includes(n.x);
|
|
7244
7247
|
}
|
|
7245
7248
|
return i;
|
|
@@ -7379,7 +7382,7 @@ function Zl(t, e) {
|
|
|
7379
7382
|
let r = 0, a = 0, n = 0;
|
|
7380
7383
|
t.forEach((s) => {
|
|
7381
7384
|
const o = s[e];
|
|
7382
|
-
!
|
|
7385
|
+
!qa(o) || o === 0 ? n += 1 : o > 0 ? r += 1 : a += 1;
|
|
7383
7386
|
}), i = n === t.length || r >= 0 && a === 0 || r === 0 && a >= 0;
|
|
7384
7387
|
}
|
|
7385
7388
|
return i;
|
|
@@ -7390,7 +7393,7 @@ function tt(t) {
|
|
|
7390
7393
|
const n = [];
|
|
7391
7394
|
return typeof e == "number" && Number.isFinite(e) && n.push(e), typeof i == "number" && Number.isFinite(i) && n.push(i * r), n.length > 0 && (a = Math.min(...n)), a;
|
|
7392
7395
|
}
|
|
7393
|
-
function
|
|
7396
|
+
function ua(t, e) {
|
|
7394
7397
|
let i;
|
|
7395
7398
|
const {
|
|
7396
7399
|
maxBarChartSeriesCount: r,
|
|
@@ -7482,7 +7485,7 @@ function Jl(t) {
|
|
|
7482
7485
|
}
|
|
7483
7486
|
return e;
|
|
7484
7487
|
}
|
|
7485
|
-
function
|
|
7488
|
+
function sf(t) {
|
|
7486
7489
|
let e;
|
|
7487
7490
|
if (Jl(t)) {
|
|
7488
7491
|
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];
|
|
@@ -7577,7 +7580,7 @@ const au = (t) => ({
|
|
|
7577
7580
|
y: t.series[0].y
|
|
7578
7581
|
});
|
|
7579
7582
|
function nu(t) {
|
|
7580
|
-
const { chartConfig: e, layer: i,
|
|
7583
|
+
const { chartConfig: e, layer: i, selectionItems: r } = t;
|
|
7581
7584
|
let a;
|
|
7582
7585
|
if (r.length > 0) {
|
|
7583
7586
|
const { x: n, y: s } = au(e), o = $t(i, n), l = $t(i, s);
|
|
@@ -7589,7 +7592,7 @@ function nu(t) {
|
|
|
7589
7592
|
}), c !== Number.MAX_SAFE_INTEGER && u !== Number.MIN_SAFE_INTEGER && d !== Number.MAX_SAFE_INTEGER && f !== Number.MIN_SAFE_INTEGER && (a = {
|
|
7590
7593
|
xBandId: o,
|
|
7591
7594
|
yBandId: l,
|
|
7592
|
-
pixelRanges: new
|
|
7595
|
+
pixelRanges: new cn({ xmin: c, xmax: u, ymin: d, ymax: f })
|
|
7593
7596
|
});
|
|
7594
7597
|
} else if (o !== void 0 && o === l) {
|
|
7595
7598
|
let c = Number.MAX_SAFE_INTEGER, u = Number.MIN_SAFE_INTEGER;
|
|
@@ -7609,10 +7612,10 @@ const mi = "PixelID", su = "Pixel ID", ou = [
|
|
|
7609
7612
|
h.HistogramSeries,
|
|
7610
7613
|
h.ScatterSeries
|
|
7611
7614
|
];
|
|
7612
|
-
async function
|
|
7615
|
+
async function of(t) {
|
|
7613
7616
|
let e = !1;
|
|
7614
7617
|
const { config: i, layer: r, abortSignal: a } = t;
|
|
7615
|
-
if (
|
|
7618
|
+
if (Ra(ou, i))
|
|
7616
7619
|
switch (Q(i?.series)) {
|
|
7617
7620
|
case h.BarSeries:
|
|
7618
7621
|
r.loaded || await r.load({ signal: a }), e = !!(await ft(r, a))?.attributeTable;
|
|
@@ -7627,7 +7630,7 @@ async function sf(t) {
|
|
|
7627
7630
|
function lu(t) {
|
|
7628
7631
|
const { layer: e, iLayer: i } = t;
|
|
7629
7632
|
let r;
|
|
7630
|
-
return ie(e) ? r = e : i?.layerType === "ArcGISImageServiceLayer" ? r =
|
|
7633
|
+
return ie(e) ? r = e : i?.layerType === "ArcGISImageServiceLayer" ? r = fa(i) : i?.layerType === "ArcGISTiledImageServiceLayer" && (r = ma(i)), r;
|
|
7631
7634
|
}
|
|
7632
7635
|
function uu(t) {
|
|
7633
7636
|
let e;
|
|
@@ -7644,7 +7647,7 @@ function uu(t) {
|
|
|
7644
7647
|
}
|
|
7645
7648
|
return e;
|
|
7646
7649
|
}
|
|
7647
|
-
function
|
|
7650
|
+
function ca(t) {
|
|
7648
7651
|
if (!t.loaded)
|
|
7649
7652
|
throw new Error("Raster layer must be loaded to get its ID field name");
|
|
7650
7653
|
let e;
|
|
@@ -7656,7 +7659,7 @@ function ua(t) {
|
|
|
7656
7659
|
e = mi;
|
|
7657
7660
|
return e ?? mi;
|
|
7658
7661
|
}
|
|
7659
|
-
function
|
|
7662
|
+
function da(t) {
|
|
7660
7663
|
const { layer: e, chartType: i, rasterInfo: r, popupTemplateFieldInfosEnabled: a } = t;
|
|
7661
7664
|
if (!e.loaded)
|
|
7662
7665
|
throw new Error("Raster layer must be loaded to get its fields info");
|
|
@@ -7696,37 +7699,37 @@ function ar(t) {
|
|
|
7696
7699
|
return n;
|
|
7697
7700
|
}
|
|
7698
7701
|
async function ft(t, e) {
|
|
7699
|
-
return t.loaded || await t.load({ signal: e }),
|
|
7702
|
+
return t.loaded || await t.load({ signal: e }), Wa(t) ? Xe(t) ?? void 0 : await t.generateRasterInfo(t.rasterFunction, { signal: e });
|
|
7700
7703
|
}
|
|
7701
|
-
async function
|
|
7704
|
+
async function lf(t, e) {
|
|
7702
7705
|
t.loaded || await t.load();
|
|
7703
7706
|
const i = await ft(t);
|
|
7704
|
-
return
|
|
7707
|
+
return da({ layer: t, rasterInfo: i, popupTemplateFieldInfosEnabled: e });
|
|
7705
7708
|
}
|
|
7706
|
-
const
|
|
7709
|
+
const fa = Qe(
|
|
7707
7710
|
(t) => {
|
|
7708
7711
|
const e = {}, i = t.layerDefinition;
|
|
7709
|
-
return e.definitionExpression = i?.definitionExpression, e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && t.layerDefinition?.id !== void 0 && (e.portalItem = { id: t.itemId }), new
|
|
7712
|
+
return e.definitionExpression = i?.definitionExpression, e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && t.layerDefinition?.id !== void 0 && (e.portalItem = { id: t.itemId }), new on(e);
|
|
7710
7713
|
},
|
|
7711
7714
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
7712
7715
|
// stringify with sorted keys
|
|
7713
7716
|
), cu = Qe(
|
|
7714
7717
|
async (t, e) => {
|
|
7715
|
-
const i =
|
|
7718
|
+
const i = fa(t);
|
|
7716
7719
|
return await Li(i, e), i;
|
|
7717
7720
|
},
|
|
7718
7721
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
7719
7722
|
// stringify with sorted keys
|
|
7720
|
-
),
|
|
7723
|
+
), ma = Qe(
|
|
7721
7724
|
(t) => {
|
|
7722
7725
|
const e = {};
|
|
7723
|
-
return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new
|
|
7726
|
+
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);
|
|
7724
7727
|
},
|
|
7725
7728
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
7726
7729
|
// stringify with sorted keys
|
|
7727
7730
|
), du = Qe(
|
|
7728
7731
|
async (t, e) => {
|
|
7729
|
-
const i =
|
|
7732
|
+
const i = ma(t);
|
|
7730
7733
|
return await Li(i, e), i;
|
|
7731
7734
|
},
|
|
7732
7735
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
@@ -7734,7 +7737,7 @@ const da = Qe(
|
|
|
7734
7737
|
), fu = Qe(
|
|
7735
7738
|
(t) => {
|
|
7736
7739
|
const e = {};
|
|
7737
|
-
return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new
|
|
7740
|
+
return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new un(e);
|
|
7738
7741
|
},
|
|
7739
7742
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
7740
7743
|
// stringify with sorted keys
|
|
@@ -7757,29 +7760,29 @@ const da = Qe(
|
|
|
7757
7760
|
n > -1 && (i = n);
|
|
7758
7761
|
}
|
|
7759
7762
|
return i;
|
|
7760
|
-
},
|
|
7761
|
-
const { chartConfig: e, layer: i,
|
|
7763
|
+
}, uf = (t) => {
|
|
7764
|
+
const { chartConfig: e, layer: i, selectionItems: r } = t, a = Q(e.series);
|
|
7762
7765
|
let n;
|
|
7763
7766
|
switch (a) {
|
|
7764
7767
|
case h.BarSeries:
|
|
7765
|
-
n =
|
|
7768
|
+
n = Ps({
|
|
7766
7769
|
chartConfig: e,
|
|
7767
7770
|
layer: i,
|
|
7768
|
-
|
|
7771
|
+
selectionItems: r
|
|
7769
7772
|
});
|
|
7770
7773
|
break;
|
|
7771
7774
|
case h.HistogramSeries:
|
|
7772
|
-
n =
|
|
7775
|
+
n = Zn({
|
|
7773
7776
|
chartConfig: e,
|
|
7774
7777
|
layer: i,
|
|
7775
|
-
|
|
7778
|
+
selectionItems: r
|
|
7776
7779
|
});
|
|
7777
7780
|
break;
|
|
7778
7781
|
case h.ScatterSeries:
|
|
7779
7782
|
n = nu({
|
|
7780
7783
|
chartConfig: e,
|
|
7781
7784
|
layer: i,
|
|
7782
|
-
|
|
7785
|
+
selectionItems: r
|
|
7783
7786
|
});
|
|
7784
7787
|
break;
|
|
7785
7788
|
default:
|
|
@@ -7802,7 +7805,7 @@ async function gu(t) {
|
|
|
7802
7805
|
autoResample: !0,
|
|
7803
7806
|
maxPixelCount: a,
|
|
7804
7807
|
skipFactor: r
|
|
7805
|
-
}, d = await
|
|
7808
|
+
}, d = await Ja(l, u, { signal: s });
|
|
7806
7809
|
o = br.fromJSON(d.featureSet).features;
|
|
7807
7810
|
} catch {
|
|
7808
7811
|
o = [];
|
|
@@ -7844,7 +7847,7 @@ function pu(t) {
|
|
|
7844
7847
|
let e, i, r;
|
|
7845
7848
|
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 };
|
|
7846
7849
|
}
|
|
7847
|
-
const
|
|
7850
|
+
const ga = Qe(
|
|
7848
7851
|
(t) => {
|
|
7849
7852
|
const e = t.featureCollection;
|
|
7850
7853
|
let i, r;
|
|
@@ -7855,7 +7858,7 @@ const ma = Qe(
|
|
|
7855
7858
|
r = t.layerDefinition;
|
|
7856
7859
|
const a = {};
|
|
7857
7860
|
if (i !== void 0) {
|
|
7858
|
-
if (a.source = br.fromJSON(i).features, r?.fields !== void 0 && (a.fields = r.fields.map((s) =>
|
|
7861
|
+
if (a.source = br.fromJSON(i).features, r?.fields !== void 0 && (a.fields = r.fields.map((s) => an.fromJSON(s))), r?.objectIdField !== void 0 && (a.objectIdField = r.objectIdField), r?.geometryType !== void 0) {
|
|
7859
7862
|
const s = Sr.fromJSON({
|
|
7860
7863
|
geometryType: r.geometryType
|
|
7861
7864
|
});
|
|
@@ -7868,20 +7871,20 @@ const ma = Qe(
|
|
|
7868
7871
|
const s = r.drawingInfo;
|
|
7869
7872
|
s?.renderer !== void 0 && (a.renderer = fr.fromJSON(s.renderer));
|
|
7870
7873
|
}
|
|
7871
|
-
return new
|
|
7874
|
+
return new tn(a);
|
|
7872
7875
|
},
|
|
7873
7876
|
(t) => JSON.stringify(t)
|
|
7874
7877
|
// stringify with sorted keys
|
|
7875
|
-
),
|
|
7876
|
-
async (t, e) => await
|
|
7878
|
+
), ya = Qe(
|
|
7879
|
+
async (t, e) => await ga(t).load({ signal: e }),
|
|
7877
7880
|
(t) => JSON.stringify(t)
|
|
7878
7881
|
// stringify with sorted keys
|
|
7879
7882
|
);
|
|
7880
|
-
async function
|
|
7883
|
+
async function cf(t, e) {
|
|
7881
7884
|
let i;
|
|
7882
7885
|
switch (t?.layerType ?? "") {
|
|
7883
7886
|
case "ArcGISFeatureLayer":
|
|
7884
|
-
i = await
|
|
7887
|
+
i = await ya(t, e);
|
|
7885
7888
|
break;
|
|
7886
7889
|
case "ArcGISImageServiceLayer":
|
|
7887
7890
|
i = await cu(t, e);
|
|
@@ -7897,10 +7900,10 @@ async function uf(t, e) {
|
|
|
7897
7900
|
}
|
|
7898
7901
|
return i;
|
|
7899
7902
|
}
|
|
7900
|
-
function
|
|
7901
|
-
const { layerOrLayerView: e, iLayer: i, view: r, layerItemId: a } = t, n = W(e), s = pe(n), o = ie(s) ||
|
|
7903
|
+
function df(t) {
|
|
7904
|
+
const { layerOrLayerView: e, iLayer: i, view: r, layerItemId: a } = t, n = W(e), s = pe(n), o = ie(s) || ja(i);
|
|
7902
7905
|
let l;
|
|
7903
|
-
return o ? l = lu({ layer: e, iLayer: i }) : s !== void 0 ? (s.isTable || (s.outFields = ["*"]), l = e) : i?.layerType === "ArcGISFeatureLayer" && (l =
|
|
7906
|
+
return o ? l = lu({ layer: e, iLayer: i }) : s !== void 0 ? (s.isTable || (s.outFields = ["*"]), l = e) : i?.layerType === "ArcGISFeatureLayer" && (l = ga(i)), !l && a && (l = Nu({
|
|
7904
7907
|
view: r,
|
|
7905
7908
|
portalItemId: a
|
|
7906
7909
|
})), l;
|
|
@@ -7910,7 +7913,7 @@ function ve(t, e) {
|
|
|
7910
7913
|
let r = [];
|
|
7911
7914
|
if (i !== void 0) {
|
|
7912
7915
|
const a = e === !0 && i?.popupTemplate?.fieldInfos !== void 0;
|
|
7913
|
-
ie(i) ? r =
|
|
7916
|
+
ie(i) ? r = da({ layer: i, popupTemplateFieldInfosEnabled: e }) : r = i.fields.map((n) => {
|
|
7914
7917
|
const s = n.toJSON();
|
|
7915
7918
|
if (a) {
|
|
7916
7919
|
const o = i.popupTemplate?.fieldInfos?.find(
|
|
@@ -7923,13 +7926,13 @@ function ve(t, e) {
|
|
|
7923
7926
|
}
|
|
7924
7927
|
return r;
|
|
7925
7928
|
}
|
|
7926
|
-
function
|
|
7929
|
+
function ff(t, e = []) {
|
|
7927
7930
|
return e.find((i) => i.name === t);
|
|
7928
7931
|
}
|
|
7929
7932
|
function Xt(t) {
|
|
7930
7933
|
let e, i = !1;
|
|
7931
7934
|
if (ie(t))
|
|
7932
|
-
e = [
|
|
7935
|
+
e = [ca(t)];
|
|
7933
7936
|
else {
|
|
7934
7937
|
const r = pe(t);
|
|
7935
7938
|
r && ("uniqueIdFields" in r && r.uniqueIdFields && r.uniqueIdFields.length > 0 ? e = r.uniqueIdFields : (e = [r.objectIdField], i = !0));
|
|
@@ -7939,7 +7942,7 @@ function Xt(t) {
|
|
|
7939
7942
|
function we(t) {
|
|
7940
7943
|
let e = "", i = !1;
|
|
7941
7944
|
if (ie(t))
|
|
7942
|
-
e =
|
|
7945
|
+
e = ca(t);
|
|
7943
7946
|
else if (t) {
|
|
7944
7947
|
const r = Xt(t);
|
|
7945
7948
|
i = r.isTraditionalTypeOID, r.idFields && (e = r.idFields[0]);
|
|
@@ -7959,13 +7962,13 @@ function Ct(t) {
|
|
|
7959
7962
|
function hu(t) {
|
|
7960
7963
|
return t?.type === j.Date || t?.type === j.DateOnly || t?.type === j.TimestampOffset;
|
|
7961
7964
|
}
|
|
7962
|
-
function
|
|
7965
|
+
function mf(t) {
|
|
7963
7966
|
return t?.type === j.String;
|
|
7964
7967
|
}
|
|
7965
|
-
function
|
|
7968
|
+
function gf(t) {
|
|
7966
7969
|
return t?.type === j.TimeOnly;
|
|
7967
7970
|
}
|
|
7968
|
-
function
|
|
7971
|
+
function yf(t) {
|
|
7969
7972
|
const e = [
|
|
7970
7973
|
j.SmallInteger,
|
|
7971
7974
|
j.Integer,
|
|
@@ -7976,14 +7979,14 @@ function gf(t) {
|
|
|
7976
7979
|
function Su(t) {
|
|
7977
7980
|
return t.filter((e) => hu(e)).map((e) => e.name);
|
|
7978
7981
|
}
|
|
7979
|
-
function
|
|
7982
|
+
function pf(t) {
|
|
7980
7983
|
return t.filter((e) => Ct(e)).map((e) => e.name);
|
|
7981
7984
|
}
|
|
7982
7985
|
function gi(t, e) {
|
|
7983
7986
|
let i;
|
|
7984
7987
|
if (e) {
|
|
7985
7988
|
const a = W(t).getFieldDomain?.(e);
|
|
7986
|
-
a instanceof
|
|
7989
|
+
a instanceof rn && (i = a);
|
|
7987
7990
|
}
|
|
7988
7991
|
return i;
|
|
7989
7992
|
}
|
|
@@ -7995,11 +7998,11 @@ function nr(t) {
|
|
|
7995
7998
|
const { queryObject: e, fieldName: i, fieldValue: r } = t;
|
|
7996
7999
|
return ie(e) ? void 0 : yi(r, gi(e, i));
|
|
7997
8000
|
}
|
|
7998
|
-
async function
|
|
8001
|
+
async function pa(t) {
|
|
7999
8002
|
let e = [];
|
|
8000
|
-
return t && !pe(t)?.isTable && t.fieldsIndex && (e = await
|
|
8003
|
+
return t && !pe(t)?.isTable && t.fieldsIndex && (e = await nn.getRendererFields(t.renderer, t.fieldsIndex)), e;
|
|
8001
8004
|
}
|
|
8002
|
-
function
|
|
8005
|
+
function ha(t) {
|
|
8003
8006
|
const e = "/rest/services";
|
|
8004
8007
|
let i = t.toLowerCase();
|
|
8005
8008
|
const r = i.indexOf(e);
|
|
@@ -8009,7 +8012,7 @@ async function Fu(t, e) {
|
|
|
8009
8012
|
let i = !0;
|
|
8010
8013
|
const r = ".arcgis.com/", a = t?.url, n = a?.includes(r);
|
|
8011
8014
|
if (a && n && pe(t)?.sourceJSON?.serviceItemId !== void 0) {
|
|
8012
|
-
const s =
|
|
8015
|
+
const s = ha(a);
|
|
8013
8016
|
try {
|
|
8014
8017
|
const o = (await It(s, { query: { f: "json" }, signal: e })).data;
|
|
8015
8018
|
if (o.owningTenant !== void 0 && o.owningSystemUrl !== void 0) {
|
|
@@ -8017,7 +8020,7 @@ async function Fu(t, e) {
|
|
|
8017
8020
|
authMode: "auto",
|
|
8018
8021
|
query: { f: "json" },
|
|
8019
8022
|
signal: e
|
|
8020
|
-
})).data, u = new
|
|
8023
|
+
})).data, u = new sn({ sourceJSON: c });
|
|
8021
8024
|
await u.load({ signal: e }), i = u?.sourceJSON?.subscriptionInfo?.dataStoreLevel === void 0;
|
|
8022
8025
|
}
|
|
8023
8026
|
} catch {
|
|
@@ -8040,7 +8043,7 @@ function Cu(t) {
|
|
|
8040
8043
|
(n) => bu({ queryObject: i, fieldToMatch: n, returnUndefinedIfNotFound: r })
|
|
8041
8044
|
)), a;
|
|
8042
8045
|
}
|
|
8043
|
-
function
|
|
8046
|
+
function Sa(t) {
|
|
8044
8047
|
const { queryObject: e, chartConfig: i, runtimeDataFilters: r, filterByViewExtent: a, ignoreViewExtent: n, view: s } = t, { series: o, dataFilters: l } = i, {
|
|
8045
8048
|
where: c,
|
|
8046
8049
|
gdbVersion: u,
|
|
@@ -8060,12 +8063,12 @@ function ha(t) {
|
|
|
8060
8063
|
objectIds: T,
|
|
8061
8064
|
spatialRelationship: A
|
|
8062
8065
|
} = 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 =
|
|
8066
|
+
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 = Rn(s?.timeExtent, N ?? d), L.geometry = ie(e) ? yu({
|
|
8064
8067
|
queryObject: e,
|
|
8065
8068
|
defaultGeometry: B ?? f,
|
|
8066
8069
|
filterByViewExtent: a,
|
|
8067
8070
|
viewExtent: s?.extent
|
|
8068
|
-
}) :
|
|
8071
|
+
}) : Vn({
|
|
8069
8072
|
queryObject: e,
|
|
8070
8073
|
defaultGeometry: B ?? f,
|
|
8071
8074
|
ignoreViewExtent: n
|
|
@@ -8075,7 +8078,7 @@ function ha(t) {
|
|
|
8075
8078
|
});
|
|
8076
8079
|
}), L;
|
|
8077
8080
|
}
|
|
8078
|
-
async function
|
|
8081
|
+
async function hf(t) {
|
|
8079
8082
|
let e = [];
|
|
8080
8083
|
return t !== void 0 && (e = await vu(t)), e;
|
|
8081
8084
|
}
|
|
@@ -8084,8 +8087,8 @@ async function Bu(t, e) {
|
|
|
8084
8087
|
let r = [];
|
|
8085
8088
|
const a = t.series;
|
|
8086
8089
|
let n = e;
|
|
8087
|
-
if (t.iLayer?.layerType === "ArcGISFeatureLayer" && (n = await
|
|
8088
|
-
const s = a[0].x ?? "", o = a.map((f) => "y" in f ? f.y : "").flat(), l = ne(t.series[0].query?.where), c =
|
|
8090
|
+
if (t.iLayer?.layerType === "ArcGISFeatureLayer" && (n = await ya(t.iLayer)), n !== void 0) {
|
|
8091
|
+
const s = a[0].x ?? "", o = a.map((f) => "y" in f ? f.y : "").flat(), l = ne(t.series[0].query?.where), c = Va(t), u = t?.series.map((f) => {
|
|
8089
8092
|
const m = f.query?.outStatistics?.map((g) => g.onStatisticField) ?? [];
|
|
8090
8093
|
return m?.length > 0 ? m : "";
|
|
8091
8094
|
}).flat();
|
|
@@ -8123,8 +8126,8 @@ function Nu(t) {
|
|
|
8123
8126
|
}
|
|
8124
8127
|
return r;
|
|
8125
8128
|
}
|
|
8126
|
-
const
|
|
8127
|
-
getServerRestInfo:
|
|
8129
|
+
const Sf = {
|
|
8130
|
+
getServerRestInfo: ha
|
|
8128
8131
|
};
|
|
8129
8132
|
async function Li(t, e) {
|
|
8130
8133
|
await t?.load({ signal: e }), t && (nt(t) || pr(t)) && await t.generateRasterInfo(t.rasterFunction, {
|
|
@@ -8247,7 +8250,7 @@ function Iu(t, e) {
|
|
|
8247
8250
|
function Du(t) {
|
|
8248
8251
|
const { uniqueQuery: e, x: i, splitByField: r, unit: a, chartSubType: n, objectIdFields: s, runsOnClientQueryEngine: o } = t;
|
|
8249
8252
|
if (a !== void 0) {
|
|
8250
|
-
const l =
|
|
8253
|
+
const l = Fn({
|
|
8251
8254
|
dateFieldName: i,
|
|
8252
8255
|
unit: a,
|
|
8253
8256
|
runsOnClientQueryEngine: o
|
|
@@ -8261,10 +8264,10 @@ function Du(t) {
|
|
|
8261
8264
|
]);
|
|
8262
8265
|
}
|
|
8263
8266
|
}
|
|
8264
|
-
function
|
|
8267
|
+
function Fa(t) {
|
|
8265
8268
|
const { chartConfig: e, uniqueQuery: i, chartLimits: r } = t;
|
|
8266
8269
|
if (r?.behaviorAfterLimit === ct.RenderUpToTheLimit) {
|
|
8267
|
-
const a =
|
|
8270
|
+
const a = ua(e, r);
|
|
8268
8271
|
if (a !== void 0) {
|
|
8269
8272
|
const n = H(e.series);
|
|
8270
8273
|
if (n === S.PieFromFields || n === S.BarAndLineFromFields) {
|
|
@@ -8356,7 +8359,7 @@ function Mi(t) {
|
|
|
8356
8359
|
}
|
|
8357
8360
|
v.where = z;
|
|
8358
8361
|
}
|
|
8359
|
-
|
|
8362
|
+
Fa({ chartConfig: e, uniqueQuery: v, chartLimits: l });
|
|
8360
8363
|
const { gdbVersion: T, geometry: A, distance: P, units: I, timeExtent: w, where: M, objectIds: L, spatialRelationship: O } = i;
|
|
8361
8364
|
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 };
|
|
8362
8365
|
}
|
|
@@ -8377,22 +8380,22 @@ function Ze(t) {
|
|
|
8377
8380
|
bubbles: !0
|
|
8378
8381
|
};
|
|
8379
8382
|
}
|
|
8380
|
-
function
|
|
8383
|
+
function Ff(t, e) {
|
|
8381
8384
|
e && e.dispatchEvent(
|
|
8382
8385
|
new window.CustomEvent(Ye.LegendItemVisibilityChange, Ze(t))
|
|
8383
8386
|
);
|
|
8384
8387
|
}
|
|
8385
|
-
function
|
|
8388
|
+
function bf(t) {
|
|
8386
8389
|
t && t.dispatchEvent(new window.CustomEvent(Ye.RenderingComplete, Ze()));
|
|
8387
8390
|
}
|
|
8388
|
-
function
|
|
8391
|
+
function xf(t) {
|
|
8389
8392
|
const { data: e, htmlContainer: i } = t;
|
|
8390
8393
|
i && i.dispatchEvent(new window.CustomEvent(Ye.SelectionComplete, Ze(e)));
|
|
8391
8394
|
}
|
|
8392
|
-
function
|
|
8395
|
+
function Cf(t) {
|
|
8393
8396
|
t && t.dispatchEvent(new window.CustomEvent(Ye.TooManySelectedElements, Ze()));
|
|
8394
8397
|
}
|
|
8395
|
-
function
|
|
8398
|
+
function Bf(t) {
|
|
8396
8399
|
const { data: e, htmlContainer: i, chartId: r, colorMatchApplied: a } = t;
|
|
8397
8400
|
i && i.dispatchEvent(
|
|
8398
8401
|
new window.CustomEvent(
|
|
@@ -8405,7 +8408,7 @@ function Cf(t) {
|
|
|
8405
8408
|
)
|
|
8406
8409
|
);
|
|
8407
8410
|
}
|
|
8408
|
-
function
|
|
8411
|
+
function vf(t, e) {
|
|
8409
8412
|
e && e.dispatchEvent(new window.CustomEvent(Ye.AxesMinMaxChange, Ze(t)));
|
|
8410
8413
|
}
|
|
8411
8414
|
function Ou(t) {
|
|
@@ -8530,7 +8533,7 @@ function ii(t, e) {
|
|
|
8530
8533
|
function Vu(t) {
|
|
8531
8534
|
return t !== void 0 ? /^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t) : !1;
|
|
8532
8535
|
}
|
|
8533
|
-
function
|
|
8536
|
+
function Tf(t) {
|
|
8534
8537
|
let e = et.Same, i = [];
|
|
8535
8538
|
if (Vu(t) && t !== void 0) {
|
|
8536
8539
|
He.sort(ii);
|
|
@@ -8554,7 +8557,7 @@ function _e(t) {
|
|
|
8554
8557
|
let r = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((a) => a.type === h.LineSeries) : e[0];
|
|
8555
8558
|
return r ??= e[0], r;
|
|
8556
8559
|
}
|
|
8557
|
-
function
|
|
8560
|
+
function Nf(t, e) {
|
|
8558
8561
|
const i = t !== null ? t.toString() : null, r = e != null ? e.toString() : null;
|
|
8559
8562
|
return r !== null && r !== i ? xe.SFS : xe.SLS;
|
|
8560
8563
|
}
|
|
@@ -8587,11 +8590,11 @@ function Ie(t) {
|
|
|
8587
8590
|
let o = e;
|
|
8588
8591
|
return n !== "" && s !== "" && (s === null ? o = `${n} IS NULL` : o = `${n}=${s}`), o;
|
|
8589
8592
|
}
|
|
8590
|
-
function
|
|
8593
|
+
function ba(t) {
|
|
8591
8594
|
let e = S.PieFromCategory;
|
|
8592
8595
|
return t[0].query?.outStatistics === void 0 ? e = S.PieNoAggregation : t[0].query?.groupByFieldsForStatistics === void 0 && (e = S.PieFromFields), e;
|
|
8593
8596
|
}
|
|
8594
|
-
function
|
|
8597
|
+
function xa(t) {
|
|
8595
8598
|
let e = S.BarAndLineMonoField;
|
|
8596
8599
|
const i = t[0].query?.where;
|
|
8597
8600
|
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;
|
|
@@ -8606,13 +8609,13 @@ function H(t) {
|
|
|
8606
8609
|
if (t?.[0] !== void 0)
|
|
8607
8610
|
switch (Q(t)) {
|
|
8608
8611
|
case h.PieSeries:
|
|
8609
|
-
e =
|
|
8612
|
+
e = ba(t);
|
|
8610
8613
|
break;
|
|
8611
8614
|
case h.RadarSeries:
|
|
8612
8615
|
case h.BarSeries:
|
|
8613
8616
|
case h.LineSeries:
|
|
8614
8617
|
case h.ComboLineAndBarSeries:
|
|
8615
|
-
e =
|
|
8618
|
+
e = xa(t);
|
|
8616
8619
|
break;
|
|
8617
8620
|
case h.BoxPlotSeries:
|
|
8618
8621
|
e = $u(t);
|
|
@@ -8632,7 +8635,7 @@ function Qu(t) {
|
|
|
8632
8635
|
}
|
|
8633
8636
|
return e;
|
|
8634
8637
|
}
|
|
8635
|
-
function
|
|
8638
|
+
function Ca(t) {
|
|
8636
8639
|
const { statsMap: e, dataContext: i, chartLimits: r } = t;
|
|
8637
8640
|
let a = !1;
|
|
8638
8641
|
if (e !== void 0) {
|
|
@@ -8644,7 +8647,7 @@ function xa(t) {
|
|
|
8644
8647
|
} else i !== void 0 && (a = C.scatterplotAggregationFields.dataContextXMinField in i);
|
|
8645
8648
|
return a;
|
|
8646
8649
|
}
|
|
8647
|
-
function
|
|
8650
|
+
function Af(t) {
|
|
8648
8651
|
const { dataContext: e, chartConfig: i, chartLimits: r } = t;
|
|
8649
8652
|
let a = !0;
|
|
8650
8653
|
if (i !== void 0)
|
|
@@ -8655,7 +8658,7 @@ function Nf(t) {
|
|
|
8655
8658
|
a = Qu(i);
|
|
8656
8659
|
break;
|
|
8657
8660
|
case h.ScatterSeries:
|
|
8658
|
-
a =
|
|
8661
|
+
a = Ca({ dataContext: e, chartLimits: r });
|
|
8659
8662
|
break;
|
|
8660
8663
|
case h.PieSeries:
|
|
8661
8664
|
a = ku(i);
|
|
@@ -8678,7 +8681,7 @@ function De(t) {
|
|
|
8678
8681
|
function Ce(t) {
|
|
8679
8682
|
return Ru.includes(t?.type);
|
|
8680
8683
|
}
|
|
8681
|
-
function
|
|
8684
|
+
function Ba(t) {
|
|
8682
8685
|
const { previousConfig: e, newConfig: i, behaviorAfterLimit: r } = t, a = e.series, n = i.series;
|
|
8683
8686
|
let s = !1, o = !1;
|
|
8684
8687
|
(r === ct.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !at(
|
|
@@ -8712,13 +8715,13 @@ function Hu(t, e) {
|
|
|
8712
8715
|
}
|
|
8713
8716
|
return i;
|
|
8714
8717
|
}
|
|
8715
|
-
function
|
|
8718
|
+
function va(t, e) {
|
|
8716
8719
|
return (t ?? !1) !== (e ?? !1);
|
|
8717
8720
|
}
|
|
8718
|
-
function
|
|
8721
|
+
function Ta(t, e) {
|
|
8719
8722
|
return Ce(t.series[0]) && Ce(e.series[0]) && (t.series[0].binTemporalData ?? C.binTemporalData) !== (e.series[0].binTemporalData ?? C.binTemporalData);
|
|
8720
8723
|
}
|
|
8721
|
-
function
|
|
8724
|
+
function Na(t, e) {
|
|
8722
8725
|
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;
|
|
8723
8726
|
return i !== r && (n || s || o);
|
|
8724
8727
|
}
|
|
@@ -8739,17 +8742,17 @@ function zu(t) {
|
|
|
8739
8742
|
function sr(t, e) {
|
|
8740
8743
|
return e.length !== t.length;
|
|
8741
8744
|
}
|
|
8742
|
-
function
|
|
8745
|
+
function Aa(t, e) {
|
|
8743
8746
|
return We(t) !== We(e);
|
|
8744
8747
|
}
|
|
8745
|
-
function
|
|
8748
|
+
function wa(t, e) {
|
|
8746
8749
|
return JSON.stringify(t.series[0]?.valueConversion) !== JSON.stringify(e.series[0]?.valueConversion);
|
|
8747
8750
|
}
|
|
8748
|
-
function
|
|
8751
|
+
function La(t, e) {
|
|
8749
8752
|
const i = t.axes?.[0], r = e.axes?.[0];
|
|
8750
8753
|
return JSON.stringify(i?.minimumFromField) !== JSON.stringify(r?.minimumFromField) || JSON.stringify(i?.maximumFromField) !== JSON.stringify(r?.maximumFromField);
|
|
8751
8754
|
}
|
|
8752
|
-
function
|
|
8755
|
+
function Pa(t, e) {
|
|
8753
8756
|
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);
|
|
8754
8757
|
}
|
|
8755
8758
|
function Uu(t, e) {
|
|
@@ -8770,31 +8773,31 @@ function Wu(t) {
|
|
|
8770
8773
|
}
|
|
8771
8774
|
return s;
|
|
8772
8775
|
}
|
|
8773
|
-
function
|
|
8776
|
+
function wf(t, e) {
|
|
8774
8777
|
return (t?.colorMatch ?? !1) !== (e.colorMatch ?? !1);
|
|
8775
8778
|
}
|
|
8776
|
-
function
|
|
8779
|
+
function Lf(t, e) {
|
|
8777
8780
|
return (t.stackedType ?? Ae.Side) !== (e.stackedType ?? Ae.Side);
|
|
8778
8781
|
}
|
|
8779
8782
|
function Qt(t) {
|
|
8780
8783
|
const e = { ...t };
|
|
8781
8784
|
return e.position === void 0 && (e.position = St.heatChart.legend.position), e;
|
|
8782
8785
|
}
|
|
8783
|
-
function
|
|
8786
|
+
function Pf(t, e) {
|
|
8784
8787
|
const i = t.legend ?? { type: h.Legend }, r = e.legend ?? { type: h.Legend }, a = Qt(i), n = Qt(r);
|
|
8785
8788
|
return !at(a, n);
|
|
8786
8789
|
}
|
|
8787
|
-
function
|
|
8790
|
+
function Mf(t, e) {
|
|
8788
8791
|
const i = t.legend ?? { type: h.Legend }, r = e.legend ?? { type: h.Legend }, a = Qt(i), n = Qt(r);
|
|
8789
8792
|
return a.position !== n.position;
|
|
8790
8793
|
}
|
|
8791
|
-
function
|
|
8794
|
+
function If(t, e) {
|
|
8792
8795
|
return JSON.stringify(t.series[0]?.gradientRules) !== JSON.stringify(e.series[0]?.gradientRules);
|
|
8793
8796
|
}
|
|
8794
|
-
function
|
|
8797
|
+
function Df(t, e) {
|
|
8795
8798
|
return t.series[0].heatRulesType !== e.series[0].heatRulesType;
|
|
8796
8799
|
}
|
|
8797
|
-
function
|
|
8800
|
+
function Of(t) {
|
|
8798
8801
|
const { oldConfig: e, newConfig: i } = t;
|
|
8799
8802
|
let r = !1;
|
|
8800
8803
|
const a = e?.series[0], n = i.series[0], s = Q(e?.series), o = Q(i.series);
|
|
@@ -8815,47 +8818,47 @@ function ju(t) {
|
|
|
8815
8818
|
let a = !1;
|
|
8816
8819
|
return r === !0 && (a = e?.length !== i?.selectionOIDs?.length || !at(e, i?.selectionOIDs)), a;
|
|
8817
8820
|
}
|
|
8818
|
-
function
|
|
8821
|
+
function Ef(t, e) {
|
|
8819
8822
|
return t?.length !== e?.length || t?.some((i, r) => {
|
|
8820
8823
|
const a = me({ where: i?.query?.where }), n = me({ where: e?.[r]?.query?.where });
|
|
8821
8824
|
return a !== n;
|
|
8822
8825
|
});
|
|
8823
8826
|
}
|
|
8824
|
-
function
|
|
8827
|
+
function qf(t, e) {
|
|
8825
8828
|
const i = ue(t), r = ue(e);
|
|
8826
8829
|
return JSON.stringify(i) !== JSON.stringify(r);
|
|
8827
8830
|
}
|
|
8828
|
-
function
|
|
8831
|
+
function Rf(t, e) {
|
|
8829
8832
|
let i, r, a, n;
|
|
8830
8833
|
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);
|
|
8831
8834
|
}
|
|
8832
|
-
function
|
|
8835
|
+
function Vf(t, e) {
|
|
8833
8836
|
return t.axes?.length === 3 && e.axes?.length === 2 || t.axes?.length === 2 && e.axes?.length === 3;
|
|
8834
8837
|
}
|
|
8835
|
-
function
|
|
8838
|
+
function $f(t, e) {
|
|
8836
8839
|
return JSON.stringify(t.series.map((i) => i.assignToSecondValueAxis ?? !1)) !== JSON.stringify(e.series.map((i) => i.assignToSecondValueAxis ?? !1));
|
|
8837
8840
|
}
|
|
8838
|
-
function
|
|
8841
|
+
function kf(t, e) {
|
|
8839
8842
|
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));
|
|
8840
8843
|
return JSON.stringify(i) !== JSON.stringify(r);
|
|
8841
8844
|
}
|
|
8842
|
-
function
|
|
8845
|
+
function Qf(t, e) {
|
|
8843
8846
|
return Oi(t) !== Oi(e);
|
|
8844
8847
|
}
|
|
8845
|
-
function
|
|
8848
|
+
function _f(t, e) {
|
|
8846
8849
|
return (t.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility);
|
|
8847
8850
|
}
|
|
8848
|
-
function
|
|
8851
|
+
function Hf(t, e) {
|
|
8849
8852
|
return (t.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility);
|
|
8850
8853
|
}
|
|
8851
|
-
function
|
|
8854
|
+
function zf(t, e) {
|
|
8852
8855
|
return JSON.stringify(t?.chartRenderer) !== JSON.stringify(e?.chartRenderer);
|
|
8853
8856
|
}
|
|
8854
|
-
function
|
|
8857
|
+
function Uf(t, e) {
|
|
8855
8858
|
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;
|
|
8856
8859
|
return i !== r;
|
|
8857
8860
|
}
|
|
8858
|
-
function
|
|
8861
|
+
function Gf(t, e) {
|
|
8859
8862
|
let i = !1;
|
|
8860
8863
|
const r = t.series[0], a = e.series[0];
|
|
8861
8864
|
if (r.type === h.ScatterSeries && a.type === h.ScatterSeries) {
|
|
@@ -8864,7 +8867,7 @@ function Uf(t, e) {
|
|
|
8864
8867
|
}
|
|
8865
8868
|
return i;
|
|
8866
8869
|
}
|
|
8867
|
-
function
|
|
8870
|
+
function Wf(t, e) {
|
|
8868
8871
|
let i = !1;
|
|
8869
8872
|
const r = t.series[0], a = e.series[0];
|
|
8870
8873
|
if (r.type === h.ScatterSeries && a.type === h.ScatterSeries) {
|
|
@@ -8873,7 +8876,7 @@ function Gf(t, e) {
|
|
|
8873
8876
|
}
|
|
8874
8877
|
return i;
|
|
8875
8878
|
}
|
|
8876
|
-
function
|
|
8879
|
+
function jf(t) {
|
|
8877
8880
|
const {
|
|
8878
8881
|
previousConfig: e,
|
|
8879
8882
|
newConfig: i,
|
|
@@ -8916,18 +8919,18 @@ function Wf(t) {
|
|
|
8916
8919
|
tooltipFieldsChanged: !1
|
|
8917
8920
|
}
|
|
8918
8921
|
};
|
|
8919
|
-
switch (F.common.queryChanged =
|
|
8922
|
+
switch (F.common.queryChanged = Ba({
|
|
8920
8923
|
previousConfig: e,
|
|
8921
8924
|
newConfig: i,
|
|
8922
8925
|
behaviorAfterLimit: u?.behaviorAfterLimit
|
|
8923
|
-
}), F.common.configFiltersChanged = _u(e, i), F.common.xOrYChanged = Hu(f, d), F.common.filterBySelectionChanged =
|
|
8926
|
+
}), F.common.configFiltersChanged = _u(e, i), F.common.xOrYChanged = Hu(f, d), F.common.filterBySelectionChanged = va(
|
|
8924
8927
|
r,
|
|
8925
8928
|
o
|
|
8926
8929
|
), F.common.dataForFilterBySelectionChanged = ju({
|
|
8927
8930
|
previousSelectionOIDs: a,
|
|
8928
8931
|
selectionData: l,
|
|
8929
8932
|
filterBySelection: o
|
|
8930
|
-
}), F.common.binTemporalDataChanged =
|
|
8933
|
+
}), F.common.binTemporalDataChanged = Ta(e, i), F.common.valueFormatChangeRequiresNewData = Na(
|
|
8931
8934
|
e,
|
|
8932
8935
|
i
|
|
8933
8936
|
), F.common = {
|
|
@@ -8940,7 +8943,7 @@ function Wf(t) {
|
|
|
8940
8943
|
})
|
|
8941
8944
|
}, m) {
|
|
8942
8945
|
case h.HistogramSeries:
|
|
8943
|
-
F.histogram.dataPropsChanged =
|
|
8946
|
+
F.histogram.dataPropsChanged = ls(f, d) || os(
|
|
8944
8947
|
f,
|
|
8945
8948
|
d
|
|
8946
8949
|
);
|
|
@@ -8951,16 +8954,16 @@ function Wf(t) {
|
|
|
8951
8954
|
F.common.numberOfSeriesChanged = sr(f, d);
|
|
8952
8955
|
break;
|
|
8953
8956
|
case h.BoxPlotSeries:
|
|
8954
|
-
de(e) && de(i) && (F.common.numberOfSeriesChanged = sr(f, d), F.boxPlot.showMeanChanged =
|
|
8957
|
+
de(e) && de(i) && (F.common.numberOfSeriesChanged = sr(f, d), F.boxPlot.showMeanChanged = Aa(e, i));
|
|
8955
8958
|
break;
|
|
8956
8959
|
case h.GaugeSeries:
|
|
8957
|
-
F.gauge.valueConversionChanged =
|
|
8960
|
+
F.gauge.valueConversionChanged = wa(e, i), F.gauge.minMaxFromFieldsChanged = La(
|
|
8958
8961
|
e,
|
|
8959
8962
|
i
|
|
8960
8963
|
);
|
|
8961
8964
|
break;
|
|
8962
8965
|
case h.HeatSeries:
|
|
8963
|
-
Ge(e) && Ge(i) && (F.heatChart.binningChanged =
|
|
8966
|
+
Ge(e) && Ge(i) && (F.heatChart.binningChanged = Pa(e, i), F.heatChart.hideEmptyRowsAndColumnsChanged = Uu(
|
|
8964
8967
|
e,
|
|
8965
8968
|
i
|
|
8966
8969
|
), F.heatChart.includeLeapDay = Gu(e, i));
|
|
@@ -8975,7 +8978,7 @@ function Wf(t) {
|
|
|
8975
8978
|
}
|
|
8976
8979
|
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 };
|
|
8977
8980
|
}
|
|
8978
|
-
function
|
|
8981
|
+
function Xf(t, e) {
|
|
8979
8982
|
const i = Re(t);
|
|
8980
8983
|
if (i && i.series.length > 1) {
|
|
8981
8984
|
const { preferLabel: r, orderBy: a } = i.orderOptions?.series ?? {};
|
|
@@ -9016,7 +9019,7 @@ function Xu(t) {
|
|
|
9016
9019
|
const a = Ii(e);
|
|
9017
9020
|
return a?.length === 2 && (r = i === G.xField ? a[0]?.orderBy : a[1]?.orderBy), r;
|
|
9018
9021
|
}
|
|
9019
|
-
function
|
|
9022
|
+
function Ma(t) {
|
|
9020
9023
|
const e = H(t.series);
|
|
9021
9024
|
let i;
|
|
9022
9025
|
if (t.orderOptions?.data !== void 0) {
|
|
@@ -9044,7 +9047,7 @@ function Pa(t) {
|
|
|
9044
9047
|
}
|
|
9045
9048
|
return i;
|
|
9046
9049
|
}
|
|
9047
|
-
function
|
|
9050
|
+
function Ia(t) {
|
|
9048
9051
|
const e = t.series[0], { x: i, y: r } = e, a = H(t.series) === S.PieFromFields, n = H(t.series) === S.BarAndLineFromFields;
|
|
9049
9052
|
let s, o = "", l;
|
|
9050
9053
|
if (t.orderOptions?.data !== void 0) {
|
|
@@ -9086,21 +9089,21 @@ function _t(t) {
|
|
|
9086
9089
|
Ge(t) && (e = Ii(t));
|
|
9087
9090
|
break;
|
|
9088
9091
|
case h.BoxPlotSeries:
|
|
9089
|
-
de(t) && (r =
|
|
9092
|
+
de(t) && (r = Ma(t));
|
|
9090
9093
|
break;
|
|
9091
9094
|
case h.LineSeries:
|
|
9092
9095
|
case h.BarSeries:
|
|
9093
9096
|
case h.ComboLineAndBarSeries:
|
|
9094
9097
|
case h.RadarSeries:
|
|
9095
9098
|
case h.PieSeries:
|
|
9096
|
-
r =
|
|
9099
|
+
r = Ia(t);
|
|
9097
9100
|
break;
|
|
9098
9101
|
}
|
|
9099
9102
|
!e && r && (e = [], e.push(r));
|
|
9100
9103
|
}
|
|
9101
9104
|
return e;
|
|
9102
9105
|
}
|
|
9103
|
-
function
|
|
9106
|
+
function Yf(t) {
|
|
9104
9107
|
const { oldConfig: e, newConfig: i, dataWasUpdated: r } = t, a = Q(i.series), n = H(i.series);
|
|
9105
9108
|
let s = !1, o = !1;
|
|
9106
9109
|
if (n !== S.BoxPlotMonoField && n !== S.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
|
|
@@ -9115,321 +9118,322 @@ function Xf(t) {
|
|
|
9115
9118
|
}
|
|
9116
9119
|
return s;
|
|
9117
9120
|
}
|
|
9118
|
-
function
|
|
9119
|
-
return t?.fillSymbol ?? (
|
|
9120
|
-
}
|
|
9121
|
-
const
|
|
9122
|
-
getPieChartChartSubType:
|
|
9123
|
-
getBarLineChartSubType:
|
|
9124
|
-
hasQueryChanged:
|
|
9125
|
-
hasFilterBySelectionChanged:
|
|
9126
|
-
hasBinTemporalDataChanged:
|
|
9127
|
-
hasGaugeValueConversionChanged:
|
|
9128
|
-
hasGaugeMinMaxFromFieldsChanged:
|
|
9129
|
-
isNewDataRequiredForValueFormatChange:
|
|
9130
|
-
hasShowMeanChanged:
|
|
9131
|
-
hasHeatChartBinningChanged:
|
|
9132
|
-
getDataOrderParametersForBoxPlot:
|
|
9133
|
-
getDataOrderParametersForCommonChart:
|
|
9121
|
+
function Zf(t) {
|
|
9122
|
+
return t?.fillSymbol ?? (Ms(t?.symbol) ? t?.symbol : void 0);
|
|
9123
|
+
}
|
|
9124
|
+
const Jf = {
|
|
9125
|
+
getPieChartChartSubType: ba,
|
|
9126
|
+
getBarLineChartSubType: xa,
|
|
9127
|
+
hasQueryChanged: Ba,
|
|
9128
|
+
hasFilterBySelectionChanged: va,
|
|
9129
|
+
hasBinTemporalDataChanged: Ta,
|
|
9130
|
+
hasGaugeValueConversionChanged: wa,
|
|
9131
|
+
hasGaugeMinMaxFromFieldsChanged: La,
|
|
9132
|
+
isNewDataRequiredForValueFormatChange: Na,
|
|
9133
|
+
hasShowMeanChanged: Aa,
|
|
9134
|
+
hasHeatChartBinningChanged: Pa,
|
|
9135
|
+
getDataOrderParametersForBoxPlot: Ma,
|
|
9136
|
+
getDataOrderParametersForCommonChart: Ia,
|
|
9134
9137
|
getDataOrderParametersForHeatChart: Ii
|
|
9135
9138
|
};
|
|
9136
9139
|
function Yu(t) {
|
|
9137
9140
|
let e;
|
|
9138
9141
|
const i = t?.series?.find(
|
|
9139
|
-
(r) =>
|
|
9142
|
+
(r) => Qa(r) && "nullCategory" in r && r.nullCategory?.text !== void 0
|
|
9140
9143
|
);
|
|
9141
9144
|
return i && "nullCategory" in i && (e = i.nullCategory?.text), e;
|
|
9142
9145
|
}
|
|
9143
9146
|
export {
|
|
9144
|
-
|
|
9147
|
+
Ff as $,
|
|
9145
9148
|
oe as A,
|
|
9146
9149
|
Cr as B,
|
|
9147
9150
|
Dt as C,
|
|
9148
|
-
|
|
9149
|
-
|
|
9151
|
+
Qr as D,
|
|
9152
|
+
hn as E,
|
|
9150
9153
|
Oc as F,
|
|
9151
9154
|
id as G,
|
|
9152
9155
|
ir as H,
|
|
9153
|
-
|
|
9156
|
+
nf as I,
|
|
9154
9157
|
jl as J,
|
|
9155
|
-
|
|
9158
|
+
Qd as K,
|
|
9156
9159
|
We as L,
|
|
9157
9160
|
Me as M,
|
|
9158
9161
|
ne as N,
|
|
9159
9162
|
me as O,
|
|
9160
9163
|
q as P,
|
|
9161
9164
|
re as Q,
|
|
9162
|
-
|
|
9163
|
-
|
|
9165
|
+
Ca as R,
|
|
9166
|
+
sf as S,
|
|
9164
9167
|
od as T,
|
|
9165
9168
|
ue as U,
|
|
9166
|
-
|
|
9169
|
+
cs as V,
|
|
9167
9170
|
de as W,
|
|
9168
9171
|
Qc as X,
|
|
9169
9172
|
Ce as Y,
|
|
9170
9173
|
td as Z,
|
|
9171
9174
|
De as _,
|
|
9172
|
-
|
|
9173
|
-
|
|
9175
|
+
pd as a,
|
|
9176
|
+
kf as a$,
|
|
9174
9177
|
Rl as a0,
|
|
9175
9178
|
nr as a1,
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9179
|
+
Bf as a2,
|
|
9180
|
+
aa as a3,
|
|
9181
|
+
Es as a4,
|
|
9182
|
+
xf as a5,
|
|
9183
|
+
On as a6,
|
|
9184
|
+
Cf as a7,
|
|
9182
9185
|
qc as a8,
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9186
|
+
Gd as a9,
|
|
9187
|
+
Hf as aA,
|
|
9188
|
+
Ec as aB,
|
|
9189
|
+
Ed as aC,
|
|
9190
|
+
qf as aD,
|
|
9188
9191
|
Ef as aE,
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9192
|
+
sd as aF,
|
|
9193
|
+
li as aG,
|
|
9194
|
+
St as aH,
|
|
9195
|
+
qd as aI,
|
|
9196
|
+
ns as aJ,
|
|
9197
|
+
ed as aK,
|
|
9198
|
+
Xc as aL,
|
|
9199
|
+
Ge as aM,
|
|
9200
|
+
Ct as aN,
|
|
9201
|
+
hu as aO,
|
|
9202
|
+
Qi as aP,
|
|
9203
|
+
Ve as aQ,
|
|
9204
|
+
pe as aR,
|
|
9205
|
+
ld as aS,
|
|
9206
|
+
Dr as aT,
|
|
9207
|
+
wl as aU,
|
|
9208
|
+
gf as aV,
|
|
9209
|
+
Nl as aW,
|
|
9210
|
+
Pd as aX,
|
|
9211
|
+
Md as aY,
|
|
9212
|
+
Ld as aZ,
|
|
9213
|
+
Gf as a_,
|
|
9214
|
+
jd as aa,
|
|
9212
9215
|
bt as ab,
|
|
9213
|
-
|
|
9216
|
+
uf as ac,
|
|
9214
9217
|
Or as ad,
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9218
|
+
Dd as ae,
|
|
9219
|
+
Pl as af,
|
|
9220
|
+
Ki as ag,
|
|
9221
|
+
wd as ah,
|
|
9222
|
+
Zd as ai,
|
|
9223
|
+
vf as aj,
|
|
9224
|
+
rr as ak,
|
|
9225
|
+
Id as al,
|
|
9226
|
+
Ud as am,
|
|
9227
|
+
Od as an,
|
|
9228
|
+
Zf as ao,
|
|
9229
|
+
bf as ap,
|
|
9230
|
+
Ue as aq,
|
|
9231
|
+
Rd as ar,
|
|
9232
|
+
nd as as,
|
|
9233
|
+
le as at,
|
|
9234
|
+
Yf as au,
|
|
9235
|
+
Rf as av,
|
|
9236
|
+
Qf as aw,
|
|
9237
|
+
Vf as ax,
|
|
9238
|
+
$f as ay,
|
|
9239
|
+
_f as az,
|
|
9240
|
+
yd as b,
|
|
9241
|
+
Bd as b$,
|
|
9242
|
+
Lf as b0,
|
|
9243
|
+
Uf as b1,
|
|
9244
|
+
Wf as b2,
|
|
9245
|
+
Df as b3,
|
|
9246
|
+
Mf as b4,
|
|
9244
9247
|
Pf as b5,
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9248
|
+
If as b6,
|
|
9249
|
+
Uu as b7,
|
|
9250
|
+
ad as b8,
|
|
9251
|
+
Li as b9,
|
|
9249
9252
|
Yc as bA,
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9253
|
+
yf as bB,
|
|
9254
|
+
Sd as bC,
|
|
9255
|
+
cf as bD,
|
|
9256
|
+
qs as bE,
|
|
9254
9257
|
ud as bF,
|
|
9255
9258
|
ft as bG,
|
|
9256
9259
|
ou as bH,
|
|
9257
9260
|
Vl as bI,
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9261
|
+
hd as bJ,
|
|
9262
|
+
Nf as bK,
|
|
9263
|
+
$d as bL,
|
|
9264
|
+
kd as bM,
|
|
9265
|
+
Xf as bN,
|
|
9266
|
+
of as bO,
|
|
9264
9267
|
ti as bP,
|
|
9265
9268
|
zc as bQ,
|
|
9266
|
-
|
|
9267
|
-
|
|
9269
|
+
ff as bR,
|
|
9270
|
+
Sa as bS,
|
|
9268
9271
|
st as bT,
|
|
9269
9272
|
Mi as bU,
|
|
9270
|
-
|
|
9271
|
-
|
|
9273
|
+
En as bV,
|
|
9274
|
+
ta as bW,
|
|
9272
9275
|
Fe as bX,
|
|
9273
9276
|
xu as bY,
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
|
|
9277
|
+
mf as bZ,
|
|
9278
|
+
Os as b_,
|
|
9279
|
+
Cn as ba,
|
|
9280
|
+
_u as bb,
|
|
9281
|
+
jf as bc,
|
|
9282
|
+
Wd as bd,
|
|
9283
|
+
Xd as be,
|
|
9284
|
+
zr as bf,
|
|
9285
|
+
$ as bg,
|
|
9286
|
+
Hc as bh,
|
|
9287
|
+
Vd as bi,
|
|
9288
|
+
pa as bj,
|
|
9289
|
+
Gl as bk,
|
|
9290
|
+
cd as bl,
|
|
9291
|
+
df as bm,
|
|
9292
|
+
Wc as bn,
|
|
9293
|
+
Il as bo,
|
|
9294
|
+
er as bp,
|
|
9295
|
+
Ml as bq,
|
|
9296
|
+
$c as br,
|
|
9297
|
+
Tf as bs,
|
|
9298
|
+
ef as bt,
|
|
9299
|
+
io as bu,
|
|
9300
|
+
Yd as bv,
|
|
9301
|
+
Be as bw,
|
|
9302
|
+
_d as bx,
|
|
9303
|
+
sr as by,
|
|
9304
|
+
Hd as bz,
|
|
9302
9305
|
Kc as c,
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
|
-
|
|
9307
|
-
|
|
9306
|
+
Rn as c$,
|
|
9307
|
+
vd as c0,
|
|
9308
|
+
bd as c1,
|
|
9309
|
+
Ds as c2,
|
|
9310
|
+
xd as c3,
|
|
9308
9311
|
jc as c4,
|
|
9309
|
-
|
|
9312
|
+
da as c5,
|
|
9310
9313
|
_e as c6,
|
|
9311
9314
|
Ai as c7,
|
|
9312
9315
|
Zc as c8,
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9316
|
+
ya as c9,
|
|
9317
|
+
As as cA,
|
|
9318
|
+
Xn as cB,
|
|
9319
|
+
ru as cC,
|
|
9320
|
+
gu as cD,
|
|
9321
|
+
lf as cE,
|
|
9322
|
+
Nu as cF,
|
|
9323
|
+
$u as cG,
|
|
9324
|
+
rt as cH,
|
|
9325
|
+
Fi as cI,
|
|
9326
|
+
_t as cJ,
|
|
9327
|
+
ga as cK,
|
|
9328
|
+
gi as cL,
|
|
9329
|
+
yi as cM,
|
|
9330
|
+
hf as cN,
|
|
9331
|
+
Xu as cO,
|
|
9332
|
+
cu as cP,
|
|
9333
|
+
fa as cQ,
|
|
9334
|
+
du as cR,
|
|
9335
|
+
ma as cS,
|
|
9336
|
+
Tn as cT,
|
|
9337
|
+
Xt as cU,
|
|
9338
|
+
zn as cV,
|
|
9339
|
+
Lr as cW,
|
|
9340
|
+
Yu as cX,
|
|
9341
|
+
Nr as cY,
|
|
9342
|
+
wr as cZ,
|
|
9343
|
+
Vn as c_,
|
|
9344
|
+
Jd as ca,
|
|
9345
|
+
pf as cb,
|
|
9343
9346
|
Y as cc,
|
|
9344
|
-
|
|
9347
|
+
fd as cd,
|
|
9345
9348
|
ei as ce,
|
|
9346
9349
|
Eu as cf,
|
|
9347
9350
|
qu as cg,
|
|
9348
9351
|
bu as ch,
|
|
9349
9352
|
Cu as ci,
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9353
|
+
md as cj,
|
|
9354
|
+
gd as ck,
|
|
9355
|
+
Is as cl,
|
|
9356
|
+
Ad as cm,
|
|
9354
9357
|
Su as cn,
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9358
|
+
ca as co,
|
|
9359
|
+
Rs as cp,
|
|
9360
|
+
dd as cq,
|
|
9361
|
+
Jf as cr,
|
|
9362
|
+
He as cs,
|
|
9363
|
+
tf as ct,
|
|
9364
|
+
Tr as cu,
|
|
9365
|
+
_c as cv,
|
|
9363
9366
|
Bn as cw,
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9367
|
+
vn as cx,
|
|
9368
|
+
vu as cy,
|
|
9369
|
+
Bu as cz,
|
|
9370
|
+
af as d,
|
|
9371
|
+
$t as d0,
|
|
9372
|
+
Ps as d1,
|
|
9373
|
+
Zn as d2,
|
|
9374
|
+
lu as d3,
|
|
9375
|
+
yu as d4,
|
|
9376
|
+
nu as d5,
|
|
9377
|
+
pu as d6,
|
|
9378
|
+
mu as d7,
|
|
9379
|
+
fu as d8,
|
|
9380
|
+
bo as d9,
|
|
9378
9381
|
An as dA,
|
|
9379
|
-
|
|
9382
|
+
wn as dB,
|
|
9380
9383
|
Pn as dC,
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9384
|
+
Mn as dD,
|
|
9385
|
+
Ln as dE,
|
|
9386
|
+
Gc as dF,
|
|
9387
|
+
Bt as dG,
|
|
9388
|
+
Dn as dH,
|
|
9389
|
+
Dl as dI,
|
|
9390
|
+
Xi as dJ,
|
|
9391
|
+
Ru as dK,
|
|
9392
|
+
Wu as da,
|
|
9393
|
+
ju as db,
|
|
9394
|
+
Gu as dc,
|
|
9395
|
+
Cd as dd,
|
|
9396
|
+
Fd as de,
|
|
9393
9397
|
bn as df,
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9398
|
+
xn as dg,
|
|
9399
|
+
Td as dh,
|
|
9400
|
+
kt as di,
|
|
9401
|
+
Vc as dj,
|
|
9402
|
+
qn as dk,
|
|
9403
|
+
Rc as dl,
|
|
9404
|
+
Fu as dm,
|
|
9405
|
+
kc as dn,
|
|
9406
|
+
vr as dp,
|
|
9407
|
+
ql as dq,
|
|
9408
|
+
Sf as dr,
|
|
9405
9409
|
_n as ds,
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9410
|
+
Hn as dt,
|
|
9411
|
+
kn as du,
|
|
9412
|
+
bi as dv,
|
|
9413
|
+
dt as dw,
|
|
9414
|
+
Uc as dx,
|
|
9415
|
+
Qt as dy,
|
|
9416
|
+
Ie as dz,
|
|
9413
9417
|
rd as e,
|
|
9414
9418
|
Ti as f,
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9419
|
+
wf as g,
|
|
9420
|
+
Of as h,
|
|
9421
|
+
Ms as i,
|
|
9422
|
+
zf as j,
|
|
9423
|
+
zd as k,
|
|
9424
|
+
rf as l,
|
|
9421
9425
|
Jc as m,
|
|
9422
9426
|
Dc as n,
|
|
9423
|
-
|
|
9427
|
+
Af as o,
|
|
9424
9428
|
H as p,
|
|
9425
9429
|
W as q,
|
|
9426
9430
|
we as r,
|
|
9427
|
-
|
|
9431
|
+
Kd as s,
|
|
9428
9432
|
ve as t,
|
|
9429
9433
|
zl as u,
|
|
9430
9434
|
qt as v,
|
|
9431
9435
|
fe as w,
|
|
9432
|
-
|
|
9436
|
+
Nd as x,
|
|
9433
9437
|
Ne as y,
|
|
9434
9438
|
Ot as z
|
|
9435
9439
|
};
|