@arcgis/charts-components 5.2.0-next.1 → 5.2.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{H6NH46AS.js → 23YH7MTF.js} +1 -1
- package/dist/cdn/{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/{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/{CPPT5HUK.js → KXNZEPLT.js} +15 -15
- 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/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
- /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
3
3
|
import { memoize as $, isEmpty as ce, isEqual as de, cloneDeep as j } from "lodash-es";
|
|
4
4
|
import { B as u } from "./common.js";
|
|
5
|
-
import { u as I,
|
|
5
|
+
import { u as I, a as R, b as ye, c as ue, s as K, e as fe } from "./utils.js";
|
|
6
6
|
import { g as q } from "./utils2.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { b as me } from "./series-length.js";
|
|
8
|
+
import { s as z } from "./data.js";
|
|
9
9
|
import { R as Se } from "./rest-js-object-literals.js";
|
|
10
10
|
import { u as f, n as p, p as h } from "./chart-object-literals.js";
|
|
11
11
|
import { A as Y, g as C, X as J, Z as H, m as Q, B as Z, h as U, Y as pe, H as ge, C as xe } from "./index.js";
|
|
12
12
|
import { d as w } from "./index3.js";
|
|
13
13
|
import { aF as P, b9 as be, aK as he, ad as Ae, a6 as _ } from "./index2.js";
|
|
14
|
-
import { b as D, c as Fe } from "./
|
|
15
|
-
import { i as V } from "./
|
|
14
|
+
import { b as D, c as Fe } from "./index5.js";
|
|
15
|
+
import { i as V } from "./index4.js";
|
|
16
16
|
const Ge = (s, e) => e?.series?.[s]?.name, es = (s, e, t) => {
|
|
17
17
|
const o = t;
|
|
18
18
|
o?.series?.[e] !== void 0 && (o.series[e].name = s);
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
import { log as d } from "@arcgis/toolkit/log";
|
|
3
3
|
import { u as A } from "./chart-object-literals.js";
|
|
4
4
|
import { g as f, z as P, B as D, am as T, aB as V, h as y, l as m, m as p } from "./index.js";
|
|
5
|
-
import { g as l } from "./
|
|
5
|
+
import { g as l } from "./index5.js";
|
|
6
6
|
import { C as N } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
8
|
import { B as E } from "./common.js";
|
|
9
9
|
import { M as R, a as U, W as z, b as X } from "./data-labels-visibility.js";
|
|
10
10
|
import { M as j, a as K } from "./model-with-y-guides.js";
|
|
11
|
-
import { W as Y,
|
|
12
|
-
import { W as q,
|
|
13
|
-
import { W as Q,
|
|
11
|
+
import { W as Y, c as k, d as G } from "./axis-lines-symbol.js";
|
|
12
|
+
import { W as q, c as H, d as J } from "./generate-x-axis-title.js";
|
|
13
|
+
import { W as Q, a as Z } from "./x-bounds.js";
|
|
14
14
|
import { W as $ } from "./data-labels-symbol.js";
|
|
15
15
|
import { W as ee } from "./rotated-state.js";
|
|
16
|
-
import { g as te, s as u,
|
|
17
|
-
import {
|
|
18
|
-
import { s as ne, d as ae, e as le, f as he, h as ce, i as L, j as _, k as C, l as B, m as M, g as ge, n as de, o as fe, p as x, a as ye, c as me, b as pe, q as ue, r as F, t as Se, u as
|
|
19
|
-
var
|
|
20
|
-
for (var r =
|
|
16
|
+
import { g as te, s as u, b as se, a as S } from "./series.js";
|
|
17
|
+
import { j as ie, h as re, f as oe } from "./utils.js";
|
|
18
|
+
import { s as ne, d as ae, e as le, f as he, h as ce, i as L, j as _, k as C, l as B, m as M, g as ge, n as de, o as fe, p as x, a as ye, c as me, b as pe, q as ue, r as F, t as Se, u as v, v as Le, w, x as _e, y as Ce, z as Be, A as Me, B as xe, C as Fe, D as b } from "./box-plot-data.js";
|
|
19
|
+
var ve = Object.defineProperty, we = Object.getOwnPropertyDescriptor, n = (c, e, t, s) => {
|
|
20
|
+
for (var r = we(e, t), a = c.length - 1, h; a >= 0; a--)
|
|
21
21
|
(h = c[a]) && (r = h(e, t, r) || r);
|
|
22
|
-
return r &&
|
|
22
|
+
return r && ve(e, t, r), r;
|
|
23
23
|
};
|
|
24
24
|
class i extends N {
|
|
25
25
|
constructor() {
|
|
@@ -241,7 +241,7 @@ class i extends N {
|
|
|
241
241
|
return Se(e, this._config);
|
|
242
242
|
}
|
|
243
243
|
setSeriesName(e, t) {
|
|
244
|
-
|
|
244
|
+
v(e, t, this._config);
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
247
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -252,7 +252,7 @@ class i extends N {
|
|
|
252
252
|
return Le(e, this._config);
|
|
253
253
|
}
|
|
254
254
|
setSeriesColor(e, t) {
|
|
255
|
-
|
|
255
|
+
w(e, t, this._config);
|
|
256
256
|
}
|
|
257
257
|
/**
|
|
258
258
|
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -331,14 +331,14 @@ class i extends N {
|
|
|
331
331
|
colorIndex: e,
|
|
332
332
|
opacity: V
|
|
333
333
|
}), r = this._config.series[e];
|
|
334
|
-
|
|
335
|
-
const a =
|
|
334
|
+
w(s, e, this._config);
|
|
335
|
+
const a = b({
|
|
336
336
|
series: r,
|
|
337
337
|
splitByField: this._splitByField,
|
|
338
338
|
layerInfo: this.layerInfo,
|
|
339
339
|
commonStrings: this.commonStrings
|
|
340
340
|
});
|
|
341
|
-
|
|
341
|
+
v(a ?? t, e, this._config), this.showMeanLines === !0 && l(r) && (u(m, r), S(p, r));
|
|
342
342
|
}
|
|
343
343
|
this.showMeanLines === !0 && x(y, this._config), this._config.colorMatch = !0;
|
|
344
344
|
}
|
|
@@ -350,7 +350,7 @@ class i extends N {
|
|
|
350
350
|
let s = !1, r = !1;
|
|
351
351
|
if (!e)
|
|
352
352
|
for (let a = this.showMeanLines === !0 ? 1 : 0; a < this.seriesLength; a += 1) {
|
|
353
|
-
const h = this._config.series[a], g =
|
|
353
|
+
const h = this._config.series[a], g = b({
|
|
354
354
|
series: h,
|
|
355
355
|
splitByField: this._splitByField,
|
|
356
356
|
layerInfo: this.layerInfo,
|
|
@@ -419,7 +419,7 @@ n([
|
|
|
419
419
|
n([
|
|
420
420
|
o
|
|
421
421
|
], i.prototype, "resetSeriesStyling");
|
|
422
|
-
const
|
|
422
|
+
const be = [
|
|
423
423
|
j,
|
|
424
424
|
R,
|
|
425
425
|
U,
|
|
@@ -437,7 +437,7 @@ const we = [
|
|
|
437
437
|
G,
|
|
438
438
|
J
|
|
439
439
|
];
|
|
440
|
-
oe(i,
|
|
440
|
+
oe(i, be);
|
|
441
441
|
export {
|
|
442
442
|
i as BoxPlotModel
|
|
443
443
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { f as w } from "./utils.js";
|
|
3
|
+
import { b as j, W, c as F, d as I } from "./series-length.js";
|
|
4
4
|
import { m as a, C as n } from "./model-setter.js";
|
|
5
5
|
import { E as p, T as c, I as f } from "./index.js";
|
|
6
6
|
import { E as L } from "./index3.js";
|
|
@@ -152,21 +152,21 @@ function Y(e) {
|
|
|
152
152
|
export {
|
|
153
153
|
S as D,
|
|
154
154
|
O as U,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
155
|
+
K as a,
|
|
156
|
+
F as b,
|
|
157
|
+
v as c,
|
|
158
|
+
H as d,
|
|
159
|
+
B as e,
|
|
160
|
+
P as f,
|
|
161
|
+
U as g,
|
|
162
|
+
C as h,
|
|
163
163
|
x as i,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
w as j,
|
|
165
|
+
W as k,
|
|
166
|
+
Y as l,
|
|
167
167
|
E as m,
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
V as n,
|
|
169
|
+
M as o,
|
|
170
170
|
I as p,
|
|
171
171
|
A as s
|
|
172
172
|
};
|
|
@@ -3,9 +3,9 @@ import { g as p, s as b, a as _, b as L } from "./bar-chart-series.js";
|
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
4
|
import { g as u, a as k, e as C, b as v, f as M, s as z, h as O, c as B, i as V, d as D, j as F, k as A, n as H, o as d, p as j, q as W, r as w, W as P } from "./negative-values-stacked-to-baseline.js";
|
|
5
5
|
import { S as T, s as N } from "./serial-chart-model.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as q } from "./utils.js";
|
|
7
7
|
import { u as S } from "./chart-object-literals.js";
|
|
8
|
-
import { j as Y, g as l, i as g } from "./
|
|
8
|
+
import { j as Y, g as l, i as g } from "./index5.js";
|
|
9
9
|
import { w as E, x as y, Y as m } from "./index.js";
|
|
10
10
|
import { an as f } from "./index2.js";
|
|
11
11
|
var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import { N as x, k as B, m as L,
|
|
3
|
+
import { N as x, k as B, m as L, cR as $, Y as N, an as I, af as H, ax as P, l as _, n as v } from "./index2.js";
|
|
4
4
|
import { g as F } from "./series-types.js";
|
|
5
5
|
import { H as g, S as o, P as M } from "./common.js";
|
|
6
6
|
import { p as l, n, u as d, r as C } from "./chart-object-literals.js";
|
|
7
|
-
import { C as
|
|
8
|
-
import { g as
|
|
9
|
-
import { c as
|
|
10
|
-
function
|
|
7
|
+
import { C as R } from "./index3.js";
|
|
8
|
+
import { g as U } from "./index.js";
|
|
9
|
+
import { c as W } from "./type-guards.js";
|
|
10
|
+
function Y(e, s) {
|
|
11
11
|
let r;
|
|
12
12
|
return s === n.Category && Array.isArray(e) ? r = o.customSort : s === n.Category ? r = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? r = o.yAxisAsc : r = o.yAxisDesc, r;
|
|
13
13
|
}
|
|
@@ -15,20 +15,20 @@ function w(e, s) {
|
|
|
15
15
|
let r;
|
|
16
16
|
return s === n.Category && Array.isArray(e) ? r = g.customSort : r = e === l.Ascending ? g.Asc : g.Desc, r;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const k = (e) => {
|
|
19
19
|
const s = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
20
|
-
return
|
|
20
|
+
return Y(
|
|
21
21
|
s,
|
|
22
22
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
23
23
|
);
|
|
24
|
-
},
|
|
24
|
+
}, E = (e) => {
|
|
25
25
|
const s = F(e.series);
|
|
26
26
|
let r = !1;
|
|
27
|
-
return (s === d.BarSeries || s === d.LineSeries) && (r =
|
|
27
|
+
return (s === d.BarSeries || s === d.LineSeries) && (r = k(e) === o.customSort), r;
|
|
28
28
|
}, ee = (e) => {
|
|
29
29
|
let s = [];
|
|
30
30
|
const r = e.orderOptions?.data?.orderType;
|
|
31
|
-
return
|
|
31
|
+
return E(e) && r === n.Category && (s = e.orderOptions?.data?.orderBy), s;
|
|
32
32
|
}, se = (e, s, r, t) => {
|
|
33
33
|
const a = F(s.series), m = $(s);
|
|
34
34
|
s.orderOptions ??= {};
|
|
@@ -67,7 +67,7 @@ const E = (e) => {
|
|
|
67
67
|
fieldList: O
|
|
68
68
|
} = e, T = F(s.series), b = N(s.series);
|
|
69
69
|
let f;
|
|
70
|
-
if (
|
|
70
|
+
if (W(i)) {
|
|
71
71
|
const y = P(i);
|
|
72
72
|
f = t.length === 1 && t[0] === y;
|
|
73
73
|
} else {
|
|
@@ -90,7 +90,7 @@ const E = (e) => {
|
|
|
90
90
|
fieldName: r,
|
|
91
91
|
numericFields: t,
|
|
92
92
|
fieldList: O ?? []
|
|
93
|
-
}) || b ===
|
|
93
|
+
}) || b === R.BarAndLineFromFields ? p = _ : (p = `${a}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase(), A = f ? u(C.Count) : u(`${a} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
95
|
const y = t[0];
|
|
96
96
|
p = `${a}_${y}_${h ?? 0}`.toUpperCase(), A = f ? u(C.Count) : u(`${a} of ${y}`);
|
|
@@ -103,22 +103,22 @@ const E = (e) => {
|
|
|
103
103
|
description: A
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
function
|
|
106
|
+
function K(e) {
|
|
107
107
|
const { fieldName: s, fieldList: r } = e, t = x(r ?? [], s);
|
|
108
|
-
return s === B || s === L || s ===
|
|
108
|
+
return s === B || s === L || s === U || s === void 0 || s.trim() === "" || t === void 0;
|
|
109
109
|
}
|
|
110
110
|
function V(e) {
|
|
111
111
|
const { fieldName: s, fieldList: r, numericFields: t } = e, a = t.filter((m) => x(r ?? [], m)?.type !== "esriFieldTypeOID");
|
|
112
|
-
return
|
|
112
|
+
return K({ fieldName: s, fieldList: r }) && (a?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|
|
115
115
|
re as a,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
w as b,
|
|
117
|
+
Y as c,
|
|
118
|
+
se as d,
|
|
119
|
+
ee as e,
|
|
120
120
|
k as f,
|
|
121
121
|
te as g,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
V as s,
|
|
123
|
+
K as x
|
|
124
124
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { u as c, G as S, r as
|
|
3
|
-
import { K as d, E as
|
|
2
|
+
import { u as c, G as S, r as x } from "./chart-object-literals.js";
|
|
3
|
+
import { K as d, E as b, ah as _, M as m, J as I } from "./index.js";
|
|
4
4
|
import { an as C } from "./index2.js";
|
|
5
5
|
import { C as L } from "./chart-model.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
7
|
import { M as T } from "./model-with-x-guides.js";
|
|
8
|
-
import { W as A,
|
|
9
|
-
import { W as F,
|
|
10
|
-
import { W as E,
|
|
11
|
-
import { g as P,
|
|
8
|
+
import { W as A, c as W, d as V } from "./axis-lines-symbol.js";
|
|
9
|
+
import { W as F, c as D, d as B } from "./generate-x-axis-title.js";
|
|
10
|
+
import { W as E, a as M } from "./x-bounds.js";
|
|
11
|
+
import { g as P, f as w } from "./utils.js";
|
|
12
12
|
const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
13
13
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.visible = t;
|
|
14
14
|
}, G = (t) => t.axes[0].needle?.symbol, k = (t, e) => {
|
|
@@ -22,9 +22,9 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
22
22
|
}, K = (t) => t.axes[0].needle?.displayPin ?? !1, Q = (t, e) => {
|
|
23
23
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
24
24
|
}, Y = (t) => t.axes[0].innerLabel?.visible ?? !0, z = (t, e) => {
|
|
25
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
25
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), e.axes[0].innerLabel.visible = t;
|
|
26
26
|
}, H = (t) => t.axes[0].innerLabel?.content, U = (t, e) => {
|
|
27
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
27
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
28
28
|
}, Z = (t) => t.axes[0].progressBands?.visible ?? !0, ee = (t, e) => {
|
|
29
29
|
e.axes[0].progressBands === void 0 && (e.axes[0].progressBands = {
|
|
30
30
|
type: c.FixedProgressBands
|
|
@@ -46,7 +46,7 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
46
46
|
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: a, field: l, aggregationType: g, commonStrings: r });
|
|
47
47
|
}, ce = (t) => t.subType ?? S.StatisticGauge, ue = (t) => {
|
|
48
48
|
const { config: e, field: s, aggregationType: a } = t;
|
|
49
|
-
if (a !==
|
|
49
|
+
if (a !== x.NoAggregation) {
|
|
50
50
|
const r = v(e), l = p(r) ? {} : {
|
|
51
51
|
outStatistics: [
|
|
52
52
|
{
|
|
@@ -73,7 +73,7 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
73
73
|
const r = p(e.series[0]?.featureIndex);
|
|
74
74
|
let l = r ? s : `${a}_${s}`;
|
|
75
75
|
r && s.startsWith(`${a}_`) && (l = s.replace(`${a}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: a }), he(t);
|
|
76
|
-
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
76
|
+
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? x.Count, pe = (t) => {
|
|
77
77
|
const { config: e, layerInfo: s, commonStrings: a, aggregationType: r } = t, l = f(e);
|
|
78
78
|
u({
|
|
79
79
|
config: e,
|
|
@@ -85,9 +85,9 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
85
85
|
}, p = (t) => typeof t == "number" && t >= 0, f = (t) => p(t.series[0]?.featureIndex) ? t.series[0]?.x : t.series[0]?.query?.outStatistics?.[0]?.onStatisticField ?? "", fe = (t) => {
|
|
86
86
|
const { field: e, config: s, layerInfo: a, commonStrings: r } = t, l = h(s);
|
|
87
87
|
u({ config: s, layerInfo: a, commonStrings: r, field: e, aggregationType: l });
|
|
88
|
-
}, ye = (t) => t.innerRadius ?? 50,
|
|
88
|
+
}, ye = (t) => t.innerRadius ?? 50, xe = (t, e) => {
|
|
89
89
|
e.innerRadius = t;
|
|
90
|
-
},
|
|
90
|
+
}, be = (t) => t.startAngle ?? -90, me = (t, e) => {
|
|
91
91
|
e.startAngle = t;
|
|
92
92
|
}, ve = (t) => t.endAngle ?? 270, Se = (t, e) => {
|
|
93
93
|
e.endAngle = t;
|
|
@@ -148,13 +148,13 @@ class i extends L {
|
|
|
148
148
|
return ye(this._config);
|
|
149
149
|
}
|
|
150
150
|
set innerRadius(e) {
|
|
151
|
-
|
|
151
|
+
xe(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
154
|
* Start angle of the gauge.
|
|
155
155
|
*/
|
|
156
156
|
get startAngle() {
|
|
157
|
-
return
|
|
157
|
+
return be(this._config);
|
|
158
158
|
}
|
|
159
159
|
set startAngle(e) {
|
|
160
160
|
me(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { m as t } from "./model-setter.js";
|
|
3
3
|
import { H as o } from "./common.js";
|
|
4
4
|
import { S as u, g as _, a as C } from "./serial-chart-model.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { E as S, F as T, G as F, H as O, I as A, J as L, K as R, L as x, M as D, N as v, O as w, P as b, Q as I, R as B, S as P, T as E, U as N, V as k, W, X as G, Y as H, Z as Y, _ as U, $ as M, a0 as V, a1 as X, a2 as j, a3 as K, a4 as Z, a5 as c, a6 as y, a7 as q, a8 as J, a9 as Q, aa as $, ab as z, ac as ee, y as m, ad as te, ae as ie, af as se, ag as re, ah as oe, ai as ne, aj as ae, ak as ge } from "./serial-chart-data.js";
|
|
6
|
+
import { d } from "./data.js";
|
|
7
7
|
import { u as le, r as f } from "./chart-object-literals.js";
|
|
8
8
|
import { N as pe } from "./index.js";
|
|
9
9
|
import { an as h } from "./index2.js";
|
|
10
10
|
import { q as ce } from "./index3.js";
|
|
11
|
-
var
|
|
12
|
-
for (var n =
|
|
11
|
+
var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
|
|
12
|
+
for (var n = me(e, r), g = l.length - 1, p; g >= 0; g--)
|
|
13
13
|
(p = l[g]) && (n = p(e, r, n) || n);
|
|
14
|
-
return n &&
|
|
14
|
+
return n && ye(e, r, n), n;
|
|
15
15
|
};
|
|
16
16
|
class s extends u {
|
|
17
17
|
constructor() {
|
|
@@ -60,11 +60,11 @@ class s extends u {
|
|
|
60
60
|
* **Note**: This is only applicable for calendar heat charts (when `xAxisField` and `yAxisField` are date fields).
|
|
61
61
|
*/
|
|
62
62
|
get viewType() {
|
|
63
|
-
return
|
|
63
|
+
return O(this._config);
|
|
64
64
|
}
|
|
65
65
|
set viewType(e) {
|
|
66
66
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
67
|
-
|
|
67
|
+
A(e, this._config), this.emitConfigUpdate("heatChartViewType");
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
@@ -129,11 +129,11 @@ class s extends u {
|
|
|
129
129
|
* `manual` - Allows you to manually specify the class breaks.
|
|
130
130
|
*/
|
|
131
131
|
get classificationMethod() {
|
|
132
|
-
return
|
|
132
|
+
return b(this._config);
|
|
133
133
|
}
|
|
134
134
|
set classificationMethod(e) {
|
|
135
135
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
136
|
-
e && (
|
|
136
|
+
e && (I(e, this._config), this.emitConfigUpdate("classificationMethod"));
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
@@ -177,10 +177,10 @@ class s extends u {
|
|
|
177
177
|
* The grid line color used by the heat chart.
|
|
178
178
|
*/
|
|
179
179
|
get gridLineColor() {
|
|
180
|
-
return
|
|
180
|
+
return Y(this._config);
|
|
181
181
|
}
|
|
182
182
|
set gridLineColor(e) {
|
|
183
|
-
|
|
183
|
+
U(e, this._config);
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
186
|
* The name of the series that is used by the heat chart.
|
|
@@ -246,14 +246,14 @@ class s extends u {
|
|
|
246
246
|
}
|
|
247
247
|
set numericFields(e) {
|
|
248
248
|
const { idField: r } = h(this.layerInfo.layer), a = ce(e[0]), n = a ? r : e[0];
|
|
249
|
-
|
|
249
|
+
Z({
|
|
250
250
|
field: n,
|
|
251
251
|
config: this._config,
|
|
252
252
|
layerInfo: this.layerInfo,
|
|
253
253
|
commonStrings: this.commonStrings
|
|
254
254
|
});
|
|
255
255
|
const g = c(this._config);
|
|
256
|
-
a && g !== f.Count &&
|
|
256
|
+
a && g !== f.Count && y({
|
|
257
257
|
aggregationType: f.Count,
|
|
258
258
|
config: this._config,
|
|
259
259
|
layerInfo: this.layerInfo,
|
|
@@ -267,7 +267,7 @@ class s extends u {
|
|
|
267
267
|
return c(this._config);
|
|
268
268
|
}
|
|
269
269
|
set aggregationType(e) {
|
|
270
|
-
|
|
270
|
+
y({
|
|
271
271
|
aggregationType: e,
|
|
272
272
|
config: this._config,
|
|
273
273
|
layerInfo: this.layerInfo,
|
|
@@ -284,7 +284,7 @@ class s extends u {
|
|
|
284
284
|
set splitByField(e) {
|
|
285
285
|
}
|
|
286
286
|
get legendPosition() {
|
|
287
|
-
return
|
|
287
|
+
return q(this._config);
|
|
288
288
|
}
|
|
289
289
|
set legendPosition(e) {
|
|
290
290
|
J(e, this._config);
|
|
@@ -293,10 +293,10 @@ class s extends u {
|
|
|
293
293
|
return Q(this._config);
|
|
294
294
|
}
|
|
295
295
|
set nullPolicy(e) {
|
|
296
|
-
|
|
296
|
+
$(e, this._config);
|
|
297
297
|
}
|
|
298
298
|
get emptyCell() {
|
|
299
|
-
return
|
|
299
|
+
return z(this._config);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* The heat chart's empty cell configuration.
|
|
@@ -316,7 +316,7 @@ class s extends u {
|
|
|
316
316
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
317
317
|
*/
|
|
318
318
|
getXAxisSortOrder() {
|
|
319
|
-
const e =
|
|
319
|
+
const e = m(this._config)[0];
|
|
320
320
|
return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
|
|
321
321
|
}
|
|
322
322
|
setXAxisSortOrder(e, r) {
|
|
@@ -327,7 +327,7 @@ class s extends u {
|
|
|
327
327
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
328
328
|
*/
|
|
329
329
|
getYAxisSortOrder() {
|
|
330
|
-
const e =
|
|
330
|
+
const e = m(this._config)[1];
|
|
331
331
|
return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
|
|
332
332
|
}
|
|
333
333
|
setYAxisSortOrder(e, r) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { substitute as T } from "@arcgis/core/intl.js";
|
|
3
3
|
import { u as O, s as l } from "./utils.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as M } from "./series-length.js";
|
|
5
5
|
import { g as C } from "./utils2.js";
|
|
6
6
|
import { g as A } from "./chart-object-literals.js";
|
|
7
7
|
import { Q as i, Z as n, P as y, a0 as r } from "./index.js";
|
|
8
8
|
import { d as m } from "./index3.js";
|
|
9
|
-
import { i as h } from "./
|
|
9
|
+
import { i as h } from "./index4.js";
|
|
10
10
|
const v = (s) => {
|
|
11
11
|
l({ config: s, value: null, axisIndex: 0, isMax: !1 }), l({ config: s, value: null, axisIndex: 0, isMax: !0 }), l({ config: s, value: null, axisIndex: 1, isMax: !1 }), l({ config: s, value: null, axisIndex: 1, isMax: !0 });
|
|
12
12
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as
|
|
2
|
+
import { f as m } from "./utils.js";
|
|
3
|
+
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as v, i as b, j as u, k as _, l as D, m as O, n as M, o as w, p as C, q as W, r as T, t as x, u as A, v as N, w as L, x as E, y as F, z as X, A as B } from "./histogram-data.js";
|
|
4
4
|
import { C as P } from "./chart-model.js";
|
|
5
5
|
import { M as j, a as H, W as I, b as V } from "./data-labels-visibility.js";
|
|
6
6
|
import { W as G } from "./data-labels-symbol.js";
|
|
7
|
-
import { W as q,
|
|
8
|
-
import { W as Y,
|
|
9
|
-
import { W as K,
|
|
7
|
+
import { W as q, a as z } from "./x-bounds.js";
|
|
8
|
+
import { W as Y, c as k, d as J } from "./axis-lines-symbol.js";
|
|
9
|
+
import { W as K, c as Q, d as R } from "./generate-x-axis-title.js";
|
|
10
10
|
import { m as s } from "./model-setter.js";
|
|
11
11
|
import { u as U } from "./chart-object-literals.js";
|
|
12
12
|
import { O as Z } from "./index.js";
|
|
13
13
|
import { M as $, a as tt } from "./model-with-y-guides.js";
|
|
14
|
-
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (
|
|
15
|
-
for (var
|
|
16
|
-
(l =
|
|
17
|
-
return
|
|
14
|
+
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (a, t, r, it) => {
|
|
15
|
+
for (var i = st(t, r), n = a.length - 1, l; n >= 0; n--)
|
|
16
|
+
(l = a[n]) && (i = l(t, r, i) || i);
|
|
17
|
+
return i && et(t, r, i), i;
|
|
18
18
|
};
|
|
19
19
|
class e extends P {
|
|
20
20
|
constructor() {
|
|
@@ -82,10 +82,10 @@ class e extends P {
|
|
|
82
82
|
* Line symbol used for the mean overlay in the histogram.
|
|
83
83
|
*/
|
|
84
84
|
get meanSymbol() {
|
|
85
|
-
return
|
|
85
|
+
return v(this._config);
|
|
86
86
|
}
|
|
87
87
|
set meanSymbol(t) {
|
|
88
|
-
|
|
88
|
+
b(t, this._config);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* Line symbol used for the median overlay in the histogram.
|