@arcgis/charts-components 5.0.0-next.160 → 5.0.0-next.162
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/{RZ6R7MN4.js → 277KZ5EH.js} +1 -1
- package/dist/cdn/{ZNEO3KDO.js → 35FGLAKV.js} +1 -1
- package/dist/cdn/{F4YTYW5V.js → 37TWMIC2.js} +1 -1
- package/dist/cdn/{ZRXBS332.js → 3TCYZ5OB.js} +19 -19
- package/dist/cdn/3UBEHDWK.js +2 -0
- package/dist/cdn/{OPLYTZOK.js → 4L3ESTCL.js} +1 -1
- package/dist/cdn/{FTVGPPNT.js → 53QDB3IL.js} +1 -1
- package/dist/cdn/{PN64D75Z.js → 62OZB7FK.js} +1 -1
- package/dist/cdn/{SWT4YIO7.js → 64DXX3FX.js} +1 -1
- package/dist/cdn/{VDGG6FNJ.js → 6AP262U4.js} +1 -1
- package/dist/cdn/{67GFPMNP.js → 7HCS3J2W.js} +1 -1
- package/dist/cdn/{6CXURON6.js → 7HDTPUIY.js} +1 -1
- package/dist/cdn/{HHE4YHFC.js → 7KAPOFBN.js} +1 -1
- package/dist/cdn/{RDBJ4EAL.js → 7LRO7RMI.js} +1 -1
- package/dist/cdn/{LTTLQY6M.js → 7WZV7AE3.js} +1 -1
- package/dist/cdn/{GOTYA4RS.js → 7XUX4ZTI.js} +1 -1
- package/dist/cdn/{BQRMDGR3.js → B5LXWQRU.js} +1 -1
- package/dist/cdn/{PBRZV4IF.js → BYAYB5LF.js} +1 -1
- package/dist/cdn/{665XYLCG.js → C72B5RSG.js} +1 -1
- package/dist/cdn/{MJRULOQL.js → CAXYDF5R.js} +1 -1
- package/dist/cdn/{IYF5UHWL.js → CBTHS6I5.js} +1 -1
- package/dist/cdn/{FO26BDGS.js → CIW6WMFK.js} +3 -3
- package/dist/cdn/{XGWFSBK7.js → CTDG3FOZ.js} +1 -1
- package/dist/cdn/{IWZKNPYZ.js → D2HQHUZF.js} +1 -1
- package/dist/cdn/{UR26ITDF.js → DACWGPLL.js} +1 -1
- package/dist/cdn/{LG32FAGS.js → DB3UL5LX.js} +1 -1
- package/dist/cdn/{VAXL6P2J.js → DHBBU7AG.js} +1 -1
- package/dist/cdn/{L7PMTZK6.js → DKC6E3QZ.js} +1 -1
- package/dist/cdn/{BNTX3CFT.js → DLT5ZL25.js} +1 -1
- package/dist/cdn/{QTV7HK2M.js → EYXP4YQW.js} +1 -1
- package/dist/cdn/{6YNI4VGB.js → FGMU7G6T.js} +1 -1
- package/dist/cdn/{PDPZOXDT.js → G7UITT5F.js} +1 -1
- package/dist/cdn/{XQG5VGS4.js → GB223HFN.js} +1 -1
- package/dist/cdn/{RGUQ44HW.js → GKUTVRCP.js} +1 -1
- package/dist/cdn/{SLX36JI6.js → GRUDYKUK.js} +1 -1
- package/dist/cdn/{MEXLQN6D.js → HAAT4GZV.js} +1 -1
- package/dist/cdn/{RKQXTPOC.js → IBDFXE7F.js} +1 -1
- package/dist/cdn/{UVFZBFUX.js → IBMHE4HG.js} +1 -1
- package/dist/cdn/{UR4FYTBG.js → IDMPL6T7.js} +1 -1
- package/dist/cdn/{HAS5TLQ3.js → IL22JCIC.js} +1 -1
- package/dist/cdn/{XJUEF5CF.js → ISB65KPT.js} +1 -1
- package/dist/cdn/{JGXIWN67.js → IYGUWGB6.js} +1 -1
- package/dist/cdn/{KGZ4OZTE.js → JASXULGK.js} +1 -1
- package/dist/cdn/{D26O56MQ.js → JBHDZEVD.js} +1 -1
- package/dist/cdn/{PWNEQTL7.js → KDGGKNBV.js} +1 -1
- package/dist/cdn/{M6Z5DNZU.js → KF4ILYWV.js} +1 -1
- package/dist/cdn/KHPBPGZW.js +2 -0
- package/dist/cdn/{X4EAJDXE.js → KLOSKKEF.js} +1 -1
- package/dist/cdn/{R7BXDBMM.js → KOC7VWEQ.js} +1 -1
- package/dist/cdn/{3WRKA6FV.js → KPBKHH3V.js} +1 -1
- package/dist/cdn/LRATJMH3.js +2 -0
- package/dist/cdn/{MG7QVBU6.js → MMVZJQGM.js} +1 -1
- package/dist/cdn/{JCKTUCRW.js → MSNUKDFY.js} +1 -1
- package/dist/cdn/{YV3ZTJIM.js → NLNJYC2E.js} +1 -1
- package/dist/cdn/{44H6FBHJ.js → NNTJCO7Q.js} +1 -1
- package/dist/cdn/{PKZLBYM2.js → OMR6RCJW.js} +1 -1
- package/dist/cdn/{KY27HRBB.js → OR2MF4BU.js} +1 -1
- package/dist/cdn/{CH42B5JL.js → OWTDESPZ.js} +1 -1
- package/dist/cdn/{PAYHZG5C.js → P3XTRZL3.js} +1 -1
- package/dist/cdn/{4PBJ7FUT.js → PQRPDV2N.js} +1 -1
- package/dist/cdn/{PPNZMZXU.js → PUO6TAT3.js} +1 -1
- package/dist/cdn/{4UKLAJSH.js → PZ5VL76M.js} +1 -1
- package/dist/cdn/{GBKRQ677.js → R7TVVBB7.js} +1 -1
- package/dist/cdn/{O73BKEVY.js → RKJFJ3VI.js} +1 -1
- package/dist/cdn/{2KLSYRIH.js → S3MAP4NY.js} +1 -1
- package/dist/cdn/{NCTDUS4J.js → SAKNSC4M.js} +1 -1
- package/dist/cdn/{7743VKV6.js → SW62HLGO.js} +1 -1
- package/dist/cdn/{VVKJ7NJ6.js → SW6ENGEK.js} +1 -1
- package/dist/cdn/{2BMO22B2.js → SZ2BB7ZG.js} +1 -1
- package/dist/cdn/{GJAATA35.js → TBYLHPGX.js} +1 -1
- package/dist/cdn/{A6KHSTDR.js → TCKDCNZ6.js} +1 -1
- package/dist/cdn/{L4YLTTHZ.js → TQRAYSWN.js} +1 -1
- package/dist/cdn/{XSF4MZ74.js → TUTT6I7D.js} +1 -1
- package/dist/cdn/{WQIYKKB6.js → UHB77RAE.js} +1 -1
- package/dist/cdn/{FQHGUWNW.js → UUZWRA5G.js} +1 -1
- package/dist/cdn/{IFGO4IOP.js → V65HT7NA.js} +1 -1
- package/dist/cdn/{PXVGQP6X.js → VMSL4CWI.js} +1 -1
- package/dist/cdn/{TO45SJXS.js → WCBXBXTZ.js} +1 -1
- package/dist/cdn/WNZXN6Y2.js +2 -0
- package/dist/cdn/{C7TDDQQD.js → WORQWDJQ.js} +1 -1
- package/dist/cdn/{B2VQPKK2.js → WTZ23CRY.js} +1 -1
- package/dist/cdn/{2KSPR6GE.js → XIFLK5EG.js} +1 -1
- package/dist/cdn/XNTLXVQF.js +2 -0
- package/dist/cdn/{UGPLQMQT.js → XQAUA2KI.js} +1 -1
- package/dist/cdn/{GGMJJ64F.js → Y7OQUVXC.js} +1 -1
- package/dist/cdn/{LX4URLJD.js → YHIJMVJQ.js} +1 -1
- package/dist/cdn/{WF4C6C2Y.js → YHVWLHT7.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +5 -5
- package/dist/chunks/axis-lines-symbol.js +14 -14
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-data.js +20 -20
- package/dist/chunks/box-plot-model.js +19 -19
- package/dist/chunks/chart-model.js +43 -43
- package/dist/chunks/chart-ui-utils2.js +3 -3
- package/dist/chunks/combo-bar-line-chart-model.js +7 -7
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data.js +19 -19
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +12 -12
- package/dist/chunks/histogram-data.js +7 -7
- package/dist/chunks/histogram-model.js +4 -4
- package/dist/chunks/index.js +320 -318
- package/dist/chunks/index2.js +51 -51
- package/dist/chunks/index3.js +12 -12
- package/dist/chunks/line-chart-model.js +6 -6
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-with-guides.js +12 -12
- package/dist/chunks/model-with-tooltips.js +16 -16
- package/dist/chunks/model-with-y-guides.js +11 -11
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +25 -25
- package/dist/chunks/pie-chart-model.js +33 -33
- package/dist/chunks/radar-chart-model.js +4 -4
- package/dist/chunks/rotated-state.js +3 -3
- package/dist/chunks/scatterplot-model.js +18 -18
- package/dist/chunks/serial-chart-data.js +306 -300
- package/dist/chunks/serial-chart-model.js +13 -13
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +7 -7
- package/dist/chunks/utils.js +36 -36
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +51 -51
- package/dist/components/arcgis-chart/customElement.js +1529 -1517
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +8 -8
- 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 +5 -5
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
- 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 +5 -5
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-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/web-types.json +1 -1
- package/dist/index.js +224 -223
- package/dist/utils/chart-config/utils/index.d.ts +8 -0
- package/package.json +3 -3
- package/dist/cdn/FIR7XZ4I.js +0 -2
- package/dist/cdn/GMI2B2TP.js +0 -2
- package/dist/cdn/IIQTQZRE.js +0 -2
- package/dist/cdn/V4BNMRTI.js +0 -2
- package/dist/cdn/YNDD5HWR.js +0 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { a as w } from "./utils.js";
|
|
3
|
-
import { g as j, W, c as F, d as
|
|
3
|
+
import { g as j, W, c as F, d as L } from "./series-length.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "luxon";
|
|
7
7
|
import "d3-array";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
9
|
import "./series-types.js";
|
|
10
|
-
import {
|
|
10
|
+
import { aJ as p, bC as c, aH as f, d6 as I, o as N } from "./index.js";
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -27,12 +27,12 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
27
27
|
import "./runtime.js";
|
|
28
28
|
import "@arcgis/toolkit/dom";
|
|
29
29
|
import { m as a, C as n } from "./model-setter.js";
|
|
30
|
-
var R = Object.defineProperty,
|
|
31
|
-
for (var i =
|
|
30
|
+
var R = Object.defineProperty, M = Object.getOwnPropertyDescriptor, U = (e, t, r, l) => {
|
|
31
|
+
for (var i = M(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
32
32
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
33
33
|
return i && R(t, r, i), i;
|
|
34
34
|
};
|
|
35
|
-
const
|
|
35
|
+
const B = (e) => e.title?.content, E = (e, t) => {
|
|
36
36
|
if (e) {
|
|
37
37
|
const r = j(t);
|
|
38
38
|
t.title === void 0 && (t.title = p({
|
|
@@ -48,17 +48,17 @@ class u extends n {
|
|
|
48
48
|
* The title text symbol. Contains styling information such as font, color, and symbol style.
|
|
49
49
|
*/
|
|
50
50
|
get titleSymbol() {
|
|
51
|
-
return
|
|
51
|
+
return B(this._config);
|
|
52
52
|
}
|
|
53
53
|
set titleSymbol(t) {
|
|
54
54
|
E(t, this._config);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
U([
|
|
58
58
|
a
|
|
59
59
|
], u.prototype, "titleSymbol");
|
|
60
|
-
var q = Object.defineProperty,
|
|
61
|
-
for (var i =
|
|
60
|
+
var q = Object.defineProperty, H = Object.getOwnPropertyDescriptor, J = (e, t, r, l) => {
|
|
61
|
+
for (var i = H(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
62
62
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
63
63
|
return i && q(t, r, i), i;
|
|
64
64
|
};
|
|
@@ -73,10 +73,10 @@ class h extends n {
|
|
|
73
73
|
this._config = t;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
J([
|
|
77
77
|
a
|
|
78
78
|
], h.prototype, "config");
|
|
79
|
-
class
|
|
79
|
+
class z extends n {
|
|
80
80
|
/**
|
|
81
81
|
* The chart model's layer.
|
|
82
82
|
*/
|
|
@@ -84,7 +84,7 @@ class A extends n {
|
|
|
84
84
|
return this.layerInfo?.layer;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
const
|
|
87
|
+
const A = (e) => e.id, G = (e, t) => {
|
|
88
88
|
t.id = e;
|
|
89
89
|
};
|
|
90
90
|
class K extends n {
|
|
@@ -92,10 +92,10 @@ class K extends n {
|
|
|
92
92
|
* The chart ID.
|
|
93
93
|
*/
|
|
94
94
|
get chartId() {
|
|
95
|
-
return
|
|
95
|
+
return A(this._config);
|
|
96
96
|
}
|
|
97
97
|
set chartId(t) {
|
|
98
|
-
|
|
98
|
+
G(t, this._config);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
const Q = (e) => e.version;
|
|
@@ -280,10 +280,10 @@ class x extends n {
|
|
|
280
280
|
Ot([
|
|
281
281
|
a
|
|
282
282
|
], x.prototype, "chartSubtitleVisibility");
|
|
283
|
-
var
|
|
284
|
-
for (var i =
|
|
283
|
+
var Ct = Object.defineProperty, St = Object.getOwnPropertyDescriptor, Tt = (e, t, r, l) => {
|
|
284
|
+
for (var i = St(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
285
285
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
286
|
-
return i &&
|
|
286
|
+
return i && Ct(t, r, i), i;
|
|
287
287
|
};
|
|
288
288
|
const O = (e) => e.footer?.visible ?? !1, Vt = (e, t) => {
|
|
289
289
|
t.footer !== void 0 ? t.footer.visible = e : e !== O(t) && (t.footer = p({
|
|
@@ -334,15 +334,15 @@ class D extends n {
|
|
|
334
334
|
jt([
|
|
335
335
|
a
|
|
336
336
|
], D.prototype, "chartRenderer");
|
|
337
|
-
var
|
|
338
|
-
for (var i =
|
|
337
|
+
var Lt = Object.defineProperty, It = Object.getOwnPropertyDescriptor, Nt = (e, t, r, l) => {
|
|
338
|
+
for (var i = It(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
339
339
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
340
|
-
return i &&
|
|
340
|
+
return i && Lt(t, r, i), i;
|
|
341
341
|
};
|
|
342
|
-
const Rt = (e) => e.background,
|
|
342
|
+
const Rt = (e) => e.background, Mt = (e, t) => {
|
|
343
343
|
t.background = e;
|
|
344
344
|
};
|
|
345
|
-
class
|
|
345
|
+
class C extends n {
|
|
346
346
|
/**
|
|
347
347
|
* The background color of the chart.
|
|
348
348
|
*/
|
|
@@ -350,21 +350,21 @@ class S extends n {
|
|
|
350
350
|
return Rt(this._config);
|
|
351
351
|
}
|
|
352
352
|
set backgroundColor(t) {
|
|
353
|
-
|
|
353
|
+
Mt(t, this._config);
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
Nt([
|
|
357
357
|
a
|
|
358
|
-
],
|
|
359
|
-
var
|
|
360
|
-
for (var i =
|
|
358
|
+
], C.prototype, "backgroundColor");
|
|
359
|
+
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Et = (e, t, r, l) => {
|
|
360
|
+
for (var i = Bt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
361
361
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
362
|
-
return i &&
|
|
362
|
+
return i && Ut(t, r, i), i;
|
|
363
363
|
};
|
|
364
|
-
const qt = (e, t) => t.series[e].visible ?? !0,
|
|
365
|
-
|
|
364
|
+
const qt = (e, t) => t.series[e].visible ?? !0, Ht = (e, t) => {
|
|
365
|
+
I({ detail: e }, t);
|
|
366
366
|
};
|
|
367
|
-
class
|
|
367
|
+
class S extends n {
|
|
368
368
|
/**
|
|
369
369
|
* Gets the visibility of a series.
|
|
370
370
|
*
|
|
@@ -374,14 +374,14 @@ class C extends n {
|
|
|
374
374
|
return qt(t, this._config);
|
|
375
375
|
}
|
|
376
376
|
setSeriesVisibility(t) {
|
|
377
|
-
|
|
377
|
+
Ht(t, this._config);
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
Et([
|
|
381
381
|
a
|
|
382
|
-
],
|
|
383
|
-
const
|
|
384
|
-
class
|
|
382
|
+
], S.prototype, "setSeriesVisibility");
|
|
383
|
+
const Jt = (e, t) => t.series[e]?.id;
|
|
384
|
+
class zt extends n {
|
|
385
385
|
/**
|
|
386
386
|
* Gets the series ID for a given series index.
|
|
387
387
|
* If the series index is out of bounds, this function will return `undefined`.
|
|
@@ -389,11 +389,11 @@ class At extends n {
|
|
|
389
389
|
* @param seriesIndex - The index of the series.
|
|
390
390
|
*/
|
|
391
391
|
getSeriesId(t) {
|
|
392
|
-
return
|
|
392
|
+
return Jt(t, this._config);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
const
|
|
396
|
-
class
|
|
395
|
+
const At = (e, t) => t.series.findIndex((r) => r.id === e);
|
|
396
|
+
class Gt extends n {
|
|
397
397
|
/**
|
|
398
398
|
* Gets the series index for a given series ID.
|
|
399
399
|
* If the series ID is not found, this function will return `undefined`.
|
|
@@ -401,7 +401,7 @@ class Jt extends n {
|
|
|
401
401
|
* @param seriesId - The ID of the series.
|
|
402
402
|
*/
|
|
403
403
|
getSeriesIndex(t) {
|
|
404
|
-
return
|
|
404
|
+
return At(t, this._config);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
const Kt = (e) => N(e.series);
|
|
@@ -497,7 +497,7 @@ class fe extends n {
|
|
|
497
497
|
}
|
|
498
498
|
const ue = [
|
|
499
499
|
h,
|
|
500
|
-
|
|
500
|
+
z,
|
|
501
501
|
K,
|
|
502
502
|
W,
|
|
503
503
|
u,
|
|
@@ -510,15 +510,15 @@ const ue = [
|
|
|
510
510
|
x,
|
|
511
511
|
P,
|
|
512
512
|
D,
|
|
513
|
-
S,
|
|
514
513
|
C,
|
|
515
|
-
|
|
516
|
-
|
|
514
|
+
S,
|
|
515
|
+
zt,
|
|
516
|
+
Gt,
|
|
517
517
|
F,
|
|
518
518
|
Qt,
|
|
519
519
|
T,
|
|
520
520
|
V,
|
|
521
|
-
|
|
521
|
+
L,
|
|
522
522
|
$
|
|
523
523
|
];
|
|
524
524
|
w(fe, ue);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "@arcgis/toolkit/type";
|
|
3
3
|
import { a as s, j as o } from "./series-types.js";
|
|
4
4
|
import { a as u } from "./rest-js-object-literals.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cO as p, d8 as f, b } from "./index.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "luxon";
|
|
@@ -23,7 +23,7 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
23
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
24
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
25
|
import "./runtime.js";
|
|
26
|
-
import { i as
|
|
26
|
+
import { i as g } from "./utils.js";
|
|
27
27
|
import { F as m, W as d } from "./interfaces.js";
|
|
28
28
|
import { F as r } from "./common.js";
|
|
29
29
|
const z = {
|
|
@@ -165,7 +165,7 @@ function oe(e) {
|
|
|
165
165
|
return e != null && (e.style.removeProperty("opacity"), e.remove()), null;
|
|
166
166
|
}
|
|
167
167
|
function me(e) {
|
|
168
|
-
const t = !
|
|
168
|
+
const t = !g(e?.config), i = e.xTemporalBinning?.unit, a = e.yTemporalBinning?.unit;
|
|
169
169
|
let n;
|
|
170
170
|
return t && i !== void 0 && a !== void 0 && (i === o.HourOfDay && a === o.DayOfWeek ? n = d.WeekByDayOfWeekAndHourOfDay : i === o.DayOfMonth && a === o.MonthOfYear && (n = d.YearByMonthAndDayOfMonth)), n;
|
|
171
171
|
}
|
|
@@ -5,26 +5,26 @@ 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,
|
|
|
5
5
|
import { S as T, s as N } from "./serial-chart-model.js";
|
|
6
6
|
import { a as q } from "./utils.js";
|
|
7
7
|
import { W as S } from "./series-types.js";
|
|
8
|
-
import { o as
|
|
9
|
-
import {
|
|
10
|
-
var
|
|
11
|
-
for (var t =
|
|
8
|
+
import { o as E, j as l, l as g } from "./index4.js";
|
|
9
|
+
import { be as G, b7 as y, bL as f, b4 as m } from "./index.js";
|
|
10
|
+
var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
|
|
11
|
+
for (var t = K(e, i), r = c.length - 1, h; r >= 0; r--)
|
|
12
12
|
(h = c[r]) && (t = h(e, i, t) || t);
|
|
13
|
-
return t &&
|
|
13
|
+
return t && J(e, i, t), t;
|
|
14
14
|
};
|
|
15
15
|
class o extends T {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments), this._chartType = S.ComboLineAndBarSeries;
|
|
18
18
|
}
|
|
19
19
|
async setup(e) {
|
|
20
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (
|
|
20
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (E(e.config?.series) && this.initDefaultSeries(), await this.updateSeriesFromLayerFilter()), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
21
21
|
}
|
|
22
22
|
// ---------------------------------------------------------------------------------------------
|
|
23
23
|
// Protected Methods
|
|
24
24
|
// ---------------------------------------------------------------------------------------------
|
|
25
25
|
/** @private */
|
|
26
26
|
generateDefaultConfig() {
|
|
27
|
-
const e =
|
|
27
|
+
const e = G(this.commonStrings);
|
|
28
28
|
return e.series = [
|
|
29
29
|
y({
|
|
30
30
|
commonStrings: this.commonStrings,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { cloneDeep as l } from "lodash-es";
|
|
3
3
|
import { C as n, m as b } from "./model-setter.js";
|
|
4
|
-
import {
|
|
4
|
+
import { aJ as f, bC as i, aH as d } from "./index.js";
|
|
5
5
|
var c = Object.defineProperty, m = Object.getOwnPropertyDescriptor, p = (e, t, a, y) => {
|
|
6
6
|
for (var s = m(t, a), o = e.length - 1, r; o >= 0; o--)
|
|
7
7
|
(r = e[o]) && (s = r(t, a, s) || s);
|
package/dist/chunks/data.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { capitalize as y } from "lodash-es";
|
|
3
3
|
import "@arcgis/toolkit/type";
|
|
4
4
|
import { g as l, t as n, w as F, W as d, a as f } from "./series-types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { bW as x, b as $, d as L, ax as N, dj as I, o as H, bL as W, cG as _, dh as P, c as v, a as M } from "./index.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "luxon";
|
|
8
8
|
import "d3-array";
|
|
@@ -16,8 +16,8 @@ import "@arcgis/core/request.js";
|
|
|
16
16
|
import "./runtime.js";
|
|
17
17
|
import "@arcgis/toolkit/dom";
|
|
18
18
|
import "@arcgis/core/intl.js";
|
|
19
|
-
import { H as u, S as o, a as
|
|
20
|
-
function
|
|
19
|
+
import { H as u, S as o, a as U } from "./common.js";
|
|
20
|
+
function j(e, t) {
|
|
21
21
|
let r;
|
|
22
22
|
return t === n.Category && Array.isArray(e) ? r = o.customSort : t === n.Category ? r = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? r = o.yAxisAsc : r = o.yAxisDesc, r;
|
|
23
23
|
}
|
|
@@ -25,20 +25,20 @@ function ne(e, t) {
|
|
|
25
25
|
let r;
|
|
26
26
|
return t === n.Category && Array.isArray(e) ? r = u.customSort : r = e === l.Ascending ? u.Asc : u.Desc, r;
|
|
27
27
|
}
|
|
28
|
-
const
|
|
28
|
+
const E = (e) => {
|
|
29
29
|
const t = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
30
|
-
return
|
|
30
|
+
return j(
|
|
31
31
|
t,
|
|
32
32
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
33
33
|
);
|
|
34
|
-
},
|
|
34
|
+
}, K = (e) => {
|
|
35
35
|
const t = F(e.series);
|
|
36
36
|
let r = !1;
|
|
37
|
-
return (t === d.BarSeries || t === d.LineSeries) && (r =
|
|
37
|
+
return (t === d.BarSeries || t === d.LineSeries) && (r = E(e) === o.customSort), r;
|
|
38
38
|
}, le = (e) => {
|
|
39
39
|
let t = [];
|
|
40
40
|
const r = e.orderOptions?.data?.orderType;
|
|
41
|
-
return
|
|
41
|
+
return K(e) && r === n.Category && (t = e.orderOptions?.data?.orderBy), t;
|
|
42
42
|
}, ce = (e, t, r, s) => {
|
|
43
43
|
const i = F(t.series), m = I(t);
|
|
44
44
|
t.orderOptions ??= {};
|
|
@@ -75,11 +75,11 @@ const V = (e) => {
|
|
|
75
75
|
seriesIndex: h,
|
|
76
76
|
splitByField: S = "",
|
|
77
77
|
fieldList: O
|
|
78
|
-
} = e, T = F(t.series), b = H(t.series), { idField: D, isTraditionalTypeOID: B } = _(
|
|
78
|
+
} = e, T = F(t.series), b = H(t.series), { idField: D, isTraditionalTypeOID: B } = W(_(a)), C = B && s.length === 1 && s[0] === D;
|
|
79
79
|
let p = "y", A = "y";
|
|
80
80
|
switch (T) {
|
|
81
81
|
case d.PieSeries: {
|
|
82
|
-
i !== f.NoAggregation ? m ===
|
|
82
|
+
i !== f.NoAggregation ? m === U.Category ? (p = `${i}_${s[0]}_0`.toUpperCase(), A = C ? y(f.Count) : y(`${i} of ${s[0]}`)) : p = M : p = s[0];
|
|
83
83
|
break;
|
|
84
84
|
}
|
|
85
85
|
case d.BarSeries:
|
|
@@ -88,11 +88,11 @@ const V = (e) => {
|
|
|
88
88
|
case d.RadarSeries:
|
|
89
89
|
case d.HeatSeries: {
|
|
90
90
|
if (S === "" || s.length > 1)
|
|
91
|
-
|
|
91
|
+
Y({
|
|
92
92
|
fieldName: r,
|
|
93
93
|
numericFields: s,
|
|
94
94
|
fieldList: O ?? []
|
|
95
|
-
}) || b ===
|
|
95
|
+
}) || b === P.BarAndLineFromFields ? p = v : (p = `${i}_${s[c ?? 0]}_${c ?? 0}`.toUpperCase(), A = C ? y(f.Count) : y(`${i} of ${s[c ?? 0]}`));
|
|
96
96
|
else {
|
|
97
97
|
const g = s[0];
|
|
98
98
|
p = `${i}_${g}_${h ?? 0}`.toUpperCase(), A = C ? y(f.Count) : y(`${i} of ${g}`);
|
|
@@ -105,22 +105,22 @@ const V = (e) => {
|
|
|
105
105
|
description: A
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
|
-
function
|
|
108
|
+
function V(e) {
|
|
109
109
|
const { fieldName: t, fieldList: r } = e, s = x(r ?? [], t);
|
|
110
110
|
return t === $ || t === L || t === N || t === void 0 || t.trim() === "" || s === void 0;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Y(e) {
|
|
113
113
|
const { fieldName: t, fieldList: r, numericFields: s } = e, i = s.filter((m) => x(r ?? [], m)?.type !== "esriFieldTypeOID");
|
|
114
|
-
return
|
|
114
|
+
return V({ fieldName: t, fieldList: r }) && (i?.length ?? 0) > 0;
|
|
115
115
|
}
|
|
116
116
|
export {
|
|
117
|
-
|
|
117
|
+
E as a,
|
|
118
118
|
pe as b,
|
|
119
|
-
|
|
119
|
+
Y as c,
|
|
120
120
|
le as d,
|
|
121
121
|
ne as e,
|
|
122
|
-
|
|
122
|
+
j as f,
|
|
123
123
|
me as g,
|
|
124
124
|
ce as s,
|
|
125
|
-
|
|
125
|
+
V as x
|
|
126
126
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { C as v } from "./chart-model.js";
|
|
3
3
|
import { m as o } from "./model-setter.js";
|
|
4
|
-
import { W as
|
|
5
|
-
import { W as
|
|
4
|
+
import { W as _, a as I, b as C } from "./axis-lines-symbol.js";
|
|
5
|
+
import { W as L, b as T } from "./model-with-guides.js";
|
|
6
6
|
import { W as A, a as W, b as F } from "./generate-x-axis-title.js";
|
|
7
7
|
import { g as V, a as D } from "./utils.js";
|
|
8
8
|
import "@arcgis/toolkit/intl";
|
|
@@ -11,7 +11,7 @@ import "luxon";
|
|
|
11
11
|
import "d3-array";
|
|
12
12
|
import "@arcgis/toolkit/type";
|
|
13
13
|
import { W as y, G as E, a as m } from "./series-types.js";
|
|
14
|
-
import {
|
|
14
|
+
import { b2 as d, aJ as b, aU as w, bc as x, bj as M, bL as N } from "./index.js";
|
|
15
15
|
import "@arcgis/core/Graphic.js";
|
|
16
16
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
17
17
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -39,13 +39,13 @@ const G = (t) => t.axes[0].needle?.visible ?? !0, P = (t, e) => {
|
|
|
39
39
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.startWidth = t;
|
|
40
40
|
}, j = (t) => t.axes[0].needle?.endWidth, q = (t, e) => {
|
|
41
41
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.endWidth = t;
|
|
42
|
-
}, B = (t) => t.axes[0].needle?.innerRadius,
|
|
42
|
+
}, B = (t) => t.axes[0].needle?.innerRadius, J = (t, e) => {
|
|
43
43
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.innerRadius = t;
|
|
44
|
-
}, Q = (t) => t.axes[0].needle?.displayPin ?? !1,
|
|
44
|
+
}, Q = (t) => t.axes[0].needle?.displayPin ?? !1, U = (t, e) => {
|
|
45
45
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
46
|
-
},
|
|
46
|
+
}, Y = (t) => t.axes[0].innerLabel?.visible ?? !0, z = (t, e) => {
|
|
47
47
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), e.axes[0].innerLabel.visible = t;
|
|
48
|
-
},
|
|
48
|
+
}, H = (t) => t.axes[0].innerLabel?.content, K = (t, e) => {
|
|
49
49
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
50
50
|
}, Z = (t) => t.axes[0].ticks?.visible ?? !0, ee = (t, e) => {
|
|
51
51
|
e.axes[0].ticks === void 0 && (e.axes[0].ticks = {
|
|
@@ -274,7 +274,7 @@ class s extends v {
|
|
|
274
274
|
return B(this._config);
|
|
275
275
|
}
|
|
276
276
|
set needleInnerRadius(e) {
|
|
277
|
-
|
|
277
|
+
J(e, this._config);
|
|
278
278
|
}
|
|
279
279
|
/**
|
|
280
280
|
* Whether to display the pin for the gauge's needle.
|
|
@@ -283,25 +283,25 @@ class s extends v {
|
|
|
283
283
|
return Q(this._config);
|
|
284
284
|
}
|
|
285
285
|
set needleDisplayPin(e) {
|
|
286
|
-
|
|
286
|
+
U(e, this._config);
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
289
|
* Whether the inner label is visible.
|
|
290
290
|
*/
|
|
291
291
|
get innerLabelVisible() {
|
|
292
|
-
return
|
|
292
|
+
return Y(this._config);
|
|
293
293
|
}
|
|
294
294
|
set innerLabelVisible(e) {
|
|
295
|
-
|
|
295
|
+
z(e, this._config);
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
298
|
* Content symbol for the inner label.
|
|
299
299
|
*/
|
|
300
300
|
get innerLabelContent() {
|
|
301
|
-
return
|
|
301
|
+
return H(this._config);
|
|
302
302
|
}
|
|
303
303
|
set innerLabelContent(e) {
|
|
304
|
-
|
|
304
|
+
K(e, this._config);
|
|
305
305
|
}
|
|
306
306
|
/**
|
|
307
307
|
* Whether axis ticks are visible.
|
|
@@ -398,11 +398,11 @@ r([
|
|
|
398
398
|
], s.prototype, "onlyShowFirstAndLastLabels");
|
|
399
399
|
const ve = [
|
|
400
400
|
A,
|
|
401
|
-
T,
|
|
402
|
-
W,
|
|
403
401
|
L,
|
|
404
|
-
|
|
402
|
+
W,
|
|
403
|
+
T,
|
|
405
404
|
_,
|
|
405
|
+
I,
|
|
406
406
|
C,
|
|
407
407
|
F,
|
|
408
408
|
R
|
|
@@ -7,7 +7,7 @@ import "luxon";
|
|
|
7
7
|
import "d3-array";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
9
|
import "./series-types.js";
|
|
10
|
-
import {
|
|
10
|
+
import { cZ as n, ax as c } from "./index.js";
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { m as e } 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 { a as S, b as T, s as A, c as O, d as F, e as x, f as D, h as
|
|
5
|
+
import { a as S, b as T, s as A, c as O, d as F, e as x, f as D, h as L, i as v, j as w, k as b, l as B, m as P, n as E, o as R, p as k, q as W, r as I, t as H, u as N, v as Y, w as G, x as M, y as U, z as V, A as m, B as c, C as X, D as j, E as K, F as q, G as z, H as J, I as d, J as Q, K as Z, L as $, M as tt, N as et, O as it, P as st, Q as rt } from "./serial-chart-data.js";
|
|
6
6
|
import { s as y } from "./data.js";
|
|
7
7
|
import { W as ot, a as h } from "./series-types.js";
|
|
8
|
-
import {
|
|
8
|
+
import { bL as f, d1 as nt, bl as at } from "./index.js";
|
|
9
9
|
import "@arcgis/toolkit/intl";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "luxon";
|
|
@@ -96,10 +96,10 @@ class s extends u {
|
|
|
96
96
|
* The y temporal binning used by the heat chart
|
|
97
97
|
*/
|
|
98
98
|
get yTemporalBinning() {
|
|
99
|
-
return
|
|
99
|
+
return L(this._config);
|
|
100
100
|
}
|
|
101
101
|
set yTemporalBinning(t) {
|
|
102
|
-
|
|
102
|
+
v({
|
|
103
103
|
commonStrings: this.commonStrings,
|
|
104
104
|
binning: t,
|
|
105
105
|
config: this._config
|
|
@@ -110,7 +110,7 @@ class s extends u {
|
|
|
110
110
|
* @default 5
|
|
111
111
|
* */
|
|
112
112
|
get breaksCount() {
|
|
113
|
-
return
|
|
113
|
+
return w(this._config);
|
|
114
114
|
}
|
|
115
115
|
set breaksCount(t) {
|
|
116
116
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -132,16 +132,16 @@ class s extends u {
|
|
|
132
132
|
* The hide empty rows and columns setting used by the heat chart
|
|
133
133
|
*/
|
|
134
134
|
get hideEmptyRowsAndColumns() {
|
|
135
|
-
return
|
|
135
|
+
return E(this._config);
|
|
136
136
|
}
|
|
137
137
|
set hideEmptyRowsAndColumns(t) {
|
|
138
|
-
|
|
138
|
+
R(this._config, t);
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* The grid line width used by the heat chart
|
|
142
142
|
*/
|
|
143
143
|
get gridLineWidth() {
|
|
144
|
-
return
|
|
144
|
+
return k(this._config);
|
|
145
145
|
}
|
|
146
146
|
set gridLineWidth(t) {
|
|
147
147
|
W(t, this._config);
|
|
@@ -208,7 +208,7 @@ class s extends u {
|
|
|
208
208
|
}
|
|
209
209
|
set numericFields(t) {
|
|
210
210
|
const { idField: r } = f(this.layerInfo.layer), a = nt(t[0]), n = a ? r : t[0];
|
|
211
|
-
|
|
211
|
+
V(n, this._config);
|
|
212
212
|
const g = m(this._config);
|
|
213
213
|
a && g !== h.Count && c(h.Count, this._config);
|
|
214
214
|
}
|
|
@@ -230,13 +230,13 @@ class s extends u {
|
|
|
230
230
|
set splitByField(t) {
|
|
231
231
|
}
|
|
232
232
|
get legendPosition() {
|
|
233
|
-
return
|
|
233
|
+
return X(this._config);
|
|
234
234
|
}
|
|
235
235
|
set legendPosition(t) {
|
|
236
|
-
|
|
236
|
+
j(t, this._config);
|
|
237
237
|
}
|
|
238
238
|
get nullPolicy() {
|
|
239
|
-
return
|
|
239
|
+
return K(this._config);
|
|
240
240
|
}
|
|
241
241
|
set nullPolicy(t) {
|
|
242
242
|
q(t, this._config);
|
|
@@ -6,7 +6,7 @@ import "@arcgis/toolkit/intl";
|
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "luxon";
|
|
8
8
|
import "d3-array";
|
|
9
|
-
import {
|
|
9
|
+
import { bo as i, aK as n, cZ as y, _ as M, bm as m, aS as r } from "./index.js";
|
|
10
10
|
import "@arcgis/core/Graphic.js";
|
|
11
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -34,12 +34,12 @@ function u(s, e, a) {
|
|
|
34
34
|
return O(a.titleLabels.distributionOfField, { valueField: o });
|
|
35
35
|
}
|
|
36
36
|
const p = (s) => s.series[0]?.x ?? "", ts = (s) => {
|
|
37
|
-
const { numericField: e, config: a, layerInfo: t, commonStrings: o } = s, { layerFieldsInfo: d } = t, c = u(a, t, o),
|
|
38
|
-
if (v(a), a?.series?.[0] && (a.series[0].x = e), x ===
|
|
37
|
+
const { numericField: e, config: a, layerInfo: t, commonStrings: o } = s, { layerFieldsInfo: d } = t, c = u(a, t, o), S = A(a), D = h(0, a), x = y(d, p(a)), b = M(a);
|
|
38
|
+
if (v(a), a?.series?.[0] && (a.series[0].x = e), x === D || b) {
|
|
39
39
|
const f = y(d, e);
|
|
40
40
|
C(a, 0, f);
|
|
41
41
|
}
|
|
42
|
-
a.title && (c ===
|
|
42
|
+
a.title && (c === S || b) && (a.title.content.text = u(a, t, o));
|
|
43
43
|
}, is = (s) => s.series[0]?.dataTransformationType ?? T.None, os = (s, e) => {
|
|
44
44
|
v(e), e?.series?.[0] && (e.series[0].dataTransformationType = s);
|
|
45
45
|
}, ls = (s) => s.series[0]?.binCount ?? 32, ns = (s, e) => {
|
|
@@ -72,7 +72,7 @@ const p = (s) => s.series[0]?.x ?? "", ts = (s) => {
|
|
|
72
72
|
}, ps = (s) => (s.series[0]?.overlays?.comparisonDistribution?.created ?? !1) && (s.series[0]?.overlays?.comparisonDistribution?.visible ?? !1), cs = (s, e) => {
|
|
73
73
|
const a = r(0);
|
|
74
74
|
a.created = s, a.visible = s, a.symbol = F(e), e?.series?.[0]?.overlays && (e.series[0].overlays.comparisonDistribution = a);
|
|
75
|
-
},
|
|
75
|
+
}, Ss = (s) => (s.series[0]?.overlays?.mean?.created ?? !1) && (s.series[0]?.overlays?.mean?.visible ?? !1), Ds = (s, e) => {
|
|
76
76
|
const a = r(1);
|
|
77
77
|
a.created = s, a.visible = s, a.symbol = I(e), e?.series?.[0]?.overlays && (e.series[0].overlays.mean = a);
|
|
78
78
|
}, xs = (s) => (s.series[0]?.overlays?.median?.created ?? !1) && (s.series[0]?.overlays?.median?.visible ?? !1), fs = (s, e) => {
|
|
@@ -103,9 +103,9 @@ export {
|
|
|
103
103
|
us as o,
|
|
104
104
|
ps as p,
|
|
105
105
|
cs as q,
|
|
106
|
-
|
|
106
|
+
Ss as r,
|
|
107
107
|
ts as s,
|
|
108
|
-
|
|
108
|
+
Ds as t,
|
|
109
109
|
xs as u,
|
|
110
110
|
fs as v,
|
|
111
111
|
Ts as w,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { a as m } from "./utils.js";
|
|
3
|
-
import { g as h, s as y, a as g, b as
|
|
3
|
+
import { g as h, s as y, a as g, b as p, c as f, d, e as c, f as S, h as b, i as v, j as u, k as _, l as D, m as M, n as O, 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 "./model-with-tooltips.js";
|
|
6
6
|
import { W as G } from "./data-labels-symbol.js";
|
|
@@ -9,7 +9,7 @@ import { W as Y, a as k, b as J } from "./axis-lines-symbol.js";
|
|
|
9
9
|
import { W as K, a as Q, b as R } from "./generate-x-axis-title.js";
|
|
10
10
|
import { m as s } from "./model-setter.js";
|
|
11
11
|
import { W as U } from "./series-types.js";
|
|
12
|
-
import {
|
|
12
|
+
import { bp as Z } from "./index.js";
|
|
13
13
|
import { M as $, a as tt } from "./model-with-y-guides.js";
|
|
14
14
|
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (i, t, r, at) => {
|
|
15
15
|
for (var a = st(t, r), n = i.length - 1, l; n >= 0; n--)
|
|
@@ -47,13 +47,13 @@ class e extends P {
|
|
|
47
47
|
return g(this._config);
|
|
48
48
|
}
|
|
49
49
|
set binCount(t) {
|
|
50
|
-
|
|
50
|
+
p(t, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Fill symbol used for the bins in the histogram.
|
|
54
54
|
*/
|
|
55
55
|
get binSymbol() {
|
|
56
|
-
return
|
|
56
|
+
return f(this._config);
|
|
57
57
|
}
|
|
58
58
|
set binSymbol(t) {
|
|
59
59
|
d(t, this._config);
|