@arcgis/charts-components 5.1.0-next.97 → 5.1.0-next.99
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/{XO3XI5UW.js → 2L4KRFAO.js} +1 -1
- package/dist/cdn/{474MEOFZ.js → 2WMGX4LG.js} +1 -1
- package/dist/cdn/{HZAQ4CU2.js → 3LHIBPWU.js} +1 -1
- package/dist/cdn/{SRVSS5LG.js → 3NHSJC2V.js} +1 -1
- package/dist/cdn/{DZCGO7SQ.js → 3TYKSX6S.js} +1 -1
- package/dist/cdn/437PRHGP.js +2 -0
- package/dist/cdn/{PH5QB66G.js → 4A46GMQH.js} +1 -1
- package/dist/cdn/{BRPXLQXN.js → 4AP7OF2H.js} +1 -1
- package/dist/cdn/{6P6JRYTL.js → 533OIYHT.js} +1 -1
- package/dist/cdn/{FPWXPIYT.js → 54JMGDNM.js} +1 -1
- package/dist/cdn/{MZIUWLFR.js → 6WQO34EX.js} +1 -1
- package/dist/cdn/{Q5LFOZZV.js → 7BIC7WRS.js} +1 -1
- package/dist/cdn/{EOSVOYYW.js → 7JYYEL7C.js} +1 -1
- package/dist/cdn/7RRIPRBW.js +2 -0
- package/dist/cdn/{44YOQYY5.js → ABRBND33.js} +1 -1
- package/dist/cdn/{7PRT6KPV.js → AKNI6ZDM.js} +1 -1
- package/dist/cdn/{VKLAEROZ.js → B5DED64I.js} +1 -1
- package/dist/cdn/{S5ZNTUEJ.js → BGHKBRAY.js} +1 -1
- package/dist/cdn/{V6ZSMHGW.js → BIBH7Z6B.js} +1 -1
- package/dist/cdn/{5PVOIZ3O.js → BVLDD7VH.js} +1 -1
- package/dist/cdn/{C4VB5VOE.js → BYMLWT4F.js} +1 -1
- package/dist/cdn/{W6PWWHW7.js → C6VFUQYR.js} +1 -1
- package/dist/cdn/{S2MYZR2R.js → CBAUBDVW.js} +1 -1
- package/dist/cdn/{X63PQOKY.js → D4THJNNH.js} +1 -1
- package/dist/cdn/{J7DSGIMM.js → DOKKZWPP.js} +1 -1
- package/dist/cdn/{P7KZJ4LD.js → DQOPCAYH.js} +1 -1
- package/dist/cdn/{S6M3THYB.js → ETKEDYJI.js} +1 -1
- package/dist/cdn/{MPULRJBL.js → FPOY54UW.js} +1 -1
- package/dist/cdn/FRTL3JKO.js +2 -0
- package/dist/cdn/{YGXP2KRA.js → FSPMT24F.js} +1 -1
- package/dist/cdn/{B5NVKUWE.js → FTTFIYT7.js} +1 -1
- package/dist/cdn/{ZO4QGPQK.js → FXE7IJTK.js} +1 -1
- package/dist/cdn/{3KOLO2DZ.js → GCLBISUU.js} +1 -1
- package/dist/cdn/{EERE56JC.js → GG4V6IWC.js} +1 -1
- package/dist/cdn/{6EGDY2R6.js → GN55TJMJ.js} +1 -1
- package/dist/cdn/{LDBOH522.js → GR2MDXNR.js} +1 -1
- package/dist/cdn/{C7BVZIR6.js → GSIQ3AM5.js} +4 -3
- package/dist/cdn/{EZ6IWMWU.js → HRWT2MVN.js} +1 -1
- package/dist/cdn/{AXQIU56U.js → HZLHE35F.js} +1 -1
- package/dist/cdn/{VMKLIIN4.js → J34XNLVV.js} +1 -1
- package/dist/cdn/{KNI5Z6M6.js → JII3X6GD.js} +1 -1
- package/dist/cdn/{E672GJOI.js → JIJTDQNZ.js} +1 -1
- package/dist/cdn/{A2QGNOIM.js → JP5QECNE.js} +1 -1
- package/dist/cdn/{QDQ3XMGW.js → JQAYCBRF.js} +1 -1
- package/dist/cdn/{MS3WQ4R4.js → JXUQXIWS.js} +1 -1
- package/dist/cdn/{43CJXSHJ.js → KDU3ISRJ.js} +1 -1
- package/dist/cdn/{5MVPQ5JO.js → KHK4ESCR.js} +1 -1
- package/dist/cdn/{MSYJXEJZ.js → KJXMX3GJ.js} +1 -1
- package/dist/cdn/{DGMBW6MF.js → KZQPT32K.js} +1 -1
- package/dist/cdn/{6QC2WOB4.js → L5ESAQAD.js} +1 -1
- package/dist/cdn/{NFMUWJ4B.js → LRLFI235.js} +1 -1
- package/dist/cdn/{UQYUM5RQ.js → LTPICGE4.js} +1 -1
- package/dist/cdn/{JIMR7C5L.js → M6AWZ4GQ.js} +1 -1
- package/dist/cdn/{OB3LBS5F.js → N3QESBWD.js} +1 -1
- package/dist/cdn/{WBQNIKK7.js → N72JHWOW.js} +1 -1
- package/dist/cdn/{FQWSL4WE.js → NJOCWENE.js} +1 -1
- package/dist/cdn/{U2ZQR6TN.js → NLPIWZ6O.js} +1 -1
- package/dist/cdn/{Q4FWAO2U.js → NTMKUPVQ.js} +36 -36
- package/dist/cdn/{FOBAMFDQ.js → OG6XNLNH.js} +1 -1
- package/dist/cdn/{LDRGQ4QJ.js → OGYHFMDK.js} +1 -1
- package/dist/cdn/{6T5JVUTW.js → OM2N4R7B.js} +1 -1
- package/dist/cdn/{ZRLN2MXQ.js → OXOPYUOS.js} +1 -1
- package/dist/cdn/{LRI7NSY6.js → PE5WVBYF.js} +1 -1
- package/dist/cdn/{P2FI3ZHN.js → PECU6KQ5.js} +1 -1
- package/dist/cdn/{U72HCS3R.js → PSDHB4WG.js} +1 -1
- package/dist/cdn/{HIHW6ORI.js → QCLX4TIM.js} +1 -1
- package/dist/cdn/{KNWOWXLU.js → QCNYOXG2.js} +1 -1
- package/dist/cdn/{DHCP4FMK.js → QNEGICXV.js} +1 -1
- package/dist/cdn/{PV7KP6OZ.js → QQNMK2QL.js} +1 -1
- package/dist/cdn/R2R6BF6O.js +2 -0
- package/dist/cdn/{DKPZTFA5.js → SCVQSDX5.js} +1 -1
- package/dist/cdn/{QE2DFL3U.js → SN4BIMRO.js} +1 -1
- package/dist/cdn/SXLPETPI.js +2 -0
- package/dist/cdn/{WQDJ5V5V.js → TNXVGUYE.js} +1 -1
- package/dist/cdn/{LFY34FCB.js → TQG6RDX5.js} +1 -1
- package/dist/cdn/UOUARC5O.js +2 -0
- package/dist/cdn/{54D7BEVF.js → V3TCGIPS.js} +1 -1
- package/dist/cdn/{4D2OWE4B.js → VFNQXIXU.js} +1 -1
- package/dist/cdn/VOTMKVNY.js +2 -0
- package/dist/cdn/W553UCBH.js +4 -0
- package/dist/cdn/{GGUZK63V.js → WMLNHOVN.js} +1 -1
- package/dist/cdn/{X4ZH6AQA.js → WTPRSRPB.js} +1 -1
- package/dist/cdn/{YQJFV4BR.js → XEDWXXF3.js} +1 -1
- package/dist/cdn/{424JJGJE.js → XOY4K5NH.js} +1 -1
- package/dist/cdn/{VMCT7EK7.js → Y4DORYPQ.js} +1 -1
- package/dist/cdn/{2GOV45XT.js → YEOSKZ4Q.js} +1 -1
- package/dist/cdn/{QV3QDDVU.js → ZAKAJKUI.js} +1 -1
- package/dist/cdn/ZIAGMMWU.js +2 -0
- package/dist/cdn/{X2Y44TIN.js → ZNOJBKUZ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +5 -0
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +6 -6
- package/dist/chunks/heat-chart-model.js +8 -8
- package/dist/chunks/index.js +1112 -1080
- package/dist/chunks/line-chart-model.js +3 -3
- package/dist/chunks/radar-chart-model.js +3 -3
- package/dist/chunks/rotated-state.js +29 -16
- package/dist/chunks/time-zone.js +11 -11
- package/dist/chunks/type-guards2.js +9 -9
- package/dist/chunks/web-component-utils.js +405 -293
- package/dist/components/arcgis-chart/customElement.d.ts +35 -3
- package/dist/components/arcgis-chart/customElement.js +3857 -3807
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/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/interfaces.d.ts +5 -0
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +2 -2
- package/dist/model/properties/rotated-state.d.ts +6 -0
- package/dist/model/properties/time-zone.d.ts +1 -11
- 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/utils/index.d.ts +1 -1
- package/dist/utils/components/watch-handlers.d.ts +14 -0
- package/dist/utils/layer/query-features/index.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +2 -1
- package/package.json +3 -3
- package/dist/cdn/3LYLITEZ.js +0 -2
- package/dist/cdn/7MGBETN6.js +0 -2
- package/dist/cdn/A2SOHKNU.js +0 -2
- package/dist/cdn/DUPIQDJR.js +0 -2
- package/dist/cdn/DY3IXHQM.js +0 -2
- package/dist/cdn/FIT55NW2.js +0 -4
- package/dist/cdn/GPK2DP6R.js +0 -2
- package/dist/cdn/OD77ESN2.js +0 -2
- package/dist/cdn/OXA5TGBO.js +0 -2
|
@@ -17,7 +17,7 @@ class h extends u {
|
|
|
17
17
|
super(...arguments), this._chartType = v.LineSeries;
|
|
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 && this.updateSeriesFromLayerFilter(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
21
21
|
}
|
|
22
22
|
// #end region
|
|
23
23
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -90,8 +90,8 @@ class h extends u {
|
|
|
90
90
|
x([
|
|
91
91
|
_
|
|
92
92
|
], h.prototype, "resetSeriesStyling");
|
|
93
|
-
const
|
|
94
|
-
I(h,
|
|
93
|
+
const N = [g, k];
|
|
94
|
+
I(h, N);
|
|
95
95
|
export {
|
|
96
96
|
h as LineChartModel
|
|
97
97
|
};
|
|
@@ -45,7 +45,7 @@ class f extends y {
|
|
|
45
45
|
super(...arguments), this._chartType = h.RadarSeries;
|
|
46
46
|
}
|
|
47
47
|
async setup(e) {
|
|
48
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 &&
|
|
48
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && this.updateSeriesFromLayerFilter(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
49
49
|
}
|
|
50
50
|
// ---------------------------------------------------------------------------------------------
|
|
51
51
|
// Protected methods
|
|
@@ -117,8 +117,8 @@ class f extends y {
|
|
|
117
117
|
x([
|
|
118
118
|
k
|
|
119
119
|
], f.prototype, "resetSeriesStyling");
|
|
120
|
-
const
|
|
121
|
-
c(f,
|
|
120
|
+
const N = [M, L];
|
|
121
|
+
c(f, N);
|
|
122
122
|
export {
|
|
123
123
|
f as RadarChartModel
|
|
124
124
|
};
|
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "luxon";
|
|
5
5
|
import "./series-types.js";
|
|
6
6
|
import "@arcgis/toolkit/type";
|
|
7
|
-
import { cI as
|
|
7
|
+
import { cI as c } from "./index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -28,33 +28,46 @@ import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
|
28
28
|
import "@arcgis/core/geometry/Extent.js";
|
|
29
29
|
import "@arcgis/core/geometry/Point.js";
|
|
30
30
|
import "@arcgis/toolkit/dom";
|
|
31
|
-
import { C as
|
|
32
|
-
var
|
|
33
|
-
for (var
|
|
34
|
-
(p = t[i]) && (
|
|
35
|
-
return
|
|
31
|
+
import { C as f, m as s } from "./model-setter.js";
|
|
32
|
+
var _ = Object.defineProperty, h = Object.getOwnPropertyDescriptor, n = (t, o, e, g) => {
|
|
33
|
+
for (var r = h(o, e), i = t.length - 1, p; i >= 0; i--)
|
|
34
|
+
(p = t[i]) && (r = p(o, e, r) || r);
|
|
35
|
+
return r && _(o, e, r), r;
|
|
36
36
|
};
|
|
37
37
|
function Q(t) {
|
|
38
|
-
return t !== void 0 && "
|
|
38
|
+
return t !== void 0 && "rotated" in t;
|
|
39
39
|
}
|
|
40
|
-
const
|
|
41
|
-
|
|
40
|
+
const m = (t) => c(t), a = (t, o) => {
|
|
41
|
+
o.rotated = t;
|
|
42
42
|
};
|
|
43
|
-
class
|
|
43
|
+
class d extends f {
|
|
44
44
|
/**
|
|
45
45
|
* Whether the chart is rotated.
|
|
46
|
+
* @deprecated since 5.1. Use `rotated` instead.
|
|
46
47
|
*/
|
|
47
48
|
get rotatedState() {
|
|
48
|
-
return
|
|
49
|
+
return m(this._config);
|
|
49
50
|
}
|
|
50
|
-
set rotatedState(
|
|
51
|
-
|
|
51
|
+
set rotatedState(o) {
|
|
52
|
+
a(o, this._config);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Whether the chart is rotated.
|
|
56
|
+
*/
|
|
57
|
+
get rotated() {
|
|
58
|
+
return m(this._config);
|
|
59
|
+
}
|
|
60
|
+
set rotated(o) {
|
|
61
|
+
a(o, this._config);
|
|
52
62
|
}
|
|
53
63
|
}
|
|
54
|
-
|
|
64
|
+
n([
|
|
65
|
+
s
|
|
66
|
+
], d.prototype, "rotatedState");
|
|
67
|
+
n([
|
|
55
68
|
s
|
|
56
|
-
],
|
|
69
|
+
], d.prototype, "rotated");
|
|
57
70
|
export {
|
|
58
|
-
|
|
71
|
+
d as W,
|
|
59
72
|
Q as i
|
|
60
73
|
};
|
package/dist/chunks/time-zone.js
CHANGED
|
@@ -3,17 +3,17 @@ import "@arcgis/toolkit/type";
|
|
|
3
3
|
import { u as o } from "./series-types.js";
|
|
4
4
|
import { r as p, e9 as s } from "./index.js";
|
|
5
5
|
import { C as l, m as u } from "./model-setter.js";
|
|
6
|
-
var v = Object.defineProperty,
|
|
7
|
-
for (var i =
|
|
6
|
+
var v = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, d = (t, e, a, r) => {
|
|
7
|
+
for (var i = Z(e, a), n = t.length - 1, m; n >= 0; n--)
|
|
8
8
|
(m = t[n]) && (i = m(e, a, i) || i);
|
|
9
9
|
return i && v(e, a, i), i;
|
|
10
10
|
};
|
|
11
|
-
const
|
|
11
|
+
const h = (t) => {
|
|
12
12
|
let e;
|
|
13
13
|
return s(t) ? e = t.outTimeZone : t?.series.forEach((a) => {
|
|
14
14
|
(a.type === o.BarSeries || a.type === o.RadarSeries || a.type === o.LineSeries) && a.temporalBinning && (e = a.temporalBinning.outTimeZone);
|
|
15
15
|
}), e || (e = t?.axes?.[0]?.valueFormat.type === o.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
16
|
-
},
|
|
16
|
+
}, T = (t, e) => {
|
|
17
17
|
const a = p(t);
|
|
18
18
|
s(e) ? t ? e.outTimeZone = a : delete e.outTimeZone : e?.series.forEach((r) => {
|
|
19
19
|
(r.type === o.BarSeries || r.type === o.RadarSeries || r.type === o.LineSeries) && (t ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = a) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
|
|
@@ -23,17 +23,17 @@ class y extends l {
|
|
|
23
23
|
/**
|
|
24
24
|
* Gets the time zone for the chart.
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
return
|
|
26
|
+
get timeZone() {
|
|
27
|
+
return h(this._config);
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
set timeZone(e) {
|
|
30
|
+
T(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
d([
|
|
34
34
|
u
|
|
35
|
-
], y.prototype, "
|
|
35
|
+
], y.prototype, "timeZone");
|
|
36
36
|
export {
|
|
37
37
|
y as W,
|
|
38
|
-
|
|
38
|
+
T as s
|
|
39
39
|
};
|
|
@@ -30,8 +30,8 @@ import "@arcgis/core/geometry/Point.js";
|
|
|
30
30
|
import "@arcgis/toolkit/dom";
|
|
31
31
|
import { D as e, A as o, a as n } from "./index5.js";
|
|
32
32
|
import { b as p, k as L } from "./type-guards.js";
|
|
33
|
-
import { i as
|
|
34
|
-
const
|
|
33
|
+
import { i as w } from "./rotated-state.js";
|
|
34
|
+
const D = [
|
|
35
35
|
e.EditChart,
|
|
36
36
|
e.Legend,
|
|
37
37
|
e.RotateChart,
|
|
@@ -44,7 +44,7 @@ const T = [
|
|
|
44
44
|
e.SwitchSelection,
|
|
45
45
|
e.ExportAsCSV,
|
|
46
46
|
e.ExportAsImage
|
|
47
|
-
],
|
|
47
|
+
], T = [
|
|
48
48
|
e.EditChart,
|
|
49
49
|
e.Legend,
|
|
50
50
|
e.RotateChart,
|
|
@@ -57,7 +57,7 @@ const T = [
|
|
|
57
57
|
e.SwitchSelection,
|
|
58
58
|
e.ExportAsImage,
|
|
59
59
|
e.ExportAsCSV
|
|
60
|
-
],
|
|
60
|
+
], v = [
|
|
61
61
|
e.EditChart,
|
|
62
62
|
e.Legend,
|
|
63
63
|
e.RotateChart,
|
|
@@ -135,11 +135,11 @@ const T = [
|
|
|
135
135
|
function he(r) {
|
|
136
136
|
switch (r) {
|
|
137
137
|
case a.BarSeries:
|
|
138
|
-
return
|
|
138
|
+
return D;
|
|
139
139
|
case a.LineSeries:
|
|
140
|
-
return
|
|
140
|
+
return T;
|
|
141
141
|
case a.ComboLineAndBarSeries:
|
|
142
|
-
return
|
|
142
|
+
return v;
|
|
143
143
|
case a.PieSeries:
|
|
144
144
|
return V;
|
|
145
145
|
case a.HistogramSeries:
|
|
@@ -175,10 +175,10 @@ function G(r) {
|
|
|
175
175
|
i.legendState = m ? o.Enabled : o.Disabled;
|
|
176
176
|
const g = p(t?.model) && L(t?.model) ? t.model.legendVisibility : S;
|
|
177
177
|
i.legendToggle = m && g ? n.Active : n.Inactive;
|
|
178
|
-
const E = p(t?.model) &&
|
|
178
|
+
const E = p(t?.model) && w(t.model) ? t.model.rotated : l?.rotated;
|
|
179
179
|
i.rotateChartToggle = E ? n.Active : n.Inactive;
|
|
180
180
|
const C = x(l?.series ?? []) === f.PieFromFields, h = b(t.layer);
|
|
181
|
-
i.filterBySelectionState = !h && !C && (t.filterBySelection || !c && !t.filterByExtent) ? o.Enabled : o.Disabled, i.filterBySelectionToggle = t.filterBySelection ? n.Active : n.Inactive, i.filterByExtentState = t.
|
|
181
|
+
i.filterBySelectionState = !h && !C && (t.filterBySelection || !c && !t.filterByExtent) ? o.Enabled : o.Disabled, i.filterBySelectionToggle = t.filterBySelection ? n.Active : n.Inactive, i.filterByExtentState = t.filterByViewExtent || !t.filterBySelection ? o.Enabled : o.Disabled, i.filterByExtentToggle = t.filterByViewExtent ? n.Active : n.Inactive, i.zoomState = t.filterBySelection ? o.Disabled : o.Enabled, i.zoomToggle = t.actionMode === F.Zoom ? n.Active : n.Inactive, i.selectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.selectionToggle = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode ? n.Active : n.Inactive, i.clearSelectionState = c ? o.Disabled : o.Enabled, i.fullExtentState = t.filterBySelection ? o.Disabled : o.Enabled, i.switchSelectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.exportActionState = s || I(l) ? o.Disabled : o.Enabled;
|
|
182
182
|
}
|
|
183
183
|
function ye(r) {
|
|
184
184
|
return r?.tagName.toLowerCase() === "arcgis-chart";
|