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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (506) hide show
  1. package/dist/cdn/{72RUYYT3.js → 25EGQ7FG.js} +2 -2
  2. package/dist/cdn/{GAM7Z7SI.js → 2OJO7FXV.js} +2 -2
  3. package/dist/cdn/2THB2YUB.js +4 -0
  4. package/dist/cdn/{5XKWLEPC.js → 34O5YOQX.js} +2 -2
  5. package/dist/cdn/{67VULDXU.js → 37HOBP7L.js} +2 -2
  6. package/dist/cdn/3EYC7FJV.js +4 -0
  7. package/dist/cdn/{X3CEHOFP.js → 3GLB6KKZ.js} +2 -2
  8. package/dist/cdn/3HQ7IHID.js +4 -0
  9. package/dist/cdn/3YGMV6HT.js +4 -0
  10. package/dist/cdn/{LWF27VN7.js → 4BOGUYHQ.js} +2 -2
  11. package/dist/cdn/4D42SKMP.js +4 -0
  12. package/dist/cdn/{Q7JQTDHE.js → 4EWMC4K4.js} +2 -2
  13. package/dist/cdn/{OLQNVZUH.js → 4UO6PFZO.js} +2 -2
  14. package/dist/cdn/4ZXYP4OM.js +42 -0
  15. package/dist/cdn/533VQ4WJ.js +4 -0
  16. package/dist/cdn/{KATVWRAY.js → 5I2V22DB.js} +2 -2
  17. package/dist/cdn/5N5YDROH.js +4 -0
  18. package/dist/cdn/5S5AY3D5.js +4 -0
  19. package/dist/cdn/5X72T46R.js +4 -0
  20. package/dist/cdn/657657ME.js +4 -0
  21. package/dist/cdn/6EIHXM2K.js +4 -0
  22. package/dist/cdn/{GCRHEM6P.js → 6O5VZW3A.js} +2 -2
  23. package/dist/cdn/73D4A6OC.js +4 -0
  24. package/dist/cdn/{3KX2KDPK.js → 76F3FWA5.js} +2 -2
  25. package/dist/cdn/{VKDBGM6I.js → 7FSTNZV2.js} +2 -2
  26. package/dist/cdn/{TCC42J3C.js → 7TJIRV5Y.js} +2 -2
  27. package/dist/cdn/A3MC6O6I.js +4 -0
  28. package/dist/cdn/{6BK6COJC.js → A3PGU4UK.js} +2 -2
  29. package/dist/cdn/{I5CJDKBJ.js → A4H2SG4C.js} +2 -2
  30. package/dist/cdn/A7EXELOD.js +4 -0
  31. package/dist/cdn/AN4OUQU4.js +4 -0
  32. package/dist/cdn/{ECM2WXF6.js → AS74PCEM.js} +2 -2
  33. package/dist/cdn/{UM6PSQXH.js → BA76MAFL.js} +2 -2
  34. package/dist/cdn/BF2JZB6M.js +4 -0
  35. package/dist/cdn/BOQS2HZH.js +4 -0
  36. package/dist/cdn/BQ626ZGF.js +4 -0
  37. package/dist/cdn/C3SSFOJB.js +4 -0
  38. package/dist/cdn/CENTPDFY.js +6 -0
  39. package/dist/cdn/COVJ4WT6.js +4 -0
  40. package/dist/cdn/CUKCB5ZA.js +4 -0
  41. package/dist/cdn/CYIESQPS.js +4 -0
  42. package/dist/cdn/D26CZCJS.js +4 -0
  43. package/dist/cdn/{RJP2TSH4.js → DE5EQGZ5.js} +1 -1
  44. package/dist/cdn/DGY4K3FQ.js +4 -0
  45. package/dist/cdn/{TG4TGFSQ.js → DJ7VM2H2.js} +2 -2
  46. package/dist/cdn/{CUYCVVE6.js → DNPOBJOT.js} +2 -2
  47. package/dist/cdn/DP55UVC7.js +4 -0
  48. package/dist/cdn/DVS2XMOH.js +4 -0
  49. package/dist/cdn/DX33N6KY.js +4 -0
  50. package/dist/cdn/DZCPV3C2.js +4 -0
  51. package/dist/cdn/E2VDFI7B.js +4 -0
  52. package/dist/cdn/{VLELOOYM.js → E5ZQ2ZSK.js} +2 -2
  53. package/dist/cdn/{74E7OAPH.js → EBNN4HDO.js} +2 -2
  54. package/dist/cdn/EE2HVVHQ.js +4 -0
  55. package/dist/cdn/{XH3AFWLS.js → EMI4NJJS.js} +1 -1
  56. package/dist/cdn/ESXWAJTE.js +4 -0
  57. package/dist/cdn/F6IYRGDM.js +4 -0
  58. package/dist/cdn/FB6MMHJE.js +4 -0
  59. package/dist/cdn/{VUDGVNLT.js → FHT7UVWS.js} +2 -2
  60. package/dist/cdn/FOME3RNI.js +4 -0
  61. package/dist/cdn/FYTJDMQA.js +4 -0
  62. package/dist/cdn/G57V2H2F.js +4 -0
  63. package/dist/cdn/G7UASVQM.js +4 -0
  64. package/dist/cdn/GECDO4LZ.js +4 -0
  65. package/dist/cdn/GEIPOBOA.js +4 -0
  66. package/dist/cdn/GGGXFZO6.js +4 -0
  67. package/dist/cdn/GNVOPQ4D.js +4 -0
  68. package/dist/cdn/GOI7TFF2.js +4 -0
  69. package/dist/cdn/GPBWTOVA.js +4 -0
  70. package/dist/cdn/GR4OKEIS.js +4 -0
  71. package/dist/cdn/GR4UEYCU.js +4 -0
  72. package/dist/cdn/GTU5PYMH.js +4 -0
  73. package/dist/cdn/{JY6JRVUS.js → GWYLGGXC.js} +2 -2
  74. package/dist/cdn/{NBHFVCH6.js → HGW2HYR3.js} +2 -2
  75. package/dist/cdn/{SQPVQZF4.js → HX5TJJMU.js} +2 -2
  76. package/dist/cdn/{BMSUXI6D.js → I2QFN7DZ.js} +2 -2
  77. package/dist/cdn/I4BHGPH2.js +4 -0
  78. package/dist/cdn/IECSMPWV.js +4 -0
  79. package/dist/cdn/{NXB4BNRO.js → IIXMA67M.js} +2 -2
  80. package/dist/cdn/IKYL2DQE.js +4 -0
  81. package/dist/cdn/{OBNIZH6K.js → ITD4HXBZ.js} +1 -1
  82. package/dist/cdn/IUDKTADO.js +4 -0
  83. package/dist/cdn/IUV4YXQ2.js +58 -0
  84. package/dist/cdn/J354MI5X.js +4 -0
  85. package/dist/cdn/J3BFLRVV.js +4 -0
  86. package/dist/cdn/{YGR3N454.js → JSNABD5Y.js} +2 -2
  87. package/dist/cdn/JV72BIBJ.js +4 -0
  88. package/dist/cdn/{JXNCGTY2.js → JZT4RKXU.js} +2 -2
  89. package/dist/cdn/{SL6KBBNT.js → KEKIUL73.js} +2 -2
  90. package/dist/cdn/KMEE5J66.js +4 -0
  91. package/dist/cdn/{KJI5SYLT.js → KULQ3XGV.js} +2 -2
  92. package/dist/cdn/KVE7BIAM.js +4 -0
  93. package/dist/cdn/KZ3NVDQV.js +4 -0
  94. package/dist/cdn/{T4NBUXZU.js → L6PCVKGZ.js} +1 -1
  95. package/dist/cdn/{QK6YFOPV.js → LCTCL44P.js} +2 -2
  96. package/dist/cdn/{U5YB3SOI.js → LF3IDGWR.js} +2 -2
  97. package/dist/cdn/LFMO5JNC.js +4 -0
  98. package/dist/cdn/LIFQU7PV.js +4 -0
  99. package/dist/cdn/MDT365C3.js +4 -0
  100. package/dist/cdn/{GQCG24NO.js → MTMD4CSM.js} +2 -2
  101. package/dist/cdn/{EIBL7X7C.js → MYAVREQB.js} +2 -2
  102. package/dist/cdn/{F57OHZWT.js → MYSQS36H.js} +1 -1
  103. package/dist/cdn/N5ETACSX.js +4 -0
  104. package/dist/cdn/N6PVGCBL.js +4 -0
  105. package/dist/cdn/NAQJDOBX.js +4 -0
  106. package/dist/cdn/{EAGMXFWB.js → NHMY4PWB.js} +2 -2
  107. package/dist/cdn/NKZDQ2B6.js +4 -0
  108. package/dist/cdn/NRDEEBJO.js +4 -0
  109. package/dist/cdn/{SUATHXUW.js → OEZEQUGM.js} +2 -2
  110. package/dist/cdn/OFFBQXIS.js +4 -0
  111. package/dist/cdn/OMRG5QXJ.js +4 -0
  112. package/dist/cdn/{3DOQYO3X.js → OP7OJVMH.js} +2 -2
  113. package/dist/cdn/{WUUJKPQK.js → PA5VRBTV.js} +2 -2
  114. package/dist/cdn/{4224IFJV.js → PC6QB7OT.js} +2 -2
  115. package/dist/cdn/{NGJ7X3ND.js → PEJZXMV4.js} +2 -2
  116. package/dist/cdn/PGNDK7VV.js +4 -0
  117. package/dist/cdn/{DNMGOUQA.js → PL4JVAZO.js} +2 -2
  118. package/dist/cdn/PVYFZ2Q2.js +4 -0
  119. package/dist/cdn/{AOBF52MJ.js → PWOHD4GM.js} +2 -2
  120. package/dist/cdn/{HPNKRUZ6.js → Q56S47XS.js} +2 -2
  121. package/dist/cdn/Q644ABNB.js +4 -0
  122. package/dist/cdn/Q7MJT5GY.js +4 -0
  123. package/dist/cdn/{3IAXPJL5.js → QAMFQKPT.js} +2 -2
  124. package/dist/cdn/QCPYLMNO.js +4 -0
  125. package/dist/cdn/QKYU3IX6.js +4 -0
  126. package/dist/cdn/{6ZLEAYZT.js → QLFER3TC.js} +2 -2
  127. package/dist/cdn/QQD5NVST.js +4 -0
  128. package/dist/cdn/R6BJDWLE.js +4 -0
  129. package/dist/cdn/RMGL77PY.js +4 -0
  130. package/dist/cdn/{ZFIF77K3.js → RP4BMOXU.js} +1 -1
  131. package/dist/cdn/RXRAZ5OM.js +4 -0
  132. package/dist/cdn/{2VSQK6CQ.js → S5AVV56I.js} +2 -2
  133. package/dist/cdn/{5EPM3ZL4.js → SEAF6ISE.js} +2 -2
  134. package/dist/cdn/{47IDSE6H.js → SKDT2DZ6.js} +2 -2
  135. package/dist/cdn/{XUTAJJHD.js → SQDCJQQM.js} +2 -2
  136. package/dist/cdn/SQNAYI2G.js +4 -0
  137. package/dist/cdn/{N2JCIWHL.js → SSSCQWS4.js} +2 -2
  138. package/dist/cdn/T7OF34ZU.js +4 -0
  139. package/dist/cdn/{ZNOZZ66V.js → TD72REKY.js} +2 -2
  140. package/dist/cdn/TJ4G27BX.js +4 -0
  141. package/dist/cdn/TKI2FIG5.js +4 -0
  142. package/dist/cdn/{ATYOPM4D.js → TMS25VJY.js} +2 -2
  143. package/dist/cdn/{7KMT45K5.js → TNPNGB74.js} +2 -2
  144. package/dist/cdn/{OL7VEBIC.js → TPKPNI7F.js} +2 -2
  145. package/dist/cdn/{K6OYX7KH.js → TS4OL7WL.js} +2 -2
  146. package/dist/cdn/TSWB6HHY.js +4 -0
  147. package/dist/cdn/UIMCJPV3.js +4 -0
  148. package/dist/cdn/UJHAT2ZZ.js +4 -0
  149. package/dist/cdn/UL5QMX3N.js +4 -0
  150. package/dist/cdn/UMW4KBB4.js +4 -0
  151. package/dist/cdn/UNKJUHZN.js +4 -0
  152. package/dist/cdn/UNWS5YEZ.js +4 -0
  153. package/dist/cdn/UUNULTXH.js +4 -0
  154. package/dist/cdn/V2P24RTO.js +4 -0
  155. package/dist/cdn/{R3RJV4I3.js → V6QQQ44V.js} +2 -2
  156. package/dist/cdn/VV7OY44R.js +4 -0
  157. package/dist/cdn/WFXLO6QQ.js +4 -0
  158. package/dist/cdn/WIZK6AAV.js +4 -0
  159. package/dist/cdn/{PGPLW4WV.js → WM2UPHNH.js} +2 -2
  160. package/dist/cdn/{XYEC52QZ.js → WZVA64EK.js} +2 -2
  161. package/dist/cdn/{2YJK7EQQ.js → XAZTHZMZ.js} +2 -2
  162. package/dist/cdn/{X67IOWPB.js → XKTLPX6Y.js} +2 -2
  163. package/dist/cdn/XKV7CU7T.js +4 -0
  164. package/dist/cdn/XLEISEPI.js +4 -0
  165. package/dist/cdn/{4KGRWKFB.js → XNGNV4ZX.js} +2 -2
  166. package/dist/cdn/XORS5QC7.js +4 -0
  167. package/dist/cdn/XWIBNGOP.js +4 -0
  168. package/dist/cdn/Y5A47DIU.js +4 -0
  169. package/dist/cdn/{MNSV3CBG.js → YHU4TJZW.js} +2 -2
  170. package/dist/cdn/YO3WFFBI.js +4 -0
  171. package/dist/cdn/YRU2SGF3.js +4 -0
  172. package/dist/cdn/Z3HLTEWS.js +4 -0
  173. package/dist/cdn/{Y6H36UEQ.js → Z67DUZJV.js} +1 -1
  174. package/dist/cdn/Z6URGFFA.js +4 -0
  175. package/dist/cdn/{AUWRC6HX.js → ZEARBODE.js} +2 -2
  176. package/dist/cdn/ZH2OZEBF.js +4 -0
  177. package/dist/cdn/ZIL5TXZ7.js +4 -0
  178. package/dist/cdn/ZRMMIJND.js +4 -0
  179. package/dist/cdn/ZRVWE5S2.js +4 -0
  180. package/dist/cdn/{BZIXOEMI.js → ZVMFYOQR.js} +2 -2
  181. package/dist/cdn/index.js +2 -2
  182. package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
  183. package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
  184. package/dist/chart-rendering/common/data/index.d.ts +3 -2
  185. package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
  186. package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
  187. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -166
  188. package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
  189. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  190. package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
  191. package/dist/chart-rendering/common/defaults/interfaces.d.ts +6 -7
  192. package/dist/chart-rendering/common/events/index.d.ts +0 -2
  193. package/dist/chart-rendering/common/interfaces.d.ts +22 -8
  194. package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
  195. package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +1 -2
  196. package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
  197. package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
  198. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
  199. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
  200. package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
  201. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  202. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
  203. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  204. package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
  205. package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
  206. package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
  207. package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
  208. package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  209. package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
  210. package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
  211. package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
  212. package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
  213. package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
  214. package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
  215. package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
  216. package/dist/chart-rendering/next/index.d.ts +2 -2
  217. package/dist/chart-rendering/next/utils/index.d.ts +15 -7
  218. package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  219. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
  220. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  221. package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
  222. package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
  223. package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
  224. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
  225. package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  226. package/dist/chart-rendering/stable/index.d.ts +7 -3
  227. package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
  228. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
  229. package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
  230. package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
  231. package/dist/chunks/action-bar-utils.js +32 -24
  232. package/dist/chunks/axis-model-wrapper.js +1 -1
  233. package/dist/chunks/bar-chart-model.js +22 -13
  234. package/dist/chunks/bar-chart-series.js +21 -12
  235. package/dist/chunks/baseline-stacking.js +49 -40
  236. package/dist/chunks/bg_BG.js +1 -1
  237. package/dist/chunks/bg_BG2.js +1 -1
  238. package/dist/chunks/box-plot-data.js +231 -207
  239. package/dist/chunks/box-plot-model.js +57 -51
  240. package/dist/chunks/chart-ui-utils.js +17 -23
  241. package/dist/chunks/chart-ui-utils2.js +58 -50
  242. package/dist/chunks/combo-bar-line-chart-model.js +52 -57
  243. package/dist/chunks/common.js +1 -1
  244. package/dist/chunks/config-update.js +146 -5393
  245. package/dist/chunks/data.js +59 -927
  246. package/dist/chunks/default.js +1 -1
  247. package/dist/chunks/gauge-model.js +31 -23
  248. package/dist/chunks/heat-chart-model.js +176 -51
  249. package/dist/chunks/histogram-data.js +55 -47
  250. package/dist/chunks/histogram-model.js +19 -11
  251. package/dist/chunks/index.js +23739 -2187
  252. package/dist/chunks/index2.js +670 -36
  253. package/dist/chunks/index3.js +90 -63
  254. package/dist/chunks/index4.js +62 -91
  255. package/dist/chunks/interfaces.js +90 -16256
  256. package/dist/chunks/line-chart-model.js +17 -9
  257. package/dist/chunks/model-with-baseline-stacking.js +18 -28
  258. package/dist/chunks/model-with-data-labels.js +30 -21
  259. package/dist/chunks/model-with-multi-axes.js +165 -202
  260. package/dist/chunks/model-with-rotation.js +14 -5
  261. package/dist/chunks/pie-chart-data.js +144 -128
  262. package/dist/chunks/pie-chart-model.js +81 -73
  263. package/dist/chunks/popover-ui-utils.js +1 -1
  264. package/dist/chunks/radar-chart-model.js +15 -7
  265. package/dist/chunks/resource.js +1 -1
  266. package/dist/chunks/rest-js-object-literals.js +1 -1
  267. package/dist/chunks/runtime.js +1 -1
  268. package/dist/chunks/scatterplot-model.js +44 -36
  269. package/dist/chunks/serial-chart-data.js +912 -0
  270. package/dist/chunks/serial-chart-model.js +60 -46
  271. package/dist/chunks/series-types.js +1 -1
  272. package/dist/chunks/series.js +18 -9
  273. package/dist/chunks/sk_SK.js +1 -1
  274. package/dist/chunks/store.js +22 -13
  275. package/dist/chunks/type-guards.js +1 -1
  276. package/dist/chunks/useT9n.js +1 -1
  277. package/dist/chunks/web-component-utils.js +204 -189
  278. package/dist/components/arcgis-chart/customElement.d.ts +14 -18
  279. package/dist/components/arcgis-chart/customElement.js +7572 -7445
  280. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
  281. package/dist/components/arcgis-charts-action-bar/customElement.js +24 -16
  282. package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
  283. package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
  284. package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
  285. package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
  286. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
  287. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +117 -109
  288. package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
  289. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -27
  290. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +25 -15
  291. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
  292. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +19 -10
  293. package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
  294. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +28 -19
  295. package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
  296. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
  297. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +31 -24
  298. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
  299. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
  300. package/dist/components/arcgis-charts-config-category-format/customElement.js +3 -3
  301. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +27 -24
  302. package/dist/components/arcgis-charts-config-color-style/customElement.js +4 -4
  303. package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
  304. package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
  305. package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
  306. package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
  307. package/dist/components/arcgis-charts-config-font-style/customElement.js +24 -15
  308. package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
  309. package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
  310. package/dist/components/arcgis-charts-config-general/customElement.js +27 -18
  311. package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
  312. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
  313. package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
  314. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
  315. package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
  316. package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
  317. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -20
  318. package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
  319. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +17 -8
  320. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  321. package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
  322. package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
  323. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +69 -51
  324. package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
  325. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +24 -15
  326. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
  327. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +19 -10
  328. package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
  329. package/dist/components/arcgis-charts-config-line-style/customElement.js +4 -4
  330. package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
  331. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
  332. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +52 -38
  333. package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
  334. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +45 -36
  335. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
  336. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -6
  337. package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
  338. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
  339. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
  340. package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
  341. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -13
  342. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +24 -11
  343. package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -11
  344. package/dist/docs/api.json +13 -93
  345. package/dist/docs/docs.json +92 -96
  346. package/dist/docs/vscode.html-custom-data.json +6 -2
  347. package/dist/docs/web-types.json +5 -5
  348. package/dist/index.js +426 -406
  349. package/dist/json-schema/index.d.ts +9 -0
  350. package/dist/loader.js +1 -1
  351. package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
  352. package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
  353. package/dist/model/chart-model/chart-model.d.ts +8 -23
  354. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
  355. package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
  356. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
  357. package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
  358. package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
  359. package/dist/model/mixins/model-with-multi-axes.d.ts +24 -50
  360. package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
  361. package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
  362. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
  363. package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -4
  364. package/dist/model/shared/axes.d.ts +0 -3
  365. package/dist/model/shared/data.d.ts +26 -2
  366. package/dist/model.js +1 -1
  367. package/dist/spec/data-source.d.ts +11 -0
  368. package/dist/spec/web-chart.d.ts +2 -2
  369. package/dist/store.d.ts +24 -3
  370. package/dist/utils/chart-config/converter/index.d.ts +27 -3
  371. package/dist/utils/chart-config/utils/index.d.ts +260 -1
  372. package/dist/utils/chart-config/validator/index.d.ts +10 -10
  373. package/dist/utils/components/config-update.d.ts +21 -8
  374. package/dist/utils/components/data-update.d.ts +33 -0
  375. package/dist/utils/components/watch-handlers.d.ts +12 -12
  376. package/dist/utils/components/web-component-utils.d.ts +8 -2
  377. package/dist/utils/data/interfaces.d.ts +30 -2
  378. package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
  379. package/dist/utils/defaults/index.d.ts +1 -1
  380. package/dist/utils/layer/index.d.ts +44 -1
  381. package/dist/utils/layer/interfaces.d.ts +1 -0
  382. package/dist/utils/layer/query-features/index.d.ts +2 -2
  383. package/dist/utils/layer/query-parser/index.d.ts +8 -0
  384. package/dist/utils/layer/utils/index.d.ts +3 -3
  385. package/dist/utils/misc/index.d.ts +1 -1
  386. package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
  387. package/package.json +5 -5
  388. package/dist/cdn/27EF6N3A.js +0 -4
  389. package/dist/cdn/2QC6ZPJH.js +0 -4
  390. package/dist/cdn/32RUS2M3.js +0 -4
  391. package/dist/cdn/35M57QGE.js +0 -4
  392. package/dist/cdn/3ASW6VHE.js +0 -4
  393. package/dist/cdn/3KG5A43A.js +0 -4
  394. package/dist/cdn/3SRVZLPD.js +0 -4
  395. package/dist/cdn/3T2GPST3.js +0 -4
  396. package/dist/cdn/3YBKKGMI.js +0 -4
  397. package/dist/cdn/47W26EK2.js +0 -4
  398. package/dist/cdn/4IIG7WSE.js +0 -4
  399. package/dist/cdn/4V4R4Q5E.js +0 -4
  400. package/dist/cdn/4W5AM6VF.js +0 -4
  401. package/dist/cdn/4XATG67T.js +0 -4
  402. package/dist/cdn/5EM7WR57.js +0 -4
  403. package/dist/cdn/5MSCIR45.js +0 -4
  404. package/dist/cdn/5OH5FY3S.js +0 -4
  405. package/dist/cdn/5UV5N2TK.js +0 -4
  406. package/dist/cdn/6CYT2CG7.js +0 -4
  407. package/dist/cdn/6P4DSMHF.js +0 -4
  408. package/dist/cdn/6UQPZK5B.js +0 -4
  409. package/dist/cdn/7OSCKW4Y.js +0 -4
  410. package/dist/cdn/7TUZWUHM.js +0 -4
  411. package/dist/cdn/BDYQWUFQ.js +0 -4
  412. package/dist/cdn/BLKWW4SZ.js +0 -4
  413. package/dist/cdn/C5UYMNHI.js +0 -4
  414. package/dist/cdn/CE3AUUHL.js +0 -4
  415. package/dist/cdn/CHDX2KGL.js +0 -4
  416. package/dist/cdn/CZQ2SVIF.js +0 -4
  417. package/dist/cdn/CZYGOYBD.js +0 -4
  418. package/dist/cdn/D4QM6QWW.js +0 -4
  419. package/dist/cdn/DBJBYN2H.js +0 -4
  420. package/dist/cdn/DCYBICHJ.css +0 -1
  421. package/dist/cdn/DGBWGDSW.js +0 -4
  422. package/dist/cdn/EG2DGV7Q.js +0 -4
  423. package/dist/cdn/F5VOSM5J.js +0 -4
  424. package/dist/cdn/F6TCCYVD.js +0 -4
  425. package/dist/cdn/FMG243GX.js +0 -4
  426. package/dist/cdn/FYRFUCYK.js +0 -4
  427. package/dist/cdn/FZMYU3XO.js +0 -4
  428. package/dist/cdn/GAUP6JKI.js +0 -4
  429. package/dist/cdn/GRNT45TO.js +0 -4
  430. package/dist/cdn/H2R6XIP5.js +0 -4
  431. package/dist/cdn/H5453ZH3.js +0 -4
  432. package/dist/cdn/HBXDHTDL.js +0 -4
  433. package/dist/cdn/HDLWIIDD.js +0 -4
  434. package/dist/cdn/IB6NLFIT.js +0 -4
  435. package/dist/cdn/IGYM6NDV.js +0 -4
  436. package/dist/cdn/IRXKOLXP.js +0 -4
  437. package/dist/cdn/J3XRJF2H.js +0 -4
  438. package/dist/cdn/J7SETKH4.js +0 -4
  439. package/dist/cdn/KFSAESHE.js +0 -4
  440. package/dist/cdn/KFVBD66X.js +0 -4
  441. package/dist/cdn/KJBLUE23.js +0 -4
  442. package/dist/cdn/KWTG54IG.js +0 -4
  443. package/dist/cdn/LNCY7PJY.js +0 -4
  444. package/dist/cdn/LNOZZKFS.js +0 -4
  445. package/dist/cdn/LNW5PGHC.js +0 -4
  446. package/dist/cdn/LW7ZXMGB.js +0 -4
  447. package/dist/cdn/MDMUQ4YV.js +0 -4
  448. package/dist/cdn/MECZKLGM.js +0 -4
  449. package/dist/cdn/NHUAA7U3.js +0 -4
  450. package/dist/cdn/NKS54LJY.js +0 -4
  451. package/dist/cdn/NUXT2AWM.js +0 -4
  452. package/dist/cdn/NXQHRIVH.js +0 -6
  453. package/dist/cdn/O2GMCLWM.js +0 -4
  454. package/dist/cdn/O765AJUV.js +0 -4
  455. package/dist/cdn/OEBLB46A.js +0 -4
  456. package/dist/cdn/ONBZGUIX.js +0 -4
  457. package/dist/cdn/OOMLNN4O.js +0 -4
  458. package/dist/cdn/OQDFVWR5.js +0 -4
  459. package/dist/cdn/OS5QUU3S.js +0 -4
  460. package/dist/cdn/PJCM66NR.js +0 -4
  461. package/dist/cdn/PKGUQ23W.js +0 -4
  462. package/dist/cdn/PZLOX4VN.js +0 -4
  463. package/dist/cdn/QARHCJGU.js +0 -4
  464. package/dist/cdn/QR3HNIZ3.js +0 -4
  465. package/dist/cdn/QRLC6XDT.js +0 -4
  466. package/dist/cdn/R4ZFFKNL.js +0 -58
  467. package/dist/cdn/REXKJ4UY.js +0 -4
  468. package/dist/cdn/RNOS6DRH.js +0 -4
  469. package/dist/cdn/RNP6GU2K.js +0 -4
  470. package/dist/cdn/RZ7AFMIW.js +0 -4
  471. package/dist/cdn/S72WP6XQ.js +0 -4
  472. package/dist/cdn/SBQC3UFK.js +0 -4
  473. package/dist/cdn/SMOUDLKB.js +0 -4
  474. package/dist/cdn/SVXJYPGP.js +0 -4
  475. package/dist/cdn/SY4VJMTC.js +0 -4
  476. package/dist/cdn/SZRPK5U3.js +0 -4
  477. package/dist/cdn/T7NDQ5N4.js +0 -4
  478. package/dist/cdn/TBSKAY6R.js +0 -4
  479. package/dist/cdn/TC2AUGPM.js +0 -4
  480. package/dist/cdn/TGG4RKZV.js +0 -4
  481. package/dist/cdn/TR4LETNB.js +0 -4
  482. package/dist/cdn/U34VLHNL.js +0 -4
  483. package/dist/cdn/U7NW4Q4W.js +0 -42
  484. package/dist/cdn/U7XYGWTM.js +0 -4
  485. package/dist/cdn/UI5DAXMY.js +0 -4
  486. package/dist/cdn/UNKXWRU2.js +0 -4
  487. package/dist/cdn/USUR66FF.js +0 -4
  488. package/dist/cdn/VIWBALQD.js +0 -4
  489. package/dist/cdn/VTJACGF7.js +0 -4
  490. package/dist/cdn/WGCDX65Z.js +0 -4
  491. package/dist/cdn/WJU2LTQQ.js +0 -4
  492. package/dist/cdn/XETTJLZA.js +0 -4
  493. package/dist/cdn/XH5LQBGS.js +0 -4
  494. package/dist/cdn/YEHAINHB.js +0 -4
  495. package/dist/cdn/YRVVNU7B.js +0 -4
  496. package/dist/cdn/YU3EMYVD.js +0 -4
  497. package/dist/cdn/Z36QJLTB.js +0 -4
  498. package/dist/cdn/ZRZXM6A2.js +0 -4
  499. package/dist/cdn/stdin.css +0 -1
  500. package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
  501. package/dist/chunks/index5.js +0 -66
  502. package/dist/chunks/interfaces2.js +0 -18
  503. package/dist/chunks/interfaces3.js +0 -96
  504. package/dist/chunks/interfaces4.js +0 -491
  505. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
  506. package/dist/test/utils/test-utils/utils.d.ts +0 -13
@@ -2,21 +2,30 @@ import "@arcgis/toolkit/intl";
2
2
  import "lodash-es";
3
3
  import "./series-types.js";
4
4
  import "d3-array";
5
- import { c9 as o, cr as i } from "./interfaces.js";
5
+ import { cH as o, cZ as i } from "./index.js";
6
+ import "@arcgis/core/renderers/support/jsonUtils.js";
7
+ import "@arcgis/core/symbols/support/symbolUtils.js";
8
+ import "@arcgis/core/Graphic.js";
9
+ import "@arcgis/core/intl.js";
10
+ import "@arcgis/core/layers/support/FeatureFilter.js";
11
+ import "@arcgis/core/smartMapping/statistics/histogram.js";
12
+ import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
13
+ import "simple-statistics";
14
+ import "@arcgis/core/request.js";
15
+ import "@arcgis/core/AttributeBinsGraphic.js";
6
16
  import "@arcgis/core/geometry/support/jsonUtils.js";
7
17
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
8
18
  import "@arcgis/core/rest/support/Query.js";
9
19
  import "@arcgis/core/rest/support/StatisticDefinition.js";
10
20
  import "@arcgis/core/time/TimeExtent.js";
11
21
  import "@arcgis/core/core/promiseUtils.js";
12
- import "@arcgis/core/request.js";
13
22
  import "./runtime.js";
14
23
  import "@arcgis/toolkit/dom";
15
24
  import { C as r } from "./model-with-multi-axes.js";
16
25
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
17
26
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
18
- v5.0.0-next.3 */
19
- class M extends r {
27
+ v5.0.0-next.31 */
28
+ class O extends r {
20
29
  /**
21
30
  * Whether the chart is rotated.
22
31
  */
@@ -30,5 +39,5 @@ class M extends r {
30
39
  }
31
40
  }
32
41
  export {
33
- M
42
+ O as M
34
43
  };
@@ -1,47 +1,57 @@
1
1
  import "@arcgis/toolkit/intl";
2
- import { memoize as Y, isEmpty as W, isNull as $, cloneDeep as E } from "lodash-es";
3
- import { a as p, g as C, t as f } from "./series-types.js";
4
- import { d as A, aj as U, aW as z, cf as B, x as V, aF as G, a as I } from "./interfaces.js";
2
+ import { memoize as j, isEmpty as W, isNull as E, cloneDeep as R } from "lodash-es";
3
+ import { a as m, g as C, t as F, W as $ } from "./series-types.js";
4
+ import { R as U } from "./rest-js-object-literals.js";
5
+ import { d as A, aH as z, bi as G, cN as B, S as I, b1 as _, a as P } from "./index.js";
5
6
  import "d3-array";
7
+ import "@arcgis/core/renderers/support/jsonUtils.js";
8
+ import "@arcgis/core/symbols/support/symbolUtils.js";
9
+ import "@arcgis/core/Graphic.js";
10
+ import { substitute as h } from "@arcgis/core/intl.js";
11
+ import "@arcgis/core/layers/support/FeatureFilter.js";
12
+ import "@arcgis/core/smartMapping/statistics/histogram.js";
13
+ import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
14
+ import "simple-statistics";
15
+ import "@arcgis/core/request.js";
16
+ import "@arcgis/core/AttributeBinsGraphic.js";
6
17
  import "@arcgis/core/geometry/support/jsonUtils.js";
7
18
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
8
19
  import "@arcgis/core/rest/support/Query.js";
9
20
  import "@arcgis/core/rest/support/StatisticDefinition.js";
10
21
  import "@arcgis/core/time/TimeExtent.js";
11
22
  import "@arcgis/core/core/promiseUtils.js";
12
- import "@arcgis/core/request.js";
13
23
  import "./runtime.js";
14
24
  import "@arcgis/toolkit/dom";
15
- import { substitute as h } from "@arcgis/core/intl.js";
16
- import { a as u, P as y } from "./common.js";
17
- import { b as O, u as x, g as R, a as _, c as M } from "./data.js";
25
+ import { a as u, P as g } from "./common.js";
26
+ import { b as L, u as x, g as H, a as M } from "./serial-chart-data.js";
27
+ import { g as k } from "./data.js";
18
28
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
19
29
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
20
- v5.0.0-next.3 */
30
+ v5.0.0-next.31 */
21
31
  function N(r) {
22
- const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? L({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", c = R(t), n = V(t);
23
- return a === c || n;
32
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? O({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l = H(t), c = I(t);
33
+ return a === l || c;
24
34
  }
25
35
  function q(r) {
26
- const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? O({
36
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? L({
27
37
  config: t,
28
38
  layerInfo: e,
29
39
  commonStrings: s,
30
- numericFields: m(t),
31
- aggregationType: F(t, i)
32
- }) : "", c = _(1, t), n = V(t);
33
- return a === c || n;
40
+ numericFields: f(t),
41
+ aggregationType: T(t, i)
42
+ }) : "", l = M(1, t), c = I(t);
43
+ return a === l || c;
34
44
  }
35
45
  const v = (r) => r.series?.[0]?.x ?? "";
36
- function k(r, t) {
46
+ function J(r, t) {
37
47
  const e = r.series?.[0];
38
- return [`${t === u.Category ? e.y : I} ${C.Descending}`];
48
+ return [`${t === u.Category ? e.y : P} ${C.Descending}`];
39
49
  }
40
- const P = (r, t) => {
41
- let e = y.valueDesc;
42
- const i = r.orderOptions?.data?.orderType ?? k(r, t), s = r.orderOptions?.data?.orderBy ?? C.Descending;
43
- return i === f.Category && Array.isArray(s) ? e = y.customSort : i === f.Category ? s === C.Ascending ? e = y.labelAsc : e = y.labelDesc : s === C.Ascending ? e = y.valueAsc : e = y.valueDesc, e;
44
- }, m = Y(
50
+ const V = (r, t) => {
51
+ let e = g.valueDesc;
52
+ const i = r.orderOptions?.data?.orderType ?? J(r, t), s = r.orderOptions?.data?.orderBy ?? C.Descending;
53
+ return i === F.Category && Array.isArray(s) ? e = g.customSort : i === F.Category ? s === C.Ascending ? e = g.labelAsc : e = g.labelDesc : s === C.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
54
+ }, f = j(
45
55
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
46
56
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
47
57
  (r) => {
@@ -52,17 +62,22 @@ const P = (r, t) => {
52
62
  },
53
63
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
54
64
  (r) => r.series
55
- ), F = (r, t) => {
56
- const e = m(r);
65
+ ), T = (r, t) => {
66
+ const e = f(r);
57
67
  let i;
58
- return t === u.Fields && e.length === 0 ? i = p.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? p.NoAggregation, i;
68
+ return t === u.Fields && e.length === 0 ? i = m.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
59
69
  };
60
70
  function w(r) {
61
- const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { objectIdField: a } = e ?? {}, c = G(s, a), n = v(t), d = t.series[0]?.dataLabels?.visible ?? !1, o = {
62
- ...c,
63
- x: i === u.Category ? n : A,
71
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { objectIdField: a } = e ?? {}, l = _(s, a), c = v(t), d = t.series[0]?.dataLabels, o = {
72
+ ...l,
73
+ x: i === u.Category ? c : A,
64
74
  slices: t.series?.[0]?.slices,
65
- dataLabels: { ...c.dataLabels, visible: d },
75
+ dataLabels: {
76
+ ...l.dataLabels,
77
+ type: l.dataLabels?.type ?? $.Text,
78
+ content: { ...l.dataLabels?.content, ...d?.content, type: U.TS },
79
+ visible: d?.visible ?? !1
80
+ },
66
81
  innerRadiusSize: t.series?.[0]?.innerRadius,
67
82
  sliceGrouping: t.series?.[0]?.sliceGrouping,
68
83
  dataLabelsCharacterLimit: t.series?.[0]?.dataLabelsCharacterLimit,
@@ -71,195 +86,196 @@ function w(r) {
71
86
  displayCategoryOnDataLabel: t.series?.[0]?.displayCategoryOnDataLabel,
72
87
  displayNumericValueOnDataLabel: t.series?.[0]?.displayNumericValueOnDataLabel,
73
88
  displayPercentageOnDataLabel: t.series?.[0]?.displayPercentageOnDataLabel
74
- }, l = F(t, i);
75
- if (l !== p.NoAggregation && a !== void 0) {
76
- const g = `${l}_${a}_0`.toUpperCase();
77
- o.y = i === u.Category ? g : I, o.query = {
89
+ }, n = T(t, i);
90
+ if (n !== m.NoAggregation && a !== void 0) {
91
+ const y = `${n}_${a}_0`.toUpperCase();
92
+ o.y = i === u.Category ? y : P, o.query = {
78
93
  outStatistics: i === u.Category ? [
79
94
  {
80
- statisticType: l,
95
+ statisticType: n,
81
96
  onStatisticField: a,
82
- outStatisticFieldName: g
97
+ outStatisticFieldName: y
83
98
  }
84
99
  ] : []
85
100
  };
86
101
  }
87
- return i === u.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [n] : delete o.query?.groupByFieldsForStatistics, E(o);
102
+ return i === u.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [c] : delete o.query?.groupByFieldsForStatistics, R(o);
88
103
  }
89
- function L(r) {
90
- const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a, objectIdField: c } = e, n = v(t), d = m(t), o = F(t, i), l = d.length === 0 || d.includes(c), g = z(o, s), b = l ? "" : d.map((j) => B(a ?? [], j)).join(", "), T = B(a ?? [], n);
91
- let S = "", D;
92
- return i === u.Fields ? D = d.length === 0 : D = n === "", D ? S = s.utilsStrings.chartType.pieChart : o === p.NoAggregation ? S = h(s.titleLabels.aggrFieldsByCategory, {
93
- aggregationFields: l ? c : b,
94
- category: T
95
- }) : o === p.Count ? S = h(s.titleLabels.aggrTypeCategory, {
96
- aggregationType: g,
97
- category: T
98
- }) : d.length > 0 && (T === A || W(T) || $(T) ? S = h(s.titleLabels.aggrTypeOfAggrFields, {
99
- aggregationType: g,
100
- aggregationFields: b
101
- }) : S = h(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
102
- aggregationType: g,
103
- aggregationFields: b,
104
- category: T
105
- })), S;
104
+ function O(r) {
105
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a, objectIdField: l } = e, c = v(t), d = f(t), o = T(t, i), n = d.length === 0 || d.includes(l), y = G(o, s), p = n ? "" : d.map((Y) => B(a ?? [], Y)).join(", "), S = B(a ?? [], c);
106
+ let b = "", D;
107
+ return i === u.Fields ? D = d.length === 0 : D = c === "", D ? b = s.utilsStrings.chartType.pieChart : o === m.NoAggregation ? b = h(s.titleLabels.aggrFieldsByCategory, {
108
+ aggregationFields: n ? l : p,
109
+ category: S
110
+ }) : o === m.Count ? b = h(s.titleLabels.aggrTypeCategory, {
111
+ aggregationType: y,
112
+ category: S
113
+ }) : d.length > 0 && (S === A || W(S) || E(S) ? b = h(s.titleLabels.aggrTypeOfAggrFields, {
114
+ aggregationType: y,
115
+ aggregationFields: p
116
+ }) : b = h(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
117
+ aggregationType: y,
118
+ aggregationFields: p,
119
+ category: S
120
+ })), b;
106
121
  }
107
- const ue = (r) => {
122
+ const Oe = (r) => {
108
123
  const { newSortOrderKind: t, config: e, orderByList: i } = r;
109
- e.orderOptions ??= {}, t === y.customSort && i !== void 0 ? e.orderOptions.data = {
110
- orderType: f.Category,
124
+ e.orderOptions ??= {}, t === g.customSort && i !== void 0 ? e.orderOptions.data = {
125
+ orderType: F.Category,
111
126
  orderBy: [...i]
112
127
  } : e.orderOptions.data = {
113
- orderType: t === y.labelAsc || t === y.labelDesc ? f.Category : f.YValue,
114
- orderBy: t === y.labelAsc || t === y.valueAsc ? C.Ascending : C.Descending
128
+ orderType: t === g.labelAsc || t === g.labelDesc ? F.Category : F.YValue,
129
+ orderBy: t === g.labelAsc || t === g.valueAsc ? C.Ascending : C.Descending
115
130
  };
116
- }, pe = (r) => {
117
- const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, c = e.series?.length ?? 0, n = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
131
+ }, De = (r) => {
132
+ const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = e.series?.length ?? 0, c = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
118
133
  if (e.series.forEach((o) => {
119
134
  o.x = s === u.Category ? t : A, o.query !== void 0 && t !== A ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
120
- }), c === 0) {
135
+ }), l === 0) {
121
136
  const o = [w({ config: e, layerInfo: i, mode: s, commonStrings: a })];
122
137
  e.series = o;
123
138
  }
124
139
  if (i !== void 0) {
125
140
  if (d) {
126
- const l = O({
141
+ const n = L({
127
142
  config: e,
128
143
  layerInfo: i,
129
- numericFields: m(e),
130
- aggregationType: F(e, s),
144
+ numericFields: f(e),
145
+ aggregationType: T(e, s),
131
146
  commonStrings: a
132
147
  });
133
- x(e, 1, l);
148
+ x(e, 1, n);
134
149
  }
135
- e.title && n && (e.title.content.text = L({ config: e, layerInfo: i, commonStrings: a, mode: s }));
136
- const o = s === u.Fields ? m(e).filter((l) => l !== i.objectIdField) : m(e);
137
- H({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
150
+ e.title && c && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
151
+ const o = s === u.Fields ? f(e).filter((n) => n !== i.objectIdField) : f(e);
152
+ Q({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
138
153
  }
139
154
  };
140
155
  function K(r) {
141
- const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings: c } = r, n = [], d = w({
156
+ const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings: l } = r, { layerFieldsInfo: c } = s, d = [], o = w({
142
157
  config: i,
143
158
  layerInfo: s,
144
159
  mode: a,
145
- commonStrings: c
146
- }), o = {
147
- ...d,
160
+ commonStrings: l
161
+ }), n = {
162
+ ...o,
148
163
  query: {
149
- ...d.query
164
+ ...o.query
150
165
  }
151
166
  };
152
- t.length <= 1 ? o.query.where = d.query?.where : delete o.query.where;
153
- const l = M({
167
+ t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
168
+ const y = k({
154
169
  config: i,
155
170
  xAxisField: v(i),
156
171
  numericFields: t,
157
172
  aggregationType: e,
158
173
  mode: a,
159
- layer: s.layer
174
+ layer: s.layer,
175
+ fieldList: c
160
176
  }).name;
161
- if (e !== p.NoAggregation)
177
+ if (e !== m.NoAggregation)
162
178
  if (a === u.Category) {
163
179
  if (t.length > 0) {
164
- const g = t[0];
165
- o.query.outStatistics = [
180
+ const p = t[0];
181
+ n.query.outStatistics = [
166
182
  {
167
- ...d.query?.outStatistics?.[0] ?? {},
168
- onStatisticField: g,
169
- outStatisticFieldName: l,
183
+ ...o.query?.outStatistics?.[0] ?? {},
184
+ onStatisticField: p,
185
+ outStatisticFieldName: y,
170
186
  statisticType: e
171
187
  }
172
188
  ];
173
189
  }
174
190
  } else
175
- for (const g of t)
176
- o.query.outStatistics?.push({
177
- onStatisticField: g,
178
- outStatisticFieldName: g,
191
+ for (const p of t)
192
+ n.query.outStatistics?.push({
193
+ onStatisticField: p,
194
+ outStatisticFieldName: p,
179
195
  statisticType: e
180
196
  });
181
197
  else
182
- o.query = {};
183
- o.y = l, n.push(o), i.series = n;
198
+ n.query = {};
199
+ n.y = y, d.push(n), i.series = d;
184
200
  }
185
- const me = (r) => {
186
- const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, c = m(e), n = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
201
+ const xe = (r) => {
202
+ const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = f(e), c = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
187
203
  if (K({
188
204
  config: e,
189
205
  layerInfo: i,
190
- numericFields: c,
206
+ numericFields: l,
191
207
  aggregationType: t,
192
208
  commonStrings: a,
193
209
  mode: s
194
210
  }), d) {
195
- const b = O({
211
+ const p = L({
196
212
  config: e,
197
213
  layerInfo: i,
198
214
  commonStrings: a,
199
- numericFields: m(e),
200
- aggregationType: F(e, s)
215
+ numericFields: f(e),
216
+ aggregationType: T(e, s)
201
217
  });
202
- x(e, 1, b);
218
+ x(e, 1, p);
203
219
  }
204
- e.title && n && (e.title.content.text = L({ config: e, layerInfo: i, commonStrings: a, mode: s }));
205
- const o = e.series?.[0]?.displayCategoryOnDataLabel, l = e.series?.[0]?.displayNumericValueOnDataLabel, g = e.series?.[0]?.displayPercentageOnDataLabel;
220
+ e.title && c && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
221
+ const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, y = e.series?.[0]?.displayPercentageOnDataLabel;
206
222
  e.legend = {
207
- ...e.legend ?? U(),
208
- displayNumericValue: l,
209
- displayPercentage: g,
223
+ ...e.legend ?? z(),
224
+ displayNumericValue: n,
225
+ displayPercentage: y,
210
226
  displayCategory: o
211
227
  };
212
- }, H = (r) => {
228
+ }, Q = (r) => {
213
229
  let { newNumericFields: t } = r;
214
- const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, { objectIdField: c } = i ?? {};
215
- let n = F(e, s);
230
+ const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, { objectIdField: l } = i ?? {};
231
+ let c = T(e, s);
216
232
  const d = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), o = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
217
- if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, c !== void 0 && (t.length === 0 && s === u.Category ? (t.push(c), n = p.Count) : n === p.Count && t.length >= 1 && !t.includes(c) && (n = p.Sum)), i !== void 0) {
233
+ if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s === u.Category ? (t.push(l), c = m.Count) : c === m.Count && t.length >= 1 && !t.includes(l) && (c = m.Sum)), i !== void 0) {
218
234
  if (K({
219
235
  config: e,
220
236
  layerInfo: i,
221
237
  commonStrings: a,
222
238
  numericFields: t,
223
- aggregationType: n,
239
+ aggregationType: c,
224
240
  mode: s
225
241
  }), o) {
226
- const l = O({
242
+ const n = L({
227
243
  config: e,
228
244
  layerInfo: i,
229
245
  commonStrings: a,
230
- numericFields: m(e),
231
- aggregationType: F(e, s)
246
+ numericFields: f(e),
247
+ aggregationType: T(e, s)
232
248
  });
233
- x(e, 1, l);
249
+ x(e, 1, n);
234
250
  }
235
- e.title && d && (e.title.content.text = L({ config: e, layerInfo: i, commonStrings: a, mode: s }));
251
+ e.title && d && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
236
252
  } else
237
- e.series.forEach((l) => {
238
- delete l.query, l.y = t[0];
253
+ e.series.forEach((n) => {
254
+ delete n.query, n.y = t[0];
239
255
  });
240
- }, fe = (r, t) => {
256
+ }, Ne = (r, t) => {
241
257
  let e = [];
242
- const i = r.orderOptions?.data?.orderType, s = P(r, t), a = r.orderOptions?.data?.orderBy;
243
- return s === y.customSort && i === f.Category && Array.isArray(a) && (e = a), e;
244
- }, Fe = (r) => {
258
+ const i = r.orderOptions?.data?.orderType, s = V(r, t), a = r.orderOptions?.data?.orderBy;
259
+ return s === g.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
260
+ }, qe = (r) => {
245
261
  const { values: t, config: e, mode: i } = r;
246
262
  e.orderOptions ??= {};
247
263
  const s = e.orderOptions?.data?.orderType;
248
- P(e, i) === y.customSort && s === f.Category && (e.orderOptions.data = {
249
- orderType: f.Category,
264
+ V(e, i) === g.customSort && s === F.Category && (e.orderOptions.data = {
265
+ orderType: F.Category,
250
266
  orderBy: [...t]
251
267
  });
252
268
  };
253
269
  export {
254
- m as a,
255
- F as b,
256
- H as c,
257
- me as d,
258
- P as e,
259
- ue as f,
270
+ f as a,
271
+ T as b,
272
+ Q as c,
273
+ xe as d,
274
+ V as e,
275
+ Oe as f,
260
276
  v as g,
261
- fe as h,
262
- Fe as i,
263
- L as j,
264
- pe as s
277
+ Ne as h,
278
+ qe as i,
279
+ O as j,
280
+ De as s
265
281
  };