@arcgis/charts-components 5.2.0-next.40 → 5.2.0-next.42
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/{EJK3RW6P.js → 22GC5BZP.js} +1 -1
- package/dist/cdn/{7CZ4J2W3.js → 2VWSSNE6.js} +1 -1
- package/dist/cdn/{Z3XWLWF4.js → 2WFIFBMW.js} +1 -1
- package/dist/cdn/{KFH7ONYI.js → 33NDNTD4.js} +1 -1
- package/dist/cdn/{YKOEU6IH.js → 3WV4T637.js} +1 -1
- package/dist/cdn/{LGM37IA4.js → 3YJRZ7CT.js} +1 -1
- package/dist/cdn/{J2YNPNIL.js → 4MSUALRF.js} +1 -1
- package/dist/cdn/{YAMKN44F.js → 4QGMMXRI.js} +1 -1
- package/dist/cdn/{SGVBAC76.js → 4RGS5J3H.js} +1 -1
- package/dist/cdn/{DIBTCFWT.js → 4WQF5DM3.js} +1 -1
- package/dist/cdn/{LV3T5QZF.js → 4ZJHIYGJ.js} +1 -1
- package/dist/cdn/{KPWBRKB2.js → 5XXP2NRJ.js} +1 -1
- package/dist/cdn/{LQ4XNJEN.js → 6TA7HFV2.js} +1 -1
- package/dist/cdn/76HEBLTU.js +2 -0
- package/dist/cdn/{Y4AQR62O.js → 76ILRLUC.js} +1 -1
- package/dist/cdn/{NIKK5PQK.js → 7KYTSBST.js} +1 -1
- package/dist/cdn/{77YS6YLT.js → 7RFX7LUS.js} +4 -4
- package/dist/cdn/{YSAFZOZ6.js → 7T4W77V3.js} +1 -1
- package/dist/cdn/{3GGLSOHN.js → B6GOLH4Q.js} +1 -1
- package/dist/cdn/{67K3MAX5.js → CHFKSXBJ.js} +1 -1
- package/dist/cdn/{PKQ36JAB.js → CMPHWKTI.js} +1 -1
- package/dist/cdn/{QCRIXDV3.js → CXT62XXL.js} +1 -1
- package/dist/cdn/{PIXOUTW3.js → D4WXMS4I.js} +1 -1
- package/dist/cdn/{M7YZTXYW.js → D7FL6CSK.js} +1 -1
- package/dist/cdn/{EVCIAJFC.js → DE5QJPJV.js} +1 -1
- package/dist/cdn/{FXACMXC2.js → DWOP2HE4.js} +1 -1
- package/dist/cdn/{BMQRK46I.js → E47MLNJA.js} +1 -1
- package/dist/cdn/{TBGSY7QJ.js → EAXAXRX2.js} +1 -1
- package/dist/cdn/EIXU5GSK.js +2 -0
- package/dist/cdn/{I7QOG3AA.js → ELICLP7J.js} +1 -1
- package/dist/cdn/{4GZPZPT6.js → EMMV3MPZ.js} +1 -1
- package/dist/cdn/{2MWAHHYM.js → ESAVCU5M.js} +20 -20
- package/dist/cdn/{32EVZ7R6.js → F5P4Z43T.js} +1 -1
- package/dist/cdn/{OEIPZTMI.js → G3IEARQP.js} +1 -1
- package/dist/cdn/{M7F2IDEE.js → GGN3I7J2.js} +1 -1
- package/dist/cdn/{RB7LVEKZ.js → GKXBWOFH.js} +1 -1
- package/dist/cdn/{NKUXUCUP.js → GP3V6A7V.js} +1 -1
- package/dist/cdn/{HAOL7B5B.js → HCYQEOJ6.js} +1 -1
- package/dist/cdn/{KML35YPO.js → HP47BFLZ.js} +1 -1
- package/dist/cdn/{BUXRBQJJ.js → HRMCHOLZ.js} +1 -1
- package/dist/cdn/{MAHZG3PJ.js → I2CZFSEB.js} +1 -1
- package/dist/cdn/{FFKWJL25.js → I6REUMW3.js} +1 -1
- package/dist/cdn/{LHQWVJAF.js → IIQVRNZF.js} +1 -1
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{XCRTBM2X.js → ISYGPFXM.js} +1 -1
- package/dist/cdn/{W2YAFML7.js → J64IDIEG.js} +1 -1
- package/dist/cdn/{K63SHENK.js → JATS27TM.js} +1 -1
- package/dist/cdn/{GHE7Q677.js → JPPLQW3P.js} +1 -1
- package/dist/cdn/{WNKDEOFZ.js → JWD4Y2L6.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/{CFC3NUMS.js → KHLGXKN5.js} +1 -1
- package/dist/cdn/KRBNJLUR.js +2 -0
- package/dist/cdn/{G6EAXNDR.js → LJLL37FG.js} +1 -1
- package/dist/cdn/{YTUVGIHK.js → LMIDBRIM.js} +1 -1
- package/dist/cdn/{FX3T2NSR.js → LSMBD5CK.js} +1 -1
- package/dist/cdn/{UM5S2Y4R.js → LSWWNXP3.js} +1 -1
- package/dist/cdn/{LLUS6VGO.js → MCT4U7MC.js} +1 -1
- package/dist/cdn/{QCTAG2EK.js → MLBDUKS3.js} +1 -1
- package/dist/cdn/{WGANHKGM.js → MNE46H4A.js} +1 -1
- package/dist/cdn/{BDKELWTL.js → NFJXS4T6.js} +1 -1
- package/dist/cdn/{L7HQ4MVM.js → NG254LPM.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → NYFHPR6N.js} +1 -1
- package/dist/cdn/{A7NYIP7H.js → OGRUONHM.js} +1 -1
- package/dist/cdn/{XM6AWAPQ.js → PCODH67Z.js} +1 -1
- package/dist/cdn/{IQFWMCJN.js → PDYF2IZ2.js} +1 -1
- package/dist/cdn/{LX7XADSL.js → PF7KNYUV.js} +1 -1
- package/dist/cdn/{ME5VD6DD.js → PGO6DEJM.js} +1 -1
- package/dist/cdn/{FGNKVNM7.js → PLEZNRQC.js} +1 -1
- package/dist/cdn/{D3ITKS2P.js → QFDQH5CQ.js} +1 -1
- package/dist/cdn/{XJFVSX2E.js → QJMUS3VS.js} +1 -1
- package/dist/cdn/{KHT4LCWN.js → QYNNPEED.js} +1 -1
- package/dist/cdn/{AAKVGDCP.js → QZ5YUJ7Y.js} +1 -1
- package/dist/cdn/{7GOPZGE7.js → R32CA4NB.js} +1 -1
- package/dist/cdn/{NDOLRRBV.js → RE5QI7WA.js} +1 -1
- package/dist/cdn/{FLNKNNA4.js → RPTZ52MF.js} +1 -1
- package/dist/cdn/{7IEZ4KIQ.js → RS37HDC7.js} +1 -1
- package/dist/cdn/{T7SDOM4Y.js → SDHNDW2J.js} +1 -1
- package/dist/cdn/{GVLUS52N.js → SG3NAFAX.js} +1 -1
- package/dist/cdn/{2WUJ5KOD.js → T3ZESENF.js} +1 -1
- package/dist/cdn/{ZVPPOBET.js → TAGN7GHJ.js} +1 -1
- package/dist/cdn/{QWKP4JOC.js → U5FPTPFH.js} +1 -1
- package/dist/cdn/{OJR4AWVU.js → UG37REGM.js} +1 -1
- package/dist/cdn/{F2OCFEOW.js → UNFEHNQQ.js} +1 -1
- package/dist/cdn/{6TCG2WXL.js → USQYT55U.js} +1 -1
- package/dist/cdn/{2AFGL3N3.js → UTJ2ODDK.js} +1 -1
- package/dist/cdn/VAUVQGBW.js +3 -0
- package/dist/cdn/{LH4X6ACJ.js → WGYVJ5PD.js} +1 -1
- package/dist/cdn/{GOZ5QOUF.js → WIPAO2FH.js} +1 -1
- package/dist/cdn/{RJENJCOJ.js → WKRYWDKZ.js} +1 -1
- package/dist/cdn/{LU3GHFTE.js → WVPMH6DW.js} +1 -1
- package/dist/cdn/{YMY3CBBG.js → XY4HDZKZ.js} +1 -1
- package/dist/cdn/{IRSXCGOE.js → YABRVLVL.js} +1 -1
- package/dist/cdn/{LBG2RY2P.js → YE6DMUZG.js} +1 -1
- package/dist/cdn/{7HTA55LZ.js → YGGPPIZ7.js} +1 -1
- package/dist/cdn/{DGYWXTWO.js → YXG7RVTK.js} +1 -1
- package/dist/cdn/{BDCXALOP.js → Z7NF4IGS.js} +1 -1
- package/dist/cdn/ZSATO43B.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +5 -5
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +5 -5
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +66 -57
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index2.js +3496 -3375
- package/dist/chunks/index4.js +26 -8
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +8 -8
- package/dist/chunks/pie-chart-model.js +9 -9
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/scatterplot-model.js +11 -11
- package/dist/chunks/serial-chart-data.js +785 -701
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/utils.js +16 -16
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +3531 -3519
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +57 -70
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/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 +215 -213
- package/dist/json-schema/index.d.ts +15 -2
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +2 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +6 -1
- package/dist/utils/chart-config/converter/index.js +26 -26
- package/dist/utils/data/index.d.ts +8 -1
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- package/dist/utils/layer/query-features/index.d.ts +17 -1
- package/dist/utils/layer/query-parser/index.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cdn/4HBMPMYY.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/GN53HRKZ.js +0 -2
- package/dist/cdn/HR4NMTBV.js +0 -2
- package/dist/cdn/QU7LT4XK.js +0 -3
- package/dist/cdn/ZLFL6BY5.js +0 -2
package/dist/chunks/index4.js
CHANGED
|
@@ -4,7 +4,7 @@ import E from "ajv";
|
|
|
4
4
|
import { g as w } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as S } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as v } from "@arcgis/toolkit/intl/dom";
|
|
7
|
-
import { C as u,
|
|
7
|
+
import { C as u, d3 as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, aw as U, I as L, a7 as D, bk as H, a as $, aF as J, bg as _, cs as K, V as Q, k as Z, n as X, l as Y, b9 as ee, aG as te } from "./index2.js";
|
|
8
8
|
import { g as ie, aA as re } from "./index.js";
|
|
9
9
|
import { q as x, C as h, h as ne } from "./index3.js";
|
|
10
10
|
import { g as C } from "./series-types.js";
|
|
@@ -44,7 +44,8 @@ const b = {
|
|
|
44
44
|
"heatSeries",
|
|
45
45
|
"buffer",
|
|
46
46
|
"sizeScale",
|
|
47
|
-
"calendarDateParts"
|
|
47
|
+
"calendarDateParts",
|
|
48
|
+
"histogramBin"
|
|
48
49
|
],
|
|
49
50
|
title: "WebChartTypes"
|
|
50
51
|
},
|
|
@@ -6059,8 +6060,14 @@ Only applicable to bar chart, line chart.`
|
|
|
6059
6060
|
WebChartBin: {
|
|
6060
6061
|
type: "object",
|
|
6061
6062
|
properties: {
|
|
6063
|
+
type: {
|
|
6064
|
+
type: "string",
|
|
6065
|
+
const: "histogramBin",
|
|
6066
|
+
description: "Identifier of a bin to simplify distinction between a WebChartBin and a WebChartDataItem"
|
|
6067
|
+
},
|
|
6062
6068
|
count: {
|
|
6063
|
-
type: "number"
|
|
6069
|
+
type: "number",
|
|
6070
|
+
description: "The bin count"
|
|
6064
6071
|
},
|
|
6065
6072
|
minValue: {
|
|
6066
6073
|
type: "number",
|
|
@@ -6077,9 +6084,20 @@ Only applicable to bar chart, line chart.`
|
|
|
6077
6084
|
isLastBin: {
|
|
6078
6085
|
type: "boolean",
|
|
6079
6086
|
description: "Whether this is the last bin."
|
|
6087
|
+
},
|
|
6088
|
+
arcgisChartsUniqueIds: {
|
|
6089
|
+
type: "array",
|
|
6090
|
+
items: {
|
|
6091
|
+
type: [
|
|
6092
|
+
"number",
|
|
6093
|
+
"string"
|
|
6094
|
+
]
|
|
6095
|
+
},
|
|
6096
|
+
description: "Unique ids associated to each bin"
|
|
6080
6097
|
}
|
|
6081
6098
|
},
|
|
6082
6099
|
required: [
|
|
6100
|
+
"type",
|
|
6083
6101
|
"count",
|
|
6084
6102
|
"minValue",
|
|
6085
6103
|
"maxValue"
|
|
@@ -10509,11 +10527,11 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
10509
10527
|
description: "Gives a JSON representation of the heat chart object.",
|
|
10510
10528
|
title: "WebHeatChart"
|
|
10511
10529
|
},
|
|
10512
|
-
'Omit<(structure-1066060463-
|
|
10513
|
-
$ref: "#/definitions/Pick%3C(structure-1066060463-
|
|
10514
|
-
title: 'Omit<(structure-1066060463-
|
|
10530
|
+
'Omit<(structure-1066060463-59734-61477-1066060463-59659-61478-1066060463-55764-62666-1066060463-0-65719|undefined)937098756,("data"|"orderByFields")>': {
|
|
10531
|
+
$ref: "#/definitions/Pick%3C(structure-1066060463-59734-61477-1066060463-59659-61478-1066060463-55764-62666-1066060463-0-65719%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
|
|
10532
|
+
title: 'Omit<(structure-1066060463-59734-61477-1066060463-59659-61478-1066060463-55764-62666-1066060463-0-65719|undefined)937098756,("data"|"orderByFields")>'
|
|
10515
10533
|
},
|
|
10516
|
-
'Pick<(structure-1066060463-
|
|
10534
|
+
'Pick<(structure-1066060463-59734-61477-1066060463-59659-61478-1066060463-55764-62666-1066060463-0-65719|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
|
|
10517
10535
|
type: "object",
|
|
10518
10536
|
properties: {
|
|
10519
10537
|
series: {
|
|
@@ -10524,7 +10542,7 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
10524
10542
|
}
|
|
10525
10543
|
},
|
|
10526
10544
|
additionalProperties: !1,
|
|
10527
|
-
title: 'Pick<(structure-1066060463-
|
|
10545
|
+
title: 'Pick<(structure-1066060463-59734-61477-1066060463-59659-61478-1066060463-55764-62666-1066060463-0-65719|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
|
|
10528
10546
|
},
|
|
10529
10547
|
OverlayTerms: {
|
|
10530
10548
|
type: "string",
|
|
@@ -7,7 +7,7 @@ import { M as g } from "./model-with-line-marker-styling.js";
|
|
|
7
7
|
import { s as u, a as p, b, c as I, d as v, W as _ } from "./negative-values-stacked-to-baseline.js";
|
|
8
8
|
import { S as C, s as L, a as M } from "./serial-chart-model.js";
|
|
9
9
|
import { h as f } from "./serial-chart-data.js";
|
|
10
|
-
import {
|
|
10
|
+
import { h as k } from "./utils.js";
|
|
11
11
|
var D = Object.defineProperty, F = Object.getOwnPropertyDescriptor, x = (o, e, s, t) => {
|
|
12
12
|
for (var i = F(e, s), r = o.length - 1, l; r >= 0; r--)
|
|
13
13
|
(l = o[r]) && (i = l(e, s, i) || i);
|
|
@@ -4,7 +4,7 @@ import { getElementLocale as c } from "@arcgis/toolkit/intl/dom";
|
|
|
4
4
|
import { g } from "./runtime.js";
|
|
5
5
|
import { convertChartSpec as h } from "../utils/chart-config/converter/index.js";
|
|
6
6
|
import { U as f } from "./index.js";
|
|
7
|
-
import { ac as o,
|
|
7
|
+
import { ac as o, bx as l, I as y, an as u } from "./index2.js";
|
|
8
8
|
import "lodash-es";
|
|
9
9
|
import "luxon";
|
|
10
10
|
import "./chart-object-literals.js";
|
|
@@ -23,15 +23,15 @@ import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
|
23
23
|
import "@esri/arcgis-html-sanitizer";
|
|
24
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
25
|
import "@arcgis/core/request.js";
|
|
26
|
-
import "@arcgis/core/geometry/Point.js";
|
|
27
26
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
27
|
+
import "@arcgis/core/geometry/Point.js";
|
|
28
28
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
29
29
|
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
30
|
+
import "@arcgis/core/geometry/Extent.js";
|
|
30
31
|
import "@arcgis/core/intl.js";
|
|
31
32
|
import "@arcgis/toolkit/dom";
|
|
32
33
|
import "simple-statistics";
|
|
33
34
|
import "@arcgis/core/core/sql.js";
|
|
34
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
35
35
|
import "@arcgis/toolkit/type";
|
|
36
36
|
import "./class-breaks.js";
|
|
37
37
|
class K extends EventTarget {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { G as n } from "./common.js";
|
|
3
|
-
import {
|
|
3
|
+
import { h as f } from "./utils.js";
|
|
4
4
|
import { M as a, b as l, d as G } from "./x-bounds.js";
|
|
5
5
|
import { m as p } from "./model-setter.js";
|
|
6
|
-
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor,
|
|
6
|
+
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (o, e, t, h) => {
|
|
7
7
|
for (var i = c(e, t), s = o.length - 1, r; s >= 0; s--)
|
|
8
8
|
(r = o[s]) && (i = r(e, t, i) || i);
|
|
9
9
|
return i && m(e, t, i), i;
|
|
@@ -36,14 +36,14 @@ class d extends a {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
u([
|
|
40
40
|
p
|
|
41
41
|
], d.prototype, "addXAxisGuide");
|
|
42
|
-
|
|
42
|
+
u([
|
|
43
43
|
p
|
|
44
44
|
], d.prototype, "deleteXAxisGuide");
|
|
45
45
|
const g = [a];
|
|
46
|
-
|
|
46
|
+
f(d, g);
|
|
47
47
|
export {
|
|
48
48
|
d as M
|
|
49
49
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as b } from "./chart-model.js";
|
|
3
|
-
import { r as o,
|
|
3
|
+
import { r as o, l as h, s as x, m as A, a as C, n as m, o as L, p as V, h as v } from "./utils.js";
|
|
4
4
|
import { cloneDeep as T } from "lodash-es";
|
|
5
5
|
import { j as y } from "./chart-object-literals.js";
|
|
6
6
|
import { H as g } from "./index.js";
|
|
@@ -12,15 +12,15 @@ const P = (t) => {
|
|
|
12
12
|
for (const i of t.axes ?? [])
|
|
13
13
|
if (i?.grid !== void 0)
|
|
14
14
|
return i.grid;
|
|
15
|
-
},
|
|
15
|
+
}, F = (t, i, s) => {
|
|
16
16
|
const e = i.axes;
|
|
17
17
|
s.forEach((c) => {
|
|
18
18
|
e?.[c] !== void 0 && (e[c].grid = T(t));
|
|
19
19
|
});
|
|
20
|
-
},
|
|
20
|
+
}, W = (t, i) => i.axes?.[t]?.visible ?? !0, Z = (t, i, s) => {
|
|
21
21
|
const e = s.axes?.[i];
|
|
22
22
|
e !== void 0 && (e.visible = t);
|
|
23
|
-
},
|
|
23
|
+
}, k = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, w = (t, i, s) => {
|
|
24
24
|
t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = i);
|
|
25
25
|
}, N = (t, i) => t.axes?.[i]?.displayCursorTooltip ?? !1, j = (t) => {
|
|
26
26
|
const { config: i, displayCursorTooltip: s, axisIndex: e } = t;
|
|
@@ -83,7 +83,7 @@ class a extends b {
|
|
|
83
83
|
return o({
|
|
84
84
|
config: this._config,
|
|
85
85
|
axisIndex: i,
|
|
86
|
-
func: (s) =>
|
|
86
|
+
func: (s) => W(s, this._config)
|
|
87
87
|
}) ?? !0;
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
@@ -98,7 +98,7 @@ class a extends b {
|
|
|
98
98
|
config: this._config,
|
|
99
99
|
axisIndex: s,
|
|
100
100
|
func: (e) => {
|
|
101
|
-
|
|
101
|
+
Z(i, e, this._config), this.emitConfigUpdate("setAxisVisibility");
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
});
|
|
@@ -319,7 +319,7 @@ class a extends b {
|
|
|
319
319
|
return P(this._config);
|
|
320
320
|
}
|
|
321
321
|
setGridLinesSymbol(i, s) {
|
|
322
|
-
Array.isArray(s) &&
|
|
322
|
+
Array.isArray(s) && F(i, this._config, s);
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
325
|
* Get the default x-axis title text.
|
|
@@ -339,7 +339,7 @@ class a extends b {
|
|
|
339
339
|
return o({
|
|
340
340
|
config: this._config,
|
|
341
341
|
axisIndex: i,
|
|
342
|
-
func: (s) =>
|
|
342
|
+
func: (s) => k(this._config, s)
|
|
343
343
|
}) ?? !1;
|
|
344
344
|
}
|
|
345
345
|
setDisplayZeroLine(i, s) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { log as W } from "@arcgis/toolkit/log";
|
|
3
3
|
import { u as p } from "./chart-object-literals.js";
|
|
4
|
-
import { Y as L, an as
|
|
5
|
-
import { i as
|
|
4
|
+
import { Y as L, an as k } from "./index2.js";
|
|
5
|
+
import { i as A } from "./index4.js";
|
|
6
6
|
import { U as d, a6 as T, a0 as O, ay as V, a3 as w, a4 as G } from "./index.js";
|
|
7
7
|
import { C as h } from "./index3.js";
|
|
8
8
|
import { C as z } from "./chart-model.js";
|
|
@@ -10,7 +10,7 @@ import { m as s } from "./model-setter.js";
|
|
|
10
10
|
import { b as g, P as y } from "./common.js";
|
|
11
11
|
import { M as x, a as B, W as E, b as R } from "./data-labels-visibility.js";
|
|
12
12
|
import { W as j } from "./data-labels-symbol.js";
|
|
13
|
-
import {
|
|
13
|
+
import { h as I, k as U, c as K } from "./utils.js";
|
|
14
14
|
import { i as m, a as _, g as f, s as $, c as Y, b as q, d as H, e as J, f as Q, h as D, j as C, k as X } from "./pie-chart-data.js";
|
|
15
15
|
import { cloneDeep as Z } from "lodash-es";
|
|
16
16
|
import { i as S } from "./rest-js-object-literals.js";
|
|
@@ -117,14 +117,14 @@ const ue = (t) => t.series?.[0]?.innerRadius, fe = (t, e) => {
|
|
|
117
117
|
let e;
|
|
118
118
|
const i = t.series?.[0];
|
|
119
119
|
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = g.Both : i?.displayNumericValueOnDataLabel === !0 ? e = g.Value : e = g.Percentage, e;
|
|
120
|
-
},
|
|
120
|
+
}, ke = (t, e) => {
|
|
121
121
|
const i = t === g.Value || t === g.Both, o = t === g.Percentage || t === g.Both;
|
|
122
122
|
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = i, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
|
|
123
123
|
...e.legend,
|
|
124
124
|
displayNumericValue: i,
|
|
125
125
|
displayPercentage: o
|
|
126
126
|
});
|
|
127
|
-
},
|
|
127
|
+
}, Ae = (t) => t.series?.[0]?.alignDataLabels ?? !1, we = (t, e) => {
|
|
128
128
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
129
129
|
}, Ge = (t) => t.series?.[0]?.dataLabelsInside ?? !1, ze = (t, e) => {
|
|
130
130
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
@@ -201,7 +201,7 @@ class r extends z {
|
|
|
201
201
|
return f(this._config);
|
|
202
202
|
}
|
|
203
203
|
set category(e) {
|
|
204
|
-
(!
|
|
204
|
+
(!A(this._config) || e.trim() !== "") && (this._mode = m({
|
|
205
205
|
category: e,
|
|
206
206
|
numericFields: _(this._config),
|
|
207
207
|
fallbackMode: this._mode
|
|
@@ -397,7 +397,7 @@ class r extends z {
|
|
|
397
397
|
return We(this._config);
|
|
398
398
|
}
|
|
399
399
|
set displayType(e) {
|
|
400
|
-
|
|
400
|
+
ke(e, this._config);
|
|
401
401
|
}
|
|
402
402
|
// ---------------------------------------------------------------------------------------------
|
|
403
403
|
// #region Protected methods
|
|
@@ -405,7 +405,7 @@ class r extends z {
|
|
|
405
405
|
/** @private */
|
|
406
406
|
generateDefaultConfig() {
|
|
407
407
|
const e = w(this.commonStrings);
|
|
408
|
-
return e.series = [G(this.commonStrings,
|
|
408
|
+
return e.series = [G(this.commonStrings, k(this.layerInfo.layer).idField)], e;
|
|
409
409
|
}
|
|
410
410
|
// ---------------------------------------------------------------------------------------------
|
|
411
411
|
// #region Series Methods
|
|
@@ -643,7 +643,7 @@ class r extends z {
|
|
|
643
643
|
* Align the data labels on the left or right side of the chart instead of the default position around the chart.
|
|
644
644
|
*/
|
|
645
645
|
get alignDataLabels() {
|
|
646
|
-
return
|
|
646
|
+
return Ae(this._config);
|
|
647
647
|
}
|
|
648
648
|
set alignDataLabels(e) {
|
|
649
649
|
we(e, this._config);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { S as m, s as d, a as S } from "./serial-chart-model.js";
|
|
3
3
|
import { s as c, a as y, b as g, c as u, d as p, W as b } from "./negative-values-stacked-to-baseline.js";
|
|
4
4
|
import { h as n } from "./serial-chart-data.js";
|
|
5
|
-
import {
|
|
5
|
+
import { h as v } from "./utils.js";
|
|
6
6
|
import { m as I } from "./model-setter.js";
|
|
7
7
|
import { u as _ } from "./chart-object-literals.js";
|
|
8
8
|
import { M as C } from "./model-with-line-marker-styling.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { s as p, u as v,
|
|
2
|
+
import { s as p, u as v, e as X, h as O } from "./utils.js";
|
|
3
3
|
import { substitute as Y } from "@arcgis/core/intl.js";
|
|
4
|
-
import { isEmpty as
|
|
4
|
+
import { isEmpty as x, isEqual as D } from "lodash-es";
|
|
5
5
|
import { b as w } from "./series-length.js";
|
|
6
6
|
import { g as b } from "./utils2.js";
|
|
7
7
|
import { aj as m, ad as z, ab as k } from "./index.js";
|
|
@@ -33,17 +33,17 @@ function M(i, e) {
|
|
|
33
33
|
return s === r || o;
|
|
34
34
|
}
|
|
35
35
|
function C(i, e) {
|
|
36
|
-
const { layerFieldsInfo: t } = e, s =
|
|
36
|
+
const { layerFieldsInfo: t } = e, s = f(i), r = y(t, s), o = b(0, i), n = T(i);
|
|
37
37
|
return r === o || n;
|
|
38
38
|
}
|
|
39
39
|
function g(i, e, t) {
|
|
40
|
-
const s =
|
|
40
|
+
const s = f(i), r = u(i), { layerFieldsInfo: o } = e, n = y(o, s), a = y(o, r);
|
|
41
41
|
return Y(t.titleLabels.xAndY, { x: n, y: a });
|
|
42
42
|
}
|
|
43
43
|
const _ = (i) => {
|
|
44
44
|
const { x: e, y: t, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings: h } = i, { layerFieldsInfo: A } = r, W = y(A, e), P = y(A, t);
|
|
45
|
-
!
|
|
46
|
-
},
|
|
45
|
+
!x(e) && n && v(s, 0, W), !x(t) && a && v(s, 1, P), !x(e) && !x(t) && s.title && o && (s.title.content.text = g(s, r, h));
|
|
46
|
+
}, f = (i) => i.series[0]?.x ?? "", u = (i) => i.series[0]?.y ?? "", re = (i) => {
|
|
47
47
|
const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n = C(t, s), a = M(t, s);
|
|
48
48
|
F(t), t.series[0] && (t.series[0].x = e), _({
|
|
49
49
|
x: e,
|
|
@@ -63,7 +63,7 @@ const _ = (i) => {
|
|
|
63
63
|
}, oe = (i) => {
|
|
64
64
|
const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n = C(t, s), a = M(t, s);
|
|
65
65
|
F(t), t.series[0] && (t.series[0].y = e), _({
|
|
66
|
-
x:
|
|
66
|
+
x: f(t),
|
|
67
67
|
y: e,
|
|
68
68
|
config: t,
|
|
69
69
|
layerInfo: s,
|
|
@@ -93,7 +93,7 @@ const _ = (i) => {
|
|
|
93
93
|
!(e.series[0]?.overlays?.trendLine?.created ?? !1) && i && (e.series[0].overlays ??= m(), e.series[0].overlays.trendLine ??= m().trendLine, e.series[0].overlays.trendLine.created = i), ye(i, e);
|
|
94
94
|
}, S = (i) => i.series[0]?.sizePolicy ?? z(), pe = (i, e) => {
|
|
95
95
|
e.series[0] && (i !== void 0 && i.field?.trim() !== "" ? e.series[0].sizePolicy = { ...e.series[0].sizePolicy, ...i } : e.series[0].sizePolicy = void 0);
|
|
96
|
-
},
|
|
96
|
+
}, xe = (i) => i?.series?.[0]?.overlays, fe = (i, e) => {
|
|
97
97
|
e?.series[0] !== void 0 && (e.series[0].overlays = i);
|
|
98
98
|
}, ue = (i) => i.series.find((e) => e.additionalTooltipFields !== void 0)?.additionalTooltipFields ?? [], he = (i, e) => {
|
|
99
99
|
e.series.forEach((t) => {
|
|
@@ -119,7 +119,7 @@ class l extends V {
|
|
|
119
119
|
* X-axis field.
|
|
120
120
|
*/
|
|
121
121
|
get xAxisField() {
|
|
122
|
-
return
|
|
122
|
+
return f(this._config);
|
|
123
123
|
}
|
|
124
124
|
set xAxisField(e) {
|
|
125
125
|
re({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
@@ -174,10 +174,10 @@ class l extends V {
|
|
|
174
174
|
* Trendline overlay for the scatterplot.
|
|
175
175
|
*/
|
|
176
176
|
get seriesOverlays() {
|
|
177
|
-
return
|
|
177
|
+
return xe(this._config);
|
|
178
178
|
}
|
|
179
179
|
set seriesOverlays(e) {
|
|
180
|
-
e !== void 0 &&
|
|
180
|
+
e !== void 0 && fe(e, this._config);
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
183
|
* Add an additional field to display for scatterplot tooltips.
|