@arcgis/charts-components 5.2.0-next.1 → 5.2.0-next.100

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 (489) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/225VUGML.js +4 -0
  4. package/dist/cdn/22V4YZLT.js +2 -0
  5. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/{G6OHBBUT.js → 2INZEFXR.js} +1 -1
  8. package/dist/cdn/{I5VHQW7B.js → 2OAB6VMZ.js} +1 -1
  9. package/dist/cdn/2RSKVWTZ.js +2 -0
  10. package/dist/cdn/{NFDXH5B3.js → 2TNZTI5Q.js} +1 -1
  11. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  12. package/dist/cdn/{TSI3C3OV.js → 3DGX6WFJ.js} +1 -1
  13. package/dist/cdn/3NLKE6ZN.js +2 -0
  14. package/dist/cdn/{CODAXMWM.js → 3W64DBHG.js} +1 -1
  15. package/dist/cdn/3XSL5VPN.js +2 -0
  16. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  17. package/dist/cdn/42FKRE56.js +2 -0
  18. package/dist/cdn/42PLGMOG.js +2 -0
  19. package/dist/cdn/455LSMAU.js +2 -0
  20. package/dist/cdn/4A4EW5Z5.js +2 -0
  21. package/dist/cdn/4DR6JUR7.js +104 -0
  22. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  23. package/dist/cdn/4U63XRSZ.js +2 -0
  24. package/dist/cdn/{O6SNP6QE.js → 4YKB2PME.js} +1 -1
  25. package/dist/cdn/{3V4HRXIT.js → 5BZCHVPD.js} +1 -1
  26. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  27. package/dist/cdn/5GDVKAX5.js +2 -0
  28. package/dist/cdn/5SYHQWPP.js +2 -0
  29. package/dist/cdn/{2X75KJPF.js → 5V2YHARQ.js} +1 -1
  30. package/dist/cdn/{7ILH7ZG2.js → 5VHWJWWP.js} +1 -1
  31. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  32. package/dist/cdn/62GSQDTE.js +2 -0
  33. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  34. package/dist/cdn/{DIKQ7BPQ.js → 65WMT7WD.js} +1 -1
  35. package/dist/cdn/6DYDDJKB.js +2 -0
  36. package/dist/cdn/6H6SZO4Y.js +2 -0
  37. package/dist/cdn/{B4KT2HUE.js → 6MALKAJY.js} +1 -1
  38. package/dist/cdn/6VIPQGM6.js +2 -0
  39. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  40. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  41. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  42. package/dist/cdn/7FPQDD3C.js +2 -0
  43. package/dist/cdn/7GTZX5NP.js +2 -0
  44. package/dist/cdn/7NGEMDYM.js +2 -0
  45. package/dist/cdn/7TM4LYGN.js +2 -0
  46. package/dist/cdn/{NHDVOYQ2.js → 7TTQNVC5.js} +1 -1
  47. package/dist/cdn/AA456L7Q.js +2 -0
  48. package/dist/cdn/{OA7FHTCA.js → AAHQPRYK.js} +1 -1
  49. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  50. package/dist/cdn/AIQU35U3.js +2 -0
  51. package/dist/cdn/AMIDKZA2.js +2 -0
  52. package/dist/cdn/AOVXHBJK.js +2 -0
  53. package/dist/cdn/{SGOYJFLO.js → ATWR3DSK.js} +1 -1
  54. package/dist/cdn/AYCQHDDV.js +2 -0
  55. package/dist/cdn/AZYYQMCD.js +2 -0
  56. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  57. package/dist/cdn/{UQPFMDJB.js → B46RQ2MZ.js} +1 -1
  58. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  59. package/dist/cdn/{4JQ2RRLY.js → BK2QOEX2.js} +1 -1
  60. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  61. package/dist/cdn/BWLRC2U5.js +2 -0
  62. package/dist/cdn/BYSUABOV.js +2 -0
  63. package/dist/cdn/{WASEMNYV.js → CHBL4DXX.js} +1 -1
  64. package/dist/cdn/{I36OAVW3.js → CTMOMBBM.js} +1 -1
  65. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  66. package/dist/cdn/D5DOFLCS.js +2 -0
  67. package/dist/cdn/{CUJHGXNK.js → DLMRATCW.js} +1 -1
  68. package/dist/cdn/{N3VOUI25.js → DWO7GMVE.js} +1 -1
  69. package/dist/cdn/E6E2KLJ2.js +2 -0
  70. package/dist/cdn/E6JK3JRJ.js +2 -0
  71. package/dist/cdn/EB4CM3YK.js +2 -0
  72. package/dist/cdn/EJW2UHAB.js +2 -0
  73. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  74. package/dist/cdn/EWIMT2AS.js +2 -0
  75. package/dist/cdn/FBS4RBSA.js +2 -0
  76. package/dist/cdn/{75P3QRL4.js → FLUZSJXH.js} +1 -1
  77. package/dist/cdn/{UAZ34KDJ.js → FSEQQXRO.js} +1 -1
  78. package/dist/cdn/G3KO465U.js +4 -0
  79. package/dist/cdn/GVJ5WCQD.js +2 -0
  80. package/dist/cdn/H2ECCBL7.js +2 -0
  81. package/dist/cdn/H2R62NYZ.js +2 -0
  82. package/dist/cdn/{66KSEDOR.js → H7Z3QWIW.js} +1 -1
  83. package/dist/cdn/{ABIVSH72.js → HJSR7M2A.js} +1 -1
  84. package/dist/cdn/{RKN64EJQ.js → HUMEIOOQ.js} +1 -1
  85. package/dist/cdn/{N6OT5IBC.js → HZUBDLNR.js} +1 -1
  86. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  87. package/dist/cdn/IBMPLHXH.js +2 -0
  88. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  89. package/dist/cdn/{UT4TYXFO.js → IGOJGDYE.js} +1 -1
  90. package/dist/cdn/{4QQVKRJ5.js → IRIGTY65.js} +1 -1
  91. package/dist/cdn/JCCCT72R.js +2 -0
  92. package/dist/cdn/{AJBEE7WE.js → JMR2NH33.js} +1 -1
  93. package/dist/cdn/JSVAA6N4.js +2 -0
  94. package/dist/cdn/JVHMHWIM.js +2 -0
  95. package/dist/cdn/JZMYBU7B.js +2 -0
  96. package/dist/cdn/KKE5EKYC.js +2 -0
  97. package/dist/cdn/KODMEY56.js +2 -0
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/KYESCAI2.js +2 -0
  100. package/dist/cdn/KYOCE6FA.js +2 -0
  101. package/dist/cdn/KZSCAJDG.js +2 -0
  102. package/dist/cdn/L5JZ5COY.js +2 -0
  103. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  104. package/dist/cdn/LZ7SW2R3.js +2 -0
  105. package/dist/cdn/M4G6TGMS.js +2 -0
  106. package/dist/cdn/{LNF44ZGQ.js → MJVTTSEV.js} +1 -1
  107. package/dist/cdn/MMUAG4IX.js +2 -0
  108. package/dist/cdn/MQI4ZLAS.js +2 -0
  109. package/dist/cdn/{DD4QUBOF.js → N7VRRNQD.js} +1 -1
  110. package/dist/cdn/{RWEUTQWS.js → NJF5UIYM.js} +1 -1
  111. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  112. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  113. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  114. package/dist/cdn/{4E7C5QPS.js → NWYSPTLF.js} +1 -1
  115. package/dist/cdn/O4DFT4N4.js +2 -0
  116. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  117. package/dist/cdn/OGH6DSQR.js +2 -0
  118. package/dist/cdn/{53FG76LL.js → OH3X6QIK.js} +1 -1
  119. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  120. package/dist/cdn/OIWZXO7H.js +2 -0
  121. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  122. package/dist/cdn/OKKEWHMB.js +2 -0
  123. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  124. package/dist/cdn/OURE3TA5.js +2 -0
  125. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  126. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  127. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  128. package/dist/cdn/{RDTBZUT7.js → PAPE3NIS.js} +1 -1
  129. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  130. package/dist/cdn/{XWKBJDZT.js → PMFGLOZL.js} +1 -1
  131. package/dist/cdn/PT2OG4W2.js +2 -0
  132. package/dist/cdn/PWJBGZPW.js +2 -0
  133. package/dist/cdn/Q366CY3F.js +45 -0
  134. package/dist/cdn/{OYHKUGS6.js → QHJSE3P3.js} +1 -1
  135. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  136. package/dist/cdn/QKUFLZC3.js +2 -0
  137. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  138. package/dist/cdn/QO2RH3XB.js +3 -0
  139. package/dist/cdn/QPX4FNCB.js +2 -0
  140. package/dist/cdn/{XIJ5VLER.js → QTAETIIH.js} +1 -1
  141. package/dist/cdn/QYRHZJH3.js +2 -0
  142. package/dist/cdn/{FLO3N6JD.js → QZIF3GED.js} +1 -1
  143. package/dist/cdn/RD7TKIQS.js +2 -0
  144. package/dist/cdn/RGIL6ZEZ.js +2 -0
  145. package/dist/cdn/RNGQEQRO.js +2 -0
  146. package/dist/cdn/RPUEIRTH.js +2 -0
  147. package/dist/cdn/{VFM2EV3M.js → S6CNTZIE.js} +1 -1
  148. package/dist/cdn/S6RBDFHP.js +2 -0
  149. package/dist/cdn/SIHW3QVG.js +2 -0
  150. package/dist/cdn/SS7GYFUD.js +2 -0
  151. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  152. package/dist/cdn/SXT66JGI.js +2 -0
  153. package/dist/cdn/SZSTCHLY.js +2 -0
  154. package/dist/cdn/SZYIWW3C.js +2 -0
  155. package/dist/cdn/T75QDGXB.js +2 -0
  156. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  157. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  158. package/dist/cdn/{M4AQLWZU.js → TNUZFQGZ.js} +1 -1
  159. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  160. package/dist/cdn/{O2ERVMSN.js → U25H6VUE.js} +1 -1
  161. package/dist/cdn/UCHQXTEC.js +2 -0
  162. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  163. package/dist/cdn/ULQSD4KK.js +2 -0
  164. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  165. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  166. package/dist/cdn/UVESG7TY.js +2 -0
  167. package/dist/cdn/{PH6UOHRS.js → V4NEFGS3.js} +1 -1
  168. package/dist/cdn/{NG2IHVZ4.js → V54RTUAV.js} +1 -1
  169. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  170. package/dist/cdn/VMHDTE3U.js +2 -0
  171. package/dist/cdn/VQMG3F5Z.js +2 -0
  172. package/dist/cdn/VQU2TVX7.js +3 -0
  173. package/dist/cdn/VWUW3HFU.js +2 -0
  174. package/dist/cdn/W66Q5TB6.js +2 -0
  175. package/dist/cdn/{5AOYADA3.js → WKRD4TIL.js} +1 -1
  176. package/dist/cdn/WMYNPECY.js +2 -0
  177. package/dist/cdn/WOGALV3T.js +2 -0
  178. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  179. package/dist/cdn/WTMEWLUJ.js +2 -0
  180. package/dist/cdn/WTOK3YQI.js +2 -0
  181. package/dist/cdn/WVOXFKFO.js +2 -0
  182. package/dist/cdn/X2FMGJRP.js +2 -0
  183. package/dist/cdn/X733UM32.js +2 -0
  184. package/dist/cdn/XGWHDERD.js +2 -0
  185. package/dist/cdn/{2HGBRW4I.js → XOB6RSOR.js} +1 -1
  186. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  187. package/dist/cdn/YFMHKHFE.js +2 -0
  188. package/dist/cdn/YHC6WRNQ.js +2 -0
  189. package/dist/cdn/ZDKUHFRX.js +2 -0
  190. package/dist/cdn/ZK72BJCQ.js +2 -0
  191. package/dist/cdn/{EUOPRFMU.js → ZLARROJV.js} +1 -1
  192. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  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 +2 -0
  199. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  200. package/dist/chart-rendering/common/interfaces.d.ts +111 -73
  201. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +38 -46
  202. package/dist/chunks/axis-lines-symbol.js +9 -9
  203. package/dist/chunks/bar-chart-model.js +49 -41
  204. package/dist/chunks/box-plot-data.js +291 -274
  205. package/dist/chunks/box-plot-model.js +143 -130
  206. package/dist/chunks/chart-model.js +194 -153
  207. package/dist/chunks/chart-object-literals.js +26 -25
  208. package/dist/chunks/chart-ui-utils.js +148 -66
  209. package/dist/chunks/chart-ui-utils2.js +68 -149
  210. package/dist/chunks/class-breaks.js +270 -238
  211. package/dist/chunks/combo-bar-line-chart-model.js +122 -101
  212. package/dist/chunks/data-labels-symbol.js +39 -24
  213. package/dist/chunks/data-labels-visibility.js +8 -8
  214. package/dist/chunks/data.js +70 -70
  215. package/dist/chunks/default.js +6 -6
  216. package/dist/chunks/gauge-model.js +71 -71
  217. package/dist/chunks/generate-x-axis-title.js +19 -19
  218. package/dist/chunks/heat-chart-model.js +98 -69
  219. package/dist/chunks/histogram-data.js +24 -24
  220. package/dist/chunks/histogram-model.js +11 -11
  221. package/dist/chunks/index.js +9353 -1079
  222. package/dist/chunks/index2.js +851 -8748
  223. package/dist/chunks/index3.js +1169 -846
  224. package/dist/chunks/index4.js +10969 -677
  225. package/dist/chunks/index5.js +62 -10794
  226. package/dist/chunks/interfaces.js +9 -9
  227. package/dist/chunks/line-chart-model.js +41 -25
  228. package/dist/chunks/model-setter.js +59 -64
  229. package/dist/chunks/model-types.js +1 -1
  230. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  231. package/dist/chunks/model-with-x-guides.js +6 -6
  232. package/dist/chunks/model-with-y-guides.js +52 -67
  233. package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
  234. package/dist/chunks/pie-chart-data.js +175 -193
  235. package/dist/chunks/pie-chart-model.js +388 -320
  236. package/dist/chunks/radar-chart-model.js +413 -46
  237. package/dist/chunks/resource.js +1 -1
  238. package/dist/chunks/rest-js-object-literals.js +10 -10
  239. package/dist/chunks/rotated-state.js +2 -2
  240. package/dist/chunks/rounded-corners.js +90 -0
  241. package/dist/chunks/scatterplot-model.js +27 -27
  242. package/dist/chunks/serial-chart-data.js +887 -755
  243. package/dist/chunks/serial-chart-model.js +151 -129
  244. package/dist/chunks/series-length.js +18 -18
  245. package/dist/chunks/series-types.js +22 -18
  246. package/dist/chunks/series.js +3 -3
  247. package/dist/chunks/store.js +5 -5
  248. package/dist/chunks/type-guards.js +49 -23
  249. package/dist/chunks/type-guards2.js +61 -52
  250. package/dist/chunks/utils.js +99 -89
  251. package/dist/chunks/utils2.js +9 -9
  252. package/dist/chunks/web-component-utils.js +632 -492
  253. package/dist/chunks/x-bounds.js +98 -97
  254. package/dist/components/arcgis-chart/customElement.d.ts +791 -277
  255. package/dist/components/arcgis-chart/customElement.js +11155 -10958
  256. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +12 -0
  257. package/dist/components/arcgis-charts-action-bar/customElement.js +40 -37
  258. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  259. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  260. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +30 -30
  261. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  262. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  263. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  264. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  265. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  266. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +17 -17
  267. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  268. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  269. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  270. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  271. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  273. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
  276. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  277. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  278. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  279. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  280. package/dist/components/arcgis-charts-config-general/customElement.js +5 -5
  281. package/dist/components/arcgis-charts-config-guide/customElement.js +26 -27
  282. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  283. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  285. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +66 -78
  286. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  287. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
  288. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  289. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +27 -27
  290. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  291. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  292. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  293. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  294. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  295. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  296. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  297. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  298. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  299. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  300. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  301. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  302. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +57 -64
  303. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  304. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  305. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  306. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  307. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  308. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
  309. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  310. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  311. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  312. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  313. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  314. package/dist/docs/api.json +1 -1
  315. package/dist/docs/docs.json +1 -1
  316. package/dist/docs/vscode.html-custom-data.json +1 -1
  317. package/dist/docs/web-types.json +1 -1
  318. package/dist/index.d.ts +70 -62
  319. package/dist/index.js +500 -471
  320. package/dist/interfaces.d.ts +57 -14
  321. package/dist/json-schema/index.d.ts +211 -6
  322. package/dist/loader.js +2 -2
  323. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  324. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  325. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  326. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  327. package/dist/model/chart-model/chart-model.d.ts +2 -1
  328. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  329. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  330. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  331. package/dist/model/interfaces/common.d.ts +0 -2
  332. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  333. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  334. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  335. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  336. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  337. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  338. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  339. package/dist/model/properties/rotated-state.d.ts +1 -1
  340. package/dist/model/properties/rounded-corners.d.ts +18 -0
  341. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  342. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  343. package/dist/model/shared/setup-utils.d.ts +3 -3
  344. package/dist/{model.js → model/shared/setup-utils.js} +12 -12
  345. package/dist/model/shared/type-guards.d.ts +38 -22
  346. package/dist/spec/chart-object-literals.d.ts +4 -3
  347. package/dist/spec/data-source.d.ts +17 -3
  348. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  349. package/dist/spec/rest-js-types.d.ts +22 -8
  350. package/dist/spec/web-chart.d.ts +42 -6
  351. package/dist/types/lumina.d.ts +1 -1
  352. package/dist/types/preact.d.ts +1 -1
  353. package/dist/types/react.d.ts +1 -1
  354. package/dist/types/stencil.d.ts +3 -3
  355. package/dist/utils/chart-config/converter/index.js +742 -0
  356. package/dist/utils/chart-config/utils/index.d.ts +58 -9
  357. package/dist/utils/chart-config/validator/index.d.ts +2 -0
  358. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  359. package/dist/utils/components/interfaces.d.ts +2 -0
  360. package/dist/utils/cursor/interfaces.d.ts +21 -0
  361. package/dist/utils/data/categorical-data/index.d.ts +18 -2
  362. package/dist/utils/data/index.d.ts +28 -22
  363. package/dist/utils/data/interfaces.d.ts +4 -3
  364. package/dist/utils/defaults/index.d.ts +31 -6
  365. package/dist/utils/defaults/interfaces.d.ts +73 -4
  366. package/dist/utils/errors/index.d.ts +1 -1
  367. package/dist/utils/layer/index.d.ts +26 -8
  368. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  369. package/dist/utils/layer/interfaces.d.ts +0 -12
  370. package/dist/utils/layer/query-features/index.d.ts +8 -3
  371. package/dist/utils/layer/query-parser/index.d.ts +13 -9
  372. package/dist/utils/layer/utils/index.d.ts +22 -5
  373. package/dist/utils/localization/interfaces.d.ts +13 -1
  374. package/dist/utils/misc/index.d.ts +2 -3
  375. package/dist/utils/misc/interfaces.d.ts +1 -0
  376. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  377. package/dist/utils/type-guards/series-types.d.ts +9 -2
  378. package/dist/utils/types/index.d.ts +1 -5
  379. package/package.json +10 -9
  380. package/dist/cdn/3FTJIVFE.js +0 -2
  381. package/dist/cdn/45JPWIBI.js +0 -2
  382. package/dist/cdn/45PJ5TQL.js +0 -2
  383. package/dist/cdn/47HHRDX4.js +0 -2
  384. package/dist/cdn/4OZZXXZF.js +0 -2
  385. package/dist/cdn/547RDEMV.js +0 -2
  386. package/dist/cdn/5HQ2CJEQ.js +0 -2
  387. package/dist/cdn/5MVNVHYG.js +0 -2
  388. package/dist/cdn/6JGLHOFY.js +0 -2
  389. package/dist/cdn/6LQYOBAL.js +0 -2
  390. package/dist/cdn/6PAONFHB.js +0 -2
  391. package/dist/cdn/6SRISPQN.js +0 -3
  392. package/dist/cdn/74JAZF7U.js +0 -2
  393. package/dist/cdn/7BEC5WZB.js +0 -2
  394. package/dist/cdn/7IV6GMF7.js +0 -2
  395. package/dist/cdn/7SNOZDAD.js +0 -2
  396. package/dist/cdn/7YBKGD3V.js +0 -2
  397. package/dist/cdn/A5GIBV5W.js +0 -2
  398. package/dist/cdn/AT2NWWBG.js +0 -2
  399. package/dist/cdn/ATIARKAU.js +0 -2
  400. package/dist/cdn/B7DM7VT6.js +0 -2
  401. package/dist/cdn/BBURKBKE.js +0 -2
  402. package/dist/cdn/BZCVDNC4.js +0 -102
  403. package/dist/cdn/CAJVNPHZ.js +0 -2
  404. package/dist/cdn/CHQDKVVQ.js +0 -4
  405. package/dist/cdn/CPPT5HUK.js +0 -58
  406. package/dist/cdn/CXQOEN77.js +0 -2
  407. package/dist/cdn/D23GGWFM.js +0 -2
  408. package/dist/cdn/DNMVB3A2.js +0 -2
  409. package/dist/cdn/DYC3Q36R.js +0 -2
  410. package/dist/cdn/EQVQRZHJ.js +0 -2
  411. package/dist/cdn/EXTKNE2L.js +0 -2
  412. package/dist/cdn/EZV7JSQJ.js +0 -2
  413. package/dist/cdn/F5Q73CFW.js +0 -2
  414. package/dist/cdn/FAQDMSUC.js +0 -2
  415. package/dist/cdn/FCXI523J.js +0 -2
  416. package/dist/cdn/FJPGZEGK.js +0 -2
  417. package/dist/cdn/FT2K3J7O.js +0 -2
  418. package/dist/cdn/GCSGY6GL.js +0 -2
  419. package/dist/cdn/GUH6CQE6.js +0 -2
  420. package/dist/cdn/GWQJXXP3.js +0 -2
  421. package/dist/cdn/H6NH46AS.js +0 -2
  422. package/dist/cdn/HJHMEVMB.js +0 -2
  423. package/dist/cdn/HUCSTT64.js +0 -2
  424. package/dist/cdn/HX4236ZL.js +0 -2
  425. package/dist/cdn/I2M6YAUU.js +0 -2
  426. package/dist/cdn/IWVS6SKP.js +0 -2
  427. package/dist/cdn/JILAM6NH.js +0 -2
  428. package/dist/cdn/JNNB2DIA.js +0 -2
  429. package/dist/cdn/KC6CFXB7.js +0 -2
  430. package/dist/cdn/KKWXEF5W.js +0 -2
  431. package/dist/cdn/KV4ZPVWQ.js +0 -2
  432. package/dist/cdn/LKY2A3U6.js +0 -2
  433. package/dist/cdn/M75ENKIU.js +0 -2
  434. package/dist/cdn/MHG42BA5.js +0 -2
  435. package/dist/cdn/MKQAQDRM.js +0 -2
  436. package/dist/cdn/MOMKSNIZ.js +0 -2
  437. package/dist/cdn/MRTKZZTF.js +0 -2
  438. package/dist/cdn/NS3THLCD.js +0 -2
  439. package/dist/cdn/NS7OCROO.js +0 -2
  440. package/dist/cdn/NZR4L5AA.js +0 -2
  441. package/dist/cdn/O4M33ZPK.js +0 -2
  442. package/dist/cdn/OVM5QF7Q.js +0 -2
  443. package/dist/cdn/OY6UOUYX.js +0 -2
  444. package/dist/cdn/P3RM2ACY.js +0 -2
  445. package/dist/cdn/P4HSSZRL.js +0 -2
  446. package/dist/cdn/P6SC5DD2.js +0 -2
  447. package/dist/cdn/P74SXC5B.js +0 -2
  448. package/dist/cdn/PAIRUVLU.js +0 -2
  449. package/dist/cdn/PEZCCXQ7.js +0 -2
  450. package/dist/cdn/PKMZ6N6M.js +0 -2
  451. package/dist/cdn/PTFRQF65.js +0 -2
  452. package/dist/cdn/PYKHO4QI.js +0 -2
  453. package/dist/cdn/RG3I5ORH.js +0 -2
  454. package/dist/cdn/RKKWMNWU.js +0 -2
  455. package/dist/cdn/S3BC57BJ.js +0 -4
  456. package/dist/cdn/S6PJHEJ7.js +0 -2
  457. package/dist/cdn/THTYR6IL.js +0 -2
  458. package/dist/cdn/TORIY3OE.js +0 -2
  459. package/dist/cdn/TTDZKISK.js +0 -2
  460. package/dist/cdn/TXSWWAOF.js +0 -2
  461. package/dist/cdn/TZ4GOE2Q.js +0 -2
  462. package/dist/cdn/U67P6YAZ.js +0 -2
  463. package/dist/cdn/UNUPCA4W.js +0 -2
  464. package/dist/cdn/URYNG6OA.js +0 -2
  465. package/dist/cdn/V2XJSJH4.js +0 -2
  466. package/dist/cdn/V76PIVCF.js +0 -2
  467. package/dist/cdn/V7MBHG4F.js +0 -2
  468. package/dist/cdn/VOTZAPI3.js +0 -2
  469. package/dist/cdn/W7X6L2OB.js +0 -127
  470. package/dist/cdn/X6WA2KXK.js +0 -2
  471. package/dist/cdn/XFZX5ULX.js +0 -2
  472. package/dist/cdn/XJFVSX2E.js +0 -2
  473. package/dist/cdn/XMQCH4QI.js +0 -2
  474. package/dist/cdn/Y3CXVO2M.js +0 -2
  475. package/dist/cdn/YIIPYKTL.js +0 -2
  476. package/dist/cdn/YKGZVYK2.js +0 -2
  477. package/dist/cdn/YVVQVAJZ.js +0 -2
  478. package/dist/cdn/YYK7SPXC.js +0 -2
  479. package/dist/cdn/YZQ54BRI.js +0 -2
  480. package/dist/cdn/Z7EBST4A.js +0 -3
  481. package/dist/cdn/ZFM5RGWD.js +0 -142
  482. package/dist/cdn/ZQCUJ7VE.js +0 -2
  483. package/dist/chunks/bar-chart-series.js +0 -15
  484. package/dist/chunks/index6.js +0 -103
  485. package/dist/chunks/index7.js +0 -66
  486. package/dist/chunks/time-zone.js +0 -38
  487. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  488. /package/dist/cdn/{WVRBLV5L.js → 7NWEE7T2.js} +0 -0
  489. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,897 +1,1220 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import K from "@esri/arcgis-html-sanitizer";
3
- import { isEmpty as U, isEqual as x } from "lodash-es";
4
- import { ao as C, ax as q, aw as X, aB as $, ad as Y, D as L, L as Q, r as Z, o as j, ay as J } from "./index.js";
5
- import { g as S } from "./series-types.js";
6
- import { p as b, q as ee, l as te, k as ie, s as p, u as n, g as ae } from "./chart-object-literals.js";
7
- import { g as T, i as y, h as re } from "./rest-js-object-literals.js";
8
- const c = {
9
- Mean: "Mean",
10
- Median: "Median",
11
- StdDev: "Standard Deviation",
12
- Normal: "Normal Distribution",
13
- Trendline: "Trendline"
14
- }, ne = {
15
- MonoSelection: "monoSelection",
16
- MultiSelection: "multiSelection",
17
- MultiSelectionWithCtrlKey: "multiSelectionWithCtrlKey",
18
- Zoom: "zoom",
19
- None: "none"
20
- }, ye = {
21
- MultiAxes: "multi-axes",
22
- XAxis: "x-axis",
23
- YAxis: "y-axis"
24
- }, oe = {
25
- aria: {
26
- defaultChartItemRole: "figure"
2
+ import { S as V, c as W, k as j, a, d as u, b as R, g as D, t as P, f as w, h as $, e as Q, s as J } from "./chart-object-literals.js";
3
+ import { a as y, b as m, R as L, e as N } from "./rest-js-object-literals.js";
4
+ import "@arcgis/toolkit/type";
5
+ const C = "25.2.0", K = {
6
+ Reject: "reject",
7
+ RenderUpToTheLimit: "renderUpToTheLimit"
8
+ }, s = {
9
+ AxisLabels: "axisLabels",
10
+ GuideLabel: "guideLabel",
11
+ AxisTitle: "axisTitle",
12
+ ChartTitle: "chartTitle",
13
+ ChartSubtitle: "chartSubtitle",
14
+ DataLabels: "dataLabels",
15
+ LegendTitle: "legendTitle",
16
+ LegendText: "legendText",
17
+ DescriptionText: "descriptionText"
18
+ }, Te = 32, pe = "arcgis_charts_features_extent", De = {
19
+ maxRecordCountFactor: 5,
20
+ maxParallelRequests: 4,
21
+ maxRecords: 2e3,
22
+ orderByJSAPIDelimiter: " ",
23
+ outStatistics: {
24
+ statisticType: V.statisticType,
25
+ onStatisticField: "OBJECTID",
26
+ outStatisticFieldName: "arcgis_charts_outStatisticFieldName_default_key"
27
27
  },
28
- title: {
29
- marginBottom: 8,
30
- wrap: !0
31
- },
32
- subtitle: {
33
- marginBottom: 10,
34
- wrap: !0
35
- },
36
- rotated: !1,
37
- legendProperties: {
38
- legendLabels: {
39
- marginLeft: 5,
40
- marginRight: 5,
41
- truncate: !1,
42
- applyOnClones: !0,
43
- wrap: !0,
44
- maxWidth: 200
45
- },
46
- valueLabels: {
47
- wrap: !0,
48
- maxWidth: 200
49
- },
50
- legendTitle: {
51
- wrap: !0,
52
- maxWidth: 220,
53
- marginLeft: 10,
54
- marginRight: 10,
55
- marginTop: 10
56
- },
57
- legendMarkersSize: 14,
58
- legendLabelReducedOpacity: 0.5,
59
- // 50% of original opacity
60
- rectangleMarkerRadius: 3,
61
- // for rounded rectangles
62
- roundedMarkerRadius: 12,
63
- // for circles
64
- legendPaddingRightWithScrollbarVisible: 10,
65
- maxHeight: 100,
66
- marginTop: 2,
67
- marginBottom: 2,
68
- marginLeft: 0,
69
- marginRight: 0,
70
- paddingTop: 0,
71
- paddingBottom: 0,
72
- paddingLeft: 0,
73
- paddingRight: 0,
74
- position: ie.Right
75
- },
76
- footer: {
77
- wrap: !0,
78
- horizontalCenter: "center",
79
- verticalCenter: "middle",
80
- align: "center"
81
- },
82
- axisLabel: {
83
- rotation: 0,
84
- align: "center",
85
- horizontalCenter: "center",
86
- verticalCenter: "top",
87
- dy: 5,
88
- paddingTop: 5,
89
- paddingRight: 5,
90
- paddingLeft: 5,
91
- maxWidth: Number.NaN
92
- },
93
- axisTickLength: 5,
94
- rotatedAxisLabel: {
95
- rotation: -45,
96
- horizontalCenter: "left",
97
- verticalCenter: "bottom",
98
- dy: 6,
99
- paddingTop: 5,
100
- paddingLeft: 0,
101
- paddingRight: 5
102
- },
103
- histogramAxisLabel: {
104
- rotation: 0,
105
- horizontalCenter: "center",
106
- verticalCenter: "middle",
107
- dy: 0,
108
- dx: 0,
109
- paddingLeft: 3,
110
- paddingRight: 3
111
- },
112
- xAxisTitleLabel: {
113
- align: "center",
114
- valign: "middle",
115
- rotation: 0,
116
- fontSize: 10,
117
- wrap: !0
118
- },
119
- yAxisTitleLabel: {
120
- align: "center",
121
- valign: "middle",
122
- rotation: 270,
123
- wrap: !0
124
- },
125
- titleLabel: {
126
- align: "center",
127
- wrap: !0
128
- },
129
- subtitleLabel: {
130
- align: "center",
131
- wrap: !0
132
- },
133
- horizontalSurfaceGuideLabels: {
134
- horizontalCenter: "right",
135
- align: "right",
136
- verticalCenter: "middle",
137
- wrap: !0
138
- },
139
- horizontalLineGuideLabels: {
140
- horizontalCenter: "right",
141
- align: "right",
142
- verticalCenter: "top",
143
- wrap: !0
144
- },
145
- verticalSurfaceGuideLabels: {
146
- horizontalCenter: "center",
147
- verticalCenter: "top",
148
- valign: "top"
149
- },
150
- verticalLineGuideLabels: {
151
- horizontalCenter: "right",
152
- verticalCenter: "bottom",
153
- valign: "top",
154
- wrap: !0,
155
- rotation: 90
156
- },
157
- guideAbove: !1,
158
- cursorCrosshair: {
28
+ uniqueIds: "arcgisChartsUniqueIds",
29
+ heatChartLowerBoundaryAlias: "lowerBoundary5x1",
30
+ heatChartUpperBoundaryAlias: "upperBoundary5x1",
31
+ defaultStatParameterValue: 0.5
32
+ }, Pe = ["EXPR_1", "Expr1", "expr1", "EXPR1"], Le = 1, d = 0.7, X = 25, M = [156, 156, 156, 255], Y = [156, 156, 156, 255], Be = L.Solid, ve = 2, Fe = {
33
+ defaultGroupOfSlicesId: "arcgis_charts_group_of_slices",
34
+ sliceIdPrefix: "arcgis-charts-slice-id",
35
+ undefinedSliceId: "arcgis-charts-slice-id-undefined",
36
+ nullSliceId: "arcgis-charts-slice-id-null",
37
+ emptySliceId: "arcgis-charts-slice-id-empty"
38
+ }, Z = "arcgis_charts_box_plot_category", Ae = {
39
+ valueField: "arcgis_charts_heat_chart_value",
40
+ xField: "arcgis_charts_heat_chart_x",
41
+ yField: "arcgis_charts_heat_chart_y"
42
+ }, _e = "arcgis_charts_heat_chart_empty_cell", ke = {
43
+ min: 1,
44
+ max: 10
45
+ }, Re = {
46
+ axisMinimum: 0,
47
+ axisMaximum: 100
48
+ }, Oe = {
49
+ /** Gauge */
50
+ gaugeFirstLabelId: "arcgis_charts_gauge_first_label",
51
+ gaugeLastLabelId: "arcgis_charts_gauge_last_label"
52
+ }, ee = [
53
+ [31, 120, 180, 255],
54
+ [166, 206, 227, 255],
55
+ [51, 160, 44, 255],
56
+ [178, 223, 138, 255],
57
+ [227, 26, 28, 255],
58
+ [251, 154, 153, 255],
59
+ [255, 127, 0, 255],
60
+ [253, 191, 111, 255],
61
+ [106, 61, 154, 255],
62
+ [202, 178, 214, 255]
63
+ ], Ie = [
64
+ [90, 180, 255, 255],
65
+ // blue
66
+ [165, 220, 255, 255],
67
+ // light blue
68
+ [90, 215, 80, 255],
69
+ // green
70
+ [165, 245, 150, 255],
71
+ // light green
72
+ [255, 80, 85, 255],
73
+ // red
74
+ [255, 170, 170, 255],
75
+ // pink
76
+ [255, 165, 70, 255],
77
+ // orange
78
+ [255, 205, 130, 255],
79
+ // light orange
80
+ [155, 110, 255, 255],
81
+ // purple
82
+ [220, 195, 255, 255]
83
+ // lilac
84
+ ], te = [
85
+ [104, 104, 104, 255],
86
+ [51, 124, 235, 255],
87
+ [132, 0, 168, 255],
88
+ [156, 156, 156, 255]
89
+ ], we = [
90
+ [104, 104, 104, 255],
91
+ // std deviation – neutral gray
92
+ [51, 124, 235, 255],
93
+ // mean – saturated blue
94
+ [175, 90, 255, 255],
95
+ // median – lighter purple
96
+ [156, 156, 156, 255]
97
+ // normal curve – subtle light gray
98
+ ], Ne = [255, 255, 255, 255], Me = [43, 43, 43, 255], He = [0, 122, 194, 255], qe = [255, 255, 255, 255], Ue = [0, 0, 0, 255], H = [150, 150, 150, 178.5];
99
+ function x(t) {
100
+ const { colorIndex: e, opacity: r, histogramOverlays: l } = t, S = Math.max(0, e ?? 0), c = [...l === !0 ? te : ee], [p, v, z, E] = c[S % c.length], G = r !== void 0 ? r * 255 : E;
101
+ return [p, v, z, G];
102
+ }
103
+ function q(t) {
104
+ return [0, 0, 0, (t ?? d) * 255];
105
+ }
106
+ function ze() {
107
+ return {
108
+ type: a.CursorCrosshair,
109
+ verticalLineVisible: !1,
110
+ horizontalLineVisible: !1,
159
111
  style: {
160
- type: y.SLS,
161
- style: T.Dash,
162
- color: [0, 0, 0, 102],
112
+ type: m.SLS,
113
+ style: L.Dot,
114
+ color: [211, 211, 211, 255],
163
115
  width: 1
164
- },
165
- horizontalLineVisible: !1,
166
- verticalLineVisible: !1
167
- },
168
- gauge: {
169
- innerRadius: 80,
170
- radius: 80,
171
- startAngle: -180,
172
- endAngle: 180,
173
- innerLabelToInnerChartRatio: 0.5,
174
- // 50% of the chart's size, considering the inner radius
175
- axisLabelToInnerChartRatio: 0.13,
176
- // ~= 40 / 300: font size 40 for a 300px gauge
177
- innerLabelAutoMinFontSize: 14,
178
- innerLabelAutoMaxFontSize: 100,
179
- axisLabelAutoMinFontSize: 14,
180
- axisLabelAutoMaxFontSize: 40,
181
- gaugeMinGridDistance: 1,
182
- axisMinimum: 0,
183
- axisMaximum: 100,
184
- numberOfLabelIntervals: 5,
185
- numberOfTicksBetweenTwoLabels: 4,
186
- maximumNumberOfLabelIntervals: 24,
187
- // result in 25 maximum number of axis labels
188
- paddingTop: 10,
189
- paddingBottom: 10,
190
- paddingRight: 5,
191
- paddingLeft: 5
192
- },
193
- gaugeTicksLength: 7,
194
- gaugeInnerLabel: {
195
- horizontalCenter: "center",
196
- verticalCenter: "middle"
197
- },
198
- gaugeNeedle: {
199
- startWidth: 10,
200
- endWidth: 1,
201
- innerRadius: 25,
202
- displayPin: !1
203
- },
204
- gaugeFirstLabelId: "arcgis_charts_gauge_first_label",
205
- gaugeLastLabelId: "arcgis_charts_gauge_last_label",
206
- // containers
207
- headerContainer: {
208
- layout: "vertical",
209
- width: "100%",
210
- paddingBottom: 5
211
- },
212
- footerContainer: {
213
- layout: "vertical",
214
- width: "100%",
215
- paddingTop: 5,
216
- paddingBottom: 15
217
- },
218
- paddingMinSize: 0,
219
- marginMinSize: 0,
220
- chartPaddingMinSize: 7,
221
- chartPaddingRightWhenLegendNotOnRight: 15,
222
- chartAndLegendContainer: {
223
- paddingTop: 0
224
- },
225
- chartContainer: {
226
- paddingBottom: 0,
227
- paddingTop: 15
228
- },
229
- chartContainerPaddingTopWhenRotated: 5,
230
- dataLabelInitialize: {
231
- strokeWidth: 0,
232
- applyOnClones: !0
233
- },
234
- dataLabel: {
235
- align: "center",
236
- horizontalCenter: "center",
237
- valign: "bottom",
238
- verticalCenter: "top",
239
- dy: -3
240
- },
241
- dataLabelRotated: {
242
- align: "right",
243
- horizontalCenter: "right",
244
- valign: "middle",
245
- verticalCenter: "middle",
246
- dx: 2
247
- },
248
- dataLabelStackedRotated: {
249
- align: "center",
250
- horizontalCenter: "center",
251
- valign: "middle",
252
- verticalCenter: "middle"
253
- },
254
- dataLabelStackedNonRotated: {
255
- align: "center",
256
- horizontalCenter: "center",
257
- valign: "middle",
258
- verticalCenter: "middle"
259
- },
260
- dataLabelNegative: {
261
- paddingTop: 5,
262
- paddingRight: 5
263
- },
264
- rotatedChartPadding: {
265
- paddingTop: 2,
266
- paddingRight: 2
267
- },
268
- scatterplotSeries: {
269
- strokeOpacity: 0,
270
- r2: Number.NaN,
271
- trendLinePoints: [{}, {}]
272
- },
273
- histogramSeries: {
274
- normalDistribNumberOfPoints: 100
275
- },
276
- lineSeries: {
277
- strokeWidth: 2,
278
- lineSmoothed: !1,
279
- lineSmoothedKind: te.Bezier,
280
- showArea: !1,
281
- areaOpacity: 0.25,
282
- markerVisible: !0,
283
- rotated: !1,
284
- stackedType: ee.Side,
285
- stackNegativeValuesToBaseline: !0,
286
- marker: {
287
- markerBigSize: 7,
288
- markerSizeThresholdForTooltipDisplay: 9,
289
- markerStyle: re.Circle
290
116
  }
291
- },
292
- buffer: !1,
293
- treatZeroValueAs: 1e-4,
294
- // zero values could mess up logarithmic calculations, so we use this alternative number to prevent critical failures
295
- elementLimitForSmoothRendering: 1e3,
296
- // for line and scatter-plot
297
- pieChart: {
298
- dataLabels: { maxWidth: 100, wrap: !1 },
299
- dataLabelsOffset: 10,
300
- dataLabelsInside: !1,
301
- chartRadius: 80,
302
- chartOptimizedRadius: 70,
303
- innerRadius: X,
304
- min: -90,
305
- max: 270,
306
- displayCategoryOnLegend: !0,
307
- displayCategoryOnTooltip: !0,
308
- displayCategoryOnDataLabel: !0,
309
- displayNumericValueOnLegend: !1,
310
- displayNumericValueOnDataLabel: !0,
311
- displayNumericValueOnTooltip: !0,
312
- displayPercentageOnLegend: !1,
313
- displayPercentageOnDataLabel: !1,
314
- displayPercentageOnTooltip: !0,
315
- sliceGrouping: {
316
- sliceId: q.defaultGroupOfSlicesId,
317
- percentageThreshold: 0,
318
- // 0 means no grouping
319
- fillSymbol: {
320
- type: y.SFS,
321
- color: [210, 210, 210, 255 * $]
322
- // light grey, 70% opacity
117
+ };
118
+ }
119
+ function k(t = 1) {
120
+ return [
121
+ Math.floor(Math.random() * 256),
122
+ Math.floor(Math.random() * 256),
123
+ Math.floor(Math.random() * 256),
124
+ t * 255
125
+ ];
126
+ }
127
+ function n(t) {
128
+ const e = {
129
+ family: "Arial, Helvetica, sans-serif",
130
+ size: 10
131
+ };
132
+ switch (t) {
133
+ case s.ChartTitle:
134
+ e.size = 18;
135
+ break;
136
+ case s.AxisTitle:
137
+ e.size = 14;
138
+ break;
139
+ case s.LegendText:
140
+ e.size = 12;
141
+ break;
142
+ case s.LegendTitle:
143
+ e.size = 13;
144
+ break;
145
+ case s.DescriptionText:
146
+ e.size = 11;
147
+ break;
148
+ }
149
+ return e;
150
+ }
151
+ function U(t = "", e = n(), r) {
152
+ let l = "center";
153
+ return (r === s.DataLabels || r === s.GuideLabel) && (l = void 0), {
154
+ type: m.TS,
155
+ color: q(),
156
+ text: t,
157
+ font: e,
158
+ horizontalAlignment: l
159
+ };
160
+ }
161
+ function o(t) {
162
+ const { text: e, visible: r, font: l, type: S } = t ?? {
163
+ text: "",
164
+ visible: !0,
165
+ font: n()
166
+ };
167
+ return {
168
+ type: a.Text,
169
+ visible: r,
170
+ content: U(e, l, S)
171
+ };
172
+ }
173
+ function B(t) {
174
+ const e = t?.useRandomColor ?? !1, r = t?.useRampColor, l = t?.width ?? 1, S = t?.isHistogramOverlay;
175
+ let c = t?.color ?? q(1);
176
+ return e ? c = k() : r !== void 0 && (S === !0 ? c = x({
177
+ colorIndex: r.colorIndex,
178
+ histogramOverlays: S
179
+ }) : c = x({ colorIndex: r.colorIndex })), t?.opacity !== void 0 && (c[3] = t.opacity), {
180
+ type: m.SLS,
181
+ style: L.Solid,
182
+ color: c,
183
+ width: l
184
+ };
185
+ }
186
+ function ae() {
187
+ return {
188
+ type: a.CategoryAxisFormat,
189
+ characterLimit: 11
190
+ };
191
+ }
192
+ function Ee() {
193
+ return {
194
+ type: a.DateAxisFormat,
195
+ intlOptions: {}
196
+ };
197
+ }
198
+ function O() {
199
+ return {
200
+ type: a.NumberAxisFormat,
201
+ intlOptions: {
202
+ style: "decimal",
203
+ minimumFractionDigits: 0,
204
+ maximumFractionDigits: 3,
205
+ useGrouping: !0
206
+ }
207
+ };
208
+ }
209
+ function Ge() {
210
+ return {
211
+ type: a.NumberAxisFormat,
212
+ intlOptions: {
213
+ style: "decimal",
214
+ minimumFractionDigits: 0,
215
+ maximumFractionDigits: 2
216
+ }
217
+ };
218
+ }
219
+ function Ve() {
220
+ return {
221
+ type: a.NumberAxisFormat,
222
+ intlOptions: {
223
+ style: "percent",
224
+ minimumFractionDigits: 0,
225
+ maximumFractionDigits: 0
226
+ }
227
+ };
228
+ }
229
+ function A(t = "Category Axis") {
230
+ const e = o({
231
+ text: t,
232
+ visible: !0,
233
+ font: n(s.AxisTitle)
234
+ });
235
+ e.content.horizontalAlignment = "center", e.content.verticalAlignment = "middle";
236
+ const r = o({
237
+ text: t,
238
+ visible: !0,
239
+ font: n(s.AxisLabels)
240
+ });
241
+ return {
242
+ type: a.Axis,
243
+ visible: !0,
244
+ title: e,
245
+ labels: r,
246
+ valueFormat: ae(),
247
+ lineSymbol: B({ color: M })
248
+ };
249
+ }
250
+ function _(t = "Value Axis") {
251
+ const e = o({
252
+ text: t,
253
+ visible: !0,
254
+ font: n(s.AxisTitle)
255
+ }), r = o({
256
+ text: t,
257
+ visible: !0,
258
+ font: n(s.AxisLabels)
259
+ });
260
+ return e.content.verticalAlignment = "middle", e.content.horizontalAlignment = "center", {
261
+ type: a.Axis,
262
+ visible: !0,
263
+ title: e,
264
+ labels: r,
265
+ valueFormat: O(),
266
+ lineSymbol: B({ color: M })
267
+ };
268
+ }
269
+ function h() {
270
+ return {
271
+ type: a.Legend,
272
+ visible: !0,
273
+ title: o({
274
+ text: "",
275
+ visible: !0,
276
+ font: n(s.LegendTitle)
277
+ }),
278
+ body: U("", n(s.LegendText)),
279
+ position: w.Right
280
+ };
281
+ }
282
+ function F(t) {
283
+ return {
284
+ type: a.Overlay,
285
+ visible: !0,
286
+ created: !1,
287
+ symbol: B({
288
+ useRampColor: { colorIndex: t },
289
+ isHistogramOverlay: !0
290
+ })
291
+ };
292
+ }
293
+ function b() {
294
+ return [255, 255, 255, 255];
295
+ }
296
+ function f(t) {
297
+ return t.utilsStrings.chartType.chart;
298
+ }
299
+ function g() {
300
+ return `Chart ${Date.now()}`;
301
+ }
302
+ function We(t, e = !1) {
303
+ return {
304
+ type: m.SFS,
305
+ style: y.Solid,
306
+ color: e ? k(d) : x({
307
+ colorIndex: t ?? 0,
308
+ opacity: d
309
+ })
310
+ };
311
+ }
312
+ function re(t = 0) {
313
+ return {
314
+ type: m.SMS,
315
+ style: N.Circle,
316
+ color: x({
317
+ colorIndex: t,
318
+ opacity: d
319
+ }),
320
+ size: 4
321
+ // this default is consistent with the rule that it equals 2 * line width
322
+ };
323
+ }
324
+ function ie(t) {
325
+ return {
326
+ type: m.SLS,
327
+ style: L.Solid,
328
+ color: x({
329
+ colorIndex: t,
330
+ opacity: d
331
+ }),
332
+ width: 2
333
+ };
334
+ }
335
+ function se(t = !1) {
336
+ return {
337
+ type: m.SMS,
338
+ style: N.Circle,
339
+ color: t ? k(d) : x({ colorIndex: 0, opacity: d }),
340
+ size: 7
341
+ };
342
+ }
343
+ function je() {
344
+ return {
345
+ type: a.SizePolicy,
346
+ field: "",
347
+ scaleType: j.Linear,
348
+ minSize: 5,
349
+ maxSize: 30
350
+ };
351
+ }
352
+ function oe(t = !1) {
353
+ return {
354
+ type: a.Overlays,
355
+ trendLine: {
356
+ type: a.Overlay,
357
+ created: !1,
358
+ visible: !0,
359
+ symbol: {
360
+ type: m.SLS,
361
+ style: L.Solid,
362
+ color: t ? k() : x({ colorIndex: 1 }),
363
+ width: 2
323
364
  }
365
+ }
366
+ };
367
+ }
368
+ function ne(t, e) {
369
+ const r = t.countSeries;
370
+ return {
371
+ type: a.HeatSeries,
372
+ id: r,
373
+ name: r,
374
+ y: "",
375
+ x: "",
376
+ dataLabels: o({
377
+ text: "",
378
+ visible: !1,
379
+ font: n(s.DataLabels)
380
+ }),
381
+ query: {
382
+ outStatistics: [
383
+ {
384
+ statisticType: u.Count,
385
+ onStatisticField: e ?? "ObjectID",
386
+ outStatisticFieldName: `${u.Count}_${e}_0`.toUpperCase()
387
+ }
388
+ ],
389
+ groupByFieldsForStatistics: []
324
390
  },
325
- defaultPadding: 0,
326
- alignDataLabels: !1,
327
- ticksOpacity: 1,
328
- minimumSize: 20,
329
- technicalFieldSliceId: "arcgis_charts_slice_id",
330
- technicalFieldSlicePercent: "arcgis_charts_slice_percent",
331
- technicalFieldGroupedSlices: "arcgis_charts_grouped_slices"
332
- },
333
- pieSliceCustomLabelName: "customLabel",
334
- yAxisLabelMaxWidth: 100,
335
- xAxisLabelMaxWidth: 75,
336
- axisLabelPadding: 1.5,
337
- categoryAxisLabelPadding: 3,
338
- seriesSort: b.Ascending,
339
- technicalSortingFieldBySum: "arcgis_charts_category_sum",
340
- technicalSortingFieldByPercent: "arcgis_charts_category_first_series_percent",
341
- technicalFieldSplitByField: "arcgis_charts_split_by_field",
342
- color: [0, 0, 0, 255],
343
- chartEllipsis: "...",
344
- backgroundColor: [255, 255, 255, 255],
345
- grayColor: C,
346
- // medium gray
347
- xAxisMinGridDistance: 120,
348
- xCategoryAxisMinGridDistance: 40,
349
- yAxisMinGridDistance: 40,
350
- yCategoryAxisMinGridDistance: 20,
351
- secondRotatedValueAxisMinGridDistance: 80,
352
- staggerMinGridDistance: 40,
353
- shortestMinGridDistance: 20,
354
- maxNumberOfXAxisLabelsInWrapModeForDateAxis: 15,
355
- maxNumberOfXAxisLabelsInWrapMode: 20,
356
- lineWidth: 1,
357
- loaderRotationSpeed: 400,
358
- loaderIntervalTimeout: 400,
359
- loaderLabelFontSize: 20,
360
- selectionTheme: {
361
- selectedElementsTheme: {
362
- elementOutlineColor: [0, 255, 255, 255],
363
- elementOutlineWidth: 5
391
+ emptyCells: {
392
+ symbol: {
393
+ type: m.SFS,
394
+ style: y.Solid,
395
+ color: H
396
+ },
397
+ text: t.utilsStrings.null
364
398
  }
365
- },
366
- columnTooltipPosition: "pointer",
367
- guideTooltipPosition: "pointer",
368
- markerTooltipPosition: "fixed",
369
- sliceTooltipPosition: "fixed",
370
- patternLineProperties: {
371
- width: 5,
372
- height: 5,
373
- strokeWidth: 1,
374
- tileSize: 50,
375
- diagonalTileSize: 1200
376
- },
377
- patternRectProperties: {
378
- rectWidth: 9,
379
- rectHeight: 9,
380
- width: 10,
381
- height: 10,
382
- strokeWidth: 0.3,
383
- fillOpacity: 0
384
- },
385
- originalCategoryValue: "arcgis_charts_original_category_value",
386
- originalYCategoryValue: "arcgis_charts_original_category_y_value",
387
- originalDateValue: "arcgis_charts_original_date_value",
388
- dateBinningRange: "arcgis_charts_bin_range",
389
- originalServerBinningRange: "arcgis_charts_server_bin_range",
390
- dateBinModel: "arcgis_charts_bin_model",
391
- xAxisField: "arcgis_charts_axis_field",
392
- nullValue: "arcgis_charts_null",
393
- queryMaxFloatPrecision: 10,
394
- dateFormatUTC: {
395
- timeZone: "UTC",
396
- year: "numeric",
397
- month: "numeric",
398
- day: "numeric",
399
- hour: "numeric",
400
- minute: "numeric",
401
- second: "numeric",
402
- hour12: !1
403
- },
404
- dayDefaultFormat: {
405
- day: "numeric",
406
- month: "short"
407
- },
408
- weekDefaultFormat: {
409
- day: "numeric",
410
- month: "short"
411
- },
412
- rendererOtherValue: "arcgisChartsrendererOtherValue",
413
- rendererSymbolField: "arcgis_charts_renderer_symbol",
414
- rendererSymbolFieldForHistogram: "symbol",
415
- scatterplotAggregationFields: {
416
- dataContextXMinField: "arcgis_charts_xmin",
417
- dataContextXMaxField: "arcgis_charts_xmax",
418
- dataContextYMinField: "arcgis_charts_ymin",
419
- dataContextYMaxField: "arcgis_charts_ymax",
420
- dataContextCountDistinctX: "distinctX",
421
- dataContextCountDistinctY: "distinctY",
422
- queryNumberOfFeatures: "numberOfFeatures",
423
- queryNumberOfAggregatedFeatures: "numberOfAggregatedFeatures",
424
- xStep: "xStep",
425
- yStep: "yStep",
426
- rowCount: "rowCount",
427
- columnCount: "columnCount",
428
- realGridSize: "realGridSize"
429
- },
430
- dataTooltipVisible: !0,
431
- dataTooltipStyle: {
432
- outline: {
433
- type: y.SLS,
434
- color: [255, 255, 255, 255],
435
- width: 1
399
+ };
400
+ }
401
+ function le() {
402
+ return {
403
+ type: a.ScatterSeries,
404
+ id: a.ScatterSeries,
405
+ name: a.ScatterSeries,
406
+ x: "",
407
+ y: "",
408
+ markerSymbol: se(),
409
+ overlays: oe(),
410
+ dataLabels: o({
411
+ text: "",
412
+ visible: !1,
413
+ font: n(s.DataLabels)
414
+ })
415
+ };
416
+ }
417
+ function T(t, e) {
418
+ const r = [], l = t.xAxis, S = t.utilsStrings.statistics.count;
419
+ let c, p;
420
+ const v = B({
421
+ opacity: X
422
+ });
423
+ switch (e === a.HeatSeries ? p = A(S) : (p = _(S), p.grid = v), e) {
424
+ case a.BarSeries:
425
+ case a.HeatSeries: {
426
+ c = A(l);
427
+ break;
436
428
  }
437
- },
438
- dataTooltipStyleReversed: {
439
- color: [255, 255, 255, 255],
440
- outline: {
441
- type: y.SLS,
442
- width: 3
429
+ case a.ScatterSeries: {
430
+ c = _(l), c.grid = v;
431
+ break;
443
432
  }
444
- },
445
- tooltipWidth: 300,
446
- axisLabelOveredOpacity: 0.5,
447
- // 50% of original opacity
448
- generalFontSize: 10,
449
- actionMode: ne.MultiSelectionWithCtrlKey,
450
- debounceTime: 100,
451
- // 100 ms
452
- chartDefaultPaddingRight: 0,
453
- // 0 px default chart's plotting area right padding
454
- htmlEmptyContent: "<p></p>",
455
- boxPlot: {
456
- boxPlotCategory: "arcgis_charts_box_plot_category",
457
- boxPlotOutliersSuffix: "_arcgis_charts_outliers",
458
- boxPlotOutliersVisibility: !1,
459
- boxPlotStandardizeValuesVisibility: !1,
460
- boxPlotOutliersSize: 4,
461
- boxPlotLineWidth: 2,
462
- boxPlotOutlierId: "is_arcgis_charts_outlier",
463
- boxPlotMeanLineMarkerId: "is_arcgis_charts_mean_marker",
464
- boxPlotWhiskersColor: [153, 153, 153, 178.5],
465
- boxPlotTooltipLabelWidth: 250
466
- },
467
- binTemporalData: !0,
468
- lastTemporalBin: "is_arcgis_charts_last_bin",
469
- options: {
470
- hideEmptySeries: !0,
471
- showEmptySeries: !1,
472
- replaceNoValueCategoryWithZero: !0,
473
- hideZeroCountCategories: !1,
474
- autoInverseDataLabelTextColor: !1
475
- },
476
- nullCategory: {
477
- text: "null",
478
- symbol: {
479
- type: y.SFS,
480
- color: C,
481
- outline: {
482
- type: y.SLS,
483
- style: T.Solid,
484
- color: C,
485
- width: 1
486
- }
433
+ case a.RadarSeries:
434
+ case a.LineSeries:
435
+ case a.HistogramSeries: {
436
+ c = _(l);
437
+ break;
438
+ }
439
+ case a.BoxPlotSeries: {
440
+ c = A("");
441
+ break;
487
442
  }
488
- },
489
- classBreaks: {
490
- breaksCount: 5
491
- }
492
- }, h = {
493
- // chart with no specific subtype
494
- NonSpecific: "nonSpecific",
495
- // non aggregated bar/line chart
496
- BarAndLineNoAggregation: "barAndLineNoAggregation",
497
- // mono-series bar/line chart with one numeric field and a category
498
- BarAndLineMonoField: "barAndLineMonoField",
499
- // multi-series bar/line chart with numeric fields and a category
500
- BarAndLineMultiFields: "barAndLineMultiFields",
501
- // mono-series bar/line chart from numeric fields, no category
502
- BarAndLineFromFields: "barAndLineFromFields",
503
- // bar/line chart with split-by field and a category
504
- BarAndLineSplitBy: "barAndLineSplitBy",
505
- // non aggregated bar/line chart with split-by field and a category
506
- BarAndLineSplitByNoAggregation: "barAndLineSplitByNoAggregation",
507
- // non aggregated pie chart
508
- PieNoAggregation: "pieNoAggregation",
509
- // pie chart with a category
510
- PieFromCategory: "pieFromCategory",
511
- // pie chart from numeric fields
512
- PieFromFields: "pieFromFields",
513
- // box plot with a numeric field, no category
514
- BoxPlotMonoField: "boxPlotMonoField",
515
- // box plot with multiple numeric fields, no category
516
- BoxPlotMultiFields: "boxPlotMultiFields",
517
- // box plot with a numeric field and a category
518
- BoxPlotMonoFieldAndCategory: "boxPlotMonoFieldAndCategory",
519
- // box plot with multiple numeric fields and a category
520
- BoxPlotMultiFieldsAndCategory: "boxPlotMultiFieldsAndCategory",
521
- // box plot with a numeric field and a split-by field
522
- BoxPlotMonoFieldAndSplitBy: "boxPlotMonoFieldAndSplitBy",
523
- // box plot with multiple numeric fields and a split-by field
524
- BoxPlotMultiFieldsAndSplitBy: "boxPlotMultiFieldsAndSplitBy",
525
- // box plot with a numeric field, a category and a split-by field
526
- BoxPlotMonoFieldAndCategoryAndSplitBy: "boxPlotMonoFieldAndCategoryAndSplitBy"
527
- }, be = {
528
- SelectionByClick: "SelectionByClick",
529
- SelectionByRange: "SelectionByRange",
530
- ProgrammaticSelection: "ProgrammaticSelection",
531
- ClearSelection: "ClearSelection"
532
- };
533
- function fe(t) {
534
- return t?.colorMatch ?? !1;
535
- }
536
- function Ce(t) {
537
- let e = L();
538
- if (t !== void 0) {
539
- const i = S(t.series);
540
- (i === n.BarSeries || i === n.LineSeries || i === n.ComboLineAndBarSeries || i === n.BoxPlotSeries) && (e = t.rotated ?? L());
541
443
  }
542
- return e;
444
+ return c !== void 0 && r.push(c, p), r;
445
+ }
446
+ function ue() {
447
+ return {
448
+ type: a.GaugeNeedle,
449
+ symbol: {
450
+ type: m.SFS,
451
+ color: [0, 0, 0, 200]
452
+ }
453
+ };
543
454
  }
544
- function xe(t) {
545
- return t?.map((e) => e.type) ?? [];
455
+ function $e() {
456
+ return {
457
+ type: m.SFS,
458
+ style: y.Solid,
459
+ color: H
460
+ };
546
461
  }
547
- function Le(t) {
548
- let e = t?.stackedType;
549
- if (e === void 0 && t !== void 0) {
550
- const i = S(t.series);
551
- (i === n.BarSeries || i === n.LineSeries || i === n.ComboLineAndBarSeries || i === n.RadarSeries) && (e = Y());
552
- }
553
- return e;
462
+ function Qe() {
463
+ return {
464
+ type: m.SFS,
465
+ style: y.Solid,
466
+ color: [255, 205, 130, 255]
467
+ // light orange
468
+ };
554
469
  }
555
- function se(t) {
556
- let e = t;
557
- return e = e.replace(/'/gu, "''"), e = e.replace(/[/\\"|[\]\\]/gu, "\\$&"), e;
470
+ function ce(t) {
471
+ const e = [], r = t.xAxis, l = _(r);
472
+ return l.needle = ue(), e.push(l), e;
558
473
  }
559
- function le(t) {
560
- let e = !1;
561
- if (typeof t != "number") {
562
- const i = new Intl.Segmenter();
563
- e = Array.from(i.segment(t), (a) => a.segment).some((a) => a.charCodeAt(0) > 255);
564
- }
565
- return e;
474
+ function me(t) {
475
+ const e = t.commonStrings, r = t.objectIDField ?? "ObjectID", l = `${u.Count}_${r}_0`.toUpperCase(), S = e.countSeries;
476
+ return {
477
+ type: a.LineSeries,
478
+ id: S,
479
+ name: S,
480
+ query: {
481
+ outStatistics: [
482
+ {
483
+ statisticType: u.Count,
484
+ onStatisticField: r,
485
+ outStatisticFieldName: l
486
+ }
487
+ ],
488
+ groupByFieldsForStatistics: []
489
+ },
490
+ x: "",
491
+ y: l,
492
+ lineSymbol: ie(t.seriesIndex),
493
+ markerSymbol: re(t.seriesIndex),
494
+ dataLabels: o({
495
+ text: "",
496
+ visible: !1,
497
+ font: n(s.DataLabels)
498
+ }),
499
+ temporalBinning: {
500
+ unit: Q.Day,
501
+ size: 0,
502
+ timeAggregationType: R.Start,
503
+ trimIncompleteTimeInterval: !0,
504
+ nullPolicy: $.Interpolate
505
+ }
506
+ };
566
507
  }
567
- function Te(t) {
568
- let e = t, i = "";
569
- t.startsWith("'") && t.endsWith("'") && (e = t.slice(1, -1), i = "'"), e = e.replace(/'/gu, "''");
570
- let r = "";
571
- return le(e) && (r = "N"), `${r}${i}${e}${i}`;
572
- }
573
- function Be(t) {
574
- const { value: e, keepSurroundingQuotes: i, escape: r } = t;
575
- let a = e?.trim();
576
- if (!P(a)) {
577
- let s = "";
578
- a.startsWith("'") && a.endsWith("'") && (a = a.slice(1, -1), i && (s = "'")), r && (a = se(a)), a = `${s}${a}${s}`;
579
- }
580
- return a;
581
- }
582
- function Ae(t) {
583
- const { count: e, seriesCount: i, chartType: r, chartLimits: a } = t, { behaviorAfterLimit: s } = a ?? {};
584
- let o = !0;
585
- if (s !== Q.RenderUpToTheLimit) {
586
- const {
587
- maxBarChartSeriesCount: u,
588
- maxBarUniqueSeriesCountTotal: l,
589
- maxBarTwoSeriesCountPerSeries: d,
590
- maxBarTwoSeriesCountTotal: m,
591
- maxBarThreePlusSeriesCountPerSeries: f,
592
- maxBarThreePlusSeriesCountTotal: F,
593
- maxLineChartSeriesCount: v,
594
- maxLineUniqueSeriesCountTotal: M,
595
- maxLineTwoSeriesCountPerSeries: k,
596
- maxLineTwoSeriesCountTotal: O,
597
- maxLineThreePlusSeriesCountPerSeries: R,
598
- maxLineThreePlusSeriesCountTotal: w,
599
- maxPieChartSliceCountTotal: N,
600
- maxGaugeByFeaturesLimit: z,
601
- maxBoxPlotSeriesCount: I,
602
- maxBoxUniqueSeriesCountTotal: D,
603
- maxBoxTwoSeriesCountTotal: W,
604
- maxBoxTwoSeriesCountPerSeries: V,
605
- maxBoxThreePlusSeriesCountTotal: E,
606
- maxBoxThreePlusSeriesCountPerSeries: G,
607
- maxHeatChartCellLimit: H
608
- } = Z(a);
609
- switch (r) {
610
- case n.BarSeries:
611
- case n.ComboLineAndBarSeries:
508
+ function Je(t) {
509
+ return { ...me(t), type: a.RadarSeries };
510
+ }
511
+ function Se(t) {
512
+ return {
513
+ type: m.SFS,
514
+ style: y.Solid,
515
+ color: x({
516
+ colorIndex: t,
517
+ opacity: d
518
+ })
519
+ };
520
+ }
521
+ function Ke(t) {
522
+ const e = t.objectIDField ?? "*", r = t.commonStrings, l = `${u.Count}_Y_0`.toUpperCase(), S = r.countSeries;
523
+ return {
524
+ type: a.BarSeries,
525
+ id: S,
526
+ name: S,
527
+ query: {
528
+ outStatistics: [
612
529
  {
613
- const g = e / i;
614
- i <= u ? i === 0 ? o = !0 : i === 1 ? o = e <= l : i === 2 ? o = e <= m && g <= d : i > 2 && (o = e <= F && g <= f) : o = !1;
530
+ statisticType: u.Count,
531
+ onStatisticField: e,
532
+ outStatisticFieldName: l
615
533
  }
616
- break;
617
- case n.LineSeries:
618
- case n.RadarSeries:
534
+ ],
535
+ groupByFieldsForStatistics: []
536
+ },
537
+ x: "",
538
+ y: l,
539
+ fillSymbol: Se(t.seriesIndex),
540
+ dataLabels: o({
541
+ text: "",
542
+ visible: !1,
543
+ font: n(s.DataLabels),
544
+ type: s.DataLabels
545
+ })
546
+ };
547
+ }
548
+ function Xe(t, e) {
549
+ const r = t.countSeries;
550
+ return {
551
+ name: r,
552
+ type: a.BoxPlotSeries,
553
+ id: r,
554
+ fillSymbol: {
555
+ type: m.SFS,
556
+ style: y.Solid,
557
+ color: x({
558
+ colorIndex: e,
559
+ opacity: d
560
+ })
561
+ },
562
+ query: {},
563
+ x: Z,
564
+ y: ""
565
+ };
566
+ }
567
+ function de() {
568
+ return {
569
+ type: a.PieTick,
570
+ visible: !0,
571
+ lineSymbol: B({
572
+ width: 1,
573
+ color: Y
574
+ })
575
+ };
576
+ }
577
+ function xe() {
578
+ return {
579
+ type: m.SFS,
580
+ style: y.Solid
581
+ };
582
+ }
583
+ function Ye(t, e) {
584
+ const r = `${u.Count}_${e}_0`.toUpperCase(), l = t.countSeries;
585
+ return {
586
+ type: a.PieSeries,
587
+ id: l,
588
+ name: l,
589
+ query: {
590
+ outStatistics: [
619
591
  {
620
- const g = e / i;
621
- i <= v ? i === 0 ? o = !0 : i === 1 ? o = e <= M : i === 2 ? o = e <= O && g <= k : i > 2 && (o = e <= w && g <= R) : o = !1;
592
+ statisticType: u.Count,
593
+ onStatisticField: e ?? "ObjectID",
594
+ outStatisticFieldName: r
622
595
  }
623
- break;
624
- case n.PieSeries:
625
- o = e <= N;
626
- break;
627
- case n.BoxPlotSeries:
596
+ ],
597
+ groupByFieldsForStatistics: []
598
+ },
599
+ x: "",
600
+ y: r,
601
+ fillSymbol: xe(),
602
+ dataLabels: o({
603
+ text: "",
604
+ visible: !1,
605
+ font: n(s.DataLabels),
606
+ type: s.DataLabels
607
+ }),
608
+ startAngle: -90,
609
+ endAngle: 270,
610
+ dataLabelsCharacterLimit: 11,
611
+ displayCategoryOnDataLabel: !0,
612
+ displayNumericValueOnDataLabel: !1,
613
+ displayPercentageOnDataLabel: !0,
614
+ numericValueFormat: {
615
+ ...O(),
616
+ intlOptions: {
617
+ minimumFractionDigits: 1,
618
+ maximumFractionDigits: 1
619
+ }
620
+ },
621
+ percentValueFormat: {
622
+ ...O(),
623
+ intlOptions: {
624
+ minimumFractionDigits: 1,
625
+ maximumFractionDigits: 1
626
+ }
627
+ },
628
+ ticks: de()
629
+ };
630
+ }
631
+ function Ze(t) {
632
+ const e = t.objectIDField ?? "ObjectID", r = `${u.Count}_${e}_0`.toUpperCase(), l = "Series0";
633
+ return {
634
+ type: a.GaugeSeries,
635
+ id: l,
636
+ name: l,
637
+ query: {
638
+ outStatistics: [
628
639
  {
629
- const g = e / i;
630
- i <= I ? i === 0 ? o = !0 : i === 1 ? o = e <= D : i === 2 ? o = e <= W && g <= V : i > 2 && (o = e <= E && g <= G) : o = !1;
640
+ statisticType: u.Count,
641
+ onStatisticField: e,
642
+ outStatisticFieldName: r
631
643
  }
632
- break;
633
- case n.HeatSeries:
634
- o = e <= H;
635
- break;
636
- case n.GaugeSeries:
637
- o = e <= z;
638
- break;
639
- }
640
- }
641
- return o;
642
- }
643
- function _e(t = [], e) {
644
- const i = t.find((r) => r.name === e)?.alias;
645
- return i !== "" ? i ?? e : e;
646
- }
647
- function Pe(t = [], e) {
648
- const i = t.find((r) => r.alias === e)?.name;
649
- return i !== "" ? i ?? e : e;
650
- }
651
- function Fe(t) {
652
- let e = !1;
653
- switch (S(t)) {
654
- case n.HeatSeries:
655
- case n.PieSeries:
656
- e = !0;
657
- break;
658
- case n.BarSeries:
659
- case n.LineSeries:
660
- case n.RadarSeries:
661
- case n.ComboLineAndBarSeries:
662
- case n.BoxPlotSeries:
663
- e = t.length > 1;
664
- break;
665
- case n.HistogramSeries:
666
- case n.ScatterSeries: {
667
- const r = t[0];
668
- e = r.overlays !== void 0 && Object.values(r.overlays).some((a) => a.created === !0);
669
- break;
670
- }
671
- }
672
- return e;
644
+ ]
645
+ },
646
+ x: ""
647
+ };
673
648
  }
674
- function B(t) {
675
- let e = !0;
676
- return S(t.series) === n.ScatterSeries && (e = t.series.length === 1), e;
677
- }
678
- function A(t) {
679
- let e = !0;
680
- return S(t.series) === n.HistogramSeries && (e = t.series.length <= 1 && t.series[0].type === n.HistogramSeries && (!("dataTransformationType" in t.series[0]) || t.series[0].dataTransformationType !== void 0 && Object.values(ae).includes(t.series[0].dataTransformationType))), e;
681
- }
682
- function _(t) {
683
- let e = !0;
684
- return S(t.series) === n.PieSeries && (e = t.series.length <= 1), e;
685
- }
686
- function ve(t, e) {
687
- const i = S(e?.series);
688
- let r = i !== void 0 && t.includes(i);
689
- if (r && e !== void 0)
690
- switch (i) {
691
- case n.HistogramSeries:
692
- r = A(e);
693
- break;
694
- case n.ScatterSeries:
695
- r = B(e);
696
- break;
697
- case n.PieSeries:
698
- r = _(e);
699
- break;
649
+ function I() {
650
+ return !1;
651
+ }
652
+ function et(t, e = g()) {
653
+ return {
654
+ version: C,
655
+ type: a.Chart,
656
+ id: e,
657
+ colorMatch: !0,
658
+ rotated: I(),
659
+ orderOptions: {
660
+ data: {
661
+ orderType: P.Category,
662
+ orderBy: D.Ascending
663
+ }
664
+ },
665
+ title: o({
666
+ text: f(t),
667
+ visible: !0,
668
+ font: n(s.ChartTitle)
669
+ }),
670
+ subtitle: o(),
671
+ footer: o({
672
+ text: "",
673
+ visible: !0,
674
+ font: n(s.DescriptionText)
675
+ }),
676
+ background: b(),
677
+ axes: T(t, a.BarSeries),
678
+ series: [],
679
+ legend: h()
680
+ };
681
+ }
682
+ function tt(t, e = g()) {
683
+ return {
684
+ version: C,
685
+ type: a.Chart,
686
+ id: e,
687
+ rotated: I(),
688
+ colorMatch: !0,
689
+ orderOptions: {
690
+ data: {
691
+ orderType: P.Category,
692
+ orderBy: D.Ascending
693
+ }
694
+ },
695
+ title: o({
696
+ text: f(t),
697
+ visible: !0,
698
+ font: n(s.ChartTitle)
699
+ }),
700
+ subtitle: o(),
701
+ footer: o({
702
+ text: "",
703
+ visible: !0,
704
+ font: n(s.DescriptionText)
705
+ }),
706
+ background: b(),
707
+ series: [],
708
+ legend: h(),
709
+ axes: T(t, a.BoxPlotSeries),
710
+ standardizeValues: !0,
711
+ showOutliers: !1
712
+ };
713
+ }
714
+ function at(t, e = g()) {
715
+ return {
716
+ version: C,
717
+ type: a.Chart,
718
+ id: e,
719
+ colorMatch: !0,
720
+ rotated: I(),
721
+ orderOptions: {
722
+ data: {
723
+ orderType: P.Category,
724
+ orderBy: D.Ascending
725
+ }
726
+ },
727
+ title: o({
728
+ text: f(t),
729
+ visible: !0,
730
+ font: n(s.ChartTitle)
731
+ }),
732
+ subtitle: o(),
733
+ footer: o({
734
+ text: "",
735
+ visible: !0,
736
+ font: n(s.DescriptionText)
737
+ }),
738
+ background: b(),
739
+ axes: T(t, a.LineSeries),
740
+ series: [],
741
+ legend: h()
742
+ };
743
+ }
744
+ function rt(t, e = g()) {
745
+ return {
746
+ version: C,
747
+ type: a.Chart,
748
+ id: e,
749
+ colorMatch: !0,
750
+ orderOptions: {
751
+ data: {
752
+ orderType: P.Category,
753
+ orderBy: D.Ascending
754
+ }
755
+ },
756
+ title: o({
757
+ text: f(t),
758
+ visible: !0,
759
+ font: n(s.ChartTitle)
760
+ }),
761
+ subtitle: o(),
762
+ footer: o({
763
+ text: "",
764
+ visible: !0,
765
+ font: n(s.DescriptionText)
766
+ }),
767
+ background: b(),
768
+ axes: T(t, a.RadarSeries),
769
+ series: [],
770
+ legend: h()
771
+ };
772
+ }
773
+ function it(t, e = g()) {
774
+ return {
775
+ version: C,
776
+ type: a.Chart,
777
+ id: e,
778
+ colorMatch: !0,
779
+ orderOptions: {
780
+ data: {
781
+ orderType: P.YValue,
782
+ orderBy: D.Descending
783
+ }
784
+ },
785
+ title: o({
786
+ text: f(t),
787
+ visible: !0,
788
+ font: n(s.ChartTitle)
789
+ }),
790
+ subtitle: o(),
791
+ footer: o({
792
+ text: "",
793
+ visible: !0,
794
+ font: n(s.DescriptionText)
795
+ }),
796
+ background: b(),
797
+ series: [],
798
+ legend: {
799
+ ...h(),
800
+ displayNumericValue: !1,
801
+ displayPercentage: !0
700
802
  }
701
- return r;
803
+ };
804
+ }
805
+ function st(t, e = g()) {
806
+ return {
807
+ version: C,
808
+ type: a.Chart,
809
+ id: e,
810
+ colorMatch: !0,
811
+ title: o({
812
+ text: f(t),
813
+ visible: !0,
814
+ font: n(s.ChartTitle)
815
+ }),
816
+ series: [],
817
+ axes: ce(t)
818
+ };
702
819
  }
703
- function P(t) {
704
- return t == null || typeof t == "string" && t.trim() === "";
820
+ function ot(t, e = g()) {
821
+ return {
822
+ version: C,
823
+ type: a.Chart,
824
+ id: e,
825
+ colorMatch: !0,
826
+ title: o({
827
+ text: f(t),
828
+ visible: !0,
829
+ font: n(s.ChartTitle)
830
+ }),
831
+ subtitle: o(),
832
+ footer: o({
833
+ text: "",
834
+ visible: !0,
835
+ font: n(s.DescriptionText)
836
+ }),
837
+ background: b(),
838
+ axes: T(t, a.ScatterSeries),
839
+ series: [le()],
840
+ legend: h()
841
+ };
705
842
  }
706
- function de(t, e) {
707
- const i = e.find((a) => a in t);
708
- return { isInItem: i !== void 0, expr: i };
843
+ function nt(t, e) {
844
+ return {
845
+ version: C,
846
+ type: a.Chart,
847
+ id: g(),
848
+ title: o({
849
+ text: f(t),
850
+ visible: !0,
851
+ font: n(s.ChartTitle)
852
+ }),
853
+ background: b(),
854
+ axes: T(t, a.HeatSeries),
855
+ series: [ne(t, e)],
856
+ legend: { ...h(), position: w.Bottom }
857
+ };
709
858
  }
710
- function Me(t) {
711
- return de(t, J);
859
+ function ge() {
860
+ return {
861
+ type: a.Overlays,
862
+ mean: F(1),
863
+ median: F(2),
864
+ standardDeviation: F(3),
865
+ comparisonDistribution: F(4)
866
+ };
712
867
  }
713
- function ke(t, e) {
714
- let i;
868
+ function Ce() {
869
+ return {
870
+ type: m.SFS,
871
+ style: y.Solid,
872
+ color: x({ colorIndex: 0, opacity: d })
873
+ };
874
+ }
875
+ function fe() {
876
+ return {
877
+ type: a.HistogramSeries,
878
+ id: a.HistogramSeries,
879
+ name: a.HistogramSeries,
880
+ visible: !0,
881
+ dataTooltipVisible: !0,
882
+ dataTooltipReverseColor: !1,
883
+ assignToSecondValueAxis: !1,
884
+ x: "",
885
+ binCount: 32,
886
+ overlays: ge(),
887
+ dataTransformationType: J.None,
888
+ fillSymbol: Ce(),
889
+ dataLabels: o({
890
+ text: "",
891
+ visible: !1,
892
+ font: n(s.DataLabels)
893
+ })
894
+ };
895
+ }
896
+ function lt(t, e = g()) {
897
+ return {
898
+ version: C,
899
+ type: a.Chart,
900
+ id: e,
901
+ colorMatch: !0,
902
+ title: o({
903
+ text: f(t),
904
+ visible: !0,
905
+ font: n(s.ChartTitle)
906
+ }),
907
+ subtitle: o(),
908
+ footer: o({
909
+ text: "",
910
+ visible: !0,
911
+ font: n(s.DescriptionText)
912
+ }),
913
+ background: b(),
914
+ axes: T(t, a.HistogramSeries),
915
+ series: [fe()],
916
+ legend: h()
917
+ };
918
+ }
919
+ const i = {
920
+ // chart's behavior once the limit is reached
921
+ behaviorAfterLimit: K.Reject,
922
+ // maximum number of categories for any chart.
923
+ maxCategoryCount: Number.NaN,
924
+ // maximum number of series for a bar chart
925
+ maxBarChartSeriesCount: 100,
926
+ // maximum number of bars for a unique series bar chart
927
+ maxBarUniqueSeriesCountTotal: 1e4,
928
+ // maximum number of bars per series for a 2 series bar chart
929
+ maxBarTwoSeriesCountPerSeries: 1e3,
930
+ // maximum number of bars for a 2 series bar chart
931
+ maxBarTwoSeriesCountTotal: 2e3,
932
+ // maximum number of bars per series for a 3+ series bar chart
933
+ maxBarThreePlusSeriesCountPerSeries: 100,
934
+ // maximum number of bars for a 3+ series bar chart
935
+ maxBarThreePlusSeriesCountTotal: 2e3,
936
+ /**
937
+ * Specifies the maximum number of points to be rendered in a scatterplot.
938
+ * If the number of points are more, then the data will be aggregated in
939
+ * a 2D grid of size sqrt(maxScatterPointsAfterAggregation) x sqrt(maxScatterPointsAfterAggregation)
940
+ */
941
+ maxScatterPointsBeforeAggregation: 1e4,
942
+ // Specifies how many maximum points can be displayed once the scatterplot data is aggregated
943
+ maxScatterPointsAfterAggregation: 1e4,
944
+ // maximum number of series for a line chart
945
+ maxLineChartSeriesCount: 100,
946
+ // maximum number of markers for a unique series line chart
947
+ maxLineUniqueSeriesCountTotal: 1e4,
948
+ // maximum number of markers per series for a 2 series line chart
949
+ maxLineTwoSeriesCountPerSeries: 5e3,
950
+ // maximum number of markers for a 2 series line chart
951
+ maxLineTwoSeriesCountTotal: 1e4,
952
+ // maximum number of markers per series for a 3+ series line chart
953
+ maxLineThreePlusSeriesCountPerSeries: 1e3,
954
+ // maximum number of markers for a 3+ series line chart
955
+ maxLineThreePlusSeriesCountTotal: 1e4,
956
+ // maximum number of series for a radar chart
957
+ maxRadarChartSeriesCount: 100,
958
+ // maximum number of markers for a unique series radar chart
959
+ maxRadarUniqueSeriesCountTotal: 1e4,
960
+ // maximum number of markers per series for a 2 series radar chart
961
+ maxRadarTwoSeriesCountPerSeries: 5e3,
962
+ // maximum number of markers for a 2 series radar chart
963
+ maxRadarTwoSeriesCountTotal: 1e4,
964
+ // maximum number of markers per series for a 3+ series radar chart
965
+ maxRadarThreePlusSeriesCountPerSeries: 1e3,
966
+ // maximum number of slices for pie chart
967
+ maxPieChartSliceCountTotal: 300,
968
+ // maximum number of features for a gauge-by-feature collection
969
+ maxGaugeByFeaturesLimit: 50,
970
+ // maximum number of series for a bar chart
971
+ maxBoxPlotSeriesCount: 100,
972
+ // maximum number of boxes for a unique series box plot
973
+ maxBoxUniqueSeriesCountTotal: 1e4,
974
+ // maximum number of boxes per series for a 2 series box plot
975
+ maxBoxTwoSeriesCountPerSeries: 1e3,
976
+ // maximum number of boxes for a 2 series box plot
977
+ maxBoxTwoSeriesCountTotal: 2e3,
978
+ // maximum number of boxes per series for a 3+ series box plot
979
+ maxBoxThreePlusSeriesCountPerSeries: 100,
980
+ // maximum number of boxes for a 3+ series box plot
981
+ maxBoxThreePlusSeriesCountTotal: 2e3,
982
+ // maximum number of outliers for box plot
983
+ maxBoxPlotOutlierLimit: 1e4,
984
+ // maximum number of cells for a heat chart
985
+ maxHeatChartCellLimit: 1e4,
986
+ serialChart: {
987
+ series: 100,
988
+ categories: Number.NaN,
989
+ // no limit by default on the number of categories
990
+ elements: 1e4
991
+ },
992
+ boxPlot: {
993
+ series: 100,
994
+ categories: Number.NaN,
995
+ // no limit by default on the number of categories
996
+ elements: 1e4,
997
+ outliers: 1e4
998
+ },
999
+ heatChart: {
1000
+ cells: 1e4
1001
+ },
1002
+ scatterplot: { aggregationThreshold: 1e4, markersAfterAggregation: 1e4 },
1003
+ pieChart: { slices: 300 },
1004
+ gauge: { features: 50 }
1005
+ };
1006
+ function ut(t) {
1007
+ const e = { ...t };
1008
+ return e.behaviorAfterLimit ??= i.behaviorAfterLimit, e.maxCategoryCount ??= e?.serialChart?.categories ?? i.maxCategoryCount, e.maxBarChartSeriesCount ??= e?.serialChart?.series ?? i.maxBarChartSeriesCount, e.maxBarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarUniqueSeriesCountTotal, e.maxBarTwoSeriesCountPerSeries ??= i.maxBarTwoSeriesCountPerSeries, e.maxBarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarTwoSeriesCountTotal, e.maxBarThreePlusSeriesCountPerSeries ??= i.maxBarThreePlusSeriesCountPerSeries, e.maxBarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxBarThreePlusSeriesCountTotal, e.maxScatterPointsBeforeAggregation ??= e.scatterplot?.aggregationThreshold ?? i.maxScatterPointsBeforeAggregation, e.maxScatterPointsAfterAggregation ??= e.scatterplot?.markersAfterAggregation ?? i.maxScatterPointsAfterAggregation, e.maxLineChartSeriesCount ??= e?.serialChart?.series ?? i.maxLineChartSeriesCount, e.maxLineUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineUniqueSeriesCountTotal, e.maxLineTwoSeriesCountPerSeries ??= i.maxLineTwoSeriesCountPerSeries, e.maxLineTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineTwoSeriesCountTotal, e.maxLineThreePlusSeriesCountPerSeries ??= i.maxLineThreePlusSeriesCountPerSeries, e.maxLineThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxRadarChartSeriesCount ??= e?.serialChart?.series ?? i.maxRadarChartSeriesCount, e.maxRadarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarUniqueSeriesCountTotal, e.maxRadarTwoSeriesCountPerSeries ??= i.maxRadarTwoSeriesCountPerSeries, e.maxRadarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarTwoSeriesCountTotal, e.maxRadarThreePlusSeriesCountPerSeries ??= i.maxRadarThreePlusSeriesCountPerSeries, e.maxRadarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxPieChartSliceCountTotal ??= e?.pieChart?.slices ?? i.maxPieChartSliceCountTotal, e.maxGaugeByFeaturesLimit ??= e?.gauge?.features ?? i.maxGaugeByFeaturesLimit, e.maxBoxPlotSeriesCount ??= e?.serialChart?.series ?? i.maxBoxPlotSeriesCount, e.maxBoxUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBoxUniqueSeriesCountTotal, e.maxBoxTwoSeriesCountPerSeries ??= i.maxBoxTwoSeriesCountPerSeries, e.maxBoxTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBoxTwoSeriesCountTotal, e.maxBoxThreePlusSeriesCountPerSeries ??= i.maxBoxThreePlusSeriesCountPerSeries, e.maxBoxThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxBoxThreePlusSeriesCountTotal, e.maxBoxPlotOutlierLimit ??= e?.boxPlot?.outliers ?? i.maxBoxPlotOutlierLimit, e.maxHeatChartCellLimit ??= e?.heatChart?.cells ?? i.maxHeatChartCellLimit, e.serialChart = {
1009
+ ...i.serialChart,
1010
+ ...e.serialChart
1011
+ }, e.boxPlot = {
1012
+ ...i.boxPlot,
1013
+ ...e.boxPlot
1014
+ }, e.heatChart = {
1015
+ ...i.heatChart,
1016
+ ...e.heatChart
1017
+ }, e.scatterplot = {
1018
+ ...i.scatterplot,
1019
+ ...e.scatterplot
1020
+ }, e.pieChart = {
1021
+ ...i.pieChart,
1022
+ ...e.pieChart
1023
+ }, e.gauge = {
1024
+ ...i.gauge,
1025
+ ...e.gauge
1026
+ }, e;
1027
+ }
1028
+ function ct() {
1029
+ return {
1030
+ /* Specifies the size of the queries on an aggregated scatterplot, counting the number of cells per query.
1031
+ A bigger number implies fewer but slower queries. A smaller number implies more but faster queries.
1032
+ */
1033
+ maxScatterCellsPerQuery: 500,
1034
+ /* Specifies the size of the queries on an aggregated scatterplot, counting the number of cells per query for Hosted feature layers using standard databases in ArcGIS Online.
1035
+ A bigger number implies fewer but slower queries. A smaller number implies more but faster queries.
1036
+ */
1037
+ maxScatterCellsPerQueryForStandard: 175,
1038
+ /**
1039
+ * Specifies the number of elements (bars, markers, slices) to be considered per selection query.
1040
+ */
1041
+ maxElementsPerSelectionQuery: 25,
1042
+ /**
1043
+ * Specifies the maximum number of OIDs to be used in a selection query. They are used as `OBJECTID IN (<oid list>)`
1044
+ */
1045
+ maxOIDsPerSelectionQuery: 500,
1046
+ /**
1047
+ * Specifies the maximum number of operands (e.g. field < value) in a where clause.
1048
+ */
1049
+ maxOperandsPerWhereClause: 50
1050
+ };
1051
+ }
1052
+ function mt(t, e) {
1053
+ let r;
715
1054
  switch (t) {
716
- case p.Second:
717
- i = e.seconds ?? "";
1055
+ case u.Average: {
1056
+ r = e.utilsStrings.statistics.mean;
718
1057
  break;
719
- case p.Minute:
720
- i = e.minutes ?? "";
1058
+ }
1059
+ case u.ContinuousPercentile: {
1060
+ r = e.utilsStrings.statistics.median;
721
1061
  break;
722
- case p.Hour:
723
- i = e.hours ?? "";
1062
+ }
1063
+ case u.Sum: {
1064
+ r = e.utilsStrings.statistics.sum;
724
1065
  break;
725
- case p.Day:
726
- i = e.days ?? "";
1066
+ }
1067
+ case u.Minimum: {
1068
+ r = e.utilsStrings.statistics.minimum;
727
1069
  break;
728
- case p.Week:
729
- i = e.weeks ?? "";
1070
+ }
1071
+ case u.Maximum: {
1072
+ r = e.utilsStrings.statistics.maximum;
730
1073
  break;
731
- case p.Month:
732
- i = e.months ?? "";
1074
+ }
1075
+ case u.Variance: {
1076
+ r = e.utilsStrings.statistics.variance;
733
1077
  break;
734
- case p.Year:
735
- i = e.years ?? "";
1078
+ }
1079
+ case u.DiscretePercentile: {
1080
+ r = e.utilsStrings.statistics.discretePercentile;
736
1081
  break;
737
- default:
738
- i = "";
1082
+ }
1083
+ case u.NoAggregation: {
1084
+ r = e.utilsStrings.statistics.noAggregation;
1085
+ break;
1086
+ }
1087
+ case u.Count:
1088
+ default: {
1089
+ r = e.utilsStrings.statistics.count;
739
1090
  break;
1091
+ }
740
1092
  }
741
- return i;
1093
+ return r;
742
1094
  }
743
- function Oe(t) {
744
- let e;
1095
+ function St(t, e) {
1096
+ let r;
745
1097
  switch (t) {
746
- case c.Mean:
747
- e = 1;
748
- break;
749
- case c.Median:
750
- e = 2;
1098
+ case R.End: {
1099
+ r = e.timeAggregationTypes.end;
751
1100
  break;
752
- case c.StdDev:
753
- e = 3;
1101
+ }
1102
+ case R.Start: {
1103
+ r = e.timeAggregationTypes.start;
754
1104
  break;
755
- case c.Normal:
1105
+ }
756
1106
  default:
757
- e = 0;
1107
+ r = "";
758
1108
  break;
759
1109
  }
760
- return e;
761
- }
762
- function Re(t, e) {
763
- if (e !== void 0) {
764
- const { seriesId: i, overlayType: r, visible: a } = t.detail;
765
- let s;
766
- switch (r) {
767
- case c.Mean:
768
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.mean);
769
- break;
770
- case c.Median:
771
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.median);
772
- break;
773
- case c.StdDev:
774
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.standardDeviation);
775
- break;
776
- case c.Normal:
777
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.comparisonDistribution);
778
- break;
779
- case c.Trendline:
780
- e.series[0].type === n.ScatterSeries && (s = e.series[0].overlays?.trendLine);
781
- break;
782
- default:
783
- s = e.series.find((o) => o.id === i);
784
- break;
785
- }
786
- s !== void 0 && (s.visible = a);
787
- }
788
- }
789
- function we(t) {
790
- return new K().sanitize(t);
791
- }
792
- function Ne(t) {
793
- return t != null && !Number.isNaN(t) && Number.isFinite(t);
794
- }
795
- function ce(t, e) {
796
- let i = { fieldToSort: "" };
797
- if (!P(t)) {
798
- const r = t.trim(), s = r.split(" ").at(-1)?.toUpperCase();
799
- s === b.Ascending || s === b.Descending ? i = { fieldToSort: r.substring(0, r.lastIndexOf(" ")), orderBy: s } : (i = { fieldToSort: r }, e !== !1 && (i.orderBy = b.Ascending));
800
- }
801
- return i;
1110
+ return r;
802
1111
  }
803
- function ze(t) {
804
- return t.orderOptions?.orderByFields?.map((e) => ce(e).fieldToSort) ?? [];
1112
+ function dt() {
1113
+ return W.Side;
805
1114
  }
806
- function Ie(t) {
807
- return t === h.BarAndLineSplitBy || t === h.BarAndLineSplitByNoAggregation || t === h.BoxPlotMonoFieldAndSplitBy || t === h.BoxPlotMultiFieldsAndSplitBy || t === h.BoxPlotMonoFieldAndCategoryAndSplitBy;
1115
+ function xt(t) {
1116
+ return t.utilsStrings.notAvailable;
808
1117
  }
809
- function De(t, e) {
810
- let { selectionItems: i } = t ?? {};
811
- const { selectionOIDs: r } = t ?? {};
812
- let { selectionItems: a } = e ?? {};
813
- const { selectionOIDs: s } = e ?? {}, o = (d) => ({
814
- ...d,
815
- [j]: void 0
816
- });
817
- i !== void 0 && (i = i.map(o)), a !== void 0 && (a = a.map(o));
818
- const u = !x(i, a), l = !x(r, s);
819
- return u || l;
820
- }
821
- function We(t) {
822
- return t?.selectionPixelTarget ? U(t.selectionPixelTarget.pixelRanges) : t?.selectionOIDs === void 0 || t.selectionOIDs.length === 0;
823
- }
824
- function Ve(t = {
825
- arrayA: [],
826
- arrayB: [],
827
- getKey: (e) => e
828
- }) {
829
- const { arrayA: e, arrayB: i, getKey: r } = t;
830
- if (i.length === 0 || e.length === 0)
831
- return e;
832
- const a = /* @__PURE__ */ new Map();
833
- i.forEach((l, d) => {
834
- const m = r(l);
835
- a.set(m, d);
836
- });
837
- const s = [], o = [];
838
- e.forEach((l, d) => {
839
- const m = r(l);
840
- a.has(m) && (s.push(d), o.push(l));
841
- }), o.sort((l, d) => {
842
- const m = r(l), f = r(d);
843
- return a.get(m) - a.get(f);
844
- });
845
- const u = [...e];
846
- return s.forEach((l, d) => {
847
- u[l] = o[d];
848
- }), u;
849
- }
850
- function Ee(t, e) {
851
- return (t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation) && e !== void 0 ? e.x : oe.xAxisField;
852
- }
853
- function Ge(t) {
854
- const { r: e, g: i, b: r, a = 1 } = t, s = Math.round((1 - a) * 255 + a * e), o = Math.round((1 - a) * 255 + a * i), u = Math.round((1 - a) * 255 + a * r);
855
- return 0.299 * s + 0.587 * o + 0.114 * u > 128;
856
- }
857
- const He = {
858
- isSupportedHistogram: A,
859
- isSupportedPieChart: _,
860
- isSupportedScatterplot: B
861
- };
1118
+ const gt = 0, Ct = "_arcgis_charts_outliers", ft = "_arcgis_charts_z_score", yt = [210, 210, 210, 255 * d], ht = " percentage ", bt = 7, Tt = {
1119
+ getChartId: g,
1120
+ getDefaultCategoryAxis: A
1121
+ }, pt = 5;
862
1122
  export {
863
- ne as A,
864
- we as B,
865
- h as C,
866
- Ve as D,
867
- Re as E,
868
- oe as F,
869
- c as O,
870
- be as S,
871
- ye as a,
872
- Ee as b,
873
- Fe as c,
874
- _e as d,
875
- Te as e,
876
- Pe as f,
877
- fe as g,
878
- ce as h,
879
- ze as i,
880
- Oe as j,
881
- xe as k,
882
- Le as l,
883
- ke as m,
884
- De as n,
885
- Ce as o,
886
- Ge as p,
887
- P as q,
888
- Ae as r,
889
- de as s,
890
- Me as t,
891
- We as u,
892
- Ie as v,
893
- ve as w,
894
- Ne as x,
895
- He as y,
896
- Be as z
1123
+ Ke as $,
1124
+ se as A,
1125
+ je as B,
1126
+ _e as C,
1127
+ b as D,
1128
+ X as E,
1129
+ M as F,
1130
+ q as G,
1131
+ mt as H,
1132
+ St as I,
1133
+ ht as J,
1134
+ bt as K,
1135
+ Ct as L,
1136
+ ft as M,
1137
+ U as N,
1138
+ ke as O,
1139
+ k as P,
1140
+ Te as Q,
1141
+ ut as R,
1142
+ ct as S,
1143
+ Pe as T,
1144
+ K as U,
1145
+ pe as V,
1146
+ Ee as W,
1147
+ ae as X,
1148
+ me as Y,
1149
+ Je as Z,
1150
+ ne as _,
1151
+ Re as a,
1152
+ o as a0,
1153
+ n as a1,
1154
+ s as a2,
1155
+ H as a3,
1156
+ gt as a4,
1157
+ I as a5,
1158
+ h as a6,
1159
+ T as a7,
1160
+ C as a8,
1161
+ ve as a9,
1162
+ f as aA,
1163
+ oe as aB,
1164
+ _ as aC,
1165
+ ce as aD,
1166
+ le as aE,
1167
+ Me as aF,
1168
+ Tt as aG,
1169
+ Xe as aa,
1170
+ yt as ab,
1171
+ fe as ac,
1172
+ ge as ad,
1173
+ F as ae,
1174
+ Ye as af,
1175
+ xt as ag,
1176
+ Ne as ah,
1177
+ He as ai,
1178
+ we as aj,
1179
+ Ie as ak,
1180
+ pt as al,
1181
+ Be as am,
1182
+ et as an,
1183
+ tt as ao,
1184
+ ze as ap,
1185
+ st as aq,
1186
+ ue as ar,
1187
+ Ze as as,
1188
+ nt as at,
1189
+ lt as au,
1190
+ at as av,
1191
+ it as aw,
1192
+ de as ax,
1193
+ rt as ay,
1194
+ ot as az,
1195
+ Oe as b,
1196
+ xe as c,
1197
+ Qe as d,
1198
+ $e as e,
1199
+ Le as f,
1200
+ x as g,
1201
+ ee as h,
1202
+ Ae as i,
1203
+ O as j,
1204
+ Ve as k,
1205
+ Z as l,
1206
+ ie as m,
1207
+ re as n,
1208
+ We as o,
1209
+ Fe as p,
1210
+ De as q,
1211
+ d as r,
1212
+ dt as s,
1213
+ B as t,
1214
+ Se as u,
1215
+ Y as v,
1216
+ Ue as w,
1217
+ qe as x,
1218
+ Ce as y,
1219
+ Ge as z
897
1220
  };