@arcgis/charts-components 5.2.0-next.8 → 5.2.0-next.85

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 (478) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  4. package/dist/cdn/{5MEQANMY.js → 26DDVOQ7.js} +1 -1
  5. package/dist/cdn/2BA2QD2A.js +3 -0
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/2MF442VT.js +2 -0
  8. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  9. package/dist/cdn/3AYNHY7J.js +2 -0
  10. package/dist/cdn/{DCZWZOPF.js → 3FFCWEMV.js} +1 -1
  11. package/dist/cdn/3H3PFQTD.js +2 -0
  12. package/dist/cdn/3KDTVBIG.js +2 -0
  13. package/dist/cdn/3SSQPYQA.js +2 -0
  14. package/dist/cdn/{JRHMUFED.js → 3YPGCLG4.js} +1 -1
  15. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  16. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  17. package/dist/cdn/4KF7SUJE.js +2 -0
  18. package/dist/cdn/{MVHQR4FJ.js → 4U2HIMOR.js} +1 -1
  19. package/dist/cdn/52NR6B2J.js +2 -0
  20. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  21. package/dist/cdn/5DHMYPPF.js +2 -0
  22. package/dist/cdn/5NGIGJYR.js +2 -0
  23. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  24. package/dist/cdn/62GSQDTE.js +2 -0
  25. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  26. package/dist/cdn/{CLXVAIQX.js → 6AXYQGBN.js} +1 -1
  27. package/dist/cdn/6LV3ASGE.js +2 -0
  28. package/dist/cdn/6SQNRMJG.js +2 -0
  29. package/dist/cdn/{ETKPMU7Z.js → 6U6VAS2O.js} +1 -1
  30. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  31. package/dist/cdn/{UT4TYXFO.js → 6WWEQU3O.js} +1 -1
  32. package/dist/cdn/72KEQM4K.js +2 -0
  33. package/dist/cdn/72VGCAR5.js +2 -0
  34. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  35. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  36. package/dist/cdn/7CZMR2WF.js +2 -0
  37. package/dist/cdn/7JA63ENU.js +45 -0
  38. package/dist/cdn/7P3FHJUU.js +2 -0
  39. package/dist/cdn/7SIKOCYK.js +4 -0
  40. package/dist/cdn/7ZAT46VE.js +2 -0
  41. package/dist/cdn/{A5AECJXP.js → A2KSCV2I.js} +1 -1
  42. package/dist/cdn/ACMHG3RB.js +2 -0
  43. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  44. package/dist/cdn/{E7OAEGSE.js → AF2GUPVE.js} +1 -1
  45. package/dist/cdn/{AJWYIBGC.js → AS3QP77N.js} +1 -1
  46. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  47. package/dist/cdn/{LFQGH44F.js → B5Z7FBO7.js} +1 -1
  48. package/dist/cdn/{2HUAW34Q.js → B7J5YIWF.js} +1 -1
  49. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  50. package/dist/cdn/BGOWDCTO.js +2 -0
  51. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  52. package/dist/cdn/BV7UUWYI.js +2 -0
  53. package/dist/cdn/{N6AOFBBX.js → BWR5ONE2.js} +1 -1
  54. package/dist/cdn/BYSUABOV.js +2 -0
  55. package/dist/cdn/{AWF4R7WL.js → C2ZX67U4.js} +1 -1
  56. package/dist/cdn/C5UI5MYS.js +2 -0
  57. package/dist/cdn/C7F4AVQU.js +104 -0
  58. package/dist/cdn/{EXXLJVGS.js → CFOB77PI.js} +1 -1
  59. package/dist/cdn/CSOYZJU5.js +2 -0
  60. package/dist/cdn/CVWT6DGY.js +2 -0
  61. package/dist/cdn/CXWBQG5O.js +2 -0
  62. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  63. package/dist/cdn/{L4G6FO7A.js → DDNOUE2T.js} +1 -1
  64. package/dist/cdn/DE3CJJG3.js +2 -0
  65. package/dist/cdn/DKC4NIUA.js +2 -0
  66. package/dist/cdn/DW5NK2B3.js +2 -0
  67. package/dist/cdn/DZWIVB6V.js +2 -0
  68. package/dist/cdn/EMOHROY3.js +2 -0
  69. package/dist/cdn/{HVO4LIXR.js → EQTI5Z4G.js} +1 -1
  70. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  71. package/dist/cdn/EYYTKCXM.js +2 -0
  72. package/dist/cdn/EZLKMWI5.js +2 -0
  73. package/dist/cdn/F3LVXDV4.js +2 -0
  74. package/dist/cdn/FBU4ODQE.js +2 -0
  75. package/dist/cdn/{A4GEWIPY.js → FFJTVPE4.js} +1 -1
  76. package/dist/cdn/FQKGQHVK.js +2 -0
  77. package/dist/cdn/{JCH3RDLR.js → FRTPDJGW.js} +1 -1
  78. package/dist/cdn/{WASEMNYV.js → G45UKTNI.js} +1 -1
  79. package/dist/cdn/GDGYKODO.js +2 -0
  80. package/dist/cdn/GX64OP3A.js +2 -0
  81. package/dist/cdn/GZEVPH4Y.js +2 -0
  82. package/dist/cdn/{XE3FKQFA.js → H2DUFQAG.js} +1 -1
  83. package/dist/cdn/{JJIGLOJA.js → HABS63VB.js} +1 -1
  84. package/dist/cdn/HDIBDW52.js +2 -0
  85. package/dist/cdn/HOASAQAB.js +2 -0
  86. package/dist/cdn/HQ2JPCTQ.js +2 -0
  87. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  88. package/dist/cdn/I3BMYY7N.js +2 -0
  89. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  90. package/dist/cdn/IN2IL6T2.js +2 -0
  91. package/dist/cdn/IVM37XFX.js +2 -0
  92. package/dist/cdn/{DKAHZ7IX.js → J3BB5KXD.js} +1 -1
  93. package/dist/cdn/JMMNRCD4.js +2 -0
  94. package/dist/cdn/JQM5R6XW.js +2 -0
  95. package/dist/cdn/{XW4PBQNW.js → JUFBIV44.js} +1 -1
  96. package/dist/cdn/JUU3BZT7.js +2 -0
  97. package/dist/cdn/KAQ5XSCQ.js +2 -0
  98. package/dist/cdn/KG574LAE.js +2 -0
  99. package/dist/cdn/KHJC5P5T.js +2 -0
  100. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  101. package/dist/cdn/{QOOBNATX.js → KTYFDFMQ.js} +1 -1
  102. package/dist/cdn/{CHQDKVVQ.js → KWN3N6VE.js} +1 -1
  103. package/dist/cdn/KYOBS7XL.js +2 -0
  104. package/dist/cdn/KZSCAJDG.js +2 -0
  105. package/dist/cdn/L4BZX57U.js +2 -0
  106. package/dist/cdn/L5JZ5COY.js +2 -0
  107. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  108. package/dist/cdn/LCTDNI27.js +2 -0
  109. package/dist/cdn/LM6VCILT.js +2 -0
  110. package/dist/cdn/LMTSW3JM.js +2 -0
  111. package/dist/cdn/LPS3VU35.js +2 -0
  112. package/dist/cdn/{6XTKJ7DO.js → LXZXXY7V.js} +1 -1
  113. package/dist/cdn/M6OCFMDB.js +2 -0
  114. package/dist/cdn/MITW5XKW.js +2 -0
  115. package/dist/cdn/MJHVSD5B.js +2 -0
  116. package/dist/cdn/MNYNXHXE.js +2 -0
  117. package/dist/cdn/NH2A5QEU.js +2 -0
  118. package/dist/cdn/NIDXK3GN.js +2 -0
  119. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  120. package/dist/cdn/{YOT6DVSU.js → NNHJ75EA.js} +1 -1
  121. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  122. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  123. package/dist/cdn/{TF7TE7K5.js → NWQ2L7IJ.js} +1 -1
  124. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  125. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  126. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  127. package/dist/cdn/OMORDJT2.js +2 -0
  128. package/dist/cdn/{DEGBVJ76.js → OMU647X3.js} +1 -1
  129. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  130. package/dist/cdn/{AM2TOTX6.js → OXPXA3PS.js} +1 -1
  131. package/dist/cdn/OYXDCECZ.js +2 -0
  132. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  133. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  134. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  135. package/dist/cdn/{BJDRJUEJ.js → P7FI5QUW.js} +1 -1
  136. package/dist/cdn/{KZ7LPNX3.js → PCFEAGXP.js} +1 -1
  137. package/dist/cdn/PF6QOHZR.js +2 -0
  138. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  139. package/dist/cdn/{GDQBQQUP.js → PMTNALXO.js} +1 -1
  140. package/dist/cdn/PWJBGZPW.js +2 -0
  141. package/dist/cdn/{ZXOO3X5P.js → PZP57FJ2.js} +1 -1
  142. package/dist/cdn/{QMSINFQX.js → Q466K37N.js} +1 -1
  143. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  144. package/dist/cdn/QIG7WTJF.js +2 -0
  145. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  146. package/dist/cdn/QXQC4CH5.js +2 -0
  147. package/dist/cdn/QYRHZJH3.js +2 -0
  148. package/dist/cdn/{7FZC3RZK.js → R5LIRRMK.js} +1 -1
  149. package/dist/cdn/R5VDQBUH.js +2 -0
  150. package/dist/cdn/RCAPTQFV.js +2 -0
  151. package/dist/cdn/{K3GNHGEW.js → RHUEVXMR.js} +1 -1
  152. package/dist/cdn/{IPM2XKST.js → RMIIDRGC.js} +1 -1
  153. package/dist/cdn/RPUEIRTH.js +2 -0
  154. package/dist/cdn/S2HIF3ZX.js +2 -0
  155. package/dist/cdn/{KFONSKQF.js → S4NQCINT.js} +1 -1
  156. package/dist/cdn/SC26LLWP.js +2 -0
  157. package/dist/cdn/{ML3A3MYV.js → SILDOKXS.js} +1 -1
  158. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  159. package/dist/cdn/{FF4DUQDZ.js → SVLOD3HQ.js} +1 -1
  160. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  161. package/dist/cdn/TBW6K2TY.js +2 -0
  162. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  163. package/dist/cdn/{5XTQQOTT.js → TJ2NRLF6.js} +1 -1
  164. package/dist/cdn/{KUZR6CGB.js → TOCBEPNS.js} +1 -1
  165. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  166. package/dist/cdn/TSU6UVTL.js +2 -0
  167. package/dist/cdn/U3542JBJ.js +2 -0
  168. package/dist/cdn/U7GQGHZY.js +2 -0
  169. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  170. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  171. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  172. package/dist/cdn/UYDDYD3O.js +2 -0
  173. package/dist/cdn/V3ITNIER.js +2 -0
  174. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  175. package/dist/cdn/VQU2TVX7.js +3 -0
  176. package/dist/cdn/VSPKBQS6.js +2 -0
  177. package/dist/cdn/WC22SRVJ.js +2 -0
  178. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  179. package/dist/cdn/XBRRJQVR.js +2 -0
  180. package/dist/cdn/XFCDAI5T.js +2 -0
  181. package/dist/cdn/XHZAAQMF.js +2 -0
  182. package/dist/cdn/{SBYD2EKR.js → XR4O3AQ6.js} +1 -1
  183. package/dist/cdn/{7HGVEE7A.js → XU7TGV75.js} +1 -1
  184. package/dist/cdn/XVCBLLWW.js +2 -0
  185. package/dist/cdn/YAWW63A5.js +2 -0
  186. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  187. package/dist/cdn/{JBHGSSHS.js → Z5EJIWAY.js} +1 -1
  188. package/dist/cdn/{GV3TT7L5.js → ZARYZFJ4.js} +1 -1
  189. package/dist/cdn/ZDUW3TBJ.js +2 -0
  190. package/dist/cdn/ZGIM53IQ.js +2 -0
  191. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  192. package/dist/cdn/{ZFZ5AEUQ.js → ZVOX72AF.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 +1 -1
  199. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  200. package/dist/chart-rendering/common/interfaces.d.ts +52 -22
  201. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
  202. package/dist/chunks/axis-lines-symbol.js +7 -7
  203. package/dist/chunks/bar-chart-model.js +42 -38
  204. package/dist/chunks/box-plot-data.js +270 -279
  205. package/dist/chunks/box-plot-model.js +159 -144
  206. package/dist/chunks/chart-model.js +182 -150
  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 +24 -24
  211. package/dist/chunks/combo-bar-line-chart-model.js +48 -40
  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 +68 -68
  215. package/dist/chunks/default.js +6 -6
  216. package/dist/chunks/gauge-model.js +61 -61
  217. package/dist/chunks/generate-x-axis-title.js +15 -15
  218. package/dist/chunks/heat-chart-model.js +95 -66
  219. package/dist/chunks/histogram-data.js +23 -23
  220. package/dist/chunks/histogram-model.js +9 -9
  221. package/dist/chunks/index.js +9363 -1079
  222. package/dist/chunks/index2.js +852 -8752
  223. package/dist/chunks/index3.js +1169 -847
  224. package/dist/chunks/index4.js +315 -86
  225. package/dist/chunks/index5.js +63 -100
  226. package/dist/chunks/interfaces.js +9 -9
  227. package/dist/chunks/line-chart-model.js +18 -18
  228. package/dist/chunks/model-setter.js +57 -34
  229. package/dist/chunks/model-types.js +1 -1
  230. package/dist/chunks/model-with-line-marker-styling.js +18 -9
  231. package/dist/chunks/model-with-y-guides.js +52 -67
  232. package/dist/chunks/negative-values-stacked-to-baseline.js +40 -36
  233. package/dist/chunks/pie-chart-data.js +175 -193
  234. package/dist/chunks/pie-chart-model.js +388 -320
  235. package/dist/chunks/radar-chart-model.js +397 -46
  236. package/dist/chunks/resource.js +1 -1
  237. package/dist/chunks/rest-js-object-literals.js +10 -10
  238. package/dist/chunks/rotated-state.js +1 -1
  239. package/dist/chunks/rounded-corners.js +73 -0
  240. package/dist/chunks/scatterplot-model.js +12 -12
  241. package/dist/chunks/serial-chart-data.js +868 -748
  242. package/dist/chunks/serial-chart-model.js +145 -123
  243. package/dist/chunks/series-length.js +17 -17
  244. package/dist/chunks/series-types.js +22 -18
  245. package/dist/chunks/series.js +1 -1
  246. package/dist/chunks/type-guards.js +16 -12
  247. package/dist/chunks/type-guards2.js +61 -52
  248. package/dist/chunks/utils.js +101 -91
  249. package/dist/chunks/utils2.js +9 -9
  250. package/dist/chunks/web-component-utils.js +591 -540
  251. package/dist/chunks/x-bounds.js +98 -97
  252. package/dist/components/arcgis-chart/customElement.d.ts +628 -254
  253. package/dist/components/arcgis-chart/customElement.js +10420 -10099
  254. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  255. package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
  256. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  257. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  258. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
  259. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  260. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  261. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  262. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  263. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  264. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
  265. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  266. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  267. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  268. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  269. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  271. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
  274. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  275. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  276. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  277. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  278. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  279. package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
  280. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  281. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  283. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
  284. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  285. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
  286. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  287. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
  288. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  289. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  290. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  291. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  292. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  293. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  294. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  295. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  296. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  297. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  299. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  300. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  301. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  302. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  303. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  304. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  305. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  306. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
  307. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  308. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  309. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  310. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  311. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  312. package/dist/docs/api.json +1 -1
  313. package/dist/docs/docs.json +1 -1
  314. package/dist/docs/vscode.html-custom-data.json +1 -1
  315. package/dist/docs/web-types.json +1 -1
  316. package/dist/index.d.ts +61 -61
  317. package/dist/index.js +476 -463
  318. package/dist/interfaces.d.ts +9 -11
  319. package/dist/json-schema/index.d.ts +211 -6
  320. package/dist/loader.js +2 -2
  321. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  322. package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
  323. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  324. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  325. package/dist/model/chart-model/chart-model.d.ts +2 -1
  326. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +19 -7
  327. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  328. package/dist/model/interfaces/common.d.ts +0 -2
  329. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  330. package/dist/model/mixins/model-with-line-marker-styling.d.ts +16 -7
  331. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  332. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  333. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  334. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  335. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  336. package/dist/model/properties/rounded-corners.d.ts +18 -0
  337. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  338. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  339. package/dist/model/shared/type-guards.d.ts +38 -22
  340. package/dist/spec/chart-object-literals.d.ts +1 -0
  341. package/dist/spec/data-source.d.ts +17 -3
  342. package/dist/spec/rest-js-types.d.ts +22 -8
  343. package/dist/spec/web-chart.d.ts +42 -6
  344. package/dist/types/lumina.d.ts +1 -1
  345. package/dist/types/preact.d.ts +1 -1
  346. package/dist/types/react.d.ts +1 -1
  347. package/dist/types/stencil.d.ts +3 -3
  348. package/dist/utils/chart-config/converter/index.js +210 -191
  349. package/dist/utils/chart-config/utils/index.d.ts +58 -8
  350. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  351. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  352. package/dist/utils/components/interfaces.d.ts +2 -0
  353. package/dist/utils/cursor/interfaces.d.ts +21 -0
  354. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  355. package/dist/utils/data/index.d.ts +28 -22
  356. package/dist/utils/data/interfaces.d.ts +4 -3
  357. package/dist/utils/defaults/index.d.ts +31 -6
  358. package/dist/utils/defaults/interfaces.d.ts +73 -4
  359. package/dist/utils/errors/index.d.ts +1 -1
  360. package/dist/utils/layer/index.d.ts +6 -3
  361. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  362. package/dist/utils/layer/interfaces.d.ts +2 -1
  363. package/dist/utils/layer/query-features/index.d.ts +8 -3
  364. package/dist/utils/layer/query-parser/index.d.ts +10 -6
  365. package/dist/utils/localization/interfaces.d.ts +8 -0
  366. package/dist/utils/misc/index.d.ts +2 -3
  367. package/dist/utils/misc/interfaces.d.ts +1 -0
  368. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  369. package/dist/utils/type-guards/series-types.d.ts +9 -2
  370. package/dist/utils/types/index.d.ts +1 -5
  371. package/package.json +7 -8
  372. package/dist/cdn/24RLLXS6.js +0 -2
  373. package/dist/cdn/32FR66QO.js +0 -2
  374. package/dist/cdn/3EIVHDDK.js +0 -2
  375. package/dist/cdn/3NUNWPAR.js +0 -2
  376. package/dist/cdn/4ACX3XOE.js +0 -2
  377. package/dist/cdn/547RDEMV.js +0 -2
  378. package/dist/cdn/5YJNENER.js +0 -2
  379. package/dist/cdn/6AF2OTL6.js +0 -2
  380. package/dist/cdn/6C6AH4LL.js +0 -2
  381. package/dist/cdn/6CFIKYKR.js +0 -2
  382. package/dist/cdn/6GLTSMOR.js +0 -2
  383. package/dist/cdn/7OF2IANH.js +0 -2
  384. package/dist/cdn/7VN3A7S2.js +0 -2
  385. package/dist/cdn/7YWZG3ZS.js +0 -2
  386. package/dist/cdn/A5GIBV5W.js +0 -2
  387. package/dist/cdn/ADGMA3ST.js +0 -3
  388. package/dist/cdn/ADPDJISV.js +0 -2
  389. package/dist/cdn/AWKELFV6.js +0 -2
  390. package/dist/cdn/B4KAJRUJ.js +0 -2
  391. package/dist/cdn/BBUPTHPL.js +0 -2
  392. package/dist/cdn/BBURKBKE.js +0 -2
  393. package/dist/cdn/C2FOUUEM.js +0 -2
  394. package/dist/cdn/CBNT3DO7.js +0 -2
  395. package/dist/cdn/CJPEW4LJ.js +0 -142
  396. package/dist/cdn/CVU3UPPF.js +0 -2
  397. package/dist/cdn/CZ5XRXCE.js +0 -2
  398. package/dist/cdn/D73VV2AZ.js +0 -2
  399. package/dist/cdn/DF5P34HK.js +0 -2
  400. package/dist/cdn/DJACBOFO.js +0 -2
  401. package/dist/cdn/DPNTYHTH.js +0 -2
  402. package/dist/cdn/EGISZTGB.js +0 -2
  403. package/dist/cdn/EP34TF4L.js +0 -2
  404. package/dist/cdn/EZD3FBJU.js +0 -2
  405. package/dist/cdn/EZV7JSQJ.js +0 -2
  406. package/dist/cdn/FDFYTCDO.js +0 -2
  407. package/dist/cdn/G72TNKCS.js +0 -2
  408. package/dist/cdn/GQ5QBLRO.js +0 -2
  409. package/dist/cdn/HWJGWDU3.js +0 -2
  410. package/dist/cdn/HZR4NSZV.js +0 -2
  411. package/dist/cdn/IXRBZPQL.js +0 -2
  412. package/dist/cdn/JNNB2DIA.js +0 -2
  413. package/dist/cdn/JPPGHHIA.js +0 -2
  414. package/dist/cdn/JS2KOBA2.js +0 -2
  415. package/dist/cdn/JTTJ455Y.js +0 -2
  416. package/dist/cdn/JWO5WVTZ.js +0 -2
  417. package/dist/cdn/JWPAMNU4.js +0 -2
  418. package/dist/cdn/K4WI2SGM.js +0 -2
  419. package/dist/cdn/KCMZSNBL.js +0 -2
  420. package/dist/cdn/KLHZFPYK.js +0 -2
  421. package/dist/cdn/KVUFR34S.js +0 -2
  422. package/dist/cdn/LTQRSPSC.js +0 -2
  423. package/dist/cdn/MBVTB42G.js +0 -2
  424. package/dist/cdn/MRTKZZTF.js +0 -2
  425. package/dist/cdn/NNEDF6G4.js +0 -2
  426. package/dist/cdn/NSOZIR5F.js +0 -2
  427. package/dist/cdn/NTSTL3FK.js +0 -2
  428. package/dist/cdn/NZR4L5AA.js +0 -2
  429. package/dist/cdn/O5A25X5K.js +0 -2
  430. package/dist/cdn/OAAJ6CIN.js +0 -2
  431. package/dist/cdn/OGYY2Y22.js +0 -2
  432. package/dist/cdn/OJIUI56Z.js +0 -2
  433. package/dist/cdn/OSNA56IW.js +0 -4
  434. package/dist/cdn/P3YHDWG2.js +0 -2
  435. package/dist/cdn/P4HSSZRL.js +0 -2
  436. package/dist/cdn/PAIRUVLU.js +0 -2
  437. package/dist/cdn/PBWZYX5M.js +0 -58
  438. package/dist/cdn/PPGRM3VJ.js +0 -2
  439. package/dist/cdn/PRGFNLY7.js +0 -2
  440. package/dist/cdn/PRMN6W5R.js +0 -2
  441. package/dist/cdn/PROSIXIF.js +0 -2
  442. package/dist/cdn/Q5JDSPJA.js +0 -2
  443. package/dist/cdn/QJC3FDWG.js +0 -2
  444. package/dist/cdn/R75MHIRF.js +0 -2
  445. package/dist/cdn/RDA5NV6M.js +0 -2
  446. package/dist/cdn/RG3DO2OE.js +0 -2
  447. package/dist/cdn/RPNZL6AC.js +0 -2
  448. package/dist/cdn/S5UDCCRH.js +0 -2
  449. package/dist/cdn/SCAZDS2G.js +0 -2
  450. package/dist/cdn/SRPOC65M.js +0 -2
  451. package/dist/cdn/TCTQ4LMU.js +0 -2
  452. package/dist/cdn/TDHHWIIC.js +0 -2
  453. package/dist/cdn/THTYR6IL.js +0 -2
  454. package/dist/cdn/TJMPLGQI.js +0 -2
  455. package/dist/cdn/TJMTF45U.js +0 -3
  456. package/dist/cdn/U2CYVAIC.js +0 -102
  457. package/dist/cdn/U67P6YAZ.js +0 -2
  458. package/dist/cdn/UZEMSOA2.js +0 -2
  459. package/dist/cdn/VBHQFV2H.js +0 -2
  460. package/dist/cdn/VOTZAPI3.js +0 -2
  461. package/dist/cdn/VQU6N5HX.js +0 -2
  462. package/dist/cdn/VZTLODMQ.js +0 -2
  463. package/dist/cdn/W7X6L2OB.js +0 -127
  464. package/dist/cdn/WNKDEOFZ.js +0 -2
  465. package/dist/cdn/WPPMMVD5.js +0 -2
  466. package/dist/cdn/XCUXUZXY.js +0 -2
  467. package/dist/cdn/XG3WW5GG.js +0 -2
  468. package/dist/cdn/XJFVSX2E.js +0 -2
  469. package/dist/cdn/Y3CXVO2M.js +0 -2
  470. package/dist/cdn/YEZL5KRS.js +0 -2
  471. package/dist/cdn/YYK7SPXC.js +0 -2
  472. package/dist/cdn/ZS6EP5BD.js +0 -2
  473. package/dist/chunks/bar-chart-series.js +0 -15
  474. package/dist/chunks/index6.js +0 -66
  475. package/dist/chunks/time-zone.js +0 -38
  476. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  477. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  478. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,898 +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 C } from "lodash-es";
4
- import { ao as x, 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 ne = {
9
- MonoSelection: "monoSelection",
10
- MultiSelection: "multiSelection",
11
- MultiSelectionWithCtrlKey: "multiSelectionWithCtrlKey",
12
- Zoom: "zoom",
13
- None: "none"
14
- }, ye = {
15
- MultiAxes: "multi-axes",
16
- XAxis: "x-axis",
17
- YAxis: "y-axis"
18
- }, oe = {
19
- aria: {
20
- defaultChartItemRole: "figure"
2
+ import { g as D, t as P, a, d as u, f as w, h as V, b as R, e as W, S as j, k as $, s as Q, c 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: j.statisticType,
25
+ onStatisticField: "OBJECTID",
26
+ outStatisticFieldName: "arcgis_charts_outStatisticFieldName_default_key"
21
27
  },
22
- title: {
23
- marginBottom: 8,
24
- wrap: !0
25
- },
26
- subtitle: {
27
- marginBottom: 10,
28
- wrap: !0
29
- },
30
- rotated: !1,
31
- legendProperties: {
32
- legendLabels: {
33
- marginLeft: 5,
34
- marginRight: 5,
35
- truncate: !1,
36
- applyOnClones: !0,
37
- wrap: !0,
38
- maxWidth: 200
39
- },
40
- valueLabels: {
41
- wrap: !0,
42
- maxWidth: 200
43
- },
44
- legendTitle: {
45
- wrap: !0,
46
- maxWidth: 220,
47
- marginLeft: 10,
48
- marginRight: 10,
49
- marginTop: 10
50
- },
51
- legendMarkersSize: 14,
52
- legendLabelReducedOpacity: 0.5,
53
- // 50% of original opacity
54
- rectangleMarkerRadius: 3,
55
- // for rounded rectangles
56
- roundedMarkerRadius: 12,
57
- // for circles
58
- legendPaddingRightWithScrollbarVisible: 10,
59
- maxHeight: 100,
60
- marginTop: 2,
61
- marginBottom: 2,
62
- marginLeft: 0,
63
- marginRight: 0,
64
- paddingTop: 0,
65
- paddingBottom: 0,
66
- paddingLeft: 0,
67
- paddingRight: 0,
68
- position: ie.Right
69
- },
70
- footer: {
71
- wrap: !0,
72
- horizontalCenter: "center",
73
- verticalCenter: "middle",
74
- align: "center"
75
- },
76
- axisLabel: {
77
- rotation: 0,
78
- align: "center",
79
- horizontalCenter: "center",
80
- verticalCenter: "top",
81
- dy: 5,
82
- paddingTop: 5,
83
- paddingRight: 5,
84
- paddingLeft: 5,
85
- maxWidth: Number.NaN
86
- },
87
- axisTickLength: 5,
88
- rotatedAxisLabel: {
89
- rotation: -45,
90
- horizontalCenter: "left",
91
- verticalCenter: "bottom",
92
- dy: 6,
93
- paddingTop: 5,
94
- paddingLeft: 0,
95
- paddingRight: 5
96
- },
97
- histogramAxisLabel: {
98
- rotation: 0,
99
- horizontalCenter: "center",
100
- verticalCenter: "middle",
101
- dy: 0,
102
- dx: 0,
103
- paddingLeft: 3,
104
- paddingRight: 3
105
- },
106
- xAxisTitleLabel: {
107
- align: "center",
108
- valign: "middle",
109
- rotation: 0,
110
- fontSize: 10,
111
- wrap: !0
112
- },
113
- yAxisTitleLabel: {
114
- align: "center",
115
- valign: "middle",
116
- rotation: 270,
117
- wrap: !0
118
- },
119
- titleLabel: {
120
- align: "center",
121
- wrap: !0
122
- },
123
- subtitleLabel: {
124
- align: "center",
125
- wrap: !0
126
- },
127
- horizontalSurfaceGuideLabels: {
128
- horizontalCenter: "right",
129
- align: "right",
130
- verticalCenter: "middle",
131
- wrap: !0
132
- },
133
- horizontalLineGuideLabels: {
134
- horizontalCenter: "right",
135
- align: "right",
136
- verticalCenter: "top",
137
- wrap: !0
138
- },
139
- verticalSurfaceGuideLabels: {
140
- horizontalCenter: "center",
141
- verticalCenter: "top",
142
- valign: "top"
143
- },
144
- verticalLineGuideLabels: {
145
- horizontalCenter: "right",
146
- verticalCenter: "bottom",
147
- valign: "top",
148
- wrap: !0,
149
- rotation: 90
150
- },
151
- guideAbove: !1,
152
- 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,
153
111
  style: {
154
- type: y.SLS,
155
- style: T.Dash,
156
- color: [0, 0, 0, 102],
112
+ type: m.SLS,
113
+ style: L.Dot,
114
+ color: [211, 211, 211, 255],
157
115
  width: 1
158
- },
159
- horizontalLineVisible: !1,
160
- verticalLineVisible: !1
161
- },
162
- gauge: {
163
- innerRadius: 80,
164
- radius: 80,
165
- startAngle: -180,
166
- endAngle: 180,
167
- innerLabelToInnerChartRatio: 0.5,
168
- // 50% of the chart's size, considering the inner radius
169
- axisLabelToInnerChartRatio: 0.13,
170
- // ~= 40 / 300: font size 40 for a 300px gauge
171
- innerLabelAutoMinFontSize: 14,
172
- innerLabelAutoMaxFontSize: 100,
173
- axisLabelAutoMinFontSize: 14,
174
- axisLabelAutoMaxFontSize: 40,
175
- gaugeMinGridDistance: 1,
176
- axisMinimum: 0,
177
- axisMaximum: 100,
178
- numberOfLabelIntervals: 5,
179
- numberOfTicksBetweenTwoLabels: 4,
180
- maximumNumberOfLabelIntervals: 24,
181
- // result in 25 maximum number of axis labels
182
- paddingTop: 10,
183
- paddingBottom: 10,
184
- paddingRight: 5,
185
- paddingLeft: 5
186
- },
187
- gaugeTicksLength: 7,
188
- gaugeInnerLabel: {
189
- horizontalCenter: "center",
190
- verticalCenter: "middle"
191
- },
192
- gaugeNeedle: {
193
- startWidth: 10,
194
- endWidth: 1,
195
- innerRadius: 25,
196
- displayPin: !1
197
- },
198
- gaugeFirstLabelId: "arcgis_charts_gauge_first_label",
199
- gaugeLastLabelId: "arcgis_charts_gauge_last_label",
200
- // containers
201
- headerContainer: {
202
- layout: "vertical",
203
- width: "100%",
204
- paddingBottom: 5
205
- },
206
- footerContainer: {
207
- layout: "vertical",
208
- width: "100%",
209
- paddingTop: 5,
210
- paddingBottom: 15
211
- },
212
- paddingMinSize: 0,
213
- marginMinSize: 0,
214
- chartPaddingMinSize: 7,
215
- chartPaddingRightWhenLegendNotOnRight: 15,
216
- chartAndLegendContainer: {
217
- paddingTop: 0
218
- },
219
- chartContainer: {
220
- paddingBottom: 0,
221
- paddingTop: 15
222
- },
223
- chartContainerPaddingTopWhenRotated: 5,
224
- dataLabelInitialize: {
225
- strokeWidth: 0,
226
- applyOnClones: !0
227
- },
228
- dataLabel: {
229
- align: "center",
230
- horizontalCenter: "center",
231
- valign: "bottom",
232
- verticalCenter: "top",
233
- dy: -3
234
- },
235
- dataLabelRotated: {
236
- align: "right",
237
- horizontalCenter: "right",
238
- valign: "middle",
239
- verticalCenter: "middle",
240
- dx: 2
241
- },
242
- dataLabelStackedRotated: {
243
- align: "center",
244
- horizontalCenter: "center",
245
- valign: "middle",
246
- verticalCenter: "middle"
247
- },
248
- dataLabelStackedNonRotated: {
249
- align: "center",
250
- horizontalCenter: "center",
251
- valign: "middle",
252
- verticalCenter: "middle"
253
- },
254
- dataLabelNegative: {
255
- paddingTop: 5,
256
- paddingRight: 5
257
- },
258
- rotatedChartPadding: {
259
- paddingTop: 2,
260
- paddingRight: 2
261
- },
262
- scatterplotSeries: {
263
- strokeOpacity: 0,
264
- r2: Number.NaN,
265
- trendLinePoints: [{}, {}]
266
- },
267
- histogramSeries: {
268
- normalDistribNumberOfPoints: 100
269
- },
270
- lineSeries: {
271
- strokeWidth: 2,
272
- lineSmoothed: !1,
273
- lineSmoothedKind: te.Bezier,
274
- showArea: !1,
275
- areaOpacity: 0.25,
276
- markerVisible: !0,
277
- rotated: !1,
278
- stackedType: ee.Side,
279
- stackNegativeValuesToBaseline: !0,
280
- marker: {
281
- markerBigSize: 7,
282
- markerSizeThresholdForTooltipDisplay: 9,
283
- markerStyle: re.Circle
284
116
  }
285
- },
286
- buffer: !1,
287
- treatZeroValueAs: 1e-4,
288
- // zero values could mess up logarithmic calculations, so we use this alternative number to prevent critical failures
289
- elementLimitForSmoothRendering: 1e3,
290
- // for line and scatter-plot
291
- pieChart: {
292
- dataLabels: { maxWidth: 100, wrap: !1 },
293
- dataLabelsOffset: 10,
294
- dataLabelsInside: !1,
295
- chartRadius: 80,
296
- chartOptimizedRadius: 70,
297
- innerRadius: X,
298
- min: -90,
299
- max: 270,
300
- displayCategoryOnLegend: !0,
301
- displayCategoryOnTooltip: !0,
302
- displayCategoryOnDataLabel: !0,
303
- displayNumericValueOnLegend: !1,
304
- displayNumericValueOnDataLabel: !0,
305
- displayNumericValueOnTooltip: !0,
306
- displayPercentageOnLegend: !1,
307
- displayPercentageOnDataLabel: !1,
308
- displayPercentageOnTooltip: !0,
309
- sliceGrouping: {
310
- sliceId: q.defaultGroupOfSlicesId,
311
- percentageThreshold: 0,
312
- // 0 means no grouping
313
- fillSymbol: {
314
- type: y.SFS,
315
- color: [210, 210, 210, 255 * $]
316
- // 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: $.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
317
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: []
318
390
  },
319
- defaultPadding: 0,
320
- alignDataLabels: !1,
321
- ticksOpacity: 1,
322
- minimumSize: 20,
323
- technicalFieldSliceId: "arcgis_charts_slice_id",
324
- technicalFieldSlicePercent: "arcgis_charts_slice_percent",
325
- technicalFieldGroupedSlices: "arcgis_charts_grouped_slices"
326
- },
327
- pieSliceCustomLabelName: "customLabel",
328
- yAxisLabelMaxWidth: 100,
329
- xAxisLabelMaxWidth: 75,
330
- axisLabelPadding: 1.5,
331
- categoryAxisLabelPadding: 3,
332
- seriesSort: b.Ascending,
333
- technicalSortingFieldBySum: "arcgis_charts_category_sum",
334
- technicalSortingFieldByPercent: "arcgis_charts_category_first_series_percent",
335
- technicalFieldSplitByField: "arcgis_charts_split_by_field",
336
- color: [0, 0, 0, 255],
337
- chartEllipsis: "...",
338
- backgroundColor: [255, 255, 255, 255],
339
- grayColor: x,
340
- // medium gray
341
- xAxisMinGridDistance: 120,
342
- xCategoryAxisMinGridDistance: 40,
343
- yAxisMinGridDistance: 40,
344
- yCategoryAxisMinGridDistance: 20,
345
- secondRotatedValueAxisMinGridDistance: 80,
346
- staggerMinGridDistance: 40,
347
- shortestMinGridDistance: 20,
348
- maxNumberOfXAxisLabelsInWrapModeForDateAxis: 15,
349
- maxNumberOfXAxisLabelsInWrapMode: 20,
350
- lineWidth: 1,
351
- loaderRotationSpeed: 400,
352
- loaderIntervalTimeout: 400,
353
- loaderLabelFontSize: 20,
354
- selectionTheme: {
355
- selectedElementsTheme: {
356
- elementOutlineColor: [0, 255, 255, 255],
357
- elementOutlineWidth: 5
391
+ emptyCells: {
392
+ symbol: {
393
+ type: m.SFS,
394
+ style: y.Solid,
395
+ color: H
396
+ },
397
+ text: t.utilsStrings.null
358
398
  }
359
- },
360
- columnTooltipPosition: "pointer",
361
- guideTooltipPosition: "pointer",
362
- markerTooltipPosition: "fixed",
363
- sliceTooltipPosition: "fixed",
364
- patternLineProperties: {
365
- width: 5,
366
- height: 5,
367
- strokeWidth: 1,
368
- tileSize: 50,
369
- diagonalTileSize: 1200
370
- },
371
- patternRectProperties: {
372
- rectWidth: 9,
373
- rectHeight: 9,
374
- width: 10,
375
- height: 10,
376
- strokeWidth: 0.3,
377
- fillOpacity: 0
378
- },
379
- originalCategoryValue: "arcgis_charts_original_category_value",
380
- originalYCategoryValue: "arcgis_charts_original_category_y_value",
381
- originalDateValue: "arcgis_charts_original_date_value",
382
- dateBinningRange: "arcgis_charts_bin_range",
383
- originalServerBinningRange: "arcgis_charts_server_bin_range",
384
- dateBinModel: "arcgis_charts_bin_model",
385
- xAxisField: "arcgis_charts_x_axis_field",
386
- xAxisDisplayField: "arcgis_charts_x_axis_display_field",
387
- nullValue: "arcgis_charts_null",
388
- queryMaxFloatPrecision: 10,
389
- dateFormatUTC: {
390
- timeZone: "UTC",
391
- year: "numeric",
392
- month: "numeric",
393
- day: "numeric",
394
- hour: "numeric",
395
- minute: "numeric",
396
- second: "numeric",
397
- hour12: !1
398
- },
399
- dayDefaultFormat: {
400
- day: "numeric",
401
- month: "short"
402
- },
403
- weekDefaultFormat: {
404
- day: "numeric",
405
- month: "short"
406
- },
407
- rendererOtherValue: "arcgisChartsrendererOtherValue",
408
- rendererSymbolField: "arcgis_charts_renderer_symbol",
409
- rendererSymbolFieldForHistogram: "symbol",
410
- scatterplotAggregationFields: {
411
- dataContextXMinField: "arcgis_charts_xmin",
412
- dataContextXMaxField: "arcgis_charts_xmax",
413
- dataContextYMinField: "arcgis_charts_ymin",
414
- dataContextYMaxField: "arcgis_charts_ymax",
415
- dataContextCountDistinctX: "distinctX",
416
- dataContextCountDistinctY: "distinctY",
417
- queryNumberOfFeatures: "numberOfFeatures",
418
- queryNumberOfAggregatedFeatures: "numberOfAggregatedFeatures",
419
- xStep: "xStep",
420
- yStep: "yStep",
421
- rowCount: "rowCount",
422
- columnCount: "columnCount",
423
- realGridSize: "realGridSize"
424
- },
425
- dataTooltipVisible: !0,
426
- dataTooltipStyle: {
427
- outline: {
428
- type: y.SLS,
429
- color: [255, 255, 255, 255],
430
- 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;
431
428
  }
432
- },
433
- dataTooltipStyleReversed: {
434
- color: [255, 255, 255, 255],
435
- outline: {
436
- type: y.SLS,
437
- width: 3
429
+ case a.ScatterSeries: {
430
+ c = _(l), c.grid = v;
431
+ break;
438
432
  }
439
- },
440
- tooltipWidth: 300,
441
- axisLabelOveredOpacity: 0.5,
442
- // 50% of original opacity
443
- generalFontSize: 10,
444
- actionMode: ne.MultiSelectionWithCtrlKey,
445
- debounceTime: 100,
446
- // 100 ms
447
- chartDefaultPaddingRight: 0,
448
- // 0 px default chart's plotting area right padding
449
- htmlEmptyContent: "<p></p>",
450
- boxPlot: {
451
- boxPlotCategory: "arcgis_charts_box_plot_category",
452
- boxPlotOutliersSuffix: "_arcgis_charts_outliers",
453
- boxPlotOutliersVisibility: !1,
454
- boxPlotStandardizeValuesVisibility: !1,
455
- boxPlotOutliersSize: 4,
456
- boxPlotLineWidth: 2,
457
- boxPlotOutlierId: "is_arcgis_charts_outlier",
458
- boxPlotMeanLineMarkerId: "is_arcgis_charts_mean_marker",
459
- boxPlotWhiskersColor: [153, 153, 153, 178.5],
460
- boxPlotTooltipLabelWidth: 250
461
- },
462
- binTemporalData: !0,
463
- lastTemporalBin: "is_arcgis_charts_last_bin",
464
- options: {
465
- hideEmptySeries: !0,
466
- showEmptySeries: !1,
467
- replaceNoValueCategoryWithZero: !0,
468
- hideZeroCountCategories: !1,
469
- autoInverseDataLabelTextColor: !1
470
- },
471
- nullCategory: {
472
- text: "null",
473
- symbol: {
474
- type: y.SFS,
475
- color: x,
476
- outline: {
477
- type: y.SLS,
478
- style: T.Solid,
479
- color: x,
480
- width: 1
481
- }
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;
482
442
  }
483
- },
484
- classBreaks: {
485
- breaksCount: 5
486
- }
487
- }, h = {
488
- // chart with no specific subtype
489
- NonSpecific: "nonSpecific",
490
- // non aggregated bar/line chart
491
- BarAndLineNoAggregation: "barAndLineNoAggregation",
492
- // mono-series bar/line chart with one numeric field and a category
493
- BarAndLineMonoField: "barAndLineMonoField",
494
- // multi-series bar/line chart with numeric fields and a category
495
- BarAndLineMultiFields: "barAndLineMultiFields",
496
- // mono-series bar/line chart from numeric fields, no category
497
- BarAndLineFromFields: "barAndLineFromFields",
498
- // bar/line chart with split-by field and a category
499
- BarAndLineSplitBy: "barAndLineSplitBy",
500
- // non aggregated bar/line chart with split-by field and a category
501
- BarAndLineSplitByNoAggregation: "barAndLineSplitByNoAggregation",
502
- // non aggregated pie chart
503
- PieNoAggregation: "pieNoAggregation",
504
- // pie chart with a category
505
- PieFromCategory: "pieFromCategory",
506
- // pie chart from numeric fields
507
- PieFromFields: "pieFromFields",
508
- // box plot with a numeric field, no category
509
- BoxPlotMonoField: "boxPlotMonoField",
510
- // box plot with multiple numeric fields, no category
511
- BoxPlotMultiFields: "boxPlotMultiFields",
512
- // box plot with a numeric field and a category
513
- BoxPlotMonoFieldAndCategory: "boxPlotMonoFieldAndCategory",
514
- // box plot with multiple numeric fields and a category
515
- BoxPlotMultiFieldsAndCategory: "boxPlotMultiFieldsAndCategory",
516
- // box plot with a numeric field and a split-by field
517
- BoxPlotMonoFieldAndSplitBy: "boxPlotMonoFieldAndSplitBy",
518
- // box plot with multiple numeric fields and a split-by field
519
- BoxPlotMultiFieldsAndSplitBy: "boxPlotMultiFieldsAndSplitBy",
520
- // box plot with a numeric field, a category and a split-by field
521
- BoxPlotMonoFieldAndCategoryAndSplitBy: "boxPlotMonoFieldAndCategoryAndSplitBy"
522
- }, be = {
523
- SelectionByClick: "SelectionByClick",
524
- SelectionByRange: "SelectionByRange",
525
- ProgrammaticSelection: "ProgrammaticSelection",
526
- ClearSelection: "ClearSelection"
527
- }, c = {
528
- Mean: "Mean",
529
- Median: "Median",
530
- StdDev: "Standard Deviation",
531
- Normal: "Normal Distribution",
532
- Trendline: "Trendline"
533
- };
534
- function fe(t) {
535
- return t?.colorMatch ?? !1;
536
- }
537
- function xe(t) {
538
- let e = L();
539
- if (t !== void 0) {
540
- const i = S(t.series);
541
- (i === n.BarSeries || i === n.LineSeries || i === n.ComboLineAndBarSeries || i === n.BoxPlotSeries) && (e = t.rotated ?? L());
542
443
  }
543
- 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
+ };
544
454
  }
545
- function Ce(t) {
546
- return t?.map((e) => e.type) ?? [];
455
+ function $e() {
456
+ return {
457
+ type: m.SFS,
458
+ style: y.Solid,
459
+ color: H
460
+ };
547
461
  }
548
- function Le(t) {
549
- let e = t?.stackedType;
550
- if (e === void 0 && t !== void 0) {
551
- const i = S(t.series);
552
- (i === n.BarSeries || i === n.LineSeries || i === n.ComboLineAndBarSeries || i === n.RadarSeries) && (e = Y());
553
- }
554
- 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
+ };
555
469
  }
556
- function se(t) {
557
- let e = t;
558
- 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;
559
473
  }
560
- function le(t) {
561
- let e = !1;
562
- if (typeof t != "number") {
563
- const i = new Intl.Segmenter();
564
- e = Array.from(i.segment(t), (a) => a.segment).some((a) => a.charCodeAt(0) > 255);
565
- }
566
- 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: W.Day,
501
+ size: 0,
502
+ timeAggregationType: R.Start,
503
+ trimIncompleteTimeInterval: !0,
504
+ nullPolicy: V.Interpolate
505
+ }
506
+ };
567
507
  }
568
- function Te(t) {
569
- let e = t, i = "";
570
- t.startsWith("'") && t.endsWith("'") && (e = t.slice(1, -1), i = "'"), e = e.replace(/'/gu, "''");
571
- let r = "";
572
- return le(e) && (r = "N"), `${r}${i}${e}${i}`;
573
- }
574
- function Be(t) {
575
- const { value: e, keepSurroundingQuotes: i, escape: r } = t;
576
- let a = e?.trim();
577
- if (!P(a)) {
578
- let s = "";
579
- a.startsWith("'") && a.endsWith("'") && (a = a.slice(1, -1), i && (s = "'")), r && (a = se(a)), a = `${s}${a}${s}`;
580
- }
581
- return a;
582
- }
583
- function Ae(t) {
584
- const { count: e, seriesCount: i, chartType: r, chartLimits: a } = t, { behaviorAfterLimit: s } = a ?? {};
585
- let o = !0;
586
- if (s !== Q.RenderUpToTheLimit) {
587
- const {
588
- maxBarChartSeriesCount: u,
589
- maxBarUniqueSeriesCountTotal: l,
590
- maxBarTwoSeriesCountPerSeries: d,
591
- maxBarTwoSeriesCountTotal: m,
592
- maxBarThreePlusSeriesCountPerSeries: f,
593
- maxBarThreePlusSeriesCountTotal: F,
594
- maxLineChartSeriesCount: v,
595
- maxLineUniqueSeriesCountTotal: M,
596
- maxLineTwoSeriesCountPerSeries: k,
597
- maxLineTwoSeriesCountTotal: O,
598
- maxLineThreePlusSeriesCountPerSeries: R,
599
- maxLineThreePlusSeriesCountTotal: w,
600
- maxPieChartSliceCountTotal: N,
601
- maxGaugeByFeaturesLimit: z,
602
- maxBoxPlotSeriesCount: I,
603
- maxBoxUniqueSeriesCountTotal: D,
604
- maxBoxTwoSeriesCountTotal: W,
605
- maxBoxTwoSeriesCountPerSeries: V,
606
- maxBoxThreePlusSeriesCountTotal: E,
607
- maxBoxThreePlusSeriesCountPerSeries: G,
608
- maxHeatChartCellLimit: H
609
- } = Z(a);
610
- switch (r) {
611
- case n.BarSeries:
612
- 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: [
613
529
  {
614
- const g = e / i;
615
- 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
616
533
  }
617
- break;
618
- case n.LineSeries:
619
- 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: [
620
591
  {
621
- const g = e / i;
622
- 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
623
595
  }
624
- break;
625
- case n.PieSeries:
626
- o = e <= N;
627
- break;
628
- 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: [
629
639
  {
630
- const g = e / i;
631
- 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
632
643
  }
633
- break;
634
- case n.HeatSeries:
635
- o = e <= H;
636
- break;
637
- case n.GaugeSeries:
638
- o = e <= z;
639
- break;
640
- }
641
- }
642
- return o;
643
- }
644
- function _e(t = [], e) {
645
- const i = t.find((r) => r.name === e)?.alias;
646
- return i !== "" ? i ?? e : e;
647
- }
648
- function Pe(t = [], e) {
649
- const i = t.find((r) => r.alias === e)?.name;
650
- return i !== "" ? i ?? e : e;
651
- }
652
- function Fe(t) {
653
- let e = !1;
654
- switch (S(t)) {
655
- case n.HeatSeries:
656
- case n.PieSeries:
657
- e = !0;
658
- break;
659
- case n.BarSeries:
660
- case n.LineSeries:
661
- case n.RadarSeries:
662
- case n.ComboLineAndBarSeries:
663
- case n.BoxPlotSeries:
664
- e = t.length > 1;
665
- break;
666
- case n.HistogramSeries:
667
- case n.ScatterSeries: {
668
- const r = t[0];
669
- e = r.overlays !== void 0 && Object.values(r.overlays).some((a) => a.created === !0);
670
- break;
671
- }
672
- }
673
- return e;
644
+ ]
645
+ },
646
+ x: ""
647
+ };
674
648
  }
675
- function B(t) {
676
- let e = !0;
677
- return S(t.series) === n.ScatterSeries && (e = t.series.length === 1), e;
678
- }
679
- function A(t) {
680
- let e = !0;
681
- 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;
682
- }
683
- function _(t) {
684
- let e = !0;
685
- return S(t.series) === n.PieSeries && (e = t.series.length <= 1), e;
686
- }
687
- function ve(t, e) {
688
- const i = S(e?.series);
689
- let r = i !== void 0 && t.includes(i);
690
- if (r && e !== void 0)
691
- switch (i) {
692
- case n.HistogramSeries:
693
- r = A(e);
694
- break;
695
- case n.ScatterSeries:
696
- r = B(e);
697
- break;
698
- case n.PieSeries:
699
- r = _(e);
700
- 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
701
802
  }
702
- 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
+ };
703
819
  }
704
- function P(t) {
705
- 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
+ };
706
842
  }
707
- function de(t, e) {
708
- const i = e.find((a) => a in t);
709
- 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
+ };
710
858
  }
711
- function Me(t) {
712
- 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
+ };
713
867
  }
714
- function ke(t, e) {
715
- 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: Q.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;
716
1054
  switch (t) {
717
- case p.Second:
718
- i = e.seconds ?? "";
1055
+ case u.Average: {
1056
+ r = e.utilsStrings.statistics.mean;
719
1057
  break;
720
- case p.Minute:
721
- i = e.minutes ?? "";
1058
+ }
1059
+ case u.ContinuousPercentile: {
1060
+ r = e.utilsStrings.statistics.median;
722
1061
  break;
723
- case p.Hour:
724
- i = e.hours ?? "";
1062
+ }
1063
+ case u.Sum: {
1064
+ r = e.utilsStrings.statistics.sum;
725
1065
  break;
726
- case p.Day:
727
- i = e.days ?? "";
1066
+ }
1067
+ case u.Minimum: {
1068
+ r = e.utilsStrings.statistics.minimum;
728
1069
  break;
729
- case p.Week:
730
- i = e.weeks ?? "";
1070
+ }
1071
+ case u.Maximum: {
1072
+ r = e.utilsStrings.statistics.maximum;
731
1073
  break;
732
- case p.Month:
733
- i = e.months ?? "";
1074
+ }
1075
+ case u.Variance: {
1076
+ r = e.utilsStrings.statistics.variance;
734
1077
  break;
735
- case p.Year:
736
- i = e.years ?? "";
1078
+ }
1079
+ case u.DiscretePercentile: {
1080
+ r = e.utilsStrings.statistics.discretePercentile;
737
1081
  break;
738
- default:
739
- 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;
740
1090
  break;
1091
+ }
741
1092
  }
742
- return i;
1093
+ return r;
743
1094
  }
744
- function Oe(t) {
745
- let e;
1095
+ function St(t, e) {
1096
+ let r;
746
1097
  switch (t) {
747
- case c.Mean:
748
- e = 1;
749
- break;
750
- case c.Median:
751
- e = 2;
1098
+ case R.End: {
1099
+ r = e.timeAggregationTypes.end;
752
1100
  break;
753
- case c.StdDev:
754
- e = 3;
1101
+ }
1102
+ case R.Start: {
1103
+ r = e.timeAggregationTypes.start;
755
1104
  break;
756
- case c.Normal:
1105
+ }
757
1106
  default:
758
- e = 0;
1107
+ r = "";
759
1108
  break;
760
1109
  }
761
- return e;
762
- }
763
- function Re(t, e) {
764
- if (e !== void 0) {
765
- const { seriesId: i, overlayType: r, visible: a } = t.detail;
766
- let s;
767
- switch (r) {
768
- case c.Mean:
769
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.mean);
770
- break;
771
- case c.Median:
772
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.median);
773
- break;
774
- case c.StdDev:
775
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.standardDeviation);
776
- break;
777
- case c.Normal:
778
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.comparisonDistribution);
779
- break;
780
- case c.Trendline:
781
- e.series[0].type === n.ScatterSeries && (s = e.series[0].overlays?.trendLine);
782
- break;
783
- default:
784
- s = e.series.find((o) => o.id === i);
785
- break;
786
- }
787
- s !== void 0 && (s.visible = a);
788
- }
789
- }
790
- function we(t) {
791
- return new K().sanitize(t);
792
- }
793
- function Ne(t) {
794
- return t != null && !Number.isNaN(t) && Number.isFinite(t);
795
- }
796
- function ce(t, e) {
797
- let i = { fieldToSort: "" };
798
- if (!P(t)) {
799
- const r = t.trim(), s = r.split(" ").at(-1)?.toUpperCase();
800
- s === b.Ascending || s === b.Descending ? i = { fieldToSort: r.substring(0, r.lastIndexOf(" ")), orderBy: s } : (i = { fieldToSort: r }, e !== !1 && (i.orderBy = b.Ascending));
801
- }
802
- return i;
1110
+ return r;
803
1111
  }
804
- function ze(t) {
805
- return t.orderOptions?.orderByFields?.map((e) => ce(e).fieldToSort) ?? [];
1112
+ function dt() {
1113
+ return J.Side;
806
1114
  }
807
- function Ie(t) {
808
- 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;
809
1117
  }
810
- function De(t, e) {
811
- let { selectionItems: i } = t ?? {};
812
- const { selectionOIDs: r } = t ?? {};
813
- let { selectionItems: a } = e ?? {};
814
- const { selectionOIDs: s } = e ?? {}, o = (d) => ({
815
- ...d,
816
- [j]: void 0
817
- });
818
- i !== void 0 && (i = i.map(o)), a !== void 0 && (a = a.map(o));
819
- const u = !C(i, a), l = !C(r, s);
820
- return u || l;
821
- }
822
- function We(t) {
823
- return t?.selectionPixelTarget ? U(t.selectionPixelTarget.pixelRanges) : t?.selectionOIDs === void 0 || t.selectionOIDs.length === 0;
824
- }
825
- function Ve(t = {
826
- arrayA: [],
827
- arrayB: [],
828
- getKey: (e) => e
829
- }) {
830
- const { arrayA: e, arrayB: i, getKey: r } = t;
831
- if (i.length === 0 || e.length === 0)
832
- return e;
833
- const a = /* @__PURE__ */ new Map();
834
- i.forEach((l, d) => {
835
- const m = r(l);
836
- a.set(m, d);
837
- });
838
- const s = [], o = [];
839
- e.forEach((l, d) => {
840
- const m = r(l);
841
- a.has(m) && (s.push(d), o.push(l));
842
- }), o.sort((l, d) => {
843
- const m = r(l), f = r(d);
844
- return a.get(m) - a.get(f);
845
- });
846
- const u = [...e];
847
- return s.forEach((l, d) => {
848
- u[l] = o[d];
849
- }), u;
850
- }
851
- function Ee(t, e) {
852
- return (t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation) && e !== void 0 ? e.x : oe.xAxisField;
853
- }
854
- function Ge(t) {
855
- 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);
856
- return 0.299 * s + 0.587 * o + 0.114 * u > 128;
857
- }
858
- const He = {
859
- isSupportedHistogram: A,
860
- isSupportedPieChart: _,
861
- isSupportedScatterplot: B
862
- };
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;
863
1122
  export {
864
- ne as A,
865
- we as B,
866
- h as C,
867
- Ve as D,
868
- Re as E,
869
- oe as F,
870
- c as O,
871
- be as S,
872
- ye as a,
873
- Ee as b,
874
- Fe as c,
875
- _e as d,
876
- Te as e,
877
- Pe as f,
878
- fe as g,
879
- ce as h,
880
- ze as i,
881
- Oe as j,
882
- Ce as k,
883
- Le as l,
884
- ke as m,
885
- De as n,
886
- xe as o,
887
- Ge as p,
888
- P as q,
889
- Ae as r,
890
- de as s,
891
- Me as t,
892
- We as u,
893
- Ie as v,
894
- ve as w,
895
- Ne as x,
896
- He as y,
897
- Be as z
1123
+ Ke as $,
1124
+ se as A,
1125
+ je as B,
1126
+ _e as C,
1127
+ b as D,
1128
+ q as E,
1129
+ X as F,
1130
+ M 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
+ K as T,
1144
+ Pe 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
+ H as a0,
1153
+ gt as a1,
1154
+ I as a2,
1155
+ o as a3,
1156
+ n as a4,
1157
+ s as a5,
1158
+ h as a6,
1159
+ T as a7,
1160
+ C as a8,
1161
+ Xe 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
+ yt as aa,
1170
+ ve 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
898
1220
  };