@arcgis/charts-components 5.2.0-next.132 → 5.2.0-next.135
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/{IGFC74OK.js → 237DFICJ.js} +1 -1
- package/dist/cdn/{EJNWROC7.js → 2TH2NLKH.js} +1 -1
- package/dist/cdn/{35YCEIPG.js → 2WMXFFGK.js} +1 -1
- package/dist/cdn/{SNZ7YX4G.js → 4HRC4N36.js} +1 -1
- package/dist/cdn/{7HEDEKUK.js → 54MARFOX.js} +1 -1
- package/dist/cdn/{LDIHSUX2.js → 5FLFQNR7.js} +1 -1
- package/dist/cdn/{XJXSAYEK.js → 5J4YCXT7.js} +1 -1
- package/dist/cdn/{RAUY3KKA.js → 6XU3HVJF.js} +1 -1
- package/dist/cdn/{BTVIWRYJ.js → 7V464FLT.js} +1 -1
- package/dist/cdn/{RCD46RH5.js → 7ZIK7CXK.js} +1 -1
- package/dist/cdn/{QL2Y7MRB.js → AEKQA723.js} +1 -1
- package/dist/cdn/{LJO5VDUN.js → AXYWDXEL.js} +1 -1
- package/dist/cdn/{QKENGEGV.js → B2L54U6A.js} +1 -1
- package/dist/cdn/{H5DH4WNN.js → BGRTZDUX.js} +1 -1
- package/dist/cdn/{7LTSJSTM.js → BWHTYMQB.js} +1 -1
- package/dist/cdn/{U4GLRB5M.js → BZFXEB67.js} +1 -1
- package/dist/cdn/{7JOTYFCC.js → CIHQXJ22.js} +1 -1
- package/dist/cdn/{N7EBMOGD.js → D6AJNGRK.js} +1 -1
- package/dist/cdn/{5HNY3IAS.js → E4E2WV6B.js} +1 -1
- package/dist/cdn/{57HL3UWJ.js → EHWOAZN7.js} +1 -1
- package/dist/cdn/{G5R4DPDE.js → F2NO4I6W.js} +1 -1
- package/dist/cdn/{SYYWPV6X.js → F347H3VP.js} +1 -1
- package/dist/cdn/{OPIODPW3.js → F7AX7464.js} +1 -1
- package/dist/cdn/{EXL2B3BJ.js → FBSOJYSL.js} +1 -1
- package/dist/cdn/{GCIRVVIE.js → FF5R6NM4.js} +1 -1
- package/dist/cdn/{34XMANB5.js → FJNF77FI.js} +1 -1
- package/dist/cdn/{GWNC2RK3.js → GDMO4GD3.js} +1 -1
- package/dist/cdn/{4555T57S.js → HKJALKXI.js} +1 -1
- package/dist/cdn/{TGRE7VEP.js → IAZC7AQD.js} +1 -1
- package/dist/cdn/{SLMVIJZS.js → IRHBAPVI.js} +1 -1
- package/dist/cdn/{MEVS5PVK.js → J7FI5MUJ.js} +1 -1
- package/dist/cdn/{FB73CWAR.js → JM3JDVI3.js} +1 -1
- package/dist/cdn/{TOETRZXJ.js → JRBXQRR3.js} +1 -1
- package/dist/cdn/{E3GMOBBD.js → JRO7TCEJ.js} +1 -1
- package/dist/cdn/{ZJTFGMDB.js → KG5S3UIQ.js} +1 -1
- package/dist/cdn/{LOCELKGX.js → LPQNRUNB.js} +3 -3
- package/dist/cdn/{MJOSYJQM.js → LQLS3XBM.js} +1 -1
- package/dist/cdn/{FHSZFYWX.js → LWTFQAHK.js} +19 -19
- package/dist/cdn/{SY67MGEX.js → LYAWKYBD.js} +1 -1
- package/dist/cdn/{4TYYNWIM.js → MHTOZK7U.js} +1 -1
- package/dist/cdn/{PTXE3HWB.js → MVMW7ICK.js} +1 -1
- package/dist/cdn/{5MZ56C7R.js → NHMG5ROX.js} +1 -1
- package/dist/cdn/{HLHP2HHG.js → NSOVRPRE.js} +1 -1
- package/dist/cdn/{7RELPYIT.js → NWB2XYFC.js} +1 -1
- package/dist/cdn/{5HNG6KMX.js → PB5EMF72.js} +1 -1
- package/dist/cdn/{A7WJVI5D.js → Q7W6SXYC.js} +1 -1
- package/dist/cdn/{TTM5ZQFA.js → QAYSFUD7.js} +1 -1
- package/dist/cdn/{SJF6WAGB.js → QBWCTB6A.js} +1 -1
- package/dist/cdn/{HLNBRVRG.js → QDALL6M3.js} +1 -1
- package/dist/cdn/{ODTXJRD3.js → QWH37V5U.js} +1 -1
- package/dist/cdn/{SKJ3EY3H.js → R6IRQAQX.js} +1 -1
- package/dist/cdn/{HZBM265G.js → RLWLROKT.js} +1 -1
- package/dist/cdn/{A6ZHMVPA.js → RRLXLHLQ.js} +1 -1
- package/dist/cdn/{KFUYJAX4.js → SCGAGWRM.js} +1 -1
- package/dist/cdn/{TUEYIIMJ.js → SZZ5ARZP.js} +1 -1
- package/dist/cdn/{AE3Q3FDI.js → TG6R3HGR.js} +1 -1
- package/dist/cdn/{DDNS3GY4.js → THOUIYL5.js} +1 -1
- package/dist/cdn/{RSJPZSNN.js → TXLZGJBS.js} +1 -1
- package/dist/cdn/{ROY54SMC.js → UMM6WL6A.js} +1 -1
- package/dist/cdn/{IUFIYS7S.js → V5MTKOJP.js} +1 -1
- package/dist/cdn/{DJTFBHNQ.js → VBJ6455L.js} +1 -1
- package/dist/cdn/{ZL524IM5.js → VVXOD6FU.js} +1 -1
- package/dist/cdn/{UDTDIZNT.js → W5EEE7AO.js} +1 -1
- package/dist/cdn/{FKNSQZCW.js → WT5EQBFC.js} +1 -1
- package/dist/cdn/{PYRBEWFD.js → XGVPNZ4W.js} +1 -1
- package/dist/cdn/{FL6IYK2Q.js → XL73XJKZ.js} +1 -1
- package/dist/cdn/{EGROLWFL.js → XOUPCPXQ.js} +1 -1
- package/dist/cdn/{FEEYT3QQ.js → YVLG5MT3.js} +1 -1
- package/dist/cdn/{R35RZX3J.js → YZVWDBRN.js} +1 -1
- package/dist/cdn/{F4U6EDV7.js → Z4LTOPMQ.js} +1 -1
- package/dist/cdn/{TT4BXH4L.js → ZWDYQ77Q.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +6 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/box-plot-data.js +7 -7
- package/dist/chunks/chart-model.js +9 -9
- package/dist/chunks/chart-ui-utils.js +7 -7
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +15 -15
- package/dist/chunks/gauge-model.js +41 -41
- package/dist/chunks/heat-chart-model.js +20 -20
- package/dist/chunks/index.js +93 -93
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +47 -47
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-length.js +3 -3
- package/dist/chunks/utils.js +15 -15
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +21 -10
- package/dist/components/arcgis-chart/customElement.js +3360 -3322
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/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 +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +71 -71
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +88 -88
- package/package.json +4 -4
package/dist/chunks/data.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "es-toolkit/compat";
|
|
3
|
-
import { aP as B,
|
|
3
|
+
import { aP as B, q as L, t as $, r as N, cx as I, c5 as x, bJ as P, x as H, ch as _, z as v } from "./index.js";
|
|
4
4
|
import { g as C } from "./series-types.js";
|
|
5
5
|
import { H as A, S as o, P as M } from "./common.js";
|
|
6
6
|
import { g as l, t as n, a as d, d as g } from "./chart-object-literals.js";
|
|
@@ -30,10 +30,10 @@ const R = (e) => {
|
|
|
30
30
|
const s = e.orderOptions?.data?.orderType;
|
|
31
31
|
return V(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
32
32
|
}, re = (e, r, s, t) => {
|
|
33
|
-
const i = C(r.series),
|
|
33
|
+
const i = C(r.series), y = B(r);
|
|
34
34
|
r.orderOptions ??= {};
|
|
35
|
-
let a =
|
|
36
|
-
if (
|
|
35
|
+
let a = y ? [""] : l.Ascending;
|
|
36
|
+
if (y)
|
|
37
37
|
e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
|
|
38
38
|
...r.orderOptions.data,
|
|
39
39
|
orderByY: a,
|
|
@@ -59,25 +59,25 @@ const R = (e) => {
|
|
|
59
59
|
xAxisField: s,
|
|
60
60
|
numericFields: t,
|
|
61
61
|
aggregationType: i,
|
|
62
|
-
mode:
|
|
62
|
+
mode: y,
|
|
63
63
|
layer: a,
|
|
64
64
|
numericFieldIndex: c,
|
|
65
|
-
seriesIndex:
|
|
65
|
+
seriesIndex: h,
|
|
66
66
|
splitByField: S = "",
|
|
67
67
|
fieldList: O
|
|
68
68
|
} = e, T = C(r.series), b = L(r.series);
|
|
69
69
|
let f;
|
|
70
70
|
if (E(a)) {
|
|
71
|
-
const
|
|
72
|
-
f = t.length === 1 && t[0] ===
|
|
71
|
+
const m = I(a);
|
|
72
|
+
f = t.length === 1 && t[0] === m;
|
|
73
73
|
} else {
|
|
74
|
-
const { idField:
|
|
75
|
-
f = D && t.length === 1 && t[0] ===
|
|
74
|
+
const { idField: m, isTraditionalTypeOID: D } = $(N(a));
|
|
75
|
+
f = D && t.length === 1 && t[0] === m;
|
|
76
76
|
}
|
|
77
77
|
let p = "y", F = "y";
|
|
78
78
|
switch (T) {
|
|
79
79
|
case d.PieSeries: {
|
|
80
|
-
i !== g.NoAggregation ?
|
|
80
|
+
i !== g.NoAggregation ? y === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
case d.BarSeries:
|
|
@@ -92,8 +92,8 @@ const R = (e) => {
|
|
|
92
92
|
fieldList: O ?? []
|
|
93
93
|
}) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
|
-
const
|
|
96
|
-
p = i !== g.NoAggregation ? `${i}_${
|
|
95
|
+
const m = t[0];
|
|
96
|
+
p = i !== g.NoAggregation ? `${i}_${m}_${h ?? 0}`.toUpperCase() : m, F = f ? u(g.Count) : u(`${i} of ${m}`);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
99
|
}
|
|
@@ -104,11 +104,11 @@ const R = (e) => {
|
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
function Y(e) {
|
|
107
|
-
const { fieldName: r, fieldList: s } = e, t =
|
|
107
|
+
const { fieldName: r, fieldList: s } = e, t = x(s ?? [], r);
|
|
108
108
|
return r === P || r === H || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
109
|
}
|
|
110
110
|
function j(e) {
|
|
111
|
-
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((
|
|
111
|
+
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((y) => x(s ?? [], y)?.type !== "esriFieldTypeOID");
|
|
112
112
|
return Y({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { a as c, G as S, d as x } from "./chart-object-literals.js";
|
|
3
3
|
import { ar as d, a0 as b, aA as _, as as m, aq as I } from "./index3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { t as C } from "./index.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";
|
|
@@ -35,19 +35,19 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
35
35
|
e.axes[0].ticks === void 0 && (e.axes[0].ticks = {
|
|
36
36
|
type: c.GaugeAxisTick
|
|
37
37
|
}), e.axes[0].ticks.visible = t;
|
|
38
|
-
},
|
|
38
|
+
}, oe = (t) => t.axes[0].labelsIncrement, re = (t, e) => {
|
|
39
39
|
e.axes[0].labelsIncrement = t;
|
|
40
40
|
}, ae = (t) => t.axes[0].onlyShowFirstAndLastLabels ?? !1, le = (t, e) => {
|
|
41
41
|
e.axes[0].onlyShowFirstAndLastLabels = t;
|
|
42
42
|
}, de = (t) => t.series[0]?.valueConversion, ge = (t, e) => {
|
|
43
43
|
e.series[0] !== void 0 && (e.series[0].valueConversion = t);
|
|
44
44
|
}, v = (t) => t.series[0]?.featureIndex, y = (t) => {
|
|
45
|
-
const { featureIndex: e, config: s, layerInfo: a, commonStrings:
|
|
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:
|
|
45
|
+
const { featureIndex: e, config: s, layerInfo: a, commonStrings: r } = t, l = f(s), g = h(s);
|
|
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
49
|
if (a !== x.NoAggregation) {
|
|
50
|
-
const
|
|
50
|
+
const r = v(e), l = p(r) ? {} : {
|
|
51
51
|
outStatistics: [
|
|
52
52
|
{
|
|
53
53
|
statisticType: a,
|
|
@@ -59,32 +59,32 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
59
59
|
e.series[0].query = l;
|
|
60
60
|
}
|
|
61
61
|
}, he = (t) => {
|
|
62
|
-
const { config: e, layerInfo: s, commonStrings: a, field:
|
|
62
|
+
const { config: e, layerInfo: s, commonStrings: a, field: r, aggregationType: l } = t;
|
|
63
63
|
e.title && (e.title.content.text = w({
|
|
64
64
|
config: e,
|
|
65
65
|
layerInfo: s,
|
|
66
66
|
commonStrings: a,
|
|
67
|
-
numericFields: [
|
|
67
|
+
numericFields: [r],
|
|
68
68
|
aggregationType: l
|
|
69
69
|
}));
|
|
70
70
|
}, u = (t) => {
|
|
71
71
|
const { config: e, field: s, aggregationType: a } = t;
|
|
72
72
|
e.series[0] === void 0 && (e.series = [m({})]);
|
|
73
|
-
const
|
|
74
|
-
let l =
|
|
75
|
-
|
|
73
|
+
const r = p(e.series[0]?.featureIndex);
|
|
74
|
+
let l = r ? s : `${a}_${s}`;
|
|
75
|
+
r && s.startsWith(`${a}_`) && (l = s.replace(`${a}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: a }), he(t);
|
|
76
76
|
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? x.Count, pe = (t) => {
|
|
77
|
-
const { config: e, layerInfo: s, commonStrings: a, aggregationType:
|
|
77
|
+
const { config: e, layerInfo: s, commonStrings: a, aggregationType: r } = t, l = f(e);
|
|
78
78
|
u({
|
|
79
79
|
config: e,
|
|
80
80
|
layerInfo: s,
|
|
81
81
|
commonStrings: a,
|
|
82
82
|
field: l,
|
|
83
|
-
aggregationType:
|
|
83
|
+
aggregationType: r
|
|
84
84
|
});
|
|
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
|
-
const { field: e, config: s, layerInfo: a, commonStrings:
|
|
87
|
-
u({ config: s, layerInfo: a, commonStrings:
|
|
86
|
+
const { field: e, config: s, layerInfo: a, commonStrings: r } = t, l = h(s);
|
|
87
|
+
u({ config: s, layerInfo: a, commonStrings: r, field: e, aggregationType: l });
|
|
88
88
|
}, ye = (t) => t.innerRadius ?? 50, xe = (t, e) => {
|
|
89
89
|
e.innerRadius = t;
|
|
90
90
|
}, be = (t) => t.startAngle ?? -90, me = (t, e) => {
|
|
@@ -95,10 +95,10 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
95
95
|
function _e(t) {
|
|
96
96
|
return _(t);
|
|
97
97
|
}
|
|
98
|
-
var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor,
|
|
99
|
-
for (var
|
|
100
|
-
(g = t[l]) && (
|
|
101
|
-
return
|
|
98
|
+
var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, o = (t, e, s, a) => {
|
|
99
|
+
for (var r = Ce(e, s), l = t.length - 1, g; l >= 0; l--)
|
|
100
|
+
(g = t[l]) && (r = g(e, s, r) || r);
|
|
101
|
+
return r && Ie(e, s, r), r;
|
|
102
102
|
};
|
|
103
103
|
class i extends L {
|
|
104
104
|
constructor() {
|
|
@@ -348,10 +348,10 @@ class i extends L {
|
|
|
348
348
|
* Labels increment for the gauge.
|
|
349
349
|
*/
|
|
350
350
|
get labelsIncrement() {
|
|
351
|
-
return
|
|
351
|
+
return oe(this._config);
|
|
352
352
|
}
|
|
353
353
|
set labelsIncrement(e) {
|
|
354
|
-
|
|
354
|
+
re(e, this._config);
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
357
357
|
* Whether to only show the first and last axis labels.
|
|
@@ -371,67 +371,67 @@ class i extends L {
|
|
|
371
371
|
return e.series = [m({ objectIDField: C(this.layerInfo.layer).idField })], e;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
|
|
374
|
+
o([
|
|
375
375
|
n
|
|
376
376
|
], i.prototype, "field");
|
|
377
|
-
|
|
377
|
+
o([
|
|
378
378
|
n
|
|
379
379
|
], i.prototype, "aggregationType");
|
|
380
|
-
|
|
380
|
+
o([
|
|
381
381
|
n
|
|
382
382
|
], i.prototype, "innerRadius");
|
|
383
|
-
|
|
383
|
+
o([
|
|
384
384
|
n
|
|
385
385
|
], i.prototype, "startAngle");
|
|
386
|
-
|
|
386
|
+
o([
|
|
387
387
|
n
|
|
388
388
|
], i.prototype, "endAngle");
|
|
389
|
-
|
|
389
|
+
o([
|
|
390
390
|
n
|
|
391
391
|
], i.prototype, "valueConversion");
|
|
392
|
-
|
|
392
|
+
o([
|
|
393
393
|
n
|
|
394
394
|
], i.prototype, "featureIndex");
|
|
395
|
-
|
|
395
|
+
o([
|
|
396
396
|
n
|
|
397
397
|
], i.prototype, "removeFeatureIndex");
|
|
398
|
-
|
|
398
|
+
o([
|
|
399
399
|
n
|
|
400
400
|
], i.prototype, "needleVisibility");
|
|
401
|
-
|
|
401
|
+
o([
|
|
402
402
|
n
|
|
403
403
|
], i.prototype, "needleSymbol");
|
|
404
|
-
|
|
404
|
+
o([
|
|
405
405
|
n
|
|
406
406
|
], i.prototype, "needleStartWidth");
|
|
407
|
-
|
|
407
|
+
o([
|
|
408
408
|
n
|
|
409
409
|
], i.prototype, "needleEndWidth");
|
|
410
|
-
|
|
410
|
+
o([
|
|
411
411
|
n
|
|
412
412
|
], i.prototype, "needleInnerRadius");
|
|
413
|
-
|
|
413
|
+
o([
|
|
414
414
|
n
|
|
415
415
|
], i.prototype, "needleDisplayPin");
|
|
416
|
-
|
|
416
|
+
o([
|
|
417
417
|
n
|
|
418
418
|
], i.prototype, "innerLabelVisible");
|
|
419
|
-
|
|
419
|
+
o([
|
|
420
420
|
n
|
|
421
421
|
], i.prototype, "innerLabelContent");
|
|
422
|
-
|
|
422
|
+
o([
|
|
423
423
|
n
|
|
424
424
|
], i.prototype, "progressBandsVisibility");
|
|
425
|
-
|
|
425
|
+
o([
|
|
426
426
|
n
|
|
427
427
|
], i.prototype, "progressBands");
|
|
428
|
-
|
|
428
|
+
o([
|
|
429
429
|
n
|
|
430
430
|
], i.prototype, "axisTickVisibility");
|
|
431
|
-
|
|
431
|
+
o([
|
|
432
432
|
n
|
|
433
433
|
], i.prototype, "labelsIncrement");
|
|
434
|
-
|
|
434
|
+
o([
|
|
435
435
|
n
|
|
436
436
|
], i.prototype, "onlyShowFirstAndLastLabels");
|
|
437
437
|
const Le = [
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { m as t } from "./model-setter.js";
|
|
3
3
|
import { H as n } from "./common.js";
|
|
4
4
|
import { S as u, g as _, a as S } from "./serial-chart-model.js";
|
|
5
|
-
import { F as C, G as T, H as F, I as A, J as O, K as x, L, M as R, N as D, O as I, P as v, Q as w, R as b, S as B, T as P, U as k, V as E, X as N, Y as W, Z as Y, _ as H, $ as G, a0 as M, a1 as U, a2 as V, a3 as X, a4 as j, a5 as K, a6 as Z, a7 as z, a8 as m, a9 as y, aa as J, ab as Q, ac as $, ad as q, ae as ee, af as te, z as d, ag as ie, ah as se, ai as
|
|
5
|
+
import { F as C, G as T, H as F, I as A, J as O, K as x, L, M as R, N as D, O as I, P as v, Q as w, R as b, S as B, T as P, U as k, V as E, X as N, Y as W, Z as Y, _ as H, $ as G, a0 as M, a1 as U, a2 as V, a3 as X, a4 as j, a5 as K, a6 as Z, a7 as z, a8 as m, a9 as y, aa as J, ab as Q, ac as $, ad as q, ae as ee, af as te, z as d, ag as ie, ah as se, ai as oe, aj as re, ak as ne, al as ae, am as ge, an as le } from "./serial-chart-data.js";
|
|
6
6
|
import { d as f } from "./data.js";
|
|
7
7
|
import { a as pe, d as p } from "./chart-object-literals.js";
|
|
8
8
|
import { at as ce } from "./index3.js";
|
|
9
|
-
import {
|
|
9
|
+
import { t as h } from "./index.js";
|
|
10
10
|
import { i as me } from "./index2.js";
|
|
11
|
-
var ye = Object.defineProperty, de = Object.getOwnPropertyDescriptor, i = (l, e,
|
|
12
|
-
for (var
|
|
13
|
-
(c = l[g]) && (
|
|
14
|
-
return
|
|
11
|
+
var ye = Object.defineProperty, de = Object.getOwnPropertyDescriptor, i = (l, e, o, a) => {
|
|
12
|
+
for (var r = de(e, o), g = l.length - 1, c; g >= 0; g--)
|
|
13
|
+
(c = l[g]) && (r = c(e, o, r) || r);
|
|
14
|
+
return r && ye(e, o, r), r;
|
|
15
15
|
};
|
|
16
16
|
class s extends u {
|
|
17
17
|
constructor() {
|
|
@@ -254,9 +254,9 @@ class s extends u {
|
|
|
254
254
|
return e !== void 0 ? [e] : [];
|
|
255
255
|
}
|
|
256
256
|
set numericFields(e) {
|
|
257
|
-
const { idField:
|
|
258
|
-
this._numericFields = [
|
|
259
|
-
field:
|
|
257
|
+
const { idField: o } = h(this.layerInfo.layer), a = me(e[0]), r = a ? o : e[0];
|
|
258
|
+
this._numericFields = [r], z({
|
|
259
|
+
field: r,
|
|
260
260
|
config: this._config,
|
|
261
261
|
layerInfo: this.layerInfo,
|
|
262
262
|
commonStrings: this.commonStrings
|
|
@@ -327,7 +327,7 @@ class s extends u {
|
|
|
327
327
|
getSortOrder() {
|
|
328
328
|
return n.Asc;
|
|
329
329
|
}
|
|
330
|
-
setSortOrder(e,
|
|
330
|
+
setSortOrder(e, o) {
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
333
333
|
* Get the sort order on the x axis for the heat chart.
|
|
@@ -337,8 +337,8 @@ class s extends u {
|
|
|
337
337
|
const e = d(this._config)[0];
|
|
338
338
|
return e === n.Asc || e === n.Desc || e === n.customSort ? e : n.Asc;
|
|
339
339
|
}
|
|
340
|
-
setXAxisSortOrder(e,
|
|
341
|
-
f(e, this._config,
|
|
340
|
+
setXAxisSortOrder(e, o) {
|
|
341
|
+
f(e, this._config, o);
|
|
342
342
|
}
|
|
343
343
|
/**
|
|
344
344
|
* Gets the sort order for on the y axis for heat chart.
|
|
@@ -348,8 +348,8 @@ class s extends u {
|
|
|
348
348
|
const e = d(this._config)[1];
|
|
349
349
|
return e === n.Asc || e === n.Desc || e === n.customSort ? e : n.Asc;
|
|
350
350
|
}
|
|
351
|
-
setYAxisSortOrder(e,
|
|
352
|
-
f(e, this._config,
|
|
351
|
+
setYAxisSortOrder(e, o) {
|
|
352
|
+
f(e, this._config, o, !0);
|
|
353
353
|
}
|
|
354
354
|
get emptyCellText() {
|
|
355
355
|
return ie(this._config);
|
|
@@ -358,14 +358,14 @@ class s extends u {
|
|
|
358
358
|
se(e, this._config);
|
|
359
359
|
}
|
|
360
360
|
get includeLeapDay() {
|
|
361
|
-
return
|
|
361
|
+
return oe(this._config);
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
364
|
* Whether to include leap day (February 29) in the heat chart when using "day of month" temporal binning.
|
|
365
365
|
*/
|
|
366
366
|
set includeLeapDay(e) {
|
|
367
367
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
368
|
-
|
|
368
|
+
re(e, this._config), this.emitConfigUpdate("includeLeapDay");
|
|
369
369
|
});
|
|
370
370
|
}
|
|
371
371
|
/**
|
|
@@ -398,7 +398,7 @@ class s extends u {
|
|
|
398
398
|
}
|
|
399
399
|
set rotated(e) {
|
|
400
400
|
}
|
|
401
|
-
setAssignToSecondValueAxis(e,
|
|
401
|
+
setAssignToSecondValueAxis(e, o) {
|
|
402
402
|
}
|
|
403
403
|
/**
|
|
404
404
|
* The heat chart's second axis (not supported)
|
|
@@ -408,7 +408,7 @@ class s extends u {
|
|
|
408
408
|
getAssignToSecondValueAxis() {
|
|
409
409
|
return !1;
|
|
410
410
|
}
|
|
411
|
-
setSeriesToSecondaryYAxis(e,
|
|
411
|
+
setSeriesToSecondaryYAxis(e, o) {
|
|
412
412
|
}
|
|
413
413
|
/**
|
|
414
414
|
* The heat chart's secondary y-axis (not supported)
|
|
@@ -429,8 +429,8 @@ class s extends u {
|
|
|
429
429
|
*/
|
|
430
430
|
generateDefaultConfig() {
|
|
431
431
|
const e = ce(this.commonStrings, h(this.layerInfo.layer).idField);
|
|
432
|
-
return e.axes?.forEach((
|
|
433
|
-
|
|
432
|
+
return e.axes?.forEach((o, a) => {
|
|
433
|
+
o && (o.valueFormat = {
|
|
434
434
|
// use short date format for y axis labels
|
|
435
435
|
intlOptions: { timeZone: void 0, dateStyle: a > 0 ? "long" : "medium" },
|
|
436
436
|
type: "date"
|
package/dist/chunks/index.js
CHANGED
|
@@ -9431,59 +9431,59 @@ function bc(t) {
|
|
|
9431
9431
|
return i && "nullCategory" in i && (e = i.nullCategory?.text), e;
|
|
9432
9432
|
}
|
|
9433
9433
|
export {
|
|
9434
|
-
|
|
9434
|
+
De as $,
|
|
9435
9435
|
oe as A,
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9436
|
+
qt as B,
|
|
9437
|
+
Pr as C,
|
|
9438
|
+
Et as D,
|
|
9439
|
+
Wr as E,
|
|
9440
|
+
Dn as F,
|
|
9441
|
+
ud as G,
|
|
9442
|
+
wd as H,
|
|
9443
|
+
Hi as I,
|
|
9444
|
+
Rf as J,
|
|
9445
|
+
us as K,
|
|
9446
|
+
pf as L,
|
|
9447
|
+
Xe as M,
|
|
9448
|
+
Ie as N,
|
|
9449
|
+
re as O,
|
|
9450
|
+
ue as P,
|
|
9451
|
+
q as Q,
|
|
9452
|
+
ae as R,
|
|
9453
|
+
Ea as S,
|
|
9454
|
+
Td as T,
|
|
9455
|
+
Od as U,
|
|
9456
|
+
se as V,
|
|
9457
|
+
Ss as W,
|
|
9458
|
+
de as X,
|
|
9459
|
+
pd as Y,
|
|
9460
|
+
Be as Z,
|
|
9461
|
+
Ld as _,
|
|
9462
9462
|
Ud as a,
|
|
9463
9463
|
Yl as a$,
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9464
|
+
Zf as a0,
|
|
9465
|
+
uu as a1,
|
|
9466
|
+
fr as a2,
|
|
9467
|
+
tm as a3,
|
|
9468
|
+
Sf as a4,
|
|
9469
|
+
ya as a5,
|
|
9470
|
+
Hs as a6,
|
|
9471
|
+
Kf as a7,
|
|
9472
|
+
Yn as a8,
|
|
9473
|
+
em as a9,
|
|
9474
|
+
pm as aA,
|
|
9475
|
+
hm as aB,
|
|
9476
|
+
xm as aC,
|
|
9477
|
+
Cm as aD,
|
|
9478
|
+
cd as aE,
|
|
9479
|
+
cf as aF,
|
|
9480
|
+
gm as aG,
|
|
9481
|
+
mm as aH,
|
|
9482
|
+
Dd as aI,
|
|
9483
|
+
ui as aJ,
|
|
9484
|
+
Ft as aK,
|
|
9485
|
+
df as aL,
|
|
9486
|
+
os as aM,
|
|
9487
9487
|
Cf as aN,
|
|
9488
9488
|
gr as aO,
|
|
9489
9489
|
je as aP,
|
|
@@ -9498,32 +9498,32 @@ export {
|
|
|
9498
9498
|
Jl as aY,
|
|
9499
9499
|
Pf as aZ,
|
|
9500
9500
|
zf as a_,
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9501
|
+
dd as aa,
|
|
9502
|
+
Bf as ab,
|
|
9503
|
+
Nf as ac,
|
|
9504
|
+
xt as ad,
|
|
9505
|
+
Qf as ae,
|
|
9506
|
+
kr as af,
|
|
9507
|
+
lf as ag,
|
|
9508
|
+
tu as ah,
|
|
9509
|
+
Kl as ai,
|
|
9510
|
+
sr as aj,
|
|
9511
|
+
rf as ak,
|
|
9512
|
+
If as al,
|
|
9513
|
+
im as am,
|
|
9514
|
+
Ui as an,
|
|
9515
|
+
of as ao,
|
|
9516
|
+
xf as ap,
|
|
9517
|
+
uf as aq,
|
|
9518
|
+
Pm as ar,
|
|
9519
|
+
Jf as as,
|
|
9520
|
+
We as at,
|
|
9521
|
+
ff as au,
|
|
9522
|
+
Md as av,
|
|
9523
|
+
le as aw,
|
|
9524
|
+
wm as ax,
|
|
9525
|
+
ym as ay,
|
|
9526
|
+
Fm as az,
|
|
9527
9527
|
Hd as b,
|
|
9528
9528
|
Ia as b$,
|
|
9529
9529
|
nf as b0,
|
|
@@ -9717,25 +9717,25 @@ export {
|
|
|
9717
9717
|
Kd as dy,
|
|
9718
9718
|
Bt as dz,
|
|
9719
9719
|
Pd as e,
|
|
9720
|
-
|
|
9721
|
-
|
|
9720
|
+
Nd as f,
|
|
9721
|
+
Li as g,
|
|
9722
9722
|
fm as h,
|
|
9723
9723
|
$s as i,
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9724
|
+
sm as j,
|
|
9725
|
+
Bm as k,
|
|
9726
|
+
bf as l,
|
|
9727
9727
|
Cd as m,
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9732
|
-
|
|
9728
|
+
lu as n,
|
|
9729
|
+
ld as o,
|
|
9730
|
+
nm as p,
|
|
9731
|
+
G as q,
|
|
9732
|
+
W as r,
|
|
9733
9733
|
Df as s,
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
|
|
9739
|
-
|
|
9740
|
-
|
|
9734
|
+
Le as t,
|
|
9735
|
+
Ae as u,
|
|
9736
|
+
pu as v,
|
|
9737
|
+
$t as w,
|
|
9738
|
+
me as x,
|
|
9739
|
+
ef as y,
|
|
9740
|
+
Ne as z
|
|
9741
9741
|
};
|
package/dist/chunks/index4.js
CHANGED
|
@@ -4,7 +4,7 @@ import P from "ajv";
|
|
|
4
4
|
import { g as k } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as B } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as N } from "@arcgis/toolkit/intl/dom";
|
|
7
|
-
import { cd as u,
|
|
7
|
+
import { cd as u, r as E, aT as M, aw as C, bN as V, q as I, x as T, bA as z, ce as G, u as x, b_ as W, aQ as U, bv as F, cf as H, bl as J, X as _, cg as K, bJ as Q, z as Z, ch as X, N as Y, O as ee } from "./index.js";
|
|
8
8
|
import { l as te, q as ie } from "./index3.js";
|
|
9
9
|
import { i as v, a as h, D as re } from "./index2.js";
|
|
10
10
|
import { g as S } from "./series-types.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { a as d } from "./chart-object-literals.js";
|
|
3
3
|
import { av as m, Y as l, g as S, r as c } from "./index3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { t as a } from "./index.js";
|
|
5
5
|
import { m as g } from "./model-setter.js";
|
|
6
6
|
import { M as y } 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";
|
|
@@ -4,7 +4,7 @@ import { getElementLocale as l } from "@arcgis/toolkit/intl/dom";
|
|
|
4
4
|
import { g as m } from "./runtime.js";
|
|
5
5
|
import { convertChartSpec as y } from "../utils/chart-config/converter/index.js";
|
|
6
6
|
import { a6 as p } from "./index3.js";
|
|
7
|
-
import { bM as o, bg as u,
|
|
7
|
+
import { bM as o, bg as u, u as _, t as C } from "./index.js";
|
|
8
8
|
import { cloneDeep as U } from "es-toolkit/compat";
|
|
9
9
|
const h = 30;
|
|
10
10
|
function v(r, e, t, i) {
|
|
@@ -8,7 +8,7 @@ import { g as k } from "./series-length.js";
|
|
|
8
8
|
import { g as _ } from "./utils2.js";
|
|
9
9
|
import { a6 as z, I as G, af as H } from "./index3.js";
|
|
10
10
|
import { b as P } from "./index2.js";
|
|
11
|
-
import {
|
|
11
|
+
import { x as A, t as B, z as w } from "./index.js";
|
|
12
12
|
import { i as K } from "./index4.js";
|
|
13
13
|
import { d as p, g as C, t as f } from "./chart-object-literals.js";
|
|
14
14
|
function v(s) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { a as g } from "./chart-object-literals.js";
|
|
4
|
-
import {
|
|
4
|
+
import { q as b, t as R } from "./index.js";
|
|
5
5
|
import { i as B } from "./index4.js";
|
|
6
6
|
import { a6 as p, ax as W, k as L, p as k, aw as E, af as j } from "./index3.js";
|
|
7
7
|
import { a as f, b as K } from "./index2.js";
|
|
@@ -7,7 +7,7 @@ import { m as d } from "./model-setter.js";
|
|
|
7
7
|
import { a as L, m as C } from "./chart-object-literals.js";
|
|
8
8
|
import { M as V } from "./model-with-line-marker-styling.js";
|
|
9
9
|
import { ay as v, Z as x, g as B, r as X } from "./index3.js";
|
|
10
|
-
import {
|
|
10
|
+
import { t as l } from "./index.js";
|
|
11
11
|
var I = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, h = (a, i, e, t) => {
|
|
12
12
|
for (var s = _(i, e), r = a.length - 1, n; r >= 0; r--)
|
|
13
13
|
(n = a[r]) && (s = n(i, e, s) || s);
|