@arcgis/charts-components 6.0.0-next.1 → 6.0.0-next.10

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 (410) hide show
  1. package/dist/cdn/{CYGMXV56.js → 2AQOOOLP.js} +2 -2
  2. package/dist/cdn/{6P652GSA.js → 2BPLDZAJ.js} +2 -2
  3. package/dist/cdn/{EQZBQP5A.js → 2IME76YJ.js} +2 -2
  4. package/dist/cdn/{5D2QRMC6.js → 2U7I6WSI.js} +2 -2
  5. package/dist/cdn/{BGQBOLMO.js → 2WQNU554.js} +2 -2
  6. package/dist/cdn/{G4A4HBNN.js → 33LWKOPD.js} +2 -2
  7. package/dist/cdn/{KGUFKVDR.js → 373UZR4I.js} +2 -2
  8. package/dist/cdn/{VKU5WPWI.js → 3DDSV3IF.js} +2 -2
  9. package/dist/cdn/3MXANTL7.js +2 -0
  10. package/dist/cdn/{WTF2PFHV.js → 3VLTTU3Q.js} +2 -2
  11. package/dist/cdn/{KFLVZ3W6.js → 3VZK52LO.js} +2 -2
  12. package/dist/cdn/4CUMUAAH.js +2 -0
  13. package/dist/cdn/4MCM2HLB.js +2 -0
  14. package/dist/cdn/{HP4BKU3R.js → 4MSDOPVE.js} +2 -2
  15. package/dist/cdn/{UQSD6YZM.js → 4PZOGAUO.js} +2 -2
  16. package/dist/cdn/{ACJYOVLW.js → 52PHJCYM.js} +2 -2
  17. package/dist/cdn/{UT5D2ZKJ.js → 55DRYT5X.js} +2 -2
  18. package/dist/cdn/{L6O73HFV.js → 57RWTLRG.js} +2 -2
  19. package/dist/cdn/{POA2XTTK.js → 5AKOPV7Z.js} +2 -2
  20. package/dist/cdn/{Q4U7XCT6.js → 5ANJA54O.js} +2 -2
  21. package/dist/cdn/5BRIW4JG.js +2 -0
  22. package/dist/cdn/{CB6RALFJ.js → 5JK6VH6K.js} +2 -2
  23. package/dist/cdn/5OYAVQQE.js +2 -0
  24. package/dist/cdn/{7COM5REK.js → 5RNBCLC3.js} +2 -2
  25. package/dist/cdn/5ZUY5423.js +2 -0
  26. package/dist/cdn/62FX3J5X.js +2 -0
  27. package/dist/cdn/{2BE3GYK4.js → 67ANW3I4.js} +2 -2
  28. package/dist/cdn/{77MRFLGO.js → 6FW2SXLC.js} +2 -2
  29. package/dist/cdn/6QBSP4KD.js +2 -0
  30. package/dist/cdn/6RWOVGNO.js +2 -0
  31. package/dist/cdn/7CKN3OHT.js +2 -0
  32. package/dist/cdn/7GF7IASO.js +2 -0
  33. package/dist/cdn/{Q45WYAOY.js → 7JMZPDM5.js} +1 -1
  34. package/dist/cdn/A2PYAGE3.js +2 -0
  35. package/dist/cdn/ADQTDPLB.js +2 -0
  36. package/dist/cdn/{CPHTAVGQ.js → AS2IRRXE.js} +2 -2
  37. package/dist/cdn/{Z5QPCSUQ.js → AUKJ4CBR.js} +2 -2
  38. package/dist/cdn/{E3EMRNWO.js → AVRIN2FL.js} +2 -2
  39. package/dist/cdn/{QVG3TOL4.js → BNAX4Y53.js} +1 -1
  40. package/dist/cdn/BNNHHDU7.js +2 -0
  41. package/dist/cdn/{PIZPF2BH.js → BRDWYHNB.js} +2 -2
  42. package/dist/cdn/BRTTYFXT.js +2 -0
  43. package/dist/cdn/{ENFJM3LJ.js → C7VQM4TH.js} +2 -2
  44. package/dist/cdn/CI5EMPAM.js +2 -0
  45. package/dist/cdn/{VLCUXTLC.js → D2PAS7YI.js} +2 -2
  46. package/dist/cdn/D6GRNBZP.js +2 -0
  47. package/dist/cdn/D6WOKCOW.js +2 -0
  48. package/dist/cdn/DEXP6J3O.js +2 -0
  49. package/dist/cdn/{ZLCRTIQH.js → DGKQXBUX.js} +2 -2
  50. package/dist/cdn/{OKAZOAYZ.js → DKV3ENOO.js} +2 -2
  51. package/dist/cdn/DMOEIZNS.js +2 -0
  52. package/dist/cdn/DRUWV4QU.js +2 -0
  53. package/dist/cdn/{B2SUC7VR.js → DTUR5Z3G.js} +2 -2
  54. package/dist/cdn/{XEUHT7JB.js → DXDQ6EMD.js} +25 -25
  55. package/dist/cdn/{6WKTHJQK.js → E5DTUNML.js} +2 -2
  56. package/dist/cdn/{UUVJGPFG.js → ECJI2AWN.js} +2 -2
  57. package/dist/cdn/{7C2LVFNV.js → EMVUIELY.js} +2 -2
  58. package/dist/cdn/EOTR4BKX.js +2 -0
  59. package/dist/cdn/EPY6V4CJ.js +4 -0
  60. package/dist/cdn/ESXR5BLH.js +2 -0
  61. package/dist/cdn/{YCQLYXH4.js → ETGI2F7C.js} +2 -2
  62. package/dist/cdn/EYDYH5BT.js +2 -0
  63. package/dist/cdn/F3RF7JPT.js +2 -0
  64. package/dist/cdn/{QP5UAIC6.js → FHN6CIIO.js} +1 -1
  65. package/dist/cdn/{24MSASQQ.js → FKBLB3H6.js} +2 -2
  66. package/dist/cdn/{QD7SXYTF.js → FKES55PK.js} +2 -2
  67. package/dist/cdn/{LAEUROZM.js → FLCOXPGW.js} +2 -2
  68. package/dist/cdn/{2C2NIEZB.js → FM6F6ZYW.js} +2 -2
  69. package/dist/cdn/{LVFZRGTZ.js → FNXREQOE.js} +2 -2
  70. package/dist/cdn/FYQGRCBG.js +2 -0
  71. package/dist/cdn/G37AUFZF.js +2 -0
  72. package/dist/cdn/G5VMZ4VH.js +2 -0
  73. package/dist/cdn/GAKY2U56.js +2 -0
  74. package/dist/cdn/GBX7JKXH.js +2 -0
  75. package/dist/cdn/{LN2ZLCLE.js → GCUOASRZ.js} +2 -2
  76. package/dist/cdn/GOIPGQBY.js +2 -0
  77. package/dist/cdn/{BK7DHYA7.js → GPGC4L7H.js} +2 -2
  78. package/dist/cdn/GRGXX2Z5.js +2 -0
  79. package/dist/cdn/GRMO7AJJ.js +2 -0
  80. package/dist/cdn/{RP6LD7CU.js → GSCC3FON.js} +2 -2
  81. package/dist/cdn/{TB7JE5XK.js → GV333VNC.js} +2 -2
  82. package/dist/cdn/{L7USVDCR.js → H3ZHPXRC.js} +2 -2
  83. package/dist/cdn/{YNHYJOH7.js → H5VCT3XP.js} +2 -2
  84. package/dist/cdn/HHHAJL7M.js +2 -0
  85. package/dist/cdn/HNXEJNF2.js +2 -0
  86. package/dist/cdn/{DOOQHQ3P.js → HUU3QFFC.js} +2 -2
  87. package/dist/cdn/HVJPAZGC.js +2 -0
  88. package/dist/cdn/HVNTD3Q6.js +2 -0
  89. package/dist/cdn/HXMLK3YJ.js +2 -0
  90. package/dist/cdn/HZTTUPNN.js +2 -0
  91. package/dist/cdn/I6SVVJK3.js +2 -0
  92. package/dist/cdn/{OBPAQN4H.js → IBCFYECI.js} +1 -1
  93. package/dist/cdn/IBZIYVHR.js +2 -0
  94. package/dist/cdn/{J7CDASEM.js → INILFUNG.js} +2 -2
  95. package/dist/cdn/IVTDNZSZ.js +2 -0
  96. package/dist/cdn/{I2BM5KSH.js → J2BBY6FO.js} +2 -2
  97. package/dist/cdn/{5FZODM64.js → J5VMBGYI.js} +2 -2
  98. package/dist/cdn/{M3XUZXNC.js → JYLCRNMW.js} +2 -2
  99. package/dist/cdn/{NKPZCF5U.js → K2BDZCYY.js} +2 -2
  100. package/dist/cdn/{5XJT5ZZ3.js → K43DVQFC.js} +2 -2
  101. package/dist/cdn/{S6QN5N3G.js → KCP6AJV7.js} +2 -2
  102. package/dist/cdn/{YU3PMXUH.js → KE7XE22Z.js} +2 -2
  103. package/dist/cdn/{NWITMWCT.js → KK445MLC.js} +2 -2
  104. package/dist/cdn/{NRXCKYYY.js → KK532FRP.js} +2 -2
  105. package/dist/cdn/{ADI63OO7.js → KR6LSUUG.js} +2 -2
  106. package/dist/cdn/{TOL6YNER.js → KRRYFLG4.js} +2 -2
  107. package/dist/cdn/{NWLNHFHJ.js → KWC3D6QX.js} +2 -2
  108. package/dist/cdn/{ZSPRUAWO.js → L26HYK34.js} +2 -2
  109. package/dist/cdn/{5ZQUHYTV.js → L4KDCWA7.js} +2 -2
  110. package/dist/cdn/{MFJTFFLO.js → LE3B3ATZ.js} +2 -2
  111. package/dist/cdn/{BDEDEGCZ.js → LYEEM2QH.js} +2 -2
  112. package/dist/cdn/{H36JC7RS.js → M7MSRLEE.js} +2 -2
  113. package/dist/cdn/{P37JASN4.js → MG5KAUC3.js} +2 -2
  114. package/dist/cdn/MVIMCR4O.js +2 -0
  115. package/dist/cdn/{ZZHKDFTA.js → MXQONC3S.js} +2 -2
  116. package/dist/cdn/MXTS44AG.js +2 -0
  117. package/dist/cdn/{3VMHKSYP.js → N7JJ6DIC.js} +1 -1
  118. package/dist/cdn/NCPNWQMP.js +2 -0
  119. package/dist/cdn/NHJPAIVY.js +2 -0
  120. package/dist/cdn/{TK2F34AK.js → NUTUTE7W.js} +2 -2
  121. package/dist/cdn/OA24BIJ5.js +2 -0
  122. package/dist/cdn/OO25ZLEY.js +2 -0
  123. package/dist/cdn/OQ2DAU4S.js +2 -0
  124. package/dist/cdn/{ZD6FBRAV.js → OYUTQX4U.js} +2 -2
  125. package/dist/cdn/{PABVNO3N.js → OZSHGMU6.js} +2 -2
  126. package/dist/cdn/{NGXRBJKL.js → OZSOICXE.js} +1 -1
  127. package/dist/cdn/{L7CMLBHB.js → P67ON5B6.js} +1 -1
  128. package/dist/cdn/{64B7ILJI.js → PANHH53Q.js} +2 -2
  129. package/dist/cdn/PBQRZBQM.js +2 -0
  130. package/dist/cdn/PBWXTUZG.js +2 -0
  131. package/dist/cdn/{64JQTZPV.js → PQESGESY.js} +2 -2
  132. package/dist/cdn/{5GAM5RFW.js → Q4H5YVTW.js} +2 -2
  133. package/dist/cdn/{64L7VJJK.js → QGHI4FS2.js} +2 -2
  134. package/dist/cdn/{UGNJ4AF4.js → QLBO3URO.js} +2 -2
  135. package/dist/cdn/{4DXGXATO.js → QM6ITQXX.js} +2 -2
  136. package/dist/cdn/{RJB4BUDG.js → R4PFJLD2.js} +2 -2
  137. package/dist/cdn/R53Q2XGQ.js +2 -0
  138. package/dist/cdn/REHZ6CP3.js +2 -0
  139. package/dist/cdn/{OQFM5DBD.js → RFOCYJOH.js} +2 -2
  140. package/dist/cdn/{K7KTLLN3.js → RPB56XMC.js} +3 -3
  141. package/dist/cdn/RWR5WVPG.js +2 -0
  142. package/dist/cdn/{JC3KQC4M.js → RZY26VLW.js} +2 -2
  143. package/dist/cdn/{TOFHR6G7.js → SBJXOYLB.js} +2 -2
  144. package/dist/cdn/{UIH663J3.js → SCS4MWFN.js} +2 -2
  145. package/dist/cdn/{SSOL6PCL.js → SDQYOTQB.js} +2 -2
  146. package/dist/cdn/SERDXBEF.js +2 -0
  147. package/dist/cdn/SFX2QCRS.js +2 -0
  148. package/dist/cdn/{Y3X7AUIP.js → SMHUUBEU.js} +2 -2
  149. package/dist/cdn/SOSQGEYI.js +2 -0
  150. package/dist/cdn/{UD724V36.js → SZACRMUM.js} +2 -2
  151. package/dist/cdn/{AX6KSFYK.js → TFWCYDKN.js} +2 -2
  152. package/dist/cdn/TG37UNR7.js +2 -0
  153. package/dist/cdn/{BYSUABOV.js → TIWCUJOG.js} +1 -1
  154. package/dist/cdn/TTV7DGFQ.js +2 -0
  155. package/dist/cdn/TU3OFQPY.js +2 -0
  156. package/dist/cdn/{OISERMTF.js → U2FUO2GZ.js} +2 -2
  157. package/dist/cdn/{CG7KYJ6V.js → UHSL7Y3B.js} +2 -2
  158. package/dist/cdn/{Y3C3CPH6.js → UITA7CSN.js} +2 -2
  159. package/dist/cdn/{ZEI2ZKEJ.js → UQRD2CTK.js} +2 -2
  160. package/dist/cdn/UUEYN7QY.js +2 -0
  161. package/dist/cdn/{QIG5H6WA.js → UWQ27S2B.js} +2 -2
  162. package/dist/cdn/V35YA4VJ.js +2 -0
  163. package/dist/cdn/{O7QPA3NH.js → V7SVV26H.js} +2 -2
  164. package/dist/cdn/{NUD4N547.js → VITUV4HV.js} +2 -2
  165. package/dist/cdn/VJMXXMFI.js +2 -0
  166. package/dist/cdn/{SO5USEBM.js → VKMVMHTT.js} +2 -2
  167. package/dist/cdn/{5WIR3JWC.js → VRDO75EG.js} +2 -2
  168. package/dist/cdn/{2BYGCYAZ.js → VT3NOR5A.js} +2 -2
  169. package/dist/cdn/{LWT3HZYN.js → W7VPVF72.js} +2 -2
  170. package/dist/cdn/WAHJIOS5.js +2 -0
  171. package/dist/cdn/{TRAVRA3M.js → WIOGS5VR.js} +2 -2
  172. package/dist/cdn/WIXK4A6U.js +2 -0
  173. package/dist/cdn/{KX7KGXKQ.js → WKF53DYD.js} +1 -1
  174. package/dist/cdn/{YG254BNH.js → WMGJN3JL.js} +2 -2
  175. package/dist/cdn/X5TWBBO6.js +2 -0
  176. package/dist/cdn/XF7SJJ6J.js +2 -0
  177. package/dist/cdn/{YD3ETL5Z.js → XFEWDUTX.js} +2 -2
  178. package/dist/cdn/{6HBAS6LD.js → XIE5EUIH.js} +2 -2
  179. package/dist/cdn/XJUMOE6X.js +2 -0
  180. package/dist/cdn/{GL2VXFGY.js → XR7RCGIT.js} +2 -2
  181. package/dist/cdn/XS33HEQ4.js +4 -0
  182. package/dist/cdn/{IJGJ7LW4.js → XTGFTMVI.js} +2 -2
  183. package/dist/cdn/XTYXEE3J.js +2 -0
  184. package/dist/cdn/{ZSP5DFLS.js → XUSFQDK4.js} +2 -2
  185. package/dist/cdn/{5L7BAEX5.js → XXO5K6N4.js} +2 -2
  186. package/dist/cdn/Y67ETZ3T.js +2 -0
  187. package/dist/cdn/Y7P2RW24.js +2 -0
  188. package/dist/cdn/{P5I5RQTN.js → Y7ZYTQQ5.js} +2 -2
  189. package/dist/cdn/{IDAOLPMA.js → YA4OQLNH.js} +2 -2
  190. package/dist/cdn/{UE4KTI5X.js → YF6ML4P6.js} +2 -2
  191. package/dist/cdn/{QKZK6MTN.js → YKNX76GX.js} +2 -2
  192. package/dist/cdn/{5ALFG7T4.js → Z2IHEWWP.js} +2 -2
  193. package/dist/cdn/{KOY5DWSR.js → Z7AXROEU.js} +2 -2
  194. package/dist/cdn/{AKW3NHSY.js → ZCEZ3K6F.js} +2 -2
  195. package/dist/cdn/{OD2NWPCL.js → ZCJFZFEV.js} +2 -2
  196. package/dist/cdn/ZFWGZCEY.js +2 -0
  197. package/dist/cdn/ZK3ZCNLZ.js +2 -0
  198. package/dist/cdn/index.js +2 -2
  199. package/dist/cdn/model/shared/setup-utils.js +2 -2
  200. package/dist/chunks/action-bar-utils.js +19 -21
  201. package/dist/chunks/axis-lines-symbol.js +7 -7
  202. package/dist/chunks/axis-model-wrapper.js +1 -1
  203. package/dist/chunks/bar-chart-model.js +6 -8
  204. package/dist/chunks/bg_BG.js +1 -1
  205. package/dist/chunks/box-plot-data.js +134 -135
  206. package/dist/chunks/box-plot-model.js +45 -43
  207. package/dist/chunks/chart-model.js +32 -34
  208. package/dist/chunks/chart-object-literals.js +1 -1
  209. package/dist/chunks/chart-ui-utils.js +46 -48
  210. package/dist/chunks/chart-ui-utils2.js +2 -2
  211. package/dist/chunks/class-breaks.js +15 -15
  212. package/dist/chunks/combo-bar-line-chart-model.js +16 -17
  213. package/dist/chunks/common.js +1 -1
  214. package/dist/chunks/data-labels-symbol.js +2 -2
  215. package/dist/chunks/data-labels-visibility.js +2 -2
  216. package/dist/chunks/data.js +53 -55
  217. package/dist/chunks/default.js +1 -1
  218. package/dist/chunks/gauge-model.js +66 -66
  219. package/dist/chunks/generate-x-axis-title.js +20 -20
  220. package/dist/chunks/heat-chart-model.js +14 -15
  221. package/dist/chunks/histogram-data.js +48 -49
  222. package/dist/chunks/histogram-model.js +7 -7
  223. package/dist/chunks/index.js +5321 -4202
  224. package/dist/chunks/index2.js +1166 -872
  225. package/dist/chunks/index3.js +11041 -1174
  226. package/dist/chunks/index4.js +66 -11087
  227. package/dist/chunks/interfaces.js +1 -1
  228. package/dist/chunks/line-chart-model.js +19 -20
  229. package/dist/chunks/model-setter.js +7 -7
  230. package/dist/chunks/model-types.js +1 -1
  231. package/dist/chunks/model-with-line-marker-styling.js +1 -1
  232. package/dist/chunks/model-with-x-guides.js +2 -2
  233. package/dist/chunks/model-with-y-guides.js +26 -26
  234. package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
  235. package/dist/chunks/pie-chart-data.js +26 -28
  236. package/dist/chunks/pie-chart-model.js +30 -29
  237. package/dist/chunks/popover-ui-utils.js +1 -1
  238. package/dist/chunks/radar-chart-model.js +7 -8
  239. package/dist/chunks/resource.js +2 -2
  240. package/dist/chunks/resources.js +1 -1
  241. package/dist/chunks/rest-js-object-literals.js +1 -1
  242. package/dist/chunks/rotated-state.js +2 -2
  243. package/dist/chunks/rounded-corners.js +3 -3
  244. package/dist/chunks/runtime.js +2 -2
  245. package/dist/chunks/scatterplot-model.js +14 -16
  246. package/dist/chunks/serial-chart-data.js +459 -461
  247. package/dist/chunks/serial-chart-model.js +71 -68
  248. package/dist/chunks/series-length.js +5 -5
  249. package/dist/chunks/series-types.js +1 -1
  250. package/dist/chunks/series.js +2 -2
  251. package/dist/chunks/store.js +1 -1
  252. package/dist/chunks/type-guards.js +110 -56
  253. package/dist/chunks/useT9n.js +1 -1
  254. package/dist/chunks/utils.js +147 -213
  255. package/dist/chunks/web-component-utils.js +56 -57
  256. package/dist/chunks/x-bounds.js +25 -26
  257. package/dist/components/arcgis-chart/customElement.d.ts +112 -30
  258. package/dist/components/arcgis-chart/customElement.js +8089 -7870
  259. package/dist/components/arcgis-charts-action-bar/customElement.js +4 -4
  260. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +8 -8
  263. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
  264. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -12
  265. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +52 -46
  266. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +3 -3
  267. package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
  268. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +107 -105
  269. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +12 -13
  270. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +53 -47
  271. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
  272. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
  276. package/dist/components/arcgis-charts-config-create-flow/customElement.js +190 -185
  277. package/dist/components/arcgis-charts-config-field-picker/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
  279. package/dist/components/arcgis-charts-config-format/customElement.js +38 -39
  280. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  282. package/dist/components/arcgis-charts-config-guide/customElement.js +8 -8
  283. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  285. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  286. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +2 -2
  287. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +15 -16
  288. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +33 -34
  289. package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -4
  290. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +3 -4
  291. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -5
  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 +2 -2
  294. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -6
  295. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -7
  296. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +39 -34
  297. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  299. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  300. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
  301. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -7
  302. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -11
  303. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
  304. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
  305. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +9 -10
  306. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +2 -2
  307. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -11
  308. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -5
  309. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +22 -26
  310. package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -22
  311. package/dist/components/arcgis-charts-info-modal/customElement.js +5 -5
  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.js +397 -399
  317. package/dist/loader.js +3 -3
  318. package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
  319. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
  320. package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
  321. package/dist/model/shared/setup-utils.js +1 -1
  322. package/dist/types/lumina.d.ts +1 -1
  323. package/dist/types/preact.d.ts +1 -1
  324. package/dist/types/react.d.ts +1 -1
  325. package/dist/types/stencil.d.ts +1 -1
  326. package/dist/utils/chart-config/converter/index.js +74 -76
  327. package/dist/utils/data/categorical-data/index.d.ts +1 -0
  328. package/dist/utils/misc/index.d.ts +4 -4
  329. package/package.json +5 -5
  330. package/dist/cdn/2JIOGP7R.js +0 -2
  331. package/dist/cdn/32URMI5E.js +0 -2
  332. package/dist/cdn/3C5377V2.js +0 -2
  333. package/dist/cdn/3EOTHJWP.js +0 -2
  334. package/dist/cdn/3U6UEUC3.js +0 -2
  335. package/dist/cdn/3V7MD72Y.js +0 -2
  336. package/dist/cdn/4IZR4ZL4.js +0 -2
  337. package/dist/cdn/4R6YXEBJ.js +0 -2
  338. package/dist/cdn/53QW4BYR.js +0 -2
  339. package/dist/cdn/5CXU3NKH.js +0 -2
  340. package/dist/cdn/5DHZV7X2.js +0 -2
  341. package/dist/cdn/64VXZM5A.js +0 -2
  342. package/dist/cdn/6RB4RYGN.js +0 -2
  343. package/dist/cdn/7TK4GSLV.js +0 -2
  344. package/dist/cdn/A5EZTVKV.js +0 -2
  345. package/dist/cdn/AL6ZEHZK.js +0 -2
  346. package/dist/cdn/B5SRZGC2.js +0 -2
  347. package/dist/cdn/BF2W5NTN.js +0 -2
  348. package/dist/cdn/BRBAHSCB.js +0 -2
  349. package/dist/cdn/BRW7VZ2C.js +0 -2
  350. package/dist/cdn/C7WUBEMI.js +0 -2
  351. package/dist/cdn/CE2OEL6G.js +0 -2
  352. package/dist/cdn/DA5DYK4X.js +0 -2
  353. package/dist/cdn/DP3ALDSI.js +0 -2
  354. package/dist/cdn/DPXBPL2Y.js +0 -2
  355. package/dist/cdn/DUIC7PGW.js +0 -2
  356. package/dist/cdn/EETR5IRC.js +0 -2
  357. package/dist/cdn/EHD6HNUK.js +0 -2
  358. package/dist/cdn/EJAZWHRG.js +0 -2
  359. package/dist/cdn/EWFT2JV5.js +0 -2
  360. package/dist/cdn/EWS4XDX5.js +0 -2
  361. package/dist/cdn/FI67QJAR.js +0 -2
  362. package/dist/cdn/FTR2IWDM.js +0 -2
  363. package/dist/cdn/G2T43FGA.js +0 -2
  364. package/dist/cdn/GPFDXMZV.js +0 -2
  365. package/dist/cdn/GUU5K7KZ.js +0 -2
  366. package/dist/cdn/HGCITTOQ.js +0 -2
  367. package/dist/cdn/HPXU7UB6.js +0 -2
  368. package/dist/cdn/HPZNKDNN.js +0 -2
  369. package/dist/cdn/HRYM365L.js +0 -2
  370. package/dist/cdn/J24X7IAD.js +0 -2
  371. package/dist/cdn/JBGGX4GF.js +0 -2
  372. package/dist/cdn/JCSGUVJN.js +0 -2
  373. package/dist/cdn/JZCSDGTO.js +0 -2
  374. package/dist/cdn/KCJ3UIVJ.js +0 -2
  375. package/dist/cdn/KFS2IDLJ.js +0 -2
  376. package/dist/cdn/KOPGJ6GL.js +0 -2
  377. package/dist/cdn/KWJG3BJA.js +0 -2
  378. package/dist/cdn/L6ACX7PK.js +0 -3
  379. package/dist/cdn/L6AHDF5D.js +0 -2
  380. package/dist/cdn/M4G56EOH.js +0 -2
  381. package/dist/cdn/NNIAFAEK.js +0 -2
  382. package/dist/cdn/O3VCA2HA.js +0 -2
  383. package/dist/cdn/OAQCPPNF.js +0 -2
  384. package/dist/cdn/ORTPYOO7.js +0 -2
  385. package/dist/cdn/OWAETVFH.js +0 -2
  386. package/dist/cdn/PNFPQKYB.js +0 -3
  387. package/dist/cdn/PXKD656W.js +0 -2
  388. package/dist/cdn/QKPEMJRH.js +0 -2
  389. package/dist/cdn/QXIFJISA.js +0 -2
  390. package/dist/cdn/R44U46BF.js +0 -2
  391. package/dist/cdn/RB2DJJAF.js +0 -2
  392. package/dist/cdn/RV2J4OPJ.js +0 -2
  393. package/dist/cdn/TLPP547P.js +0 -2
  394. package/dist/cdn/TPFFIATK.js +0 -2
  395. package/dist/cdn/U64ICCSZ.js +0 -2
  396. package/dist/cdn/UW35QKDS.js +0 -4
  397. package/dist/cdn/VB6XKC4W.js +0 -2
  398. package/dist/cdn/VCER6DFQ.js +0 -2
  399. package/dist/cdn/W5Z2EI2D.js +0 -2
  400. package/dist/cdn/WAUIROBC.js +0 -2
  401. package/dist/cdn/WOGALV3T.js +0 -2
  402. package/dist/cdn/WULMITJI.js +0 -2
  403. package/dist/cdn/WYDO2IF4.js +0 -2
  404. package/dist/cdn/WYIHJMCL.js +0 -2
  405. package/dist/cdn/XE6MQ6IR.js +0 -2
  406. package/dist/cdn/ZLI33FIZ.js +0 -2
  407. package/dist/cdn/ZQPCVZ2Z.js +0 -2
  408. package/dist/chunks/index5.js +0 -69
  409. package/dist/chunks/type-guards2.js +0 -113
  410. package/dist/chunks/utils2.js +0 -63
@@ -1,927 +1,1221 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import te from "@esri/arcgis-html-sanitizer";
3
- import { isEmpty as ie, isEqual as B } from "es-toolkit/compat";
4
- import { a4 as C, p as ae, a5 as re, r as ne, a6 as A, L as oe, H as se, s as le, T as de, W as ce } from "./index3.js";
5
- import { g as b } from "./series-types.js";
6
- import { g as x, c as ue, i as ge, f as me, a as n, s as pe, e as S } from "./chart-object-literals.js";
7
- import { R as T, b as p, e as he } from "./rest-js-object-literals.js";
8
- const Se = {
9
- MonoSelection: "monoSelection",
10
- MultiSelection: "multiSelection",
11
- MultiSelectionWithCtrlKey: "multiSelectionWithCtrlKey",
12
- Zoom: "zoom",
13
- None: "none"
14
- }, Fe = {
15
- MultiAxes: "multi-axes",
16
- XAxis: "x-axis",
17
- YAxis: "y-axis"
18
- }, ye = {
19
- aria: {
20
- defaultChartItemRole: "figure"
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
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: me.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
- guideLabelPadding: {
153
- paddingTop: 0,
154
- paddingRight: 10,
155
- paddingBottom: 0,
156
- paddingLeft: 10
157
- },
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 = 5, Oe = {
46
+ axisMinimum: 0,
47
+ axisMaximum: 100
48
+ }, Ie = {
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
+ ], we = [
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
+ ], Ne = [
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
+ ], Me = [255, 255, 255, 255], He = [43, 43, 43, 255], qe = [0, 122, 194, 255], Ue = [255, 255, 255, 255], ze = [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 Ee() {
107
+ return {
108
+ type: a.CursorCrosshair,
109
+ verticalLineVisible: !1,
110
+ horizontalLineVisible: !1,
159
111
  style: {
160
- type: p.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
- // containers
205
- headerContainer: {
206
- layout: "vertical",
207
- width: "100%",
208
- paddingBottom: 5
209
- },
210
- footerContainer: {
211
- layout: "vertical",
212
- width: "100%",
213
- paddingTop: 5,
214
- paddingBottom: 15
215
- },
216
- paddingMinSize: 0,
217
- marginMinSize: 0,
218
- chartPaddingMinSize: 7,
219
- chartPaddingRightWhenLegendNotOnRight: 15,
220
- chartAndLegendContainer: {
221
- paddingTop: 0
222
- },
223
- chartContainer: {
224
- paddingBottom: 0,
225
- paddingTop: 15
226
- },
227
- chartContainerPaddingTopWhenRotated: 5,
228
- dataLabelInitialize: {
229
- strokeWidth: 0,
230
- applyOnClones: !0
231
- },
232
- dataLabel: {
233
- align: "center",
234
- horizontalCenter: "center",
235
- valign: "bottom",
236
- verticalCenter: "top",
237
- dy: -3
238
- },
239
- dataLabelRotated: {
240
- align: "right",
241
- horizontalCenter: "right",
242
- valign: "middle",
243
- verticalCenter: "middle",
244
- dx: 2
245
- },
246
- dataLabelStackedRotated: {
247
- align: "center",
248
- horizontalCenter: "center",
249
- valign: "middle",
250
- verticalCenter: "middle"
251
- },
252
- dataLabelStackedNonRotated: {
253
- align: "center",
254
- horizontalCenter: "center",
255
- valign: "middle",
256
- verticalCenter: "middle"
257
- },
258
- dataLabelNegative: {
259
- paddingTop: 5,
260
- paddingRight: 5
261
- },
262
- rotatedChartPadding: {
263
- paddingTop: 2,
264
- paddingRight: 2
265
- },
266
- scatterplotSeries: {
267
- strokeOpacity: 0,
268
- r2: Number.NaN,
269
- trendLinePoints: [{}, {}]
270
- },
271
- histogramSeries: {
272
- normalDistribNumberOfPoints: 100
273
- },
274
- lineSeries: {
275
- strokeWidth: 2,
276
- lineSmoothed: !1,
277
- lineSmoothedKind: ge.Bezier,
278
- showArea: !1,
279
- areaOpacity: 0.25,
280
- markerVisible: !0,
281
- rotated: !1,
282
- stackedType: ue.Side,
283
- stackNegativeValuesToBaseline: !0,
284
- marker: {
285
- markerBigSize: 7,
286
- markerSizeThresholdForTooltipDisplay: 9,
287
- markerStyle: he.Circle
288
116
  }
289
- },
290
- buffer: !1,
291
- treatZeroValueAs: 1e-4,
292
- // zero values could mess up logarithmic calculations, so we use this alternative number to prevent critical failures
293
- elementLimitForSmoothRendering: 1e3,
294
- // for line and scatter-plot
295
- pieChart: {
296
- dataLabels: { maxWidth: 100, wrap: !1 },
297
- dataLabelsOffset: 10,
298
- dataLabelsInside: !1,
299
- chartRadius: 80,
300
- chartOptimizedRadius: 70,
301
- innerRadius: re,
302
- min: -90,
303
- max: 270,
304
- displayCategoryOnLegend: !0,
305
- displayCategoryOnTooltip: !0,
306
- displayCategoryOnDataLabel: !0,
307
- displayNumericValueOnLegend: !1,
308
- displayNumericValueOnDataLabel: !0,
309
- displayNumericValueOnTooltip: !0,
310
- displayPercentageOnLegend: !1,
311
- displayPercentageOnDataLabel: !1,
312
- displayPercentageOnTooltip: !0,
313
- sliceGrouping: {
314
- sliceId: ae.defaultGroupOfSlicesId,
315
- percentageThreshold: 0,
316
- // 0 means no grouping
317
- fillSymbol: {
318
- type: p.SFS,
319
- color: [210, 210, 210, 255 * ne]
320
- // light grey, 70% opacity
321
- }
322
- },
323
- defaultPadding: 0,
324
- alignDataLabels: !1,
325
- ticksOpacity: 1,
326
- minimumSize: 20,
327
- technicalFieldSliceId: "arcgis_charts_slice_id",
328
- technicalFieldSlicePercent: "arcgis_charts_slice_percent",
329
- technicalFieldGroupedSlices: "arcgis_charts_grouped_slices"
330
- },
331
- pieSliceCustomLabelName: "customLabel",
332
- yAxisLabelMaxWidth: 100,
333
- xAxisLabelMaxWidth: 75,
334
- axisLabelPadding: 1.5,
335
- categoryAxisLabelPadding: 3,
336
- seriesSort: x.Ascending,
337
- technicalSortingFieldBySum: "arcgis_charts_category_sum",
338
- technicalSortingFieldByPercent: "arcgis_charts_category_first_series_percent",
339
- technicalFieldSplitByField: "arcgis_charts_split_by_field",
340
- color: [0, 0, 0, 255],
341
- chartEllipsis: "...",
342
- backgroundColor: [255, 255, 255, 255],
343
- grayColor: C,
344
- // medium gray
345
- xAxisMinGridDistance: 120,
346
- xCategoryAxisMinGridDistance: 40,
347
- yAxisMinGridDistance: 40,
348
- yCategoryAxisMinGridDistance: 20,
349
- secondRotatedValueAxisMinGridDistance: 80,
350
- staggerMinGridDistance: 40,
351
- shortestMinGridDistance: 20,
352
- maxNumberOfXAxisLabelsInWrapModeForDateAxis: 15,
353
- maxNumberOfXAxisLabelsInWrapMode: 20,
354
- lineWidth: 1,
355
- loaderRotationSpeed: 400,
356
- loaderIntervalTimeout: 400,
357
- loaderLabelFontSize: 20,
358
- selectionTheme: {
359
- selectedElementsTheme: {
360
- elementOutlineColor: [0, 255, 255, 255],
361
- elementOutlineWidth: 5
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 Ge() {
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
362
206
  }
363
- },
364
- columnTooltipPosition: "pointer",
365
- guideTooltipPosition: "pointer",
366
- markerTooltipPosition: "fixed",
367
- sliceTooltipPosition: "fixed",
368
- patternLineProperties: {
369
- width: 5,
370
- height: 5,
371
- strokeWidth: 1,
372
- tileSize: 50,
373
- diagonalTileSize: 1200
374
- },
375
- patternRectProperties: {
376
- rectWidth: 9,
377
- rectHeight: 9,
378
- width: 10,
379
- height: 10,
380
- strokeWidth: 0.3,
381
- fillOpacity: 0
382
- },
383
- originalXValue: "arcgis_charts_original_x_value",
384
- originalYCategoryValue: "arcgis_charts_original_category_y_value",
385
- dateBinningRange: "arcgis_charts_bin_range",
386
- originalServerBinningRange: "arcgis_charts_server_bin_range",
387
- dateBinModel: "arcgis_charts_bin_model",
388
- xAxisField: "arcgis_charts_x_axis_field",
389
- xAxisDisplayField: "arcgis_charts_x_axis_display_field",
390
- nullValue: "arcgis_charts_null",
391
- emptyStringValue: "arcgis_charts_empty",
392
- queryMaxFloatPrecision: 10,
393
- dateFormatUTC: {
394
- timeZone: "UTC",
395
- year: "numeric",
396
- month: "numeric",
397
- day: "numeric",
398
- hour: "numeric",
399
- minute: "numeric",
400
- second: "numeric",
401
- hour12: !1
402
- },
403
- dayDefaultFormat: {
404
- day: "numeric",
405
- month: "short"
406
- },
407
- weekDefaultFormat: {
408
- day: "numeric",
409
- month: "short"
410
- },
411
- rendererOtherValue: "arcgisChartsrendererOtherValue",
412
- rendererSymbolField: "arcgis_charts_renderer_symbol",
413
- rendererSymbolFieldForHistogram: "symbol",
414
- scatterplotAggregationFields: {
415
- dataContextXMinField: "arcgis_charts_xmin",
416
- dataContextXMaxField: "arcgis_charts_xmax",
417
- dataContextYMinField: "arcgis_charts_ymin",
418
- dataContextYMaxField: "arcgis_charts_ymax",
419
- dataContextCountDistinctX: "distinctX",
420
- dataContextCountDistinctY: "distinctY",
421
- queryNumberOfFeatures: "numberOfFeatures",
422
- queryNumberOfAggregatedFeatures: "numberOfAggregatedFeatures",
423
- xStep: "xStep",
424
- yStep: "yStep",
425
- rowCount: "rowCount",
426
- columnCount: "columnCount",
427
- realGridSize: "realGridSize"
428
- },
429
- dataTooltipVisible: !0,
430
- dataTooltipStyle: {
431
- outline: {
432
- type: p.SLS,
433
- color: [255, 255, 255, 255],
434
- width: 1
207
+ };
208
+ }
209
+ function Ve() {
210
+ return {
211
+ type: a.NumberAxisFormat,
212
+ intlOptions: {
213
+ style: "decimal",
214
+ minimumFractionDigits: 0,
215
+ maximumFractionDigits: 2
435
216
  }
436
- },
437
- dataTooltipStyleReversed: {
438
- color: [255, 255, 255, 255],
439
- outline: {
440
- type: p.SLS,
441
- width: 3
217
+ };
218
+ }
219
+ function We() {
220
+ return {
221
+ type: a.NumberAxisFormat,
222
+ intlOptions: {
223
+ style: "percent",
224
+ minimumFractionDigits: 0,
225
+ maximumFractionDigits: 0
442
226
  }
443
- },
444
- tooltipWidth: 300,
445
- tooltipFontSize: 14,
446
- axisLabelOveredOpacity: 0.5,
447
- // 50% of original opacity
448
- generalFontSize: 10,
449
- actionMode: Se.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
- boxPlotY: "arcgis_charts_box_plot_y",
457
- boxPlotCategory: "arcgis_charts_box_plot_category",
458
- boxPlotOutliersSuffix: "_with_outliers",
459
- boxPlotOutliersVisibility: !1,
460
- boxPlotStandardizeValuesVisibility: !1,
461
- boxPlotOutliersSize: 4,
462
- boxPlotLineWidth: 2,
463
- boxPlotOutlierId: "is_arcgis_charts_outlier",
464
- boxPlotMeanLineMarkerId: "is_arcgis_charts_mean_marker",
465
- boxPlotWhiskersColor: [153, 153, 153, 178.5],
466
- boxPlotTooltipLabelWidth: 250
467
- },
468
- binTemporalData: !0,
469
- lastTemporalBin: "is_arcgis_charts_last_bin",
470
- firstTemporalBin: "is_arcgis_charts_first_bin",
471
- options: {
472
- hideEmptySeries: !0,
473
- showEmptySeries: !1,
474
- replaceNoValueCategoryWithZero: !0,
475
- hideZeroCountCategories: !1,
476
- autoInverseDataLabelTextColor: !1
477
- },
478
- nullCategory: {
479
- text: "null",
480
- fillSymbol: {
481
- type: p.SFS,
482
- color: C,
483
- outline: {
484
- type: p.SLS,
485
- style: T.Solid,
486
- color: C,
487
- width: 1
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 je(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 $e() {
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
488
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: []
489
390
  },
490
- markerSymbol: {
491
- type: p.SMS,
492
- color: C,
493
- outline: {
494
- type: p.SLS,
495
- style: T.Solid,
496
- color: C,
497
- width: 1
498
- }
391
+ emptyCells: {
392
+ symbol: {
393
+ type: m.SFS,
394
+ style: y.Solid,
395
+ color: H
396
+ },
397
+ text: t.utilsStrings.null
499
398
  }
500
- }
501
- }, y = {
502
- // chart with no specific subtype
503
- NonSpecific: "nonSpecific",
504
- // non aggregated bar/line chart
505
- BarAndLineNoAggregation: "barAndLineNoAggregation",
506
- // mono-series bar/line chart with one numeric field and a category
507
- BarAndLineMonoField: "barAndLineMonoField",
508
- // multi-series bar/line chart with numeric fields and a category
509
- BarAndLineMultiFields: "barAndLineMultiFields",
510
- // mono-series bar/line chart from numeric fields, no category
511
- BarAndLineFromFields: "barAndLineFromFields",
512
- // bar/line chart with split-by field and a category
513
- BarAndLineSplitBy: "barAndLineSplitBy",
514
- // non aggregated bar/line chart with split-by field and a category
515
- BarAndLineSplitByNoAggregation: "barAndLineSplitByNoAggregation",
516
- // non aggregated pie chart
517
- PieNoAggregation: "pieNoAggregation",
518
- // pie chart with a category
519
- PieFromCategory: "pieFromCategory",
520
- // pie chart from numeric fields
521
- PieFromFields: "pieFromFields",
522
- // box plot with a numeric field, no category
523
- BoxPlotC1MonoField: "boxPlotC1MonoField",
524
- // box plot with multiple numeric fields, no category
525
- BoxPlotC2MultiFields: "boxPlotC2MultiFields",
526
- // box plot with a numeric field and a category
527
- BoxPlotC3MonoFieldAndCategory: "boxPlotC3MonoFieldAndCategory",
528
- // box plot with multiple numeric fields and a category
529
- BoxPlotC4MultiFieldsAndCategory: "boxPlotC4MultiFieldsAndCategory",
530
- // box plot with a numeric field and a split-by field
531
- BoxPlotC5MonoFieldAndSplitBy: "boxPlotC5MonoFieldAndSplitBy",
532
- // box plot with multiple numeric fields and a split-by field
533
- BoxPlotC6MultiFieldsAndSplitBy: "boxPlotC6MultiFieldsAndSplitBy",
534
- // box plot with a numeric field, a category and a split-by field
535
- BoxPlotC7MonoFieldAndCategoryAndSplitBy: "boxPlotC7MonoFieldAndCategoryAndSplitBy"
536
- }, Me = {
537
- SelectionByClick: "SelectionByClick",
538
- SelectionByRange: "SelectionByRange",
539
- ProgrammaticSelection: "ProgrammaticSelection",
540
- ClearSelection: "ClearSelection"
541
- }, g = {
542
- Mean: "Mean",
543
- Median: "Median",
544
- StdDev: "Standard Deviation",
545
- Normal: "Normal Distribution",
546
- Trendline: "Trendline"
547
- };
548
- function ve(t) {
549
- return t?.colorMatch ?? !1;
550
- }
551
- function ke(t) {
552
- let e = A();
553
- if (t !== void 0) {
554
- const i = b(t.series);
555
- (i === n.BarSeries || i === n.LineSeries || i === n.ComboLineAndBarSeries || i === n.BoxPlotSeries) && (e = t.rotated ?? A());
556
- }
557
- return e;
399
+ };
558
400
  }
559
- function Oe(t) {
560
- return t?.map((e) => e.type) ?? [];
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
+ };
561
416
  }
562
- function Re(t) {
563
- let e = t?.stackedType;
564
- if (e === void 0 && t !== void 0) {
565
- const i = b(t.series);
566
- (i === n.BarSeries || i === n.LineSeries || i === n.ComboLineAndBarSeries || i === n.RadarSeries) && (e = le());
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;
428
+ }
429
+ case a.ScatterSeries: {
430
+ c = _(l), c.grid = v;
431
+ break;
432
+ }
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;
442
+ }
567
443
  }
568
- return e;
444
+ return c !== void 0 && r.push(c, p), r;
569
445
  }
570
- function be(t) {
571
- let e = t;
572
- return e = e.replace(/'/gu, "''"), e = e.replace(/[/\\"|[\]\\]/gu, "\\$&"), e;
446
+ function ue() {
447
+ return {
448
+ type: a.GaugeNeedle,
449
+ symbol: {
450
+ type: m.SFS,
451
+ color: [0, 0, 0, 200]
452
+ }
453
+ };
573
454
  }
574
- function Ce(t) {
575
- let e = !1;
576
- if (typeof t != "number") {
577
- const i = new Intl.Segmenter();
578
- e = Array.from(i.segment(t), (a) => a.segment).some((a) => a.charCodeAt(0) > 255);
579
- }
580
- return e;
455
+ function Qe() {
456
+ return {
457
+ type: m.SFS,
458
+ style: y.Solid,
459
+ color: H
460
+ };
581
461
  }
582
- function we(t) {
583
- let e = t, i = "";
584
- t.startsWith("'") && t.endsWith("'") && (e = t.slice(1, -1), i = "'"), e = e.replace(/'/gu, "''");
585
- let r = "";
586
- return Ce(e) && (r = "N"), `${r}${i}${e}${i}`;
587
- }
588
- function ze(t) {
589
- const { value: e, keepSurroundingQuotes: i, escape: r } = t;
590
- let a = e?.trim();
591
- if (!M(a)) {
592
- let s = "";
593
- a.startsWith("'") && a.endsWith("'") && (a = a.slice(1, -1), i && (s = "'")), r && (a = be(a)), a = `${s}${a}${s}`;
594
- }
595
- return a;
596
- }
597
- function Ne(t) {
598
- const { count: e, seriesCount: i, chartType: r, chartLimits: a } = t, { behaviorAfterLimit: s } = a ?? {};
599
- let o = !0;
600
- if (s !== oe.RenderUpToTheLimit) {
601
- const {
602
- maxBarChartSeriesCount: m,
603
- maxBarUniqueSeriesCountTotal: l,
604
- maxBarTwoSeriesCountPerSeries: c,
605
- maxBarTwoSeriesCountTotal: h,
606
- maxBarThreePlusSeriesCountPerSeries: L,
607
- maxBarThreePlusSeriesCountTotal: v,
608
- maxLineChartSeriesCount: k,
609
- maxLineUniqueSeriesCountTotal: O,
610
- maxLineTwoSeriesCountPerSeries: R,
611
- maxLineTwoSeriesCountTotal: w,
612
- maxLineThreePlusSeriesCountPerSeries: z,
613
- maxLineThreePlusSeriesCountTotal: N,
614
- maxRadarChartSeriesCount: I,
615
- maxRadarUniqueSeriesCountTotal: D,
616
- maxRadarTwoSeriesCountPerSeries: W,
617
- maxRadarTwoSeriesCountTotal: V,
618
- maxRadarThreePlusSeriesCountPerSeries: E,
619
- maxRadarThreePlusSeriesCountTotal: G,
620
- maxPieChartSliceCountTotal: H,
621
- maxGaugeByFeaturesLimit: K,
622
- maxBoxPlotSeriesCount: U,
623
- maxBoxUniqueSeriesCountTotal: q,
624
- maxBoxTwoSeriesCountTotal: X,
625
- maxBoxTwoSeriesCountPerSeries: Y,
626
- maxBoxThreePlusSeriesCountTotal: $,
627
- maxBoxThreePlusSeriesCountPerSeries: Q,
628
- maxHeatChartCellLimit: Z,
629
- serialChart: { series: f, elements: d },
630
- heatChart: { cells: j },
631
- pieChart: { slices: J },
632
- gauge: { features: ee }
633
- } = se(a);
634
- switch (r) {
635
- case n.BarSeries:
636
- case n.ComboLineAndBarSeries:
462
+ function Je() {
463
+ return {
464
+ type: m.SFS,
465
+ style: y.Solid,
466
+ color: [255, 205, 130, 255]
467
+ // light orange
468
+ };
469
+ }
470
+ function ce(t) {
471
+ const e = [], r = t.xAxis, l = _(r);
472
+ return l.needle = ue(), e.push(l), e;
473
+ }
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: [
637
482
  {
638
- const u = e / i;
639
- i <= (m ?? f) ? i === 0 ? o = !0 : i === 1 ? o = e <= (l ?? d) : i === 2 ? o = e <= (h ?? d) && u <= c : i > 2 && (o = e <= (v ?? d) && u <= L) : o = !1;
483
+ statisticType: u.Count,
484
+ onStatisticField: r,
485
+ outStatisticFieldName: l
640
486
  }
641
- break;
642
- case n.LineSeries:
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
+ };
507
+ }
508
+ function Ke(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 Xe(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: [
643
529
  {
644
- const u = e / i;
645
- i <= (k ?? f) ? i === 0 ? o = !0 : i === 1 ? o = e <= (O ?? d) : i === 2 ? o = e <= (w ?? d) && u <= R : i > 2 && (o = e <= (N ?? d) && u <= z) : o = !1;
530
+ statisticType: u.Count,
531
+ onStatisticField: e,
532
+ outStatisticFieldName: l
646
533
  }
647
- break;
648
- 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 Ye(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 Ze(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: [
649
591
  {
650
- const u = e / i;
651
- i <= (I ?? f) ? i === 0 ? o = !0 : i === 1 ? o = e <= (D ?? d) : i === 2 ? o = e <= (V ?? d) && u <= W : i > 2 && (o = e <= (G ?? d) && u <= E) : o = !1;
592
+ statisticType: u.Count,
593
+ onStatisticField: e ?? "ObjectID",
594
+ outStatisticFieldName: r
652
595
  }
653
- break;
654
- case n.PieSeries:
655
- o = e <= (H ?? J);
656
- break;
657
- 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 et(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: [
658
639
  {
659
- const u = e / i;
660
- i <= (U ?? f) ? i === 0 ? o = !0 : i === 1 ? o = e <= (q ?? d) : i === 2 ? o = e <= (X ?? d) && u <= Y : i > 2 && (o = e <= ($ ?? d) && u <= Q) : o = !1;
640
+ statisticType: u.Count,
641
+ onStatisticField: e,
642
+ outStatisticFieldName: r
661
643
  }
662
- break;
663
- case n.HeatSeries:
664
- o = e <= (Z ?? j);
665
- break;
666
- case n.GaugeSeries:
667
- o = e <= (K ?? ee);
668
- break;
669
- }
670
- }
671
- return o;
672
- }
673
- function Ie(t = [], e) {
674
- const i = t.find((r) => r.name === e)?.alias;
675
- return i !== "" ? i ?? e : e;
676
- }
677
- function De(t = [], e) {
678
- const i = t.find((r) => r.alias === e)?.name;
679
- return i !== "" ? i ?? e : e;
680
- }
681
- function We(t) {
682
- let e = !1;
683
- switch (b(t)) {
684
- case n.HeatSeries:
685
- case n.PieSeries:
686
- e = !0;
687
- break;
688
- case n.BarSeries:
689
- case n.LineSeries:
690
- case n.RadarSeries:
691
- case n.ComboLineAndBarSeries:
692
- case n.BoxPlotSeries:
693
- e = t.length > 1;
694
- break;
695
- case n.HistogramSeries:
696
- case n.ScatterSeries: {
697
- const r = t[0];
698
- e = r.overlays !== void 0 && Object.values(r.overlays).some((a) => a.created === !0);
699
- break;
700
- }
701
- }
702
- return e;
644
+ ]
645
+ },
646
+ x: ""
647
+ };
703
648
  }
704
- function P(t) {
705
- let e = !0;
706
- return b(t.series) === n.ScatterSeries && (e = t.series.length === 1), e;
649
+ function I() {
650
+ return !1;
707
651
  }
708
- function _(t) {
709
- let e = !0;
710
- return b(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(pe).includes(t.series[0].dataTransformationType))), e;
652
+ function tt(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
+ };
711
681
  }
712
- function F(t) {
713
- let e = !0;
714
- return b(t.series) === n.PieSeries && (e = t.series.length <= 1), e;
715
- }
716
- function Ve(t, e) {
717
- const i = b(e?.series);
718
- let r = i !== void 0 && t.includes(i);
719
- if (r && e !== void 0)
720
- switch (i) {
721
- case n.HistogramSeries:
722
- r = _(e);
723
- break;
724
- case n.ScatterSeries:
725
- r = P(e);
726
- break;
727
- case n.PieSeries:
728
- r = F(e);
729
- break;
682
+ function at(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 rt(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 it(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 st(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
730
802
  }
731
- return r;
803
+ };
804
+ }
805
+ function ot(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
+ };
732
819
  }
733
- function M(t) {
734
- return t == null || typeof t == "string" && t.trim() === "";
820
+ function nt(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
+ };
735
842
  }
736
- function fe(t, e) {
737
- const i = e.find((a) => a in t);
738
- return { isInItem: i !== void 0, expr: i };
843
+ function lt(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
+ };
739
858
  }
740
- function Ee(t) {
741
- return fe(t, ce);
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
+ };
742
867
  }
743
- function Ge(t, e) {
744
- 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 ut(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 ct(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?.boxPlot?.series ?? i.maxBoxPlotSeriesCount, e.maxBoxUniqueSeriesCountTotal ??= e?.boxPlot?.elements ?? i.maxBoxUniqueSeriesCountTotal, e.maxBoxTwoSeriesCountPerSeries ??= i.maxBoxTwoSeriesCountPerSeries, e.maxBoxTwoSeriesCountTotal ??= e?.boxPlot?.elements ?? i.maxBoxTwoSeriesCountTotal, e.maxBoxThreePlusSeriesCountPerSeries ??= i.maxBoxThreePlusSeriesCountPerSeries, e.maxBoxThreePlusSeriesCountTotal ??= e.boxPlot?.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 mt() {
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 St(t, e) {
1053
+ let r;
745
1054
  switch (t) {
746
- case S.Second:
747
- i = e.seconds ?? "";
1055
+ case u.Average: {
1056
+ r = e.utilsStrings.statistics.mean;
1057
+ break;
1058
+ }
1059
+ case u.ContinuousPercentile: {
1060
+ r = e.utilsStrings.statistics.median;
748
1061
  break;
749
- case S.Minute:
750
- i = e.minutes ?? "";
1062
+ }
1063
+ case u.Sum: {
1064
+ r = e.utilsStrings.statistics.sum;
751
1065
  break;
752
- case S.Hour:
753
- i = e.hours ?? "";
1066
+ }
1067
+ case u.Minimum: {
1068
+ r = e.utilsStrings.statistics.minimum;
754
1069
  break;
755
- case S.Day:
756
- i = e.days ?? "";
1070
+ }
1071
+ case u.Maximum: {
1072
+ r = e.utilsStrings.statistics.maximum;
757
1073
  break;
758
- case S.Week:
759
- i = e.weeks ?? "";
1074
+ }
1075
+ case u.Variance: {
1076
+ r = e.utilsStrings.statistics.variance;
760
1077
  break;
761
- case S.Month:
762
- i = e.months ?? "";
1078
+ }
1079
+ case u.DiscretePercentile: {
1080
+ r = e.utilsStrings.statistics.discretePercentile;
763
1081
  break;
764
- case S.Year:
765
- i = e.years ?? "";
1082
+ }
1083
+ case u.NoAggregation: {
1084
+ r = e.utilsStrings.statistics.noAggregation;
766
1085
  break;
767
- default:
768
- i = "";
1086
+ }
1087
+ case u.Count:
1088
+ default: {
1089
+ r = e.utilsStrings.statistics.count;
769
1090
  break;
1091
+ }
770
1092
  }
771
- return i;
1093
+ return r;
772
1094
  }
773
- function He(t) {
774
- let e;
1095
+ function dt(t, e) {
1096
+ let r;
775
1097
  switch (t) {
776
- case g.Mean:
777
- e = 1;
1098
+ case R.End: {
1099
+ r = e.timeAggregationTypes.end;
778
1100
  break;
779
- case g.Median:
780
- e = 2;
781
- break;
782
- case g.StdDev:
783
- e = 3;
1101
+ }
1102
+ case R.Start: {
1103
+ r = e.timeAggregationTypes.start;
784
1104
  break;
785
- case g.Normal:
1105
+ }
786
1106
  default:
787
- e = 0;
1107
+ r = "";
788
1108
  break;
789
1109
  }
790
- return e;
791
- }
792
- function Ke(t, e) {
793
- if (e !== void 0) {
794
- const { seriesId: i, overlayType: r, visible: a } = t.detail;
795
- let s;
796
- switch (r) {
797
- case g.Mean:
798
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.mean);
799
- break;
800
- case g.Median:
801
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.median);
802
- break;
803
- case g.StdDev:
804
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.standardDeviation);
805
- break;
806
- case g.Normal:
807
- e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.comparisonDistribution);
808
- break;
809
- case g.Trendline:
810
- e.series[0].type === n.ScatterSeries && (s = e.series[0].overlays?.trendLine);
811
- break;
812
- default:
813
- s = e.series.find((o) => o.id === i);
814
- break;
815
- }
816
- s !== void 0 && (s.visible = a);
817
- }
818
- }
819
- function Ue(t) {
820
- return new te().sanitize(t);
1110
+ return r;
821
1111
  }
822
- function qe(t) {
823
- return t != null && !Number.isNaN(t) && Number.isFinite(t);
1112
+ function xt() {
1113
+ return J.Side;
824
1114
  }
825
- function xe(t, e) {
826
- let i = { fieldToSort: "" };
827
- if (!M(t)) {
828
- const r = t.trim(), s = r.split(" ").at(-1)?.toUpperCase();
829
- s === x.Ascending || s === x.Descending ? i = { fieldToSort: r.substring(0, r.lastIndexOf(" ")), orderBy: s } : (i = { fieldToSort: r }, e !== !1 && (i.orderBy = x.Ascending));
830
- }
831
- return i;
1115
+ function gt(t) {
1116
+ return t.utilsStrings.notAvailable;
832
1117
  }
833
- function Xe(t) {
834
- return t.orderOptions?.orderByFields?.map((e) => xe(e).fieldToSort) ?? [];
835
- }
836
- function Ye(t) {
837
- return t === y.BarAndLineSplitBy || t === y.BarAndLineSplitByNoAggregation || t === y.BoxPlotC5MonoFieldAndSplitBy || t === y.BoxPlotC6MultiFieldsAndSplitBy || t === y.BoxPlotC7MonoFieldAndCategoryAndSplitBy;
838
- }
839
- function $e(t, e) {
840
- let { selectionItems: i } = t ?? {};
841
- const { selectionOIDs: r } = t ?? {};
842
- let { selectionItems: a } = e ?? {};
843
- const { selectionOIDs: s } = e ?? {}, o = (c) => ({
844
- ...c,
845
- [de]: void 0
846
- });
847
- i !== void 0 && (i = i.map(o)), a !== void 0 && (a = a.map(o));
848
- const m = !B(i, a), l = !B(r, s);
849
- return m || l;
850
- }
851
- function Qe(t) {
852
- return t?.selectionPixelTarget ? ie(t.selectionPixelTarget.pixelRanges) : t?.selectionOIDs === void 0 || t.selectionOIDs.length === 0;
853
- }
854
- function Ze(t = {
855
- arrayA: [],
856
- arrayB: [],
857
- getKey: (e) => e
858
- }) {
859
- const { arrayA: e, arrayB: i, getKey: r } = t;
860
- if (i.length === 0 || e.length === 0)
861
- return e;
862
- const a = /* @__PURE__ */ new Map();
863
- i.forEach((l, c) => {
864
- const h = r(l);
865
- a.set(h, c);
866
- });
867
- const s = [], o = [];
868
- e.forEach((l, c) => {
869
- const h = r(l);
870
- a.has(h) && (s.push(c), o.push(l));
871
- }), o.sort((l, c) => {
872
- const h = r(l), L = r(c);
873
- return a.get(h) - a.get(L);
874
- });
875
- const m = [...e];
876
- return s.forEach((l, c) => {
877
- m[l] = o[c];
878
- }), m;
879
- }
880
- function je(t, e) {
881
- return (t === y.BarAndLineNoAggregation || t === y.BarAndLineSplitByNoAggregation) && e !== void 0 ? e.x : ye.xAxisField;
882
- }
883
- function Je(t) {
884
- 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), m = Math.round((1 - a) * 255 + a * r);
885
- return 0.299 * s + 0.587 * o + 0.114 * m > 128;
886
- }
887
- const et = {
888
- isSupportedHistogram: _,
889
- isSupportedPieChart: F,
890
- isSupportedScatterplot: P
891
- };
1118
+ const Ct = 0, ft = "_with_outliers", yt = "_with_z_score", ht = [210, 210, 210, 255 * d], bt = " percentage ", Tt = 7, pt = {
1119
+ getChartId: g,
1120
+ getDefaultCategoryAxis: A
1121
+ }, Dt = 5;
892
1122
  export {
893
- Se as A,
894
- Xe as B,
895
- ye as C,
896
- xe as D,
897
- $e as E,
898
- et as F,
899
- g as O,
900
- Me as S,
901
- y as a,
1123
+ ae as $,
1124
+ ze as A,
1125
+ Ue as B,
1126
+ Ce as C,
1127
+ b as D,
1128
+ q as E,
1129
+ X as F,
1130
+ M as G,
1131
+ ct as H,
1132
+ Re as I,
1133
+ St as J,
1134
+ dt as K,
1135
+ K as L,
1136
+ bt as M,
1137
+ Tt as N,
1138
+ ft as O,
1139
+ yt as P,
1140
+ U as Q,
1141
+ ke as R,
1142
+ k as S,
1143
+ H as T,
1144
+ Ct as U,
1145
+ pe as V,
1146
+ Te as W,
1147
+ mt as X,
1148
+ Pe as Y,
1149
+ I as Z,
1150
+ Ge as _,
1151
+ Oe as a,
1152
+ me as a0,
1153
+ Ke as a1,
1154
+ ne as a2,
1155
+ Xe as a3,
1156
+ o as a4,
1157
+ n as a5,
1158
+ s as a6,
1159
+ h as a7,
1160
+ C as a8,
1161
+ Ye as a9,
1162
+ nt as aA,
1163
+ f as aB,
1164
+ oe as aC,
1165
+ _ as aD,
1166
+ ce as aE,
1167
+ le as aF,
1168
+ He as aG,
1169
+ pt as aH,
1170
+ ht as aa,
1171
+ ve as ab,
1172
+ fe as ac,
1173
+ ge as ad,
1174
+ F as ae,
1175
+ Ze as af,
1176
+ T as ag,
1177
+ gt as ah,
1178
+ Me as ai,
1179
+ qe as aj,
1180
+ Ne as ak,
1181
+ we as al,
1182
+ Dt as am,
1183
+ Be as an,
1184
+ tt as ao,
1185
+ at as ap,
1186
+ Ee as aq,
1187
+ ot as ar,
1188
+ ue as as,
1189
+ et as at,
1190
+ lt as au,
1191
+ ut as av,
1192
+ rt as aw,
1193
+ st as ax,
1194
+ de as ay,
1195
+ it as az,
902
1196
  Ie as b,
903
- je as c,
904
- Fe as d,
905
- ke as e,
906
- Re as f,
907
- ve as g,
908
- We as h,
909
- M as i,
910
- Oe as j,
911
- Je as k,
912
- He as l,
913
- Qe as m,
914
- ze as n,
915
- De as o,
916
- Ge as p,
917
- Ze as q,
918
- Ve as r,
919
- Ue as s,
920
- qe as t,
921
- Ke as u,
922
- we as v,
923
- Ne as w,
924
- fe as x,
925
- Ee as y,
926
- Ye as z
1197
+ xe as c,
1198
+ Je as d,
1199
+ Qe as e,
1200
+ Le as f,
1201
+ x as g,
1202
+ ee as h,
1203
+ Ae as i,
1204
+ We as j,
1205
+ O as k,
1206
+ Z as l,
1207
+ ie as m,
1208
+ re as n,
1209
+ je as o,
1210
+ Fe as p,
1211
+ De as q,
1212
+ d as r,
1213
+ xt as s,
1214
+ B as t,
1215
+ Se as u,
1216
+ Y as v,
1217
+ se as w,
1218
+ $e as x,
1219
+ Ve as y,
1220
+ _e as z
927
1221
  };