@arcgis/charts-components 5.2.0-next.87 → 5.2.0-next.89

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 (180) hide show
  1. package/dist/cdn/{UYDDYD3O.js → 255J2IDZ.js} +1 -1
  2. package/dist/cdn/{5DHMYPPF.js → 2GXJ2BAR.js} +1 -1
  3. package/dist/cdn/{MNYNXHXE.js → 2PS272XV.js} +1 -1
  4. package/dist/cdn/{OWYKZMAE.js → 3VGDEPLZ.js} +1 -1
  5. package/dist/cdn/{7CZMR2WF.js → 4EFLSDWR.js} +1 -1
  6. package/dist/cdn/{IG43EKA6.js → 4V35YCIC.js} +1 -1
  7. package/dist/cdn/{C5UI5MYS.js → 54CWBGOT.js} +1 -1
  8. package/dist/cdn/{CSOYZJU5.js → 5DIUGUTH.js} +1 -1
  9. package/dist/cdn/{KYOBS7XL.js → 5PVEURDM.js} +1 -1
  10. package/dist/cdn/{PF6QOHZR.js → 6EWSNVVQ.js} +1 -1
  11. package/dist/cdn/{QIG7WTJF.js → 6HYAHTR7.js} +1 -1
  12. package/dist/cdn/{IN2IL6T2.js → 6R75UK7R.js} +1 -1
  13. package/dist/cdn/{XHSD437D.js → 6RNJLIW7.js} +1 -1
  14. package/dist/cdn/{6AWJXWDQ.js → 74WIGEYX.js} +1 -1
  15. package/dist/cdn/{OGGEEHV2.js → 7DCT627N.js} +1 -1
  16. package/dist/cdn/{TVW2GMA6.js → AEKNZ5HX.js} +1 -1
  17. package/dist/cdn/{7ZAT46VE.js → AF2VHZ3K.js} +1 -1
  18. package/dist/cdn/AO3CHQZX.js +3 -0
  19. package/dist/cdn/{U7GQGHZY.js → APBHRWO7.js} +1 -1
  20. package/dist/cdn/{PK7GYSIR.js → B3J7GR64.js} +1 -1
  21. package/dist/cdn/{S2HIF3ZX.js → B6EQRXIO.js} +1 -1
  22. package/dist/cdn/BJ2GQUQQ.js +2 -0
  23. package/dist/cdn/{R3XOXHKQ.js → BO3LKAOY.js} +1 -1
  24. package/dist/cdn/{3H3PFQTD.js → CCUAQ7BS.js} +1 -1
  25. package/dist/cdn/{DV7I4E5D.js → CD35AZCK.js} +1 -1
  26. package/dist/cdn/{OADNRXFH.js → CGHKRNJC.js} +1 -1
  27. package/dist/cdn/{APU26Y2Z.js → CM4FOO3G.js} +1 -1
  28. package/dist/cdn/{WC22SRVJ.js → E4L772I2.js} +1 -1
  29. package/dist/cdn/{TMLVMG4C.js → EJAZNU6L.js} +1 -1
  30. package/dist/cdn/{CXWBQG5O.js → ENVLWI5H.js} +1 -1
  31. package/dist/cdn/{BV7UUWYI.js → ER6XIB34.js} +1 -1
  32. package/dist/cdn/{EMOHROY3.js → EZIHNH4L.js} +1 -1
  33. package/dist/cdn/{AWN3K3IH.js → FHYZ5QCJ.js} +1 -1
  34. package/dist/cdn/{3YPGCLG4.js → G4VATGUV.js} +1 -1
  35. package/dist/cdn/{52NR6B2J.js → GF5RCT7U.js} +1 -1
  36. package/dist/cdn/{KAQ5XSCQ.js → GT6SCH3C.js} +1 -1
  37. package/dist/cdn/{EHYBMIDH.js → HJ2PHQD5.js} +1 -1
  38. package/dist/cdn/{3N6RFNEA.js → I7NNKTPZ.js} +1 -1
  39. package/dist/cdn/{QXQC4CH5.js → IDH345JS.js} +1 -1
  40. package/dist/cdn/{QJFHIO72.js → IP46DLF6.js} +1 -1
  41. package/dist/cdn/{6SQNRMJG.js → IPKYTV7V.js} +1 -1
  42. package/dist/cdn/{ACMHG3RB.js → IWY3WAPJ.js} +1 -1
  43. package/dist/cdn/J47KRLNI.js +2 -0
  44. package/dist/cdn/{SILDOKXS.js → JW662K55.js} +1 -1
  45. package/dist/cdn/{T6OTQUMI.js → K3ZRQQD7.js} +1 -1
  46. package/dist/cdn/{HQ2JPCTQ.js → KLWPXDAD.js} +1 -1
  47. package/dist/cdn/{PTGBFACY.js → L452VJW3.js} +24 -24
  48. package/dist/cdn/{SC26LLWP.js → LF4LYD3D.js} +1 -1
  49. package/dist/cdn/{R6RFH2KK.js → LJRP7HPA.js} +2 -2
  50. package/dist/cdn/{XQRGIPLK.js → LMT3CJIW.js} +1 -1
  51. package/dist/cdn/{OYXDCECZ.js → LODICMAM.js} +1 -1
  52. package/dist/cdn/LPZD4ZKK.js +2 -0
  53. package/dist/cdn/{PDHWZPY5.js → LXKZKLGE.js} +1 -1
  54. package/dist/cdn/{HX4HUXZP.js → M5QTOCZ2.js} +1 -1
  55. package/dist/cdn/{GZEVPH4Y.js → MEOVOANP.js} +1 -1
  56. package/dist/cdn/{DKC4NIUA.js → MHQYPRTN.js} +1 -1
  57. package/dist/cdn/{F3LVXDV4.js → NBZGC5RR.js} +1 -1
  58. package/dist/cdn/{RCAPTQFV.js → NEDOBJNH.js} +1 -1
  59. package/dist/cdn/{3AYNHY7J.js → O6Y5E725.js} +1 -1
  60. package/dist/cdn/{LYSF2KY5.js → OEB4JHC5.js} +1 -1
  61. package/dist/cdn/{C7F4AVQU.js → OX6VTXSJ.js} +1 -1
  62. package/dist/cdn/{FBU4ODQE.js → PG5R4NDA.js} +1 -1
  63. package/dist/cdn/{OMORDJT2.js → POK4XAOI.js} +1 -1
  64. package/dist/cdn/{MITW5XKW.js → QQBBCUQ3.js} +1 -1
  65. package/dist/cdn/{32KKW2IG.js → QYAEDUSX.js} +1 -1
  66. package/dist/cdn/{2Y4OUUMJ.js → RIQLLNP5.js} +1 -1
  67. package/dist/cdn/{UOL7KBJK.js → RMRXMLPD.js} +1 -1
  68. package/dist/cdn/{ZG3WNUBC.js → RPWGXKU5.js} +1 -1
  69. package/dist/cdn/{VSPKBQS6.js → SHUVH6EE.js} +1 -1
  70. package/dist/cdn/{XBRRJQVR.js → SMR2VM6B.js} +1 -1
  71. package/dist/cdn/{5NGIGJYR.js → T6DZBPJC.js} +1 -1
  72. package/dist/cdn/{N634G5MT.js → TFA6LCYF.js} +1 -1
  73. package/dist/cdn/{DNHE5ZCA.js → TXFV35UH.js} +1 -1
  74. package/dist/cdn/{3ZF4RSY4.js → URJ4RY65.js} +1 -1
  75. package/dist/cdn/{HDIBDW52.js → VVLHQONN.js} +1 -1
  76. package/dist/cdn/WOGALV3T.js +2 -0
  77. package/dist/cdn/{FF46DEA7.js → WSHAUD65.js} +1 -1
  78. package/dist/cdn/{5LKJE2PR.js → WSL3KIDE.js} +1 -1
  79. package/dist/cdn/{I3BMYY7N.js → X45ACF6H.js} +1 -1
  80. package/dist/cdn/{AL6VZ6UZ.js → XF6T5ABY.js} +1 -1
  81. package/dist/cdn/{KE4AIHA7.js → YD4TDPP5.js} +1 -1
  82. package/dist/cdn/{LM6VCILT.js → YEZO2L2D.js} +1 -1
  83. package/dist/cdn/ZNTX5IKT.js +2 -0
  84. package/dist/cdn/index.js +1 -1
  85. package/dist/cdn/model/shared/setup-utils.js +1 -1
  86. package/dist/chart-rendering/common/interfaces.d.ts +2 -2
  87. package/dist/chunks/box-plot-data.js +1 -1
  88. package/dist/chunks/box-plot-model.js +1 -1
  89. package/dist/chunks/chart-model.js +12 -3
  90. package/dist/chunks/chart-ui-utils.js +11 -11
  91. package/dist/chunks/class-breaks.js +1 -1
  92. package/dist/chunks/combo-bar-line-chart-model.js +10 -10
  93. package/dist/chunks/data.js +17 -17
  94. package/dist/chunks/index.js +1365 -1348
  95. package/dist/chunks/index4.js +1 -1
  96. package/dist/chunks/model-setter.js +1 -1
  97. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  98. package/dist/chunks/pie-chart-data.js +1 -1
  99. package/dist/chunks/rounded-corners.js +3 -3
  100. package/dist/chunks/scatterplot-model.js +9 -9
  101. package/dist/chunks/serial-chart-data.js +33 -33
  102. package/dist/chunks/serial-chart-model.js +15 -15
  103. package/dist/chunks/type-guards.js +54 -32
  104. package/dist/chunks/utils.js +1 -1
  105. package/dist/chunks/web-component-utils.js +19 -19
  106. package/dist/chunks/x-bounds.js +13 -13
  107. package/dist/components/arcgis-chart/customElement.d.ts +2 -2
  108. package/dist/components/arcgis-chart/customElement.js +2248 -2242
  109. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  112. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  114. package/dist/components/arcgis-charts-config-create-flow/customElement.js +64 -64
  115. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  116. package/dist/components/arcgis-charts-config-guide/customElement.js +4 -4
  117. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  118. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  119. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  120. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  121. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
  122. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  123. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  124. package/dist/docs/api.json +1 -1
  125. package/dist/docs/docs.json +1 -1
  126. package/dist/docs/web-types.json +1 -1
  127. package/dist/index.d.ts +1 -1
  128. package/dist/index.js +238 -235
  129. package/dist/interfaces.d.ts +48 -3
  130. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  131. package/dist/model/shared/setup-utils.d.ts +3 -3
  132. package/dist/utils/chart-config/converter/index.js +14 -14
  133. package/dist/utils/layer/query-parser/index.d.ts +3 -3
  134. package/dist/utils/layer/utils/index.d.ts +22 -5
  135. package/package.json +5 -5
  136. package/dist/cdn/2BA2QD2A.js +0 -3
  137. package/dist/cdn/5EU4GHSG.js +0 -2
  138. package/dist/cdn/7U6OEWTI.js +0 -2
  139. package/dist/cdn/BGOWDCTO.js +0 -2
  140. package/dist/cdn/VNWPA5A2.js +0 -2
  141. package/dist/cdn/XVCBLLWW.js +0 -2
  142. /package/dist/cdn/{P7FI5QUW.js → 3ZNZH5XV.js} +0 -0
  143. /package/dist/cdn/{LXZXXY7V.js → 4EWMZYXM.js} +0 -0
  144. /package/dist/cdn/{C2ZX67U4.js → 4JBUJYUG.js} +0 -0
  145. /package/dist/cdn/{TOCBEPNS.js → 5JV6PU34.js} +0 -0
  146. /package/dist/cdn/{NWQ2L7IJ.js → AI2WUG3K.js} +0 -0
  147. /package/dist/cdn/{TJ2NRLF6.js → AKEVK6VK.js} +0 -0
  148. /package/dist/cdn/{KTYFDFMQ.js → B4HOQOHS.js} +0 -0
  149. /package/dist/cdn/{A2KSCV2I.js → BG4CYK7C.js} +0 -0
  150. /package/dist/cdn/{OMU647X3.js → C6UUBWI2.js} +0 -0
  151. /package/dist/cdn/{RMIIDRGC.js → CHHARRJP.js} +0 -0
  152. /package/dist/cdn/{AF2GUPVE.js → D3ZXHZRV.js} +0 -0
  153. /package/dist/cdn/{SVLOD3HQ.js → DF2SKHUD.js} +0 -0
  154. /package/dist/cdn/{EQTI5Z4G.js → E45CPXW6.js} +0 -0
  155. /package/dist/cdn/{RHUEVXMR.js → ESBQKSZF.js} +0 -0
  156. /package/dist/cdn/{FFJTVPE4.js → FPM6WDQ4.js} +0 -0
  157. /package/dist/cdn/{3FFCWEMV.js → FXBSBXWY.js} +0 -0
  158. /package/dist/cdn/{BWR5ONE2.js → G7W2RL4I.js} +0 -0
  159. /package/dist/cdn/{ZVOX72AF.js → HPNWQANQ.js} +0 -0
  160. /package/dist/cdn/{Z5EJIWAY.js → HVWOLFLT.js} +0 -0
  161. /package/dist/cdn/{R5LIRRMK.js → IBLGAXGT.js} +0 -0
  162. /package/dist/cdn/{HABS63VB.js → IC7XUYKD.js} +0 -0
  163. /package/dist/cdn/{26DDVOQ7.js → IUZFB3JE.js} +0 -0
  164. /package/dist/cdn/{AS3QP77N.js → KIIS7OLN.js} +0 -0
  165. /package/dist/cdn/{Q466K37N.js → LCRLYOX6.js} +0 -0
  166. /package/dist/cdn/{6AXYQGBN.js → MCWIIGOW.js} +0 -0
  167. /package/dist/cdn/{S4NQCINT.js → MW6VSJEF.js} +0 -0
  168. /package/dist/cdn/{PZP57FJ2.js → PSQDO4QK.js} +0 -0
  169. /package/dist/cdn/{NNHJ75EA.js → PWSEK3XV.js} +0 -0
  170. /package/dist/cdn/{XR4O3AQ6.js → QOQ5QNZV.js} +0 -0
  171. /package/dist/cdn/{JUFBIV44.js → SLQPIX6X.js} +0 -0
  172. /package/dist/cdn/{PCFEAGXP.js → SZXVQMQV.js} +0 -0
  173. /package/dist/cdn/{ZARYZFJ4.js → TVKP2GAI.js} +0 -0
  174. /package/dist/cdn/{J3BB5KXD.js → VQLXOQMY.js} +0 -0
  175. /package/dist/cdn/{DDNOUE2T.js → WJY4AWHX.js} +0 -0
  176. /package/dist/cdn/{B5Z7FBO7.js → WNDLNCF7.js} +0 -0
  177. /package/dist/cdn/{6U6VAS2O.js → YNED6356.js} +0 -0
  178. /package/dist/cdn/{B7J5YIWF.js → YZCWFNPW.js} +0 -0
  179. /package/dist/cdn/{OXPXA3PS.js → ZEQF2W7Y.js} +0 -0
  180. /package/dist/cdn/{H2DUFQAG.js → ZYK4DWCN.js} +0 -0
@@ -4,7 +4,7 @@ import E from "ajv";
4
4
  import { g as w } from "./runtime.js";
5
5
  import { fetchT9nStringsBundle as S } from "@arcgis/toolkit/intl";
6
6
  import { getElementLocale as I } from "@arcgis/toolkit/intl/dom";
7
- import { c4 as u, bt as M, bE as V, p as T, w as F, q as z, aS as G, au as A, c5 as U, t as L, bR as D, aO as H, bp as $, c6 as J, bh as _, W as K, c7 as Q, bA as Z, y as X, c8 as Y, M as ee, N as te } from "./index.js";
7
+ import { c5 as u, bu as M, bF as V, p as T, w as F, q as z, aS as G, au as A, c6 as U, t as L, bS as D, aO as H, bp as $, c7 as J, bh as _, W as K, c8 as Q, bB as Z, y as X, c9 as Y, M as ee, N as te } from "./index.js";
8
8
  import { l as ie, q as re } from "./index3.js";
9
9
  import { i as x, a as h, D as ne } from "./index2.js";
10
10
  import { g as C } from "./series-types.js";
@@ -4,7 +4,7 @@ import { getElementLocale as g } from "@arcgis/toolkit/intl/dom";
4
4
  import { g as l } from "./runtime.js";
5
5
  import { convertChartSpec as m } from "../utils/chart-config/converter/index.js";
6
6
  import { a6 as y } from "./index3.js";
7
- import { bD as o, bc as p, t as u, r as _ } from "./index.js";
7
+ import { bE as o, bc as p, t as u, r as _ } from "./index.js";
8
8
  import { cloneDeep as C } from "lodash-es";
9
9
  const h = 30;
10
10
  function U(r, e, t, i) {
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { g as k, b as S, s as b, a as v } from "./series.js";
3
3
  import { n } from "./index3.js";
4
- import { c1 as i, c2 as o } from "./index.js";
4
+ import { c2 as i, c3 as o } from "./index.js";
5
5
  import { C as y, m as h } from "./model-setter.js";
6
6
  const l = (s) => {
7
7
  const { config: e, seriesIndex: a, callback: t } = s;
@@ -190,7 +190,7 @@ const ge = (s) => {
190
190
  const { config: e, layerInfo: i, mode: r, commonStrings: o } = s, d = B(i?.layer).idField;
191
191
  let l = F(e, r);
192
192
  const c = v({ config: e, layerInfo: i, commonStrings: o, mode: r }), a = I({ config: e, layerInfo: i, commonStrings: o, mode: r });
193
- if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, d !== void 0 && (t.length === 0 && r === g.Category ? (t.push(d), l = p.Count) : l === p.Count && t.length >= 1 && !t.includes(d) && (l = p.Sum)), i !== void 0) {
193
+ if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, d !== void 0 && (t.length === 0 && r === g.Category ? (t = [d], l = p.Count) : l === p.Count && t.length >= 1 && !t.includes(d) && (l = p.Sum)), i !== void 0) {
194
194
  if (V({
195
195
  config: e,
196
196
  layerInfo: i,
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { b_ as n } from "./index.js";
2
+ import { b$ as n } from "./index.js";
3
3
  import { C, m as u } from "./model-setter.js";
4
4
  import { al as h } from "./index3.js";
5
5
  const c = (r) => {
@@ -47,7 +47,7 @@ function p(r, e) {
47
47
  function S(r) {
48
48
  return r.roundCorners?.cornerRadius;
49
49
  }
50
- function _(r, e) {
50
+ function O(r, e) {
51
51
  e.roundCorners = {
52
52
  rounded: e.roundCorners?.rounded ?? !1,
53
53
  cornerRadius: r ?? e.roundCorners?.cornerRadius
@@ -72,7 +72,7 @@ class f extends C {
72
72
  return S(this._config);
73
73
  }
74
74
  set cornerRadius(e) {
75
- t(this._config) && _(e, this._config);
75
+ t(this._config) && O(e, this._config);
76
76
  }
77
77
  }
78
78
  l([
@@ -6,10 +6,10 @@ import { g as z } from "./series-length.js";
6
6
  import { g as b } from "./utils2.js";
7
7
  import { aB as m, B as w, az as k } from "./index3.js";
8
8
  import { b as y } from "./index2.js";
9
- import { bB as E } from "./index.js";
9
+ import { bC as E } from "./index.js";
10
10
  import { i as T } from "./index4.js";
11
- import { C as B } from "./chart-model.js";
12
- import { M as V, a as G, W as U, b as j } from "./data-labels-visibility.js";
11
+ import { C as V } from "./chart-model.js";
12
+ import { M as B, a as G, W as U, b as j } from "./data-labels-visibility.js";
13
13
  import { W as N } from "./data-labels-symbol.js";
14
14
  import { W as q, c as H, d as J } from "./axis-lines-symbol.js";
15
15
  import { W as K, a as Q } from "./x-bounds.js";
@@ -28,11 +28,11 @@ function I(i, e, t) {
28
28
  const s = g(i, e, t), r = z(i), o = T(i);
29
29
  return s === r || o;
30
30
  }
31
- function M(i, e) {
31
+ function C(i, e) {
32
32
  const { layerFieldsInfo: t } = e, s = y(t, u(i)), r = b(1, i), o = T(i);
33
33
  return s === r || o;
34
34
  }
35
- function C(i, e) {
35
+ function M(i, e) {
36
36
  const { layerFieldsInfo: t } = e, s = x(i), r = y(t, s), o = b(0, i), n = T(i);
37
37
  return r === o || n;
38
38
  }
@@ -44,7 +44,7 @@ const _ = (i) => {
44
44
  const { x: e, y: t, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings: h } = i, { layerFieldsInfo: A } = r, W = y(A, e), P = y(A, t);
45
45
  !f(e) && n && v(s, 0, W), !f(t) && a && v(s, 1, P), !f(e) && !f(t) && s.title && o && (s.title.content.text = g(s, r, h));
46
46
  }, x = (i) => i.series[0]?.x ?? "", u = (i) => i.series[0]?.y ?? "", re = (i) => {
47
- const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n = C(t, s), a = M(t, s);
47
+ const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n = M(t, s), a = C(t, s);
48
48
  F(t), t.series[0] && (t.series[0].x = e), _({
49
49
  x: e,
50
50
  y: u(t),
@@ -61,7 +61,7 @@ const _ = (i) => {
61
61
  layerInfo: s
62
62
  });
63
63
  }, oe = (i) => {
64
- const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n = C(t, s), a = M(t, s);
64
+ const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n = M(t, s), a = C(t, s);
65
65
  F(t), t.series[0] && (t.series[0].y = e), _({
66
66
  x: x(t),
67
67
  y: e,
@@ -105,7 +105,7 @@ var Te = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, c = (i, e,
105
105
  (n = i[o]) && (r = n(e, t, r) || r);
106
106
  return r && Te(e, t, r), r;
107
107
  };
108
- class l extends B {
108
+ class l extends V {
109
109
  constructor() {
110
110
  super(...arguments), this._chartType = ee.ScatterSeries;
111
111
  }
@@ -240,7 +240,7 @@ c([
240
240
  ], l.prototype, "additionalTooltipField");
241
241
  const Ae = [
242
242
  ie,
243
- V,
243
+ B,
244
244
  G,
245
245
  U,
246
246
  j,
@@ -2,21 +2,21 @@
2
2
  import { substitute as E } from "@arcgis/core/intl.js";
3
3
  import { cloneDeep as J, memoize as Ye, isEmpty as $e } from "lodash-es";
4
4
  import { S as oe } from "./common.js";
5
- import { s as N, u as W, a as Ie, g as ye, b as Le, c as Xe, d as He, e as pe } from "./utils.js";
6
- import { Y as I, aN as Y, bl as Ue, bN as je, bO as Ze, bC as Ne, f as Ke, p as ee, W as _e, V as Qe, bP as ze, O as me, aX as Ge, bQ as Je, N as et, t as tt, bR as st, aO as it, Q as at, bS as rt, _ as nt, bv as ot, bT as lt, bU as fe, bV as ct, bW as ut, bX as dt, P as yt, bY as Se, bZ as _, bE as mt, aP as R, aW as Q, M as gt, r as j, a1 as Oe, b_ as M, bA as U, b$ as pt, c0 as ft, c1 as D, c2 as V, c3 as Fe, bB as xe } from "./index.js";
5
+ import { s as D, u as W, a as Ie, g as ye, b as Le, c as Xe, d as He, e as pe } from "./utils.js";
6
+ import { Y as I, aN as Y, bl as Ue, bO as je, bP as Ze, bD as De, f as Ke, p as ee, W as _e, V as Qe, bQ as ze, O as me, aX as Ge, bR as Je, N as et, t as tt, bS as st, aO as it, Q as at, bT as rt, _ as nt, bw as ot, bU as lt, bV as fe, bW as ct, bX as ut, bY as dt, P as yt, bZ as Se, b_ as _, bF as mt, aP as R, aW as Q, M as gt, r as j, a1 as Oe, b$ as M, bB as U, c0 as pt, c1 as ft, c2 as N, c3 as V, c4 as Fe, bC as xe } from "./index.js";
7
7
  import { a as w, s as ge, g as te, b as he, c as St } from "./data.js";
8
8
  import { a as T, d as v, f as Ft, l as k, t as L, h as $, g as xt, b as ht, e as le } from "./chart-object-literals.js";
9
- import { d as De, b as Tt } from "./rest-js-object-literals.js";
9
+ import { d as Ne, b as Tt } from "./rest-js-object-literals.js";
10
10
  import { i as se } from "./index4.js";
11
11
  import { q as Bt, W as z, X as ce, H as Ct, Y as bt, Z as At, _ as vt, $ as It, j as Lt } from "./index3.js";
12
12
  import { a as P, C as X, b as q } from "./index2.js";
13
- import { g as Ve, s as Nt } from "./series-types.js";
14
- import { C as Ot, m as Dt } from "./model-setter.js";
13
+ import { g as Ve, s as Dt } from "./series-types.js";
14
+ import { C as Ot, m as Nt } from "./model-setter.js";
15
15
  import { convertChartSpec as Vt } from "../utils/chart-config/converter/index.js";
16
- import { i as ue, g as kt } from "./type-guards.js";
16
+ import { i as ue, h as kt } from "./type-guards.js";
17
17
  import { g as ie } from "./utils2.js";
18
18
  import { b as qt, g as Rt } from "./series-length.js";
19
- const Ns = (s) => {
19
+ const Ds = (s) => {
20
20
  let e;
21
21
  const t = s.series[0];
22
22
  return I(t) && (e = t.temporalBinning?.size), e;
@@ -28,7 +28,7 @@ const Ns = (s) => {
28
28
  let e;
29
29
  const t = s.series[0];
30
30
  return I(t) && (e = t.temporalBinning?.timeAggregationType), e;
31
- }, Ds = (s) => {
31
+ }, Ns = (s) => {
32
32
  let e;
33
33
  const t = s.series[0];
34
34
  return I(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
@@ -39,23 +39,23 @@ const Ns = (s) => {
39
39
  }, wt = (s, e) => {
40
40
  e?.series?.forEach((t) => {
41
41
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = s);
42
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
42
+ }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
43
43
  }, Et = (s, e) => {
44
44
  e?.series?.forEach((t) => {
45
45
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = s);
46
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
46
+ }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
47
47
  }, ks = (s, e) => {
48
48
  e.series?.forEach((t) => {
49
49
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = s);
50
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
50
+ }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
51
51
  }, qs = (s, e) => {
52
52
  e.series?.forEach((t) => {
53
53
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = s);
54
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
54
+ }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
55
55
  }, Rs = (s, e) => {
56
56
  e.series?.forEach((t) => {
57
57
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = s);
58
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
58
+ }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
59
  }, Mt = (s) => {
60
60
  wt(0, s);
61
61
  };
@@ -87,7 +87,7 @@ class Ht extends Ot {
87
87
  }
88
88
  }
89
89
  $t([
90
- Dt
90
+ Nt
91
91
  ], Ht.prototype, "timeZone");
92
92
  function Ps(s, e) {
93
93
  let t;
@@ -106,7 +106,7 @@ function Ut(s) {
106
106
  return s !== void 0 && (e = { ...s }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
107
107
  }
108
108
  function Ms(s, e) {
109
- return e != null || Ne(s);
109
+ return e != null || De(s);
110
110
  }
111
111
  async function Ws(s) {
112
112
  const { config: e, layer: t, abortSignal: r } = s;
@@ -302,7 +302,7 @@ async function Qt(s) {
302
302
  return m;
303
303
  }
304
304
  function zt(s, e) {
305
- e && !Ne(e) && (e = Je({ chartConfig: e, queryObject: s }));
305
+ e && !De(e) && (e = Je({ chartConfig: e, queryObject: s }));
306
306
  }
307
307
  async function Ys(s) {
308
308
  const {
@@ -601,7 +601,7 @@ const as = [
601
601
  function os(s) {
602
602
  const e = {};
603
603
  return s.series.forEach((t) => {
604
- Nt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === T.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
604
+ Dt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === T.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
605
605
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
606
606
  }
607
607
  function ae(s) {
@@ -611,9 +611,9 @@ function ae(s) {
611
611
  let p = !1, f = !1, u = !1;
612
612
  if (c === void 0) {
613
613
  const B = i.series;
614
- p = B.slice(0, e).every((A) => D(A)), f = B.slice(0, e).every((A) => V(A)), u = B.slice(0, e).every((A) => Fe(A));
614
+ p = B.slice(0, e).every((A) => N(A)), f = B.slice(0, e).every((A) => V(A)), u = B.slice(0, e).every((A) => Fe(A));
615
615
  } else
616
- p = D(c), f = V(c), u = Fe(c);
616
+ p = N(c), f = V(c), u = Fe(c);
617
617
  p ? l = bt({
618
618
  commonStrings: n,
619
619
  seriesIndex: e,
@@ -761,7 +761,7 @@ function ls(s) {
761
761
  const c = i.layerFieldsInfo.find((p) => p.name === l);
762
762
  return c !== void 0 ? xe(c) : !1;
763
763
  })), pe(r, 1, a);
764
- const n = r.series.some((l) => D(l)), o = r.series.some((l) => V(l));
764
+ const n = r.series.some((l) => N(l)), o = r.series.some((l) => V(l));
765
765
  if (n || o) {
766
766
  const l = w(r), c = i.layerFieldsInfo.find((f) => f.name === l), p = c !== void 0 && xe(c);
767
767
  pe(r, 0, p);
@@ -810,7 +810,7 @@ function cs(s) {
810
810
  outStatisticFieldName: `${S}_0`.toUpperCase(),
811
811
  statisticType: r
812
812
  });
813
- return F.query = { outStatistics: h }, i.series.length === 1 && ((D(F) || V(F)) && Me(F, i.series[0]), M(F) ? F.fillSymbol = i.series[0].fillSymbol : (D(F) || V(F)) && (F.lineSymbol = i.series[0].lineSymbol, F.markerSymbol = i.series[0].markerSymbol)), [F];
813
+ return F.query = { outStatistics: h }, i.series.length === 1 && ((N(F) || V(F)) && Me(F, i.series[0]), M(F) ? F.fillSymbol = i.series[0].fillSymbol : (N(F) || V(F)) && (F.lineSymbol = i.series[0].lineSymbol, F.markerSymbol = i.series[0].markerSymbol)), [F];
814
814
  }
815
815
  function Ee(s) {
816
816
  const { xAxisField: e, numericFields: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, { layerFieldsInfo: o } = a, l = j(a.layer).idField, c = [];
@@ -848,13 +848,13 @@ function Ee(s) {
848
848
  ]) : delete x.query.outStatistics), x.y = H, c.push(x);
849
849
  }
850
850
  const p = c.filter((d) => M(d)), f = c.filter(
851
- (d) => D(d) || V(d)
851
+ (d) => N(d) || V(d)
852
852
  ), u = i.series.filter((d) => M(d)), m = i.series.filter(
853
- (d) => D(d) || V(d)
853
+ (d) => N(d) || V(d)
854
854
  );
855
- return u.length === 1 && p.length === 1 && M(u[0]) && M(p[0]) && (p[0].fillSymbol = u[0].fillSymbol), m.length === 1 && f.length === 1 && ((D(m[0]) && D(f[0]) || V(m[0]) && V(f[0])) && Me(f[0], m[0]), (D(m[0]) && D(f[0]) || V(m[0]) && V(f[0])) && (f[0].lineSymbol = m[0].lineSymbol, f[0].markerSymbol = m[0].markerSymbol)), c;
855
+ return u.length === 1 && p.length === 1 && M(u[0]) && M(p[0]) && (p[0].fillSymbol = u[0].fillSymbol), m.length === 1 && f.length === 1 && ((N(m[0]) && N(f[0]) || V(m[0]) && V(f[0])) && Me(f[0], m[0]), (N(m[0]) && N(f[0]) || V(m[0]) && V(f[0])) && (f[0].lineSymbol = m[0].lineSymbol, f[0].markerSymbol = m[0].markerSymbol)), c;
856
856
  }
857
- function Ni(s) {
857
+ function Di(s) {
858
858
  const { aggregationType: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a, layer: n } = r, o = w(t), l = K(t), c = re(t), p = ne(t, r, i), f = We(t, r, i);
859
859
  if (t.series.forEach((u, m) => {
860
860
  const d = te({
@@ -956,7 +956,7 @@ function us(s) {
956
956
  y: F,
957
957
  query: {
958
958
  ...x.query,
959
- where: `${e}=${u === De.String && g !== null ? `'${g}'` : g}`,
959
+ where: `${e}=${u === Ne.String && g !== null ? `'${g}'` : g}`,
960
960
  outStatistics: i !== v.NoAggregation ? [
961
961
  {
962
962
  ...x.query?.outStatistics?.[0] ?? {},
@@ -1029,19 +1029,19 @@ const Oi = (s) => {
1029
1029
  });
1030
1030
  W(a, 1, x);
1031
1031
  }
1032
- if (g && a.title && (a.title.content.text = Z(a, n, o)), N({ config: a, value: null, axisIndex: 1, isMax: !1 }), N({ config: a, value: null, axisIndex: 1, isMax: !0 }), ls({ numericFields: r, aggregationType: i, config: a, layerInfo: n }), (C || B) && (N({ config: a, value: null, axisIndex: 0, isMax: !1 }), N({ config: a, value: null, axisIndex: 0, isMax: !0 }), A && i !== v.NoAggregation && !Y(p))) {
1032
+ if (g && a.title && (a.title.content.text = Z(a, n, o)), D({ config: a, value: null, axisIndex: 1, isMax: !1 }), D({ config: a, value: null, axisIndex: 1, isMax: !0 }), ls({ numericFields: r, aggregationType: i, config: a, layerInfo: n }), (C || B) && (D({ config: a, value: null, axisIndex: 0, isMax: !1 }), D({ config: a, value: null, axisIndex: 0, isMax: !0 }), A && i !== v.NoAggregation && !Y(p))) {
1033
1033
  const x = R(y) ? $.Null : $.Interpolate;
1034
1034
  Et(x, a);
1035
1035
  }
1036
1036
  Y(a) && qe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((x) => {
1037
- d && delete x.query, I(x) && x.binTemporalData === void 0 && y?.type === De.TimeOnly && (x.binTemporalData = !1);
1037
+ d && delete x.query, I(x) && x.binTemporalData === void 0 && y?.type === Ne.TimeOnly && (x.binTemporalData = !1);
1038
1038
  });
1039
1039
  }, Me = (s, e) => {
1040
1040
  s.markerVisible = e.markerVisible, s.lineSmoothed = e.lineSmoothed, s.showArea = e.showArea, s.areaColor = e.areaColor, s.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (s.lineSymbol = { ...e.lineSymbol, color: s.lineSymbol?.color }), e.markerSymbol && (s.markerSymbol = {
1041
1041
  ...e.markerSymbol,
1042
1042
  color: s.markerSymbol?.color
1043
1043
  });
1044
- }, Di = (s) => {
1044
+ }, Ni = (s) => {
1045
1045
  const { config: e, seriesIndex: t, layerInfo: r, commonStrings: i } = s, a = e.series?.[t], n = re(e);
1046
1046
  let o;
1047
1047
  if (ee(e.series) === P.BarAndLineFromFields)
@@ -1171,16 +1171,16 @@ export {
1171
1171
  re as e,
1172
1172
  $s as f,
1173
1173
  Pe as g,
1174
- Di as h,
1174
+ Ni as h,
1175
1175
  Ws as i,
1176
- Ns as j,
1176
+ Ds as j,
1177
1177
  wt as k,
1178
1178
  Pt as l,
1179
1179
  ks as m,
1180
1180
  Os as n,
1181
1181
  qs as o,
1182
1182
  Ys as p,
1183
- Ds as q,
1183
+ Ns as q,
1184
1184
  Ut as r,
1185
1185
  ke as s,
1186
1186
  Rs as t,
@@ -1188,6 +1188,6 @@ export {
1188
1188
  Vs as v,
1189
1189
  Et as w,
1190
1190
  Mt as x,
1191
- Ni as y,
1191
+ Di as y,
1192
1192
  de as z
1193
1193
  };
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { isEqual as D } from "lodash-es";
3
3
  import { a as u, c as b, d as h } from "./chart-object-literals.js";
4
- import { b_ as I, c1 as v, bA as p, r as M } from "./index.js";
4
+ import { b$ as I, c2 as v, bB as p, r as M } from "./index.js";
5
5
  import { i as P } from "./index4.js";
6
6
  import { C as O } from "./chart-model.js";
7
7
  import { m as o } from "./model-setter.js";
8
8
  import { S as V } from "./common.js";
9
9
  import { M as N, a as k, W as E, b as U } from "./data-labels-visibility.js";
10
10
  import { M as j, a as X } from "./model-with-y-guides.js";
11
- import { g as d, d as y, j as Y, k as w, l as z, m as R, n as K, o as q, q as G, t as $, v as Z, w as H, x as J, y as Q, z as S, A as _, B as x, C as m, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
11
+ import { g as d, d as y, j as Y, k as w, l as z, m as R, n as K, o as $, q, t as G, v as Z, w as H, x as J, y as Q, z as S, A as _, B as x, C as m, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
12
12
  import { M as oe } from "./model-with-x-guides.js";
13
13
  import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
14
14
  import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
@@ -16,12 +16,12 @@ import { W as he, a as pe } from "./x-bounds.js";
16
16
  import { W as me } from "./data-labels-symbol.js";
17
17
  import { W as de } from "./rotated-state.js";
18
18
  import { g as W, u as ye, s as T, h as ue, j as Se, k as _e, f as xe } from "./utils.js";
19
- import { d as F, e as C, a as Te } from "./data.js";
20
- import { u as Fe, m as Ce, a7 as Be, k as Ae, j as be } from "./index3.js";
19
+ import { d as F, e as B, a as Te } from "./data.js";
20
+ import { u as Fe, m as Be, a7 as Ce, k as Ae, j as be } from "./index3.js";
21
21
  import { s as L } from "./series-types.js";
22
- const B = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
22
+ const C = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
23
23
  const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
24
- e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Be(r, u.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
24
+ e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Ce(r, u.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
25
25
  g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
26
26
  }), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
27
27
  }, Ie = (s, e) => e.series?.[s]?.name, ve = (s, e, i) => {
@@ -37,7 +37,7 @@ const B = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
37
37
  ...t.fillSymbol,
38
38
  color: s
39
39
  } : v(t) && (t.lineSymbol = {
40
- ...Ce(e),
40
+ ...Be(e),
41
41
  ...t.lineSymbol,
42
42
  color: s
43
43
  }));
@@ -99,16 +99,16 @@ class c extends O {
99
99
  return K(this._config);
100
100
  }
101
101
  set timeAggregationType(e) {
102
- q(e, this._config);
102
+ $(e, this._config);
103
103
  }
104
104
  /**
105
105
  * Whether to trim incomplete time intervals for a temporal bar chart or line chart.
106
106
  */
107
107
  get trimIncompleteTimeInterval() {
108
- return G(this._config);
108
+ return q(this._config);
109
109
  }
110
110
  set trimIncompleteTimeInterval(e) {
111
- $(e, this._config);
111
+ G(e, this._config);
112
112
  }
113
113
  /**
114
114
  * Policy which tells the chart how to handle null values.
@@ -207,7 +207,7 @@ class n extends O {
207
207
  const i = Se(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
208
208
  if (i && !t) {
209
209
  const r = M(this.layerInfo.layer).idField;
210
- e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType = h.Count) : this._aggregationType === h.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = h.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
210
+ e.length === 0 && r !== void 0 ? (e = [r], this._aggregationType = h.Count) : this._aggregationType === h.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = h.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
211
211
  } else t && this.resetConfig();
212
212
  }
213
213
  /**
@@ -217,7 +217,7 @@ class n extends O {
217
217
  * @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
218
218
  */
219
219
  getAssignToSecondValueAxis(e) {
220
- return B(e, this._config);
220
+ return C(e, this._config);
221
221
  }
222
222
  setAssignToSecondValueAxis(e, i) {
223
223
  A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
@@ -228,7 +228,7 @@ class n extends O {
228
228
  * @param seriesIndex - The index of the series.
229
229
  */
230
230
  getSeriesToSecondaryYAxis(e) {
231
- return B(e, this._config);
231
+ return C(e, this._config);
232
232
  }
233
233
  setSeriesToSecondaryYAxis(e, i) {
234
234
  A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
@@ -270,7 +270,7 @@ class n extends O {
270
270
  * The list of values for custom sort.
271
271
  */
272
272
  get orderByList() {
273
- return C(this._config);
273
+ return B(this._config);
274
274
  }
275
275
  set orderByList(e) {
276
276
  !P(this._config) && x(e, this._config);
@@ -358,7 +358,7 @@ class n extends O {
358
358
  t.splice(i, 0, r), this.setOrderOfSeries(t);
359
359
  }
360
360
  moveCustomSortValuesInOrderByList(e, i) {
361
- const t = C(this._config), [r] = t.splice(e, 1);
361
+ const t = B(this._config), [r] = t.splice(e, 1);
362
362
  t.splice(i, 0, r), x(t, this._config);
363
363
  }
364
364
  /**
@@ -1,37 +1,59 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- function n(r) {
3
- return r !== void 0 && "type" in r && r.type === "imagery";
4
- }
5
- function s(r) {
6
- return r !== void 0 && "type" in r && r.type === "imagery-tile";
7
- }
8
- function o(r) {
9
- return r !== void 0 && "type" in r && r.type === "wcs";
10
- }
11
- function i(r) {
12
- return r === "imagery" || r === "imagery-tile" || r === "wcs";
13
- }
14
- function a(r) {
15
- return r !== void 0 && "type" in r && i(r.type);
16
- }
17
- function p(r) {
18
- return t(r?.iLayer);
19
- }
20
- function t(r) {
21
- const e = r?.layerType;
22
- return e === "ArcGISImageServiceLayer" || e === "ArcGISTiledImageServiceLayer" || e === "WCS";
23
- }
24
- function y(r, e) {
25
- if (a(r))
26
- throw new Error(e ?? "Raster layer is not supported by this operation.");
2
+ import "@arcgis/toolkit/type";
3
+ function p(e) {
4
+ return e !== void 0 && "type" in e && e.type === "imagery";
5
+ }
6
+ function y(e) {
7
+ return e !== void 0 && "type" in e && e.type === "imagery-tile";
8
+ }
9
+ function u(e) {
10
+ return e !== void 0 && "type" in e && e.type === "wcs";
11
+ }
12
+ function t(e) {
13
+ return e === "imagery" || e === "imagery-tile" || e === "wcs";
14
+ }
15
+ function a(e) {
16
+ return e !== void 0 && "type" in e && t(e.type);
17
+ }
18
+ function g(e) {
19
+ return s(e?.iLayer);
20
+ }
21
+ function s(e) {
22
+ const r = e?.layerType;
23
+ return r === "ArcGISImageServiceLayer" || r === "ArcGISTiledImageServiceLayer" || r === "WCS";
24
+ }
25
+ function c(e, r) {
26
+ if (a(e))
27
+ throw new Error(r ?? "Raster layer is not supported by this operation.");
28
+ }
29
+ const i = [
30
+ "catalog",
31
+ "catalog-footprint",
32
+ "csv",
33
+ "feature",
34
+ "geojson",
35
+ "imagery",
36
+ "knowledge-graph-sublayer",
37
+ "ogc-feature",
38
+ "oriented-imagery",
39
+ "parquet",
40
+ "scene",
41
+ "stream",
42
+ "subtype-group",
43
+ "subtype-sublayer",
44
+ "wfs"
45
+ ], o = new Set(i);
46
+ function d(e) {
47
+ return o.has(e.type);
27
48
  }
28
49
  export {
29
- y as a,
30
- i as b,
31
- n as c,
32
- s as d,
33
- o as e,
34
- t as f,
35
- p as g,
50
+ c as a,
51
+ t as b,
52
+ p as c,
53
+ y as d,
54
+ d as e,
55
+ u as f,
56
+ s as g,
57
+ g as h,
36
58
  a as i
37
59
  };
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as j, a as f, d as A, g as w } from "./chart-object-literals.js";
3
- import { r as I, ai as q, cb as k, cc as O, cd as L, ce as V, O as M, a1 as b } from "./index.js";
3
+ import { r as I, ai as q, cc as k, cd as O, ce as L, cf as V, O as M, a1 as b } from "./index.js";
4
4
  import { i as B } from "./type-guards.js";
5
5
  import { f as W, b as S, i as $, q as E } from "./index2.js";
6
6
  import { substitute as h } from "@arcgis/core/intl.js";