@arcgis/charts-components 5.2.0-next.1 → 5.2.0-next.3
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/{6JGLHOFY.js → 24LTTBTF.js} +1 -1
- package/dist/cdn/{BZCVDNC4.js → 26FWESH3.js} +2 -2
- package/dist/cdn/{X6WA2KXK.js → 2K4ODNJ4.js} +1 -1
- package/dist/cdn/{7IV6GMF7.js → 3DK6M5E7.js} +1 -1
- package/dist/cdn/{IWVS6SKP.js → 3XHZ677O.js} +1 -1
- package/dist/cdn/{7BEC5WZB.js → 3YT44D4Z.js} +1 -1
- package/dist/cdn/{6SRISPQN.js → 5FMEOIBS.js} +2 -2
- package/dist/cdn/{XMQCH4QI.js → 5G7DSKI7.js} +1 -1
- package/dist/cdn/{ZQCUJ7VE.js → 5JML3JUR.js} +1 -1
- package/dist/cdn/{45JPWIBI.js → 5QO32XSX.js} +1 -1
- package/dist/cdn/{I2M6YAUU.js → 7ABIELGZ.js} +1 -1
- package/dist/cdn/{HJHMEVMB.js → 7HIZH35G.js} +1 -1
- package/dist/cdn/{HUCSTT64.js → CCR46UHB.js} +1 -1
- package/dist/cdn/{URYNG6OA.js → CJ4POAPM.js} +1 -1
- package/dist/cdn/{7YBKGD3V.js → CRFJ2GGS.js} +1 -1
- package/dist/cdn/{KV4ZPVWQ.js → E2N2S7BH.js} +1 -1
- package/dist/cdn/{OY6UOUYX.js → E43KEVHT.js} +1 -1
- package/dist/cdn/{6LQYOBAL.js → F7Y6EWWB.js} +1 -1
- package/dist/cdn/{RKN64EJQ.js → FDXE5JLT.js} +1 -1
- package/dist/cdn/{45PJ5TQL.js → G5HVFOIO.js} +1 -1
- package/dist/cdn/{F5Q73CFW.js → G7TRU7JI.js} +1 -1
- package/dist/cdn/{TORIY3OE.js → GES3HRXE.js} +1 -1
- package/dist/cdn/{MKQAQDRM.js → GL3IXVRN.js} +1 -1
- package/dist/cdn/{B7DM7VT6.js → HCMD362H.js} +1 -1
- package/dist/cdn/{EQVQRZHJ.js → HCV34H6X.js} +1 -1
- package/dist/cdn/{S3BC57BJ.js → IHQ7R6L4.js} +1 -1
- package/dist/cdn/{ATIARKAU.js → IUFXFWXH.js} +1 -1
- package/dist/cdn/{YVVQVAJZ.js → JHYH555K.js} +1 -1
- package/dist/cdn/{CPPT5HUK.js → JRRFLDWX.js} +19 -19
- package/dist/cdn/{4OZZXXZF.js → JVHJMPFE.js} +1 -1
- package/dist/cdn/{O4M33ZPK.js → KI4HS3AM.js} +1 -1
- package/dist/cdn/{TZ4GOE2Q.js → KLC6NTPC.js} +1 -1
- package/dist/cdn/{YZQ54BRI.js → KOBNV5AQ.js} +1 -1
- package/dist/cdn/{PYKHO4QI.js → KVGEY3IQ.js} +1 -1
- package/dist/cdn/{FJPGZEGK.js → LDPHZHSF.js} +1 -1
- package/dist/cdn/{V2XJSJH4.js → LONASKGH.js} +1 -1
- package/dist/cdn/{Z7EBST4A.js → LRNADJJG.js} +1 -1
- package/dist/cdn/{V76PIVCF.js → LWODMEOP.js} +1 -1
- package/dist/cdn/{HX4236ZL.js → LYZGRYQV.js} +1 -1
- package/dist/cdn/{GCSGY6GL.js → LZYN55O4.js} +1 -1
- package/dist/cdn/{YKGZVYK2.js → MF3FGXHI.js} +1 -1
- package/dist/cdn/{PEZCCXQ7.js → MUPHTV55.js} +1 -1
- package/dist/cdn/{JILAM6NH.js → N524VXQ2.js} +1 -1
- package/dist/cdn/{47HHRDX4.js → N5ERJZPG.js} +1 -1
- package/dist/cdn/{FT2K3J7O.js → NGPMU4T3.js} +1 -1
- package/dist/cdn/{MOMKSNIZ.js → NJCZ6UTM.js} +1 -1
- package/dist/cdn/{RKKWMNWU.js → NMB6TWC2.js} +1 -1
- package/dist/cdn/{P74SXC5B.js → NNNTZU5J.js} +1 -1
- package/dist/cdn/{KC6CFXB7.js → NQQW4GKA.js} +1 -1
- package/dist/cdn/{P6SC5DD2.js → OE3UFORR.js} +1 -1
- package/dist/cdn/{V7MBHG4F.js → P2NPQAJ3.js} +1 -1
- package/dist/cdn/{KKWXEF5W.js → PC7IKOIB.js} +1 -1
- package/dist/cdn/{GUH6CQE6.js → PJUAU42S.js} +1 -1
- package/dist/cdn/{FAQDMSUC.js → PK5XIIZY.js} +1 -1
- package/dist/cdn/{3FTJIVFE.js → PSO5AURI.js} +1 -1
- package/dist/cdn/{UQPFMDJB.js → PVJEBBA7.js} +1 -1
- package/dist/cdn/{CAJVNPHZ.js → PY5Q3V6E.js} +1 -1
- package/dist/cdn/{PTFRQF65.js → PZGIXDMC.js} +1 -1
- package/dist/cdn/{AT2NWWBG.js → R45FWF7D.js} +1 -1
- package/dist/cdn/{GWQJXXP3.js → RAQZUMC6.js} +1 -1
- package/dist/cdn/{7SNOZDAD.js → RFQBUWOW.js} +1 -1
- package/dist/cdn/{PKMZ6N6M.js → RMYZGOBM.js} +1 -1
- package/dist/cdn/{FCXI523J.js → RX3RNE7F.js} +1 -1
- package/dist/cdn/{RG3I5ORH.js → TAI4RIWT.js} +1 -1
- package/dist/cdn/{XFZX5ULX.js → TNB3MBXR.js} +1 -1
- package/dist/cdn/{UNUPCA4W.js → TU3UF32Y.js} +1 -1
- package/dist/cdn/{M75ENKIU.js → TYMKFCF4.js} +1 -1
- package/dist/cdn/{P3RM2ACY.js → TZB57XD4.js} +1 -1
- package/dist/cdn/{6PAONFHB.js → U2LJZ4ML.js} +1 -1
- package/dist/cdn/{G6OHBBUT.js → U4XLNCOU.js} +1 -1
- package/dist/cdn/{TTDZKISK.js → UAJGYF4S.js} +1 -1
- package/dist/cdn/{DNMVB3A2.js → UKDTXHZT.js} +1 -1
- package/dist/cdn/{D23GGWFM.js → UT6G7RV7.js} +1 -1
- package/dist/cdn/{EUOPRFMU.js → VDG54AIC.js} +1 -1
- package/dist/cdn/{5HQ2CJEQ.js → VEA5ZR5D.js} +1 -1
- package/dist/cdn/{5MVNVHYG.js → VVKV5KKN.js} +1 -1
- package/dist/cdn/{CUJHGXNK.js → WEQBZOH7.js} +1 -1
- package/dist/cdn/{NS7OCROO.js → WO6JBNMU.js} +1 -1
- package/dist/cdn/{LKY2A3U6.js → WPPMMVD5.js} +1 -1
- package/dist/cdn/{S6PJHEJ7.js → YRBE7MBU.js} +1 -1
- package/dist/cdn/{RWEUTQWS.js → ZRFHAQL6.js} +1 -1
- package/dist/cdn/{OVM5QF7Q.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 +73 -74
- 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 +104 -104
- 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 +730 -730
- 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/package.json +5 -3
- package/dist/chunks/index7.js +0 -66
- /package/dist/cdn/{N3VOUI25.js → 2HUAW34Q.js} +0 -0
- /package/dist/cdn/{4E7C5QPS.js → 5MEQANMY.js} +0 -0
- /package/dist/cdn/{66KSEDOR.js → 5XTQQOTT.js} +0 -0
- /package/dist/cdn/{YIIPYKTL.js → 5YJNENER.js} +0 -0
- /package/dist/cdn/{NHDVOYQ2.js → 6XTKJ7DO.js} +0 -0
- /package/dist/cdn/{75P3QRL4.js → 7FZC3RZK.js} +0 -0
- /package/dist/cdn/{XWKBJDZT.js → A4GEWIPY.js} +0 -0
- /package/dist/cdn/{DIKQ7BPQ.js → A5AECJXP.js} +0 -0
- /package/dist/cdn/{RDTBZUT7.js → AJWYIBGC.js} +0 -0
- /package/dist/cdn/{TSI3C3OV.js → AM2TOTX6.js} +0 -0
- /package/dist/cdn/{3V4HRXIT.js → AWF4R7WL.js} +0 -0
- /package/dist/cdn/{NG2IHVZ4.js → BJDRJUEJ.js} +0 -0
- /package/dist/cdn/{ZFM5RGWD.js → CJPEW4LJ.js} +0 -0
- /package/dist/cdn/{NFDXH5B3.js → CLXVAIQX.js} +0 -0
- /package/dist/cdn/{AJBEE7WE.js → DCZWZOPF.js} +0 -0
- /package/dist/cdn/{CODAXMWM.js → DEGBVJ76.js} +0 -0
- /package/dist/cdn/{FLO3N6JD.js → DKAHZ7IX.js} +0 -0
- /package/dist/cdn/{5AOYADA3.js → E7OAEGSE.js} +0 -0
- /package/dist/cdn/{I36OAVW3.js → ETKPMU7Z.js} +0 -0
- /package/dist/cdn/{2X75KJPF.js → FF4DUQDZ.js} +0 -0
- /package/dist/cdn/{OA7FHTCA.js → GV3TT7L5.js} +0 -0
- /package/dist/cdn/{VFM2EV3M.js → HVO4LIXR.js} +0 -0
- /package/dist/cdn/{53FG76LL.js → IPM2XKST.js} +0 -0
- /package/dist/cdn/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
- /package/dist/cdn/{PH6UOHRS.js → JBHGSSHS.js} +0 -0
- /package/dist/cdn/{OYHKUGS6.js → JJIGLOJA.js} +0 -0
- /package/dist/cdn/{4JQ2RRLY.js → K3GNHGEW.js} +0 -0
- /package/dist/cdn/{N6OT5IBC.js → KFONSKQF.js} +0 -0
- /package/dist/cdn/{7ILH7ZG2.js → KUZR6CGB.js} +0 -0
- /package/dist/cdn/{SGOYJFLO.js → KZ7LPNX3.js} +0 -0
- /package/dist/cdn/{O2ERVMSN.js → L4G6FO7A.js} +0 -0
- /package/dist/cdn/{I5VHQW7B.js → LFQGH44F.js} +0 -0
- /package/dist/cdn/{B4KT2HUE.js → N6AOFBBX.js} +0 -0
- /package/dist/cdn/{O6SNP6QE.js → QMSINFQX.js} +0 -0
- /package/dist/cdn/{4QQVKRJ5.js → QOOBNATX.js} +0 -0
- /package/dist/cdn/{DD4QUBOF.js → SBYD2EKR.js} +0 -0
- /package/dist/cdn/{XIJ5VLER.js → TF7TE7K5.js} +0 -0
- /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
- /package/dist/cdn/{2HGBRW4I.js → XE3FKQFA.js} +0 -0
- /package/dist/cdn/{M4AQLWZU.js → XW4PBQNW.js} +0 -0
- /package/dist/cdn/{ABIVSH72.js → YOT6DVSU.js} +0 -0
- /package/dist/cdn/{LNF44ZGQ.js → ZFZ5AEUQ.js} +0 -0
- /package/dist/cdn/{UAZ34KDJ.js → ZXOO3X5P.js} +0 -0
|
@@ -2,20 +2,20 @@
|
|
|
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,
|
|
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
8
|
import { g as xe } from "./series-types.js";
|
|
9
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];
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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 = xe(s?.series), m =
|
|
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:
|
|
@@ -408,19 +408,19 @@ const fs = (t) => t.hideEmptyRowsAndColumns, Ss = (t, e) => {
|
|
|
408
408
|
statisticType: q.Count
|
|
409
409
|
}
|
|
410
410
|
]
|
|
411
|
-
}, n && s.title && (s.title.content.text =
|
|
411
|
+
}, n && s.title && (s.title.content.text = H(s, r, a));
|
|
412
412
|
}, Ds = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? q.Count, ws = (t) => {
|
|
413
413
|
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n = _(s, r, a);
|
|
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 =
|
|
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));
|
|
415
415
|
}, Ps = (t) => t.nullPolicy, kt = (t, e) => {
|
|
416
416
|
e.nullPolicy = t;
|
|
417
417
|
}, Es = (t) => t.series[0].emptyCells, Ms = (t, e) => {
|
|
418
418
|
e.series[0].emptyCells = t;
|
|
419
|
-
}, $s = (t) => t.series[0].emptyCells?.text,
|
|
419
|
+
}, $s = (t) => t.series[0].emptyCells?.text, Ys = (t, e) => {
|
|
420
420
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
421
|
-
},
|
|
421
|
+
}, Ws = (t) => t.includeLeapDay, Xs = (t, e) => {
|
|
422
422
|
e.includeLeapDay = t;
|
|
423
|
-
},
|
|
423
|
+
}, Hs = (t) => t.series[0].emptyCells?.symbol, js = (t, e) => {
|
|
424
424
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
425
425
|
};
|
|
426
426
|
function Ks(t) {
|
|
@@ -526,7 +526,7 @@ function $(t) {
|
|
|
526
526
|
}
|
|
527
527
|
if (R(a.series[0]) && R(y)) {
|
|
528
528
|
let u;
|
|
529
|
-
if (a?.series?.[0] !== void 0 && (u =
|
|
529
|
+
if (a?.series?.[0] !== void 0 && (u = W(a.series)), u !== D.BarAndLineNoAggregation && u !== D.BarAndLineSplitByNoAggregation) {
|
|
530
530
|
let p = Tt(a);
|
|
531
531
|
p === te.Quarter && (p = te.Month), y.temporalBinning = {
|
|
532
532
|
...a.series[0]?.temporalBinning,
|
|
@@ -536,7 +536,7 @@ function $(t) {
|
|
|
536
536
|
}
|
|
537
537
|
return ae(y);
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function H(t, e, s) {
|
|
540
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;
|
|
541
541
|
let C = "";
|
|
542
542
|
if (Te({
|
|
@@ -676,7 +676,7 @@ function Dt(t) {
|
|
|
676
676
|
});
|
|
677
677
|
l.query = { outStatistics: g };
|
|
678
678
|
const d = a.series[0];
|
|
679
|
-
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];
|
|
680
680
|
}
|
|
681
681
|
function Ae(t) {
|
|
682
682
|
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i, c = X(i.layer).idField, m = [];
|
|
@@ -722,7 +722,7 @@ function Ae(t) {
|
|
|
722
722
|
(S) => S.query?.outStatistics?.[0]?.onStatisticField === h && S.query.where === void 0 || S.query?.outStatistics === void 0 && (S.y === h || S.x === h)
|
|
723
723
|
);
|
|
724
724
|
if (T !== void 0 && typeof T.y == "string" && T.y.trim() !== "") {
|
|
725
|
-
(b(f) && b(T) || A(f) && A(T)) &&
|
|
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);
|
|
726
726
|
const S = $({
|
|
727
727
|
config: a,
|
|
728
728
|
xAxisField: e,
|
|
@@ -740,7 +740,7 @@ function Ae(t) {
|
|
|
740
740
|
), d = a.series.filter((u) => O(u)), y = a.series.filter(
|
|
741
741
|
(u) => b(u) || A(u)
|
|
742
742
|
);
|
|
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])) &&
|
|
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;
|
|
744
744
|
}
|
|
745
745
|
function ai(t) {
|
|
746
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);
|
|
@@ -766,7 +766,7 @@ function ai(t) {
|
|
|
766
766
|
}
|
|
767
767
|
]
|
|
768
768
|
}) : (delete l.query?.outStatistics, l.y = c[g]);
|
|
769
|
-
}), 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) {
|
|
770
770
|
const l = re({
|
|
771
771
|
config: s,
|
|
772
772
|
layerInfo: r,
|
|
@@ -844,7 +844,7 @@ function wt(t) {
|
|
|
844
844
|
const I = i.series.find(
|
|
845
845
|
(L) => String(Ce(L)).trim().replace(/'/gu, "") === k
|
|
846
846
|
);
|
|
847
|
-
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);
|
|
848
848
|
}
|
|
849
849
|
return i.colorMatch = !u, y;
|
|
850
850
|
}
|
|
@@ -863,7 +863,7 @@ const ri = (t) => {
|
|
|
863
863
|
const k = i.series.some((x) => O(x)), T = lt(i.series), S = nt(i.series), I = ne(i), L = {};
|
|
864
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);
|
|
865
865
|
let Z = !1;
|
|
866
|
-
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 = [
|
|
867
867
|
$({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
|
|
868
868
|
]), i.series.forEach((x) => {
|
|
869
869
|
x.x = e, x.query !== void 0 && (x.query.groupByFieldsForStatistics = [e]);
|
|
@@ -908,7 +908,7 @@ const ri = (t) => {
|
|
|
908
908
|
});
|
|
909
909
|
E(i, 1, x);
|
|
910
910
|
}
|
|
911
|
-
if (B && i.title && (i.title.content.text =
|
|
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
912
|
const x = f?.type === v.DateAxisFormat ? K.Null : K.Interpolate;
|
|
913
913
|
Bt(x, i);
|
|
914
914
|
}
|
|
@@ -919,7 +919,7 @@ const ri = (t) => {
|
|
|
919
919
|
}), y && i.series.forEach((x) => {
|
|
920
920
|
(x.type === v.BarSeries || x.type === v.LineSeries || x.type === v.RadarSeries) && (x.nullCategory = y);
|
|
921
921
|
});
|
|
922
|
-
},
|
|
922
|
+
}, Y = (t, e) => {
|
|
923
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 = {
|
|
924
924
|
...e.markerSymbol,
|
|
925
925
|
color: t.markerSymbol?.color
|
|
@@ -927,7 +927,7 @@ const ri = (t) => {
|
|
|
927
927
|
}, li = (t) => {
|
|
928
928
|
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = ue(e);
|
|
929
929
|
let o;
|
|
930
|
-
if (
|
|
930
|
+
if (W(e.series) === D.BarAndLineFromFields)
|
|
931
931
|
o = a.axisLabels.values;
|
|
932
932
|
else if (Ie(n)) {
|
|
933
933
|
const m = i.query?.outStatistics?.[0]?.onStatisticField;
|
|
@@ -953,7 +953,7 @@ const ri = (t) => {
|
|
|
953
953
|
});
|
|
954
954
|
}
|
|
955
955
|
}, oi = async (t) => {
|
|
956
|
-
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);
|
|
957
957
|
let c = [];
|
|
958
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({
|
|
959
959
|
layerInfo: s,
|
|
@@ -963,7 +963,7 @@ const ri = (t) => {
|
|
|
963
963
|
}))), c;
|
|
964
964
|
};
|
|
965
965
|
function _(t, e, s) {
|
|
966
|
-
const r =
|
|
966
|
+
const r = H(t, e, s), a = St(t), i = z(t);
|
|
967
967
|
return r === a || i;
|
|
968
968
|
}
|
|
969
969
|
function ve(t, e, s) {
|
|
@@ -995,79 +995,79 @@ function ci(t, e) {
|
|
|
995
995
|
});
|
|
996
996
|
}
|
|
997
997
|
export {
|
|
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
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
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,
|
|
1053
1053
|
be as g,
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
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
|
|
1073
1073
|
};
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
import { isEqual as O } from "lodash-es";
|
|
3
3
|
import { q as I, u as W, r as d } from "./chart-object-literals.js";
|
|
4
4
|
import { k as m, an as L } from "./index2.js";
|
|
5
|
-
import { i as D } from "./
|
|
6
|
-
import { C as
|
|
5
|
+
import { i as D } from "./index4.js";
|
|
6
|
+
import { C as v } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
|
-
import { S as
|
|
9
|
-
import { M, a as V, W as N, b as E } from "./data-labels-visibility.js";
|
|
10
|
-
import { M as
|
|
11
|
-
import { g as u,
|
|
8
|
+
import { S as M } from "./common.js";
|
|
9
|
+
import { M as P, a as V, W as N, b as E } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as k, a as U } from "./model-with-y-guides.js";
|
|
11
|
+
import { g as u, d as S, j, s as X, k as w, l as z, m as R, n as q, o as K, q as $, t as G, v as Y, w as Z, x as H, y as T, z as x, A as F, B as y, C as J, D as Q, e as ee, E as ie } from "./serial-chart-data.js";
|
|
12
12
|
import { M as te } from "./model-with-x-guides.js";
|
|
13
|
-
import { W as se,
|
|
14
|
-
import { W as ne,
|
|
15
|
-
import { W as ge,
|
|
13
|
+
import { W as se, c as re, d as oe } from "./axis-lines-symbol.js";
|
|
14
|
+
import { W as ne, c as ae, d as le } from "./generate-x-axis-title.js";
|
|
15
|
+
import { W as ge, a as ce } from "./x-bounds.js";
|
|
16
16
|
import { W as fe } from "./data-labels-symbol.js";
|
|
17
17
|
import { W as he } from "./rotated-state.js";
|
|
18
18
|
import { W as pe } from "./time-zone.js";
|
|
19
|
-
import { g as
|
|
20
|
-
import {
|
|
19
|
+
import { g as b, u as de, s as C, h as me, j as ye, e as ue, f as Se } from "./utils.js";
|
|
20
|
+
import { d as B, e as A, a as _e } from "./data.js";
|
|
21
21
|
import { y as Te, V as xe, u as Fe, a1 as Ce, $ as Be } from "./index.js";
|
|
22
|
-
import { i as h, g as p, m as _ } from "./
|
|
22
|
+
import { i as h, g as p, m as _ } from "./index5.js";
|
|
23
23
|
const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
24
24
|
const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
|
|
25
25
|
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Fe(r, W.BarSeries)[1]), t.series && t.series.forEach((n, g) => {
|
|
26
26
|
g === i ? n.assignToSecondValueAxis = e : g !== i && n?.assignToSecondValueAxis !== !0 && (n.assignToSecondValueAxis = !1);
|
|
27
27
|
}), t.axes?.[2] && !t.series.some((n) => n.assignToSecondValueAxis) && t.axes.splice(2, 1);
|
|
28
|
-
},
|
|
28
|
+
}, ve = (s, e) => e.series?.[s]?.name, be = (s, e, i) => {
|
|
29
29
|
i.series?.[e] && (i.series[e].name = s);
|
|
30
30
|
}, Oe = (s, e) => {
|
|
31
31
|
const i = e.series?.[s];
|
|
@@ -46,10 +46,10 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
46
46
|
e.series?.sort(
|
|
47
47
|
(i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
|
|
48
48
|
);
|
|
49
|
-
},
|
|
49
|
+
}, Me = (s) => s.stackedType ?? I.Side, Pe = (s) => {
|
|
50
50
|
const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
|
|
51
51
|
if (i.stackedType = e, t !== void 0) {
|
|
52
|
-
const n =
|
|
52
|
+
const n = b({
|
|
53
53
|
config: i,
|
|
54
54
|
layerInfo: t,
|
|
55
55
|
commonStrings: r,
|
|
@@ -70,38 +70,38 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
70
70
|
(h(i) || p(i) || _(i)) && (i.nullCategory = e);
|
|
71
71
|
});
|
|
72
72
|
};
|
|
73
|
-
var Ee = Object.defineProperty,
|
|
74
|
-
for (var r =
|
|
73
|
+
var Ee = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, f = (s, e, i, t) => {
|
|
74
|
+
for (var r = ke(e, i), n = s.length - 1, g; n >= 0; n--)
|
|
75
75
|
(g = s[n]) && (r = g(e, i, r) || r);
|
|
76
76
|
return r && Ee(e, i, r), r;
|
|
77
77
|
};
|
|
78
|
-
class c extends
|
|
78
|
+
class c extends v {
|
|
79
79
|
/**
|
|
80
80
|
* Time interval size for a temporal bar chart or line chart.
|
|
81
81
|
*/
|
|
82
82
|
get temporalBinningSize() {
|
|
83
|
-
return
|
|
83
|
+
return j(this._config);
|
|
84
84
|
}
|
|
85
85
|
set temporalBinningSize(e) {
|
|
86
|
-
|
|
86
|
+
X(e, this._config);
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* Time interval units for a temporal bar chart or line chart.
|
|
90
90
|
*/
|
|
91
91
|
get temporalBinningUnit() {
|
|
92
|
-
return
|
|
92
|
+
return w(this._config);
|
|
93
93
|
}
|
|
94
94
|
set temporalBinningUnit(e) {
|
|
95
|
-
|
|
95
|
+
z(e, this._config);
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* Time aggregation type for a temporal bar chart or line chart.
|
|
99
99
|
*/
|
|
100
100
|
get timeAggregationType() {
|
|
101
|
-
return
|
|
101
|
+
return R(this._config);
|
|
102
102
|
}
|
|
103
103
|
set timeAggregationType(e) {
|
|
104
|
-
|
|
104
|
+
q(e, this._config);
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
@@ -110,7 +110,7 @@ class c extends b {
|
|
|
110
110
|
return K(this._config);
|
|
111
111
|
}
|
|
112
112
|
set trimIncompleteTimeInterval(e) {
|
|
113
|
-
|
|
113
|
+
$(e, this._config);
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
116
|
* Policy which tells the chart how to handle null values.
|
|
@@ -122,10 +122,10 @@ class c extends b {
|
|
|
122
122
|
* - Line series: connects the lines across null values.
|
|
123
123
|
*/
|
|
124
124
|
get nullPolicy() {
|
|
125
|
-
return
|
|
125
|
+
return G(this._config);
|
|
126
126
|
}
|
|
127
127
|
set nullPolicy(e) {
|
|
128
|
-
|
|
128
|
+
Y(e, this._config);
|
|
129
129
|
}
|
|
130
130
|
resetTimeInterval() {
|
|
131
131
|
Z(this._config);
|
|
@@ -149,12 +149,12 @@ f([
|
|
|
149
149
|
f([
|
|
150
150
|
o
|
|
151
151
|
], c.prototype, "resetTimeInterval");
|
|
152
|
-
var
|
|
153
|
-
for (var r =
|
|
152
|
+
var Ue = Object.defineProperty, je = Object.getOwnPropertyDescriptor, l = (s, e, i, t) => {
|
|
153
|
+
for (var r = je(e, i), n = s.length - 1, g; n >= 0; n--)
|
|
154
154
|
(g = s[n]) && (r = g(e, i, r) || r);
|
|
155
|
-
return r &&
|
|
155
|
+
return r && Ue(e, i, r), r;
|
|
156
156
|
};
|
|
157
|
-
class a extends
|
|
157
|
+
class a extends v {
|
|
158
158
|
constructor() {
|
|
159
159
|
super(...arguments), this._xAxisField = "", this._aggregationType = d.Count, this._splitByField = "", this._numericFields = [];
|
|
160
160
|
}
|
|
@@ -245,7 +245,7 @@ class a extends b {
|
|
|
245
245
|
async setDataFilters(e) {
|
|
246
246
|
super.setDataFilters(e);
|
|
247
247
|
const i = T(this._config)[0];
|
|
248
|
-
if (i ===
|
|
248
|
+
if (i === M.customSort) {
|
|
249
249
|
this.startAsyncUpdate();
|
|
250
250
|
const t = await x({
|
|
251
251
|
config: this._config,
|
|
@@ -293,10 +293,10 @@ class a extends b {
|
|
|
293
293
|
* @param seriesIndex - The index of the series.
|
|
294
294
|
*/
|
|
295
295
|
getSeriesName(e) {
|
|
296
|
-
return
|
|
296
|
+
return ve(e, this._config);
|
|
297
297
|
}
|
|
298
298
|
setSeriesName(e, i) {
|
|
299
|
-
|
|
299
|
+
be(e, i, this._config);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -325,10 +325,10 @@ class a extends b {
|
|
|
325
325
|
* **Note**: Currently this property is only used for bar charts and line charts.
|
|
326
326
|
*/
|
|
327
327
|
get stackedType() {
|
|
328
|
-
return
|
|
328
|
+
return Me(this._config);
|
|
329
329
|
}
|
|
330
330
|
set stackedType(e) {
|
|
331
|
-
|
|
331
|
+
Pe({
|
|
332
332
|
newStackedType: e,
|
|
333
333
|
config: this._config,
|
|
334
334
|
layerInfo: this.layerInfo,
|
|
@@ -433,7 +433,7 @@ class a extends b {
|
|
|
433
433
|
* Generate the proper y-axis title given the current config.
|
|
434
434
|
*/
|
|
435
435
|
generateYAxisTitle() {
|
|
436
|
-
return this.layerInfo !== void 0 ?
|
|
436
|
+
return this.layerInfo !== void 0 ? b({
|
|
437
437
|
config: this._config,
|
|
438
438
|
layerInfo: this.layerInfo,
|
|
439
439
|
commonStrings: this.commonStrings,
|
|
@@ -485,16 +485,16 @@ l([
|
|
|
485
485
|
l([
|
|
486
486
|
o
|
|
487
487
|
], a.prototype, "resetConfig");
|
|
488
|
-
const
|
|
489
|
-
|
|
490
|
-
|
|
488
|
+
const Xe = [
|
|
489
|
+
k,
|
|
490
|
+
P,
|
|
491
491
|
V,
|
|
492
492
|
N,
|
|
493
493
|
he,
|
|
494
494
|
E,
|
|
495
495
|
fe,
|
|
496
496
|
te,
|
|
497
|
-
|
|
497
|
+
U,
|
|
498
498
|
c,
|
|
499
499
|
ne,
|
|
500
500
|
ge,
|
|
@@ -506,10 +506,10 @@ const je = [
|
|
|
506
506
|
le,
|
|
507
507
|
pe
|
|
508
508
|
];
|
|
509
|
-
Se(a,
|
|
509
|
+
Se(a, Xe);
|
|
510
510
|
export {
|
|
511
511
|
a as S,
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
be as a,
|
|
513
|
+
ve as g,
|
|
514
514
|
We as s
|
|
515
515
|
};
|
package/dist/chunks/series.js
CHANGED
package/dist/chunks/store.js
CHANGED
package/dist/chunks/time-zone.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { i as l,
|
|
2
|
+
import { i as l, cR as s } from "./index2.js";
|
|
3
3
|
import { C as p, m as u } from "./model-setter.js";
|
|
4
4
|
import { u as i } from "./chart-object-literals.js";
|
|
5
5
|
var v = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, d = (t, e, a, r) => {
|
|
@@ -3,9 +3,9 @@ import { g as d } from "./series-types.js";
|
|
|
3
3
|
import { i as p } from "./rotated-state.js";
|
|
4
4
|
import { u as a } from "./chart-object-literals.js";
|
|
5
5
|
import { u, c as f, C as x, A as b } from "./index3.js";
|
|
6
|
-
import { D as e, A as o, a as n } from "./
|
|
6
|
+
import { D as e, A as o, a as n } from "./index6.js";
|
|
7
7
|
import { Y as F } from "./index2.js";
|
|
8
|
-
import { i as I } from "./
|
|
8
|
+
import { i as I } from "./index4.js";
|
|
9
9
|
import { c as L } from "./type-guards.js";
|
|
10
10
|
import { b as E, k as D } from "./type-guards2.js";
|
|
11
11
|
const T = [
|
|
@@ -165,9 +165,9 @@ function X(r) {
|
|
|
165
165
|
return r !== void 0 && d(r.series) === a.GaugeSeries;
|
|
166
166
|
}
|
|
167
167
|
export {
|
|
168
|
-
|
|
168
|
+
U as a,
|
|
169
169
|
K as g,
|
|
170
|
-
|
|
170
|
+
X as i,
|
|
171
171
|
Q as o,
|
|
172
172
|
G as u
|
|
173
173
|
};
|