@arcgis/charts-components 5.2.0-next.37 → 5.2.0-next.39
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/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{PKCJ77IC.js → 2AFGL3N3.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{MNGK37MT.js → 2MWAHHYM.js} +25 -41
- package/dist/cdn/{T4NEEFOY.js → 2R5BXKVB.js} +1 -1
- package/dist/cdn/{5ZX5DKDK.js → 2WUJ5KOD.js} +1 -1
- package/dist/cdn/{KZ2OB6RV.js → 32EVZ7R6.js} +1 -1
- package/dist/cdn/{KEQTMZ4H.js → 3GGLSOHN.js} +1 -1
- package/dist/cdn/{KBQM3DLQ.js → 3UDKG6TV.js} +1 -1
- package/dist/cdn/{3YOOX2CV.js → 4ASVJDBN.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{IB7JS7SY.js → 4GZPZPT6.js} +1 -1
- package/dist/cdn/{3EA7ST6X.js → 4HBMPMYY.js} +1 -1
- package/dist/cdn/{ASUGYCJ6.js → 57VIC2YX.js} +1 -1
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{SUAMHPKM.js → 67K3MAX5.js} +1 -1
- package/dist/cdn/{AZY72Q7D.js → 6BXPCTBA.js} +1 -1
- package/dist/cdn/{PS7IL5JZ.js → 6RG6AF7N.js} +1 -1
- package/dist/cdn/{BDWJKXSF.js → 6TCG2WXL.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{H5EKLENR.js → 77YS6YLT.js} +2 -2
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{X2IOJECM.js → 7CGAXWPM.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{LW6GBG3R.js → 7CZ4J2W3.js} +1 -1
- package/dist/cdn/{RP3UHRU3.js → 7GOPZGE7.js} +1 -1
- package/dist/cdn/{4Q6TQOL5.js → 7HTA55LZ.js} +1 -1
- package/dist/cdn/{UBWQISYD.js → 7IEZ4KIQ.js} +1 -1
- package/dist/cdn/{C5YJ7J3A.js → 7MEYUIY2.js} +1 -1
- package/dist/cdn/{SCALEEJU.js → A7NYIP7H.js} +1 -1
- package/dist/cdn/{4DEDSWYV.js → AAKVGDCP.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{AN2NRYQV.js → AFE4UMQE.js} +1 -1
- package/dist/cdn/{AQIB3VEP.js → AZHBGLOD.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{7XZZ5OZL.js → BAPR67OA.js} +1 -1
- package/dist/cdn/{WV3NTL6A.js → BDCXALOP.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/{Z6ZPSA7P.js → BDKELWTL.js} +1 -1
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/{S76GRSZU.js → BMQRK46I.js} +1 -1
- package/dist/cdn/{BYZU546L.js → BUXRBQJJ.js} +1 -1
- package/dist/cdn/{A636YSNA.js → BYPSLSFP.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{V7JF5I5M.js → C4O77AVT.js} +1 -1
- package/dist/cdn/{LLYDWCNL.js → CFC3NUMS.js} +1 -1
- package/dist/cdn/{S7Z4HRW7.js → CHZMNR2R.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{ZBMTOUMZ.js → D3ITKS2P.js} +1 -1
- package/dist/cdn/{YXH22GJ6.js → DGJATKEL.js} +1 -1
- package/dist/cdn/{OLMLZIOC.js → DGYWXTWO.js} +1 -1
- package/dist/cdn/{QJ5SV5WD.js → DIBTCFWT.js} +1 -1
- package/dist/cdn/{J2HYDDIW.js → EDYALXKT.js} +1 -1
- package/dist/cdn/{OZAHUXAZ.js → EJK3RW6P.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/{HE66HTT4.js → EVCIAJFC.js} +1 -1
- package/dist/cdn/{IDWUHTEH.js → F2OCFEOW.js} +1 -1
- package/dist/cdn/{V454JYTQ.js → F7IPTEHX.js} +1 -1
- package/dist/cdn/{H3DNER4V.js → FFKWJL25.js} +1 -1
- package/dist/cdn/{XJATEY2N.js → FGNKVNM7.js} +1 -1
- package/dist/cdn/{QNT6HTFC.js → FHKRXY7E.js} +1 -1
- package/dist/cdn/{QHQ3LXOS.js → FLNKNNA4.js} +1 -1
- package/dist/cdn/{JKJOFEHQ.js → FX3T2NSR.js} +1 -1
- package/dist/cdn/{EFBBG67Q.js → FXACMXC2.js} +1 -1
- package/dist/cdn/{S2R72ISR.js → GEHO65XE.js} +1 -1
- package/dist/cdn/{7QIR4BM4.js → GHE7Q677.js} +1 -1
- package/dist/cdn/{UGDK7VVY.js → GN53HRKZ.js} +1 -1
- package/dist/cdn/{XYT5GAQI.js → GOZ5QOUF.js} +1 -1
- package/dist/cdn/{RE5VVA6N.js → GVLUS52N.js} +1 -1
- package/dist/cdn/{JPEN5TFK.js → GZZJATH3.js} +1 -1
- package/dist/cdn/{QXXJNANY.js → HAOL7B5B.js} +1 -1
- package/dist/cdn/HMBXRL4X.js +2 -0
- package/dist/cdn/HR4NMTBV.js +2 -0
- package/dist/cdn/{5HRLHWQ5.js → HRUQXEFI.js} +1 -1
- package/dist/cdn/{YBTVIOHQ.js → HWHKCIYW.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{GLTERJLR.js → I7QOG3AA.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{SYFQUCIP.js → IQFWMCJN.js} +1 -1
- package/dist/cdn/{3X6QTGFF.js → IRSXCGOE.js} +1 -1
- package/dist/cdn/{RV6E7KKQ.js → JEW6MSOC.js} +1 -1
- package/dist/cdn/{W5SPX6WM.js → JNFMKAES.js} +1 -1
- package/dist/cdn/{GI54JT4O.js → K25GJKPH.js} +1 -1
- package/dist/cdn/{B6N4OMNY.js → K63SHENK.js} +1 -1
- package/dist/cdn/{5JUMTA26.js → KFH7ONYI.js} +1 -1
- package/dist/cdn/{LRTICIHK.js → KML35YPO.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{SZXRIKL2.js → KPWBRKB2.js} +1 -1
- package/dist/cdn/{LEMJA72W.js → L5J4TYCU.js} +1 -1
- package/dist/cdn/{QZIWEL6O.js → L7HQ4MVM.js} +1 -1
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/{FSUNWDBJ.js → LBG2RY2P.js} +1 -1
- package/dist/cdn/{QNNG52P2.js → LGM37IA4.js} +1 -1
- package/dist/cdn/{DGJLXGIE.js → LH4X6ACJ.js} +1 -1
- package/dist/cdn/{7YOJVEYS.js → LHQWVJAF.js} +1 -1
- package/dist/cdn/{TSEKFO24.js → LQ4XNJEN.js} +1 -1
- package/dist/cdn/{PLACSZ4B.js → LU3GHFTE.js} +1 -1
- package/dist/cdn/{4XEJP6PY.js → LX7XADSL.js} +1 -1
- package/dist/cdn/{4ARHEXVJ.js → M22IUUVK.js} +1 -1
- package/dist/cdn/{7CSXC5DN.js → M7F2IDEE.js} +1 -1
- package/dist/cdn/{TCRIDGAS.js → M7YZTXYW.js} +1 -1
- package/dist/cdn/{TDNNODY2.js → MAHZG3PJ.js} +1 -1
- package/dist/cdn/{JHANH4UG.js → MBL6ZAKF.js} +1 -1
- package/dist/cdn/{TEERYUCS.js → MDPDU2BA.js} +1 -1
- package/dist/cdn/ME5VD6DD.js +2 -0
- package/dist/cdn/{ICIEVVSN.js → NDOLRRBV.js} +1 -1
- package/dist/cdn/{ZJKFLXTH.js → NIKK5PQK.js} +1 -1
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{J5QUGI2J.js → O25MQAZU.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{HMHTGLG4.js → OEIPZTMI.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{2CVA3SGN.js → OJR4AWVU.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{R2RRMPOC.js → OZSAA5YQ.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{O4RIY6NM.js → PIXOUTW3.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{CALA7HKD.js → PKQ36JAB.js} +1 -1
- package/dist/cdn/{732EZ6WJ.js → Q3ZQR5JF.js} +1 -1
- package/dist/cdn/{X33RIIGI.js → Q5E66RNY.js} +1 -1
- package/dist/cdn/{ZIPXZUFN.js → QCRIXDV3.js} +1 -1
- package/dist/cdn/{Q5VL76MN.js → QCTAG2EK.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{35HUQECK.js → QU7LT4XK.js} +2 -2
- package/dist/cdn/{QMOKFIDS.js → QWKP4JOC.js} +1 -1
- package/dist/cdn/{RYLXJPKL.js → R6T7WJQJ.js} +1 -1
- package/dist/cdn/{YFQHZWLO.js → R6XIGSQS.js} +1 -1
- package/dist/cdn/{N7MBLVLD.js → RB7LVEKZ.js} +1 -1
- package/dist/cdn/{QBSSM5SD.js → RJENJCOJ.js} +1 -1
- package/dist/cdn/{C2I4WPWM.js → RLCLIRL6.js} +1 -1
- package/dist/cdn/{BICQEJYZ.js → RTVU7ANC.js} +1 -1
- package/dist/cdn/{3S7YCMP7.js → SGVBAC76.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{YX4EVVJM.js → SWEIMWH2.js} +1 -1
- package/dist/cdn/{WIP2MXFL.js → T7SDOM4Y.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{6LH7Y7PU.js → TBGSY7QJ.js} +1 -1
- package/dist/cdn/{VIZWWEG5.js → TQLMPVI5.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{LU5S2VRK.js → TW4RXJ35.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{O533LNDP.js → UM5S2Y4R.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/{ZMQTYGGT.js → VEXNULZX.js} +1 -1
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{Z2NN43OK.js → W2YAFML7.js} +1 -1
- package/dist/cdn/{6GARCIVS.js → WGANHKGM.js} +1 -1
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/{7IS6QE6S.js → WWIRRYDD.js} +1 -1
- package/dist/cdn/{FJNRPAMO.js → X6QMN2HV.js} +1 -1
- package/dist/cdn/{4JKNHY7O.js → XCRTBM2X.js} +1 -1
- package/dist/cdn/{DRE7JXAI.js → XM6AWAPQ.js} +1 -1
- package/dist/cdn/{4DSO7LUF.js → XVK4ONRA.js} +1 -1
- package/dist/cdn/{DPV2ZJLF.js → XWLP2CHH.js} +1 -1
- package/dist/cdn/{G7Z6J5RV.js → Y4AQR62O.js} +1 -1
- package/dist/cdn/{S3XHOO4D.js → YAMKN44F.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{NLWVJIKG.js → YKOEU6IH.js} +1 -1
- package/dist/cdn/{EJIWN63T.js → YMY3CBBG.js} +1 -1
- package/dist/cdn/{3HAB3JR6.js → YS73YUW5.js} +1 -1
- package/dist/cdn/{TYDIOOT2.js → YSAFZOZ6.js} +1 -1
- package/dist/cdn/{IR2S2FUR.js → YTUVGIHK.js} +1 -1
- package/dist/cdn/{F3XMYLVZ.js → Z3XWLWF4.js} +1 -1
- package/dist/cdn/{MMO2QPOA.js → ZCAHK6VZ.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{Z2CMTIET.js → ZLFL6BY5.js} +1 -1
- package/dist/cdn/{KDV2P46R.js → ZVPPOBET.js} +1 -1
- package/dist/cdn/{C47AIJTI.js → ZYK5XBZK.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/index2.js +199 -198
- package/dist/chunks/index4.js +8 -7
- package/dist/chunks/model-setter.js +6 -5
- package/dist/chunks/serial-chart-data.js +468 -465
- package/dist/components/arcgis-chart/customElement.js +1587 -1608
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +4 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/utils/chart-config/converter/index.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/DKENYDHS.js +0 -233
- package/dist/cdn/E4535ZTP.js +0 -142
- package/dist/cdn/GYTYFBNU.js +0 -2
- package/dist/cdn/IHHPUKGG.js +0 -2
- package/dist/cdn/NEXAUEB6.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/Y3SFQXIO.js +0 -2
- /package/dist/cdn/{RIM4HLHN.js → 5DUKB563.js} +0 -0
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { substitute as w } from "@arcgis/core/intl.js";
|
|
3
|
-
import { cloneDeep as
|
|
4
|
-
import { S as
|
|
5
|
-
import { s as
|
|
6
|
-
import { w as
|
|
7
|
-
import { a as
|
|
8
|
-
import { u as
|
|
9
|
-
import { i as
|
|
10
|
-
import { i as
|
|
11
|
-
import { aA as
|
|
12
|
-
import { C as P, F as
|
|
13
|
-
import { h as xe, i as O, j as
|
|
14
|
-
import { convertChartSpec as
|
|
15
|
-
import { d as
|
|
3
|
+
import { cloneDeep as K, isEmpty as qe, memoize as Re } from "lodash-es";
|
|
4
|
+
import { S as se } from "./common.js";
|
|
5
|
+
import { s as R, u as E, g as le, a as Fe, b as ke, c as Oe, d as ce } from "./utils.js";
|
|
6
|
+
import { w as k, i as De, cS as M, bY as Pe, bm as we, x as Ee, Y as _, cq as Me, cp as $e, p as We, aH as oe, c2 as Ye, d as Xe, aG as je, I as Ue, a7 as Ze, bk as He, W as Ke, e as _e, bo as Qe, cZ as ze, v as Ge, d4 as de, bM as Je, d5 as et, bI as tt, B as st, d1 as it, an as U, a6 as he, b9 as at, k as ie, bq as rt, bu as ye, bb as H, bh as me } from "./index2.js";
|
|
7
|
+
import { a as Y, s as Te, g as Q, b as pe, c as nt } from "./data.js";
|
|
8
|
+
import { u as B, r as L, k as lt, n as q, m as $, p as ot, t as ut, s as ae } from "./chart-object-literals.js";
|
|
9
|
+
import { i as ct, R as dt } from "./rest-js-object-literals.js";
|
|
10
|
+
import { i as z } from "./index4.js";
|
|
11
|
+
import { aA as yt, u as mt, Z as pt, aa as gt, am as ft, y as St, D as ge, I as fe, a0 as Ft } from "./index.js";
|
|
12
|
+
import { C as P, F as W, d as D } from "./index3.js";
|
|
13
|
+
import { h as xe, i as O, j as ht, n as Tt, g as A, m as v, e as Se } from "./index5.js";
|
|
14
|
+
import { convertChartSpec as xt } from "../utils/chart-config/converter/index.js";
|
|
15
|
+
import { d as re, f as Bt } from "./type-guards.js";
|
|
16
16
|
import { g as Be } from "./series-types.js";
|
|
17
|
-
import { C as
|
|
17
|
+
import { C as Ct, m as bt } from "./model-setter.js";
|
|
18
18
|
import { g as ue } from "./utils2.js";
|
|
19
|
-
import { a as
|
|
20
|
-
const
|
|
19
|
+
import { a as At, b as vt } from "./series-length.js";
|
|
20
|
+
const gs = (t) => {
|
|
21
21
|
let e;
|
|
22
22
|
const s = t.series[0];
|
|
23
|
-
return
|
|
24
|
-
},
|
|
23
|
+
return k(s) && (e = s.temporalBinning?.size), e;
|
|
24
|
+
}, It = (t) => {
|
|
25
25
|
let e;
|
|
26
26
|
const s = t.series[0];
|
|
27
|
-
return
|
|
28
|
-
},
|
|
27
|
+
return k(s) && (e = s.temporalBinning?.unit), e;
|
|
28
|
+
}, fs = (t) => {
|
|
29
29
|
let e;
|
|
30
30
|
const s = t.series[0];
|
|
31
|
-
return
|
|
32
|
-
},
|
|
31
|
+
return k(s) && (e = s.temporalBinning?.timeAggregationType), e;
|
|
32
|
+
}, Ss = (t) => {
|
|
33
33
|
let e;
|
|
34
34
|
const s = t.series[0];
|
|
35
|
-
return
|
|
36
|
-
},
|
|
35
|
+
return k(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
36
|
+
}, Fs = (t) => {
|
|
37
37
|
let e;
|
|
38
38
|
const s = t.series[0];
|
|
39
|
-
return
|
|
40
|
-
},
|
|
39
|
+
return k(s) && (e = s.temporalBinning?.nullPolicy), e;
|
|
40
|
+
}, Lt = (t, e) => {
|
|
41
41
|
e?.series?.forEach((s) => {
|
|
42
|
-
|
|
43
|
-
}),
|
|
44
|
-
},
|
|
42
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
|
|
43
|
+
}), R({ config: e, value: null, axisIndex: 1, isMax: !1 }), R({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
44
|
+
}, Vt = (t, e) => {
|
|
45
45
|
e?.series?.forEach((s) => {
|
|
46
|
-
|
|
47
|
-
}),
|
|
48
|
-
},
|
|
46
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
|
|
47
|
+
}), R({ config: e, value: null, axisIndex: 1, isMax: !1 }), R({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
48
|
+
}, hs = (t, e) => {
|
|
49
49
|
e.series?.forEach((s) => {
|
|
50
|
-
|
|
51
|
-
}),
|
|
52
|
-
},
|
|
50
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
|
|
51
|
+
}), R({ config: e, value: null, axisIndex: 1, isMax: !1 }), R({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
52
|
+
}, Ts = (t, e) => {
|
|
53
53
|
e.series?.forEach((s) => {
|
|
54
|
-
|
|
55
|
-
}),
|
|
56
|
-
},
|
|
54
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
|
|
55
|
+
}), R({ config: e, value: null, axisIndex: 1, isMax: !1 }), R({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
56
|
+
}, xs = (t, e) => {
|
|
57
57
|
e.series?.forEach((s) => {
|
|
58
|
-
|
|
59
|
-
}),
|
|
60
|
-
},
|
|
61
|
-
|
|
58
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
|
|
59
|
+
}), R({ config: e, value: null, axisIndex: 1, isMax: !1 }), R({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
60
|
+
}, Nt = (t) => {
|
|
61
|
+
Lt(0, t);
|
|
62
62
|
};
|
|
63
|
-
var
|
|
64
|
-
for (var a =
|
|
63
|
+
var qt = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, kt = (t, e, s, r) => {
|
|
64
|
+
for (var a = Rt(e, s), i = t.length - 1, n; i >= 0; i--)
|
|
65
65
|
(n = t[i]) && (a = n(e, s, a) || a);
|
|
66
|
-
return a &&
|
|
66
|
+
return a && qt(e, s, a), a;
|
|
67
67
|
};
|
|
68
|
-
const
|
|
68
|
+
const Ot = (t) => {
|
|
69
69
|
let e;
|
|
70
|
-
return
|
|
71
|
-
(s.type ===
|
|
72
|
-
}), e || (e = t?.axes?.[0]?.valueFormat.type ===
|
|
70
|
+
return M(t) ? e = t.outTimeZone : t?.series.forEach((s) => {
|
|
71
|
+
(s.type === B.BarSeries || s.type === B.RadarSeries || s.type === B.LineSeries) && s.temporalBinning && (e = s.temporalBinning.outTimeZone);
|
|
72
|
+
}), e || (e = t?.axes?.[0]?.valueFormat.type === B.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
73
73
|
}, Ce = (t, e) => {
|
|
74
|
-
const s =
|
|
75
|
-
|
|
76
|
-
(r.type ===
|
|
77
|
-
}), e?.axes?.[0]?.valueFormat.type ===
|
|
74
|
+
const s = De(t);
|
|
75
|
+
M(e) ? t ? e.outTimeZone = s : delete e.outTimeZone : e?.series.forEach((r) => {
|
|
76
|
+
(r.type === B.BarSeries || r.type === B.RadarSeries || r.type === B.LineSeries) && (t ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = s) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
|
|
77
|
+
}), e?.axes?.[0]?.valueFormat.type === B.DateAxisFormat && (t ? e.axes[0].valueFormat.intlOptions.timeZone = s : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
78
78
|
};
|
|
79
|
-
class
|
|
79
|
+
class Dt extends Ct {
|
|
80
80
|
/**
|
|
81
81
|
* Gets the time zone for the chart.
|
|
82
82
|
*/
|
|
83
83
|
get timeZone() {
|
|
84
|
-
return
|
|
84
|
+
return Ot(this._config);
|
|
85
85
|
}
|
|
86
86
|
set timeZone(e) {
|
|
87
87
|
Ce(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
],
|
|
93
|
-
function
|
|
90
|
+
kt([
|
|
91
|
+
bt
|
|
92
|
+
], Dt.prototype, "timeZone");
|
|
93
|
+
function Bs(t, e) {
|
|
94
94
|
let s;
|
|
95
95
|
return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Cs(t, e) {
|
|
98
98
|
let s;
|
|
99
99
|
return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function bs(t, e) {
|
|
102
102
|
let s;
|
|
103
103
|
return e !== void 0 && (s = { ...e, rotated: t }), s;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Pt(t) {
|
|
106
106
|
let e;
|
|
107
107
|
return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function As(t, e) {
|
|
110
110
|
return e != null || xe(t);
|
|
111
111
|
}
|
|
112
|
-
async function
|
|
112
|
+
async function vs(t) {
|
|
113
113
|
const { config: e, layer: s, abortSignal: r } = t;
|
|
114
114
|
let a = !1;
|
|
115
|
-
return
|
|
115
|
+
return re(s) || Bt(e) ? e && re(s) && (a = await we({ config: e, layer: s, abortSignal: r })) : a = !0, a;
|
|
116
116
|
}
|
|
117
|
-
async function
|
|
117
|
+
async function wt(t) {
|
|
118
118
|
const {
|
|
119
119
|
queryObject: e,
|
|
120
120
|
chartConfig: s,
|
|
@@ -123,80 +123,80 @@ async function Dt(t) {
|
|
|
123
123
|
abortSignal: i,
|
|
124
124
|
runtimeDataFilters: n,
|
|
125
125
|
ignoreViewExtent: o,
|
|
126
|
-
setTimeBinningInfoWhenNotProvided:
|
|
126
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
127
127
|
returnFeaturesExtent: m,
|
|
128
|
-
chartLimits:
|
|
128
|
+
chartLimits: p
|
|
129
129
|
} = t;
|
|
130
|
-
let u = [],
|
|
131
|
-
const y =
|
|
130
|
+
let u = [], d;
|
|
131
|
+
const y = K(s), g = y.series[0], l = _e({
|
|
132
132
|
queryObject: e,
|
|
133
133
|
chartConfig: y,
|
|
134
134
|
runtimeDataFilters: n,
|
|
135
135
|
ignoreViewExtent: o
|
|
136
136
|
});
|
|
137
|
-
if (l.outStatistics?.[0]?.outStatisticFieldName && (l.outStatistics[0].outStatisticFieldName =
|
|
138
|
-
xAxisValueFormatType:
|
|
139
|
-
setTimeBinningInfoWhenNotProvided:
|
|
140
|
-
seriesConfig:
|
|
137
|
+
if (l.outStatistics?.[0]?.outStatisticFieldName && (l.outStatistics[0].outStatisticFieldName = yt.outStatistics.outStatisticFieldName), k(g) && Qe({
|
|
138
|
+
xAxisValueFormatType: ze(y),
|
|
139
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
140
|
+
seriesConfig: g,
|
|
141
141
|
queryObject: e
|
|
142
|
-
}) &&
|
|
143
|
-
const { temporalBinning:
|
|
142
|
+
}) && Ge(r, e)) {
|
|
143
|
+
const { temporalBinning: f, x } = g, { uniqueQuery: b } = de({
|
|
144
144
|
chartConfig: y,
|
|
145
145
|
queryConfig: l,
|
|
146
146
|
queryObject: e,
|
|
147
|
-
setTimeBinningInfoWhenNotProvided:
|
|
147
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
148
148
|
returnFeaturesExtent: m,
|
|
149
|
-
chartLimits:
|
|
150
|
-
}), F = s.axes?.[0].valueFormat.type ===
|
|
151
|
-
|
|
149
|
+
chartLimits: p
|
|
150
|
+
}), F = s.axes?.[0].valueFormat.type === B.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
151
|
+
d = await Je({
|
|
152
152
|
queryObject: e,
|
|
153
|
-
dateField:
|
|
153
|
+
dateField: x,
|
|
154
154
|
splitByField: r,
|
|
155
155
|
queryConfig: b,
|
|
156
156
|
axisTimeZone: F,
|
|
157
|
-
temporalBinning:
|
|
157
|
+
temporalBinning: f,
|
|
158
158
|
errorStrings: a,
|
|
159
159
|
abortSignal: i
|
|
160
160
|
}), u = Array.from(
|
|
161
161
|
new Set(
|
|
162
|
-
|
|
163
|
-
const { stackedAttributes:
|
|
162
|
+
d.flatMap((S) => {
|
|
163
|
+
const { stackedAttributes: I } = S;
|
|
164
164
|
let T = [];
|
|
165
|
-
return
|
|
165
|
+
return I && (T = I.map((h) => h[r]).filter((h) => h !== void 0)), T;
|
|
166
166
|
})
|
|
167
167
|
).values()
|
|
168
168
|
);
|
|
169
169
|
} else {
|
|
170
|
-
const { uniqueQuery:
|
|
170
|
+
const { uniqueQuery: f } = de({
|
|
171
171
|
chartConfig: y,
|
|
172
172
|
queryObject: e,
|
|
173
173
|
queryConfig: l,
|
|
174
|
-
setTimeBinningInfoWhenNotProvided:
|
|
174
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
175
175
|
returnFeaturesExtent: m,
|
|
176
|
-
chartLimits:
|
|
177
|
-
}), { elementCount:
|
|
176
|
+
chartLimits: p
|
|
177
|
+
}), { elementCount: x } = await et({
|
|
178
178
|
chartConfig: y,
|
|
179
179
|
queryObject: e,
|
|
180
180
|
queryConfig: l,
|
|
181
|
-
behaviorAfterLimit:
|
|
182
|
-
numberMaxOfFeaturesToFetch:
|
|
181
|
+
behaviorAfterLimit: p?.behaviorAfterLimit,
|
|
182
|
+
numberMaxOfFeaturesToFetch: f.num,
|
|
183
183
|
abortSignal: i
|
|
184
184
|
});
|
|
185
|
-
|
|
185
|
+
d = await tt({
|
|
186
186
|
queryObject: e,
|
|
187
|
-
queryConfig:
|
|
188
|
-
featureCount:
|
|
187
|
+
queryConfig: f,
|
|
188
|
+
featureCount: x,
|
|
189
189
|
errorStrings: a,
|
|
190
190
|
abortSignal: i
|
|
191
191
|
}), u = Array.from(
|
|
192
192
|
new Set(
|
|
193
|
-
|
|
193
|
+
d.map((b) => b.attributes[r]).filter((b) => b !== void 0)
|
|
194
194
|
).values()
|
|
195
195
|
);
|
|
196
196
|
}
|
|
197
|
-
return { allValues: u, preFetchedQueryResponse:
|
|
197
|
+
return { allValues: u, preFetchedQueryResponse: d };
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Et(t, e) {
|
|
200
200
|
const s = /* @__PURE__ */ new Map();
|
|
201
201
|
return t.series.forEach((r) => {
|
|
202
202
|
let a = oe({
|
|
@@ -216,17 +216,17 @@ function Pt(t, e) {
|
|
|
216
216
|
]);
|
|
217
217
|
}), s;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function Mt(t) {
|
|
220
220
|
const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
|
|
221
221
|
return Array.from(s.keys()).forEach((i) => {
|
|
222
222
|
const n = s.get(i) ?? [];
|
|
223
223
|
let o = [];
|
|
224
|
-
r ? o = e : e.forEach((
|
|
225
|
-
n.includes(
|
|
224
|
+
r ? o = e : e.forEach((c) => {
|
|
225
|
+
n.includes(c) || o.push(c);
|
|
226
226
|
}), a.set(i, o);
|
|
227
227
|
}), a;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function $t(t) {
|
|
230
230
|
const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
|
|
231
231
|
JSON.stringify({
|
|
232
232
|
...e.series[0],
|
|
@@ -234,7 +234,7 @@ function Et(t) {
|
|
|
234
234
|
})
|
|
235
235
|
);
|
|
236
236
|
if (i.query) {
|
|
237
|
-
if (s === null ? i.id =
|
|
237
|
+
if (s === null ? i.id = W.nullValue : s === "" ? i.id = W.emptyStringValue : i.id = `${s}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
|
|
238
238
|
const o = i.id;
|
|
239
239
|
i.query.outStatistics[0].outStatisticFieldName = o, "y" in i && (i.y = o);
|
|
240
240
|
}
|
|
@@ -243,7 +243,7 @@ function Et(t) {
|
|
|
243
243
|
}
|
|
244
244
|
return i;
|
|
245
245
|
}
|
|
246
|
-
async function
|
|
246
|
+
async function Wt(t) {
|
|
247
247
|
const {
|
|
248
248
|
updateSplitBySeries: e,
|
|
249
249
|
config: s,
|
|
@@ -252,41 +252,41 @@ async function Mt(t) {
|
|
|
252
252
|
abortSignal: i,
|
|
253
253
|
runtimeDataFilters: n,
|
|
254
254
|
ignoreViewExtent: o,
|
|
255
|
-
setTimeBinningInfoWhenNotProvided:
|
|
255
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
256
256
|
returnFeaturesExtent: m,
|
|
257
|
-
chartLimits:
|
|
257
|
+
chartLimits: p
|
|
258
258
|
} = t, { seriesTemplate: u } = e ?? {};
|
|
259
|
-
let
|
|
260
|
-
if (r && !
|
|
259
|
+
let d;
|
|
260
|
+
if (r && !re(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || u !== void 0) && e.addMissingSeries) {
|
|
261
261
|
const y = s.series.length === 0;
|
|
262
262
|
s.series.length === 0 && u !== void 0 && s.series.push(u);
|
|
263
|
-
const
|
|
264
|
-
if (
|
|
265
|
-
const l =
|
|
263
|
+
const g = _(s.series);
|
|
264
|
+
if (g === P.BoxPlotMonoFieldAndSplitBy || g === P.BoxPlotMultiFieldsAndSplitBy || g === P.BoxPlotMonoFieldAndCategoryAndSplitBy || g === P.BarAndLineSplitBy || g === P.BarAndLineSplitByNoAggregation) {
|
|
265
|
+
const l = je(s.series[0]?.query?.where), f = Ue(r), x = Ze(l, f), b = x ? He(x) : !1, F = await wt({
|
|
266
266
|
queryObject: r,
|
|
267
267
|
chartConfig: s,
|
|
268
268
|
splitByField: l,
|
|
269
269
|
abortSignal: i,
|
|
270
270
|
runtimeDataFilters: n,
|
|
271
271
|
ignoreViewExtent: o,
|
|
272
|
-
setTimeBinningInfoWhenNotProvided:
|
|
272
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
273
273
|
returnFeaturesExtent: m,
|
|
274
|
-
chartLimits:
|
|
274
|
+
chartLimits: p,
|
|
275
275
|
errorStrings: a
|
|
276
|
-
}), { allValues:
|
|
277
|
-
if ({ preFetchedQueryResponse:
|
|
278
|
-
const
|
|
279
|
-
allValues:
|
|
280
|
-
configUniqueValuesPerSeriesType:
|
|
276
|
+
}), { allValues: S } = F;
|
|
277
|
+
if ({ preFetchedQueryResponse: d } = F, S.length > 0) {
|
|
278
|
+
const I = Et(s, b), T = Mt({
|
|
279
|
+
allValues: S,
|
|
280
|
+
configUniqueValuesPerSeriesType: I,
|
|
281
281
|
initialConfigWasEmpty: y
|
|
282
282
|
});
|
|
283
283
|
Array.from(T.keys()).forEach((h) => {
|
|
284
|
-
(T.get(h) ?? []).forEach((
|
|
284
|
+
(T.get(h) ?? []).forEach((N) => {
|
|
285
285
|
s.series.push(
|
|
286
|
-
|
|
286
|
+
$t({
|
|
287
287
|
chartConfig: s,
|
|
288
288
|
seriesTemplate: u,
|
|
289
|
-
missingValue:
|
|
289
|
+
missingValue: N,
|
|
290
290
|
splitByField: l
|
|
291
291
|
})
|
|
292
292
|
);
|
|
@@ -295,12 +295,12 @@ async function Mt(t) {
|
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
return
|
|
298
|
+
return d;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
301
|
-
e && !xe(e) && (e =
|
|
300
|
+
function Yt(t, e) {
|
|
301
|
+
e && !xe(e) && (e = Xe({ chartConfig: e, queryObject: t }));
|
|
302
302
|
}
|
|
303
|
-
async function
|
|
303
|
+
async function Is(t) {
|
|
304
304
|
const {
|
|
305
305
|
configToAlter: e,
|
|
306
306
|
layer: s,
|
|
@@ -309,184 +309,184 @@ async function As(t) {
|
|
|
309
309
|
chartContainer: i,
|
|
310
310
|
queryObject: n,
|
|
311
311
|
abortSignal: o,
|
|
312
|
-
runtimeDataFilters:
|
|
312
|
+
runtimeDataFilters: c,
|
|
313
313
|
ignoreViewExtent: m,
|
|
314
|
-
setTimeBinningInfoWhenNotProvided:
|
|
314
|
+
setTimeBinningInfoWhenNotProvided: p,
|
|
315
315
|
returnFeaturesExtent: u,
|
|
316
|
-
chartLimits:
|
|
316
|
+
chartLimits: d,
|
|
317
317
|
timeZone: y,
|
|
318
|
-
errorStrings:
|
|
318
|
+
errorStrings: g
|
|
319
319
|
} = t;
|
|
320
|
-
let l = e,
|
|
321
|
-
return l && (
|
|
320
|
+
let l = e, f;
|
|
321
|
+
return l && (Yt(s, l), l = await xt(l, s, void 0, o), r && n && (f = await Wt({
|
|
322
322
|
updateSplitBySeries: a,
|
|
323
323
|
config: l,
|
|
324
324
|
queryObject: n,
|
|
325
|
-
errorStrings:
|
|
325
|
+
errorStrings: g,
|
|
326
326
|
abortSignal: o,
|
|
327
|
-
runtimeDataFilters:
|
|
327
|
+
runtimeDataFilters: c,
|
|
328
328
|
ignoreViewExtent: m,
|
|
329
|
-
setTimeBinningInfoWhenNotProvided:
|
|
329
|
+
setTimeBinningInfoWhenNotProvided: p,
|
|
330
330
|
returnFeaturesExtent: u,
|
|
331
|
-
chartLimits:
|
|
332
|
-
})), l =
|
|
331
|
+
chartLimits: d
|
|
332
|
+
})), l = Pe(l, i), Ce(y, l)), { alteredConfig: l, preFetchedQueryResponse: f };
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Xt(t, e) {
|
|
335
335
|
let s = !1;
|
|
336
336
|
if (e !== void 0) {
|
|
337
|
-
const r =
|
|
337
|
+
const r = Ke({ key: st.Average, splitBy: e });
|
|
338
338
|
s = Number.isFinite(t[r]);
|
|
339
339
|
}
|
|
340
340
|
return s;
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i =
|
|
342
|
+
function Ls(t) {
|
|
343
|
+
const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = K(s);
|
|
344
344
|
let n = !1;
|
|
345
345
|
if (!r && a > 1 && e) {
|
|
346
|
-
const o =
|
|
347
|
-
switch (
|
|
348
|
-
case
|
|
349
|
-
case
|
|
350
|
-
case
|
|
351
|
-
case
|
|
352
|
-
i.series.forEach((
|
|
346
|
+
const o = Ee(e), c = Be(s?.series), m = _(s?.series), p = /* @__PURE__ */ new Set();
|
|
347
|
+
switch (c) {
|
|
348
|
+
case B.ComboLineAndBarSeries:
|
|
349
|
+
case B.BarSeries:
|
|
350
|
+
case B.RadarSeries:
|
|
351
|
+
case B.LineSeries: {
|
|
352
|
+
i.series.forEach((d) => {
|
|
353
353
|
if (Array.isArray(o)) {
|
|
354
354
|
let y = "";
|
|
355
|
-
"y" in
|
|
356
|
-
(l) =>
|
|
355
|
+
"y" in d && (y = Array.isArray(d.y) ? d.y[0] : d.y, m === P.BarAndLineSplitByNoAggregation && (y = `${y}_${oe({ where: d.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
|
|
356
|
+
(l) => Ye({
|
|
357
357
|
dataItem: l,
|
|
358
|
-
x:
|
|
358
|
+
x: d.x,
|
|
359
359
|
y,
|
|
360
360
|
aggregationType: s.series[0].query?.outStatistics?.[0]?.statisticType
|
|
361
361
|
})
|
|
362
|
-
) &&
|
|
362
|
+
) && p.add(d));
|
|
363
363
|
}
|
|
364
364
|
});
|
|
365
365
|
break;
|
|
366
366
|
}
|
|
367
|
-
case
|
|
368
|
-
if (
|
|
369
|
-
const
|
|
367
|
+
case B.BoxPlotSeries: {
|
|
368
|
+
if (Me(s)) {
|
|
369
|
+
const d = $e(s);
|
|
370
370
|
s.series.forEach((y) => {
|
|
371
|
-
let
|
|
372
|
-
y.type ===
|
|
373
|
-
(
|
|
374
|
-
dataItem:
|
|
371
|
+
let g, l;
|
|
372
|
+
y.type === B.BoxPlotSeries ? (g = e.dataItems, l = g?.some(
|
|
373
|
+
(f) => We({
|
|
374
|
+
dataItem: f,
|
|
375
375
|
splitBy: y.query?.where,
|
|
376
|
-
showOutliers:
|
|
376
|
+
showOutliers: d
|
|
377
377
|
})
|
|
378
|
-
)) : y.type ===
|
|
379
|
-
(
|
|
380
|
-
)), l &&
|
|
378
|
+
)) : y.type === B.LineSeries && (g = e.meanLines, l = g?.some(
|
|
379
|
+
(f) => Xt(f, y.query?.where)
|
|
380
|
+
)), l && p.add(y);
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
383
|
break;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
const u = Array.from(
|
|
386
|
+
const u = Array.from(p.values());
|
|
387
387
|
n = u.length > 0 && u.length < a, n && (i.series = u);
|
|
388
388
|
}
|
|
389
389
|
return { seriesFilteredOut: n, filteredConfig: i };
|
|
390
390
|
}
|
|
391
|
-
const
|
|
391
|
+
const Vs = (t) => t.hideEmptyRowsAndColumns, Ns = (t, e) => {
|
|
392
392
|
t.hideEmptyRowsAndColumns = e;
|
|
393
|
-
},
|
|
393
|
+
}, qs = (t, e) => {
|
|
394
394
|
const s = t.series[0];
|
|
395
395
|
s.heatRulesType = e;
|
|
396
|
-
},
|
|
396
|
+
}, Rs = (t) => t.series[0].heatRulesType, ks = (t, e) => {
|
|
397
397
|
const s = t.series[0];
|
|
398
398
|
s.gradientRules = e;
|
|
399
|
-
},
|
|
400
|
-
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ue(1, s), n =
|
|
401
|
-
if (typeof e == "string" && n !== e &&
|
|
399
|
+
}, Os = (t) => t.series[0].gradientRules, Ds = (t) => {
|
|
400
|
+
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ue(1, s), n = jt(s), o = z(s), c = s.series[0];
|
|
401
|
+
if (typeof e == "string" && n !== e && c && (c.y = e, Pt(s), n === i || o)) {
|
|
402
402
|
const m = D(a, e);
|
|
403
403
|
E(s, 1, m);
|
|
404
404
|
}
|
|
405
|
-
},
|
|
405
|
+
}, jt = (t) => t.series[0].y ?? "", Ps = (t) => {
|
|
406
406
|
const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
|
|
407
407
|
if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
408
408
|
const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
409
409
|
E(s, 0, i);
|
|
410
410
|
}
|
|
411
|
-
},
|
|
411
|
+
}, ws = (t) => t.series[0].xTemporalBinning, Es = (t) => {
|
|
412
412
|
const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
|
|
413
413
|
if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
414
414
|
const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
415
415
|
E(s, 1, i);
|
|
416
416
|
}
|
|
417
|
-
},
|
|
417
|
+
}, Ms = (t) => t.series[0].yTemporalBinning, Ut = (t, e) => {
|
|
418
418
|
e.orderOptions ??= {};
|
|
419
|
-
const s = e.axes?.[0]?.valueFormat?.type === "category" ?
|
|
419
|
+
const s = e.axes?.[0]?.valueFormat?.type === "category" ? q.Category : q.YValue, r = ne(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? q.Category : q.YValue, i = ne(e)[1], n = {
|
|
420
420
|
...e.orderOptions.data ?? {},
|
|
421
|
-
orderType:
|
|
421
|
+
orderType: q.MultiAxes
|
|
422
422
|
};
|
|
423
|
-
r ===
|
|
424
|
-
},
|
|
423
|
+
r === se.customSort && s === q.Category && (n.orderByX = [...t]), i === se.customSort && a === q.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
|
|
424
|
+
}, $s = (t, e) => {
|
|
425
425
|
const s = e.series[0];
|
|
426
426
|
s.gridLine && (s.gridLine.width = t);
|
|
427
|
-
},
|
|
427
|
+
}, Ws = (t) => t.series[0].gridLine?.width, Ys = (t, e) => {
|
|
428
428
|
const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
429
429
|
s.gridLine && r && (s.gridLine.color = t);
|
|
430
|
-
},
|
|
430
|
+
}, Xs = (t) => t.series[0].gridLine?.color, js = (t, e) => {
|
|
431
431
|
const s = e.legend;
|
|
432
432
|
s && (s.position = t);
|
|
433
|
-
},
|
|
434
|
-
const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], n =
|
|
433
|
+
}, Us = (t) => t.legend?.position ?? lt.Bottom, Zs = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Hs = (t) => {
|
|
434
|
+
const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], n = ee(s, r, a);
|
|
435
435
|
i ? (i.onStatisticField = e, i.outStatisticFieldName = `${i.statisticType}_${e}`) : s.series[0].query = {
|
|
436
436
|
outStatistics: [
|
|
437
437
|
{
|
|
438
438
|
onStatisticField: e,
|
|
439
|
-
outStatisticFieldName: `${
|
|
440
|
-
statisticType:
|
|
439
|
+
outStatisticFieldName: `${L.Count}_${e}`,
|
|
440
|
+
statisticType: L.Count
|
|
441
441
|
}
|
|
442
442
|
]
|
|
443
|
-
}, n && s.title && (s.title.content.text =
|
|
444
|
-
},
|
|
445
|
-
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n =
|
|
446
|
-
i && e !==
|
|
447
|
-
},
|
|
443
|
+
}, n && s.title && (s.title.content.text = Z(s, r, a));
|
|
444
|
+
}, Ks = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, _s = (t) => {
|
|
445
|
+
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n = ee(s, r, a);
|
|
446
|
+
i && e !== L.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === L.Count || e === L.Sum) && Zt($.Zero, s), n && s.title && (s.title.content.text = Z(s, r, a));
|
|
447
|
+
}, Qs = (t) => t.nullPolicy, Zt = (t, e) => {
|
|
448
448
|
e.nullPolicy = t;
|
|
449
|
-
},
|
|
449
|
+
}, zs = (t) => t.series[0].emptyCells, Gs = (t, e) => {
|
|
450
450
|
e.series[0].emptyCells = t;
|
|
451
|
-
},
|
|
451
|
+
}, Js = (t) => t.series[0].emptyCells?.text, ei = (t, e) => {
|
|
452
452
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
453
|
-
},
|
|
453
|
+
}, ti = (t) => t.includeLeapDay, si = (t, e) => {
|
|
454
454
|
e.includeLeapDay = t;
|
|
455
|
-
},
|
|
455
|
+
}, ii = (t) => t.series[0].emptyCells?.symbol, ai = (t, e) => {
|
|
456
456
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
457
457
|
};
|
|
458
|
-
function
|
|
458
|
+
function ri(t) {
|
|
459
459
|
return t.viewType;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
462
|
-
|
|
461
|
+
function ni(t, e) {
|
|
462
|
+
it(e) || (e.viewType = t);
|
|
463
463
|
}
|
|
464
|
-
function
|
|
465
|
-
return t.series[0].classBreaksRules?.breaksCount ??
|
|
464
|
+
function li(t) {
|
|
465
|
+
return t.series[0].classBreaksRules?.breaksCount ?? W.classBreaks.breaksCount;
|
|
466
466
|
}
|
|
467
|
-
function
|
|
468
|
-
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ??
|
|
469
|
-
breaksCount: t ??
|
|
467
|
+
function oi(t, e) {
|
|
468
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? W.classBreaks.breaksCount : e.series[0].classBreaksRules = {
|
|
469
|
+
breaksCount: t ?? W.classBreaks.breaksCount
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function ui(t) {
|
|
473
473
|
return t.series[0].classBreaksRules?.classificationMethod;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function ci(t, e) {
|
|
476
476
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
|
|
477
477
|
classificationMethod: t
|
|
478
|
-
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ??
|
|
478
|
+
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? W.classBreaks.breaksCount;
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function di(t, e) {
|
|
481
481
|
e.firstDayOfWeek = t;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function yi(t) {
|
|
484
484
|
return t.firstDayOfWeek;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function mi(t) {
|
|
487
487
|
return t.series[0].classBreaksRules?.colorRampInfo?.name;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function pi(t, e) {
|
|
490
490
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
491
491
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
492
492
|
name: t
|
|
@@ -497,10 +497,10 @@ function yi(t, e) {
|
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function gi(t) {
|
|
501
501
|
return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function fi(t, e) {
|
|
504
504
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
505
505
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
506
506
|
flipped: t
|
|
@@ -510,45 +510,45 @@ function pi(t, e) {
|
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
|
-
function
|
|
514
|
-
const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, o =
|
|
515
|
-
let
|
|
513
|
+
function X(t) {
|
|
514
|
+
const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, o = U(i?.layer).idField;
|
|
515
|
+
let c;
|
|
516
516
|
const m = a.series[e ?? 0];
|
|
517
|
-
let
|
|
517
|
+
let p = !1, u = !1, d = !1;
|
|
518
518
|
if (m === void 0) {
|
|
519
519
|
const l = a.series;
|
|
520
|
-
|
|
520
|
+
p = l.slice(0, e).every((f) => A(f)), u = l.slice(0, e).every((f) => v(f)), d = l.slice(0, e).every((f) => Se(f));
|
|
521
521
|
} else
|
|
522
|
-
|
|
523
|
-
|
|
522
|
+
p = A(m), u = v(m), d = Se(m);
|
|
523
|
+
p ? c = pt({
|
|
524
524
|
commonStrings: n,
|
|
525
525
|
seriesIndex: e,
|
|
526
526
|
objectIDField: o
|
|
527
|
-
}) : u ?
|
|
527
|
+
}) : u ? c = gt({
|
|
528
528
|
commonStrings: n,
|
|
529
529
|
seriesIndex: e,
|
|
530
530
|
objectIDField: o
|
|
531
|
-
}) :
|
|
531
|
+
}) : d ? c = ft(n, o) : c = St({
|
|
532
532
|
seriesIndex: e,
|
|
533
533
|
objectIDField: o,
|
|
534
534
|
commonStrings: n
|
|
535
535
|
});
|
|
536
|
-
const y = a.series[0]?.dataLabels,
|
|
537
|
-
...
|
|
536
|
+
const y = a.series[0]?.dataLabels, g = {
|
|
537
|
+
...c,
|
|
538
538
|
x: s,
|
|
539
539
|
y: "",
|
|
540
540
|
dataLabels: {
|
|
541
|
-
...
|
|
542
|
-
type:
|
|
543
|
-
content: { ...
|
|
541
|
+
...c.dataLabels,
|
|
542
|
+
type: c.dataLabels?.type ?? B.Text,
|
|
543
|
+
content: { ...c.dataLabels?.content, ...y?.content, type: ct.TS },
|
|
544
544
|
visible: y?.visible ?? !1
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
if (
|
|
547
|
+
if (g.query = {
|
|
548
548
|
groupByFieldsForStatistics: [s]
|
|
549
|
-
}, r !==
|
|
549
|
+
}, r !== L.NoAggregation && o !== void 0) {
|
|
550
550
|
const l = `${r}_${o}_0`.toUpperCase();
|
|
551
|
-
|
|
551
|
+
g.y = l, g.query.outStatistics = [
|
|
552
552
|
{
|
|
553
553
|
statisticType: r,
|
|
554
554
|
onStatisticField: o,
|
|
@@ -556,17 +556,17 @@ function Y(t) {
|
|
|
556
556
|
}
|
|
557
557
|
];
|
|
558
558
|
}
|
|
559
|
-
if (
|
|
560
|
-
let l =
|
|
561
|
-
l ===
|
|
559
|
+
if (k(a.series[0]) && k(g)) {
|
|
560
|
+
let l = It(a);
|
|
561
|
+
l === ae.Quarter && (l = ae.Month), g.temporalBinning = {
|
|
562
562
|
...a.series[0]?.temporalBinning,
|
|
563
563
|
unit: l
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
|
-
return
|
|
566
|
+
return K(g);
|
|
567
567
|
}
|
|
568
|
-
function
|
|
569
|
-
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } =
|
|
568
|
+
function Z(t, e, s) {
|
|
569
|
+
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = U(e.layer), n = Y(t), o = J(t), c = Ae(t), m = G(t), p = i && (o.length === 0 || o.includes(a)), u = mt(c, s), d = p ? "" : o.map((F) => D(r ?? [], F)).join(", "), y = D(r ?? [], n), g = D(r ?? [], m), l = t.series.some((F) => O(F)), f = l ? "category" : "xAxisField", x = y;
|
|
570
570
|
let b = "";
|
|
571
571
|
if (Te({
|
|
572
572
|
fieldName: n,
|
|
@@ -575,53 +575,53 @@ function U(t, e, s) {
|
|
|
575
575
|
}))
|
|
576
576
|
b = w(s.titleLabels.aggrTypeOfAggrFields, {
|
|
577
577
|
aggregationType: u,
|
|
578
|
-
aggregationFields:
|
|
578
|
+
aggregationFields: d
|
|
579
579
|
});
|
|
580
|
-
else if (
|
|
581
|
-
const F =
|
|
580
|
+
else if (c === L.NoAggregation) {
|
|
581
|
+
const F = p ? a : d;
|
|
582
582
|
if (m === "") {
|
|
583
|
-
const
|
|
584
|
-
b = w(s.titleLabels[
|
|
583
|
+
const S = l ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
584
|
+
b = w(s.titleLabels[S], {
|
|
585
585
|
aggregationType: F,
|
|
586
|
-
[
|
|
586
|
+
[f]: x
|
|
587
587
|
});
|
|
588
588
|
} else {
|
|
589
|
-
const
|
|
590
|
-
b = w(s.titleLabels[
|
|
589
|
+
const S = l ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
590
|
+
b = w(s.titleLabels[S], {
|
|
591
591
|
aggregationType: F,
|
|
592
|
-
[
|
|
593
|
-
splitByField:
|
|
592
|
+
[f]: x,
|
|
593
|
+
splitByField: g
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
|
-
} else if (
|
|
596
|
+
} else if (c === L.Count)
|
|
597
597
|
if (m === "") {
|
|
598
598
|
const F = l ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
599
599
|
b = w(s.titleLabels[F], {
|
|
600
600
|
aggregationType: u,
|
|
601
|
-
[
|
|
601
|
+
[f]: x
|
|
602
602
|
});
|
|
603
603
|
} else {
|
|
604
604
|
const F = l ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
605
605
|
b = w(s.titleLabels[F], {
|
|
606
606
|
aggregationType: u,
|
|
607
|
-
[
|
|
608
|
-
splitByField:
|
|
607
|
+
[f]: x,
|
|
608
|
+
splitByField: g
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
611
|
else if (m !== "") {
|
|
612
612
|
const F = l ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
613
613
|
b = w(s.titleLabels[F], {
|
|
614
614
|
aggregationType: u,
|
|
615
|
-
aggregationField:
|
|
616
|
-
[
|
|
617
|
-
splitByField:
|
|
615
|
+
aggregationField: d,
|
|
616
|
+
[f]: x,
|
|
617
|
+
splitByField: g
|
|
618
618
|
});
|
|
619
619
|
} else if (o.length > 0) {
|
|
620
620
|
const F = l ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
621
621
|
b = w(s.titleLabels[F], {
|
|
622
622
|
aggregationType: u,
|
|
623
|
-
aggregationFields:
|
|
624
|
-
[
|
|
623
|
+
aggregationFields: d,
|
|
624
|
+
[f]: x
|
|
625
625
|
});
|
|
626
626
|
}
|
|
627
627
|
return b;
|
|
@@ -630,15 +630,15 @@ const be = (t) => oe({
|
|
|
630
630
|
where: t.query?.where,
|
|
631
631
|
normalize: !1,
|
|
632
632
|
escape: !1
|
|
633
|
-
}) ?? "", Ae = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
633
|
+
}) ?? "", Ae = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? L.NoAggregation, G = Re(
|
|
634
634
|
(t) => {
|
|
635
635
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
636
|
-
return
|
|
636
|
+
return at(t?.series?.[0]?.query?.where) ? "" : e;
|
|
637
637
|
},
|
|
638
638
|
(t) => t?.series?.[0]?.query?.where
|
|
639
|
-
),
|
|
639
|
+
), J = (t) => {
|
|
640
640
|
let e = [];
|
|
641
|
-
if (
|
|
641
|
+
if (G(t) === "")
|
|
642
642
|
e = t?.series.map((s) => {
|
|
643
643
|
const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
644
644
|
return r?.length > 0 ? r : s.y;
|
|
@@ -650,44 +650,44 @@ const be = (t) => oe({
|
|
|
650
650
|
return e.filter((s) => s !== "");
|
|
651
651
|
};
|
|
652
652
|
function ve(t) {
|
|
653
|
-
const { splitByField: e, numericFields: s, layer: r, seriesIndex: a } = t, i =
|
|
653
|
+
const { splitByField: e, numericFields: s, layer: r, seriesIndex: a } = t, i = U(r).idField ?? "";
|
|
654
654
|
return e === "" ? s[a] ?? i : s[0] ?? i;
|
|
655
655
|
}
|
|
656
656
|
function Ht(t) {
|
|
657
657
|
const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
|
|
658
658
|
let i = !1;
|
|
659
|
-
s ===
|
|
660
|
-
const m = a.layerFieldsInfo.find((
|
|
659
|
+
s === L.Count ? i = !0 : s === L.NoAggregation && (i = e.every((c) => {
|
|
660
|
+
const m = a.layerFieldsInfo.find((p) => p.name === c);
|
|
661
661
|
return m !== void 0 ? me(m) : !1;
|
|
662
662
|
})), ce(r, 1, i);
|
|
663
|
-
const n = r.series.some((
|
|
663
|
+
const n = r.series.some((c) => A(c)), o = r.series.some((c) => v(c));
|
|
664
664
|
if (n || o) {
|
|
665
|
-
const
|
|
666
|
-
ce(r, 0,
|
|
665
|
+
const c = Y(r), m = a.layerFieldsInfo.find((u) => u.name === c), p = m !== void 0 && me(m);
|
|
666
|
+
ce(r, 0, p);
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
const
|
|
669
|
+
const ne = (t) => {
|
|
670
670
|
let e;
|
|
671
|
-
if (
|
|
672
|
-
const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ?
|
|
671
|
+
if (M(t)) {
|
|
672
|
+
const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? q.Category : q.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? q.Category : q.YValue;
|
|
673
673
|
e = [pe(s, a), pe(r, i)];
|
|
674
674
|
} else {
|
|
675
|
-
const s = t.orderOptions?.data?.orderType ??
|
|
676
|
-
e = [
|
|
675
|
+
const s = t.orderOptions?.data?.orderType ?? q.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : ot.Ascending;
|
|
676
|
+
e = [nt(r, s)];
|
|
677
677
|
}
|
|
678
678
|
return e;
|
|
679
679
|
};
|
|
680
|
-
function
|
|
680
|
+
function Kt(t) {
|
|
681
681
|
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i;
|
|
682
|
-
let
|
|
683
|
-
const m =
|
|
682
|
+
let c = !1;
|
|
683
|
+
const m = X({
|
|
684
684
|
config: a,
|
|
685
685
|
xAxisField: e,
|
|
686
686
|
aggregationType: r,
|
|
687
687
|
layerInfo: i,
|
|
688
688
|
seriesIndex: 0,
|
|
689
689
|
commonStrings: n
|
|
690
|
-
}),
|
|
690
|
+
}), p = Q({
|
|
691
691
|
config: a,
|
|
692
692
|
xAxisField: e,
|
|
693
693
|
numericFields: s,
|
|
@@ -698,31 +698,31 @@ function Ut(t) {
|
|
|
698
698
|
...m,
|
|
699
699
|
id: `series_${Date.now()}`,
|
|
700
700
|
name: n.axisLabels.values,
|
|
701
|
-
x:
|
|
702
|
-
y:
|
|
703
|
-
},
|
|
704
|
-
for (const
|
|
705
|
-
|
|
706
|
-
onStatisticField:
|
|
707
|
-
outStatisticFieldName: `${
|
|
701
|
+
x: ie,
|
|
702
|
+
y: p
|
|
703
|
+
}, d = [];
|
|
704
|
+
for (const g of s)
|
|
705
|
+
d.push({
|
|
706
|
+
onStatisticField: g,
|
|
707
|
+
outStatisticFieldName: `${g}_0`.toUpperCase(),
|
|
708
708
|
statisticType: r
|
|
709
709
|
});
|
|
710
|
-
u.query = { outStatistics:
|
|
710
|
+
u.query = { outStatistics: d };
|
|
711
711
|
const y = a.series[0];
|
|
712
|
-
return y !== void 0 && (u.id = y.id, (A(u) && A(y) || v(u) && v(y)) &&
|
|
712
|
+
return y !== void 0 && (u.id = y.id, (A(u) && A(y) || v(u) && v(y)) && j(u, y), a.colorMatch || (O(y) && O(u) ? u.fillSymbol = y.fillSymbol : (A(u) && A(y) || v(u) && v(y)) && (u.lineSymbol = y.lineSymbol, u.markerSymbol = y.markerSymbol), c = !0), u.id = y.id, y.name !== m.name && (u.name = y.name)), a.series.length === 1 && ((A(u) || v(u)) && j(u, a.series[0]), a.colorMatch || (O(u) ? u.fillSymbol = a.series[0].fillSymbol : (A(u) || v(u)) && (u.lineSymbol = a.series[0].lineSymbol, u.markerSymbol = a.series[0].markerSymbol), c = !0)), a.colorMatch = !c, [u];
|
|
713
713
|
}
|
|
714
714
|
function Ie(t) {
|
|
715
|
-
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i,
|
|
716
|
-
let
|
|
715
|
+
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i, c = U(i.layer).idField, m = [];
|
|
716
|
+
let p = !1;
|
|
717
717
|
for (let l = 0; l < s.length; l += 1) {
|
|
718
|
-
const
|
|
718
|
+
const f = X({
|
|
719
719
|
config: a,
|
|
720
720
|
xAxisField: e,
|
|
721
721
|
aggregationType: r,
|
|
722
722
|
layerInfo: i,
|
|
723
723
|
seriesIndex: l,
|
|
724
724
|
commonStrings: n
|
|
725
|
-
}),
|
|
725
|
+
}), x = a.series[l]?.y, b = typeof x == "string" && x.trim() !== "" && !o.find((h) => h.name === x) ? x : Q({
|
|
726
726
|
config: a,
|
|
727
727
|
xAxisField: e,
|
|
728
728
|
numericFields: s,
|
|
@@ -731,32 +731,32 @@ function Ie(t) {
|
|
|
731
731
|
numericFieldIndex: l,
|
|
732
732
|
fieldList: o
|
|
733
733
|
}).name, F = s[l];
|
|
734
|
-
let
|
|
735
|
-
...
|
|
734
|
+
let S = {
|
|
735
|
+
...f,
|
|
736
736
|
query: {
|
|
737
|
-
...
|
|
737
|
+
...f.query
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
|
-
s && F !==
|
|
741
|
-
...
|
|
740
|
+
s && F !== c && (S = {
|
|
741
|
+
...S,
|
|
742
742
|
id: F,
|
|
743
743
|
name: D(o, F)
|
|
744
744
|
});
|
|
745
|
-
let
|
|
746
|
-
|
|
745
|
+
let I = F;
|
|
746
|
+
S.query !== void 0 && (r !== L.NoAggregation ? (I = b, S.query.outStatistics = [
|
|
747
747
|
{
|
|
748
|
-
...
|
|
748
|
+
...f.query?.outStatistics?.[0] ?? {},
|
|
749
749
|
onStatisticField: F,
|
|
750
750
|
outStatisticFieldName: b,
|
|
751
751
|
statisticType: r
|
|
752
752
|
}
|
|
753
|
-
]) : delete
|
|
753
|
+
]) : delete S.query.outStatistics), S.y = I;
|
|
754
754
|
const T = a.series.find(
|
|
755
755
|
(h) => h.query?.outStatistics?.[0]?.onStatisticField === F && h.query.where === void 0 || h.query?.outStatistics === void 0 && (h.y === F || h.x === F)
|
|
756
756
|
);
|
|
757
757
|
if (T !== void 0 && typeof T.y == "string" && T.y.trim() !== "") {
|
|
758
|
-
(A(
|
|
759
|
-
const h =
|
|
758
|
+
(A(S) && A(T) || v(S) && v(T)) && j(S, T), a.colorMatch || (O(S) && O(T) ? S.fillSymbol = T.fillSymbol : (A(S) && A(T) || v(S) && v(T)) && (S.lineSymbol = T.lineSymbol, S.markerSymbol = T.markerSymbol), p = !0);
|
|
759
|
+
const h = X({
|
|
760
760
|
config: a,
|
|
761
761
|
xAxisField: e,
|
|
762
762
|
aggregationType: r,
|
|
@@ -764,24 +764,24 @@ function Ie(t) {
|
|
|
764
764
|
seriesIndex: l,
|
|
765
765
|
commonStrings: n
|
|
766
766
|
});
|
|
767
|
-
|
|
767
|
+
S.id = T.id, T.id !== h.id && T.name !== h.name && (S.id = T.id, S.name = T.name), S.assignToSecondValueAxis = T.assignToSecondValueAxis, S.type === B.HeatSeries && T.type === B.HeatSeries && (S.y = T.y, S.heatRulesType = T.heatRulesType);
|
|
768
768
|
}
|
|
769
|
-
m.push(
|
|
769
|
+
m.push(S);
|
|
770
770
|
}
|
|
771
|
-
const u = m.filter((l) => O(l)),
|
|
771
|
+
const u = m.filter((l) => O(l)), d = m.filter(
|
|
772
772
|
(l) => A(l) || v(l)
|
|
773
|
-
), y = a.series.filter((l) => O(l)),
|
|
773
|
+
), y = a.series.filter((l) => O(l)), g = a.series.filter(
|
|
774
774
|
(l) => A(l) || v(l)
|
|
775
775
|
);
|
|
776
|
-
return y.length === 1 && u.length === 1 && !a.colorMatch && (O(y[0]) && O(u[0]) && (u[0].fillSymbol = y[0].fillSymbol),
|
|
776
|
+
return y.length === 1 && u.length === 1 && !a.colorMatch && (O(y[0]) && O(u[0]) && (u[0].fillSymbol = y[0].fillSymbol), p = !0), g.length === 1 && d.length === 1 && ((A(g[0]) && A(d[0]) || v(g[0]) && v(d[0])) && j(d[0], g[0]), a.colorMatch || ((A(g[0]) && A(d[0]) || v(g[0]) && v(d[0])) && (d[0].lineSymbol = g[0].lineSymbol, d[0].markerSymbol = g[0].markerSymbol), p = !0)), a.colorMatch = !p, m;
|
|
777
777
|
}
|
|
778
|
-
function
|
|
779
|
-
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o =
|
|
780
|
-
if (s.series.forEach((
|
|
781
|
-
const
|
|
778
|
+
function Si(t) {
|
|
779
|
+
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o = Y(s), c = J(s), m = G(s), p = ee(s, r, a), u = Le(s, r, a);
|
|
780
|
+
if (s.series.forEach((d, y) => {
|
|
781
|
+
const g = Q({
|
|
782
782
|
config: s,
|
|
783
783
|
xAxisField: o,
|
|
784
|
-
numericFields:
|
|
784
|
+
numericFields: c,
|
|
785
785
|
aggregationType: e,
|
|
786
786
|
splitByField: m,
|
|
787
787
|
layer: n,
|
|
@@ -789,36 +789,36 @@ function gi(t) {
|
|
|
789
789
|
numericFieldIndex: y,
|
|
790
790
|
fieldList: i
|
|
791
791
|
}).name;
|
|
792
|
-
|
|
792
|
+
d.y = g;
|
|
793
793
|
const l = ve({
|
|
794
794
|
splitByField: m,
|
|
795
|
-
numericFields:
|
|
795
|
+
numericFields: c,
|
|
796
796
|
layer: n,
|
|
797
797
|
seriesIndex: y
|
|
798
|
-
}),
|
|
799
|
-
|
|
800
|
-
...
|
|
801
|
-
outStatistics: e ===
|
|
798
|
+
}), f = d.query?.outStatistics?.[0]?.onStatisticField ?? l;
|
|
799
|
+
d.query = {
|
|
800
|
+
...d.query,
|
|
801
|
+
outStatistics: e === L.NoAggregation ? void 0 : [
|
|
802
802
|
{
|
|
803
|
-
...
|
|
804
|
-
outStatisticFieldName:
|
|
803
|
+
...d.query?.outStatistics?.[0],
|
|
804
|
+
outStatisticFieldName: g,
|
|
805
805
|
statisticType: e,
|
|
806
|
-
onStatisticField:
|
|
806
|
+
onStatisticField: f
|
|
807
807
|
}
|
|
808
808
|
]
|
|
809
|
-
}, "temporalBinning" in
|
|
810
|
-
}),
|
|
811
|
-
const
|
|
809
|
+
}, "temporalBinning" in d && d.temporalBinning !== void 0 && (d.temporalBinning.nullPolicy = e === L.NoAggregation ? $.Interpolate : $.Null), e === L.NoAggregation && Nt(s);
|
|
810
|
+
}), p && s.title && (s.title.content.text = Z(s, r, a)), u && s.series[0].type !== B.HeatSeries) {
|
|
811
|
+
const d = le({
|
|
812
812
|
config: s,
|
|
813
813
|
layerInfo: r,
|
|
814
814
|
commonStrings: a,
|
|
815
|
-
numericFields:
|
|
815
|
+
numericFields: c,
|
|
816
816
|
aggregationType: e
|
|
817
817
|
});
|
|
818
|
-
E(s, 1,
|
|
818
|
+
E(s, 1, d);
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function _t(t) {
|
|
822
822
|
const {
|
|
823
823
|
splitByField: e,
|
|
824
824
|
xAxisField: s,
|
|
@@ -827,16 +827,16 @@ function Zt(t) {
|
|
|
827
827
|
config: i,
|
|
828
828
|
layerInfo: n,
|
|
829
829
|
commonStrings: o,
|
|
830
|
-
splitByFieldInfos:
|
|
831
|
-
} = t, { layer: m, layerFieldsInfo:
|
|
830
|
+
splitByFieldInfos: c
|
|
831
|
+
} = t, { layer: m, layerFieldsInfo: p } = n, { categoriesArray: u, splitByFieldType: d } = c, y = ve({
|
|
832
832
|
splitByField: e,
|
|
833
833
|
numericFields: r,
|
|
834
834
|
layer: m,
|
|
835
835
|
seriesIndex: 0
|
|
836
836
|
});
|
|
837
|
-
let
|
|
837
|
+
let g = [], l = !1;
|
|
838
838
|
if (u.length === 0) {
|
|
839
|
-
|
|
839
|
+
g = Ie({
|
|
840
840
|
xAxisField: s,
|
|
841
841
|
numericFields: r,
|
|
842
842
|
aggregationType: a,
|
|
@@ -844,39 +844,39 @@ function Zt(t) {
|
|
|
844
844
|
layerInfo: n,
|
|
845
845
|
commonStrings: o
|
|
846
846
|
});
|
|
847
|
-
for (const
|
|
848
|
-
|
|
847
|
+
for (const f of g)
|
|
848
|
+
f.query && (f.query.where = `${e}=''`);
|
|
849
849
|
} else
|
|
850
|
-
for (let
|
|
851
|
-
const
|
|
850
|
+
for (let f = 0; f < u.length; f += 1) {
|
|
851
|
+
const x = u[f], b = Q({
|
|
852
852
|
config: i,
|
|
853
853
|
xAxisField: s,
|
|
854
854
|
numericFields: r,
|
|
855
855
|
aggregationType: a,
|
|
856
856
|
layer: n.layer,
|
|
857
|
-
seriesIndex:
|
|
857
|
+
seriesIndex: f,
|
|
858
858
|
splitByField: e,
|
|
859
|
-
fieldList:
|
|
860
|
-
}).name, F =
|
|
859
|
+
fieldList: p
|
|
860
|
+
}).name, F = X({
|
|
861
861
|
config: i,
|
|
862
862
|
xAxisField: s,
|
|
863
863
|
aggregationType: a,
|
|
864
864
|
layerInfo: n,
|
|
865
|
-
seriesIndex:
|
|
865
|
+
seriesIndex: f,
|
|
866
866
|
commonStrings: o
|
|
867
|
-
}),
|
|
867
|
+
}), S = he({
|
|
868
868
|
queryObject: n.layer,
|
|
869
869
|
fieldName: e,
|
|
870
|
-
fieldValue:
|
|
871
|
-
}),
|
|
870
|
+
fieldValue: x ?? ""
|
|
871
|
+
}), I = `${x}`, h = {
|
|
872
872
|
...F,
|
|
873
|
-
id:
|
|
874
|
-
name:
|
|
873
|
+
id: I,
|
|
874
|
+
name: S ?? I,
|
|
875
875
|
y: b,
|
|
876
876
|
query: {
|
|
877
877
|
...F.query,
|
|
878
|
-
where: `${e}=${
|
|
879
|
-
outStatistics: a !==
|
|
878
|
+
where: `${e}=${d === dt.String && x !== null ? `'${x}'` : x}`,
|
|
879
|
+
outStatistics: a !== L.NoAggregation ? [
|
|
880
880
|
{
|
|
881
881
|
...F.query?.outStatistics?.[0] ?? {},
|
|
882
882
|
onStatisticField: y,
|
|
@@ -885,14 +885,14 @@ function Zt(t) {
|
|
|
885
885
|
}
|
|
886
886
|
] : void 0
|
|
887
887
|
}
|
|
888
|
-
},
|
|
889
|
-
(
|
|
888
|
+
}, V = i.series.find(
|
|
889
|
+
(N) => String(be(N)).trim().replace(/'/gu, "") === I
|
|
890
890
|
);
|
|
891
|
-
|
|
891
|
+
V !== void 0 && ((A(h) && A(V) || v(h) && v(V)) && j(h, V), i.colorMatch || (O(h) && O(V) ? h.fillSymbol = V.fillSymbol : (A(h) && A(V) || v(h) && v(V)) && (h.lineSymbol = V.lineSymbol, h.markerSymbol = V.markerSymbol), l = !0), h.id = V.id, h.name = V.name, h.assignToSecondValueAxis = V.assignToSecondValueAxis), h.query && (h.query.fetchNullValues = i.series.some((N) => N.query?.fetchNullValues)), g.push(h);
|
|
892
892
|
}
|
|
893
|
-
return i.colorMatch = !l,
|
|
893
|
+
return i.colorMatch = !l, g;
|
|
894
894
|
}
|
|
895
|
-
const
|
|
895
|
+
const Fi = (t) => {
|
|
896
896
|
const {
|
|
897
897
|
xAxisFieldName: e,
|
|
898
898
|
splitByField: s,
|
|
@@ -901,21 +901,21 @@ const fi = (t) => {
|
|
|
901
901
|
config: i,
|
|
902
902
|
layerInfo: n,
|
|
903
903
|
commonStrings: o,
|
|
904
|
-
splitByFieldInfos:
|
|
905
|
-
} = t, { layerFieldsInfo: m } = n ?? {},
|
|
906
|
-
let
|
|
907
|
-
const
|
|
908
|
-
|
|
909
|
-
let
|
|
910
|
-
if (
|
|
911
|
-
|
|
904
|
+
splitByFieldInfos: c
|
|
905
|
+
} = t, { layerFieldsInfo: m } = n ?? {}, p = K(i), u = At(i), d = Y(p), y = m.find((C) => C.name === d), g = p.series[0].query?.fetchNullValues, l = "nullCategory" in p.series?.[0] ? p.series[0].nullCategory : void 0, f = p.series[0]?.query === void 0, x = m.find((C) => C.name === e), b = ee(p, n, o), F = Le(p, n, o), S = Qt(p, n);
|
|
906
|
+
let I = Fe(i);
|
|
907
|
+
const T = p.series.some((C) => O(C)), h = ht(p.series), V = Tt(p.series), N = {};
|
|
908
|
+
M(p) && (N.classBreaksRules = p.series[0]?.classBreaksRules, N.xTemporalBinning = p.series[0]?.xTemporalBinning, N.yTemporalBinning = p.series[0]?.yTemporalBinning, N.emptyCells = p.series[0]?.emptyCells, N.nullPolicy = p.nullPolicy);
|
|
909
|
+
let te = !1;
|
|
910
|
+
if (rt(x) ? I = ge() : !ye(y) && ye(x) ? I = fe() : !H(y) && H(x) ? (I = fe(), te = !0) : H(y) && !H(x) && (T ? I = ge() : I = Ft(), te = !0), I !== void 0 && Oe(i, o, I), u === 0 && (i.series = [
|
|
911
|
+
X({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
|
|
912
912
|
]), i.series.forEach((C) => {
|
|
913
913
|
C.x = e, C.query !== void 0 && (C.query.groupByFieldsForStatistics = [e]);
|
|
914
914
|
}), s === "" || r.length > 1 ? Te({
|
|
915
915
|
fieldName: e,
|
|
916
916
|
numericFields: r,
|
|
917
917
|
fieldList: m
|
|
918
|
-
}) ? i.series =
|
|
918
|
+
}) ? i.series = Kt({
|
|
919
919
|
config: i,
|
|
920
920
|
layerInfo: n,
|
|
921
921
|
xAxisField: e,
|
|
@@ -929,7 +929,7 @@ const fi = (t) => {
|
|
|
929
929
|
numericFields: r,
|
|
930
930
|
aggregationType: a,
|
|
931
931
|
commonStrings: o
|
|
932
|
-
}) :
|
|
932
|
+
}) : c && (i.series = _t({
|
|
933
933
|
config: i,
|
|
934
934
|
layerInfo: n,
|
|
935
935
|
splitByField: s,
|
|
@@ -937,12 +937,12 @@ const fi = (t) => {
|
|
|
937
937
|
numericFields: r,
|
|
938
938
|
aggregationType: a,
|
|
939
939
|
commonStrings: o,
|
|
940
|
-
splitByFieldInfos:
|
|
941
|
-
})),
|
|
940
|
+
splitByFieldInfos: c
|
|
941
|
+
})), S && i.series[0].type !== B.HeatSeries) {
|
|
942
942
|
const C = D(m, e);
|
|
943
943
|
E(i, 0, C);
|
|
944
944
|
}
|
|
945
|
-
if (
|
|
945
|
+
if (F && i.series[0].type !== B.HeatSeries) {
|
|
946
946
|
const C = le({
|
|
947
947
|
config: i,
|
|
948
948
|
layerInfo: n,
|
|
@@ -952,30 +952,33 @@ const fi = (t) => {
|
|
|
952
952
|
});
|
|
953
953
|
E(i, 1, C);
|
|
954
954
|
}
|
|
955
|
-
if (
|
|
956
|
-
const C =
|
|
957
|
-
|
|
955
|
+
if (b && i.title && (i.title.content.text = Z(i, n, o)), R({ config: i, value: null, axisIndex: 1, isMax: !1 }), R({ config: i, value: null, axisIndex: 1, isMax: !0 }), Ht({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (h || V) && (R({ config: i, value: null, axisIndex: 0, isMax: !1 }), R({ config: i, value: null, axisIndex: 0, isMax: !0 }), te && a !== L.NoAggregation)) {
|
|
956
|
+
const C = I?.type === B.DateAxisFormat ? $.Null : $.Interpolate;
|
|
957
|
+
Vt(C, i);
|
|
958
958
|
}
|
|
959
|
-
|
|
959
|
+
M(i) && (i.series[0].classBreaksRules = N.classBreaksRules, i.series[0].xTemporalBinning = N.xTemporalBinning, i.series[0].yTemporalBinning = N.yTemporalBinning, i.series[0].emptyCells = N.emptyCells, i.nullPolicy = N.nullPolicy), f ? i.series.forEach((C) => {
|
|
960
960
|
delete C.query;
|
|
961
|
-
}) :
|
|
962
|
-
C.query && (C.query.fetchNullValues =
|
|
963
|
-
}),
|
|
964
|
-
(C.type ===
|
|
961
|
+
}) : g && i.series.forEach((C) => {
|
|
962
|
+
C.query && (C.query.fetchNullValues = g);
|
|
963
|
+
}), l && i.series.forEach((C) => {
|
|
964
|
+
(C.type === B.BarSeries || C.type === B.LineSeries || C.type === B.RadarSeries) && (C.nullCategory = l);
|
|
965
|
+
}), i.series.forEach((C) => {
|
|
966
|
+
const Ve = p.series.find((Ne) => Ne.id === C.id)?.visible;
|
|
967
|
+
C.visible = Ve;
|
|
965
968
|
});
|
|
966
|
-
},
|
|
969
|
+
}, j = (t, e) => {
|
|
967
970
|
t.markerVisible = e.markerVisible, t.lineSmoothed = e.lineSmoothed, t.showArea = e.showArea, t.areaColor = e.areaColor, t.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (t.lineSymbol = { ...e.lineSymbol, color: t.lineSymbol?.color }), e.markerSymbol && (t.markerSymbol = {
|
|
968
971
|
...e.markerSymbol,
|
|
969
972
|
color: t.markerSymbol?.color
|
|
970
973
|
});
|
|
971
|
-
},
|
|
972
|
-
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n =
|
|
974
|
+
}, hi = (t) => {
|
|
975
|
+
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = G(e);
|
|
973
976
|
let o;
|
|
974
|
-
if (
|
|
977
|
+
if (_(e.series) === P.BarAndLineFromFields)
|
|
975
978
|
o = a.axisLabels.values;
|
|
976
|
-
else if (
|
|
979
|
+
else if (qe(n)) {
|
|
977
980
|
const m = i.query?.outStatistics?.[0]?.onStatisticField;
|
|
978
|
-
m !== void 0 && m !==
|
|
981
|
+
m !== void 0 && m !== U(r.layer).idField && (o = D(r.layerFieldsInfo, m));
|
|
979
982
|
} else {
|
|
980
983
|
const m = String(be(i)).trim().replace(/'/gu, "");
|
|
981
984
|
o = he({
|
|
@@ -985,29 +988,29 @@ const fi = (t) => {
|
|
|
985
988
|
}) ?? m;
|
|
986
989
|
}
|
|
987
990
|
return o ?? i.id;
|
|
988
|
-
},
|
|
989
|
-
if (
|
|
990
|
-
|
|
991
|
+
}, Ti = (t, e) => {
|
|
992
|
+
if (M(e))
|
|
993
|
+
Ut(t, e);
|
|
991
994
|
else {
|
|
992
995
|
e.orderOptions ??= {};
|
|
993
996
|
const s = e.orderOptions?.data?.orderType;
|
|
994
|
-
|
|
995
|
-
orderType:
|
|
997
|
+
ne(e)[0] === se.customSort && s === q.Category && (e.orderOptions.data = {
|
|
998
|
+
orderType: q.Category,
|
|
996
999
|
orderBy: [...t]
|
|
997
1000
|
});
|
|
998
1001
|
}
|
|
999
|
-
},
|
|
1000
|
-
const { config: e, layerInfo: s, errorStrings: r } = t, a =
|
|
1001
|
-
let
|
|
1002
|
-
return i ===
|
|
1002
|
+
}, xi = async (t) => {
|
|
1003
|
+
const { config: e, layerInfo: s, errorStrings: r } = t, a = Y(e), i = Fe(e)?.type, n = J(e), o = _(e.series);
|
|
1004
|
+
let c = [];
|
|
1005
|
+
return i === B.CategoryAxisFormat && (o === P.BarAndLineFromFields || a === ie ? c = n.map((m) => D(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== ie && s !== void 0 && (c = await ke({
|
|
1003
1006
|
layerInfo: s,
|
|
1004
1007
|
config: e,
|
|
1005
1008
|
category: a,
|
|
1006
1009
|
errorStrings: r
|
|
1007
|
-
}))),
|
|
1010
|
+
}))), c;
|
|
1008
1011
|
};
|
|
1009
|
-
function
|
|
1010
|
-
const r =
|
|
1012
|
+
function ee(t, e, s) {
|
|
1013
|
+
const r = Z(t, e, s), a = vt(t), i = z(t);
|
|
1011
1014
|
return r === a || i;
|
|
1012
1015
|
}
|
|
1013
1016
|
function Le(t, e, s) {
|
|
@@ -1015,105 +1018,105 @@ function Le(t, e, s) {
|
|
|
1015
1018
|
config: t,
|
|
1016
1019
|
layerInfo: e,
|
|
1017
1020
|
commonStrings: s,
|
|
1018
|
-
numericFields:
|
|
1021
|
+
numericFields: J(t),
|
|
1019
1022
|
aggregationType: Ae(t)
|
|
1020
|
-
}), a = ue(1, t), i =
|
|
1023
|
+
}), a = ue(1, t), i = z(t);
|
|
1021
1024
|
return r === a || i;
|
|
1022
1025
|
}
|
|
1023
|
-
function
|
|
1024
|
-
const s = D(e.layerFieldsInfo,
|
|
1026
|
+
function Qt(t, e) {
|
|
1027
|
+
const s = D(e.layerFieldsInfo, Y(t)), r = ue(0, t), a = z(t);
|
|
1025
1028
|
return s === r || a;
|
|
1026
1029
|
}
|
|
1027
|
-
function
|
|
1028
|
-
return
|
|
1030
|
+
function Bi(t) {
|
|
1031
|
+
return k(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
|
|
1029
1032
|
}
|
|
1030
|
-
function
|
|
1033
|
+
function Ci(t, e) {
|
|
1031
1034
|
e?.series.forEach((s) => {
|
|
1032
|
-
(s?.type ===
|
|
1033
|
-
unit:
|
|
1035
|
+
(s?.type === B.BarSeries || s?.type === B.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
|
|
1036
|
+
unit: ae.Day,
|
|
1034
1037
|
size: 0,
|
|
1035
|
-
timeAggregationType:
|
|
1038
|
+
timeAggregationType: ut.Start,
|
|
1036
1039
|
trimIncompleteTimeInterval: !0,
|
|
1037
|
-
nullPolicy:
|
|
1040
|
+
nullPolicy: $.Null
|
|
1038
1041
|
} : delete s.temporalBinning);
|
|
1039
1042
|
});
|
|
1040
1043
|
}
|
|
1041
1044
|
export {
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1045
|
+
Xs as $,
|
|
1046
|
+
xi as A,
|
|
1047
|
+
Ti as B,
|
|
1048
|
+
Fi as C,
|
|
1049
|
+
Bi as D,
|
|
1050
|
+
Ci as E,
|
|
1051
|
+
Z as F,
|
|
1052
|
+
jt as G,
|
|
1053
|
+
Ds as H,
|
|
1054
|
+
ri as I,
|
|
1055
|
+
ni as J,
|
|
1056
|
+
ws as K,
|
|
1057
|
+
Ps as L,
|
|
1058
|
+
Ms as M,
|
|
1059
|
+
Es as N,
|
|
1060
|
+
li as O,
|
|
1061
|
+
oi as P,
|
|
1062
|
+
ui as Q,
|
|
1063
|
+
ci as R,
|
|
1064
|
+
mi as S,
|
|
1065
|
+
pi as T,
|
|
1066
|
+
gi as U,
|
|
1067
|
+
fi as V,
|
|
1068
|
+
Dt as W,
|
|
1069
|
+
Vs as X,
|
|
1070
|
+
Ns as Y,
|
|
1071
|
+
Ws as Z,
|
|
1072
|
+
$s as _,
|
|
1073
|
+
As as a,
|
|
1074
|
+
Ys as a0,
|
|
1075
|
+
Rs as a1,
|
|
1076
|
+
qs as a2,
|
|
1077
|
+
Os as a3,
|
|
1078
|
+
ks as a4,
|
|
1079
|
+
Zs as a5,
|
|
1077
1080
|
Hs as a6,
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1081
|
+
Ks as a7,
|
|
1082
|
+
_s as a8,
|
|
1083
|
+
Us as a9,
|
|
1084
|
+
js as aa,
|
|
1085
|
+
Qs as ab,
|
|
1086
|
+
Zt as ac,
|
|
1087
|
+
zs as ad,
|
|
1088
|
+
Gs as ae,
|
|
1089
|
+
Js as af,
|
|
1090
|
+
ei as ag,
|
|
1091
|
+
ti as ah,
|
|
1092
|
+
si as ai,
|
|
1093
|
+
yi as aj,
|
|
1094
|
+
di as ak,
|
|
1095
|
+
ii as al,
|
|
1096
|
+
ai as am,
|
|
1097
|
+
Bs as b,
|
|
1098
|
+
Cs as c,
|
|
1099
|
+
J as d,
|
|
1100
|
+
G as e,
|
|
1101
|
+
Ls as f,
|
|
1099
1102
|
Ae as g,
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1103
|
+
hi as h,
|
|
1104
|
+
vs as i,
|
|
1105
|
+
gs as j,
|
|
1106
|
+
Lt as k,
|
|
1107
|
+
It as l,
|
|
1108
|
+
hs as m,
|
|
1109
|
+
fs as n,
|
|
1110
|
+
Ts as o,
|
|
1111
|
+
Is as p,
|
|
1112
|
+
Ss as q,
|
|
1113
|
+
Pt as r,
|
|
1111
1114
|
Ce as s,
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1115
|
+
xs as t,
|
|
1116
|
+
bs as u,
|
|
1117
|
+
Fs as v,
|
|
1118
|
+
Vt as w,
|
|
1119
|
+
Nt as x,
|
|
1120
|
+
Si as y,
|
|
1121
|
+
ne as z
|
|
1119
1122
|
};
|