@arcgis/portal-components 6.0.0-next.4 → 6.0.0-next.41

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 (412) hide show
  1. package/dist/cdn/{SGDDFWCJ.js → 2GIECQ25.js} +1 -1
  2. package/dist/cdn/2N6K2UUQ.js +2 -0
  3. package/dist/cdn/36DGXQLJ.js +2 -0
  4. package/dist/cdn/{2TDHJSMP.js → 3HXQ5Z4C.js} +1 -1
  5. package/dist/cdn/3HZI6MKD.js +2 -0
  6. package/dist/cdn/3OL7A2UC.js +2 -0
  7. package/dist/cdn/3Q7UJKKN.js +2 -0
  8. package/dist/cdn/3SG67WP5.js +2 -0
  9. package/dist/cdn/3ZVDEJPF.js +2 -0
  10. package/dist/cdn/42AN66SK.js +2 -0
  11. package/dist/cdn/46HNNQAD.js +2 -0
  12. package/dist/cdn/4CBRO7JP.js +2 -0
  13. package/dist/cdn/4E354KKM.js +2 -0
  14. package/dist/cdn/4QYVBXZT.js +2 -0
  15. package/dist/cdn/5MLBK66O.js +2 -0
  16. package/dist/cdn/5ZHNRQOW.js +2 -0
  17. package/dist/cdn/62TL6V4N.js +2 -0
  18. package/dist/cdn/67FEZD25.js +2 -0
  19. package/dist/cdn/{BKD7JSV2.js → 6CUXEL27.js} +1 -1
  20. package/dist/cdn/6GPAZV4Z.js +2 -0
  21. package/dist/cdn/6QI7DAS2.js +2 -0
  22. package/dist/cdn/6XDKSVRF.js +2 -0
  23. package/dist/cdn/6ZJNZZPC.js +2 -0
  24. package/dist/cdn/6ZYYG64M.js +2 -0
  25. package/dist/cdn/7AG3E7K6.js +2 -0
  26. package/dist/cdn/7JDXAVUG.js +2 -0
  27. package/dist/cdn/7JKFWVCY.js +2 -0
  28. package/dist/cdn/7VPB6Q55.js +63 -0
  29. package/dist/cdn/AJEQETRW.js +2 -0
  30. package/dist/cdn/{JE2376SE.js → AP7UWD4P.js} +1 -1
  31. package/dist/cdn/{OR6T5SB3.js → BNWJUQDF.js} +1 -1
  32. package/dist/cdn/BUYOYUA2.js +2 -0
  33. package/dist/cdn/BX7Q3V2Y.js +43 -0
  34. package/dist/cdn/BXPNB7VJ.js +2 -0
  35. package/dist/cdn/BZEKNJUA.js +2 -0
  36. package/dist/cdn/C6RUWLEJ.js +2 -0
  37. package/dist/cdn/CERDMRFQ.js +2 -0
  38. package/dist/cdn/DFECUYNW.js +2 -0
  39. package/dist/cdn/DGWOMELT.js +2 -0
  40. package/dist/cdn/DIWTHL4N.js +2 -0
  41. package/dist/cdn/DKUOQCHO.js +2 -0
  42. package/dist/cdn/{ZKZDKJ6D.js → DQL2JT6K.js} +1 -1
  43. package/dist/cdn/{2YZWRFCI.js → DTGPLVZF.js} +1 -1
  44. package/dist/cdn/DU2R3VC4.js +2 -0
  45. package/dist/cdn/E5HCHRAI.js +2 -0
  46. package/dist/cdn/EBL7YSRM.js +2 -0
  47. package/dist/cdn/EDGE3T36.js +2 -0
  48. package/dist/cdn/EETYTFHH.js +2 -0
  49. package/dist/cdn/{YZTBAUIO.js → EFMYI4L2.js} +1 -1
  50. package/dist/cdn/FINVGL3V.js +2 -0
  51. package/dist/cdn/FN2QMDEW.js +2 -0
  52. package/dist/cdn/FXXFSYNB.js +2 -0
  53. package/dist/cdn/GA4OWLSO.js +2 -0
  54. package/dist/cdn/GFUKRB6D.js +2 -0
  55. package/dist/cdn/GHDMQJG4.js +2 -0
  56. package/dist/cdn/{FRE56NBG.js → GY4SY4XC.js} +1 -1
  57. package/dist/cdn/H4TPPTVB.js +2 -0
  58. package/dist/cdn/HOIZXTOD.js +2 -0
  59. package/dist/cdn/{VDXESPJK.js → I4TKQB4A.js} +1 -1
  60. package/dist/cdn/{TWCJJCPC.js → IAMPUXPT.js} +1 -1
  61. package/dist/cdn/IQPJOVDL.js +2 -0
  62. package/dist/cdn/ITRJGXFV.js +93 -0
  63. package/dist/cdn/ITWLFQI4.js +2 -0
  64. package/dist/cdn/IWPJEUHY.js +2 -0
  65. package/dist/cdn/{7ZWYUHGK.js → IYICIRGI.js} +1 -1
  66. package/dist/cdn/JDW7ECBF.js +2 -0
  67. package/dist/cdn/JFGXTJY4.js +2 -0
  68. package/dist/cdn/JGTBDGJ7.js +2 -0
  69. package/dist/cdn/JLT5GCLY.js +2 -0
  70. package/dist/cdn/JTA223NH.js +2 -0
  71. package/dist/cdn/KA2MXQTR.js +2 -0
  72. package/dist/cdn/KAK6CNI7.js +2 -0
  73. package/dist/cdn/{CFRJU6VA.js → KRO5XRZ7.js} +1 -1
  74. package/dist/cdn/KRORL7QC.js +2 -0
  75. package/dist/cdn/KWL2D56D.js +3 -0
  76. package/dist/cdn/{QTAYXO5T.js → KXVXQYIB.js} +1 -1
  77. package/dist/cdn/L3YOPSRB.js +135 -0
  78. package/dist/cdn/{IN4JPZTY.js → LGKI24ZT.js} +1 -1
  79. package/dist/cdn/{JIJO4CAS.js → LVWAYUYZ.js} +1 -1
  80. package/dist/cdn/{Z6R3C4AK.js → MB32XRI5.js} +1 -1
  81. package/dist/cdn/ME6XACY6.js +2 -0
  82. package/dist/cdn/MSL36HAR.js +2 -0
  83. package/dist/cdn/MSSJRDR7.js +2 -0
  84. package/dist/cdn/N47MW5HI.js +9 -0
  85. package/dist/cdn/N5AG34NK.js +2 -0
  86. package/dist/cdn/N7XYFVOI.js +2 -0
  87. package/dist/cdn/NHVPNSNH.js +2 -0
  88. package/dist/cdn/{5HZNBMW6.js → NU4K2AV3.js} +1 -1
  89. package/dist/cdn/O2GPTWGF.js +3 -0
  90. package/dist/cdn/ODYYTLLQ.js +2 -0
  91. package/dist/cdn/{TRMFL7PT.js → ONRTCGLU.js} +1 -1
  92. package/dist/cdn/{RHCRPJWS.js → OPMM7QH5.js} +1 -1
  93. package/dist/cdn/OQBLBDR5.js +2 -0
  94. package/dist/cdn/OWODUQF2.js +2 -0
  95. package/dist/cdn/OXF2WDSW.js +2 -0
  96. package/dist/cdn/PM33STYQ.js +2 -0
  97. package/dist/cdn/PUHZVFK7.js +2 -0
  98. package/dist/cdn/QAXFE5DD.js +2 -0
  99. package/dist/cdn/{JPUUMGX5.js → QKRLO5CJ.js} +1 -1
  100. package/dist/cdn/QXPDVHB5.js +2 -0
  101. package/dist/cdn/R26RBXQW.js +2 -0
  102. package/dist/cdn/{NWVLGU2C.js → R45EMSQJ.js} +1 -1
  103. package/dist/cdn/R6KJVAX3.js +99 -0
  104. package/dist/cdn/RA2NMLMP.js +2 -0
  105. package/dist/cdn/RDRSZQAR.js +2 -0
  106. package/dist/cdn/RR56BOTV.js +2 -0
  107. package/dist/cdn/RT26JZP5.js +2 -0
  108. package/dist/cdn/RX64JXHI.js +170 -0
  109. package/dist/cdn/S4N5QMSN.js +2 -0
  110. package/dist/cdn/SCLYGIHM.js +2 -0
  111. package/dist/cdn/SGV47YVU.js +2 -0
  112. package/dist/cdn/SRWFOV5W.js +2 -0
  113. package/dist/cdn/{3NSHGKZA.js → TBSNDRRE.js} +1 -1
  114. package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
  115. package/dist/cdn/TQX5BOZG.js +2 -0
  116. package/dist/cdn/U2J4ST45.js +2 -0
  117. package/dist/cdn/U3V7PPC2.js +2 -0
  118. package/dist/cdn/{TXC7YBGL.js → UBMZBXT7.js} +1 -1
  119. package/dist/cdn/UCHX4CBR.js +2 -0
  120. package/dist/cdn/UCTXRTQZ.js +2 -0
  121. package/dist/cdn/ULGME5RT.js +2 -0
  122. package/dist/cdn/UWB23CG4.js +2 -0
  123. package/dist/cdn/VABNHOVG.js +2 -0
  124. package/dist/cdn/{URQML7KV.js → VQRMXBPQ.js} +1 -1
  125. package/dist/cdn/VWOBCSD6.js +4 -0
  126. package/dist/cdn/W6U2HMEK.js +2 -0
  127. package/dist/cdn/{MKSFNVXL.js → WNXDXB3M.js} +1 -1
  128. package/dist/cdn/{JN23JH3T.js → WOSWA2VI.js} +1 -1
  129. package/dist/cdn/WTKLB3R6.js +2 -0
  130. package/dist/cdn/{GAF4YT5N.js → XSEFGIVV.js} +1 -1
  131. package/dist/cdn/XYHIVGUK.js +2 -0
  132. package/dist/cdn/{M5PPX4ZX.js → Y4JOEFBJ.js} +1 -1
  133. package/dist/cdn/Y7ZCEONL.js +73 -0
  134. package/dist/cdn/YCMZ3RVZ.js +2 -0
  135. package/dist/cdn/YELHAJB3.js +2 -0
  136. package/dist/cdn/YH2OFXPU.js +2 -0
  137. package/dist/cdn/{I6IRHXWR.js → ZECUXVTO.js} +1 -1
  138. package/dist/cdn/{K2XSYDAP.js → ZNNEU5QW.js} +1 -1
  139. package/dist/cdn/{74T6IXSN.js → ZOOEWYFB.js} +1 -1
  140. package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
  141. package/dist/cdn/assets/portal-entity-picker/t9n/messages.en.json +1 -1
  142. package/dist/cdn/assets/portal-item-card/t9n/messages.en.json +1 -1
  143. package/dist/cdn/assets/portal-item-card-sublayer-select/t9n/messages.en.json +1 -0
  144. package/dist/cdn/assets/portal-item-preview/t9n/messages.en.json +1 -0
  145. package/dist/cdn/assets/portal-item-share-summary/t9n/messages.en.json +1 -0
  146. package/dist/cdn/assets/portal-item-status-card/t9n/messages.en.json +1 -0
  147. package/dist/cdn/assets/portal-item-type/t9n/messages.en.json +1 -1
  148. package/dist/cdn/assets/portal-navigation/t9n/messages.en.json +1 -1
  149. package/dist/cdn/assets/portal-review-layer-sharing/t9n/messages.en.json +1 -0
  150. package/dist/cdn/index.js +1 -1
  151. package/dist/cdn/main.css +1 -1
  152. package/dist/chunks/FieldIcons.js +24 -0
  153. package/dist/chunks/constants.js +7 -0
  154. package/dist/chunks/contextUsage.js +208 -0
  155. package/dist/chunks/createPortalTool.js +18 -0
  156. package/dist/chunks/fieldAddDelete.js +6 -6
  157. package/dist/chunks/functionalities.js +14 -9
  158. package/dist/chunks/groups.js +8 -61
  159. package/dist/chunks/groups2.js +23 -8
  160. package/dist/chunks/help.js +22 -0
  161. package/dist/chunks/info.js +2 -2
  162. package/dist/chunks/item.js +135 -33
  163. package/dist/chunks/item2.js +96 -122
  164. package/dist/chunks/itemThumbnail.js +21 -21
  165. package/dist/chunks/items.js +11 -11
  166. package/dist/chunks/layers.js +196 -0
  167. package/dist/chunks/loadClassificationData.js +26 -27
  168. package/dist/chunks/portal-browser.js +49 -46
  169. package/dist/chunks/portal-delete-items-review.js +1 -1
  170. package/dist/chunks/portal-item-badge.js +1 -1
  171. package/dist/chunks/portal-item-preview-sublayer.js +214 -0
  172. package/dist/chunks/portal-item-status-card.js +81 -0
  173. package/dist/chunks/portal-related-items-list-item.js +1 -1
  174. package/dist/chunks/portal.js +14 -10
  175. package/dist/chunks/portal2.js +22 -22
  176. package/dist/chunks/portalEntitySelection.js +61 -0
  177. package/dist/chunks/previewSessionController.js +33 -0
  178. package/dist/chunks/query.js +14 -14
  179. package/dist/chunks/request.js +49 -41
  180. package/dist/chunks/requests.js +7 -7
  181. package/dist/chunks/selectedMentions.js +25 -0
  182. package/dist/chunks/services.js +5 -5
  183. package/dist/chunks/string.js +19 -11
  184. package/dist/chunks/ui.js +1 -0
  185. package/dist/chunks/url.js +2 -2
  186. package/dist/chunks/user.js +67 -53
  187. package/dist/chunks/user2.js +10 -10
  188. package/dist/chunks/utils.js +35 -22
  189. package/dist/chunks/utils3.js +88 -657
  190. package/dist/chunks/utils4.js +663 -0
  191. package/dist/components/arcgis-portal-account-switcher/customElement.js +57 -54
  192. package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +27 -0
  193. package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +185 -137
  194. package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +38 -15
  195. package/dist/components/arcgis-portal-ai-assistant/customElement.js +816 -2642
  196. package/dist/components/arcgis-portal-ai-assistant/index.js +5 -0
  197. package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
  198. package/dist/components/arcgis-portal-ai-assistant/tools/groups.d.ts +28 -0
  199. package/dist/components/arcgis-portal-ai-assistant/tools/users.d.ts +28 -0
  200. package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +41 -3
  201. package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +19 -0
  202. package/dist/components/arcgis-portal-ai-assistant-diagnostics/contextUsage.d.ts +46 -0
  203. package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.d.ts +26 -0
  204. package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.js +46 -0
  205. package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.d.ts +1 -0
  206. package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.js +10 -0
  207. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +42 -1
  208. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +49 -37
  209. package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -4
  210. package/dist/components/arcgis-portal-browser/customElement.d.ts +3 -0
  211. package/dist/components/arcgis-portal-browser/customElement.js +3 -2
  212. package/dist/components/arcgis-portal-browser/index.js +1 -0
  213. package/dist/components/arcgis-portal-classification-banner/customElement.js +2 -2
  214. package/dist/components/arcgis-portal-classification-config/customElement.js +2 -2
  215. package/dist/components/arcgis-portal-classification-favorite/customElement.js +2 -2
  216. package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
  217. package/dist/components/arcgis-portal-delete-items/customElement.d.ts +69 -3
  218. package/dist/components/arcgis-portal-delete-items/customElement.js +437 -333
  219. package/dist/components/arcgis-portal-delete-items/index.js +1 -2
  220. package/dist/components/arcgis-portal-delete-items/types.d.ts +1 -0
  221. package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +51 -5
  222. package/dist/components/arcgis-portal-entity-picker/customElement.js +204 -119
  223. package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
  224. package/dist/components/arcgis-portal-field-delete/customElement.js +87 -101
  225. package/dist/components/arcgis-portal-field-delete/index.js +1 -1
  226. package/dist/components/arcgis-portal-group-badges/customElement.js +5 -5
  227. package/dist/components/arcgis-portal-group-browser/customElement.js +68 -100
  228. package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
  229. package/dist/components/arcgis-portal-group-browser-preview/customElement.js +49 -40
  230. package/dist/components/arcgis-portal-group-browser-preview/index.js +1 -0
  231. package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -4
  232. package/dist/components/arcgis-portal-group-card/customElement.js +16 -16
  233. package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
  234. package/dist/components/arcgis-portal-item-badges/customElement.js +4 -4
  235. package/dist/components/arcgis-portal-item-card/customElement.d.ts +37 -10
  236. package/dist/components/arcgis-portal-item-card/customElement.js +125 -86
  237. package/dist/components/arcgis-portal-item-card/index.js +4 -1
  238. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +102 -0
  239. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +181 -0
  240. package/dist/components/arcgis-portal-item-card-sublayer-select/index.d.ts +1 -0
  241. package/dist/components/arcgis-portal-item-card-sublayer-select/index.js +8 -0
  242. package/dist/components/arcgis-portal-item-card-sublayer-select/types.d.ts +22 -0
  243. package/dist/components/arcgis-portal-item-favorite/customElement.js +42 -29
  244. package/dist/components/arcgis-portal-item-preview/customElement.d.ts +263 -0
  245. package/dist/components/arcgis-portal-item-preview/customElement.js +137 -0
  246. package/dist/components/arcgis-portal-item-preview/index.d.ts +1 -0
  247. package/dist/components/arcgis-portal-item-preview/index.js +20 -0
  248. package/dist/components/arcgis-portal-item-preview/types.d.ts +14 -0
  249. package/dist/components/arcgis-portal-item-preview-copy/customElement.d.ts +215 -0
  250. package/dist/components/arcgis-portal-item-preview-copy/customElement.js +46 -0
  251. package/dist/components/arcgis-portal-item-preview-copy/index.d.ts +1 -0
  252. package/dist/components/arcgis-portal-item-preview-copy/index.js +5 -0
  253. package/dist/components/arcgis-portal-item-preview-field/customElement.d.ts +216 -0
  254. package/dist/components/arcgis-portal-item-preview-field/customElement.js +34 -0
  255. package/dist/components/arcgis-portal-item-preview-field/index.d.ts +1 -0
  256. package/dist/components/arcgis-portal-item-preview-field/index.js +6 -0
  257. package/dist/components/arcgis-portal-item-preview-sublayer/customElement.d.ts +216 -0
  258. package/dist/components/arcgis-portal-item-preview-sublayer/customElement.js +15 -0
  259. package/dist/components/arcgis-portal-item-preview-sublayer/index.d.ts +1 -0
  260. package/dist/components/arcgis-portal-item-preview-sublayer/index.js +11 -0
  261. package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +113 -0
  262. package/dist/components/arcgis-portal-item-share-summary/customElement.js +172 -0
  263. package/dist/components/arcgis-portal-item-share-summary/index.d.ts +1 -0
  264. package/dist/components/arcgis-portal-item-share-summary/index.js +5 -0
  265. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +33 -0
  266. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.js +19 -0
  267. package/dist/components/arcgis-portal-item-share-summary-editable/index.d.ts +1 -0
  268. package/dist/components/arcgis-portal-item-share-summary-editable/index.js +2 -0
  269. package/dist/components/arcgis-portal-item-status-card/customElement.d.ts +82 -0
  270. package/dist/components/arcgis-portal-item-status-card/customElement.js +12 -0
  271. package/dist/components/arcgis-portal-item-status-card/index.d.ts +1 -0
  272. package/dist/components/arcgis-portal-item-status-card/index.js +4 -0
  273. package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +1 -0
  274. package/dist/components/arcgis-portal-item-thumbnail/customElement.js +14 -14
  275. package/dist/components/arcgis-portal-item-type/customElement.d.ts +16 -14
  276. package/dist/components/arcgis-portal-item-type/customElement.js +25 -28
  277. package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +61 -57
  278. package/dist/components/arcgis-portal-navigation/customElement.d.ts +10 -4
  279. package/dist/components/arcgis-portal-navigation/customElement.js +349 -351
  280. package/dist/components/arcgis-portal-navigation/index.js +4 -5
  281. package/dist/components/arcgis-portal-navigation/types.d.ts +3 -0
  282. package/dist/components/arcgis-portal-preview-panel/customElement.d.ts +40 -0
  283. package/dist/components/arcgis-portal-preview-panel/customElement.js +40 -0
  284. package/dist/components/arcgis-portal-preview-panel/index.d.ts +1 -0
  285. package/dist/components/arcgis-portal-preview-panel/index.js +1 -0
  286. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +8 -8
  287. package/dist/components/arcgis-portal-review-layer-sharing/customElement.d.ts +139 -0
  288. package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +593 -0
  289. package/dist/components/arcgis-portal-review-layer-sharing/index.d.ts +1 -0
  290. package/dist/components/arcgis-portal-review-layer-sharing/index.js +10 -0
  291. package/dist/components/arcgis-portal-review-layer-sharing/types.d.ts +27 -0
  292. package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +333 -0
  293. package/dist/components/arcgis-portal-review-related-items/customElement.js +46 -18
  294. package/dist/components/arcgis-portal-review-related-items/index.js +2 -0
  295. package/dist/components/arcgis-portal-sublayer-type/customElement.js +13 -103
  296. package/dist/components/arcgis-portal-user-avatar/customElement.d.ts +2 -3
  297. package/dist/components/arcgis-portal-user-avatar/customElement.js +15 -16
  298. package/dist/components/arcgis-portal-user-popup/customElement.d.ts +4 -7
  299. package/dist/components/arcgis-portal-user-popup/customElement.js +128 -111
  300. package/dist/components/portal-group-browser-filters/customElement.js +15 -15
  301. package/dist/components/portal-related-items-list-item/customElement.js +16 -14
  302. package/dist/components/portal-related-items-list-item/index.js +1 -1
  303. package/dist/docs/api.json +1 -1
  304. package/dist/docs/docs.json +1 -1
  305. package/dist/docs/vscode.css-custom-data.json +1 -1
  306. package/dist/docs/vscode.html-custom-data.json +1 -1
  307. package/dist/docs/web-types.json +1 -1
  308. package/dist/index.d.ts +87 -0
  309. package/dist/index.js +305 -6
  310. package/dist/loader.js +22 -11
  311. package/dist/services/group.d.ts +17 -0
  312. package/dist/services/groups.d.ts +9 -0
  313. package/dist/services/item.d.ts +9 -0
  314. package/dist/types/item.d.ts +23 -11
  315. package/dist/types/layer.d.ts +27 -0
  316. package/dist/types/lumina.d.ts +82 -12
  317. package/dist/types/portalAssistantCurrentContext.d.ts +9 -0
  318. package/dist/types/portalEntityPicker.d.ts +3 -0
  319. package/dist/types/preact.d.ts +93 -12
  320. package/dist/types/react.d.ts +104 -12
  321. package/dist/types/services.d.ts +28 -1
  322. package/dist/types/stencil.d.ts +82 -12
  323. package/dist/types/user.d.ts +14 -10
  324. package/dist/utils/generateEmbeddings.d.ts +7 -0
  325. package/dist/utils/semanticSearch.d.ts +60 -0
  326. package/dist/utils/types.d.ts +10 -0
  327. package/package.json +14 -13
  328. package/dist/cdn/23NXHNPU.js +0 -2
  329. package/dist/cdn/24QSQLRY.js +0 -2
  330. package/dist/cdn/2CN754CY.js +0 -2
  331. package/dist/cdn/2FQKDFEE.js +0 -2
  332. package/dist/cdn/2MPQ5IWJ.js +0 -2
  333. package/dist/cdn/3CQKCUM5.js +0 -2
  334. package/dist/cdn/3EYB5GQX.js +0 -2
  335. package/dist/cdn/3FSPL34I.js +0 -170
  336. package/dist/cdn/3LEQ37YT.js +0 -68
  337. package/dist/cdn/4KTRAA2J.js +0 -2
  338. package/dist/cdn/4MUB6TL6.js +0 -2
  339. package/dist/cdn/4PRXQFCV.js +0 -2
  340. package/dist/cdn/4QFTKB6T.js +0 -2
  341. package/dist/cdn/4TSXFX3M.js +0 -2
  342. package/dist/cdn/5C5GHX4D.js +0 -2
  343. package/dist/cdn/7LMZHJZG.js +0 -2
  344. package/dist/cdn/A2SQ4EMZ.js +0 -2
  345. package/dist/cdn/AICPYLWE.js +0 -4
  346. package/dist/cdn/AXOBMX3S.js +0 -2
  347. package/dist/cdn/AZOJHVAO.js +0 -2
  348. package/dist/cdn/BYHX3UWV.js +0 -2
  349. package/dist/cdn/CD5UWSCP.js +0 -2
  350. package/dist/cdn/D2YQWKME.js +0 -135
  351. package/dist/cdn/DDBXEXOV.js +0 -2
  352. package/dist/cdn/DHMNNIXZ.js +0 -2
  353. package/dist/cdn/DLI4XKJ3.js +0 -2
  354. package/dist/cdn/DYO5P3F2.js +0 -2
  355. package/dist/cdn/E66BDC6N.js +0 -2
  356. package/dist/cdn/EEAVX4PP.js +0 -2
  357. package/dist/cdn/EMJQI4MA.js +0 -2
  358. package/dist/cdn/EY5S6ICQ.js +0 -2
  359. package/dist/cdn/FIBQAMJ3.js +0 -2
  360. package/dist/cdn/FIQZPIIK.js +0 -2
  361. package/dist/cdn/FNLBJ4ZQ.js +0 -2
  362. package/dist/cdn/GGDOGNH4.js +0 -150
  363. package/dist/cdn/GSOBDGLK.js +0 -2
  364. package/dist/cdn/GXM3XY3J.js +0 -2
  365. package/dist/cdn/HCNTXLUT.js +0 -2
  366. package/dist/cdn/I273CANO.js +0 -2
  367. package/dist/cdn/I6NVKNZJ.js +0 -2
  368. package/dist/cdn/J5FKIZAM.js +0 -2
  369. package/dist/cdn/J5NPDIZM.js +0 -2
  370. package/dist/cdn/JOUR2FB2.js +0 -3
  371. package/dist/cdn/JWBUJT43.js +0 -2
  372. package/dist/cdn/K75JTQPW.js +0 -2
  373. package/dist/cdn/LISDTBEX.js +0 -2
  374. package/dist/cdn/LYLQCBVX.js +0 -2
  375. package/dist/cdn/MQK63FV7.js +0 -2
  376. package/dist/cdn/N4VOTJ25.js +0 -2
  377. package/dist/cdn/N5QLV56W.js +0 -2
  378. package/dist/cdn/OD5WXP7J.js +0 -2
  379. package/dist/cdn/OXPXXIWL.js +0 -2
  380. package/dist/cdn/PKA745KL.js +0 -2
  381. package/dist/cdn/PMRFXB4F.js +0 -2
  382. package/dist/cdn/PNIFJ5DQ.js +0 -2
  383. package/dist/cdn/PZDI5ZDC.js +0 -2
  384. package/dist/cdn/QROXYP6V.js +0 -2
  385. package/dist/cdn/QUOLQGKP.js +0 -2
  386. package/dist/cdn/QWHGLE3O.js +0 -2
  387. package/dist/cdn/R3PK7XOP.js +0 -2
  388. package/dist/cdn/REM3KCX6.js +0 -2
  389. package/dist/cdn/RNWICLRH.js +0 -2
  390. package/dist/cdn/RQYNPDN3.js +0 -2
  391. package/dist/cdn/S6F7U36E.js +0 -400
  392. package/dist/cdn/SMX2LEJB.js +0 -2
  393. package/dist/cdn/SVROAT3Z.js +0 -2
  394. package/dist/cdn/TBZXKKGP.js +0 -2
  395. package/dist/cdn/TNUCSWBN.js +0 -2
  396. package/dist/cdn/TOICLGFK.js +0 -2
  397. package/dist/cdn/TOTWYGB3.js +0 -2
  398. package/dist/cdn/TUUUK3VX.js +0 -2
  399. package/dist/cdn/U3KMGSVH.js +0 -2
  400. package/dist/cdn/UEP2NYJK.js +0 -2
  401. package/dist/cdn/UZP4YMTE.js +0 -2
  402. package/dist/cdn/VNU4QX7M.js +0 -41
  403. package/dist/cdn/XYMBRPC7.js +0 -2
  404. package/dist/cdn/YB3DR4VO.js +0 -2
  405. package/dist/cdn/YYTEJVBL.js +0 -2
  406. package/dist/cdn/Z3HGPBOR.js +0 -2
  407. package/dist/cdn/ZDDN7UKS.js +0 -2
  408. package/dist/cdn/ZXNF77OB.js +0 -2
  409. package/dist/chunks/functional.js +0 -9
  410. package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +0 -45
  411. /package/dist/cdn/{OUMTV5H5.js → KHKREBVZ.js} +0 -0
  412. /package/dist/cdn/{DAAON2UO.js → UOXUUCE7.js} +0 -0
@@ -5,6 +5,7 @@ import type { ArcgisPortalAccountSwitcherList } from "../components/arcgis-porta
5
5
  import type { ArcgisPortalAccountSwitcherSignout } from "../components/arcgis-portal-account-switcher-signout/customElement.js";
6
6
  import type { ArcgisPortalAddGpsMetadata } from "../components/arcgis-portal-add-gps-metadata/customElement.js";
7
7
  import type { ArcgisPortalAiAssistant } from "../components/arcgis-portal-ai-assistant/customElement.js";
8
+ import type { ArcgisPortalAiAssistantDiagnostics } from "../components/arcgis-portal-ai-assistant-diagnostics/customElement.js";
8
9
  import type { ArcgisPortalAiAssistantInterrupt } from "../components/arcgis-portal-ai-assistant-interrupt/customElement.js";
9
10
  import type { ArcgisPortalBrowser } from "../components/arcgis-portal-browser/customElement.js";
10
11
  import type { ArcgisPortalBrowserActions } from "../components/arcgis-portal-browser-actions/customElement.js";
@@ -36,13 +37,23 @@ import type { ArcgisPortalItemActions } from "../components/arcgis-portal-item-a
36
37
  import type { ArcgisPortalItemBadges } from "../components/arcgis-portal-item-badges/customElement.js";
37
38
  import type { ArcgisPortalItemBadge } from "../components/arcgis-portal-item-badge/customElement.js";
38
39
  import type { ArcgisPortalItemCard } from "../components/arcgis-portal-item-card/customElement.js";
40
+ import type { ArcgisPortalItemCardSublayerSelect } from "../components/arcgis-portal-item-card-sublayer-select/customElement.js";
39
41
  import type { ArcgisPortalItemFavorite } from "../components/arcgis-portal-item-favorite/customElement.js";
40
42
  import type { ArcgisPortalItemPicker } from "../components/arcgis-portal-item-picker/customElement.js";
43
+ import type { ArcgisPortalItemPreview } from "../components/arcgis-portal-item-preview/customElement.js";
44
+ import type { ArcgisPortalItemPreviewCopy } from "../components/arcgis-portal-item-preview-copy/customElement.js";
45
+ import type { ArcgisPortalItemPreviewField } from "../components/arcgis-portal-item-preview-field/customElement.js";
46
+ import type { ArcgisPortalItemPreviewSublayer } from "../components/arcgis-portal-item-preview-sublayer/customElement.js";
47
+ import type { ArcgisPortalItemShareSummary } from "../components/arcgis-portal-item-share-summary/customElement.js";
48
+ import type { ArcgisPortalItemShareSummaryEditable } from "../components/arcgis-portal-item-share-summary-editable/customElement.js";
41
49
  import type { ArcgisPortalItemThumbnail } from "../components/arcgis-portal-item-thumbnail/customElement.js";
42
50
  import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
43
51
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
44
52
  import type { ArcGISPortalNavigation } from "../components/arcgis-portal-navigation/customElement.js";
53
+ import type { ArcgisPortalPreviewPanel } from "../components/arcgis-portal-preview-panel/customElement.js";
45
54
  import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
55
+ import type { ArcgisPortalReviewLayerSharing } from "../components/arcgis-portal-review-layer-sharing/customElement.js";
56
+ import type { ArcgisPortalItemStatusCard } from "../components/arcgis-portal-item-status-card/customElement.js";
46
57
  import type { ArcgisPortalReviewRelatedItems } from "../components/arcgis-portal-review-related-items/customElement.js";
47
58
  import type { ArcgisPortalSublayerType } from "../components/arcgis-portal-sublayer-type/customElement.js";
48
59
  import type { ArcgisPortalUserAvatar } from "../components/arcgis-portal-user-avatar/customElement.js";
@@ -74,16 +85,20 @@ interface PreactArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPo
74
85
  onarcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
75
86
  }
76
87
 
77
- interface PreactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, HTMLAttributes<ArcgisPortalAddGpsMetadata> {
88
+ interface PreactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, HTMLAttributes<ArcgisPortalAddGpsMetadata> {
78
89
  onarcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
90
+ onarcgisPropertyChange?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]>;
79
91
  onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
80
92
  }
81
93
 
82
- interface PreactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "navigationCapabilities" | "navigationTargetMap" | "portal" | "tools" | "useProdDocAssistant" | "user">>, HTMLAttributes<ArcgisPortalAiAssistant> {
94
+ interface PreactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "currentContext" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, HTMLAttributes<ArcgisPortalAiAssistant> {
83
95
  onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
84
96
  }
85
97
 
86
- interface PreactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
98
+ interface PreactArcgisPortalAiAssistantDiagnostics extends Partial<Pick<ArcgisPortalAiAssistantDiagnostics, "contextUsages" | "registeredTools">>, HTMLAttributes<ArcgisPortalAiAssistantDiagnostics> {
99
+ }
100
+
101
+ interface PreactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "showOtherOption" | "type">>, HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
87
102
  onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
88
103
  onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
89
104
  }
@@ -92,6 +107,8 @@ interface PreactArcgisPortalBrowser extends Partial<Pick<ArcgisPortalBrowser, "a
92
107
  onarcgisAriaUpdate?: EventHandler<ArcgisPortalBrowser["arcgisAriaUpdate"]>;
93
108
  onarcgisBrowserFilterClear?: EventHandler<ArcgisPortalBrowser["arcgisBrowserFilterClear"]>;
94
109
  onarcgisBrowserFilterRemove?: EventHandler<ArcgisPortalBrowser["arcgisBrowserFilterRemove"]>;
110
+ onarcgisPreviewClose?: EventHandler<ArcgisPortalBrowser["arcgisPreviewClose"]>;
111
+ /** @deprecated Use arcgisAriaUpdate instead. */
95
112
  onariaUpdate?: EventHandler<ArcgisPortalBrowser["ariaUpdate"]>;
96
113
  }
97
114
 
@@ -140,8 +157,8 @@ interface PreactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
140
157
  onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
141
158
  }
142
159
 
143
- interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItems> {
144
- onarcgisCancel?: EventHandler<ArcgisPortalDeleteItems["arcgisCancel"]>;
160
+ interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItems> {
161
+ onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
145
162
  onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
146
163
  onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
147
164
  }
@@ -149,7 +166,7 @@ interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteI
149
166
  interface PreactArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItemsReview> {
150
167
  }
151
168
 
152
- interface PreactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalEntityPicker> {
169
+ interface PreactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalEntityPicker> {
153
170
  onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
154
171
  }
155
172
 
@@ -202,7 +219,7 @@ interface PreactArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard
202
219
  onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
203
220
  }
204
221
 
205
- interface PreactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalGroupPicker> {
222
+ interface PreactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalGroupPicker> {
206
223
  onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
207
224
  }
208
225
 
@@ -225,21 +242,49 @@ interface PreactArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadg
225
242
  interface PreactArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, HTMLAttributes<ArcgisPortalItemBadge> {
226
243
  }
227
244
 
228
- interface PreactArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "disabled" | "disableSelection" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "user" | "userPopupZIndex" | "view">>, HTMLAttributes<ArcgisPortalItemCard> {
245
+ interface PreactArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "allowedGeometries" | "disabled" | "disableSelection" | "groups" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "notebookRuntimeStatus" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selectedItems" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "useProduction" | "user" | "userGroups" | "userPopupZIndex" | "view">>, HTMLAttributes<ArcgisPortalItemCard> {
229
246
  onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
230
247
  onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
231
248
  onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
232
249
  onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelect"]>;
250
+ onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelectError"]>;
251
+ }
252
+
253
+ interface PreactArcgisPortalItemCardSublayerSelect extends Partial<Pick<ArcgisPortalItemCardSublayerSelect, "allowedGeometries" | "appearance" | "disabled" | "item" | "messageOverrides" | "portal" | "selectedItems" | "selection" | "width">>, HTMLAttributes<ArcgisPortalItemCardSublayerSelect> {
254
+ onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelect"]>;
255
+ onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelectError"]>;
233
256
  }
234
257
 
235
258
  interface PreactArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFavorite, "iconOnly" | "item" | "portal" | "scale" | "showTooltip" | "user" | "width">>, HTMLAttributes<ArcgisPortalItemFavorite> {
236
259
  onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
237
260
  }
238
261
 
239
- interface PreactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalItemPicker> {
262
+ interface PreactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalItemPicker> {
240
263
  onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
241
264
  }
242
265
 
266
+ interface PreactArcgisPortalItemPreview extends Partial<Pick<ArcgisPortalItemPreview, "groups" | "item" | "matchedSublayerIds" | "portal" | "showFieldStatistics" | "showHosted" | "user" | "userGroups">>, HTMLAttributes<ArcgisPortalItemPreview> {
267
+ onarcgisClose?: EventHandler<ArcgisPortalItemPreview["arcgisClose"]>;
268
+ onarcgisExternalLink?: EventHandler<ArcgisPortalItemPreview["arcgisExternalLink"]>;
269
+ onarcgisSublayerChange?: EventHandler<ArcgisPortalItemPreview["arcgisSublayerChange"]>;
270
+ }
271
+
272
+ interface PreactArcgisPortalItemPreviewCopy extends Partial<Pick<ArcgisPortalItemPreviewCopy, "heading" | "label" | "section" | "text">>, HTMLAttributes<ArcgisPortalItemPreviewCopy> {
273
+ }
274
+
275
+ interface PreactArcgisPortalItemPreviewField extends Partial<Pick<ArcgisPortalItemPreviewField, "failed" | "field" | "layer" | "showStatistics">>, HTMLAttributes<ArcgisPortalItemPreviewField> {
276
+ }
277
+
278
+ interface PreactArcgisPortalItemPreviewSublayer extends Partial<Pick<ArcgisPortalItemPreviewSublayer, "externalLinkHandler" | "item" | "layer" | "portal" | "showFieldStatistics">>, HTMLAttributes<ArcgisPortalItemPreviewSublayer> {
279
+ }
280
+
281
+ interface PreactArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLAttributes<ArcgisPortalItemShareSummary> {
282
+ }
283
+
284
+ interface PreactArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLAttributes<ArcgisPortalItemShareSummaryEditable> {
285
+ onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
286
+ }
287
+
243
288
  interface PreactArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, HTMLAttributes<ArcgisPortalItemThumbnail> {
244
289
  onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
245
290
  }
@@ -255,18 +300,32 @@ interface PreactArcgisPortalMentionableTextArea extends Partial<Pick<ArcgisPorta
255
300
  onarcgisUserMentionableTextAreaKeyDown?: EventHandler<ArcgisPortalMentionableTextArea["arcgisUserMentionableTextAreaKeyDown"]>;
256
301
  }
257
302
 
258
- interface PreactArcgisPortalNavigation extends Partial<Pick<ArcGISPortalNavigation, "clientId" | "currentPathname" | "disableNotebookServer" | "disableTrackViewer" | "maxWidth" | "portal" | "portalItem" | "product" | "productHref" | "projectMenuIcon" | "projectMenuOptions" | "projectMenuSaveIndicator" | "projectTitle" | "projectTitleSave">>, HTMLAttributes<ArcGISPortalNavigation> {
303
+ interface PreactArcgisPortalNavigation extends Partial<Pick<ArcGISPortalNavigation, "clientId" | "currentPathname" | "disableNotebookServer" | "disableTrackViewer" | "maxWidth" | "portal" | "portalItem" | "product" | "productHref" | "projectMenuIcon" | "projectMenuOptions" | "projectMenuSaveIndicator" | "projectTitle" | "projectTitleSave" | "showNotifications">>, HTMLAttributes<ArcGISPortalNavigation> {
259
304
  onarcgisNavigate?: EventHandler<ArcGISPortalNavigation["arcgisNavigate"]>;
260
305
  onarcgisNavigationProjectMenuClick?: EventHandler<ArcGISPortalNavigation["arcgisNavigationProjectMenuClick"]>;
261
306
  onarcgisNavigationSignIn?: EventHandler<ArcGISPortalNavigation["arcgisNavigationSignIn"]>;
262
307
  onarcgisNavigationSignOut?: EventHandler<ArcGISPortalNavigation["arcgisNavigationSignOut"]>;
263
308
  }
264
309
 
310
+ interface PreactArcgisPortalPreviewPanel extends Partial<Pick<ArcgisPortalPreviewPanel, "fixed" | "open">>, HTMLAttributes<ArcgisPortalPreviewPanel> {
311
+ onarcgisClose?: EventHandler<ArcgisPortalPreviewPanel["arcgisClose"]>;
312
+ onarcgisOpen?: EventHandler<ArcgisPortalPreviewPanel["arcgisOpen"]>;
313
+ }
314
+
265
315
  interface PreactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, "itemId" | "portal" | "user">>, HTMLAttributes<ArcgisPortalReplacementItemRedirect> {
266
316
  onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
267
317
  }
268
318
 
269
- interface PreactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, HTMLAttributes<ArcgisPortalReviewRelatedItems> {
319
+ interface PreactArcgisPortalReviewLayerSharing extends Partial<Pick<ArcgisPortalReviewLayerSharing, "items" | "open" | "portal">>, HTMLAttributes<ArcgisPortalReviewLayerSharing> {
320
+ onarcgisClose?: EventHandler<ArcgisPortalReviewLayerSharing["arcgisClose"]>;
321
+ onarcgisComplete?: EventHandler<ArcgisPortalReviewLayerSharing["arcgisComplete"]>;
322
+ }
323
+
324
+ interface PreactArcgisPortalItemStatusCard extends Partial<Pick<ArcgisPortalItemStatusCard, "item" | "portal" | "previewed" | "state">>, HTMLAttributes<ArcgisPortalItemStatusCard> {
325
+ onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemStatusCard["arcgisItemBrowserCardPreview"]>;
326
+ }
327
+
328
+ interface PreactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, HTMLAttributes<ArcgisPortalReviewRelatedItems> {
270
329
  }
271
330
 
272
331
  interface PreactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, HTMLAttributes<ArcgisPortalSublayerType> {
@@ -275,7 +334,7 @@ interface PreactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublay
275
334
  interface PreactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLAttributes<ArcgisPortalUserAvatar> {
276
335
  }
277
336
 
278
- interface PreactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalUserPicker> {
337
+ interface PreactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalUserPicker> {
279
338
  onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
280
339
  }
281
340
 
@@ -301,6 +360,7 @@ declare module 'preact' {
301
360
  "arcgis-portal-account-switcher-signout": PreactArcgisPortalAccountSwitcherSignout;
302
361
  "arcgis-portal-add-gps-metadata": PreactArcgisPortalAddGpsMetadata;
303
362
  "arcgis-portal-ai-assistant": PreactArcgisPortalAiAssistant;
363
+ "arcgis-portal-ai-assistant-diagnostics": PreactArcgisPortalAiAssistantDiagnostics;
304
364
  "arcgis-portal-ai-assistant-interrupt": PreactArcgisPortalAiAssistantInterrupt;
305
365
  "arcgis-portal-browser": PreactArcgisPortalBrowser;
306
366
  "arcgis-portal-browser-actions": PreactArcgisPortalBrowserActions;
@@ -332,13 +392,23 @@ declare module 'preact' {
332
392
  "arcgis-portal-item-badges": PreactArcgisPortalItemBadges;
333
393
  "arcgis-portal-item-badge": PreactArcgisPortalItemBadge;
334
394
  "arcgis-portal-item-card": PreactArcgisPortalItemCard;
395
+ "arcgis-portal-item-card-sublayer-select": PreactArcgisPortalItemCardSublayerSelect;
335
396
  "arcgis-portal-item-favorite": PreactArcgisPortalItemFavorite;
336
397
  "arcgis-portal-item-picker": PreactArcgisPortalItemPicker;
398
+ "arcgis-portal-item-preview": PreactArcgisPortalItemPreview;
399
+ "arcgis-portal-item-preview-copy": PreactArcgisPortalItemPreviewCopy;
400
+ "arcgis-portal-item-preview-field": PreactArcgisPortalItemPreviewField;
401
+ "arcgis-portal-item-preview-sublayer": PreactArcgisPortalItemPreviewSublayer;
402
+ "arcgis-portal-item-share-summary": PreactArcgisPortalItemShareSummary;
403
+ "arcgis-portal-item-share-summary-editable": PreactArcgisPortalItemShareSummaryEditable;
337
404
  "arcgis-portal-item-thumbnail": PreactArcgisPortalItemThumbnail;
338
405
  "arcgis-portal-item-type": PreactArcgisPortalItemType;
339
406
  "arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
340
407
  "arcgis-portal-navigation": PreactArcgisPortalNavigation;
408
+ "arcgis-portal-preview-panel": PreactArcgisPortalPreviewPanel;
341
409
  "arcgis-portal-replacement-item-redirect": PreactArcgisPortalReplacementItemRedirect;
410
+ "arcgis-portal-review-layer-sharing": PreactArcgisPortalReviewLayerSharing;
411
+ "arcgis-portal-item-status-card": PreactArcgisPortalItemStatusCard;
342
412
  "arcgis-portal-review-related-items": PreactArcgisPortalReviewRelatedItems;
343
413
  "arcgis-portal-sublayer-type": PreactArcgisPortalSublayerType;
344
414
  "arcgis-portal-user-avatar": PreactArcgisPortalUserAvatar;
@@ -355,6 +425,7 @@ declare module 'preact' {
355
425
  "arcgis-portal-account-switcher-signout": PreactArcgisPortalAccountSwitcherSignout;
356
426
  "arcgis-portal-add-gps-metadata": PreactArcgisPortalAddGpsMetadata;
357
427
  "arcgis-portal-ai-assistant": PreactArcgisPortalAiAssistant;
428
+ "arcgis-portal-ai-assistant-diagnostics": PreactArcgisPortalAiAssistantDiagnostics;
358
429
  "arcgis-portal-ai-assistant-interrupt": PreactArcgisPortalAiAssistantInterrupt;
359
430
  "arcgis-portal-browser": PreactArcgisPortalBrowser;
360
431
  "arcgis-portal-browser-actions": PreactArcgisPortalBrowserActions;
@@ -386,13 +457,23 @@ declare module 'preact' {
386
457
  "arcgis-portal-item-badges": PreactArcgisPortalItemBadges;
387
458
  "arcgis-portal-item-badge": PreactArcgisPortalItemBadge;
388
459
  "arcgis-portal-item-card": PreactArcgisPortalItemCard;
460
+ "arcgis-portal-item-card-sublayer-select": PreactArcgisPortalItemCardSublayerSelect;
389
461
  "arcgis-portal-item-favorite": PreactArcgisPortalItemFavorite;
390
462
  "arcgis-portal-item-picker": PreactArcgisPortalItemPicker;
463
+ "arcgis-portal-item-preview": PreactArcgisPortalItemPreview;
464
+ "arcgis-portal-item-preview-copy": PreactArcgisPortalItemPreviewCopy;
465
+ "arcgis-portal-item-preview-field": PreactArcgisPortalItemPreviewField;
466
+ "arcgis-portal-item-preview-sublayer": PreactArcgisPortalItemPreviewSublayer;
467
+ "arcgis-portal-item-share-summary": PreactArcgisPortalItemShareSummary;
468
+ "arcgis-portal-item-share-summary-editable": PreactArcgisPortalItemShareSummaryEditable;
391
469
  "arcgis-portal-item-thumbnail": PreactArcgisPortalItemThumbnail;
392
470
  "arcgis-portal-item-type": PreactArcgisPortalItemType;
393
471
  "arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
394
472
  "arcgis-portal-navigation": PreactArcgisPortalNavigation;
473
+ "arcgis-portal-preview-panel": PreactArcgisPortalPreviewPanel;
395
474
  "arcgis-portal-replacement-item-redirect": PreactArcgisPortalReplacementItemRedirect;
475
+ "arcgis-portal-review-layer-sharing": PreactArcgisPortalReviewLayerSharing;
476
+ "arcgis-portal-item-status-card": PreactArcgisPortalItemStatusCard;
396
477
  "arcgis-portal-review-related-items": PreactArcgisPortalReviewRelatedItems;
397
478
  "arcgis-portal-sublayer-type": PreactArcgisPortalSublayerType;
398
479
  "arcgis-portal-user-avatar": PreactArcgisPortalUserAvatar;
@@ -5,6 +5,7 @@ import type { ArcgisPortalAccountSwitcherList } from "../components/arcgis-porta
5
5
  import type { ArcgisPortalAccountSwitcherSignout } from "../components/arcgis-portal-account-switcher-signout/customElement.js";
6
6
  import type { ArcgisPortalAddGpsMetadata } from "../components/arcgis-portal-add-gps-metadata/customElement.js";
7
7
  import type { ArcgisPortalAiAssistant } from "../components/arcgis-portal-ai-assistant/customElement.js";
8
+ import type { ArcgisPortalAiAssistantDiagnostics } from "../components/arcgis-portal-ai-assistant-diagnostics/customElement.js";
8
9
  import type { ArcgisPortalAiAssistantInterrupt } from "../components/arcgis-portal-ai-assistant-interrupt/customElement.js";
9
10
  import type { ArcgisPortalBrowser } from "../components/arcgis-portal-browser/customElement.js";
10
11
  import type { ArcgisPortalBrowserActions } from "../components/arcgis-portal-browser-actions/customElement.js";
@@ -36,13 +37,23 @@ import type { ArcgisPortalItemActions } from "../components/arcgis-portal-item-a
36
37
  import type { ArcgisPortalItemBadges } from "../components/arcgis-portal-item-badges/customElement.js";
37
38
  import type { ArcgisPortalItemBadge } from "../components/arcgis-portal-item-badge/customElement.js";
38
39
  import type { ArcgisPortalItemCard } from "../components/arcgis-portal-item-card/customElement.js";
40
+ import type { ArcgisPortalItemCardSublayerSelect } from "../components/arcgis-portal-item-card-sublayer-select/customElement.js";
39
41
  import type { ArcgisPortalItemFavorite } from "../components/arcgis-portal-item-favorite/customElement.js";
40
42
  import type { ArcgisPortalItemPicker } from "../components/arcgis-portal-item-picker/customElement.js";
43
+ import type { ArcgisPortalItemPreview } from "../components/arcgis-portal-item-preview/customElement.js";
44
+ import type { ArcgisPortalItemPreviewCopy } from "../components/arcgis-portal-item-preview-copy/customElement.js";
45
+ import type { ArcgisPortalItemPreviewField } from "../components/arcgis-portal-item-preview-field/customElement.js";
46
+ import type { ArcgisPortalItemPreviewSublayer } from "../components/arcgis-portal-item-preview-sublayer/customElement.js";
47
+ import type { ArcgisPortalItemShareSummary } from "../components/arcgis-portal-item-share-summary/customElement.js";
48
+ import type { ArcgisPortalItemShareSummaryEditable } from "../components/arcgis-portal-item-share-summary-editable/customElement.js";
41
49
  import type { ArcgisPortalItemThumbnail } from "../components/arcgis-portal-item-thumbnail/customElement.js";
42
50
  import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
43
51
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
44
52
  import type { ArcGISPortalNavigation } from "../components/arcgis-portal-navigation/customElement.js";
53
+ import type { ArcgisPortalPreviewPanel } from "../components/arcgis-portal-preview-panel/customElement.js";
45
54
  import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
55
+ import type { ArcgisPortalReviewLayerSharing } from "../components/arcgis-portal-review-layer-sharing/customElement.js";
56
+ import type { ArcgisPortalItemStatusCard } from "../components/arcgis-portal-item-status-card/customElement.js";
46
57
  import type { ArcgisPortalReviewRelatedItems } from "../components/arcgis-portal-review-related-items/customElement.js";
47
58
  import type { ArcgisPortalSublayerType } from "../components/arcgis-portal-sublayer-type/customElement.js";
48
59
  import type { ArcgisPortalUserAvatar } from "../components/arcgis-portal-user-avatar/customElement.js";
@@ -74,16 +85,20 @@ interface ReactArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPor
74
85
  onarcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
75
86
  }
76
87
 
77
- interface ReactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, HTMLProps<ArcgisPortalAddGpsMetadata> {
88
+ interface ReactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, HTMLProps<ArcgisPortalAddGpsMetadata> {
78
89
  onarcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
90
+ onarcgisPropertyChange?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]>;
79
91
  onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
80
92
  }
81
93
 
82
- interface ReactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "navigationCapabilities" | "navigationTargetMap" | "portal" | "tools" | "useProdDocAssistant" | "user">>, HTMLProps<ArcgisPortalAiAssistant> {
94
+ interface ReactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "currentContext" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, HTMLProps<ArcgisPortalAiAssistant> {
83
95
  onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
84
96
  }
85
97
 
86
- interface ReactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, HTMLProps<ArcgisPortalAiAssistantInterrupt> {
98
+ interface ReactArcgisPortalAiAssistantDiagnostics extends Partial<Pick<ArcgisPortalAiAssistantDiagnostics, "contextUsages" | "registeredTools">>, HTMLProps<ArcgisPortalAiAssistantDiagnostics> {
99
+ }
100
+
101
+ interface ReactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "showOtherOption" | "type">>, HTMLProps<ArcgisPortalAiAssistantInterrupt> {
87
102
  onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
88
103
  onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
89
104
  }
@@ -92,6 +107,8 @@ interface ReactArcgisPortalBrowser extends Partial<Pick<ArcgisPortalBrowser, "al
92
107
  onarcgisAriaUpdate?: EventHandler<ArcgisPortalBrowser["arcgisAriaUpdate"]>;
93
108
  onarcgisBrowserFilterClear?: EventHandler<ArcgisPortalBrowser["arcgisBrowserFilterClear"]>;
94
109
  onarcgisBrowserFilterRemove?: EventHandler<ArcgisPortalBrowser["arcgisBrowserFilterRemove"]>;
110
+ onarcgisPreviewClose?: EventHandler<ArcgisPortalBrowser["arcgisPreviewClose"]>;
111
+ /** @deprecated Use arcgisAriaUpdate instead. */
95
112
  onariaUpdate?: EventHandler<ArcgisPortalBrowser["ariaUpdate"]>;
96
113
  }
97
114
 
@@ -140,8 +157,8 @@ interface ReactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgis
140
157
  onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
141
158
  }
142
159
 
143
- interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItems> {
144
- onarcgisCancel?: EventHandler<ArcgisPortalDeleteItems["arcgisCancel"]>;
160
+ interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItems> {
161
+ onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
145
162
  onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
146
163
  onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
147
164
  }
@@ -149,7 +166,7 @@ interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteIt
149
166
  interface ReactArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItemsReview> {
150
167
  }
151
168
 
152
- interface ReactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalEntityPicker> {
169
+ interface ReactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalEntityPicker> {
153
170
  onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
154
171
  }
155
172
 
@@ -202,7 +219,7 @@ interface ReactArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard,
202
219
  onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
203
220
  }
204
221
 
205
- interface ReactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalGroupPicker> {
222
+ interface ReactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalGroupPicker> {
206
223
  onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
207
224
  }
208
225
 
@@ -225,21 +242,49 @@ interface ReactArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadge
225
242
  interface ReactArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, HTMLProps<ArcgisPortalItemBadge> {
226
243
  }
227
244
 
228
- interface ReactArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "disabled" | "disableSelection" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "user" | "userPopupZIndex" | "view">>, HTMLProps<ArcgisPortalItemCard> {
245
+ interface ReactArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "allowedGeometries" | "disabled" | "disableSelection" | "groups" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "notebookRuntimeStatus" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selectedItems" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "useProduction" | "user" | "userGroups" | "userPopupZIndex" | "view">>, HTMLProps<ArcgisPortalItemCard> {
229
246
  onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
230
247
  onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
231
248
  onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
232
249
  onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelect"]>;
250
+ onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelectError"]>;
251
+ }
252
+
253
+ interface ReactArcgisPortalItemCardSublayerSelect extends Partial<Pick<ArcgisPortalItemCardSublayerSelect, "allowedGeometries" | "appearance" | "disabled" | "item" | "messageOverrides" | "portal" | "selectedItems" | "selection" | "width">>, HTMLProps<ArcgisPortalItemCardSublayerSelect> {
254
+ onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelect"]>;
255
+ onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelectError"]>;
233
256
  }
234
257
 
235
258
  interface ReactArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFavorite, "iconOnly" | "item" | "portal" | "scale" | "showTooltip" | "user" | "width">>, HTMLProps<ArcgisPortalItemFavorite> {
236
259
  onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
237
260
  }
238
261
 
239
- interface ReactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalItemPicker> {
262
+ interface ReactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalItemPicker> {
240
263
  onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
241
264
  }
242
265
 
266
+ interface ReactArcgisPortalItemPreview extends Partial<Pick<ArcgisPortalItemPreview, "groups" | "item" | "matchedSublayerIds" | "portal" | "showFieldStatistics" | "showHosted" | "user" | "userGroups">>, HTMLProps<ArcgisPortalItemPreview> {
267
+ onarcgisClose?: EventHandler<ArcgisPortalItemPreview["arcgisClose"]>;
268
+ onarcgisExternalLink?: EventHandler<ArcgisPortalItemPreview["arcgisExternalLink"]>;
269
+ onarcgisSublayerChange?: EventHandler<ArcgisPortalItemPreview["arcgisSublayerChange"]>;
270
+ }
271
+
272
+ interface ReactArcgisPortalItemPreviewCopy extends Partial<Pick<ArcgisPortalItemPreviewCopy, "heading" | "label" | "section" | "text">>, HTMLProps<ArcgisPortalItemPreviewCopy> {
273
+ }
274
+
275
+ interface ReactArcgisPortalItemPreviewField extends Partial<Pick<ArcgisPortalItemPreviewField, "failed" | "field" | "layer" | "showStatistics">>, HTMLProps<ArcgisPortalItemPreviewField> {
276
+ }
277
+
278
+ interface ReactArcgisPortalItemPreviewSublayer extends Partial<Pick<ArcgisPortalItemPreviewSublayer, "externalLinkHandler" | "item" | "layer" | "portal" | "showFieldStatistics">>, HTMLProps<ArcgisPortalItemPreviewSublayer> {
279
+ }
280
+
281
+ interface ReactArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLProps<ArcgisPortalItemShareSummary> {
282
+ }
283
+
284
+ interface ReactArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLProps<ArcgisPortalItemShareSummaryEditable> {
285
+ onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
286
+ }
287
+
243
288
  interface ReactArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, HTMLProps<ArcgisPortalItemThumbnail> {
244
289
  onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
245
290
  }
@@ -255,18 +300,32 @@ interface ReactArcgisPortalMentionableTextArea extends Partial<Pick<ArcgisPortal
255
300
  onarcgisUserMentionableTextAreaKeyDown?: EventHandler<ArcgisPortalMentionableTextArea["arcgisUserMentionableTextAreaKeyDown"]>;
256
301
  }
257
302
 
258
- interface ReactArcgisPortalNavigation extends Partial<Pick<ArcGISPortalNavigation, "clientId" | "currentPathname" | "disableNotebookServer" | "disableTrackViewer" | "maxWidth" | "portal" | "portalItem" | "product" | "productHref" | "projectMenuIcon" | "projectMenuOptions" | "projectMenuSaveIndicator" | "projectTitle" | "projectTitleSave">>, HTMLProps<ArcGISPortalNavigation> {
303
+ interface ReactArcgisPortalNavigation extends Partial<Pick<ArcGISPortalNavigation, "clientId" | "currentPathname" | "disableNotebookServer" | "disableTrackViewer" | "maxWidth" | "portal" | "portalItem" | "product" | "productHref" | "projectMenuIcon" | "projectMenuOptions" | "projectMenuSaveIndicator" | "projectTitle" | "projectTitleSave" | "showNotifications">>, HTMLProps<ArcGISPortalNavigation> {
259
304
  onarcgisNavigate?: EventHandler<ArcGISPortalNavigation["arcgisNavigate"]>;
260
305
  onarcgisNavigationProjectMenuClick?: EventHandler<ArcGISPortalNavigation["arcgisNavigationProjectMenuClick"]>;
261
306
  onarcgisNavigationSignIn?: EventHandler<ArcGISPortalNavigation["arcgisNavigationSignIn"]>;
262
307
  onarcgisNavigationSignOut?: EventHandler<ArcGISPortalNavigation["arcgisNavigationSignOut"]>;
263
308
  }
264
309
 
310
+ interface ReactArcgisPortalPreviewPanel extends Partial<Pick<ArcgisPortalPreviewPanel, "fixed" | "open">>, HTMLProps<ArcgisPortalPreviewPanel> {
311
+ onarcgisClose?: EventHandler<ArcgisPortalPreviewPanel["arcgisClose"]>;
312
+ onarcgisOpen?: EventHandler<ArcgisPortalPreviewPanel["arcgisOpen"]>;
313
+ }
314
+
265
315
  interface ReactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, "itemId" | "portal" | "user">>, HTMLProps<ArcgisPortalReplacementItemRedirect> {
266
316
  onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
267
317
  }
268
318
 
269
- interface ReactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, HTMLProps<ArcgisPortalReviewRelatedItems> {
319
+ interface ReactArcgisPortalReviewLayerSharing extends Partial<Pick<ArcgisPortalReviewLayerSharing, "items" | "open" | "portal">>, HTMLProps<ArcgisPortalReviewLayerSharing> {
320
+ onarcgisClose?: EventHandler<ArcgisPortalReviewLayerSharing["arcgisClose"]>;
321
+ onarcgisComplete?: EventHandler<ArcgisPortalReviewLayerSharing["arcgisComplete"]>;
322
+ }
323
+
324
+ interface ReactArcgisPortalItemStatusCard extends Partial<Pick<ArcgisPortalItemStatusCard, "item" | "portal" | "previewed" | "state">>, HTMLProps<ArcgisPortalItemStatusCard> {
325
+ onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemStatusCard["arcgisItemBrowserCardPreview"]>;
326
+ }
327
+
328
+ interface ReactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, HTMLProps<ArcgisPortalReviewRelatedItems> {
270
329
  }
271
330
 
272
331
  interface ReactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, HTMLProps<ArcgisPortalSublayerType> {
@@ -275,7 +334,7 @@ interface ReactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublaye
275
334
  interface ReactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLProps<ArcgisPortalUserAvatar> {
276
335
  }
277
336
 
278
- interface ReactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalUserPicker> {
337
+ interface ReactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalUserPicker> {
279
338
  onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
280
339
  }
281
340
 
@@ -301,6 +360,7 @@ declare module "react" {
301
360
  "arcgis-portal-account-switcher-signout": ReactArcgisPortalAccountSwitcherSignout;
302
361
  "arcgis-portal-add-gps-metadata": ReactArcgisPortalAddGpsMetadata;
303
362
  "arcgis-portal-ai-assistant": ReactArcgisPortalAiAssistant;
363
+ "arcgis-portal-ai-assistant-diagnostics": ReactArcgisPortalAiAssistantDiagnostics;
304
364
  "arcgis-portal-ai-assistant-interrupt": ReactArcgisPortalAiAssistantInterrupt;
305
365
  "arcgis-portal-browser": ReactArcgisPortalBrowser;
306
366
  "arcgis-portal-browser-actions": ReactArcgisPortalBrowserActions;
@@ -332,13 +392,23 @@ declare module "react" {
332
392
  "arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
333
393
  "arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
334
394
  "arcgis-portal-item-card": ReactArcgisPortalItemCard;
395
+ "arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
335
396
  "arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
336
397
  "arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
398
+ "arcgis-portal-item-preview": ReactArcgisPortalItemPreview;
399
+ "arcgis-portal-item-preview-copy": ReactArcgisPortalItemPreviewCopy;
400
+ "arcgis-portal-item-preview-field": ReactArcgisPortalItemPreviewField;
401
+ "arcgis-portal-item-preview-sublayer": ReactArcgisPortalItemPreviewSublayer;
402
+ "arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
403
+ "arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
337
404
  "arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
338
405
  "arcgis-portal-item-type": ReactArcgisPortalItemType;
339
406
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
340
407
  "arcgis-portal-navigation": ReactArcgisPortalNavigation;
408
+ "arcgis-portal-preview-panel": ReactArcgisPortalPreviewPanel;
341
409
  "arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
410
+ "arcgis-portal-review-layer-sharing": ReactArcgisPortalReviewLayerSharing;
411
+ "arcgis-portal-item-status-card": ReactArcgisPortalItemStatusCard;
342
412
  "arcgis-portal-review-related-items": ReactArcgisPortalReviewRelatedItems;
343
413
  "arcgis-portal-sublayer-type": ReactArcgisPortalSublayerType;
344
414
  "arcgis-portal-user-avatar": ReactArcgisPortalUserAvatar;
@@ -357,6 +427,7 @@ declare module "react/jsx-runtime" {
357
427
  "arcgis-portal-account-switcher-signout": ReactArcgisPortalAccountSwitcherSignout;
358
428
  "arcgis-portal-add-gps-metadata": ReactArcgisPortalAddGpsMetadata;
359
429
  "arcgis-portal-ai-assistant": ReactArcgisPortalAiAssistant;
430
+ "arcgis-portal-ai-assistant-diagnostics": ReactArcgisPortalAiAssistantDiagnostics;
360
431
  "arcgis-portal-ai-assistant-interrupt": ReactArcgisPortalAiAssistantInterrupt;
361
432
  "arcgis-portal-browser": ReactArcgisPortalBrowser;
362
433
  "arcgis-portal-browser-actions": ReactArcgisPortalBrowserActions;
@@ -388,13 +459,23 @@ declare module "react/jsx-runtime" {
388
459
  "arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
389
460
  "arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
390
461
  "arcgis-portal-item-card": ReactArcgisPortalItemCard;
462
+ "arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
391
463
  "arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
392
464
  "arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
465
+ "arcgis-portal-item-preview": ReactArcgisPortalItemPreview;
466
+ "arcgis-portal-item-preview-copy": ReactArcgisPortalItemPreviewCopy;
467
+ "arcgis-portal-item-preview-field": ReactArcgisPortalItemPreviewField;
468
+ "arcgis-portal-item-preview-sublayer": ReactArcgisPortalItemPreviewSublayer;
469
+ "arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
470
+ "arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
393
471
  "arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
394
472
  "arcgis-portal-item-type": ReactArcgisPortalItemType;
395
473
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
396
474
  "arcgis-portal-navigation": ReactArcgisPortalNavigation;
475
+ "arcgis-portal-preview-panel": ReactArcgisPortalPreviewPanel;
397
476
  "arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
477
+ "arcgis-portal-review-layer-sharing": ReactArcgisPortalReviewLayerSharing;
478
+ "arcgis-portal-item-status-card": ReactArcgisPortalItemStatusCard;
398
479
  "arcgis-portal-review-related-items": ReactArcgisPortalReviewRelatedItems;
399
480
  "arcgis-portal-sublayer-type": ReactArcgisPortalSublayerType;
400
481
  "arcgis-portal-user-avatar": ReactArcgisPortalUserAvatar;
@@ -413,6 +494,7 @@ declare module "react/jsx-dev-runtime" {
413
494
  "arcgis-portal-account-switcher-signout": ReactArcgisPortalAccountSwitcherSignout;
414
495
  "arcgis-portal-add-gps-metadata": ReactArcgisPortalAddGpsMetadata;
415
496
  "arcgis-portal-ai-assistant": ReactArcgisPortalAiAssistant;
497
+ "arcgis-portal-ai-assistant-diagnostics": ReactArcgisPortalAiAssistantDiagnostics;
416
498
  "arcgis-portal-ai-assistant-interrupt": ReactArcgisPortalAiAssistantInterrupt;
417
499
  "arcgis-portal-browser": ReactArcgisPortalBrowser;
418
500
  "arcgis-portal-browser-actions": ReactArcgisPortalBrowserActions;
@@ -444,13 +526,23 @@ declare module "react/jsx-dev-runtime" {
444
526
  "arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
445
527
  "arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
446
528
  "arcgis-portal-item-card": ReactArcgisPortalItemCard;
529
+ "arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
447
530
  "arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
448
531
  "arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
532
+ "arcgis-portal-item-preview": ReactArcgisPortalItemPreview;
533
+ "arcgis-portal-item-preview-copy": ReactArcgisPortalItemPreviewCopy;
534
+ "arcgis-portal-item-preview-field": ReactArcgisPortalItemPreviewField;
535
+ "arcgis-portal-item-preview-sublayer": ReactArcgisPortalItemPreviewSublayer;
536
+ "arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
537
+ "arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
449
538
  "arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
450
539
  "arcgis-portal-item-type": ReactArcgisPortalItemType;
451
540
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
452
541
  "arcgis-portal-navigation": ReactArcgisPortalNavigation;
542
+ "arcgis-portal-preview-panel": ReactArcgisPortalPreviewPanel;
453
543
  "arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
544
+ "arcgis-portal-review-layer-sharing": ReactArcgisPortalReviewLayerSharing;
545
+ "arcgis-portal-item-status-card": ReactArcgisPortalItemStatusCard;
454
546
  "arcgis-portal-review-related-items": ReactArcgisPortalReviewRelatedItems;
455
547
  "arcgis-portal-sublayer-type": ReactArcgisPortalSublayerType;
456
548
  "arcgis-portal-user-avatar": ReactArcgisPortalUserAvatar;
@@ -1,3 +1,8 @@
1
+ export interface Result<ResultT = never, ErrorT extends PortalErrorType = PortalErrorType> {
2
+ result?: ResultT;
3
+ error?: PortalError<ErrorT>;
4
+ }
5
+
1
6
  export interface ArcgisRestError {
2
7
  code: number;
3
8
  messageCode: string;
@@ -6,4 +11,26 @@ export interface ArcgisRestError {
6
11
  details: { messages: string[]; };
7
12
  /** List of dependent items blocking an operation */
8
13
  offendingItems: unknown[];
9
- }
14
+ }
15
+
16
+ export type PortalErrorType = (typeof portalErrorList)[number];
17
+
18
+ export interface PortalError<Error extends PortalErrorType = PortalErrorType> {
19
+ code: Error;
20
+ translatedMessage?: string;
21
+ message?: string;
22
+ details?: { messages: string[]; };
23
+ }
24
+
25
+ export const portalErrorList: readonly [
26
+ "unhandledError",
27
+ "disabledSubscription",
28
+ "serviceNotExist",
29
+ "notebookAccessBlocked",
30
+ "serviceUnavailable",
31
+ "missingGroupId",
32
+ "groupNotFound",
33
+ "itemHasDependentItems",
34
+ "itemDeleteProtected",
35
+ "itemNotSupportedInRecycleBin"
36
+ ];