@arcgis/charts-components 5.2.0-next.11 → 5.2.0-next.111

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 (473) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{7YXTWBT4.js → 225VUGML.js} +3 -3
  4. package/dist/cdn/{SERX6V5M.js → 22DIZM2P.js} +1 -1
  5. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/{N5ZUO6F3.js → 2O2ZA6UO.js} +1 -1
  8. package/dist/cdn/2PWEWSG6.js +2 -0
  9. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  10. package/dist/cdn/3A6N7WAM.js +2 -0
  11. package/dist/cdn/3CIO2C6J.js +2 -0
  12. package/dist/cdn/3ECXJYBU.js +2 -0
  13. package/dist/cdn/3NXCG3O2.js +2 -0
  14. package/dist/cdn/3S6ZGK3H.js +2 -0
  15. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  16. package/dist/cdn/{TFPQDMER.js → 4MZSVX5W.js} +1 -1
  17. package/dist/cdn/4NIKYLE5.js +2 -0
  18. package/dist/cdn/56242OEE.js +2 -0
  19. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  20. package/dist/cdn/5HJSLXLN.js +2 -0
  21. package/dist/cdn/{UYXCGSXU.js → 5KJE3IGJ.js} +1 -1
  22. package/dist/cdn/{H3EXGCE7.js → 5N2TLPKQ.js} +1 -1
  23. package/dist/cdn/5O2Y7SWC.js +2 -0
  24. package/dist/cdn/5QBKM6NC.js +2 -0
  25. package/dist/cdn/5SXFY4KT.js +2 -0
  26. package/dist/cdn/5SYHQWPP.js +2 -0
  27. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  28. package/dist/cdn/62GSQDTE.js +2 -0
  29. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  30. package/dist/cdn/{ZBIVDGNH.js → 6JQTSYII.js} +1 -1
  31. package/dist/cdn/{I6UPUSLQ.js → 6M2ZNCH6.js} +1 -1
  32. package/dist/cdn/{XY4TRZCG.js → 6OBSUHMH.js} +1 -1
  33. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  34. package/dist/cdn/724I3SBO.js +2 -0
  35. package/dist/cdn/73R5I52R.js +2 -0
  36. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  37. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  38. package/dist/cdn/7CP5MYX6.js +2 -0
  39. package/dist/cdn/{VDKFC44J.js → 7QCDHUXE.js} +1 -1
  40. package/dist/cdn/7TM4LYGN.js +2 -0
  41. package/dist/cdn/7UUCZOKN.js +2 -0
  42. package/dist/cdn/{2XXW3WF3.js → A55ZLPZQ.js} +1 -1
  43. package/dist/cdn/{BDGHBTPU.js → A6K5NPU6.js} +1 -1
  44. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  45. package/dist/cdn/ADKPM4DW.js +2 -0
  46. package/dist/cdn/AEC7S556.js +2 -0
  47. package/dist/cdn/{Y6ZCTPJW.js → AEJ4OWWK.js} +1 -1
  48. package/dist/cdn/AHOCGFB7.js +2 -0
  49. package/dist/cdn/{SX6SDBU7.js → AOVXHBJK.js} +1 -1
  50. package/dist/cdn/AYCQHDDV.js +2 -0
  51. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  52. package/dist/cdn/{7QXRWMUN.js → B3KKBK7R.js} +1 -1
  53. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  54. package/dist/cdn/{ANN3O54W.js → BK52OYAM.js} +1 -1
  55. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  56. package/dist/cdn/BYSUABOV.js +2 -0
  57. package/dist/cdn/{P2F2O6MH.js → CHBL4DXX.js} +1 -1
  58. package/dist/cdn/CLL7X6DF.js +2 -0
  59. package/dist/cdn/CREJLRJS.js +2 -0
  60. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  61. package/dist/cdn/D5DOFLCS.js +2 -0
  62. package/dist/cdn/DAQT4YNQ.js +2 -0
  63. package/dist/cdn/{S3ZSZXYG.js → DWWJB3RS.js} +1 -1
  64. package/dist/cdn/E2YQ7BBF.js +2 -0
  65. package/dist/cdn/EEKAD6DT.js +2 -0
  66. package/dist/cdn/EHUV23QJ.js +2 -0
  67. package/dist/cdn/{DFKVPDMJ.js → EMOJZ4XR.js} +15 -13
  68. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  69. package/dist/cdn/{MK5ZYSOD.js → EVKBZUDE.js} +1 -1
  70. package/dist/cdn/EWNXVZMV.js +2 -0
  71. package/dist/cdn/EWPEPYH7.js +2 -0
  72. package/dist/cdn/EY3OIDVL.js +2 -0
  73. package/dist/cdn/{LROW4Y6O.js → F65OW2NU.js} +1 -1
  74. package/dist/cdn/FBS4RBSA.js +2 -0
  75. package/dist/cdn/{FWAXKDYV.js → FCFAN63J.js} +1 -1
  76. package/dist/cdn/FCWOV4NW.js +2 -0
  77. package/dist/cdn/FTVVGZ4Z.js +4 -0
  78. package/dist/cdn/FY7T4YLN.js +2 -0
  79. package/dist/cdn/FZHZIZUN.js +2 -0
  80. package/dist/cdn/{7JIHGRTB.js → G22GCRXH.js} +1 -1
  81. package/dist/cdn/GQLSM5Q7.js +2 -0
  82. package/dist/cdn/{N4L5KE23.js → GRRD6G34.js} +1 -1
  83. package/dist/cdn/GU4EQDNJ.js +2 -0
  84. package/dist/cdn/H7K6D57Z.js +2 -0
  85. package/dist/cdn/HW7O5QZ4.js +2 -0
  86. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  87. package/dist/cdn/I4RZDDUM.js +2 -0
  88. package/dist/cdn/IBUI4UOV.js +2 -0
  89. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  90. package/dist/cdn/{O4HUYRYL.js → IGOJGDYE.js} +1 -1
  91. package/dist/cdn/IHOTDAKI.js +2 -0
  92. package/dist/cdn/J5JKYZZW.js +2 -0
  93. package/dist/cdn/JJJRAQMT.js +2 -0
  94. package/dist/cdn/JTP6IREK.js +2 -0
  95. package/dist/cdn/{FEKSPYHM.js → JV4CEAY2.js} +1 -1
  96. package/dist/cdn/{OFWEHJDH.js → K6V7ODNF.js} +1 -1
  97. package/dist/cdn/{5SIAOUPO.js → K7OYAJNO.js} +1 -1
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/{ULWJ57VT.js → KYEVNAYY.js} +1 -1
  100. package/dist/cdn/KYVBQUIS.js +2 -0
  101. package/dist/cdn/KZSCAJDG.js +2 -0
  102. package/dist/cdn/L5JZ5COY.js +2 -0
  103. package/dist/cdn/L76QTUHW.js +2 -0
  104. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  105. package/dist/cdn/{IYA7HQMS.js → LAPLSGZY.js} +1 -1
  106. package/dist/cdn/LMXFW6NW.js +2 -0
  107. package/dist/cdn/{L47EGLUH.js → LNR2Y4AV.js} +1 -1
  108. package/dist/cdn/{AASL4RKT.js → LXTENPD7.js} +1 -1
  109. package/dist/cdn/{XDMGH7YU.js → LYKD4O7U.js} +1 -1
  110. package/dist/cdn/M624HH3K.js +2 -0
  111. package/dist/cdn/M7NERHZY.js +2 -0
  112. package/dist/cdn/MIA4DLUH.js +3 -0
  113. package/dist/cdn/MQI4ZLAS.js +2 -0
  114. package/dist/cdn/MQYMM7JO.js +2 -0
  115. package/dist/cdn/MRSEZPVC.js +2 -0
  116. package/dist/cdn/MSU36MJR.js +2 -0
  117. package/dist/cdn/N2Y3TMUH.js +2 -0
  118. package/dist/cdn/NITHPHM6.js +2 -0
  119. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  120. package/dist/cdn/{YKDW7ZW3.js → NLFZ76DJ.js} +1 -1
  121. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  122. package/dist/cdn/NT7D3WEH.js +2 -0
  123. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  124. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  125. package/dist/cdn/OIBX62RU.js +2 -0
  126. package/dist/cdn/OIQ76HQC.js +2 -0
  127. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  128. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  129. package/dist/cdn/OKKEWHMB.js +2 -0
  130. package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
  131. package/dist/cdn/{XYKXBWIT.js → OZPCANBC.js} +1 -1
  132. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  133. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  134. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  135. package/dist/cdn/PDDYOVQM.js +2 -0
  136. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  137. package/dist/cdn/{QR2OOC4D.js → PVRAR67F.js} +1 -1
  138. package/dist/cdn/PWJBGZPW.js +2 -0
  139. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  140. package/dist/cdn/QKUFLZC3.js +2 -0
  141. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  142. package/dist/cdn/QXLY4SFY.js +2 -0
  143. package/dist/cdn/QYRHZJH3.js +2 -0
  144. package/dist/cdn/{4OH4NSIW.js → R3END4O2.js} +1 -1
  145. package/dist/cdn/{FOYOG3G7.js → RBQG2UIF.js} +1 -1
  146. package/dist/cdn/RPUEIRTH.js +2 -0
  147. package/dist/cdn/RZJQJ43Y.js +2 -0
  148. package/dist/cdn/{RSNZMJ6I.js → SIZ6M6MJ.js} +1 -1
  149. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  150. package/dist/cdn/{3JYZJUOM.js → SWBYVQVE.js} +1 -1
  151. package/dist/cdn/{I5T7JUDH.js → SZYIWW3C.js} +1 -1
  152. package/dist/cdn/T7Z4DZ7V.js +2 -0
  153. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  154. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  155. package/dist/cdn/{PMIWXHTG.js → TK4E37D6.js} +1 -1
  156. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  157. package/dist/cdn/U7NEGO4Z.js +2 -0
  158. package/dist/cdn/{OXYJKZEP.js → UBGDVDOX.js} +1 -1
  159. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  160. package/dist/cdn/UNRHPYXW.js +45 -0
  161. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  162. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  163. package/dist/cdn/UVLCXTG4.js +2 -0
  164. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  165. package/dist/cdn/{77A4T4FJ.js → VMHDTE3U.js} +1 -1
  166. package/dist/cdn/VQHPI3CU.js +2 -0
  167. package/dist/cdn/VQRSXCKD.js +2 -0
  168. package/dist/cdn/VQU2TVX7.js +3 -0
  169. package/dist/cdn/{WAINRCCJ.js → VSBDAO7G.js} +1 -1
  170. package/dist/cdn/VSN5E7Y4.js +2 -0
  171. package/dist/cdn/{L5DROI2A.js → VYD2S5WA.js} +1 -1
  172. package/dist/cdn/VZ7OCBNK.js +2 -0
  173. package/dist/cdn/WDDGKBBJ.js +2 -0
  174. package/dist/cdn/{X2LW7GTR.js → WE5T6HME.js} +1 -1
  175. package/dist/cdn/WJQHEITU.js +2 -0
  176. package/dist/cdn/WOGALV3T.js +2 -0
  177. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  178. package/dist/cdn/WTMEWLUJ.js +2 -0
  179. package/dist/cdn/WVOXFKFO.js +2 -0
  180. package/dist/cdn/{2OHFSVV5.js → X4BQWX3B.js} +1 -1
  181. package/dist/cdn/{SSQ3VCZ2.js → XDBVOUI2.js} +1 -1
  182. package/dist/cdn/XIBI3WA6.js +2 -0
  183. package/dist/cdn/{UE5VX2RL.js → XZVJMTU2.js} +1 -1
  184. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  185. package/dist/cdn/YFU2NPYA.js +2 -0
  186. package/dist/cdn/YHON6N45.js +2 -0
  187. package/dist/cdn/YJURFFSP.js +2 -0
  188. package/dist/cdn/YK5VKE7I.js +2 -0
  189. package/dist/cdn/ZHFQTE2B.js +2 -0
  190. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  191. package/dist/cdn/{3TZEMBXR.js → ZOC5OCZL.js} +1 -1
  192. package/dist/cdn/ZYHMZQ7E.js +2 -0
  193. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  194. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  195. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  196. package/dist/cdn/index.js +1 -1
  197. package/dist/cdn/main.css +1 -1
  198. package/dist/cdn/model/shared/setup-utils.js +1 -1
  199. package/dist/chart-rendering/common/interfaces.d.ts +104 -66
  200. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
  201. package/dist/chunks/axis-lines-symbol.js +7 -7
  202. package/dist/chunks/bar-chart-model.js +46 -38
  203. package/dist/chunks/box-plot-data.js +291 -274
  204. package/dist/chunks/box-plot-model.js +143 -130
  205. package/dist/chunks/chart-model.js +65 -56
  206. package/dist/chunks/chart-object-literals.js +26 -25
  207. package/dist/chunks/chart-ui-utils.js +148 -66
  208. package/dist/chunks/chart-ui-utils2.js +68 -149
  209. package/dist/chunks/class-breaks.js +270 -238
  210. package/dist/chunks/combo-bar-line-chart-model.js +122 -101
  211. package/dist/chunks/data-labels-symbol.js +39 -24
  212. package/dist/chunks/data-labels-visibility.js +8 -8
  213. package/dist/chunks/data.js +41 -41
  214. package/dist/chunks/default.js +6 -6
  215. package/dist/chunks/gauge-model.js +61 -61
  216. package/dist/chunks/generate-x-axis-title.js +19 -15
  217. package/dist/chunks/heat-chart-model.js +95 -66
  218. package/dist/chunks/histogram-data.js +23 -23
  219. package/dist/chunks/histogram-model.js +10 -10
  220. package/dist/chunks/index.js +9348 -1079
  221. package/dist/chunks/index2.js +851 -8757
  222. package/dist/chunks/index3.js +1169 -849
  223. package/dist/chunks/index4.js +411 -251
  224. package/dist/chunks/index5.js +66 -100
  225. package/dist/chunks/interfaces.js +9 -9
  226. package/dist/chunks/line-chart-model.js +40 -24
  227. package/dist/chunks/model-setter.js +59 -64
  228. package/dist/chunks/model-types.js +1 -1
  229. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  230. package/dist/chunks/model-with-x-guides.js +5 -5
  231. package/dist/chunks/model-with-y-guides.js +251 -271
  232. package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
  233. package/dist/chunks/pie-chart-data.js +175 -193
  234. package/dist/chunks/pie-chart-model.js +388 -320
  235. package/dist/chunks/radar-chart-model.js +413 -46
  236. package/dist/chunks/resource.js +1 -1
  237. package/dist/chunks/rest-js-object-literals.js +10 -10
  238. package/dist/chunks/rotated-state.js +1 -1
  239. package/dist/chunks/rounded-corners.js +90 -0
  240. package/dist/chunks/scatterplot-model.js +22 -22
  241. package/dist/chunks/serial-chart-data.js +934 -818
  242. package/dist/chunks/serial-chart-model.js +145 -123
  243. package/dist/chunks/series-length.js +17 -17
  244. package/dist/chunks/series-types.js +22 -18
  245. package/dist/chunks/series.js +1 -1
  246. package/dist/chunks/type-guards.js +49 -23
  247. package/dist/chunks/type-guards2.js +61 -52
  248. package/dist/chunks/utils.js +110 -87
  249. package/dist/chunks/utils2.js +54 -37
  250. package/dist/chunks/web-component-utils.js +413 -383
  251. package/dist/chunks/x-bounds.js +103 -98
  252. package/dist/components/arcgis-chart/customElement.d.ts +728 -255
  253. package/dist/components/arcgis-chart/customElement.js +10870 -10606
  254. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  255. package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
  256. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  257. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  258. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +27 -27
  259. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  260. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +43 -43
  261. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
  262. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -12
  263. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  264. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +15 -15
  265. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  266. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +48 -49
  267. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
  268. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +10 -10
  269. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +5 -5
  271. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
  274. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  275. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  276. package/dist/components/arcgis-charts-config-format/customElement.js +89 -82
  277. package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
  278. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  279. package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
  280. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -4
  281. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  283. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
  284. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  285. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +55 -55
  286. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  287. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
  288. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  289. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +27 -27
  290. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  291. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  292. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -18
  293. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  294. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +38 -38
  295. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  296. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -4
  297. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  299. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  300. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +56 -63
  301. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  302. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -53
  303. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +67 -68
  304. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
  305. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  306. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
  307. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  308. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -17
  309. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  310. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  311. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  312. package/dist/docs/api.json +1 -1
  313. package/dist/docs/docs.json +1 -1
  314. package/dist/docs/vscode.html-custom-data.json +1 -1
  315. package/dist/docs/web-types.json +1 -1
  316. package/dist/index.d.ts +1 -1
  317. package/dist/index.js +488 -464
  318. package/dist/interfaces.d.ts +57 -14
  319. package/dist/json-schema/index.d.ts +154 -6
  320. package/dist/loader.js +2 -2
  321. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  322. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  323. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  324. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  325. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  326. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  327. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  328. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  329. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  330. package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
  331. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  332. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  333. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  334. package/dist/model/properties/rounded-corners.d.ts +18 -0
  335. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  336. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  337. package/dist/model/shared/setup-utils.d.ts +3 -3
  338. package/dist/model/shared/type-guards.d.ts +38 -22
  339. package/dist/spec/chart-object-literals.d.ts +4 -3
  340. package/dist/spec/data-source.d.ts +17 -3
  341. package/dist/spec/web-chart.d.ts +34 -4
  342. package/dist/types/lumina.d.ts +1 -1
  343. package/dist/types/preact.d.ts +1 -1
  344. package/dist/types/react.d.ts +1 -1
  345. package/dist/types/stencil.d.ts +3 -3
  346. package/dist/utils/chart-config/converter/index.js +368 -349
  347. package/dist/utils/chart-config/utils/index.d.ts +28 -10
  348. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  349. package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
  350. package/dist/utils/components/interfaces.d.ts +2 -0
  351. package/dist/utils/cursor/interfaces.d.ts +21 -0
  352. package/dist/utils/data/categorical-data/index.d.ts +18 -2
  353. package/dist/utils/data/index.d.ts +28 -22
  354. package/dist/utils/data/interfaces.d.ts +4 -3
  355. package/dist/utils/defaults/index.d.ts +30 -4
  356. package/dist/utils/defaults/interfaces.d.ts +73 -4
  357. package/dist/utils/layer/index.d.ts +23 -5
  358. package/dist/utils/layer/interfaces.d.ts +0 -12
  359. package/dist/utils/layer/query-features/index.d.ts +8 -3
  360. package/dist/utils/layer/query-parser/index.d.ts +10 -6
  361. package/dist/utils/layer/utils/index.d.ts +22 -5
  362. package/dist/utils/localization/interfaces.d.ts +9 -1
  363. package/dist/utils/misc/interfaces.d.ts +1 -0
  364. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  365. package/dist/utils/type-guards/series-types.d.ts +9 -2
  366. package/package.json +8 -9
  367. package/dist/cdn/24AOJE7B.js +0 -2
  368. package/dist/cdn/3KRPCKJZ.js +0 -2
  369. package/dist/cdn/3TBK72EK.js +0 -3
  370. package/dist/cdn/425PZ2QJ.js +0 -2
  371. package/dist/cdn/4PHYDOBF.js +0 -2
  372. package/dist/cdn/547RDEMV.js +0 -2
  373. package/dist/cdn/567CLBG4.js +0 -2
  374. package/dist/cdn/5IIF22XN.js +0 -2
  375. package/dist/cdn/5IN5WK2R.js +0 -2
  376. package/dist/cdn/5LXX2PUM.js +0 -2
  377. package/dist/cdn/5NTIKQP4.js +0 -2
  378. package/dist/cdn/5YEADAVZ.js +0 -2
  379. package/dist/cdn/6R7VSDDU.js +0 -2
  380. package/dist/cdn/76MOP26H.js +0 -2
  381. package/dist/cdn/AHYYQWKY.js +0 -2
  382. package/dist/cdn/ASI7RDYV.js +0 -2
  383. package/dist/cdn/AXS3UMQJ.js +0 -2
  384. package/dist/cdn/BHUFE4DA.js +0 -2
  385. package/dist/cdn/CEWH3LQO.js +0 -2
  386. package/dist/cdn/CTBQ5Y4Z.js +0 -2
  387. package/dist/cdn/CVK7KFEC.js +0 -2
  388. package/dist/cdn/DJGEQ42V.js +0 -2
  389. package/dist/cdn/DL43NPDO.js +0 -2
  390. package/dist/cdn/E2DO2HQ6.js +0 -2
  391. package/dist/cdn/E4LJWBRC.js +0 -2
  392. package/dist/cdn/EDSF5KGV.js +0 -233
  393. package/dist/cdn/EE3KEIAT.js +0 -2
  394. package/dist/cdn/EJCGZPIV.js +0 -2
  395. package/dist/cdn/ETSB7KD3.js +0 -2
  396. package/dist/cdn/EZV7JSQJ.js +0 -2
  397. package/dist/cdn/F6QRLYSF.js +0 -2
  398. package/dist/cdn/FBMA7FW4.js +0 -2
  399. package/dist/cdn/FFS73X36.js +0 -142
  400. package/dist/cdn/FUAA6IFR.js +0 -4
  401. package/dist/cdn/FWRMJQXY.js +0 -2
  402. package/dist/cdn/G5FULTB5.js +0 -2
  403. package/dist/cdn/GISGGO3Z.js +0 -2
  404. package/dist/cdn/GQPOEX7B.js +0 -58
  405. package/dist/cdn/GYXK3DV7.js +0 -2
  406. package/dist/cdn/H45LPCQ2.js +0 -2
  407. package/dist/cdn/HW6MJJSX.js +0 -2
  408. package/dist/cdn/HZFHTWL6.js +0 -2
  409. package/dist/cdn/I2EERAZ3.js +0 -2
  410. package/dist/cdn/IE3GLZJZ.js +0 -2
  411. package/dist/cdn/IL2FG26D.js +0 -2
  412. package/dist/cdn/JBPYGZPJ.js +0 -2
  413. package/dist/cdn/JEOBO5JM.js +0 -2
  414. package/dist/cdn/KPWHYSA5.js +0 -2
  415. package/dist/cdn/KXUQJ6GE.js +0 -2
  416. package/dist/cdn/KZQFX7LH.js +0 -2
  417. package/dist/cdn/LL7NH3VV.js +0 -2
  418. package/dist/cdn/LUMOL7ZP.js +0 -2
  419. package/dist/cdn/LYJFZA2M.js +0 -2
  420. package/dist/cdn/MBSMC77K.js +0 -2
  421. package/dist/cdn/MVGAATR7.js +0 -2
  422. package/dist/cdn/NNZCIR7W.js +0 -2
  423. package/dist/cdn/NZXQ5BWP.js +0 -2
  424. package/dist/cdn/O4LKWTBY.js +0 -2
  425. package/dist/cdn/OW2DLJGU.js +0 -2
  426. package/dist/cdn/P4HSSZRL.js +0 -2
  427. package/dist/cdn/P4UJJCPG.js +0 -2
  428. package/dist/cdn/P56ROGSK.js +0 -2
  429. package/dist/cdn/PAIRUVLU.js +0 -2
  430. package/dist/cdn/PXIAM4CZ.js +0 -2
  431. package/dist/cdn/QPSJ6XOX.js +0 -2
  432. package/dist/cdn/R7HW5WVG.js +0 -2
  433. package/dist/cdn/RJCJ3F5C.js +0 -2
  434. package/dist/cdn/RKB6QZNW.js +0 -2
  435. package/dist/cdn/S6LH7YS6.js +0 -2
  436. package/dist/cdn/S74GCXXK.js +0 -3
  437. package/dist/cdn/SA22QZNW.js +0 -2
  438. package/dist/cdn/SJVVFOAX.js +0 -2
  439. package/dist/cdn/SOKKWGPA.js +0 -2
  440. package/dist/cdn/SQYOFBS6.js +0 -2
  441. package/dist/cdn/SVGAVKBQ.js +0 -2
  442. package/dist/cdn/THTYR6IL.js +0 -2
  443. package/dist/cdn/TTBRUBXY.js +0 -2
  444. package/dist/cdn/U5IM4KAQ.js +0 -2
  445. package/dist/cdn/U67P6YAZ.js +0 -2
  446. package/dist/cdn/UIRKQREJ.js +0 -2
  447. package/dist/cdn/UIY2PSG4.js +0 -2
  448. package/dist/cdn/UNTIPIBS.js +0 -2
  449. package/dist/cdn/VIY3BCJZ.js +0 -2
  450. package/dist/cdn/W7X6L2OB.js +0 -127
  451. package/dist/cdn/WHJU66P4.js +0 -2
  452. package/dist/cdn/WJ2VDT6B.js +0 -2
  453. package/dist/cdn/WNKDEOFZ.js +0 -2
  454. package/dist/cdn/WPPMMVD5.js +0 -2
  455. package/dist/cdn/WU3C7BQU.js +0 -2
  456. package/dist/cdn/WWO326JE.js +0 -2
  457. package/dist/cdn/XJFVSX2E.js +0 -2
  458. package/dist/cdn/XNWSVHA3.js +0 -2
  459. package/dist/cdn/XOM6LSIW.js +0 -2
  460. package/dist/cdn/XP4S2M7F.js +0 -2
  461. package/dist/cdn/XUERYUEG.js +0 -2
  462. package/dist/cdn/Y3CXVO2M.js +0 -2
  463. package/dist/cdn/Y7HBWU3M.js +0 -2
  464. package/dist/cdn/YALB4GSA.js +0 -2
  465. package/dist/cdn/YUF4ZSA5.js +0 -2
  466. package/dist/cdn/ZJHV3UVG.js +0 -2
  467. package/dist/cdn/ZQ2WG55W.js +0 -2
  468. package/dist/chunks/bar-chart-series.js +0 -15
  469. package/dist/chunks/index6.js +0 -66
  470. package/dist/chunks/time-zone.js +0 -38
  471. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  472. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  473. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,15 +1,17 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { substitute as f } from "@arcgis/core/intl.js";
3
- import E from "ajv";
4
- import { g as w } from "./runtime.js";
5
- import { fetchT9nStringsBundle as S, getElementLocale as v } from "@arcgis/toolkit/intl";
6
- import { C as u, d2 as M, Y as C, m as F, Z as V, af as z, ak as G, E as A, I as L, a7 as D, bk as U, a as $, aF as H, bg as J, cr as _, V as Q, k as K, n as Z, l as X, b9 as Y, aG as ee } from "./index2.js";
7
- import { g as te, az as ie } from "./index.js";
8
- import { q as T, C as h, h as re } from "./index3.js";
9
- import { g as x } from "./series-types.js";
10
- import { u as d, v as ne, r as ae } from "./chart-object-literals.js";
11
- import { R as oe } from "./rest-js-object-literals.js";
12
- const b = {
2
+ import { substitute as y } from "@arcgis/core/intl.js";
3
+ import P from "ajv";
4
+ import { g as k } from "./runtime.js";
5
+ import { fetchT9nStringsBundle as B } from "@arcgis/toolkit/intl";
6
+ import { getElementLocale as N } from "@arcgis/toolkit/intl/dom";
7
+ import { c4 as u, q as E, aR as M, at as C, bE as V, p as I, w as T, bs as z, c5 as G, t as x, bR as W, aN as U, bn as F, c6 as H, be as J, W as _, c7 as K, bA as Q, y as Z, c8 as X, M as Y, N as ee } from "./index.js";
8
+ import { l as te, q as ie } from "./index3.js";
9
+ import { i as v, a as h, D as re } from "./index2.js";
10
+ import { g as S } from "./series-types.js";
11
+ import { a as p, o as ne, d as ae } from "./chart-object-literals.js";
12
+ import { d as oe } from "./rest-js-object-literals.js";
13
+ import { i as se } from "./type-guards.js";
14
+ const g = {
13
15
  $schema: "http://json-schema.org/draft-07/schema#",
14
16
  definitions: {
15
17
  WebChartTypes: {
@@ -42,7 +44,8 @@ const b = {
42
44
  "heatSeries",
43
45
  "buffer",
44
46
  "sizeScale",
45
- "calendarDateParts"
47
+ "calendarDateParts",
48
+ "histogramBin"
46
49
  ],
47
50
  title: "WebChartTypes"
48
51
  },
@@ -264,7 +267,7 @@ const b = {
264
267
  "arcgis-charts-category",
265
268
  "arcgis-charts-multi-axes"
266
269
  ],
267
- description: "The types of order assocated with chart data.",
270
+ description: "The types of order associated with chart data.",
268
271
  title: "WebChartOrderDataByTypes"
269
272
  },
270
273
  WebChartMultiAxesDataOrder: {
@@ -331,7 +334,7 @@ For each axis, the order can be either a direction (ascending or descending) for
331
334
  },
332
335
  preferLabel: {
333
336
  type: "boolean",
334
- description: "Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.",
337
+ description: "Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or subtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.",
335
338
  default: !0
336
339
  }
337
340
  },
@@ -359,7 +362,7 @@ For each axis, the order can be either a direction (ascending or descending) for
359
362
  },
360
363
  preferLabel: {
361
364
  type: "boolean",
362
- description: "Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.\n\nWhen the value is set to `true` or undefined, the `orderBy` property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases. When the value is set to `false`, the `orderBy` property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.",
365
+ description: "Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or subtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.\n\nWhen the value is set to `true` or undefined, the `orderBy` property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases. When the value is set to `false`, the `orderBy` property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.",
363
366
  default: !0
364
367
  }
365
368
  },
@@ -5836,6 +5839,15 @@ They are also defined as properties of the layer definition when there are no de
5836
5839
  },
5837
5840
  WebChartDataItemValue: {
5838
5841
  anyOf: [
5842
+ {
5843
+ type: "array",
5844
+ items: {
5845
+ type: [
5846
+ "number",
5847
+ "string"
5848
+ ]
5849
+ }
5850
+ },
5839
5851
  {
5840
5852
  type: "string",
5841
5853
  format: "date-time"
@@ -5968,6 +5980,30 @@ They are also defined as properties of the layer definition when there are no de
5968
5980
  description: "JSON representation of the pre-computed category data for heat chart axes.",
5969
5981
  title: "WebHeatChartAxesData"
5970
5982
  },
5983
+ WebChartGaugeChartDataItem: {
5984
+ type: "object",
5985
+ properties: {
5986
+ dataItems: {
5987
+ type: "array",
5988
+ items: {
5989
+ $ref: "#/definitions/WebChartDataItem"
5990
+ }
5991
+ },
5992
+ calculatedAxisMinimum: {
5993
+ type: "number"
5994
+ },
5995
+ calculatedAxisMaximum: {
5996
+ type: "number"
5997
+ },
5998
+ gaugeValue: {
5999
+ type: "number"
6000
+ }
6001
+ },
6002
+ required: [
6003
+ "dataItems"
6004
+ ],
6005
+ title: "WebChartGaugeChartDataItem"
6006
+ },
5971
6007
  ScatterplotTrendLineData: {
5972
6008
  type: "object",
5973
6009
  properties: {
@@ -6046,6 +6082,10 @@ Only applicable to bar chart, line chart.`
6046
6082
  serverLimitReached: {
6047
6083
  type: "boolean",
6048
6084
  description: "Indicates whether the server limit has been reached when fetching data."
6085
+ },
6086
+ chartLimitsReached: {
6087
+ type: "boolean",
6088
+ description: "Indicates whether the chart limit has been reached when fetching data."
6049
6089
  }
6050
6090
  },
6051
6091
  required: [
@@ -6057,8 +6097,14 @@ Only applicable to bar chart, line chart.`
6057
6097
  WebChartBin: {
6058
6098
  type: "object",
6059
6099
  properties: {
6100
+ type: {
6101
+ type: "string",
6102
+ const: "histogramBin",
6103
+ description: "Identifier of a bin to simplify distinction between a WebChartBin and a WebChartDataItem"
6104
+ },
6060
6105
  count: {
6061
- type: "number"
6106
+ type: "number",
6107
+ description: "The bin count"
6062
6108
  },
6063
6109
  minValue: {
6064
6110
  type: "number",
@@ -6075,9 +6121,20 @@ Only applicable to bar chart, line chart.`
6075
6121
  isLastBin: {
6076
6122
  type: "boolean",
6077
6123
  description: "Whether this is the last bin."
6124
+ },
6125
+ arcgisChartsUniqueIds: {
6126
+ type: "array",
6127
+ items: {
6128
+ type: [
6129
+ "number",
6130
+ "string"
6131
+ ]
6132
+ },
6133
+ description: "Unique ids associated to each bin"
6078
6134
  }
6079
6135
  },
6080
6136
  required: [
6137
+ "type",
6081
6138
  "count",
6082
6139
  "minValue",
6083
6140
  "maxValue"
@@ -6138,6 +6195,9 @@ Only applicable to bar chart, line chart.`
6138
6195
  {
6139
6196
  $ref: "#/definitions/WebChartBoxPlotDataItem"
6140
6197
  },
6198
+ {
6199
+ $ref: "#/definitions/WebChartGaugeChartDataItem"
6200
+ },
6141
6201
  {
6142
6202
  $ref: "#/definitions/WebChartGenericDataItem"
6143
6203
  },
@@ -6608,8 +6668,20 @@ Only applicable to bar chart, line chart.`
6608
6668
  },
6609
6669
  symbol: {
6610
6670
  $ref: "#/definitions/ISimpleFillSymbol",
6611
- description: "Contains styling information on how the overlay should be rendered. If not provided a default style is applied.",
6612
- default: "1 - symbol.outline.width"
6671
+ description: "Contains styling information on how the null category should be rendered. If both `fillSymbol` and `symbol` are provided, `fillSymbol` takes precedence.",
6672
+ deprecated: "Use `fillSymbol` instead."
6673
+ },
6674
+ fillSymbol: {
6675
+ $ref: "#/definitions/ISimpleFillSymbol",
6676
+ description: "Contains fill styling information on how the null category should be rendered for bar series. If not provided a default style is applied.",
6677
+ default: "- `[150, 150, 150, 255]` - fillSymbol.color\n- `[150, 150, 150, 255]` - fillSymbol.outline.color\n- `1` - fillSymbol.outline.width"
6678
+ },
6679
+ markerSymbol: {
6680
+ $ref: "#/definitions/ISimpleMarkerSymbol",
6681
+ description: `Contains marker styling information on how the null category should be rendered for line and radar series. If not provided a default style is applied.
6682
+
6683
+ **Note:** This symbol will only apply to line and radar series.`,
6684
+ default: "- `[150, 150, 150, 255]` - markerSymbol.color\n- `[150, 150, 150, 255]` - markerSymbol.outline.color\n- `1` - markerSymbol.outline.width"
6613
6685
  }
6614
6686
  },
6615
6687
  title: "WebChartNullCategory"
@@ -9519,7 +9591,7 @@ Setting this property will ensure that the item with no data is displayed on the
9519
9591
  properties: {
9520
9592
  version: {
9521
9593
  type: "string",
9522
- const: "25.1.0",
9594
+ const: "25.2.0",
9523
9595
  description: "Version of the specification. Used to identify when a saved config was created."
9524
9596
  },
9525
9597
  type: {
@@ -9669,6 +9741,26 @@ If not provided the series will be displayed as they are ordered in the config.`
9669
9741
  }
9670
9742
  },
9671
9743
  description: "Chart order options for data and series."
9744
+ },
9745
+ roundCorners: {
9746
+ type: "object",
9747
+ properties: {
9748
+ rounded: {
9749
+ type: "boolean",
9750
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
9751
+ default: !1
9752
+ },
9753
+ cornerRadius: {
9754
+ type: "number",
9755
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
9756
+ minimum: 0,
9757
+ multipleOf: 1
9758
+ }
9759
+ },
9760
+ required: [
9761
+ "rounded"
9762
+ ],
9763
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
9672
9764
  }
9673
9765
  },
9674
9766
  required: [
@@ -9684,7 +9776,7 @@ If not provided the series will be displayed as they are ordered in the config.`
9684
9776
  properties: {
9685
9777
  version: {
9686
9778
  type: "string",
9687
- const: "25.1.0",
9779
+ const: "25.2.0",
9688
9780
  description: "Version of the specification. Used to identify when a saved config was created."
9689
9781
  },
9690
9782
  type: {
@@ -9835,6 +9927,26 @@ If not provided the series will be displayed as they are ordered in the config.`
9835
9927
  },
9836
9928
  description: "Chart order options for data and series."
9837
9929
  },
9930
+ roundCorners: {
9931
+ type: "object",
9932
+ properties: {
9933
+ rounded: {
9934
+ type: "boolean",
9935
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
9936
+ default: !1
9937
+ },
9938
+ cornerRadius: {
9939
+ type: "number",
9940
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
9941
+ minimum: 0,
9942
+ multipleOf: 1
9943
+ }
9944
+ },
9945
+ required: [
9946
+ "rounded"
9947
+ ],
9948
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
9949
+ },
9838
9950
  innerRadius: {
9839
9951
  type: [
9840
9952
  "number",
@@ -9878,7 +9990,7 @@ If not provided the series will be displayed as they are ordered in the config.`
9878
9990
  properties: {
9879
9991
  version: {
9880
9992
  type: "string",
9881
- const: "25.1.0",
9993
+ const: "25.2.0",
9882
9994
  description: "Version of the specification. Used to identify when a saved config was created."
9883
9995
  },
9884
9996
  type: {
@@ -10033,6 +10145,26 @@ If not provided the series will be displayed as they are ordered in the config.`
10033
10145
  },
10034
10146
  description: "Chart order options for data and series."
10035
10147
  },
10148
+ roundCorners: {
10149
+ type: "object",
10150
+ properties: {
10151
+ rounded: {
10152
+ type: "boolean",
10153
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10154
+ default: !1
10155
+ },
10156
+ cornerRadius: {
10157
+ type: "number",
10158
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10159
+ minimum: 0,
10160
+ multipleOf: 1
10161
+ }
10162
+ },
10163
+ required: [
10164
+ "rounded"
10165
+ ],
10166
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
10167
+ },
10036
10168
  showOutliers: {
10037
10169
  type: "boolean",
10038
10170
  description: "Whether to show the outliers on the chart."
@@ -10062,7 +10194,7 @@ Additionally the chart will render with that option enabled only if the the seri
10062
10194
  properties: {
10063
10195
  version: {
10064
10196
  type: "string",
10065
- const: "25.1.0",
10197
+ const: "25.2.0",
10066
10198
  description: "Version of the specification. Used to identify when a saved config was created."
10067
10199
  },
10068
10200
  type: {
@@ -10215,6 +10347,26 @@ If not provided the series will be displayed as they are ordered in the config.`
10215
10347
  }
10216
10348
  },
10217
10349
  description: "Chart order options for data and series."
10350
+ },
10351
+ roundCorners: {
10352
+ type: "object",
10353
+ properties: {
10354
+ rounded: {
10355
+ type: "boolean",
10356
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10357
+ default: !1
10358
+ },
10359
+ cornerRadius: {
10360
+ type: "number",
10361
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10362
+ minimum: 0,
10363
+ multipleOf: 1
10364
+ }
10365
+ },
10366
+ required: [
10367
+ "rounded"
10368
+ ],
10369
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
10218
10370
  }
10219
10371
  },
10220
10372
  required: [
@@ -10248,7 +10400,7 @@ If not provided the series will be displayed as they are ordered in the config.`
10248
10400
  },
10249
10401
  version: {
10250
10402
  type: "string",
10251
- const: "25.1.0",
10403
+ const: "25.2.0",
10252
10404
  description: "Version of the specification. Used to identify when a saved config was created."
10253
10405
  },
10254
10406
  type: {
@@ -10382,6 +10534,26 @@ If not provided the series will be displayed as they are ordered in the config.`
10382
10534
  },
10383
10535
  description: "Chart order options for data and series."
10384
10536
  },
10537
+ roundCorners: {
10538
+ type: "object",
10539
+ properties: {
10540
+ rounded: {
10541
+ type: "boolean",
10542
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10543
+ default: !1
10544
+ },
10545
+ cornerRadius: {
10546
+ type: "number",
10547
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10548
+ minimum: 0,
10549
+ multipleOf: 1
10550
+ }
10551
+ },
10552
+ required: [
10553
+ "rounded"
10554
+ ],
10555
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
10556
+ },
10385
10557
  hideEmptyRowsAndColumns: {
10386
10558
  type: "boolean",
10387
10559
  description: "Whether to hide entire rows or columns that are empty (i.e. contain no valid data).",
@@ -10407,11 +10579,11 @@ If not provided the series will be displayed as they are ordered in the config.`
10407
10579
  description: "Gives a JSON representation of the heat chart object.",
10408
10580
  title: "WebHeatChart"
10409
10581
  },
10410
- 'Omit<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,("data"|"orderByFields")>': {
10411
- $ref: "#/definitions/Pick%3C(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
10412
- title: 'Omit<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,("data"|"orderByFields")>'
10582
+ 'Omit<(structure-1066060463-60478-62221-1066060463-60403-62222-1066060463-56508-63410-1066060463-0-66463|undefined)937098756,("data"|"orderByFields")>': {
10583
+ $ref: "#/definitions/Pick%3C(structure-1066060463-60478-62221-1066060463-60403-62222-1066060463-56508-63410-1066060463-0-66463%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
10584
+ title: 'Omit<(structure-1066060463-60478-62221-1066060463-60403-62222-1066060463-56508-63410-1066060463-0-66463|undefined)937098756,("data"|"orderByFields")>'
10413
10585
  },
10414
- 'Pick<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
10586
+ 'Pick<(structure-1066060463-60478-62221-1066060463-60403-62222-1066060463-56508-63410-1066060463-0-66463|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
10415
10587
  type: "object",
10416
10588
  properties: {
10417
10589
  series: {
@@ -10422,7 +10594,7 @@ If not provided the series will be displayed as they are ordered in the config.`
10422
10594
  }
10423
10595
  },
10424
10596
  additionalProperties: !1,
10425
- title: 'Pick<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
10597
+ title: 'Pick<(structure-1066060463-60478-62221-1066060463-60403-62222-1066060463-56508-63410-1066060463-0-66463|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
10426
10598
  },
10427
10599
  OverlayTerms: {
10428
10600
  type: "string",
@@ -10506,164 +10678,151 @@ If not provided the series will be displayed as they are ordered in the config.`
10506
10678
  },
10507
10679
  $ref: "#/definitions/WebChart"
10508
10680
  };
10509
- function O(i) {
10510
- const r = i.lastIndexOf("/");
10511
- return r !== -1 ? i.slice(r + 1) : i;
10681
+ function A(t) {
10682
+ const r = t.lastIndexOf("/");
10683
+ return r !== -1 ? t.slice(r + 1) : t;
10512
10684
  }
10513
- async function j(i, r) {
10514
- const n = r ?? (await S(
10515
- v(document.documentElement).t9nLocale,
10516
- w("./assets/common/t9n"),
10517
- "messages."
10518
- )).errorStrings;
10519
- return i.map((e) => {
10520
- let t = e;
10521
- const a = e.dataPath.startsWith(".") ? e.dataPath.substring(1) : e.dataPath;
10685
+ function L(t, r) {
10686
+ return r.map((e) => {
10687
+ let i = e;
10688
+ const n = e.dataPath.startsWith(".") ? e.dataPath.substring(1) : e.dataPath;
10522
10689
  switch (e.keyword) {
10523
10690
  case u.Required:
10524
- t = {
10691
+ i = {
10525
10692
  ...e,
10526
- message: f(n.errors.requiredProperty, {
10527
- dataPath: a,
10693
+ message: y(t.errors.requiredProperty, {
10694
+ dataPath: n,
10528
10695
  missingProperty: e.params.missingProperty
10529
10696
  })
10530
10697
  };
10531
10698
  break;
10532
10699
  case u.MinLength:
10533
- t = {
10700
+ i = {
10534
10701
  ...e,
10535
- message: f(n.errors.minLength, {
10536
- dataPath: a,
10702
+ message: y(t.errors.minLength, {
10703
+ dataPath: n,
10537
10704
  limit: e.params.limit.toString()
10538
10705
  })
10539
10706
  };
10540
10707
  break;
10541
10708
  case u.MinItems:
10542
- t = {
10709
+ i = {
10543
10710
  ...e,
10544
- message: f(n.errors.minItems, {
10545
- dataPath: a,
10711
+ message: y(t.errors.minItems, {
10712
+ dataPath: n,
10546
10713
  limit: e.params.limit.toString()
10547
10714
  })
10548
10715
  };
10549
10716
  break;
10550
10717
  case u.MaxItems:
10551
- t = {
10718
+ i = {
10552
10719
  ...e,
10553
- message: f(n.errors.maxItems, {
10554
- dataPath: a,
10720
+ message: y(t.errors.maxItems, {
10721
+ dataPath: n,
10555
10722
  limit: e.params.limit.toString()
10556
10723
  })
10557
10724
  };
10558
10725
  break;
10559
10726
  case u.Pattern:
10560
- e.params.pattern === "\\w+" && (t = {
10727
+ e.params.pattern === "\\w+" && (i = {
10561
10728
  ...e,
10562
- message: f(n.errors.whiteSpacePattern, { dataPath: a }),
10729
+ message: y(t.errors.whiteSpacePattern, { dataPath: n }),
10563
10730
  params: {}
10564
10731
  });
10565
10732
  break;
10566
10733
  case u.AdditionalProperties:
10567
- t = {
10734
+ i = {
10568
10735
  ...e,
10569
- message: f(n.errors.additionalProperty, {
10570
- dataPath: a,
10736
+ message: y(t.errors.additionalProperty, {
10737
+ dataPath: n,
10571
10738
  additionalProperty: e.params.additionalProperty
10572
10739
  })
10573
10740
  };
10574
10741
  break;
10575
10742
  case u.Enum:
10576
- t = {
10743
+ i = {
10577
10744
  ...e,
10578
- message: f(n.errors.enumValues, {
10579
- dataPath: a,
10745
+ message: y(t.errors.enumValues, {
10746
+ dataPath: n,
10580
10747
  allowedValues: e.params.allowedValues.join(", ")
10581
10748
  })
10582
10749
  };
10583
10750
  break;
10584
10751
  case u.AnyOf: {
10585
- let o = [];
10586
- e.schemaPath === "#/properties/legend/anyOf" && (o = b.definitions.WebChart.properties.legend.anyOf.map(
10587
- (p) => O(p.$ref)
10588
- )), t = {
10752
+ let a = [];
10753
+ e.schemaPath === "#/properties/legend/anyOf" && (a = g.definitions.WebChart.properties.legend.anyOf.map(
10754
+ (s) => A(s.$ref)
10755
+ )), i = {
10589
10756
  ...e,
10590
- params: o,
10591
- message: f(n.errors.anyOfValues, { dataPath: a, schemaOptions: o.join(", ") })
10757
+ params: a,
10758
+ message: y(t.errors.anyOfValues, { dataPath: n, schemaOptions: a.join(", ") })
10592
10759
  };
10593
10760
  break;
10594
10761
  }
10595
10762
  }
10596
- return t;
10763
+ return i;
10597
10764
  });
10598
10765
  }
10599
- function g(i, r) {
10600
- return { ...i, $ref: `#/definitions/${r}` };
10766
+ function w(t, r) {
10767
+ return { ...t, $ref: `#/definitions/${r}` };
10601
10768
  }
10602
- async function R(i, r) {
10603
- let n;
10604
- const e = r ?? (await S(
10605
- v(document.documentElement).t9nLocale,
10606
- w("./assets/common/t9n"),
10607
- "messages."
10608
- )).errorStrings, t = z(i);
10769
+ async function D(t) {
10770
+ let r;
10771
+ const { queryObject: e, abortSignal: i, errorStrings: n } = t, a = E(e);
10609
10772
  try {
10610
- await t.load();
10773
+ await a?.load({ signal: i });
10611
10774
  } catch {
10612
- const o = t?.url ?? "", p = G(t)?.portalItem?.id ?? "";
10613
- n = {
10614
- keyword: A.LayerLoadFailure,
10615
- message: f(e.errors.layerLoadFailure, { url: o, portalItemId: p }),
10616
- params: { url: o, portalItemId: p }
10775
+ const d = a?.url ?? "", l = M(a)?.portalItem?.id ?? "";
10776
+ r = {
10777
+ keyword: C.LayerLoadFailure,
10778
+ message: y(n.errors.layerLoadFailure, { url: d, portalItemId: l }),
10779
+ params: { url: d, portalItemId: l }
10617
10780
  };
10618
10781
  }
10619
- return n;
10782
+ return r;
10620
10783
  }
10621
- function se() {
10622
- const i = new E({ allErrors: !0 });
10623
- return async (r, n) => {
10624
- let e = [];
10625
- const t = x(r?.series);
10626
- let a = b;
10627
- switch (t) {
10628
- case d.GaugeSeries:
10629
- a = g(b, "WebGaugeChart");
10784
+ function de() {
10785
+ const t = new P({ allErrors: !0 });
10786
+ return (r, e) => {
10787
+ let i = [];
10788
+ const n = S(e?.series);
10789
+ let a = g;
10790
+ switch (n) {
10791
+ case p.GaugeSeries:
10792
+ a = w(g, "WebGaugeChart");
10630
10793
  break;
10631
- case d.BoxPlotSeries:
10632
- a = g(b, "WebBoxPlot");
10794
+ case p.BoxPlotSeries:
10795
+ a = w(g, "WebBoxPlot");
10633
10796
  break;
10634
- case d.RadarSeries:
10635
- a = g(b, "WebRadarChart");
10797
+ case p.RadarSeries:
10798
+ a = w(g, "WebRadarChart");
10636
10799
  break;
10637
10800
  default:
10638
- a = g(b, "WebChart");
10801
+ a = w(g, "WebChart");
10639
10802
  break;
10640
10803
  }
10641
- const o = i.compile(a);
10642
- return o(r), o.errors !== null && o.errors !== void 0 && (e = await j(o.errors, n)), e;
10804
+ const s = t.compile(a);
10805
+ return s(e), s.errors !== null && s.errors !== void 0 && (i = L(r, s.errors)), i;
10643
10806
  };
10644
10807
  }
10645
- const le = se();
10646
- async function P(i) {
10647
- const { seriesConfigs: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i, a = [], o = n ? L(n) : void 0, p = t ?? (await S(
10648
- v(document.documentElement).t9nLocale,
10649
- w("./assets/common/t9n"),
10650
- "messages."
10651
- )).errorStrings;
10652
- for (let l = 0; l < r.length; l += 1) {
10653
- const y = r[l].query?.outStatistics;
10654
- if (y !== void 0)
10655
- for (let m = 0; m < y.length; m += 1) {
10656
- const s = y[m], c = D(s.onStatisticField, o);
10657
- if (c && !(c.type === oe.OID && e || U(c)) && s.statisticType !== ae.Count) {
10658
- const W = `series[${l}].query.outStatistics[${m}]`;
10808
+ const le = de();
10809
+ function $(t) {
10810
+ const { seriesConfigs: r, queryObject: e, allowUsingObjectIdStat: i, errorStrings: n } = t, a = [], s = e ? x(e) : void 0;
10811
+ for (let d = 0; d < r.length; d += 1) {
10812
+ const l = r[d].query?.outStatistics;
10813
+ if (l !== void 0)
10814
+ for (let c = 0; c < l.length; c += 1) {
10815
+ const m = l[c], o = W(m.onStatisticField, s);
10816
+ if (o && !(o.type === oe.OID && i || U(o)) && m.statisticType !== ae.Count) {
10817
+ const b = `series[${d}].query.outStatistics[${c}]`;
10659
10818
  a.push({
10660
- keyword: $.NonNumericAggregation,
10661
- message: f(p.errors.nonNumericAggregation, { dataPath: W }),
10662
- dataPath: W,
10819
+ keyword: F.NonNumericAggregation,
10820
+ message: y(n.errors.nonNumericAggregation, { dataPath: b }),
10821
+ dataPath: b,
10663
10822
  params: {
10664
- fieldName: s.onStatisticField,
10665
- fieldType: c.type,
10666
- aggregationRequested: s.statisticType
10823
+ fieldName: m.onStatisticField,
10824
+ fieldType: o.type,
10825
+ aggregationRequested: m.statisticType
10667
10826
  }
10668
10827
  });
10669
10828
  }
@@ -10671,185 +10830,186 @@ async function P(i) {
10671
10830
  }
10672
10831
  return a;
10673
10832
  }
10674
- async function q(i, r) {
10675
- const n = [], e = r ?? (await S(
10676
- v(document.documentElement).t9nLocale,
10677
- w("./assets/common/t9n"),
10678
- "messages."
10679
- )).errorStrings;
10680
- if (i !== void 0 && i.series.length > 1) {
10681
- const t = /* @__PURE__ */ new Set();
10682
- let a = 0;
10683
- i.series.forEach((o, p) => {
10684
- if (t.add(o.id), t.size === a) {
10685
- const l = `series[${p}].id`;
10686
- n.push({
10687
- keyword: $.DuplicateSeriesID,
10688
- message: f(e.errors.duplicateSeriesID, {
10689
- dataPath: l,
10690
- seriesID: o.id,
10691
- seriesName: o.name
10833
+ function O(t, r) {
10834
+ const e = [];
10835
+ if (r !== void 0 && r.series.length > 1) {
10836
+ const i = /* @__PURE__ */ new Set();
10837
+ let n = 0;
10838
+ r.series.forEach((a, s) => {
10839
+ if (i.add(a.id), i.size === n) {
10840
+ const d = `series[${s}].id`;
10841
+ e.push({
10842
+ keyword: F.DuplicateSeriesID,
10843
+ message: y(t?.errors.duplicateSeriesID ?? "", {
10844
+ dataPath: d,
10845
+ seriesID: a.id,
10846
+ seriesName: a.name
10692
10847
  }),
10693
- dataPath: l,
10694
- params: { seriesId: o.id, seriesName: o.name }
10848
+ dataPath: d,
10849
+ params: { seriesId: a.id, seriesName: a.name }
10695
10850
  });
10696
10851
  } else
10697
- a += 1;
10852
+ n += 1;
10698
10853
  });
10699
10854
  }
10700
- return n;
10855
+ return e;
10701
10856
  }
10702
- function k(i) {
10703
- const r = /* @__PURE__ */ new Set(), n = H(i);
10704
- if (n) {
10705
- const e = x(i.series), t = C(i.series);
10706
- e === d.GaugeSeries && !J(i) || t === h.PieFromFields || t === h.BarAndLineFromFields || t === h.BoxPlotMonoField || t === h.BoxPlotMultiFields || t === h.BoxPlotMonoFieldAndSplitBy || t === h.BoxPlotMultiFieldsAndSplitBy || r.add(n.x);
10707
- const p = e === d.ScatterSeries || e === d.BoxPlotSeries || e === d.HeatSeries || t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation || t === h.PieNoAggregation, l = [
10857
+ function j(t) {
10858
+ const r = /* @__PURE__ */ new Set(), e = H(t);
10859
+ if (e) {
10860
+ const i = S(t.series), n = I(t.series);
10861
+ i === p.GaugeSeries && !J(t) || n === h.PieFromFields || n === h.BarAndLineFromFields || n === h.BoxPlotMonoField || n === h.BoxPlotMultiFields || n === h.BoxPlotMonoFieldAndSplitBy || n === h.BoxPlotMultiFieldsAndSplitBy || r.add(e.x);
10862
+ const d = i === p.ScatterSeries || i === p.BoxPlotSeries || i === p.HeatSeries || n === h.BarAndLineNoAggregation || n === h.BarAndLineSplitByNoAggregation || n === h.PieNoAggregation, l = [
10708
10863
  te,
10709
- F,
10710
- K,
10864
+ T,
10865
+ Q,
10711
10866
  Z,
10712
10867
  X,
10713
10868
  ie.outStatistics.outStatisticFieldName ?? ""
10714
10869
  ];
10715
- let y = [];
10716
- _(i) ? y = Q({
10717
- showMean: i.showMean,
10718
- seriesConfig: i.series
10719
- }) : y = i.series.map((s) => "y" in s ? s.y : void 0).filter((s) => s !== void 0).flat(), p ? y.forEach((s) => r.add(s)) : l.push(...y), i.series.forEach((s) => {
10720
- const { query: c } = s;
10721
- c && (Y(c.where) || r.add(ee(c.where)), c.groupByFieldsForStatistics && c.groupByFieldsForStatistics.forEach((I) => r.add(I)), c.outStatistics && c.outStatistics.forEach((I) => r.add(I.onStatisticField)));
10870
+ let c = [];
10871
+ _(t) ? c = K({
10872
+ showMean: t.showMean,
10873
+ seriesConfig: t.series
10874
+ }) : c = t.series.map((o) => "y" in o ? o.y : void 0).filter((o) => o !== void 0).flat(), d ? c.forEach((o) => r.add(o)) : l.push(...c), t.series.forEach((o) => {
10875
+ const { query: f } = o;
10876
+ f && (Y(f.where) || r.add(ee(f.where)), f.groupByFieldsForStatistics && f.groupByFieldsForStatistics.forEach((b) => r.add(b)), f.outStatistics && f.outStatistics.forEach((b) => r.add(b.onStatisticField)));
10722
10877
  });
10723
- const m = t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation || t === h.PieNoAggregation;
10724
- if (i.orderOptions?.orderByFields && m && i.orderOptions.orderByFields.forEach((s) => {
10725
- const c = re(s).fieldToSort;
10726
- r.add(c);
10727
- }), e === d.GaugeSeries && i.axes?.[0] !== void 0) {
10728
- const s = i.axes?.[0];
10729
- s && "minimumFromField" in s && typeof s.minimumFromField == "string" && r.add(s.minimumFromField), s && "maximumFromField" in s && typeof s.maximumFromField == "string" && r.add(s.maximumFromField);
10878
+ const m = n === h.BarAndLineNoAggregation || n === h.BarAndLineSplitByNoAggregation || n === h.PieNoAggregation;
10879
+ if (t.orderOptions?.orderByFields && m && t.orderOptions.orderByFields.forEach((o) => {
10880
+ const f = re(o).fieldToSort;
10881
+ r.add(f);
10882
+ }), i === p.GaugeSeries && t.axes?.[0] !== void 0) {
10883
+ const o = t.axes?.[0];
10884
+ o && "minimumFromField" in o && typeof o.minimumFromField == "string" && r.add(o.minimumFromField), o && "maximumFromField" in o && typeof o.maximumFromField == "string" && r.add(o.maximumFromField);
10730
10885
  }
10731
- l.forEach((s) => {
10732
- r.delete(s);
10886
+ l.forEach((o) => {
10887
+ r.delete(o);
10733
10888
  });
10734
10889
  }
10735
- return Array.from(r.values()).filter((e) => !T(e));
10890
+ return Array.from(r.values()).filter((i) => !v(i));
10736
10891
  }
10737
- async function de(i) {
10738
- const { chartConfig: r, queryObject: n, errorStrings: e } = i;
10739
- let t;
10740
- const a = e ?? (await S(
10741
- v(document.documentElement).t9nLocale,
10742
- w("./assets/common/t9n"),
10743
- "messages."
10744
- )).errorStrings, o = L(n), l = k(r).filter((y) => !D(y, o));
10745
- if (l.length > 0) {
10746
- const y = l.join(", ");
10747
- t = {
10748
- keyword: A.LayerFieldsNotFound,
10749
- message: f(a.errors.layerFieldsNotFound, { fieldNames: y }),
10750
- params: y
10892
+ function pe(t) {
10893
+ const { chartConfig: r, queryObject: e, errorStrings: i } = t;
10894
+ let n;
10895
+ const a = se(e) ? G({ layer: e, chartType: S(r.series) }) : x(e), d = j(r).filter((l) => !W(l, a));
10896
+ if (d.length > 0) {
10897
+ const l = d.join(", ");
10898
+ n = {
10899
+ keyword: C.LayerFieldsNotFound,
10900
+ message: y(i.errors.layerFieldsNotFound, { fieldNames: l }),
10901
+ params: l
10751
10902
  };
10752
10903
  }
10753
- return t;
10904
+ return n;
10754
10905
  }
10755
- async function B(i) {
10756
- const { input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i;
10906
+ function R(t) {
10907
+ const { input: r, queryObject: e, allowUsingObjectIdStat: i, errorStrings: n } = t;
10757
10908
  let a = [];
10758
- if (n !== void 0) {
10759
- const o = await P({
10909
+ if (e !== void 0) {
10910
+ const s = $({
10760
10911
  seriesConfigs: r.series,
10761
- queryObject: n,
10762
- allowUsingObjectIdStat: e,
10763
- errorStrings: t
10912
+ queryObject: e,
10913
+ allowUsingObjectIdStat: i,
10914
+ errorStrings: n
10764
10915
  });
10765
- a = a.concat(o);
10916
+ a = a.concat(s);
10766
10917
  }
10767
- return a = a.concat(await q(r, t)), a;
10918
+ return a = a.concat(O(n, r)), a;
10768
10919
  }
10769
- async function N(i) {
10770
- const { queryObject: r, chartConfig: n, errorStrings: e } = i;
10771
- let t = [];
10920
+ function q(t) {
10921
+ const { queryObject: r, chartConfig: e, errorStrings: i, layerLoadError: n } = t;
10922
+ let a = [];
10772
10923
  if (r !== void 0) {
10773
- const a = await R(r, e);
10774
- if (a !== void 0)
10775
- t = t.concat(a);
10776
- else if (n !== void 0) {
10777
- const o = await de({ chartConfig: n, queryObject: r, errorStrings: e });
10778
- o !== void 0 && (t = t.concat(o));
10924
+ if (n !== void 0)
10925
+ a = a.concat(n);
10926
+ else if (e !== void 0) {
10927
+ const s = pe({ chartConfig: e, queryObject: r, errorStrings: i });
10928
+ s !== void 0 && (a = a.concat(s));
10779
10929
  }
10780
10930
  }
10781
- return t;
10931
+ return a;
10782
10932
  }
10783
- async function Se(i) {
10784
- const { input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i;
10785
- let a;
10786
- if (V(r?.version).versionStatus === ne.Newer)
10787
- a = { valid: !0, schemaErrors: [], customErrors: [], warnings: [] };
10933
+ function ce(t) {
10934
+ const { input: r, queryObject: e, allowUsingObjectIdStat: i, errorStrings: n, layerLoadError: a } = t;
10935
+ let s;
10936
+ if (z(r?.version).versionStatus === ne.Newer)
10937
+ s = { valid: !0, schemaErrors: [], customErrors: [], warnings: [] };
10788
10938
  else {
10789
- const o = await le(r, t);
10790
- let p = [], l = [];
10791
- r !== void 0 && o.length === 0 && (l = await N({ queryObject: n, chartConfig: r, errorStrings: t }), l.length === 0 && (p = await B({ input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t }))), a = {
10792
- valid: o.length === 0 && p.length === 0 && l.length === 0,
10793
- schemaErrors: o,
10794
- customErrors: l,
10795
- warnings: p
10939
+ const d = le(n, r);
10940
+ let l = [], c = [];
10941
+ r !== void 0 && d.length === 0 && (c = q({ queryObject: e, chartConfig: r, errorStrings: n, layerLoadError: a }), c.length === 0 && (l = R({ input: r, queryObject: e, allowUsingObjectIdStat: i, errorStrings: n }))), s = {
10942
+ valid: d.length === 0 && l.length === 0 && c.length === 0,
10943
+ schemaErrors: d,
10944
+ customErrors: c,
10945
+ warnings: l
10796
10946
  };
10797
10947
  }
10798
- return a;
10948
+ return s;
10799
10949
  }
10800
- function ve(i) {
10801
- const r = x(i?.series);
10802
- let n = !1;
10950
+ async function Te(t) {
10951
+ const { input: r, queryObject: e, allowUsingObjectIdStat: i, abortSignal: n } = t, a = t.errorStrings ?? (await B(
10952
+ N(document.documentElement).t9nLocale,
10953
+ k("./assets/common/t9n"),
10954
+ "messages."
10955
+ )).errorStrings, s = await D({ errorStrings: a, queryObject: e, abortSignal: n });
10956
+ return ce({ input: r, queryObject: e, allowUsingObjectIdStat: i, errorStrings: a, layerLoadError: s });
10957
+ }
10958
+ function xe(t) {
10959
+ const r = S(t?.series);
10960
+ let e = !1;
10803
10961
  switch (r) {
10804
- case d.HistogramSeries:
10805
- case d.GaugeSeries: {
10806
- n = (i?.series?.[0]?.x?.trim()?.length ?? 0) === 0;
10962
+ case p.HistogramSeries:
10963
+ case p.GaugeSeries: {
10964
+ e = (t?.series?.[0]?.x?.trim()?.length ?? 0) === 0;
10807
10965
  break;
10808
10966
  }
10809
- case d.ScatterSeries: {
10810
- const e = i?.series;
10811
- n = (e?.[0]?.x?.length ?? 0) === 0 || (e?.[0]?.y?.length ?? 0) === 0;
10967
+ case p.ScatterSeries: {
10968
+ const i = t?.series;
10969
+ e = (i?.[0]?.x?.length ?? 0) === 0 || (i?.[0]?.y?.length ?? 0) === 0;
10812
10970
  break;
10813
10971
  }
10814
- case d.PieSeries: {
10815
- const e = i?.series;
10816
- C(e) === h.PieFromFields ? n = (e?.[0]?.query?.outStatistics?.length ?? 0) === 0 : n = (e?.[0]?.x?.length ?? 0) === 0 || e?.[0]?.x === F;
10972
+ case p.PieSeries: {
10973
+ const i = t?.series;
10974
+ I(i) === h.PieFromFields ? e = (i?.[0]?.query?.outStatistics?.length ?? 0) === 0 : e = (i?.[0]?.x?.length ?? 0) === 0 || i?.[0]?.x === T;
10817
10975
  break;
10818
10976
  }
10819
- case d.BoxPlotSeries: {
10820
- const e = i?.series;
10821
- n = [e?.[0]?.y].flat().length === 0 || e?.[0]?.y === "";
10977
+ case p.BoxPlotSeries: {
10978
+ const i = t?.series;
10979
+ e = [i?.[0]?.y].flat().length === 0 || i?.[0]?.y === "";
10822
10980
  break;
10823
10981
  }
10824
- case d.ComboLineAndBarSeries:
10825
- case d.RadarSeries:
10826
- case d.BarSeries:
10827
- case d.LineSeries: {
10828
- const e = i?.series;
10829
- C(e) === h.BarAndLineFromFields ? n = (e?.[0]?.query?.outStatistics?.length ?? 0) === 0 : n = (e?.[0]?.x?.trim()?.length ?? 0) === 0;
10982
+ case p.ComboLineAndBarSeries:
10983
+ case p.RadarSeries:
10984
+ case p.BarSeries:
10985
+ case p.LineSeries: {
10986
+ const i = t?.series;
10987
+ I(i) === h.BarAndLineFromFields ? e = (i?.[0]?.query?.outStatistics?.length ?? 0) === 0 : e = (i?.[0]?.x?.trim()?.length ?? 0) === 0;
10830
10988
  break;
10831
10989
  }
10832
- case d.HeatSeries: {
10833
- const e = i?.series, t = T(e?.[0]?.x) || T(e?.[0]?.y), a = i !== void 0 && M(i) ? !1 : e?.[0]?.xTemporalBinning === void 0;
10834
- n = t || a;
10990
+ case p.HeatSeries: {
10991
+ const i = t?.series, n = v(i?.[0]?.x) || v(i?.[0]?.y), a = t !== void 0 && V(t) ? !1 : i?.[0]?.xTemporalBinning === void 0;
10992
+ e = n || a;
10835
10993
  break;
10836
10994
  }
10837
10995
  }
10838
- return n;
10996
+ return e;
10839
10997
  }
10840
- const Ie = {
10841
- findCustomErrors: N,
10842
- findWarnings: B,
10843
- findNumericAggregationWarnings: P,
10844
- findDuplicateSeriesIDWarnings: q,
10845
- findLayerLoadError: R,
10846
- createStartingSchema: g,
10847
- extractSchemaNameFromRefPath: O,
10848
- getRequiredFieldNamesFromChartConfig: k,
10849
- customizeValidationErrors: j
10998
+ const We = {
10999
+ findCustomErrors: q,
11000
+ findWarnings: R,
11001
+ findNumericAggregationWarnings: $,
11002
+ findDuplicateSeriesIDWarnings: O,
11003
+ findLayerLoadError: D,
11004
+ createStartingSchema: w,
11005
+ extractSchemaNameFromRefPath: A,
11006
+ getRequiredFieldNamesFromChartConfig: j,
11007
+ customizeValidationErrors: L
10850
11008
  };
10851
11009
  export {
10852
- Ie as c,
10853
- ve as i,
10854
- Se as v
11010
+ Te as a,
11011
+ We as c,
11012
+ D as f,
11013
+ xe as i,
11014
+ ce as v
10855
11015
  };