@arcgis/charts-components 5.2.0-next.45 → 5.2.0-next.47
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/{KRBNJLUR.js → 2RIV7YP7.js} +1 -1
- package/dist/cdn/{4WQF5DM3.js → 36GW74FC.js} +1 -1
- package/dist/cdn/{RPTZ52MF.js → 3PYGT3KV.js} +1 -1
- package/dist/cdn/3T2IDHNE.js +2 -0
- package/dist/cdn/{7KYTSBST.js → 44JRT6JL.js} +1 -1
- package/dist/cdn/{YGGPPIZ7.js → 4ZL7RZYY.js} +1 -1
- package/dist/cdn/{UG37REGM.js → 57T6CQMF.js} +1 -1
- package/dist/cdn/5BWFAIIH.js +2 -0
- package/dist/cdn/{OGRUONHM.js → 5CFFXTAD.js} +1 -1
- package/dist/cdn/{XY4HDZKZ.js → 5DQUV2BS.js} +1 -1
- package/dist/cdn/{B6GOLH4Q.js → 5HGLV4YJ.js} +1 -1
- package/dist/cdn/{WIPAO2FH.js → 5IZ7GQA3.js} +1 -1
- package/dist/cdn/{DE5QJPJV.js → 5VWMLMZC.js} +1 -1
- package/dist/cdn/{JATS27TM.js → 62SM3LKG.js} +1 -1
- package/dist/cdn/{PF7KNYUV.js → 653NB5BN.js} +1 -1
- package/dist/cdn/{LMIDBRIM.js → 6NIWXTIP.js} +2 -2
- package/dist/cdn/{WKRYWDKZ.js → 6OZDGXFC.js} +1 -1
- package/dist/cdn/77A4IT5I.js +2 -0
- package/dist/cdn/{GKXBWOFH.js → AIIZRKYB.js} +1 -1
- package/dist/cdn/{QZ5YUJ7Y.js → AWQD3H3L.js} +1 -1
- package/dist/cdn/{3WV4T637.js → AYCZ7QYH.js} +1 -1
- package/dist/cdn/{5XXP2NRJ.js → B3723WJJ.js} +1 -1
- package/dist/cdn/{PDYF2IZ2.js → BCV3U4I6.js} +1 -1
- package/dist/cdn/{DWOP2HE4.js → BFCWZUD5.js} +1 -1
- package/dist/cdn/{MNE46H4A.js → CGO3WESB.js} +1 -1
- package/dist/cdn/{YXG7RVTK.js → CGQSP57T.js} +1 -1
- package/dist/cdn/{22GC5BZP.js → CYVUWE2J.js} +1 -1
- package/dist/cdn/{D4WXMS4I.js → D272NRZP.js} +1 -1
- package/dist/cdn/DE2ZKH4C.js +2 -0
- package/dist/cdn/{7RFX7LUS.js → DEIEWNZ5.js} +2 -2
- package/dist/cdn/{IIQVRNZF.js → DHPNZ3EU.js} +1 -1
- package/dist/cdn/{4QGMMXRI.js → DZSZKZKR.js} +1 -1
- package/dist/cdn/{I2CZFSEB.js → EQCJAWHV.js} +1 -1
- package/dist/cdn/{PGO6DEJM.js → ERDMQ4DD.js} +1 -1
- package/dist/cdn/{SG3NAFAX.js → FDPEMHDL.js} +1 -1
- package/dist/cdn/{CXT62XXL.js → FWW34CP5.js} +1 -1
- package/dist/cdn/{HP47BFLZ.js → FYZANAJZ.js} +1 -1
- package/dist/cdn/{Z7NF4IGS.js → FZKGRO5W.js} +1 -1
- package/dist/cdn/GAOCEPQ4.js +2 -0
- package/dist/cdn/{HCYQEOJ6.js → GW2FFQSO.js} +1 -1
- package/dist/cdn/{SDHNDW2J.js → HAMYMGH7.js} +1 -1
- package/dist/cdn/{WVPMH6DW.js → HFSRQDTF.js} +1 -1
- package/dist/cdn/{QFDQH5CQ.js → HXETEKIP.js} +1 -1
- package/dist/cdn/{UNFEHNQQ.js → IIJVPJDY.js} +1 -1
- package/dist/cdn/{76ILRLUC.js → IMW6IZV2.js} +1 -1
- package/dist/cdn/J5GAGVHY.js +2 -0
- package/dist/cdn/{76HEBLTU.js → J6QR3W3U.js} +1 -1
- package/dist/cdn/{ELICLP7J.js → J7CXSB6I.js} +1 -1
- package/dist/cdn/{NFJXS4T6.js → K4GZRWKH.js} +1 -1
- package/dist/cdn/KRPNWB7M.js +3 -0
- package/dist/cdn/{WGYVJ5PD.js → LAZLV7CS.js} +1 -1
- package/dist/cdn/{LSMBD5CK.js → LIEXZQ4F.js} +1 -1
- package/dist/cdn/{ISYGPFXM.js → LLYZIGQ5.js} +1 -1
- package/dist/cdn/{JPPLQW3P.js → NZMYUW2H.js} +1 -1
- package/dist/cdn/{TAGN7GHJ.js → OJV25NTM.js} +1 -1
- package/dist/cdn/{UTJ2ODDK.js → OZWY2X4J.js} +1 -1
- package/dist/cdn/{YE6DMUZG.js → P2UP7IKV.js} +1 -1
- package/dist/cdn/{T3ZESENF.js → P3UDBIPN.js} +1 -1
- package/dist/cdn/{YABRVLVL.js → PZQ5KWM5.js} +1 -1
- package/dist/cdn/{USQYT55U.js → QI5LKIKB.js} +1 -1
- package/dist/cdn/{NG254LPM.js → QYLOKGLW.js} +1 -1
- package/dist/cdn/{R32CA4NB.js → RECQ5RQK.js} +1 -1
- package/dist/cdn/{CHFKSXBJ.js → RRTFXPN4.js} +1 -1
- package/dist/cdn/{MLBDUKS3.js → RU6NQOOO.js} +1 -1
- package/dist/cdn/SMG4WPTH.js +2 -0
- package/dist/cdn/{E47MLNJA.js → SZCMJ25W.js} +1 -1
- package/dist/cdn/{2WFIFBMW.js → TX6LSTKD.js} +1 -1
- package/dist/cdn/{2VWSSNE6.js → U3POGYXF.js} +1 -1
- package/dist/cdn/{ESAVCU5M.js → UFFXU3Y6.js} +11 -11
- package/dist/cdn/{HRMCHOLZ.js → V66PG4NP.js} +1 -1
- package/dist/cdn/{D7FL6CSK.js → VKHUZKK4.js} +1 -1
- package/dist/cdn/{6TA7HFV2.js → VV3BWL3P.js} +1 -1
- package/dist/cdn/{PCODH67Z.js → VWLHSMF2.js} +1 -1
- package/dist/cdn/{U5FPTPFH.js → W7EHW5TQ.js} +1 -1
- package/dist/cdn/{CMPHWKTI.js → WEMJBEUF.js} +1 -1
- package/dist/cdn/{3YJRZ7CT.js → XJM2JNPK.js} +1 -1
- package/dist/cdn/{GGN3I7J2.js → XL6DRPCS.js} +1 -1
- package/dist/cdn/{33NDNTD4.js → XZ3QQVHQ.js} +1 -1
- package/dist/cdn/{RE5QI7WA.js → Y32ROR3O.js} +1 -1
- package/dist/cdn/{4RGS5J3H.js → YKEAQMIM.js} +1 -1
- package/dist/cdn/{PLEZNRQC.js → YXLIRMQJ.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/index2.js +2003 -1996
- package/dist/chunks/serial-chart-data.js +203 -201
- package/dist/components/arcgis-chart/customElement.d.ts +37 -9
- package/dist/components/arcgis-chart/customElement.js +1342 -1367
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +30 -30
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/package.json +3 -3
- package/dist/cdn/6BXPCTBA.js +0 -2
- package/dist/cdn/EIXU5GSK.js +0 -2
- package/dist/cdn/EMMV3MPZ.js +0 -2
- package/dist/cdn/G3IEARQP.js +0 -2
- package/dist/cdn/I6REUMW3.js +0 -2
- package/dist/cdn/RS37HDC7.js +0 -2
- package/dist/cdn/VAUVQGBW.js +0 -3
- package/dist/cdn/ZSATO43B.js +0 -2
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
3
|
-
import { cloneDeep as
|
|
3
|
+
import { cloneDeep as ee, isEmpty as Xe, memoize as Ue } from "lodash-es";
|
|
4
4
|
import { S as oe } from "./common.js";
|
|
5
|
-
import { s as k, u as E, a as
|
|
6
|
-
import { w as D, i as
|
|
7
|
-
import { a as X, s as
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
import { i as
|
|
11
|
-
import { aA as Ct, I as
|
|
5
|
+
import { s as k, u as E, a as Ve, g as pe, b as Le, c as je, d as Ke, e as fe } from "./utils.js";
|
|
6
|
+
import { w as D, i as Ze, cU as Y, b_ as _e, bm as Qe, x as ze, Y as te, cs as Ge, cr as Je, p as et, aH as ge, c4 as tt, d as it, aG as st, I as at, a7 as rt, bk as nt, W as lt, e as ot, bo as ut, c$ as ct, v as dt, d6 as Se, bN as yt, d7 as mt, bJ as pt, B as gt, N as Fe, bq as Q, d3 as ft, bb as W, bu as z, an as K, a6 as Ne, b9 as St, k as ue, bh as he } from "./index2.js";
|
|
7
|
+
import { a as X, s as De, g as ie, b as xe, c as Ft } from "./data.js";
|
|
8
|
+
import { u as C, r as V, k as ht, d as R, n as O, m as $, p as xt, t as Tt, s as ce } from "./chart-object-literals.js";
|
|
9
|
+
import { R as Oe, i as Bt } from "./rest-js-object-literals.js";
|
|
10
|
+
import { i as se } from "./index4.js";
|
|
11
|
+
import { aA as Ct, I as G, D as de, u as bt, Z as At, aa as vt, am as It, y as Vt, a0 as Lt } from "./index.js";
|
|
12
12
|
import { C as w, F as H, d as P } from "./index3.js";
|
|
13
|
-
import { h as ke, i as q, j as Nt, n as
|
|
14
|
-
import { convertChartSpec as
|
|
15
|
-
import { d as ye, f as
|
|
16
|
-
import { g as
|
|
13
|
+
import { h as ke, i as q, j as Nt, n as Dt, g as A, m as v, e as Te } from "./index5.js";
|
|
14
|
+
import { convertChartSpec as Ot } from "../utils/chart-config/converter/index.js";
|
|
15
|
+
import { d as ye, f as kt } from "./type-guards.js";
|
|
16
|
+
import { g as qe } from "./series-types.js";
|
|
17
17
|
import { C as qt, m as Rt } from "./model-setter.js";
|
|
18
|
-
import { g as
|
|
18
|
+
import { g as ae } from "./utils2.js";
|
|
19
19
|
import { a as Pt, b as wt } from "./series-length.js";
|
|
20
|
-
const
|
|
20
|
+
const Di = (t) => {
|
|
21
21
|
let e;
|
|
22
22
|
const i = t.series[0];
|
|
23
23
|
return D(i) && (e = i.temporalBinning?.size), e;
|
|
@@ -25,11 +25,11 @@ const Oi = (t) => {
|
|
|
25
25
|
let e;
|
|
26
26
|
const i = t.series[0];
|
|
27
27
|
return D(i) && (e = i.temporalBinning?.unit), e;
|
|
28
|
-
},
|
|
28
|
+
}, Oi = (t) => {
|
|
29
29
|
let e;
|
|
30
30
|
const i = t.series[0];
|
|
31
31
|
return D(i) && (e = i.temporalBinning?.timeAggregationType), e;
|
|
32
|
-
},
|
|
32
|
+
}, ki = (t) => {
|
|
33
33
|
let e;
|
|
34
34
|
const i = t.series[0];
|
|
35
35
|
return D(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
@@ -68,13 +68,13 @@ var $t = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, Xt = (t, e
|
|
|
68
68
|
const Ut = (t) => {
|
|
69
69
|
let e;
|
|
70
70
|
return Y(t) ? e = t.outTimeZone : t?.series.forEach((i) => {
|
|
71
|
-
(i.type ===
|
|
72
|
-
}), e || (e = t?.axes?.[0]?.valueFormat.type ===
|
|
73
|
-
},
|
|
74
|
-
const i =
|
|
71
|
+
(i.type === C.BarSeries || i.type === C.RadarSeries || i.type === C.LineSeries) && i.temporalBinning && (e = i.temporalBinning.outTimeZone);
|
|
72
|
+
}), e || (e = t?.axes?.[0]?.valueFormat.type === C.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
73
|
+
}, Re = (t, e) => {
|
|
74
|
+
const i = Ze(t);
|
|
75
75
|
Y(e) ? t ? e.outTimeZone = i : delete e.outTimeZone : e?.series.forEach((a) => {
|
|
76
|
-
(a.type ===
|
|
77
|
-
}), e?.axes?.[0]?.valueFormat.type ===
|
|
76
|
+
(a.type === C.BarSeries || a.type === C.RadarSeries || a.type === C.LineSeries) && (t ? (a.temporalBinning ??= {}, a.temporalBinning.outTimeZone = i) : a.temporalBinning && delete a.temporalBinning.outTimeZone);
|
|
77
|
+
}), e?.axes?.[0]?.valueFormat.type === C.DateAxisFormat && (t ? e.axes[0].valueFormat.intlOptions.timeZone = i : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
78
78
|
};
|
|
79
79
|
class jt extends qt {
|
|
80
80
|
/**
|
|
@@ -84,7 +84,7 @@ class jt extends qt {
|
|
|
84
84
|
return Ut(this._config);
|
|
85
85
|
}
|
|
86
86
|
set timeZone(e) {
|
|
87
|
-
|
|
87
|
+
Re(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
Xt([
|
|
@@ -112,7 +112,7 @@ function Yi(t, e) {
|
|
|
112
112
|
async function $i(t) {
|
|
113
113
|
const { config: e, layer: i, abortSignal: a } = t;
|
|
114
114
|
let r = !1;
|
|
115
|
-
return ye(i) ||
|
|
115
|
+
return ye(i) || kt(e) ? e && ye(i) && (r = await Qe({ config: e, layer: i, abortSignal: a })) : r = !0, r;
|
|
116
116
|
}
|
|
117
117
|
async function Zt(t) {
|
|
118
118
|
const {
|
|
@@ -128,29 +128,29 @@ async function Zt(t) {
|
|
|
128
128
|
chartLimits: p
|
|
129
129
|
} = t;
|
|
130
130
|
let u = [], y;
|
|
131
|
-
const m =
|
|
131
|
+
const m = ee(i), g = m.series[0], o = ot({
|
|
132
132
|
queryObject: e,
|
|
133
133
|
chartConfig: m,
|
|
134
134
|
runtimeDataFilters: n,
|
|
135
135
|
ignoreViewExtent: l
|
|
136
136
|
});
|
|
137
|
-
if (o.outStatistics?.[0]?.outStatisticFieldName && (o.outStatistics[0].outStatisticFieldName = Ct.outStatistics.outStatisticFieldName), D(g) &&
|
|
138
|
-
xAxisValueFormatType:
|
|
137
|
+
if (o.outStatistics?.[0]?.outStatisticFieldName && (o.outStatistics[0].outStatisticFieldName = Ct.outStatistics.outStatisticFieldName), D(g) && ut({
|
|
138
|
+
xAxisValueFormatType: ct(m),
|
|
139
139
|
setTimeBinningInfoWhenNotProvided: c,
|
|
140
140
|
seriesConfig: g,
|
|
141
141
|
queryObject: e
|
|
142
|
-
}) &&
|
|
143
|
-
const { temporalBinning: f, x:
|
|
142
|
+
}) && dt(a, e)) {
|
|
143
|
+
const { temporalBinning: f, x: T } = g, { uniqueQuery: b } = Se({
|
|
144
144
|
chartConfig: m,
|
|
145
145
|
queryConfig: o,
|
|
146
146
|
queryObject: e,
|
|
147
147
|
setTimeBinningInfoWhenNotProvided: c,
|
|
148
148
|
returnFeaturesExtent: d,
|
|
149
149
|
chartLimits: p
|
|
150
|
-
}), F = i.axes?.[0].valueFormat.type ===
|
|
151
|
-
y = await
|
|
150
|
+
}), F = i.axes?.[0].valueFormat.type === C.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
151
|
+
y = await yt({
|
|
152
152
|
queryObject: e,
|
|
153
|
-
dateField:
|
|
153
|
+
dateField: T,
|
|
154
154
|
splitByField: a,
|
|
155
155
|
queryConfig: b,
|
|
156
156
|
axisTimeZone: F,
|
|
@@ -161,8 +161,8 @@ async function Zt(t) {
|
|
|
161
161
|
new Set(
|
|
162
162
|
y.flatMap((S) => {
|
|
163
163
|
const { stackedAttributes: I } = S;
|
|
164
|
-
let
|
|
165
|
-
return I && (
|
|
164
|
+
let B = [];
|
|
165
|
+
return I && (B = I.map((h) => h[a]).filter((h) => h !== void 0)), B;
|
|
166
166
|
})
|
|
167
167
|
).values()
|
|
168
168
|
);
|
|
@@ -174,7 +174,7 @@ async function Zt(t) {
|
|
|
174
174
|
setTimeBinningInfoWhenNotProvided: c,
|
|
175
175
|
returnFeaturesExtent: d,
|
|
176
176
|
chartLimits: p
|
|
177
|
-
}), { elementCount:
|
|
177
|
+
}), { elementCount: T } = await mt({
|
|
178
178
|
chartConfig: m,
|
|
179
179
|
queryObject: e,
|
|
180
180
|
queryConfig: o,
|
|
@@ -182,10 +182,10 @@ async function Zt(t) {
|
|
|
182
182
|
numberMaxOfFeaturesToFetch: f.num,
|
|
183
183
|
abortSignal: s
|
|
184
184
|
});
|
|
185
|
-
y = await
|
|
185
|
+
y = await pt({
|
|
186
186
|
queryObject: e,
|
|
187
187
|
queryConfig: f,
|
|
188
|
-
featureCount:
|
|
188
|
+
featureCount: T,
|
|
189
189
|
returnStatisticsAggregatedIds: !0,
|
|
190
190
|
errorStrings: r,
|
|
191
191
|
abortSignal: s
|
|
@@ -210,7 +210,7 @@ function _t(t, e) {
|
|
|
210
210
|
escape: !1
|
|
211
211
|
});
|
|
212
212
|
e && r !== null && (r = Number(r));
|
|
213
|
-
const s =
|
|
213
|
+
const s = qe([a]);
|
|
214
214
|
s !== void 0 && i.set(s, [
|
|
215
215
|
...i.get(s) ?? [],
|
|
216
216
|
r
|
|
@@ -261,9 +261,9 @@ async function Gt(t) {
|
|
|
261
261
|
if (a && !ye(a) && e !== void 0 && i !== void 0 && (i.series.length > 0 || u !== void 0) && e.addMissingSeries) {
|
|
262
262
|
const m = i.series.length === 0;
|
|
263
263
|
i.series.length === 0 && u !== void 0 && i.series.push(u);
|
|
264
|
-
const g =
|
|
264
|
+
const g = te(i.series);
|
|
265
265
|
if (g === w.BoxPlotMonoFieldAndSplitBy || g === w.BoxPlotMultiFieldsAndSplitBy || g === w.BoxPlotMonoFieldAndCategoryAndSplitBy || g === w.BarAndLineSplitBy || g === w.BarAndLineSplitByNoAggregation) {
|
|
266
|
-
const o =
|
|
266
|
+
const o = st(i.series[0]?.query?.where), f = at(a), T = rt(o, f), b = T ? nt(T) : !1, F = await Zt({
|
|
267
267
|
queryObject: a,
|
|
268
268
|
chartConfig: i,
|
|
269
269
|
splitByField: o,
|
|
@@ -276,13 +276,13 @@ async function Gt(t) {
|
|
|
276
276
|
errorStrings: r
|
|
277
277
|
}), { allValues: S } = F;
|
|
278
278
|
if ({ preFetchedQueryResponse: y } = F, S.length > 0) {
|
|
279
|
-
const I = _t(i, b),
|
|
279
|
+
const I = _t(i, b), B = Qt({
|
|
280
280
|
allValues: S,
|
|
281
281
|
configUniqueValuesPerSeriesType: I,
|
|
282
282
|
initialConfigWasEmpty: m
|
|
283
283
|
});
|
|
284
|
-
Array.from(
|
|
285
|
-
(
|
|
284
|
+
Array.from(B.keys()).forEach((h) => {
|
|
285
|
+
(B.get(h) ?? []).forEach((N) => {
|
|
286
286
|
i.series.push(
|
|
287
287
|
zt({
|
|
288
288
|
chartConfig: i,
|
|
@@ -299,7 +299,7 @@ async function Gt(t) {
|
|
|
299
299
|
return y;
|
|
300
300
|
}
|
|
301
301
|
function Jt(t, e) {
|
|
302
|
-
e && !ke(e) && (e =
|
|
302
|
+
e && !ke(e) && (e = it({ chartConfig: e, queryObject: t }));
|
|
303
303
|
}
|
|
304
304
|
async function Hi(t) {
|
|
305
305
|
const {
|
|
@@ -319,7 +319,7 @@ async function Hi(t) {
|
|
|
319
319
|
errorStrings: g
|
|
320
320
|
} = t;
|
|
321
321
|
let o = e, f;
|
|
322
|
-
return o && (Jt(i, o), o = await
|
|
322
|
+
return o && (Jt(i, o), o = await Ot(o, i, void 0, l), a && n && (f = await Gt({
|
|
323
323
|
updateSplitBySeries: r,
|
|
324
324
|
config: o,
|
|
325
325
|
queryObject: n,
|
|
@@ -330,31 +330,31 @@ async function Hi(t) {
|
|
|
330
330
|
setTimeBinningInfoWhenNotProvided: p,
|
|
331
331
|
returnFeaturesExtent: u,
|
|
332
332
|
chartLimits: y
|
|
333
|
-
})), o =
|
|
333
|
+
})), o = _e(o, s), Re(m, o)), { alteredConfig: o, preFetchedQueryResponse: f };
|
|
334
334
|
}
|
|
335
335
|
function ei(t, e) {
|
|
336
336
|
let i = !1;
|
|
337
337
|
if (e !== void 0) {
|
|
338
|
-
const a =
|
|
338
|
+
const a = lt({ key: gt.Average, splitBy: e });
|
|
339
339
|
i = Number.isFinite(t[a]);
|
|
340
340
|
}
|
|
341
341
|
return i;
|
|
342
342
|
}
|
|
343
343
|
function Xi(t) {
|
|
344
|
-
const { data: e, config: i, showEmptySeries: a } = t, r = i.series.length, s =
|
|
344
|
+
const { data: e, config: i, showEmptySeries: a } = t, r = i.series.length, s = ee(i);
|
|
345
345
|
let n = !1;
|
|
346
346
|
if (!a && r > 1 && e) {
|
|
347
|
-
const l =
|
|
347
|
+
const l = ze(e), c = qe(i?.series), d = te(i?.series), p = /* @__PURE__ */ new Set();
|
|
348
348
|
switch (c) {
|
|
349
|
-
case
|
|
350
|
-
case
|
|
351
|
-
case
|
|
352
|
-
case
|
|
349
|
+
case C.ComboLineAndBarSeries:
|
|
350
|
+
case C.BarSeries:
|
|
351
|
+
case C.RadarSeries:
|
|
352
|
+
case C.LineSeries: {
|
|
353
353
|
s.series.forEach((y) => {
|
|
354
354
|
if (Array.isArray(l)) {
|
|
355
355
|
let m = "";
|
|
356
356
|
"y" in y && (m = Array.isArray(y.y) ? y.y[0] : y.y, d === w.BarAndLineSplitByNoAggregation && (m = `${m}_${ge({ where: y.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), l.some(
|
|
357
|
-
(o) =>
|
|
357
|
+
(o) => tt({
|
|
358
358
|
dataItem: o,
|
|
359
359
|
x: y.x,
|
|
360
360
|
y: m,
|
|
@@ -365,18 +365,18 @@ function Xi(t) {
|
|
|
365
365
|
});
|
|
366
366
|
break;
|
|
367
367
|
}
|
|
368
|
-
case
|
|
369
|
-
if (
|
|
370
|
-
const y =
|
|
368
|
+
case C.BoxPlotSeries: {
|
|
369
|
+
if (Ge(i)) {
|
|
370
|
+
const y = Je(i);
|
|
371
371
|
i.series.forEach((m) => {
|
|
372
372
|
let g, o;
|
|
373
|
-
m.type ===
|
|
374
|
-
(f) =>
|
|
373
|
+
m.type === C.BoxPlotSeries ? (g = e.dataItems, o = g?.some(
|
|
374
|
+
(f) => et({
|
|
375
375
|
dataItem: f,
|
|
376
376
|
splitBy: m.query?.where,
|
|
377
377
|
showOutliers: y
|
|
378
378
|
})
|
|
379
|
-
)) : m.type ===
|
|
379
|
+
)) : m.type === C.LineSeries && (g = e.meanLines, o = g?.some(
|
|
380
380
|
(f) => ei(f, m.query?.where)
|
|
381
381
|
)), o && p.add(m);
|
|
382
382
|
});
|
|
@@ -398,13 +398,13 @@ const Ui = (t) => t.hideEmptyRowsAndColumns, ji = (t, e) => {
|
|
|
398
398
|
const i = t.series[0];
|
|
399
399
|
i.gradientRules = e;
|
|
400
400
|
}, Qi = (t) => t.series[0].gradientRules, zi = (t) => {
|
|
401
|
-
const { yField: e, config: i, layerInfo: a, commonStrings: r } = t, { layerFieldsInfo: s } = a, n =
|
|
401
|
+
const { yField: e, config: i, layerInfo: a, commonStrings: r } = t, { layerFieldsInfo: s } = a, n = ae(1, i), l = ti(i), c = se(i), d = i.series[0];
|
|
402
402
|
if (typeof e == "string" && l !== e && d) {
|
|
403
403
|
if (d.y = e, Kt(i), l === n || c) {
|
|
404
404
|
const p = P(s, e);
|
|
405
405
|
E(i, 1, p);
|
|
406
406
|
}
|
|
407
|
-
|
|
407
|
+
Pe({ commonStrings: r, config: i, layerInfo: a });
|
|
408
408
|
}
|
|
409
409
|
}, ti = (t) => t.series[0].y ?? "", Gi = (t) => {
|
|
410
410
|
const { binning: e, config: i, commonStrings: a } = t, r = i.series[0];
|
|
@@ -412,14 +412,14 @@ const Ui = (t) => t.hideEmptyRowsAndColumns, ji = (t, e) => {
|
|
|
412
412
|
const s = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
413
413
|
E(i, 0, s);
|
|
414
414
|
}
|
|
415
|
-
|
|
415
|
+
J({ axisIndex: 0, commonStrings: a, config: i });
|
|
416
416
|
}, ii = (t) => t.series[0].xTemporalBinning, Ji = (t) => {
|
|
417
417
|
const { binning: e, config: i, commonStrings: a } = t, r = i.series[0];
|
|
418
418
|
if (r.yTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
419
419
|
const s = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
420
420
|
E(i, 1, s);
|
|
421
421
|
}
|
|
422
|
-
|
|
422
|
+
J({ axisIndex: 1, commonStrings: a, config: i });
|
|
423
423
|
}, si = (t) => t.series[0].yTemporalBinning, ai = (t, e) => {
|
|
424
424
|
e.orderOptions ??= {};
|
|
425
425
|
const i = e.axes?.[0]?.valueFormat?.type === "category" ? O.Category : O.YValue, a = me(e)[0], r = e.axes?.[1]?.valueFormat?.type === "category" ? O.Category : O.YValue, s = me(e)[1], n = {
|
|
@@ -436,20 +436,20 @@ const Ui = (t) => t.hideEmptyRowsAndColumns, ji = (t, e) => {
|
|
|
436
436
|
}, ss = (t) => t.series[0].gridLine?.color, as = (t, e) => {
|
|
437
437
|
const i = e.legend;
|
|
438
438
|
i && (i.position = t);
|
|
439
|
-
}, rs = (t) => t.legend?.position ??
|
|
440
|
-
const { field: e, config: i, layerInfo: a, commonStrings: r } = t, s = i.series[0].query?.outStatistics?.[0], n =
|
|
439
|
+
}, rs = (t) => t.legend?.position ?? ht.Bottom, ns = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (t) => {
|
|
440
|
+
const { field: e, config: i, layerInfo: a, commonStrings: r } = t, s = i.series[0].query?.outStatistics?.[0], n = le(i, a, r);
|
|
441
441
|
s ? (s.onStatisticField = e, s.outStatisticFieldName = `${s.statisticType}_${e}`) : i.series[0].query = {
|
|
442
442
|
outStatistics: [
|
|
443
443
|
{
|
|
444
444
|
onStatisticField: e,
|
|
445
|
-
outStatisticFieldName: `${
|
|
446
|
-
statisticType:
|
|
445
|
+
outStatisticFieldName: `${V.Count}_${e}`,
|
|
446
|
+
statisticType: V.Count
|
|
447
447
|
}
|
|
448
448
|
]
|
|
449
449
|
}, n && i.title && (i.title.content.text = Z(i, a, r));
|
|
450
|
-
}, os = (t) => t.series[0].query?.outStatistics?.[0].statisticType ??
|
|
451
|
-
const { aggregationType: e, config: i, layerInfo: a, commonStrings: r } = t, s = i.series[0]?.query?.outStatistics?.[0], n =
|
|
452
|
-
s && e !==
|
|
450
|
+
}, os = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? V.Count, us = (t) => {
|
|
451
|
+
const { aggregationType: e, config: i, layerInfo: a, commonStrings: r } = t, s = i.series[0]?.query?.outStatistics?.[0], n = le(i, a, r);
|
|
452
|
+
s && e !== V.NoAggregation && (s.statisticType = e, s.outStatisticFieldName = `${e}_${s.onStatisticField}`), (e === V.Count || e === V.Sum) && ri($.Zero, i), n && i.title && (i.title.content.text = Z(i, a, r));
|
|
453
453
|
}, cs = (t) => t.nullPolicy, ri = (t, e) => {
|
|
454
454
|
e.nullPolicy = t;
|
|
455
455
|
}, ds = (t) => t.series[0].emptyCells, ys = (t, e) => {
|
|
@@ -461,11 +461,11 @@ const Ui = (t) => t.hideEmptyRowsAndColumns, ji = (t, e) => {
|
|
|
461
461
|
}, Ss = (t) => t.series[0].emptyCells?.symbol, Fs = (t, e) => {
|
|
462
462
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
463
463
|
};
|
|
464
|
-
function
|
|
464
|
+
function hs(t) {
|
|
465
465
|
return t.viewType;
|
|
466
466
|
}
|
|
467
|
-
function
|
|
468
|
-
|
|
467
|
+
function xs(t, e) {
|
|
468
|
+
ft(e) || (e.viewType = t);
|
|
469
469
|
}
|
|
470
470
|
function Ts(t) {
|
|
471
471
|
return t.series[0].classBreaksRules?.breaksCount ?? H.classBreaks.breaksCount;
|
|
@@ -492,7 +492,7 @@ function vs(t) {
|
|
|
492
492
|
function Is(t) {
|
|
493
493
|
return t.series[0].classBreaksRules?.colorRampInfo?.name;
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function Vs(t, e) {
|
|
496
496
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
497
497
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
498
498
|
name: t
|
|
@@ -503,7 +503,7 @@ function Ls(t, e) {
|
|
|
503
503
|
}
|
|
504
504
|
};
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function Ls(t) {
|
|
507
507
|
return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
|
|
508
508
|
}
|
|
509
509
|
function Ns(t, e) {
|
|
@@ -521,17 +521,17 @@ const ni = [
|
|
|
521
521
|
R.MonthOfYear
|
|
522
522
|
], Be = (t) => {
|
|
523
523
|
let e;
|
|
524
|
-
return
|
|
525
|
-
}, Ce = (t) => W(t) ||
|
|
524
|
+
return Q(t) ? e = de() : (W(t) || z(t)) && (e = G()), e;
|
|
525
|
+
}, Ce = (t) => W(t) || z(t), be = (t) => {
|
|
526
526
|
const { axisIndex: e, commonStrings: i, config: a, valueFormat: r } = t, s = a.axes?.[e]?.valueFormat;
|
|
527
|
-
r !== void 0 && s?.type !== r.type &&
|
|
527
|
+
r !== void 0 && s?.type !== r.type && Ve({ config: a, commonStrings: i, valueFormat: r, axisIndex: e });
|
|
528
528
|
}, li = (t, e) => {
|
|
529
529
|
let i;
|
|
530
530
|
return e === 0 ? i = t.series[0]?.xTemporalBinning : e === 1 && (i = t.series[0]?.yTemporalBinning), i;
|
|
531
531
|
}, Ae = (t, e) => t.utilsStrings.heatChartCalendarDatePartsUnits[e] ?? "", ve = (t, e) => {
|
|
532
532
|
let i = ni[t];
|
|
533
533
|
return t === 0 && e?.unit === R.DayOfWeek ? i = R.HourOfDay : t === 1 && e?.unit === R.HourOfDay && (i = R.DayOfWeek), {
|
|
534
|
-
type:
|
|
534
|
+
type: C.CalendarDateParts,
|
|
535
535
|
unit: i
|
|
536
536
|
};
|
|
537
537
|
}, oi = (t) => {
|
|
@@ -550,21 +550,21 @@ const ni = [
|
|
|
550
550
|
e = { month: "short" };
|
|
551
551
|
break;
|
|
552
552
|
default:
|
|
553
|
-
e =
|
|
553
|
+
e = G().intlOptions;
|
|
554
554
|
break;
|
|
555
555
|
}
|
|
556
556
|
return {
|
|
557
|
-
type:
|
|
557
|
+
type: C.DateAxisFormat,
|
|
558
558
|
intlOptions: e
|
|
559
559
|
};
|
|
560
560
|
}, Ie = (t) => {
|
|
561
|
-
const { axisIndex: e, binning: i, commonStrings: a, config: r, fieldName: s, layerInfo: n } = t, l = r.series[0], c =
|
|
561
|
+
const { axisIndex: e, binning: i, commonStrings: a, config: r, fieldName: s, layerInfo: n } = t, l = r.series[0], c = ae(e, r), d = P(n.layerFieldsInfo, s);
|
|
562
562
|
e === 0 ? l.xTemporalBinning = i : e === 1 && (l.yTemporalBinning = i), i !== void 0 && (c === "" || c === d || c === Ae(a, i.unit)) && E(r, e, Ae(a, i.unit));
|
|
563
|
-
},
|
|
563
|
+
}, J = (t) => {
|
|
564
564
|
const { axisIndex: e, commonStrings: i, config: a } = t, r = li(a, e), s = r ? oi(r) : void 0;
|
|
565
|
-
|
|
566
|
-
},
|
|
567
|
-
const { commonStrings: e, config: i, layerInfo: a } = t, r = i.series[0]?.x ?? "", s = i.series[0]?.y ?? "", n = Fe(a.layerFieldsInfo, r), l = Fe(a.layerFieldsInfo, s), c = Be(n), d = Be(l), p = Ce(n) && Ce(l), u =
|
|
565
|
+
Ve({ config: a, commonStrings: i, valueFormat: s, axisIndex: e });
|
|
566
|
+
}, Pe = (t) => {
|
|
567
|
+
const { commonStrings: e, config: i, layerInfo: a } = t, r = i.series[0]?.x ?? "", s = i.series[0]?.y ?? "", n = Fe(a.layerFieldsInfo, r), l = Fe(a.layerFieldsInfo, s), c = Be(n), d = Be(l), p = Ce(n) && Ce(l), u = Q(n) && Q(l);
|
|
568
568
|
if (be({ axisIndex: 0, commonStrings: e, config: i, valueFormat: c }), be({ axisIndex: 1, commonStrings: e, config: i, valueFormat: d }), p) {
|
|
569
569
|
const y = ii(i) === void 0, m = si(i) === void 0;
|
|
570
570
|
y && (Ie({
|
|
@@ -574,7 +574,7 @@ const ni = [
|
|
|
574
574
|
config: i,
|
|
575
575
|
fieldName: r,
|
|
576
576
|
layerInfo: a
|
|
577
|
-
}),
|
|
577
|
+
}), J({
|
|
578
578
|
axisIndex: 0,
|
|
579
579
|
commonStrings: e,
|
|
580
580
|
config: i
|
|
@@ -585,7 +585,7 @@ const ni = [
|
|
|
585
585
|
config: i,
|
|
586
586
|
fieldName: s,
|
|
587
587
|
layerInfo: a
|
|
588
|
-
}),
|
|
588
|
+
}), J({
|
|
589
589
|
axisIndex: 1,
|
|
590
590
|
commonStrings: e,
|
|
591
591
|
config: i
|
|
@@ -611,7 +611,7 @@ function U(t) {
|
|
|
611
611
|
commonStrings: n,
|
|
612
612
|
seriesIndex: e,
|
|
613
613
|
objectIDField: l
|
|
614
|
-
}) : y ? c = It(n, l) : c =
|
|
614
|
+
}) : y ? c = It(n, l) : c = Vt({
|
|
615
615
|
seriesIndex: e,
|
|
616
616
|
objectIDField: l,
|
|
617
617
|
commonStrings: n
|
|
@@ -622,14 +622,14 @@ function U(t) {
|
|
|
622
622
|
y: "",
|
|
623
623
|
dataLabels: {
|
|
624
624
|
...c.dataLabels,
|
|
625
|
-
type: c.dataLabels?.type ??
|
|
626
|
-
content: { ...c.dataLabels?.content, ...m?.content, type:
|
|
625
|
+
type: c.dataLabels?.type ?? C.Text,
|
|
626
|
+
content: { ...c.dataLabels?.content, ...m?.content, type: Bt.TS },
|
|
627
627
|
visible: m?.visible ?? !1
|
|
628
628
|
}
|
|
629
629
|
};
|
|
630
630
|
if (g.query = {
|
|
631
631
|
groupByFieldsForStatistics: [i]
|
|
632
|
-
}, a !==
|
|
632
|
+
}, a !== V.NoAggregation && l !== void 0) {
|
|
633
633
|
const o = `${a}_${l}_0`.toUpperCase();
|
|
634
634
|
g.y = o, g.query.outStatistics = [
|
|
635
635
|
{
|
|
@@ -646,12 +646,12 @@ function U(t) {
|
|
|
646
646
|
unit: o
|
|
647
647
|
};
|
|
648
648
|
}
|
|
649
|
-
return
|
|
649
|
+
return ee(g);
|
|
650
650
|
}
|
|
651
651
|
function Z(t, e, i) {
|
|
652
|
-
const { layerFieldsInfo: a } = e, { idField: r, isTraditionalTypeOID: s } = K(e.layer), n = X(t), l =
|
|
652
|
+
const { layerFieldsInfo: a } = e, { idField: r, isTraditionalTypeOID: s } = K(e.layer), n = X(t), l = ne(t), c = Me(t), d = re(t), p = s && (l.length === 0 || l.includes(r)), u = bt(c, i), y = p ? "" : l.map((F) => P(a ?? [], F)).join(", "), m = P(a ?? [], n), g = P(a ?? [], d), o = t.series.some((F) => q(F)), f = o ? "category" : "xAxisField", T = m;
|
|
653
653
|
let b = "";
|
|
654
|
-
if (
|
|
654
|
+
if (De({
|
|
655
655
|
fieldName: n,
|
|
656
656
|
numericFields: l,
|
|
657
657
|
fieldList: a
|
|
@@ -660,34 +660,34 @@ function Z(t, e, i) {
|
|
|
660
660
|
aggregationType: u,
|
|
661
661
|
aggregationFields: y
|
|
662
662
|
});
|
|
663
|
-
else if (c ===
|
|
663
|
+
else if (c === V.NoAggregation) {
|
|
664
664
|
const F = p ? r : y;
|
|
665
665
|
if (d === "") {
|
|
666
666
|
const S = o ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
667
667
|
b = M(i.titleLabels[S], {
|
|
668
668
|
aggregationType: F,
|
|
669
|
-
[f]:
|
|
669
|
+
[f]: T
|
|
670
670
|
});
|
|
671
671
|
} else {
|
|
672
672
|
const S = o ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
673
673
|
b = M(i.titleLabels[S], {
|
|
674
674
|
aggregationType: F,
|
|
675
|
-
[f]:
|
|
675
|
+
[f]: T,
|
|
676
676
|
splitByField: g
|
|
677
677
|
});
|
|
678
678
|
}
|
|
679
|
-
} else if (c ===
|
|
679
|
+
} else if (c === V.Count)
|
|
680
680
|
if (d === "") {
|
|
681
681
|
const F = o ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
682
682
|
b = M(i.titleLabels[F], {
|
|
683
683
|
aggregationType: u,
|
|
684
|
-
[f]:
|
|
684
|
+
[f]: T
|
|
685
685
|
});
|
|
686
686
|
} else {
|
|
687
687
|
const F = o ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
688
688
|
b = M(i.titleLabels[F], {
|
|
689
689
|
aggregationType: u,
|
|
690
|
-
[f]:
|
|
690
|
+
[f]: T,
|
|
691
691
|
splitByField: g
|
|
692
692
|
});
|
|
693
693
|
}
|
|
@@ -696,7 +696,7 @@ function Z(t, e, i) {
|
|
|
696
696
|
b = M(i.titleLabels[F], {
|
|
697
697
|
aggregationType: u,
|
|
698
698
|
aggregationField: y,
|
|
699
|
-
[f]:
|
|
699
|
+
[f]: T,
|
|
700
700
|
splitByField: g
|
|
701
701
|
});
|
|
702
702
|
} else if (l.length > 0) {
|
|
@@ -704,24 +704,24 @@ function Z(t, e, i) {
|
|
|
704
704
|
b = M(i.titleLabels[F], {
|
|
705
705
|
aggregationType: u,
|
|
706
706
|
aggregationFields: y,
|
|
707
|
-
[f]:
|
|
707
|
+
[f]: T
|
|
708
708
|
});
|
|
709
709
|
}
|
|
710
710
|
return b;
|
|
711
711
|
}
|
|
712
|
-
const
|
|
712
|
+
const we = (t) => ge({
|
|
713
713
|
where: t.query?.where,
|
|
714
714
|
normalize: !1,
|
|
715
715
|
escape: !1
|
|
716
|
-
}) ?? "",
|
|
716
|
+
}) ?? "", Me = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? V.NoAggregation, re = Ue(
|
|
717
717
|
(t) => {
|
|
718
718
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
719
|
-
return
|
|
719
|
+
return St(t?.series?.[0]?.query?.where) ? "" : e;
|
|
720
720
|
},
|
|
721
721
|
(t) => t?.series?.[0]?.query?.where
|
|
722
|
-
),
|
|
722
|
+
), ne = (t) => {
|
|
723
723
|
let e = [];
|
|
724
|
-
if (
|
|
724
|
+
if (re(t) === "")
|
|
725
725
|
e = t?.series.map((i) => {
|
|
726
726
|
const a = i.query?.outStatistics?.map((r) => r.onStatisticField) ?? [];
|
|
727
727
|
return a?.length > 0 ? a : i.y;
|
|
@@ -732,20 +732,20 @@ const Pe = (t) => ge({
|
|
|
732
732
|
}
|
|
733
733
|
return e.filter((i) => i !== "");
|
|
734
734
|
};
|
|
735
|
-
function
|
|
735
|
+
function Ee(t) {
|
|
736
736
|
const { splitByField: e, numericFields: i, layer: a, seriesIndex: r } = t, s = K(a).idField ?? "";
|
|
737
737
|
return e === "" ? i[r] ?? s : i[0] ?? s;
|
|
738
738
|
}
|
|
739
739
|
function ui(t) {
|
|
740
740
|
const { numericFields: e, aggregationType: i, config: a, layerInfo: r } = t;
|
|
741
741
|
let s = !1;
|
|
742
|
-
i ===
|
|
742
|
+
i === V.Count ? s = !0 : i === V.NoAggregation && (s = e.every((c) => {
|
|
743
743
|
const d = r.layerFieldsInfo.find((p) => p.name === c);
|
|
744
|
-
return d !== void 0 ?
|
|
744
|
+
return d !== void 0 ? he(d) : !1;
|
|
745
745
|
})), fe(a, 1, s);
|
|
746
746
|
const n = a.series.some((c) => A(c)), l = a.series.some((c) => v(c));
|
|
747
747
|
if (n || l) {
|
|
748
|
-
const c = X(a), d = r.layerFieldsInfo.find((u) => u.name === c), p = d !== void 0 &&
|
|
748
|
+
const c = X(a), d = r.layerFieldsInfo.find((u) => u.name === c), p = d !== void 0 && he(d);
|
|
749
749
|
fe(a, 0, p);
|
|
750
750
|
}
|
|
751
751
|
}
|
|
@@ -753,10 +753,10 @@ const me = (t) => {
|
|
|
753
753
|
let e;
|
|
754
754
|
if (Y(t)) {
|
|
755
755
|
const i = t.orderOptions?.data?.orderByX ?? [""], a = t.orderOptions?.data?.orderByY ?? [""], r = t.axes?.[0]?.valueFormat?.type === "category" ? O.Category : O.YValue, s = t.axes?.[1]?.valueFormat?.type === "category" ? O.Category : O.YValue;
|
|
756
|
-
e = [
|
|
756
|
+
e = [xe(i, r), xe(a, s)];
|
|
757
757
|
} else {
|
|
758
758
|
const i = t.orderOptions?.data?.orderType ?? O.Category, a = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : xt.Ascending;
|
|
759
|
-
e = [
|
|
759
|
+
e = [Ft(a, i)];
|
|
760
760
|
}
|
|
761
761
|
return e;
|
|
762
762
|
};
|
|
@@ -770,7 +770,7 @@ function ci(t) {
|
|
|
770
770
|
layerInfo: s,
|
|
771
771
|
seriesIndex: 0,
|
|
772
772
|
commonStrings: n
|
|
773
|
-
}), p =
|
|
773
|
+
}), p = ie({
|
|
774
774
|
config: r,
|
|
775
775
|
xAxisField: e,
|
|
776
776
|
numericFields: i,
|
|
@@ -794,7 +794,7 @@ function ci(t) {
|
|
|
794
794
|
const m = r.series[0];
|
|
795
795
|
return m !== void 0 && (u.id = m.id, (A(u) && A(m) || v(u) && v(m)) && j(u, m), r.colorMatch || (q(m) && q(u) ? u.fillSymbol = m.fillSymbol : (A(u) && A(m) || v(u) && v(m)) && (u.lineSymbol = m.lineSymbol, u.markerSymbol = m.markerSymbol), c = !0), u.id = m.id, m.name !== d.name && (u.name = m.name)), r.series.length === 1 && ((A(u) || v(u)) && j(u, r.series[0]), r.colorMatch || (q(u) ? u.fillSymbol = r.series[0].fillSymbol : (A(u) || v(u)) && (u.lineSymbol = r.series[0].lineSymbol, u.markerSymbol = r.series[0].markerSymbol), c = !0)), r.colorMatch = !c, [u];
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function We(t) {
|
|
798
798
|
const { xAxisField: e, numericFields: i, aggregationType: a, config: r, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s, c = K(s.layer).idField, d = [];
|
|
799
799
|
let p = !1;
|
|
800
800
|
for (let o = 0; o < i.length; o += 1) {
|
|
@@ -805,7 +805,7 @@ function Ee(t) {
|
|
|
805
805
|
layerInfo: s,
|
|
806
806
|
seriesIndex: o,
|
|
807
807
|
commonStrings: n
|
|
808
|
-
}),
|
|
808
|
+
}), T = r.series[o]?.y, b = typeof T == "string" && T.trim() !== "" && !l.find((h) => h.name === T) ? T : ie({
|
|
809
809
|
config: r,
|
|
810
810
|
xAxisField: e,
|
|
811
811
|
numericFields: i,
|
|
@@ -826,7 +826,7 @@ function Ee(t) {
|
|
|
826
826
|
name: P(l, F)
|
|
827
827
|
});
|
|
828
828
|
let I = F;
|
|
829
|
-
S.query !== void 0 && (a !==
|
|
829
|
+
S.query !== void 0 && (a !== V.NoAggregation ? (I = b, S.query.outStatistics = [
|
|
830
830
|
{
|
|
831
831
|
...f.query?.outStatistics?.[0] ?? {},
|
|
832
832
|
onStatisticField: F,
|
|
@@ -834,12 +834,12 @@ function Ee(t) {
|
|
|
834
834
|
statisticType: a
|
|
835
835
|
}
|
|
836
836
|
]) : delete S.query.outStatistics), S.y = I;
|
|
837
|
-
const
|
|
838
|
-
(
|
|
837
|
+
const B = r.series.find(
|
|
838
|
+
(h) => h.query?.outStatistics?.[0]?.onStatisticField === F && h.query.where === void 0 || h.query?.outStatistics === void 0 && (h.y === F || h.x === F)
|
|
839
839
|
);
|
|
840
|
-
if (
|
|
841
|
-
(A(S) && A(
|
|
842
|
-
const
|
|
840
|
+
if (B !== void 0 && typeof B.y == "string" && B.y.trim() !== "") {
|
|
841
|
+
(A(S) && A(B) || v(S) && v(B)) && j(S, B), r.colorMatch || (q(S) && q(B) ? S.fillSymbol = B.fillSymbol : (A(S) && A(B) || v(S) && v(B)) && (S.lineSymbol = B.lineSymbol, S.markerSymbol = B.markerSymbol), p = !0);
|
|
842
|
+
const h = U({
|
|
843
843
|
config: r,
|
|
844
844
|
xAxisField: e,
|
|
845
845
|
aggregationType: a,
|
|
@@ -847,7 +847,7 @@ function Ee(t) {
|
|
|
847
847
|
seriesIndex: o,
|
|
848
848
|
commonStrings: n
|
|
849
849
|
});
|
|
850
|
-
S.id =
|
|
850
|
+
S.id = B.id, B.id !== h.id && B.name !== h.name && (S.id = B.id, S.name = B.name), S.assignToSecondValueAxis = B.assignToSecondValueAxis, S.type === C.HeatSeries && B.type === C.HeatSeries && (S.y = B.y, S.heatRulesType = B.heatRulesType);
|
|
851
851
|
}
|
|
852
852
|
d.push(S);
|
|
853
853
|
}
|
|
@@ -858,10 +858,10 @@ function Ee(t) {
|
|
|
858
858
|
);
|
|
859
859
|
return m.length === 1 && u.length === 1 && !r.colorMatch && (q(m[0]) && q(u[0]) && (u[0].fillSymbol = m[0].fillSymbol), p = !0), g.length === 1 && y.length === 1 && ((A(g[0]) && A(y[0]) || v(g[0]) && v(y[0])) && j(y[0], g[0]), r.colorMatch || ((A(g[0]) && A(y[0]) || v(g[0]) && v(y[0])) && (y[0].lineSymbol = g[0].lineSymbol, y[0].markerSymbol = g[0].markerSymbol), p = !0)), r.colorMatch = !p, d;
|
|
860
860
|
}
|
|
861
|
-
function
|
|
862
|
-
const { aggregationType: e, config: i, layerInfo: a, commonStrings: r } = t, { layerFieldsInfo: s, layer: n } = a, l = X(i), c =
|
|
861
|
+
function Ds(t) {
|
|
862
|
+
const { aggregationType: e, config: i, layerInfo: a, commonStrings: r } = t, { layerFieldsInfo: s, layer: n } = a, l = X(i), c = ne(i), d = re(i), p = le(i, a, r), u = Ye(i, a, r);
|
|
863
863
|
if (i.series.forEach((y, m) => {
|
|
864
|
-
const g =
|
|
864
|
+
const g = ie({
|
|
865
865
|
config: i,
|
|
866
866
|
xAxisField: l,
|
|
867
867
|
numericFields: c,
|
|
@@ -873,7 +873,7 @@ function Os(t) {
|
|
|
873
873
|
fieldList: s
|
|
874
874
|
}).name;
|
|
875
875
|
y.y = g;
|
|
876
|
-
const o =
|
|
876
|
+
const o = Ee({
|
|
877
877
|
splitByField: d,
|
|
878
878
|
numericFields: c,
|
|
879
879
|
layer: n,
|
|
@@ -881,7 +881,7 @@ function Os(t) {
|
|
|
881
881
|
}), f = y.query?.outStatistics?.[0]?.onStatisticField ?? o;
|
|
882
882
|
y.query = {
|
|
883
883
|
...y.query,
|
|
884
|
-
outStatistics: e ===
|
|
884
|
+
outStatistics: e === V.NoAggregation ? void 0 : [
|
|
885
885
|
{
|
|
886
886
|
...y.query?.outStatistics?.[0],
|
|
887
887
|
outStatisticFieldName: g,
|
|
@@ -889,8 +889,8 @@ function Os(t) {
|
|
|
889
889
|
onStatisticField: f
|
|
890
890
|
}
|
|
891
891
|
]
|
|
892
|
-
}, "temporalBinning" in y && y.temporalBinning !== void 0 && (y.temporalBinning.nullPolicy = e ===
|
|
893
|
-
}), p && i.title && (i.title.content.text = Z(i, a, r)), u && i.series[0].type !==
|
|
892
|
+
}, "temporalBinning" in y && y.temporalBinning !== void 0 && (y.temporalBinning.nullPolicy = e === V.NoAggregation ? $.Interpolate : $.Null), e === V.NoAggregation && Yt(i);
|
|
893
|
+
}), p && i.title && (i.title.content.text = Z(i, a, r)), u && i.series[0].type !== C.HeatSeries) {
|
|
894
894
|
const y = pe({
|
|
895
895
|
config: i,
|
|
896
896
|
layerInfo: a,
|
|
@@ -911,7 +911,7 @@ function di(t) {
|
|
|
911
911
|
layerInfo: n,
|
|
912
912
|
commonStrings: l,
|
|
913
913
|
splitByFieldInfos: c
|
|
914
|
-
} = t, { layer: d, layerFieldsInfo: p } = n, { categoriesArray: u, splitByFieldType: y } = c, m =
|
|
914
|
+
} = t, { layer: d, layerFieldsInfo: p } = n, { categoriesArray: u, splitByFieldType: y } = c, m = Ee({
|
|
915
915
|
splitByField: e,
|
|
916
916
|
numericFields: a,
|
|
917
917
|
layer: d,
|
|
@@ -919,7 +919,7 @@ function di(t) {
|
|
|
919
919
|
});
|
|
920
920
|
let g = [], o = !1;
|
|
921
921
|
if (u.length === 0) {
|
|
922
|
-
g =
|
|
922
|
+
g = We({
|
|
923
923
|
xAxisField: i,
|
|
924
924
|
numericFields: a,
|
|
925
925
|
aggregationType: r,
|
|
@@ -931,7 +931,7 @@ function di(t) {
|
|
|
931
931
|
f.query && (f.query.where = `${e}=''`);
|
|
932
932
|
} else
|
|
933
933
|
for (let f = 0; f < u.length; f += 1) {
|
|
934
|
-
const
|
|
934
|
+
const T = u[f], b = ie({
|
|
935
935
|
config: s,
|
|
936
936
|
xAxisField: i,
|
|
937
937
|
numericFields: a,
|
|
@@ -950,16 +950,16 @@ function di(t) {
|
|
|
950
950
|
}), S = Ne({
|
|
951
951
|
queryObject: n.layer,
|
|
952
952
|
fieldName: e,
|
|
953
|
-
fieldValue:
|
|
954
|
-
}), I = `${
|
|
953
|
+
fieldValue: T ?? ""
|
|
954
|
+
}), I = `${T}`, h = {
|
|
955
955
|
...F,
|
|
956
956
|
id: I,
|
|
957
957
|
name: S ?? I,
|
|
958
958
|
y: b,
|
|
959
959
|
query: {
|
|
960
960
|
...F.query,
|
|
961
|
-
where: `${e}=${y ===
|
|
962
|
-
outStatistics: r !==
|
|
961
|
+
where: `${e}=${y === Oe.String && T !== null ? `'${T}'` : T}`,
|
|
962
|
+
outStatistics: r !== V.NoAggregation ? [
|
|
963
963
|
{
|
|
964
964
|
...F.query?.outStatistics?.[0] ?? {},
|
|
965
965
|
onStatisticField: m,
|
|
@@ -968,14 +968,14 @@ function di(t) {
|
|
|
968
968
|
}
|
|
969
969
|
] : void 0
|
|
970
970
|
}
|
|
971
|
-
},
|
|
972
|
-
(N) => String(
|
|
971
|
+
}, L = s.series.find(
|
|
972
|
+
(N) => String(we(N)).trim().replace(/'/gu, "") === I
|
|
973
973
|
);
|
|
974
|
-
|
|
974
|
+
L !== void 0 && ((A(h) && A(L) || v(h) && v(L)) && j(h, L), s.colorMatch || (q(h) && q(L) ? h.fillSymbol = L.fillSymbol : (A(h) && A(L) || v(h) && v(L)) && (h.lineSymbol = L.lineSymbol, h.markerSymbol = L.markerSymbol), o = !0), h.id = L.id, h.name = L.name, h.assignToSecondValueAxis = L.assignToSecondValueAxis), h.query && (h.query.fetchNullValues = s.series.some((N) => N.query?.fetchNullValues)), g.push(h);
|
|
975
975
|
}
|
|
976
976
|
return s.colorMatch = !o, g;
|
|
977
977
|
}
|
|
978
|
-
const
|
|
978
|
+
const Os = (t) => {
|
|
979
979
|
const {
|
|
980
980
|
xAxisFieldName: e,
|
|
981
981
|
splitByField: i,
|
|
@@ -985,16 +985,16 @@ const ks = (t) => {
|
|
|
985
985
|
layerInfo: n,
|
|
986
986
|
commonStrings: l,
|
|
987
987
|
splitByFieldInfos: c
|
|
988
|
-
} = t, { layerFieldsInfo: d } = n ?? {}, p =
|
|
989
|
-
let I =
|
|
990
|
-
const
|
|
988
|
+
} = t, { layerFieldsInfo: d } = n ?? {}, p = ee(s), u = Pt(s), y = X(p), m = d.find((x) => x.name === y), g = p.series[0].query?.fetchNullValues, o = "nullCategory" in p.series?.[0] ? p.series[0].nullCategory : void 0, f = p.series[0]?.query === void 0, T = d.find((x) => x.name === e), b = le(p, n, l), F = Ye(p, n, l), S = yi(p, n);
|
|
989
|
+
let I = Le(s);
|
|
990
|
+
const B = p.series.some((x) => q(x)), h = Nt(p.series), L = Dt(p.series), N = {};
|
|
991
991
|
Y(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);
|
|
992
|
-
let
|
|
993
|
-
if (
|
|
992
|
+
let _ = !1;
|
|
993
|
+
if (Q(T) ? I = de() : !z(m) && z(T) ? (I = G(), _ = !0) : !W(m) && W(T) ? (I = G(), _ = !0) : W(m) && !W(T) && (B ? I = de() : I = Lt(), _ = !0), I !== void 0 && Ke(s, l, I), u === 0 && (s.series = [
|
|
994
994
|
U({ config: s, xAxisField: e, aggregationType: r, layerInfo: n, commonStrings: l })
|
|
995
|
-
]), s.series.forEach((
|
|
996
|
-
|
|
997
|
-
}), i === "" || a.length > 1 ?
|
|
995
|
+
]), s.series.forEach((x) => {
|
|
996
|
+
x.x = e, x.query !== void 0 && (x.query.groupByFieldsForStatistics = [e]);
|
|
997
|
+
}), i === "" || a.length > 1 ? De({
|
|
998
998
|
fieldName: e,
|
|
999
999
|
numericFields: a,
|
|
1000
1000
|
fieldList: d
|
|
@@ -1005,7 +1005,7 @@ const ks = (t) => {
|
|
|
1005
1005
|
numericFields: a,
|
|
1006
1006
|
aggregationType: r,
|
|
1007
1007
|
commonStrings: l
|
|
1008
|
-
}) : s.series =
|
|
1008
|
+
}) : s.series = We({
|
|
1009
1009
|
config: s,
|
|
1010
1010
|
layerInfo: n,
|
|
1011
1011
|
xAxisField: e,
|
|
@@ -1021,49 +1021,51 @@ const ks = (t) => {
|
|
|
1021
1021
|
aggregationType: r,
|
|
1022
1022
|
commonStrings: l,
|
|
1023
1023
|
splitByFieldInfos: c
|
|
1024
|
-
})), S && s.series[0].type !==
|
|
1025
|
-
const
|
|
1026
|
-
E(s, 0,
|
|
1024
|
+
})), S && s.series[0].type !== C.HeatSeries) {
|
|
1025
|
+
const x = P(d, e);
|
|
1026
|
+
E(s, 0, x);
|
|
1027
1027
|
}
|
|
1028
|
-
if (F && s.series[0].type !==
|
|
1029
|
-
const
|
|
1028
|
+
if (F && s.series[0].type !== C.HeatSeries) {
|
|
1029
|
+
const x = pe({
|
|
1030
1030
|
config: s,
|
|
1031
1031
|
layerInfo: n,
|
|
1032
1032
|
commonStrings: l,
|
|
1033
1033
|
numericFields: a,
|
|
1034
1034
|
aggregationType: r
|
|
1035
1035
|
});
|
|
1036
|
-
E(s, 1,
|
|
1036
|
+
E(s, 1, x);
|
|
1037
1037
|
}
|
|
1038
|
-
if (b && s.title && (s.title.content.text = Z(s, n, l)), k({ config: s, value: null, axisIndex: 1, isMax: !1 }), k({ config: s, value: null, axisIndex: 1, isMax: !0 }), ui({ numericFields: a, aggregationType: r, config: s, layerInfo: n }), (
|
|
1039
|
-
const
|
|
1040
|
-
Wt(
|
|
1038
|
+
if (b && s.title && (s.title.content.text = Z(s, n, l)), k({ config: s, value: null, axisIndex: 1, isMax: !1 }), k({ config: s, value: null, axisIndex: 1, isMax: !0 }), ui({ numericFields: a, aggregationType: r, config: s, layerInfo: n }), (h || L) && (k({ config: s, value: null, axisIndex: 0, isMax: !1 }), k({ config: s, value: null, axisIndex: 0, isMax: !0 }), _ && r !== V.NoAggregation)) {
|
|
1039
|
+
const x = I?.type === C.DateAxisFormat ? $.Null : $.Interpolate;
|
|
1040
|
+
Wt(x, s);
|
|
1041
1041
|
}
|
|
1042
|
-
Y(s) && (s.series[0].classBreaksRules = N.classBreaksRules, s.series[0].xTemporalBinning = N.xTemporalBinning, s.series[0].yTemporalBinning = N.yTemporalBinning, s.series[0].emptyCells = N.emptyCells, s.nullPolicy = N.nullPolicy,
|
|
1043
|
-
delete
|
|
1044
|
-
}) : g && s.series.forEach((
|
|
1045
|
-
|
|
1046
|
-
}), o && s.series.forEach((
|
|
1047
|
-
(
|
|
1048
|
-
}), s.series.forEach((
|
|
1049
|
-
|
|
1050
|
-
|
|
1042
|
+
Y(s) && (s.series[0].classBreaksRules = N.classBreaksRules, s.series[0].xTemporalBinning = N.xTemporalBinning, s.series[0].yTemporalBinning = N.yTemporalBinning, s.series[0].emptyCells = N.emptyCells, s.nullPolicy = N.nullPolicy, Pe({ commonStrings: l, config: s, layerInfo: n })), f ? s.series.forEach((x) => {
|
|
1043
|
+
delete x.query;
|
|
1044
|
+
}) : g && s.series.forEach((x) => {
|
|
1045
|
+
x.query && (x.query.fetchNullValues = g);
|
|
1046
|
+
}), o && s.series.forEach((x) => {
|
|
1047
|
+
(x.type === C.BarSeries || x.type === C.LineSeries || x.type === C.RadarSeries) && (x.nullCategory = o);
|
|
1048
|
+
}), s.series.forEach((x) => {
|
|
1049
|
+
D(x) && x.binTemporalData === void 0 && T?.type === Oe.TimeOnly && (x.binTemporalData = !1);
|
|
1050
|
+
}), s.series.forEach((x) => {
|
|
1051
|
+
const $e = p.series.find((He) => He.id === x.id)?.visible;
|
|
1052
|
+
x.visible = $e;
|
|
1051
1053
|
});
|
|
1052
1054
|
}, j = (t, e) => {
|
|
1053
1055
|
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 = {
|
|
1054
1056
|
...e.markerSymbol,
|
|
1055
1057
|
color: t.markerSymbol?.color
|
|
1056
1058
|
});
|
|
1057
|
-
},
|
|
1058
|
-
const { config: e, seriesIndex: i, layerInfo: a, commonStrings: r } = t, s = e.series?.[i], n =
|
|
1059
|
+
}, ks = (t) => {
|
|
1060
|
+
const { config: e, seriesIndex: i, layerInfo: a, commonStrings: r } = t, s = e.series?.[i], n = re(e);
|
|
1059
1061
|
let l;
|
|
1060
|
-
if (
|
|
1062
|
+
if (te(e.series) === w.BarAndLineFromFields)
|
|
1061
1063
|
l = r.axisLabels.values;
|
|
1062
|
-
else if (
|
|
1064
|
+
else if (Xe(n)) {
|
|
1063
1065
|
const d = s.query?.outStatistics?.[0]?.onStatisticField;
|
|
1064
1066
|
d !== void 0 && d !== K(a.layer).idField && (l = P(a.layerFieldsInfo, d));
|
|
1065
1067
|
} else {
|
|
1066
|
-
const d = String(
|
|
1068
|
+
const d = String(we(s)).trim().replace(/'/gu, "");
|
|
1067
1069
|
l = Ne({
|
|
1068
1070
|
queryObject: a.layer,
|
|
1069
1071
|
fieldName: n,
|
|
@@ -1083,31 +1085,31 @@ const ks = (t) => {
|
|
|
1083
1085
|
});
|
|
1084
1086
|
}
|
|
1085
1087
|
}, Rs = async (t) => {
|
|
1086
|
-
const { config: e, layerInfo: i, errorStrings: a } = t, r = X(e), s =
|
|
1088
|
+
const { config: e, layerInfo: i, errorStrings: a } = t, r = X(e), s = Le(e)?.type, n = ne(e), l = te(e.series);
|
|
1087
1089
|
let c = [];
|
|
1088
|
-
return s ===
|
|
1090
|
+
return s === C.CategoryAxisFormat && (l === w.BarAndLineFromFields || r === ue ? c = n.map((d) => P(i?.layerFieldsInfo, d)) : r.trim() !== "" && r !== ue && i !== void 0 && (c = await je({
|
|
1089
1091
|
layerInfo: i,
|
|
1090
1092
|
config: e,
|
|
1091
1093
|
category: r,
|
|
1092
1094
|
errorStrings: a
|
|
1093
1095
|
}))), c;
|
|
1094
1096
|
};
|
|
1095
|
-
function
|
|
1096
|
-
const a = Z(t, e, i), r = wt(t), s =
|
|
1097
|
+
function le(t, e, i) {
|
|
1098
|
+
const a = Z(t, e, i), r = wt(t), s = se(t);
|
|
1097
1099
|
return a === r || s;
|
|
1098
1100
|
}
|
|
1099
|
-
function
|
|
1101
|
+
function Ye(t, e, i) {
|
|
1100
1102
|
const a = pe({
|
|
1101
1103
|
config: t,
|
|
1102
1104
|
layerInfo: e,
|
|
1103
1105
|
commonStrings: i,
|
|
1104
|
-
numericFields:
|
|
1105
|
-
aggregationType:
|
|
1106
|
-
}), r =
|
|
1106
|
+
numericFields: ne(t),
|
|
1107
|
+
aggregationType: Me(t)
|
|
1108
|
+
}), r = ae(1, t), s = se(t);
|
|
1107
1109
|
return a === r || s;
|
|
1108
1110
|
}
|
|
1109
1111
|
function yi(t, e) {
|
|
1110
|
-
const i = P(e.layerFieldsInfo, X(t)), a =
|
|
1112
|
+
const i = P(e.layerFieldsInfo, X(t)), a = ae(0, t), r = se(t);
|
|
1111
1113
|
return i === a || r;
|
|
1112
1114
|
}
|
|
1113
1115
|
function Ps(t) {
|
|
@@ -1115,10 +1117,10 @@ function Ps(t) {
|
|
|
1115
1117
|
}
|
|
1116
1118
|
function ws(t, e) {
|
|
1117
1119
|
e?.series.forEach((i) => {
|
|
1118
|
-
(i
|
|
1120
|
+
D(i) && (i.binTemporalData = t, t ? i.temporalBinning = {
|
|
1119
1121
|
unit: ce.Day,
|
|
1120
1122
|
size: 0,
|
|
1121
|
-
timeAggregationType:
|
|
1123
|
+
timeAggregationType: Tt.Start,
|
|
1122
1124
|
trimIncompleteTimeInterval: !0,
|
|
1123
1125
|
nullPolicy: $.Null
|
|
1124
1126
|
} : delete i.temporalBinning);
|
|
@@ -1128,15 +1130,15 @@ export {
|
|
|
1128
1130
|
es as $,
|
|
1129
1131
|
Rs as A,
|
|
1130
1132
|
qs as B,
|
|
1131
|
-
|
|
1133
|
+
Os as C,
|
|
1132
1134
|
Ps as D,
|
|
1133
1135
|
ws as E,
|
|
1134
1136
|
Z as F,
|
|
1135
|
-
|
|
1137
|
+
Pe as G,
|
|
1136
1138
|
ti as H,
|
|
1137
1139
|
zi as I,
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
+
hs as J,
|
|
1141
|
+
xs as K,
|
|
1140
1142
|
ii as L,
|
|
1141
1143
|
Gi as M,
|
|
1142
1144
|
si as N,
|
|
@@ -1146,8 +1148,8 @@ export {
|
|
|
1146
1148
|
Cs as R,
|
|
1147
1149
|
bs as S,
|
|
1148
1150
|
Is as T,
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
+
Vs as U,
|
|
1152
|
+
Ls as V,
|
|
1151
1153
|
jt as W,
|
|
1152
1154
|
Ns as X,
|
|
1153
1155
|
Ui as Y,
|
|
@@ -1180,27 +1182,27 @@ export {
|
|
|
1180
1182
|
Fs as an,
|
|
1181
1183
|
Mi as b,
|
|
1182
1184
|
Ei as c,
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
+
ne as d,
|
|
1186
|
+
re as e,
|
|
1185
1187
|
Xi as f,
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
+
Me as g,
|
|
1189
|
+
ks as h,
|
|
1188
1190
|
$i as i,
|
|
1189
|
-
|
|
1191
|
+
Di as j,
|
|
1190
1192
|
Et as k,
|
|
1191
1193
|
Mt as l,
|
|
1192
1194
|
Ri as m,
|
|
1193
|
-
|
|
1195
|
+
Oi as n,
|
|
1194
1196
|
Pi as o,
|
|
1195
1197
|
Hi as p,
|
|
1196
|
-
|
|
1198
|
+
ki as q,
|
|
1197
1199
|
Kt as r,
|
|
1198
|
-
|
|
1200
|
+
Re as s,
|
|
1199
1201
|
wi as t,
|
|
1200
1202
|
Wi as u,
|
|
1201
1203
|
qi as v,
|
|
1202
1204
|
Wt as w,
|
|
1203
1205
|
Yt as x,
|
|
1204
|
-
|
|
1206
|
+
Ds as y,
|
|
1205
1207
|
me as z
|
|
1206
1208
|
};
|