@arcgis/portal-components 5.2.0-next.126 → 5.2.0-next.127

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 (273) hide show
  1. package/dist/cdn/{MXVFCMBR.js → 245E7G7N.js} +1 -1
  2. package/dist/cdn/{OBBYT2AV.js → 25XJ66JO.js} +1 -1
  3. package/dist/cdn/27HHZHV5.js +2 -0
  4. package/dist/cdn/2HGVOH6F.js +2 -0
  5. package/dist/cdn/2OLIWJSK.js +654 -0
  6. package/dist/cdn/4BQASKGB.js +2 -0
  7. package/dist/cdn/4JPFPWGG.js +2 -0
  8. package/dist/cdn/{IMIQY3MT.js → 5ITAQNJ6.js} +1 -1
  9. package/dist/cdn/5YDITHQA.js +3 -0
  10. package/dist/cdn/6FBCPZGR.js +2 -0
  11. package/dist/cdn/6FKARLGX.js +2 -0
  12. package/dist/cdn/6IQGJNQQ.js +2 -0
  13. package/dist/cdn/7CYER4HF.js +2 -0
  14. package/dist/cdn/7JNCIWV3.js +2 -0
  15. package/dist/cdn/{2B2T3CO3.js → 7NNSALJQ.js} +1 -1
  16. package/dist/cdn/7PMLGJZR.js +75 -0
  17. package/dist/cdn/AMTGDRMF.js +2 -0
  18. package/dist/cdn/AXZFLIWM.js +2 -0
  19. package/dist/cdn/{ICUDZDC6.js → B2YUF4DX.js} +1 -1
  20. package/dist/cdn/BGEZZVIM.js +2 -0
  21. package/dist/cdn/BNB52PQ5.js +2 -0
  22. package/dist/cdn/BNFEED2K.js +2 -0
  23. package/dist/cdn/CAPW3SVN.js +2 -0
  24. package/dist/cdn/DBDJDVIT.js +2 -0
  25. package/dist/cdn/DFVPLU2O.js +2 -0
  26. package/dist/cdn/DMXZ5HWB.js +2 -0
  27. package/dist/cdn/DYKYNLID.js +2 -0
  28. package/dist/cdn/{N4UNPHFQ.js → EBPLUTN5.js} +1 -1
  29. package/dist/cdn/EDFSTMEO.js +2 -0
  30. package/dist/cdn/EHVKHBQJ.js +2 -0
  31. package/dist/cdn/EXBWPG5Y.js +4 -0
  32. package/dist/cdn/FFNDPSGG.js +2 -0
  33. package/dist/cdn/FGHPX3EG.js +2 -0
  34. package/dist/cdn/G5PORPTQ.js +2 -0
  35. package/dist/cdn/GGFGMVLK.js +2 -0
  36. package/dist/cdn/GTJVWTBP.js +2 -0
  37. package/dist/cdn/GY2UDPPY.js +2 -0
  38. package/dist/cdn/IDPYNEOM.js +2 -0
  39. package/dist/cdn/ILBZ5YM3.js +2 -0
  40. package/dist/cdn/JDBUB3NR.js +2 -0
  41. package/dist/cdn/JMZYTFZZ.js +41 -0
  42. package/dist/cdn/JU2JSB4L.js +2 -0
  43. package/dist/cdn/JZVWY2TG.js +2 -0
  44. package/dist/cdn/{UXAGLEJM.js → KCYIOVJQ.js} +1 -1
  45. package/dist/cdn/{L46EVYBC.js → L7I6ICK3.js} +1 -1
  46. package/dist/cdn/LF7XRDJV.js +2 -0
  47. package/dist/cdn/LIQFO7UT.js +2 -0
  48. package/dist/cdn/LP7YP7VN.js +2 -0
  49. package/dist/cdn/{K64QFEX2.js → MFT5NBI5.js} +1 -1
  50. package/dist/cdn/{OEMNHYK6.js → MQISQ7P3.js} +1 -1
  51. package/dist/cdn/N7CAM7T2.js +2 -0
  52. package/dist/cdn/{PWHUWOQ3.js → NBB7R2RE.js} +1 -1
  53. package/dist/cdn/NDJGGH7G.js +2 -0
  54. package/dist/cdn/NGSHCI4P.js +2 -0
  55. package/dist/cdn/O5EM6RKT.js +2 -0
  56. package/dist/cdn/OT6EWATP.js +2 -0
  57. package/dist/cdn/QJ7AI54H.js +135 -0
  58. package/dist/cdn/QVO5OJEF.js +2 -0
  59. package/dist/cdn/R74ZHFA6.js +2 -0
  60. package/dist/cdn/R7BTC6EA.js +2 -0
  61. package/dist/cdn/{ZZBKWWAW.js → RL2H7TI6.js} +1 -1
  62. package/dist/cdn/SJB4FDD5.js +2 -0
  63. package/dist/cdn/SPOJMJ2R.js +2 -0
  64. package/dist/cdn/T66AWQWW.js +2 -0
  65. package/dist/cdn/TCAC2CO6.js +2 -0
  66. package/dist/cdn/TXVCTVOE.js +2 -0
  67. package/dist/cdn/{EXPBHQ4I.js → TYPCOTRW.js} +1 -1
  68. package/dist/cdn/VLCHVVVZ.js +2 -0
  69. package/dist/cdn/VRWK3ZLB.js +2 -0
  70. package/dist/cdn/VS2Q33NS.js +2 -0
  71. package/dist/cdn/VXAWOPU3.js +2 -0
  72. package/dist/cdn/VYSXZV3P.js +2 -0
  73. package/dist/cdn/WMT55UQD.js +2 -0
  74. package/dist/cdn/WT3GFMPD.js +2 -0
  75. package/dist/cdn/WXUJPI4X.js +2 -0
  76. package/dist/cdn/X4QIAIVV.js +2 -0
  77. package/dist/cdn/{QQMRZ2WI.js → XBQKBQOE.js} +1 -1
  78. package/dist/cdn/XCJJESRE.js +2 -0
  79. package/dist/cdn/XCSDUQMC.js +2 -0
  80. package/dist/cdn/YPNVFSI3.js +2 -0
  81. package/dist/cdn/YUM4ZQCQ.js +2 -0
  82. package/dist/cdn/YY2STFDC.js +2 -0
  83. package/dist/cdn/Z2U2FCOG.js +2 -0
  84. package/dist/cdn/{BQKUF5EQ.js → ZEP2GDDJ.js} +1 -1
  85. package/dist/cdn/ZIAV77I3.js +2 -0
  86. package/dist/cdn/ZKHEUOSC.js +2 -0
  87. package/dist/cdn/{4QA4AYHJ.js → ZQWENT2S.js} +1 -1
  88. package/dist/cdn/assets/portal-account-switcher/t9n/messages.ar.json +1 -1
  89. package/dist/cdn/assets/portal-account-switcher/t9n/messages.bg.json +1 -1
  90. package/dist/cdn/assets/portal-account-switcher/t9n/messages.bs.json +1 -1
  91. package/dist/cdn/assets/portal-account-switcher/t9n/messages.ca.json +1 -1
  92. package/dist/cdn/assets/portal-account-switcher/t9n/messages.cs.json +1 -1
  93. package/dist/cdn/assets/portal-account-switcher/t9n/messages.da.json +1 -1
  94. package/dist/cdn/assets/portal-account-switcher/t9n/messages.de.json +1 -1
  95. package/dist/cdn/assets/portal-account-switcher/t9n/messages.el.json +1 -1
  96. package/dist/cdn/assets/portal-account-switcher/t9n/messages.es.json +1 -1
  97. package/dist/cdn/assets/portal-account-switcher/t9n/messages.et.json +1 -1
  98. package/dist/cdn/assets/portal-account-switcher/t9n/messages.fi.json +1 -1
  99. package/dist/cdn/assets/portal-account-switcher/t9n/messages.fr.json +1 -1
  100. package/dist/cdn/assets/portal-account-switcher/t9n/messages.he.json +1 -1
  101. package/dist/cdn/assets/portal-account-switcher/t9n/messages.hr.json +1 -1
  102. package/dist/cdn/assets/portal-account-switcher/t9n/messages.hu.json +1 -1
  103. package/dist/cdn/assets/portal-account-switcher/t9n/messages.id.json +1 -1
  104. package/dist/cdn/assets/portal-account-switcher/t9n/messages.it.json +1 -1
  105. package/dist/cdn/assets/portal-account-switcher/t9n/messages.ja.json +1 -1
  106. package/dist/cdn/assets/portal-account-switcher/t9n/messages.ko.json +1 -1
  107. package/dist/cdn/assets/portal-account-switcher/t9n/messages.lt.json +1 -1
  108. package/dist/cdn/assets/portal-account-switcher/t9n/messages.lv.json +1 -1
  109. package/dist/cdn/assets/portal-account-switcher/t9n/messages.nl.json +1 -1
  110. package/dist/cdn/assets/portal-account-switcher/t9n/messages.no.json +1 -1
  111. package/dist/cdn/assets/portal-account-switcher/t9n/messages.pl.json +1 -1
  112. package/dist/cdn/assets/portal-account-switcher/t9n/messages.pt-BR.json +1 -1
  113. package/dist/cdn/assets/portal-account-switcher/t9n/messages.pt-PT.json +1 -1
  114. package/dist/cdn/assets/portal-account-switcher/t9n/messages.ro.json +1 -1
  115. package/dist/cdn/assets/portal-account-switcher/t9n/messages.ru.json +1 -1
  116. package/dist/cdn/assets/portal-account-switcher/t9n/messages.sk.json +1 -1
  117. package/dist/cdn/assets/portal-account-switcher/t9n/messages.sl.json +1 -1
  118. package/dist/cdn/assets/portal-account-switcher/t9n/messages.sr.json +1 -1
  119. package/dist/cdn/assets/portal-account-switcher/t9n/messages.sv.json +1 -1
  120. package/dist/cdn/assets/portal-account-switcher/t9n/messages.th.json +1 -1
  121. package/dist/cdn/assets/portal-account-switcher/t9n/messages.tr.json +1 -1
  122. package/dist/cdn/assets/portal-account-switcher/t9n/messages.uk.json +1 -1
  123. package/dist/cdn/assets/portal-account-switcher/t9n/messages.vi.json +1 -1
  124. package/dist/cdn/assets/portal-account-switcher/t9n/messages.zh-CN.json +1 -1
  125. package/dist/cdn/assets/portal-account-switcher/t9n/messages.zh-HK.json +1 -1
  126. package/dist/cdn/assets/portal-account-switcher/t9n/messages.zh-TW.json +1 -1
  127. package/dist/cdn/assets/portal-group-browser/t9n/messages.ar.json +1 -1
  128. package/dist/cdn/assets/portal-group-browser/t9n/messages.bg.json +1 -1
  129. package/dist/cdn/assets/portal-group-browser/t9n/messages.bs.json +1 -1
  130. package/dist/cdn/assets/portal-group-browser/t9n/messages.ca.json +1 -1
  131. package/dist/cdn/assets/portal-group-browser/t9n/messages.cs.json +1 -1
  132. package/dist/cdn/assets/portal-group-browser/t9n/messages.da.json +1 -1
  133. package/dist/cdn/assets/portal-group-browser/t9n/messages.de.json +1 -1
  134. package/dist/cdn/assets/portal-group-browser/t9n/messages.el.json +1 -1
  135. package/dist/cdn/assets/portal-group-browser/t9n/messages.es.json +1 -1
  136. package/dist/cdn/assets/portal-group-browser/t9n/messages.et.json +1 -1
  137. package/dist/cdn/assets/portal-group-browser/t9n/messages.fi.json +1 -1
  138. package/dist/cdn/assets/portal-group-browser/t9n/messages.fr.json +1 -1
  139. package/dist/cdn/assets/portal-group-browser/t9n/messages.he.json +1 -1
  140. package/dist/cdn/assets/portal-group-browser/t9n/messages.hr.json +1 -1
  141. package/dist/cdn/assets/portal-group-browser/t9n/messages.hu.json +1 -1
  142. package/dist/cdn/assets/portal-group-browser/t9n/messages.id.json +1 -1
  143. package/dist/cdn/assets/portal-group-browser/t9n/messages.it.json +1 -1
  144. package/dist/cdn/assets/portal-group-browser/t9n/messages.ja.json +1 -1
  145. package/dist/cdn/assets/portal-group-browser/t9n/messages.ko.json +1 -1
  146. package/dist/cdn/assets/portal-group-browser/t9n/messages.lt.json +1 -1
  147. package/dist/cdn/assets/portal-group-browser/t9n/messages.lv.json +1 -1
  148. package/dist/cdn/assets/portal-group-browser/t9n/messages.nl.json +1 -1
  149. package/dist/cdn/assets/portal-group-browser/t9n/messages.no.json +1 -1
  150. package/dist/cdn/assets/portal-group-browser/t9n/messages.pl.json +1 -1
  151. package/dist/cdn/assets/portal-group-browser/t9n/messages.pt-BR.json +1 -1
  152. package/dist/cdn/assets/portal-group-browser/t9n/messages.pt-PT.json +1 -1
  153. package/dist/cdn/assets/portal-group-browser/t9n/messages.ro.json +1 -1
  154. package/dist/cdn/assets/portal-group-browser/t9n/messages.ru.json +1 -1
  155. package/dist/cdn/assets/portal-group-browser/t9n/messages.sk.json +1 -1
  156. package/dist/cdn/assets/portal-group-browser/t9n/messages.sl.json +1 -1
  157. package/dist/cdn/assets/portal-group-browser/t9n/messages.sr.json +1 -1
  158. package/dist/cdn/assets/portal-group-browser/t9n/messages.sv.json +1 -1
  159. package/dist/cdn/assets/portal-group-browser/t9n/messages.th.json +1 -1
  160. package/dist/cdn/assets/portal-group-browser/t9n/messages.tr.json +1 -1
  161. package/dist/cdn/assets/portal-group-browser/t9n/messages.uk.json +1 -1
  162. package/dist/cdn/assets/portal-group-browser/t9n/messages.vi.json +1 -1
  163. package/dist/cdn/assets/portal-group-browser/t9n/messages.zh-CN.json +1 -1
  164. package/dist/cdn/assets/portal-group-browser/t9n/messages.zh-HK.json +1 -1
  165. package/dist/cdn/assets/portal-group-browser/t9n/messages.zh-TW.json +1 -1
  166. package/dist/cdn/assets/portal-item-type/icons/360vr16.svg +0 -0
  167. package/dist/cdn/assets/portal-item-type/icons/360vr32.svg +0 -0
  168. package/dist/cdn/assets/portal-item-type/icons/insightstheme16.svg +0 -0
  169. package/dist/cdn/assets/portal-item-type/icons/insightstheme32.svg +0 -0
  170. package/dist/cdn/assets/portal-item-type/icons/knowledgegraphconfiguration16.svg +0 -0
  171. package/dist/cdn/assets/portal-item-type/icons/knowledgegraphconfiguration32.svg +0 -0
  172. package/dist/cdn/assets/portal-item-type/icons/knowledgegraphlayer16.svg +0 -0
  173. package/dist/cdn/assets/portal-item-type/icons/knowledgegraphlayer32.svg +0 -0
  174. package/dist/cdn/assets/portal-item-type/icons/missiontemplate16.svg +0 -0
  175. package/dist/cdn/assets/portal-item-type/icons/missiontemplate32.svg +0 -0
  176. package/dist/cdn/assets/portal-item-type/icons/propresentation16.svg +0 -0
  177. package/dist/cdn/assets/portal-item-type/icons/propresentation32.svg +0 -0
  178. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-api-for-python-glyph-32.svg +0 -0
  179. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-connectors-for-power-automate-glyph-32.svg +0 -0
  180. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-drone2map-glyph-32.svg +0 -0
  181. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-earth-glyph-32.svg +0 -0
  182. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-enterprise-glyph-32.svg +0 -0
  183. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-excalibur-glyph-32.svg +0 -0
  184. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-excalibur-gray-glyph-32.svg +0 -0
  185. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-explorer-glyph-32.svg +0 -0
  186. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-for-autodesk-forma-glyph-32.svg +0 -0
  187. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-living-atlas-of-the-world-glyph-32.svg +0 -0
  188. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-logo-glyph-32.svg +0 -0
  189. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-monitor-glyph-32.svg +0 -0
  190. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-monitor-white-glyph-32.svg +0 -0
  191. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-navigator-glyph-32.svg +0 -0
  192. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-online-glyph-32.svg +0 -0
  193. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-ortho-maker-glyph-32.svg +0 -0
  194. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-pro-glyph-32.svg +0 -0
  195. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-survey123-connect-glyph-32.svg +0 -0
  196. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-survey123-glyph-32.svg +0 -0
  197. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-web-appbuilder-glyph-32.svg +0 -0
  198. package/dist/cdn/assets/portal-navigation/product-logos/arcgis-web-editor-glyph-32.svg +0 -0
  199. package/dist/cdn/assets/portal-navigation/product-logos/calcite-design-system-glyph-32.svg +0 -0
  200. package/dist/cdn/assets/portal-navigation/product-logos/esri-offline-documentation-center--glyph-32.svg +0 -0
  201. package/dist/cdn/assets/portal-navigation/product-logos/sceneviewer-glyph-32.svg +0 -0
  202. package/dist/cdn/assets/portal-navigation/product-logos/xr-viewer-glyph-32.svg +0 -0
  203. package/dist/cdn/index.js +1 -1
  204. package/dist/components/arcgis-portal-classification-config/customElement.js +69 -69
  205. package/dist/components/arcgis-portal-field-delete/customElement.js +25 -21
  206. package/dist/components/arcgis-portal-navigation/index.js +1 -1
  207. package/dist/docs/api.json +1 -1
  208. package/dist/docs/docs.json +1 -1
  209. package/dist/docs/web-types.json +1 -1
  210. package/package.json +8 -8
  211. package/dist/cdn/2EV6F7V6.js +0 -2
  212. package/dist/cdn/2U2SESKW.js +0 -693
  213. package/dist/cdn/3TMF6URM.js +0 -2
  214. package/dist/cdn/4IRL6DWY.js +0 -2
  215. package/dist/cdn/5B76NS25.js +0 -2
  216. package/dist/cdn/5CQ3B6ZW.js +0 -2
  217. package/dist/cdn/5HP5TLLV.js +0 -2
  218. package/dist/cdn/5ZSZI7KG.js +0 -2
  219. package/dist/cdn/7QCQNOXB.js +0 -2
  220. package/dist/cdn/AYOR6D2Z.js +0 -2
  221. package/dist/cdn/BYYQOYJS.js +0 -2
  222. package/dist/cdn/CVUMYWBS.js +0 -2
  223. package/dist/cdn/DFTUMKSN.js +0 -3
  224. package/dist/cdn/DIOGMUOB.js +0 -2
  225. package/dist/cdn/DZWCWV3A.js +0 -2
  226. package/dist/cdn/E3XDGNPB.js +0 -2
  227. package/dist/cdn/E56YMOVE.js +0 -2
  228. package/dist/cdn/EPURPU4Q.js +0 -2
  229. package/dist/cdn/FKFSGSBA.js +0 -2
  230. package/dist/cdn/GES5WKJA.js +0 -2
  231. package/dist/cdn/GGG3IIFK.js +0 -2
  232. package/dist/cdn/GZU4XZUI.js +0 -2
  233. package/dist/cdn/H3CCKTNL.js +0 -2
  234. package/dist/cdn/H3PPP7A7.js +0 -2
  235. package/dist/cdn/HPDQHQVC.js +0 -2
  236. package/dist/cdn/HWYJF6DJ.js +0 -2
  237. package/dist/cdn/IWARFJ4I.js +0 -208
  238. package/dist/cdn/JGCCJ5PX.js +0 -2
  239. package/dist/cdn/K25K7FCI.js +0 -2
  240. package/dist/cdn/KFGCJN3T.js +0 -2
  241. package/dist/cdn/LFRTGSGI.js +0 -2
  242. package/dist/cdn/MA7TVM56.js +0 -2
  243. package/dist/cdn/MBOTEUCN.js +0 -2
  244. package/dist/cdn/MFKSJMJS.js +0 -2
  245. package/dist/cdn/MG4AOOOZ.js +0 -2
  246. package/dist/cdn/NBU2KMJP.js +0 -2
  247. package/dist/cdn/NBX2RCQR.js +0 -2
  248. package/dist/cdn/OGAJ4WJ7.js +0 -2
  249. package/dist/cdn/OTMC7MVD.js +0 -4
  250. package/dist/cdn/OXKHPA3Q.js +0 -2
  251. package/dist/cdn/PK7EJW27.js +0 -2
  252. package/dist/cdn/PM3ZMOIJ.js +0 -2
  253. package/dist/cdn/PZGMF6VO.js +0 -2
  254. package/dist/cdn/QMI55NF4.js +0 -2
  255. package/dist/cdn/QNWDRDCX.js +0 -2
  256. package/dist/cdn/QPYGIJHQ.js +0 -2
  257. package/dist/cdn/QSWSIFAH.js +0 -2
  258. package/dist/cdn/RII2VGVJ.js +0 -2
  259. package/dist/cdn/RX7UZ7F5.js +0 -2
  260. package/dist/cdn/SXQ2TVKW.js +0 -2
  261. package/dist/cdn/TEYNP76W.js +0 -2
  262. package/dist/cdn/TH6XSIAF.js +0 -2
  263. package/dist/cdn/THNBXEBO.js +0 -2
  264. package/dist/cdn/U6MJCS5P.js +0 -2
  265. package/dist/cdn/UI3WY3TF.js +0 -2
  266. package/dist/cdn/V2WAYK5G.js +0 -2
  267. package/dist/cdn/VKS44KV4.js +0 -2
  268. package/dist/cdn/VYGJEX36.js +0 -2
  269. package/dist/cdn/WKQGRP5P.js +0 -2
  270. package/dist/cdn/YFU47LWN.js +0 -2
  271. package/dist/cdn/YO44QZPK.js +0 -2
  272. package/dist/cdn/YXWMVZUC.js +0 -2
  273. package/dist/cdn/ZY5BJB25.js +0 -2
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as E,b as I}from"./PQ75545K.js";import a from"./K4LXMVNH.js";import{a as R}from"./BADETB57.js";import{a as F}from"./S2BGAMSA.js";import{a as e}from"./X4GCKBT2.js";import{Ic as S}from"./ASDS73QU.js";export default $arcgis.t(([A,D,U,{a:v,b:L,c:T,d:N,e:q,f:O}])=>{var W=async p=>{let{targetLayer:a,fieldName:n,statisticType:l,mapView:i,layersAndFieldsRegistry:h,geometryFilter:t}=p,s=i.map?.allLayers.find(r=>r.id===a.layerId);if(!s)throw new Error(`Layer '${a.layerId}' not found.`);let w=await i.whenLayerView(s),o=h.get(a.layerId)?.fieldRegistry.get(n),x=o?.alias;if(!o)throw new Error(`Field '${n}' not found.`);let b,d;if(t){let r=await N(t,i);if("error"in r)throw new Error(r.error);if(!r.geometry)throw T(t)?new Error(`No features found matching: ${t.where}`):new Error("Failed to create geometry");if(T(t)){let g=i.map?.allLayers.find(f=>f.id===t.layerId);b={geometryLayerName:g?.title??g?.id,geometryLayerId:t.layerId,geometryWhere:t.where,distance:t.distance,units:t.units,applied:!0}}else L(t)&&(b={point:t.point,distance:t.distance,units:t.units,applied:!0});d=new U({geometry:r.geometry,distance:t.distance,units:t.units,spatialRelationship:"intersects"})}let y=E(w,[n],!1),u=null,m=null,V=10;if(o.type!=="geometry"&&o.type!=="oid"&&o.type!=="global-id")try{let r={layer:s,useFeaturesInView:y,view:y?i:void 0,field:n,sqlWhere:I(s.definitionExpression,a.where),...d&&{filter:d},outStatisticTypes:{include:[l]}};u=await A(r);let g=["string","small-integer","integer"],f=o.domain?.type==="coded-value"?o.domain:null;(g.includes(o.type)||f)&&(m=(await D({layer:s,useFeaturesInView:y,view:y?i:void 0,field:n,sqlWhere:I(s.definitionExpression,a.where),...d&&{filter:d}})).uniqueValueInfos.sort((c,j)=>j.count-c.count).slice(0,V)),m&&o.domain?.type==="coded-value"&&(m=m.map(c=>({...c,value:f?f.getName(c.value)??c.value:c.value})))}catch(r){console.error("Statistics error:",r)}return{tool:"getStatistics",layerName:s.title??a.layerId,summary:`${l} = ${typeof u?.[l]=="number"?u[l]:"N/A"}`,details:{fieldName:n,fieldAlias:x,statisticType:l,statistic:u?.[l]??null,summaryStatistics:u,uniqueValues:m,where:a.where,spatialFilterInfo:b}}};async function C({targetLayer:p,fieldName:a,statisticType:n,geometryFilter:l},i){let h=R(i,"layersAndFieldsRegistry"),{mapView:t}=F(i,["mapView"]),s=O(l,i.state?.agentExecutionContext?.sharedResources),w=await W({targetLayer:p,fieldName:a,statisticType:n,mapView:t,layersAndFieldsRegistry:h,geometryFilter:s});return JSON.stringify(w,null,2)}var $=e.object({layerId:e.string().describe("The layerId of the layer containing the geometry by which to filter."),where:e.string().describe("The SQL-92 where clause representing the features from which to filter."),distance:e.number().optional().describe("The buffer distance around the geometry."),units:v.optional().describe("The units for the distance buffer.")}),G=e.object({point:e.object({x:e.number().describe("X coordinate (longitude) from navigation result"),y:e.number().describe("Y coordinate (latitude) from navigation result"),spatialReference:e.object({wkid:e.number().describe("Spatial reference WKID (e.g., 4326 for WGS84)")}).optional().describe("Spatial reference. Defaults to map's spatial reference if not provided.")}).describe("Point coordinates from a previous navigation/geocoding result"),distance:e.number().optional().describe("Optional buffer distance around the point."),units:v.optional().describe("The units for the distance buffer.")}),Q=e.object({targetLayer:e.object({layerId:e.string().describe("The layerId of the layer containing the field from which to get a value."),where:e.string().describe("The SQL-92 where clause representing the feature from which to get an attribute value.")}),geometryFilter:e.union([$,G,q]).optional().describe("Geometry filter for spatial queries. Use 'sharedResourceId' with an ID from listSharedResources for a previously geocoded location. Use 'point' for inline coordinates or 'layerId/where' for features from another layer."),fieldName:e.string().describe("The name of the field for which to get statistics. STRICTLY DO NOT use OBJECTID. Use any other field"),statisticType:e.enum(["avg","max","median","min","stddev","sum","variance","nullcount","count"]).describe("The statistic type to calculate.")}),Z=S(C,{name:"getStatistics",description:`Computes a single aggregate statistic (max, min, avg, sum, median, stddev, variance) for a numeric field across matching features. Also returns frequency analysis for categorical fields.
2
+ import{a as E,b as I}from"./PQ75545K.js";import{a as R}from"./BADETB57.js";import a from"./K4LXMVNH.js";import{a as F}from"./S2BGAMSA.js";import{a as e}from"./X4GCKBT2.js";import{Ic as S}from"./ASDS73QU.js";export default $arcgis.t(([A,D,U,{a:v,b:L,c:T,d:N,e:q,f:O}])=>{var W=async p=>{let{targetLayer:a,fieldName:n,statisticType:l,mapView:i,layersAndFieldsRegistry:h,geometryFilter:t}=p,s=i.map?.allLayers.find(r=>r.id===a.layerId);if(!s)throw new Error(`Layer '${a.layerId}' not found.`);let w=await i.whenLayerView(s),o=h.get(a.layerId)?.fieldRegistry.get(n),x=o?.alias;if(!o)throw new Error(`Field '${n}' not found.`);let b,d;if(t){let r=await N(t,i);if("error"in r)throw new Error(r.error);if(!r.geometry)throw T(t)?new Error(`No features found matching: ${t.where}`):new Error("Failed to create geometry");if(T(t)){let g=i.map?.allLayers.find(f=>f.id===t.layerId);b={geometryLayerName:g?.title??g?.id,geometryLayerId:t.layerId,geometryWhere:t.where,distance:t.distance,units:t.units,applied:!0}}else L(t)&&(b={point:t.point,distance:t.distance,units:t.units,applied:!0});d=new U({geometry:r.geometry,distance:t.distance,units:t.units,spatialRelationship:"intersects"})}let y=E(w,[n],!1),u=null,m=null,V=10;if(o.type!=="geometry"&&o.type!=="oid"&&o.type!=="global-id")try{let r={layer:s,useFeaturesInView:y,view:y?i:void 0,field:n,sqlWhere:I(s.definitionExpression,a.where),...d&&{filter:d},outStatisticTypes:{include:[l]}};u=await A(r);let g=["string","small-integer","integer"],f=o.domain?.type==="coded-value"?o.domain:null;(g.includes(o.type)||f)&&(m=(await D({layer:s,useFeaturesInView:y,view:y?i:void 0,field:n,sqlWhere:I(s.definitionExpression,a.where),...d&&{filter:d}})).uniqueValueInfos.sort((c,j)=>j.count-c.count).slice(0,V)),m&&o.domain?.type==="coded-value"&&(m=m.map(c=>({...c,value:f?f.getName(c.value)??c.value:c.value})))}catch(r){console.error("Statistics error:",r)}return{tool:"getStatistics",layerName:s.title??a.layerId,summary:`${l} = ${typeof u?.[l]=="number"?u[l]:"N/A"}`,details:{fieldName:n,fieldAlias:x,statisticType:l,statistic:u?.[l]??null,summaryStatistics:u,uniqueValues:m,where:a.where,spatialFilterInfo:b}}};async function C({targetLayer:p,fieldName:a,statisticType:n,geometryFilter:l},i){let h=R(i,"layersAndFieldsRegistry"),{mapView:t}=F(i,["mapView"]),s=O(l,i.state?.agentExecutionContext?.sharedResources),w=await W({targetLayer:p,fieldName:a,statisticType:n,mapView:t,layersAndFieldsRegistry:h,geometryFilter:s});return JSON.stringify(w,null,2)}var $=e.object({layerId:e.string().describe("The layerId of the layer containing the geometry by which to filter."),where:e.string().describe("The SQL-92 where clause representing the features from which to filter."),distance:e.number().optional().describe("The buffer distance around the geometry."),units:v.optional().describe("The units for the distance buffer.")}),G=e.object({point:e.object({x:e.number().describe("X coordinate (longitude) from navigation result"),y:e.number().describe("Y coordinate (latitude) from navigation result"),spatialReference:e.object({wkid:e.number().describe("Spatial reference WKID (e.g., 4326 for WGS84)")}).optional().describe("Spatial reference. Defaults to map's spatial reference if not provided.")}).describe("Point coordinates from a previous navigation/geocoding result"),distance:e.number().optional().describe("Optional buffer distance around the point."),units:v.optional().describe("The units for the distance buffer.")}),Q=e.object({targetLayer:e.object({layerId:e.string().describe("The layerId of the layer containing the field from which to get a value."),where:e.string().describe("The SQL-92 where clause representing the feature from which to get an attribute value.")}),geometryFilter:e.union([$,G,q]).optional().describe("Geometry filter for spatial queries. Use 'sharedResourceId' with an ID from listSharedResources for a previously geocoded location. Use 'point' for inline coordinates or 'layerId/where' for features from another layer."),fieldName:e.string().describe("The name of the field for which to get statistics. STRICTLY DO NOT use OBJECTID. Use any other field"),statisticType:e.enum(["avg","max","median","min","stddev","sum","variance","nullcount","count"]).describe("The statistic type to calculate.")}),Z=S(C,{name:"getStatistics",description:`Computes a single aggregate statistic (max, min, avg, sum, median, stddev, variance) for a numeric field across matching features. Also returns frequency analysis for categorical fields.
3
3
 
4
4
  USE THIS TOOL FOR:
5
5
  - "What is the average/maximum/minimum/total [field]?" \u2014 aggregate computations
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as i}from"./DFTUMKSN.js";function s(n){return new i().sanitize(n)}function f(n){let t=s(n),e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""}function m(n){let t=document.createElement("textarea");return t.innerHTML=n,t.value}function d(n,t){let e=n;for(;e;){if(e.matches?.(t))return e;let a=e.closest(t);if(a)return a;let c=e.getRootNode?.();e=c instanceof ShadowRoot?c.host:e.parentElement}}var o=document.createElement("canvas").getContext("2d"),r={},l=({text:n,font:t})=>{if(t&&(r[t]=r[t]||{},r[t][n]))return r[t][n];if(!o)return n.length*8;o.font=t||"14px 'Avenir Next'";let e=o.measureText(n);return t&&(r[t][n]=e.width),e.width};export{s as a,f as b,m as c,d,l as e};
2
+ import{a as i}from"./5YDITHQA.js";function s(n){return new i().sanitize(n)}function f(n){let t=s(n),e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""}function m(n){let t=document.createElement("textarea");return t.innerHTML=n,t.value}function d(n,t){let e=n;for(;e;){if(e.matches?.(t))return e;let a=e.closest(t);if(a)return a;let c=e.getRootNode?.();e=c instanceof ShadowRoot?c.host:e.parentElement}}var o=document.createElement("canvas").getContext("2d"),r={},l=({text:n,font:t})=>{if(t&&(r[t]=r[t]||{},r[t][n]))return r[t][n];if(!o)return n.length*8;o.font=t||"14px 'Avenir Next'";let e=o.measureText(n);return t&&(r[t][n]=e.width),e.width};export{s as a,f as b,m as c,d,l as e};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import b from"./5ITAQNJ6.js";import a from"./B2YUF4DX.js";import"./KCYIOVJQ.js";import{b as s}from"./WMT55UQD.js";import{L as o,j as e,w as r}from"./EXBWPG5Y.js";import"./R74ZHFA6.js";import"./UZLQALHY.js";export default $arcgis.t(([,{c:n}])=>{var c=960,i=class extends o{constructor(){super(...arguments),this.options=[],this.view="",this.viewText="View",this.store=n(),this.arcgisBrowserViewChange=r()}static{this.properties={options:0,view:1,viewText:1,store:0}}renderOption(t){return e`<calcite-dropdown-item .selected=${t.value===this.view} @calciteDropdownItemSelect=${()=>{this.arcgisBrowserViewChange.emit(t.value)}} .iconStart=${t.value} icon-flip-rtl=start>${t.title}</calcite-dropdown-item>`}renderButton(){let t=this.options.find(a=>a.value===this.view),l=this.store.width||window.innerWidth;return e`<calcite-button class="button" slot=trigger scale=m appearance=outline-fill kind=neutral .iconStart=${t?.value} icon-flip-rtl=start .label=${`${this.viewText}: ${t?.title||""}`}>${l>c?t?.title:null}</calcite-button>`}render(){return e`<calcite-dropdown placement=bottom-end scale=m overlay-positioning=fixed width=s>${this.renderButton()}<calcite-dropdown-group selection-mode=single>${this.options.map(t=>this.renderOption(t))}</calcite-dropdown-group></calcite-dropdown>`}};s("arcgis-portal-browser-view",i);return i},a,b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import c from"./YPNVFSI3.js";import b from"./5ITAQNJ6.js";import a from"./B2YUF4DX.js";import"./XBQKBQOE.js";import"./6IQGJNQQ.js";import"./KCYIOVJQ.js";import"./4JPFPWGG.js";import"./WMT55UQD.js";import"./EXBWPG5Y.js";import"./R74ZHFA6.js";import"./UZLQALHY.js";export default $arcgis.t(([,,a])=>{return a},a,b,c)