@arcgis/charts-components 5.1.0-next.85 → 5.1.0-next.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{4JYFPXNP.js → 27R3TDQ3.js} +1 -1
- package/dist/cdn/{TRBZZLQ4.js → 2P5TV6TZ.js} +1 -1
- package/dist/cdn/{QBGYIPDE.js → 2PY6XJ5J.js} +32 -32
- package/dist/cdn/{E2TM7BJP.js → 2YZFLCHV.js} +1 -1
- package/dist/cdn/{R3KMZ5JQ.js → 3UGQ33ZJ.js} +1 -1
- package/dist/cdn/45N4ERUO.js +2 -0
- package/dist/cdn/{UUKLISLI.js → 4OBWKQXV.js} +1 -1
- package/dist/cdn/{54XEB3TI.js → 5C6NKK2M.js} +1 -1
- package/dist/cdn/{YWCBY5V6.js → 5P2CIK73.js} +1 -1
- package/dist/cdn/{3DN4ZRPN.js → 6CGIXX6D.js} +1 -1
- package/dist/cdn/{G7SW4EUO.js → 6FI7BQHR.js} +1 -1
- package/dist/cdn/{LQGOVHK5.js → 6TU7TELQ.js} +1 -1
- package/dist/cdn/{XXZLJJUD.js → 6U3ROWZZ.js} +1 -1
- package/dist/cdn/{YDR7QMVT.js → 7BU2NYJF.js} +1 -1
- package/dist/cdn/{4M44GUGJ.js → 7FAH7JCG.js} +1 -1
- package/dist/cdn/{64LZP4QQ.js → AOBR2FZX.js} +1 -1
- package/dist/cdn/{SUAG7EYU.js → AUF6Z2XS.js} +1 -1
- package/dist/cdn/{NT6PM5XH.js → AWKPSK42.js} +1 -1
- package/dist/cdn/{DLKG6DVQ.js → B2EZWE7S.js} +1 -1
- package/dist/cdn/{RL2K7DDP.js → BQAMQZ3V.js} +1 -1
- package/dist/cdn/{NFHOSKHP.js → DNF2AXKJ.js} +1 -1
- package/dist/cdn/{PNXMBMZW.js → DPB4UM43.js} +1 -1
- package/dist/cdn/{MO6SHL7R.js → E236NXER.js} +1 -1
- package/dist/cdn/{TUAKPBN6.js → E5GUU5JX.js} +1 -1
- package/dist/cdn/{NSIRDSJE.js → ECWZPFK5.js} +1 -1
- package/dist/cdn/{I346TCJF.js → EDG6NE3Q.js} +1 -1
- package/dist/cdn/{NGG777T3.js → EVB7GUKT.js} +2 -2
- package/dist/cdn/EVQPWQQD.js +99 -0
- package/dist/cdn/{DMFLHZHN.js → FEOJNWJU.js} +1 -1
- package/dist/cdn/{EF2W7QYA.js → FTGZEUG5.js} +1 -1
- package/dist/cdn/{KOP2PBMW.js → FTMDNRQ4.js} +1 -1
- package/dist/cdn/G37XSGAU.js +2 -0
- package/dist/cdn/{DJ2U4EHB.js → GIDKEEAF.js} +1 -1
- package/dist/cdn/{EQTKAWX7.js → GKB2KMVK.js} +1 -1
- package/dist/cdn/{4T6ARKXI.js → H4V744QH.js} +1 -1
- package/dist/cdn/H5LAP626.js +2 -0
- package/dist/cdn/{X43NGKXD.js → IO7XSZZJ.js} +1 -1
- package/dist/cdn/{6ZQWP3MJ.js → J55BL4K2.js} +1 -1
- package/dist/cdn/{PNDSQQ5E.js → JBWZAGT4.js} +1 -1
- package/dist/cdn/{JKNNRHD2.js → JJVDA3DN.js} +1 -1
- package/dist/cdn/JK4I5WFK.js +2 -0
- package/dist/cdn/{BCCYIEWA.js → JMR3NFDK.js} +1 -1
- package/dist/cdn/{HLWXN26K.js → JRBIKCLX.js} +1 -1
- package/dist/cdn/{XP5EHKK5.js → JVUPGGG4.js} +1 -1
- package/dist/cdn/{7R74WZE5.js → KMIWEAU6.js} +1 -1
- package/dist/cdn/{EPJKU44A.js → KSO34SAO.js} +1 -1
- package/dist/cdn/{VICPGXIO.js → L4V7IFLS.js} +1 -1
- package/dist/cdn/{ZZ6ZKTOB.js → LCPXJOVJ.js} +1 -1
- package/dist/cdn/{ABINJ3BK.js → LLMY5OHZ.js} +1 -1
- package/dist/cdn/{4NGF4CFB.js → LRKPA44Q.js} +1 -1
- package/dist/cdn/{UP66E6QT.js → MXWWYMFC.js} +1 -1
- package/dist/cdn/{3EZT4DMV.js → MZP3HKKC.js} +1 -1
- package/dist/cdn/{DCK2YGKJ.js → N5SWE4NH.js} +1 -1
- package/dist/cdn/{5FR6VDUA.js → N72YIV7E.js} +1 -1
- package/dist/cdn/{GY72PUJO.js → NGI7H6FA.js} +1 -1
- package/dist/cdn/{PVGB35UN.js → NL5S3OE6.js} +1 -1
- package/dist/cdn/{6WHMWFQV.js → NPB7D5KA.js} +1 -1
- package/dist/cdn/{XDQXFURT.js → NZW6ACIT.js} +1 -1
- package/dist/cdn/{OFVDF7MK.js → O2LUS7QH.js} +1 -1
- package/dist/cdn/{AU5I6VM4.js → OQNYW7IP.js} +1 -1
- package/dist/cdn/{5KBAXDQP.js → OZJAKFKE.js} +1 -1
- package/dist/cdn/{KQPSYN5C.js → P5PYOHCA.js} +1 -1
- package/dist/cdn/{ESPYLUAE.js → PE3FCPYX.js} +1 -1
- package/dist/cdn/{G6DYYIOL.js → PHEGFURT.js} +1 -1
- package/dist/cdn/{IWIH7WUN.js → Q2EXXGKR.js} +1 -1
- package/dist/cdn/{7HR7XH2G.js → Q4T4D2LB.js} +1 -1
- package/dist/cdn/{WAOI2ELL.js → QC5B3B6A.js} +1 -1
- package/dist/cdn/{U436QJR4.js → QULJVW56.js} +1 -1
- package/dist/cdn/{CRP74XRF.js → RAYEVTTF.js} +1 -1
- package/dist/cdn/{N333UOH4.js → RFBBY6PC.js} +1 -1
- package/dist/cdn/{VF57GKNK.js → RI3UECXS.js} +1 -1
- package/dist/cdn/{I3F7HHTI.js → RNDCOMA2.js} +1 -1
- package/dist/cdn/{6LEDHDVS.js → S7T24OCU.js} +1 -1
- package/dist/cdn/{45UZ5A2P.js → TBLK3BOQ.js} +1 -1
- package/dist/cdn/{XBPOWLBI.js → TS4AXHNJ.js} +1 -1
- package/dist/cdn/{QXUDRWYI.js → UBDNMJPP.js} +1 -1
- package/dist/cdn/{H6CD2WG5.js → UMK53D2L.js} +1 -1
- package/dist/cdn/{UVWAABXY.js → VGFOPTRV.js} +1 -1
- package/dist/cdn/{TMCW2LUV.js → VK7C24TQ.js} +1 -1
- package/dist/cdn/{NG4T3CM7.js → VMYL36WS.js} +1 -1
- package/dist/cdn/{ZXHUZALT.js → VYWV24JN.js} +1 -1
- package/dist/cdn/{TXUK6Z75.js → W44VQVU5.js} +1 -1
- package/dist/cdn/{SN3JJXMR.js → WHVMPOF6.js} +1 -1
- package/dist/cdn/{7CQDF63V.js → WPIPMEWS.js} +1 -1
- package/dist/cdn/{Q5N7EDBG.js → WZ2UHREI.js} +1 -1
- package/dist/cdn/{ADAJBZRP.js → YG3PYTVU.js} +1 -1
- package/dist/cdn/{MPEXW6QX.js → YZABL4ES.js} +1 -1
- package/dist/cdn/{5JYTP6ED.js → Z4W5GME2.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +5 -0
- package/dist/chunks/axis-lines-symbol.js +12 -12
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-data.js +52 -52
- package/dist/chunks/box-plot-model.js +8 -8
- package/dist/chunks/chart-model.js +34 -34
- package/dist/chunks/chart-ui-utils2.js +8 -8
- package/dist/chunks/class-breaks.js +10 -10
- package/dist/chunks/combo-bar-line-chart-model.js +11 -11
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data.js +20 -20
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +5 -5
- package/dist/chunks/histogram-data.js +8 -8
- package/dist/chunks/histogram-model.js +7 -7
- package/dist/chunks/index.js +1918 -1773
- package/dist/chunks/index2.js +60 -60
- package/dist/chunks/index3.js +10 -10
- package/dist/chunks/interfaces.js +5 -5
- package/dist/chunks/line-chart-model.js +7 -7
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-with-guides.js +7 -7
- package/dist/chunks/model-with-tooltips.js +21 -21
- package/dist/chunks/model-with-y-guides.js +9 -9
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +16 -16
- package/dist/chunks/pie-chart-model.js +12 -12
- package/dist/chunks/radar-chart-model.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +63 -63
- package/dist/chunks/serial-chart-data.js +208 -208
- package/dist/chunks/serial-chart-model.js +19 -19
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/{action-bar-utils.js → type-guards2.js} +33 -25
- package/dist/chunks/utils.js +35 -35
- package/dist/chunks/utils2.js +5 -5
- package/dist/chunks/web-component-utils.js +12 -12
- package/dist/components/arcgis-chart/customElement.d.ts +93 -55
- package/dist/components/arcgis-chart/customElement.js +4294 -4271
- package/dist/components/arcgis-charts-action-bar/customElement.js +35 -38
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +395 -392
- package/dist/interfaces.d.ts +2 -1
- package/dist/json-schema/index.d.ts +79 -2
- package/dist/spec/rest-js-types.d.ts +15 -0
- package/dist/spec/web-chart.d.ts +2 -2
- package/dist/utils/chart-config/validator/index.d.ts +2 -0
- package/dist/utils/data/interfaces.d.ts +2 -0
- package/dist/utils/layer/index.d.ts +7 -12
- package/dist/utils/layer/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/LNB6B5WL.js +0 -2
- package/dist/cdn/SL2YX32M.js +0 -2
- package/dist/cdn/TQNTRGWQ.js +0 -99
- package/dist/cdn/UE5DMUQ3.js +0 -2
- package/dist/cdn/YPCD27EC.js +0 -2
|
@@ -4,16 +4,16 @@ import { B as P } from "./common.js";
|
|
|
4
4
|
import { W as D, a as T, b as V } from "./axis-lines-symbol.js";
|
|
5
5
|
import { W as N, b as E } from "./model-with-guides.js";
|
|
6
6
|
import { W as R, a as U, b as z } from "./generate-x-axis-title.js";
|
|
7
|
-
import { M as X, a as K, W as j, b as
|
|
8
|
-
import { W as
|
|
9
|
-
import { W as
|
|
10
|
-
import { g as
|
|
7
|
+
import { M as X, a as K, W as j, b as G } from "./model-with-tooltips.js";
|
|
8
|
+
import { W as Y } from "./rotated-state.js";
|
|
9
|
+
import { W as k } from "./data-labels-symbol.js";
|
|
10
|
+
import { g as q, s as g, a as J, b as f } from "./series.js";
|
|
11
11
|
import { b as H, c as Q, a as Z } from "./utils.js";
|
|
12
12
|
import { s as $, d as ee, e as te, f as se, h as ie, i as y, j as p, k as u, l as m, m as S, g as oe, n as re, o as ne, p as L, a as ae, c as le, b as he, q as ce, r as _, t as de, u as C, v as ge, w as B, x as fe, y as ye, z as pe, A as ue, B as me, C as Se, D as M } from "./box-plot-data.js";
|
|
13
13
|
import { m as r } from "./model-setter.js";
|
|
14
14
|
import { log as F } from "@arcgis/toolkit/log";
|
|
15
15
|
import { u as Le } from "./series-types.js";
|
|
16
|
-
import { z as x,
|
|
16
|
+
import { z as x, aE as _e, aG as Ce, bK as Be, dN as Me, F as b, J as v, K as w } from "./index.js";
|
|
17
17
|
import { g as l } from "./index4.js";
|
|
18
18
|
import { M as Fe, a as xe } from "./model-with-y-guides.js";
|
|
19
19
|
var be = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, n = (c, e, t, s) => {
|
|
@@ -256,7 +256,7 @@ class i extends A {
|
|
|
256
256
|
getSeriesLineStyle(e) {
|
|
257
257
|
const t = this._config.series[e];
|
|
258
258
|
if (this.showMeanLines === !0 && l(t))
|
|
259
|
-
return
|
|
259
|
+
return q(t);
|
|
260
260
|
}
|
|
261
261
|
setSeriesLineStyle(e, t) {
|
|
262
262
|
const s = this._config.series[t];
|
|
@@ -272,7 +272,7 @@ class i extends A {
|
|
|
272
272
|
getSeriesLineWidth(e) {
|
|
273
273
|
const t = this._config.series[e];
|
|
274
274
|
if (this.showMeanLines === !0 && l(t))
|
|
275
|
-
return
|
|
275
|
+
return J(t);
|
|
276
276
|
}
|
|
277
277
|
setSeriesLineWidth(e, t) {
|
|
278
278
|
const s = this._config.series[t];
|
|
@@ -416,9 +416,9 @@ const we = [
|
|
|
416
416
|
X,
|
|
417
417
|
K,
|
|
418
418
|
j,
|
|
419
|
-
k,
|
|
420
419
|
Y,
|
|
421
420
|
G,
|
|
421
|
+
k,
|
|
422
422
|
xe,
|
|
423
423
|
R,
|
|
424
424
|
N,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { a as w } from "./utils.js";
|
|
3
|
-
import { a as j, W, c as F, d as
|
|
3
|
+
import { a 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 "./series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import {
|
|
9
|
+
import { aJ as p, T as c, aN as f, e0 as I, aq as N } 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";
|
|
@@ -37,7 +37,7 @@ var R = Object.defineProperty, M = Object.getOwnPropertyDescriptor, U = (e, t, r
|
|
|
37
37
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
38
38
|
return i && R(t, r, i), i;
|
|
39
39
|
};
|
|
40
|
-
const B = (e) => e.title?.content,
|
|
40
|
+
const B = (e) => e.title?.content, q = (e, t) => {
|
|
41
41
|
if (e) {
|
|
42
42
|
const r = j(t);
|
|
43
43
|
t.title === void 0 && (t.title = p({
|
|
@@ -56,16 +56,16 @@ class u extends n {
|
|
|
56
56
|
return B(this._config);
|
|
57
57
|
}
|
|
58
58
|
set titleSymbol(t) {
|
|
59
|
-
|
|
59
|
+
q(t, this._config);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
U([
|
|
63
63
|
a
|
|
64
64
|
], u.prototype, "titleSymbol");
|
|
65
|
-
var
|
|
66
|
-
for (var i =
|
|
65
|
+
var E = Object.defineProperty, J = Object.getOwnPropertyDescriptor, z = (e, t, r, l) => {
|
|
66
|
+
for (var i = J(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
67
67
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
68
|
-
return i &&
|
|
68
|
+
return i && E(t, r, i), i;
|
|
69
69
|
};
|
|
70
70
|
class h extends n {
|
|
71
71
|
/**
|
|
@@ -92,7 +92,7 @@ class A extends n {
|
|
|
92
92
|
const G = (e) => e.id, H = (e, t) => {
|
|
93
93
|
t.id = e;
|
|
94
94
|
};
|
|
95
|
-
class
|
|
95
|
+
class K extends n {
|
|
96
96
|
/**
|
|
97
97
|
* The chart ID.
|
|
98
98
|
*/
|
|
@@ -103,19 +103,19 @@ class J extends n {
|
|
|
103
103
|
H(t, this._config);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
const
|
|
107
|
-
class
|
|
106
|
+
const Q = (e) => e.version;
|
|
107
|
+
class X extends n {
|
|
108
108
|
/**
|
|
109
109
|
* The version of the chart configuration.
|
|
110
110
|
*/
|
|
111
111
|
get version() {
|
|
112
|
-
return
|
|
112
|
+
return Q(this._config);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
var
|
|
116
|
-
for (var i =
|
|
115
|
+
var Y = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, k = (e, t, r, l) => {
|
|
116
|
+
for (var i = Z(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
117
117
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
118
|
-
return i &&
|
|
118
|
+
return i && Y(t, r, i), i;
|
|
119
119
|
};
|
|
120
120
|
const b = (e) => e.subtitle?.content.text ?? "", tt = (e, t) => {
|
|
121
121
|
t.subtitle !== void 0 ? t.subtitle.content.text = e : e !== void 0 && (t.subtitle = p({
|
|
@@ -369,10 +369,10 @@ class D extends n {
|
|
|
369
369
|
jt([
|
|
370
370
|
a
|
|
371
371
|
], D.prototype, "chartRenderer");
|
|
372
|
-
var
|
|
373
|
-
for (var i =
|
|
372
|
+
var Lt = Object.defineProperty, It = Object.getOwnPropertyDescriptor, Nt = (e, t, r, l) => {
|
|
373
|
+
for (var i = It(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
374
374
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
375
|
-
return i &&
|
|
375
|
+
return i && Lt(t, r, i), i;
|
|
376
376
|
};
|
|
377
377
|
const Rt = (e) => e.background, Mt = (e, t) => {
|
|
378
378
|
t.background = e;
|
|
@@ -391,13 +391,13 @@ class S extends n {
|
|
|
391
391
|
Nt([
|
|
392
392
|
a
|
|
393
393
|
], S.prototype, "backgroundColor");
|
|
394
|
-
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor,
|
|
394
|
+
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, qt = (e, t, r, l) => {
|
|
395
395
|
for (var i = Bt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
396
396
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
397
397
|
return i && Ut(t, r, i), i;
|
|
398
398
|
};
|
|
399
|
-
const
|
|
400
|
-
|
|
399
|
+
const Et = (e, t) => t.series[e].visible ?? !0, Jt = (e, t) => {
|
|
400
|
+
I({ detail: e }, t);
|
|
401
401
|
};
|
|
402
402
|
class C extends n {
|
|
403
403
|
/**
|
|
@@ -406,13 +406,13 @@ class C extends n {
|
|
|
406
406
|
* @param seriesIndex The series index
|
|
407
407
|
*/
|
|
408
408
|
getSeriesVisibility(t) {
|
|
409
|
-
return
|
|
409
|
+
return Et(t, this._config);
|
|
410
410
|
}
|
|
411
411
|
setSeriesVisibility(t) {
|
|
412
|
-
|
|
412
|
+
Jt(t, this._config);
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
|
|
415
|
+
qt([
|
|
416
416
|
a
|
|
417
417
|
], C.prototype, "setSeriesVisibility");
|
|
418
418
|
const zt = (e, t) => t.series[e]?.id;
|
|
@@ -439,19 +439,19 @@ class Ht extends n {
|
|
|
439
439
|
return Gt(t, this._config);
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
const
|
|
443
|
-
class
|
|
442
|
+
const Kt = (e) => N(e.series);
|
|
443
|
+
class Qt extends n {
|
|
444
444
|
/**
|
|
445
445
|
* The chart sub type of the series.
|
|
446
446
|
*/
|
|
447
447
|
get chartSubType() {
|
|
448
|
-
return
|
|
448
|
+
return Kt(this._config);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
var
|
|
452
|
-
for (var i =
|
|
451
|
+
var Xt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, Zt = (e, t, r, l) => {
|
|
452
|
+
for (var i = Yt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
453
453
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
454
|
-
return i &&
|
|
454
|
+
return i && Xt(t, r, i), i;
|
|
455
455
|
};
|
|
456
456
|
const kt = (e, t) => {
|
|
457
457
|
let r;
|
|
@@ -479,7 +479,7 @@ class T extends n {
|
|
|
479
479
|
});
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
|
|
482
|
+
Zt([
|
|
483
483
|
a
|
|
484
484
|
], T.prototype, "setDataTooltipValueFormat");
|
|
485
485
|
var ee = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, re = (e, t, r, l) => {
|
|
@@ -533,10 +533,10 @@ class fe extends n {
|
|
|
533
533
|
const ue = [
|
|
534
534
|
h,
|
|
535
535
|
A,
|
|
536
|
-
|
|
536
|
+
K,
|
|
537
537
|
W,
|
|
538
538
|
u,
|
|
539
|
-
|
|
539
|
+
X,
|
|
540
540
|
_,
|
|
541
541
|
d,
|
|
542
542
|
g,
|
|
@@ -550,10 +550,10 @@ const ue = [
|
|
|
550
550
|
At,
|
|
551
551
|
Ht,
|
|
552
552
|
F,
|
|
553
|
-
|
|
553
|
+
Qt,
|
|
554
554
|
T,
|
|
555
555
|
V,
|
|
556
|
-
|
|
556
|
+
L,
|
|
557
557
|
$
|
|
558
558
|
];
|
|
559
559
|
w(fe, ue);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "@arcgis/toolkit/type";
|
|
3
3
|
import { r as s, d as o } from "./series-types.js";
|
|
4
4
|
import { g as u } from "./rest-js-object-literals.js";
|
|
5
|
-
import {
|
|
5
|
+
import { bl as p, dd as f, x as b } from "./index.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "luxon";
|
|
@@ -29,7 +29,7 @@ import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
|
29
29
|
import "@arcgis/core/geometry/Extent.js";
|
|
30
30
|
import "@arcgis/core/geometry/Point.js";
|
|
31
31
|
import { i as g } from "./utils.js";
|
|
32
|
-
import { F as m, W as
|
|
32
|
+
import { F as m, W as d } from "./interfaces.js";
|
|
33
33
|
import { F as r } from "./common.js";
|
|
34
34
|
const $ = {
|
|
35
35
|
DebounceTimer: 400,
|
|
@@ -104,7 +104,7 @@ const re = {
|
|
|
104
104
|
function ne(e, t) {
|
|
105
105
|
let i = "";
|
|
106
106
|
if (e !== void 0 && !Number.isNaN(e)) {
|
|
107
|
-
const a =
|
|
107
|
+
const a = p(document.documentElement);
|
|
108
108
|
i = Intl.NumberFormat(a, t).format(e);
|
|
109
109
|
}
|
|
110
110
|
return i;
|
|
@@ -166,13 +166,13 @@ function fe(e, t) {
|
|
|
166
166
|
const i = document.createElement("a");
|
|
167
167
|
i.style.display = "none", i.download = t, i.setAttribute("href", e), i.click(), i.remove(), URL.revokeObjectURL(e);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function de(e) {
|
|
170
170
|
return e != null && (e.style.removeProperty("opacity"), e.remove()), null;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function pe(e) {
|
|
173
173
|
const t = !g(e?.config), i = e.xTemporalBinning?.unit, a = e.yTemporalBinning?.unit;
|
|
174
174
|
let n;
|
|
175
|
-
return t && i !== void 0 && a !== void 0 && (i === o.HourOfDay && a === o.DayOfWeek ? n =
|
|
175
|
+
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;
|
|
176
176
|
}
|
|
177
177
|
export {
|
|
178
178
|
Q as D,
|
|
@@ -180,13 +180,13 @@ export {
|
|
|
180
180
|
$ as a,
|
|
181
181
|
Z as b,
|
|
182
182
|
se as c,
|
|
183
|
-
|
|
183
|
+
de as d,
|
|
184
184
|
le as e,
|
|
185
185
|
me as f,
|
|
186
186
|
ue as g,
|
|
187
187
|
ce as h,
|
|
188
188
|
te as i,
|
|
189
|
-
|
|
189
|
+
pe as j,
|
|
190
190
|
ne as k,
|
|
191
191
|
oe as l,
|
|
192
192
|
ae as m,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import w from "@arcgis/core/Color.js";
|
|
3
3
|
import { createClassBreaksRenderer as D } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
4
|
-
import { H as R,
|
|
4
|
+
import { H as R, dS as S } from "./index.js";
|
|
5
5
|
import { memoize as I, isEqual as y, sortBy as T, flatMap as A } from "lodash-es";
|
|
6
6
|
import "@arcgis/toolkit/type";
|
|
7
7
|
import { u as E } from "./series-types.js";
|
|
8
8
|
import { g as N, f as O, i as H } from "./rest-js-object-literals.js";
|
|
9
|
-
import { getSchemes as
|
|
10
|
-
import { a as
|
|
9
|
+
import { getSchemes as K } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
10
|
+
import { a as P } from "./index3.js";
|
|
11
11
|
import * as V from "@arcgis/core/smartMapping/symbology/support/colorRamps.js";
|
|
12
|
-
const b = V.all(), z =
|
|
12
|
+
const b = V.all(), z = K({ geometryType: "point", theme: "high-to-low" });
|
|
13
13
|
function F(e, o, s) {
|
|
14
14
|
const t = Math.max(0, Math.min(1, s));
|
|
15
15
|
return [
|
|
@@ -122,7 +122,7 @@ const ne = {
|
|
|
122
122
|
}), n;
|
|
123
123
|
}, t = [...e].sort((r, n) => r - n), l = s(t);
|
|
124
124
|
for (; o <= l && t.some(
|
|
125
|
-
(n, a) => a > 0 &&
|
|
125
|
+
(n, a) => a > 0 && S(n, o) <= S(t[a - 1], o)
|
|
126
126
|
); )
|
|
127
127
|
o++;
|
|
128
128
|
return Math.min(o, l);
|
|
@@ -221,7 +221,7 @@ function ie(e, o) {
|
|
|
221
221
|
async function Q(e) {
|
|
222
222
|
const { data: o, breaksCount: s, classificationMethod: t, xAxisField: l, colorsForClassBreaks: r } = e;
|
|
223
223
|
let n = [];
|
|
224
|
-
const a = await
|
|
224
|
+
const a = await P({
|
|
225
225
|
categoryField: l ?? "",
|
|
226
226
|
categoryType: E.DateAxisFormat,
|
|
227
227
|
numericFields: [R.valueField],
|
|
@@ -262,8 +262,8 @@ function U(e) {
|
|
|
262
262
|
const { selectedColorRamp: o, existingClassBreakInfos: s, availableColorRamps: t } = e;
|
|
263
263
|
if (o)
|
|
264
264
|
return o;
|
|
265
|
-
const l = t?.length ? t :
|
|
266
|
-
return (s?.length ? Y(s, l) : void 0) ??
|
|
265
|
+
const l = t?.length ? t : x.esriColorRamps;
|
|
266
|
+
return (s?.length ? Y(s, l) : void 0) ?? x.defaultColorRampForCharts;
|
|
267
267
|
}
|
|
268
268
|
const me = I(
|
|
269
269
|
async (e) => {
|
|
@@ -296,7 +296,7 @@ const me = I(
|
|
|
296
296
|
});
|
|
297
297
|
},
|
|
298
298
|
(e) => JSON.stringify(e)
|
|
299
|
-
),
|
|
299
|
+
), x = {
|
|
300
300
|
esriColorRamps: b,
|
|
301
301
|
defaultColorRampForCharts: b.find((e) => e.name === "Blue 3") ?? b[0]
|
|
302
302
|
};
|
|
@@ -319,7 +319,7 @@ export {
|
|
|
319
319
|
ce as C,
|
|
320
320
|
ue as a,
|
|
321
321
|
le as b,
|
|
322
|
-
|
|
322
|
+
x as c,
|
|
323
323
|
ne as d,
|
|
324
324
|
me as g,
|
|
325
325
|
ie as i,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { g as p, s as b, a as _, b as L } from "./bar-chart-series.js";
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
|
-
import { g as u, a as k, e as C, b as v, f as M, s as z, h as B, c as O, i as V, d as
|
|
4
|
+
import { g as u, a as k, e as C, b as v, f as M, s as z, h as B, c as O, i as V, d as D, j as F, k as A, n as H, o as d, p as j, q as W, r as w, W as P } from "./negative-values-stacked-to-baseline.js";
|
|
5
5
|
import { S as T, s as N } from "./serial-chart-model.js";
|
|
6
6
|
import { a as q } from "./utils.js";
|
|
7
7
|
import { u as S } from "./series-types.js";
|
|
8
|
-
import { j as
|
|
9
|
-
import {
|
|
10
|
-
var G = Object.defineProperty,
|
|
11
|
-
for (var t =
|
|
8
|
+
import { j as J, g as l, i as g } from "./index4.js";
|
|
9
|
+
import { aB as E, aC as y, bJ as f, a_ as m } from "./index.js";
|
|
10
|
+
var G = 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
13
|
return t && G(e, i, t), t;
|
|
14
14
|
};
|
|
@@ -17,7 +17,7 @@ class o extends T {
|
|
|
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 && (J(e.config?.series) && this.initDefaultSeries(), await this.updateSeriesFromLayerFilter()), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
21
21
|
}
|
|
22
22
|
// ---------------------------------------------------------------------------------------------
|
|
23
23
|
// Protected Methods
|
|
@@ -140,7 +140,7 @@ class o extends T {
|
|
|
140
140
|
}
|
|
141
141
|
setSeriesMarkerSize(e, i) {
|
|
142
142
|
const s = this._config.series?.[i];
|
|
143
|
-
l(s) &&
|
|
143
|
+
l(s) && D(e, i, this._config);
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* Specify whether line segments of the series should be smoothed.
|
|
@@ -148,11 +148,11 @@ class o extends T {
|
|
|
148
148
|
* @param seriesIndex - The index of the series.
|
|
149
149
|
*/
|
|
150
150
|
isLineSmoothed(e) {
|
|
151
|
-
return
|
|
151
|
+
return F(e, this._config);
|
|
152
152
|
}
|
|
153
153
|
setLineSmoothed(e, i) {
|
|
154
154
|
const s = this._config.series?.[i];
|
|
155
|
-
l(s) &&
|
|
155
|
+
l(s) && A({
|
|
156
156
|
smoothed: e,
|
|
157
157
|
seriesIndex: i,
|
|
158
158
|
config: this._config
|
|
@@ -271,8 +271,8 @@ n([
|
|
|
271
271
|
n([
|
|
272
272
|
a
|
|
273
273
|
], o.prototype, "setSeriesHideOversizedStackedLabels");
|
|
274
|
-
const
|
|
275
|
-
q(o,
|
|
274
|
+
const Q = [P];
|
|
275
|
+
q(o, Q);
|
|
276
276
|
export {
|
|
277
277
|
o as ComboBarLineChartModel
|
|
278
278
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/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, T as i, aN 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 u } from "lodash-es";
|
|
3
3
|
import "@arcgis/toolkit/type";
|
|
4
4
|
import { p as l, n, w as g, u as d, r as F } from "./series-types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { ad as x, x as D, M as L, z as $, e7 as N, aq as I, d9 as H, bJ as P, bB as _, bX as M, C as v, y as U, N as W } from "./index.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "luxon";
|
|
8
8
|
import "@esri/arcgis-html-sanitizer";
|
|
@@ -29,14 +29,14 @@ import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
|
29
29
|
import "@arcgis/core/geometry/Extent.js";
|
|
30
30
|
import "@arcgis/core/geometry/Point.js";
|
|
31
31
|
import "@arcgis/toolkit/dom";
|
|
32
|
-
import { H as
|
|
32
|
+
import { H as A, S as o, P as E } from "./common.js";
|
|
33
33
|
function K(e, r) {
|
|
34
34
|
let t;
|
|
35
35
|
return r === n.Category && Array.isArray(e) ? t = o.customSort : r === n.Category ? t = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? t = o.yAxisAsc : t = o.yAxisDesc, t;
|
|
36
36
|
}
|
|
37
37
|
function Se(e, r) {
|
|
38
38
|
let t;
|
|
39
|
-
return r === n.Category && Array.isArray(e) ? t =
|
|
39
|
+
return r === n.Category && Array.isArray(e) ? t = A.customSort : t = e === l.Ascending ? A.Asc : A.Desc, t;
|
|
40
40
|
}
|
|
41
41
|
const R = (e) => {
|
|
42
42
|
const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
@@ -57,7 +57,7 @@ const R = (e) => {
|
|
|
57
57
|
r.orderOptions ??= {};
|
|
58
58
|
let s = c ? [""] : l.Ascending;
|
|
59
59
|
if (c)
|
|
60
|
-
e ===
|
|
60
|
+
e === A.customSort && t !== void 0 ? s = [...t] : s = e === A.Desc ? l.Descending : l.Ascending, i ? r.orderOptions.data = {
|
|
61
61
|
...r.orderOptions.data,
|
|
62
62
|
orderByY: s,
|
|
63
63
|
orderType: n.MultiAxes
|
|
@@ -76,7 +76,7 @@ const R = (e) => {
|
|
|
76
76
|
orderBy: s
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
}, be = (e) => e?.series?.[0]?.x ?? "",
|
|
79
|
+
}, be = (e) => e?.series?.[0]?.x ?? "", Be = (e) => {
|
|
80
80
|
const {
|
|
81
81
|
config: r,
|
|
82
82
|
xAxisField: t,
|
|
@@ -89,18 +89,18 @@ const R = (e) => {
|
|
|
89
89
|
splitByField: S = "",
|
|
90
90
|
fieldList: O
|
|
91
91
|
} = e, T = g(r.series), b = I(r.series);
|
|
92
|
-
let
|
|
92
|
+
let f;
|
|
93
93
|
if (H(s)) {
|
|
94
94
|
const y = M(s);
|
|
95
|
-
|
|
95
|
+
f = i.length === 1 && i[0] === y;
|
|
96
96
|
} else {
|
|
97
|
-
const { idField: y, isTraditionalTypeOID:
|
|
98
|
-
|
|
97
|
+
const { idField: y, isTraditionalTypeOID: B } = P(_(s));
|
|
98
|
+
f = B && i.length === 1 && i[0] === y;
|
|
99
99
|
}
|
|
100
100
|
let m = "y", C = "y";
|
|
101
101
|
switch (T) {
|
|
102
102
|
case d.PieSeries: {
|
|
103
|
-
a !== F.NoAggregation ? c === E.Category ? (m = `${a}_${i[0]}_0`.toUpperCase(), C =
|
|
103
|
+
a !== F.NoAggregation ? c === E.Category ? (m = `${a}_${i[0]}_0`.toUpperCase(), C = f ? u(F.Count) : u(`${a} of ${i[0]}`)) : m = W : m = i[0];
|
|
104
104
|
break;
|
|
105
105
|
}
|
|
106
106
|
case d.BarSeries:
|
|
@@ -109,14 +109,14 @@ const R = (e) => {
|
|
|
109
109
|
case d.RadarSeries:
|
|
110
110
|
case d.HeatSeries: {
|
|
111
111
|
if (S === "" || i.length > 1)
|
|
112
|
-
|
|
112
|
+
Y({
|
|
113
113
|
fieldName: t,
|
|
114
114
|
numericFields: i,
|
|
115
115
|
fieldList: O ?? []
|
|
116
|
-
}) || b ===
|
|
116
|
+
}) || b === v.BarAndLineFromFields ? m = U : (m = `${a}_${i[p ?? 0]}_${p ?? 0}`.toUpperCase(), C = f ? u(F.Count) : u(`${a} of ${i[p ?? 0]}`));
|
|
117
117
|
else {
|
|
118
118
|
const y = i[0];
|
|
119
|
-
m = `${a}_${y}_${h ?? 0}`.toUpperCase(), C =
|
|
119
|
+
m = `${a}_${y}_${h ?? 0}`.toUpperCase(), C = f ? u(F.Count) : u(`${a} of ${y}`);
|
|
120
120
|
}
|
|
121
121
|
break;
|
|
122
122
|
}
|
|
@@ -126,22 +126,22 @@ const R = (e) => {
|
|
|
126
126
|
description: C
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
-
function
|
|
129
|
+
function X(e) {
|
|
130
130
|
const { fieldName: r, fieldList: t } = e, i = x(t ?? [], r);
|
|
131
|
-
return r ===
|
|
131
|
+
return r === D || r === L || r === $ || r === void 0 || r.trim() === "" || i === void 0;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Y(e) {
|
|
134
134
|
const { fieldName: r, fieldList: t, numericFields: i } = e, a = i.filter((c) => x(t ?? [], c)?.type !== "esriFieldTypeOID");
|
|
135
|
-
return
|
|
135
|
+
return X({ fieldName: r, fieldList: t }) && (a?.length ?? 0) > 0;
|
|
136
136
|
}
|
|
137
137
|
export {
|
|
138
|
-
|
|
138
|
+
Be as a,
|
|
139
139
|
R as b,
|
|
140
|
-
|
|
140
|
+
Y as c,
|
|
141
141
|
Oe as d,
|
|
142
142
|
Se as e,
|
|
143
143
|
K as f,
|
|
144
144
|
be as g,
|
|
145
145
|
Te as s,
|
|
146
|
-
|
|
146
|
+
X as x
|
|
147
147
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/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
|
|
4
|
+
import { W as _, a as I, b as C } from "./axis-lines-symbol.js";
|
|
5
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";
|
|
@@ -10,7 +10,7 @@ import "lodash-es";
|
|
|
10
10
|
import "luxon";
|
|
11
11
|
import { u as m, G as E, r as y } from "./series-types.js";
|
|
12
12
|
import "@arcgis/toolkit/type";
|
|
13
|
-
import {
|
|
13
|
+
import { aP as d, aJ as b, bh as w, aQ as x, aO as M, bJ as N } from "./index.js";
|
|
14
14
|
import "@arcgis/core/Graphic.js";
|
|
15
15
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
16
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -44,11 +44,11 @@ const G = (t) => t.axes[0].needle?.visible ?? !0, P = (t, e) => {
|
|
|
44
44
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.startWidth = t;
|
|
45
45
|
}, j = (t) => t.axes[0].needle?.endWidth, q = (t, e) => {
|
|
46
46
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.endWidth = t;
|
|
47
|
-
},
|
|
47
|
+
}, J = (t) => t.axes[0].needle?.innerRadius, Q = (t, e) => {
|
|
48
48
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.innerRadius = t;
|
|
49
|
-
},
|
|
49
|
+
}, B = (t) => t.axes[0].needle?.displayPin ?? !1, Y = (t, e) => {
|
|
50
50
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
51
|
-
},
|
|
51
|
+
}, z = (t) => t.axes[0].innerLabel?.visible ?? !0, H = (t, e) => {
|
|
52
52
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), e.axes[0].innerLabel.visible = t;
|
|
53
53
|
}, K = (t) => t.axes[0].innerLabel?.content, U = (t, e) => {
|
|
54
54
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
@@ -114,7 +114,7 @@ const G = (t) => t.axes[0].needle?.visible ?? !0, P = (t, e) => {
|
|
|
114
114
|
e.endAngle = t;
|
|
115
115
|
};
|
|
116
116
|
function be(t) {
|
|
117
|
-
return
|
|
117
|
+
return w(t);
|
|
118
118
|
}
|
|
119
119
|
var xe = Object.defineProperty, Se = Object.getOwnPropertyDescriptor, r = (t, e, i, a) => {
|
|
120
120
|
for (var n = Se(e, i), l = t.length - 1, g; l >= 0; l--)
|
|
@@ -286,7 +286,7 @@ class s extends v {
|
|
|
286
286
|
* Inner radius of the gauge's needle.
|
|
287
287
|
*/
|
|
288
288
|
get needleInnerRadius() {
|
|
289
|
-
return
|
|
289
|
+
return J(this._config);
|
|
290
290
|
}
|
|
291
291
|
set needleInnerRadius(e) {
|
|
292
292
|
Q(e, this._config);
|
|
@@ -295,19 +295,19 @@ class s extends v {
|
|
|
295
295
|
* Whether to display the pin for the gauge's needle.
|
|
296
296
|
*/
|
|
297
297
|
get needleDisplayPin() {
|
|
298
|
-
return
|
|
298
|
+
return B(this._config);
|
|
299
299
|
}
|
|
300
300
|
set needleDisplayPin(e) {
|
|
301
|
-
|
|
301
|
+
Y(e, this._config);
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
304
|
* Whether the inner label is visible.
|
|
305
305
|
*/
|
|
306
306
|
get innerLabelVisible() {
|
|
307
|
-
return
|
|
307
|
+
return z(this._config);
|
|
308
308
|
}
|
|
309
309
|
set innerLabelVisible(e) {
|
|
310
|
-
|
|
310
|
+
H(e, this._config);
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
313
|
* Content symbol for the inner label.
|
|
@@ -358,8 +358,8 @@ class s extends v {
|
|
|
358
358
|
// ---------------------------------------------------------------------------------------------
|
|
359
359
|
/** @private */
|
|
360
360
|
generateDefaultConfig() {
|
|
361
|
-
const e =
|
|
362
|
-
return e.series = [x({ objectIDField:
|
|
361
|
+
const e = M(this.commonStrings);
|
|
362
|
+
return e.series = [x({ objectIDField: N(this.layerInfo.layer).idField })], e;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
r([
|
|
@@ -424,8 +424,8 @@ const ve = [
|
|
|
424
424
|
L,
|
|
425
425
|
W,
|
|
426
426
|
T,
|
|
427
|
-
I,
|
|
428
427
|
_,
|
|
428
|
+
I,
|
|
429
429
|
C,
|
|
430
430
|
F,
|
|
431
431
|
R
|
|
@@ -6,7 +6,7 @@ import "lodash-es";
|
|
|
6
6
|
import "luxon";
|
|
7
7
|
import "./series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import {
|
|
9
|
+
import { bn as n, z as T } 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";
|