@arcgis/charts-components 5.1.0-next.65 → 5.1.0-next.67

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 (264) hide show
  1. package/dist/cdn/2333HQZZ.js +2 -0
  2. package/dist/cdn/25LAV2UI.js +2 -0
  3. package/dist/cdn/{SMGWUDX3.js → 2J5IWBKU.js} +1 -1
  4. package/dist/cdn/2NIOPMWE.js +2 -0
  5. package/dist/cdn/32WPXK4K.js +2 -0
  6. package/dist/cdn/35NR6IHU.js +2 -0
  7. package/dist/cdn/4BDLJPIB.js +2 -0
  8. package/dist/cdn/4HRFZU2C.js +2 -0
  9. package/dist/cdn/4NYTLY62.js +2 -0
  10. package/dist/cdn/{66CPF67N.js → 5KOFW5BO.js} +1 -1
  11. package/dist/cdn/5PSQ7OKJ.js +2 -0
  12. package/dist/cdn/6GURKNO2.js +2 -0
  13. package/dist/cdn/{GLST76GV.js → 6GVGNQYH.js} +1 -1
  14. package/dist/cdn/6RKNXP6N.js +2 -0
  15. package/dist/cdn/{X6QQ322N.js → 6TKG7ZF7.js} +1 -1
  16. package/dist/cdn/{6VW6XPBH.js → 75FO5HPY.js} +1 -1
  17. package/dist/cdn/7HGCX3PA.js +2 -0
  18. package/dist/cdn/7Y5FTMNT.js +2 -0
  19. package/dist/cdn/{4YWBOW4N.js → 7YDVVZJU.js} +1 -1
  20. package/dist/cdn/AALOFAWG.js +2 -0
  21. package/dist/cdn/AMLWVAHN.js +2 -0
  22. package/dist/cdn/BVK4ULHH.js +2 -0
  23. package/dist/cdn/BXDRHDLV.js +2 -0
  24. package/dist/cdn/BXNLQMSP.js +2 -0
  25. package/dist/cdn/{3WMOCDMO.js → CCNHG4LT.js} +1 -1
  26. package/dist/cdn/CUAIY5DK.js +37 -0
  27. package/dist/cdn/DHCFSWRJ.js +2 -0
  28. package/dist/cdn/ECRW3QJF.js +2 -0
  29. package/dist/cdn/{DHZT5P3N.js → EF4GVHB2.js} +1 -1
  30. package/dist/cdn/EGHVQUKF.js +2 -0
  31. package/dist/cdn/EP5VVTAX.js +2 -0
  32. package/dist/cdn/EWLMYFSA.js +2 -0
  33. package/dist/cdn/{QFC7M2Y2.js → FFXTYOTF.js} +1 -1
  34. package/dist/cdn/FOSGOEWY.js +2 -0
  35. package/dist/cdn/G56RB2UI.js +2 -0
  36. package/dist/cdn/{HR62GM42.js → GKYHQ5OF.js} +1 -1
  37. package/dist/cdn/GXQDCOI4.js +99 -0
  38. package/dist/cdn/HW42VNOU.js +2 -0
  39. package/dist/cdn/I54YDLFZ.js +2 -0
  40. package/dist/cdn/I6IYDKWG.js +2 -0
  41. package/dist/cdn/IN3H6ULU.js +2 -0
  42. package/dist/cdn/ISNJYFT7.js +2 -0
  43. package/dist/cdn/ITB7EYBT.js +2 -0
  44. package/dist/cdn/JDQ6BNXO.js +2 -0
  45. package/dist/cdn/JMMW4Z5P.js +2 -0
  46. package/dist/cdn/JTL73F75.js +2 -0
  47. package/dist/cdn/KOLQWSYX.js +2 -0
  48. package/dist/cdn/KYFOP4WA.js +2 -0
  49. package/dist/cdn/L2NQ6Z3Z.js +2 -0
  50. package/dist/cdn/LGAAHH35.js +2 -0
  51. package/dist/cdn/LIXBROPH.js +2 -0
  52. package/dist/cdn/LRQVALTM.js +2 -0
  53. package/dist/cdn/LT62HS4S.js +2 -0
  54. package/dist/cdn/MUCSVAGN.js +2 -0
  55. package/dist/cdn/N4IITAR7.js +2 -0
  56. package/dist/cdn/NEEKPRM4.js +2 -0
  57. package/dist/cdn/NEFPCTH3.js +2 -0
  58. package/dist/cdn/NVV2EBVI.js +2 -0
  59. package/dist/cdn/O7ZCEGVR.js +2 -0
  60. package/dist/cdn/{WIP3X44L.js → OPDQRTZL.js} +3 -3
  61. package/dist/cdn/PG36SBDU.js +2 -0
  62. package/dist/cdn/PGJD4Q7S.js +2 -0
  63. package/dist/cdn/PGVNBWSU.js +23 -0
  64. package/dist/cdn/PL24HKI7.js +2 -0
  65. package/dist/cdn/PLBPOYRN.js +2 -0
  66. package/dist/cdn/QEPCR5IP.js +2 -0
  67. package/dist/cdn/QT24FAYQ.js +2 -0
  68. package/dist/cdn/R6XIAIZH.js +2 -0
  69. package/dist/cdn/RDBNRYTF.js +2 -0
  70. package/dist/cdn/RQLVJM4J.js +2 -0
  71. package/dist/cdn/RX6QOYCR.js +2 -0
  72. package/dist/cdn/SNZF4LXV.js +2 -0
  73. package/dist/cdn/{QRNEQ6OE.js → TJA5FMLP.js} +1 -1
  74. package/dist/cdn/TZJGC4RS.js +2 -0
  75. package/dist/cdn/{IIJZ52BJ.js → VRXVXPKS.js} +1 -1
  76. package/dist/cdn/VWCFL5P6.js +2 -0
  77. package/dist/cdn/W5VC5OCC.js +2 -0
  78. package/dist/cdn/W6T7TNP5.js +2 -0
  79. package/dist/cdn/WNEW6UZS.js +2 -0
  80. package/dist/cdn/XFXE7IY2.js +2 -0
  81. package/dist/cdn/XV7GLCBP.js +2 -0
  82. package/dist/cdn/Y3DU5EIT.js +2 -0
  83. package/dist/cdn/Y3NWCVUF.js +2 -0
  84. package/dist/cdn/YHUBOYF5.js +2 -0
  85. package/dist/cdn/YNRVU2AU.js +2 -0
  86. package/dist/cdn/YPSEQYTV.js +2 -0
  87. package/dist/cdn/YQTJQ5J7.js +2 -0
  88. package/dist/cdn/Z4GL4EF6.js +2 -0
  89. package/dist/cdn/ZIXBICPN.js +2 -0
  90. package/dist/cdn/ZRDVJBTQ.js +2 -0
  91. package/dist/cdn/index.js +1 -1
  92. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +8 -0
  93. package/dist/chart-rendering/common/interfaces.d.ts +7 -0
  94. package/dist/chunks/action-bar-utils.js +22 -28
  95. package/dist/chunks/axis-lines-symbol.js +8 -8
  96. package/dist/chunks/bar-chart-model.js +19 -25
  97. package/dist/chunks/bar-chart-series.js +12 -18
  98. package/dist/chunks/box-plot-data.js +75 -81
  99. package/dist/chunks/box-plot-model.js +19 -19
  100. package/dist/chunks/chart-model.js +40 -46
  101. package/dist/chunks/chart-ui-utils2.js +47 -53
  102. package/dist/chunks/class-breaks.js +16 -16
  103. package/dist/chunks/combo-bar-line-chart-model.js +20 -20
  104. package/dist/chunks/data-labels-symbol.js +5 -5
  105. package/dist/chunks/data.js +53 -59
  106. package/dist/chunks/gauge-model.js +22 -28
  107. package/dist/chunks/generate-x-axis-title.js +30 -36
  108. package/dist/chunks/heat-chart-model.js +10 -16
  109. package/dist/chunks/histogram-data.js +53 -59
  110. package/dist/chunks/histogram-model.js +31 -31
  111. package/dist/chunks/index.js +608 -20565
  112. package/dist/chunks/index2.js +171 -678
  113. package/dist/chunks/index3.js +46 -181
  114. package/dist/chunks/interfaces.js +16443 -103
  115. package/dist/chunks/interfaces2.js +109 -0
  116. package/dist/chunks/line-chart-model.js +2 -2
  117. package/dist/chunks/model-setter.js +15 -21
  118. package/dist/chunks/model-with-guides.js +22 -28
  119. package/dist/chunks/model-with-tooltips.js +23 -29
  120. package/dist/chunks/model-with-x-guides.js +4 -4
  121. package/dist/chunks/model-with-y-guides.js +25 -31
  122. package/dist/chunks/negative-values-stacked-to-baseline.js +41 -47
  123. package/dist/chunks/pie-chart-data.js +33 -39
  124. package/dist/chunks/pie-chart-model.js +62 -68
  125. package/dist/chunks/radar-chart-model.js +8 -15
  126. package/dist/chunks/rotated-state.js +9 -15
  127. package/dist/chunks/scatterplot-model.js +84 -90
  128. package/dist/chunks/serial-chart-data.js +8178 -4195
  129. package/dist/chunks/serial-chart-model.js +32 -39
  130. package/dist/chunks/series-length.js +14 -20
  131. package/dist/chunks/series.js +10 -16
  132. package/dist/chunks/utils.js +337 -119
  133. package/dist/chunks/utils2.js +19 -25
  134. package/dist/chunks/web-component-utils.js +42 -42
  135. package/dist/components/arcgis-chart/customElement.js +5255 -5339
  136. package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
  137. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +22 -28
  138. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -10
  139. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +15 -20
  140. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +9 -15
  141. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +9 -15
  142. package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -16
  143. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -11
  144. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +33 -38
  145. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -10
  146. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -10
  147. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +7 -13
  148. package/dist/components/arcgis-charts-config-create-flow/customElement.js +14 -20
  149. package/dist/components/arcgis-charts-config-font-style/customElement.js +14 -20
  150. package/dist/components/arcgis-charts-config-format/customElement.js +4 -10
  151. package/dist/components/arcgis-charts-config-format-popover/customElement.js +10 -16
  152. package/dist/components/arcgis-charts-config-general/customElement.js +8 -14
  153. package/dist/components/arcgis-charts-config-guide/customElement.js +14 -19
  154. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +13 -19
  155. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +4 -10
  156. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +20 -26
  157. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +17 -24
  158. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -21
  159. package/dist/components/arcgis-charts-config-histogram/customElement.js +26 -32
  160. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +26 -32
  161. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -11
  162. package/dist/components/arcgis-charts-config-line-chart/customElement.js +18 -24
  163. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -18
  164. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -14
  165. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -10
  166. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -10
  167. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -11
  168. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +8 -14
  169. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -24
  170. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +8 -14
  171. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -10
  172. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +22 -28
  173. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -15
  174. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -11
  175. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +4 -10
  176. package/dist/components/arcgis-charts-config-view-charts/customElement.js +12 -19
  177. package/dist/components/arcgis-charts-info-modal/customElement.js +4 -10
  178. package/dist/docs/api.json +1 -1
  179. package/dist/docs/docs.json +1 -1
  180. package/dist/docs/vscode.html-custom-data.json +1 -1
  181. package/dist/docs/web-types.json +1 -1
  182. package/dist/index.js +421 -412
  183. package/dist/utils/chart-config/utils/index.d.ts +22 -1
  184. package/dist/utils/chart-config/validator/index.d.ts +2 -2
  185. package/dist/utils/data/index.d.ts +48 -1
  186. package/dist/utils/data/pie-chart/index.d.ts +31 -0
  187. package/package.json +3 -3
  188. package/dist/cdn/2R7GVZ2K.js +0 -2
  189. package/dist/cdn/3LT2GKQ2.js +0 -2
  190. package/dist/cdn/4D7IL776.js +0 -23
  191. package/dist/cdn/4TUXERAH.js +0 -2
  192. package/dist/cdn/53BACKKK.js +0 -2
  193. package/dist/cdn/5TNV7JHC.js +0 -2
  194. package/dist/cdn/627BGNFG.js +0 -2
  195. package/dist/cdn/6LOKVOKI.js +0 -2
  196. package/dist/cdn/6NZ5UJML.js +0 -2
  197. package/dist/cdn/6WJVFMRO.js +0 -2
  198. package/dist/cdn/7GZN67ZQ.js +0 -2
  199. package/dist/cdn/7SSD7QVG.js +0 -2
  200. package/dist/cdn/7XRXZ5B3.js +0 -2
  201. package/dist/cdn/7Y57O4FJ.js +0 -2
  202. package/dist/cdn/7Y7YFJKK.js +0 -2
  203. package/dist/cdn/7YXQ6TZT.js +0 -2
  204. package/dist/cdn/A642VLJ3.js +0 -2
  205. package/dist/cdn/AVCKTWRB.js +0 -2
  206. package/dist/cdn/BCEUGCIB.js +0 -2
  207. package/dist/cdn/BP7HN7YH.js +0 -2
  208. package/dist/cdn/BPZNMCFA.js +0 -2
  209. package/dist/cdn/DRLAYMR6.js +0 -2
  210. package/dist/cdn/DXWMRZX7.js +0 -2
  211. package/dist/cdn/E7ZG5PMT.js +0 -2
  212. package/dist/cdn/EDBE2EVF.js +0 -2
  213. package/dist/cdn/EDCUOXXS.js +0 -2
  214. package/dist/cdn/EWCL54AQ.js +0 -2
  215. package/dist/cdn/FKR2N42T.js +0 -2
  216. package/dist/cdn/GT2GE37X.js +0 -2
  217. package/dist/cdn/HHMRHLFD.js +0 -2
  218. package/dist/cdn/HMYIPN7X.js +0 -2
  219. package/dist/cdn/HQZDYYW6.js +0 -2
  220. package/dist/cdn/HZDIYXNY.js +0 -2
  221. package/dist/cdn/I34GLJPW.js +0 -2
  222. package/dist/cdn/IGRLN5QE.js +0 -2
  223. package/dist/cdn/IJD3YDOE.js +0 -2
  224. package/dist/cdn/ITF5WJUH.js +0 -2
  225. package/dist/cdn/J73HEYK6.js +0 -2
  226. package/dist/cdn/JWTEQZTD.js +0 -2
  227. package/dist/cdn/KDLX6TGN.js +0 -2
  228. package/dist/cdn/LLNUWDC5.js +0 -2
  229. package/dist/cdn/LZ7LNUEI.js +0 -2
  230. package/dist/cdn/MAZJTJ64.js +0 -2
  231. package/dist/cdn/MB7BDR7H.js +0 -2
  232. package/dist/cdn/MTTVUHUH.js +0 -2
  233. package/dist/cdn/MVLJJ7VZ.js +0 -2
  234. package/dist/cdn/N373OIOT.js +0 -2
  235. package/dist/cdn/N4GBOPIU.js +0 -2
  236. package/dist/cdn/OG3JZ3LP.js +0 -37
  237. package/dist/cdn/PSYU6XTK.js +0 -2
  238. package/dist/cdn/PVTBEXFF.js +0 -2
  239. package/dist/cdn/PYLJO324.js +0 -2
  240. package/dist/cdn/QQ6DOFHZ.js +0 -99
  241. package/dist/cdn/RAJWBR34.js +0 -2
  242. package/dist/cdn/S7COU7MH.js +0 -2
  243. package/dist/cdn/SYY7UU2N.js +0 -2
  244. package/dist/cdn/TN45YUM2.js +0 -2
  245. package/dist/cdn/TODWZ6FZ.js +0 -2
  246. package/dist/cdn/TP7767ZV.js +0 -2
  247. package/dist/cdn/UFJOL4MK.js +0 -2
  248. package/dist/cdn/ULSVHCH4.js +0 -2
  249. package/dist/cdn/UVFPEIK2.js +0 -2
  250. package/dist/cdn/V3PU5TMU.js +0 -2
  251. package/dist/cdn/V3VVN7ST.js +0 -2
  252. package/dist/cdn/V5JXE6N4.js +0 -2
  253. package/dist/cdn/VPOAGMYE.js +0 -2
  254. package/dist/cdn/VXMMIOTJ.js +0 -2
  255. package/dist/cdn/WL2XRSAH.js +0 -2
  256. package/dist/cdn/WWARKOXR.js +0 -2
  257. package/dist/cdn/WWGW24FD.js +0 -2
  258. package/dist/cdn/XUHCS2SB.js +0 -2
  259. package/dist/cdn/YBAPI2UV.js +0 -2
  260. package/dist/cdn/YJDYXU2Q.js +0 -2
  261. package/dist/cdn/YUZ26Q2B.js +0 -2
  262. package/dist/cdn/ZRDKD2U3.js +0 -2
  263. package/dist/cdn/ZVOSWG36.js +0 -2
  264. /package/dist/cdn/{FPDW4F45.js → VCUC6CMW.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { substitute as M } from "@arcgis/core/intl.js";
3
- import { memoize as $, isEmpty as ce, isEqual as de, cloneDeep as j } from "lodash-es";
3
+ import { memoize as X, isEmpty as ce, isEqual as de, cloneDeep as $ } from "lodash-es";
4
4
  import "@arcgis/toolkit/type";
5
5
  import { u, n as p, p as h } from "./series-types.js";
6
6
  import { R as ye } from "./rest-js-object-literals.js";
7
7
  import "@arcgis/toolkit/intl";
8
8
  import "luxon";
9
- import { aD as q, cR as V, z as C, c0 as I, cB as me, c7 as ue, bx as fe, bl as w, bo as R, aX as J, aZ as Q, K as Z, aE as _, F as W, aY as Se, aK as pe, aF as ge } from "./index.js";
9
+ import { aB as q, cN as V, y as C, bY as I, cw as me, c2 as ue, bu as fe, bi as w, bl as J, aV as R, aX as Q, J as _, aC as G, z as K, aW as Se, aI as pe, aD as ge } from "./interfaces.js";
10
10
  import "@arcgis/core/geometry/support/jsonUtils.js";
11
11
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
12
12
  import "@arcgis/core/rest/support/Query.js";
@@ -23,23 +23,17 @@ import "simple-statistics";
23
23
  import "@arcgis/core/Graphic.js";
24
24
  import "@arcgis/core/renderers/support/jsonUtils.js";
25
25
  import "@arcgis/core/symbols/support/symbolUtils.js";
26
- import "@arcgis/core/AttributeBinsGraphic.js";
27
- import "@arcgis/core/layers/support/CodedValueDomain.js";
28
- import "@arcgis/core/layers/support/FeatureFilter.js";
29
- import "@arcgis/core/smartMapping/statistics/histogram.js";
30
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
31
- import "@arcgis/core/core/sql.js";
32
26
  import "@arcgis/toolkit/dom";
33
- import { u as D, d as G, e as be, f as he, s as U, h as Fe } from "./utils.js";
27
+ import { b as D, h as H, j as be, k as he, s as U, l as Ae } from "./utils.js";
34
28
  import { B as m } from "./common.js";
35
29
  import "@esri/arcgis-html-sanitizer";
36
30
  import { g as z } from "./utils2.js";
37
- import { a as Ae } from "./series-length.js";
38
- import { c as E } from "./data.js";
39
- const As = (s, e) => e?.series?.[s]?.name, Bs = (s, e, t) => {
31
+ import { a as Fe } from "./series-length.js";
32
+ import { c as W } from "./data.js";
33
+ const ps = (s, e) => e?.series?.[s]?.name, gs = (s, e, t) => {
40
34
  const o = t;
41
35
  o?.series?.[e] !== void 0 && (o.series[e].name = s);
42
- }, Cs = (s, e) => {
36
+ }, xs = (s, e) => {
43
37
  let t;
44
38
  const o = e.series?.[s];
45
39
  return o?.type === u.BoxPlotSeries ? t = o.fillSymbol?.color : o?.type === u.LineSeries && (t = o.lineSymbol?.color), t;
@@ -52,22 +46,22 @@ const As = (s, e) => e?.series?.[s]?.name, Bs = (s, e, t) => {
52
46
  ...q(),
53
47
  color: s
54
48
  });
55
- }, ws = (s, e, t) => {
49
+ }, bs = (s, e, t) => {
56
50
  const i = t?.series?.[e];
57
51
  i?.type === u.BoxPlotSeries && i.fillSymbol !== void 0 ? i.fillSymbol.color = s : i?.type === u.LineSeries && i.lineSymbol !== void 0 && (i.lineSymbol.color = s, i.markerSymbol !== void 0 && (i.markerSymbol.color = s));
58
52
  }, we = (s) => s.series.map((e) => e.id), Le = (s, e) => {
59
53
  e?.series?.sort(
60
54
  (t, o) => s.findIndex((i) => t.id === i) - s.findIndex((i) => o.id === i)
61
55
  );
62
- }, Ls = (s, e, t) => {
56
+ }, hs = (s, e, t) => {
63
57
  const o = we(t), [i] = o.splice(s, 1);
64
58
  o.splice(e, 0, i), Le(o, t);
65
- }, Ts = (s) => N(s) ? s.series.findIndex((e) => e.type === u.BoxPlotSeries) : -1;
59
+ }, As = (s) => N(s) ? s.series.findIndex((e) => e.type === u.BoxPlotSeries) : -1;
66
60
  function Te(s, e, t) {
67
- const o = re(s, e, t), i = Ae(s), r = V(s);
61
+ const o = re(s, e, t), i = Fe(s), r = V(s);
68
62
  return o === i || r;
69
63
  }
70
- function H(s, e, t) {
64
+ function Z(s, e, t) {
71
65
  const o = T(s, e, t), i = z(1, s), r = V(s);
72
66
  return o === i || r;
73
67
  }
@@ -75,13 +69,13 @@ function ve(s) {
75
69
  const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = L(e), l = o !== C ? w(i, r) : "", n = z(0, e), a = V(e);
76
70
  return l === n || a || n.trim() === "";
77
71
  }
78
- const L = (s) => I(s)?.x ?? C, Me = $(
72
+ const L = (s) => I(s)?.x ?? C, Me = X(
79
73
  (s) => {
80
74
  const e = I(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
81
75
  return me(e?.query?.where) ? "" : t;
82
76
  },
83
77
  (s) => I(s)?.query?.where
84
- ), ee = $(
78
+ ), ee = X(
85
79
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
86
80
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
87
81
  (s) => ue(s?.series).filter((e) => e !== ""),
@@ -89,12 +83,12 @@ const L = (s) => I(s)?.x ?? C, Me = $(
89
83
  (s) => s?.series
90
84
  ), O = (s) => {
91
85
  const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, l = {
92
- ..._(i, t),
86
+ ...G(i, t),
93
87
  x: e === void 0 || e === "" ? C : e,
94
88
  y: o,
95
89
  query: {}
96
90
  };
97
- return j(l);
91
+ return $(l);
98
92
  }, Oe = (s) => {
99
93
  const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, l = {
100
94
  ...Se({ commonStrings: i, seriesIndex: t }),
@@ -102,16 +96,16 @@ const L = (s) => I(s)?.x ?? C, Me = $(
102
96
  y: o,
103
97
  query: {}
104
98
  };
105
- return j(l);
99
+ return $(l);
106
100
  };
107
101
  function se(s) {
108
- const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: l } = o ?? {}, n = _(i), a = r ?? `series_${Date.now()}`;
109
- return n.id = a, n.name = a, n.x = e, n.y = t, l ? n.fillSymbol = l : n.fillSymbol && (n.fillSymbol.color = W, n.fillSymbol?.outline && (n.fillSymbol.outline.color = W)), n;
102
+ const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: l } = o ?? {}, n = G(i), a = r ?? `series_${Date.now()}`;
103
+ return n.id = a, n.name = a, n.x = e, n.y = t, l ? n.fillSymbol = l : n.fillSymbol && (n.fillSymbol.color = K, n.fillSymbol?.outline && (n.fillSymbol.outline.color = K)), n;
110
104
  }
111
105
  function te(s) {
112
106
  const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: r } = s, { layerFieldsInfo: l } = o, n = [], a = i ?? L(t);
113
107
  let y = !1;
114
- const c = E({
108
+ const c = W({
115
109
  fieldName: a,
116
110
  numericFields: e,
117
111
  fieldList: l
@@ -125,13 +119,13 @@ function te(s) {
125
119
  });
126
120
  n.push(f);
127
121
  } else if (c) {
128
- const f = e.length > 1 ? e : e[0], F = O({
122
+ const f = e.length > 1 ? e : e[0], A = O({
129
123
  y: f,
130
124
  seriesIndex: 0,
131
125
  category: a,
132
126
  commonStrings: r
133
127
  }), x = e.length > 1 ? r.axisLabels.values : w(o.layerFieldsInfo, e[0]), g = {
134
- ...F,
128
+ ...A,
135
129
  id: e[0],
136
130
  name: x,
137
131
  x: c ? C : a
@@ -139,17 +133,17 @@ function te(s) {
139
133
  S !== void 0 && (!t.colorMatch && "fillSymbol" in S && (g.fillSymbol = S.fillSymbol, y = !0), g.id = S.id, g.name = S.name), n.push(g);
140
134
  } else
141
135
  for (let f = 0; f < e.length; f += 1) {
142
- const F = e[f], x = O({
143
- y: F,
136
+ const A = e[f], x = O({
137
+ y: A,
144
138
  seriesIndex: f,
145
139
  category: a,
146
140
  commonStrings: r
147
- }), g = w(l, F), S = {
141
+ }), g = w(l, A), S = {
148
142
  ...x,
149
- id: F,
143
+ id: A,
150
144
  name: g,
151
145
  x: a
152
- }, d = t.series.find((B) => F === B.y);
146
+ }, d = t.series.find((B) => A === B.y);
153
147
  d !== void 0 && (!t.colorMatch && "fillSymbol" in d && (S.fillSymbol = d.fillSymbol, y = !0), S.id = d.id, S.name = d.name), n.push(S);
154
148
  }
155
149
  return t.series.length === 1 && n.length === 1 && !t.colorMatch && "fillSymbol" in t.series[0] && (n[0].fillSymbol = t.series[0].fillSymbol, y = !0), t.colorMatch = !y, n;
@@ -164,11 +158,11 @@ function Pe(s, e, t) {
164
158
  ...n,
165
159
  type: u.LineSeries,
166
160
  lineSymbol: {
167
- ...Q({ width: Z }),
161
+ ...Q({ width: _ }),
168
162
  ...l !== void 0 ? { color: l.color } : {}
169
163
  },
170
164
  markerSymbol: {
171
- ...J(),
165
+ ...R(),
172
166
  ...l !== void 0 ? { color: l.color } : {}
173
167
  }
174
168
  });
@@ -207,7 +201,7 @@ function oe(s) {
207
201
  )), i;
208
202
  }
209
203
  async function Ve(s) {
210
- const { config: e, layerInfo: t, commonStrings: o, splitByField: i, numericFields: r, category: l } = s, { layer: n, layerFieldsInfo: a } = t, { fetchNullValues: y } = I(e)?.query ?? {}, c = l ?? L(e), { categoriesArray: f, splitByFieldType: F } = await Fe({
204
+ const { config: e, layerInfo: t, commonStrings: o, splitByField: i, numericFields: r, category: l } = s, { layer: n, layerFieldsInfo: a } = t, { fetchNullValues: y } = I(e)?.query ?? {}, c = l ?? L(e), { categoriesArray: f, splitByFieldType: A } = await Ae({
211
205
  config: e,
212
206
  layer: n,
213
207
  layerFieldsInfo: a,
@@ -235,30 +229,30 @@ async function Ve(s) {
235
229
  seriesIndex: d,
236
230
  category: c,
237
231
  commonStrings: o
238
- }, K = S ? Oe(v) : O(v), ne = R({
232
+ }, E = S ? Oe(v) : O(v), ne = J({
239
233
  queryObject: t.layer,
240
234
  fieldName: i,
241
235
  fieldValue: B ?? ""
242
- }), k = `${B}`, A = {
243
- ...K,
236
+ }), k = `${B}`, F = {
237
+ ...E,
244
238
  id: k,
245
239
  name: ne ?? k,
246
240
  x: c === void 0 || c === "" ? C : c,
247
241
  query: {
248
- ...K.query,
249
- where: `${i}=${F === ye.String && B !== null ? `'${B}'` : B}`
242
+ ...E.query,
243
+ where: `${i}=${A === ye.String && B !== null ? `'${B}'` : B}`
250
244
  }
251
245
  }, b = e.series.find((ae) => ie(ae) === k);
252
- b !== void 0 && (e.colorMatch || (A.type === u.BoxPlotSeries ? P(b) ? A.fillSymbol = b.fillSymbol : A.fillSymbol = {
246
+ b !== void 0 && (e.colorMatch || (F.type === u.BoxPlotSeries ? P(b) ? F.fillSymbol = b.fillSymbol : F.fillSymbol = {
253
247
  ...q(),
254
248
  color: b.lineSymbol?.color
255
- } : P(b) ? (A.lineSymbol = {
256
- ...Q({ width: Z }),
249
+ } : P(b) ? (F.lineSymbol = {
250
+ ...Q({ width: _ }),
257
251
  ...b.fillSymbol !== void 0 ? { color: b.fillSymbol.color } : {}
258
- }, A.markerSymbol = {
259
- ...J(),
252
+ }, F.markerSymbol = {
253
+ ...R(),
260
254
  ...b.fillSymbol !== void 0 ? { color: b.fillSymbol.color } : {}
261
- }) : (A.lineSymbol = b.lineSymbol, A.markerSymbol = b.markerSymbol), g = !0), A.id = b.id, A.name = b.name), x.push(A);
255
+ }) : (F.lineSymbol = b.lineSymbol, F.markerSymbol = b.markerSymbol), g = !0), F.id = b.id, F.name = b.name), x.push(F);
262
256
  }
263
257
  if (x = oe({
264
258
  formerSeries: e.series,
@@ -275,10 +269,10 @@ async function Ve(s) {
275
269
  }
276
270
  return x;
277
271
  }
278
- const vs = async (s) => {
279
- const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: l } = s, { layerFieldsInfo: n } = r, a = qe(o, t, e), y = fe(n), c = L(i), f = Te(i, r, l), F = H(i, r, l), x = ve({ config: i, layerInfo: r, newCategory: o });
280
- let g = G(i);
281
- if (!y.includes(c) && y.includes(o) ? g = pe() : y.includes(c) && !y.includes(o) && (g = ge()), g !== void 0 && he(i, l, g), X(a ? { newShowMeanLines: i.showMean, config: i, commonStrings: l } : { newShowMeanLines: !1, config: i, commonStrings: l }), i.series = a ? await Ve({
272
+ const Fs = async (s) => {
273
+ const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: l } = s, { layerFieldsInfo: n } = r, a = qe(o, t, e), y = fe(n), c = L(i), f = Te(i, r, l), A = Z(i, r, l), x = ve({ config: i, layerInfo: r, newCategory: o });
274
+ let g = H(i);
275
+ if (!y.includes(c) && y.includes(o) ? g = pe() : y.includes(c) && !y.includes(o) && (g = ge()), g !== void 0 && he(i, l, g), j(a ? { newShowMeanLines: i.showMean, config: i, commonStrings: l } : { newShowMeanLines: !1, config: i, commonStrings: l }), i.series = a ? await Ve({
282
276
  config: i,
283
277
  layerInfo: r,
284
278
  splitByField: e,
@@ -292,14 +286,14 @@ const vs = async (s) => {
292
286
  category: o,
293
287
  commonStrings: l
294
288
  }), x) {
295
- const d = E({
289
+ const d = W({
296
290
  fieldName: o,
297
291
  numericFields: t,
298
292
  fieldList: n
299
293
  }) ? "" : w(n, o);
300
294
  D(i, 0, d);
301
295
  }
302
- if (F) {
296
+ if (A) {
303
297
  const S = T(i, r, l);
304
298
  D(i, 1, S);
305
299
  }
@@ -327,21 +321,21 @@ function re(s, e, t) {
327
321
  valueField: n
328
322
  })), y;
329
323
  }
330
- const Ms = (s) => {
324
+ const Bs = (s) => {
331
325
  const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
332
326
  let r = typeof e.y == "string" ? w(o.layerFieldsInfo, e.y) : i.axisLabels.values;
333
- return ce(t) || (r = ie(e)), r = R({
327
+ return ce(t) || (r = ie(e)), r = J({
334
328
  queryObject: o.layer,
335
329
  fieldName: t,
336
330
  fieldValue: r ?? ""
337
331
  }) ?? r, r ?? e.id;
338
- }, Os = (s) => s?.showOutliers ?? !1, Is = (s) => {
332
+ }, Cs = (s) => s?.showOutliers ?? !1, ws = (s) => {
339
333
  const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
340
- if (t.showOutliers = e, H(t, o, i)) {
334
+ if (t.showOutliers = e, Z(t, o, i)) {
341
335
  const l = T(t, o, i);
342
336
  D(t, 1, l);
343
337
  }
344
- }, Ps = (s) => {
338
+ }, Ls = (s) => {
345
339
  const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r = z(1, t), l = T(t, o, i), n = V(t);
346
340
  if (t.standardizeValues = e, r === l || n) {
347
341
  const a = T(t, o, i);
@@ -362,7 +356,7 @@ const Ms = (s) => {
362
356
  break;
363
357
  }
364
358
  return e;
365
- }, Ds = (s, e, t) => {
359
+ }, Ts = (s, e, t) => {
366
360
  let o = p.Category, i = h.Ascending;
367
361
  if (e.orderOptions = e.orderOptions ?? {}, s === m.customSort && t !== void 0)
368
362
  e.orderOptions.data = {
@@ -401,7 +395,7 @@ const Ms = (s) => {
401
395
  orderBy: i
402
396
  };
403
397
  }
404
- }, N = (s) => s.showMean ?? !1, X = (s) => {
398
+ }, N = (s) => s.showMean ?? !1, j = (s) => {
405
399
  const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, r = e ? i : Be(t), l = (e ?? !1) !== (t.showMean ?? !1);
406
400
  if (t.showMean = e, l) {
407
401
  let n;
@@ -412,21 +406,21 @@ const Ms = (s) => {
412
406
  }), t.series = n);
413
407
  }
414
408
  return e && i !== void 0 && Ce(i, t), { previousMeanLinesBoxColor: r };
415
- }, Vs = (s) => {
409
+ }, vs = (s) => {
416
410
  let e = [];
417
411
  const t = s.orderOptions?.data?.orderType;
418
412
  return le(s) === m.customSort && t === p.Category && (e = s.orderOptions?.data?.orderBy), e;
419
- }, ks = (s, e) => {
413
+ }, Ms = (s, e) => {
420
414
  e.orderOptions ??= {};
421
415
  const t = e.orderOptions?.data?.orderType;
422
416
  le(e) === m.customSort && t === p.Category && (e.orderOptions.data = {
423
417
  orderType: p.Category,
424
418
  orderBy: s
425
419
  });
426
- }, Ns = async (s, e) => {
427
- const t = L(s), o = G(s)?.type, i = ee(s);
420
+ }, Os = async (s, e) => {
421
+ const t = L(s), o = H(s)?.type, i = ee(s);
428
422
  let r = [];
429
- return o === u.CategoryAxisFormat && (E({
423
+ return o === u.CategoryAxisFormat && (W({
430
424
  fieldName: t,
431
425
  numericFields: i,
432
426
  fieldList: e.layerFieldsInfo
@@ -437,34 +431,34 @@ const Ms = (s) => {
437
431
  }))), r;
438
432
  }, Y = (s) => s.trim() === "" || s === C, Ne = (s, e) => e.length > 1 && !Y(s), qe = (s, e, t) => !Ne(s, e) && t !== "";
439
433
  export {
440
- Ts as A,
434
+ As as A,
441
435
  re as B,
442
436
  T as C,
443
- Ms as D,
437
+ Bs as D,
444
438
  L as a,
445
439
  ee as b,
446
440
  Me as c,
447
- Os as d,
448
- Is as e,
441
+ Cs as d,
442
+ ws as e,
449
443
  ke as f,
450
444
  N as g,
451
- Ps as h,
445
+ Ls as h,
452
446
  le as i,
453
- Ds as j,
454
- Ns as k,
455
- Vs as l,
456
- ks as m,
457
- X as n,
447
+ Ts as j,
448
+ Os as k,
449
+ vs as l,
450
+ Ms as m,
451
+ j as n,
458
452
  Be as o,
459
453
  Ce as p,
460
454
  qe as q,
461
- vs as r,
455
+ Fs as r,
462
456
  Ne as s,
463
- As as t,
464
- Bs as u,
465
- Cs as v,
466
- ws as w,
457
+ ps as t,
458
+ gs as u,
459
+ xs as v,
460
+ bs as w,
467
461
  we as x,
468
462
  Le as y,
469
- Ls as z
463
+ hs as z
470
464
  };
@@ -1,29 +1,29 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { C as A } from "./chart-model.js";
2
+ import { C as O } from "./chart-model.js";
3
3
  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 E, b as N } 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 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";
7
+ import { M as X, a as j, W as K, b as Y } from "./model-with-tooltips.js";
8
+ import { W as k } from "./rotated-state.js";
9
+ import { W as G } from "./data-labels-symbol.js";
10
10
  import { g as q, s as g, a as J, b as f } from "./series.js";
11
- import { b as H, c as Q, a as Z } from "./utils.js";
11
+ import { d as H, e as Q, c 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
- import { log as F } from "@arcgis/toolkit/log";
14
+ import { log as x } from "@arcgis/toolkit/log";
15
15
  import { u as Le } from "./series-types.js";
16
- import { z as x, aC as _e, aE as Ce, bI as Be, dG as Me, F as b, J as v, K as w } from "./index.js";
16
+ import { y as F, aA as _e, aC as Ce, bE as Be, dB as Me, z as b, I as v, J as w } from "./interfaces.js";
17
17
  import { g as l } from "./index4.js";
18
- import { M as Fe, a as xe } from "./model-with-y-guides.js";
18
+ import { M as xe, a as Fe } from "./model-with-y-guides.js";
19
19
  var be = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, n = (c, e, t, s) => {
20
20
  for (var o = ve(e, t), a = c.length - 1, h; a >= 0; a--)
21
21
  (h = c[a]) && (o = h(e, t, o) || o);
22
22
  return o && be(e, t, o), o;
23
23
  };
24
- class i extends A {
24
+ class i extends O {
25
25
  constructor() {
26
- super(...arguments), this._chartType = Le.BoxPlotSeries, this._category = x, this._splitByField = "", this._numericFields = [];
26
+ super(...arguments), this._chartType = Le.BoxPlotSeries, this._category = F, this._splitByField = "", this._numericFields = [];
27
27
  }
28
28
  async setup(e) {
29
29
  await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.updateSeriesFromLayerFilter(), typeof this.resolveSetup == "function" && this.resolveSetup();
@@ -39,7 +39,7 @@ class i extends A {
39
39
  }
40
40
  set category(e) {
41
41
  const t = e.trim() === "";
42
- this._category = t ? x : e, this.dirtyAsyncSetters.push("category"), this.processSeriesRebuild();
42
+ this._category = t ? F : e, this.dirtyAsyncSetters.push("category"), this.processSeriesRebuild();
43
43
  }
44
44
  /**
45
45
  * The numeric fields array for the box plot.
@@ -49,7 +49,7 @@ class i extends A {
49
49
  }
50
50
  set numericFields(e) {
51
51
  const { layerFieldsInfo: t } = this.layerInfo;
52
- typeof e == "string" && (e = [e]), H(t, e) ? (this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), $(this._category, this._numericFields) && (this._splitByField = "", this.dirtyAsyncSetters.push("splitByField")), this.processSeriesRebuild()) : F("error", "box-plot-model", "Invalid `numericFields`");
52
+ typeof e == "string" && (e = [e]), H(t, e) ? (this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), $(this._category, this._numericFields) && (this._splitByField = "", this.dirtyAsyncSetters.push("splitByField")), this.processSeriesRebuild()) : x("error", "box-plot-model", "Invalid `numericFields`");
53
53
  }
54
54
  /**
55
55
  * The split-by field for the box plot.
@@ -58,7 +58,7 @@ class i extends A {
58
58
  return this._splitByField;
59
59
  }
60
60
  set splitByField(e) {
61
- Q(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild()) : F("error", "box-plot-model", "Invalid `splitByField`");
61
+ Q(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild()) : x("error", "box-plot-model", "Invalid `splitByField`");
62
62
  }
63
63
  /**
64
64
  * Whether outliers are shown.
@@ -353,8 +353,8 @@ class i extends A {
353
353
  break;
354
354
  }
355
355
  if (this.showMeanLines === !0 && l(h)) {
356
- const I = this.getSeriesLineStyle(a), O = this.getSeriesLineWidth(a);
357
- if (I !== v || O !== w) {
356
+ const I = this.getSeriesLineStyle(a), A = this.getSeriesLineWidth(a);
357
+ if (I !== v || A !== w) {
358
358
  o = !0;
359
359
  break;
360
360
  }
@@ -412,14 +412,14 @@ n([
412
412
  r
413
413
  ], i.prototype, "resetSeriesStyling");
414
414
  const we = [
415
- Fe,
415
+ xe,
416
416
  X,
417
- K,
418
417
  j,
418
+ K,
419
+ k,
419
420
  Y,
420
421
  G,
421
- k,
422
- xe,
422
+ Fe,
423
423
  R,
424
424
  E,
425
425
  U,