@arcgis/charts-components 5.2.0-next.5 → 5.2.0-next.50

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 (404) hide show
  1. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  2. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  3. package/dist/cdn/2EEGLP4N.js +2 -0
  4. package/dist/cdn/{2HUAW34Q.js → 2R5BXKVB.js} +1 -1
  5. package/dist/cdn/{5QO32XSX.js → 2UMW7TY6.js} +1 -1
  6. package/dist/cdn/356JWED3.js +2 -0
  7. package/dist/cdn/{Y7HBWU3M.js → 3GAUDUOD.js} +1 -1
  8. package/dist/cdn/{SBYD2EKR.js → 3UDKG6TV.js} +1 -1
  9. package/dist/cdn/{DCZWZOPF.js → 4ASVJDBN.js} +1 -1
  10. package/dist/cdn/4C3N36J3.js +2 -0
  11. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  12. package/dist/cdn/{Y3CXVO2M.js → 4MSUALRF.js} +1 -1
  13. package/dist/cdn/4PEJNBSG.js +2 -0
  14. package/dist/cdn/53HYBRJO.js +2 -0
  15. package/dist/cdn/{L4G6FO7A.js → 57VIC2YX.js} +1 -1
  16. package/dist/cdn/5CIY3LRQ.js +2 -0
  17. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  18. package/dist/cdn/{CHQDKVVQ.js → 5DUKB563.js} +1 -1
  19. package/dist/cdn/{23YH7MTF.js → 5E27ED2B.js} +1 -1
  20. package/dist/cdn/5IOIRPSB.js +2 -0
  21. package/dist/cdn/5JY7HY6L.js +2 -0
  22. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  23. package/dist/cdn/5XW2VK3A.js +2 -0
  24. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  25. package/dist/cdn/67P25QZA.js +2 -0
  26. package/dist/cdn/6HU62XEQ.js +2 -0
  27. package/dist/cdn/{BJDRJUEJ.js → 6RG6AF7N.js} +1 -1
  28. package/dist/cdn/{HCMD362H.js → 6RPBMFL2.js} +1 -1
  29. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  30. package/dist/cdn/77A4IT5I.js +2 -0
  31. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  32. package/dist/cdn/{JJIGLOJA.js → 7CGAXWPM.js} +1 -1
  33. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  34. package/dist/cdn/7FSMC2TG.js +2 -0
  35. package/dist/cdn/{N6AOFBBX.js → 7MEYUIY2.js} +1 -1
  36. package/dist/cdn/{TNB3MBXR.js → A67PKDYM.js} +1 -1
  37. package/dist/cdn/AALLRICA.js +2 -0
  38. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  39. package/dist/cdn/{5MEQANMY.js → AFE4UMQE.js} +1 -1
  40. package/dist/cdn/{CJ4POAPM.js → AJ4RZPOJ.js} +1 -1
  41. package/dist/cdn/AM27TYIA.js +102 -0
  42. package/dist/cdn/{VEA5ZR5D.js → APATJCOK.js} +1 -1
  43. package/dist/cdn/AZHBGLOD.js +2 -0
  44. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  45. package/dist/cdn/{TYMKFCF4.js → B6BI3FPN.js} +1 -1
  46. package/dist/cdn/{HVO4LIXR.js → BAPR67OA.js} +1 -1
  47. package/dist/cdn/{5JML3JUR.js → BBMN3YU4.js} +1 -1
  48. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  49. package/dist/cdn/BGOWDCTO.js +2 -0
  50. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  51. package/dist/cdn/BYPSLSFP.js +2 -0
  52. package/dist/cdn/BYSUABOV.js +2 -0
  53. package/dist/cdn/BYU72SMZ.js +2 -0
  54. package/dist/cdn/{ZFZ5AEUQ.js → C4O77AVT.js} +1 -1
  55. package/dist/cdn/CHZMNR2R.js +2 -0
  56. package/dist/cdn/CK2HC7UZ.js +4 -0
  57. package/dist/cdn/{64ZMYZ2S.js → CO2YXCVJ.js} +1 -1
  58. package/dist/cdn/CRUHZMGY.js +2 -0
  59. package/dist/cdn/{KLC6NTPC.js → CUPAZHZI.js} +1 -1
  60. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  61. package/dist/cdn/{DEGBVJ76.js → DGJATKEL.js} +1 -1
  62. package/dist/cdn/DGU55EVX.js +2 -0
  63. package/dist/cdn/DT5VZTKL.js +2 -0
  64. package/dist/cdn/DWWFJ4K4.js +2 -0
  65. package/dist/cdn/{RAQZUMC6.js → E7YVOSTR.js} +1 -1
  66. package/dist/cdn/{A5GIBV5W.js → EDYALXKT.js} +1 -1
  67. package/dist/cdn/EKHD7EQL.js +2 -0
  68. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  69. package/dist/cdn/{A4GEWIPY.js → F7IPTEHX.js} +1 -1
  70. package/dist/cdn/{WASEMNYV.js → FHKRXY7E.js} +1 -1
  71. package/dist/cdn/{R45FWF7D.js → G6XSNG2U.js} +1 -1
  72. package/dist/cdn/{LFQGH44F.js → GEHO65XE.js} +1 -1
  73. package/dist/cdn/{RFQBUWOW.js → GT6KWFXM.js} +1 -1
  74. package/dist/cdn/{TF7TE7K5.js → GZZJATH3.js} +1 -1
  75. package/dist/cdn/HGG2Y5XW.js +2 -0
  76. package/dist/cdn/HMBXRL4X.js +2 -0
  77. package/dist/cdn/HQHYGZW7.js +2 -0
  78. package/dist/cdn/{FF4DUQDZ.js → HRUQXEFI.js} +1 -1
  79. package/dist/cdn/{ZXOO3X5P.js → HWHKCIYW.js} +1 -1
  80. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  81. package/dist/cdn/{3DK6M5E7.js → IB6KNSJY.js} +1 -1
  82. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  83. package/dist/cdn/{PSO5AURI.js → INECCYD7.js} +1 -1
  84. package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
  85. package/dist/cdn/{PVJEBBA7.js → ISY2BKFT.js} +1 -1
  86. package/dist/cdn/J64IDIEG.js +2 -0
  87. package/dist/cdn/J6YHKP6I.js +2 -0
  88. package/dist/cdn/JDAJB45A.js +2 -0
  89. package/dist/cdn/{YOT6DVSU.js → JEW6MSOC.js} +1 -1
  90. package/dist/cdn/{KZ7LPNX3.js → JNFMKAES.js} +1 -1
  91. package/dist/cdn/JPGRB2JX.js +2 -0
  92. package/dist/cdn/JRJXFHCK.js +2 -0
  93. package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
  94. package/dist/cdn/{JBHGSSHS.js → K25GJKPH.js} +1 -1
  95. package/dist/cdn/K4APZJ2O.js +2 -0
  96. package/dist/cdn/K5FLBEYI.js +2 -0
  97. package/dist/cdn/KITNG4RO.js +2 -0
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/{7FZC3RZK.js → L5J4TYCU.js} +1 -1
  100. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  101. package/dist/cdn/LGTEA66L.js +2 -0
  102. package/dist/cdn/LQMU7V5C.js +2 -0
  103. package/dist/cdn/LSWWNXP3.js +2 -0
  104. package/dist/cdn/M22IUUVK.js +2 -0
  105. package/dist/cdn/{MRTKZZTF.js → MBL6ZAKF.js} +1 -1
  106. package/dist/cdn/{K3GNHGEW.js → MDPDU2BA.js} +1 -1
  107. package/dist/cdn/MIJTHCPZ.js +2 -0
  108. package/dist/cdn/NEOAI7Q7.js +3 -0
  109. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  110. package/dist/cdn/{VVKV5KKN.js → NMITBWC4.js} +1 -1
  111. package/dist/cdn/NPRV25FK.js +2 -0
  112. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  113. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  114. package/dist/cdn/{KDJ5RVHA.js → NYFHPR6N.js} +1 -1
  115. package/dist/cdn/{AJWYIBGC.js → O25MQAZU.js} +1 -1
  116. package/dist/cdn/{LONASKGH.js → OAFJADKA.js} +1 -1
  117. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  118. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  119. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  120. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  121. package/dist/cdn/{LDPHZHSF.js → OWLVHHFH.js} +1 -1
  122. package/dist/cdn/{E7OAEGSE.js → OZSAA5YQ.js} +1 -1
  123. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  124. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  125. package/dist/cdn/{WEQBZOH7.js → PDPZBGTU.js} +1 -1
  126. package/dist/cdn/PFR6MB2U.js +2 -0
  127. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  128. package/dist/cdn/PO2S3EAI.js +2 -0
  129. package/dist/cdn/{VDG54AIC.js → PTS74ZAY.js} +1 -1
  130. package/dist/cdn/{VY3KBD6N.js → PV2PO4IS.js} +1 -1
  131. package/dist/cdn/{ETKPMU7Z.js → Q3ZQR5JF.js} +1 -1
  132. package/dist/cdn/{QMSINFQX.js → Q5E66RNY.js} +1 -1
  133. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  134. package/dist/cdn/{XJFVSX2E.js → QJMUS3VS.js} +1 -1
  135. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  136. package/dist/cdn/QLJQK4ET.js +2 -0
  137. package/dist/cdn/{THTYR6IL.js → QYNNPEED.js} +1 -1
  138. package/dist/cdn/R53ISOLY.js +2 -0
  139. package/dist/cdn/{GV3TT7L5.js → R6T7WJQJ.js} +1 -1
  140. package/dist/cdn/{KUZR6CGB.js → R6XIGSQS.js} +1 -1
  141. package/dist/cdn/{7ABIELGZ.js → RFXODD7V.js} +1 -1
  142. package/dist/cdn/{5XTQQOTT.js → RLCLIRL6.js} +1 -1
  143. package/dist/cdn/RREO2RVL.js +2 -0
  144. package/dist/cdn/{AM2TOTX6.js → RTVU7ANC.js} +1 -1
  145. package/dist/cdn/RXFVSKL4.js +2 -0
  146. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  147. package/dist/cdn/{DKAHZ7IX.js → SWEIMWH2.js} +1 -1
  148. package/dist/cdn/T5QBJ7O3.js +2 -0
  149. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  150. package/dist/cdn/TGGLZGJB.js +2 -0
  151. package/dist/cdn/THYUOV7H.js +45 -0
  152. package/dist/cdn/TIRQ7FKE.js +2 -0
  153. package/dist/cdn/{KOBNV5AQ.js → TJZPVPM6.js} +1 -1
  154. package/dist/cdn/{A5YDJIMZ.js → TNNXIIY2.js} +1 -1
  155. package/dist/cdn/{KFONSKQF.js → TQLMPVI5.js} +1 -1
  156. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  157. package/dist/cdn/{UT4TYXFO.js → TW4RXJ35.js} +1 -1
  158. package/dist/cdn/{U2LJZ4ML.js → TWULSSGK.js} +1 -1
  159. package/dist/cdn/TXQMUOMN.js +2 -0
  160. package/dist/cdn/{PC7IKOIB.js → TZBDO2TG.js} +1 -1
  161. package/dist/cdn/{5G7DSKI7.js → UBG7XLVS.js} +1 -1
  162. package/dist/cdn/{NQQW4GKA.js → UBZEWFXF.js} +1 -1
  163. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  164. package/dist/cdn/{LZYN55O4.js → UDDRI2Q2.js} +1 -1
  165. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  166. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  167. package/dist/cdn/{A5AECJXP.js → VEXNULZX.js} +1 -1
  168. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  169. package/dist/cdn/VMJSBE4T.js +2 -0
  170. package/dist/cdn/{U4XLNCOU.js → VQJKVJS7.js} +1 -1
  171. package/dist/cdn/{3YT44D4Z.js → VX6SWJJ6.js} +1 -1
  172. package/dist/cdn/VZNG7PQX.js +2 -0
  173. package/dist/cdn/W2QTMTLL.js +2 -0
  174. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  175. package/dist/cdn/{AWF4R7WL.js → WWIRRYDD.js} +1 -1
  176. package/dist/cdn/{XW4PBQNW.js → X6QMN2HV.js} +1 -1
  177. package/dist/cdn/XKOKJQQD.js +2 -0
  178. package/dist/cdn/{LRNADJJG.js → XMV5A2VE.js} +2 -2
  179. package/dist/cdn/XUL3AOTB.js +2 -0
  180. package/dist/cdn/{IPM2XKST.js → XVK4ONRA.js} +1 -1
  181. package/dist/cdn/{QOOBNATX.js → XWLP2CHH.js} +1 -1
  182. package/dist/cdn/Y6KFUUWA.js +2 -0
  183. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  184. package/dist/cdn/YEGRLOUM.js +2 -0
  185. package/dist/cdn/{PAIRUVLU.js → YEK7BIRE.js} +1 -1
  186. package/dist/cdn/{XE3FKQFA.js → YS73YUW5.js} +1 -1
  187. package/dist/cdn/{WNKDEOFZ.js → ZALJA7E5.js} +1 -1
  188. package/dist/cdn/{6XTKJ7DO.js → ZCAHK6VZ.js} +1 -1
  189. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  190. package/dist/cdn/{FDXE5JLT.js → ZUIZRQUG.js} +1 -1
  191. package/dist/cdn/{CLXVAIQX.js → ZYK5XBZK.js} +1 -1
  192. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  193. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  194. package/dist/cdn/index.js +1 -1
  195. package/dist/cdn/main.css +1 -1
  196. package/dist/cdn/model/shared/setup-utils.js +2 -0
  197. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  198. package/dist/chart-rendering/common/interfaces.d.ts +8 -8
  199. package/dist/chunks/axis-lines-symbol.js +7 -7
  200. package/dist/chunks/bar-chart-model.js +39 -36
  201. package/dist/chunks/box-plot-data.js +37 -37
  202. package/dist/chunks/box-plot-model.js +10 -10
  203. package/dist/chunks/chart-model.js +173 -141
  204. package/dist/chunks/chart-object-literals.js +2 -1
  205. package/dist/chunks/chart-ui-utils.js +24 -23
  206. package/dist/chunks/class-breaks.js +12 -12
  207. package/dist/chunks/combo-bar-line-chart-model.js +27 -27
  208. package/dist/chunks/data-labels-symbol.js +39 -24
  209. package/dist/chunks/data-labels-visibility.js +22 -22
  210. package/dist/chunks/data.js +68 -68
  211. package/dist/chunks/gauge-model.js +16 -16
  212. package/dist/chunks/generate-x-axis-title.js +9 -9
  213. package/dist/chunks/heat-chart-model.js +76 -47
  214. package/dist/chunks/histogram-data.js +15 -15
  215. package/dist/chunks/histogram-model.js +5 -5
  216. package/dist/chunks/index.js +85 -84
  217. package/dist/chunks/index2.js +5926 -5735
  218. package/dist/chunks/index3.js +32 -29
  219. package/dist/chunks/index4.js +252 -75
  220. package/dist/chunks/line-chart-model.js +2 -2
  221. package/dist/chunks/model-setter.js +15 -14
  222. package/dist/chunks/model-with-line-marker-styling.js +2 -3
  223. package/dist/chunks/model-with-x-guides.js +5 -5
  224. package/dist/chunks/model-with-y-guides.js +20 -20
  225. package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
  226. package/dist/chunks/pie-chart-data.js +48 -42
  227. package/dist/chunks/pie-chart-model.js +171 -158
  228. package/dist/chunks/radar-chart-model.js +2 -2
  229. package/dist/chunks/resource.js +1 -1
  230. package/dist/chunks/rotated-state.js +1 -1
  231. package/dist/chunks/rounded-corners.js +73 -0
  232. package/dist/chunks/scatterplot-model.js +15 -15
  233. package/dist/chunks/serial-chart-data.js +891 -756
  234. package/dist/chunks/serial-chart-model.js +107 -93
  235. package/dist/chunks/series-length.js +1 -1
  236. package/dist/chunks/series.js +1 -1
  237. package/dist/chunks/type-guards.js +17 -13
  238. package/dist/chunks/type-guards2.js +24 -20
  239. package/dist/chunks/type-guards3.js +1 -1
  240. package/dist/chunks/utils.js +79 -68
  241. package/dist/chunks/utils2.js +1 -1
  242. package/dist/chunks/web-component-utils.js +632 -492
  243. package/dist/chunks/x-bounds.js +17 -17
  244. package/dist/components/arcgis-chart/customElement.d.ts +178 -148
  245. package/dist/components/arcgis-chart/customElement.js +8259 -8184
  246. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +15 -15
  248. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  249. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  250. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
  251. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +6 -9
  252. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
  253. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  254. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
  255. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  257. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
  258. package/dist/components/arcgis-charts-config-create-flow/customElement.js +16 -16
  259. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  260. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
  262. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  263. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
  264. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  265. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +63 -75
  267. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  268. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
  269. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
  270. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
  271. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  272. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
  273. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
  275. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  276. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +36 -38
  277. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  278. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -6
  279. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  280. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  281. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
  282. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +9 -9
  283. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +8 -11
  284. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
  285. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
  286. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  287. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  288. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  289. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  290. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  291. package/dist/docs/api.json +1 -1
  292. package/dist/docs/docs.json +1 -1
  293. package/dist/docs/vscode.html-custom-data.json +1 -1
  294. package/dist/docs/web-types.json +1 -1
  295. package/dist/index.d.ts +66 -70
  296. package/dist/index.js +457 -450
  297. package/dist/json-schema/index.d.ts +162 -2
  298. package/dist/loader.js +2 -2
  299. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  300. package/dist/model/chart-model/chart-model.d.ts +2 -1
  301. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
  302. package/dist/model/heat-chart-model/heat-chart-model.d.ts +24 -2
  303. package/dist/model/interfaces/common.d.ts +0 -2
  304. package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
  305. package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
  306. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  307. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  308. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  309. package/dist/model/properties/rotated-state.d.ts +1 -1
  310. package/dist/model/properties/rounded-corners.d.ts +18 -0
  311. package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
  312. package/dist/model/shared/type-guards.d.ts +7 -0
  313. package/dist/spec/chart-object-literals.d.ts +1 -0
  314. package/dist/spec/data-source.d.ts +6 -1
  315. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  316. package/dist/spec/rest-js-types.d.ts +22 -8
  317. package/dist/spec/web-chart.d.ts +16 -2
  318. package/dist/utils/chart-config/converter/index.js +17 -17
  319. package/dist/utils/chart-config/utils/index.d.ts +35 -0
  320. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  321. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  322. package/dist/utils/data/index.d.ts +14 -10
  323. package/dist/utils/defaults/index.d.ts +5 -3
  324. package/dist/utils/defaults/interfaces.d.ts +1 -1
  325. package/dist/utils/errors/index.d.ts +1 -1
  326. package/dist/utils/layer/index.d.ts +5 -3
  327. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  328. package/dist/utils/layer/interfaces.d.ts +2 -1
  329. package/dist/utils/layer/query-features/index.d.ts +17 -1
  330. package/dist/utils/layer/query-parser/index.d.ts +4 -3
  331. package/dist/utils/misc/index.d.ts +2 -3
  332. package/dist/utils/types/index.d.ts +1 -5
  333. package/package.json +7 -8
  334. package/dist/cdn/26FWESH3.js +0 -102
  335. package/dist/cdn/2K4ODNJ4.js +0 -2
  336. package/dist/cdn/3XHZ677O.js +0 -2
  337. package/dist/cdn/547RDEMV.js +0 -2
  338. package/dist/cdn/5FMEOIBS.js +0 -3
  339. package/dist/cdn/5XTB2INB.js +0 -2
  340. package/dist/cdn/5YJNENER.js +0 -2
  341. package/dist/cdn/74JAZF7U.js +0 -2
  342. package/dist/cdn/7CN6J33C.js +0 -2
  343. package/dist/cdn/7HIZH35G.js +0 -2
  344. package/dist/cdn/BBURKBKE.js +0 -2
  345. package/dist/cdn/CCR46UHB.js +0 -2
  346. package/dist/cdn/CJPEW4LJ.js +0 -142
  347. package/dist/cdn/CRFJ2GGS.js +0 -2
  348. package/dist/cdn/CXQOEN77.js +0 -2
  349. package/dist/cdn/DYC3Q36R.js +0 -2
  350. package/dist/cdn/E43KEVHT.js +0 -2
  351. package/dist/cdn/EXTKNE2L.js +0 -2
  352. package/dist/cdn/EZV7JSQJ.js +0 -2
  353. package/dist/cdn/F7Y6EWWB.js +0 -2
  354. package/dist/cdn/G5HVFOIO.js +0 -2
  355. package/dist/cdn/G7TRU7JI.js +0 -2
  356. package/dist/cdn/GL3IXVRN.js +0 -2
  357. package/dist/cdn/GLJWUZHK.js +0 -2
  358. package/dist/cdn/HCV34H6X.js +0 -2
  359. package/dist/cdn/IUFXFWXH.js +0 -2
  360. package/dist/cdn/JHYH555K.js +0 -2
  361. package/dist/cdn/JNNB2DIA.js +0 -2
  362. package/dist/cdn/JVHJMPFE.js +0 -2
  363. package/dist/cdn/K5MXTTSL.js +0 -2
  364. package/dist/cdn/KI4HS3AM.js +0 -2
  365. package/dist/cdn/KVGEY3IQ.js +0 -2
  366. package/dist/cdn/LWODMEOP.js +0 -2
  367. package/dist/cdn/LYZGRYQV.js +0 -2
  368. package/dist/cdn/MF3FGXHI.js +0 -2
  369. package/dist/cdn/MUPHTV55.js +0 -2
  370. package/dist/cdn/N5ERJZPG.js +0 -2
  371. package/dist/cdn/NGPMU4T3.js +0 -2
  372. package/dist/cdn/NJCZ6UTM.js +0 -2
  373. package/dist/cdn/NMB6TWC2.js +0 -2
  374. package/dist/cdn/NNNTZU5J.js +0 -2
  375. package/dist/cdn/NPXBPNXE.js +0 -2
  376. package/dist/cdn/NS3THLCD.js +0 -2
  377. package/dist/cdn/NZR4L5AA.js +0 -2
  378. package/dist/cdn/OLV642SY.js +0 -4
  379. package/dist/cdn/P2NPQAJ3.js +0 -2
  380. package/dist/cdn/PJUAU42S.js +0 -2
  381. package/dist/cdn/PK5XIIZY.js +0 -2
  382. package/dist/cdn/PY5Q3V6E.js +0 -2
  383. package/dist/cdn/PZGIXDMC.js +0 -2
  384. package/dist/cdn/RMYZGOBM.js +0 -2
  385. package/dist/cdn/SVLEJ3HK.js +0 -2
  386. package/dist/cdn/TAI4RIWT.js +0 -2
  387. package/dist/cdn/TXSWWAOF.js +0 -2
  388. package/dist/cdn/TZB57XD4.js +0 -2
  389. package/dist/cdn/U67P6YAZ.js +0 -2
  390. package/dist/cdn/UAJGYF4S.js +0 -2
  391. package/dist/cdn/UT6G7RV7.js +0 -2
  392. package/dist/cdn/VOTZAPI3.js +0 -2
  393. package/dist/cdn/W7X6L2OB.js +0 -127
  394. package/dist/cdn/WPPMMVD5.js +0 -2
  395. package/dist/cdn/YF7MNTCU.js +0 -58
  396. package/dist/cdn/YRBE7MBU.js +0 -2
  397. package/dist/cdn/YRFZPSCC.js +0 -2
  398. package/dist/cdn/YYK7SPXC.js +0 -2
  399. package/dist/cdn/Z2CVF7CH.js +0 -2
  400. package/dist/cdn/ZRZEKOEF.js +0 -2
  401. package/dist/chunks/bar-chart-series.js +0 -15
  402. package/dist/chunks/time-zone.js +0 -38
  403. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  404. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,13 +1,13 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { u as m } from "./chart-object-literals.js";
3
- import { U as S, Y as n, am as d, aB as c } from "./index.js";
3
+ import { V as S, Z as n, an as d, aC as c } from "./index.js";
4
4
  import { an as a } from "./index2.js";
5
5
  import { m as y } from "./model-setter.js";
6
6
  import { M as g } from "./model-with-line-marker-styling.js";
7
7
  import { s as u, a as p, b, c as I, d as v, W as _ } from "./negative-values-stacked-to-baseline.js";
8
8
  import { S as C, s as L, a as M } from "./serial-chart-model.js";
9
9
  import { h as f } from "./serial-chart-data.js";
10
- import { f as k } from "./utils.js";
10
+ import { h as k } from "./utils.js";
11
11
  var D = Object.defineProperty, F = Object.getOwnPropertyDescriptor, x = (o, e, s, t) => {
12
12
  for (var i = F(e, s), r = o.length - 1, l; r >= 0; r--)
13
13
  (l = o[r]) && (i = l(e, s, i) || i);
@@ -1,39 +1,40 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { fetchT9nStringsBundle as d, getElementLocale as c } from "@arcgis/toolkit/intl";
2
+ import { fetchT9nStringsBundle as d } from "@arcgis/toolkit/intl";
3
+ import { getElementLocale as c } from "@arcgis/toolkit/intl/dom";
3
4
  import { g } from "./runtime.js";
4
5
  import { convertChartSpec as h } from "../utils/chart-config/converter/index.js";
5
- import { S as f } from "./index.js";
6
- import { ac as o, bu as l, I as y, an as u } from "./index2.js";
6
+ import { U as f } from "./index.js";
7
+ import { ac as o, bx as l, I as y, an as u } from "./index2.js";
7
8
  import "lodash-es";
8
9
  import "luxon";
9
10
  import "./chart-object-literals.js";
10
11
  import "@arcgis/core/layers/support/FeatureFilter.js";
11
12
  import "@arcgis/core/smartMapping/statistics/histogram.js";
12
13
  import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
13
- import "@arcgis/core/geometry/support/jsonUtils.js";
14
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
15
- import "@arcgis/core/rest/support/Query.js";
16
- import "@arcgis/core/rest/support/StatisticDefinition.js";
17
- import "@arcgis/core/time/TimeExtent.js";
18
14
  import "./index3.js";
19
15
  import "@arcgis/core/Graphic.js";
20
16
  import "@arcgis/core/renderers/support/jsonUtils.js";
21
17
  import "@arcgis/core/symbols/support/symbolUtils.js";
22
18
  import "@esri/arcgis-html-sanitizer";
19
+ import "@arcgis/core/geometry/support/jsonUtils.js";
20
+ import "@arcgis/core/rest/support/AttributeBinsQuery.js";
21
+ import "@arcgis/core/rest/support/Query.js";
22
+ import "@arcgis/core/rest/support/StatisticDefinition.js";
23
+ import "@arcgis/core/time/TimeExtent.js";
23
24
  import "@arcgis/core/core/promiseUtils.js";
24
25
  import "@arcgis/core/request.js";
25
- import "@arcgis/core/geometry/Point.js";
26
26
  import "@arcgis/core/applications/Components/imageryUtils.js";
27
+ import "@arcgis/core/geometry/Point.js";
27
28
  import "@arcgis/core/AttributeBinsGraphic.js";
28
29
  import "@arcgis/core/layers/support/CodedValueDomain.js";
30
+ import "@arcgis/core/geometry/Extent.js";
29
31
  import "@arcgis/core/intl.js";
30
32
  import "@arcgis/toolkit/dom";
31
33
  import "simple-statistics";
32
34
  import "@arcgis/core/core/sql.js";
33
- import "@arcgis/core/geometry/Extent.js";
34
35
  import "@arcgis/toolkit/type";
35
36
  import "./class-breaks.js";
36
- class $ extends EventTarget {
37
+ class K extends EventTarget {
37
38
  /**
38
39
  * @param args
39
40
  * @privateRemarks This "any" constructor is needed for TypeScript to merge
@@ -120,7 +121,7 @@ class $ extends EventTarget {
120
121
  }
121
122
  // #endregion
122
123
  }
123
- function K(n, i, t) {
124
+ function tt(n, i, t) {
124
125
  const s = t.set, r = t.value;
125
126
  return s && (t.set = function(a) {
126
127
  this.guardSetterFromAsyncOverwrite(() => {
@@ -133,6 +134,6 @@ function K(n, i, t) {
133
134
  }), t;
134
135
  }
135
136
  export {
136
- $ as C,
137
- K as m
137
+ K as C,
138
+ tt as m
138
139
  };
@@ -81,7 +81,7 @@ class s extends S {
81
81
  });
82
82
  }
83
83
  /**
84
- * Specify the color of the filled area for line chart.
84
+ * Get whether to connect the lines when there's a gap in the data.
85
85
  *
86
86
  * @param seriesIndex - The index of the series.
87
87
  */
@@ -126,8 +126,7 @@ class s extends S {
126
126
  });
127
127
  }
128
128
  /**
129
- * Specify the color of the filled area for line chart.
130
- * **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
129
+ * Get the color of the filled area.
131
130
  *
132
131
  * @param seriesIndex - The index of the series.
133
132
  */
@@ -1,9 +1,9 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { G as n } from "./common.js";
3
- import { f as u } from "./utils.js";
3
+ import { h as f } from "./utils.js";
4
4
  import { M as a, b as l, d as G } from "./x-bounds.js";
5
5
  import { m as p } from "./model-setter.js";
6
- var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, f = (o, e, t, h) => {
6
+ var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (o, e, t, h) => {
7
7
  for (var i = c(e, t), s = o.length - 1, r; s >= 0; s--)
8
8
  (r = o[s]) && (i = r(e, t, i) || i);
9
9
  return i && m(e, t, i), i;
@@ -36,14 +36,14 @@ class d extends a {
36
36
  });
37
37
  }
38
38
  }
39
- f([
39
+ u([
40
40
  p
41
41
  ], d.prototype, "addXAxisGuide");
42
- f([
42
+ u([
43
43
  p
44
44
  ], d.prototype, "deleteXAxisGuide");
45
45
  const g = [a];
46
- u(d, g);
46
+ f(d, g);
47
47
  export {
48
48
  d as M
49
49
  };
@@ -1,26 +1,26 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { C as b } from "./chart-model.js";
3
- import { r as o, k as h, s as x, l as A, m as C, n as m, o as L, p as V, f as v } from "./utils.js";
3
+ import { r as o, l as h, s as x, m as A, a as C, n as m, o as L, p as V, h as v } from "./utils.js";
4
4
  import { cloneDeep as T } from "lodash-es";
5
5
  import { j as y } from "./chart-object-literals.js";
6
- import { G as g } from "./index.js";
6
+ import { H as g } from "./index.js";
7
7
  import { m as r } from "./model-setter.js";
8
- import { g as S, b as B, e as G, f as M, c as O, d as D, a as I, s as z } from "./utils2.js";
8
+ import { g as S, b as B, e as M, f as O, c as D, d as G, a as I, s as z } from "./utils2.js";
9
9
  import { M as _, b as H, d as Y } from "./x-bounds.js";
10
10
  import { G as p } from "./common.js";
11
11
  const P = (t) => {
12
12
  for (const i of t.axes ?? [])
13
13
  if (i?.grid !== void 0)
14
14
  return i.grid;
15
- }, k = (t, i, s) => {
15
+ }, F = (t, i, s) => {
16
16
  const e = i.axes;
17
17
  s.forEach((c) => {
18
18
  e?.[c] !== void 0 && (e[c].grid = T(t));
19
19
  });
20
- }, F = (t, i) => i.axes?.[t]?.visible ?? !0, W = (t, i, s) => {
20
+ }, W = (t, i) => i.axes?.[t]?.visible ?? !0, Z = (t, i, s) => {
21
21
  const e = s.axes?.[i];
22
22
  e !== void 0 && (e.visible = t);
23
- }, Z = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, w = (t, i, s) => {
23
+ }, k = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, w = (t, i, s) => {
24
24
  t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = i);
25
25
  }, N = (t, i) => t.axes?.[i]?.displayCursorTooltip ?? !1, j = (t) => {
26
26
  const { config: i, displayCursorTooltip: s, axisIndex: e } = t;
@@ -83,12 +83,12 @@ class a extends b {
83
83
  return o({
84
84
  config: this._config,
85
85
  axisIndex: i,
86
- func: (s) => F(s, this._config)
86
+ func: (s) => W(s, this._config)
87
87
  }) ?? !0;
88
88
  }
89
89
  /**
90
90
  * Sets the visibility of the specified axis.
91
- * **Note:** The visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
91
+ * **Note:** The visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
92
92
  * @param {boolean} isVisible The visibility state for the axis.
93
93
  * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
94
94
  */
@@ -98,7 +98,7 @@ class a extends b {
98
98
  config: this._config,
99
99
  axisIndex: s,
100
100
  func: (e) => {
101
- W(i, e, this._config), this.emitConfigUpdate("setAxisVisibility");
101
+ Z(i, e, this._config), this.emitConfigUpdate("setAxisVisibility");
102
102
  }
103
103
  });
104
104
  });
@@ -112,12 +112,12 @@ class a extends b {
112
112
  return o({
113
113
  config: this._config,
114
114
  axisIndex: i,
115
- func: (s) => G(s, this._config)
115
+ func: (s) => M(s, this._config)
116
116
  }) ?? !0;
117
117
  }
118
118
  /**
119
119
  * Sets the visibility of the specified axis labels.
120
- * **Note:** The labels visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
120
+ * **Note:** The labels visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
121
121
  * @param {boolean} isVisible The visibility state for the axis labels.
122
122
  * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
123
123
  */
@@ -127,7 +127,7 @@ class a extends b {
127
127
  config: this._config,
128
128
  axisIndex: s,
129
129
  func: (e) => {
130
- M(i, e, this._config), this.emitConfigUpdate("setAxisLabelsVisibility");
130
+ O(i, e, this._config), this.emitConfigUpdate("setAxisLabelsVisibility");
131
131
  }
132
132
  });
133
133
  });
@@ -141,7 +141,7 @@ class a extends b {
141
141
  return o({
142
142
  config: this._config,
143
143
  axisIndex: i,
144
- func: (s) => O(s, this._config)
144
+ func: (s) => D(s, this._config)
145
145
  }) ?? !1;
146
146
  }
147
147
  setAxisTitleVisibility(i, s) {
@@ -149,7 +149,7 @@ class a extends b {
149
149
  config: this._config,
150
150
  axisIndex: s,
151
151
  func: (e) => {
152
- D(i, e, this._config);
152
+ G(i, e, this._config);
153
153
  }
154
154
  });
155
155
  }
@@ -319,7 +319,7 @@ class a extends b {
319
319
  return P(this._config);
320
320
  }
321
321
  setGridLinesSymbol(i, s) {
322
- Array.isArray(s) && k(i, this._config, s);
322
+ Array.isArray(s) && F(i, this._config, s);
323
323
  }
324
324
  /**
325
325
  * Get the default x-axis title text.
@@ -339,7 +339,7 @@ class a extends b {
339
339
  return o({
340
340
  config: this._config,
341
341
  axisIndex: i,
342
- func: (s) => Z(this._config, s)
342
+ func: (s) => k(this._config, s)
343
343
  }) ?? !1;
344
344
  }
345
345
  setDisplayZeroLine(i, s) {
@@ -460,7 +460,7 @@ class a extends b {
460
460
  * Visibility of the horizontal line of the cursor's crosshair.
461
461
  * - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
462
462
  *
463
- * **Note:** To set the cursor crosshair horizontal line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
463
+ * **Note:** To set the cursor crosshair horizontal line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
464
464
  */
465
465
  get cursorCrosshairHorizontalLineVisibility() {
466
466
  return si(this._config);
@@ -472,7 +472,7 @@ class a extends b {
472
472
  * Visibility of the vertical line of the cursor's crosshair.
473
473
  * - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
474
474
  *
475
- * **Note:** To set the cursor crosshair vertical line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
475
+ * **Note:** To set the cursor crosshair vertical line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
476
476
  */
477
477
  get cursorCrosshairVerticalLineVisibility() {
478
478
  return ei(this._config);
@@ -483,7 +483,7 @@ class a extends b {
483
483
  /**
484
484
  * Style of the cursor's crosshair from the chart config.
485
485
  *
486
- * **Note:** To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
486
+ * **Note:** To set the cursor crosshair style for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
487
487
  */
488
488
  get cursorCrosshairStyle() {
489
489
  return ri(this._config);
@@ -494,7 +494,7 @@ class a extends b {
494
494
  /**
495
495
  * Cursor crosshair from the chart config.
496
496
  *
497
- * **Note:** To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
497
+ * **Note:** To set the cursor crosshair for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
498
498
  */
499
499
  get cursorCrosshair() {
500
500
  return ai(this._config);
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { s as c, a as k, g as b, b as n } from "./series.js";
3
- import { X as m } from "./index.js";
3
+ import { Y as m } from "./index.js";
4
4
  import { g as i, m as a } from "./index5.js";
5
5
  import { C as v, m as y } from "./model-setter.js";
6
6
  const f = (s, e) => {
@@ -34,7 +34,7 @@ const f = (s, e) => {
34
34
  }, q = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, R = (s) => {
35
35
  const { visible: e, seriesIndex: r, config: t } = s;
36
36
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].showArea = e);
37
- }, X = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, E = (s) => {
37
+ }, Y = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, E = (s) => {
38
38
  const { visible: e, seriesIndex: r, config: t } = s;
39
39
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].markerVisible = e);
40
40
  }, G = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].areaColor : void 0, H = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.connectLines : void 0, J = (s) => {
@@ -89,7 +89,7 @@ export {
89
89
  J as m,
90
90
  q as n,
91
91
  R as o,
92
- X as p,
92
+ Y as p,
93
93
  E as q,
94
94
  G as r,
95
95
  d as s
@@ -1,19 +1,19 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { substitute as h } from "@arcgis/core/intl.js";
3
- import { memoize as W, isEmpty as $, isNull as R, cloneDeep as U } from "lodash-es";
4
- import { P as y, a as g } from "./common.js";
2
+ import { substitute as O } from "@arcgis/core/intl.js";
3
+ import { memoize as U, isEmpty as W, isNull as $, cloneDeep as M } from "lodash-es";
4
+ import { P as g, a as y } from "./common.js";
5
5
  import { g as A, u as q } from "./utils.js";
6
- import { g as z } from "./data.js";
7
- import { b as G } from "./series-length.js";
8
- import { g as _ } from "./utils2.js";
9
- import { S as M, t as k, a3 as H } from "./index.js";
6
+ import { g as R } from "./data.js";
7
+ import { b as k } from "./series-length.js";
8
+ import { g as z } from "./utils2.js";
9
+ import { U as G, u as _, a4 as H } from "./index.js";
10
10
  import { d as P } from "./index3.js";
11
- import { m as O, an as L, n as V } from "./index2.js";
11
+ import { m as h, an as L, n as V } from "./index2.js";
12
12
  import { i as w } from "./index4.js";
13
13
  import { r as m, p as b, n as F, u as J } from "./chart-object-literals.js";
14
14
  import { i as Q } from "./rest-js-object-literals.js";
15
15
  function v(r) {
16
- const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l = G(t), d = w(t);
16
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l = k(t), d = w(t);
17
17
  return a === l || d;
18
18
  }
19
19
  function B(r) {
@@ -23,19 +23,19 @@ function B(r) {
23
23
  commonStrings: s,
24
24
  numericFields: f(t),
25
25
  aggregationType: T(t, i)
26
- }) : "", l = _(1, t), d = w(t);
26
+ }) : "", l = z(1, t), d = w(t);
27
27
  return a === l || d;
28
28
  }
29
29
  const I = (r) => r.series?.[0]?.x ?? "";
30
30
  function X(r, t) {
31
31
  const e = r.series?.[0];
32
- return [`${t === y.Category ? e.y : V} ${b.Descending}`];
32
+ return [`${t === g.Category ? e.y : V} ${b.Descending}`];
33
33
  }
34
34
  const K = (r, t) => {
35
- let e = g.valueDesc;
35
+ let e = y.valueDesc;
36
36
  const i = r.orderOptions?.data?.orderType ?? X(r, t), s = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : b.Descending;
37
- return i === F.Category && Array.isArray(s) ? e = g.customSort : i === F.Category ? s === b.Ascending ? e = g.labelAsc : e = g.labelDesc : s === b.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
38
- }, f = W(
37
+ return i === F.Category && Array.isArray(s) ? e = y.customSort : i === F.Category ? s === b.Ascending ? e = y.labelAsc : e = y.labelDesc : s === b.Ascending ? e = y.valueAsc : e = y.valueDesc, e;
38
+ }, f = U(
39
39
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
40
40
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
41
41
  (r) => {
@@ -49,12 +49,12 @@ const K = (r, t) => {
49
49
  ), T = (r, t) => {
50
50
  const e = f(r);
51
51
  let i;
52
- return t === y.Fields && e.length === 0 ? i = m.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
52
+ return t === g.Fields && e.length === 0 ? i = m.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
53
53
  };
54
54
  function Y(r) {
55
55
  const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = L(e?.layer).idField, l = H(s, a), d = I(t), c = t.series[0]?.dataLabels, o = {
56
56
  ...l,
57
- x: i === y.Category ? d : O,
57
+ x: i === g.Category ? d : h,
58
58
  slices: t.series?.[0]?.slices,
59
59
  dataLabels: {
60
60
  ...l.dataLabels,
@@ -73,8 +73,8 @@ function Y(r) {
73
73
  }, n = T(t, i);
74
74
  if (n !== m.NoAggregation && a !== void 0) {
75
75
  const u = `${n}_${a}_0`.toUpperCase();
76
- o.y = i === y.Category ? u : V, o.query = {
77
- outStatistics: i === y.Category ? [
76
+ o.y = i === g.Category ? u : V, o.query = {
77
+ outStatistics: i === g.Category ? [
78
78
  {
79
79
  statisticType: n,
80
80
  onStatisticField: a,
@@ -83,39 +83,39 @@ function Y(r) {
83
83
  ] : []
84
84
  };
85
85
  }
86
- return i === y.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, U(o);
86
+ return i === g.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, M(o);
87
87
  }
88
88
  function D(r) {
89
- const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = k(n, s), x = u ? "" : o.map((E) => P(a ?? [], E)).join(", "), S = P(a ?? [], c);
90
- let C = "", N;
91
- return i === y.Fields ? N = o.length === 0 : N = c === "", N ? C = s.utilsStrings.chartType.pieChart : n === m.NoAggregation ? C = h(s.titleLabels.aggrFieldsByCategory, {
89
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = _(n, s), x = u ? "" : o.map((E) => P(a ?? [], E)).join(", "), C = P(a ?? [], c);
90
+ let S = "", N;
91
+ return i === g.Fields ? N = o.length === 0 : N = c === "", N ? S = s.utilsStrings.chartType.pieChart : n === m.NoAggregation ? S = O(s.titleLabels.aggrFieldsByCategory, {
92
92
  aggregationFields: u ? l : x,
93
- category: S
94
- }) : n === m.Count ? C = h(s.titleLabels.aggrTypeCategory, {
93
+ category: C
94
+ }) : n === m.Count ? S = O(s.titleLabels.aggrTypeCategory, {
95
95
  aggregationType: p,
96
- category: S
97
- }) : o.length > 0 && (S === O || $(S) || R(S) ? C = h(s.titleLabels.aggrTypeOfAggrFields, {
96
+ category: C
97
+ }) : o.length > 0 && (C === h || W(C) || $(C) ? S = O(s.titleLabels.aggrTypeOfAggrFields, {
98
98
  aggregationType: p,
99
99
  aggregationFields: x
100
- }) : C = h(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
100
+ }) : S = O(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
101
101
  aggregationType: p,
102
102
  aggregationFields: x,
103
- category: S
104
- })), C;
103
+ category: C
104
+ })), S;
105
105
  }
106
106
  const ue = (r) => {
107
107
  const { newSortOrderKind: t, config: e, orderByList: i } = r;
108
- e.orderOptions ??= {}, t === g.customSort && i !== void 0 ? e.orderOptions.data = {
108
+ e.orderOptions ??= {}, t === y.customSort && i !== void 0 ? e.orderOptions.data = {
109
109
  orderType: F.Category,
110
110
  orderBy: [...i]
111
111
  } : e.orderOptions.data = {
112
- orderType: t === g.labelAsc || t === g.labelDesc ? F.Category : F.YValue,
113
- orderBy: t === g.labelAsc || t === g.valueAsc ? b.Ascending : b.Descending
112
+ orderType: t === y.labelAsc || t === y.labelDesc ? F.Category : F.YValue,
113
+ orderBy: t === y.labelAsc || t === y.valueAsc ? b.Ascending : b.Descending
114
114
  };
115
115
  }, pe = (r) => {
116
116
  const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = e.series?.length ?? 0, d = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), c = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
117
117
  if (e.series.forEach((o) => {
118
- o.x = s === y.Category ? t : O, o.query !== void 0 && t !== O ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
118
+ o.x = s === g.Category ? t : h, o.query !== void 0 && t !== h ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
119
119
  }), l === 0) {
120
120
  const o = [Y({ config: e, layerInfo: i, mode: s, commonStrings: a })];
121
121
  e.series = o;
@@ -132,7 +132,7 @@ const ue = (r) => {
132
132
  q(e, 1, n);
133
133
  }
134
134
  e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
135
- const o = s === y.Fields ? f(e).filter((n) => n !== L(i.layer).idField) : f(e);
135
+ const o = s === g.Fields ? f(e).filter((n) => n !== L(i.layer).idField) : f(e);
136
136
  Z({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
137
137
  }
138
138
  };
@@ -149,7 +149,7 @@ function j(r) {
149
149
  }
150
150
  };
151
151
  t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
152
- const u = z({
152
+ const u = R({
153
153
  config: i,
154
154
  xAxisField: I(i),
155
155
  numericFields: t,
@@ -159,7 +159,7 @@ function j(r) {
159
159
  fieldList: d
160
160
  }).name;
161
161
  if (e !== m.NoAggregation)
162
- if (a === y.Category) {
162
+ if (a === g.Category) {
163
163
  if (t.length > 0) {
164
164
  const p = t[0];
165
165
  n.query.outStatistics = [
@@ -204,7 +204,7 @@ const me = (r) => {
204
204
  e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
205
205
  const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
206
206
  e.legend = {
207
- ...e.legend ?? M(),
207
+ ...e.legend ?? G(),
208
208
  displayNumericValue: n,
209
209
  displayPercentage: u,
210
210
  displayCategory: o
@@ -214,7 +214,7 @@ const me = (r) => {
214
214
  const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = L(i?.layer).idField;
215
215
  let d = T(e, s);
216
216
  const c = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), o = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
217
- if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s === y.Category ? (t.push(l), d = m.Count) : d === m.Count && t.length >= 1 && !t.includes(l) && (d = m.Sum)), i !== void 0) {
217
+ if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s === g.Category ? (t.push(l), d = m.Count) : d === m.Count && t.length >= 1 && !t.includes(l) && (d = m.Sum)), i !== void 0) {
218
218
  if (j({
219
219
  config: e,
220
220
  layerInfo: i,
@@ -240,16 +240,21 @@ const me = (r) => {
240
240
  }, fe = (r, t) => {
241
241
  let e = [];
242
242
  const i = r.orderOptions?.data?.orderType, s = K(r, t), a = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : void 0;
243
- return s === g.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
243
+ return s === y.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
244
244
  }, Fe = (r) => {
245
245
  const { values: t, config: e, mode: i } = r;
246
246
  e.orderOptions ??= {};
247
247
  const s = e.orderOptions?.data?.orderType;
248
- K(e, i) === g.customSort && s === F.Category && (e.orderOptions.data = {
248
+ K(e, i) === y.customSort && s === F.Category && (e.orderOptions.data = {
249
249
  orderType: F.Category,
250
250
  orderBy: [...t]
251
251
  });
252
252
  };
253
+ function Te(r) {
254
+ const { category: t = "", numericFields: e = [], fallbackMode: i = g.Category } = r, s = t.trim() !== "" && t !== h;
255
+ let a = i;
256
+ return e.length > 1 ? a = g.Fields : s && e.length <= 1 && (a = g.Category), a;
257
+ }
253
258
  export {
254
259
  f as a,
255
260
  T as b,
@@ -259,7 +264,8 @@ export {
259
264
  ue as f,
260
265
  I as g,
261
266
  fe as h,
262
- Fe as i,
263
- D as j,
267
+ Te as i,
268
+ Fe as j,
269
+ D as k,
264
270
  pe as s
265
271
  };