@arcgis/charts-components 5.2.0-next.3 → 5.2.0-next.31

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 (279) hide show
  1. package/dist/cdn/2ODYZG66.js +2 -0
  2. package/dist/cdn/{TAI4RIWT.js → 2SPGX6AF.js} +1 -1
  3. package/dist/cdn/35NSJ3NJ.js +2 -0
  4. package/dist/cdn/3MKY6UCO.js +2 -0
  5. package/dist/cdn/3NKDMMC2.js +2 -0
  6. package/dist/cdn/3QO6REDF.js +102 -0
  7. package/dist/cdn/3SBYV6BW.js +2 -0
  8. package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
  9. package/dist/cdn/{PC7IKOIB.js → 3UTF2CB3.js} +1 -1
  10. package/dist/cdn/3YN4EKSJ.js +2 -0
  11. package/dist/cdn/4BEGCEGA.js +4 -0
  12. package/dist/cdn/{TZB57XD4.js → 4P7URPRQ.js} +1 -1
  13. package/dist/cdn/4TRUG37X.js +2 -0
  14. package/dist/cdn/5UO6L27Q.js +2 -0
  15. package/dist/cdn/{PVJEBBA7.js → 5XCU5SR2.js} +1 -1
  16. package/dist/cdn/{YRBE7MBU.js → 6ANVHVX4.js} +1 -1
  17. package/dist/cdn/{VDG54AIC.js → 6CB5R4QQ.js} +1 -1
  18. package/dist/cdn/{U4XLNCOU.js → 6GV2QPKV.js} +1 -1
  19. package/dist/cdn/{JVHJMPFE.js → 6OCDFMFB.js} +1 -1
  20. package/dist/cdn/6VK54DG5.js +2 -0
  21. package/dist/cdn/{3YT44D4Z.js → 6XIDALQU.js} +1 -1
  22. package/dist/cdn/7VQXBQMZ.js +2 -0
  23. package/dist/cdn/{GL3IXVRN.js → 7Z7NOIH2.js} +1 -1
  24. package/dist/cdn/A636YSNA.js +2 -0
  25. package/dist/cdn/{5G7DSKI7.js → ADYDCO3M.js} +1 -1
  26. package/dist/cdn/{NQQW4GKA.js → AICTKGE3.js} +1 -1
  27. package/dist/cdn/AQIB3VEP.js +2 -0
  28. package/dist/cdn/AZR6HVRW.js +2 -0
  29. package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
  30. package/dist/cdn/BI54CNMR.js +2 -0
  31. package/dist/cdn/BJBNELDD.js +3 -0
  32. package/dist/cdn/BKU72IQC.js +2 -0
  33. package/dist/cdn/{N5ERJZPG.js → BQXXD2HU.js} +1 -1
  34. package/dist/cdn/BZFGE4LO.js +2 -0
  35. package/dist/cdn/C4TQOUPO.js +2 -0
  36. package/dist/cdn/{UKDTXHZT.js → CLN32L2L.js} +1 -1
  37. package/dist/cdn/CRCAJAFA.js +2 -0
  38. package/dist/cdn/DAF2U7TN.js +2 -0
  39. package/dist/cdn/DKENYDHS.js +233 -0
  40. package/dist/cdn/{5JML3JUR.js → DRFJC64L.js} +1 -1
  41. package/dist/cdn/{PK5XIIZY.js → G5EGTXMY.js} +1 -1
  42. package/dist/cdn/{KLC6NTPC.js → GCRQHIGQ.js} +1 -1
  43. package/dist/cdn/{HCMD362H.js → HBS6O3P3.js} +1 -1
  44. package/dist/cdn/{5QO32XSX.js → HIW5WRHR.js} +1 -1
  45. package/dist/cdn/IHHPUKGG.js +2 -0
  46. package/dist/cdn/IPALCXFF.js +2 -0
  47. package/dist/cdn/IWMWJN7M.js +2 -0
  48. package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
  49. package/dist/cdn/JBR6IJMK.js +2 -0
  50. package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
  51. package/dist/cdn/JIV6BQKG.js +2 -0
  52. package/dist/cdn/{RFQBUWOW.js → K27GKXGP.js} +1 -1
  53. package/dist/cdn/{VVKV5KKN.js → KFPJI52X.js} +1 -1
  54. package/dist/cdn/KQLAAGKI.js +2 -0
  55. package/dist/cdn/{FDXE5JLT.js → LFXRCL7K.js} +1 -1
  56. package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
  57. package/dist/cdn/{7ABIELGZ.js → M4ZJRIYM.js} +1 -1
  58. package/dist/cdn/M7QZTQSD.js +2 -0
  59. package/dist/cdn/{LZYN55O4.js → MBPFBE3E.js} +1 -1
  60. package/dist/cdn/MEA74C44.js +2 -0
  61. package/dist/cdn/{U2LJZ4ML.js → MVUIKY5Y.js} +1 -1
  62. package/dist/cdn/{3DK6M5E7.js → N673JFHK.js} +1 -1
  63. package/dist/cdn/NKVZYKL5.js +2 -0
  64. package/dist/cdn/O533LNDP.js +2 -0
  65. package/dist/cdn/O5NKLK7V.js +2 -0
  66. package/dist/cdn/PEYVSFSE.js +58 -0
  67. package/dist/cdn/{KOBNV5AQ.js → PKQOLKTW.js} +1 -1
  68. package/dist/cdn/{TNB3MBXR.js → Q2GW5LB7.js} +1 -1
  69. package/dist/cdn/QGEFY4ND.js +2 -0
  70. package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
  71. package/dist/cdn/{R45FWF7D.js → QV3NMKKZ.js} +1 -1
  72. package/dist/cdn/REZ2QR42.js +2 -0
  73. package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
  74. package/dist/cdn/{PZGIXDMC.js → RKG6CXUU.js} +1 -1
  75. package/dist/cdn/S7Z4HRW7.js +2 -0
  76. package/dist/cdn/SAYLTYWY.js +2 -0
  77. package/dist/cdn/SOGVYNPI.js +2 -0
  78. package/dist/cdn/SSKHF7PO.js +2 -0
  79. package/dist/cdn/{RAQZUMC6.js → T5TFLMQL.js} +1 -1
  80. package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
  81. package/dist/cdn/{LDPHZHSF.js → TOFVWGTG.js} +1 -1
  82. package/dist/cdn/TSA7UMSZ.js +2 -0
  83. package/dist/cdn/{KI4HS3AM.js → U3MRRFML.js} +1 -1
  84. package/dist/cdn/VWTJHXHI.js +2 -0
  85. package/dist/cdn/{PSO5AURI.js → WHVW3P3O.js} +1 -1
  86. package/dist/cdn/{WEQBZOH7.js → WJHIJTWS.js} +1 -1
  87. package/dist/cdn/{CJ4POAPM.js → WU62O2AU.js} +1 -1
  88. package/dist/cdn/X7YEBHBF.js +2 -0
  89. package/dist/cdn/X7Z4LEZH.js +2 -0
  90. package/dist/cdn/XRLVJJBT.js +2 -0
  91. package/dist/cdn/XRP6IFM4.js +2 -0
  92. package/dist/cdn/{TYMKFCF4.js → Y6CFEFZM.js} +1 -1
  93. package/dist/cdn/{LONASKGH.js → YFHB2EFH.js} +1 -1
  94. package/dist/cdn/YQIFZJTZ.js +2 -0
  95. package/dist/cdn/{2K4ODNJ4.js → YWCIV7ZZ.js} +1 -1
  96. package/dist/cdn/{VEA5ZR5D.js → YWKPGNHB.js} +1 -1
  97. package/dist/cdn/{ZRFHAQL6.js → Z43DVT6G.js} +1 -1
  98. package/dist/cdn/ZW4PF3UK.js +2 -0
  99. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  100. package/dist/cdn/index.js +1 -1
  101. package/dist/cdn/main.css +1 -1
  102. package/dist/cdn/model/shared/setup-utils.js +2 -0
  103. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  104. package/dist/chart-rendering/common/interfaces.d.ts +8 -8
  105. package/dist/chunks/chart-model.js +170 -138
  106. package/dist/chunks/class-breaks.js +18 -18
  107. package/dist/chunks/data.js +57 -57
  108. package/dist/chunks/heat-chart-model.js +46 -26
  109. package/dist/chunks/index2.js +2319 -2284
  110. package/dist/chunks/index3.js +32 -29
  111. package/dist/chunks/index4.js +107 -49
  112. package/dist/chunks/model-setter.js +1 -1
  113. package/dist/chunks/model-with-y-guides.js +6 -6
  114. package/dist/chunks/pie-chart-data.js +42 -36
  115. package/dist/chunks/pie-chart-model.js +175 -162
  116. package/dist/chunks/rotated-state.js +1 -1
  117. package/dist/chunks/scatterplot-model.js +1 -1
  118. package/dist/chunks/serial-chart-data.js +572 -526
  119. package/dist/chunks/serial-chart-model.js +107 -93
  120. package/dist/chunks/utils.js +67 -56
  121. package/dist/chunks/web-component-utils.js +632 -492
  122. package/dist/components/arcgis-chart/customElement.d.ts +145 -138
  123. package/dist/components/arcgis-chart/customElement.js +7178 -7164
  124. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
  125. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  126. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
  127. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
  128. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
  129. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
  130. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
  132. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  134. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
  135. package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
  136. package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
  137. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  138. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  139. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +50 -51
  141. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
  142. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
  143. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  144. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  145. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
  146. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  147. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
  148. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
  149. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -55
  150. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  151. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
  152. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
  153. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
  154. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  155. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
  156. package/dist/docs/api.json +1 -1
  157. package/dist/docs/docs.json +1 -1
  158. package/dist/docs/vscode.html-custom-data.json +1 -1
  159. package/dist/docs/web-types.json +1 -1
  160. package/dist/index.d.ts +66 -70
  161. package/dist/index.js +212 -210
  162. package/dist/json-schema/index.d.ts +59 -2
  163. package/dist/loader.js +1 -1
  164. package/dist/model/chart-model/chart-model.d.ts +2 -1
  165. package/dist/model/heat-chart-model/heat-chart-model.d.ts +22 -0
  166. package/dist/model/interfaces/common.d.ts +0 -2
  167. package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
  168. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  169. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  170. package/dist/model/properties/rotated-state.d.ts +1 -1
  171. package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
  172. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  173. package/dist/spec/rest-js-types.d.ts +22 -8
  174. package/dist/spec/web-chart.d.ts +8 -2
  175. package/dist/utils/chart-config/converter/index.js +1 -1
  176. package/dist/utils/chart-config/utils/index.d.ts +35 -0
  177. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  178. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  179. package/dist/utils/data/index.d.ts +9 -12
  180. package/dist/utils/defaults/index.d.ts +1 -2
  181. package/dist/utils/errors/index.d.ts +1 -1
  182. package/dist/utils/layer/index.d.ts +5 -3
  183. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  184. package/dist/utils/layer/query-parser/index.d.ts +3 -3
  185. package/dist/utils/localization/interfaces.d.ts +4 -0
  186. package/dist/utils/misc/index.d.ts +2 -3
  187. package/dist/utils/types/index.d.ts +1 -5
  188. package/package.json +6 -6
  189. package/dist/cdn/24LTTBTF.js +0 -2
  190. package/dist/cdn/26FWESH3.js +0 -102
  191. package/dist/cdn/3XHZ677O.js +0 -2
  192. package/dist/cdn/5FMEOIBS.js +0 -3
  193. package/dist/cdn/74JAZF7U.js +0 -2
  194. package/dist/cdn/7HIZH35G.js +0 -2
  195. package/dist/cdn/CCR46UHB.js +0 -2
  196. package/dist/cdn/CRFJ2GGS.js +0 -2
  197. package/dist/cdn/CXQOEN77.js +0 -2
  198. package/dist/cdn/DYC3Q36R.js +0 -2
  199. package/dist/cdn/E2N2S7BH.js +0 -2
  200. package/dist/cdn/E43KEVHT.js +0 -2
  201. package/dist/cdn/EXTKNE2L.js +0 -2
  202. package/dist/cdn/F7Y6EWWB.js +0 -2
  203. package/dist/cdn/G5HVFOIO.js +0 -2
  204. package/dist/cdn/G7TRU7JI.js +0 -2
  205. package/dist/cdn/GES3HRXE.js +0 -2
  206. package/dist/cdn/HCV34H6X.js +0 -2
  207. package/dist/cdn/IHQ7R6L4.js +0 -4
  208. package/dist/cdn/IUFXFWXH.js +0 -2
  209. package/dist/cdn/JHYH555K.js +0 -2
  210. package/dist/cdn/JNNB2DIA.js +0 -2
  211. package/dist/cdn/JRRFLDWX.js +0 -58
  212. package/dist/cdn/KVGEY3IQ.js +0 -2
  213. package/dist/cdn/LWODMEOP.js +0 -2
  214. package/dist/cdn/LYZGRYQV.js +0 -2
  215. package/dist/cdn/MF3FGXHI.js +0 -2
  216. package/dist/cdn/MUPHTV55.js +0 -2
  217. package/dist/cdn/N524VXQ2.js +0 -2
  218. package/dist/cdn/NGPMU4T3.js +0 -2
  219. package/dist/cdn/NJCZ6UTM.js +0 -2
  220. package/dist/cdn/NMB6TWC2.js +0 -2
  221. package/dist/cdn/NNNTZU5J.js +0 -2
  222. package/dist/cdn/NS3THLCD.js +0 -2
  223. package/dist/cdn/NZR4L5AA.js +0 -2
  224. package/dist/cdn/OE3UFORR.js +0 -2
  225. package/dist/cdn/P2NPQAJ3.js +0 -2
  226. package/dist/cdn/PJUAU42S.js +0 -2
  227. package/dist/cdn/PY5Q3V6E.js +0 -2
  228. package/dist/cdn/RMYZGOBM.js +0 -2
  229. package/dist/cdn/RX3RNE7F.js +0 -2
  230. package/dist/cdn/TU3UF32Y.js +0 -2
  231. package/dist/cdn/TXSWWAOF.js +0 -2
  232. package/dist/cdn/UAJGYF4S.js +0 -2
  233. package/dist/cdn/UT6G7RV7.js +0 -2
  234. package/dist/cdn/VOTZAPI3.js +0 -2
  235. package/dist/cdn/WO6JBNMU.js +0 -2
  236. package/dist/cdn/YYK7SPXC.js +0 -2
  237. package/dist/cdn/ZRZEKOEF.js +0 -2
  238. package/dist/chunks/time-zone.js +0 -38
  239. /package/dist/cdn/{XE3FKQFA.js → 3HAB3JR6.js} +0 -0
  240. /package/dist/cdn/{DCZWZOPF.js → 3YOOX2CV.js} +0 -0
  241. /package/dist/cdn/{IPM2XKST.js → 4DSO7LUF.js} +0 -0
  242. /package/dist/cdn/{FF4DUQDZ.js → 5HRLHWQ5.js} +0 -0
  243. /package/dist/cdn/{ETKPMU7Z.js → 732EZ6WJ.js} +0 -0
  244. /package/dist/cdn/{AWF4R7WL.js → 7IS6QE6S.js} +0 -0
  245. /package/dist/cdn/{HVO4LIXR.js → 7XZZ5OZL.js} +0 -0
  246. /package/dist/cdn/{5MEQANMY.js → AN2NRYQV.js} +0 -0
  247. /package/dist/cdn/{L4G6FO7A.js → ASUGYCJ6.js} +0 -0
  248. /package/dist/cdn/{AM2TOTX6.js → BICQEJYZ.js} +0 -0
  249. /package/dist/cdn/{5XTQQOTT.js → C2I4WPWM.js} +0 -0
  250. /package/dist/cdn/{CLXVAIQX.js → C47AIJTI.js} +0 -0
  251. /package/dist/cdn/{N6AOFBBX.js → C5YJ7J3A.js} +0 -0
  252. /package/dist/cdn/{QOOBNATX.js → DPV2ZJLF.js} +0 -0
  253. /package/dist/cdn/{CJPEW4LJ.js → E4535ZTP.js} +0 -0
  254. /package/dist/cdn/{XW4PBQNW.js → FJNRPAMO.js} +0 -0
  255. /package/dist/cdn/{JBHGSSHS.js → GI54JT4O.js} +0 -0
  256. /package/dist/cdn/{5YJNENER.js → GYTYFBNU.js} +0 -0
  257. /package/dist/cdn/{AJWYIBGC.js → J5QUGI2J.js} +0 -0
  258. /package/dist/cdn/{TF7TE7K5.js → JPEN5TFK.js} +0 -0
  259. /package/dist/cdn/{SBYD2EKR.js → KBQM3DLQ.js} +0 -0
  260. /package/dist/cdn/{7FZC3RZK.js → LEMJA72W.js} +0 -0
  261. /package/dist/cdn/{6XTKJ7DO.js → MMO2QPOA.js} +0 -0
  262. /package/dist/cdn/{BJDRJUEJ.js → PS7IL5JZ.js} +0 -0
  263. /package/dist/cdn/{E7OAEGSE.js → R2RRMPOC.js} +0 -0
  264. /package/dist/cdn/{YOT6DVSU.js → RV6E7KKQ.js} +0 -0
  265. /package/dist/cdn/{GV3TT7L5.js → RYLXJPKL.js} +0 -0
  266. /package/dist/cdn/{LFQGH44F.js → S2R72ISR.js} +0 -0
  267. /package/dist/cdn/{2HUAW34Q.js → T4NEEFOY.js} +0 -0
  268. /package/dist/cdn/{K3GNHGEW.js → TEERYUCS.js} +0 -0
  269. /package/dist/cdn/{A4GEWIPY.js → V454JYTQ.js} +0 -0
  270. /package/dist/cdn/{ZFZ5AEUQ.js → V7JF5I5M.js} +0 -0
  271. /package/dist/cdn/{KFONSKQF.js → VIZWWEG5.js} +0 -0
  272. /package/dist/cdn/{KZ7LPNX3.js → W5SPX6WM.js} +0 -0
  273. /package/dist/cdn/{JJIGLOJA.js → X2IOJECM.js} +0 -0
  274. /package/dist/cdn/{QMSINFQX.js → X33RIIGI.js} +0 -0
  275. /package/dist/cdn/{ZXOO3X5P.js → YBTVIOHQ.js} +0 -0
  276. /package/dist/cdn/{KUZR6CGB.js → YFQHZWLO.js} +0 -0
  277. /package/dist/cdn/{DKAHZ7IX.js → YX4EVVJM.js} +0 -0
  278. /package/dist/cdn/{DEGBVJ76.js → YXH22GJ6.js} +0 -0
  279. /package/dist/cdn/{A5AECJXP.js → ZMQTYGGT.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import W from "@arcgis/core/Color.js";
2
+ import P from "@arcgis/core/Color.js";
3
3
  import { createClassBreaksRenderer as q } from "@arcgis/core/smartMapping/renderers/color.js";
4
- import { a3 as G, bU as _ } from "./index2.js";
5
- import { cloneDeep as J, memoize as U, isEqual as T, sortBy as Y, flatMap as Q } from "lodash-es";
4
+ import { a3 as G, bW as _ } from "./index2.js";
5
+ import { cloneDeep as J, memoize as Y, isEqual as T, sortBy as Q, flatMap as U } from "lodash-es";
6
6
  import { getSchemes as X } from "@arcgis/core/smartMapping/symbology/color.js";
7
7
  import { j as L } from "./index.js";
8
8
  import { i as k, f as b, g as C, R as F } from "./rest-js-object-literals.js";
@@ -182,7 +182,7 @@ const $e = {
182
182
  convertColor: x,
183
183
  removeConfigFieldsFromData: z
184
184
  }, w = Z.all(), re = X({ geometryType: "point", theme: "high-to-low" });
185
- function H(e, o, t) {
185
+ function W(e, o, t) {
186
186
  const s = Math.max(0, Math.min(1, t));
187
187
  return [
188
188
  Math.round(e[0] + (o[0] - e[0]) * s),
@@ -209,7 +209,7 @@ function ne(e) {
209
209
  else
210
210
  for (let i = 0; i < o; i++) {
211
211
  const l = i / (o - 1);
212
- n.push(H(r, a, l));
212
+ n.push(W(r, a, l));
213
213
  }
214
214
  }
215
215
  return n;
@@ -238,7 +238,7 @@ function le(e) {
238
238
  c = [];
239
239
  break;
240
240
  }
241
- const R = f * (a.length - 1) - u, g = H(m, d, R);
241
+ const R = f * (a.length - 1) - u, g = W(m, d, R);
242
242
  i.push(g);
243
243
  }
244
244
  c = i;
@@ -246,7 +246,7 @@ function le(e) {
246
246
  }
247
247
  return c;
248
248
  }
249
- function K(e) {
249
+ function H(e) {
250
250
  const { numberOfClassBreaks: o, selectedColorRamp: t, colorRamp: s, isFlipped: c = !1 } = e;
251
251
  let n = ae(o, s);
252
252
  const r = t ? le({ colorRamp: t, numberOfClassBreaks: o, isFlipped: c }) : [];
@@ -304,7 +304,7 @@ function y(e) {
304
304
  }
305
305
  function M(e) {
306
306
  let o;
307
- if (e instanceof W) {
307
+ if (e instanceof P) {
308
308
  const t = e.toRgba();
309
309
  o = [y(t[0]), y(t[1]), y(t[2]), y(t[3] * 255)];
310
310
  } else if (Array.isArray(e) && e.every((t) => typeof t == "number") && e.length === 4) {
@@ -331,12 +331,12 @@ function E(e, o) {
331
331
  function fe(e) {
332
332
  return [
333
333
  ...e.colors ?? [],
334
- ...Q(e.colorsForClassBreaks ?? [], (o) => o.colors ?? [])
334
+ ...U(e.colorsForClassBreaks ?? [], (o) => o.colors ?? [])
335
335
  ];
336
336
  }
337
337
  function ue(e) {
338
338
  const { ramp: o, breakKeys: t, breakCount: s, weights: c } = e, n = (d) => d.join(","), r = o.colorsForClassBreaks?.find((d) => d.numClasses === s)?.colors ?? [], a = new Set(I(r).map(n)), i = E(t, a), l = new Set(
339
- I(K({ numberOfClassBreaks: s, selectedColorRamp: o })).map(
339
+ I(H({ numberOfClassBreaks: s, selectedColorRamp: o })).map(
340
340
  n
341
341
  )
342
342
  ), f = E(t, l), u = fe(o).filter((d) => !!d), p = new Set(I(u).map(n)), m = E(t, p);
@@ -358,7 +358,7 @@ function Ie(e, o) {
358
358
  weights: t
359
359
  });
360
360
  return { ramp: f, score: u };
361
- }), l = Y(i, [
361
+ }), l = Q(i, [
362
362
  (f) => -f.score,
363
363
  // descending score
364
364
  (f) => f.ramp.name
@@ -431,16 +431,16 @@ async function me(e) {
431
431
  return r;
432
432
  }
433
433
  function pe(e) {
434
- return e?.length ? e : P.esriColorRamps;
434
+ return e?.length ? e : K.esriColorRamps;
435
435
  }
436
436
  function de(e, o) {
437
437
  return e ? pe(o).find((s) => s.name === e) : void 0;
438
438
  }
439
439
  function he(e) {
440
440
  const { colorRampName: o, availableColorRamps: t } = e;
441
- return de(o, t) ?? P.defaultColorRampForCharts;
441
+ return de(o, t) ?? K.defaultColorRampForCharts;
442
442
  }
443
- const Ne = U(
443
+ const Ne = Y(
444
444
  async (e) => {
445
445
  const {
446
446
  data: o,
@@ -455,7 +455,7 @@ const Ne = U(
455
455
  } = e, f = he({
456
456
  colorRampName: n,
457
457
  availableColorRamps: r
458
- }), u = l ?? !1, p = K({
458
+ }), u = l ?? !1, p = H({
459
459
  numberOfClassBreaks: t,
460
460
  selectedColorRamp: f,
461
461
  colorRamp: i ? a?.map((m) => m.symbol?.color) : void 0,
@@ -470,7 +470,7 @@ const Ne = U(
470
470
  });
471
471
  },
472
472
  (e) => JSON.stringify(e)
473
- ), P = {
473
+ ), K = {
474
474
  esriColorRamps: w,
475
475
  defaultColorRampForCharts: w.find((e) => e.name === "Blue 3") ?? w[0]
476
476
  };
@@ -495,8 +495,8 @@ export {
495
495
  oe as b,
496
496
  te as c,
497
497
  Be as d,
498
- P as e,
499
- K as f,
498
+ K as e,
499
+ H as f,
500
500
  Ne as g,
501
501
  Me as h,
502
502
  $e as i,
@@ -2,82 +2,82 @@
2
2
  import { capitalize as u } from "lodash-es";
3
3
  import { N as x, k as B, m as L, cR as $, Y as N, an as I, af as H, ax as P, l as _, n as v } from "./index2.js";
4
4
  import { g as F } from "./series-types.js";
5
- import { H as g, S as o, P as M } from "./common.js";
6
- import { p as l, n, u as d, r as C } from "./chart-object-literals.js";
5
+ import { H as A, S as o, P as M } from "./common.js";
6
+ import { p as l, n, u as d, r as g } from "./chart-object-literals.js";
7
7
  import { C as R } from "./index3.js";
8
8
  import { g as U } from "./index.js";
9
9
  import { c as W } from "./type-guards.js";
10
- function Y(e, s) {
11
- let r;
12
- return s === n.Category && Array.isArray(e) ? r = o.customSort : s === n.Category ? r = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? r = o.yAxisAsc : r = o.yAxisDesc, r;
10
+ function Y(e, r) {
11
+ let s;
12
+ return r === n.Category && Array.isArray(e) ? s = o.customSort : r === n.Category ? s = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? s = o.yAxisAsc : s = o.yAxisDesc, s;
13
13
  }
14
- function w(e, s) {
15
- let r;
16
- return s === n.Category && Array.isArray(e) ? r = g.customSort : r = e === l.Ascending ? g.Asc : g.Desc, r;
14
+ function w(e, r) {
15
+ let s;
16
+ return r === n.Category && Array.isArray(e) ? s = A.customSort : s = e === l.Ascending ? A.Asc : A.Desc, s;
17
17
  }
18
18
  const k = (e) => {
19
- const s = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
19
+ const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
20
20
  return Y(
21
- s,
21
+ r,
22
22
  e.orderOptions?.data?.orderType ?? n.Category
23
23
  );
24
24
  }, E = (e) => {
25
- const s = F(e.series);
26
- let r = !1;
27
- return (s === d.BarSeries || s === d.LineSeries) && (r = k(e) === o.customSort), r;
25
+ const r = F(e.series);
26
+ let s = !1;
27
+ return (r === d.BarSeries || r === d.LineSeries) && (s = k(e) === o.customSort), s;
28
28
  }, ee = (e) => {
29
- let s = [];
30
- const r = e.orderOptions?.data?.orderType;
31
- return E(e) && r === n.Category && (s = e.orderOptions?.data?.orderBy), s;
32
- }, se = (e, s, r, t) => {
33
- const a = F(s.series), m = $(s);
34
- s.orderOptions ??= {};
35
- let i = m ? [""] : l.Ascending;
36
- if (m)
37
- e === g.customSort && r !== void 0 ? i = [...r] : i = e === g.Desc ? l.Descending : l.Ascending, t ? s.orderOptions.data = {
38
- ...s.orderOptions.data,
39
- orderByY: i,
29
+ let r = [];
30
+ const s = e.orderOptions?.data?.orderType;
31
+ return E(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
32
+ }, re = (e, r, s, t) => {
33
+ const i = F(r.series), y = $(r);
34
+ r.orderOptions ??= {};
35
+ let a = y ? [""] : l.Ascending;
36
+ if (y)
37
+ e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
38
+ ...r.orderOptions.data,
39
+ orderByY: a,
40
40
  orderType: n.MultiAxes
41
- } : s.orderOptions.data = {
42
- ...s.orderOptions.data,
43
- orderByX: i,
41
+ } : r.orderOptions.data = {
42
+ ...r.orderOptions.data,
43
+ orderByX: a,
44
44
  orderType: n.MultiAxes
45
45
  };
46
- else if (a === d.BarSeries || a === d.LineSeries) {
46
+ else if (i === d.BarSeries || i === d.LineSeries) {
47
47
  let c = n.Category;
48
- e === o.customSort && r !== void 0 ? (i = [...r], s.orderOptions.data = {
48
+ e === o.customSort && s !== void 0 ? (a = [...s], r.orderOptions.data = {
49
49
  orderType: c,
50
- orderBy: i
51
- }) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, i = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, s.orderOptions.data = {
50
+ orderBy: a
51
+ }) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, a = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, r.orderOptions.data = {
52
52
  orderType: c,
53
- orderBy: i
53
+ orderBy: a
54
54
  });
55
55
  }
56
- }, re = (e) => e?.series?.[0]?.x ?? "", te = (e) => {
56
+ }, se = (e) => e?.series?.[0]?.x ?? "", te = (e) => {
57
57
  const {
58
- config: s,
59
- xAxisField: r,
58
+ config: r,
59
+ xAxisField: s,
60
60
  numericFields: t,
61
- aggregationType: a,
62
- mode: m,
63
- layer: i,
61
+ aggregationType: i,
62
+ mode: y,
63
+ layer: a,
64
64
  numericFieldIndex: c,
65
65
  seriesIndex: h,
66
66
  splitByField: S = "",
67
67
  fieldList: O
68
- } = e, T = F(s.series), b = N(s.series);
68
+ } = e, T = F(r.series), b = N(r.series);
69
69
  let f;
70
- if (W(i)) {
71
- const y = P(i);
72
- f = t.length === 1 && t[0] === y;
70
+ if (W(a)) {
71
+ const m = P(a);
72
+ f = t.length === 1 && t[0] === m;
73
73
  } else {
74
- const { idField: y, isTraditionalTypeOID: D } = I(H(i));
75
- f = D && t.length === 1 && t[0] === y;
74
+ const { idField: m, isTraditionalTypeOID: D } = I(H(a));
75
+ f = D && t.length === 1 && t[0] === m;
76
76
  }
77
- let p = "y", A = "y";
77
+ let p = "y", C = "y";
78
78
  switch (T) {
79
79
  case d.PieSeries: {
80
- a !== C.NoAggregation ? m === M.Category ? (p = `${a}_${t[0]}_0`.toUpperCase(), A = f ? u(C.Count) : u(`${a} of ${t[0]}`)) : p = v : p = t[0];
80
+ i !== g.NoAggregation ? y === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), C = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
81
81
  break;
82
82
  }
83
83
  case d.BarSeries:
@@ -87,35 +87,35 @@ const k = (e) => {
87
87
  case d.HeatSeries: {
88
88
  if (S === "" || t.length > 1)
89
89
  V({
90
- fieldName: r,
90
+ fieldName: s,
91
91
  numericFields: t,
92
92
  fieldList: O ?? []
93
- }) || b === R.BarAndLineFromFields ? p = _ : (p = `${a}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase(), A = f ? u(C.Count) : u(`${a} of ${t[c ?? 0]}`));
93
+ }) || b === R.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], C = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
94
94
  else {
95
- const y = t[0];
96
- p = `${a}_${y}_${h ?? 0}`.toUpperCase(), A = f ? u(C.Count) : u(`${a} of ${y}`);
95
+ const m = t[0];
96
+ p = i !== g.NoAggregation ? `${i}_${m}_${h ?? 0}`.toUpperCase() : m, C = f ? u(g.Count) : u(`${i} of ${m}`);
97
97
  }
98
98
  break;
99
99
  }
100
100
  }
101
101
  return {
102
102
  name: p,
103
- description: A
103
+ description: C
104
104
  };
105
105
  };
106
106
  function K(e) {
107
- const { fieldName: s, fieldList: r } = e, t = x(r ?? [], s);
108
- return s === B || s === L || s === U || s === void 0 || s.trim() === "" || t === void 0;
107
+ const { fieldName: r, fieldList: s } = e, t = x(s ?? [], r);
108
+ return r === B || r === L || r === U || r === void 0 || r.trim() === "" || t === void 0;
109
109
  }
110
110
  function V(e) {
111
- const { fieldName: s, fieldList: r, numericFields: t } = e, a = t.filter((m) => x(r ?? [], m)?.type !== "esriFieldTypeOID");
112
- return K({ fieldName: s, fieldList: r }) && (a?.length ?? 0) > 0;
111
+ const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((y) => x(s ?? [], y)?.type !== "esriFieldTypeOID");
112
+ return K({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
113
113
  }
114
114
  export {
115
- re as a,
115
+ se as a,
116
116
  w as b,
117
117
  Y as c,
118
- se as d,
118
+ re as d,
119
119
  ee as e,
120
120
  k as f,
121
121
  te as g,
@@ -2,14 +2,14 @@
2
2
  import { m as t } from "./model-setter.js";
3
3
  import { H as o } from "./common.js";
4
4
  import { S as u, g as _, a as C } from "./serial-chart-model.js";
5
- import { E as S, F as T, G as F, H as O, I as A, J as L, K as R, L as x, M as D, N as v, O as w, P as b, Q as I, R as B, S as P, T as E, U as N, V as k, W, X as G, Y as H, Z as Y, _ as U, $ as M, a0 as V, a1 as X, a2 as j, a3 as K, a4 as Z, a5 as c, a6 as y, a7 as q, a8 as J, a9 as Q, aa as $, ab as z, ac as ee, y as m, ad as te, ae as ie, af as se, ag as re, ah as oe, ai as ne, aj as ae, ak as ge } from "./serial-chart-data.js";
6
- import { d } from "./data.js";
5
+ import { F as S, G as T, H as A, I as F, J as O, K as x, L, M as R, N as D, O as v, P as w, Q as I, R as b, S as B, T as P, U as N, V as k, X as E, Y as W, Z as Y, _ as G, $ as H, a0 as U, a1 as M, a2 as V, a3 as X, a4 as j, a5 as K, a6 as Z, a7 as c, a8 as y, a9 as q, aa as z, ab as J, ac as Q, ad as $, ae as ee, z as d, af as te, ag as ie, ah as se, ai as re, aj as oe, ak as ne, al as ae, am as ge } from "./serial-chart-data.js";
6
+ import { d as m } from "./data.js";
7
7
  import { u as le, r as f } from "./chart-object-literals.js";
8
8
  import { N as pe } from "./index.js";
9
9
  import { an as h } from "./index2.js";
10
10
  import { q as ce } from "./index3.js";
11
- var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
12
- for (var n = me(e, r), g = l.length - 1, p; g >= 0; g--)
11
+ var ye = Object.defineProperty, de = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
12
+ for (var n = de(e, r), g = l.length - 1, p; g >= 0; g--)
13
13
  (p = l[g]) && (n = p(e, r, n) || n);
14
14
  return n && ye(e, r, n), n;
15
15
  };
@@ -46,7 +46,7 @@ class s extends u {
46
46
  return T(this._config);
47
47
  }
48
48
  set yAxisField(e) {
49
- F({
49
+ A({
50
50
  yField: e,
51
51
  config: this._config,
52
52
  layerInfo: this.layerInfo
@@ -60,11 +60,11 @@ class s extends u {
60
60
  * **Note**: This is only applicable for calendar heat charts (when `xAxisField` and `yAxisField` are date fields).
61
61
  */
62
62
  get viewType() {
63
- return O(this._config);
63
+ return F(this._config);
64
64
  }
65
65
  set viewType(e) {
66
66
  this.guardSetterFromAsyncOverwrite(() => {
67
- A(e, this._config), this.emitConfigUpdate("heatChartViewType");
67
+ O(e, this._config), this.emitConfigUpdate("heatChartViewType");
68
68
  });
69
69
  }
70
70
  /**
@@ -79,10 +79,10 @@ class s extends u {
79
79
  * ```
80
80
  */
81
81
  get xTemporalBinning() {
82
- return L(this._config);
82
+ return x(this._config);
83
83
  }
84
84
  set xTemporalBinning(e) {
85
- R({
85
+ L({
86
86
  commonStrings: this.commonStrings,
87
87
  binning: e,
88
88
  config: this._config
@@ -100,7 +100,7 @@ class s extends u {
100
100
  * ```
101
101
  */
102
102
  get yTemporalBinning() {
103
- return x(this._config);
103
+ return R(this._config);
104
104
  }
105
105
  set yTemporalBinning(e) {
106
106
  D({
@@ -129,11 +129,11 @@ class s extends u {
129
129
  * `manual` - Allows you to manually specify the class breaks.
130
130
  */
131
131
  get classificationMethod() {
132
- return b(this._config);
132
+ return I(this._config);
133
133
  }
134
134
  set classificationMethod(e) {
135
135
  this.guardSetterFromAsyncOverwrite(() => {
136
- e && (I(e, this._config), this.emitConfigUpdate("classificationMethod"));
136
+ e && (b(e, this._config), this.emitConfigUpdate("classificationMethod"));
137
137
  });
138
138
  }
139
139
  /**
@@ -150,16 +150,16 @@ class s extends u {
150
150
  * which means the colors will be reversed (e.g., if the original color ramp goes from light to dark, flipping it will make it go from dark to light).
151
151
  */
152
152
  get isColorRampFlipped() {
153
- return E(this._config);
153
+ return N(this._config);
154
154
  }
155
155
  set isColorRampFlipped(e) {
156
- N(e, this._config);
156
+ k(e, this._config);
157
157
  }
158
158
  /**
159
159
  * Hide the empty rows and columns in the heat chart.
160
160
  */
161
161
  get hideEmptyRowsAndColumns() {
162
- return k(this._config);
162
+ return E(this._config);
163
163
  }
164
164
  set hideEmptyRowsAndColumns(e) {
165
165
  W(this._config, e);
@@ -168,16 +168,16 @@ class s extends u {
168
168
  * The grid line width used by the heat chart.
169
169
  */
170
170
  get gridLineWidth() {
171
- return G(this._config);
171
+ return Y(this._config);
172
172
  }
173
173
  set gridLineWidth(e) {
174
- H(e, this._config);
174
+ G(e, this._config);
175
175
  }
176
176
  /**
177
177
  * The grid line color used by the heat chart.
178
178
  */
179
179
  get gridLineColor() {
180
- return Y(this._config);
180
+ return H(this._config);
181
181
  }
182
182
  set gridLineColor(e) {
183
183
  U(e, this._config);
@@ -287,16 +287,16 @@ class s extends u {
287
287
  return q(this._config);
288
288
  }
289
289
  set legendPosition(e) {
290
- J(e, this._config);
290
+ z(e, this._config);
291
291
  }
292
292
  get nullPolicy() {
293
- return Q(this._config);
293
+ return J(this._config);
294
294
  }
295
295
  set nullPolicy(e) {
296
- $(e, this._config);
296
+ Q(e, this._config);
297
297
  }
298
298
  get emptyCell() {
299
- return z(this._config);
299
+ return $(this._config);
300
300
  }
301
301
  /**
302
302
  * The heat chart's empty cell configuration.
@@ -316,22 +316,22 @@ class s extends u {
316
316
  * @returns {"Asc" | "Desc" | "customSort"}
317
317
  */
318
318
  getXAxisSortOrder() {
319
- const e = m(this._config)[0];
319
+ const e = d(this._config)[0];
320
320
  return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
321
321
  }
322
322
  setXAxisSortOrder(e, r) {
323
- d(e, this._config, r);
323
+ m(e, this._config, r);
324
324
  }
325
325
  /**
326
326
  * Gets the sort order for on the y axis for heat chart.
327
327
  * @returns {"Asc" | "Desc" | "customSort"}
328
328
  */
329
329
  getYAxisSortOrder() {
330
- const e = m(this._config)[1];
330
+ const e = d(this._config)[1];
331
331
  return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
332
332
  }
333
333
  setYAxisSortOrder(e, r) {
334
- d(e, this._config, r, !0);
334
+ m(e, this._config, r, !0);
335
335
  }
336
336
  get emptyCellText() {
337
337
  return te(this._config);
@@ -382,6 +382,23 @@ class s extends u {
382
382
  }
383
383
  setAssignToSecondValueAxis(e, r) {
384
384
  }
385
+ /**
386
+ * The heat chart's second axis (not supported)
387
+ * @internal
388
+ * @deprecated since 5.2. Use {@link model/heat-chart-model/heat-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
389
+ */
390
+ getAssignToSecondValueAxis() {
391
+ return !1;
392
+ }
393
+ setSeriesToSecondaryYAxis(e, r) {
394
+ }
395
+ /**
396
+ * The heat chart's secondary y-axis (not supported)
397
+ * @internal
398
+ */
399
+ getSeriesToSecondaryYAxis() {
400
+ return !1;
401
+ }
385
402
  set stackedType(e) {
386
403
  }
387
404
  set binTemporalData(e) {
@@ -478,6 +495,9 @@ i([
478
495
  i([
479
496
  t
480
497
  ], s.prototype, "setAssignToSecondValueAxis");
498
+ i([
499
+ t
500
+ ], s.prototype, "setSeriesToSecondaryYAxis");
481
501
  i([
482
502
  t
483
503
  ], s.prototype, "stackedType");