@arcgis/charts-components 5.2.0-next.31 → 5.2.0-next.33
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/{WU62O2AU.js → 2CVA3SGN.js} +1 -1
- package/dist/cdn/35HUQECK.js +3 -0
- package/dist/cdn/{NKVZYKL5.js → 3EA7ST6X.js} +1 -1
- package/dist/cdn/{Y6CFEFZM.js → 3S7YCMP7.js} +1 -1
- package/dist/cdn/{DRFJC64L.js → 3X6QTGFF.js} +1 -1
- package/dist/cdn/{3MKY6UCO.js → 4ARHEXVJ.js} +1 -1
- package/dist/cdn/{PKQOLKTW.js → 4DEDSWYV.js} +1 -1
- package/dist/cdn/{Z43DVT6G.js → 4JKNHY7O.js} +1 -1
- package/dist/cdn/{MBPFBE3E.js → 4Q6TQOL5.js} +1 -1
- package/dist/cdn/{AZR6HVRW.js → 4XEJP6PY.js} +1 -1
- package/dist/cdn/{IWMWJN7M.js → 5JUMTA26.js} +1 -1
- package/dist/cdn/{RKG6CXUU.js → 5ZX5DKDK.js} +1 -1
- package/dist/cdn/{4TRUG37X.js → 6GARCIVS.js} +1 -1
- package/dist/cdn/{XRLVJJBT.js → 6LH7Y7PU.js} +1 -1
- package/dist/cdn/{6OCDFMFB.js → 7CSXC5DN.js} +1 -1
- package/dist/cdn/{O5NKLK7V.js → 7QIR4BM4.js} +1 -1
- package/dist/cdn/7YOJVEYS.js +2 -0
- package/dist/cdn/{3NKDMMC2.js → B6N4OMNY.js} +1 -1
- package/dist/cdn/{2SPGX6AF.js → BDWJKXSF.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{ADYDCO3M.js → BYZU546L.js} +1 -1
- package/dist/cdn/{YFHB2EFH.js → CALA7HKD.js} +1 -1
- package/dist/cdn/{SSKHF7PO.js → DGJLXGIE.js} +1 -1
- package/dist/cdn/{BQXXD2HU.js → DRE7JXAI.js} +1 -1
- package/dist/cdn/{MVUIKY5Y.js → EFBBG67Q.js} +1 -1
- package/dist/cdn/{5UO6L27Q.js → EJIWN63T.js} +1 -1
- package/dist/cdn/{3UTF2CB3.js → F3XMYLVZ.js} +1 -1
- package/dist/cdn/{T5TFLMQL.js → FSUNWDBJ.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → G6EAXNDR.js} +1 -1
- package/dist/cdn/{X7Z4LEZH.js → G7Z6J5RV.js} +1 -1
- package/dist/cdn/{REZ2QR42.js → GLTERJLR.js} +1 -1
- package/dist/cdn/{6ANVHVX4.js → H3DNER4V.js} +1 -1
- package/dist/cdn/{3QO6REDF.js → H5EKLENR.js} +8 -8
- package/dist/cdn/{IPALCXFF.js → HE66HTT4.js} +1 -1
- package/dist/cdn/{7VQXBQMZ.js → HMHTGLG4.js} +1 -1
- package/dist/cdn/{3YN4EKSJ.js → IB7JS7SY.js} +1 -1
- package/dist/cdn/{YWKPGNHB.js → ICIEVVSN.js} +1 -1
- package/dist/cdn/{5XCU5SR2.js → IDWUHTEH.js} +1 -1
- package/dist/cdn/{4BEGCEGA.js → IR2S2FUR.js} +3 -3
- package/dist/cdn/{Y3CXVO2M.js → J2YNPNIL.js} +1 -1
- package/dist/cdn/{K27GKXGP.js → JKJOFEHQ.js} +1 -1
- package/dist/cdn/{DAF2U7TN.js → KDV2P46R.js} +1 -1
- package/dist/cdn/{HBS6O3P3.js → KEQTMZ4H.js} +1 -1
- package/dist/cdn/{THTYR6IL.js → KHT4LCWN.js} +1 -1
- package/dist/cdn/{CRCAJAFA.js → KZ2OB6RV.js} +1 -1
- package/dist/cdn/{PAIRUVLU.js → LLUS6VGO.js} +1 -1
- package/dist/cdn/{TCS4HOSG.js → LLYDWCNL.js} +1 -1
- package/dist/cdn/LRTICIHK.js +2 -0
- package/dist/cdn/{3TBK72EK.js → LV3T5QZF.js} +1 -1
- package/dist/cdn/{MEA74C44.js → LW6GBG3R.js} +1 -1
- package/dist/cdn/MNGK37MT.js +61 -0
- package/dist/cdn/{SOGVYNPI.js → N7MBLVLD.js} +1 -1
- package/dist/cdn/{6VK54DG5.js → NEXAUEB6.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → NKUXUCUP.js} +1 -1
- package/dist/cdn/{2ODYZG66.js → NLWVJIKG.js} +1 -1
- package/dist/cdn/{GCRQHIGQ.js → O4RIY6NM.js} +1 -1
- package/dist/cdn/{Q2GW5LB7.js → OLMLZIOC.js} +1 -1
- package/dist/cdn/{YWCIV7ZZ.js → OZAHUXAZ.js} +1 -1
- package/dist/cdn/PKCJ77IC.js +2 -0
- package/dist/cdn/{6CB5R4QQ.js → PLACSZ4B.js} +1 -1
- package/dist/cdn/{N673JFHK.js → Q5VL76MN.js} +1 -1
- package/dist/cdn/{M4ZJRIYM.js → QBSSM5SD.js} +1 -1
- package/dist/cdn/{BZFGE4LO.js → QHQ3LXOS.js} +1 -1
- package/dist/cdn/{35NSJ3NJ.js → QJ5SV5WD.js} +1 -1
- package/dist/cdn/{BKU72IQC.js → QMOKFIDS.js} +1 -1
- package/dist/cdn/{WHVW3P3O.js → QNNG52P2.js} +1 -1
- package/dist/cdn/{AICTKGE3.js → QXXJNANY.js} +1 -1
- package/dist/cdn/{XRP6IFM4.js → QZIWEL6O.js} +1 -1
- package/dist/cdn/{JIV6BQKG.js → RE5VVA6N.js} +1 -1
- package/dist/cdn/{QV3NMKKZ.js → RP3UHRU3.js} +1 -1
- package/dist/cdn/{M7QZTQSD.js → S3XHOO4D.js} +1 -1
- package/dist/cdn/{TOFVWGTG.js → S76GRSZU.js} +1 -1
- package/dist/cdn/{X7YEBHBF.js → SCALEEJU.js} +1 -1
- package/dist/cdn/{7Z7NOIH2.js → SUAMHPKM.js} +1 -1
- package/dist/cdn/{TSA7UMSZ.js → SYFQUCIP.js} +1 -1
- package/dist/cdn/{CLN32L2L.js → SZXRIKL2.js} +1 -1
- package/dist/cdn/{QGEFY4ND.js → TCRIDGAS.js} +1 -1
- package/dist/cdn/{KQLAAGKI.js → TDNNODY2.js} +1 -1
- package/dist/cdn/{6GV2QPKV.js → TSEKFO24.js} +1 -1
- package/dist/cdn/{3SBYV6BW.js → TYDIOOT2.js} +1 -1
- package/dist/cdn/{4P7URPRQ.js → UBWQISYD.js} +1 -1
- package/dist/cdn/{JBR6IJMK.js → UGDK7VVY.js} +1 -1
- package/dist/cdn/{WJHIJTWS.js → WIP2MXFL.js} +1 -1
- package/dist/cdn/{LFXRCL7K.js → WV3NTL6A.js} +1 -1
- package/dist/cdn/{HIW5WRHR.js → XJATEY2N.js} +1 -1
- package/dist/cdn/{C4TQOUPO.js → XYT5GAQI.js} +1 -1
- package/dist/cdn/{G5EGTXMY.js → Y3SFQXIO.js} +1 -1
- package/dist/cdn/Z2CMTIET.js +2 -0
- package/dist/cdn/{ZW4PF3UK.js → Z2NN43OK.js} +1 -1
- package/dist/cdn/{YQIFZJTZ.js → Z6ZPSA7P.js} +1 -1
- package/dist/cdn/{BI54CNMR.js → ZBMTOUMZ.js} +1 -1
- package/dist/cdn/{6XIDALQU.js → ZIPXZUFN.js} +1 -1
- package/dist/cdn/{KFPJI52X.js → ZJKFLXTH.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +36 -36
- package/dist/chunks/box-plot-model.js +5 -5
- package/dist/chunks/chart-model.js +38 -38
- package/dist/chunks/class-breaks.js +7 -7
- package/dist/chunks/combo-bar-line-chart-model.js +27 -27
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +22 -22
- package/dist/chunks/data.js +18 -18
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/generate-x-axis-title.js +9 -9
- package/dist/chunks/heat-chart-model.js +5 -5
- package/dist/chunks/histogram-data.js +15 -15
- package/dist/chunks/histogram-model.js +4 -4
- package/dist/chunks/index.js +84 -83
- package/dist/chunks/index2.js +929 -914
- package/dist/chunks/index3.js +13 -13
- package/dist/chunks/index4.js +149 -49
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-y-guides.js +6 -6
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +16 -16
- package/dist/chunks/pie-chart-model.js +20 -20
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +86 -86
- package/dist/chunks/serial-chart-model.js +13 -13
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +24 -20
- package/dist/chunks/type-guards3.js +1 -1
- package/dist/chunks/utils.js +15 -15
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +41 -41
- package/dist/chunks/x-bounds.js +16 -16
- package/dist/components/arcgis-chart/customElement.d.ts +2 -1
- package/dist/components/arcgis-chart/customElement.js +6501 -6393
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/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-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-histogram-popover/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-line-chart-series-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 +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/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 +462 -459
- package/dist/json-schema/index.d.ts +92 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +3 -2
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/shared/type-guards.d.ts +7 -0
- package/dist/spec/web-chart.d.ts +8 -0
- package/dist/utils/chart-config/converter/index.js +16 -16
- package/dist/utils/defaults/index.d.ts +4 -1
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/package.json +4 -5
- package/dist/cdn/BJBNELDD.js +0 -3
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/PEYVSFSE.js +0 -58
- package/dist/cdn/SAYLTYWY.js +0 -2
- package/dist/cdn/U3MRRFML.js +0 -2
- package/dist/cdn/VWTJHXHI.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
package/dist/chunks/index2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { isEqual as at, sortBy as Ai, cloneDeep as He, memoize as qt, isArray as ui, isNil as hr, isEmpty as Sr } from "lodash-es";
|
|
3
|
-
import { u as
|
|
3
|
+
import { u as S, k as Fr, r as D, v as Ke, m as Se, p as ye, n as De, q as Te, g as Z, j as br, s as R, t as ee, d as he, a as Xi, G as xr } from "./chart-object-literals.js";
|
|
4
4
|
import wi from "@arcgis/core/layers/support/FeatureFilter.js";
|
|
5
5
|
import Cr from "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
6
6
|
import Li from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -17,17 +17,17 @@ import Pr from "@arcgis/core/portal/Portal.js";
|
|
|
17
17
|
import * as ea from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
18
18
|
import Lt from "@arcgis/core/request.js";
|
|
19
19
|
import ta from "@arcgis/core/rest/support/FeatureSet.js";
|
|
20
|
-
import { g as
|
|
21
|
-
import { F as
|
|
20
|
+
import { g as j } from "./series-types.js";
|
|
21
|
+
import { F as x, q as oe, C as F, e as Xt, z as ia, l as ci, o as Pi, v as aa, d as Jt, x as Mr, g as ra, s as Wt, w as Dr, i as Or, r as Ae, t as Vt } from "./index3.js";
|
|
22
22
|
import Ir from "@arcgis/core/Graphic.js";
|
|
23
23
|
import * as Gt from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
24
24
|
import { f as Kt, h as et, i as _e, e as se, R as U } from "./rest-js-object-literals.js";
|
|
25
25
|
import Er from "@arcgis/core/AttributeBinsGraphic.js";
|
|
26
26
|
import { substitute as Be } from "@arcgis/core/intl.js";
|
|
27
|
-
import { g as Rt, L as lt,
|
|
27
|
+
import { g as Rt, L as lt, aA as W, k as _, s as ut, p as Oe, ay as ei, an as na, aC as sa, ar as qr, t as $t, az as Vr, b as Rr, a as $r } from "./index.js";
|
|
28
28
|
import { unsafeGetElementDirection as kr } from "@arcgis/toolkit/dom";
|
|
29
29
|
import { fetchT9nStringsBundle as mt, getElementLocale as ze, supportedLocales as oa } from "@arcgis/toolkit/intl";
|
|
30
|
-
import { i as la, b as ua,
|
|
30
|
+
import { i as la, b as ua, d as ie, a as yt, g as Qr, c as _r } from "./type-guards.js";
|
|
31
31
|
import * as ca from "@arcgis/core/core/promiseUtils.js";
|
|
32
32
|
import { g as gt } from "./runtime.js";
|
|
33
33
|
import { linearRegression as jr, linearRegressionLine as Hr, rSquared as zr } from "simple-statistics";
|
|
@@ -62,16 +62,16 @@ function sc(t) {
|
|
|
62
62
|
return t.intlOptions;
|
|
63
63
|
}
|
|
64
64
|
function ne(t) {
|
|
65
|
-
return t?.type ===
|
|
65
|
+
return t?.type === S.NumberAxisFormat;
|
|
66
66
|
}
|
|
67
67
|
function oc(t) {
|
|
68
68
|
return ne(t) && t.intlOptions?.style === "percent";
|
|
69
69
|
}
|
|
70
70
|
function we(t) {
|
|
71
|
-
return t?.type ===
|
|
71
|
+
return t?.type === S.CategoryAxisFormat;
|
|
72
72
|
}
|
|
73
73
|
function je(t) {
|
|
74
|
-
return t?.type ===
|
|
74
|
+
return t?.type === S.DateAxisFormat;
|
|
75
75
|
}
|
|
76
76
|
function lc(t) {
|
|
77
77
|
const { oldConfig: e, newConfig: i, rotationChanged: a } = t;
|
|
@@ -108,28 +108,28 @@ function uc(t) {
|
|
|
108
108
|
const { chartType: e, axesConfig: i, errorStrings: a } = t;
|
|
109
109
|
let r, n;
|
|
110
110
|
switch (e) {
|
|
111
|
-
case
|
|
111
|
+
case S.GaugeSeries:
|
|
112
112
|
r = un, n = "invalidValueFormatForGauge";
|
|
113
113
|
break;
|
|
114
|
-
case
|
|
114
|
+
case S.ScatterSeries:
|
|
115
115
|
r = on, n = "invalidValueFormatForScatterplot";
|
|
116
116
|
break;
|
|
117
|
-
case
|
|
117
|
+
case S.HistogramSeries:
|
|
118
118
|
r = ln, n = "invalidValueFormatForHistogram";
|
|
119
119
|
break;
|
|
120
|
-
case
|
|
120
|
+
case S.LineSeries:
|
|
121
121
|
r = tn, n = "invalidValueFormatForLineChart";
|
|
122
122
|
break;
|
|
123
|
-
case
|
|
123
|
+
case S.BarSeries:
|
|
124
124
|
r = an, n = "invalidValueFormatForBarChart";
|
|
125
125
|
break;
|
|
126
|
-
case
|
|
126
|
+
case S.ComboLineAndBarSeries:
|
|
127
127
|
r = sn, n = "invalidValueFormatForComboBarLineChart";
|
|
128
128
|
break;
|
|
129
|
-
case
|
|
129
|
+
case S.BoxPlotSeries:
|
|
130
130
|
r = rn, n = "invalidValueFormatForBoxPlot";
|
|
131
131
|
break;
|
|
132
|
-
case
|
|
132
|
+
case S.HeatSeries:
|
|
133
133
|
r = nn, n = "invalidValueFormatForHeatChart";
|
|
134
134
|
break;
|
|
135
135
|
}
|
|
@@ -137,13 +137,13 @@ function uc(t) {
|
|
|
137
137
|
}
|
|
138
138
|
function cn(t) {
|
|
139
139
|
const { isXAxis: e, chartType: i, valueFormat: a, isAxisForHistogramOverlaySeries: r } = t;
|
|
140
|
-
return e && (we(a) || i ===
|
|
140
|
+
return e && (we(a) || i === S.HistogramSeries && !r || i === S.BarSeries && ne(a));
|
|
141
141
|
}
|
|
142
142
|
function We(t) {
|
|
143
|
-
return
|
|
143
|
+
return j(t?.series) === S.HeatSeries;
|
|
144
144
|
}
|
|
145
145
|
function de(t) {
|
|
146
|
-
return
|
|
146
|
+
return j(t?.series) === S.BoxPlotSeries;
|
|
147
147
|
}
|
|
148
148
|
function dn(t) {
|
|
149
149
|
return t !== void 0 && t !== Kt.Solid && t !== Kt.Null;
|
|
@@ -174,24 +174,24 @@ function cc(t, e) {
|
|
|
174
174
|
return i;
|
|
175
175
|
}
|
|
176
176
|
const ce = "arcgis_charts_pie_from_fields_name", Ne = "arcgis_charts_pie_from_fields_value", dc = "arcgis_charts_bar_line_from_fields_name", fc = "arcgis_charts_bar_line_from_fields_value", pt = {
|
|
177
|
-
...
|
|
177
|
+
...x,
|
|
178
178
|
titleAndSubtitlePaddingBottom: 5,
|
|
179
179
|
chartPadding: 5,
|
|
180
|
-
footerContainer: { ...
|
|
181
|
-
headerContainer: { ...
|
|
182
|
-
chartContainer: { ...
|
|
183
|
-
dataLabel: { ...
|
|
180
|
+
footerContainer: { ...x.footerContainer, paddingTop: 0, paddingBottom: 0 },
|
|
181
|
+
headerContainer: { ...x.headerContainer, paddingBottom: 18 },
|
|
182
|
+
chartContainer: { ...x.chartContainer },
|
|
183
|
+
dataLabel: { ...x.dataLabel, verticalCenter: "bottom" },
|
|
184
184
|
scrollbarPadding: 12,
|
|
185
185
|
zIndexes: {
|
|
186
|
-
//
|
|
187
|
-
|
|
188
|
-
//
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
//
|
|
192
|
-
|
|
193
|
-
//
|
|
194
|
-
|
|
186
|
+
// use this for scatterplot trend line so it will be above the markers
|
|
187
|
+
// use this for heat chart axis line so that it matches the XYChartDefaultTheme foreground layers
|
|
188
|
+
// use this for data labels for line/radar series so that they are above the markers
|
|
189
|
+
// use this for guide labels so that they are above the guide fill regardless of whether the guide is above or below the chart.
|
|
190
|
+
defaultLayer30: 30,
|
|
191
|
+
// use this for guide lines so that they are above chart elements when guide is above the chart
|
|
192
|
+
customLayer10: 10,
|
|
193
|
+
// use this for line/radar series so markers are above the axis line
|
|
194
|
+
customLayer5: 5
|
|
195
195
|
},
|
|
196
196
|
verticalSurfaceGuideLabels: {
|
|
197
197
|
// The alignments are directly handled by adjustGuideLabelsPositionCallback()
|
|
@@ -249,7 +249,7 @@ const ce = "arcgis_charts_pie_from_fields_name", Ne = "arcgis_charts_pie_from_fi
|
|
|
249
249
|
symbol: {
|
|
250
250
|
type: _e.SFS,
|
|
251
251
|
style: Kt.Solid,
|
|
252
|
-
color:
|
|
252
|
+
color: x.grayColor
|
|
253
253
|
},
|
|
254
254
|
text: "null"
|
|
255
255
|
},
|
|
@@ -354,8 +354,8 @@ function yn(t) {
|
|
|
354
354
|
return t?.capabilities?.queryAttributeBins?.supportsFixedInterval === !0 && t?.capabilities?.queryAttributeBins?.supportsStackBy;
|
|
355
355
|
}
|
|
356
356
|
function xc(t) {
|
|
357
|
-
const { chartConfig: e, queryObject: i, options: a } = t, r =
|
|
358
|
-
return !(r ===
|
|
357
|
+
const { chartConfig: e, queryObject: i, options: a } = t, r = j(e?.series), n = te(e?.series[0]?.query?.where);
|
|
358
|
+
return !(r === S.HeatSeries || e && Pe({
|
|
359
359
|
xAxisValueFormatType: xe(e),
|
|
360
360
|
setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
|
|
361
361
|
seriesConfig: e.series[0],
|
|
@@ -503,10 +503,10 @@ const Qe = [
|
|
|
503
503
|
"25.0.0",
|
|
504
504
|
"25.1.0"
|
|
505
505
|
], hn = "1.0.0", Sn = "unrecognized.version", Fn = [
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
506
|
+
S.LineSeries,
|
|
507
|
+
S.BarSeries,
|
|
508
|
+
S.ComboLineAndBarSeries,
|
|
509
|
+
S.RadarSeries
|
|
510
510
|
];
|
|
511
511
|
function Ut(t, e) {
|
|
512
512
|
let i = 0;
|
|
@@ -550,7 +550,7 @@ function Nc(t) {
|
|
|
550
550
|
}
|
|
551
551
|
function Re(t) {
|
|
552
552
|
const { series: e } = t;
|
|
553
|
-
let a = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((r) => r.type ===
|
|
553
|
+
let a = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((r) => r.type === S.LineSeries) : e[0];
|
|
554
554
|
return a ??= e[0], a;
|
|
555
555
|
}
|
|
556
556
|
function Tc(t, e) {
|
|
@@ -597,23 +597,23 @@ function pa(t) {
|
|
|
597
597
|
}
|
|
598
598
|
function xn(t) {
|
|
599
599
|
let e = F.BoxPlotMonoField;
|
|
600
|
-
const i = t.length === 1, a = t.find((o) => o.type ===
|
|
600
|
+
const i = t.length === 1, a = t.find((o) => o.type === S.LineSeries) ?? t[0], { x: r } = a, n = "y" in a ? a.y : "", s = a.query?.where;
|
|
601
601
|
return r === Rt ? typeof n == "object" && n.length > 1 ? Ie(s) ? i && (e = F.BoxPlotMultiFields) : e = F.BoxPlotMultiFieldsAndSplitBy : i ? e = F.BoxPlotMonoField : Ie(s) || (e = F.BoxPlotMonoFieldAndSplitBy) : i ? e = F.BoxPlotMonoFieldAndCategory : Ie(s) ? e = F.BoxPlotMultiFieldsAndCategory : e = F.BoxPlotMonoFieldAndCategoryAndSplitBy, e;
|
|
602
602
|
}
|
|
603
603
|
function k(t) {
|
|
604
604
|
let e = F.NonSpecific;
|
|
605
605
|
if (t?.[0] !== void 0)
|
|
606
|
-
switch (
|
|
607
|
-
case
|
|
606
|
+
switch (j(t)) {
|
|
607
|
+
case S.PieSeries:
|
|
608
608
|
e = ga(t);
|
|
609
609
|
break;
|
|
610
|
-
case
|
|
611
|
-
case
|
|
612
|
-
case
|
|
613
|
-
case
|
|
610
|
+
case S.RadarSeries:
|
|
611
|
+
case S.BarSeries:
|
|
612
|
+
case S.LineSeries:
|
|
613
|
+
case S.ComboLineAndBarSeries:
|
|
614
614
|
e = pa(t);
|
|
615
615
|
break;
|
|
616
|
-
case
|
|
616
|
+
case S.BoxPlotSeries:
|
|
617
617
|
e = xn(t);
|
|
618
618
|
break;
|
|
619
619
|
}
|
|
@@ -624,8 +624,8 @@ function Cn(t) {
|
|
|
624
624
|
}
|
|
625
625
|
function vn(t) {
|
|
626
626
|
let e = !0;
|
|
627
|
-
const i =
|
|
628
|
-
if (i ===
|
|
627
|
+
const i = j(t.series);
|
|
628
|
+
if (i === S.BarSeries || i === S.LineSeries || i === S.ComboLineAndBarSeries) {
|
|
629
629
|
const a = k(t.series);
|
|
630
630
|
e = a !== F.BarAndLineNoAggregation && a !== F.BarAndLineSplitByNoAggregation;
|
|
631
631
|
}
|
|
@@ -635,25 +635,25 @@ function ha(t) {
|
|
|
635
635
|
const { statsMap: e, dataContext: i, chartLimits: a } = t;
|
|
636
636
|
let r = !1;
|
|
637
637
|
if (e !== void 0) {
|
|
638
|
-
const { maxScatterPointsBeforeAggregation: n } = ut(a), { queryNumberOfFeatures: s } =
|
|
638
|
+
const { maxScatterPointsBeforeAggregation: n } = ut(a), { queryNumberOfFeatures: s } = x.scatterplotAggregationFields;
|
|
639
639
|
r = (e.get(s) ?? Number.NaN) >= n;
|
|
640
|
-
} else i !== void 0 && (r =
|
|
640
|
+
} else i !== void 0 && (r = x.scatterplotAggregationFields.dataContextXMinField in i);
|
|
641
641
|
return r;
|
|
642
642
|
}
|
|
643
643
|
function Bn(t) {
|
|
644
644
|
const { dataContext: e, chartConfig: i, chartLimits: a } = t;
|
|
645
645
|
let r = !0;
|
|
646
646
|
if (i !== void 0)
|
|
647
|
-
switch (
|
|
648
|
-
case
|
|
649
|
-
case
|
|
650
|
-
case
|
|
647
|
+
switch (j(i.series)) {
|
|
648
|
+
case S.BarSeries:
|
|
649
|
+
case S.LineSeries:
|
|
650
|
+
case S.ComboLineAndBarSeries:
|
|
651
651
|
r = vn(i);
|
|
652
652
|
break;
|
|
653
|
-
case
|
|
653
|
+
case S.ScatterSeries:
|
|
654
654
|
r = ha({ dataContext: e, chartLimits: a });
|
|
655
655
|
break;
|
|
656
|
-
case
|
|
656
|
+
case S.PieSeries:
|
|
657
657
|
r = Cn(i);
|
|
658
658
|
break;
|
|
659
659
|
}
|
|
@@ -662,7 +662,7 @@ function Bn(t) {
|
|
|
662
662
|
function Pe(t) {
|
|
663
663
|
const { seriesConfig: e, xAxisValueFormatType: i, setTimeBinningInfoWhenNotProvided: a, queryObject: r } = t;
|
|
664
664
|
let n = !1;
|
|
665
|
-
if (!ie(r) && !(z(r)?.fields?.find((o) => o.name === e.x)?.type === "time-only") && be(e) && e.binTemporalData !== !1 && i ===
|
|
665
|
+
if (!ie(r) && !(z(r)?.fields?.find((o) => o.name === e.x)?.type === "time-only") && be(e) && e.binTemporalData !== !1 && i === S.DateAxisFormat) {
|
|
666
666
|
const o = k([e]);
|
|
667
667
|
if (e.temporalBinning && o !== F.BarAndLineNoAggregation && o !== F.BarAndLineSplitByNoAggregation) {
|
|
668
668
|
const { unit: u, size: c } = e.temporalBinning;
|
|
@@ -700,8 +700,8 @@ function Tn(t, e) {
|
|
|
700
700
|
if (e[0].x !== t[0].x)
|
|
701
701
|
i = !0;
|
|
702
702
|
else {
|
|
703
|
-
const a =
|
|
704
|
-
if (a !==
|
|
703
|
+
const a = j(t);
|
|
704
|
+
if (a !== S.HistogramSeries && a !== S.GaugeSeries) {
|
|
705
705
|
const r = ue(t).sort(), n = ue(e).sort();
|
|
706
706
|
i = JSON.stringify(r) !== JSON.stringify(n);
|
|
707
707
|
}
|
|
@@ -712,10 +712,10 @@ function Fa(t, e) {
|
|
|
712
712
|
return (t ?? !1) !== (e ?? !1);
|
|
713
713
|
}
|
|
714
714
|
function ba(t, e) {
|
|
715
|
-
return be(t.series[0]) && be(e.series[0]) && (t.series[0].binTemporalData ??
|
|
715
|
+
return be(t.series[0]) && be(e.series[0]) && (t.series[0].binTemporalData ?? x.binTemporalData) !== (e.series[0].binTemporalData ?? x.binTemporalData);
|
|
716
716
|
}
|
|
717
717
|
function xa(t, e) {
|
|
718
|
-
const i = t.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, r = k(e.series), n = r === F.BarAndLineNoAggregation || r === F.BarAndLineSplitByNoAggregation, s = i ===
|
|
718
|
+
const i = t.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, r = k(e.series), n = r === F.BarAndLineNoAggregation || r === F.BarAndLineSplitByNoAggregation, s = i === S.DateAxisFormat && a === S.NumberAxisFormat, o = i === S.NumberAxisFormat && a === S.DateAxisFormat;
|
|
719
719
|
return i !== a && (n || s || o);
|
|
720
720
|
}
|
|
721
721
|
function An(t) {
|
|
@@ -753,7 +753,7 @@ function Ln(t, e) {
|
|
|
753
753
|
function Pn(t) {
|
|
754
754
|
const { previousConfig: e, newConfig: i, fieldList: a } = t, r = e.series[0], n = i.series[0];
|
|
755
755
|
let s = !1;
|
|
756
|
-
if (r.type ===
|
|
756
|
+
if (r.type === S.ScatterSeries && n.type === S.ScatterSeries && a && a.length > 0) {
|
|
757
757
|
const o = new Set(r.additionalTooltipFields || []), u = new Set(n.additionalTooltipFields || []);
|
|
758
758
|
if (!at(o, u)) {
|
|
759
759
|
const c = Array.from(u).filter((l) => !o.has(l));
|
|
@@ -773,11 +773,11 @@ function Pt(t) {
|
|
|
773
773
|
return e.position === void 0 && (e.position = pt.heatChart.legend.position), e;
|
|
774
774
|
}
|
|
775
775
|
function Lc(t, e) {
|
|
776
|
-
const i = t.legend ?? { type:
|
|
776
|
+
const i = t.legend ?? { type: S.Legend }, a = e.legend ?? { type: S.Legend }, r = Pt(i), n = Pt(a);
|
|
777
777
|
return !at(r, n);
|
|
778
778
|
}
|
|
779
779
|
function Pc(t, e) {
|
|
780
|
-
const i = t.legend ?? { type:
|
|
780
|
+
const i = t.legend ?? { type: S.Legend }, a = e.legend ?? { type: S.Legend }, r = Pt(i), n = Pt(a);
|
|
781
781
|
return r.position !== n.position;
|
|
782
782
|
}
|
|
783
783
|
function Mc(t, e) {
|
|
@@ -789,8 +789,8 @@ function Dc(t, e) {
|
|
|
789
789
|
function Oc(t) {
|
|
790
790
|
const { oldConfig: e, newConfig: i } = t;
|
|
791
791
|
let a = !1;
|
|
792
|
-
const r = e?.series[0], n = i.series[0], s =
|
|
793
|
-
if (s ===
|
|
792
|
+
const r = e?.series[0], n = i.series[0], s = j(e?.series), o = j(i.series);
|
|
793
|
+
if (s === S.PieSeries && o === S.PieSeries) {
|
|
794
794
|
const { slices: u, sliceGrouping: c } = r, { slices: l, sliceGrouping: d } = n, f = u?.map((p) => ({
|
|
795
795
|
sliceId: p.sliceId,
|
|
796
796
|
label: p.label
|
|
@@ -835,22 +835,22 @@ function kc(t, e) {
|
|
|
835
835
|
return Pi(t) !== Pi(e);
|
|
836
836
|
}
|
|
837
837
|
function Qc(t, e) {
|
|
838
|
-
return (t.showOutliers ??
|
|
838
|
+
return (t.showOutliers ?? x.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? x.boxPlot.boxPlotOutliersVisibility);
|
|
839
839
|
}
|
|
840
840
|
function _c(t, e) {
|
|
841
|
-
return (t.standardizeValues ??
|
|
841
|
+
return (t.standardizeValues ?? x.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? x.boxPlot.boxPlotStandardizeValuesVisibility);
|
|
842
842
|
}
|
|
843
843
|
function jc(t, e) {
|
|
844
844
|
return JSON.stringify(t?.chartRenderer) !== JSON.stringify(e?.chartRenderer);
|
|
845
845
|
}
|
|
846
846
|
function Hc(t, e) {
|
|
847
|
-
const i = t.axes?.[0].valueFormat.type ===
|
|
847
|
+
const i = t.axes?.[0].valueFormat.type === S.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0, a = e.axes?.[0].valueFormat.type === S.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
848
848
|
return i !== a;
|
|
849
849
|
}
|
|
850
850
|
function zc(t, e) {
|
|
851
851
|
let i = !1;
|
|
852
852
|
const a = t.series[0], r = e.series[0];
|
|
853
|
-
if (a.type ===
|
|
853
|
+
if (a.type === S.ScatterSeries && r.type === S.ScatterSeries) {
|
|
854
854
|
const { sizePolicy: n } = a, { sizePolicy: s } = r;
|
|
855
855
|
i = JSON.stringify(n) !== JSON.stringify(s);
|
|
856
856
|
}
|
|
@@ -859,7 +859,7 @@ function zc(t, e) {
|
|
|
859
859
|
function Wc(t, e) {
|
|
860
860
|
let i = !1;
|
|
861
861
|
const a = t.series[0], r = e.series[0];
|
|
862
|
-
if (a.type ===
|
|
862
|
+
if (a.type === S.ScatterSeries && r.type === S.ScatterSeries) {
|
|
863
863
|
const { sizePolicy: n } = a, { sizePolicy: s } = r;
|
|
864
864
|
i = n === void 0 && s !== void 0 || n !== void 0 && s === void 0 || n?.field !== s?.field;
|
|
865
865
|
}
|
|
@@ -877,9 +877,9 @@ function Gc(t) {
|
|
|
877
877
|
selectionData: u,
|
|
878
878
|
setTimeBinningInfoWhenNotProvided: c,
|
|
879
879
|
chartLimits: l
|
|
880
|
-
} = t, { series: d } = i, { series: f } = e, m =
|
|
880
|
+
} = t, { series: d } = i, { series: f } = e, m = j(d);
|
|
881
881
|
let y = !1, g = !1, p = !1;
|
|
882
|
-
const
|
|
882
|
+
const h = {
|
|
883
883
|
common: {
|
|
884
884
|
layerChanged: !1,
|
|
885
885
|
queryChanged: !1,
|
|
@@ -905,22 +905,22 @@ function Gc(t) {
|
|
|
905
905
|
tooltipFieldsChanged: !1
|
|
906
906
|
}
|
|
907
907
|
};
|
|
908
|
-
switch (
|
|
908
|
+
switch (h.common.queryChanged = Sa({
|
|
909
909
|
previousConfig: e,
|
|
910
910
|
newConfig: i,
|
|
911
911
|
behaviorAfterLimit: l?.behaviorAfterLimit
|
|
912
|
-
}),
|
|
912
|
+
}), h.common.configFiltersChanged = Nn(e, i), h.common.xOrYChanged = Tn(f, d), h.common.filterBySelectionChanged = Fa(
|
|
913
913
|
a,
|
|
914
914
|
o
|
|
915
|
-
),
|
|
915
|
+
), h.common.dataForFilterBySelectionChanged = Mn({
|
|
916
916
|
previousSelectionOIDs: r,
|
|
917
917
|
selectionData: u,
|
|
918
918
|
filterBySelection: o
|
|
919
|
-
}),
|
|
919
|
+
}), h.common.binTemporalDataChanged = ba(e, i), h.common.valueFormatChangeRequiresNewData = xa(
|
|
920
920
|
e,
|
|
921
921
|
i
|
|
922
|
-
),
|
|
923
|
-
...
|
|
922
|
+
), h.common = {
|
|
923
|
+
...h.common,
|
|
924
924
|
...An({
|
|
925
925
|
previousSeries: f,
|
|
926
926
|
newConfig: i,
|
|
@@ -928,38 +928,38 @@ function Gc(t) {
|
|
|
928
928
|
queryObject: s
|
|
929
929
|
})
|
|
930
930
|
}, m) {
|
|
931
|
-
case
|
|
932
|
-
|
|
931
|
+
case S.HistogramSeries:
|
|
932
|
+
h.histogram.dataPropsChanged = es(f, d) || Kn(
|
|
933
933
|
f,
|
|
934
934
|
d
|
|
935
935
|
);
|
|
936
936
|
break;
|
|
937
|
-
case
|
|
938
|
-
case
|
|
939
|
-
case
|
|
940
|
-
|
|
937
|
+
case S.LineSeries:
|
|
938
|
+
case S.BarSeries:
|
|
939
|
+
case S.ComboLineAndBarSeries:
|
|
940
|
+
h.common.numberOfSeriesChanged = Mi(f, d);
|
|
941
941
|
break;
|
|
942
|
-
case
|
|
943
|
-
de(e) && de(i) && (
|
|
942
|
+
case S.BoxPlotSeries:
|
|
943
|
+
de(e) && de(i) && (h.common.numberOfSeriesChanged = Mi(f, d), h.boxPlot.showMeanChanged = Ca(e, i));
|
|
944
944
|
break;
|
|
945
|
-
case
|
|
946
|
-
|
|
945
|
+
case S.GaugeSeries:
|
|
946
|
+
h.gauge.valueConversionChanged = va(e, i);
|
|
947
947
|
break;
|
|
948
|
-
case
|
|
949
|
-
We(e) && We(i) && (
|
|
948
|
+
case S.HeatSeries:
|
|
949
|
+
We(e) && We(i) && (h.heatChart.binningChanged = Ba(e, i), h.heatChart.hideEmptyRowsAndColumnsChanged = wn(
|
|
950
950
|
e,
|
|
951
951
|
i
|
|
952
|
-
),
|
|
952
|
+
), h.heatChart.includeLeapDay = Ln(e, i));
|
|
953
953
|
break;
|
|
954
|
-
case
|
|
955
|
-
|
|
954
|
+
case S.ScatterSeries:
|
|
955
|
+
h.scatterPlot.tooltipFieldsChanged = Pn({
|
|
956
956
|
previousConfig: e,
|
|
957
957
|
newConfig: i,
|
|
958
958
|
fieldList: n
|
|
959
959
|
});
|
|
960
960
|
break;
|
|
961
961
|
}
|
|
962
|
-
return g = Object.values(
|
|
962
|
+
return g = Object.values(h.common).some((v) => v), (h.gauge.valueConversionChanged || h.histogram.dataPropsChanged || h.boxPlot.showMeanChanged || h.heatChart.binningChanged || h.heatChart.hideEmptyRowsAndColumnsChanged || h.heatChart.includeLeapDay || h.scatterPlot.tooltipFieldsChanged) && (p = !0), y = g || p, { dataUpdateNeeded: y, dataUpdateDetails: h };
|
|
963
963
|
}
|
|
964
964
|
function Uc(t, e) {
|
|
965
965
|
const i = He(t);
|
|
@@ -989,10 +989,10 @@ function di(t) {
|
|
|
989
989
|
let e;
|
|
990
990
|
const i = t?.orderOptions?.data;
|
|
991
991
|
return t.series?.length > 0 && i?.orderType === De.MultiAxes && (e = [], e.push({
|
|
992
|
-
sortingField:
|
|
992
|
+
sortingField: _.xField,
|
|
993
993
|
orderBy: i.orderByX ?? ye.Ascending
|
|
994
994
|
}), e.push({
|
|
995
|
-
sortingField: i.orderByY !== void 0 ?
|
|
995
|
+
sortingField: i.orderByY !== void 0 ? _.yField : "",
|
|
996
996
|
orderBy: i.orderByY
|
|
997
997
|
})), e;
|
|
998
998
|
}
|
|
@@ -1000,7 +1000,7 @@ function Dn(t) {
|
|
|
1000
1000
|
const { chartConfig: e, field: i } = t;
|
|
1001
1001
|
let a;
|
|
1002
1002
|
const r = di(e);
|
|
1003
|
-
return r?.length === 2 && (a = i ===
|
|
1003
|
+
return r?.length === 2 && (a = i === _.xField ? r[0]?.orderBy : r[1]?.orderBy), a;
|
|
1004
1004
|
}
|
|
1005
1005
|
function Na(t) {
|
|
1006
1006
|
const e = k(t.series);
|
|
@@ -1037,13 +1037,13 @@ function Ta(t) {
|
|
|
1037
1037
|
const c = t.orderOptions.data && "preferLabel" in t.orderOptions.data ? t.orderOptions.data.preferLabel : !0;
|
|
1038
1038
|
if (o = t.orderOptions?.data?.orderType ?? De.Category, u = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0, o === De.Category ? r ? o = ce : o = c ? i : pt.originalCategoryValue : o = r ? Ne : [a].flat()[0], o !== void 0 && o !== "") {
|
|
1039
1039
|
const l = ci(t);
|
|
1040
|
-
if (
|
|
1040
|
+
if (j(t.series) !== S.PieSeries && o !== i && t.series?.length > 1)
|
|
1041
1041
|
switch (l) {
|
|
1042
1042
|
case Te.Stacked:
|
|
1043
|
-
o =
|
|
1043
|
+
o = x.technicalSortingFieldBySum;
|
|
1044
1044
|
break;
|
|
1045
1045
|
case Te.Stacked100:
|
|
1046
|
-
o =
|
|
1046
|
+
o = x.technicalSortingFieldByPercent;
|
|
1047
1047
|
break;
|
|
1048
1048
|
case Te.Side:
|
|
1049
1049
|
typeof a == "string" && (o = a);
|
|
@@ -1064,21 +1064,21 @@ function Ta(t) {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
function Mt(t) {
|
|
1066
1066
|
let e;
|
|
1067
|
-
const i =
|
|
1067
|
+
const i = j(t?.series);
|
|
1068
1068
|
if (t?.series && t.series.length > 0) {
|
|
1069
1069
|
let a;
|
|
1070
1070
|
switch (i) {
|
|
1071
|
-
case
|
|
1071
|
+
case S.HeatSeries:
|
|
1072
1072
|
We(t) && (e = di(t));
|
|
1073
1073
|
break;
|
|
1074
|
-
case
|
|
1074
|
+
case S.BoxPlotSeries:
|
|
1075
1075
|
de(t) && (a = Na(t));
|
|
1076
1076
|
break;
|
|
1077
|
-
case
|
|
1078
|
-
case
|
|
1079
|
-
case
|
|
1080
|
-
case
|
|
1081
|
-
case
|
|
1077
|
+
case S.LineSeries:
|
|
1078
|
+
case S.BarSeries:
|
|
1079
|
+
case S.ComboLineAndBarSeries:
|
|
1080
|
+
case S.RadarSeries:
|
|
1081
|
+
case S.PieSeries:
|
|
1082
1082
|
a = Ta(t);
|
|
1083
1083
|
break;
|
|
1084
1084
|
}
|
|
@@ -1087,11 +1087,11 @@ function Mt(t) {
|
|
|
1087
1087
|
return e;
|
|
1088
1088
|
}
|
|
1089
1089
|
function Yc(t) {
|
|
1090
|
-
const { oldConfig: e, newConfig: i, dataWasUpdated: a } = t, r =
|
|
1090
|
+
const { oldConfig: e, newConfig: i, dataWasUpdated: a } = t, r = j(i.series), n = k(i.series);
|
|
1091
1091
|
let s = !1, o = !1;
|
|
1092
1092
|
if (n !== F.BoxPlotMonoField && n !== F.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
|
|
1093
1093
|
const u = Mt(e), c = Mt(i);
|
|
1094
|
-
if (r ===
|
|
1094
|
+
if (r === S.HeatSeries) {
|
|
1095
1095
|
const l = u ? u[0] : void 0, d = c ? c[0] : void 0, f = u ? u[1] : void 0, m = c ? c[1] : void 0;
|
|
1096
1096
|
o = e?.orderOptions?.data?.orderType !== i.orderOptions?.data?.orderType || l?.sortingField !== d?.sortingField || l?.orderBy !== d?.orderBy || f?.sortingField !== m?.sortingField || f?.orderBy !== m?.orderBy, s = o || a;
|
|
1097
1097
|
} else {
|
|
@@ -1131,21 +1131,21 @@ function On(t) {
|
|
|
1131
1131
|
function Di(t) {
|
|
1132
1132
|
const { value: e, dataContext: i, specificField: a, keepNullValues: r = !1, useRendererLabel: n = !1, config: s } = t;
|
|
1133
1133
|
let o = e;
|
|
1134
|
-
const { originalCategoryValue: u, originalDateValue: c } =
|
|
1134
|
+
const { originalCategoryValue: u, originalDateValue: c } = x;
|
|
1135
1135
|
if (i !== void 0) {
|
|
1136
1136
|
const l = n ? Hn(i) : void 0;
|
|
1137
|
-
a !== void 0 && i[a] !== void 0 ? o = i[a] : l !== void 0 ? o = l : i[
|
|
1137
|
+
a !== void 0 && i[a] !== void 0 ? o = i[a] : l !== void 0 ? o = l : i[x.xAxisDisplayField] !== void 0 ? o = i[x.xAxisDisplayField] : i[x.xAxisField] !== void 0 ? o = i[x.xAxisField] : i[x.boxPlot.boxPlotCategory] !== void 0 ? o = i[x.boxPlot.boxPlotCategory] : i[c] !== void 0 ? o = i[c] : i[u] !== void 0 ? o = i[u] : i[ce] !== void 0 && (o = i[ce]), !r && (o === null || o === x.nullValue) && (s?.series?.[0].type === S.BarSeries || s?.series?.[0].type === S.LineSeries ? o = s.series?.[0]?.nullCategory?.text ?? x.nullCategory?.text ?? "null" : o = "null");
|
|
1138
1138
|
}
|
|
1139
1139
|
return o;
|
|
1140
1140
|
}
|
|
1141
1141
|
function fi(t) {
|
|
1142
1142
|
const { value: e, dataContext: i } = t;
|
|
1143
1143
|
let a = e;
|
|
1144
|
-
const { originalCategoryValue: r, originalDateValue: n } =
|
|
1144
|
+
const { originalCategoryValue: r, originalDateValue: n } = x;
|
|
1145
1145
|
return i?.[n] !== void 0 ? a = i[n] : i?.[r] !== void 0 ? a = i[r] : i?.[ce] !== void 0 && (a = i[ce]), a;
|
|
1146
1146
|
}
|
|
1147
1147
|
function In(t) {
|
|
1148
|
-
return t?.[
|
|
1148
|
+
return t?.[x.originalCategoryValue];
|
|
1149
1149
|
}
|
|
1150
1150
|
function ht(t) {
|
|
1151
1151
|
const {
|
|
@@ -1165,14 +1165,14 @@ function ht(t) {
|
|
|
1165
1165
|
s === !0 && !u && (m = Di({
|
|
1166
1166
|
value: `${l[a]?.toString()}`,
|
|
1167
1167
|
dataContext: l,
|
|
1168
|
-
specificField: o ?
|
|
1168
|
+
specificField: o ? x.xAxisField : x.originalCategoryValue
|
|
1169
1169
|
}));
|
|
1170
1170
|
let y = d[a];
|
|
1171
1171
|
return s === !0 && !u && (y = Di({
|
|
1172
1172
|
value: `${d[a]?.toString()}`,
|
|
1173
1173
|
dataContext: d,
|
|
1174
|
-
specificField: o ?
|
|
1175
|
-
})), n === !0 && c && s === !0 && (m = Number.isNaN(Number.parseFloat(`${m?.toString()}`)) ? m : Number.parseFloat(m), y = Number.isNaN(Number.parseFloat(`${y?.toString()}`)) ? y : Number.parseFloat(y)), s === !0 && (l[
|
|
1174
|
+
specificField: o ? x.xAxisField : x.originalCategoryValue
|
|
1175
|
+
})), n === !0 && c && s === !0 && (m = Number.isNaN(Number.parseFloat(`${m?.toString()}`)) ? m : Number.parseFloat(m), y = Number.isNaN(Number.parseFloat(`${y?.toString()}`)) ? y : Number.parseFloat(y)), s === !0 && (l[x.originalCategoryValue] === null || m === null) || l[ei.defaultGroupOfSlicesId] === !0 ? f = 1 : s === !0 && (d[x.originalCategoryValue] === null || y === null) || d[ei.defaultGroupOfSlicesId] === !0 ? f = -1 : typeof m == "string" && typeof y == "string" ? (f = m.localeCompare(y, void 0, { numeric: !0 }), c && (f *= -1)) : m === void 0 ? f = c ? -1 : 1 : y === void 0 ? f = c ? 1 : -1 : m !== null && y !== null && (m > y ? f = c ? -1 : 1 : m < y && (f = c ? 1 : -1)), f;
|
|
1176
1176
|
});
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
@@ -1203,7 +1203,7 @@ function qn(t, e) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
function nt(t) {
|
|
1205
1205
|
let e = new Date(t).valueOf();
|
|
1206
|
-
return Number.isNaN(e) || (e = new Intl.DateTimeFormat("en-US",
|
|
1206
|
+
return Number.isNaN(e) || (e = new Intl.DateTimeFormat("en-US", x.dateFormatUTC).format(t).replace(",", "")), e;
|
|
1207
1207
|
}
|
|
1208
1208
|
function Dt(t) {
|
|
1209
1209
|
const { dataToConvert: e, x: i, y: a, fieldList: r } = t, n = [];
|
|
@@ -1214,10 +1214,10 @@ function Dt(t) {
|
|
|
1214
1214
|
const u = {
|
|
1215
1215
|
[i]: Jt(r, o),
|
|
1216
1216
|
[a]: e[o],
|
|
1217
|
-
[
|
|
1218
|
-
[
|
|
1217
|
+
[x.xAxisField]: o,
|
|
1218
|
+
[x.originalCategoryValue]: o
|
|
1219
1219
|
};
|
|
1220
|
-
s !== void 0 && (u[Oe] = s), e[`${
|
|
1220
|
+
s !== void 0 && (u[Oe] = s), e[`${x.rendererSymbolField}_${o}`] !== void 0 && (u[x.rendererSymbolField] = e[`${x.rendererSymbolField}_${o}`]), n.push(u);
|
|
1221
1221
|
}
|
|
1222
1222
|
});
|
|
1223
1223
|
}
|
|
@@ -1257,44 +1257,44 @@ function Aa(t, e) {
|
|
|
1257
1257
|
maxLineThreePlusSeriesCountTotal: y,
|
|
1258
1258
|
maxPieChartSliceCountTotal: g,
|
|
1259
1259
|
maxGaugeByFeaturesLimit: p
|
|
1260
|
-
} = ut(e),
|
|
1261
|
-
switch (
|
|
1262
|
-
case
|
|
1263
|
-
case
|
|
1264
|
-
|
|
1260
|
+
} = ut(e), h = j(t.series), v = t.series.length === 0 ? 1 : t.series.length, B = k(t.series);
|
|
1261
|
+
switch (h) {
|
|
1262
|
+
case S.ComboLineAndBarSeries:
|
|
1263
|
+
case S.BarSeries:
|
|
1264
|
+
v <= a && (v === 1 ? i = r : v === 2 ? i = At({
|
|
1265
1265
|
countTotal: s,
|
|
1266
1266
|
countPerSeries: n,
|
|
1267
|
-
numberOfSeries:
|
|
1268
|
-
}) :
|
|
1267
|
+
numberOfSeries: v
|
|
1268
|
+
}) : v > 2 && (i = At({
|
|
1269
1269
|
countTotal: u,
|
|
1270
1270
|
countPerSeries: o,
|
|
1271
|
-
numberOfSeries:
|
|
1271
|
+
numberOfSeries: v
|
|
1272
1272
|
})));
|
|
1273
1273
|
break;
|
|
1274
|
-
case
|
|
1275
|
-
|
|
1274
|
+
case S.LineSeries:
|
|
1275
|
+
v <= c && (v === 1 ? i = l : v === 2 ? i = At({
|
|
1276
1276
|
countTotal: f,
|
|
1277
1277
|
countPerSeries: d,
|
|
1278
|
-
numberOfSeries:
|
|
1279
|
-
}) :
|
|
1278
|
+
numberOfSeries: v
|
|
1279
|
+
}) : v > 2 && (i = At({
|
|
1280
1280
|
countTotal: y,
|
|
1281
1281
|
countPerSeries: m,
|
|
1282
|
-
numberOfSeries:
|
|
1282
|
+
numberOfSeries: v
|
|
1283
1283
|
})));
|
|
1284
1284
|
break;
|
|
1285
|
-
case
|
|
1285
|
+
case S.PieSeries:
|
|
1286
1286
|
i = g;
|
|
1287
1287
|
break;
|
|
1288
|
-
case
|
|
1288
|
+
case S.GaugeSeries:
|
|
1289
1289
|
i = p;
|
|
1290
1290
|
break;
|
|
1291
|
-
case
|
|
1291
|
+
case S.ScatterSeries:
|
|
1292
1292
|
// handled through the aggregation feature
|
|
1293
|
-
case
|
|
1293
|
+
case S.HistogramSeries:
|
|
1294
1294
|
// handled through the number of bins
|
|
1295
|
-
case
|
|
1295
|
+
case S.BoxPlotSeries:
|
|
1296
1296
|
}
|
|
1297
|
-
return (
|
|
1297
|
+
return (B === F.BarAndLineNoAggregation || B === F.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / v)), i;
|
|
1298
1298
|
}
|
|
1299
1299
|
function Oi(t, e) {
|
|
1300
1300
|
let i = t;
|
|
@@ -1321,7 +1321,7 @@ function Xc(t) {
|
|
|
1321
1321
|
return e;
|
|
1322
1322
|
}
|
|
1323
1323
|
function wa(t) {
|
|
1324
|
-
const { stringToTruncate: e, characterLimit: i, ellipsis: a =
|
|
1324
|
+
const { stringToTruncate: e, characterLimit: i, ellipsis: a = x.chartEllipsis } = t;
|
|
1325
1325
|
let r = e;
|
|
1326
1326
|
return typeof i == "number" && Number.isFinite(i) && i > 0 && i < e.length && (r = e.slice(0, i), r = `${r}${a}`), r;
|
|
1327
1327
|
}
|
|
@@ -1345,7 +1345,7 @@ function Kc(t, e = ":") {
|
|
|
1345
1345
|
function ed(t) {
|
|
1346
1346
|
return (i) => {
|
|
1347
1347
|
let a = typeof i != "string" ? i?.toString() ?? "" : i;
|
|
1348
|
-
return !oe(a) && a !==
|
|
1348
|
+
return !oe(a) && a !== x.htmlEmptyContent && (a = wa({
|
|
1349
1349
|
stringToTruncate: a,
|
|
1350
1350
|
characterLimit: t
|
|
1351
1351
|
})), a;
|
|
@@ -1368,7 +1368,7 @@ function td(t) {
|
|
|
1368
1368
|
let u = i ?? e?.text ?? "";
|
|
1369
1369
|
if (a === "html") {
|
|
1370
1370
|
let { wrap: c, maxWidth: l } = n ?? {};
|
|
1371
|
-
r === br.Wrap && (c = !0, l = l ??
|
|
1371
|
+
r === br.Wrap && (c = !0, l = l ?? x.xAxisLabelMaxWidth);
|
|
1372
1372
|
const d = c === !0 && Number.isFinite(l) ? `max-width: ${l}px; word-break: break-word;` : "";
|
|
1373
1373
|
u = `<p style="margin:0;${s}${o}${d}">${u}</p>`;
|
|
1374
1374
|
} else
|
|
@@ -1379,41 +1379,41 @@ function _n(t) {
|
|
|
1379
1379
|
return t ? t.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
|
|
1380
1380
|
}
|
|
1381
1381
|
const id = [
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
], ad =
|
|
1382
|
+
S.BarSeries,
|
|
1383
|
+
S.BoxPlotSeries,
|
|
1384
|
+
S.LineSeries,
|
|
1385
|
+
S.PieSeries,
|
|
1386
|
+
S.HistogramSeries,
|
|
1387
|
+
S.ScatterSeries
|
|
1388
|
+
], ad = { PNG: "png" }, tt = {
|
|
1389
1389
|
ChartRenderer: 1,
|
|
1390
1390
|
LayerRenderer: 2
|
|
1391
1391
|
};
|
|
1392
|
-
function
|
|
1392
|
+
function rd(t) {
|
|
1393
1393
|
const { chartConfig: e, queryObject: i } = t;
|
|
1394
1394
|
let a = !1;
|
|
1395
1395
|
if (e.chartRenderer)
|
|
1396
1396
|
a = !0;
|
|
1397
1397
|
else {
|
|
1398
|
-
const { series: r } = e, n =
|
|
1398
|
+
const { series: r } = e, n = j(r), s = k(r), o = Re(e), u = Pe({
|
|
1399
1399
|
seriesConfig: o,
|
|
1400
1400
|
queryObject: i
|
|
1401
1401
|
}), l = z(i)?.renderer;
|
|
1402
1402
|
switch (l?.type) {
|
|
1403
1403
|
case se.Simple:
|
|
1404
|
-
a = n ===
|
|
1404
|
+
a = n === S.HistogramSeries || n === S.ScatterSeries || s === F.BarAndLineMonoField || s === F.BoxPlotMonoField || s === F.BoxPlotMultiFields || s === F.BoxPlotMonoFieldAndCategory || s === F.BarAndLineNoAggregation && r.length === 1 && !u;
|
|
1405
1405
|
break;
|
|
1406
1406
|
case se.UniqueValue:
|
|
1407
1407
|
{
|
|
1408
1408
|
const f = l?.field, m = te(o.query?.where), { x: y } = o;
|
|
1409
|
-
a = (s === F.BoxPlotMonoFieldAndSplitBy || s === F.BoxPlotMultiFieldsAndSplitBy || s === F.BoxPlotMonoFieldAndCategoryAndSplitBy || s === F.BarAndLineSplitByNoAggregation || s === F.BarAndLineSplitBy) && f === m || (s === F.BoxPlotMonoFieldAndCategory || s === F.PieFromCategory || s === F.BarAndLineMonoField) && f === y || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation || n ===
|
|
1409
|
+
a = (s === F.BoxPlotMonoFieldAndSplitBy || s === F.BoxPlotMultiFieldsAndSplitBy || s === F.BoxPlotMonoFieldAndCategoryAndSplitBy || s === F.BarAndLineSplitByNoAggregation || s === F.BarAndLineSplitBy) && f === m || (s === F.BoxPlotMonoFieldAndCategory || s === F.PieFromCategory || s === F.BarAndLineMonoField) && f === y || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation || n === S.ScatterSeries;
|
|
1410
1410
|
}
|
|
1411
1411
|
break;
|
|
1412
1412
|
case se.PieChart:
|
|
1413
1413
|
a = s === F.PieFromFields || s === F.BarAndLineFromFields || s === F.BarAndLineMultiFields || s === F.BarAndLineMonoField || s === F.BoxPlotMonoField || s === F.BoxPlotMultiFields || s === F.BoxPlotMonoFieldAndCategory || s === F.BoxPlotMultiFieldsAndCategory;
|
|
1414
1414
|
break;
|
|
1415
1415
|
case se.ClassBreaks:
|
|
1416
|
-
a = n ===
|
|
1416
|
+
a = n === S.HeatSeries || n === S.ScatterSeries || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation;
|
|
1417
1417
|
break;
|
|
1418
1418
|
case se.Dictionary:
|
|
1419
1419
|
case se.DotDensity:
|
|
@@ -1427,10 +1427,10 @@ function jn(t, e) {
|
|
|
1427
1427
|
return _n(t?.type) ?? e?.type;
|
|
1428
1428
|
}
|
|
1429
1429
|
function Hn(t) {
|
|
1430
|
-
const e =
|
|
1430
|
+
const e = x.rendererSymbolField;
|
|
1431
1431
|
let i = e in t ? e : void 0;
|
|
1432
1432
|
if (!i) {
|
|
1433
|
-
const a = t[
|
|
1433
|
+
const a = t[x.originalCategoryValue];
|
|
1434
1434
|
i = Object.keys(t).find((r) => {
|
|
1435
1435
|
const n = t[r];
|
|
1436
1436
|
return r.includes(e) && n?.label && n?.uniqueValue === a;
|
|
@@ -1455,39 +1455,39 @@ function La(t) {
|
|
|
1455
1455
|
function Wn(t) {
|
|
1456
1456
|
const { renderer: e, seriesConfig: i, chartSubType: a, dataItem: r, rendererOrigin: n } = t;
|
|
1457
1457
|
let s, o = !1;
|
|
1458
|
-
const u =
|
|
1458
|
+
const u = j(i), { outline: c, attributes: l } = e;
|
|
1459
1459
|
return l.forEach(
|
|
1460
1460
|
(d) => {
|
|
1461
1461
|
let { field: f } = d;
|
|
1462
1462
|
const { color: m, label: y } = d;
|
|
1463
1463
|
let g;
|
|
1464
1464
|
Array.isArray(m) && m?.length === 4 ? g = m : m && "toRgba" in m && (g = m.toRgba());
|
|
1465
|
-
let p = !1,
|
|
1465
|
+
let p = !1, h = !0;
|
|
1466
1466
|
switch (u) {
|
|
1467
|
-
case
|
|
1468
|
-
case
|
|
1469
|
-
case
|
|
1470
|
-
case
|
|
1467
|
+
case S.BarSeries:
|
|
1468
|
+
case S.LineSeries:
|
|
1469
|
+
case S.ComboLineAndBarSeries:
|
|
1470
|
+
case S.RadarSeries:
|
|
1471
1471
|
if (a !== F.BarAndLineFromFields) {
|
|
1472
|
-
const
|
|
1473
|
-
|
|
1472
|
+
const v = i.find((B) => B.query?.outStatistics?.[0]?.onStatisticField === f);
|
|
1473
|
+
v !== void 0 && "y" in v ? f = [v.y].flat()[0] : f = "";
|
|
1474
1474
|
}
|
|
1475
|
-
p = a !== F.BarAndLineFromFields || f === r[
|
|
1475
|
+
p = a !== F.BarAndLineFromFields || f === r[x.originalCategoryValue];
|
|
1476
1476
|
break;
|
|
1477
|
-
case
|
|
1478
|
-
p = a === F.PieFromFields && f === r[
|
|
1477
|
+
case S.PieSeries:
|
|
1478
|
+
p = a === F.PieFromFields && f === r[x.originalCategoryValue];
|
|
1479
1479
|
break;
|
|
1480
|
-
case
|
|
1481
|
-
a === F.BoxPlotMonoField || a === F.BoxPlotMonoFieldAndCategory ? p = f === i[0].y : f && (a === F.BoxPlotMultiFields || a === F.BoxPlotMultiFieldsAndCategory) && (p = i.map((
|
|
1480
|
+
case S.BoxPlotSeries:
|
|
1481
|
+
a === F.BoxPlotMonoField || a === F.BoxPlotMonoFieldAndCategory ? p = f === i[0].y : f && (a === F.BoxPlotMultiFields || a === F.BoxPlotMultiFieldsAndCategory) && (p = i.map((B) => B.y).flat().includes(f)), h = !1;
|
|
1482
1482
|
break;
|
|
1483
1483
|
}
|
|
1484
1484
|
p && g && (s = {
|
|
1485
1485
|
type: _e.SMS,
|
|
1486
1486
|
color: g,
|
|
1487
|
-
label:
|
|
1487
|
+
label: h && y ? y : void 0
|
|
1488
1488
|
}, c != null && (s.outline = c), La({
|
|
1489
1489
|
dataItem: r,
|
|
1490
|
-
symbolField: a === F.BarAndLineFromFields || a === F.PieFromFields ?
|
|
1490
|
+
symbolField: a === F.BarAndLineFromFields || a === F.PieFromFields ? x.rendererSymbolField : `${x.rendererSymbolField}_${f}`,
|
|
1491
1491
|
rendererSymbol: s,
|
|
1492
1492
|
rendererOrigin: n
|
|
1493
1493
|
}) && (o = !0));
|
|
@@ -1496,7 +1496,7 @@ function Wn(t) {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
function Gn(t) {
|
|
1498
1498
|
const { seriesConfig: e, chartSubType: i, rendererType: a } = t;
|
|
1499
|
-
let n =
|
|
1499
|
+
let n = x.rendererSymbolField;
|
|
1500
1500
|
if (a === se.UniqueValue) {
|
|
1501
1501
|
if (aa(i)) {
|
|
1502
1502
|
const s = fe({
|
|
@@ -1504,7 +1504,7 @@ function Gn(t) {
|
|
|
1504
1504
|
keepSurroundingQuotes: !1,
|
|
1505
1505
|
escape: !1
|
|
1506
1506
|
});
|
|
1507
|
-
s === null ? n =
|
|
1507
|
+
s === null ? n = x.nullValue : i === F.BarAndLineSplitBy && typeof e.y == "string" ? n = e.y : i === F.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? n = `${e.y}_${s}` : n = `${s}`;
|
|
1508
1508
|
}
|
|
1509
1509
|
} else if (a === se.PieChart)
|
|
1510
1510
|
switch (i) {
|
|
@@ -1528,7 +1528,7 @@ function Pa(t) {
|
|
|
1528
1528
|
chartSubType: i,
|
|
1529
1529
|
rendererType: a
|
|
1530
1530
|
});
|
|
1531
|
-
return n instanceof Array && e.type ===
|
|
1531
|
+
return n instanceof Array && e.type === S.BoxPlotSeries && a === se.PieChart && r !== void 0 && (n = n.find((s) => s === r[Rt]) ?? n[0]), n = n !== x.rendererSymbolField ? `${x.rendererSymbolField}_${n.toString()}` : n, n;
|
|
1532
1532
|
}
|
|
1533
1533
|
function Un(t) {
|
|
1534
1534
|
const { chartRenderer: e, queryObject: i } = t, a = e !== void 0 ? {
|
|
@@ -1567,13 +1567,13 @@ async function Yn(t) {
|
|
|
1567
1567
|
} else if (i?.[ei.defaultGroupOfSlicesId] !== !0) {
|
|
1568
1568
|
const { x: m } = e[0], y = /* @__PURE__ */ new Map();
|
|
1569
1569
|
o && o.trim() !== "" ? e.forEach((g) => {
|
|
1570
|
-
if (g.type ===
|
|
1570
|
+
if (g.type === S.BarSeries || g.type === S.LineSeries || g.type === S.BoxPlotSeries || g.type === S.RadarSeries) {
|
|
1571
1571
|
const p = Pa({
|
|
1572
1572
|
seriesConfig: g,
|
|
1573
1573
|
chartSubType: s,
|
|
1574
1574
|
rendererType: r,
|
|
1575
1575
|
dataItem: i
|
|
1576
|
-
}),
|
|
1576
|
+
}), h = fe({
|
|
1577
1577
|
where: g.query?.where,
|
|
1578
1578
|
normalize: !0,
|
|
1579
1579
|
keepSurroundingQuotes: !1,
|
|
@@ -1581,13 +1581,13 @@ async function Yn(t) {
|
|
|
1581
1581
|
});
|
|
1582
1582
|
y.set(p, {
|
|
1583
1583
|
...i,
|
|
1584
|
-
[o]:
|
|
1584
|
+
[o]: h
|
|
1585
1585
|
});
|
|
1586
1586
|
}
|
|
1587
|
-
}) : e[0].type ===
|
|
1588
|
-
[
|
|
1587
|
+
}) : e[0].type === S.HeatSeries && r === se.ClassBreaks ? y.set(x.rendererSymbolField, {
|
|
1588
|
+
[_.valueField]: i[_.valueField]
|
|
1589
1589
|
}) : y.set(
|
|
1590
|
-
|
|
1590
|
+
j(e) === S.HistogramSeries ? x.rendererSymbolFieldForHistogram : x.rendererSymbolField,
|
|
1591
1591
|
{
|
|
1592
1592
|
...i,
|
|
1593
1593
|
[m]: In(i)
|
|
@@ -1596,9 +1596,9 @@ async function Yn(t) {
|
|
|
1596
1596
|
try {
|
|
1597
1597
|
const g = Array.from(y.entries()), p = u.clone();
|
|
1598
1598
|
p.layer = u.layer;
|
|
1599
|
-
const
|
|
1600
|
-
for (let
|
|
1601
|
-
const [
|
|
1599
|
+
const h = a?.uniqueValueInfos;
|
|
1600
|
+
for (let v = 0; v < g.length; v += 1) {
|
|
1601
|
+
const [B, b] = g[v];
|
|
1602
1602
|
if (Ii({
|
|
1603
1603
|
mode: "encode",
|
|
1604
1604
|
x: m,
|
|
@@ -1615,7 +1615,7 @@ async function Yn(t) {
|
|
|
1615
1615
|
T && (d.color = T.length === 4 ? T : [...T, 255]);
|
|
1616
1616
|
}
|
|
1617
1617
|
const N = await Gt.getLegendLabel(p);
|
|
1618
|
-
N != null && N !== "" && (d.label = N, d.uniqueValue =
|
|
1618
|
+
N != null && N !== "" && (d.label = N, d.uniqueValue = h?.find((T) => T.label === N)?.value ?? void 0);
|
|
1619
1619
|
}
|
|
1620
1620
|
l?.set(JSON.stringify(b), d);
|
|
1621
1621
|
}
|
|
@@ -1626,7 +1626,7 @@ async function Yn(t) {
|
|
|
1626
1626
|
attributes: i
|
|
1627
1627
|
}), La({
|
|
1628
1628
|
dataItem: i,
|
|
1629
|
-
symbolField:
|
|
1629
|
+
symbolField: B,
|
|
1630
1630
|
rendererSymbol: d,
|
|
1631
1631
|
rendererOrigin: n
|
|
1632
1632
|
}) && (f = !0);
|
|
@@ -1639,7 +1639,7 @@ async function Yn(t) {
|
|
|
1639
1639
|
function Ii(t) {
|
|
1640
1640
|
const { splitByField: e, attributes: i, x: a, mode: r } = t;
|
|
1641
1641
|
[a, e ?? ""].forEach((n) => {
|
|
1642
|
-
i[n] === (r === "encode" ? null :
|
|
1642
|
+
i[n] === (r === "encode" ? null : x.nullValue) && (i[n] = r === "encode" ? x.nullValue : null);
|
|
1643
1643
|
});
|
|
1644
1644
|
}
|
|
1645
1645
|
function Zn(t) {
|
|
@@ -1656,7 +1656,7 @@ function Zn(t) {
|
|
|
1656
1656
|
}
|
|
1657
1657
|
return s;
|
|
1658
1658
|
}
|
|
1659
|
-
function
|
|
1659
|
+
function nd(t) {
|
|
1660
1660
|
const { seriesSymbol: e, rendererSymbol: i, colorIndex: a } = t;
|
|
1661
1661
|
let r = i?.color ?? e.color;
|
|
1662
1662
|
r = r ?? na({ colorIndex: a, opacity: sa });
|
|
@@ -1675,7 +1675,7 @@ function Xn(t) {
|
|
|
1675
1675
|
let e = [];
|
|
1676
1676
|
return t && (e = t.series.flatMap((i) => i.query?.outStatistics?.map((a) => a.onStatisticField)).filter((i) => i !== void 0), e.length === 0 && (e = ue(t.series))), e;
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function sd(t, e) {
|
|
1679
1679
|
let i = !1;
|
|
1680
1680
|
if (t && e && e.length > 0 && ra(t)) {
|
|
1681
1681
|
const r = ts(t), n = Re(t);
|
|
@@ -1708,22 +1708,22 @@ function Kn(t, e) {
|
|
|
1708
1708
|
function es(t, e) {
|
|
1709
1709
|
return t[0].binCount !== e[0].binCount;
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1711
|
+
function od(t, e) {
|
|
1712
1712
|
let i = !0;
|
|
1713
|
-
const a =
|
|
1714
|
-
return a && a !== r && (i = a ===
|
|
1713
|
+
const a = j(t?.series), r = j(e?.series);
|
|
1714
|
+
return a && a !== r && (i = a === S.ComboLineAndBarSeries && (r === S.BarSeries || r === S.LineSeries) || r === S.ComboLineAndBarSeries && (a === S.BarSeries || a === S.LineSeries) || a === S.BarSeries && r === S.LineSeries || a === S.LineSeries && r === S.BarSeries), i;
|
|
1715
1715
|
}
|
|
1716
1716
|
function ti(t, e) {
|
|
1717
1717
|
return t !== void 0 && e !== void 0 && e > 0;
|
|
1718
1718
|
}
|
|
1719
|
-
function
|
|
1719
|
+
function ld(t) {
|
|
1720
1720
|
const { chartConfig: e, queryObject: i, chartData: a } = t;
|
|
1721
1721
|
let r = [];
|
|
1722
1722
|
const n = k(e.series), s = ra(e), o = z(i), u = e.chartRenderer ?? o?.renderer?.toJSON();
|
|
1723
1723
|
return r = e.series.map((c, l) => {
|
|
1724
|
-
const d =
|
|
1724
|
+
const d = j([c]);
|
|
1725
1725
|
let f;
|
|
1726
|
-
return (d ===
|
|
1726
|
+
return (d === S.BarSeries || d === S.LineSeries || d === S.RadarSeries) && (c.type === S.BarSeries ? f = c.fillSymbol?.color : (c.type === S.RadarSeries || c.type === S.LineSeries) && (f = c.lineSymbol?.color), s ? f = Zn({
|
|
1727
1727
|
dataItem: a[0],
|
|
1728
1728
|
seriesConfig: c,
|
|
1729
1729
|
chartSubType: n,
|
|
@@ -1745,8 +1745,11 @@ function st(t) {
|
|
|
1745
1745
|
function is(t) {
|
|
1746
1746
|
return de(t) ? t?.showOutliers : void 0;
|
|
1747
1747
|
}
|
|
1748
|
+
function ud() {
|
|
1749
|
+
return `{name} {${x.originalCategoryValue}} {dateY} {valueX} {dateX} {valueY}`;
|
|
1750
|
+
}
|
|
1748
1751
|
function cd() {
|
|
1749
|
-
return
|
|
1752
|
+
return "{category} {value} {valuePercentTotal.formatNumber('#.#')}%";
|
|
1750
1753
|
}
|
|
1751
1754
|
function as(t, e) {
|
|
1752
1755
|
const i = me.now().offset / 60, a = me.now().setZone(t) ?? i, r = a.offset / 60, n = e ? a.setZone(e).offset / 60 : 0;
|
|
@@ -1952,53 +1955,53 @@ function yi(t) {
|
|
|
1952
1955
|
seriesConfig: d,
|
|
1953
1956
|
queryObject: a
|
|
1954
1957
|
});
|
|
1955
|
-
let p = /* @__PURE__ */ new Map(),
|
|
1958
|
+
let p = /* @__PURE__ */ new Map(), h = !1, v = !1, B = !1, b = !1, C = !1, N = {};
|
|
1956
1959
|
if (f !== void 0) {
|
|
1957
1960
|
N = He(f);
|
|
1958
1961
|
const $ = te(f.where);
|
|
1959
1962
|
let M = "";
|
|
1960
|
-
switch (i.fetchNullValues !== !0 && (m !==
|
|
1963
|
+
switch (i.fetchNullValues !== !0 && (m !== x.boxPlot.boxPlotCategory && (M = `${m} IS NOT NULL`), $.trim() !== "" && $ !== m && !Ie(f.where) && (M = Y([M, `${$} IS NOT NULL`]))), l) {
|
|
1961
1964
|
case F.BarAndLineSplitBy: {
|
|
1962
|
-
p = ss(c), b = !0,
|
|
1965
|
+
p = ss(c), b = !0, h = !0, v = !0;
|
|
1963
1966
|
break;
|
|
1964
1967
|
}
|
|
1965
1968
|
case F.BarAndLineMultiFields:
|
|
1966
|
-
cs(N, c),
|
|
1969
|
+
cs(N, c), v = !0;
|
|
1967
1970
|
break;
|
|
1968
1971
|
case F.PieFromFields:
|
|
1969
1972
|
case F.BarAndLineFromFields:
|
|
1970
|
-
M = "",
|
|
1973
|
+
M = "", B = !0, v = !0;
|
|
1971
1974
|
break;
|
|
1972
1975
|
case F.BarAndLineMonoField:
|
|
1973
1976
|
case F.PieFromCategory:
|
|
1974
|
-
|
|
1977
|
+
v = !0;
|
|
1975
1978
|
break;
|
|
1976
1979
|
case F.BoxPlotMonoField:
|
|
1977
1980
|
case F.BoxPlotMultiFields:
|
|
1978
|
-
|
|
1981
|
+
B = !0, C = !0;
|
|
1979
1982
|
break;
|
|
1980
1983
|
case F.BoxPlotMonoFieldAndCategory:
|
|
1981
1984
|
case F.BoxPlotMultiFieldsAndCategory:
|
|
1982
1985
|
case F.BoxPlotMonoFieldAndSplitBy:
|
|
1983
1986
|
case F.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
1984
1987
|
case F.BoxPlotMultiFieldsAndSplitBy: {
|
|
1985
|
-
|
|
1988
|
+
C = !0, b = !0, B = !0;
|
|
1986
1989
|
break;
|
|
1987
1990
|
}
|
|
1988
1991
|
case F.PieNoAggregation:
|
|
1989
1992
|
case F.BarAndLineNoAggregation:
|
|
1990
1993
|
case F.BarAndLineSplitByNoAggregation:
|
|
1991
1994
|
}
|
|
1992
|
-
if (
|
|
1995
|
+
if (v && ls({
|
|
1993
1996
|
uniqueQuery: N,
|
|
1994
1997
|
y,
|
|
1995
|
-
useGenericOutStatFieldName:
|
|
1998
|
+
useGenericOutStatFieldName: h,
|
|
1996
1999
|
queryObject: a,
|
|
1997
2000
|
chartSubType: l,
|
|
1998
2001
|
isTimeBinningSeries: g,
|
|
1999
2002
|
returnFeaturesExtent: o,
|
|
2000
2003
|
splitByField: $
|
|
2001
|
-
}), b && os({ uniqueQuery: N, splitByField: $, x: m }), de(e) &&
|
|
2004
|
+
}), b && os({ uniqueQuery: N, splitByField: $, x: m }), de(e) && C && (N.outStatistics = us({ chartConfig: e, fetchFullBoxPlotData: s })), B ? delete N.orderByFields : i.orderByFields !== void 0 && (N.orderByFields = i.orderByFields.filter((q) => {
|
|
2002
2005
|
const G = q.split(" ");
|
|
2003
2006
|
return !oe(G[0]);
|
|
2004
2007
|
})), g && be(c[0])) {
|
|
@@ -2038,7 +2041,7 @@ const le = {
|
|
|
2038
2041
|
AdditionalProperties: "additionalProperties",
|
|
2039
2042
|
Enum: "enum",
|
|
2040
2043
|
AnyOf: "anyOf"
|
|
2041
|
-
},
|
|
2044
|
+
}, Q = {
|
|
2042
2045
|
BadData: "badData",
|
|
2043
2046
|
EmptyDataSet: "emptyDataSet",
|
|
2044
2047
|
NoValue: "noValue",
|
|
@@ -2084,23 +2087,23 @@ async function ys(t) {
|
|
|
2084
2087
|
const y = ft(i.geometry) ?? f.fullExtent, g = Ot(f, c);
|
|
2085
2088
|
if (g < 0)
|
|
2086
2089
|
throw new Error("Band ID not found for `${x}`.");
|
|
2087
|
-
let p,
|
|
2090
|
+
let p, h;
|
|
2088
2091
|
if (!r && (l === void 0 || l === Z.None) && d && Array.isArray(m.histograms) && m.histograms.length > g && m.histograms[g].size % d === 0 && Array.isArray(m.statistics) && m?.statistics?.length > g)
|
|
2089
|
-
p = m.histograms[g],
|
|
2092
|
+
p = m.histograms[g], h = m.statistics[g];
|
|
2090
2093
|
else {
|
|
2091
|
-
let
|
|
2094
|
+
let v, B, b;
|
|
2092
2095
|
if (r && n)
|
|
2093
|
-
|
|
2096
|
+
v = n.resolution, B = n.resolution, b = n.spatialReference;
|
|
2094
2097
|
else {
|
|
2095
2098
|
const w = fs, L = 2, A = m.width, I = m.height, P = Math.max(
|
|
2096
2099
|
0,
|
|
2097
2100
|
Math.ceil(Math.log(Math.max(A, I) / w) / Math.log(L))
|
|
2098
2101
|
), O = L ** P;
|
|
2099
|
-
|
|
2102
|
+
v = m.pixelSize.x * O, B = m.pixelSize.y * O, b = f.spatialReference;
|
|
2100
2103
|
}
|
|
2101
|
-
const
|
|
2102
|
-
x,
|
|
2103
|
-
y:
|
|
2104
|
+
const C = new da({
|
|
2105
|
+
x: v,
|
|
2106
|
+
y: B,
|
|
2104
2107
|
spatialReference: b
|
|
2105
2108
|
}), N = ms(l), T = await Gr(
|
|
2106
2109
|
f,
|
|
@@ -2108,7 +2111,7 @@ async function ys(t) {
|
|
|
2108
2111
|
bandIds: [g],
|
|
2109
2112
|
geometry: y,
|
|
2110
2113
|
histogramSize: d ?? void 0,
|
|
2111
|
-
pixelSize:
|
|
2114
|
+
pixelSize: C,
|
|
2112
2115
|
transformType: N,
|
|
2113
2116
|
downsampleOnly: !0
|
|
2114
2117
|
},
|
|
@@ -2116,9 +2119,9 @@ async function ys(t) {
|
|
|
2116
2119
|
signal: o ?? (s !== void 0 ? Ge.get(s)?.signal : void 0)
|
|
2117
2120
|
}
|
|
2118
2121
|
);
|
|
2119
|
-
|
|
2122
|
+
h = T.statistics[0], p = T.histograms[0];
|
|
2120
2123
|
}
|
|
2121
|
-
return { histogram: p, statistics:
|
|
2124
|
+
return { histogram: p, statistics: h };
|
|
2122
2125
|
}
|
|
2123
2126
|
function gs(t, e) {
|
|
2124
2127
|
const i = [], a = (t.max - t.min) / t.size;
|
|
@@ -2178,12 +2181,14 @@ async function ps(t) {
|
|
|
2178
2181
|
}
|
|
2179
2182
|
} : u = {
|
|
2180
2183
|
valid: !1,
|
|
2181
|
-
invalidType:
|
|
2184
|
+
invalidType: Q.EmptyDataSet
|
|
2182
2185
|
};
|
|
2183
2186
|
} else
|
|
2184
2187
|
u = {
|
|
2185
2188
|
valid: !1,
|
|
2186
|
-
invalidType:
|
|
2189
|
+
invalidType: Q.NoValue
|
|
2190
|
+
// for #17296
|
|
2191
|
+
// invalidType: DataWarningKeywords.BadData, // 2DO: review whether to use BadData or NoValue after future enhancement
|
|
2187
2192
|
};
|
|
2188
2193
|
return u;
|
|
2189
2194
|
}
|
|
@@ -2294,22 +2299,22 @@ async function vs(t) {
|
|
|
2294
2299
|
let m;
|
|
2295
2300
|
const y = z(e), g = ge(y);
|
|
2296
2301
|
if (g) {
|
|
2297
|
-
const
|
|
2298
|
-
if (
|
|
2299
|
-
const
|
|
2300
|
-
|
|
2302
|
+
const h = { where: Y([u, g.definitionExpression]) }, v = { query: h, signal: o }, B = ft(c)?.extent?.toJSON();
|
|
2303
|
+
if (B !== void 0) {
|
|
2304
|
+
const C = Cs(d), { xmin: N, ymin: T, xmax: w, ymax: L } = B;
|
|
2305
|
+
h.geometryType = "esriGeometryEnvelope", h.geometry = `${N},${T},${w},${L}`, l !== void 0 && (h.distance = l.toString()), C !== void 0 && (h.units = C, c?.spatialReference?.wkid != null && (h.inSR = c.spatialReference.wkid.toString()));
|
|
2301
2306
|
}
|
|
2302
|
-
f && (
|
|
2307
|
+
f && (h.time = `${f[0]},${f[1]}`);
|
|
2303
2308
|
const b = `${g.url}/${g.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${n}`;
|
|
2304
2309
|
try {
|
|
2305
|
-
m = (await Lt(b,
|
|
2306
|
-
} catch (
|
|
2310
|
+
m = (await Lt(b, v)).data?.features?.[0]?.attributes;
|
|
2311
|
+
} catch (C) {
|
|
2307
2312
|
const N = s ?? (await mt(
|
|
2308
2313
|
ze(document.documentElement).t9nLocale,
|
|
2309
2314
|
gt("./assets/common/t9n"),
|
|
2310
2315
|
"messages."
|
|
2311
2316
|
)).errorStrings;
|
|
2312
|
-
throw new re(le.QueryFeaturesError, N.errors.queryError,
|
|
2317
|
+
throw new re(le.QueryFeaturesError, N.errors.queryError, C);
|
|
2313
2318
|
}
|
|
2314
2319
|
}
|
|
2315
2320
|
return m;
|
|
@@ -2326,7 +2331,7 @@ async function Bs(t) {
|
|
|
2326
2331
|
let u;
|
|
2327
2332
|
const c = z(i), l = yn(c);
|
|
2328
2333
|
if (l && i && "queryAttributeBins" in i) {
|
|
2329
|
-
const { x: d, y: f, xTemporalBinning: m, yTemporalBinning: y } = e.series[0], { outTimeZone: g, firstDayOfWeek: p, includeLeapDay:
|
|
2334
|
+
const { x: d, y: f, xTemporalBinning: m, yTemporalBinning: y } = e.series[0], { outTimeZone: g, firstDayOfWeek: p, includeLeapDay: h } = e, v = Fo({
|
|
2330
2335
|
queryObject: i,
|
|
2331
2336
|
queryConfig: a,
|
|
2332
2337
|
x: d,
|
|
@@ -2335,14 +2340,14 @@ async function Bs(t) {
|
|
|
2335
2340
|
yTemporalBinning: y,
|
|
2336
2341
|
configTimeZone: g,
|
|
2337
2342
|
firstDayOfWeek: p,
|
|
2338
|
-
includeLeapDay:
|
|
2343
|
+
includeLeapDay: h,
|
|
2339
2344
|
view: r,
|
|
2340
2345
|
syncViewTimeZone: n
|
|
2341
2346
|
});
|
|
2342
2347
|
try {
|
|
2343
|
-
u = await i.queryAttributeBins(
|
|
2344
|
-
} catch (
|
|
2345
|
-
throw new re(le.QueryFeaturesError, s.errors.queryError,
|
|
2348
|
+
u = await i.queryAttributeBins(v, { signal: o });
|
|
2349
|
+
} catch (B) {
|
|
2350
|
+
throw new re(le.QueryFeaturesError, s.errors.queryError, B);
|
|
2346
2351
|
}
|
|
2347
2352
|
}
|
|
2348
2353
|
if (!l)
|
|
@@ -2496,10 +2501,10 @@ async function Fe(t) {
|
|
|
2496
2501
|
const l = z(e), d = r ?? 1, f = za(l);
|
|
2497
2502
|
if (n !== !0 && d > f && l?.capabilities?.query.supportsPagination) {
|
|
2498
2503
|
let m = 0, y = 0;
|
|
2499
|
-
const g = Math.ceil(d / f), p = Math.ceil(g / W.maxParallelRequests),
|
|
2504
|
+
const g = Math.ceil(d / f), p = Math.ceil(g / W.maxParallelRequests), h = [];
|
|
2500
2505
|
for (; y < p; ) {
|
|
2501
2506
|
m = y * W.maxParallelRequests * f;
|
|
2502
|
-
const
|
|
2507
|
+
const B = ws({
|
|
2503
2508
|
queryConfig: { ...i, start: m },
|
|
2504
2509
|
queryObject: e,
|
|
2505
2510
|
maxRecords: f,
|
|
@@ -2509,9 +2514,9 @@ async function Fe(t) {
|
|
|
2509
2514
|
abortKey: o,
|
|
2510
2515
|
abortSignal: u
|
|
2511
2516
|
});
|
|
2512
|
-
|
|
2517
|
+
h.push(B), y += 1;
|
|
2513
2518
|
}
|
|
2514
|
-
c = (await Promise.all(
|
|
2519
|
+
c = (await Promise.all(h)).flat();
|
|
2515
2520
|
} else (Number.isNaN(d) || d >= 0) && (c = await Ia({
|
|
2516
2521
|
queryObject: e,
|
|
2517
2522
|
queryConfig: i,
|
|
@@ -2641,10 +2646,10 @@ async function Is(t) {
|
|
|
2641
2646
|
typeKey: y,
|
|
2642
2647
|
typeValue: g,
|
|
2643
2648
|
fieldValue: p,
|
|
2644
|
-
slopePropertyList:
|
|
2645
|
-
interceptPropertyList:
|
|
2646
|
-
r2PropertyList:
|
|
2647
|
-
} = xs, b = `[{"${y}": "${g}", "${p}":"${u},${c}"}]`,
|
|
2649
|
+
slopePropertyList: h,
|
|
2650
|
+
interceptPropertyList: v,
|
|
2651
|
+
r2PropertyList: B
|
|
2652
|
+
} = xs, b = `[{"${y}": "${g}", "${p}":"${u},${c}"}]`, C = await vs({
|
|
2648
2653
|
queryObject: i,
|
|
2649
2654
|
queryConfig: r,
|
|
2650
2655
|
outputFormat: m,
|
|
@@ -2653,11 +2658,11 @@ async function Is(t) {
|
|
|
2653
2658
|
errorStrings: n,
|
|
2654
2659
|
abortSignal: s
|
|
2655
2660
|
});
|
|
2656
|
-
if (
|
|
2661
|
+
if (C !== void 0) {
|
|
2657
2662
|
let N = Number.NaN, T = Number.NaN;
|
|
2658
|
-
const { expr: w } = Wt(
|
|
2659
|
-
w !== void 0 && Number.isFinite(
|
|
2660
|
-
const { dataContextXMinField: I, dataContextXMaxField: P, dataContextYMinField: O, dataContextYMaxField: V } =
|
|
2663
|
+
const { expr: w } = Wt(C, h), { expr: L } = Wt(C, v), { expr: A } = Wt(C, B);
|
|
2664
|
+
w !== void 0 && Number.isFinite(C[w]) && (N = C[w]), L !== void 0 && Number.isFinite(C[L]) && (T = C[L]), A !== void 0 && Number.isFinite(C[A]) && (l = C[A]);
|
|
2665
|
+
const { dataContextXMinField: I, dataContextXMaxField: P, dataContextYMinField: O, dataContextYMaxField: V } = x.scatterplotAggregationFields, $ = e.get(I) ?? Number.NaN, M = e.get(P) ?? Number.NaN, q = e.get(O) ?? Number.NaN, G = e.get(V) ?? Number.NaN, X = (M - $) / 100;
|
|
2661
2666
|
let H = $ - X, ae = Number.NaN;
|
|
2662
2667
|
for (; !(ae >= q && ae <= G) && H <= M; )
|
|
2663
2668
|
H += X, ae = N * H + T;
|
|
@@ -2673,7 +2678,7 @@ async function Is(t) {
|
|
|
2673
2678
|
}
|
|
2674
2679
|
function qa(t) {
|
|
2675
2680
|
const { data: e, chartConfig: i } = t, a = i.series[0], { x: r, y: n } = a;
|
|
2676
|
-
let { r2: s, trendLinePoints: o } =
|
|
2681
|
+
let { r2: s, trendLinePoints: o } = x.scatterplotSeries;
|
|
2677
2682
|
const u = Os({ data: e, x: r, y: n });
|
|
2678
2683
|
if (u !== void 0) {
|
|
2679
2684
|
const c = jr(u), l = Hr(c);
|
|
@@ -2682,7 +2687,7 @@ function qa(t) {
|
|
|
2682
2687
|
return { r2: s, trendLinePoints: o };
|
|
2683
2688
|
}
|
|
2684
2689
|
async function Va(t) {
|
|
2685
|
-
const e = await Ms(t), { chartConfig: i } = t, a = i.series[0], { x: r, y: n } = a, { r2: s } =
|
|
2690
|
+
const e = await Ms(t), { chartConfig: i } = t, a = i.series[0], { x: r, y: n } = a, { r2: s } = x.scatterplotSeries, o = [
|
|
2686
2691
|
{ [r]: Number.NaN, [n]: Number.NaN },
|
|
2687
2692
|
{ [r]: Number.NaN, [n]: Number.NaN }
|
|
2688
2693
|
];
|
|
@@ -2750,7 +2755,7 @@ async function $s(t) {
|
|
|
2750
2755
|
queryObject: a,
|
|
2751
2756
|
chartConfig: e,
|
|
2752
2757
|
errorStrings: s
|
|
2753
|
-
}) :
|
|
2758
|
+
}) : x.scatterplotSeries;
|
|
2754
2759
|
return { dataItems: c, r2: d, trendLinePoints: f };
|
|
2755
2760
|
}
|
|
2756
2761
|
const ks = (t) => ({
|
|
@@ -2881,8 +2886,8 @@ function js(t) {
|
|
|
2881
2886
|
function Ei(t, e) {
|
|
2882
2887
|
let i;
|
|
2883
2888
|
return t == null && e ? i = {
|
|
2884
|
-
groupKey:
|
|
2885
|
-
display:
|
|
2889
|
+
groupKey: x.nullValue,
|
|
2890
|
+
display: x.nullValue,
|
|
2886
2891
|
original: null
|
|
2887
2892
|
} : i = { groupKey: t, display: t, original: t }, i;
|
|
2888
2893
|
}
|
|
@@ -2930,40 +2935,50 @@ async function zs(t) {
|
|
|
2930
2935
|
if (!l || !d)
|
|
2931
2936
|
u = {
|
|
2932
2937
|
valid: !1,
|
|
2933
|
-
invalidType:
|
|
2938
|
+
invalidType: Q.NoValue
|
|
2939
|
+
// for #17296
|
|
2940
|
+
// invalidType: DataWarningKeywords.BadData, // 2DO: review whether to use BadData or NoValue after future enhancement
|
|
2934
2941
|
};
|
|
2935
2942
|
else {
|
|
2936
2943
|
const f = e.series;
|
|
2937
|
-
if (!f || f.length === 0
|
|
2944
|
+
if (!f || f.length === 0)
|
|
2938
2945
|
u = {
|
|
2939
|
-
valid: !
|
|
2946
|
+
valid: !1,
|
|
2947
|
+
invalidType: Q.InvalidConfig
|
|
2948
|
+
// for #17296
|
|
2949
|
+
};
|
|
2950
|
+
else if (d.length === 0)
|
|
2951
|
+
u = {
|
|
2952
|
+
valid: !1,
|
|
2953
|
+
invalidType: Q.EmptyDataSet
|
|
2954
|
+
// for #17296
|
|
2940
2955
|
};
|
|
2941
2956
|
else {
|
|
2942
|
-
const m = i.groupByFieldsForStatistics?.[0] ?? "", y = f.some((
|
|
2943
|
-
for (const
|
|
2944
|
-
const { groupKey:
|
|
2945
|
-
|
|
2957
|
+
const m = i.groupByFieldsForStatistics?.[0] ?? "", y = f.some((h) => h.query?.fetchNullValues), g = /* @__PURE__ */ new Map();
|
|
2958
|
+
for (const h of d) {
|
|
2959
|
+
const { groupKey: v } = Ei(h.attributes[m], y);
|
|
2960
|
+
v === x.nullValue && !y || (g.has(v) || g.set(v, []), g.get(v).push(h.attributes));
|
|
2946
2961
|
}
|
|
2947
2962
|
const p = [];
|
|
2948
|
-
g.forEach((
|
|
2949
|
-
const
|
|
2950
|
-
|
|
2963
|
+
g.forEach((h) => {
|
|
2964
|
+
const v = {}, B = h[0][m], { display: b, original: C } = Ei(B, y);
|
|
2965
|
+
v[m] = b, v[x.xAxisField] = b, v[x.originalCategoryValue] = C, f.forEach((N) => {
|
|
2951
2966
|
const T = N.query?.outStatistics?.[0];
|
|
2952
2967
|
if (!T) {
|
|
2953
2968
|
const { name: O } = N;
|
|
2954
|
-
|
|
2969
|
+
v[O] = h[0][O];
|
|
2955
2970
|
return;
|
|
2956
2971
|
}
|
|
2957
|
-
let w =
|
|
2972
|
+
let w = h;
|
|
2958
2973
|
const L = N.query?.where;
|
|
2959
|
-
L && (w =
|
|
2974
|
+
L && (w = h.filter((O) => _s(O, L)));
|
|
2960
2975
|
const A = T.statisticType, I = T.onStatisticField, P = T.outStatisticFieldName;
|
|
2961
|
-
|
|
2976
|
+
v[P] = js({
|
|
2962
2977
|
features: w,
|
|
2963
2978
|
aggregationType: A,
|
|
2964
2979
|
onField: I
|
|
2965
2980
|
});
|
|
2966
|
-
}), p.push(
|
|
2981
|
+
}), p.push(v);
|
|
2967
2982
|
}), u = {
|
|
2968
2983
|
valid: !0,
|
|
2969
2984
|
data: {
|
|
@@ -3031,29 +3046,29 @@ function Us(t) {
|
|
|
3031
3046
|
return r;
|
|
3032
3047
|
}
|
|
3033
3048
|
const ai = "PixelID", Ys = "Pixel ID", Zs = [
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3049
|
+
S.BarSeries,
|
|
3050
|
+
S.HistogramSeries,
|
|
3051
|
+
S.ScatterSeries
|
|
3037
3052
|
];
|
|
3038
3053
|
async function pd(t) {
|
|
3039
3054
|
let e = !1;
|
|
3040
3055
|
const { config: i, layer: a, abortSignal: r } = t;
|
|
3041
3056
|
if (Dr(Zs, i))
|
|
3042
|
-
switch (
|
|
3043
|
-
case
|
|
3057
|
+
switch (j(i?.series)) {
|
|
3058
|
+
case S.BarSeries:
|
|
3044
3059
|
a.loaded || await a.load({ signal: r }), e = !!(await dt(a, r))?.attributeTable;
|
|
3045
3060
|
break;
|
|
3046
|
-
case
|
|
3047
|
-
case
|
|
3061
|
+
case S.HistogramSeries:
|
|
3062
|
+
case S.ScatterSeries:
|
|
3048
3063
|
e = !0;
|
|
3049
3064
|
break;
|
|
3050
3065
|
}
|
|
3051
3066
|
return e;
|
|
3052
3067
|
}
|
|
3053
3068
|
async function Xs(t) {
|
|
3054
|
-
const { layer: e,
|
|
3069
|
+
const { layer: e, iLayer: i } = t;
|
|
3055
3070
|
let a;
|
|
3056
|
-
return ie(e) ? a = e : i?.
|
|
3071
|
+
return ie(e) ? a = e : i?.layerType === "ArcGISImageServiceLayer" ? a = await ka(i) : i?.layerType === "ArcGISTiledImageServiceLayer" && (a = await Qa(i)), a;
|
|
3057
3072
|
}
|
|
3058
3073
|
function Js(t) {
|
|
3059
3074
|
let e;
|
|
@@ -3090,7 +3105,7 @@ function $a(t) {
|
|
|
3090
3105
|
if (!n)
|
|
3091
3106
|
throw new Error("Raster info must be provided or generated beforehand to get raster layer fields info");
|
|
3092
3107
|
let s = [];
|
|
3093
|
-
return i !== void 0 ? i !==
|
|
3108
|
+
return i !== void 0 ? i !== S.BarSeries ? s = qi({ layer: e, rasterInfo: n, popupTemplateFieldInfosEnabled: r }) : n.attributeTable && (s = n.attributeTable.fields.map((o) => o.toJSON())) : n.attributeTable ? s = n.attributeTable.fields.map((o) => o.toJSON()) : s = qi({ layer: e, rasterInfo: n, popupTemplateFieldInfosEnabled: r }), s;
|
|
3094
3109
|
}
|
|
3095
3110
|
function qi(t) {
|
|
3096
3111
|
const { layer: e, rasterInfo: i, popupTemplateFieldInfosEnabled: a } = t;
|
|
@@ -3169,24 +3184,24 @@ const ka = qt(
|
|
|
3169
3184
|
}
|
|
3170
3185
|
return i;
|
|
3171
3186
|
}, Sd = (t) => {
|
|
3172
|
-
const { chartConfig: e, layer: i, selectionDataItems: a } = t, r =
|
|
3187
|
+
const { chartConfig: e, layer: i, selectionDataItems: a } = t, r = j(e.series);
|
|
3173
3188
|
let n;
|
|
3174
3189
|
switch (r) {
|
|
3175
|
-
case
|
|
3190
|
+
case S.BarSeries:
|
|
3176
3191
|
n = Us({
|
|
3177
3192
|
chartConfig: e,
|
|
3178
3193
|
layer: i,
|
|
3179
3194
|
selectionDataItems: a
|
|
3180
3195
|
});
|
|
3181
3196
|
break;
|
|
3182
|
-
case
|
|
3197
|
+
case S.HistogramSeries:
|
|
3183
3198
|
n = Ss({
|
|
3184
3199
|
chartConfig: e,
|
|
3185
3200
|
layer: i,
|
|
3186
3201
|
selectionDataItems: a
|
|
3187
3202
|
});
|
|
3188
3203
|
break;
|
|
3189
|
-
case
|
|
3204
|
+
case S.ScatterSeries:
|
|
3190
3205
|
n = Qs({
|
|
3191
3206
|
chartConfig: e,
|
|
3192
3207
|
layer: i,
|
|
@@ -3301,13 +3316,13 @@ async function Fd(t, e) {
|
|
|
3301
3316
|
return i;
|
|
3302
3317
|
}
|
|
3303
3318
|
async function bd(t) {
|
|
3304
|
-
const { layer: e, view: i,
|
|
3319
|
+
const { layer: e, view: i, iLayer: a, filterByViewExtent: r, abortSignal: n } = t, s = ie(e) || _r(a);
|
|
3305
3320
|
let o;
|
|
3306
3321
|
if (s)
|
|
3307
3322
|
o = await Xs(t);
|
|
3308
3323
|
else {
|
|
3309
3324
|
const u = z(e), c = ge(u);
|
|
3310
|
-
c !== void 0 ?
|
|
3325
|
+
c !== void 0 ? (i !== void 0 && !c.isTable && (c.outFields = ["*"]), r && i !== void 0 && !c.isTable ? o = await i.whenLayerView(c) : o = e) : a?.layerType === "ArcGISFeatureLayer" && (o = await gi(a, n));
|
|
3311
3326
|
}
|
|
3312
3327
|
return o;
|
|
3313
3328
|
}
|
|
@@ -3458,24 +3473,24 @@ function Ha(t) {
|
|
|
3458
3473
|
spatialRelationship: g
|
|
3459
3474
|
} = o ?? {}, {
|
|
3460
3475
|
where: p,
|
|
3461
|
-
gdbVersion:
|
|
3462
|
-
timeExtent:
|
|
3463
|
-
geometry:
|
|
3476
|
+
gdbVersion: h,
|
|
3477
|
+
timeExtent: v,
|
|
3478
|
+
geometry: B,
|
|
3464
3479
|
distance: b,
|
|
3465
|
-
units:
|
|
3480
|
+
units: C,
|
|
3466
3481
|
objectIds: N,
|
|
3467
3482
|
spatialRelationship: T
|
|
3468
3483
|
} = a ?? {}, w = s[0], { query: L } = w, { where: A } = L ?? {}, I = k(s), P = { ...L };
|
|
3469
|
-
return P.where = Y([u, p]), I !== F.BarAndLineSplitBy && I !== F.BoxPlotMonoFieldAndSplitBy && I !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && I !== F.BoxPlotMultiFieldsAndSplitBy && I !== F.BarAndLineSplitByNoAggregation && (P.where = Y([P.where, A])), i.orderOptions?.orderByFields !== void 0 && (P.orderByFields = i.orderOptions.orderByFields), P.gdbVersion =
|
|
3484
|
+
return P.where = Y([u, p]), I !== F.BarAndLineSplitBy && I !== F.BoxPlotMonoFieldAndSplitBy && I !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && I !== F.BoxPlotMultiFieldsAndSplitBy && I !== F.BarAndLineSplitByNoAggregation && (P.where = Y([P.where, A])), i.orderOptions?.orderByFields !== void 0 && (P.orderByFields = i.orderOptions.orderByFields), P.gdbVersion = h ?? c, P.timeExtent = yo(n?.timeExtent, v ?? l), P.geometry = ie(e) ? to({
|
|
3470
3485
|
queryObject: e,
|
|
3471
|
-
defaultGeometry:
|
|
3486
|
+
defaultGeometry: B ?? d,
|
|
3472
3487
|
ignoreViewExtent: r,
|
|
3473
3488
|
viewExtent: n?.extent
|
|
3474
3489
|
}) : go({
|
|
3475
3490
|
queryObject: e,
|
|
3476
|
-
defaultGeometry:
|
|
3491
|
+
defaultGeometry: B ?? d,
|
|
3477
3492
|
ignoreViewExtent: r
|
|
3478
|
-
}), P.distance = b ?? f, P.units =
|
|
3493
|
+
}), P.distance = b ?? f, P.units = C ?? m, P.objectIds = N ?? y, P.spatialRelationship = T ?? g, L?.outStatistics?.[0]?.statisticType === D.Count && (P.returnDistinctValues = L?.returnDistinctValues ?? !1), P?.outStatistics?.forEach((O) => {
|
|
3479
3494
|
mi(O) && !("statisticParameters" in O) && (O.statisticParameters = {
|
|
3480
3495
|
value: W.defaultStatParameterValue
|
|
3481
3496
|
});
|
|
@@ -3587,24 +3602,24 @@ function Wa(t) {
|
|
|
3587
3602
|
}
|
|
3588
3603
|
function _t(t) {
|
|
3589
3604
|
const { queryType: e, queryObject: i, queryConfig: a, view: r, configTimeZone: n, dateField: s, useViewTimeZone: o } = t, { where: u, outStatistics: c, geometry: l, distance: d, units: f, timeExtent: m, returnDistinctValues: y } = a ?? {}, g = z(i);
|
|
3590
|
-
let
|
|
3591
|
-
const
|
|
3592
|
-
if (e === "AttributeBinsQuery" && a?.objectIds?.[0] !== void 0 &&
|
|
3605
|
+
let h = ge(g)?.createQuery() ?? new Br(), v;
|
|
3606
|
+
const B = kt(g).idFields;
|
|
3607
|
+
if (e === "AttributeBinsQuery" && a?.objectIds?.[0] !== void 0 && B && (v = `${B} IN (${a.objectIds.join(",")})`), e === "AttributeBinsQuery" && (h = new vr(h.toJSON()), Ce(i).find((T) => T.name === s)?.type !== U.DateOnly)) {
|
|
3593
3608
|
const T = Intl.DateTimeFormat().resolvedOptions().timeZone, w = o && r && "timeZone" in r ? r.timeZone : void 0;
|
|
3594
3609
|
let L = n ?? w ?? T;
|
|
3595
|
-
L === "unknown" ? L = "Etc/UTC" : L === "system" && (L = T),
|
|
3610
|
+
L === "unknown" ? L = "Etc/UTC" : L === "system" && (L = T), h.outTimeZone = L;
|
|
3596
3611
|
}
|
|
3597
|
-
if (
|
|
3598
|
-
const
|
|
3599
|
-
|
|
3600
|
-
(N) => N.statisticType !== D.EnvelopeAggregate ||
|
|
3612
|
+
if (h.where = Y([h.where, u, v]), "returnDistinctValues" in h && (h.returnDistinctValues = y ?? !1), c !== void 0) {
|
|
3613
|
+
const C = pn(g);
|
|
3614
|
+
h.outStatistics = c.filter(
|
|
3615
|
+
(N) => N.statisticType !== D.EnvelopeAggregate || C
|
|
3601
3616
|
).map((N) => Nr.fromJSON(N));
|
|
3602
3617
|
}
|
|
3603
3618
|
const b = ft(l);
|
|
3604
|
-
return b !== void 0 && (
|
|
3619
|
+
return b !== void 0 && (h.geometry = b, a?.spatialRelationship && (h.spatialRelationship = a.spatialRelationship), ya(g) && (d !== void 0 && (h.distance = d), f !== void 0 && (h.units = f))), m && (h.timeExtent = new Ki({
|
|
3605
3620
|
start: m?.[0],
|
|
3606
3621
|
end: m?.[1]
|
|
3607
|
-
})), mo(
|
|
3622
|
+
})), mo(h) && (h.cacheHint = !0), h;
|
|
3608
3623
|
}
|
|
3609
3624
|
function po(t) {
|
|
3610
3625
|
let e;
|
|
@@ -3619,7 +3634,7 @@ function po(t) {
|
|
|
3619
3634
|
return e;
|
|
3620
3635
|
}
|
|
3621
3636
|
function ho(t) {
|
|
3622
|
-
const { queryObject: e, queryConfig: i, temporalBinning: a, dateField: r, splitByField: n, axisTimeZone: s, view: o, syncViewTimeZone: u } = t, { unit: c, size: l, timeAggregationType: d, start: f, end: m, offset: y, outTimeZone: g } = a, p = z(e),
|
|
3637
|
+
const { queryObject: e, queryConfig: i, temporalBinning: a, dateField: r, splitByField: n, axisTimeZone: s, view: o, syncViewTimeZone: u } = t, { unit: c, size: l, timeAggregationType: d, start: f, end: m, offset: y, outTimeZone: g } = a, p = z(e), h = _t({
|
|
3623
3638
|
queryType: "AttributeBinsQuery",
|
|
3624
3639
|
queryObject: e,
|
|
3625
3640
|
queryConfig: i,
|
|
@@ -3628,23 +3643,23 @@ function ho(t) {
|
|
|
3628
3643
|
view: o,
|
|
3629
3644
|
dateField: r,
|
|
3630
3645
|
useViewTimeZone: u ?? !1
|
|
3631
|
-
}),
|
|
3632
|
-
if (
|
|
3646
|
+
}), v = Ea(r);
|
|
3647
|
+
if (h.lowerBoundaryAlias = v.lowerBoundaryAlias, h.upperBoundaryAlias = v.upperBoundaryAlias, h.binParameters = {
|
|
3633
3648
|
type: "date",
|
|
3634
3649
|
field: r,
|
|
3635
3650
|
interval: { unit: c, value: l },
|
|
3636
3651
|
start: f,
|
|
3637
3652
|
end: m,
|
|
3638
3653
|
offset: y ? { unit: y.unit, value: y.size } : null
|
|
3639
|
-
},
|
|
3640
|
-
const b = ge(p)?.fields.find((
|
|
3641
|
-
(!b || b === "string" || b === "integer" || b === "small-integer" || b === "big-integer" || b === "double") && (
|
|
3654
|
+
}, h.binParameters.type === "date" && (p?.capabilities?.queryAttributeBins?.supportsSnapToData && (h.binParameters.snapToData = po(d)), p?.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin && (h.binParameters.returnFullIntervalBin = !0)), !oe(n)) {
|
|
3655
|
+
const b = ge(p)?.fields.find((C) => C.name === n)?.type;
|
|
3656
|
+
(!b || b === "string" || b === "integer" || b === "small-integer" || b === "big-integer" || b === "double") && (h.binParameters.stackBy = {
|
|
3642
3657
|
type: "field",
|
|
3643
3658
|
value: n,
|
|
3644
3659
|
valueType: b === "string" ? "string" : "integer"
|
|
3645
3660
|
});
|
|
3646
3661
|
}
|
|
3647
|
-
return
|
|
3662
|
+
return h;
|
|
3648
3663
|
}
|
|
3649
3664
|
function pi(t) {
|
|
3650
3665
|
const {
|
|
@@ -3759,18 +3774,18 @@ function Fo(t) {
|
|
|
3759
3774
|
xOrYFieldType: m,
|
|
3760
3775
|
addIntervalStatement: !1,
|
|
3761
3776
|
includeLeapDay: u
|
|
3762
|
-
}), { field:
|
|
3763
|
-
|
|
3764
|
-
const
|
|
3777
|
+
}), { field: h, expression: v, start: B, end: b } = p;
|
|
3778
|
+
h ? g.binParameters.field = h : v && (g.binParameters.expression = v, g.binParameters.expressionValueType = "integer", g.binParameters.type === "fixed-interval" && (B !== void 0 && (g.binParameters.start = B), b !== void 0 && (g.binParameters.end = b)));
|
|
3779
|
+
const C = Ri({
|
|
3765
3780
|
temporalBinning: s,
|
|
3766
3781
|
xOrY: r,
|
|
3767
3782
|
xOrYFieldType: y,
|
|
3768
3783
|
addIntervalStatement: !1,
|
|
3769
3784
|
includeLeapDay: u
|
|
3770
3785
|
});
|
|
3771
|
-
return
|
|
3786
|
+
return C.field ? g.binParameters.stackBy = { type: "field", value: C.field } : C.expression && (g.binParameters.stackBy = {
|
|
3772
3787
|
type: "expression",
|
|
3773
|
-
value:
|
|
3788
|
+
value: C.expression,
|
|
3774
3789
|
valueType: "integer",
|
|
3775
3790
|
alias: r
|
|
3776
3791
|
}), g;
|
|
@@ -3818,7 +3833,7 @@ function Co(t = Z.None, e) {
|
|
|
3818
3833
|
}
|
|
3819
3834
|
function Ga(t, e) {
|
|
3820
3835
|
const i = { valid: !1 };
|
|
3821
|
-
return e === !0 ? i.invalidType =
|
|
3836
|
+
return e === !0 ? i.invalidType = Q.HistogramEmptyField : t === Z.Log ? i.invalidType = Q.NegativeValueInLogCalculation : t === Z.Sqrt && (i.invalidType = Q.NegativeValueInSqrtCalculation), i;
|
|
3822
3837
|
}
|
|
3823
3838
|
function vo(t, e) {
|
|
3824
3839
|
let i = t;
|
|
@@ -3887,8 +3902,8 @@ async function No(t) {
|
|
|
3887
3902
|
errorStrings: r,
|
|
3888
3903
|
abortKey: n,
|
|
3889
3904
|
abortSignal: s
|
|
3890
|
-
}),
|
|
3891
|
-
return { countExcludingNulls:
|
|
3905
|
+
}), h = p.get(d) ?? Number.NaN, v = p.get(f) ?? Number.NaN, B = p.get(m) ?? Number.NaN, b = p.get(y) ?? Number.NaN;
|
|
3906
|
+
return { countExcludingNulls: v, countIncludingNulls: h, min: B, max: b };
|
|
3892
3907
|
}
|
|
3893
3908
|
async function To(t) {
|
|
3894
3909
|
const { queryConfig: e, chartConfig: i, queryObject: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = i.series[0], { x: u, dataTransformationType: c } = o;
|
|
@@ -3900,8 +3915,8 @@ async function To(t) {
|
|
|
3900
3915
|
errorStrings: r,
|
|
3901
3916
|
abortKey: n,
|
|
3902
3917
|
abortSignal: s
|
|
3903
|
-
}), g = Co(c, m), p = f < 2 || m === y,
|
|
3904
|
-
return
|
|
3918
|
+
}), g = Co(c, m), p = f < 2 || m === y, h = { ...e };
|
|
3919
|
+
return h.where = Y([h.where, `${u} is not null`]), {
|
|
3905
3920
|
rawData: l,
|
|
3906
3921
|
dataCompatibleWithTransformation: g,
|
|
3907
3922
|
dataCountIncompatible: p,
|
|
@@ -3982,33 +3997,33 @@ async function Mo(t) {
|
|
|
3982
3997
|
queryConfig: i,
|
|
3983
3998
|
abortSignal: u
|
|
3984
3999
|
});
|
|
3985
|
-
let
|
|
3986
|
-
if (g !== void 0 && (
|
|
4000
|
+
let h;
|
|
4001
|
+
if (g !== void 0 && (h = new wi({
|
|
3987
4002
|
geometry: g.extent
|
|
3988
4003
|
}), g.extent !== void 0 && ya(f))) {
|
|
3989
4004
|
const { distance: A, units: I } = i;
|
|
3990
|
-
A !== void 0 && (
|
|
4005
|
+
A !== void 0 && (h.distance = A), I !== void 0 && (h.units = I);
|
|
3991
4006
|
}
|
|
3992
4007
|
if (i.timeExtent) {
|
|
3993
4008
|
const A = { start: i.timeExtent[0], end: i.timeExtent[1] };
|
|
3994
|
-
|
|
4009
|
+
h === void 0 ? h = new wi({ timeExtent: A }) : h.timeExtent = A;
|
|
3995
4010
|
}
|
|
3996
|
-
p.filter =
|
|
3997
|
-
let
|
|
4011
|
+
p.filter = h;
|
|
4012
|
+
let v;
|
|
3998
4013
|
p.outStatisticTypes = { exclude: ["median"] };
|
|
3999
4014
|
try {
|
|
4000
|
-
|
|
4015
|
+
v = await Li(p);
|
|
4001
4016
|
} catch (A) {
|
|
4002
4017
|
throw new re(le.QueryFeaturesError, o.errors.queryError, A);
|
|
4003
4018
|
}
|
|
4004
4019
|
p.outStatisticTypes = { include: ["median"] };
|
|
4005
4020
|
try {
|
|
4006
4021
|
const A = await Li(p);
|
|
4007
|
-
A?.median && (
|
|
4022
|
+
A?.median && (v.median = A.median);
|
|
4008
4023
|
} catch {
|
|
4009
4024
|
}
|
|
4010
|
-
|
|
4011
|
-
const { avg:
|
|
4025
|
+
v = Ao(v);
|
|
4026
|
+
const { avg: B, count: b, stddev: C, min: N, max: T, sum: w, median: L } = v;
|
|
4012
4027
|
if (b === 0)
|
|
4013
4028
|
d = {
|
|
4014
4029
|
...Ga(l)
|
|
@@ -4025,7 +4040,7 @@ async function Mo(t) {
|
|
|
4025
4040
|
queryConfig: i,
|
|
4026
4041
|
abortSignal: u
|
|
4027
4042
|
});
|
|
4028
|
-
A.filter =
|
|
4043
|
+
A.filter = h;
|
|
4029
4044
|
let I;
|
|
4030
4045
|
try {
|
|
4031
4046
|
I = await Cr(A);
|
|
@@ -4034,8 +4049,8 @@ async function Mo(t) {
|
|
|
4034
4049
|
}
|
|
4035
4050
|
const P = Po(n, r);
|
|
4036
4051
|
d.data = {
|
|
4037
|
-
mean:
|
|
4038
|
-
stddev:
|
|
4052
|
+
mean: B,
|
|
4053
|
+
stddev: C,
|
|
4039
4054
|
min: N,
|
|
4040
4055
|
max: T,
|
|
4041
4056
|
median: Number(L),
|
|
@@ -4107,7 +4122,7 @@ const $i = {
|
|
|
4107
4122
|
groupByCaseEnd: "ELSE 'OUT' END"
|
|
4108
4123
|
};
|
|
4109
4124
|
function Md(t) {
|
|
4110
|
-
return
|
|
4125
|
+
return j(t.series) !== S.BoxPlotSeries ? x.xAxisField : t.series[0].x;
|
|
4111
4126
|
}
|
|
4112
4127
|
function Dd(t) {
|
|
4113
4128
|
const e = ci(t);
|
|
@@ -4187,24 +4202,24 @@ function Za(t) {
|
|
|
4187
4202
|
function It(t) {
|
|
4188
4203
|
const { dataInfo: e, chartType: i, subError: a } = t;
|
|
4189
4204
|
switch (e.valid = !1, i) {
|
|
4190
|
-
case
|
|
4191
|
-
case
|
|
4192
|
-
e.invalidType =
|
|
4205
|
+
case S.BarSeries:
|
|
4206
|
+
case S.ComboLineAndBarSeries:
|
|
4207
|
+
e.invalidType = Q.BarElementExceedsLimit;
|
|
4193
4208
|
break;
|
|
4194
|
-
case
|
|
4195
|
-
e.invalidType =
|
|
4209
|
+
case S.LineSeries:
|
|
4210
|
+
e.invalidType = Q.LineChartExceedsLimit;
|
|
4196
4211
|
break;
|
|
4197
|
-
case
|
|
4198
|
-
e.invalidType =
|
|
4212
|
+
case S.PieSeries:
|
|
4213
|
+
e.invalidType = Q.PieChartExceedsLimit;
|
|
4199
4214
|
break;
|
|
4200
|
-
case
|
|
4201
|
-
e.invalidType =
|
|
4215
|
+
case S.GaugeSeries:
|
|
4216
|
+
e.invalidType = Q.GaugeExceedsLimit;
|
|
4202
4217
|
break;
|
|
4203
|
-
case
|
|
4204
|
-
a?.outlierLimit === !0 ? e.invalidType =
|
|
4218
|
+
case S.BoxPlotSeries:
|
|
4219
|
+
a?.outlierLimit === !0 ? e.invalidType = Q.BoxPlotOutliersExceedsLimit : e.invalidType = Q.BoxPlotExceedsLimit;
|
|
4205
4220
|
break;
|
|
4206
|
-
case
|
|
4207
|
-
e.invalidType =
|
|
4221
|
+
case S.HeatSeries:
|
|
4222
|
+
e.invalidType = Q.HeatChartExceedsLimit;
|
|
4208
4223
|
break;
|
|
4209
4224
|
}
|
|
4210
4225
|
}
|
|
@@ -4223,147 +4238,147 @@ function $d(t) {
|
|
|
4223
4238
|
isTemporalChart: u,
|
|
4224
4239
|
isGaugeChartByFeature: c,
|
|
4225
4240
|
errorStrings: l
|
|
4226
|
-
} = t;
|
|
4227
|
-
let
|
|
4228
|
-
const
|
|
4229
|
-
let
|
|
4241
|
+
} = t, d = ie(n);
|
|
4242
|
+
let f = l.errors.defaultInvalidChart, m;
|
|
4243
|
+
const y = new Intl.NumberFormat(o), g = ut(i), { maxCategoryCount: p } = g;
|
|
4244
|
+
let h = l.modalHeaders.invalidChart;
|
|
4230
4245
|
switch (e) {
|
|
4231
|
-
case
|
|
4232
|
-
|
|
4233
|
-
let
|
|
4234
|
-
r !== void 0 && (r <=
|
|
4235
|
-
const
|
|
4236
|
-
|
|
4237
|
-
totalLimit:
|
|
4238
|
-
seriesLimit:
|
|
4239
|
-
elementCount:
|
|
4240
|
-
}),
|
|
4246
|
+
case Q.BarElementExceedsLimit: {
|
|
4247
|
+
h = l.modalHeaders.tooManyFeatures;
|
|
4248
|
+
let B = Number.NaN, b = Number.NaN, C = "";
|
|
4249
|
+
r !== void 0 && (r <= g.maxBarChartSeriesCount ? r === 1 ? (C = l.errors.uniqueSeriesBarCountCannotExceedLimit, B = g.maxBarUniqueSeriesCountTotal) : r === 2 ? (C = l.errors.twoSeriesBarCountCannotExceedLimit, B = g.maxBarTwoSeriesCountTotal, b = g.maxBarTwoSeriesCountPerSeries) : r > 2 && (C = l.errors.threePlusSeriesBarCountCannotExceedLimit, B = g.maxBarThreePlusSeriesCountTotal, b = g.maxBarThreePlusSeriesCountPerSeries) : (C = l.errors.barSeriesCountCannotExceedLimit, b = g.maxBarChartSeriesCount));
|
|
4250
|
+
const N = y.format(B), T = y.format(b), w = a !== void 0 ? y.format(a) : "";
|
|
4251
|
+
f = Be(C, {
|
|
4252
|
+
totalLimit: N,
|
|
4253
|
+
seriesLimit: T,
|
|
4254
|
+
elementCount: w
|
|
4255
|
+
}), m = {
|
|
4241
4256
|
actualCount: a ?? Number.NaN,
|
|
4242
|
-
totalLimit:
|
|
4243
|
-
seriesLimit:
|
|
4257
|
+
totalLimit: B,
|
|
4258
|
+
seriesLimit: b
|
|
4244
4259
|
};
|
|
4245
4260
|
break;
|
|
4246
4261
|
}
|
|
4247
|
-
case
|
|
4262
|
+
case Q.LineChartExceedsLimit:
|
|
4248
4263
|
{
|
|
4249
|
-
|
|
4250
|
-
let
|
|
4251
|
-
r !== void 0 && (r <=
|
|
4252
|
-
const
|
|
4253
|
-
|
|
4254
|
-
elementCount:
|
|
4255
|
-
seriesLimit:
|
|
4256
|
-
totalLimit:
|
|
4257
|
-
}),
|
|
4264
|
+
h = l.modalHeaders.tooManyFeatures;
|
|
4265
|
+
let B = Number.NaN, b = Number.NaN, C = "";
|
|
4266
|
+
r !== void 0 && (r <= g.maxLineChartSeriesCount ? r === 1 ? (C = u ? l.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : l.errors.uniqueSeriesLineCountCannotExceedLimit, B = g.maxLineUniqueSeriesCountTotal) : r === 2 ? (C = u ? l.errors.twoTemporalSeriesLineCountCannotExceedLimit : l.errors.twoSeriesLineCountCannotExceedLimit, B = g.maxLineTwoSeriesCountTotal, b = g.maxLineTwoSeriesCountPerSeries) : r > 2 && (C = u ? l.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : l.errors.threePlusSeriesLineCountCannotExceedLimit, B = g.maxLineThreePlusSeriesCountTotal, b = g.maxLineThreePlusSeriesCountPerSeries) : (C = l.errors.lineSeriesCountCannotExceedLimit, b = g.maxLineChartSeriesCount));
|
|
4267
|
+
const N = y.format(B), T = y.format(b), w = a !== void 0 ? y.format(a) : "";
|
|
4268
|
+
f = Be(C, {
|
|
4269
|
+
elementCount: w,
|
|
4270
|
+
seriesLimit: T,
|
|
4271
|
+
totalLimit: N
|
|
4272
|
+
}), m = {
|
|
4258
4273
|
actualCount: a ?? Number.NaN,
|
|
4259
|
-
totalLimit:
|
|
4260
|
-
seriesLimit:
|
|
4274
|
+
totalLimit: B,
|
|
4275
|
+
seriesLimit: b
|
|
4261
4276
|
};
|
|
4262
4277
|
}
|
|
4263
4278
|
break;
|
|
4264
|
-
case
|
|
4279
|
+
case Q.BoxPlotExceedsLimit:
|
|
4265
4280
|
{
|
|
4266
|
-
|
|
4267
|
-
let
|
|
4268
|
-
r !== void 0 && (r <=
|
|
4269
|
-
const
|
|
4270
|
-
|
|
4271
|
-
elementCount:
|
|
4272
|
-
seriesLimit:
|
|
4273
|
-
totalLimit:
|
|
4274
|
-
}),
|
|
4281
|
+
h = l.modalHeaders.tooManyFeatures;
|
|
4282
|
+
let B = Number.NaN, b = Number.NaN, C = "";
|
|
4283
|
+
r !== void 0 && (r <= g.maxBoxPlotSeriesCount ? r === 1 ? (C = l.errors.uniqueSeriesBoxCountCannotExceedLimit, B = g.maxBoxUniqueSeriesCountTotal) : r === 2 ? (C = l.errors.twoSeriesBoxCountCannotExceedLimit, B = g.maxBoxTwoSeriesCountTotal, b = g.maxBoxTwoSeriesCountPerSeries) : r > 2 && (C = l.errors.threePlusBoxLineCountCannotExceedLimit, B = g.maxBoxThreePlusSeriesCountTotal, b = g.maxBoxThreePlusSeriesCountPerSeries) : (C = l.errors.boxSeriesCountCannotExceedLimit, b = g.maxBoxPlotSeriesCount));
|
|
4284
|
+
const N = y.format(B), T = y.format(b), w = a !== void 0 ? y.format(a) : "";
|
|
4285
|
+
f = Be(C, {
|
|
4286
|
+
elementCount: w,
|
|
4287
|
+
seriesLimit: T,
|
|
4288
|
+
totalLimit: N
|
|
4289
|
+
}), m = {
|
|
4275
4290
|
actualCount: a ?? Number.NaN,
|
|
4276
|
-
totalLimit:
|
|
4277
|
-
seriesLimit:
|
|
4291
|
+
totalLimit: B,
|
|
4292
|
+
seriesLimit: b
|
|
4278
4293
|
};
|
|
4279
4294
|
}
|
|
4280
4295
|
break;
|
|
4281
|
-
case
|
|
4296
|
+
case Q.BoxPlotOutliersExceedsLimit:
|
|
4282
4297
|
{
|
|
4283
|
-
|
|
4284
|
-
const
|
|
4285
|
-
|
|
4286
|
-
totalLimit:
|
|
4287
|
-
}),
|
|
4298
|
+
h = l.modalHeaders.tooManyFeatures;
|
|
4299
|
+
const B = l.errors.boxSeriesOutlierCannotExceedLimit, b = g.maxBoxPlotOutlierLimit, C = y.format(b);
|
|
4300
|
+
f = Be(B, {
|
|
4301
|
+
totalLimit: C
|
|
4302
|
+
}), m = { actualCount: a ?? Number.NaN, totalLimit: b };
|
|
4288
4303
|
}
|
|
4289
4304
|
break;
|
|
4290
|
-
case
|
|
4305
|
+
case Q.HeatChartExceedsLimit:
|
|
4291
4306
|
{
|
|
4292
|
-
|
|
4293
|
-
const
|
|
4294
|
-
|
|
4295
|
-
featureCount:
|
|
4296
|
-
totalLimit:
|
|
4297
|
-
}),
|
|
4307
|
+
h = l.modalHeaders.tooManyFeatures;
|
|
4308
|
+
const B = l.errors.heatChartCannotExceedLimit, b = g.maxHeatChartCellLimit, C = y.format(b), N = a !== void 0 ? y.format(a) : "";
|
|
4309
|
+
f = Be(B, {
|
|
4310
|
+
featureCount: N,
|
|
4311
|
+
totalLimit: C
|
|
4312
|
+
}), m = {
|
|
4298
4313
|
actualCount: a ?? Number.NaN,
|
|
4299
|
-
totalLimit:
|
|
4314
|
+
totalLimit: b
|
|
4300
4315
|
};
|
|
4301
4316
|
}
|
|
4302
4317
|
break;
|
|
4303
|
-
case
|
|
4318
|
+
case Q.PieChartExceedsLimit:
|
|
4304
4319
|
{
|
|
4305
|
-
|
|
4306
|
-
const
|
|
4307
|
-
|
|
4308
|
-
sliceCount:
|
|
4309
|
-
totalLimit:
|
|
4310
|
-
}),
|
|
4320
|
+
h = l.modalHeaders.tooManyFeatures;
|
|
4321
|
+
const B = l.errors.pieChartSlicesCannotExceedLimit, b = g.maxPieChartSliceCountTotal, C = y.format(b), N = a !== void 0 ? y.format(a) : "";
|
|
4322
|
+
f = Be(B, {
|
|
4323
|
+
sliceCount: N,
|
|
4324
|
+
totalLimit: C
|
|
4325
|
+
}), m = {
|
|
4311
4326
|
actualCount: a ?? Number.NaN,
|
|
4312
|
-
totalLimit:
|
|
4327
|
+
totalLimit: b
|
|
4313
4328
|
};
|
|
4314
4329
|
}
|
|
4315
4330
|
break;
|
|
4316
|
-
case
|
|
4331
|
+
case Q.GaugeExceedsLimit:
|
|
4317
4332
|
{
|
|
4318
|
-
|
|
4319
|
-
const
|
|
4320
|
-
|
|
4321
|
-
featureCount:
|
|
4322
|
-
totalLimit:
|
|
4323
|
-
}),
|
|
4333
|
+
h = l.modalHeaders.tooManyFeatures;
|
|
4334
|
+
const B = l.errors.gaugeCannotExceedLimit, b = g.maxGaugeByFeaturesLimit, C = y.format(b), N = a !== void 0 ? y.format(a) : "";
|
|
4335
|
+
f = Be(B, {
|
|
4336
|
+
featureCount: N,
|
|
4337
|
+
totalLimit: C
|
|
4338
|
+
}), m = {
|
|
4324
4339
|
actualCount: a ?? Number.NaN,
|
|
4325
|
-
totalLimit:
|
|
4340
|
+
totalLimit: b
|
|
4326
4341
|
};
|
|
4327
4342
|
}
|
|
4328
4343
|
break;
|
|
4329
|
-
case
|
|
4330
|
-
|
|
4344
|
+
case Q.PieChartMixOfNegativePositiveSlices:
|
|
4345
|
+
h = l.modalHeaders.cannotCombineNegativeAndPositiveSlices, f = l.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
|
|
4331
4346
|
break;
|
|
4332
|
-
case
|
|
4333
|
-
|
|
4347
|
+
case Q.NegativeValueInSqrtCalculation:
|
|
4348
|
+
h = l.modalHeaders.invalidData, f = l.errors.negativeValueInDataForSqrtTransformation;
|
|
4334
4349
|
break;
|
|
4335
|
-
case
|
|
4336
|
-
|
|
4350
|
+
case Q.NegativeValueInLogCalculation:
|
|
4351
|
+
h = l.modalHeaders.invalidData, f = l.errors.negativeValueInDataForLogTransformation;
|
|
4337
4352
|
break;
|
|
4338
|
-
case
|
|
4339
|
-
s === !0 ? (
|
|
4353
|
+
case Q.HistogramEmptyField:
|
|
4354
|
+
s === !0 ? (h = l.modalHeaders.noDataAvailable, f = l.errors.noDataFBSMessage) : Ee(n) ? (h = l.modalHeaders.noDataAvailable, f = l.errors.noDataFBEMessage) : (h = l.modalHeaders.invalidChart, f = l.errors.histogramEmptyField);
|
|
4340
4355
|
break;
|
|
4341
|
-
case
|
|
4342
|
-
|
|
4356
|
+
case Q.EmptyDataSet:
|
|
4357
|
+
h = l.modalHeaders.noDataAvailable, s === !0 ? f = l.errors.noDataFBSMessage : Ee(n) ? f = l.errors.noDataFBEMessage : f = l.errors.noDataMessage;
|
|
4343
4358
|
break;
|
|
4344
|
-
case
|
|
4345
|
-
c && a
|
|
4359
|
+
case Q.NoValue:
|
|
4360
|
+
c && a ? (h = void 0, f = l.errors.noValue) : d && (h = l.modalHeaders.noDataAvailable, f = l.errors.noDataMessage);
|
|
4346
4361
|
break;
|
|
4347
|
-
case
|
|
4348
|
-
|
|
4362
|
+
case Q.NegativeValueInXAxisLogScale:
|
|
4363
|
+
f = l.errors.logarithmicXAxisNotPossible;
|
|
4349
4364
|
break;
|
|
4350
|
-
case
|
|
4351
|
-
|
|
4365
|
+
case Q.NegativeValueInYAxisLogScale:
|
|
4366
|
+
f = l.errors.logarithmicYAxisNotPossible;
|
|
4352
4367
|
break;
|
|
4353
|
-
case
|
|
4368
|
+
case Q.BadData:
|
|
4354
4369
|
}
|
|
4355
|
-
if (
|
|
4356
|
-
const
|
|
4357
|
-
|
|
4358
|
-
categoryCount:
|
|
4359
|
-
maxCategoryCount:
|
|
4370
|
+
if (f === l.errors.defaultInvalidChart && (e === Q.BarElementExceedsLimit || e === Q.LineChartExceedsLimit || e === Q.HeatChartExceedsLimit || e === Q.PieChartExceedsLimit || e === Q.GaugeExceedsLimit || e === Q.BoxPlotExceedsLimit) && typeof a == "number" && typeof r == "number" && a / r > p) {
|
|
4371
|
+
const B = a / r;
|
|
4372
|
+
f = Be(l.errors.categoryCountCannotExceedLimit, {
|
|
4373
|
+
categoryCount: y.format(B),
|
|
4374
|
+
maxCategoryCount: y.format(p)
|
|
4360
4375
|
});
|
|
4361
4376
|
}
|
|
4362
4377
|
return {
|
|
4363
|
-
keyword: e ??
|
|
4364
|
-
header:
|
|
4365
|
-
message:
|
|
4366
|
-
params:
|
|
4378
|
+
keyword: e ?? Q.BadData,
|
|
4379
|
+
header: h,
|
|
4380
|
+
message: f,
|
|
4381
|
+
params: m
|
|
4367
4382
|
};
|
|
4368
4383
|
}
|
|
4369
4384
|
function ot(t, e) {
|
|
@@ -4403,20 +4418,20 @@ function Si(t) {
|
|
|
4403
4418
|
showOutliers: !1,
|
|
4404
4419
|
standardizeValues: !0
|
|
4405
4420
|
};
|
|
4406
|
-
let
|
|
4407
|
-
if (o[
|
|
4421
|
+
let h = K(u);
|
|
4422
|
+
if (o[h] = si({ mean: d, stdDev: f, value: p }), m === E.Min || m === E.Max) {
|
|
4408
4423
|
u = {
|
|
4409
4424
|
...u,
|
|
4410
4425
|
key: m,
|
|
4411
4426
|
showOutliers: !0,
|
|
4412
4427
|
standardizeValues: !0
|
|
4413
|
-
},
|
|
4428
|
+
}, h = K(u), u = {
|
|
4414
4429
|
...u,
|
|
4415
4430
|
standardizeValues: !1,
|
|
4416
4431
|
splitByValue: r
|
|
4417
4432
|
};
|
|
4418
|
-
const
|
|
4419
|
-
p = Number(e[
|
|
4433
|
+
const v = K(u);
|
|
4434
|
+
p = Number(e[v]), Number.isFinite(p) && (o[h] = si({
|
|
4420
4435
|
mean: d,
|
|
4421
4436
|
stdDev: f,
|
|
4422
4437
|
value: p
|
|
@@ -4431,7 +4446,7 @@ function Ro(t) {
|
|
|
4431
4446
|
return i.forEach((o) => {
|
|
4432
4447
|
let u = {};
|
|
4433
4448
|
Object.keys(r).forEach((c) => {
|
|
4434
|
-
c.startsWith(o) ? u[c.replace(`${o}_`, "")] = r[c] : c.includes(
|
|
4449
|
+
c.startsWith(o) ? u[c.replace(`${o}_`, "")] = r[c] : c.includes(x.rendererSymbolField) && (u[c] = r[c]), u[x.boxPlot.boxPlotCategory] = o, a && (u = Si({
|
|
4435
4450
|
dataItem: u,
|
|
4436
4451
|
chartSubType: F.BoxPlotMultiFields
|
|
4437
4452
|
}));
|
|
@@ -4440,12 +4455,12 @@ function Ro(t) {
|
|
|
4440
4455
|
}
|
|
4441
4456
|
function $o(t) {
|
|
4442
4457
|
const { data: e, splitByField: i, y: a } = t, r = {
|
|
4443
|
-
[
|
|
4458
|
+
[x.boxPlot.boxPlotCategory]: a
|
|
4444
4459
|
};
|
|
4445
4460
|
return e.forEach((s) => {
|
|
4446
4461
|
const o = s[i];
|
|
4447
4462
|
o !== void 0 && Object.keys(s).forEach((u) => {
|
|
4448
|
-
u ===
|
|
4463
|
+
u === x.rendererSymbolField ? r[`${u}_${o?.toString()}`] = s[u] : u === x.boxPlot.boxPlotMeanLineMarkerId ? r[u] = s[u] : r[`${o?.toString()}_${u}`] = s[u];
|
|
4449
4464
|
});
|
|
4450
4465
|
}), [r];
|
|
4451
4466
|
}
|
|
@@ -4455,10 +4470,10 @@ function ko(t) {
|
|
|
4455
4470
|
const c = u[e];
|
|
4456
4471
|
a.forEach((l) => {
|
|
4457
4472
|
let d = {
|
|
4458
|
-
[
|
|
4473
|
+
[x.boxPlot.boxPlotCategory]: l
|
|
4459
4474
|
};
|
|
4460
4475
|
Object.entries(u).forEach(([f, m]) => {
|
|
4461
|
-
f.startsWith(`${l}_`) ? d[`${c}_${f.replace(`${l}_`, "")}`] = m : f.includes(
|
|
4476
|
+
f.startsWith(`${l}_`) ? d[`${c}_${f.replace(`${l}_`, "")}`] = m : f.includes(x.rendererSymbolField) ? d[`${f}_${c}`] = m : f === x.boxPlot.boxPlotMeanLineMarkerId && (d[f] = u[f]);
|
|
4462
4477
|
}), r && (d = Si({
|
|
4463
4478
|
dataItem: d,
|
|
4464
4479
|
chartSubType: F.BoxPlotMultiFieldsAndSplitBy,
|
|
@@ -4491,12 +4506,12 @@ function _o(t) {
|
|
|
4491
4506
|
return a.forEach((s) => {
|
|
4492
4507
|
const o = s[i], u = { [i]: o }, c = s[e];
|
|
4493
4508
|
Object.entries(s).forEach(([l, d]) => {
|
|
4494
|
-
if (l.includes(
|
|
4495
|
-
u[`${
|
|
4496
|
-
else if (l ===
|
|
4509
|
+
if (l.includes(x.rendererSymbolField))
|
|
4510
|
+
u[`${x.rendererSymbolField}_${c?.toString()}`] = d;
|
|
4511
|
+
else if (l === x.boxPlot.boxPlotMeanLineMarkerId)
|
|
4497
4512
|
u[l] = s[l];
|
|
4498
4513
|
else if (l !== e && l !== i) {
|
|
4499
|
-
const f = l !==
|
|
4514
|
+
const f = l !== x.xAxisField && l !== x.originalCategoryValue ? `${c?.toString()}_${l}` : l;
|
|
4500
4515
|
u[f] = d;
|
|
4501
4516
|
}
|
|
4502
4517
|
}), r.set(o, {
|
|
@@ -4565,17 +4580,17 @@ function Xa(t) {
|
|
|
4565
4580
|
const { data: e, yField: i, x: a, chartSubType: r, splitByField: n } = t, s = r === F.BoxPlotMonoField || r === F.BoxPlotMonoFieldAndCategory || r === F.BoxPlotMonoFieldAndSplitBy || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, o = it(s), u = [], c = [], { maxOperandsPerWhereClause: l } = $t();
|
|
4566
4581
|
let d = [], f = [], m = 1;
|
|
4567
4582
|
return e.forEach((y, g) => {
|
|
4568
|
-
const { outlierMinThreshold: p, outlierMaxThreshold:
|
|
4569
|
-
if (typeof p == "number" && typeof
|
|
4570
|
-
const
|
|
4583
|
+
const { outlierMinThreshold: p, outlierMaxThreshold: h } = Ho(y, o);
|
|
4584
|
+
if (typeof p == "number" && typeof h == "number") {
|
|
4585
|
+
const v = {
|
|
4571
4586
|
yField: i,
|
|
4572
4587
|
outlierMinThreshold: p,
|
|
4573
|
-
outlierMaxThreshold:
|
|
4588
|
+
outlierMaxThreshold: h
|
|
4574
4589
|
};
|
|
4575
|
-
(r === F.BoxPlotMonoFieldAndCategory || r === F.BoxPlotMultiFieldsAndCategory || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in y && (
|
|
4590
|
+
(r === F.BoxPlotMonoFieldAndCategory || r === F.BoxPlotMultiFieldsAndCategory || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in y && (v.xField = a, v.xValue = fi({
|
|
4576
4591
|
value: y[a],
|
|
4577
4592
|
dataContext: y
|
|
4578
|
-
})), (r === F.BoxPlotMonoFieldAndSplitBy || r === F.BoxPlotMultiFieldsAndSplitBy || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && n !== void 0 && n in y && (
|
|
4593
|
+
})), (r === F.BoxPlotMonoFieldAndSplitBy || r === F.BoxPlotMultiFieldsAndSplitBy || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && n !== void 0 && n in y && (v.splitByField = n, v.splitByValue = y[n]), d.push(ki({ ...v, target: "outliers" })), f.push(ki({ ...v, target: "alternativeData" })), (m % l === 0 || g === e.length - 1) && (u.push(Y(d, "OR")), c.push(Y(f, "OR")), d = [], f = []);
|
|
4579
4594
|
}
|
|
4580
4595
|
m += 1;
|
|
4581
4596
|
}), { outliersFilterBatches: u, dataWithoutOutliersFilterBatches: c };
|
|
@@ -4611,19 +4626,19 @@ function zo(t) {
|
|
|
4611
4626
|
}
|
|
4612
4627
|
async function Wo(t) {
|
|
4613
4628
|
const { seriesConfig: e, data: i, uniqueQuery: a, queryObject: r, meanAndStdDevPerField: n, errorStrings: s, abortKey: o, abortSignal: u } = t, c = k(e), l = e[0], { x: d } = l, f = te(l.query?.where), m = z(r), y = ve(m).idField, g = ue(e), p = [];
|
|
4614
|
-
for (let
|
|
4615
|
-
const b = g[
|
|
4629
|
+
for (let B = 0; B < g.length; B += 1) {
|
|
4630
|
+
const b = g[B], { outliersFilterBatches: C } = Xa({
|
|
4616
4631
|
data: i,
|
|
4617
4632
|
yField: b,
|
|
4618
4633
|
x: d,
|
|
4619
4634
|
chartSubType: c,
|
|
4620
4635
|
splitByField: f
|
|
4621
4636
|
});
|
|
4622
|
-
for (let N = 0; N <
|
|
4623
|
-
const T =
|
|
4637
|
+
for (let N = 0; N < C.length; N += 1) {
|
|
4638
|
+
const T = C[N];
|
|
4624
4639
|
if (T !== "") {
|
|
4625
4640
|
const w = [];
|
|
4626
|
-
d !==
|
|
4641
|
+
d !== x.boxPlot.boxPlotCategory && w.push(d), w.push(b), f !== "" && w.push(f), w.push(y);
|
|
4627
4642
|
const L = {
|
|
4628
4643
|
...a,
|
|
4629
4644
|
where: Y([a.where, T]),
|
|
@@ -4647,13 +4662,13 @@ async function Wo(t) {
|
|
|
4647
4662
|
}
|
|
4648
4663
|
}
|
|
4649
4664
|
}
|
|
4650
|
-
const
|
|
4651
|
-
for (let
|
|
4652
|
-
const b =
|
|
4665
|
+
const h = await Promise.all(p), v = /* @__PURE__ */ new Map();
|
|
4666
|
+
for (let B = 0; B < h.length; B += 1) {
|
|
4667
|
+
const b = h[B], C = g[B];
|
|
4653
4668
|
b.forEach((N) => {
|
|
4654
4669
|
const T = { ...N.attributes };
|
|
4655
|
-
if (T[
|
|
4656
|
-
d ===
|
|
4670
|
+
if (T[C] !== void 0) {
|
|
4671
|
+
d === x.boxPlot.boxPlotCategory && (T[x.boxPlot.boxPlotCategory] = C);
|
|
4657
4672
|
let w = {
|
|
4658
4673
|
key: E.Outlier,
|
|
4659
4674
|
chartSubType: c
|
|
@@ -4670,13 +4685,13 @@ async function Wo(t) {
|
|
|
4670
4685
|
case F.BoxPlotMultiFieldsAndCategory:
|
|
4671
4686
|
w = {
|
|
4672
4687
|
...w,
|
|
4673
|
-
y:
|
|
4688
|
+
y: C
|
|
4674
4689
|
};
|
|
4675
4690
|
break;
|
|
4676
4691
|
}
|
|
4677
|
-
const L = K(w), A = T[
|
|
4692
|
+
const L = K(w), A = T[C];
|
|
4678
4693
|
T[L] = A;
|
|
4679
|
-
const I = `${T[d]}-${T[f]}-${A}`, P =
|
|
4694
|
+
const I = `${T[d]}-${T[f]}-${A}`, P = v.get(I);
|
|
4680
4695
|
if (T[W.uniqueIdsName] = [
|
|
4681
4696
|
...P?.[W.uniqueIdsName] ?? [],
|
|
4682
4697
|
T[y]
|
|
@@ -4689,7 +4704,7 @@ async function Wo(t) {
|
|
|
4689
4704
|
outlierDataItem: T,
|
|
4690
4705
|
chartSubType: c,
|
|
4691
4706
|
x: d,
|
|
4692
|
-
y:
|
|
4707
|
+
y: C,
|
|
4693
4708
|
splitByField: f,
|
|
4694
4709
|
meanAndStdDevPerField: n
|
|
4695
4710
|
});
|
|
@@ -4699,11 +4714,11 @@ async function Wo(t) {
|
|
|
4699
4714
|
stdDev: $
|
|
4700
4715
|
}));
|
|
4701
4716
|
}
|
|
4702
|
-
delete T[
|
|
4717
|
+
delete T[C], T[x.boxPlot.boxPlotOutlierId] = !0, v.set(I, T);
|
|
4703
4718
|
}
|
|
4704
4719
|
});
|
|
4705
4720
|
}
|
|
4706
|
-
return Array.from(
|
|
4721
|
+
return Array.from(v.values());
|
|
4707
4722
|
}
|
|
4708
4723
|
async function Go(t) {
|
|
4709
4724
|
const {
|
|
@@ -4718,14 +4733,14 @@ async function Go(t) {
|
|
|
4718
4733
|
abortSignal: c
|
|
4719
4734
|
} = t;
|
|
4720
4735
|
let l = [];
|
|
4721
|
-
const { series: d, showMean: f } = n, m = Bi({ showMean: f, seriesConfig: d }), y = k(d), g = Re(n), { x: p } = g,
|
|
4736
|
+
const { series: d, showMean: f } = n, m = Bi({ showMean: f, seriesConfig: d }), y = k(d), g = Re(n), { x: p } = g, h = te(g.query?.where), v = [];
|
|
4722
4737
|
for (let b = 0; b < m.length; b += 1) {
|
|
4723
|
-
const
|
|
4738
|
+
const C = m[b], { dataWithoutOutliersFilterBatches: N } = Xa({
|
|
4724
4739
|
data: e,
|
|
4725
|
-
yField:
|
|
4740
|
+
yField: C,
|
|
4726
4741
|
x: p,
|
|
4727
4742
|
chartSubType: y,
|
|
4728
|
-
splitByField:
|
|
4743
|
+
splitByField: h
|
|
4729
4744
|
});
|
|
4730
4745
|
for (let T = 0; T < N.length; T += 1) {
|
|
4731
4746
|
const w = N[T], L = {
|
|
@@ -4733,11 +4748,11 @@ async function Go(t) {
|
|
|
4733
4748
|
where: Y([a.where, w])
|
|
4734
4749
|
};
|
|
4735
4750
|
L.outStatistics !== void 0 && (L.outStatistics = L.outStatistics?.filter(
|
|
4736
|
-
(A) => (A.statisticType === D.Minimum || A.statisticType === D.Maximum) && A.onStatisticField ===
|
|
4751
|
+
(A) => (A.statisticType === D.Minimum || A.statisticType === D.Maximum) && A.onStatisticField === C
|
|
4737
4752
|
).map((A) => ({
|
|
4738
4753
|
...A,
|
|
4739
|
-
outStatisticFieldName: `${A.outStatisticFieldName}${
|
|
4740
|
-
}))),
|
|
4754
|
+
outStatisticFieldName: `${A.outStatisticFieldName}${x.boxPlot.boxPlotOutliersSuffix}`
|
|
4755
|
+
}))), v.push(
|
|
4741
4756
|
jt({
|
|
4742
4757
|
queryObject: i,
|
|
4743
4758
|
uniqueQuery: L,
|
|
@@ -4753,12 +4768,12 @@ async function Go(t) {
|
|
|
4753
4768
|
);
|
|
4754
4769
|
}
|
|
4755
4770
|
}
|
|
4756
|
-
const
|
|
4757
|
-
for (let b = 0; b <
|
|
4758
|
-
l.push(...
|
|
4771
|
+
const B = await Promise.all(v);
|
|
4772
|
+
for (let b = 0; b < B.length; b += 1)
|
|
4773
|
+
l.push(...B[b]);
|
|
4759
4774
|
return y !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && y !== F.BoxPlotMonoField && (l = bt({
|
|
4760
4775
|
data: l,
|
|
4761
|
-
x:
|
|
4776
|
+
x: h !== void 0 && h !== "" ? h : p
|
|
4762
4777
|
})), l;
|
|
4763
4778
|
}
|
|
4764
4779
|
async function Uo(t) {
|
|
@@ -4816,7 +4831,7 @@ function Ja(t) {
|
|
|
4816
4831
|
const f = te(o.query?.where);
|
|
4817
4832
|
switch (u) {
|
|
4818
4833
|
case F.BoxPlotMonoField:
|
|
4819
|
-
d[0][
|
|
4834
|
+
d[0][x.boxPlot.boxPlotCategory] = l[0];
|
|
4820
4835
|
break;
|
|
4821
4836
|
case F.BoxPlotMultiFields:
|
|
4822
4837
|
d = Ro({
|
|
@@ -4941,19 +4956,19 @@ function Ka(t) {
|
|
|
4941
4956
|
return {
|
|
4942
4957
|
xAxisData: Qi({
|
|
4943
4958
|
chartConfig: e,
|
|
4944
|
-
field:
|
|
4959
|
+
field: _.xField,
|
|
4945
4960
|
chartData: i
|
|
4946
4961
|
}),
|
|
4947
4962
|
yAxisData: Qi({
|
|
4948
4963
|
chartConfig: e,
|
|
4949
|
-
field:
|
|
4964
|
+
field: _.yField,
|
|
4950
4965
|
chartData: i
|
|
4951
4966
|
})
|
|
4952
4967
|
};
|
|
4953
4968
|
}
|
|
4954
4969
|
function _i(t) {
|
|
4955
4970
|
const { orderBy: e, axisFormatOptions: i } = t;
|
|
4956
|
-
return e !== void 0 && i !== void 0 && (!Array.isArray(e) || i?.type ===
|
|
4971
|
+
return e !== void 0 && i !== void 0 && (!Array.isArray(e) || i?.type === S.CategoryAxisFormat);
|
|
4957
4972
|
}
|
|
4958
4973
|
function ji(t, e, i) {
|
|
4959
4974
|
let a = 0;
|
|
@@ -4996,7 +5011,7 @@ function Ko(t) {
|
|
|
4996
5011
|
function Et(t) {
|
|
4997
5012
|
const { arrayToSort: e, chartConfig: i, fieldList: a, isTimeBinningSeries: r } = t;
|
|
4998
5013
|
if (r !== !0 && e[0] !== void 0) {
|
|
4999
|
-
const { series: n } = i, s = k(n), o =
|
|
5014
|
+
const { series: n } = i, s = k(n), o = j(n), u = xe(i), c = Mt(i);
|
|
5000
5015
|
if (We(i) && e !== void 0)
|
|
5001
5016
|
Jo({
|
|
5002
5017
|
arrayToSort: e,
|
|
@@ -5006,8 +5021,8 @@ function Et(t) {
|
|
|
5006
5021
|
else if (c?.[0] !== void 0 && e !== void 0 && e.length > 1) {
|
|
5007
5022
|
const { orderBy: l } = c[0];
|
|
5008
5023
|
let { sortingField: d } = c[0];
|
|
5009
|
-
const f = i.orderOptions?.data?.orderType === De.Category, m = c[0].preferLabel !== !1, y = s === F.BarAndLineFromFields || s === F.PieFromFields || s === F.BoxPlotMultiFields || s === F.BoxPlotMultiFieldsAndSplitBy, g = y || o ===
|
|
5010
|
-
if (f && g && (!m || (o ===
|
|
5024
|
+
const f = i.orderOptions?.data?.orderType === De.Category, m = c[0].preferLabel !== !1, y = s === F.BarAndLineFromFields || s === F.PieFromFields || s === F.BoxPlotMultiFields || s === F.BoxPlotMultiFieldsAndSplitBy, g = y || o === S.PieSeries, p = s === F.PieNoAggregation || s === F.BarAndLineNoAggregation || s === F.BarAndLineSplitByNoAggregation;
|
|
5025
|
+
if (f && g && (!m || (o === S.LineSeries || o === S.RadarSeries) && u === S.NumberAxisFormat) && (d = x.originalCategoryValue), Array.isArray(l))
|
|
5011
5026
|
En({
|
|
5012
5027
|
arrayToSort: e,
|
|
5013
5028
|
orderBy: l,
|
|
@@ -5017,12 +5032,12 @@ function Et(t) {
|
|
|
5017
5032
|
preferLabel: m
|
|
5018
5033
|
});
|
|
5019
5034
|
else {
|
|
5020
|
-
const
|
|
5035
|
+
const h = u === S.DateAxisFormat && f;
|
|
5021
5036
|
ht({
|
|
5022
5037
|
arrayToSort: e,
|
|
5023
5038
|
orderBy: l,
|
|
5024
5039
|
sortingField: d,
|
|
5025
|
-
forceAscendingOrder:
|
|
5040
|
+
forceAscendingOrder: h,
|
|
5026
5041
|
isNonAggregated: p,
|
|
5027
5042
|
sortByCategory: f,
|
|
5028
5043
|
preferLabel: m,
|
|
@@ -5055,7 +5070,7 @@ function kd(t) {
|
|
|
5055
5070
|
}
|
|
5056
5071
|
function el(t) {
|
|
5057
5072
|
return t?.type === "uniqueValue" && (t.uniqueValueInfos = t.uniqueValueInfos.map((e) => {
|
|
5058
|
-
const i = e.value === null ?
|
|
5073
|
+
const i = e.value === null ? x.nullValue : e.value;
|
|
5059
5074
|
return { ...e, value: i };
|
|
5060
5075
|
})), t;
|
|
5061
5076
|
}
|
|
@@ -5069,17 +5084,17 @@ async function Qd(t) {
|
|
|
5069
5084
|
const y = jn(c, d?.renderer), g = Un({
|
|
5070
5085
|
chartRenderer: u,
|
|
5071
5086
|
queryObject: i
|
|
5072
|
-
}), p =
|
|
5087
|
+
}), p = j(o), h = k(o), v = Re(a), B = te(v.query?.where);
|
|
5073
5088
|
m = /* @__PURE__ */ new Map();
|
|
5074
|
-
for (let b = 0; b < (p ===
|
|
5075
|
-
const
|
|
5089
|
+
for (let b = 0; b < (p === S.HistogramSeries && e.length > 0 ? 1 : e.length); b += 1) {
|
|
5090
|
+
const C = e[b], N = await Yn({
|
|
5076
5091
|
seriesConfig: a.series,
|
|
5077
|
-
dataItem:
|
|
5092
|
+
dataItem: C,
|
|
5078
5093
|
renderer: f,
|
|
5079
5094
|
rendererType: y,
|
|
5080
5095
|
rendererOrigin: l,
|
|
5081
|
-
chartSubType:
|
|
5082
|
-
splitByField:
|
|
5096
|
+
chartSubType: h,
|
|
5097
|
+
splitByField: B,
|
|
5083
5098
|
graphicTemplate: g,
|
|
5084
5099
|
mapAttributesToSymbol: m,
|
|
5085
5100
|
rendererFieldNames: s
|
|
@@ -5126,7 +5141,7 @@ async function il(t) {
|
|
|
5126
5141
|
})).elementCount, r?.behaviorAfterLimit !== lt.RenderUpToTheLimit && (f = Ae({
|
|
5127
5142
|
count: m ?? 0,
|
|
5128
5143
|
seriesCount: i.series.length,
|
|
5129
|
-
chartType:
|
|
5144
|
+
chartType: S.GaugeSeries,
|
|
5130
5145
|
chartLimits: r
|
|
5131
5146
|
})), r && (Number.isFinite(l) || Number.isFinite(m)))) {
|
|
5132
5147
|
const y = Math.min(l ?? Number.NaN, m ?? Number.NaN);
|
|
@@ -5149,7 +5164,7 @@ async function il(t) {
|
|
|
5149
5164
|
} else
|
|
5150
5165
|
u.count = m, It({
|
|
5151
5166
|
dataInfo: u,
|
|
5152
|
-
chartType:
|
|
5167
|
+
chartType: S.GaugeSeries
|
|
5153
5168
|
});
|
|
5154
5169
|
return u;
|
|
5155
5170
|
}
|
|
@@ -5195,30 +5210,30 @@ function al(t) {
|
|
|
5195
5210
|
c = !0;
|
|
5196
5211
|
else if (!a) {
|
|
5197
5212
|
const l = [
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5213
|
+
x.originalCategoryValue,
|
|
5214
|
+
x.originalYCategoryValue,
|
|
5215
|
+
x.originalDateValue,
|
|
5216
|
+
x.xAxisField,
|
|
5217
|
+
x.technicalSortingFieldBySum,
|
|
5218
|
+
x.technicalSortingFieldByPercent,
|
|
5219
|
+
x.pieChart.technicalFieldSlicePercent,
|
|
5220
|
+
x.pieChart.technicalFieldGroupedSlices,
|
|
5221
|
+
x.pieChart.technicalFieldSliceId,
|
|
5222
|
+
x.originalServerBinningRange,
|
|
5223
|
+
x.lastTemporalBin,
|
|
5224
|
+
x.technicalFieldSplitByField,
|
|
5210
5225
|
W.uniqueIdsName,
|
|
5211
|
-
|
|
5226
|
+
_.valueField,
|
|
5212
5227
|
...Vr
|
|
5213
5228
|
], d = (g, p) => {
|
|
5214
|
-
const
|
|
5215
|
-
|
|
5216
|
-
const
|
|
5217
|
-
|
|
5218
|
-
const
|
|
5229
|
+
const h = p[x.originalCategoryValue];
|
|
5230
|
+
h !== void 0 && r && (p[r] = h);
|
|
5231
|
+
const v = p[x.originalYCategoryValue];
|
|
5232
|
+
v !== void 0 && n && (p[n] = v), r && p[_.xField] !== void 0 && (p[r] = p[x.originalCategoryValue] !== void 0 ? p[x.originalCategoryValue] : p[_.xField], delete p[_.xField]), n && p[_.yField] !== void 0 && (p[n] = p[x.originalYCategoryValue] !== void 0 ? p[x.originalYCategoryValue] : p[_.yField], delete p[_.yField]), s && p[_.valueField] !== void 0 && (p[s] = p[_.valueField], delete p[_.valueField]);
|
|
5233
|
+
const B = {};
|
|
5219
5234
|
return Object.keys(p).forEach((b) => {
|
|
5220
|
-
!l.includes(b) && !b.includes(
|
|
5221
|
-
}), g.push(
|
|
5235
|
+
!l.includes(b) && !b.includes(x.rendererSymbolField) && (B[b] = p[b]);
|
|
5236
|
+
}), g.push(B), g;
|
|
5222
5237
|
}, f = (g, p) => JSON.stringify(g).localeCompare(JSON.stringify(p));
|
|
5223
5238
|
let m = o?.reduce(d, [])?.sort(f), y = u?.reduce(d, [])?.sort(f);
|
|
5224
5239
|
m && y && r && m.length !== y.length && (m = bt({ data: m, x: r }), y = bt({ data: y, x: r })), c = m?.length !== y?.length || !at(m, y);
|
|
@@ -5262,7 +5277,7 @@ function qe(t, e) {
|
|
|
5262
5277
|
function nl(t) {
|
|
5263
5278
|
const { dataContext: e, xAxisField: i, yAxisField: a, options: r } = t;
|
|
5264
5279
|
let n = "";
|
|
5265
|
-
const { dataContextXMinField: s, dataContextXMaxField: o, dataContextYMinField: u, dataContextYMaxField: c } =
|
|
5280
|
+
const { dataContextXMinField: s, dataContextXMaxField: o, dataContextYMinField: u, dataContextYMaxField: c } = x.scatterplotAggregationFields;
|
|
5266
5281
|
if (ha({ dataContext: e, chartLimits: r?.chartLimits })) {
|
|
5267
5282
|
const { [s]: l, [o]: d } = e, f = i !== a ? e[u] : l, m = i !== a ? e[c] : d;
|
|
5268
5283
|
if (!Number.isNaN(l) && !Number.isNaN(d) && !Number.isNaN(f) && !Number.isNaN(m)) {
|
|
@@ -5283,7 +5298,7 @@ function Hi(t) {
|
|
|
5283
5298
|
function er(t) {
|
|
5284
5299
|
const { xAxisField: e, dataContext: i, queryObject: a } = t;
|
|
5285
5300
|
let r = "";
|
|
5286
|
-
const n = i[
|
|
5301
|
+
const n = i[x.originalServerBinningRange] ?? i[x.dateBinningRange];
|
|
5287
5302
|
if (ui(n) && n.length === 2) {
|
|
5288
5303
|
let [s, o] = n, u = !0;
|
|
5289
5304
|
const c = Ee(a);
|
|
@@ -5293,7 +5308,7 @@ function er(t) {
|
|
|
5293
5308
|
} else
|
|
5294
5309
|
typeof s == "number" && typeof o == "number" ? Number.isFinite(s) && Number.isFinite(o) ? (s = nt(s), o = nt(o)) : u = !1 : typeof s == "string" && typeof o == "string" && (s = new Date(s).toISOString(), o = new Date(o).toISOString());
|
|
5295
5310
|
if (u) {
|
|
5296
|
-
const l = c ? "" : "'", d = i[
|
|
5311
|
+
const l = c ? "" : "'", d = i[x.lastTemporalBin] === !0 ? "<=" : "<";
|
|
5297
5312
|
r = `${e}>=${l}${s}${l} AND ${e}${d}${l}${o}${l}`;
|
|
5298
5313
|
}
|
|
5299
5314
|
}
|
|
@@ -5302,7 +5317,7 @@ function er(t) {
|
|
|
5302
5317
|
function tr(t, e) {
|
|
5303
5318
|
let i = "";
|
|
5304
5319
|
if (Number.isFinite(t)) {
|
|
5305
|
-
const a = 1 / 10 **
|
|
5320
|
+
const a = 1 / 10 ** x.queryMaxFloatPrecision;
|
|
5306
5321
|
i = `${e}>=${t - a} AND ${e}<=${t + a}`;
|
|
5307
5322
|
}
|
|
5308
5323
|
return i;
|
|
@@ -5310,7 +5325,7 @@ function tr(t, e) {
|
|
|
5310
5325
|
function ir(t) {
|
|
5311
5326
|
const { xAxisField: e, yAxisField: i, splitBy: a, dataContext: r, xAxisFieldType: n, chartConfig: s } = t;
|
|
5312
5327
|
let o = "";
|
|
5313
|
-
if (e !== void 0 && e !==
|
|
5328
|
+
if (e !== void 0 && e !== x.boxPlot.boxPlotCategory) {
|
|
5314
5329
|
let d = fi({
|
|
5315
5330
|
value: r[e],
|
|
5316
5331
|
dataContext: r
|
|
@@ -5334,7 +5349,7 @@ function ir(t) {
|
|
|
5334
5349
|
showOutliers: !0,
|
|
5335
5350
|
splitBy: a,
|
|
5336
5351
|
y: d
|
|
5337
|
-
}), y = e ===
|
|
5352
|
+
}), y = e === x.boxPlot.boxPlotCategory ? r[e] : i;
|
|
5338
5353
|
if (!oe(y)) {
|
|
5339
5354
|
const g = r[f], p = r[m];
|
|
5340
5355
|
Number.isFinite(g) && Number.isFinite(p) && (c = `${y?.toString()}>=${g?.toString()} AND ${y?.toString()}<=${p?.toString()}`);
|
|
@@ -5345,7 +5360,7 @@ function ir(t) {
|
|
|
5345
5360
|
function sl(t) {
|
|
5346
5361
|
const { xAxisField: e, splitBy: i, dataContext: a, xAxisFieldType: r, chartConfig: n, queryObject: s } = t;
|
|
5347
5362
|
let o = "";
|
|
5348
|
-
if (
|
|
5363
|
+
if (x.dateBinningRange in a)
|
|
5349
5364
|
o = er({ xAxisField: e, dataContext: a, queryObject: s });
|
|
5350
5365
|
else if (k(n.series) !== F.BarAndLineFromFields) {
|
|
5351
5366
|
let l = fi({
|
|
@@ -5363,7 +5378,7 @@ function sl(t) {
|
|
|
5363
5378
|
}
|
|
5364
5379
|
function ol(t) {
|
|
5365
5380
|
const { xAxisField: e, dataContext: i, chartConfig: a } = t;
|
|
5366
|
-
let r = i[
|
|
5381
|
+
let r = i[x.originalCategoryValue];
|
|
5367
5382
|
return r === void 0 && (r = i[e]), k(a.series) === F.PieFromFields ? "" : Le({
|
|
5368
5383
|
where: qe(e, r),
|
|
5369
5384
|
normalize: !1,
|
|
@@ -5395,10 +5410,10 @@ function ll(t) {
|
|
|
5395
5410
|
runsOnClientQueryEngine: o
|
|
5396
5411
|
} = t, u = r.series[0];
|
|
5397
5412
|
let c = "";
|
|
5398
|
-
if (u.type ===
|
|
5413
|
+
if (u.type === S.HeatSeries) {
|
|
5399
5414
|
let l, d;
|
|
5400
|
-
const f = a[
|
|
5401
|
-
p ===
|
|
5415
|
+
const f = a[_.xField], m = a[x.originalCategoryValue], y = a[_.yField], g = a[x.originalYCategoryValue], p = r.axes?.[0]?.valueFormat?.type, h = r.axes?.[1]?.valueFormat?.type;
|
|
5416
|
+
p === S.CategoryAxisFormat ? l = Le({
|
|
5402
5417
|
where: qe(u.x, m ?? f),
|
|
5403
5418
|
normalize: !1,
|
|
5404
5419
|
escape: !0
|
|
@@ -5410,7 +5425,7 @@ function ll(t) {
|
|
|
5410
5425
|
outTimeZone: n,
|
|
5411
5426
|
dataTimeZone: s,
|
|
5412
5427
|
runsOnClientQueryEngine: o
|
|
5413
|
-
}),
|
|
5428
|
+
}), h === S.CategoryAxisFormat ? d = Le({
|
|
5414
5429
|
where: qe(u.y, g ?? y),
|
|
5415
5430
|
normalize: !1,
|
|
5416
5431
|
escape: !0
|
|
@@ -5430,7 +5445,7 @@ function ul(t) {
|
|
|
5430
5445
|
const { xAxisField: e, dataContext: i, chartConfig: a } = t;
|
|
5431
5446
|
let r = "";
|
|
5432
5447
|
const n = a.series[0], { minValue: s, maxValue: o } = i;
|
|
5433
|
-
if (Number.isFinite(s) && Number.isFinite(o) && n.type ===
|
|
5448
|
+
if (Number.isFinite(s) && Number.isFinite(o) && n.type === S.HistogramSeries) {
|
|
5434
5449
|
const u = qn(e, n.dataTransformationType), c = i.isLastBin ? "<=" : "<";
|
|
5435
5450
|
r = Y([
|
|
5436
5451
|
`${u}>=${s?.toString()}`,
|
|
@@ -5440,28 +5455,28 @@ function ul(t) {
|
|
|
5440
5455
|
return r;
|
|
5441
5456
|
}
|
|
5442
5457
|
function jd(t) {
|
|
5443
|
-
const { chartConfig: e } = t, i =
|
|
5458
|
+
const { chartConfig: e } = t, i = j(e.series);
|
|
5444
5459
|
let a = "";
|
|
5445
5460
|
switch (i) {
|
|
5446
|
-
case
|
|
5461
|
+
case S.ScatterSeries:
|
|
5447
5462
|
a = nl(t);
|
|
5448
5463
|
break;
|
|
5449
|
-
case
|
|
5464
|
+
case S.HeatSeries:
|
|
5450
5465
|
a = ll(t);
|
|
5451
5466
|
break;
|
|
5452
|
-
case
|
|
5453
|
-
case
|
|
5454
|
-
case
|
|
5455
|
-
case
|
|
5467
|
+
case S.RadarSeries:
|
|
5468
|
+
case S.BarSeries:
|
|
5469
|
+
case S.LineSeries:
|
|
5470
|
+
case S.ComboLineAndBarSeries:
|
|
5456
5471
|
a = sl(t);
|
|
5457
5472
|
break;
|
|
5458
|
-
case
|
|
5473
|
+
case S.BoxPlotSeries:
|
|
5459
5474
|
a = ir(t);
|
|
5460
5475
|
break;
|
|
5461
|
-
case
|
|
5476
|
+
case S.HistogramSeries:
|
|
5462
5477
|
a = ul(t);
|
|
5463
5478
|
break;
|
|
5464
|
-
case
|
|
5479
|
+
case S.PieSeries:
|
|
5465
5480
|
a = ol(t);
|
|
5466
5481
|
break;
|
|
5467
5482
|
}
|
|
@@ -5486,7 +5501,7 @@ async function cl(t) {
|
|
|
5486
5501
|
} = t, g = k(a.series);
|
|
5487
5502
|
let p = { valid: !0, data: { dataItems: [] } };
|
|
5488
5503
|
if (r !== void 0 && r.length > 0) {
|
|
5489
|
-
const
|
|
5504
|
+
const h = Re(a), { x: v } = h, B = "y" in h ? h.y : "", C = Ce(e).find((I) => I.name === v)?.type, N = [], T = r.reduce(
|
|
5490
5505
|
(I, P) => {
|
|
5491
5506
|
const O = [];
|
|
5492
5507
|
if (W.uniqueIdsName in P)
|
|
@@ -5496,7 +5511,7 @@ async function cl(t) {
|
|
|
5496
5511
|
case F.BoxPlotMonoFieldAndSplitBy:
|
|
5497
5512
|
case F.BoxPlotMultiFieldsAndSplitBy:
|
|
5498
5513
|
case F.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
5499
|
-
const M = te(
|
|
5514
|
+
const M = te(h.query?.where ?? ""), q = `_${E.Average}`;
|
|
5500
5515
|
Object.keys(P).forEach((G) => {
|
|
5501
5516
|
if (G.includes(q)) {
|
|
5502
5517
|
const J = G.replace(q, "");
|
|
@@ -5506,7 +5521,7 @@ async function cl(t) {
|
|
|
5506
5521
|
break;
|
|
5507
5522
|
}
|
|
5508
5523
|
}
|
|
5509
|
-
const V = [
|
|
5524
|
+
const V = [B].flat();
|
|
5510
5525
|
let $ = V.length === 1 ? V[0] : "";
|
|
5511
5526
|
if (g === F.BoxPlotMultiFieldsAndCategory) {
|
|
5512
5527
|
const M = `_${E.FirstQuartile}`, q = Object.keys(P).find((G) => G.includes(M));
|
|
@@ -5515,11 +5530,11 @@ async function cl(t) {
|
|
|
5515
5530
|
O.length === 0 && O.push(""), O.forEach((M) => {
|
|
5516
5531
|
const q = ir({
|
|
5517
5532
|
chartConfig: a,
|
|
5518
|
-
xAxisField:
|
|
5533
|
+
xAxisField: v,
|
|
5519
5534
|
yAxisField: $,
|
|
5520
5535
|
splitBy: M,
|
|
5521
5536
|
dataContext: P,
|
|
5522
|
-
xAxisFieldType:
|
|
5537
|
+
xAxisFieldType: C
|
|
5523
5538
|
});
|
|
5524
5539
|
I.push(q);
|
|
5525
5540
|
});
|
|
@@ -5571,25 +5586,25 @@ async function dl(t) {
|
|
|
5571
5586
|
abortSignal: p
|
|
5572
5587
|
} = t;
|
|
5573
5588
|
yt(e);
|
|
5574
|
-
const { series:
|
|
5575
|
-
let b = { valid: !0 },
|
|
5576
|
-
n || (
|
|
5589
|
+
const { series: h } = a, v = j(h), B = xe(a);
|
|
5590
|
+
let b = { valid: !0 }, C = s?.selectionItems ?? [];
|
|
5591
|
+
n || (C = rl({ chartConfig: a, currentSelectionDataItems: r, selectionData: s }));
|
|
5577
5592
|
let N = !1;
|
|
5578
|
-
switch (
|
|
5579
|
-
case
|
|
5580
|
-
b.data = { dataItems:
|
|
5593
|
+
switch (v) {
|
|
5594
|
+
case S.HeatSeries:
|
|
5595
|
+
b.data = { dataItems: C };
|
|
5581
5596
|
break;
|
|
5582
|
-
case
|
|
5597
|
+
case S.PieSeries:
|
|
5583
5598
|
if (k(a.series) === F.PieFromFields) {
|
|
5584
|
-
const { x: T, y: w } = a.series[0], L = He(
|
|
5599
|
+
const { x: T, y: w } = a.series[0], L = He(C);
|
|
5585
5600
|
L.forEach((A) => {
|
|
5586
5601
|
T in A && (A[ce] = A[T], delete A[T]), w in A && (A[Ne] = A[w], delete A[w]);
|
|
5587
5602
|
}), b.data = { dataItems: L };
|
|
5588
5603
|
} else
|
|
5589
|
-
b.data = { dataItems:
|
|
5590
|
-
b.count =
|
|
5604
|
+
b.data = { dataItems: C };
|
|
5605
|
+
b.count = C.length, N = !0;
|
|
5591
5606
|
break;
|
|
5592
|
-
case
|
|
5607
|
+
case S.BoxPlotSeries:
|
|
5593
5608
|
de(a) && (b = await cl({
|
|
5594
5609
|
queryObject: e,
|
|
5595
5610
|
queryConfig: i,
|
|
@@ -5607,23 +5622,23 @@ async function dl(t) {
|
|
|
5607
5622
|
abortSignal: p
|
|
5608
5623
|
}));
|
|
5609
5624
|
break;
|
|
5610
|
-
case
|
|
5611
|
-
case
|
|
5612
|
-
case
|
|
5613
|
-
case
|
|
5614
|
-
if (
|
|
5615
|
-
xAxisValueFormatType:
|
|
5625
|
+
case S.BarSeries:
|
|
5626
|
+
case S.ComboLineAndBarSeries:
|
|
5627
|
+
case S.RadarSeries:
|
|
5628
|
+
case S.LineSeries:
|
|
5629
|
+
if (C.length === 0 || !Pe({
|
|
5630
|
+
xAxisValueFormatType: B,
|
|
5616
5631
|
setTimeBinningInfoWhenNotProvided: o,
|
|
5617
|
-
seriesConfig:
|
|
5632
|
+
seriesConfig: h[0],
|
|
5618
5633
|
queryObject: e
|
|
5619
5634
|
}))
|
|
5620
|
-
b.data = { dataItems:
|
|
5635
|
+
b.data = { dataItems: C }, b.count = C.length * h.length, N = !0;
|
|
5621
5636
|
else {
|
|
5622
5637
|
const T = { ...i };
|
|
5623
5638
|
if (r !== void 0 && r.length > 0) {
|
|
5624
5639
|
const L = r.map(
|
|
5625
5640
|
(I) => er({
|
|
5626
|
-
xAxisField:
|
|
5641
|
+
xAxisField: h[0].x,
|
|
5627
5642
|
dataContext: I,
|
|
5628
5643
|
queryObject: e
|
|
5629
5644
|
})
|
|
@@ -5644,8 +5659,8 @@ async function dl(t) {
|
|
|
5644
5659
|
});
|
|
5645
5660
|
}
|
|
5646
5661
|
break;
|
|
5647
|
-
case
|
|
5648
|
-
if (
|
|
5662
|
+
case S.HistogramSeries: {
|
|
5663
|
+
if (C.length === 0)
|
|
5649
5664
|
b.data = {
|
|
5650
5665
|
mean: Number.NaN,
|
|
5651
5666
|
median: Number.NaN,
|
|
@@ -5655,8 +5670,8 @@ async function dl(t) {
|
|
|
5655
5670
|
bins: []
|
|
5656
5671
|
}, b.count = 0;
|
|
5657
5672
|
else {
|
|
5658
|
-
const { x: T } =
|
|
5659
|
-
const { minValue: O, maxValue: V } = I, $ = P ===
|
|
5673
|
+
const { x: T } = h[0], w = C.map((I, P) => {
|
|
5674
|
+
const { minValue: O, maxValue: V } = I, $ = P === C.length - 1 ? "<=" : "<";
|
|
5660
5675
|
return `${T} >= ${O} AND ${T} ${$} ${V}`;
|
|
5661
5676
|
}), L = Y(w, "OR"), A = { ...i };
|
|
5662
5677
|
A.where = Y([A.where, L]), b = await Ya({
|
|
@@ -5671,16 +5686,16 @@ async function dl(t) {
|
|
|
5671
5686
|
}
|
|
5672
5687
|
break;
|
|
5673
5688
|
}
|
|
5674
|
-
case
|
|
5675
|
-
if (
|
|
5676
|
-
const { r2: T, trendLinePoints: w } =
|
|
5689
|
+
case S.ScatterSeries: {
|
|
5690
|
+
if (C.length === 0) {
|
|
5691
|
+
const { r2: T, trendLinePoints: w } = x.scatterplotSeries;
|
|
5677
5692
|
b.data = { dataItems: [], r2: T, trendLinePoints: w, count: 0 }, b.count = 0;
|
|
5678
5693
|
} else {
|
|
5679
5694
|
const { r2: T, trendLinePoints: w } = qa({
|
|
5680
|
-
data:
|
|
5695
|
+
data: C,
|
|
5681
5696
|
chartConfig: a
|
|
5682
5697
|
});
|
|
5683
|
-
b.data = { dataItems:
|
|
5698
|
+
b.data = { dataItems: C, r2: T, trendLinePoints: w }, b.count = C.length;
|
|
5684
5699
|
}
|
|
5685
5700
|
break;
|
|
5686
5701
|
}
|
|
@@ -5726,9 +5741,9 @@ async function Fi(t) {
|
|
|
5726
5741
|
if (!g)
|
|
5727
5742
|
y = p;
|
|
5728
5743
|
else {
|
|
5729
|
-
const
|
|
5730
|
-
|
|
5731
|
-
const
|
|
5744
|
+
const h = { dataItems: [] };
|
|
5745
|
+
h.meanLines = p.data.dataItems;
|
|
5746
|
+
const v = Oo(i), B = (await oi({
|
|
5732
5747
|
queryObject: e,
|
|
5733
5748
|
queryConfig: a,
|
|
5734
5749
|
fetchFullBoxPlotData: !0,
|
|
@@ -5740,11 +5755,11 @@ async function Fi(t) {
|
|
|
5740
5755
|
replaceNoValueCategoryWithZero: f,
|
|
5741
5756
|
view: m,
|
|
5742
5757
|
errorStrings: r,
|
|
5743
|
-
chartConfig:
|
|
5758
|
+
chartConfig: v,
|
|
5744
5759
|
abortKey: n,
|
|
5745
5760
|
abortSignal: s
|
|
5746
5761
|
})).data;
|
|
5747
|
-
|
|
5762
|
+
h.dataItems = B.dataItems, h.outliers = B.outliers, y.data = h;
|
|
5748
5763
|
}
|
|
5749
5764
|
return y;
|
|
5750
5765
|
}
|
|
@@ -5766,20 +5781,20 @@ async function fl(t) {
|
|
|
5766
5781
|
errorStrings: y,
|
|
5767
5782
|
abortKey: g,
|
|
5768
5783
|
abortSignal: p,
|
|
5769
|
-
fieldList:
|
|
5770
|
-
currentSelectionDataItems:
|
|
5771
|
-
dataForFilterBySelectionChanged:
|
|
5784
|
+
fieldList: h,
|
|
5785
|
+
currentSelectionDataItems: v,
|
|
5786
|
+
dataForFilterBySelectionChanged: B,
|
|
5772
5787
|
filterByViewExtent: b,
|
|
5773
|
-
preFetchedQueryResponse:
|
|
5774
|
-
} = t, { series: N } = i, T =
|
|
5788
|
+
preFetchedQueryResponse: C
|
|
5789
|
+
} = t, { series: N } = i, T = j(N);
|
|
5775
5790
|
let w = { valid: !0 };
|
|
5776
5791
|
if (r)
|
|
5777
5792
|
w = await dl({
|
|
5778
5793
|
queryObject: e,
|
|
5779
5794
|
queryConfig: a,
|
|
5780
5795
|
chartConfig: i,
|
|
5781
|
-
currentSelectionDataItems:
|
|
5782
|
-
dataForFilterBySelectionChanged:
|
|
5796
|
+
currentSelectionDataItems: v,
|
|
5797
|
+
dataForFilterBySelectionChanged: B,
|
|
5783
5798
|
selectionData: n,
|
|
5784
5799
|
setTimeBinningInfoWhenNotProvided: s,
|
|
5785
5800
|
returnFeaturesExtent: o,
|
|
@@ -5794,7 +5809,7 @@ async function fl(t) {
|
|
|
5794
5809
|
});
|
|
5795
5810
|
else
|
|
5796
5811
|
switch (T) {
|
|
5797
|
-
case
|
|
5812
|
+
case S.HeatSeries:
|
|
5798
5813
|
yt(e), w = await cr({
|
|
5799
5814
|
chartConfig: i,
|
|
5800
5815
|
queryConfig: a,
|
|
@@ -5809,7 +5824,7 @@ async function fl(t) {
|
|
|
5809
5824
|
abortSignal: p
|
|
5810
5825
|
});
|
|
5811
5826
|
break;
|
|
5812
|
-
case
|
|
5827
|
+
case S.BoxPlotSeries:
|
|
5813
5828
|
de(i) && (w = await Fi({
|
|
5814
5829
|
queryObject: e,
|
|
5815
5830
|
// @REV: temporary
|
|
@@ -5827,11 +5842,11 @@ async function fl(t) {
|
|
|
5827
5842
|
abortSignal: p
|
|
5828
5843
|
}));
|
|
5829
5844
|
break;
|
|
5830
|
-
case
|
|
5831
|
-
case
|
|
5832
|
-
case
|
|
5833
|
-
case
|
|
5834
|
-
case
|
|
5845
|
+
case S.BarSeries:
|
|
5846
|
+
case S.ComboLineAndBarSeries:
|
|
5847
|
+
case S.PieSeries:
|
|
5848
|
+
case S.RadarSeries:
|
|
5849
|
+
case S.LineSeries: {
|
|
5835
5850
|
const L = {
|
|
5836
5851
|
queryObject: e,
|
|
5837
5852
|
// @REV: temporary
|
|
@@ -5848,8 +5863,8 @@ async function fl(t) {
|
|
|
5848
5863
|
view: f,
|
|
5849
5864
|
abortKey: g,
|
|
5850
5865
|
abortSignal: p,
|
|
5851
|
-
fieldList:
|
|
5852
|
-
preFetchedQueryResponse:
|
|
5866
|
+
fieldList: h,
|
|
5867
|
+
preFetchedQueryResponse: C
|
|
5853
5868
|
};
|
|
5854
5869
|
Pe({
|
|
5855
5870
|
xAxisValueFormatType: xe(i),
|
|
@@ -5859,7 +5874,7 @@ async function fl(t) {
|
|
|
5859
5874
|
}) ? w = await xi(L) : w = await oi(L);
|
|
5860
5875
|
break;
|
|
5861
5876
|
}
|
|
5862
|
-
case
|
|
5877
|
+
case S.ScatterSeries:
|
|
5863
5878
|
w.data = await dr({
|
|
5864
5879
|
queryObject: e,
|
|
5865
5880
|
queryConfig: a,
|
|
@@ -5877,7 +5892,7 @@ async function fl(t) {
|
|
|
5877
5892
|
abortSignal: p
|
|
5878
5893
|
});
|
|
5879
5894
|
break;
|
|
5880
|
-
case
|
|
5895
|
+
case S.HistogramSeries:
|
|
5881
5896
|
w = await Ya({
|
|
5882
5897
|
queryObject: e,
|
|
5883
5898
|
queryConfig: a,
|
|
@@ -5889,7 +5904,7 @@ async function fl(t) {
|
|
|
5889
5904
|
errorStrings: y
|
|
5890
5905
|
});
|
|
5891
5906
|
break;
|
|
5892
|
-
case
|
|
5907
|
+
case S.GaugeSeries:
|
|
5893
5908
|
yt(e), w = await il({
|
|
5894
5909
|
queryObject: e,
|
|
5895
5910
|
chartConfig: i,
|
|
@@ -5921,11 +5936,11 @@ async function Hd(t) {
|
|
|
5921
5936
|
chartLimits: y,
|
|
5922
5937
|
popupTemplateFieldInfosEnabled: g,
|
|
5923
5938
|
hideZeroCountCategories: p,
|
|
5924
|
-
replaceNoValueCategoryWithZero:
|
|
5925
|
-
view:
|
|
5926
|
-
syncViewTimeZone:
|
|
5939
|
+
replaceNoValueCategoryWithZero: h,
|
|
5940
|
+
view: v,
|
|
5941
|
+
syncViewTimeZone: B,
|
|
5927
5942
|
errorStrings: b,
|
|
5928
|
-
fieldList:
|
|
5943
|
+
fieldList: C,
|
|
5929
5944
|
preFetchedQueryResponse: N
|
|
5930
5945
|
} = t;
|
|
5931
5946
|
let T = { valid: !0 };
|
|
@@ -5934,7 +5949,7 @@ async function Hd(t) {
|
|
|
5934
5949
|
chartConfig: i,
|
|
5935
5950
|
runtimeDataFilters: u,
|
|
5936
5951
|
ignoreViewExtent: c,
|
|
5937
|
-
view:
|
|
5952
|
+
view: v
|
|
5938
5953
|
});
|
|
5939
5954
|
return Ls(a), T = await fl({
|
|
5940
5955
|
chartConfig: i,
|
|
@@ -5950,13 +5965,13 @@ async function Hd(t) {
|
|
|
5950
5965
|
chartLimits: y,
|
|
5951
5966
|
popupTemplateFieldInfosEnabled: g,
|
|
5952
5967
|
hideZeroCountCategories: p,
|
|
5953
|
-
replaceNoValueCategoryWithZero:
|
|
5954
|
-
view:
|
|
5955
|
-
syncViewTimeZone:
|
|
5968
|
+
replaceNoValueCategoryWithZero: h,
|
|
5969
|
+
view: v,
|
|
5970
|
+
syncViewTimeZone: B,
|
|
5956
5971
|
abortKey: a,
|
|
5957
5972
|
abortSignal: r,
|
|
5958
5973
|
errorStrings: b,
|
|
5959
|
-
fieldList:
|
|
5974
|
+
fieldList: C,
|
|
5960
5975
|
preFetchedQueryResponse: N
|
|
5961
5976
|
}), T.queryConfig = w, T;
|
|
5962
5977
|
}
|
|
@@ -5964,7 +5979,7 @@ function ml(t, e, i) {
|
|
|
5964
5979
|
const a = /* @__PURE__ */ new Map();
|
|
5965
5980
|
for (let n = 0; n < t.length; n += 1) {
|
|
5966
5981
|
const s = { [i]: t[n] };
|
|
5967
|
-
|
|
5982
|
+
x.xAxisField in s || (s[x.xAxisField] = t[n]), a.set(t[n], s);
|
|
5968
5983
|
}
|
|
5969
5984
|
for (let n = 0; n < e.length; n += 1) {
|
|
5970
5985
|
const s = e[n][i];
|
|
@@ -5986,28 +6001,28 @@ async function yl(t) {
|
|
|
5986
6001
|
} = t, { series: l } = i;
|
|
5987
6002
|
let d = e;
|
|
5988
6003
|
const f = k(l), m = xe(i);
|
|
5989
|
-
if (s !== lt.RenderUpToTheLimit && n !== void 0 && n > e.length && f !== F.BarAndLineFromFields && f !== F.BarAndLineNoAggregation && f !== F.PieNoAggregation && m ===
|
|
6004
|
+
if (s !== lt.RenderUpToTheLimit && n !== void 0 && n > e.length && f !== F.BarAndLineFromFields && f !== F.BarAndLineNoAggregation && f !== F.PieNoAggregation && m === S.CategoryAxisFormat) {
|
|
5990
6005
|
const { x: y } = l[0], g = {
|
|
5991
6006
|
...a,
|
|
5992
6007
|
returnDistinctValues: !0,
|
|
5993
6008
|
outFields: [y]
|
|
5994
6009
|
};
|
|
5995
6010
|
delete g.outStatistics, delete g.orderByFields, delete g.groupByFieldsForStatistics;
|
|
5996
|
-
const
|
|
6011
|
+
const h = (await Fe({
|
|
5997
6012
|
queryObject: r,
|
|
5998
6013
|
queryConfig: g,
|
|
5999
6014
|
featureCount: n,
|
|
6000
6015
|
errorStrings: o,
|
|
6001
6016
|
abortKey: u,
|
|
6002
6017
|
abortSignal: c
|
|
6003
|
-
})).map((
|
|
6004
|
-
|
|
6018
|
+
})).map((v) => v.attributes[y]).filter((v) => v != null);
|
|
6019
|
+
h.length > e.length && (d = ml(h, e, y));
|
|
6005
6020
|
}
|
|
6006
6021
|
return d;
|
|
6007
6022
|
}
|
|
6008
6023
|
function gl(t, e) {
|
|
6009
6024
|
const i = t, { series: a } = e;
|
|
6010
|
-
if (xe(e) ===
|
|
6025
|
+
if (xe(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === D.Count) {
|
|
6011
6026
|
const r = a.reduce(
|
|
6012
6027
|
(n, s) => {
|
|
6013
6028
|
const o = s.query?.outStatistics?.[0].outStatisticFieldName ?? [s.y].flat()[0];
|
|
@@ -6187,31 +6202,31 @@ function xl(t) {
|
|
|
6187
6202
|
let d, f;
|
|
6188
6203
|
if (be(c) && (f = c.temporalBinning?.nullPolicy, d = c.temporalBinning?.timeAggregationType), u > 1 || o === R.Week || o === R.Month || o === R.Year) {
|
|
6189
6204
|
const { query: m } = i[0], y = ue(i), { statisticType: g } = m?.outStatistics?.[0] ?? Xi;
|
|
6190
|
-
let p = !1,
|
|
6191
|
-
const
|
|
6192
|
-
binFirstOrLastIndex:
|
|
6205
|
+
let p = !1, h = d === ee.End ? e.length - 1 : 0;
|
|
6206
|
+
const v = {
|
|
6207
|
+
binFirstOrLastIndex: h,
|
|
6193
6208
|
data: e,
|
|
6194
6209
|
x: l,
|
|
6195
6210
|
timeIntervalInfo: a
|
|
6196
6211
|
};
|
|
6197
6212
|
for (; !p; ) {
|
|
6198
|
-
let
|
|
6199
|
-
const { binStartDate: b, binEndDate:
|
|
6213
|
+
let B = {};
|
|
6214
|
+
const { binStartDate: b, binEndDate: C, last: N, nextBinFirstOrLastIndex: T, sliceStartIndex: w, sliceEndIndex: L } = d === ee.End ? (
|
|
6200
6215
|
// When grouping from the end we'll start from the last date and move backward to create the bins
|
|
6201
|
-
Fl(
|
|
6216
|
+
Fl(v)
|
|
6202
6217
|
) : (
|
|
6203
6218
|
// When grouping from the start we'll start from the first date and move forward to create the bins
|
|
6204
|
-
Sl(
|
|
6219
|
+
Sl(v)
|
|
6205
6220
|
);
|
|
6206
|
-
if (p = N,
|
|
6207
|
-
const A = e.slice(w, L).filter((O) => !(
|
|
6221
|
+
if (p = N, B = d === ee.End ? B = e[L - 1] : B = e[h], C > n && b < n || b < r && C > r || b >= r && C <= n) {
|
|
6222
|
+
const A = e.slice(w, L).filter((O) => !(x.dateBinModel in O));
|
|
6208
6223
|
y.forEach((O) => {
|
|
6209
|
-
|
|
6224
|
+
B[O] = bl({ binsToRegroup: A, statisticType: g, y: O, nullPolicy: f });
|
|
6210
6225
|
});
|
|
6211
6226
|
const I = A.map((O) => O[Oe]).filter((O) => O !== void 0), P = On(I);
|
|
6212
|
-
P !== void 0 && (
|
|
6213
|
-
} else N && d !== ee.End && s.length > 0 && (s[s.length - 1][
|
|
6214
|
-
|
|
6227
|
+
P !== void 0 && (B[Oe] = P), B[l] = b, B[x.xAxisField] = b, B[x.dateBinningRange] = [b, C], delete B[x.dateBinModel], s.push(B);
|
|
6228
|
+
} else N && d !== ee.End && s.length > 0 && (s[s.length - 1][x.dateBinningRange][1] = s[s.length - 1][x.dateBinningRange][1] + 1);
|
|
6229
|
+
h = T, v.binFirstOrLastIndex = T;
|
|
6215
6230
|
}
|
|
6216
6231
|
d === ee.End && (s = s.reverse());
|
|
6217
6232
|
} else u === 1 ? s = e.map((m, y) => {
|
|
@@ -6224,7 +6239,7 @@ function xl(t) {
|
|
|
6224
6239
|
nextOrPrevious: "next"
|
|
6225
6240
|
}), {
|
|
6226
6241
|
...m,
|
|
6227
|
-
[
|
|
6242
|
+
[x.dateBinningRange]: [g, p]
|
|
6228
6243
|
};
|
|
6229
6244
|
}) : s = e;
|
|
6230
6245
|
return s;
|
|
@@ -6262,7 +6277,7 @@ function sr(t) {
|
|
|
6262
6277
|
const e = t[0].temporalBinning?.nullPolicy;
|
|
6263
6278
|
return t.reduce(
|
|
6264
6279
|
(a, r) => {
|
|
6265
|
-
a[
|
|
6280
|
+
a[x.dateBinModel] = void 0;
|
|
6266
6281
|
const n = r.query?.outStatistics?.[0].outStatisticFieldName ?? [r.y].flat()[0];
|
|
6267
6282
|
return e !== Se.Interpolate && (a[n] = e === Se.Zero ? 0 : null), a;
|
|
6268
6283
|
},
|
|
@@ -6285,7 +6300,7 @@ function Cl(t) {
|
|
|
6285
6300
|
const g = sr(n);
|
|
6286
6301
|
if (l === ee.End) {
|
|
6287
6302
|
let p = r[0][c];
|
|
6288
|
-
for (let
|
|
6303
|
+
for (let h = 0; h < y; h += 1)
|
|
6289
6304
|
p = Ve({
|
|
6290
6305
|
date: p,
|
|
6291
6306
|
unit: u,
|
|
@@ -6294,12 +6309,12 @@ function Cl(t) {
|
|
|
6294
6309
|
}), r.push({
|
|
6295
6310
|
...g,
|
|
6296
6311
|
[c]: p,
|
|
6297
|
-
[
|
|
6312
|
+
[x.xAxisField]: p
|
|
6298
6313
|
});
|
|
6299
6314
|
y > 0 && (d = r[r.length - 1][c]);
|
|
6300
6315
|
} else {
|
|
6301
6316
|
let p = r[r.length - 1][c];
|
|
6302
|
-
for (let
|
|
6317
|
+
for (let h = 0; h < y; h += 1)
|
|
6303
6318
|
p = Ve({
|
|
6304
6319
|
date: p,
|
|
6305
6320
|
unit: u,
|
|
@@ -6308,7 +6323,7 @@ function Cl(t) {
|
|
|
6308
6323
|
}), r.push({
|
|
6309
6324
|
...g,
|
|
6310
6325
|
[c]: p,
|
|
6311
|
-
[
|
|
6326
|
+
[x.xAxisField]: p
|
|
6312
6327
|
});
|
|
6313
6328
|
f = r[r.length - 1][c];
|
|
6314
6329
|
}
|
|
@@ -6372,7 +6387,7 @@ function Nl(t) {
|
|
|
6372
6387
|
g !== r[p][d] ? c.push({
|
|
6373
6388
|
...m,
|
|
6374
6389
|
[d]: g,
|
|
6375
|
-
[
|
|
6390
|
+
[x.xAxisField]: g
|
|
6376
6391
|
}) : p = f === ee.End ? p - 1 : p + 1, g = Ve({
|
|
6377
6392
|
date: g,
|
|
6378
6393
|
unit: u === R.Month || u === R.Year ? R.Day : u,
|
|
@@ -6385,16 +6400,16 @@ function Nl(t) {
|
|
|
6385
6400
|
function Tl(t) {
|
|
6386
6401
|
const { data: e, seriesConfig: i, dateMinTimestamp: a, dateMaxTimestamp: r } = t, n = e;
|
|
6387
6402
|
if (i[0].temporalBinning?.trimIncompleteTimeInterval !== !1) {
|
|
6388
|
-
const { timeAggregationType: s } = i[0].temporalBinning ?? {}, o = e[0]?.[
|
|
6403
|
+
const { timeAggregationType: s } = i[0].temporalBinning ?? {}, o = e[0]?.[x.dateBinningRange]?.[0], u = e[e.length - 1]?.[x.dateBinningRange]?.[1];
|
|
6389
6404
|
if (s === ee.End ? o < a : u > r)
|
|
6390
6405
|
if (s === ee.End) {
|
|
6391
6406
|
let l = o;
|
|
6392
6407
|
for (; l < a && e.length > 0; )
|
|
6393
|
-
e.shift(), e.length > 0 && (l = e[0][
|
|
6408
|
+
e.shift(), e.length > 0 && (l = e[0][x.dateBinningRange]?.[0]);
|
|
6394
6409
|
} else {
|
|
6395
6410
|
let l = u;
|
|
6396
6411
|
for (; l > r && e.length > 0; )
|
|
6397
|
-
e.pop(), e.length > 0 && (l = e[e.length - 1][
|
|
6412
|
+
e.pop(), e.length > 0 && (l = e[e.length - 1][x.dateBinningRange]?.[1]);
|
|
6398
6413
|
}
|
|
6399
6414
|
}
|
|
6400
6415
|
return n;
|
|
@@ -6426,11 +6441,11 @@ function* wl(t) {
|
|
|
6426
6441
|
];
|
|
6427
6442
|
let y = Ue.groupByCaseBegin;
|
|
6428
6443
|
for (let p = 0; p < r.length; p += 1) {
|
|
6429
|
-
const
|
|
6444
|
+
const h = r[p], [v, B] = h[x.dateBinningRange], b = nt(v), C = nt(B);
|
|
6430
6445
|
y = Al({
|
|
6431
6446
|
groupByFieldsForStatistics: y,
|
|
6432
6447
|
queryStartDate: b,
|
|
6433
|
-
queryEndDate:
|
|
6448
|
+
queryEndDate: C,
|
|
6434
6449
|
dateField: l,
|
|
6435
6450
|
y: [d].flat()[0],
|
|
6436
6451
|
binIndex: p,
|
|
@@ -6471,8 +6486,8 @@ async function Ll(t) {
|
|
|
6471
6486
|
if (y !== void 0) {
|
|
6472
6487
|
const [g, p] = y.split("|");
|
|
6473
6488
|
if (p !== void 0) {
|
|
6474
|
-
const
|
|
6475
|
-
o[p][`${g}`] =
|
|
6489
|
+
const h = m.attributes[D.ContinuousPercentile];
|
|
6490
|
+
o[p][`${g}`] = h;
|
|
6476
6491
|
}
|
|
6477
6492
|
}
|
|
6478
6493
|
});
|
|
@@ -6500,11 +6515,11 @@ function Gi(t) {
|
|
|
6500
6515
|
}
|
|
6501
6516
|
function Pl(t) {
|
|
6502
6517
|
const { chartConfig: e, queryResults: i, mapToStatField: a, splitByField: r, x: n, y: s, nullPolicy: o, queryObject: u } = t, c = Ea(n), d = Ce(u).find((p) => p.name === n)?.type, f = [], m = e.series[0], y = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, g = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
|
|
6503
|
-
return i.forEach((p,
|
|
6504
|
-
if (!(y && (
|
|
6505
|
-
const { attributes:
|
|
6506
|
-
let
|
|
6507
|
-
const T =
|
|
6518
|
+
return i.forEach((p, h) => {
|
|
6519
|
+
if (!(y && (h === 0 && g === ee.End || h === i.length - 1 && g === ee.Start))) {
|
|
6520
|
+
const { attributes: B, stackedAttributes: b } = p;
|
|
6521
|
+
let C = B[c.lowerBoundaryAlias], N = B[c.upperBoundaryAlias];
|
|
6522
|
+
const T = C, w = N, L = (A, I) => {
|
|
6508
6523
|
let P = A;
|
|
6509
6524
|
if (I === U.DateOnly && (typeof A == "string" && A.length === 10 || typeof A == "number"))
|
|
6510
6525
|
if (typeof A == "string") {
|
|
@@ -6517,9 +6532,9 @@ function Pl(t) {
|
|
|
6517
6532
|
});
|
|
6518
6533
|
return P;
|
|
6519
6534
|
};
|
|
6520
|
-
if (
|
|
6521
|
-
const A = { ...
|
|
6522
|
-
A[
|
|
6535
|
+
if (C = L(C, d), N = L(N, d), typeof C == "number" && typeof N == "number") {
|
|
6536
|
+
const A = { ...B };
|
|
6537
|
+
A[x.originalServerBinningRange] = [T, w], A[n] = C, A[x.xAxisField] = C, A[x.dateBinningRange] = [C, N], delete A[c.lowerBoundaryAlias], delete A[c.upperBoundaryAlias], b && r && !oe(r) && a ? b.forEach((O) => {
|
|
6523
6538
|
const V = O[r];
|
|
6524
6539
|
if (V === null || typeof V == "string" || typeof V == "number") {
|
|
6525
6540
|
const $ = a?.get(V);
|
|
@@ -6559,7 +6574,7 @@ async function Ml(t) {
|
|
|
6559
6574
|
dateMinTimestamp: d,
|
|
6560
6575
|
dateMaxTimestamp: f,
|
|
6561
6576
|
timeIntervalInfo: o
|
|
6562
|
-
}), { newDateMin: p, newDateMax:
|
|
6577
|
+
}), { newDateMin: p, newDateMax: h } = Cl({
|
|
6563
6578
|
dateMaxTimestamp: f,
|
|
6564
6579
|
data: l,
|
|
6565
6580
|
numberOfFinalBinsWithinDataRange: y,
|
|
@@ -6569,7 +6584,7 @@ async function Ml(t) {
|
|
|
6569
6584
|
});
|
|
6570
6585
|
l = Nl({
|
|
6571
6586
|
newDateMin: p,
|
|
6572
|
-
newDateMax:
|
|
6587
|
+
newDateMax: h,
|
|
6573
6588
|
seriesConfig: n,
|
|
6574
6589
|
data: l,
|
|
6575
6590
|
initialNumberOfBins: m,
|
|
@@ -6609,10 +6624,10 @@ function Ol(t) {
|
|
|
6609
6624
|
let a, r, { dateMinTimestamp: n, dateMaxTimestamp: s } = e;
|
|
6610
6625
|
if (n && s) {
|
|
6611
6626
|
typeof n == "string" && (n = new Date(n).valueOf()), typeof s == "string" && (s = new Date(s).valueOf());
|
|
6612
|
-
const o = Dl(i), u = (s - n) / o, c = Wi.findIndex((
|
|
6627
|
+
const o = Dl(i), u = (s - n) / o, c = Wi.findIndex((h) => h.threshold > u), l = Wi[c], { unitMs: d, preferredIntervalSize: f } = l;
|
|
6613
6628
|
({ unit: a } = l);
|
|
6614
6629
|
const m = u / d, y = f.findIndex(
|
|
6615
|
-
(
|
|
6630
|
+
(h) => h >= m
|
|
6616
6631
|
), g = f[y], p = y === 0 ? f[0] : f[y - 1];
|
|
6617
6632
|
r = g - m < m - p ? g : p;
|
|
6618
6633
|
}
|
|
@@ -6674,9 +6689,9 @@ async function Yt(t) {
|
|
|
6674
6689
|
});
|
|
6675
6690
|
return Array.from(
|
|
6676
6691
|
new Set(
|
|
6677
|
-
p.map((
|
|
6692
|
+
p.map((v) => v.attributes[c ? r : a])
|
|
6678
6693
|
)
|
|
6679
|
-
).sort((
|
|
6694
|
+
).sort((v, B) => typeof v == "string" && typeof B == "string" ? v.localeCompare(B) : Number(v) - Number(B));
|
|
6680
6695
|
}
|
|
6681
6696
|
function or(t) {
|
|
6682
6697
|
const { feature: e, splitByField: i, chartSubType: a } = t;
|
|
@@ -6693,7 +6708,7 @@ function or(t) {
|
|
|
6693
6708
|
}
|
|
6694
6709
|
function ql(t) {
|
|
6695
6710
|
const { input: e, x: i, splitByField: a } = t;
|
|
6696
|
-
return e.reduce((n, s) => (a !== void 0 && a !== i && !(
|
|
6711
|
+
return e.reduce((n, s) => (a !== void 0 && a !== i && !(x.technicalFieldSplitByField in s) && delete s[a], Object.assign(n, s)), {});
|
|
6697
6712
|
}
|
|
6698
6713
|
function bt(t) {
|
|
6699
6714
|
const { data: e, x: i, splitByField: a } = t;
|
|
@@ -6709,19 +6724,19 @@ function bt(t) {
|
|
|
6709
6724
|
return r;
|
|
6710
6725
|
}
|
|
6711
6726
|
function Vl(t, e) {
|
|
6712
|
-
const i = t, a =
|
|
6713
|
-
if (a !==
|
|
6727
|
+
const i = t, a = j(e);
|
|
6728
|
+
if (a !== S.PieSeries && a !== S.BoxPlotSeries) {
|
|
6714
6729
|
const r = ue(e), n = e[0].y;
|
|
6715
6730
|
t.forEach((s) => {
|
|
6716
6731
|
let o = 0;
|
|
6717
6732
|
if (r.forEach((u) => {
|
|
6718
6733
|
const c = s[u];
|
|
6719
6734
|
Number.isFinite(c) && (o += c);
|
|
6720
|
-
}), s[
|
|
6735
|
+
}), s[x.technicalSortingFieldBySum] = o, Number.isFinite(o) && o > 0) {
|
|
6721
6736
|
const u = s[n];
|
|
6722
6737
|
if (Number.isFinite(u)) {
|
|
6723
6738
|
const c = u / o;
|
|
6724
|
-
s[
|
|
6739
|
+
s[x.technicalSortingFieldByPercent] = c;
|
|
6725
6740
|
}
|
|
6726
6741
|
}
|
|
6727
6742
|
});
|
|
@@ -6737,11 +6752,11 @@ function Rl(t, e) {
|
|
|
6737
6752
|
}
|
|
6738
6753
|
function $l(t, e) {
|
|
6739
6754
|
const i = e.series[0], a = t;
|
|
6740
|
-
if (i.type ===
|
|
6755
|
+
if (i.type === S.HeatSeries) {
|
|
6741
6756
|
const { x: r, y: n } = i;
|
|
6742
|
-
a[
|
|
6757
|
+
a[_.xField] = a[r]?.toString(), delete a[r], a[_.yField] = a[n]?.toString(), delete a[n];
|
|
6743
6758
|
const s = i.query?.outStatistics?.[0]?.outStatisticFieldName;
|
|
6744
|
-
s && (a[
|
|
6759
|
+
s && (a[_.valueField] = a[s], delete a[s]);
|
|
6745
6760
|
}
|
|
6746
6761
|
return a;
|
|
6747
6762
|
}
|
|
@@ -6811,7 +6826,7 @@ function Hl(t, e) {
|
|
|
6811
6826
|
}
|
|
6812
6827
|
function zl(t) {
|
|
6813
6828
|
const { attributes: e, showMean: i, chartSubType: a } = t;
|
|
6814
|
-
i && (a === F.BoxPlotMonoFieldAndSplitBy || a === F.BoxPlotMultiFieldsAndSplitBy || a === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[
|
|
6829
|
+
i && (a === F.BoxPlotMonoFieldAndSplitBy || a === F.BoxPlotMultiFieldsAndSplitBy || a === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[x.boxPlot.boxPlotMeanLineMarkerId] = !0);
|
|
6815
6830
|
}
|
|
6816
6831
|
function Wl(t) {
|
|
6817
6832
|
const { queryResponse: e, chartConfig: i, maxCategoryCount: a } = t, r = k(i.series);
|
|
@@ -6846,7 +6861,7 @@ function Ul(t) {
|
|
|
6846
6861
|
yAxisValueFormat: d
|
|
6847
6862
|
} = t;
|
|
6848
6863
|
let f, m;
|
|
6849
|
-
c !== F.PieFromFields && (s && (typeof i == "string" || typeof i == "number") && (f = ni(i, s)), o && u ===
|
|
6864
|
+
c !== F.PieFromFields && (s && (typeof i == "string" || typeof i == "number") && (f = ni(i, s)), o && u === S.HeatSeries && typeof n == "string" && (typeof a == "string" || typeof a == "number") && (m = ni(a, o)), f !== void 0 && f !== i && (typeof f != "string" || !ne(l)) && (e[x.originalCategoryValue] = e[r], e[r] = f, e[x.xAxisDisplayField] = f), typeof n == "string" && !ne(d) && m !== void 0 && m !== a && (e[x.originalYCategoryValue] = e[n], e[n] = m));
|
|
6850
6865
|
}
|
|
6851
6866
|
function Yl(t) {
|
|
6852
6867
|
let e;
|
|
@@ -6865,7 +6880,7 @@ function lr(t) {
|
|
|
6865
6880
|
showMean: u,
|
|
6866
6881
|
chartLimits: c,
|
|
6867
6882
|
fieldList: l
|
|
6868
|
-
} = t, { series: d } = a, f = k(d), m =
|
|
6883
|
+
} = t, { series: d } = a, f = k(d), m = j(d), { x: y } = d[0], g = "y" in d[0] ? d[0].y : void 0, p = d[0].query?.outStatistics ?? [], h = we(a?.axes?.[0]?.valueFormat), { originalYCategoryValue: v, originalCategoryValue: B, originalDateValue: b } = x, C = ri(e, y), N = typeof g == "string" ? ri(e, g) : void 0, w = ro(l ?? []).includes(y), L = [];
|
|
6869
6884
|
let A = 0;
|
|
6870
6885
|
const I = /* @__PURE__ */ new Set(), { maxCategoryCount: P } = ut(c), O = Wl({ queryResponse: i, chartConfig: a, maxCategoryCount: P });
|
|
6871
6886
|
for (let V = 0; O[V] && V < O.length && !(o !== void 0 && A >= o); V += 1) {
|
|
@@ -6886,25 +6901,25 @@ function lr(t) {
|
|
|
6886
6901
|
zl({ attributes: M, showMean: u, chartSubType: f });
|
|
6887
6902
|
let q = M[y];
|
|
6888
6903
|
const G = typeof g == "string" ? M[g] : void 0;
|
|
6889
|
-
q === null && d[0]?.query?.fetchNullValues === !0 && f !== F.PieFromFields && (M[
|
|
6904
|
+
q === null && d[0]?.query?.fetchNullValues === !0 && f !== F.PieFromFields && (M[B] = null, q = x.nullValue), h || (w && typeof q == "string" ? q = new Date(q).valueOf() : s && (q = El(M))), typeof q == "string" && l?.find((ae) => ae.name === y)?.type === U.TimeOnly && (M[B] = q, q = Yl(q));
|
|
6890
6905
|
const { outStatisticFieldName: J } = W.outStatistics ?? {}, { featureExtent: X, featureExtentKey: H } = or({ feature: $, splitByField: n, chartSubType: f });
|
|
6891
6906
|
if (X && (M[H] = X), f === F.BarAndLineSplitBy && J !== void 0) {
|
|
6892
6907
|
const ae = M[n], pe = r?.get(ae);
|
|
6893
|
-
pe !== void 0 && (ae === n && (M[
|
|
6894
|
-
} else (f === F.PieNoAggregation || f === F.BarAndLineNoAggregation || f === F.BarAndLineSplitByNoAggregation) && (w ? M[b] = q : q !==
|
|
6895
|
-
m ===
|
|
6908
|
+
pe !== void 0 && (ae === n && (M[x.technicalFieldSplitByField] = M[pe]), M[pe] = M[J]), delete M[J];
|
|
6909
|
+
} else (f === F.PieNoAggregation || f === F.BarAndLineNoAggregation || f === F.BarAndLineSplitByNoAggregation) && (w ? M[b] = q : q !== x.nullValue && (M[B] = q), cn({ isXAxis: !0, chartType: m, valueFormat: a.axes?.[0]?.valueFormat }) && (M[x.xAxisField] = `${q}-${V}`, M[x.xAxisDisplayField] = q), M[W.uniqueIdsName] = $.getObjectId());
|
|
6910
|
+
m === S.BoxPlotSeries && (M = Rl(d, M)), m === S.PieSeries && typeof q == "number" && (M[B] === void 0 && (M[B] = M[y]), q = `${q}`), q !== void 0 && (M[B] === void 0 && (M[B] = M[y]), M[y] === null ? M[y] = m === S.HeatSeries ? "null" : x.nullValue : M[y] = q, Ul({
|
|
6896
6911
|
attributes: M,
|
|
6897
6912
|
xValue: q,
|
|
6898
6913
|
yValue: G,
|
|
6899
6914
|
x: y,
|
|
6900
6915
|
y: g,
|
|
6901
|
-
xFieldDomain:
|
|
6916
|
+
xFieldDomain: C,
|
|
6902
6917
|
yFieldDomain: N,
|
|
6903
6918
|
chartType: m,
|
|
6904
6919
|
chartSubType: f,
|
|
6905
6920
|
xAxisValueFormat: a.axes?.[0].valueFormat,
|
|
6906
6921
|
yAxisValueFormat: a.axes?.[1]?.valueFormat
|
|
6907
|
-
}), m ===
|
|
6922
|
+
}), m === S.HeatSeries && typeof g == "string" && M[g] === null && (M[g] = "null", M[v] = null), M[x.xAxisField] === void 0 && (M[x.xAxisField] = M[y])), M = $l(M, a), L.push(M);
|
|
6908
6923
|
}
|
|
6909
6924
|
return L;
|
|
6910
6925
|
}
|
|
@@ -6925,26 +6940,26 @@ async function jt(t) {
|
|
|
6925
6940
|
errorStrings: m
|
|
6926
6941
|
} = t, { series: y } = a, g = k(y);
|
|
6927
6942
|
let p = [];
|
|
6928
|
-
const
|
|
6943
|
+
const h = g === F.BarAndLineSplitBy || g === F.BarAndLineSplitByNoAggregation ? te(y[0].query?.where) : "", v = f ?? await Fe({
|
|
6929
6944
|
queryObject: e,
|
|
6930
6945
|
queryConfig: i,
|
|
6931
6946
|
featureCount: o,
|
|
6932
6947
|
abortKey: n,
|
|
6933
6948
|
errorStrings: m,
|
|
6934
6949
|
abortSignal: s
|
|
6935
|
-
}),
|
|
6950
|
+
}), B = Ce(e, d), { x: b } = y[0];
|
|
6936
6951
|
return p = lr({
|
|
6937
6952
|
queryObject: e,
|
|
6938
|
-
queryResponse:
|
|
6953
|
+
queryResponse: v,
|
|
6939
6954
|
chartConfig: a,
|
|
6940
6955
|
mapToStatField: r,
|
|
6941
|
-
splitByField:
|
|
6956
|
+
splitByField: h,
|
|
6942
6957
|
isTimeBinningSeries: u,
|
|
6943
|
-
fieldList:
|
|
6958
|
+
fieldList: B,
|
|
6944
6959
|
resultLimit: i.num,
|
|
6945
6960
|
showMean: c,
|
|
6946
6961
|
chartLimits: l
|
|
6947
|
-
}), g !== F.BarAndLineSplitByNoAggregation && g !== F.BarAndLineFromFields && (
|
|
6962
|
+
}), g !== F.BarAndLineSplitByNoAggregation && g !== F.BarAndLineFromFields && (h !== "" && (p = bt({ data: p, x: b, splitByField: h })), p = Vl(
|
|
6948
6963
|
p,
|
|
6949
6964
|
y
|
|
6950
6965
|
)), p;
|
|
@@ -6991,16 +7006,16 @@ async function oi(t) {
|
|
|
6991
7006
|
chartLimits: f,
|
|
6992
7007
|
popupTemplateFieldInfosEnabled: m,
|
|
6993
7008
|
hideZeroCountCategories: y
|
|
6994
|
-
} = t, g = st(e), p = t.replaceNoValueCategoryWithZero ??
|
|
6995
|
-
let
|
|
7009
|
+
} = t, g = st(e), p = t.replaceNoValueCategoryWithZero ?? x.options.replaceNoValueCategoryWithZero, h = !(y ?? !p), { behaviorAfterLimit: v } = f ?? {};
|
|
7010
|
+
let B;
|
|
6996
7011
|
const b = { valid: !0 };
|
|
6997
|
-
let
|
|
7012
|
+
let C, N = !1;
|
|
6998
7013
|
const T = e.series, w = T[0], L = k(e.series);
|
|
6999
7014
|
if (ie(r))
|
|
7000
|
-
|
|
7015
|
+
B = j(T) === S.BarSeries ? await zs(t) : b;
|
|
7001
7016
|
else {
|
|
7002
7017
|
if (w !== void 0) {
|
|
7003
|
-
const A =
|
|
7018
|
+
const A = j(T), { uniqueQuery: I, mapToStatField: P } = yi({
|
|
7004
7019
|
chartConfig: e,
|
|
7005
7020
|
queryObject: r,
|
|
7006
7021
|
queryConfig: i,
|
|
@@ -7013,7 +7028,7 @@ async function oi(t) {
|
|
|
7013
7028
|
chartConfig: e,
|
|
7014
7029
|
queryObject: r,
|
|
7015
7030
|
queryConfig: i,
|
|
7016
|
-
behaviorAfterLimit:
|
|
7031
|
+
behaviorAfterLimit: v,
|
|
7017
7032
|
numberMaxOfFeaturesToFetch: I.num,
|
|
7018
7033
|
abortSignal: c
|
|
7019
7034
|
});
|
|
@@ -7024,7 +7039,7 @@ async function oi(t) {
|
|
|
7024
7039
|
chartType: A,
|
|
7025
7040
|
chartLimits: f
|
|
7026
7041
|
});
|
|
7027
|
-
if (M && (
|
|
7042
|
+
if (M && (C = await jt({
|
|
7028
7043
|
queryObject: r,
|
|
7029
7044
|
uniqueQuery: I,
|
|
7030
7045
|
chartConfig: e,
|
|
@@ -7038,8 +7053,8 @@ async function oi(t) {
|
|
|
7038
7053
|
errorStrings: u,
|
|
7039
7054
|
abortKey: n,
|
|
7040
7055
|
abortSignal: c
|
|
7041
|
-
}), de(e) &&
|
|
7042
|
-
data:
|
|
7056
|
+
}), de(e) && C !== void 0 && (b.data = await Zo({
|
|
7057
|
+
data: C,
|
|
7043
7058
|
queryObject: r,
|
|
7044
7059
|
fetchFullBoxPlotData: a,
|
|
7045
7060
|
uniqueQuery: I,
|
|
@@ -7049,49 +7064,49 @@ async function oi(t) {
|
|
|
7049
7064
|
errorStrings: u,
|
|
7050
7065
|
abortKey: n,
|
|
7051
7066
|
abortSignal: c
|
|
7052
|
-
}), f?.maxBoxPlotOutlierLimit !== void 0 && (M = (b.data.outliers ?? []).length <= f.maxBoxPlotOutlierLimit, N = !M)), $ && (O =
|
|
7067
|
+
}), f?.maxBoxPlotOutlierLimit !== void 0 && (M = (b.data.outliers ?? []).length <= f.maxBoxPlotOutlierLimit, N = !M)), $ && (O = C.length, V = ii(L) ? O * T.length : O, M = Ae({
|
|
7053
7068
|
count: V,
|
|
7054
7069
|
seriesCount: T.length,
|
|
7055
7070
|
chartType: A,
|
|
7056
7071
|
chartLimits: f
|
|
7057
7072
|
})), M)) {
|
|
7058
|
-
if (A ===
|
|
7059
|
-
L === F.PieFromFields && (
|
|
7060
|
-
dataToConvert:
|
|
7073
|
+
if (A === S.PieSeries) {
|
|
7074
|
+
L === F.PieFromFields && (C = Dt({
|
|
7075
|
+
dataToConvert: C[0],
|
|
7061
7076
|
x: ce,
|
|
7062
7077
|
y: Ne,
|
|
7063
7078
|
fieldList: s
|
|
7064
7079
|
}));
|
|
7065
7080
|
let q = "";
|
|
7066
|
-
L === F.PieFromFields ? q = Ne : "y" in w && typeof w.y == "string" && (q = w.y), Vn(
|
|
7067
|
-
} else if ((A ===
|
|
7068
|
-
dataToConvert:
|
|
7081
|
+
L === F.PieFromFields ? q = Ne : "y" in w && typeof w.y == "string" && (q = w.y), Vn(C, q) ? b.data = { dataItems: C } : Vo(b, Q.PieChartMixOfNegativePositiveSlices);
|
|
7082
|
+
} else if ((A === S.RadarSeries || A === S.BarSeries || A === S.LineSeries || A === S.ComboLineAndBarSeries) && (L === F.BarAndLineFromFields && "y" in w && typeof w.y == "string" ? C = Dt({
|
|
7083
|
+
dataToConvert: C[0],
|
|
7069
7084
|
x: w.x,
|
|
7070
7085
|
y: w.y,
|
|
7071
7086
|
fieldList: s
|
|
7072
|
-
}) :
|
|
7087
|
+
}) : C = await yl({
|
|
7073
7088
|
queryObject: r,
|
|
7074
|
-
seriesData:
|
|
7089
|
+
seriesData: C,
|
|
7075
7090
|
chartConfig: e,
|
|
7076
7091
|
queryConfig: i,
|
|
7077
7092
|
categoryOrDateCount: O,
|
|
7078
|
-
behaviorAfterLimit:
|
|
7093
|
+
behaviorAfterLimit: v,
|
|
7079
7094
|
errorStrings: u,
|
|
7080
7095
|
abortKey: n,
|
|
7081
7096
|
abortSignal: c
|
|
7082
|
-
}), V = ii(L) ?
|
|
7097
|
+
}), V = ii(L) ? C.length * T.length : C.length, M = Ae({
|
|
7083
7098
|
count: V,
|
|
7084
7099
|
seriesCount: T.length,
|
|
7085
7100
|
chartType: A,
|
|
7086
7101
|
chartLimits: f
|
|
7087
7102
|
}), M)) {
|
|
7088
|
-
|
|
7103
|
+
h && (C = gl(C, e));
|
|
7089
7104
|
let q = {};
|
|
7090
7105
|
if (be(w)) {
|
|
7091
7106
|
const { size: G, unit: J } = w.temporalBinning ?? {};
|
|
7092
7107
|
G !== void 0 && J !== void 0 && (q = { size: G, unit: J });
|
|
7093
7108
|
}
|
|
7094
|
-
b.data = { dataItems:
|
|
7109
|
+
b.data = { dataItems: C, timeIntervalInfo: q };
|
|
7095
7110
|
}
|
|
7096
7111
|
}
|
|
7097
7112
|
M || It({
|
|
@@ -7100,9 +7115,9 @@ async function oi(t) {
|
|
|
7100
7115
|
subError: { outlierLimit: N }
|
|
7101
7116
|
}), b.count = V;
|
|
7102
7117
|
}
|
|
7103
|
-
|
|
7118
|
+
B = b;
|
|
7104
7119
|
}
|
|
7105
|
-
return
|
|
7120
|
+
return B;
|
|
7106
7121
|
}
|
|
7107
7122
|
function Zl(t) {
|
|
7108
7123
|
let e;
|
|
@@ -7120,18 +7135,18 @@ function Jl(t) {
|
|
|
7120
7135
|
const { dataItems: e, valueField: i, filterOutZero: a } = t, r = [null];
|
|
7121
7136
|
a && r.push(0);
|
|
7122
7137
|
const n = new Set(
|
|
7123
|
-
e.filter((o) => !r.includes(o[i])).map((o) => o[
|
|
7138
|
+
e.filter((o) => !r.includes(o[i])).map((o) => o[_.xField])
|
|
7124
7139
|
), s = new Set(
|
|
7125
|
-
e.filter((o) => !r.includes(o[i])).map((o) => o[
|
|
7140
|
+
e.filter((o) => !r.includes(o[i])).map((o) => o[_.yField])
|
|
7126
7141
|
);
|
|
7127
7142
|
return e.filter(
|
|
7128
|
-
(o) => n.has(o[
|
|
7143
|
+
(o) => n.has(o[_.xField]) && s.has(o[_.yField])
|
|
7129
7144
|
);
|
|
7130
7145
|
}
|
|
7131
7146
|
function Kl(t) {
|
|
7132
7147
|
const { dataItems: e, xUniqueValues: i, yUniqueValues: a, valueField: r, emptyCellValue: n, x: s, y: o, queryObject: u } = t, c = [], l = /* @__PURE__ */ new Set();
|
|
7133
7148
|
for (const d of e) {
|
|
7134
|
-
const f = d[
|
|
7149
|
+
const f = d[x.originalCategoryValue] !== void 0 ? d[x.originalCategoryValue] : d[_.xField], m = d[x.originalYCategoryValue] !== void 0 ? d[x.originalYCategoryValue] : d[_.yField];
|
|
7135
7150
|
l.add(`${f}|${m}`);
|
|
7136
7151
|
}
|
|
7137
7152
|
for (const d of i) {
|
|
@@ -7149,10 +7164,10 @@ function Kl(t) {
|
|
|
7149
7164
|
fieldValue: y
|
|
7150
7165
|
}) ?? m : m;
|
|
7151
7166
|
c.push({
|
|
7152
|
-
[
|
|
7153
|
-
[
|
|
7154
|
-
[
|
|
7155
|
-
[
|
|
7167
|
+
[x.originalCategoryValue]: d === null ? null : d,
|
|
7168
|
+
[x.originalYCategoryValue]: m === null ? null : m,
|
|
7169
|
+
[_.xField]: d === null ? "null" : g,
|
|
7170
|
+
[_.yField]: m === null ? "null" : p,
|
|
7156
7171
|
[r]: n
|
|
7157
7172
|
});
|
|
7158
7173
|
}
|
|
@@ -7181,7 +7196,7 @@ async function cr(t) {
|
|
|
7181
7196
|
} = t, m = { valid: !0 };
|
|
7182
7197
|
let y;
|
|
7183
7198
|
if (We(e)) {
|
|
7184
|
-
const { nullPolicy: g } = e, p = e.series[0], { x:
|
|
7199
|
+
const { nullPolicy: g } = e, p = e.series[0], { x: h, y: v, query: B, xTemporalBinning: b, yTemporalBinning: C } = p, N = B?.outStatistics?.[0]?.outStatisticFieldName ?? "", T = B?.outStatistics?.[0]?.statisticType ?? D.Count, w = Xl(e), L = _.valueField, A = g === Se.Zero ? 0 : null;
|
|
7185
7200
|
if (Io(e)) {
|
|
7186
7201
|
const I = await Ns({
|
|
7187
7202
|
chartConfig: e,
|
|
@@ -7195,10 +7210,10 @@ async function cr(t) {
|
|
|
7195
7210
|
if (!Ae({
|
|
7196
7211
|
count: I?.length ?? 0,
|
|
7197
7212
|
seriesCount: 1,
|
|
7198
|
-
chartType:
|
|
7213
|
+
chartType: S.HeatSeries,
|
|
7199
7214
|
chartLimits: o
|
|
7200
7215
|
}))
|
|
7201
|
-
It({ dataInfo: m, chartType:
|
|
7216
|
+
It({ dataInfo: m, chartType: S.HeatSeries });
|
|
7202
7217
|
else if (typeof I?.[0] == "object") {
|
|
7203
7218
|
const P = Ce(a, u);
|
|
7204
7219
|
y = lr({
|
|
@@ -7214,14 +7229,14 @@ async function cr(t) {
|
|
|
7214
7229
|
const O = await Yt({
|
|
7215
7230
|
queryObject: a,
|
|
7216
7231
|
queryConfig: i,
|
|
7217
|
-
category:
|
|
7232
|
+
category: h,
|
|
7218
7233
|
errorStrings: n,
|
|
7219
7234
|
abortKey: d,
|
|
7220
7235
|
abortSignal: f
|
|
7221
7236
|
}), V = await Yt({
|
|
7222
7237
|
queryObject: a,
|
|
7223
7238
|
queryConfig: i,
|
|
7224
|
-
category:
|
|
7239
|
+
category: v,
|
|
7225
7240
|
errorStrings: n,
|
|
7226
7241
|
abortKey: d,
|
|
7227
7242
|
abortSignal: f
|
|
@@ -7234,8 +7249,8 @@ async function cr(t) {
|
|
|
7234
7249
|
yUniqueValues: V,
|
|
7235
7250
|
valueField: L,
|
|
7236
7251
|
emptyCellValue: A,
|
|
7237
|
-
x:
|
|
7238
|
-
y:
|
|
7252
|
+
x: h,
|
|
7253
|
+
y: v,
|
|
7239
7254
|
queryObject: a
|
|
7240
7255
|
})
|
|
7241
7256
|
], w && (y = Jl({
|
|
@@ -7253,31 +7268,31 @@ async function cr(t) {
|
|
|
7253
7268
|
syncViewTimeZone: l,
|
|
7254
7269
|
errorStrings: n,
|
|
7255
7270
|
abortSignal: f
|
|
7256
|
-
}), P =
|
|
7271
|
+
}), P = C ? Zl(C.unit) : await Yt({ queryObject: a, queryConfig: i, category: v, errorStrings: n, abortKey: d, abortSignal: f });
|
|
7257
7272
|
let O = 0;
|
|
7258
7273
|
y = I?.features.flatMap((V) => {
|
|
7259
7274
|
const $ = [], { attributes: M, stackedAttributes: q } = V, G = [];
|
|
7260
7275
|
if (q?.forEach((J) => {
|
|
7261
|
-
const X = `${J[
|
|
7276
|
+
const X = `${J[v]}`;
|
|
7262
7277
|
G.push(X), $.push({
|
|
7263
|
-
[
|
|
7264
|
-
[
|
|
7278
|
+
[_.xField]: `${M[W.heatChartLowerBoundaryAlias]}`,
|
|
7279
|
+
[_.yField]: X,
|
|
7265
7280
|
[L]: J[N]
|
|
7266
7281
|
});
|
|
7267
7282
|
}), r && P && G.length !== P?.length) {
|
|
7268
7283
|
const J = P.filter((X) => !G.includes(X.toString()));
|
|
7269
7284
|
w && (J.length !== P.length || G.length === 0) || J.forEach((X) => {
|
|
7270
|
-
Number.isFinite(Number(M[W.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(X)) && (b?.unit === he.DayOfMonth &&
|
|
7285
|
+
Number.isFinite(Number(M[W.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(X)) && (b?.unit === he.DayOfMonth && C?.unit === he.MonthOfYear && Ui({
|
|
7271
7286
|
day: Number(M[W.heatChartLowerBoundaryAlias]),
|
|
7272
7287
|
month: Number(X),
|
|
7273
7288
|
includeLeapDay: e.includeLeapDay
|
|
7274
|
-
}) ||
|
|
7289
|
+
}) || C?.unit === he.DayOfMonth && b?.unit === he.MonthOfYear && Ui({
|
|
7275
7290
|
day: Number(X),
|
|
7276
7291
|
month: Number(M[W.heatChartLowerBoundaryAlias]),
|
|
7277
7292
|
includeLeapDay: e.includeLeapDay
|
|
7278
7293
|
})) || $.push({
|
|
7279
|
-
[
|
|
7280
|
-
[
|
|
7294
|
+
[_.xField]: `${M[W.heatChartLowerBoundaryAlias]}`,
|
|
7295
|
+
[_.yField]: X,
|
|
7281
7296
|
[L]: g === Se.Zero ? 0 : null
|
|
7282
7297
|
});
|
|
7283
7298
|
});
|
|
@@ -7286,9 +7301,9 @@ async function cr(t) {
|
|
|
7286
7301
|
}), Ae({
|
|
7287
7302
|
count: O,
|
|
7288
7303
|
seriesCount: 1,
|
|
7289
|
-
chartType:
|
|
7304
|
+
chartType: S.HeatSeries,
|
|
7290
7305
|
chartLimits: o
|
|
7291
|
-
}) || It({ dataInfo: m, chartType:
|
|
7306
|
+
}) || It({ dataInfo: m, chartType: S.HeatSeries });
|
|
7292
7307
|
}
|
|
7293
7308
|
y && (m.data = {
|
|
7294
7309
|
dataItems: y,
|
|
@@ -7339,23 +7354,23 @@ async function xi(t) {
|
|
|
7339
7354
|
popupTemplateFieldInfosEnabled: d,
|
|
7340
7355
|
view: f,
|
|
7341
7356
|
syncViewTimeZone: m
|
|
7342
|
-
} = t, { behaviorAfterLimit: y } = l ?? {}, g = e.series, p = g[0], { x:
|
|
7357
|
+
} = t, { behaviorAfterLimit: y } = l ?? {}, g = e.series, p = g[0], { x: h } = p, v = te(p.query?.where), B = { valid: !0 };
|
|
7343
7358
|
let b;
|
|
7344
7359
|
if (be(p)) {
|
|
7345
|
-
const { temporalBinning:
|
|
7346
|
-
if (a &&
|
|
7347
|
-
const { unit: N, size: T } =
|
|
7360
|
+
const { temporalBinning: C } = p;
|
|
7361
|
+
if (a && C) {
|
|
7362
|
+
const { unit: N, size: T } = C;
|
|
7348
7363
|
let w = 1, L = { unit: N, size: T }, A = !1;
|
|
7349
7364
|
const I = Il({
|
|
7350
7365
|
series: p,
|
|
7351
7366
|
isTimeBinningSeries: !0,
|
|
7352
7367
|
setTimeBinningInfoWhenNotProvided: u
|
|
7353
|
-
}), P = !rt(
|
|
7354
|
-
I && P && P.numberOfFeatures > 0 && P.dateRange.dateMaxTimestamp !== void 0 && P.dateRange.dateMinTimestamp !== void 0 && (L = Ol(P), Ce(a).find((G) => G.name ===
|
|
7368
|
+
}), P = !rt(v, a) || I ? await Bl({ queryObject: a, queryConfig: i, x: h, errorStrings: o, abortSignal: n }) : void 0;
|
|
7369
|
+
I && P && P.numberOfFeatures > 0 && P.dateRange.dateMaxTimestamp !== void 0 && P.dateRange.dateMinTimestamp !== void 0 && (L = Ol(P), Ce(a).find((G) => G.name === h)?.type === U.DateOnly && L.unit !== void 0 && [
|
|
7355
7370
|
R.Hour,
|
|
7356
7371
|
R.Minute,
|
|
7357
7372
|
R.Second
|
|
7358
|
-
].includes(L.unit) && (L.unit = R.Day, L.size = 1),
|
|
7373
|
+
].includes(L.unit) && (L.unit = R.Day, L.size = 1), C.size = L.size, C.unit = L.unit);
|
|
7359
7374
|
const { uniqueQuery: O, mapToStatField: V } = yi({
|
|
7360
7375
|
chartConfig: e,
|
|
7361
7376
|
queryConfig: i,
|
|
@@ -7368,18 +7383,18 @@ async function xi(t) {
|
|
|
7368
7383
|
let $ = Ae({
|
|
7369
7384
|
count: w ?? 0,
|
|
7370
7385
|
seriesCount: g.length,
|
|
7371
|
-
chartType:
|
|
7386
|
+
chartType: S.LineSeries,
|
|
7372
7387
|
chartLimits: l
|
|
7373
7388
|
});
|
|
7374
7389
|
if ($) {
|
|
7375
|
-
if (rt(
|
|
7376
|
-
const M = e.axes?.[0].valueFormat.type ===
|
|
7390
|
+
if (rt(v, a)) {
|
|
7391
|
+
const M = e.axes?.[0].valueFormat.type === S.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0, q = s?.[0] instanceof Er ? s : await Ps({
|
|
7377
7392
|
queryObject: a,
|
|
7378
|
-
dateField:
|
|
7379
|
-
splitByField:
|
|
7393
|
+
dateField: h,
|
|
7394
|
+
splitByField: v,
|
|
7380
7395
|
queryConfig: O,
|
|
7381
7396
|
axisTimeZone: M,
|
|
7382
|
-
temporalBinning:
|
|
7397
|
+
temporalBinning: C,
|
|
7383
7398
|
errorStrings: o,
|
|
7384
7399
|
view: f,
|
|
7385
7400
|
syncViewTimeZone: m,
|
|
@@ -7389,15 +7404,15 @@ async function xi(t) {
|
|
|
7389
7404
|
chartConfig: e,
|
|
7390
7405
|
queryResults: q,
|
|
7391
7406
|
mapToStatField: V,
|
|
7392
|
-
splitByField:
|
|
7393
|
-
x:
|
|
7407
|
+
splitByField: v,
|
|
7408
|
+
x: h,
|
|
7394
7409
|
y: G,
|
|
7395
|
-
nullPolicy:
|
|
7410
|
+
nullPolicy: C.nullPolicy,
|
|
7396
7411
|
queryObject: a
|
|
7397
7412
|
}), !Ae({
|
|
7398
7413
|
count: b.length,
|
|
7399
7414
|
seriesCount: g.length,
|
|
7400
|
-
chartType:
|
|
7415
|
+
chartType: S.LineSeries,
|
|
7401
7416
|
chartLimits: l
|
|
7402
7417
|
})) {
|
|
7403
7418
|
const J = ue(g), X = b.filter(
|
|
@@ -7406,7 +7421,7 @@ async function xi(t) {
|
|
|
7406
7421
|
Ae({
|
|
7407
7422
|
count: X,
|
|
7408
7423
|
seriesCount: g.length,
|
|
7409
|
-
chartType:
|
|
7424
|
+
chartType: S.LineSeries,
|
|
7410
7425
|
chartLimits: l
|
|
7411
7426
|
}) || ($ = !1);
|
|
7412
7427
|
}
|
|
@@ -7432,7 +7447,7 @@ async function xi(t) {
|
|
|
7432
7447
|
queryObject: a,
|
|
7433
7448
|
queryConfig: i,
|
|
7434
7449
|
queryResults: b,
|
|
7435
|
-
x:
|
|
7450
|
+
x: h,
|
|
7436
7451
|
seriesConfig: g,
|
|
7437
7452
|
dateRange: P.dateRange,
|
|
7438
7453
|
timeIntervalInfo: L,
|
|
@@ -7442,10 +7457,10 @@ async function xi(t) {
|
|
|
7442
7457
|
}
|
|
7443
7458
|
fa(a) && b && b?.length === pl && (A = !0), y === lt.RenderUpToTheLimit && b && (b = eu({ chartConfig: e, chartLimits: l, data: b }));
|
|
7444
7459
|
}
|
|
7445
|
-
$ || (
|
|
7460
|
+
$ || (B.valid = !1, B.invalidType = Q.LineChartExceedsLimit), b && b.length > 0 && (b[b.length - 1][x.lastTemporalBin] = !0), B.data = { dataItems: b, timeIntervalInfo: L, serverLimitReached: A }, B.count = w;
|
|
7446
7461
|
}
|
|
7447
7462
|
}
|
|
7448
|
-
return
|
|
7463
|
+
return B;
|
|
7449
7464
|
}
|
|
7450
7465
|
async function tu(t) {
|
|
7451
7466
|
const {
|
|
@@ -7525,7 +7540,7 @@ async function iu(t) {
|
|
|
7525
7540
|
}
|
|
7526
7541
|
const au = "{ groupByFieldsForStatistics } WHEN ({ y } { yMinOperand } { yValue } AND { y } { yMaxOperand } { yValuePlusStep } AND { x } { xMinOperand } { xValue } AND { x } { xMaxOperand } { xValuePlusStep }) THEN '{ xValue }|{ xValuePlusStep}|{ yValue }|{ yValuePlusStep }'";
|
|
7527
7542
|
async function ru(t) {
|
|
7528
|
-
const { chartConfig: e, queryObject: i, queryConfig: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = e.series[0], { x: u, y: c } = o, { dataContextCountDistinctX: l, dataContextCountDistinctY: d } =
|
|
7543
|
+
const { chartConfig: e, queryObject: i, queryConfig: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = e.series[0], { x: u, y: c } = o, { dataContextCountDistinctX: l, dataContextCountDistinctY: d } = x.scatterplotAggregationFields, f = {
|
|
7529
7544
|
...a,
|
|
7530
7545
|
outStatistics: [
|
|
7531
7546
|
{
|
|
@@ -7558,10 +7573,10 @@ async function nu(t) {
|
|
|
7558
7573
|
dataContextYMaxField: f,
|
|
7559
7574
|
dataContextCountDistinctX: m,
|
|
7560
7575
|
dataContextCountDistinctY: y
|
|
7561
|
-
} =
|
|
7562
|
-
let g, p,
|
|
7563
|
-
const b = e.get(c),
|
|
7564
|
-
if (b != null && N !== void 0 && N !== null &&
|
|
7576
|
+
} = x.scatterplotAggregationFields;
|
|
7577
|
+
let g, p, h, v, B;
|
|
7578
|
+
const b = e.get(c), C = e.get(l), N = e.get(d), T = e.get(f);
|
|
7579
|
+
if (b != null && N !== void 0 && N !== null && C !== void 0 && C !== null && T !== void 0 && T !== null && !Number.isNaN(b + C + N + T)) {
|
|
7565
7580
|
const { maxScatterPointsAfterAggregation: w } = ut(r), A = Math.floor(Math.sqrt(w)), I = await ru({
|
|
7566
7581
|
queryObject: a,
|
|
7567
7582
|
chartConfig: i,
|
|
@@ -7570,7 +7585,7 @@ async function nu(t) {
|
|
|
7570
7585
|
abortKey: o,
|
|
7571
7586
|
abortSignal: u
|
|
7572
7587
|
});
|
|
7573
|
-
|
|
7588
|
+
h = Math.min(I.get(y) ?? Number.NaN, A), v = Math.min(I.get(m) ?? Number.NaN, A), B = v * h, g = C === b ? 0 : (C - b) / (v - 1), p = T === N ? 0 : (T - N) / (h - 1), e.set(x.scatterplotAggregationFields.xStep, g), e.set(x.scatterplotAggregationFields.yStep, p), e.set(x.scatterplotAggregationFields.rowCount, h), e.set(x.scatterplotAggregationFields.columnCount, v), e.set(x.scatterplotAggregationFields.realGridSize, B);
|
|
7574
7589
|
}
|
|
7575
7590
|
}
|
|
7576
7591
|
function su(t) {
|
|
@@ -7623,12 +7638,12 @@ async function lu(t) {
|
|
|
7623
7638
|
dataContextYMinField: y,
|
|
7624
7639
|
dataContextYMaxField: g,
|
|
7625
7640
|
queryNumberOfFeatures: p,
|
|
7626
|
-
queryNumberOfAggregatedFeatures:
|
|
7627
|
-
} =
|
|
7628
|
-
let
|
|
7629
|
-
const
|
|
7630
|
-
if (
|
|
7631
|
-
const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(
|
|
7641
|
+
queryNumberOfAggregatedFeatures: h
|
|
7642
|
+
} = x.scatterplotAggregationFields;
|
|
7643
|
+
let v;
|
|
7644
|
+
const B = e?.get(f) ?? Number.NaN, b = e?.get(m) ?? Number.NaN, C = e?.get(p) ?? Number.NaN, N = e?.get(y) ?? B, T = e?.get(g) ?? b;
|
|
7645
|
+
if (B != null && N !== void 0 && N !== null && b !== void 0 && b !== null && T !== void 0 && T !== null && !Number.isNaN(B + b + N + T)) {
|
|
7646
|
+
const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(x.scatterplotAggregationFields.xStep), O = e?.get(x.scatterplotAggregationFields.yStep), V = e?.get(x.scatterplotAggregationFields.realGridSize), $ = e?.get(x.scatterplotAggregationFields.rowCount), M = e?.get(x.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), G = Ce(a);
|
|
7632
7647
|
if (G?.forEach((H) => {
|
|
7633
7648
|
Ft(H) && q.set(H.name, {
|
|
7634
7649
|
onStatisticField: H.name,
|
|
@@ -7649,7 +7664,7 @@ async function lu(t) {
|
|
|
7649
7664
|
});
|
|
7650
7665
|
}), L !== "" && q.set(L, {
|
|
7651
7666
|
onStatisticField: I,
|
|
7652
|
-
outStatisticFieldName:
|
|
7667
|
+
outStatisticFieldName: h,
|
|
7653
7668
|
statisticType: D.Count
|
|
7654
7669
|
}), q.set(l, {
|
|
7655
7670
|
onStatisticField: l,
|
|
@@ -7665,11 +7680,11 @@ async function lu(t) {
|
|
|
7665
7680
|
...r,
|
|
7666
7681
|
outStatistics: [...q.values()]
|
|
7667
7682
|
};
|
|
7668
|
-
|
|
7683
|
+
v = await Ts({
|
|
7669
7684
|
queryObject: a,
|
|
7670
7685
|
queryConfig: H,
|
|
7671
7686
|
xStep: P,
|
|
7672
|
-
xMin:
|
|
7687
|
+
xMin: B,
|
|
7673
7688
|
xMax: b,
|
|
7674
7689
|
x: l,
|
|
7675
7690
|
y: d,
|
|
@@ -7680,7 +7695,7 @@ async function lu(t) {
|
|
|
7680
7695
|
} else if ($ !== void 0 && M !== void 0) {
|
|
7681
7696
|
let H = 0;
|
|
7682
7697
|
const { maxScatterCellsPerQuery: ae, maxScatterCellsPerQueryForStandard: pe } = $t(), Ni = await no(w, u) ? pe : ae, Ti = [];
|
|
7683
|
-
let Ht = !0, Xe =
|
|
7698
|
+
let Ht = !0, Xe = B, ke = N, Je = "", Ct = 1, zt = 1, vt = Number.MAX_SAFE_INTEGER, Bt = Number.MIN_SAFE_INTEGER, Nt = Number.MAX_SAFE_INTEGER, Tt = Number.MIN_SAFE_INTEGER;
|
|
7684
7699
|
for (; zt <= M && Ht; ) {
|
|
7685
7700
|
for (ke = N, Ct = 1; Ct <= $ && Ht; ) {
|
|
7686
7701
|
if (Je = su({
|
|
@@ -7693,7 +7708,7 @@ async function lu(t) {
|
|
|
7693
7708
|
yStep: O,
|
|
7694
7709
|
endOfRow: Ct === $,
|
|
7695
7710
|
endOfColumn: zt === M
|
|
7696
|
-
}), Xe < vt && (vt = Xe), Xe + P > Bt && (Bt = Xe + P), ke < Nt && (Nt = ke), ke + P > Tt && (Tt = ke + O), H += 1, H % Ni === 0 || H === V || H ===
|
|
7711
|
+
}), Xe < vt && (vt = Xe), Xe + P > Bt && (Bt = Xe + P), ke < Nt && (Nt = ke), ke + P > Tt && (Tt = ke + O), H += 1, H % Ni === 0 || H === V || H === C) {
|
|
7697
7712
|
Je = `${Je} ${Ue.groupByCaseEnd}`;
|
|
7698
7713
|
const pr = {
|
|
7699
7714
|
...r,
|
|
@@ -7719,11 +7734,11 @@ async function lu(t) {
|
|
|
7719
7734
|
}
|
|
7720
7735
|
Xe += P, zt += 1;
|
|
7721
7736
|
}
|
|
7722
|
-
|
|
7737
|
+
v = (await Promise.all(Ti)).flat();
|
|
7723
7738
|
}
|
|
7724
7739
|
}
|
|
7725
7740
|
}
|
|
7726
|
-
return
|
|
7741
|
+
return v;
|
|
7727
7742
|
}
|
|
7728
7743
|
async function uu(t) {
|
|
7729
7744
|
const { chartConfig: e, queryConfig: i, queryObject: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = e.series[0], { x: u, y: c } = o;
|
|
@@ -7734,10 +7749,10 @@ async function uu(t) {
|
|
|
7734
7749
|
dataContextYMinField: m,
|
|
7735
7750
|
dataContextYMaxField: y,
|
|
7736
7751
|
queryNumberOfFeatures: g
|
|
7737
|
-
} =
|
|
7752
|
+
} = x.scatterplotAggregationFields, { idField: p, isTraditionalTypeOID: h } = ve(z(a)), v = h ? p : "*", B = [
|
|
7738
7753
|
{
|
|
7739
7754
|
statisticType: D.Count,
|
|
7740
|
-
onStatisticField:
|
|
7755
|
+
onStatisticField: v,
|
|
7741
7756
|
outStatisticFieldName: g
|
|
7742
7757
|
},
|
|
7743
7758
|
{
|
|
@@ -7751,7 +7766,7 @@ async function uu(t) {
|
|
|
7751
7766
|
onStatisticField: u
|
|
7752
7767
|
}
|
|
7753
7768
|
];
|
|
7754
|
-
u !== c &&
|
|
7769
|
+
u !== c && B.push(
|
|
7755
7770
|
{
|
|
7756
7771
|
statisticType: D.Minimum,
|
|
7757
7772
|
outStatisticFieldName: m,
|
|
@@ -7764,7 +7779,7 @@ async function uu(t) {
|
|
|
7764
7779
|
}
|
|
7765
7780
|
);
|
|
7766
7781
|
const b = { ...i };
|
|
7767
|
-
return b.outStatistics =
|
|
7782
|
+
return b.outStatistics = B, l = await xt({
|
|
7768
7783
|
queryObject: a,
|
|
7769
7784
|
queryConfig: b,
|
|
7770
7785
|
errorStrings: r,
|
|
@@ -7777,45 +7792,45 @@ function wt(t) {
|
|
|
7777
7792
|
return e === i || e === a ? e : Math.random() * (a - i) + i;
|
|
7778
7793
|
}
|
|
7779
7794
|
function cu(t) {
|
|
7780
|
-
const { useQueryAttributeBins: e, graphic: i, x: a, y: r, yStep: n } = t, { groupByOutKeyword: s } = Ue, { dataContextXMinField: o, dataContextXMaxField: u, dataContextYMinField: c, dataContextYMaxField: l } =
|
|
7795
|
+
const { useQueryAttributeBins: e, graphic: i, x: a, y: r, yStep: n } = t, { groupByOutKeyword: s } = Ue, { dataContextXMinField: o, dataContextXMaxField: u, dataContextYMinField: c, dataContextYMaxField: l } = x.scatterplotAggregationFields;
|
|
7781
7796
|
let d = [];
|
|
7782
7797
|
if (e && "stackedAttributes" in i && i.stackedAttributes) {
|
|
7783
7798
|
const f = Oa(a, r), m = i.attributes[f.lowerBoundaryAlias], y = i.attributes[f.upperBoundaryAlias];
|
|
7784
7799
|
i.stackedAttributes.forEach((g) => {
|
|
7785
|
-
let p = g[f.stackAlias],
|
|
7786
|
-
typeof p == "number" && typeof n == "number" && (p *= n), typeof p == "number" && typeof n == "number" && (
|
|
7787
|
-
const
|
|
7788
|
-
typeof p == "number" && typeof
|
|
7800
|
+
let p = g[f.stackAlias], h;
|
|
7801
|
+
typeof p == "number" && typeof n == "number" && (p *= n), typeof p == "number" && typeof n == "number" && (h = p + n);
|
|
7802
|
+
const v = g[a], B = g[r];
|
|
7803
|
+
typeof p == "number" && typeof h == "number" && typeof v == "number" && typeof B == "number" && d.push({
|
|
7789
7804
|
...g,
|
|
7790
|
-
[a]: wt({ value:
|
|
7791
|
-
[r]: wt({ value:
|
|
7805
|
+
[a]: wt({ value: v, valueMin: m, valueMax: y }),
|
|
7806
|
+
[r]: wt({ value: B, valueMin: p, valueMax: h }),
|
|
7792
7807
|
[o]: Math.min(m, y),
|
|
7793
7808
|
[u]: Math.max(m, y),
|
|
7794
7809
|
[c]: p,
|
|
7795
|
-
[l]:
|
|
7810
|
+
[l]: h
|
|
7796
7811
|
});
|
|
7797
7812
|
});
|
|
7798
7813
|
} else {
|
|
7799
7814
|
const { expr: f, isInItem: m } = Vt(i.attributes);
|
|
7800
7815
|
if (m && f && i.attributes[f] !== s) {
|
|
7801
|
-
let [y, g, p,
|
|
7802
|
-
y = Math.min(y, g), g = Math.max(y, g), p = Math.min(p,
|
|
7803
|
-
const
|
|
7816
|
+
let [y, g, p, h] = i.attributes[f].split("|");
|
|
7817
|
+
y = Math.min(y, g), g = Math.max(y, g), p = Math.min(p, h), h = Math.max(p, h);
|
|
7818
|
+
const v = {
|
|
7804
7819
|
...i.attributes,
|
|
7805
7820
|
[o]: y,
|
|
7806
7821
|
[u]: g,
|
|
7807
7822
|
[c]: p,
|
|
7808
|
-
[l]:
|
|
7823
|
+
[l]: h
|
|
7809
7824
|
};
|
|
7810
|
-
|
|
7811
|
-
value:
|
|
7825
|
+
v[a] = wt({
|
|
7826
|
+
value: v[a],
|
|
7812
7827
|
valueMin: y,
|
|
7813
7828
|
valueMax: g
|
|
7814
|
-
}),
|
|
7815
|
-
value:
|
|
7829
|
+
}), v[r] = wt({
|
|
7830
|
+
value: v[r],
|
|
7816
7831
|
valueMin: p,
|
|
7817
|
-
valueMax:
|
|
7818
|
-
}), d = [
|
|
7832
|
+
valueMax: h
|
|
7833
|
+
}), d = [v];
|
|
7819
7834
|
}
|
|
7820
7835
|
}
|
|
7821
7836
|
return d;
|
|
@@ -7842,21 +7857,21 @@ async function fu(t) {
|
|
|
7842
7857
|
let f = [];
|
|
7843
7858
|
const m = Ce(e), y = kt(d).idFields, g = (m?.filter((b) => Ft(b) && b.name !== c && b.name !== l) ?? []).map(
|
|
7844
7859
|
(b) => b.name
|
|
7845
|
-
) ?? [], p = u?.additionalTooltipFields ?? [],
|
|
7860
|
+
) ?? [], p = u?.additionalTooltipFields ?? [], h = Array.from(
|
|
7846
7861
|
/* @__PURE__ */ new Set([c, l, ...y ?? [], ...g, ...p])
|
|
7847
|
-
),
|
|
7848
|
-
if (
|
|
7849
|
-
const { rendererField: b, rendererNormalizationField:
|
|
7850
|
-
oe(b) ||
|
|
7862
|
+
), v = ge(d);
|
|
7863
|
+
if (v && !v.isTable) {
|
|
7864
|
+
const { rendererField: b, rendererNormalizationField: C } = io(d?.renderer ?? void 0);
|
|
7865
|
+
oe(b) || h.push(b), oe(C) || h.push(C);
|
|
7851
7866
|
}
|
|
7852
|
-
const
|
|
7867
|
+
const B = {
|
|
7853
7868
|
...i,
|
|
7854
7869
|
orderByFields: [`${c} ${ye.Ascending}`],
|
|
7855
|
-
outFields:
|
|
7870
|
+
outFields: h
|
|
7856
7871
|
};
|
|
7857
7872
|
return f = await Fe({
|
|
7858
7873
|
queryObject: e,
|
|
7859
|
-
queryConfig:
|
|
7874
|
+
queryConfig: B,
|
|
7860
7875
|
featureCount: r,
|
|
7861
7876
|
errorStrings: n,
|
|
7862
7877
|
abortKey: s,
|
|
@@ -7923,7 +7938,7 @@ async function dr(t) {
|
|
|
7923
7938
|
errorStrings: o,
|
|
7924
7939
|
abortKey: u,
|
|
7925
7940
|
abortSignal: c
|
|
7926
|
-
}), { queryNumberOfFeatures: f, yStep: m } =
|
|
7941
|
+
}), { queryNumberOfFeatures: f, yStep: m } = x.scatterplotAggregationFields, { maxScatterPointsBeforeAggregation: y } = ut(s), g = d?.get(f) ?? Number.NaN, p = g >= y, h = gn(a);
|
|
7927
7942
|
p && await nu({
|
|
7928
7943
|
statsMap: d,
|
|
7929
7944
|
chartConfig: e,
|
|
@@ -7934,35 +7949,35 @@ async function dr(t) {
|
|
|
7934
7949
|
abortKey: u,
|
|
7935
7950
|
abortSignal: c
|
|
7936
7951
|
});
|
|
7937
|
-
const
|
|
7952
|
+
const v = await mu({
|
|
7938
7953
|
...t,
|
|
7939
7954
|
queryObject: a,
|
|
7940
7955
|
statsMap: d,
|
|
7941
7956
|
numberOfFeatures: g,
|
|
7942
7957
|
isAggregationMode: p,
|
|
7943
|
-
useQueryAttributeBins:
|
|
7944
|
-
}),
|
|
7958
|
+
useQueryAttributeBins: h
|
|
7959
|
+
}), B = du({
|
|
7945
7960
|
chartConfig: e,
|
|
7946
|
-
rawData:
|
|
7961
|
+
rawData: v,
|
|
7947
7962
|
isAggregationMode: p,
|
|
7948
7963
|
yStep: d.get(m),
|
|
7949
|
-
useQueryAttributeBins:
|
|
7964
|
+
useQueryAttributeBins: h
|
|
7950
7965
|
});
|
|
7951
7966
|
r !== !1 && ht({
|
|
7952
|
-
arrayToSort:
|
|
7967
|
+
arrayToSort: B,
|
|
7953
7968
|
sortingField: e.series[0].x,
|
|
7954
7969
|
orderBy: ye.Ascending
|
|
7955
7970
|
});
|
|
7956
|
-
const { r2: b, trendLinePoints:
|
|
7957
|
-
data:
|
|
7971
|
+
const { r2: b, trendLinePoints: C } = n !== !1 ? await Va({
|
|
7972
|
+
data: B,
|
|
7958
7973
|
statsMap: d,
|
|
7959
7974
|
queryConfig: i,
|
|
7960
7975
|
queryObject: a,
|
|
7961
7976
|
chartConfig: e,
|
|
7962
7977
|
errorStrings: o,
|
|
7963
7978
|
abortSignal: c
|
|
7964
|
-
}) :
|
|
7965
|
-
l = { dataItems:
|
|
7979
|
+
}) : x.scatterplotSeries;
|
|
7980
|
+
l = { dataItems: B, r2: b, trendLinePoints: C, aggregated: p };
|
|
7966
7981
|
}
|
|
7967
7982
|
return l;
|
|
7968
7983
|
}
|
|
@@ -8045,7 +8060,7 @@ function Bi(t) {
|
|
|
8045
8060
|
const { seriesConfig: e, filteredSeriesIds: i, showMean: a } = t;
|
|
8046
8061
|
let r = [];
|
|
8047
8062
|
if (a === !0) {
|
|
8048
|
-
const n = e.find((s) => s.type ===
|
|
8063
|
+
const n = e.find((s) => s.type === S.BoxPlotSeries);
|
|
8049
8064
|
n !== void 0 && "y" in n && (r = [n.y].flat());
|
|
8050
8065
|
} else
|
|
8051
8066
|
r = ue(e, i);
|
|
@@ -8062,7 +8077,7 @@ function zd(t) {
|
|
|
8062
8077
|
const { chartConfig: e, nullAsValid: i = !1, dataSet: a } = t;
|
|
8063
8078
|
let r = !0;
|
|
8064
8079
|
if (e !== void 0) {
|
|
8065
|
-
const n =
|
|
8080
|
+
const n = j(e.series);
|
|
8066
8081
|
if (a === void 0 || a.length === 0)
|
|
8067
8082
|
r = !0;
|
|
8068
8083
|
else {
|
|
@@ -8070,22 +8085,22 @@ function zd(t) {
|
|
|
8070
8085
|
r = !a.some((o) => {
|
|
8071
8086
|
let u = !1;
|
|
8072
8087
|
switch (n) {
|
|
8073
|
-
case
|
|
8088
|
+
case S.HistogramSeries:
|
|
8074
8089
|
{
|
|
8075
8090
|
const c = o;
|
|
8076
8091
|
u = Me(c.minValue, i) && Me(c.maxValue, i);
|
|
8077
8092
|
}
|
|
8078
8093
|
break;
|
|
8079
|
-
case
|
|
8094
|
+
case S.ScatterSeries:
|
|
8080
8095
|
{
|
|
8081
8096
|
const c = o, { x: l, y: d } = e.series[0];
|
|
8082
8097
|
u = Me(c[l], i) && Me(c[d], i);
|
|
8083
8098
|
}
|
|
8084
8099
|
break;
|
|
8085
|
-
case
|
|
8086
|
-
case
|
|
8087
|
-
case
|
|
8088
|
-
case
|
|
8100
|
+
case S.ComboLineAndBarSeries:
|
|
8101
|
+
case S.RadarSeries:
|
|
8102
|
+
case S.LineSeries:
|
|
8103
|
+
case S.BarSeries: {
|
|
8089
8104
|
const c = o, { x: l } = e.series[0];
|
|
8090
8105
|
u = s.some(
|
|
8091
8106
|
(d) => gu({
|
|
@@ -8098,7 +8113,7 @@ function zd(t) {
|
|
|
8098
8113
|
);
|
|
8099
8114
|
break;
|
|
8100
8115
|
}
|
|
8101
|
-
case
|
|
8116
|
+
case S.BoxPlotSeries: {
|
|
8102
8117
|
if (de(e)) {
|
|
8103
8118
|
const c = e.series;
|
|
8104
8119
|
u = yu({
|
|
@@ -8110,7 +8125,7 @@ function zd(t) {
|
|
|
8110
8125
|
}
|
|
8111
8126
|
break;
|
|
8112
8127
|
}
|
|
8113
|
-
case
|
|
8128
|
+
case S.PieSeries:
|
|
8114
8129
|
{
|
|
8115
8130
|
const c = o;
|
|
8116
8131
|
let { x: l, y: d } = e.series[0];
|
|
@@ -8119,15 +8134,15 @@ function zd(t) {
|
|
|
8119
8134
|
u = c[l] !== void 0 && c[l] !== null && !hr(f) && Me(Number(f), i);
|
|
8120
8135
|
}
|
|
8121
8136
|
break;
|
|
8122
|
-
case
|
|
8137
|
+
case S.GaugeSeries:
|
|
8123
8138
|
{
|
|
8124
8139
|
const { x: c } = e.series[0];
|
|
8125
8140
|
u = Me(o[c], i);
|
|
8126
8141
|
}
|
|
8127
8142
|
break;
|
|
8128
|
-
case
|
|
8143
|
+
case S.HeatSeries:
|
|
8129
8144
|
u = a.some(
|
|
8130
|
-
(c) => Me(c[
|
|
8145
|
+
(c) => Me(c[_.valueField], i)
|
|
8131
8146
|
);
|
|
8132
8147
|
break;
|
|
8133
8148
|
}
|
|
@@ -8148,7 +8163,7 @@ function pu(t, e) {
|
|
|
8148
8163
|
}
|
|
8149
8164
|
function hu(t) {
|
|
8150
8165
|
const { seriesConfig: e, filteredSeriesIds: i, filteredData: a } = t, r = pu(e, i), n = e.find(
|
|
8151
|
-
(c) => c.type ===
|
|
8166
|
+
(c) => c.type === S.LineSeries || c.type === S.RadarSeries
|
|
8152
8167
|
)?.stackNegativeValuesToBaseline ?? !0;
|
|
8153
8168
|
let s = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER, u = !1;
|
|
8154
8169
|
return a.forEach((c) => {
|
|
@@ -8179,30 +8194,30 @@ function Yi(t) {
|
|
|
8179
8194
|
let e = Number.NaN, i = Number.NaN, a, r;
|
|
8180
8195
|
const { chartConfig: n, chartData: s, filteredSeriesIds: o } = t, { series: u } = n;
|
|
8181
8196
|
if (u?.length > 0) {
|
|
8182
|
-
const { x: c } = u[0], l =
|
|
8183
|
-
if (l ===
|
|
8197
|
+
const { x: c } = u[0], l = j(n.series);
|
|
8198
|
+
if (l === S.HistogramSeries && s.length > 0) {
|
|
8184
8199
|
const d = s[0]?.[$i.Start], f = s[s.length - 1]?.[$i.End];
|
|
8185
8200
|
a = typeof d == "number" ? d : a, r = typeof f == "number" ? f : r;
|
|
8186
8201
|
} else {
|
|
8187
8202
|
const d = s.filter((m) => m[c] !== null);
|
|
8188
|
-
if ({ min: a, max: r } = St(d, (m) => m[c]), n.axes?.[0]?.valueFormat.type ===
|
|
8203
|
+
if ({ min: a, max: r } = St(d, (m) => m[c]), n.axes?.[0]?.valueFormat.type === S.DateAxisFormat && a !== void 0 && r !== void 0 && ([a, r] = [new Date(a).valueOf(), new Date(r).valueOf()]), l === S.BoxPlotSeries) {
|
|
8189
8204
|
e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
|
|
8190
8205
|
const m = ue(u, o), y = k(u), g = "standardizeValues" in n ? n.standardizeValues === !0 : void 0, p = n.series.map(
|
|
8191
|
-
(
|
|
8206
|
+
(h) => h.visible !== !1 ? fe({ where: h.query?.where }) : ""
|
|
8192
8207
|
);
|
|
8193
|
-
p.length === 0 && p.push(" "), d.forEach((
|
|
8194
|
-
m.forEach((
|
|
8195
|
-
const
|
|
8208
|
+
p.length === 0 && p.push(" "), d.forEach((h) => {
|
|
8209
|
+
m.forEach((v) => {
|
|
8210
|
+
const B = y === F.BoxPlotMultiFieldsAndCategory ? v : void 0;
|
|
8196
8211
|
p.forEach((b) => {
|
|
8197
|
-
const { min:
|
|
8198
|
-
y:
|
|
8212
|
+
const { min: C, max: N } = Su({
|
|
8213
|
+
y: B,
|
|
8199
8214
|
splitByValue: b,
|
|
8200
8215
|
chartSubType: y,
|
|
8201
8216
|
showOutliers: !1,
|
|
8202
8217
|
standardizeValues: g,
|
|
8203
|
-
dataItem:
|
|
8218
|
+
dataItem: h
|
|
8204
8219
|
});
|
|
8205
|
-
|
|
8220
|
+
C != null && C < e && (e = C), N != null && N > i && (i = N);
|
|
8206
8221
|
});
|
|
8207
8222
|
});
|
|
8208
8223
|
});
|
|
@@ -8222,11 +8237,11 @@ function Yi(t) {
|
|
|
8222
8237
|
case Te.Side:
|
|
8223
8238
|
default: {
|
|
8224
8239
|
e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER, ue(u, o).forEach((g) => {
|
|
8225
|
-
const { min: p, max:
|
|
8240
|
+
const { min: p, max: h } = St(
|
|
8226
8241
|
d,
|
|
8227
|
-
(
|
|
8242
|
+
(v) => v[g]
|
|
8228
8243
|
);
|
|
8229
|
-
p !== void 0 && p < e && (e = p),
|
|
8244
|
+
p !== void 0 && p < e && (e = p), h !== void 0 && h > i && (i = h);
|
|
8230
8245
|
});
|
|
8231
8246
|
break;
|
|
8232
8247
|
}
|
|
@@ -8247,7 +8262,7 @@ function yr(t) {
|
|
|
8247
8262
|
let e = !1;
|
|
8248
8263
|
if (t) {
|
|
8249
8264
|
const i = t.axes?.[0], a = i?.isLogarithmic === !0, r = i?.valueFormat?.type;
|
|
8250
|
-
e = (r ===
|
|
8265
|
+
e = (r === S.NumberAxisFormat || r === S.DateAxisFormat) && a;
|
|
8251
8266
|
}
|
|
8252
8267
|
return e;
|
|
8253
8268
|
}
|
|
@@ -8294,14 +8309,14 @@ function bu(t, e) {
|
|
|
8294
8309
|
return i;
|
|
8295
8310
|
}
|
|
8296
8311
|
function xu(t, e) {
|
|
8297
|
-
const i =
|
|
8312
|
+
const i = j(e);
|
|
8298
8313
|
let a = t;
|
|
8299
8314
|
const r = e?.[0];
|
|
8300
|
-
if ((i ===
|
|
8315
|
+
if ((i === S.PieSeries || i === S.BoxPlotSeries || i === S.LineSeries || i === S.RadarSeries || i === S.BarSeries || i === S.HeatSeries || i === S.ComboLineAndBarSeries) && r !== void 0) {
|
|
8301
8316
|
const n = ui(t);
|
|
8302
8317
|
let s = n ? t : t.dataItems;
|
|
8303
8318
|
if (t !== void 0) {
|
|
8304
|
-
const { originalCategoryValue: o, originalYCategoryValue: u, originalDateValue: c, xAxisField: l } =
|
|
8319
|
+
const { originalCategoryValue: o, originalYCategoryValue: u, originalDateValue: c, xAxisField: l } = x, d = i === S.HeatSeries ? _.xField : r.x, f = i === S.HeatSeries ? _.yField : void 0;
|
|
8305
8320
|
s = s.map((m) => {
|
|
8306
8321
|
let y = m[d];
|
|
8307
8322
|
m[c] !== void 0 ? y = m[c] : m[o] !== void 0 && (y = m[o]);
|
|
@@ -8318,30 +8333,30 @@ function xu(t, e) {
|
|
|
8318
8333
|
}
|
|
8319
8334
|
function Zi(t) {
|
|
8320
8335
|
const e = { ...t };
|
|
8321
|
-
delete e[
|
|
8322
|
-
(r) => r.includes(
|
|
8336
|
+
delete e[x.technicalSortingFieldBySum], delete e[x.technicalSortingFieldByPercent], delete e[x.pieChart.technicalFieldSlicePercent], delete e[x.pieChart.technicalFieldGroupedSlices], delete e[x.lastTemporalBin], delete e[x.originalServerBinningRange], delete e[x.technicalFieldSplitByField], delete e[W.uniqueIdsName], Object.keys(e).filter(
|
|
8337
|
+
(r) => r.includes(x.rendererSymbolField)
|
|
8323
8338
|
).forEach((r) => delete e[r]);
|
|
8324
8339
|
const a = Vt(e);
|
|
8325
8340
|
return a.isInItem && delete e[a.expr ?? ""], e;
|
|
8326
8341
|
}
|
|
8327
8342
|
function Cu(t, e) {
|
|
8328
8343
|
let i = t;
|
|
8329
|
-
const a =
|
|
8344
|
+
const a = j(e);
|
|
8330
8345
|
let r = Ci(i);
|
|
8331
8346
|
if (r !== void 0)
|
|
8332
8347
|
switch (a) {
|
|
8333
|
-
case
|
|
8334
|
-
case
|
|
8335
|
-
case
|
|
8336
|
-
case
|
|
8337
|
-
case
|
|
8348
|
+
case S.ComboLineAndBarSeries:
|
|
8349
|
+
case S.BarSeries:
|
|
8350
|
+
case S.LineSeries:
|
|
8351
|
+
case S.RadarSeries:
|
|
8352
|
+
case S.PieSeries:
|
|
8338
8353
|
{
|
|
8339
8354
|
r = r.map(Zi), i = { dataItems: r };
|
|
8340
8355
|
const { timeIntervalInfo: n, serverLimitReached: s } = t ?? {};
|
|
8341
8356
|
Sr(n) || (i.timeIntervalInfo = n), s !== void 0 && (i.serverLimitReached = s);
|
|
8342
8357
|
}
|
|
8343
8358
|
break;
|
|
8344
|
-
case
|
|
8359
|
+
case S.ScatterSeries:
|
|
8345
8360
|
i = {
|
|
8346
8361
|
...i,
|
|
8347
8362
|
dataItems: r.map(Zi)
|
|
@@ -8360,28 +8375,28 @@ function Ud(t) {
|
|
|
8360
8375
|
return a !== void 0 && (a = xu(a, i), a = Cu(a, i), a = bu(a, i)), a;
|
|
8361
8376
|
}
|
|
8362
8377
|
function vu(t) {
|
|
8363
|
-
const { dataFetchingResults: e, numberOfQueries: i, series: a } = t, r =
|
|
8378
|
+
const { dataFetchingResults: e, numberOfQueries: i, series: a } = t, r = j(a), n = k(a);
|
|
8364
8379
|
let s = [];
|
|
8365
8380
|
const o = /* @__PURE__ */ new Map();
|
|
8366
8381
|
for (let u = 0; u < i; u += 1) {
|
|
8367
8382
|
const c = e[u];
|
|
8368
8383
|
if (c !== void 0) {
|
|
8369
8384
|
let l;
|
|
8370
|
-
if (r ===
|
|
8385
|
+
if (r === S.ScatterSeries)
|
|
8371
8386
|
l = c.dataItems;
|
|
8372
8387
|
else if ("data" in c && c.data) {
|
|
8373
8388
|
const d = c.data;
|
|
8374
8389
|
"dataItems" in d && (l = d.dataItems), "outliers" in d && d.outliers && s.push(...d.outliers), "meanLines" in d && d.meanLines && s.push(...d.meanLines);
|
|
8375
8390
|
}
|
|
8376
8391
|
if (l)
|
|
8377
|
-
if (a[0].type ===
|
|
8392
|
+
if (a[0].type === S.HeatSeries)
|
|
8378
8393
|
i > 0 && l.forEach((d) => {
|
|
8379
8394
|
o.set(
|
|
8380
|
-
`${d[
|
|
8395
|
+
`${d[_.xField]}-${d[_.yField]}`,
|
|
8381
8396
|
d
|
|
8382
8397
|
);
|
|
8383
8398
|
});
|
|
8384
|
-
else if (a[0].type ===
|
|
8399
|
+
else if (a[0].type === S.ScatterSeries) {
|
|
8385
8400
|
const { x: d, y: f } = a[0];
|
|
8386
8401
|
s.push(
|
|
8387
8402
|
...l.map((m) => ({
|
|
@@ -8418,12 +8433,12 @@ async function Bu(t) {
|
|
|
8418
8433
|
returnFeaturesExtent: f,
|
|
8419
8434
|
popupTemplateFieldInfosEnabled: m,
|
|
8420
8435
|
view: y
|
|
8421
|
-
} = t, { series: g } = a, p =
|
|
8436
|
+
} = t, { series: g } = a, p = j(g), h = [], { maxOIDsPerSelectionQuery: v } = $t();
|
|
8422
8437
|
for (let b = 0; b < e; b += 1) {
|
|
8423
|
-
const
|
|
8438
|
+
const C = b * v, N = (b + 1) * v - 1, T = i.slice(C === 0 ? 0 : C - 1, N), w = { ...r };
|
|
8424
8439
|
switch (w.objectIds = T, p) {
|
|
8425
|
-
case
|
|
8426
|
-
|
|
8440
|
+
case S.HeatSeries:
|
|
8441
|
+
h.push(
|
|
8427
8442
|
cr({
|
|
8428
8443
|
completeHeatChartDataset: !1,
|
|
8429
8444
|
// we do not want the empty bins to be added for the selection
|
|
@@ -8438,11 +8453,11 @@ async function Bu(t) {
|
|
|
8438
8453
|
})
|
|
8439
8454
|
);
|
|
8440
8455
|
break;
|
|
8441
|
-
case
|
|
8442
|
-
case
|
|
8443
|
-
case
|
|
8444
|
-
case
|
|
8445
|
-
case
|
|
8456
|
+
case S.PieSeries:
|
|
8457
|
+
case S.BarSeries:
|
|
8458
|
+
case S.LineSeries:
|
|
8459
|
+
case S.RadarSeries:
|
|
8460
|
+
case S.ComboLineAndBarSeries:
|
|
8446
8461
|
if (Pe({
|
|
8447
8462
|
xAxisValueFormatType: xe(a),
|
|
8448
8463
|
setTimeBinningInfoWhenNotProvided: d,
|
|
@@ -8450,7 +8465,7 @@ async function Bu(t) {
|
|
|
8450
8465
|
queryObject: s
|
|
8451
8466
|
})) {
|
|
8452
8467
|
const L = He(a);
|
|
8453
|
-
"temporalBinning" in L.series[0] && L.series[0].temporalBinning && (L.series[0].temporalBinning.trimIncompleteTimeInterval = !1, rt(o, s) && (delete L.series[0].temporalBinning.start, delete L.series[0].temporalBinning.end)),
|
|
8468
|
+
"temporalBinning" in L.series[0] && L.series[0].temporalBinning && (L.series[0].temporalBinning.trimIncompleteTimeInterval = !1, rt(o, s) && (delete L.series[0].temporalBinning.start, delete L.series[0].temporalBinning.end)), h.push(
|
|
8454
8469
|
xi({
|
|
8455
8470
|
chartConfig: L,
|
|
8456
8471
|
queryConfig: w,
|
|
@@ -8464,7 +8479,7 @@ async function Bu(t) {
|
|
|
8464
8479
|
})
|
|
8465
8480
|
);
|
|
8466
8481
|
} else
|
|
8467
|
-
|
|
8482
|
+
h.push(
|
|
8468
8483
|
tu({
|
|
8469
8484
|
queryObject: s,
|
|
8470
8485
|
chartConfig: a,
|
|
@@ -8477,8 +8492,8 @@ async function Bu(t) {
|
|
|
8477
8492
|
})
|
|
8478
8493
|
);
|
|
8479
8494
|
break;
|
|
8480
|
-
case
|
|
8481
|
-
|
|
8495
|
+
case S.BoxPlotSeries:
|
|
8496
|
+
h.push(
|
|
8482
8497
|
iu({
|
|
8483
8498
|
queryObject: s,
|
|
8484
8499
|
chartConfig: a,
|
|
@@ -8494,8 +8509,8 @@ async function Bu(t) {
|
|
|
8494
8509
|
})
|
|
8495
8510
|
);
|
|
8496
8511
|
break;
|
|
8497
|
-
case
|
|
8498
|
-
|
|
8512
|
+
case S.ScatterSeries:
|
|
8513
|
+
h.push(
|
|
8499
8514
|
dr({
|
|
8500
8515
|
queryObject: s,
|
|
8501
8516
|
chartConfig: a,
|
|
@@ -8515,8 +8530,8 @@ async function Bu(t) {
|
|
|
8515
8530
|
})
|
|
8516
8531
|
);
|
|
8517
8532
|
break;
|
|
8518
|
-
case
|
|
8519
|
-
|
|
8533
|
+
case S.HistogramSeries:
|
|
8534
|
+
h.push(
|
|
8520
8535
|
Do({
|
|
8521
8536
|
queryObject: s,
|
|
8522
8537
|
queryConfig: w,
|
|
@@ -8528,7 +8543,7 @@ async function Bu(t) {
|
|
|
8528
8543
|
break;
|
|
8529
8544
|
}
|
|
8530
8545
|
}
|
|
8531
|
-
return await Promise.all(
|
|
8546
|
+
return await Promise.all(h);
|
|
8532
8547
|
}
|
|
8533
8548
|
async function Yd(t) {
|
|
8534
8549
|
const {
|
|
@@ -8548,12 +8563,12 @@ async function Yd(t) {
|
|
|
8548
8563
|
viewExtentUpdated: y,
|
|
8549
8564
|
runtimeDataFilters: g,
|
|
8550
8565
|
ignoreViewExtent: p,
|
|
8551
|
-
returnSelectionOIDs:
|
|
8552
|
-
selectionData:
|
|
8553
|
-
} = t, { series:
|
|
8566
|
+
returnSelectionOIDs: h,
|
|
8567
|
+
selectionData: v
|
|
8568
|
+
} = t, { series: B } = e, { selectionItems: b, selectionOIDs: C } = v ?? {};
|
|
8554
8569
|
let N;
|
|
8555
|
-
const T =
|
|
8556
|
-
if (y !== !0 &&
|
|
8570
|
+
const T = j(B), w = T !== S.HistogramSeries && T !== S.HeatSeries && b !== void 0 && b.length > 0 && !(B[0].x in b[0]) && !(ce in b[0]) && !(x.boxPlot.boxPlotCategory in b[0]);
|
|
8571
|
+
if (y !== !0 && h !== !1 && C !== void 0 && C.length > 0 && (a === !0 || w || u)) {
|
|
8557
8572
|
const A = Ci(i), I = Ha({
|
|
8558
8573
|
queryObject: s,
|
|
8559
8574
|
chartConfig: e,
|
|
@@ -8564,12 +8579,12 @@ async function Yd(t) {
|
|
|
8564
8579
|
if (A !== void 0 && !Bn({ dataContext: A[0], chartConfig: e, chartLimits: c }))
|
|
8565
8580
|
N = A.filter((P) => {
|
|
8566
8581
|
const O = P[W.uniqueIdsName];
|
|
8567
|
-
return typeof O == "number" || typeof O == "string" ?
|
|
8582
|
+
return typeof O == "number" || typeof O == "string" ? C?.includes(O) : !1;
|
|
8568
8583
|
});
|
|
8569
|
-
else if (
|
|
8570
|
-
const { maxOIDsPerSelectionQuery: P } = $t(), O = Math.ceil(
|
|
8584
|
+
else if (C?.[0] !== void 0 && I !== void 0) {
|
|
8585
|
+
const { maxOIDsPerSelectionQuery: P } = $t(), O = Math.ceil(C.length / P), V = te(e.series[0]?.query?.where), $ = await Bu({
|
|
8571
8586
|
numberOfQueries: O,
|
|
8572
|
-
selectionOIDs:
|
|
8587
|
+
selectionOIDs: C,
|
|
8573
8588
|
queryConfig: I,
|
|
8574
8589
|
queryObject: s,
|
|
8575
8590
|
replaceNoValueCategoryWithZero: r,
|
|
@@ -8586,7 +8601,7 @@ async function Yd(t) {
|
|
|
8586
8601
|
N = vu({
|
|
8587
8602
|
dataFetchingResults: $,
|
|
8588
8603
|
numberOfQueries: O,
|
|
8589
|
-
series:
|
|
8604
|
+
series: B
|
|
8590
8605
|
});
|
|
8591
8606
|
}
|
|
8592
8607
|
}
|
|
@@ -8603,7 +8618,7 @@ export {
|
|
|
8603
8618
|
re as A,
|
|
8604
8619
|
E as B,
|
|
8605
8620
|
fd as C,
|
|
8606
|
-
|
|
8621
|
+
Q as D,
|
|
8607
8622
|
le as E,
|
|
8608
8623
|
zs as F,
|
|
8609
8624
|
ps as G,
|
|
@@ -8766,9 +8781,9 @@ export {
|
|
|
8766
8781
|
Wd as c4,
|
|
8767
8782
|
td as c5,
|
|
8768
8783
|
cc as c6,
|
|
8769
|
-
|
|
8784
|
+
nd as c7,
|
|
8770
8785
|
Qd as c8,
|
|
8771
|
-
|
|
8786
|
+
rd as c9,
|
|
8772
8787
|
bt as cA,
|
|
8773
8788
|
al as cB,
|
|
8774
8789
|
Md as cC,
|
|
@@ -8776,24 +8791,24 @@ export {
|
|
|
8776
8791
|
Oi as cE,
|
|
8777
8792
|
oc as cF,
|
|
8778
8793
|
yc as cG,
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
+
Dd as cH,
|
|
8795
|
+
od as cI,
|
|
8796
|
+
lc as cJ,
|
|
8797
|
+
Od as cK,
|
|
8798
|
+
uc as cL,
|
|
8799
|
+
ld as cM,
|
|
8800
|
+
ii as cN,
|
|
8801
|
+
pt as cO,
|
|
8802
|
+
dn as cP,
|
|
8803
|
+
Jc as cQ,
|
|
8804
|
+
md as cR,
|
|
8805
|
+
We as cS,
|
|
8806
|
+
$i as cT,
|
|
8807
|
+
cd as cU,
|
|
8808
|
+
wa as cV,
|
|
8794
8809
|
Hd as cW,
|
|
8795
8810
|
Jn as cX,
|
|
8796
|
-
|
|
8811
|
+
ad as cY,
|
|
8797
8812
|
xe as cZ,
|
|
8798
8813
|
$d as c_,
|
|
8799
8814
|
Zn as ca,
|
|
@@ -8806,11 +8821,11 @@ export {
|
|
|
8806
8821
|
sc as ch,
|
|
8807
8822
|
ed as ci,
|
|
8808
8823
|
Di as cj,
|
|
8809
|
-
|
|
8824
|
+
sd as ck,
|
|
8810
8825
|
In as cl,
|
|
8811
8826
|
st as cm,
|
|
8812
8827
|
Xc as cn,
|
|
8813
|
-
|
|
8828
|
+
ud as co,
|
|
8814
8829
|
is as cp,
|
|
8815
8830
|
de as cq,
|
|
8816
8831
|
Kc as cr,
|