@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.
Files changed (132) hide show
  1. package/dist/cdn/{XO3XI5UW.js → 2L4KRFAO.js} +1 -1
  2. package/dist/cdn/{474MEOFZ.js → 2WMGX4LG.js} +1 -1
  3. package/dist/cdn/{HZAQ4CU2.js → 3LHIBPWU.js} +1 -1
  4. package/dist/cdn/{SRVSS5LG.js → 3NHSJC2V.js} +1 -1
  5. package/dist/cdn/{DZCGO7SQ.js → 3TYKSX6S.js} +1 -1
  6. package/dist/cdn/437PRHGP.js +2 -0
  7. package/dist/cdn/{PH5QB66G.js → 4A46GMQH.js} +1 -1
  8. package/dist/cdn/{BRPXLQXN.js → 4AP7OF2H.js} +1 -1
  9. package/dist/cdn/{6P6JRYTL.js → 533OIYHT.js} +1 -1
  10. package/dist/cdn/{FPWXPIYT.js → 54JMGDNM.js} +1 -1
  11. package/dist/cdn/{MZIUWLFR.js → 6WQO34EX.js} +1 -1
  12. package/dist/cdn/{Q5LFOZZV.js → 7BIC7WRS.js} +1 -1
  13. package/dist/cdn/{EOSVOYYW.js → 7JYYEL7C.js} +1 -1
  14. package/dist/cdn/7RRIPRBW.js +2 -0
  15. package/dist/cdn/{44YOQYY5.js → ABRBND33.js} +1 -1
  16. package/dist/cdn/{7PRT6KPV.js → AKNI6ZDM.js} +1 -1
  17. package/dist/cdn/{VKLAEROZ.js → B5DED64I.js} +1 -1
  18. package/dist/cdn/{S5ZNTUEJ.js → BGHKBRAY.js} +1 -1
  19. package/dist/cdn/{V6ZSMHGW.js → BIBH7Z6B.js} +1 -1
  20. package/dist/cdn/{5PVOIZ3O.js → BVLDD7VH.js} +1 -1
  21. package/dist/cdn/{C4VB5VOE.js → BYMLWT4F.js} +1 -1
  22. package/dist/cdn/{W6PWWHW7.js → C6VFUQYR.js} +1 -1
  23. package/dist/cdn/{S2MYZR2R.js → CBAUBDVW.js} +1 -1
  24. package/dist/cdn/{X63PQOKY.js → D4THJNNH.js} +1 -1
  25. package/dist/cdn/{J7DSGIMM.js → DOKKZWPP.js} +1 -1
  26. package/dist/cdn/{P7KZJ4LD.js → DQOPCAYH.js} +1 -1
  27. package/dist/cdn/{S6M3THYB.js → ETKEDYJI.js} +1 -1
  28. package/dist/cdn/{MPULRJBL.js → FPOY54UW.js} +1 -1
  29. package/dist/cdn/FRTL3JKO.js +2 -0
  30. package/dist/cdn/{YGXP2KRA.js → FSPMT24F.js} +1 -1
  31. package/dist/cdn/{B5NVKUWE.js → FTTFIYT7.js} +1 -1
  32. package/dist/cdn/{ZO4QGPQK.js → FXE7IJTK.js} +1 -1
  33. package/dist/cdn/{3KOLO2DZ.js → GCLBISUU.js} +1 -1
  34. package/dist/cdn/{EERE56JC.js → GG4V6IWC.js} +1 -1
  35. package/dist/cdn/{6EGDY2R6.js → GN55TJMJ.js} +1 -1
  36. package/dist/cdn/{LDBOH522.js → GR2MDXNR.js} +1 -1
  37. package/dist/cdn/{C7BVZIR6.js → GSIQ3AM5.js} +4 -3
  38. package/dist/cdn/{EZ6IWMWU.js → HRWT2MVN.js} +1 -1
  39. package/dist/cdn/{AXQIU56U.js → HZLHE35F.js} +1 -1
  40. package/dist/cdn/{VMKLIIN4.js → J34XNLVV.js} +1 -1
  41. package/dist/cdn/{KNI5Z6M6.js → JII3X6GD.js} +1 -1
  42. package/dist/cdn/{E672GJOI.js → JIJTDQNZ.js} +1 -1
  43. package/dist/cdn/{A2QGNOIM.js → JP5QECNE.js} +1 -1
  44. package/dist/cdn/{QDQ3XMGW.js → JQAYCBRF.js} +1 -1
  45. package/dist/cdn/{MS3WQ4R4.js → JXUQXIWS.js} +1 -1
  46. package/dist/cdn/{43CJXSHJ.js → KDU3ISRJ.js} +1 -1
  47. package/dist/cdn/{5MVPQ5JO.js → KHK4ESCR.js} +1 -1
  48. package/dist/cdn/{MSYJXEJZ.js → KJXMX3GJ.js} +1 -1
  49. package/dist/cdn/{DGMBW6MF.js → KZQPT32K.js} +1 -1
  50. package/dist/cdn/{6QC2WOB4.js → L5ESAQAD.js} +1 -1
  51. package/dist/cdn/{NFMUWJ4B.js → LRLFI235.js} +1 -1
  52. package/dist/cdn/{UQYUM5RQ.js → LTPICGE4.js} +1 -1
  53. package/dist/cdn/{JIMR7C5L.js → M6AWZ4GQ.js} +1 -1
  54. package/dist/cdn/{OB3LBS5F.js → N3QESBWD.js} +1 -1
  55. package/dist/cdn/{WBQNIKK7.js → N72JHWOW.js} +1 -1
  56. package/dist/cdn/{FQWSL4WE.js → NJOCWENE.js} +1 -1
  57. package/dist/cdn/{U2ZQR6TN.js → NLPIWZ6O.js} +1 -1
  58. package/dist/cdn/{Q4FWAO2U.js → NTMKUPVQ.js} +36 -36
  59. package/dist/cdn/{FOBAMFDQ.js → OG6XNLNH.js} +1 -1
  60. package/dist/cdn/{LDRGQ4QJ.js → OGYHFMDK.js} +1 -1
  61. package/dist/cdn/{6T5JVUTW.js → OM2N4R7B.js} +1 -1
  62. package/dist/cdn/{ZRLN2MXQ.js → OXOPYUOS.js} +1 -1
  63. package/dist/cdn/{LRI7NSY6.js → PE5WVBYF.js} +1 -1
  64. package/dist/cdn/{P2FI3ZHN.js → PECU6KQ5.js} +1 -1
  65. package/dist/cdn/{U72HCS3R.js → PSDHB4WG.js} +1 -1
  66. package/dist/cdn/{HIHW6ORI.js → QCLX4TIM.js} +1 -1
  67. package/dist/cdn/{KNWOWXLU.js → QCNYOXG2.js} +1 -1
  68. package/dist/cdn/{DHCP4FMK.js → QNEGICXV.js} +1 -1
  69. package/dist/cdn/{PV7KP6OZ.js → QQNMK2QL.js} +1 -1
  70. package/dist/cdn/R2R6BF6O.js +2 -0
  71. package/dist/cdn/{DKPZTFA5.js → SCVQSDX5.js} +1 -1
  72. package/dist/cdn/{QE2DFL3U.js → SN4BIMRO.js} +1 -1
  73. package/dist/cdn/SXLPETPI.js +2 -0
  74. package/dist/cdn/{WQDJ5V5V.js → TNXVGUYE.js} +1 -1
  75. package/dist/cdn/{LFY34FCB.js → TQG6RDX5.js} +1 -1
  76. package/dist/cdn/UOUARC5O.js +2 -0
  77. package/dist/cdn/{54D7BEVF.js → V3TCGIPS.js} +1 -1
  78. package/dist/cdn/{4D2OWE4B.js → VFNQXIXU.js} +1 -1
  79. package/dist/cdn/VOTMKVNY.js +2 -0
  80. package/dist/cdn/W553UCBH.js +4 -0
  81. package/dist/cdn/{GGUZK63V.js → WMLNHOVN.js} +1 -1
  82. package/dist/cdn/{X4ZH6AQA.js → WTPRSRPB.js} +1 -1
  83. package/dist/cdn/{YQJFV4BR.js → XEDWXXF3.js} +1 -1
  84. package/dist/cdn/{424JJGJE.js → XOY4K5NH.js} +1 -1
  85. package/dist/cdn/{VMCT7EK7.js → Y4DORYPQ.js} +1 -1
  86. package/dist/cdn/{2GOV45XT.js → YEOSKZ4Q.js} +1 -1
  87. package/dist/cdn/{QV3QDDVU.js → ZAKAJKUI.js} +1 -1
  88. package/dist/cdn/ZIAGMMWU.js +2 -0
  89. package/dist/cdn/{X2Y44TIN.js → ZNOJBKUZ.js} +1 -1
  90. package/dist/cdn/index.js +1 -1
  91. package/dist/chart-rendering/common/interfaces.d.ts +5 -0
  92. package/dist/chunks/bar-chart-model.js +1 -1
  93. package/dist/chunks/combo-bar-line-chart-model.js +6 -6
  94. package/dist/chunks/heat-chart-model.js +8 -8
  95. package/dist/chunks/index.js +1112 -1080
  96. package/dist/chunks/line-chart-model.js +3 -3
  97. package/dist/chunks/radar-chart-model.js +3 -3
  98. package/dist/chunks/rotated-state.js +29 -16
  99. package/dist/chunks/time-zone.js +11 -11
  100. package/dist/chunks/type-guards2.js +9 -9
  101. package/dist/chunks/web-component-utils.js +405 -293
  102. package/dist/components/arcgis-chart/customElement.d.ts +35 -3
  103. package/dist/components/arcgis-chart/customElement.js +3857 -3807
  104. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  105. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  106. package/dist/docs/api.json +1 -1
  107. package/dist/docs/docs.json +1 -1
  108. package/dist/docs/vscode.html-custom-data.json +1 -1
  109. package/dist/docs/web-types.json +1 -1
  110. package/dist/interfaces.d.ts +5 -0
  111. package/dist/loader.js +1 -1
  112. package/dist/model/heat-chart-model/heat-chart-model.d.ts +2 -2
  113. package/dist/model/properties/rotated-state.d.ts +6 -0
  114. package/dist/model/properties/time-zone.d.ts +1 -11
  115. package/dist/types/lumina.d.ts +1 -1
  116. package/dist/types/preact.d.ts +1 -1
  117. package/dist/types/react.d.ts +1 -1
  118. package/dist/types/stencil.d.ts +1 -1
  119. package/dist/utils/chart-config/utils/index.d.ts +1 -1
  120. package/dist/utils/components/watch-handlers.d.ts +14 -0
  121. package/dist/utils/layer/query-features/index.d.ts +1 -0
  122. package/dist/utils/layer/query-parser/index.d.ts +2 -1
  123. package/package.json +3 -3
  124. package/dist/cdn/3LYLITEZ.js +0 -2
  125. package/dist/cdn/7MGBETN6.js +0 -2
  126. package/dist/cdn/A2SOHKNU.js +0 -2
  127. package/dist/cdn/DUPIQDJR.js +0 -2
  128. package/dist/cdn/DY3IXHQM.js +0 -2
  129. package/dist/cdn/FIT55NW2.js +0 -4
  130. package/dist/cdn/GPK2DP6R.js +0 -2
  131. package/dist/cdn/OD77ESN2.js +0 -2
  132. 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 && await this.updateSeriesFromLayerFilter(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
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 w = [g, k];
94
- I(h, w);
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 && await this.updateSeriesFromLayerFilter(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
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 w = [M, L];
121
- c(f, w);
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 m } from "./index.js";
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 a, m as s } from "./model-setter.js";
32
- var n = Object.defineProperty, d = Object.getOwnPropertyDescriptor, c = (t, r, e, h) => {
33
- for (var o = d(r, e), i = t.length - 1, p; i >= 0; i--)
34
- (p = t[i]) && (o = p(r, e, o) || o);
35
- return o && n(r, e, o), o;
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 && "rotatedState" in t;
38
+ return t !== void 0 && "rotated" in t;
39
39
  }
40
- const f = (t) => m(t), S = (t, r) => {
41
- r.rotated = t;
40
+ const m = (t) => c(t), a = (t, o) => {
41
+ o.rotated = t;
42
42
  };
43
- class _ extends a {
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 f(this._config);
49
+ return m(this._config);
49
50
  }
50
- set rotatedState(r) {
51
- S(r, this._config);
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
- c([
64
+ n([
65
+ s
66
+ ], d.prototype, "rotatedState");
67
+ n([
55
68
  s
56
- ], _.prototype, "rotatedState");
69
+ ], d.prototype, "rotated");
57
70
  export {
58
- _ as W,
71
+ d as W,
59
72
  Q as i
60
73
  };
@@ -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, T = Object.getOwnPropertyDescriptor, Z = (t, e, a, r) => {
7
- for (var i = T(e, a), n = t.length - 1, m; n >= 0; n--)
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 d = (t) => {
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
- }, h = (t, e) => {
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
- getTimeZone() {
27
- return d(this._config);
26
+ get timeZone() {
27
+ return h(this._config);
28
28
  }
29
- async setTimeZone(e) {
30
- h(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
29
+ set timeZone(e) {
30
+ T(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
31
31
  }
32
32
  }
33
- Z([
33
+ d([
34
34
  u
35
- ], y.prototype, "setTimeZone");
35
+ ], y.prototype, "timeZone");
36
36
  export {
37
37
  y as W,
38
- h as s
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 D } from "./rotated-state.js";
34
- const T = [
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
- ], v = [
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
- ], w = [
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 T;
138
+ return D;
139
139
  case a.LineSeries:
140
- return v;
140
+ return T;
141
141
  case a.ComboLineAndBarSeries:
142
- return w;
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) && D(t.model) ? t.model.rotatedState : l?.rotated;
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.filterByExtent || !t.filterBySelection ? o.Enabled : o.Disabled, i.filterByExtentToggle = t.filterByExtent ? 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;
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";