@arcgis/charts-components 5.1.0-next.85 → 5.1.0-next.86
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/{4JYFPXNP.js → 27R3TDQ3.js} +1 -1
- package/dist/cdn/{TRBZZLQ4.js → 2P5TV6TZ.js} +1 -1
- package/dist/cdn/{QBGYIPDE.js → 2PY6XJ5J.js} +32 -32
- package/dist/cdn/{E2TM7BJP.js → 2YZFLCHV.js} +1 -1
- package/dist/cdn/{R3KMZ5JQ.js → 3UGQ33ZJ.js} +1 -1
- package/dist/cdn/45N4ERUO.js +2 -0
- package/dist/cdn/{UUKLISLI.js → 4OBWKQXV.js} +1 -1
- package/dist/cdn/{54XEB3TI.js → 5C6NKK2M.js} +1 -1
- package/dist/cdn/{YWCBY5V6.js → 5P2CIK73.js} +1 -1
- package/dist/cdn/{3DN4ZRPN.js → 6CGIXX6D.js} +1 -1
- package/dist/cdn/{G7SW4EUO.js → 6FI7BQHR.js} +1 -1
- package/dist/cdn/{LQGOVHK5.js → 6TU7TELQ.js} +1 -1
- package/dist/cdn/{XXZLJJUD.js → 6U3ROWZZ.js} +1 -1
- package/dist/cdn/{YDR7QMVT.js → 7BU2NYJF.js} +1 -1
- package/dist/cdn/{4M44GUGJ.js → 7FAH7JCG.js} +1 -1
- package/dist/cdn/{64LZP4QQ.js → AOBR2FZX.js} +1 -1
- package/dist/cdn/{SUAG7EYU.js → AUF6Z2XS.js} +1 -1
- package/dist/cdn/{NT6PM5XH.js → AWKPSK42.js} +1 -1
- package/dist/cdn/{DLKG6DVQ.js → B2EZWE7S.js} +1 -1
- package/dist/cdn/{RL2K7DDP.js → BQAMQZ3V.js} +1 -1
- package/dist/cdn/{NFHOSKHP.js → DNF2AXKJ.js} +1 -1
- package/dist/cdn/{PNXMBMZW.js → DPB4UM43.js} +1 -1
- package/dist/cdn/{MO6SHL7R.js → E236NXER.js} +1 -1
- package/dist/cdn/{TUAKPBN6.js → E5GUU5JX.js} +1 -1
- package/dist/cdn/{NSIRDSJE.js → ECWZPFK5.js} +1 -1
- package/dist/cdn/{I346TCJF.js → EDG6NE3Q.js} +1 -1
- package/dist/cdn/{NGG777T3.js → EVB7GUKT.js} +2 -2
- package/dist/cdn/EVQPWQQD.js +99 -0
- package/dist/cdn/{DMFLHZHN.js → FEOJNWJU.js} +1 -1
- package/dist/cdn/{EF2W7QYA.js → FTGZEUG5.js} +1 -1
- package/dist/cdn/{KOP2PBMW.js → FTMDNRQ4.js} +1 -1
- package/dist/cdn/G37XSGAU.js +2 -0
- package/dist/cdn/{DJ2U4EHB.js → GIDKEEAF.js} +1 -1
- package/dist/cdn/{EQTKAWX7.js → GKB2KMVK.js} +1 -1
- package/dist/cdn/{4T6ARKXI.js → H4V744QH.js} +1 -1
- package/dist/cdn/H5LAP626.js +2 -0
- package/dist/cdn/{X43NGKXD.js → IO7XSZZJ.js} +1 -1
- package/dist/cdn/{6ZQWP3MJ.js → J55BL4K2.js} +1 -1
- package/dist/cdn/{PNDSQQ5E.js → JBWZAGT4.js} +1 -1
- package/dist/cdn/{JKNNRHD2.js → JJVDA3DN.js} +1 -1
- package/dist/cdn/JK4I5WFK.js +2 -0
- package/dist/cdn/{BCCYIEWA.js → JMR3NFDK.js} +1 -1
- package/dist/cdn/{HLWXN26K.js → JRBIKCLX.js} +1 -1
- package/dist/cdn/{XP5EHKK5.js → JVUPGGG4.js} +1 -1
- package/dist/cdn/{7R74WZE5.js → KMIWEAU6.js} +1 -1
- package/dist/cdn/{EPJKU44A.js → KSO34SAO.js} +1 -1
- package/dist/cdn/{VICPGXIO.js → L4V7IFLS.js} +1 -1
- package/dist/cdn/{ZZ6ZKTOB.js → LCPXJOVJ.js} +1 -1
- package/dist/cdn/{ABINJ3BK.js → LLMY5OHZ.js} +1 -1
- package/dist/cdn/{4NGF4CFB.js → LRKPA44Q.js} +1 -1
- package/dist/cdn/{UP66E6QT.js → MXWWYMFC.js} +1 -1
- package/dist/cdn/{3EZT4DMV.js → MZP3HKKC.js} +1 -1
- package/dist/cdn/{DCK2YGKJ.js → N5SWE4NH.js} +1 -1
- package/dist/cdn/{5FR6VDUA.js → N72YIV7E.js} +1 -1
- package/dist/cdn/{GY72PUJO.js → NGI7H6FA.js} +1 -1
- package/dist/cdn/{PVGB35UN.js → NL5S3OE6.js} +1 -1
- package/dist/cdn/{6WHMWFQV.js → NPB7D5KA.js} +1 -1
- package/dist/cdn/{XDQXFURT.js → NZW6ACIT.js} +1 -1
- package/dist/cdn/{OFVDF7MK.js → O2LUS7QH.js} +1 -1
- package/dist/cdn/{AU5I6VM4.js → OQNYW7IP.js} +1 -1
- package/dist/cdn/{5KBAXDQP.js → OZJAKFKE.js} +1 -1
- package/dist/cdn/{KQPSYN5C.js → P5PYOHCA.js} +1 -1
- package/dist/cdn/{ESPYLUAE.js → PE3FCPYX.js} +1 -1
- package/dist/cdn/{G6DYYIOL.js → PHEGFURT.js} +1 -1
- package/dist/cdn/{IWIH7WUN.js → Q2EXXGKR.js} +1 -1
- package/dist/cdn/{7HR7XH2G.js → Q4T4D2LB.js} +1 -1
- package/dist/cdn/{WAOI2ELL.js → QC5B3B6A.js} +1 -1
- package/dist/cdn/{U436QJR4.js → QULJVW56.js} +1 -1
- package/dist/cdn/{CRP74XRF.js → RAYEVTTF.js} +1 -1
- package/dist/cdn/{N333UOH4.js → RFBBY6PC.js} +1 -1
- package/dist/cdn/{VF57GKNK.js → RI3UECXS.js} +1 -1
- package/dist/cdn/{I3F7HHTI.js → RNDCOMA2.js} +1 -1
- package/dist/cdn/{6LEDHDVS.js → S7T24OCU.js} +1 -1
- package/dist/cdn/{45UZ5A2P.js → TBLK3BOQ.js} +1 -1
- package/dist/cdn/{XBPOWLBI.js → TS4AXHNJ.js} +1 -1
- package/dist/cdn/{QXUDRWYI.js → UBDNMJPP.js} +1 -1
- package/dist/cdn/{H6CD2WG5.js → UMK53D2L.js} +1 -1
- package/dist/cdn/{UVWAABXY.js → VGFOPTRV.js} +1 -1
- package/dist/cdn/{TMCW2LUV.js → VK7C24TQ.js} +1 -1
- package/dist/cdn/{NG4T3CM7.js → VMYL36WS.js} +1 -1
- package/dist/cdn/{ZXHUZALT.js → VYWV24JN.js} +1 -1
- package/dist/cdn/{TXUK6Z75.js → W44VQVU5.js} +1 -1
- package/dist/cdn/{SN3JJXMR.js → WHVMPOF6.js} +1 -1
- package/dist/cdn/{7CQDF63V.js → WPIPMEWS.js} +1 -1
- package/dist/cdn/{Q5N7EDBG.js → WZ2UHREI.js} +1 -1
- package/dist/cdn/{ADAJBZRP.js → YG3PYTVU.js} +1 -1
- package/dist/cdn/{MPEXW6QX.js → YZABL4ES.js} +1 -1
- package/dist/cdn/{5JYTP6ED.js → Z4W5GME2.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +5 -0
- package/dist/chunks/axis-lines-symbol.js +12 -12
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-data.js +52 -52
- package/dist/chunks/box-plot-model.js +8 -8
- package/dist/chunks/chart-model.js +34 -34
- package/dist/chunks/chart-ui-utils2.js +8 -8
- package/dist/chunks/class-breaks.js +10 -10
- package/dist/chunks/combo-bar-line-chart-model.js +11 -11
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data.js +20 -20
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +5 -5
- package/dist/chunks/histogram-data.js +8 -8
- package/dist/chunks/histogram-model.js +7 -7
- package/dist/chunks/index.js +1918 -1773
- package/dist/chunks/index2.js +60 -60
- package/dist/chunks/index3.js +10 -10
- package/dist/chunks/interfaces.js +5 -5
- package/dist/chunks/line-chart-model.js +7 -7
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-with-guides.js +7 -7
- package/dist/chunks/model-with-tooltips.js +21 -21
- package/dist/chunks/model-with-y-guides.js +9 -9
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +16 -16
- package/dist/chunks/pie-chart-model.js +12 -12
- package/dist/chunks/radar-chart-model.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +63 -63
- package/dist/chunks/serial-chart-data.js +208 -208
- package/dist/chunks/serial-chart-model.js +19 -19
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/{action-bar-utils.js → type-guards2.js} +33 -25
- package/dist/chunks/utils.js +35 -35
- package/dist/chunks/utils2.js +5 -5
- package/dist/chunks/web-component-utils.js +12 -12
- package/dist/components/arcgis-chart/customElement.d.ts +93 -55
- package/dist/components/arcgis-chart/customElement.js +4294 -4271
- package/dist/components/arcgis-charts-action-bar/customElement.js +35 -38
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/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/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -4
- 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 +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/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 +395 -392
- package/dist/interfaces.d.ts +2 -1
- package/dist/json-schema/index.d.ts +79 -2
- package/dist/spec/rest-js-types.d.ts +15 -0
- package/dist/spec/web-chart.d.ts +2 -2
- package/dist/utils/chart-config/validator/index.d.ts +2 -0
- package/dist/utils/data/interfaces.d.ts +2 -0
- package/dist/utils/layer/index.d.ts +7 -12
- package/dist/utils/layer/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/LNB6B5WL.js +0 -2
- package/dist/cdn/SL2YX32M.js +0 -2
- package/dist/cdn/TQNTRGWQ.js +0 -99
- package/dist/cdn/UE5DMUQ3.js +0 -2
- package/dist/cdn/YPCD27EC.js +0 -2
|
@@ -5,7 +5,7 @@ import { q as b, u as O, r as m } from "./series-types.js";
|
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import { isEqual as W } from "lodash-es";
|
|
7
7
|
import "luxon";
|
|
8
|
-
import {
|
|
8
|
+
import { aD as L, aY as D, az as M, b3 as P, b1 as V, x as d, bJ as N, cX as E } from "./index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -31,8 +31,8 @@ import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
|
31
31
|
import "@arcgis/core/geometry/Extent.js";
|
|
32
32
|
import "@arcgis/core/geometry/Point.js";
|
|
33
33
|
import "@arcgis/toolkit/dom";
|
|
34
|
-
import { g as v, u as U, s as T, c as X, b as k, h as j, a as
|
|
35
|
-
import { g as S, a as _, U as
|
|
34
|
+
import { g as v, u as U, s as T, c as X, b as k, h as j, a as z } from "./utils.js";
|
|
35
|
+
import { g as S, a as _, U as R, V as w, W as Y, X as K, Y as $, Z as q, _ as G, $ as J, a0 as Z, a1 as H, a2 as Q, a3 as ee, L as x, a4 as F, a5 as C, a6 as y, a7 as ie, a8 as te, b as se, d as oe } from "./serial-chart-data.js";
|
|
36
36
|
import { s as B, d as A, g as re } from "./data.js";
|
|
37
37
|
import { S as ae } from "./common.js";
|
|
38
38
|
import { M as ne, a as le, W as ge, b as pe } from "./model-with-tooltips.js";
|
|
@@ -46,7 +46,7 @@ import { M as xe, a as Fe } from "./model-with-y-guides.js";
|
|
|
46
46
|
import { M as Ce } from "./model-with-x-guides.js";
|
|
47
47
|
const Be = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ae = (s) => {
|
|
48
48
|
const { assign: e, seriesIndex: i, config: t, commonStrings: o } = s;
|
|
49
|
-
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] =
|
|
49
|
+
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = M(o, O.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
|
|
50
50
|
g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
|
|
51
51
|
}), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
|
|
52
52
|
}, Ie = (s, e) => e.series?.[s]?.name, be = (s, e, i) => {
|
|
@@ -70,7 +70,7 @@ const Be = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ae = (s) => {
|
|
|
70
70
|
e.series?.sort(
|
|
71
71
|
(i, t) => s.findIndex((o) => i.id === o) - s.findIndex((o) => t.id === o)
|
|
72
72
|
);
|
|
73
|
-
}, De = (s) => s.stackedType ?? b.Side,
|
|
73
|
+
}, De = (s) => s.stackedType ?? b.Side, Me = (s) => {
|
|
74
74
|
const { newStackedType: e, config: i, layerInfo: t, commonStrings: o } = s;
|
|
75
75
|
if (i.stackedType = e, t !== void 0) {
|
|
76
76
|
const a = v({
|
|
@@ -82,14 +82,14 @@ const Be = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ae = (s) => {
|
|
|
82
82
|
});
|
|
83
83
|
U(i, 1, a);
|
|
84
84
|
}
|
|
85
|
-
i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat =
|
|
86
|
-
},
|
|
85
|
+
i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat = P() : i.axes[1].valueFormat = V()), T({ config: i, value: null, axisIndex: 1, isMax: !1 }), T({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
86
|
+
}, Pe = (s) => {
|
|
87
87
|
let e;
|
|
88
88
|
const i = s.series.find(
|
|
89
89
|
(t) => (h(t) || f(t) || u(t)) && t.nullCategory !== void 0
|
|
90
90
|
);
|
|
91
91
|
return (h(i) || f(i) || u(i)) && (e = i?.nullCategory), e;
|
|
92
|
-
},
|
|
92
|
+
}, Ve = (s, e) => {
|
|
93
93
|
s.series.forEach((i) => {
|
|
94
94
|
(h(i) || f(i) || u(i)) && (i.nullCategory = e);
|
|
95
95
|
});
|
|
@@ -104,19 +104,19 @@ class p extends I {
|
|
|
104
104
|
* Time interval size for a temporal bar chart or line chart.
|
|
105
105
|
*/
|
|
106
106
|
get temporalBinningSize() {
|
|
107
|
-
return
|
|
107
|
+
return R(this._config);
|
|
108
108
|
}
|
|
109
109
|
set temporalBinningSize(e) {
|
|
110
|
-
|
|
110
|
+
w(e, this._config);
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* Time interval units for a temporal bar chart or line chart.
|
|
114
114
|
*/
|
|
115
115
|
get temporalBinningUnit() {
|
|
116
|
-
return
|
|
116
|
+
return Y(this._config);
|
|
117
117
|
}
|
|
118
118
|
set temporalBinningUnit(e) {
|
|
119
|
-
|
|
119
|
+
K(e, this._config);
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
122
|
* Time aggregation type for a temporal bar chart or line chart.
|
|
@@ -134,7 +134,7 @@ class p extends I {
|
|
|
134
134
|
return G(this._config);
|
|
135
135
|
}
|
|
136
136
|
set trimIncompleteTimeInterval(e) {
|
|
137
|
-
|
|
137
|
+
J(e, this._config);
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* Policy which tells the chart how to handle null values.
|
|
@@ -146,10 +146,10 @@ class p extends I {
|
|
|
146
146
|
* - Line series: connects the lines across null values.
|
|
147
147
|
*/
|
|
148
148
|
get nullPolicy() {
|
|
149
|
-
return
|
|
149
|
+
return Z(this._config);
|
|
150
150
|
}
|
|
151
151
|
set nullPolicy(e) {
|
|
152
|
-
|
|
152
|
+
H(e, this._config);
|
|
153
153
|
}
|
|
154
154
|
resetTimeInterval() {
|
|
155
155
|
Q(this._config);
|
|
@@ -344,7 +344,7 @@ class n extends I {
|
|
|
344
344
|
return De(this._config);
|
|
345
345
|
}
|
|
346
346
|
set stackedType(e) {
|
|
347
|
-
|
|
347
|
+
Me({
|
|
348
348
|
newStackedType: e,
|
|
349
349
|
config: this._config,
|
|
350
350
|
layerInfo: this.layerInfo,
|
|
@@ -367,11 +367,11 @@ class n extends I {
|
|
|
367
367
|
* - `colorMatch` to be set to `false` on the model
|
|
368
368
|
*/
|
|
369
369
|
get nullCategory() {
|
|
370
|
-
return
|
|
370
|
+
return Pe(this._config);
|
|
371
371
|
}
|
|
372
372
|
set nullCategory(e) {
|
|
373
373
|
const i = this.nullCategory;
|
|
374
|
-
W(i, e) ||
|
|
374
|
+
W(i, e) || Ve(this._config, e);
|
|
375
375
|
}
|
|
376
376
|
/**
|
|
377
377
|
* Sets up the local props based on the current config.
|
|
@@ -520,7 +520,7 @@ const ke = [
|
|
|
520
520
|
de,
|
|
521
521
|
Te
|
|
522
522
|
];
|
|
523
|
-
|
|
523
|
+
z(n, ke);
|
|
524
524
|
export {
|
|
525
525
|
n as S,
|
|
526
526
|
be as a,
|
|
@@ -5,7 +5,7 @@ import "lodash-es";
|
|
|
5
5
|
import "luxon";
|
|
6
6
|
import "./series-types.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
8
|
-
import {
|
|
8
|
+
import { aJ as l, aN as a, T as n, c7 as g } from "./index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
package/dist/chunks/series.js
CHANGED
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "luxon";
|
|
5
5
|
import "./series-types.js";
|
|
6
6
|
import "@arcgis/toolkit/type";
|
|
7
|
-
import {
|
|
7
|
+
import { aY as o } from "./index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import "@arcgis/toolkit/type";
|
|
3
|
-
import { u as a, w as
|
|
3
|
+
import { u as a, w as d } from "./series-types.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "luxon";
|
|
7
|
-
import {
|
|
7
|
+
import { d0 as y, m as B, aq as x, C as f, d9 as b, A as F, cX as I } from "./index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,7 +29,7 @@ import "@arcgis/core/geometry/Extent.js";
|
|
|
29
29
|
import "@arcgis/core/geometry/Point.js";
|
|
30
30
|
import "@arcgis/toolkit/dom";
|
|
31
31
|
import { D as e, A as o, a as r } from "./index5.js";
|
|
32
|
-
import { b as
|
|
32
|
+
import { b as p, k as L } from "./type-guards.js";
|
|
33
33
|
import { i as D } from "./rotated-state.js";
|
|
34
34
|
const T = [
|
|
35
35
|
e.EditChart,
|
|
@@ -132,8 +132,8 @@ const T = [
|
|
|
132
132
|
e.ExportAsImage,
|
|
133
133
|
e.ExportAsCSV
|
|
134
134
|
];
|
|
135
|
-
function he(
|
|
136
|
-
switch (
|
|
135
|
+
function he(n) {
|
|
136
|
+
switch (n) {
|
|
137
137
|
case a.BarSeries:
|
|
138
138
|
return T;
|
|
139
139
|
case a.LineSeries:
|
|
@@ -156,32 +156,40 @@ function he(c) {
|
|
|
156
156
|
return [];
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
const
|
|
160
|
-
const
|
|
161
|
-
return
|
|
162
|
-
actionBar:
|
|
159
|
+
const ue = (n, i, t) => {
|
|
160
|
+
const s = n.target.assignedNodes().find((S) => "legendToggle" in S), c = d(t?.series);
|
|
161
|
+
return s && (s.chartType = c, G({
|
|
162
|
+
actionBar: s,
|
|
163
163
|
chartComponent: i,
|
|
164
164
|
config: t
|
|
165
|
-
})),
|
|
165
|
+
})), s;
|
|
166
166
|
};
|
|
167
|
-
function
|
|
168
|
-
const { actionBar: i, chartComponent: t, config:
|
|
169
|
-
if (i.chartType =
|
|
170
|
-
const
|
|
171
|
-
i.hiddenActions =
|
|
167
|
+
function G(n) {
|
|
168
|
+
const { actionBar: i, chartComponent: t, config: l, isInfoModalDisplayed: s } = n, c = y(t.selectionData), S = l?.legend ? l.legend.visible ?? !0 : !1;
|
|
169
|
+
if (i.chartType = d(l?.series), t.enableConfiguration) {
|
|
170
|
+
const u = i.hiddenActions ?? [];
|
|
171
|
+
i.hiddenActions = u.filter((A) => A !== e.EditChart);
|
|
172
172
|
}
|
|
173
173
|
i.editChartState = t.enableConfiguration ? o.Enabled : o.Disabled;
|
|
174
|
-
const
|
|
175
|
-
i.legendState =
|
|
176
|
-
const
|
|
177
|
-
i.legendToggle =
|
|
178
|
-
const
|
|
179
|
-
i.rotateChartToggle =
|
|
180
|
-
const C =
|
|
181
|
-
i.filterBySelectionState = !h && !C && (t.filterBySelection === !0 || !
|
|
174
|
+
const m = l && B(l.series);
|
|
175
|
+
i.legendState = m ? o.Enabled : o.Disabled;
|
|
176
|
+
const g = p(t?.model) && L(t?.model) ? t.model.legendVisibility : S;
|
|
177
|
+
i.legendToggle = m && g ? r.Active : r.Inactive;
|
|
178
|
+
const E = p(t?.model) && D(t.model) ? t.model.rotatedState : l?.rotated;
|
|
179
|
+
i.rotateChartToggle = E ? r.Active : r.Inactive;
|
|
180
|
+
const C = x(l?.series ?? []) === f.PieFromFields, h = b(t.layer);
|
|
181
|
+
i.filterBySelectionState = !h && !C && (t.filterBySelection === !0 || !c && t.filterByExtent !== !0) ? o.Enabled : o.Disabled, i.filterBySelectionToggle = t.filterBySelection === !0 ? r.Active : r.Inactive, i.filterByExtentState = t.filterByExtent === !0 || t.filterBySelection !== !0 ? o.Enabled : o.Disabled, i.filterByExtentToggle = t.filterByExtent === !0 ? r.Active : r.Inactive, i.zoomState = t.filterBySelection ? o.Disabled : o.Enabled, i.zoomToggle = t.actionMode === F.Zoom ? r.Active : r.Inactive, i.selectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.selectionToggle = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode ? r.Active : r.Inactive, i.clearSelectionState = c ? o.Disabled : o.Enabled, i.fullExtentState = t.filterBySelection ? o.Disabled : o.Enabled, i.switchSelectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.exportActionState = s || I(l) ? o.Disabled : o.Enabled;
|
|
182
|
+
}
|
|
183
|
+
function Ae(n) {
|
|
184
|
+
return n?.tagName.toLowerCase() === "arcgis-chart";
|
|
185
|
+
}
|
|
186
|
+
function ye(n) {
|
|
187
|
+
return n !== void 0 && d(n.series) === a.GaugeSeries;
|
|
182
188
|
}
|
|
183
189
|
export {
|
|
190
|
+
ye as a,
|
|
184
191
|
he as g,
|
|
185
|
-
Ae as
|
|
186
|
-
|
|
192
|
+
Ae as i,
|
|
193
|
+
ue as o,
|
|
194
|
+
G as u
|
|
187
195
|
};
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import "@arcgis/toolkit/type";
|
|
3
|
-
import { q as
|
|
3
|
+
import { q as B, u, r as y, w as C, p as q } from "./series-types.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "luxon";
|
|
7
|
-
import {
|
|
7
|
+
import { c8 as w, ay as j, bn as A, bJ as N, aJ as D, aN as k, T as M, aH as W, az as $, bC as E, q as v, d9 as I, d_ as L, bq as U, cL as H, dZ as K, c7 as P, dV as X } from "./index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -28,8 +28,8 @@ import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
|
28
28
|
import "@arcgis/core/rest/support/Query.js";
|
|
29
29
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
30
30
|
import "@arcgis/core/time/TimeExtent.js";
|
|
31
|
-
import { k as
|
|
32
|
-
function
|
|
31
|
+
import { k as J } from "./index4.js";
|
|
32
|
+
function Ie(s, e, i) {
|
|
33
33
|
const t = s?.axes?.[e];
|
|
34
34
|
t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = D({
|
|
35
35
|
text: i,
|
|
@@ -41,14 +41,14 @@ function Le(s) {
|
|
|
41
41
|
const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: o } = s;
|
|
42
42
|
let r = "";
|
|
43
43
|
if (e)
|
|
44
|
-
if (
|
|
44
|
+
if (w(e) === B.Stacked100)
|
|
45
45
|
r = t.utilsStrings.statistics.percent;
|
|
46
46
|
else {
|
|
47
|
-
const f =
|
|
47
|
+
const f = j(o, t);
|
|
48
48
|
if (e.series[0]?.type === u.HeatSeries)
|
|
49
49
|
r = A(i.layerFieldsInfo, e.series[0].y);
|
|
50
50
|
else if (a.length === 1) {
|
|
51
|
-
const n = A(i.layerFieldsInfo, a[0]), c =
|
|
51
|
+
const n = A(i.layerFieldsInfo, a[0]), c = N(i.layer).idField;
|
|
52
52
|
o === y.NoAggregation ? r = n : o === y.Count && c !== void 0 && a[0] === c ? r = t.utilsStrings.statistics.count : r = b(t.axisLabels.aggregationOfFieldName, {
|
|
53
53
|
aggregation: f,
|
|
54
54
|
fieldName: n
|
|
@@ -69,7 +69,7 @@ const O = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], V = (s) => {
|
|
|
69
69
|
}, S = (s) => {
|
|
70
70
|
const { config: e, value: i, axisIndex: t, isMax: a } = s, o = e?.axes?.[t];
|
|
71
71
|
o !== void 0 && (a ? o.maximum = i : o.minimum = i);
|
|
72
|
-
}, Ve = (s) => s.axes?.[0]?.valueFormat ?? W(),
|
|
72
|
+
}, Ve = (s) => s.axes?.[0]?.valueFormat ?? W(), Te = (s, e, i) => {
|
|
73
73
|
const t = O(s, 0, e);
|
|
74
74
|
if (t !== void 0 && i !== void 0) {
|
|
75
75
|
const a = {
|
|
@@ -78,24 +78,24 @@ const O = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], V = (s) => {
|
|
|
78
78
|
};
|
|
79
79
|
V({ config: s, axis: a, axisIndex: 0 });
|
|
80
80
|
}
|
|
81
|
-
},
|
|
81
|
+
}, Be = (s, e, i) => {
|
|
82
82
|
const t = s.axes?.[e];
|
|
83
83
|
t !== void 0 && (t.integerOnlyValues = i);
|
|
84
84
|
}, R = (s) => {
|
|
85
85
|
const e = C(s.series);
|
|
86
86
|
return e === u.BarSeries || e === u.ComboLineAndBarSeries || e === u.LineSeries;
|
|
87
|
-
},
|
|
87
|
+
}, z = (s) => {
|
|
88
88
|
const { axisIndex: e, config: i, isMultiAxis: t } = s;
|
|
89
89
|
let a = !1;
|
|
90
90
|
return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = R(i)), a;
|
|
91
91
|
}, Ce = (s) => {
|
|
92
92
|
const { axisIndex: e, func: i, config: t } = s;
|
|
93
|
-
return
|
|
93
|
+
return z({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
|
|
94
94
|
}, h = (s, e) => {
|
|
95
95
|
let i;
|
|
96
96
|
const t = e.axes?.[s]?.valueFormat;
|
|
97
|
-
return (s === 0 || s >= 1 &&
|
|
98
|
-
},
|
|
97
|
+
return (s === 0 || s >= 1 && J(t)) && (i = t), i;
|
|
98
|
+
}, qe = (s) => {
|
|
99
99
|
const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, o = O(e, a, i);
|
|
100
100
|
if (o !== void 0 && t !== void 0) {
|
|
101
101
|
const r = {
|
|
@@ -108,7 +108,7 @@ const O = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], V = (s) => {
|
|
|
108
108
|
axisIndex: a
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
},
|
|
111
|
+
}, we = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, je = (s) => {
|
|
112
112
|
const { config: e, isLogarithmic: i, axisIndex: t } = s, a = e.axes?.[t];
|
|
113
113
|
a && (a.isLogarithmic = i, S({ config: e, value: null, axisIndex: t, isMax: !0 }), S({ config: e, value: null, axisIndex: t, isMax: !1 }));
|
|
114
114
|
}, De = (s) => {
|
|
@@ -116,16 +116,16 @@ const O = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], V = (s) => {
|
|
|
116
116
|
e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
|
|
117
117
|
};
|
|
118
118
|
async function ke(s) {
|
|
119
|
-
const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: o, aggregationFields: r, fetchNullValues: d } = s, n = o.filter((p) => p.name === a)[0]?.type, c = d !== !0 ? `${a} IS NOT NULL` : "",
|
|
120
|
-
where:
|
|
119
|
+
const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: o, aggregationFields: r, fetchNullValues: d } = s, n = o.filter((p) => p.name === a)[0]?.type, c = d !== !0 ? `${a} IS NOT NULL` : "", m = t && d !== !0 ? `${t} IS NOT NULL` : "", { where: F } = e?.dataFilters ?? {}, T = {
|
|
120
|
+
where: v([F, c, m]),
|
|
121
121
|
// excluding the null values from the list
|
|
122
|
-
orderByFields:
|
|
122
|
+
orderByFields: H(a) ? [] : [`${a} ${q.Ascending}`],
|
|
123
123
|
// default sorting ascending for split-by field
|
|
124
124
|
geometry: e?.dataFilters?.geometry
|
|
125
125
|
};
|
|
126
126
|
let x = "";
|
|
127
|
-
r?.length === 0 ? x =
|
|
128
|
-
let
|
|
127
|
+
r?.length === 0 ? x = N(i).idField : r && ([x] = r);
|
|
128
|
+
let g = i ? I(i) ? await K({
|
|
129
129
|
layer: i,
|
|
130
130
|
category: e?.series[0].x ?? "",
|
|
131
131
|
splitByField: a
|
|
@@ -133,17 +133,17 @@ async function ke(s) {
|
|
|
133
133
|
queryObject: i,
|
|
134
134
|
category: e?.series[0].x ?? "",
|
|
135
135
|
splitByField: a,
|
|
136
|
-
queryConfig:
|
|
136
|
+
queryConfig: T
|
|
137
137
|
}) : [];
|
|
138
|
-
if (
|
|
138
|
+
if (g = g.slice(0, 500), e) {
|
|
139
139
|
const p = e?.series.map((l) => P({ where: l.query?.where })?.toString() ?? "").filter((l) => l !== void 0 && l !== "");
|
|
140
|
-
|
|
141
|
-
arrayA:
|
|
140
|
+
g = X({
|
|
141
|
+
arrayA: g,
|
|
142
142
|
arrayB: p,
|
|
143
143
|
getKey: (l) => l === null ? null : l?.toString()
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
return { categoriesArray:
|
|
146
|
+
return { categoriesArray: g, splitByFieldType: n, numericalField: x };
|
|
147
147
|
}
|
|
148
148
|
function Me(s, e) {
|
|
149
149
|
let i = e === "";
|
|
@@ -181,20 +181,20 @@ function $e(s, e) {
|
|
|
181
181
|
}
|
|
182
182
|
async function Ee(s) {
|
|
183
183
|
const { layerInfo: e, config: i, category: t } = s, { layer: a } = e, { where: o } = i?.dataFilters ?? {}, { fetchNullValues: r } = i?.series?.[0]?.query ?? {}, d = r !== !0 ? `${t} IS NOT NULL` : "", f = {
|
|
184
|
-
where:
|
|
184
|
+
where: v([o, d]),
|
|
185
185
|
// excluding the null values from the list
|
|
186
186
|
orderByFields: [],
|
|
187
187
|
geometry: i?.dataFilters?.geometry
|
|
188
188
|
};
|
|
189
189
|
let n;
|
|
190
|
-
return
|
|
190
|
+
return I(a) ? n = [] : n = // fetch unique category values asynchronously
|
|
191
191
|
(await L({ queryObject: a, category: t, queryConfig: f })).map((c) => {
|
|
192
|
-
const
|
|
192
|
+
const m = String(c);
|
|
193
193
|
return U({
|
|
194
194
|
queryObject: e.layer,
|
|
195
195
|
fieldName: t,
|
|
196
|
-
fieldValue:
|
|
197
|
-
}) ??
|
|
196
|
+
fieldValue: m
|
|
197
|
+
}) ?? m;
|
|
198
198
|
}), n;
|
|
199
199
|
}
|
|
200
200
|
function Ue(s) {
|
|
@@ -206,18 +206,18 @@ export {
|
|
|
206
206
|
Me as c,
|
|
207
207
|
Ve as d,
|
|
208
208
|
Ee as e,
|
|
209
|
-
|
|
209
|
+
Te as f,
|
|
210
210
|
Le as g,
|
|
211
211
|
ke as h,
|
|
212
212
|
Ue as i,
|
|
213
|
-
|
|
213
|
+
Be as j,
|
|
214
214
|
Oe as k,
|
|
215
215
|
h as l,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
qe as m,
|
|
217
|
+
we as n,
|
|
218
|
+
je as o,
|
|
219
219
|
De as p,
|
|
220
220
|
Ce as r,
|
|
221
221
|
S as s,
|
|
222
|
-
|
|
222
|
+
Ie as u
|
|
223
223
|
};
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "luxon";
|
|
5
5
|
import "./series-types.js";
|
|
6
6
|
import "@arcgis/toolkit/type";
|
|
7
|
-
import {
|
|
7
|
+
import { aJ as x, aN as a, T as l } from "./index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,7 +29,7 @@ import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
|
29
29
|
import "@arcgis/core/geometry/Extent.js";
|
|
30
30
|
import "@arcgis/core/geometry/Point.js";
|
|
31
31
|
import "@arcgis/toolkit/dom";
|
|
32
|
-
const
|
|
32
|
+
const I = (i, e) => e.axes?.[i]?.labels?.visible ?? !0, K = (i, e, s) => {
|
|
33
33
|
const t = s.axes?.[e];
|
|
34
34
|
t?.labels !== void 0 ? t.labels.visible = i : t !== void 0 && t?.labels === void 0 && (t.labels = x({
|
|
35
35
|
text: "",
|
|
@@ -37,7 +37,7 @@ const J = (i, e) => e.axes?.[i]?.labels?.visible ?? !0, K = (i, e, s) => {
|
|
|
37
37
|
font: a(l.AxisLabels),
|
|
38
38
|
type: l.AxisLabels
|
|
39
39
|
}));
|
|
40
|
-
}, m = (i, e) => e.axes?.[i]?.title?.content.text ?? "",
|
|
40
|
+
}, m = (i, e) => e.axes?.[i]?.title?.content.text ?? "", M = (i, e, s) => {
|
|
41
41
|
const t = s.axes?.[e];
|
|
42
42
|
t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && t?.title === void 0 && (t.title = x({
|
|
43
43
|
text: i,
|
|
@@ -65,10 +65,10 @@ const J = (i, e) => e.axes?.[i]?.labels?.visible ?? !0, K = (i, e, s) => {
|
|
|
65
65
|
};
|
|
66
66
|
export {
|
|
67
67
|
Q as a,
|
|
68
|
-
|
|
68
|
+
M as b,
|
|
69
69
|
O as c,
|
|
70
70
|
P as d,
|
|
71
|
-
|
|
71
|
+
I as e,
|
|
72
72
|
K as f,
|
|
73
73
|
m as g,
|
|
74
74
|
R as s
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { isEqual as Y, capitalize as F, isNumber as A, zip as
|
|
3
|
-
import {
|
|
2
|
+
import { isEqual as Y, capitalize as F, isNumber as A, zip as H } from "lodash-es";
|
|
3
|
+
import { aq as V, bJ as J, bB as U, C as c, cc as O, dx as h, e6 as D, z as v, cJ as X, B, j as W, k as K } from "./index.js";
|
|
4
4
|
import { b as R } from "./interfaces.js";
|
|
5
5
|
import { P as z } from "./common.js";
|
|
6
6
|
import "@arcgis/toolkit/type";
|
|
7
7
|
import { w as ee, u as C } from "./series-types.js";
|
|
8
8
|
import { R as te } from "./rest-js-object-literals.js";
|
|
9
|
-
import { g as oe, a as
|
|
9
|
+
import { g as oe, a as N, b as Z, c as I } from "./box-plot-data.js";
|
|
10
10
|
import { g as G } from "./series-length.js";
|
|
11
11
|
import { g as ie } from "./histogram-data.js";
|
|
12
12
|
import { g as ae, a as se, b as ne } from "./pie-chart-data.js";
|
|
@@ -99,7 +99,7 @@ function ge(n, e, t) {
|
|
|
99
99
|
return t ? i = t.map((o) => l.find((a) => a.toLowerCase().includes(o.toLowerCase())) || "") : i = l.filter((a) => a.toLowerCase().includes(e.toLowerCase())), i.filter((o) => o.trim() !== "");
|
|
100
100
|
}
|
|
101
101
|
function pe(n) {
|
|
102
|
-
const { config: e, rows: t, layer: l, fieldList: i } = n, o = ue(e), a = le(e), f = F(a), r = re(e), m = V(e.series), x = G(e), g = ce(e), { idField: y, isTraditionalTypeOID: s } = U(
|
|
102
|
+
const { config: e, rows: t, layer: l, fieldList: i } = n, o = ue(e), a = le(e), f = F(a), r = re(e), m = V(e.series), x = G(e), g = ce(e), { idField: y, isTraditionalTypeOID: s } = J(U(l)), d = s && r.length === 1 && r[0] === y;
|
|
103
103
|
let u;
|
|
104
104
|
switch (m) {
|
|
105
105
|
case c.BarAndLineNoAggregation:
|
|
@@ -113,7 +113,7 @@ function pe(n) {
|
|
|
113
113
|
});
|
|
114
114
|
break;
|
|
115
115
|
case c.BarAndLineFromFields:
|
|
116
|
-
u =
|
|
116
|
+
u = H(r, t).map(([p, b]) => {
|
|
117
117
|
const P = O(e.series)[0], S = {};
|
|
118
118
|
return b !== void 0 && p !== void 0 && (S.Field = b[o], S.Value = b[P]), S;
|
|
119
119
|
});
|
|
@@ -214,7 +214,7 @@ function xe(n) {
|
|
|
214
214
|
}), u = { [o]: d };
|
|
215
215
|
let p = y, b = y;
|
|
216
216
|
return a === c.PieFromCategory && y.toLowerCase() === g.name.toLowerCase() && (p = g.description, b = g.name), u[p] = s[b], u[F(h.trim())] = s[`${b}${h}`], u;
|
|
217
|
-
}) : a === c.PieFromFields && (f =
|
|
217
|
+
}) : a === c.PieFromFields && (f = H(r, f).map(([s, d]) => {
|
|
218
218
|
const u = {};
|
|
219
219
|
return d !== void 0 && s !== void 0 && (u.Field = d[o], u.Value = d[y], u[F(h.trim())] = d[`${y}${h}`]), u;
|
|
220
220
|
})), f;
|
|
@@ -224,14 +224,14 @@ function L(n) {
|
|
|
224
224
|
for (const [i, o] of Object.entries(B)) {
|
|
225
225
|
const a = e[t + o];
|
|
226
226
|
a !== void 0 && (l[i] = A(a) ? a.toFixed(2) : a);
|
|
227
|
-
const f = e[t + o +
|
|
227
|
+
const f = e[t + o + W];
|
|
228
228
|
f !== void 0 && (l[`${i} Outlier`] = A(f) ? f.toFixed(2) : f);
|
|
229
229
|
const r = e[t + o + K];
|
|
230
230
|
r !== void 0 && (l[`${i} Z-Score`] = A(r) ? r.toFixed(2) : r);
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
function M(n) {
|
|
234
|
-
const { rawData: e, outRow: t, config: l, boxPlotSubType: i, fieldList: o } = n, a =
|
|
234
|
+
const { rawData: e, outRow: t, config: l, boxPlotSubType: i, fieldList: o } = n, a = N(l), f = Z(l), r = I(l);
|
|
235
235
|
let m = B.Outlier;
|
|
236
236
|
const x = v;
|
|
237
237
|
switch (i) {
|
|
@@ -272,7 +272,7 @@ function M(n) {
|
|
|
272
272
|
y !== void 0 && (t[`${F(B.Outlier)} Z-Score`] = A(y) ? y.toFixed(2) : y);
|
|
273
273
|
}
|
|
274
274
|
function be(n) {
|
|
275
|
-
const { rawData: e, outRow: t, config: l, splitByValue: i } = n, o = V(l.series), a = e[`${i}_${B.Average}`], f =
|
|
275
|
+
const { rawData: e, outRow: t, config: l, splitByValue: i } = n, o = V(l.series), a = e[`${i}_${B.Average}`], f = I(l), r = N(l);
|
|
276
276
|
let m = "";
|
|
277
277
|
switch (o) {
|
|
278
278
|
case c.BoxPlotMonoFieldAndSplitBy: {
|
|
@@ -297,7 +297,7 @@ function Be(n) {
|
|
|
297
297
|
let o = i;
|
|
298
298
|
const a = oe(e), f = Array.isArray(t) && t.length > 0 && t.every((s) => s[D.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
299
299
|
a && !f && (i === c.BoxPlotMonoFieldAndSplitBy ? o = c.BoxPlotMonoField : i === c.BoxPlotMultiFieldsAndSplitBy ? o = c.BoxPlotMultiFields : i === c.BoxPlotMonoFieldAndCategoryAndSplitBy && (o = c.BoxPlotMonoFieldAndCategory));
|
|
300
|
-
const r =
|
|
300
|
+
const r = N(e), m = Z(e), x = G(e), g = I(e);
|
|
301
301
|
let y;
|
|
302
302
|
switch (o) {
|
|
303
303
|
case c.BoxPlotMonoField:
|
|
@@ -406,7 +406,7 @@ function Be(n) {
|
|
|
406
406
|
}
|
|
407
407
|
return y;
|
|
408
408
|
}
|
|
409
|
-
const
|
|
409
|
+
const q = (n) => {
|
|
410
410
|
let e = !1;
|
|
411
411
|
return (typeof n == "string" || typeof n == "number") && (e = !Number.isNaN(new Date(n).getTime())), e;
|
|
412
412
|
}, $ = (n) => {
|
|
@@ -415,7 +415,7 @@ const H = (n) => {
|
|
|
415
415
|
const o = l?.find((a) => a.name === e);
|
|
416
416
|
if (o) {
|
|
417
417
|
const a = o.type === te.DateOnly;
|
|
418
|
-
|
|
418
|
+
X(o) && !a ? i = q(t) ? new Date(t).toISOString() : t : a && typeof t != "string" && (i = q(t) ? new Date(t).toISOString().split("T")[0] : t);
|
|
419
419
|
}
|
|
420
420
|
return i;
|
|
421
421
|
};
|