@arcgis/charts-components 5.2.0-next.31 → 5.2.0-next.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{WU62O2AU.js → 2CVA3SGN.js} +1 -1
- package/dist/cdn/35HUQECK.js +3 -0
- package/dist/cdn/{NKVZYKL5.js → 3EA7ST6X.js} +1 -1
- package/dist/cdn/{Y6CFEFZM.js → 3S7YCMP7.js} +1 -1
- package/dist/cdn/{DRFJC64L.js → 3X6QTGFF.js} +1 -1
- package/dist/cdn/{3MKY6UCO.js → 4ARHEXVJ.js} +1 -1
- package/dist/cdn/{PKQOLKTW.js → 4DEDSWYV.js} +1 -1
- package/dist/cdn/{Z43DVT6G.js → 4JKNHY7O.js} +1 -1
- package/dist/cdn/{MBPFBE3E.js → 4Q6TQOL5.js} +1 -1
- package/dist/cdn/{AZR6HVRW.js → 4XEJP6PY.js} +1 -1
- package/dist/cdn/{IWMWJN7M.js → 5JUMTA26.js} +1 -1
- package/dist/cdn/{RKG6CXUU.js → 5ZX5DKDK.js} +1 -1
- package/dist/cdn/{4TRUG37X.js → 6GARCIVS.js} +1 -1
- package/dist/cdn/{XRLVJJBT.js → 6LH7Y7PU.js} +1 -1
- package/dist/cdn/{6OCDFMFB.js → 7CSXC5DN.js} +1 -1
- package/dist/cdn/{O5NKLK7V.js → 7QIR4BM4.js} +1 -1
- package/dist/cdn/7YOJVEYS.js +2 -0
- package/dist/cdn/{3NKDMMC2.js → B6N4OMNY.js} +1 -1
- package/dist/cdn/{2SPGX6AF.js → BDWJKXSF.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{ADYDCO3M.js → BYZU546L.js} +1 -1
- package/dist/cdn/{YFHB2EFH.js → CALA7HKD.js} +1 -1
- package/dist/cdn/{SSKHF7PO.js → DGJLXGIE.js} +1 -1
- package/dist/cdn/{BQXXD2HU.js → DRE7JXAI.js} +1 -1
- package/dist/cdn/{MVUIKY5Y.js → EFBBG67Q.js} +1 -1
- package/dist/cdn/{5UO6L27Q.js → EJIWN63T.js} +1 -1
- package/dist/cdn/{3UTF2CB3.js → F3XMYLVZ.js} +1 -1
- package/dist/cdn/{T5TFLMQL.js → FSUNWDBJ.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → G6EAXNDR.js} +1 -1
- package/dist/cdn/{X7Z4LEZH.js → G7Z6J5RV.js} +1 -1
- package/dist/cdn/{REZ2QR42.js → GLTERJLR.js} +1 -1
- package/dist/cdn/{6ANVHVX4.js → H3DNER4V.js} +1 -1
- package/dist/cdn/{3QO6REDF.js → H5EKLENR.js} +8 -8
- package/dist/cdn/{IPALCXFF.js → HE66HTT4.js} +1 -1
- package/dist/cdn/{7VQXBQMZ.js → HMHTGLG4.js} +1 -1
- package/dist/cdn/{3YN4EKSJ.js → IB7JS7SY.js} +1 -1
- package/dist/cdn/{YWKPGNHB.js → ICIEVVSN.js} +1 -1
- package/dist/cdn/{5XCU5SR2.js → IDWUHTEH.js} +1 -1
- package/dist/cdn/{4BEGCEGA.js → IR2S2FUR.js} +3 -3
- package/dist/cdn/{Y3CXVO2M.js → J2YNPNIL.js} +1 -1
- package/dist/cdn/{K27GKXGP.js → JKJOFEHQ.js} +1 -1
- package/dist/cdn/{DAF2U7TN.js → KDV2P46R.js} +1 -1
- package/dist/cdn/{HBS6O3P3.js → KEQTMZ4H.js} +1 -1
- package/dist/cdn/{THTYR6IL.js → KHT4LCWN.js} +1 -1
- package/dist/cdn/{CRCAJAFA.js → KZ2OB6RV.js} +1 -1
- package/dist/cdn/{PAIRUVLU.js → LLUS6VGO.js} +1 -1
- package/dist/cdn/{TCS4HOSG.js → LLYDWCNL.js} +1 -1
- package/dist/cdn/LRTICIHK.js +2 -0
- package/dist/cdn/{3TBK72EK.js → LV3T5QZF.js} +1 -1
- package/dist/cdn/{MEA74C44.js → LW6GBG3R.js} +1 -1
- package/dist/cdn/MNGK37MT.js +61 -0
- package/dist/cdn/{SOGVYNPI.js → N7MBLVLD.js} +1 -1
- package/dist/cdn/{6VK54DG5.js → NEXAUEB6.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → NKUXUCUP.js} +1 -1
- package/dist/cdn/{2ODYZG66.js → NLWVJIKG.js} +1 -1
- package/dist/cdn/{GCRQHIGQ.js → O4RIY6NM.js} +1 -1
- package/dist/cdn/{Q2GW5LB7.js → OLMLZIOC.js} +1 -1
- package/dist/cdn/{YWCIV7ZZ.js → OZAHUXAZ.js} +1 -1
- package/dist/cdn/PKCJ77IC.js +2 -0
- package/dist/cdn/{6CB5R4QQ.js → PLACSZ4B.js} +1 -1
- package/dist/cdn/{N673JFHK.js → Q5VL76MN.js} +1 -1
- package/dist/cdn/{M4ZJRIYM.js → QBSSM5SD.js} +1 -1
- package/dist/cdn/{BZFGE4LO.js → QHQ3LXOS.js} +1 -1
- package/dist/cdn/{35NSJ3NJ.js → QJ5SV5WD.js} +1 -1
- package/dist/cdn/{BKU72IQC.js → QMOKFIDS.js} +1 -1
- package/dist/cdn/{WHVW3P3O.js → QNNG52P2.js} +1 -1
- package/dist/cdn/{AICTKGE3.js → QXXJNANY.js} +1 -1
- package/dist/cdn/{XRP6IFM4.js → QZIWEL6O.js} +1 -1
- package/dist/cdn/{JIV6BQKG.js → RE5VVA6N.js} +1 -1
- package/dist/cdn/{QV3NMKKZ.js → RP3UHRU3.js} +1 -1
- package/dist/cdn/{M7QZTQSD.js → S3XHOO4D.js} +1 -1
- package/dist/cdn/{TOFVWGTG.js → S76GRSZU.js} +1 -1
- package/dist/cdn/{X7YEBHBF.js → SCALEEJU.js} +1 -1
- package/dist/cdn/{7Z7NOIH2.js → SUAMHPKM.js} +1 -1
- package/dist/cdn/{TSA7UMSZ.js → SYFQUCIP.js} +1 -1
- package/dist/cdn/{CLN32L2L.js → SZXRIKL2.js} +1 -1
- package/dist/cdn/{QGEFY4ND.js → TCRIDGAS.js} +1 -1
- package/dist/cdn/{KQLAAGKI.js → TDNNODY2.js} +1 -1
- package/dist/cdn/{6GV2QPKV.js → TSEKFO24.js} +1 -1
- package/dist/cdn/{3SBYV6BW.js → TYDIOOT2.js} +1 -1
- package/dist/cdn/{4P7URPRQ.js → UBWQISYD.js} +1 -1
- package/dist/cdn/{JBR6IJMK.js → UGDK7VVY.js} +1 -1
- package/dist/cdn/{WJHIJTWS.js → WIP2MXFL.js} +1 -1
- package/dist/cdn/{LFXRCL7K.js → WV3NTL6A.js} +1 -1
- package/dist/cdn/{HIW5WRHR.js → XJATEY2N.js} +1 -1
- package/dist/cdn/{C4TQOUPO.js → XYT5GAQI.js} +1 -1
- package/dist/cdn/{G5EGTXMY.js → Y3SFQXIO.js} +1 -1
- package/dist/cdn/Z2CMTIET.js +2 -0
- package/dist/cdn/{ZW4PF3UK.js → Z2NN43OK.js} +1 -1
- package/dist/cdn/{YQIFZJTZ.js → Z6ZPSA7P.js} +1 -1
- package/dist/cdn/{BI54CNMR.js → ZBMTOUMZ.js} +1 -1
- package/dist/cdn/{6XIDALQU.js → ZIPXZUFN.js} +1 -1
- package/dist/cdn/{KFPJI52X.js → ZJKFLXTH.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +36 -36
- package/dist/chunks/box-plot-model.js +5 -5
- package/dist/chunks/chart-model.js +38 -38
- package/dist/chunks/class-breaks.js +7 -7
- package/dist/chunks/combo-bar-line-chart-model.js +27 -27
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +22 -22
- package/dist/chunks/data.js +18 -18
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/generate-x-axis-title.js +9 -9
- package/dist/chunks/heat-chart-model.js +5 -5
- package/dist/chunks/histogram-data.js +15 -15
- package/dist/chunks/histogram-model.js +4 -4
- package/dist/chunks/index.js +84 -83
- package/dist/chunks/index2.js +929 -914
- package/dist/chunks/index3.js +13 -13
- package/dist/chunks/index4.js +149 -49
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-y-guides.js +6 -6
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +16 -16
- package/dist/chunks/pie-chart-model.js +20 -20
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +86 -86
- package/dist/chunks/serial-chart-model.js +13 -13
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +24 -20
- package/dist/chunks/type-guards3.js +1 -1
- package/dist/chunks/utils.js +15 -15
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +41 -41
- package/dist/chunks/x-bounds.js +16 -16
- package/dist/components/arcgis-chart/customElement.d.ts +2 -1
- package/dist/components/arcgis-chart/customElement.js +6501 -6393
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +462 -459
- package/dist/json-schema/index.d.ts +92 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +3 -2
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/shared/type-guards.d.ts +7 -0
- package/dist/spec/web-chart.d.ts +8 -0
- package/dist/utils/chart-config/converter/index.js +16 -16
- package/dist/utils/defaults/index.d.ts +4 -1
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/package.json +4 -5
- package/dist/cdn/BJBNELDD.js +0 -3
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/PEYVSFSE.js +0 -58
- package/dist/cdn/SAYLTYWY.js +0 -2
- package/dist/cdn/U3MRRFML.js +0 -2
- package/dist/cdn/VWTJHXHI.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
|
@@ -3,18 +3,18 @@ import { substitute as w } from "@arcgis/core/intl.js";
|
|
|
3
3
|
import { cloneDeep as ne, isEmpty as Ve, memoize as Ne } from "lodash-es";
|
|
4
4
|
import { S as te } from "./common.js";
|
|
5
5
|
import { s as q, u as E, g as le, a as Fe, b as qe, c as Re, d as ce } from "./utils.js";
|
|
6
|
-
import { w as R, i as ke,
|
|
7
|
-
import { a as
|
|
8
|
-
import { u as
|
|
6
|
+
import { w as R, i as ke, cS as j, bY as Oe, bm as De, x as Pe, Y as K, cq as we, cp as Ee, p as Me, aH as oe, c2 as $e, d as We, aG as Ye, I as Xe, a7 as je, bk as He, W as Ue, e as Ze, bo as Ke, cZ as _e, v as Qe, d4 as de, bM as ze, d5 as Ge, bI as Je, B as et, d1 as tt, an as H, a6 as he, b9 as st, k as se, bq as it, bu as ye, bb as Z, bh as me } from "./index2.js";
|
|
7
|
+
import { a as W, s as Te, g as _, b as pe, c as at } from "./data.js";
|
|
8
|
+
import { u as x, r as I, k as rt, n as N, m as M, p as nt, t as lt, s as ie } from "./chart-object-literals.js";
|
|
9
9
|
import { i as ot, R as ut } from "./rest-js-object-literals.js";
|
|
10
10
|
import { i as Q } from "./index4.js";
|
|
11
|
-
import {
|
|
11
|
+
import { aA as ct, u as dt, Z as yt, aa as mt, am as pt, y as gt, D as ge, I as fe, a0 as ft } from "./index.js";
|
|
12
12
|
import { C as P, F as $, d as D } from "./index3.js";
|
|
13
|
-
import { h as
|
|
13
|
+
import { h as xe, i as O, j as St, n as Ft, g as A, m as v, e as Se } from "./index5.js";
|
|
14
14
|
import { convertChartSpec as ht } from "../utils/chart-config/converter/index.js";
|
|
15
|
-
import {
|
|
15
|
+
import { d as ae, f as Tt } from "./type-guards.js";
|
|
16
16
|
import { g as Be } from "./series-types.js";
|
|
17
|
-
import { C as
|
|
17
|
+
import { C as xt, m as Bt } from "./model-setter.js";
|
|
18
18
|
import { g as ue } from "./utils2.js";
|
|
19
19
|
import { a as Ct, b as bt } from "./series-length.js";
|
|
20
20
|
const ms = (t) => {
|
|
@@ -68,15 +68,15 @@ var Vt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, qt = (t, e
|
|
|
68
68
|
const Rt = (t) => {
|
|
69
69
|
let e;
|
|
70
70
|
return j(t) ? e = t.outTimeZone : t?.series.forEach((s) => {
|
|
71
|
-
(s.type ===
|
|
72
|
-
}), e || (e = t?.axes?.[0]?.valueFormat.type ===
|
|
71
|
+
(s.type === x.BarSeries || s.type === x.RadarSeries || s.type === x.LineSeries) && s.temporalBinning && (e = s.temporalBinning.outTimeZone);
|
|
72
|
+
}), e || (e = t?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
73
73
|
}, Ce = (t, e) => {
|
|
74
74
|
const s = ke(t);
|
|
75
75
|
j(e) ? t ? e.outTimeZone = s : delete e.outTimeZone : e?.series.forEach((r) => {
|
|
76
|
-
(r.type ===
|
|
77
|
-
}), e?.axes?.[0]?.valueFormat.type ===
|
|
76
|
+
(r.type === x.BarSeries || r.type === x.RadarSeries || r.type === x.LineSeries) && (t ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = s) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
|
|
77
|
+
}), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (t ? e.axes[0].valueFormat.intlOptions.timeZone = s : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
78
78
|
};
|
|
79
|
-
class kt extends
|
|
79
|
+
class kt extends xt {
|
|
80
80
|
/**
|
|
81
81
|
* Gets the time zone for the chart.
|
|
82
82
|
*/
|
|
@@ -90,11 +90,11 @@ class kt extends Tt {
|
|
|
90
90
|
qt([
|
|
91
91
|
Bt
|
|
92
92
|
], kt.prototype, "timeZone");
|
|
93
|
-
function
|
|
93
|
+
function Ts(t, e) {
|
|
94
94
|
let s;
|
|
95
95
|
return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function xs(t, e) {
|
|
98
98
|
let s;
|
|
99
99
|
return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
|
|
100
100
|
}
|
|
@@ -107,12 +107,12 @@ function Ot(t) {
|
|
|
107
107
|
return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
108
108
|
}
|
|
109
109
|
function Cs(t, e) {
|
|
110
|
-
return e != null ||
|
|
110
|
+
return e != null || xe(t);
|
|
111
111
|
}
|
|
112
112
|
async function bs(t) {
|
|
113
113
|
const { config: e, layer: s, abortSignal: r } = t;
|
|
114
114
|
let a = !1;
|
|
115
|
-
return ae(s) ||
|
|
115
|
+
return ae(s) || Tt(e) ? e && ae(s) && (a = await De({ config: e, layer: s, abortSignal: r })) : a = !0, a;
|
|
116
116
|
}
|
|
117
117
|
async function Dt(t) {
|
|
118
118
|
const {
|
|
@@ -128,13 +128,13 @@ async function Dt(t) {
|
|
|
128
128
|
chartLimits: S
|
|
129
129
|
} = t;
|
|
130
130
|
let u = [], c;
|
|
131
|
-
const y = ne(s), p = y.series[0], l =
|
|
131
|
+
const y = ne(s), p = y.series[0], l = Ze({
|
|
132
132
|
queryObject: e,
|
|
133
133
|
chartConfig: y,
|
|
134
134
|
runtimeDataFilters: n,
|
|
135
135
|
ignoreViewExtent: o
|
|
136
136
|
});
|
|
137
|
-
if (l.outStatistics?.[0]?.outStatisticFieldName && (l.outStatistics[0].outStatisticFieldName = ct.outStatistics.outStatisticFieldName), R(p) &&
|
|
137
|
+
if (l.outStatistics?.[0]?.outStatisticFieldName && (l.outStatistics[0].outStatisticFieldName = ct.outStatistics.outStatisticFieldName), R(p) && Ke({
|
|
138
138
|
xAxisValueFormatType: _e(y),
|
|
139
139
|
setTimeBinningInfoWhenNotProvided: d,
|
|
140
140
|
seriesConfig: p,
|
|
@@ -147,7 +147,7 @@ async function Dt(t) {
|
|
|
147
147
|
setTimeBinningInfoWhenNotProvided: d,
|
|
148
148
|
returnFeaturesExtent: m,
|
|
149
149
|
chartLimits: S
|
|
150
|
-
}), F = s.axes?.[0].valueFormat.type ===
|
|
150
|
+
}), F = s.axes?.[0].valueFormat.type === x.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
151
151
|
c = await ze({
|
|
152
152
|
queryObject: e,
|
|
153
153
|
dateField: B,
|
|
@@ -161,8 +161,8 @@ async function Dt(t) {
|
|
|
161
161
|
new Set(
|
|
162
162
|
c.flatMap((f) => {
|
|
163
163
|
const { stackedAttributes: k } = f;
|
|
164
|
-
let
|
|
165
|
-
return k && (
|
|
164
|
+
let T = [];
|
|
165
|
+
return k && (T = k.map((h) => h[r]).filter((h) => h !== void 0)), T;
|
|
166
166
|
})
|
|
167
167
|
).values()
|
|
168
168
|
);
|
|
@@ -260,9 +260,9 @@ async function Mt(t) {
|
|
|
260
260
|
if (r && !ae(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || u !== void 0) && e.addMissingSeries) {
|
|
261
261
|
const y = s.series.length === 0;
|
|
262
262
|
s.series.length === 0 && u !== void 0 && s.series.push(u);
|
|
263
|
-
const p =
|
|
263
|
+
const p = K(s.series);
|
|
264
264
|
if (p === P.BoxPlotMonoFieldAndSplitBy || p === P.BoxPlotMultiFieldsAndSplitBy || p === P.BoxPlotMonoFieldAndCategoryAndSplitBy || p === P.BarAndLineSplitBy || p === P.BarAndLineSplitByNoAggregation) {
|
|
265
|
-
const l =
|
|
265
|
+
const l = Ye(s.series[0]?.query?.where), g = Xe(r), B = je(l, g), b = B ? He(B) : !1, F = await Dt({
|
|
266
266
|
queryObject: r,
|
|
267
267
|
chartConfig: s,
|
|
268
268
|
splitByField: l,
|
|
@@ -275,13 +275,13 @@ async function Mt(t) {
|
|
|
275
275
|
errorStrings: a
|
|
276
276
|
}), { allValues: f } = F;
|
|
277
277
|
if ({ preFetchedQueryResponse: c } = F, f.length > 0) {
|
|
278
|
-
const k = Pt(s, b),
|
|
278
|
+
const k = Pt(s, b), T = wt({
|
|
279
279
|
allValues: f,
|
|
280
280
|
configUniqueValuesPerSeriesType: k,
|
|
281
281
|
initialConfigWasEmpty: y
|
|
282
282
|
});
|
|
283
|
-
Array.from(
|
|
284
|
-
(
|
|
283
|
+
Array.from(T.keys()).forEach((h) => {
|
|
284
|
+
(T.get(h) ?? []).forEach((V) => {
|
|
285
285
|
s.series.push(
|
|
286
286
|
Et({
|
|
287
287
|
chartConfig: s,
|
|
@@ -298,7 +298,7 @@ async function Mt(t) {
|
|
|
298
298
|
return c;
|
|
299
299
|
}
|
|
300
300
|
function $t(t, e) {
|
|
301
|
-
e && !
|
|
301
|
+
e && !xe(e) && (e = We({ chartConfig: e, queryObject: t }));
|
|
302
302
|
}
|
|
303
303
|
async function As(t) {
|
|
304
304
|
const {
|
|
@@ -331,7 +331,7 @@ async function As(t) {
|
|
|
331
331
|
chartLimits: c
|
|
332
332
|
})), l = Oe(l, i), Ce(y, l)), { alteredConfig: l, preFetchedQueryResponse: g };
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Wt(t, e) {
|
|
335
335
|
let s = !1;
|
|
336
336
|
if (e !== void 0) {
|
|
337
337
|
const r = Ue({ key: et.Average, splitBy: e });
|
|
@@ -343,12 +343,12 @@ function vs(t) {
|
|
|
343
343
|
const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = ne(s);
|
|
344
344
|
let n = !1;
|
|
345
345
|
if (!r && a > 1 && e) {
|
|
346
|
-
const o = Pe(e), d = Be(s?.series), m =
|
|
346
|
+
const o = Pe(e), d = Be(s?.series), m = K(s?.series), S = /* @__PURE__ */ new Set();
|
|
347
347
|
switch (d) {
|
|
348
|
-
case
|
|
349
|
-
case
|
|
350
|
-
case
|
|
351
|
-
case
|
|
348
|
+
case x.ComboLineAndBarSeries:
|
|
349
|
+
case x.BarSeries:
|
|
350
|
+
case x.RadarSeries:
|
|
351
|
+
case x.LineSeries: {
|
|
352
352
|
i.series.forEach((c) => {
|
|
353
353
|
if (Array.isArray(o)) {
|
|
354
354
|
let y = "";
|
|
@@ -364,19 +364,19 @@ function vs(t) {
|
|
|
364
364
|
});
|
|
365
365
|
break;
|
|
366
366
|
}
|
|
367
|
-
case
|
|
367
|
+
case x.BoxPlotSeries: {
|
|
368
368
|
if (we(s)) {
|
|
369
369
|
const c = Ee(s);
|
|
370
370
|
s.series.forEach((y) => {
|
|
371
371
|
let p, l;
|
|
372
|
-
y.type ===
|
|
372
|
+
y.type === x.BoxPlotSeries ? (p = e.dataItems, l = p?.some(
|
|
373
373
|
(g) => Me({
|
|
374
374
|
dataItem: g,
|
|
375
375
|
splitBy: y.query?.where,
|
|
376
376
|
showOutliers: c
|
|
377
377
|
})
|
|
378
|
-
)) : y.type ===
|
|
379
|
-
(g) =>
|
|
378
|
+
)) : y.type === x.LineSeries && (p = e.meanLines, l = p?.some(
|
|
379
|
+
(g) => Wt(g, y.query?.where)
|
|
380
380
|
)), l && S.add(y);
|
|
381
381
|
});
|
|
382
382
|
}
|
|
@@ -397,12 +397,12 @@ const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
|
|
|
397
397
|
const s = t.series[0];
|
|
398
398
|
s.gradientRules = e;
|
|
399
399
|
}, Rs = (t) => t.series[0].gradientRules, ks = (t) => {
|
|
400
|
-
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ue(1, s), n =
|
|
400
|
+
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ue(1, s), n = Yt(s), o = Q(s), d = s.series[0];
|
|
401
401
|
if (typeof e == "string" && n !== e && d && (d.y = e, Ot(s), n === i || o)) {
|
|
402
402
|
const m = D(a, e);
|
|
403
403
|
E(s, 1, m);
|
|
404
404
|
}
|
|
405
|
-
},
|
|
405
|
+
}, Yt = (t) => t.series[0].y ?? "", Os = (t) => {
|
|
406
406
|
const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
|
|
407
407
|
if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
408
408
|
const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
@@ -427,7 +427,7 @@ const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
|
|
|
427
427
|
}, Ms = (t) => t.series[0].gridLine?.width, $s = (t, e) => {
|
|
428
428
|
const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
429
429
|
s.gridLine && r && (s.gridLine.color = t);
|
|
430
|
-
},
|
|
430
|
+
}, Ws = (t) => t.series[0].gridLine?.color, Ys = (t, e) => {
|
|
431
431
|
const s = e.legend;
|
|
432
432
|
s && (s.position = t);
|
|
433
433
|
}, Xs = (t) => t.legend?.position ?? rt.Bottom, js = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Hs = (t) => {
|
|
@@ -441,10 +441,10 @@ const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
|
|
|
441
441
|
}
|
|
442
442
|
]
|
|
443
443
|
}, n && s.title && (s.title.content.text = U(s, r, a));
|
|
444
|
-
}, Us = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? I.Count,
|
|
444
|
+
}, Us = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, Zs = (t) => {
|
|
445
445
|
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n = J(s, r, a);
|
|
446
446
|
i && e !== I.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === I.Count || e === I.Sum) && jt(M.Zero, s), n && s.title && (s.title.content.text = U(s, r, a));
|
|
447
|
-
},
|
|
447
|
+
}, Ks = (t) => t.nullPolicy, jt = (t, e) => {
|
|
448
448
|
e.nullPolicy = t;
|
|
449
449
|
}, _s = (t) => t.series[0].emptyCells, Qs = (t, e) => {
|
|
450
450
|
e.series[0].emptyCells = t;
|
|
@@ -510,7 +510,7 @@ function pi(t, e) {
|
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function Y(t) {
|
|
514
514
|
const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, o = H(i?.layer).idField;
|
|
515
515
|
let d;
|
|
516
516
|
const m = a.series[e ?? 0];
|
|
@@ -539,7 +539,7 @@ function W(t) {
|
|
|
539
539
|
y: "",
|
|
540
540
|
dataLabels: {
|
|
541
541
|
...d.dataLabels,
|
|
542
|
-
type: d.dataLabels?.type ??
|
|
542
|
+
type: d.dataLabels?.type ?? x.Text,
|
|
543
543
|
content: { ...d.dataLabels?.content, ...y?.content, type: ot.TS },
|
|
544
544
|
visible: y?.visible ?? !1
|
|
545
545
|
}
|
|
@@ -566,9 +566,9 @@ function W(t) {
|
|
|
566
566
|
return ne(p);
|
|
567
567
|
}
|
|
568
568
|
function U(t, e, s) {
|
|
569
|
-
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = H(e.layer), n =
|
|
569
|
+
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = H(e.layer), n = W(t), o = G(t), d = Ae(t), m = z(t), S = i && (o.length === 0 || o.includes(a)), u = dt(d, s), c = S ? "" : o.map((F) => D(r ?? [], F)).join(", "), y = D(r ?? [], n), p = D(r ?? [], m), l = t.series.some((F) => O(F)), g = l ? "category" : "xAxisField", B = y;
|
|
570
570
|
let b = "";
|
|
571
|
-
if (
|
|
571
|
+
if (Te({
|
|
572
572
|
fieldName: n,
|
|
573
573
|
numericFields: o,
|
|
574
574
|
fieldList: r
|
|
@@ -662,7 +662,7 @@ function Ht(t) {
|
|
|
662
662
|
})), ce(r, 1, i);
|
|
663
663
|
const n = r.series.some((d) => A(d)), o = r.series.some((d) => v(d));
|
|
664
664
|
if (n || o) {
|
|
665
|
-
const d =
|
|
665
|
+
const d = W(r), m = a.layerFieldsInfo.find((u) => u.name === d), S = m !== void 0 && me(m);
|
|
666
666
|
ce(r, 0, S);
|
|
667
667
|
}
|
|
668
668
|
}
|
|
@@ -680,7 +680,7 @@ const re = (t) => {
|
|
|
680
680
|
function Ut(t) {
|
|
681
681
|
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i;
|
|
682
682
|
let d = !1;
|
|
683
|
-
const m =
|
|
683
|
+
const m = Y({
|
|
684
684
|
config: a,
|
|
685
685
|
xAxisField: e,
|
|
686
686
|
aggregationType: r,
|
|
@@ -715,7 +715,7 @@ function Ie(t) {
|
|
|
715
715
|
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i, d = H(i.layer).idField, m = [];
|
|
716
716
|
let S = !1;
|
|
717
717
|
for (let l = 0; l < s.length; l += 1) {
|
|
718
|
-
const g =
|
|
718
|
+
const g = Y({
|
|
719
719
|
config: a,
|
|
720
720
|
xAxisField: e,
|
|
721
721
|
aggregationType: r,
|
|
@@ -751,12 +751,12 @@ function Ie(t) {
|
|
|
751
751
|
statisticType: r
|
|
752
752
|
}
|
|
753
753
|
]) : delete f.query.outStatistics), f.y = k;
|
|
754
|
-
const
|
|
754
|
+
const T = a.series.find(
|
|
755
755
|
(h) => h.query?.outStatistics?.[0]?.onStatisticField === F && h.query.where === void 0 || h.query?.outStatistics === void 0 && (h.y === F || h.x === F)
|
|
756
756
|
);
|
|
757
|
-
if (
|
|
758
|
-
(A(f) && A(
|
|
759
|
-
const h =
|
|
757
|
+
if (T !== void 0 && typeof T.y == "string" && T.y.trim() !== "") {
|
|
758
|
+
(A(f) && A(T) || v(f) && v(T)) && X(f, T), a.colorMatch || (O(f) && O(T) ? f.fillSymbol = T.fillSymbol : (A(f) && A(T) || v(f) && v(T)) && (f.lineSymbol = T.lineSymbol, f.markerSymbol = T.markerSymbol), S = !0);
|
|
759
|
+
const h = Y({
|
|
760
760
|
config: a,
|
|
761
761
|
xAxisField: e,
|
|
762
762
|
aggregationType: r,
|
|
@@ -764,7 +764,7 @@ function Ie(t) {
|
|
|
764
764
|
seriesIndex: l,
|
|
765
765
|
commonStrings: n
|
|
766
766
|
});
|
|
767
|
-
f.id =
|
|
767
|
+
f.id = T.id, T.id !== h.id && T.name !== h.name && (f.id = T.id, f.name = T.name), f.assignToSecondValueAxis = T.assignToSecondValueAxis, f.type === x.HeatSeries && T.type === x.HeatSeries && (f.y = T.y, f.heatRulesType = T.heatRulesType);
|
|
768
768
|
}
|
|
769
769
|
m.push(f);
|
|
770
770
|
}
|
|
@@ -776,7 +776,7 @@ function Ie(t) {
|
|
|
776
776
|
return y.length === 1 && u.length === 1 && !a.colorMatch && (O(y[0]) && O(u[0]) && (u[0].fillSymbol = y[0].fillSymbol), S = !0), p.length === 1 && c.length === 1 && ((A(p[0]) && A(c[0]) || v(p[0]) && v(c[0])) && X(c[0], p[0]), a.colorMatch || ((A(p[0]) && A(c[0]) || v(p[0]) && v(c[0])) && (c[0].lineSymbol = p[0].lineSymbol, c[0].markerSymbol = p[0].markerSymbol), S = !0)), a.colorMatch = !S, m;
|
|
777
777
|
}
|
|
778
778
|
function gi(t) {
|
|
779
|
-
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o =
|
|
779
|
+
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o = W(s), d = G(s), m = z(s), S = J(s, r, a), u = Le(s, r, a);
|
|
780
780
|
if (s.series.forEach((c, y) => {
|
|
781
781
|
const p = _({
|
|
782
782
|
config: s,
|
|
@@ -807,7 +807,7 @@ function gi(t) {
|
|
|
807
807
|
}
|
|
808
808
|
]
|
|
809
809
|
}, "temporalBinning" in c && c.temporalBinning !== void 0 && (c.temporalBinning.nullPolicy = e === I.NoAggregation ? M.Interpolate : M.Null), e === I.NoAggregation && Lt(s);
|
|
810
|
-
}), S && s.title && (s.title.content.text = U(s, r, a)), u && s.series[0].type !==
|
|
810
|
+
}), S && s.title && (s.title.content.text = U(s, r, a)), u && s.series[0].type !== x.HeatSeries) {
|
|
811
811
|
const c = le({
|
|
812
812
|
config: s,
|
|
813
813
|
layerInfo: r,
|
|
@@ -818,7 +818,7 @@ function gi(t) {
|
|
|
818
818
|
E(s, 1, c);
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function Zt(t) {
|
|
822
822
|
const {
|
|
823
823
|
splitByField: e,
|
|
824
824
|
xAxisField: s,
|
|
@@ -857,7 +857,7 @@ function Kt(t) {
|
|
|
857
857
|
seriesIndex: g,
|
|
858
858
|
splitByField: e,
|
|
859
859
|
fieldList: S
|
|
860
|
-
}).name, F =
|
|
860
|
+
}).name, F = Y({
|
|
861
861
|
config: i,
|
|
862
862
|
xAxisField: s,
|
|
863
863
|
aggregationType: a,
|
|
@@ -902,16 +902,16 @@ const fi = (t) => {
|
|
|
902
902
|
layerInfo: n,
|
|
903
903
|
commonStrings: o,
|
|
904
904
|
splitByFieldInfos: d
|
|
905
|
-
} = t, { layerFieldsInfo: m } = n ?? {}, S = Ct(i), u =
|
|
905
|
+
} = t, { layerFieldsInfo: m } = n ?? {}, S = Ct(i), u = W(i), c = m.find((C) => C.name === u), y = i.series[0].query?.fetchNullValues, p = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, l = i.series[0]?.query === void 0, g = m.find((C) => C.name === e), B = J(i, n, o), b = Le(i, n, o), F = Kt(i, n);
|
|
906
906
|
let f = Fe(i);
|
|
907
|
-
const k = i.series.some((C) => O(C)),
|
|
907
|
+
const k = i.series.some((C) => O(C)), T = St(i.series), h = Ft(i.series), L = j(i), V = {};
|
|
908
908
|
L && (V.classBreaksRules = i.series[0]?.classBreaksRules, V.xTemporalBinning = i.series[0]?.xTemporalBinning, V.yTemporalBinning = i.series[0]?.yTemporalBinning, V.emptyCells = i.series[0]?.emptyCells, V.nullPolicy = i.nullPolicy);
|
|
909
909
|
let ee = !1;
|
|
910
|
-
if (it(g) ? f = ge() : !ye(c) && ye(g) ? f = fe() : !
|
|
911
|
-
|
|
910
|
+
if (it(g) ? f = ge() : !ye(c) && ye(g) ? f = fe() : !Z(c) && Z(g) ? (f = fe(), ee = !0) : Z(c) && !Z(g) && (k ? f = ge() : f = ft(), ee = !0), f !== void 0 && Re(i, o, f), S === 0 && (i.series = [
|
|
911
|
+
Y({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
|
|
912
912
|
]), i.series.forEach((C) => {
|
|
913
913
|
C.x = e, C.query !== void 0 && (C.query.groupByFieldsForStatistics = [e]);
|
|
914
|
-
}), s === "" || r.length > 1 ?
|
|
914
|
+
}), s === "" || r.length > 1 ? Te({
|
|
915
915
|
fieldName: e,
|
|
916
916
|
numericFields: r,
|
|
917
917
|
fieldList: m
|
|
@@ -929,7 +929,7 @@ const fi = (t) => {
|
|
|
929
929
|
numericFields: r,
|
|
930
930
|
aggregationType: a,
|
|
931
931
|
commonStrings: o
|
|
932
|
-
}) : d && (i.series =
|
|
932
|
+
}) : d && (i.series = Zt({
|
|
933
933
|
config: i,
|
|
934
934
|
layerInfo: n,
|
|
935
935
|
splitByField: s,
|
|
@@ -938,11 +938,11 @@ const fi = (t) => {
|
|
|
938
938
|
aggregationType: a,
|
|
939
939
|
commonStrings: o,
|
|
940
940
|
splitByFieldInfos: d
|
|
941
|
-
})), F && i.series[0].type !==
|
|
941
|
+
})), F && i.series[0].type !== x.HeatSeries) {
|
|
942
942
|
const C = D(m, e);
|
|
943
943
|
E(i, 0, C);
|
|
944
944
|
}
|
|
945
|
-
if (b && i.series[0].type !==
|
|
945
|
+
if (b && i.series[0].type !== x.HeatSeries) {
|
|
946
946
|
const C = le({
|
|
947
947
|
config: i,
|
|
948
948
|
layerInfo: n,
|
|
@@ -952,8 +952,8 @@ const fi = (t) => {
|
|
|
952
952
|
});
|
|
953
953
|
E(i, 1, C);
|
|
954
954
|
}
|
|
955
|
-
if (B && i.title && (i.title.content.text = U(i, n, o)), q({ config: i, value: null, axisIndex: 1, isMax: !1 }), q({ config: i, value: null, axisIndex: 1, isMax: !0 }), Ht({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (
|
|
956
|
-
const C = f?.type ===
|
|
955
|
+
if (B && i.title && (i.title.content.text = U(i, n, o)), q({ config: i, value: null, axisIndex: 1, isMax: !1 }), q({ config: i, value: null, axisIndex: 1, isMax: !0 }), Ht({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (T || h) && (q({ config: i, value: null, axisIndex: 0, isMax: !1 }), q({ config: i, value: null, axisIndex: 0, isMax: !0 }), ee && a !== I.NoAggregation)) {
|
|
956
|
+
const C = f?.type === x.DateAxisFormat ? M.Null : M.Interpolate;
|
|
957
957
|
It(C, i);
|
|
958
958
|
}
|
|
959
959
|
L && (i.series[0].classBreaksRules = V.classBreaksRules, i.series[0].xTemporalBinning = V.xTemporalBinning, i.series[0].yTemporalBinning = V.yTemporalBinning, i.series[0].emptyCells = V.emptyCells, i.nullPolicy = V.nullPolicy), l ? i.series.forEach((C) => {
|
|
@@ -961,7 +961,7 @@ const fi = (t) => {
|
|
|
961
961
|
}) : y && i.series.forEach((C) => {
|
|
962
962
|
C.query && (C.query.fetchNullValues = y);
|
|
963
963
|
}), p && i.series.forEach((C) => {
|
|
964
|
-
(C.type ===
|
|
964
|
+
(C.type === x.BarSeries || C.type === x.LineSeries || C.type === x.RadarSeries) && (C.nullCategory = p);
|
|
965
965
|
});
|
|
966
966
|
}, X = (t, e) => {
|
|
967
967
|
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 = {
|
|
@@ -971,7 +971,7 @@ const fi = (t) => {
|
|
|
971
971
|
}, Si = (t) => {
|
|
972
972
|
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = z(e);
|
|
973
973
|
let o;
|
|
974
|
-
if (
|
|
974
|
+
if (K(e.series) === P.BarAndLineFromFields)
|
|
975
975
|
o = a.axisLabels.values;
|
|
976
976
|
else if (Ve(n)) {
|
|
977
977
|
const m = i.query?.outStatistics?.[0]?.onStatisticField;
|
|
@@ -997,9 +997,9 @@ const fi = (t) => {
|
|
|
997
997
|
});
|
|
998
998
|
}
|
|
999
999
|
}, hi = async (t) => {
|
|
1000
|
-
const { config: e, layerInfo: s, errorStrings: r } = t, a =
|
|
1000
|
+
const { config: e, layerInfo: s, errorStrings: r } = t, a = W(e), i = Fe(e)?.type, n = G(e), o = K(e.series);
|
|
1001
1001
|
let d = [];
|
|
1002
|
-
return i ===
|
|
1002
|
+
return i === x.CategoryAxisFormat && (o === P.BarAndLineFromFields || a === se ? d = n.map((m) => D(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== se && s !== void 0 && (d = await qe({
|
|
1003
1003
|
layerInfo: s,
|
|
1004
1004
|
config: e,
|
|
1005
1005
|
category: a,
|
|
@@ -1020,16 +1020,16 @@ function Le(t, e, s) {
|
|
|
1020
1020
|
}), a = ue(1, t), i = Q(t);
|
|
1021
1021
|
return r === a || i;
|
|
1022
1022
|
}
|
|
1023
|
-
function
|
|
1024
|
-
const s = D(e.layerFieldsInfo,
|
|
1023
|
+
function Kt(t, e) {
|
|
1024
|
+
const s = D(e.layerFieldsInfo, W(t)), r = ue(0, t), a = Q(t);
|
|
1025
1025
|
return s === r || a;
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function Ti(t) {
|
|
1028
1028
|
return R(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function xi(t, e) {
|
|
1031
1031
|
e?.series.forEach((s) => {
|
|
1032
|
-
(s?.type ===
|
|
1032
|
+
(s?.type === x.BarSeries || s?.type === x.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
|
|
1033
1033
|
unit: ie.Day,
|
|
1034
1034
|
size: 0,
|
|
1035
1035
|
timeAggregationType: lt.Start,
|
|
@@ -1039,14 +1039,14 @@ function Ti(t, e) {
|
|
|
1039
1039
|
});
|
|
1040
1040
|
}
|
|
1041
1041
|
export {
|
|
1042
|
-
|
|
1042
|
+
Ws as $,
|
|
1043
1043
|
hi as A,
|
|
1044
1044
|
Fi as B,
|
|
1045
1045
|
fi as C,
|
|
1046
|
-
|
|
1047
|
-
|
|
1046
|
+
Ti as D,
|
|
1047
|
+
xi as E,
|
|
1048
1048
|
U as F,
|
|
1049
|
-
|
|
1049
|
+
Yt as G,
|
|
1050
1050
|
ks as H,
|
|
1051
1051
|
ii as I,
|
|
1052
1052
|
ai as J,
|
|
@@ -1076,10 +1076,10 @@ export {
|
|
|
1076
1076
|
js as a5,
|
|
1077
1077
|
Hs as a6,
|
|
1078
1078
|
Us as a7,
|
|
1079
|
-
|
|
1079
|
+
Zs as a8,
|
|
1080
1080
|
Xs as a9,
|
|
1081
|
-
|
|
1082
|
-
|
|
1081
|
+
Ys as aa,
|
|
1082
|
+
Ks as ab,
|
|
1083
1083
|
jt as ac,
|
|
1084
1084
|
_s as ad,
|
|
1085
1085
|
Qs as ae,
|
|
@@ -1091,8 +1091,8 @@ export {
|
|
|
1091
1091
|
ui as ak,
|
|
1092
1092
|
ti as al,
|
|
1093
1093
|
si as am,
|
|
1094
|
-
|
|
1095
|
-
|
|
1094
|
+
Ts as b,
|
|
1095
|
+
xs as c,
|
|
1096
1096
|
G as d,
|
|
1097
1097
|
z as e,
|
|
1098
1098
|
vs as f,
|
|
@@ -7,8 +7,8 @@ import { C as O } from "./chart-model.js";
|
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
8
|
import { S as V } from "./common.js";
|
|
9
9
|
import { M as N, a as E, W as k, b as U } from "./data-labels-visibility.js";
|
|
10
|
-
import { M as
|
|
11
|
-
import { g as u, d as S, j as Y, k as
|
|
10
|
+
import { M as X, a as j } from "./model-with-y-guides.js";
|
|
11
|
+
import { g as u, d as S, j as Y, k as z, l as w, m as R, n as q, o as K, q as G, t as $, v as Z, w as H, x as J, y as Q, z as T, A as x, B as F, C as y, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
|
|
12
12
|
import { M as oe } from "./model-with-x-guides.js";
|
|
13
13
|
import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
|
|
14
14
|
import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
|
|
@@ -17,7 +17,7 @@ import { W as de } from "./data-labels-symbol.js";
|
|
|
17
17
|
import { W as me } from "./rotated-state.js";
|
|
18
18
|
import { g as W, u as ye, s as C, h as ue, j as Se, e as _e, f as Te } from "./utils.js";
|
|
19
19
|
import { d as A, e as B, a as xe } from "./data.js";
|
|
20
|
-
import {
|
|
20
|
+
import { z as Fe, X as Ce, v as Ae, a2 as Be, a0 as Ie } from "./index.js";
|
|
21
21
|
import { i as h, g as p, m as _ } from "./index5.js";
|
|
22
22
|
const I = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, v = (s) => {
|
|
23
23
|
const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
|
|
@@ -82,13 +82,13 @@ class c extends O {
|
|
|
82
82
|
return Y(this._config);
|
|
83
83
|
}
|
|
84
84
|
set temporalBinningSize(e) {
|
|
85
|
-
|
|
85
|
+
z(e, this._config);
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Time interval units for a temporal bar chart or line chart.
|
|
89
89
|
*/
|
|
90
90
|
get temporalBinningUnit() {
|
|
91
|
-
return
|
|
91
|
+
return w(this._config);
|
|
92
92
|
}
|
|
93
93
|
set temporalBinningUnit(e) {
|
|
94
94
|
R(e, this._config);
|
|
@@ -106,10 +106,10 @@ class c extends O {
|
|
|
106
106
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
107
107
|
*/
|
|
108
108
|
get trimIncompleteTimeInterval() {
|
|
109
|
-
return
|
|
109
|
+
return G(this._config);
|
|
110
110
|
}
|
|
111
111
|
set trimIncompleteTimeInterval(e) {
|
|
112
|
-
|
|
112
|
+
$(e, this._config);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* Policy which tells the chart how to handle null values.
|
|
@@ -148,8 +148,8 @@ f([
|
|
|
148
148
|
f([
|
|
149
149
|
o
|
|
150
150
|
], c.prototype, "resetTimeInterval");
|
|
151
|
-
var Ue = Object.defineProperty,
|
|
152
|
-
for (var r =
|
|
151
|
+
var Ue = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, l = (s, e, i, t) => {
|
|
152
|
+
for (var r = Xe(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
153
153
|
(g = s[a]) && (r = g(e, i, r) || r);
|
|
154
154
|
return r && Ue(e, i, r), r;
|
|
155
155
|
};
|
|
@@ -499,8 +499,8 @@ l([
|
|
|
499
499
|
l([
|
|
500
500
|
o
|
|
501
501
|
], n.prototype, "resetConfig");
|
|
502
|
-
const
|
|
503
|
-
|
|
502
|
+
const je = [
|
|
503
|
+
X,
|
|
504
504
|
N,
|
|
505
505
|
E,
|
|
506
506
|
k,
|
|
@@ -508,7 +508,7 @@ const Xe = [
|
|
|
508
508
|
U,
|
|
509
509
|
de,
|
|
510
510
|
oe,
|
|
511
|
-
|
|
511
|
+
j,
|
|
512
512
|
c,
|
|
513
513
|
ge,
|
|
514
514
|
he,
|
|
@@ -520,7 +520,7 @@ const Xe = [
|
|
|
520
520
|
fe,
|
|
521
521
|
re
|
|
522
522
|
];
|
|
523
|
-
Te(n,
|
|
523
|
+
Te(n, je);
|
|
524
524
|
export {
|
|
525
525
|
n as S,
|
|
526
526
|
be as a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { m as n, C as l } from "./model-setter.js";
|
|
3
|
-
import {
|
|
3
|
+
import { F as o, J as g, T as h } from "./index.js";
|
|
4
4
|
import { aH as p } from "./index2.js";
|
|
5
5
|
var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, _) => {
|
|
6
6
|
for (var s = c(e, i), r = t.length - 1, a; r >= 0; r--)
|
package/dist/chunks/series.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { X as i } from "./index.js";
|
|
3
3
|
const o = (e) => e.lineSymbol?.style, n = (e, t) => {
|
|
4
4
|
t.lineSymbol ??= i(), t.lineSymbol.style = e;
|
|
5
5
|
}, s = (e) => e.lineSymbol?.width, S = (e, t) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
function
|
|
2
|
+
function n(r) {
|
|
3
3
|
return r !== void 0 && "type" in r && r.type === "imagery";
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function s(r) {
|
|
6
6
|
return r !== void 0 && "type" in r && r.type === "imagery-tile";
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function o(r) {
|
|
9
9
|
return r !== void 0 && "type" in r && r.type === "wcs";
|
|
10
10
|
}
|
|
11
11
|
function i(r) {
|
|
@@ -14,20 +14,24 @@ function i(r) {
|
|
|
14
14
|
function a(r) {
|
|
15
15
|
return r !== void 0 && "type" in r && i(r.type);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
17
|
+
function p(r) {
|
|
18
|
+
return t(r?.iLayer);
|
|
19
|
+
}
|
|
20
|
+
function t(r) {
|
|
21
|
+
const e = r?.layerType;
|
|
19
22
|
return e === "ArcGISImageServiceLayer" || e === "ArcGISTiledImageServiceLayer" || e === "WCS";
|
|
20
23
|
}
|
|
21
|
-
function
|
|
24
|
+
function y(r, e) {
|
|
22
25
|
if (a(r))
|
|
23
26
|
throw new Error(e ?? "Raster layer is not supported by this operation.");
|
|
24
27
|
}
|
|
25
28
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
y as a,
|
|
30
|
+
s as b,
|
|
31
|
+
t as c,
|
|
32
|
+
a as d,
|
|
33
|
+
i as e,
|
|
34
|
+
p as f,
|
|
35
|
+
o as g,
|
|
36
|
+
n as i
|
|
33
37
|
};
|