@arcgis/charts-components 5.2.0-next.0 → 5.2.0-next.2
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/{H6NH46AS.js → 23YH7MTF.js} +1 -1
- package/dist/cdn/{LEK5TYY2.js → 24LTTBTF.js} +1 -1
- package/dist/cdn/{3HDCBEWA.js → 26FWESH3.js} +2 -2
- package/dist/cdn/{I6ILHZ4V.js → 2K4ODNJ4.js} +1 -1
- package/dist/cdn/{JJ2M4U57.js → 3DK6M5E7.js} +1 -1
- package/dist/cdn/{74GWGGKE.js → 3XHZ677O.js} +1 -1
- package/dist/cdn/{FKH3OVSJ.js → 3YT44D4Z.js} +1 -1
- package/dist/cdn/{ZIF2SLZ7.js → 5FMEOIBS.js} +2 -2
- package/dist/cdn/{XCBRFRLO.js → 5G7DSKI7.js} +1 -1
- package/dist/cdn/{H3VQJF7X.js → 5JML3JUR.js} +1 -1
- package/dist/cdn/{4ONG3Z7W.js → 5QO32XSX.js} +1 -1
- package/dist/cdn/{ZPMBL64I.js → 7ABIELGZ.js} +1 -1
- package/dist/cdn/{V7HFHWME.js → 7HIZH35G.js} +1 -1
- package/dist/cdn/{UUBMII4X.js → CCR46UHB.js} +1 -1
- package/dist/cdn/{M7DJDXCP.js → CJ4POAPM.js} +1 -1
- package/dist/cdn/{JN2ZWL6Y.js → CRFJ2GGS.js} +1 -1
- package/dist/cdn/{GGQP5JYM.js → E2N2S7BH.js} +1 -1
- package/dist/cdn/{LKLXYXQS.js → E43KEVHT.js} +1 -1
- package/dist/cdn/{ZVZ2XDVU.js → F7Y6EWWB.js} +1 -1
- package/dist/cdn/{6BUS62PQ.js → FDXE5JLT.js} +1 -1
- package/dist/cdn/{5MMDKA25.js → G5HVFOIO.js} +1 -1
- package/dist/cdn/{GKCSV5KX.js → G7TRU7JI.js} +1 -1
- package/dist/cdn/{3EOJXLYW.js → GES3HRXE.js} +1 -1
- package/dist/cdn/{HOX7NZNG.js → GL3IXVRN.js} +1 -1
- package/dist/cdn/{4MT26NON.js → HCMD362H.js} +1 -1
- package/dist/cdn/{XQN3IPCF.js → HCV34H6X.js} +1 -1
- package/dist/cdn/{IU3JHT4C.js → IHQ7R6L4.js} +1 -1
- package/dist/cdn/{VM7TU42Q.js → IUFXFWXH.js} +1 -1
- package/dist/cdn/{I6ZAHATO.js → JHYH555K.js} +1 -1
- package/dist/cdn/{P4T5TI3T.js → JVHJMPFE.js} +1 -1
- package/dist/cdn/{7JNA22OU.js → KI4HS3AM.js} +1 -1
- package/dist/cdn/{5PBHJCIL.js → KLC6NTPC.js} +1 -1
- package/dist/cdn/{I2AGE5R2.js → KOBNV5AQ.js} +1 -1
- package/dist/cdn/{2RU466XY.js → KVGEY3IQ.js} +1 -1
- package/dist/cdn/{ETLXX7MH.js → KXNZEPLT.js} +36 -36
- package/dist/cdn/{GJNWHFFY.js → LDPHZHSF.js} +1 -1
- package/dist/cdn/{O3YTMAQX.js → LONASKGH.js} +1 -1
- package/dist/cdn/{Z7EBST4A.js → LRNADJJG.js} +1 -1
- package/dist/cdn/{OBPXCFUE.js → LWODMEOP.js} +1 -1
- package/dist/cdn/{SOSPMFB6.js → LYZGRYQV.js} +1 -1
- package/dist/cdn/{BI4UYGSS.js → LZYN55O4.js} +1 -1
- package/dist/cdn/{JOI6WL3P.js → MF3FGXHI.js} +1 -1
- package/dist/cdn/{WBH5XG4U.js → MUPHTV55.js} +1 -1
- package/dist/cdn/{LDLY2SF3.js → N524VXQ2.js} +1 -1
- package/dist/cdn/{V7TM2WGV.js → N5ERJZPG.js} +1 -1
- package/dist/cdn/{PD433VW7.js → NGPMU4T3.js} +1 -1
- package/dist/cdn/{XMMHYOKG.js → NJCZ6UTM.js} +1 -1
- package/dist/cdn/{4WLT4SF2.js → NMB6TWC2.js} +1 -1
- package/dist/cdn/{Q3AILKYR.js → NNNTZU5J.js} +1 -1
- package/dist/cdn/{SSIG3VVL.js → NQQW4GKA.js} +1 -1
- package/dist/cdn/{IMK7WGD3.js → OE3UFORR.js} +1 -1
- package/dist/cdn/{BAIMTE2A.js → P2NPQAJ3.js} +1 -1
- package/dist/cdn/{QR5JSPMD.js → PC7IKOIB.js} +1 -1
- package/dist/cdn/{SOQJHUX7.js → PJUAU42S.js} +1 -1
- package/dist/cdn/{NI5ICKEY.js → PK5XIIZY.js} +1 -1
- package/dist/cdn/{MJCXQCOV.js → PSO5AURI.js} +1 -1
- package/dist/cdn/{ZSNIMQ53.js → PVJEBBA7.js} +1 -1
- package/dist/cdn/{2CKPKXNB.js → PY5Q3V6E.js} +1 -1
- package/dist/cdn/{BXXLVGNQ.js → PZGIXDMC.js} +1 -1
- package/dist/cdn/{C3ZSWQ3I.js → R45FWF7D.js} +1 -1
- package/dist/cdn/{ZCIQS5VL.js → RAQZUMC6.js} +1 -1
- package/dist/cdn/{RJN2Y6QR.js → RFQBUWOW.js} +1 -1
- package/dist/cdn/{QPZNCW73.js → RMYZGOBM.js} +1 -1
- package/dist/cdn/{UUO3C7JX.js → RX3RNE7F.js} +1 -1
- package/dist/cdn/{4DN22Z2T.js → TAI4RIWT.js} +1 -1
- package/dist/cdn/{DA7U5FLY.js → TNB3MBXR.js} +1 -1
- package/dist/cdn/{76ZTJWGM.js → TU3UF32Y.js} +1 -1
- package/dist/cdn/{L4RUPWN7.js → TYMKFCF4.js} +1 -1
- package/dist/cdn/{UQN6IMJJ.js → TZB57XD4.js} +1 -1
- package/dist/cdn/{AUFCZ2VI.js → U2LJZ4ML.js} +1 -1
- package/dist/cdn/{IFUSMYSL.js → U4XLNCOU.js} +1 -1
- package/dist/cdn/{E4SQHQBK.js → UAJGYF4S.js} +1 -1
- package/dist/cdn/{35COV7CA.js → UKDTXHZT.js} +1 -1
- package/dist/cdn/{F22N7RZE.js → UT6G7RV7.js} +1 -1
- package/dist/cdn/{ERSFBFQP.js → VDG54AIC.js} +1 -1
- package/dist/cdn/{MRSWVYMY.js → VEA5ZR5D.js} +1 -1
- package/dist/cdn/{ROIT25TY.js → VVKV5KKN.js} +1 -1
- package/dist/cdn/{G2RDPRW6.js → WEQBZOH7.js} +1 -1
- package/dist/cdn/WO6JBNMU.js +2 -0
- package/dist/cdn/{LKY2A3U6.js → WPPMMVD5.js} +1 -1
- package/dist/cdn/{AHXJHLWG.js → YRBE7MBU.js} +1 -1
- package/dist/cdn/{DPSPWVA2.js → ZRFHAQL6.js} +1 -1
- package/dist/cdn/{FJFVM6MK.js → ZRZEKOEF.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +4 -4
- package/dist/chunks/bar-chart-model.js +13 -13
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +5 -5
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +2 -2
- package/dist/chunks/chart-ui-utils2.js +13 -13
- package/dist/chunks/class-breaks.js +5 -5
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/data.js +21 -21
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/generate-x-axis-title.js +4 -4
- package/dist/chunks/heat-chart-model.js +19 -19
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index2.js +302 -297
- package/dist/chunks/index3.js +7 -7
- package/dist/chunks/index4.js +10755 -680
- package/dist/chunks/index5.js +87 -10782
- package/dist/chunks/index6.js +63 -100
- package/dist/chunks/interfaces.js +3 -3
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +10 -10
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +2 -2
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +2 -2
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/scatterplot-model.js +18 -18
- package/dist/chunks/serial-chart-data.js +171 -166
- package/dist/chunks/serial-chart-model.js +44 -44
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +1 -1
- package/dist/chunks/type-guards3.js +4 -4
- package/dist/chunks/utils.js +9 -9
- package/dist/chunks/web-component-utils.js +9 -9
- package/dist/chunks/x-bounds.js +4 -4
- package/dist/components/arcgis-chart/customElement.js +5365 -5482
- package/dist/components/arcgis-charts-action-bar/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +474 -471
- package/dist/{model.js → model/shared/setup-utils.js} +12 -12
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/data/index.d.ts +2 -0
- package/package.json +5 -3
- package/dist/cdn/6LTWEPUM.js +0 -2
- package/dist/chunks/index7.js +0 -66
- /package/dist/cdn/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
- /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
import { substitute as P } from "@arcgis/core/intl.js";
|
|
3
3
|
import { cloneDeep as ae, isEmpty as Ie, memoize as Le } from "lodash-es";
|
|
4
4
|
import { S as J } from "./common.js";
|
|
5
|
-
import { s as N, u as E, g as re,
|
|
6
|
-
import { w as R, bW as Ne, bl as Re, x as ke, Y,
|
|
7
|
-
import { a as M,
|
|
8
|
-
import { g as
|
|
9
|
-
import { u as v, r as
|
|
5
|
+
import { s as N, u as E, g as re, a as Fe, b as qe, c as Ve, d as ce } from "./utils.js";
|
|
6
|
+
import { w as R, bW as Ne, bl as Re, x as ke, Y as W, cq as Oe, cp as De, p as we, aH as le, c0 as Pe, d as Ee, aG as Me, I as $e, a7 as Ye, bj as We, W as Xe, e as He, bm as je, cY as Ke, v as Ue, d2 as de, bK as Qe, d3 as ze, bG as Ge, B as _e, d0 as Ze, an as X, a6 as he, cR as ne, b9 as Je, k as ee, bo as et, bs as ye, ba as j, bg as me } from "./index2.js";
|
|
7
|
+
import { a as M, s as Te, g as Q, b as ge, c as tt } from "./data.js";
|
|
8
|
+
import { g as xe } from "./series-types.js";
|
|
9
|
+
import { u as v, r as q, k as st, n as V, m as K, p as it, t as at, s as te } from "./chart-object-literals.js";
|
|
10
10
|
import { C as D, d as w, F as U } from "./index3.js";
|
|
11
|
-
import {
|
|
12
|
-
import { h as Be, i as O, j as lt, n as nt, g as b, m as A, e as pe } from "./
|
|
11
|
+
import { convertChartSpec as rt } from "../utils/chart-config/converter/index.js";
|
|
12
|
+
import { h as Be, i as O, j as lt, n as nt, g as b, m as A, e as pe } from "./index5.js";
|
|
13
13
|
import { c as se, e as ot } from "./type-guards.js";
|
|
14
14
|
import { az as ut, t as ct, Y as dt, a9 as yt, al as mt, x as gt, C as fe, H as Se, $ as pt } from "./index.js";
|
|
15
15
|
import { g as oe } from "./utils2.js";
|
|
16
|
-
import {
|
|
16
|
+
import { a as ft, b as St } from "./series-length.js";
|
|
17
17
|
import { i as Ft, R as ht } from "./rest-js-object-literals.js";
|
|
18
|
-
import { i as z } from "./
|
|
18
|
+
import { i as z } from "./index4.js";
|
|
19
19
|
const ts = (t) => {
|
|
20
20
|
let e;
|
|
21
21
|
const s = t.series[0];
|
|
22
22
|
return R(s) && (e = s.temporalBinning?.size), e;
|
|
23
|
-
},
|
|
23
|
+
}, Tt = (t) => {
|
|
24
24
|
let e;
|
|
25
25
|
const s = t.series[0];
|
|
26
26
|
return R(s) && (e = s.temporalBinning?.unit), e;
|
|
@@ -36,7 +36,7 @@ const ts = (t) => {
|
|
|
36
36
|
let e;
|
|
37
37
|
const s = t.series[0];
|
|
38
38
|
return R(s) && (e = s.temporalBinning?.nullPolicy), e;
|
|
39
|
-
},
|
|
39
|
+
}, xt = (t, e) => {
|
|
40
40
|
e?.series?.forEach((s) => {
|
|
41
41
|
R(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
|
|
42
42
|
}), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
@@ -57,7 +57,7 @@ const ts = (t) => {
|
|
|
57
57
|
R(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
|
|
58
58
|
}), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
59
59
|
}, os = (t) => {
|
|
60
|
-
|
|
60
|
+
xt(0, t);
|
|
61
61
|
};
|
|
62
62
|
function us(t, e) {
|
|
63
63
|
let s;
|
|
@@ -97,13 +97,13 @@ async function bt(t) {
|
|
|
97
97
|
chartLimits: F
|
|
98
98
|
} = t;
|
|
99
99
|
let l = [], g;
|
|
100
|
-
const d = ae(s), y = d.series[0], u =
|
|
100
|
+
const d = ae(s), y = d.series[0], u = He({
|
|
101
101
|
queryObject: e,
|
|
102
102
|
chartConfig: d,
|
|
103
103
|
runtimeDataFilters: n,
|
|
104
104
|
ignoreViewExtent: o
|
|
105
105
|
});
|
|
106
|
-
if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ut.outStatistics.outStatisticFieldName), R(y) &&
|
|
106
|
+
if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ut.outStatistics.outStatisticFieldName), R(y) && je({
|
|
107
107
|
xAxisValueFormatType: Ke(d),
|
|
108
108
|
setTimeBinningInfoWhenNotProvided: c,
|
|
109
109
|
seriesConfig: y,
|
|
@@ -130,8 +130,8 @@ async function bt(t) {
|
|
|
130
130
|
new Set(
|
|
131
131
|
g.flatMap((f) => {
|
|
132
132
|
const { stackedAttributes: k } = f;
|
|
133
|
-
let
|
|
134
|
-
return k && (
|
|
133
|
+
let T = [];
|
|
134
|
+
return k && (T = k.map((S) => S[r]).filter((S) => S !== void 0)), T;
|
|
135
135
|
})
|
|
136
136
|
).values()
|
|
137
137
|
);
|
|
@@ -178,7 +178,7 @@ function At(t, e) {
|
|
|
178
178
|
escape: !1
|
|
179
179
|
});
|
|
180
180
|
e && a !== null && (a = Number(a));
|
|
181
|
-
const i =
|
|
181
|
+
const i = xe([r]);
|
|
182
182
|
i !== void 0 && s.set(i, [
|
|
183
183
|
...s.get(i) ?? [],
|
|
184
184
|
a
|
|
@@ -229,9 +229,9 @@ async function Lt(t) {
|
|
|
229
229
|
if (r && !se(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || l !== void 0) && e.addMissingSeries) {
|
|
230
230
|
const d = s.series.length === 0;
|
|
231
231
|
s.series.length === 0 && l !== void 0 && s.series.push(l);
|
|
232
|
-
const y =
|
|
232
|
+
const y = W(s.series);
|
|
233
233
|
if (y === D.BoxPlotMonoFieldAndSplitBy || y === D.BoxPlotMultiFieldsAndSplitBy || y === D.BoxPlotMonoFieldAndCategoryAndSplitBy || y === D.BarAndLineSplitBy || y === D.BarAndLineSplitByNoAggregation) {
|
|
234
|
-
const u = Me(s.series[0]?.query?.where), p = $e(r), B =
|
|
234
|
+
const u = Me(s.series[0]?.query?.where), p = $e(r), B = Ye(u, p), C = B ? We(B) : !1, h = await bt({
|
|
235
235
|
queryObject: r,
|
|
236
236
|
chartConfig: s,
|
|
237
237
|
splitByField: u,
|
|
@@ -244,13 +244,13 @@ async function Lt(t) {
|
|
|
244
244
|
errorStrings: a
|
|
245
245
|
}), { allValues: f } = h;
|
|
246
246
|
if ({ preFetchedQueryResponse: g } = h, f.length > 0) {
|
|
247
|
-
const k = At(s, C),
|
|
247
|
+
const k = At(s, C), T = vt({
|
|
248
248
|
allValues: f,
|
|
249
249
|
configUniqueValuesPerSeriesType: k,
|
|
250
250
|
initialConfigWasEmpty: d
|
|
251
251
|
});
|
|
252
|
-
Array.from(
|
|
253
|
-
(
|
|
252
|
+
Array.from(T.keys()).forEach((S) => {
|
|
253
|
+
(T.get(S) ?? []).forEach((L) => {
|
|
254
254
|
s.series.push(
|
|
255
255
|
It({
|
|
256
256
|
chartConfig: s,
|
|
@@ -266,7 +266,7 @@ async function Lt(t) {
|
|
|
266
266
|
}
|
|
267
267
|
return g;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function qt(t, e) {
|
|
270
270
|
e && !Be(e) && (e = Ee({ chartConfig: e, queryObject: t }));
|
|
271
271
|
}
|
|
272
272
|
async function gs(t) {
|
|
@@ -286,7 +286,7 @@ async function gs(t) {
|
|
|
286
286
|
errorStrings: d
|
|
287
287
|
} = t;
|
|
288
288
|
let y = e, u;
|
|
289
|
-
return y && (
|
|
289
|
+
return y && (qt(s, y), y = await rt(y, s, void 0, o), r && n && (u = await Lt({
|
|
290
290
|
updateSplitBySeries: a,
|
|
291
291
|
config: y,
|
|
292
292
|
queryObject: n,
|
|
@@ -299,7 +299,7 @@ async function gs(t) {
|
|
|
299
299
|
chartLimits: g
|
|
300
300
|
})), y = Ne(y, i)), { alteredConfig: y, preFetchedQueryResponse: u };
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function Vt(t, e) {
|
|
303
303
|
let s = !1;
|
|
304
304
|
if (e !== void 0) {
|
|
305
305
|
const r = Xe({ key: _e.Average, splitBy: e });
|
|
@@ -311,7 +311,7 @@ function ps(t) {
|
|
|
311
311
|
const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = ae(s);
|
|
312
312
|
let n = !1;
|
|
313
313
|
if (!r && a > 1 && e) {
|
|
314
|
-
const o = ke(e), c =
|
|
314
|
+
const o = ke(e), c = xe(s?.series), m = W(s?.series), F = /* @__PURE__ */ new Set();
|
|
315
315
|
switch (c) {
|
|
316
316
|
case v.ComboLineAndBarSeries:
|
|
317
317
|
case v.BarSeries:
|
|
@@ -321,7 +321,12 @@ function ps(t) {
|
|
|
321
321
|
if (Array.isArray(o)) {
|
|
322
322
|
let d = "";
|
|
323
323
|
"y" in g && (d = Array.isArray(g.y) ? g.y[0] : g.y, m === D.BarAndLineSplitByNoAggregation && (d = `${d}_${le({ where: g.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
|
|
324
|
-
(u) => Pe({
|
|
324
|
+
(u) => Pe({
|
|
325
|
+
dataItem: u,
|
|
326
|
+
x: g.x,
|
|
327
|
+
y: d,
|
|
328
|
+
aggregationType: s.series[0].query?.outStatistics?.[0]?.statisticType
|
|
329
|
+
})
|
|
325
330
|
) && F.add(g));
|
|
326
331
|
}
|
|
327
332
|
});
|
|
@@ -339,7 +344,7 @@ function ps(t) {
|
|
|
339
344
|
showOutliers: g
|
|
340
345
|
})
|
|
341
346
|
)) : d.type === v.LineSeries && (y = e.meanLines, u = y?.some(
|
|
342
|
-
(p) =>
|
|
347
|
+
(p) => Vt(p, d.query?.where)
|
|
343
348
|
)), u && F.add(d);
|
|
344
349
|
});
|
|
345
350
|
}
|
|
@@ -356,10 +361,10 @@ const fs = (t) => t.hideEmptyRowsAndColumns, Ss = (t, e) => {
|
|
|
356
361
|
}, Fs = (t, e) => {
|
|
357
362
|
const s = t.series[0];
|
|
358
363
|
s.heatRulesType = e;
|
|
359
|
-
}, hs = (t) => t.series[0].heatRulesType,
|
|
364
|
+
}, hs = (t) => t.series[0].heatRulesType, Ts = (t, e) => {
|
|
360
365
|
const s = t.series[0];
|
|
361
366
|
s.gradientRules = e;
|
|
362
|
-
},
|
|
367
|
+
}, xs = (t) => t.series[0].gradientRules, Bs = (t) => {
|
|
363
368
|
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = oe(1, s), n = Nt(s), o = z(s), c = s.series[0];
|
|
364
369
|
if (typeof e == "string" && n !== e && c && (c.y = e, Ct(s), n === i || o)) {
|
|
365
370
|
const m = w(a, e);
|
|
@@ -379,18 +384,18 @@ const fs = (t) => t.hideEmptyRowsAndColumns, Ss = (t, e) => {
|
|
|
379
384
|
}
|
|
380
385
|
}, vs = (t) => t.series[0].yTemporalBinning, Rt = (t, e) => {
|
|
381
386
|
e.orderOptions ??= {};
|
|
382
|
-
const s = e.axes?.[0]?.valueFormat?.type === "category" ?
|
|
387
|
+
const s = e.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, r = ie(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = ie(e)[1], n = {
|
|
383
388
|
...e.orderOptions.data ?? {},
|
|
384
|
-
orderType:
|
|
389
|
+
orderType: V.MultiAxes
|
|
385
390
|
};
|
|
386
|
-
r === J.customSort && s ===
|
|
391
|
+
r === J.customSort && s === V.Category && (n.orderByX = [...t]), i === J.customSort && a === V.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
|
|
387
392
|
}, Is = (t, e) => {
|
|
388
393
|
const s = e.series[0];
|
|
389
394
|
s.gridLine && (s.gridLine.width = t);
|
|
390
|
-
}, Ls = (t) => t.series[0].gridLine?.width,
|
|
395
|
+
}, Ls = (t) => t.series[0].gridLine?.width, qs = (t, e) => {
|
|
391
396
|
const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
392
397
|
s.gridLine && r && (s.gridLine.color = t);
|
|
393
|
-
},
|
|
398
|
+
}, Vs = (t) => t.series[0].gridLine?.color, Ns = (t, e) => {
|
|
394
399
|
const s = e.legend;
|
|
395
400
|
s && (s.position = t);
|
|
396
401
|
}, Rs = (t) => t.legend?.position ?? st.Bottom, ks = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Os = (t) => {
|
|
@@ -399,23 +404,23 @@ const fs = (t) => t.hideEmptyRowsAndColumns, Ss = (t, e) => {
|
|
|
399
404
|
outStatistics: [
|
|
400
405
|
{
|
|
401
406
|
onStatisticField: e,
|
|
402
|
-
outStatisticFieldName: `${
|
|
403
|
-
statisticType:
|
|
407
|
+
outStatisticFieldName: `${q.Count}_${e}`,
|
|
408
|
+
statisticType: q.Count
|
|
404
409
|
}
|
|
405
410
|
]
|
|
406
|
-
}, n && s.title && (s.title.content.text =
|
|
407
|
-
}, Ds = (t) => t.series[0].query?.outStatistics?.[0].statisticType ??
|
|
411
|
+
}, n && s.title && (s.title.content.text = H(s, r, a));
|
|
412
|
+
}, Ds = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? q.Count, ws = (t) => {
|
|
408
413
|
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n = _(s, r, a);
|
|
409
|
-
i && e !==
|
|
414
|
+
i && e !== q.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === q.Count || e === q.Sum) && kt(K.Zero, s), n && s.title && (s.title.content.text = H(s, r, a));
|
|
410
415
|
}, Ps = (t) => t.nullPolicy, kt = (t, e) => {
|
|
411
416
|
e.nullPolicy = t;
|
|
412
417
|
}, Es = (t) => t.series[0].emptyCells, Ms = (t, e) => {
|
|
413
418
|
e.series[0].emptyCells = t;
|
|
414
|
-
}, $s = (t) => t.series[0].emptyCells?.text,
|
|
419
|
+
}, $s = (t) => t.series[0].emptyCells?.text, Ys = (t, e) => {
|
|
415
420
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
416
|
-
},
|
|
421
|
+
}, Ws = (t) => t.includeLeapDay, Xs = (t, e) => {
|
|
417
422
|
e.includeLeapDay = t;
|
|
418
|
-
},
|
|
423
|
+
}, Hs = (t) => t.series[0].emptyCells?.symbol, js = (t, e) => {
|
|
419
424
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
420
425
|
};
|
|
421
426
|
function Ks(t) {
|
|
@@ -509,7 +514,7 @@ function $(t) {
|
|
|
509
514
|
};
|
|
510
515
|
if (y.query = {
|
|
511
516
|
groupByFieldsForStatistics: [s]
|
|
512
|
-
}, r !==
|
|
517
|
+
}, r !== q.NoAggregation && o !== void 0) {
|
|
513
518
|
const u = `${r}_${o}_0`.toUpperCase();
|
|
514
519
|
y.y = u, y.query.outStatistics = [
|
|
515
520
|
{
|
|
@@ -521,8 +526,8 @@ function $(t) {
|
|
|
521
526
|
}
|
|
522
527
|
if (R(a.series[0]) && R(y)) {
|
|
523
528
|
let u;
|
|
524
|
-
if (a?.series?.[0] !== void 0 && (u =
|
|
525
|
-
let p =
|
|
529
|
+
if (a?.series?.[0] !== void 0 && (u = W(a.series)), u !== D.BarAndLineNoAggregation && u !== D.BarAndLineSplitByNoAggregation) {
|
|
530
|
+
let p = Tt(a);
|
|
526
531
|
p === te.Quarter && (p = te.Month), y.temporalBinning = {
|
|
527
532
|
...a.series[0]?.temporalBinning,
|
|
528
533
|
unit: p
|
|
@@ -531,10 +536,10 @@ function $(t) {
|
|
|
531
536
|
}
|
|
532
537
|
return ae(y);
|
|
533
538
|
}
|
|
534
|
-
function
|
|
539
|
+
function H(t, e, s) {
|
|
535
540
|
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = X(e.layer), n = M(t), o = G(t), c = be(t), m = ue(t), F = i && (o.length === 0 || o.includes(a)), l = ct(c, s), g = F ? "" : o.map((h) => w(r ?? [], h)).join(", "), d = w(r ?? [], n), y = w(r ?? [], m), u = t.series.some((h) => O(h)), p = u ? "category" : "xAxisField", B = d;
|
|
536
541
|
let C = "";
|
|
537
|
-
if (
|
|
542
|
+
if (Te({
|
|
538
543
|
fieldName: n,
|
|
539
544
|
numericFields: o,
|
|
540
545
|
fieldList: r
|
|
@@ -543,7 +548,7 @@ function j(t, e, s) {
|
|
|
543
548
|
aggregationType: l,
|
|
544
549
|
aggregationFields: g
|
|
545
550
|
});
|
|
546
|
-
else if (c ===
|
|
551
|
+
else if (c === q.NoAggregation) {
|
|
547
552
|
const h = F ? a : g;
|
|
548
553
|
if (m === "") {
|
|
549
554
|
const f = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
@@ -559,7 +564,7 @@ function j(t, e, s) {
|
|
|
559
564
|
splitByField: y
|
|
560
565
|
});
|
|
561
566
|
}
|
|
562
|
-
} else if (c ===
|
|
567
|
+
} else if (c === q.Count)
|
|
563
568
|
if (m === "") {
|
|
564
569
|
const h = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
565
570
|
C = P(s.titleLabels[h], {
|
|
@@ -596,7 +601,7 @@ const Ce = (t) => le({
|
|
|
596
601
|
where: t.query?.where,
|
|
597
602
|
normalize: !1,
|
|
598
603
|
escape: !1
|
|
599
|
-
}) ?? "", be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
604
|
+
}) ?? "", be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? q.NoAggregation, ue = Le(
|
|
600
605
|
(t) => {
|
|
601
606
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
602
607
|
return Je(t?.series?.[0]?.query?.where) ? "" : e;
|
|
@@ -618,7 +623,7 @@ const Ce = (t) => le({
|
|
|
618
623
|
function Ot(t) {
|
|
619
624
|
const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
|
|
620
625
|
let i = !1;
|
|
621
|
-
s ===
|
|
626
|
+
s === q.Count ? i = !0 : s === q.NoAggregation && (i = e.every((c) => {
|
|
622
627
|
const m = a.layerFieldsInfo.find((F) => F.name === c);
|
|
623
628
|
return m !== void 0 ? me(m) : !1;
|
|
624
629
|
})), ce(r, 1, i);
|
|
@@ -631,10 +636,10 @@ function Ot(t) {
|
|
|
631
636
|
const ie = (t) => {
|
|
632
637
|
let e;
|
|
633
638
|
if (ne(t)) {
|
|
634
|
-
const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ?
|
|
639
|
+
const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue;
|
|
635
640
|
e = [ge(s, a), ge(r, i)];
|
|
636
641
|
} else {
|
|
637
|
-
const s = t.orderOptions?.data?.orderType ??
|
|
642
|
+
const s = t.orderOptions?.data?.orderType ?? V.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : it.Ascending;
|
|
638
643
|
e = [tt(r, s)];
|
|
639
644
|
}
|
|
640
645
|
return e;
|
|
@@ -671,7 +676,7 @@ function Dt(t) {
|
|
|
671
676
|
});
|
|
672
677
|
l.query = { outStatistics: g };
|
|
673
678
|
const d = a.series[0];
|
|
674
|
-
return d !== void 0 && (l.id = d.id, (b(l) && b(d) || A(l) && A(d)) &&
|
|
679
|
+
return d !== void 0 && (l.id = d.id, (b(l) && b(d) || A(l) && A(d)) && Y(l, d), a.colorMatch || (O(d) && O(l) ? l.fillSymbol = d.fillSymbol : (b(l) && b(d) || A(l) && A(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), c = !0), l.id = d.id, d.name !== m.name && (l.name = d.name)), a.series.length === 1 && ((b(l) || A(l)) && Y(l, a.series[0]), a.colorMatch || (O(l) ? l.fillSymbol = a.series[0].fillSymbol : (b(l) || A(l)) && (l.lineSymbol = a.series[0].lineSymbol, l.markerSymbol = a.series[0].markerSymbol), c = !0)), a.colorMatch = !c, [l];
|
|
675
680
|
}
|
|
676
681
|
function Ae(t) {
|
|
677
682
|
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i, c = X(i.layer).idField, m = [];
|
|
@@ -705,7 +710,7 @@ function Ae(t) {
|
|
|
705
710
|
name: w(o, h)
|
|
706
711
|
});
|
|
707
712
|
let k = h;
|
|
708
|
-
f.query !== void 0 && (r !==
|
|
713
|
+
f.query !== void 0 && (r !== q.NoAggregation ? (k = C, f.query.outStatistics = [
|
|
709
714
|
{
|
|
710
715
|
...p.query?.outStatistics?.[0] ?? {},
|
|
711
716
|
onStatisticField: h,
|
|
@@ -713,11 +718,11 @@ function Ae(t) {
|
|
|
713
718
|
statisticType: r
|
|
714
719
|
}
|
|
715
720
|
]) : delete f.query.outStatistics), f.y = k;
|
|
716
|
-
const
|
|
721
|
+
const T = a.series.find(
|
|
717
722
|
(S) => S.query?.outStatistics?.[0]?.onStatisticField === h && S.query.where === void 0 || S.query?.outStatistics === void 0 && (S.y === h || S.x === h)
|
|
718
723
|
);
|
|
719
|
-
if (
|
|
720
|
-
(b(f) && b(
|
|
724
|
+
if (T !== void 0 && typeof T.y == "string" && T.y.trim() !== "") {
|
|
725
|
+
(b(f) && b(T) || A(f) && A(T)) && Y(f, T), a.colorMatch || (O(f) && O(T) ? f.fillSymbol = T.fillSymbol : (b(f) && b(T) || A(f) && A(T)) && (f.lineSymbol = T.lineSymbol, f.markerSymbol = T.markerSymbol), F = !0);
|
|
721
726
|
const S = $({
|
|
722
727
|
config: a,
|
|
723
728
|
xAxisField: e,
|
|
@@ -726,7 +731,7 @@ function Ae(t) {
|
|
|
726
731
|
seriesIndex: u,
|
|
727
732
|
commonStrings: n
|
|
728
733
|
});
|
|
729
|
-
f.id =
|
|
734
|
+
f.id = T.id, T.id !== S.id && T.name !== S.name && (f.id = T.id, f.name = T.name), f.assignToSecondValueAxis = T.assignToSecondValueAxis, f.type === v.HeatSeries && T.type === v.HeatSeries && (f.y = T.y, f.heatRulesType = T.heatRulesType);
|
|
730
735
|
}
|
|
731
736
|
m.push(f);
|
|
732
737
|
}
|
|
@@ -735,7 +740,7 @@ function Ae(t) {
|
|
|
735
740
|
), d = a.series.filter((u) => O(u)), y = a.series.filter(
|
|
736
741
|
(u) => b(u) || A(u)
|
|
737
742
|
);
|
|
738
|
-
return d.length === 1 && l.length === 1 && !a.colorMatch && (O(d[0]) && O(l[0]) && (l[0].fillSymbol = d[0].fillSymbol), F = !0), y.length === 1 && g.length === 1 && ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) &&
|
|
743
|
+
return d.length === 1 && l.length === 1 && !a.colorMatch && (O(d[0]) && O(l[0]) && (l[0].fillSymbol = d[0].fillSymbol), F = !0), y.length === 1 && g.length === 1 && ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && Y(g[0], y[0]), a.colorMatch || ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && (g[0].lineSymbol = y[0].lineSymbol, g[0].markerSymbol = y[0].markerSymbol), F = !0)), a.colorMatch = !F, m;
|
|
739
744
|
}
|
|
740
745
|
function ai(t) {
|
|
741
746
|
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o = M(s), c = G(s), m = _(s, r, a), F = ve(s, r, a);
|
|
@@ -750,7 +755,7 @@ function ai(t) {
|
|
|
750
755
|
numericFieldIndex: g,
|
|
751
756
|
fieldList: i
|
|
752
757
|
}).name;
|
|
753
|
-
e !==
|
|
758
|
+
e !== q.NoAggregation ? (l.y = d, l.query = {
|
|
754
759
|
...l.query,
|
|
755
760
|
outStatistics: [
|
|
756
761
|
{
|
|
@@ -761,7 +766,7 @@ function ai(t) {
|
|
|
761
766
|
}
|
|
762
767
|
]
|
|
763
768
|
}) : (delete l.query?.outStatistics, l.y = c[g]);
|
|
764
|
-
}), m && s.title && (s.title.content.text =
|
|
769
|
+
}), m && s.title && (s.title.content.text = H(s, r, a)), F && s.series[0].type !== v.HeatSeries) {
|
|
765
770
|
const l = re({
|
|
766
771
|
config: s,
|
|
767
772
|
layerInfo: r,
|
|
@@ -825,7 +830,7 @@ function wt(t) {
|
|
|
825
830
|
query: {
|
|
826
831
|
...h.query,
|
|
827
832
|
where: `${e}=${g === ht.String && B !== null ? `'${B}'` : B}`,
|
|
828
|
-
outStatistics: a !==
|
|
833
|
+
outStatistics: a !== q.NoAggregation ? [
|
|
829
834
|
{
|
|
830
835
|
...h.query?.outStatistics?.[0] ?? {},
|
|
831
836
|
onStatisticField: d,
|
|
@@ -835,11 +840,11 @@ function wt(t) {
|
|
|
835
840
|
] : void 0
|
|
836
841
|
}
|
|
837
842
|
};
|
|
838
|
-
a ===
|
|
843
|
+
a === q.NoAggregation && (S.query !== void 0 && (delete S.query.outStatistics, delete S.query.groupByFieldsForStatistics), S.y = d);
|
|
839
844
|
const I = i.series.find(
|
|
840
845
|
(L) => String(Ce(L)).trim().replace(/'/gu, "") === k
|
|
841
846
|
);
|
|
842
|
-
I !== void 0 && ((b(S) && b(I) || A(S) && A(I)) &&
|
|
847
|
+
I !== void 0 && ((b(S) && b(I) || A(S) && A(I)) && Y(S, I), i.colorMatch || (O(S) && O(I) ? S.fillSymbol = I.fillSymbol : (b(S) && b(I) || A(S) && A(I)) && (S.lineSymbol = I.lineSymbol, S.markerSymbol = I.markerSymbol), u = !0), S.id = I.id, S.name = I.name, S.assignToSecondValueAxis = I.assignToSecondValueAxis), S.query && (S.query.fetchNullValues = i.series.some((L) => L.query?.fetchNullValues)), y.push(S);
|
|
843
848
|
}
|
|
844
849
|
return i.colorMatch = !u, y;
|
|
845
850
|
}
|
|
@@ -853,16 +858,16 @@ const ri = (t) => {
|
|
|
853
858
|
layerInfo: n,
|
|
854
859
|
commonStrings: o,
|
|
855
860
|
splitByFieldInfos: c
|
|
856
|
-
} = t, { layerFieldsInfo: m } = n ?? {}, F = ft(i), l = M(i), g = m.find((
|
|
861
|
+
} = t, { layerFieldsInfo: m } = n ?? {}, F = ft(i), l = M(i), g = m.find((x) => x.name === l), d = i.series[0].query?.fetchNullValues, y = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = m.find((x) => x.name === e), B = _(i, n, o), C = ve(i, n, o), h = Pt(i, n);
|
|
857
862
|
let f = Fe(i);
|
|
858
|
-
const k = i.series.some((
|
|
863
|
+
const k = i.series.some((x) => O(x)), T = lt(i.series), S = nt(i.series), I = ne(i), L = {};
|
|
859
864
|
I && (L.classBreaksRules = i.series[0]?.classBreaksRules, L.xTemporalBinning = i.series[0]?.xTemporalBinning, L.yTemporalBinning = i.series[0]?.yTemporalBinning, L.emptyCells = i.series[0]?.emptyCells, L.nullPolicy = i.nullPolicy);
|
|
860
865
|
let Z = !1;
|
|
861
|
-
if (et(p) ? f = fe() : !ye(g) && ye(p) ? f = Se() : !
|
|
866
|
+
if (et(p) ? f = fe() : !ye(g) && ye(p) ? f = Se() : !j(g) && j(p) ? (f = Se(), Z = !0) : j(g) && !j(p) && (k ? f = fe() : f = pt(), Z = !0), f !== void 0 && Ve(i, o, f), F === 0 && (i.series = [
|
|
862
867
|
$({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
|
|
863
|
-
]), i.series.forEach((
|
|
864
|
-
|
|
865
|
-
}), s === "" || r.length > 1 ?
|
|
868
|
+
]), i.series.forEach((x) => {
|
|
869
|
+
x.x = e, x.query !== void 0 && (x.query.groupByFieldsForStatistics = [e]);
|
|
870
|
+
}), s === "" || r.length > 1 ? Te({
|
|
866
871
|
fieldName: e,
|
|
867
872
|
numericFields: r,
|
|
868
873
|
fieldList: m
|
|
@@ -890,31 +895,31 @@ const ri = (t) => {
|
|
|
890
895
|
commonStrings: o,
|
|
891
896
|
splitByFieldInfos: c
|
|
892
897
|
})), h && i.series[0].type !== v.HeatSeries) {
|
|
893
|
-
const
|
|
894
|
-
E(i, 0,
|
|
898
|
+
const x = w(m, e);
|
|
899
|
+
E(i, 0, x);
|
|
895
900
|
}
|
|
896
901
|
if (C && i.series[0].type !== v.HeatSeries) {
|
|
897
|
-
const
|
|
902
|
+
const x = re({
|
|
898
903
|
config: i,
|
|
899
904
|
layerInfo: n,
|
|
900
905
|
commonStrings: o,
|
|
901
906
|
numericFields: r,
|
|
902
907
|
aggregationType: a
|
|
903
908
|
});
|
|
904
|
-
E(i, 1,
|
|
909
|
+
E(i, 1, x);
|
|
905
910
|
}
|
|
906
|
-
if (B && i.title && (i.title.content.text =
|
|
907
|
-
const
|
|
908
|
-
Bt(
|
|
911
|
+
if (B && i.title && (i.title.content.text = H(i, n, o)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), Ot({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (T || S) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), Z)) {
|
|
912
|
+
const x = f?.type === v.DateAxisFormat ? K.Null : K.Interpolate;
|
|
913
|
+
Bt(x, i);
|
|
909
914
|
}
|
|
910
|
-
I && (i.series[0].classBreaksRules = L.classBreaksRules, i.series[0].xTemporalBinning = L.xTemporalBinning, i.series[0].yTemporalBinning = L.yTemporalBinning, i.series[0].emptyCells = L.emptyCells, i.nullPolicy = L.nullPolicy), u ? i.series.forEach((
|
|
911
|
-
delete
|
|
912
|
-
}) : d && i.series.forEach((
|
|
913
|
-
|
|
914
|
-
}), y && i.series.forEach((
|
|
915
|
-
(
|
|
915
|
+
I && (i.series[0].classBreaksRules = L.classBreaksRules, i.series[0].xTemporalBinning = L.xTemporalBinning, i.series[0].yTemporalBinning = L.yTemporalBinning, i.series[0].emptyCells = L.emptyCells, i.nullPolicy = L.nullPolicy), u ? i.series.forEach((x) => {
|
|
916
|
+
delete x.query;
|
|
917
|
+
}) : d && i.series.forEach((x) => {
|
|
918
|
+
x.query && (x.query.fetchNullValues = d);
|
|
919
|
+
}), y && i.series.forEach((x) => {
|
|
920
|
+
(x.type === v.BarSeries || x.type === v.LineSeries || x.type === v.RadarSeries) && (x.nullCategory = y);
|
|
916
921
|
});
|
|
917
|
-
},
|
|
922
|
+
}, Y = (t, e) => {
|
|
918
923
|
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 = {
|
|
919
924
|
...e.markerSymbol,
|
|
920
925
|
color: t.markerSymbol?.color
|
|
@@ -922,7 +927,7 @@ const ri = (t) => {
|
|
|
922
927
|
}, li = (t) => {
|
|
923
928
|
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = ue(e);
|
|
924
929
|
let o;
|
|
925
|
-
if (
|
|
930
|
+
if (W(e.series) === D.BarAndLineFromFields)
|
|
926
931
|
o = a.axisLabels.values;
|
|
927
932
|
else if (Ie(n)) {
|
|
928
933
|
const m = i.query?.outStatistics?.[0]?.onStatisticField;
|
|
@@ -942,15 +947,15 @@ const ri = (t) => {
|
|
|
942
947
|
else {
|
|
943
948
|
e.orderOptions ??= {};
|
|
944
949
|
const s = e.orderOptions?.data?.orderType;
|
|
945
|
-
ie(e)[0] === J.customSort && s ===
|
|
946
|
-
orderType:
|
|
950
|
+
ie(e)[0] === J.customSort && s === V.Category && (e.orderOptions.data = {
|
|
951
|
+
orderType: V.Category,
|
|
947
952
|
orderBy: [...t]
|
|
948
953
|
});
|
|
949
954
|
}
|
|
950
955
|
}, oi = async (t) => {
|
|
951
|
-
const { config: e, layerInfo: s, errorStrings: r } = t, a = M(e), i = Fe(e)?.type, n = G(e), o =
|
|
956
|
+
const { config: e, layerInfo: s, errorStrings: r } = t, a = M(e), i = Fe(e)?.type, n = G(e), o = W(e.series);
|
|
952
957
|
let c = [];
|
|
953
|
-
return i === v.CategoryAxisFormat && (o === D.BarAndLineFromFields || a === ee ? c = n.map((m) => w(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== ee && s !== void 0 && (c = await
|
|
958
|
+
return i === v.CategoryAxisFormat && (o === D.BarAndLineFromFields || a === ee ? c = n.map((m) => w(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== ee && s !== void 0 && (c = await qe({
|
|
954
959
|
layerInfo: s,
|
|
955
960
|
config: e,
|
|
956
961
|
category: a,
|
|
@@ -958,7 +963,7 @@ const ri = (t) => {
|
|
|
958
963
|
}))), c;
|
|
959
964
|
};
|
|
960
965
|
function _(t, e, s) {
|
|
961
|
-
const r =
|
|
966
|
+
const r = H(t, e, s), a = St(t), i = z(t);
|
|
962
967
|
return r === a || i;
|
|
963
968
|
}
|
|
964
969
|
function ve(t, e, s) {
|
|
@@ -990,79 +995,79 @@ function ci(t, e) {
|
|
|
990
995
|
});
|
|
991
996
|
}
|
|
992
997
|
export {
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
998
|
+
hs as $,
|
|
999
|
+
ni as A,
|
|
1000
|
+
ri as B,
|
|
1001
|
+
ui as C,
|
|
1002
|
+
ci as D,
|
|
1003
|
+
H as E,
|
|
1004
|
+
Nt as F,
|
|
1005
|
+
Bs as G,
|
|
1006
|
+
Ks as H,
|
|
1007
|
+
Us as I,
|
|
1008
|
+
bs as J,
|
|
1009
|
+
Cs as K,
|
|
1010
|
+
vs as L,
|
|
1011
|
+
As as M,
|
|
1012
|
+
Qs as N,
|
|
1013
|
+
zs as O,
|
|
1014
|
+
Gs as P,
|
|
1015
|
+
_s as Q,
|
|
1016
|
+
ei as R,
|
|
1017
|
+
ti as S,
|
|
1018
|
+
si as T,
|
|
1019
|
+
ii as U,
|
|
1020
|
+
fs as V,
|
|
1021
|
+
Ss as W,
|
|
1022
|
+
Ls as X,
|
|
1023
|
+
Is as Y,
|
|
1024
|
+
Vs as Z,
|
|
1025
|
+
qs as _,
|
|
1026
|
+
ys as a,
|
|
1027
|
+
Fs as a0,
|
|
1028
|
+
xs as a1,
|
|
1029
|
+
Ts as a2,
|
|
1030
|
+
ks as a3,
|
|
1031
|
+
Os as a4,
|
|
1032
|
+
Ds as a5,
|
|
1033
|
+
ws as a6,
|
|
1034
|
+
Rs as a7,
|
|
1035
|
+
Ns as a8,
|
|
1036
|
+
Ps as a9,
|
|
1037
|
+
kt as aa,
|
|
1038
|
+
Es as ab,
|
|
1039
|
+
Ms as ac,
|
|
1040
|
+
$s as ad,
|
|
1041
|
+
Ys as ae,
|
|
1042
|
+
Ws as af,
|
|
1043
|
+
Xs as ag,
|
|
1044
|
+
Js as ah,
|
|
1045
|
+
Zs as ai,
|
|
1046
|
+
Hs as aj,
|
|
1047
|
+
js as ak,
|
|
1048
|
+
us as b,
|
|
1049
|
+
cs as c,
|
|
1050
|
+
G as d,
|
|
1051
|
+
ue as e,
|
|
1052
|
+
ps as f,
|
|
1048
1053
|
be as g,
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1054
|
+
li as h,
|
|
1055
|
+
ms as i,
|
|
1056
|
+
ts as j,
|
|
1057
|
+
Tt as k,
|
|
1058
|
+
rs as l,
|
|
1059
|
+
ss as m,
|
|
1060
|
+
ls as n,
|
|
1061
|
+
is as o,
|
|
1062
|
+
gs as p,
|
|
1063
|
+
ns as q,
|
|
1064
|
+
Ct as r,
|
|
1065
|
+
xt as s,
|
|
1066
|
+
as as t,
|
|
1067
|
+
ds as u,
|
|
1068
|
+
Bt as v,
|
|
1069
|
+
os as w,
|
|
1070
|
+
ai as x,
|
|
1071
|
+
ie as y,
|
|
1072
|
+
oi as z
|
|
1068
1073
|
};
|