@arcgis/charts-components 5.2.0-next.168 → 5.2.0-next.169
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/{XTEZ6SCO.js → 2P5QOZBO.js} +1 -1
- package/dist/cdn/{RNKBI3X2.js → 2Y5NUTIH.js} +1 -1
- package/dist/cdn/{NTJMVBRM.js → 2YUARJ7Z.js} +1 -1
- package/dist/cdn/{7P6O2RHA.js → 3AZFDTOK.js} +1 -1
- package/dist/cdn/{3TO4L72A.js → 3IDRIWA3.js} +1 -1
- package/dist/cdn/{JR2RRIKO.js → 3J3ZEOUR.js} +1 -1
- package/dist/cdn/{CZ2QBJIW.js → 3YQJ6IPZ.js} +1 -1
- package/dist/cdn/{7IIIIZMH.js → 5BXY4XKD.js} +1 -1
- package/dist/cdn/{N2FNNEOT.js → 5PZ32OQS.js} +1 -1
- package/dist/cdn/{PXU4TMFH.js → 62HO4MSO.js} +1 -1
- package/dist/cdn/{PAFLJ3WT.js → 63W32NNI.js} +1 -1
- package/dist/cdn/{Q27MURSA.js → 6D6LFYNM.js} +1 -1
- package/dist/cdn/{OQ4UEZRC.js → 6LPYPMJR.js} +1 -1
- package/dist/cdn/{IL763V5P.js → 6VQYSW2K.js} +1 -1
- package/dist/cdn/{QARQR7H5.js → ALHL3MPJ.js} +1 -1
- package/dist/cdn/{ZDM5IDLI.js → AQHYUF3W.js} +1 -1
- package/dist/cdn/{6RZNHZEN.js → BG73TRZ2.js} +1 -1
- package/dist/cdn/{A7U4VQMX.js → CRMQK4K7.js} +1 -1
- package/dist/cdn/{MGLAVOUI.js → CTZB57Z3.js} +1 -1
- package/dist/cdn/{HK4Z5B22.js → DDIJAZ22.js} +1 -1
- package/dist/cdn/{6ALZCZ36.js → DGGP6FRX.js} +1 -1
- package/dist/cdn/{TWAPMNSX.js → DXBAWY2M.js} +1 -1
- package/dist/cdn/{H3LCE55Z.js → E2AOHDRC.js} +1 -1
- package/dist/cdn/{I56GEKJB.js → EKRJ5FXS.js} +1 -1
- package/dist/cdn/{HGJNYEUX.js → FDGCDFXR.js} +1 -1
- package/dist/cdn/{NDU72CRG.js → FM7I3D2K.js} +1 -1
- package/dist/cdn/{ZNNKZGV6.js → GEOMLJL5.js} +1 -1
- package/dist/cdn/{P7EFHM46.js → GOLJJPKB.js} +1 -1
- package/dist/cdn/{5RI6YXV2.js → GYZYFD7H.js} +1 -1
- package/dist/cdn/{CDVLQX4S.js → HIIU2ALP.js} +1 -1
- package/dist/cdn/{N5GCUS4N.js → HZGEICBS.js} +1 -1
- package/dist/cdn/{UDCAINIH.js → J5OBKFE6.js} +1 -1
- package/dist/cdn/{H4XMNS3O.js → JMCQVJOB.js} +1 -1
- package/dist/cdn/{OH42GU2Y.js → JNXW624I.js} +1 -1
- package/dist/cdn/{SATVPAKF.js → JQGASPDO.js} +1 -1
- package/dist/cdn/{QT5HEM3R.js → JR6MRJUV.js} +1 -1
- package/dist/cdn/{7HDFMHYC.js → KGQ3KMIY.js} +1 -1
- package/dist/cdn/{RRUEVNJ6.js → KIZKV6G4.js} +1 -1
- package/dist/cdn/{6F64K7IO.js → KJVLOCBW.js} +1 -1
- package/dist/cdn/{ZCU3SS64.js → KR57KSI3.js} +1 -1
- package/dist/cdn/{3L5TASX6.js → KRYF7EUZ.js} +1 -1
- package/dist/cdn/{VL4T7FC5.js → LOQ6UWIN.js} +1 -1
- package/dist/cdn/{VAP4V5TC.js → LSF7R5ZL.js} +1 -1
- package/dist/cdn/{BWLIKQZM.js → MESJTWTA.js} +1 -1
- package/dist/cdn/{WFCQTLQZ.js → MGWKL4TI.js} +1 -1
- package/dist/cdn/{5XXJOV3V.js → MQB5BNTG.js} +1 -1
- package/dist/cdn/{XP4MBNF6.js → N2KZFRJ3.js} +1 -1
- package/dist/cdn/{FW6RGCL5.js → N6SGJRTX.js} +1 -1
- package/dist/cdn/{3BD4I5JQ.js → NIBYZLE2.js} +1 -1
- package/dist/cdn/{6THDMW4S.js → NKFO5BUL.js} +1 -1
- package/dist/cdn/{AM34FK2L.js → OK32TFAU.js} +1 -1
- package/dist/cdn/{XXEU3UNC.js → OLN4EPAT.js} +1 -1
- package/dist/cdn/{U7COJZ2D.js → OQQG3ZAD.js} +1 -1
- package/dist/cdn/{LEUIZWRV.js → ORB3STUT.js} +1 -1
- package/dist/cdn/{NSVQKFEV.js → PX4AHYPG.js} +1 -1
- package/dist/cdn/{W6V4XEM4.js → PZIS4GKR.js} +1 -1
- package/dist/cdn/{ZZXYM44J.js → QBCAHGWR.js} +1 -1
- package/dist/cdn/{7DHOI5P2.js → QCTVBQL7.js} +3 -3
- package/dist/cdn/{WLK4WDAW.js → QQNIUR7B.js} +1 -1
- package/dist/cdn/{AZ2Z7W7G.js → RE6KTVV7.js} +1 -1
- package/dist/cdn/{XCZG24EM.js → SGDEQPBL.js} +1 -1
- package/dist/cdn/{DW44U5PH.js → SMPXWF64.js} +1 -1
- package/dist/cdn/{WX5OSLU3.js → TIJWEYNF.js} +1 -1
- package/dist/cdn/{SQHO6UMU.js → TLPT5AYI.js} +1 -1
- package/dist/cdn/{XTQ4C5NA.js → TUOR2NKQ.js} +1 -1
- package/dist/cdn/{ETHXVKWT.js → TVQQVFCF.js} +1 -1
- package/dist/cdn/{6SKZWI33.js → U67KK4JS.js} +1 -1
- package/dist/cdn/{SNFP2PAX.js → VB3MDZZI.js} +1 -1
- package/dist/cdn/{UIE52DE3.js → VBCVBFTF.js} +25 -25
- package/dist/cdn/{5OIYMIQP.js → VOREI442.js} +1 -1
- package/dist/cdn/{RCG3QHMV.js → WBKQLB5N.js} +1 -1
- package/dist/cdn/{XJIL6CYH.js → WEPATZI7.js} +1 -1
- package/dist/cdn/{UGHZZOEP.js → WN2NHQBF.js} +1 -1
- package/dist/cdn/{G63YJSVM.js → WO5X2L7Q.js} +1 -1
- package/dist/cdn/{6B2Q4ZZ4.js → WY2QCCKG.js} +1 -1
- package/dist/cdn/{KYL7MGSG.js → X4D5CZIF.js} +1 -1
- package/dist/cdn/{WNFNL4XM.js → XFEGZHUT.js} +1 -1
- package/dist/cdn/{6KA3POYJ.js → XKYWLJ7N.js} +1 -1
- package/dist/cdn/{ENSGJAYI.js → XOFYHYJP.js} +1 -1
- package/dist/cdn/{G7VDU373.js → YIQPB4WO.js} +1 -1
- package/dist/cdn/{RGK27YR7.js → Z3YD62D7.js} +1 -1
- package/dist/cdn/{OZMMTR6U.js → ZZBKUAPK.js} +1 -1
- package/dist/cdn/{C77CMKWU.js → ZZTCUFOT.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/index.js +103 -100
- package/dist/components/arcgis-chart/customElement.js +4656 -4598
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/model/mixins/model-with-multi-axes.d.ts +24 -1
- package/package.json +4 -4
package/dist/chunks/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { memoize as
|
|
3
|
-
import { T as ht, p as Vt, U as cn, r as Yt, q as _, l as Zt, V as Ie, H as
|
|
4
|
-
import { R as si, b as ne, e as
|
|
5
|
-
import { a as h, g as oe, c as Fe, i as yn, f as Tr, e as $, d as O, s as te, G as Ar, t as
|
|
2
|
+
import { memoize as ze, cloneDeep as Ve, isEqual as we, isArray as Bi, isNil as on, isEmpty as ln, sortBy as Qi } from "es-toolkit/compat";
|
|
3
|
+
import { T as ht, p as Vt, U as cn, r as Yt, q as _, l as Zt, V as Ie, H as Qe, g as vi, W as un, i as H, X as Jt, Y as Br, L as We, a as Wi, z as vr, O as dn, P as fn, h as mn, Z as Hi, s as gn } from "./index2.js";
|
|
4
|
+
import { R as si, b as ne, e as Ue, a as di, d as Z, c as fe } from "./rest-js-object-literals.js";
|
|
5
|
+
import { a as h, g as oe, c as Fe, i as yn, f as Tr, e as $, d as O, s as te, G as Ar, t as je, b as ae, h as be, S as Nr, l as Se, o as ot } from "./chart-object-literals.js";
|
|
6
6
|
import Lr from "@arcgis/core/Graphic.js";
|
|
7
7
|
import * as Kt from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
8
|
import * as oi from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -354,7 +354,7 @@ const Hn = {
|
|
|
354
354
|
marker: {
|
|
355
355
|
markerBigSize: 7,
|
|
356
356
|
markerSizeThresholdForTooltipDisplay: 9,
|
|
357
|
-
markerStyle:
|
|
357
|
+
markerStyle: Ue.Circle
|
|
358
358
|
}
|
|
359
359
|
},
|
|
360
360
|
buffer: !1,
|
|
@@ -821,7 +821,7 @@ function Jn(t) {
|
|
|
821
821
|
function Qd(t) {
|
|
822
822
|
return t !== void 0 && (!("url" in t) || !t.url);
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function ke(t) {
|
|
825
825
|
return t !== void 0 && "view" in t && "layer" in t && "queryFeatures" in t && "queryFeatureCount" in t && "queryObjectIds" in t;
|
|
826
826
|
}
|
|
827
827
|
function Wd(t) {
|
|
@@ -867,7 +867,7 @@ function jd(t) {
|
|
|
867
867
|
}) && dt(n, i));
|
|
868
868
|
}
|
|
869
869
|
function dt(t, e) {
|
|
870
|
-
return e !== void 0 && (
|
|
870
|
+
return e !== void 0 && (ke(e) || !ee(e) && "capabilities" in e && e.capabilities?.queryAttributeBins?.supportsDate === !0 && (ie(t) || (e.capabilities.queryAttributeBins.supportsStackBy ?? !1)));
|
|
871
871
|
}
|
|
872
872
|
function Xd(t) {
|
|
873
873
|
return pe(
|
|
@@ -891,11 +891,11 @@ function rs(t) {
|
|
|
891
891
|
}
|
|
892
892
|
function Yd(t) {
|
|
893
893
|
let e;
|
|
894
|
-
return
|
|
894
|
+
return ke(t) ? e = t.layer : e = t, e;
|
|
895
895
|
}
|
|
896
896
|
function j(t) {
|
|
897
897
|
let e;
|
|
898
|
-
return
|
|
898
|
+
return ke(t) ? e = t.layer : e = t, e;
|
|
899
899
|
}
|
|
900
900
|
function as(t) {
|
|
901
901
|
let e = !1;
|
|
@@ -1378,22 +1378,22 @@ function Kd(t, e) {
|
|
|
1378
1378
|
let i = "";
|
|
1379
1379
|
const n = (e ?? 0) / 2, s = 0 - n, o = 0 + n, l = 0 - n, u = 0 + n;
|
|
1380
1380
|
switch (t) {
|
|
1381
|
-
case
|
|
1381
|
+
case Ue.Circle:
|
|
1382
1382
|
i = `M ${s},0 a ${n},${n} 0 1,0 ${n * 2},0 a ${n},${n} 0 1,0 ${-n * 2},0`;
|
|
1383
1383
|
break;
|
|
1384
|
-
case
|
|
1384
|
+
case Ue.Cross:
|
|
1385
1385
|
i = `M ${s},0 L ${o},0 M 0,${l} L 0,${u} E`;
|
|
1386
1386
|
break;
|
|
1387
|
-
case
|
|
1387
|
+
case Ue.Diamond:
|
|
1388
1388
|
i = `M ${s},0 L 0,${l} L ${o},0 L 0,${u} L ${s},0 Z`;
|
|
1389
1389
|
break;
|
|
1390
|
-
case
|
|
1390
|
+
case Ue.Square:
|
|
1391
1391
|
i = `M ${s},${u} L ${s},${l} L ${o},${l} L ${o},${u} L ${s},${u} Z`;
|
|
1392
1392
|
break;
|
|
1393
|
-
case
|
|
1393
|
+
case Ue.Triangle:
|
|
1394
1394
|
i = `M ${s},${u} L 0,${l} L ${o},${u} L ${s},${u} Z`;
|
|
1395
1395
|
break;
|
|
1396
|
-
case
|
|
1396
|
+
case Ue.X:
|
|
1397
1397
|
i = `M ${s},${u} L ${o},${l} M ${s},${l} L ${o},${u} E`;
|
|
1398
1398
|
break;
|
|
1399
1399
|
}
|
|
@@ -1565,7 +1565,7 @@ function Ni(t, e) {
|
|
|
1565
1565
|
pieChart: { slices: M },
|
|
1566
1566
|
gauge: { features: w },
|
|
1567
1567
|
heatChart: { cells: D }
|
|
1568
|
-
} =
|
|
1568
|
+
} = Qe(e), I = V(t.series), P = t.series.length === 0 ? 1 : t.series.length, E = G(t.series);
|
|
1569
1569
|
switch (I) {
|
|
1570
1570
|
case h.ComboLineAndBarSeries:
|
|
1571
1571
|
case h.BarSeries:
|
|
@@ -2208,42 +2208,42 @@ async function Cf(t, e) {
|
|
|
2208
2208
|
const i = await gt(t);
|
|
2209
2209
|
return Jr({ layer: t, rasterInfo: i, popupTemplateFieldInfosEnabled: e });
|
|
2210
2210
|
}
|
|
2211
|
-
const Kr =
|
|
2211
|
+
const Kr = ze(
|
|
2212
2212
|
(t) => {
|
|
2213
2213
|
const e = {}, i = t.layerDefinition;
|
|
2214
2214
|
return e.definitionExpression = i?.definitionExpression, e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && t.layerDefinition?.id !== void 0 && (e.portalItem = { id: t.itemId }), new wn(e);
|
|
2215
2215
|
},
|
|
2216
2216
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
2217
2217
|
// stringify with sorted keys
|
|
2218
|
-
), Gs =
|
|
2218
|
+
), Gs = ze(
|
|
2219
2219
|
async (t, e) => {
|
|
2220
2220
|
const i = Kr(t);
|
|
2221
2221
|
return await ki(i, e), i;
|
|
2222
2222
|
},
|
|
2223
2223
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
2224
2224
|
// stringify with sorted keys
|
|
2225
|
-
), ea =
|
|
2225
|
+
), ea = ze(
|
|
2226
2226
|
(t) => {
|
|
2227
2227
|
const e = {};
|
|
2228
2228
|
return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new Pn(e);
|
|
2229
2229
|
},
|
|
2230
2230
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
2231
2231
|
// stringify with sorted keys
|
|
2232
|
-
), Us =
|
|
2232
|
+
), Us = ze(
|
|
2233
2233
|
async (t, e) => {
|
|
2234
2234
|
const i = ea(t);
|
|
2235
2235
|
return await ki(i, e), i;
|
|
2236
2236
|
},
|
|
2237
2237
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
2238
2238
|
// stringify with sorted keys
|
|
2239
|
-
), js =
|
|
2239
|
+
), js = ze(
|
|
2240
2240
|
(t) => {
|
|
2241
2241
|
const e = {};
|
|
2242
2242
|
return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new Mn(e);
|
|
2243
2243
|
},
|
|
2244
2244
|
(t) => JSON.stringify(t, Object.keys(t).sort())
|
|
2245
2245
|
// stringify with sorted keys
|
|
2246
|
-
), Xs =
|
|
2246
|
+
), Xs = ze(
|
|
2247
2247
|
async (t, e) => {
|
|
2248
2248
|
const i = js(t);
|
|
2249
2249
|
return await ki(i, e), i;
|
|
@@ -3071,7 +3071,7 @@ function Kf(t) {
|
|
|
3071
3071
|
errorStrings: c
|
|
3072
3072
|
} = t, d = ee(n);
|
|
3073
3073
|
let f = c.errors.defaultInvalidChart, m;
|
|
3074
|
-
const g = new Intl.NumberFormat(o), p =
|
|
3074
|
+
const g = new Intl.NumberFormat(o), p = Qe(i), {
|
|
3075
3075
|
maxCategoryCount: y,
|
|
3076
3076
|
serialChart: { categories: S }
|
|
3077
3077
|
} = p;
|
|
@@ -3203,10 +3203,10 @@ function Kf(t) {
|
|
|
3203
3203
|
b = c.modalHeaders.invalidData, f = c.errors.negativeValueInDataForLogTransformation;
|
|
3204
3204
|
break;
|
|
3205
3205
|
case W.HistogramEmptyField:
|
|
3206
|
-
s === !0 ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBSMessage) :
|
|
3206
|
+
s === !0 ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBSMessage) : ke(n) ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBEMessage) : (b = c.modalHeaders.invalidChart, f = c.errors.histogramEmptyField);
|
|
3207
3207
|
break;
|
|
3208
3208
|
case W.EmptyDataSet:
|
|
3209
|
-
b = c.modalHeaders.noDataAvailable, s === !0 ? f = c.errors.noDataFBSMessage :
|
|
3209
|
+
b = c.modalHeaders.noDataAvailable, s === !0 ? f = c.errors.noDataFBSMessage : ke(n) ? f = c.errors.noDataFBEMessage : f = c.errors.noDataMessage;
|
|
3210
3210
|
break;
|
|
3211
3211
|
case W.NoValue:
|
|
3212
3212
|
u && r ? (b = void 0, f = c.errors.noValue) : d && (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataMessage);
|
|
@@ -3598,7 +3598,7 @@ async function qo(t) {
|
|
|
3598
3598
|
abortSignal: u
|
|
3599
3599
|
} = t;
|
|
3600
3600
|
let c = [];
|
|
3601
|
-
const { series: d, showMean: f } = n, m = Ei({ showMean: f, seriesConfig: d }), g = G(d), p =
|
|
3601
|
+
const { series: d, showMean: f } = n, m = Ei({ showMean: f, seriesConfig: d }), g = G(d), p = He(n), { x: y } = p, S = re(p.query?.where), b = [];
|
|
3602
3602
|
for (let C = 0; C < m.length; C += 1) {
|
|
3603
3603
|
const x = m[C], { dataWithoutOutliersFilterBatches: v } = oa({
|
|
3604
3604
|
data: e,
|
|
@@ -3691,7 +3691,7 @@ function ko(t) {
|
|
|
3691
3691
|
});
|
|
3692
3692
|
}
|
|
3693
3693
|
function la(t) {
|
|
3694
|
-
const { chartConfig: e, data: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, { series: n, showMean: s } = e, o =
|
|
3694
|
+
const { chartConfig: e, data: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, { series: n, showMean: s } = e, o = He(e), l = G(e.series), { x: u } = o, c = Ei({ showMean: s, seriesConfig: n });
|
|
3695
3695
|
let d = i;
|
|
3696
3696
|
if (i?.[0] !== void 0) {
|
|
3697
3697
|
const f = re(o.query?.where);
|
|
@@ -3879,7 +3879,7 @@ function Ht(t) {
|
|
|
3879
3879
|
else if (u?.[0] !== void 0 && e !== void 0 && e.length > 1) {
|
|
3880
3880
|
const { orderBy: c } = u[0];
|
|
3881
3881
|
let { sortingField: d } = u[0];
|
|
3882
|
-
const f = i.orderOptions?.data?.orderType ===
|
|
3882
|
+
const f = i.orderOptions?.data?.orderType === je.Category, m = u[0].preferLabel !== !1, g = s === F.BarAndLineFromFields || s === F.PieFromFields || s === F.BoxPlotC2MultiFields || s === F.BoxPlotC6MultiFieldsAndSplitBy, p = g || o === h.PieSeries, y = s === F.PieNoAggregation || s === F.BarAndLineNoAggregation || s === F.BarAndLineSplitByNoAggregation;
|
|
3883
3883
|
if (f && p && (!m || (o === h.LineSeries || o === h.RadarSeries) && l === h.NumberAxisFormat) && (d = B.originalXValue), Array.isArray(c))
|
|
3884
3884
|
Ss({
|
|
3885
3885
|
arrayToSort: e,
|
|
@@ -3913,7 +3913,7 @@ function tm(t) {
|
|
|
3913
3913
|
chartConfig: e,
|
|
3914
3914
|
fieldList: r,
|
|
3915
3915
|
isTimeBinningSeries: Re({
|
|
3916
|
-
seriesConfig:
|
|
3916
|
+
seriesConfig: He(e),
|
|
3917
3917
|
xAxisValueFormatType: ve(e),
|
|
3918
3918
|
setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
|
|
3919
3919
|
queryObject: n
|
|
@@ -3943,7 +3943,7 @@ async function im(t) {
|
|
|
3943
3943
|
const g = Nc(u, d?.renderer), p = Ic({
|
|
3944
3944
|
chartRenderer: l,
|
|
3945
3945
|
queryObject: i
|
|
3946
|
-
}), y = V(o), S = G(o), b =
|
|
3946
|
+
}), y = V(o), S = G(o), b = He(r), T = re(b.query?.where);
|
|
3947
3947
|
m = /* @__PURE__ */ new Map();
|
|
3948
3948
|
for (let C = 0; C < (y === h.HistogramSeries && e.length > 0 ? 1 : e.length); C += 1) {
|
|
3949
3949
|
const x = e[C], v = await Oc({
|
|
@@ -3964,7 +3964,7 @@ async function im(t) {
|
|
|
3964
3964
|
return { dataItems: e, colorMatchApplied: n, rendererFieldNames: s };
|
|
3965
3965
|
}
|
|
3966
3966
|
function Wo(t) {
|
|
3967
|
-
const { itemsA: e, itemsB: i, isPieFromFields: r, x: a, y: n, outStatisticFieldName: s } = t, o =
|
|
3967
|
+
const { itemsA: e, itemsB: i, isPieFromFields: r, x: a, y: n, outStatisticFieldName: s } = t, o = Ve(e), l = Ve(i);
|
|
3968
3968
|
let u = !1;
|
|
3969
3969
|
if (o === void 0 && l !== void 0 || o !== void 0 && l === void 0)
|
|
3970
3970
|
u = !0;
|
|
@@ -4057,7 +4057,7 @@ async function Uo(t) {
|
|
|
4057
4057
|
numberMaxOfFeaturesToFetch: f,
|
|
4058
4058
|
isGaugeByFeature: m,
|
|
4059
4059
|
abortSignal: o
|
|
4060
|
-
})).elementCount, a?.behaviorAfterLimit !==
|
|
4060
|
+
})).elementCount, a?.behaviorAfterLimit !== We.RenderUpToTheLimit && (g = Oe({
|
|
4061
4061
|
count: p ?? 0,
|
|
4062
4062
|
seriesCount: i.series.length,
|
|
4063
4063
|
chartType: h.GaugeSeries,
|
|
@@ -4188,7 +4188,7 @@ async function Yo(t) {
|
|
|
4188
4188
|
const p = f ?? u ?? Wi.axisMinimum, y = m ?? c ?? Wi.axisMaximum;
|
|
4189
4189
|
return { calculatedAxisMinimum: p, calculatedAxisMaximum: y, gaugeValue: g };
|
|
4190
4190
|
}
|
|
4191
|
-
function
|
|
4191
|
+
function $e(t, e) {
|
|
4192
4192
|
let i = "";
|
|
4193
4193
|
if (t.trim() !== "" && e !== void 0)
|
|
4194
4194
|
if (e === null)
|
|
@@ -4211,8 +4211,8 @@ function Zo(t) {
|
|
|
4211
4211
|
}
|
|
4212
4212
|
} else
|
|
4213
4213
|
n = J([
|
|
4214
|
-
Ee({ where:
|
|
4215
|
-
r !== void 0 ? Ee({ where:
|
|
4214
|
+
Ee({ where: $e(i, e[i]) }),
|
|
4215
|
+
r !== void 0 ? Ee({ where: $e(r, e[r]) }) : ""
|
|
4216
4216
|
]);
|
|
4217
4217
|
return n;
|
|
4218
4218
|
}
|
|
@@ -4233,7 +4233,7 @@ function da(t) {
|
|
|
4233
4233
|
const o = a[B.originalServerBinningRange] ?? a[B.dateBinningRange];
|
|
4234
4234
|
if (Bi(o) && o.length === 2) {
|
|
4235
4235
|
let [l, u] = o, c = !0;
|
|
4236
|
-
const d =
|
|
4236
|
+
const d = ke(n);
|
|
4237
4237
|
if (d) {
|
|
4238
4238
|
const f = j(n), { fieldsIndex: m } = f;
|
|
4239
4239
|
l = or({ fieldsIndex: m, fieldName: e, inputDate: l }), u = or({ fieldsIndex: m, fieldName: e, inputDate: u });
|
|
@@ -4264,7 +4264,7 @@ function ma(t) {
|
|
|
4264
4264
|
dataContext: a
|
|
4265
4265
|
});
|
|
4266
4266
|
n === Z.Double ? o = fa(d, e) : (Dr(s.axes?.[0].valueFormat) && (d = ft(d)), o = Ee({
|
|
4267
|
-
where:
|
|
4267
|
+
where: $e(e, d),
|
|
4268
4268
|
normalize: !1,
|
|
4269
4269
|
escape: !0
|
|
4270
4270
|
}));
|
|
@@ -4307,7 +4307,7 @@ function Jo(t) {
|
|
|
4307
4307
|
dataContext: r
|
|
4308
4308
|
});
|
|
4309
4309
|
a === Z.Double ? o = fa(c, e) : (Dr(n.axes?.[0].valueFormat) && a !== Z.TimeOnly && (c = ft(c)), o = Ee({
|
|
4310
|
-
where:
|
|
4310
|
+
where: $e(e, c),
|
|
4311
4311
|
normalize: !1,
|
|
4312
4312
|
escape: !0
|
|
4313
4313
|
}));
|
|
@@ -4319,7 +4319,7 @@ function Ko(t) {
|
|
|
4319
4319
|
const { xAxisField: e, dataContext: i, chartConfig: r } = t;
|
|
4320
4320
|
let a = i[B.originalXValue];
|
|
4321
4321
|
return a === void 0 && (a = i[e]), G(r.series) === F.PieFromFields ? "" : Ee({
|
|
4322
|
-
where:
|
|
4322
|
+
where: $e(e, a),
|
|
4323
4323
|
normalize: !1,
|
|
4324
4324
|
escape: !0
|
|
4325
4325
|
});
|
|
@@ -4353,7 +4353,7 @@ function el(t) {
|
|
|
4353
4353
|
let c, d;
|
|
4354
4354
|
const f = r[H.xField], m = r[B.originalXValue], g = r[H.yField], p = r[B.originalYCategoryValue], y = a.axes?.[0]?.valueFormat?.type, S = a.axes?.[1]?.valueFormat?.type;
|
|
4355
4355
|
y === h.CategoryAxisFormat ? c = Ee({
|
|
4356
|
-
where:
|
|
4356
|
+
where: $e(l.x, m ?? f),
|
|
4357
4357
|
normalize: !1,
|
|
4358
4358
|
escape: !0
|
|
4359
4359
|
}) : c = lr({
|
|
@@ -4365,7 +4365,7 @@ function el(t) {
|
|
|
4365
4365
|
dataTimeZone: s,
|
|
4366
4366
|
runsOnClientQueryEngine: o
|
|
4367
4367
|
}), S === h.CategoryAxisFormat ? d = Ee({
|
|
4368
|
-
where:
|
|
4368
|
+
where: $e(l.y, p ?? g),
|
|
4369
4369
|
normalize: !1,
|
|
4370
4370
|
escape: !0
|
|
4371
4371
|
}) : d = lr({
|
|
@@ -4441,7 +4441,7 @@ async function il(t) {
|
|
|
4441
4441
|
} = t, y = G(r.series);
|
|
4442
4442
|
let S = { valid: !0, data: { dataItems: [] } };
|
|
4443
4443
|
if (a !== void 0 && a.length > 0) {
|
|
4444
|
-
const b =
|
|
4444
|
+
const b = He(r), { x: T } = b, C = "y" in b ? b.y : "", v = Te(e).find((D) => D.name === T)?.type, A = [], N = a.reduce(
|
|
4445
4445
|
(D, I) => {
|
|
4446
4446
|
const P = [];
|
|
4447
4447
|
if (_.uniqueIds in I)
|
|
@@ -4455,7 +4455,7 @@ async function il(t) {
|
|
|
4455
4455
|
Object.keys(I).forEach((U) => {
|
|
4456
4456
|
if (U.includes(q)) {
|
|
4457
4457
|
const X = U.replace(q, "");
|
|
4458
|
-
X.trim() !== "" && P.push(
|
|
4458
|
+
X.trim() !== "" && P.push($e(Q, X));
|
|
4459
4459
|
}
|
|
4460
4460
|
});
|
|
4461
4461
|
break;
|
|
@@ -4538,7 +4538,7 @@ async function rl(t) {
|
|
|
4538
4538
|
break;
|
|
4539
4539
|
case h.PieSeries:
|
|
4540
4540
|
if (G(r.series) === F.PieFromFields) {
|
|
4541
|
-
const { x: N, y: L } = r.series[0], M =
|
|
4541
|
+
const { x: N, y: L } = r.series[0], M = Ve(v);
|
|
4542
4542
|
M.forEach((w) => {
|
|
4543
4543
|
N in w && (w[ye] = w[N], delete w[N]), L in w && (w[Le] = w[L], delete w[L]);
|
|
4544
4544
|
}), x.data = { dataItems: M };
|
|
@@ -4908,7 +4908,7 @@ async function nl(t) {
|
|
|
4908
4908
|
} = t, { series: c } = i;
|
|
4909
4909
|
let d = e;
|
|
4910
4910
|
const f = G(c), m = ve(i);
|
|
4911
|
-
if (s !==
|
|
4911
|
+
if (s !== We.RenderUpToTheLimit && n !== void 0 && n > e.length && f !== F.BarAndLineFromFields && f !== F.BarAndLineNoAggregation && f !== F.PieNoAggregation && m === h.CategoryAxisFormat) {
|
|
4912
4912
|
const { x: g } = c[0], p = {
|
|
4913
4913
|
...r,
|
|
4914
4914
|
returnDistinctValues: !0,
|
|
@@ -4991,7 +4991,7 @@ function ga(t, e) {
|
|
|
4991
4991
|
let i = t;
|
|
4992
4992
|
return e === $.Week ? i /= 7 : e === $.Month ? i /= 30 : e === $.Year && (i /= 365), i = Math.ceil(i), i;
|
|
4993
4993
|
}
|
|
4994
|
-
function
|
|
4994
|
+
function _e(t) {
|
|
4995
4995
|
const { date: e, unit: i, nextOrPrevious: r, size: a } = t;
|
|
4996
4996
|
if (a !== void 0 && Number.isFinite(a)) {
|
|
4997
4997
|
const n = r === "next" ? a : -a;
|
|
@@ -5016,7 +5016,7 @@ function ze(t) {
|
|
|
5016
5016
|
function ll(t) {
|
|
5017
5017
|
const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: a } = t, { unit: n, size: s } = a, o = n === $.Week ? (s ?? 1) * 7 : s, l = i[e][r];
|
|
5018
5018
|
let u = e;
|
|
5019
|
-
const c =
|
|
5019
|
+
const c = _e({
|
|
5020
5020
|
date: l,
|
|
5021
5021
|
unit: n,
|
|
5022
5022
|
size: o,
|
|
@@ -5028,7 +5028,7 @@ function ll(t) {
|
|
|
5028
5028
|
const f = u + 1 >= i.length;
|
|
5029
5029
|
let m = u;
|
|
5030
5030
|
f && i[m] !== void 0 && (m += 1);
|
|
5031
|
-
const g = f ?
|
|
5031
|
+
const g = f ? _e({
|
|
5032
5032
|
date: l,
|
|
5033
5033
|
unit: n,
|
|
5034
5034
|
size: o,
|
|
@@ -5046,7 +5046,7 @@ function ll(t) {
|
|
|
5046
5046
|
function cl(t) {
|
|
5047
5047
|
const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: a } = t, { unit: n, size: s } = a, o = n === $.Week ? (s ?? 1) * 7 : s, l = i[e][r];
|
|
5048
5048
|
let u = e;
|
|
5049
|
-
const c =
|
|
5049
|
+
const c = _e({
|
|
5050
5050
|
date: l,
|
|
5051
5051
|
unit: n,
|
|
5052
5052
|
size: o,
|
|
@@ -5058,7 +5058,7 @@ function cl(t) {
|
|
|
5058
5058
|
const f = u - 1 <= 0;
|
|
5059
5059
|
let m = e;
|
|
5060
5060
|
return f && i[m] !== void 0 && (m -= 1), f && (u = 0), {
|
|
5061
|
-
binStartDate: f ?
|
|
5061
|
+
binStartDate: f ? _e({
|
|
5062
5062
|
date: l,
|
|
5063
5063
|
unit: n,
|
|
5064
5064
|
size: o,
|
|
@@ -5137,7 +5137,7 @@ function dl(t) {
|
|
|
5137
5137
|
} else l === 1 ? s = e.map((m, g) => {
|
|
5138
5138
|
const p = m[c];
|
|
5139
5139
|
let y = e[g + 1]?.[c];
|
|
5140
|
-
return y = typeof y == "number" ? y - 1 :
|
|
5140
|
+
return y = typeof y == "number" ? y - 1 : _e({
|
|
5141
5141
|
date: p,
|
|
5142
5142
|
unit: o,
|
|
5143
5143
|
size: l,
|
|
@@ -5206,7 +5206,7 @@ function fl(t) {
|
|
|
5206
5206
|
if (c === ae.End) {
|
|
5207
5207
|
let y = a[0][u];
|
|
5208
5208
|
for (let S = 0; S < g; S += 1)
|
|
5209
|
-
y =
|
|
5209
|
+
y = _e({
|
|
5210
5210
|
date: y,
|
|
5211
5211
|
unit: l,
|
|
5212
5212
|
size: 1,
|
|
@@ -5220,7 +5220,7 @@ function fl(t) {
|
|
|
5220
5220
|
} else {
|
|
5221
5221
|
let y = a[a.length - 1][u];
|
|
5222
5222
|
for (let S = 0; S < g; S += 1)
|
|
5223
|
-
y =
|
|
5223
|
+
y = _e({
|
|
5224
5224
|
date: y,
|
|
5225
5225
|
unit: l,
|
|
5226
5226
|
size: 1,
|
|
@@ -5293,7 +5293,7 @@ function yl(t) {
|
|
|
5293
5293
|
...m,
|
|
5294
5294
|
[d]: p,
|
|
5295
5295
|
[B.xAxisField]: p
|
|
5296
|
-
}) : y = f === ae.End ? y - 1 : y + 1, p =
|
|
5296
|
+
}) : y = f === ae.End ? y - 1 : y + 1, p = _e({
|
|
5297
5297
|
date: p,
|
|
5298
5298
|
unit: l === $.Month || l === $.Year ? $.Day : l,
|
|
5299
5299
|
size: 1,
|
|
@@ -5795,7 +5795,7 @@ function Fa(t) {
|
|
|
5795
5795
|
const N = /* @__PURE__ */ new Set(), {
|
|
5796
5796
|
maxCategoryCount: L,
|
|
5797
5797
|
serialChart: { categories: M }
|
|
5798
|
-
} =
|
|
5798
|
+
} = Qe(l), w = Number.isFinite(L) ? L : M, D = _l({ queryResponse: i, chartConfig: r, maxCategoryCount: w });
|
|
5799
5799
|
for (let I = 0; D[I] && I < D.length && !(o !== void 0 && A >= o); I += 1) {
|
|
5800
5800
|
A += kl(d, r);
|
|
5801
5801
|
const P = D[I], E = { ...P.attributes };
|
|
@@ -5915,7 +5915,7 @@ async function ba(t) {
|
|
|
5915
5915
|
const p = u === F.BoxPlotC1MonoField || u === F.BoxPlotC3MonoFieldAndCategory || u === F.BoxPlotC5MonoFieldAndSplitBy;
|
|
5916
5916
|
m = mi(u) && !p ? f * d : f;
|
|
5917
5917
|
}
|
|
5918
|
-
return n ===
|
|
5918
|
+
return n === We.RenderUpToTheLimit && m !== void 0 && a !== void 0 && a < m && (m = a, f = Math.ceil(m / d), g = !0), { categoryOrDateCount: f, elementCount: m, chartLimitsReached: g };
|
|
5919
5919
|
}
|
|
5920
5920
|
async function pi(t) {
|
|
5921
5921
|
const {
|
|
@@ -6280,7 +6280,7 @@ async function xa(t) {
|
|
|
6280
6280
|
chartLimits: u
|
|
6281
6281
|
}) || Wt({ dataInfo: p, chartType: h.HeatSeries });
|
|
6282
6282
|
}
|
|
6283
|
-
u?.behaviorAfterLimit ===
|
|
6283
|
+
u?.behaviorAfterLimit === We.RenderUpToTheLimit && y && (y = Yl({
|
|
6284
6284
|
chartConfig: e,
|
|
6285
6285
|
dataItems: y,
|
|
6286
6286
|
chartLimits: u
|
|
@@ -6441,7 +6441,7 @@ async function Ii(t) {
|
|
|
6441
6441
|
abortSignal: n
|
|
6442
6442
|
});
|
|
6443
6443
|
}
|
|
6444
|
-
Kn(r) && x && (x?.length + 1 === tr && z || x.length === tr) && (P = !0), p ===
|
|
6444
|
+
Kn(r) && x && (x?.length + 1 === tr && z || x.length === tr) && (P = !0), p === We.RenderUpToTheLimit && x && ({ trimmedData: x, chartLimitsReached: E } = Jl({ chartConfig: e, chartLimits: d, data: x }));
|
|
6445
6445
|
}
|
|
6446
6446
|
Y || (C.valid = !1, C.invalidType = k), C.data = {
|
|
6447
6447
|
dataItems: x,
|
|
@@ -6574,7 +6574,7 @@ async function rc(t) {
|
|
|
6574
6574
|
const {
|
|
6575
6575
|
maxScatterPointsAfterAggregation: N,
|
|
6576
6576
|
scatterplot: { markersAfterAggregation: L }
|
|
6577
|
-
} =
|
|
6577
|
+
} = Qe(a), w = Math.floor(Math.sqrt(N ?? L)), D = await ic({
|
|
6578
6578
|
queryObject: r,
|
|
6579
6579
|
chartConfig: i,
|
|
6580
6580
|
queryConfig: n,
|
|
@@ -6947,7 +6947,7 @@ async function Ca(t) {
|
|
|
6947
6947
|
}), { queryNumberOfFeatures: f, yStep: m } = B.scatterplotAggregationFields, {
|
|
6948
6948
|
maxScatterPointsBeforeAggregation: g,
|
|
6949
6949
|
scatterplot: { aggregationThreshold: p }
|
|
6950
|
-
} =
|
|
6950
|
+
} = Qe(s), y = d?.get(f) ?? Number.NaN, S = y >= (g ?? p), b = rs(r);
|
|
6951
6951
|
S && await rc({
|
|
6952
6952
|
statsMap: d,
|
|
6953
6953
|
chartConfig: e,
|
|
@@ -7476,7 +7476,7 @@ const dm = (t, e) => {
|
|
|
7476
7476
|
};
|
|
7477
7477
|
function fm(t) {
|
|
7478
7478
|
const { data: e, seriesConfig: i } = t;
|
|
7479
|
-
let r =
|
|
7479
|
+
let r = Ve(e);
|
|
7480
7480
|
return r !== void 0 && (r = xc(r, i), r = Cc(r, i), r = bc(r, i)), r;
|
|
7481
7481
|
}
|
|
7482
7482
|
function Bc(t) {
|
|
@@ -7587,7 +7587,7 @@ async function vc(t) {
|
|
|
7587
7587
|
seriesConfig: y[0],
|
|
7588
7588
|
queryObject: s
|
|
7589
7589
|
})) {
|
|
7590
|
-
const D =
|
|
7590
|
+
const D = Ve(r);
|
|
7591
7591
|
"temporalBinning" in D.series[0] && D.series[0].temporalBinning && (D.series[0].temporalBinning.trimIncompleteTimeInterval = !1, dt(o, s) && (delete D.series[0].temporalBinning.start, delete D.series[0].temporalBinning.end)), b.push(
|
|
7592
7592
|
Ii({
|
|
7593
7593
|
chartConfig: D,
|
|
@@ -7719,7 +7719,7 @@ async function mm(t) {
|
|
|
7719
7719
|
}
|
|
7720
7720
|
return k;
|
|
7721
7721
|
})
|
|
7722
|
-
) && w && (v =
|
|
7722
|
+
) && w && (v = Ve(w).filter((X) => {
|
|
7723
7723
|
let K = !1;
|
|
7724
7724
|
const k = [];
|
|
7725
7725
|
return Object.keys(X).forEach((Y) => {
|
|
@@ -7779,7 +7779,7 @@ function Ac(t) {
|
|
|
7779
7779
|
if (e.chartRenderer)
|
|
7780
7780
|
r = !0;
|
|
7781
7781
|
else {
|
|
7782
|
-
const { series: a } = e, n = V(a), s = G(a), o =
|
|
7782
|
+
const { series: a } = e, n = V(a), s = G(a), o = He(e), l = Re({
|
|
7783
7783
|
seriesConfig: o,
|
|
7784
7784
|
queryObject: i
|
|
7785
7785
|
}), u = j(i), c = u?.renderer;
|
|
@@ -8065,7 +8065,7 @@ function Ec(t) {
|
|
|
8065
8065
|
function pm(t, e) {
|
|
8066
8066
|
let i = !1;
|
|
8067
8067
|
if (t && e && e.length > 0 && Ia(t)) {
|
|
8068
|
-
const a = Ts(t), n =
|
|
8068
|
+
const a = Ts(t), n = He(t);
|
|
8069
8069
|
a ? i = Ec(t).some((o) => e.includes(o)) : i = e.includes(n.x);
|
|
8070
8070
|
}
|
|
8071
8071
|
return i;
|
|
@@ -8471,7 +8471,7 @@ async function hm(t) {
|
|
|
8471
8471
|
queryConfig: y,
|
|
8472
8472
|
errorStrings: u
|
|
8473
8473
|
}) : [];
|
|
8474
|
-
const T =
|
|
8474
|
+
const T = Qe(l), C = {
|
|
8475
8475
|
[h.BarSeries]: T.maxBarChartSeriesCount,
|
|
8476
8476
|
[h.BoxPlotSeries]: T.maxBoxPlotSeriesCount,
|
|
8477
8477
|
[h.LineSeries]: T.maxLineChartSeriesCount,
|
|
@@ -8630,7 +8630,7 @@ function Oa(t) {
|
|
|
8630
8630
|
function Oe(t) {
|
|
8631
8631
|
const { count: e, seriesCount: i, chartType: r, chartLimits: a } = t, { behaviorAfterLimit: n } = a ?? {};
|
|
8632
8632
|
let s = !0;
|
|
8633
|
-
if (n !==
|
|
8633
|
+
if (n !== We.RenderUpToTheLimit) {
|
|
8634
8634
|
const {
|
|
8635
8635
|
maxBarChartSeriesCount: o,
|
|
8636
8636
|
maxBarUniqueSeriesCountTotal: l,
|
|
@@ -8663,7 +8663,7 @@ function Oe(t) {
|
|
|
8663
8663
|
heatChart: { cells: X },
|
|
8664
8664
|
pieChart: { slices: K },
|
|
8665
8665
|
gauge: { features: k }
|
|
8666
|
-
} =
|
|
8666
|
+
} = Qe(a);
|
|
8667
8667
|
switch (r) {
|
|
8668
8668
|
case h.BarSeries:
|
|
8669
8669
|
case h.ComboLineAndBarSeries:
|
|
@@ -8963,7 +8963,7 @@ function ru(t, e) {
|
|
|
8963
8963
|
function au(t) {
|
|
8964
8964
|
const { queryObject: e, defaultGeometry: i, ignoreViewExtent: r } = t;
|
|
8965
8965
|
let a = i;
|
|
8966
|
-
if (!r &&
|
|
8966
|
+
if (!r && ke(e)) {
|
|
8967
8967
|
const n = e.view.extent, { xmin: s, xmax: o, ymin: l, ymax: u, zmin: c, zmax: d } = n;
|
|
8968
8968
|
a = { xmin: s, ymin: l, zmin: c, xmax: o, ymax: u, zmax: d, spatialReference: n.spatialReference.toJSON() };
|
|
8969
8969
|
}
|
|
@@ -9239,7 +9239,7 @@ function du(t) {
|
|
|
9239
9239
|
let e, i, r;
|
|
9240
9240
|
return t !== void 0 && (e = t.type, (e === fe.UniqueValue || e === fe.ClassBreaks) && (i = t.field ?? void 0, e === fe.ClassBreaks && (r = t.normalizationField ?? void 0))), { rendererType: e, rendererField: i, rendererNormalizationField: r };
|
|
9241
9241
|
}
|
|
9242
|
-
const $a =
|
|
9242
|
+
const $a = ze(
|
|
9243
9243
|
(t) => {
|
|
9244
9244
|
const e = t.featureCollection;
|
|
9245
9245
|
let i, r;
|
|
@@ -9267,7 +9267,7 @@ const $a = Qe(
|
|
|
9267
9267
|
},
|
|
9268
9268
|
(t) => JSON.stringify(t)
|
|
9269
9269
|
// stringify with sorted keys
|
|
9270
|
-
), _a =
|
|
9270
|
+
), _a = ze(
|
|
9271
9271
|
async (t, e) => await $a(t).load({ signal: e }),
|
|
9272
9272
|
(t) => JSON.stringify(t)
|
|
9273
9273
|
// stringify with sorted keys
|
|
@@ -9658,7 +9658,7 @@ function wu(t) {
|
|
|
9658
9658
|
}
|
|
9659
9659
|
function Ha(t) {
|
|
9660
9660
|
const { chartConfig: e, uniqueQuery: i, chartLimits: r } = t;
|
|
9661
|
-
if (r?.behaviorAfterLimit ===
|
|
9661
|
+
if (r?.behaviorAfterLimit === We.RenderUpToTheLimit) {
|
|
9662
9662
|
const a = Ni(e, r);
|
|
9663
9663
|
if (a !== void 0) {
|
|
9664
9664
|
const n = G(e.series);
|
|
@@ -9682,7 +9682,7 @@ function _i(t) {
|
|
|
9682
9682
|
fetchFullBoxPlotData: s,
|
|
9683
9683
|
returnFeaturesExtent: o,
|
|
9684
9684
|
chartLimits: l
|
|
9685
|
-
} = t, u = e.series, c = G(u), d =
|
|
9685
|
+
} = t, u = e.series, c = G(u), d = He(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, p = Re({
|
|
9686
9686
|
xAxisValueFormatType: ve(e),
|
|
9687
9687
|
setTimeBinningInfoWhenNotProvided: n,
|
|
9688
9688
|
seriesConfig: d,
|
|
@@ -9690,7 +9690,7 @@ function _i(t) {
|
|
|
9690
9690
|
});
|
|
9691
9691
|
let y = /* @__PURE__ */ new Map(), S = !1, b = !1, T = !1, C = !1, x = !1, v = {};
|
|
9692
9692
|
if (f !== void 0) {
|
|
9693
|
-
v =
|
|
9693
|
+
v = Ve(f);
|
|
9694
9694
|
const E = re(f.where);
|
|
9695
9695
|
let z = "";
|
|
9696
9696
|
switch (i.fetchNullValues !== !0 && (m !== B.boxPlot.boxPlotCategory && (z = `${m} IS NOT NULL`), E.trim() !== "" && E !== m && !De(f.where) && (z = J([z, `${E} IS NOT NULL`]))), c) {
|
|
@@ -9746,7 +9746,7 @@ function _i(t) {
|
|
|
9746
9746
|
unit: a?.unit ?? u[0].temporalBinning?.unit,
|
|
9747
9747
|
chartSubType: c,
|
|
9748
9748
|
objectIdFields: q,
|
|
9749
|
-
runsOnClientQueryEngine:
|
|
9749
|
+
runsOnClientQueryEngine: ke(r)
|
|
9750
9750
|
});
|
|
9751
9751
|
}
|
|
9752
9752
|
v.where = z;
|
|
@@ -9807,7 +9807,7 @@ function Pu(t) {
|
|
|
9807
9807
|
const { data: e, htmlContainer: i } = t;
|
|
9808
9808
|
i && e && i.dispatchEvent(new window.CustomEvent(rt.SeriesOrder, at(e)));
|
|
9809
9809
|
}
|
|
9810
|
-
const
|
|
9810
|
+
const Ge = [
|
|
9811
9811
|
"1.0.0",
|
|
9812
9812
|
"1.0.1",
|
|
9813
9813
|
"2.0.0",
|
|
@@ -9928,14 +9928,14 @@ function Du(t) {
|
|
|
9928
9928
|
function Zm(t) {
|
|
9929
9929
|
let e = ot.Same, i = [];
|
|
9930
9930
|
if (Du(t) && t !== void 0) {
|
|
9931
|
-
|
|
9932
|
-
const a = ui(t,
|
|
9931
|
+
Ge.sort(ui);
|
|
9932
|
+
const a = ui(t, Ge[Ge.length - 1]);
|
|
9933
9933
|
if (a === 1 ? e = ot.Newer : a === -1 && (e = ot.Older), e === ot.Newer || e === ot.Same)
|
|
9934
9934
|
i.push(t);
|
|
9935
9935
|
else {
|
|
9936
|
-
for (let n =
|
|
9937
|
-
if (ui(t,
|
|
9938
|
-
i =
|
|
9936
|
+
for (let n = Ge.length - 2; n >= 0; n -= 1)
|
|
9937
|
+
if (ui(t, Ge[n]) >= 0) {
|
|
9938
|
+
i = Ge.slice(n, Ge.length);
|
|
9939
9939
|
break;
|
|
9940
9940
|
}
|
|
9941
9941
|
i.length === 0 && i.push(Mu);
|
|
@@ -9944,7 +9944,7 @@ function Zm(t) {
|
|
|
9944
9944
|
e = ot.Unrecognized, i.push(Iu);
|
|
9945
9945
|
return { versionStatus: e, versions: i };
|
|
9946
9946
|
}
|
|
9947
|
-
function
|
|
9947
|
+
function He(t) {
|
|
9948
9948
|
const { series: e } = t;
|
|
9949
9949
|
let r = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((a) => a.type === h.LineSeries) : e[0];
|
|
9950
9950
|
return r ??= e[0], r;
|
|
@@ -10034,7 +10034,7 @@ function ja(t) {
|
|
|
10034
10034
|
const {
|
|
10035
10035
|
maxScatterPointsBeforeAggregation: n,
|
|
10036
10036
|
scatterplot: { aggregationThreshold: s }
|
|
10037
|
-
} =
|
|
10037
|
+
} = Qe(r), { queryNumberOfFeatures: o } = B.scatterplotAggregationFields;
|
|
10038
10038
|
a = (e.get(o) ?? Number.NaN) >= (n ?? s);
|
|
10039
10039
|
} else i !== void 0 && (a = B.scatterplotAggregationFields.dataContextXMinField in i);
|
|
10040
10040
|
return a;
|
|
@@ -10076,7 +10076,7 @@ function Be(t) {
|
|
|
10076
10076
|
function Xa(t) {
|
|
10077
10077
|
const { previousConfig: e, newConfig: i, behaviorAfterLimit: r } = t, a = e.series, n = i.series;
|
|
10078
10078
|
let s = !1, o = !1;
|
|
10079
|
-
(r ===
|
|
10079
|
+
(r === We.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !we(
|
|
10080
10080
|
e.orderOptions?.orderByFields,
|
|
10081
10081
|
i.orderOptions?.orderByFields
|
|
10082
10082
|
));
|
|
@@ -10382,7 +10382,7 @@ function xg(t) {
|
|
|
10382
10382
|
return p = Object.values(S.common).some((b) => b), (S.gauge.valueConversionChanged || S.gauge.minMaxFromFieldsChanged || S.histogram.dataPropsChanged || S.boxPlot.showMeanChanged || S.heatChart.binningChanged || S.heatChart.hideEmptyRowsAndColumnsChanged || S.heatChart.includeLeapDay || S.scatterPlot.tooltipFieldsChanged || S.scatterPlot.imageryAoiChanged) && (y = !0), g = p || y, { dataUpdateNeeded: g, dataUpdateDetails: S };
|
|
10383
10383
|
}
|
|
10384
10384
|
function Cg(t, e) {
|
|
10385
|
-
const i =
|
|
10385
|
+
const i = Ve(t);
|
|
10386
10386
|
if (i && i.series.length > 1) {
|
|
10387
10387
|
const { preferLabel: r, orderBy: a } = i.orderOptions?.series ?? {};
|
|
10388
10388
|
if (a !== void 0) {
|
|
@@ -10407,14 +10407,17 @@ function Cg(t, e) {
|
|
|
10407
10407
|
}
|
|
10408
10408
|
function zi(t) {
|
|
10409
10409
|
let e;
|
|
10410
|
-
const i = t?.orderOptions?.data;
|
|
10411
|
-
return
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10410
|
+
const i = t?.orderOptions?.data, r = t.series?.[0], a = i?.orderByX ?? (r?.xTemporalBinning ? oe.Ascending : void 0), n = i?.orderByY ?? (r?.yTemporalBinning ? oe.Ascending : void 0);
|
|
10411
|
+
return r && (a !== void 0 || n !== void 0) && (e = [
|
|
10412
|
+
{
|
|
10413
|
+
sortingField: a !== void 0 ? H.xField : "",
|
|
10414
|
+
orderBy: a
|
|
10415
|
+
},
|
|
10416
|
+
{
|
|
10417
|
+
sortingField: n !== void 0 ? H.yField : "",
|
|
10418
|
+
orderBy: n
|
|
10419
|
+
}
|
|
10420
|
+
]), e;
|
|
10418
10421
|
}
|
|
10419
10422
|
function Gu(t) {
|
|
10420
10423
|
const { chartConfig: e, field: i } = t;
|
|
@@ -10426,11 +10429,11 @@ function an(t) {
|
|
|
10426
10429
|
const e = G(t.series);
|
|
10427
10430
|
let i;
|
|
10428
10431
|
if (t.orderOptions?.data !== void 0) {
|
|
10429
|
-
let r = t.orderOptions?.data?.orderType ??
|
|
10430
|
-
if (r ===
|
|
10432
|
+
let r = t.orderOptions?.data?.orderType ?? je.Category, a = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0;
|
|
10433
|
+
if (r === je.Category)
|
|
10431
10434
|
r = t.series[0].x;
|
|
10432
10435
|
else {
|
|
10433
|
-
r ===
|
|
10436
|
+
r === je.Mean ? r = R.Average : r === je.Median && (r = R.Median);
|
|
10434
10437
|
const n = e === F.BoxPlotC4MultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, s = re(t.series[0].query?.where), o = ce({
|
|
10435
10438
|
where: t.series[0].query?.where
|
|
10436
10439
|
});
|
|
@@ -10462,7 +10465,7 @@ function nn(t) {
|
|
|
10462
10465
|
let s, o = "", l;
|
|
10463
10466
|
if (t.orderOptions?.data !== void 0) {
|
|
10464
10467
|
const u = t.orderOptions.data && "preferLabel" in t.orderOptions.data ? t.orderOptions.data.preferLabel : !0;
|
|
10465
|
-
if (o = t.orderOptions?.data?.orderType ??
|
|
10468
|
+
if (o = t.orderOptions?.data?.orderType ?? je.Category, l = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0, o === je.Category ? a ? o = ye : o = u ? i : xt.originalXValue : o = a ? Le : [r].flat()[0], o !== void 0 && o !== "") {
|
|
10466
10469
|
const c = Ri(t);
|
|
10467
10470
|
if (V(t.series) !== h.PieSeries && o !== i && t.series?.length > 1)
|
|
10468
10471
|
switch (c) {
|
|
@@ -10704,7 +10707,7 @@ export {
|
|
|
10704
10707
|
lm as bY,
|
|
10705
10708
|
ve as bZ,
|
|
10706
10709
|
Kf as b_,
|
|
10707
|
-
|
|
10710
|
+
ke as ba,
|
|
10708
10711
|
ir as bb,
|
|
10709
10712
|
Cr as bc,
|
|
10710
10713
|
Nm as bd,
|
|
@@ -10751,7 +10754,7 @@ export {
|
|
|
10751
10754
|
Cm as cG,
|
|
10752
10755
|
pf as cH,
|
|
10753
10756
|
Jr as cI,
|
|
10754
|
-
|
|
10757
|
+
He as cJ,
|
|
10755
10758
|
Ei as cK,
|
|
10756
10759
|
rf as cL,
|
|
10757
10760
|
Kc as cM,
|
|
@@ -10803,7 +10806,7 @@ export {
|
|
|
10803
10806
|
To as d3,
|
|
10804
10807
|
Jd as d4,
|
|
10805
10808
|
Tg as d5,
|
|
10806
|
-
|
|
10809
|
+
Ge as d6,
|
|
10807
10810
|
gm as d7,
|
|
10808
10811
|
kr as d8,
|
|
10809
10812
|
Xd as d9,
|