@arcgis/portal-components 6.0.0-next.2 → 6.0.0-next.20

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 (285) hide show
  1. package/dist/cdn/225AERRK.js +2 -0
  2. package/dist/cdn/2267AKWE.js +2 -0
  3. package/dist/cdn/{Z6R3C4AK.js → 2XIDYV73.js} +1 -1
  4. package/dist/cdn/3ZC26CT6.js +4 -0
  5. package/dist/cdn/4B2URSFO.js +2 -0
  6. package/dist/cdn/{JWBUJT43.js → 4I7NKRIH.js} +1 -1
  7. package/dist/cdn/4QYVBXZT.js +2 -0
  8. package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
  9. package/dist/cdn/565U4WSN.js +2 -0
  10. package/dist/cdn/{TWCJJCPC.js → 57MT7FOI.js} +1 -1
  11. package/dist/cdn/5D5INKHG.js +106 -0
  12. package/dist/cdn/{RHCRPJWS.js → 5SKCVK2P.js} +1 -1
  13. package/dist/cdn/{YYTEJVBL.js → 5VAV267L.js} +1 -1
  14. package/dist/cdn/67QXUNKX.js +2 -0
  15. package/dist/cdn/6BQUKFTK.js +2 -0
  16. package/dist/cdn/6T4X4RAB.js +2 -0
  17. package/dist/cdn/{2YZWRFCI.js → 6XAFP5OI.js} +1 -1
  18. package/dist/cdn/723D3EKN.js +2 -0
  19. package/dist/cdn/{EQDYQOOT.js → 7PBECSW5.js} +1 -1
  20. package/dist/cdn/7XBN6ZF4.js +2 -0
  21. package/dist/cdn/{ABORO35R.js → AAWXEOVL.js} +1 -1
  22. package/dist/cdn/{5C5GHX4D.js → AEPP4WJM.js} +1 -1
  23. package/dist/cdn/APLSVK3C.js +135 -0
  24. package/dist/cdn/{BKD7JSV2.js → AXKMKCEW.js} +1 -1
  25. package/dist/cdn/{7ZWYUHGK.js → AYHYABMC.js} +1 -1
  26. package/dist/cdn/B474WTYE.js +2 -0
  27. package/dist/cdn/{5HZNBMW6.js → C5FTQSU6.js} +1 -1
  28. package/dist/cdn/{XYMBRPC7.js → C7KQT5QW.js} +1 -1
  29. package/dist/cdn/CL5FABMT.js +2 -0
  30. package/dist/cdn/CUJG43PQ.js +2 -0
  31. package/dist/cdn/DELNTRCT.js +2 -0
  32. package/dist/cdn/E26PFYPI.js +2 -0
  33. package/dist/cdn/{MKSFNVXL.js → EHHFEPC2.js} +1 -1
  34. package/dist/cdn/{TLM457Z5.js → EQTGOMBD.js} +1 -1
  35. package/dist/cdn/{DHMNNIXZ.js → EXEAVQRP.js} +1 -1
  36. package/dist/cdn/FLUCWAMC.js +2 -0
  37. package/dist/cdn/FN2QMDEW.js +2 -0
  38. package/dist/cdn/{FIQZPIIK.js → FTT33ZZJ.js} +1 -1
  39. package/dist/cdn/FXTPC2Q5.js +2 -0
  40. package/dist/cdn/{TXC7YBGL.js → GDCXUNOL.js} +1 -1
  41. package/dist/cdn/GJNGP34L.js +2 -0
  42. package/dist/cdn/GOUAS2Q5.js +2 -0
  43. package/dist/cdn/{L64UURQB.js → HIPJAMO4.js} +1 -1
  44. package/dist/cdn/{OR6T5SB3.js → HXFKOELM.js} +1 -1
  45. package/dist/cdn/{7LMZHJZG.js → I3ECBIYX.js} +1 -1
  46. package/dist/cdn/{24QSQLRY.js → I4ZRFXQ3.js} +1 -1
  47. package/dist/cdn/{K2XSYDAP.js → I57CRKF7.js} +1 -1
  48. package/dist/cdn/IAK4F5SX.js +2 -0
  49. package/dist/cdn/IRCWBDGJ.js +79 -0
  50. package/dist/cdn/JOQEFKCE.js +2 -0
  51. package/dist/cdn/K3GAZFRI.js +63 -0
  52. package/dist/cdn/{OXPXXIWL.js → K5Q4ZROX.js} +1 -1
  53. package/dist/cdn/K6LF5U7K.js +2 -0
  54. package/dist/cdn/KRORL7QC.js +2 -0
  55. package/dist/cdn/LVUKORME.js +2 -0
  56. package/dist/cdn/LY7NVMME.js +2 -0
  57. package/dist/cdn/MK2KDBUL.js +66 -0
  58. package/dist/cdn/{AXOBMX3S.js → MLTZSPZQ.js} +1 -1
  59. package/dist/cdn/{RQYNPDN3.js → MOE6L5RN.js} +1 -1
  60. package/dist/cdn/{JPUUMGX5.js → MSP6STQ7.js} +1 -1
  61. package/dist/cdn/MSSJRDR7.js +2 -0
  62. package/dist/cdn/MUW2YNAS.js +2 -0
  63. package/dist/cdn/{JIJO4CAS.js → MXUHZ474.js} +1 -1
  64. package/dist/cdn/NDCMZLMU.js +2 -0
  65. package/dist/cdn/O4YFPGD5.js +2 -0
  66. package/dist/cdn/O5MB4QQ2.js +2 -0
  67. package/dist/cdn/OQ3OHDEB.js +2 -0
  68. package/dist/cdn/OQE662U3.js +2 -0
  69. package/dist/cdn/OQUQ7Z3E.js +2 -0
  70. package/dist/cdn/P74FP43E.js +2 -0
  71. package/dist/cdn/PVPTFK7N.js +2 -0
  72. package/dist/cdn/PXG2SRSN.js +2 -0
  73. package/dist/cdn/{ZKZDKJ6D.js → QJB32L7F.js} +1 -1
  74. package/dist/cdn/QKGHH3FS.js +2 -0
  75. package/dist/cdn/QSRWVCWP.js +2 -0
  76. package/dist/cdn/RA75BDVB.js +2 -0
  77. package/dist/cdn/RAWBYOFF.js +2 -0
  78. package/dist/cdn/{LWFACY3F.js → RLI7T32U.js} +1 -1
  79. package/dist/cdn/RYPYVJ5U.js +2 -0
  80. package/dist/cdn/SASCLFKY.js +2 -0
  81. package/dist/cdn/{SGDDFWCJ.js → SCRIVOPW.js} +1 -1
  82. package/dist/cdn/SHGPWFEC.js +2 -0
  83. package/dist/cdn/SQCDEL42.js +2 -0
  84. package/dist/cdn/SRWFOV5W.js +2 -0
  85. package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
  86. package/dist/cdn/TKTMO2NO.js +2 -0
  87. package/dist/cdn/TLZO6KZO.js +2 -0
  88. package/dist/cdn/{3NSHGKZA.js → TNRHHR67.js} +1 -1
  89. package/dist/cdn/{32BWFMTC.js → TRFH3KNJ.js} +1 -1
  90. package/dist/cdn/U4PHGRXB.js +2 -0
  91. package/dist/cdn/UD4KPMGF.js +2 -0
  92. package/dist/cdn/{U3KMGSVH.js → UL3XBQUT.js} +1 -1
  93. package/dist/cdn/ULGME5RT.js +2 -0
  94. package/dist/cdn/{I6IRHXWR.js → ULTSLT4L.js} +1 -1
  95. package/dist/cdn/{NWVLGU2C.js → UYROTXZP.js} +1 -1
  96. package/dist/cdn/VAJV46OF.js +2 -0
  97. package/dist/cdn/VH2IMPMN.js +2 -0
  98. package/dist/cdn/VNVGVYX6.js +41 -0
  99. package/dist/cdn/{3EYB5GQX.js → VRGGPMVR.js} +1 -1
  100. package/dist/cdn/{IN4JPZTY.js → VXDDXPD7.js} +1 -1
  101. package/dist/cdn/VXYEF3XW.js +2 -0
  102. package/dist/cdn/WQWJVM5B.js +2 -0
  103. package/dist/cdn/XT6IKL7A.js +2 -0
  104. package/dist/cdn/{MLYQGIJU.js → XYT4533U.js} +13 -13
  105. package/dist/cdn/Y5VUMGKH.js +3 -0
  106. package/dist/cdn/{DLI4XKJ3.js → Y6WQZMYW.js} +1 -1
  107. package/dist/cdn/{74T6IXSN.js → Y72W3QFF.js} +1 -1
  108. package/dist/cdn/YERFI6P2.js +2 -0
  109. package/dist/cdn/{YZTBAUIO.js → YTVLEHJT.js} +1 -1
  110. package/dist/cdn/{M5PPX4ZX.js → ZJCG6JI7.js} +1 -1
  111. package/dist/cdn/{JN23JH3T.js → ZJWAM6OL.js} +1 -1
  112. package/dist/cdn/{GAF4YT5N.js → ZS3JUQN3.js} +1 -1
  113. package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
  114. package/dist/cdn/assets/portal-entity-picker/t9n/messages.en.json +1 -1
  115. package/dist/cdn/assets/portal-item-share-summary/t9n/messages.en.json +1 -0
  116. package/dist/cdn/index.js +1 -1
  117. package/dist/cdn/main.css +1 -1
  118. package/dist/chunks/fieldAddDelete.js +7 -7
  119. package/dist/chunks/functionalities.js +14 -9
  120. package/dist/chunks/groups.js +8 -61
  121. package/dist/chunks/groups2.js +23 -8
  122. package/dist/chunks/info.js +2 -2
  123. package/dist/chunks/item.js +58 -26
  124. package/dist/chunks/item2.js +17 -17
  125. package/dist/chunks/itemThumbnail.js +1 -1
  126. package/dist/chunks/loadClassificationData.js +26 -27
  127. package/dist/chunks/portal-delete-items-review.js +1 -1
  128. package/dist/chunks/portal-item-badge.js +1 -1
  129. package/dist/chunks/portal-related-items-list-item.js +1 -1
  130. package/dist/chunks/portal.js +6 -6
  131. package/dist/chunks/portal2.js +11 -11
  132. package/dist/chunks/portalEntitySelection.js +54 -0
  133. package/dist/chunks/query.js +13 -13
  134. package/dist/chunks/request.js +25 -25
  135. package/dist/chunks/requests.js +7 -7
  136. package/dist/chunks/selectedMentions.js +25 -0
  137. package/dist/chunks/services.js +1 -1
  138. package/dist/chunks/string.js +14 -10
  139. package/dist/chunks/ui.js +1 -0
  140. package/dist/chunks/url.js +2 -2
  141. package/dist/chunks/user.js +10 -10
  142. package/dist/chunks/utils.js +35 -22
  143. package/dist/chunks/utils2.js +4 -4
  144. package/dist/chunks/utils3.js +1 -1
  145. package/dist/components/arcgis-portal-account-switcher/customElement.js +27 -25
  146. package/dist/components/arcgis-portal-account-switcher-accounts/customElement.d.ts +4 -4
  147. package/dist/components/arcgis-portal-account-switcher-accounts/customElement.js +8 -8
  148. package/dist/components/arcgis-portal-account-switcher-list/customElement.d.ts +4 -4
  149. package/dist/components/arcgis-portal-account-switcher-list/customElement.js +6 -6
  150. package/dist/components/arcgis-portal-account-switcher-signout/customElement.d.ts +5 -5
  151. package/dist/components/arcgis-portal-account-switcher-signout/customElement.js +3 -3
  152. package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +6 -0
  153. package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +153 -130
  154. package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +25 -15
  155. package/dist/components/arcgis-portal-ai-assistant/customElement.js +574 -2409
  156. package/dist/components/arcgis-portal-ai-assistant/index.js +4 -0
  157. package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
  158. package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +51 -0
  159. package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +14 -0
  160. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +39 -0
  161. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +63 -27
  162. package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -1
  163. package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
  164. package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
  165. package/dist/components/arcgis-portal-delete-items/customElement.d.ts +69 -3
  166. package/dist/components/arcgis-portal-delete-items/customElement.js +446 -330
  167. package/dist/components/arcgis-portal-delete-items/index.js +1 -2
  168. package/dist/components/arcgis-portal-delete-items/types.d.ts +1 -0
  169. package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +36 -0
  170. package/dist/components/arcgis-portal-entity-picker/customElement.js +202 -120
  171. package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
  172. package/dist/components/arcgis-portal-field-delete/customElement.js +33 -31
  173. package/dist/components/arcgis-portal-field-delete/index.js +1 -1
  174. package/dist/components/arcgis-portal-group-badges/customElement.js +5 -5
  175. package/dist/components/arcgis-portal-group-browser/customElement.js +93 -99
  176. package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
  177. package/dist/components/arcgis-portal-group-browser-preview/customElement.js +2 -2
  178. package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -1
  179. package/dist/components/arcgis-portal-group-card/customElement.js +18 -18
  180. package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
  181. package/dist/components/arcgis-portal-item-card/customElement.d.ts +6 -2
  182. package/dist/components/arcgis-portal-item-card/customElement.js +91 -90
  183. package/dist/components/arcgis-portal-item-card/index.js +1 -1
  184. package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +113 -0
  185. package/dist/components/arcgis-portal-item-share-summary/customElement.js +172 -0
  186. package/dist/components/arcgis-portal-item-share-summary/index.d.ts +1 -0
  187. package/dist/components/arcgis-portal-item-share-summary/index.js +5 -0
  188. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +33 -0
  189. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.js +19 -0
  190. package/dist/components/arcgis-portal-item-share-summary-editable/index.d.ts +1 -0
  191. package/dist/components/arcgis-portal-item-share-summary-editable/index.js +2 -0
  192. package/dist/components/arcgis-portal-item-thumbnail/customElement.js +10 -10
  193. package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +61 -57
  194. package/dist/components/arcgis-portal-navigation/customElement.js +6 -7
  195. package/dist/components/arcgis-portal-navigation/index.js +5 -5
  196. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +8 -8
  197. package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +333 -0
  198. package/dist/components/arcgis-portal-review-related-items/customElement.js +45 -18
  199. package/dist/components/arcgis-portal-review-related-items/index.js +2 -0
  200. package/dist/components/arcgis-portal-user-popup/customElement.js +28 -28
  201. package/dist/components/portal-group-browser-filters/customElement.js +15 -15
  202. package/dist/components/portal-related-items-list-item/customElement.js +16 -14
  203. package/dist/components/portal-related-items-list-item/index.js +1 -1
  204. package/dist/docs/api.json +1 -1
  205. package/dist/docs/docs.json +1 -1
  206. package/dist/docs/vscode.html-custom-data.json +1 -1
  207. package/dist/docs/web-types.json +1 -1
  208. package/dist/index.d.ts +20 -0
  209. package/dist/index.js +155 -6
  210. package/dist/loader.js +14 -12
  211. package/dist/services/groups.d.ts +9 -0
  212. package/dist/services/item.d.ts +9 -0
  213. package/dist/types/item.d.ts +3 -3
  214. package/dist/types/lumina.d.ts +28 -17
  215. package/dist/types/preact.d.ts +30 -17
  216. package/dist/types/react.d.ts +32 -17
  217. package/dist/types/services.d.ts +24 -1
  218. package/dist/types/stencil.d.ts +28 -17
  219. package/dist/utils/generateEmbeddings.d.ts +7 -0
  220. package/dist/utils/semanticSearch.d.ts +60 -0
  221. package/dist/utils/types.d.ts +10 -0
  222. package/package.json +10 -10
  223. package/dist/cdn/23FS4XTG.js +0 -2
  224. package/dist/cdn/2MPQ5IWJ.js +0 -2
  225. package/dist/cdn/3CQKCUM5.js +0 -2
  226. package/dist/cdn/3LEQ37YT.js +0 -68
  227. package/dist/cdn/46BUEBWS.js +0 -2
  228. package/dist/cdn/4AI52H7C.js +0 -2
  229. package/dist/cdn/4MUB6TL6.js +0 -2
  230. package/dist/cdn/4PRXQFCV.js +0 -2
  231. package/dist/cdn/4QFTKB6T.js +0 -2
  232. package/dist/cdn/4TSXFX3M.js +0 -2
  233. package/dist/cdn/5PPZNVWG.js +0 -2
  234. package/dist/cdn/66XWNGQ2.js +0 -2
  235. package/dist/cdn/6F4SJDRR.js +0 -2
  236. package/dist/cdn/6RZEXOK3.js +0 -2
  237. package/dist/cdn/A2SQ4EMZ.js +0 -2
  238. package/dist/cdn/AICPYLWE.js +0 -4
  239. package/dist/cdn/AJQT7UXB.js +0 -2
  240. package/dist/cdn/APSYZEPP.js +0 -209
  241. package/dist/cdn/AZOJHVAO.js +0 -2
  242. package/dist/cdn/BSTA5KI5.js +0 -2
  243. package/dist/cdn/CD5UWSCP.js +0 -2
  244. package/dist/cdn/CXXV6WJT.js +0 -2
  245. package/dist/cdn/DDBXEXOV.js +0 -2
  246. package/dist/cdn/DYO5P3F2.js +0 -2
  247. package/dist/cdn/E66BDC6N.js +0 -2
  248. package/dist/cdn/EEAVX4PP.js +0 -2
  249. package/dist/cdn/EITRZQSC.js +0 -2
  250. package/dist/cdn/EMJQI4MA.js +0 -2
  251. package/dist/cdn/FIBQAMJ3.js +0 -2
  252. package/dist/cdn/FNLBJ4ZQ.js +0 -2
  253. package/dist/cdn/FRE56NBG.js +0 -2
  254. package/dist/cdn/GSOBDGLK.js +0 -2
  255. package/dist/cdn/GUO7HKSP.js +0 -463
  256. package/dist/cdn/GX7U3727.js +0 -2
  257. package/dist/cdn/GXM3XY3J.js +0 -2
  258. package/dist/cdn/I273CANO.js +0 -2
  259. package/dist/cdn/I6NVKNZJ.js +0 -2
  260. package/dist/cdn/J5FKIZAM.js +0 -2
  261. package/dist/cdn/JL52W3Z4.js +0 -2
  262. package/dist/cdn/JOUR2FB2.js +0 -3
  263. package/dist/cdn/LISDTBEX.js +0 -2
  264. package/dist/cdn/LYLQCBVX.js +0 -2
  265. package/dist/cdn/N4VOTJ25.js +0 -2
  266. package/dist/cdn/N5QLV56W.js +0 -2
  267. package/dist/cdn/NRMQDCM3.js +0 -2
  268. package/dist/cdn/OD5WXP7J.js +0 -2
  269. package/dist/cdn/PMRFXB4F.js +0 -2
  270. package/dist/cdn/PNIFJ5DQ.js +0 -2
  271. package/dist/cdn/PZDI5ZDC.js +0 -2
  272. package/dist/cdn/RVYSVTPQ.js +0 -2
  273. package/dist/cdn/SVROAT3Z.js +0 -2
  274. package/dist/cdn/TBZXKKGP.js +0 -2
  275. package/dist/cdn/TNUCSWBN.js +0 -2
  276. package/dist/cdn/TOICLGFK.js +0 -2
  277. package/dist/cdn/TOTWYGB3.js +0 -2
  278. package/dist/cdn/TUUUK3VX.js +0 -2
  279. package/dist/cdn/WC3FPLYQ.js +0 -2
  280. package/dist/cdn/YTODQCOG.js +0 -2
  281. package/dist/cdn/ZDDN7UKS.js +0 -2
  282. package/dist/chunks/functional.js +0 -9
  283. package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +0 -45
  284. /package/dist/components/arcgis-portal-ai-assistant/{agents/types.d.ts → types/navigation.d.ts} +0 -0
  285. /package/dist/components/arcgis-portal-ai-assistant/{agents → types}/portalRouteKeys.d.ts +0 -0
@@ -38,6 +38,8 @@ import type { ArcgisPortalItemBadge } from "../components/arcgis-portal-item-bad
38
38
  import type { ArcgisPortalItemCard } from "../components/arcgis-portal-item-card/customElement.js";
39
39
  import type { ArcgisPortalItemFavorite } from "../components/arcgis-portal-item-favorite/customElement.js";
40
40
  import type { ArcgisPortalItemPicker } from "../components/arcgis-portal-item-picker/customElement.js";
41
+ import type { ArcgisPortalItemShareSummary } from "../components/arcgis-portal-item-share-summary/customElement.js";
42
+ import type { ArcgisPortalItemShareSummaryEditable } from "../components/arcgis-portal-item-share-summary-editable/customElement.js";
41
43
  import type { ArcgisPortalItemThumbnail } from "../components/arcgis-portal-item-thumbnail/customElement.js";
42
44
  import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
43
45
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
@@ -59,31 +61,31 @@ interface PreactArcgisPortalAccountSwitcher extends Partial<Pick<ArcgisPortalAcc
59
61
  }
60
62
 
61
63
  interface PreactArcgisPortalAccountSwitcherAccounts extends Partial<Pick<ArcgisPortalAccountSwitcherAccounts, "accounts" | "portal" | "targetUser">>, HTMLAttributes<ArcgisPortalAccountSwitcherAccounts> {
62
- onarcgisCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisCloseDialog"]>;
63
- onarcgisLinkAll?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisLinkAll"]>;
64
+ onarcgisAccountsCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisAccountsCloseDialog"]>;
65
+ onarcgisAccountsLinkAll?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisAccountsLinkAll"]>;
64
66
  }
65
67
 
66
68
  interface PreactArcgisPortalAccountSwitcherList extends Partial<Pick<ArcgisPortalAccountSwitcherList, "accountAccess" | "actions" | "interactive" | "linkedAccounts" | "portal" | "signedInUsers">>, HTMLAttributes<ArcgisPortalAccountSwitcherList> {
67
- onarcgisAccountSwitch?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountSwitch"]>;
68
- onarcgisAccountUnlink?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountUnlink"]>;
69
+ onarcgisAccountListSwitch?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountListSwitch"]>;
70
+ onarcgisAccountListUnlink?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountListUnlink"]>;
69
71
  }
70
72
 
71
73
  interface PreactArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPortalAccountSwitcherSignout, "portal" | "signedInAccounts">>, HTMLAttributes<ArcgisPortalAccountSwitcherSignout> {
72
- onarcgisCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisCloseDialog"]>;
73
74
  onarcgisSignOutAll?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutAll"]>;
74
- onarcgisSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSwitchAccount"]>;
75
+ onarcgisSignOutCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutCloseDialog"]>;
76
+ onarcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
75
77
  }
76
78
 
77
- interface PreactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, HTMLAttributes<ArcgisPortalAddGpsMetadata> {
79
+ interface PreactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, HTMLAttributes<ArcgisPortalAddGpsMetadata> {
78
80
  onarcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
79
81
  onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
80
82
  }
81
83
 
82
- interface PreactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "navigationCapabilities" | "navigationTargetMap" | "portal" | "useProdDocAssistant" | "user">>, HTMLAttributes<ArcgisPortalAiAssistant> {
84
+ interface PreactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, HTMLAttributes<ArcgisPortalAiAssistant> {
83
85
  onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
84
86
  }
85
87
 
86
- interface PreactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
88
+ interface PreactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
87
89
  onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
88
90
  onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
89
91
  }
@@ -140,8 +142,8 @@ interface PreactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
140
142
  onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
141
143
  }
142
144
 
143
- interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItems> {
144
- onarcgisCancel?: EventHandler<ArcgisPortalDeleteItems["arcgisCancel"]>;
145
+ interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItems> {
146
+ onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
145
147
  onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
146
148
  onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
147
149
  }
@@ -149,7 +151,7 @@ interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteI
149
151
  interface PreactArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItemsReview> {
150
152
  }
151
153
 
152
- interface PreactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, HTMLAttributes<ArcgisPortalEntityPicker> {
154
+ interface PreactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalEntityPicker> {
153
155
  onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
154
156
  }
155
157
 
@@ -202,7 +204,7 @@ interface PreactArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard
202
204
  onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
203
205
  }
204
206
 
205
- interface PreactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, HTMLAttributes<ArcgisPortalGroupPicker> {
207
+ interface PreactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalGroupPicker> {
206
208
  onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
207
209
  }
208
210
 
@@ -225,7 +227,7 @@ interface PreactArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadg
225
227
  interface PreactArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, HTMLAttributes<ArcgisPortalItemBadge> {
226
228
  }
227
229
 
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> {
230
+ interface PreactArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "disabled" | "disableSelection" | "groups" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "user" | "userGroups" | "userPopupZIndex" | "view">>, HTMLAttributes<ArcgisPortalItemCard> {
229
231
  onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
230
232
  onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
231
233
  onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
@@ -236,10 +238,17 @@ interface PreactArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFa
236
238
  onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
237
239
  }
238
240
 
239
- interface PreactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, HTMLAttributes<ArcgisPortalItemPicker> {
241
+ interface PreactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalItemPicker> {
240
242
  onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
241
243
  }
242
244
 
245
+ interface PreactArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLAttributes<ArcgisPortalItemShareSummary> {
246
+ }
247
+
248
+ interface PreactArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLAttributes<ArcgisPortalItemShareSummaryEditable> {
249
+ onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
250
+ }
251
+
243
252
  interface PreactArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, HTMLAttributes<ArcgisPortalItemThumbnail> {
244
253
  onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
245
254
  }
@@ -266,7 +275,7 @@ interface PreactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisP
266
275
  onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
267
276
  }
268
277
 
269
- interface PreactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, HTMLAttributes<ArcgisPortalReviewRelatedItems> {
278
+ interface PreactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, HTMLAttributes<ArcgisPortalReviewRelatedItems> {
270
279
  }
271
280
 
272
281
  interface PreactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, HTMLAttributes<ArcgisPortalSublayerType> {
@@ -275,7 +284,7 @@ interface PreactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublay
275
284
  interface PreactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLAttributes<ArcgisPortalUserAvatar> {
276
285
  }
277
286
 
278
- interface PreactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, HTMLAttributes<ArcgisPortalUserPicker> {
287
+ interface PreactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalUserPicker> {
279
288
  onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
280
289
  }
281
290
 
@@ -334,6 +343,8 @@ declare module 'preact' {
334
343
  "arcgis-portal-item-card": PreactArcgisPortalItemCard;
335
344
  "arcgis-portal-item-favorite": PreactArcgisPortalItemFavorite;
336
345
  "arcgis-portal-item-picker": PreactArcgisPortalItemPicker;
346
+ "arcgis-portal-item-share-summary": PreactArcgisPortalItemShareSummary;
347
+ "arcgis-portal-item-share-summary-editable": PreactArcgisPortalItemShareSummaryEditable;
337
348
  "arcgis-portal-item-thumbnail": PreactArcgisPortalItemThumbnail;
338
349
  "arcgis-portal-item-type": PreactArcgisPortalItemType;
339
350
  "arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
@@ -388,6 +399,8 @@ declare module 'preact' {
388
399
  "arcgis-portal-item-card": PreactArcgisPortalItemCard;
389
400
  "arcgis-portal-item-favorite": PreactArcgisPortalItemFavorite;
390
401
  "arcgis-portal-item-picker": PreactArcgisPortalItemPicker;
402
+ "arcgis-portal-item-share-summary": PreactArcgisPortalItemShareSummary;
403
+ "arcgis-portal-item-share-summary-editable": PreactArcgisPortalItemShareSummaryEditable;
391
404
  "arcgis-portal-item-thumbnail": PreactArcgisPortalItemThumbnail;
392
405
  "arcgis-portal-item-type": PreactArcgisPortalItemType;
393
406
  "arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
@@ -38,6 +38,8 @@ import type { ArcgisPortalItemBadge } from "../components/arcgis-portal-item-bad
38
38
  import type { ArcgisPortalItemCard } from "../components/arcgis-portal-item-card/customElement.js";
39
39
  import type { ArcgisPortalItemFavorite } from "../components/arcgis-portal-item-favorite/customElement.js";
40
40
  import type { ArcgisPortalItemPicker } from "../components/arcgis-portal-item-picker/customElement.js";
41
+ import type { ArcgisPortalItemShareSummary } from "../components/arcgis-portal-item-share-summary/customElement.js";
42
+ import type { ArcgisPortalItemShareSummaryEditable } from "../components/arcgis-portal-item-share-summary-editable/customElement.js";
41
43
  import type { ArcgisPortalItemThumbnail } from "../components/arcgis-portal-item-thumbnail/customElement.js";
42
44
  import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
43
45
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
@@ -59,31 +61,31 @@ interface ReactArcgisPortalAccountSwitcher extends Partial<Pick<ArcgisPortalAcco
59
61
  }
60
62
 
61
63
  interface ReactArcgisPortalAccountSwitcherAccounts extends Partial<Pick<ArcgisPortalAccountSwitcherAccounts, "accounts" | "portal" | "targetUser">>, HTMLProps<ArcgisPortalAccountSwitcherAccounts> {
62
- onarcgisCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisCloseDialog"]>;
63
- onarcgisLinkAll?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisLinkAll"]>;
64
+ onarcgisAccountsCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisAccountsCloseDialog"]>;
65
+ onarcgisAccountsLinkAll?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisAccountsLinkAll"]>;
64
66
  }
65
67
 
66
68
  interface ReactArcgisPortalAccountSwitcherList extends Partial<Pick<ArcgisPortalAccountSwitcherList, "accountAccess" | "actions" | "interactive" | "linkedAccounts" | "portal" | "signedInUsers">>, HTMLProps<ArcgisPortalAccountSwitcherList> {
67
- onarcgisAccountSwitch?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountSwitch"]>;
68
- onarcgisAccountUnlink?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountUnlink"]>;
69
+ onarcgisAccountListSwitch?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountListSwitch"]>;
70
+ onarcgisAccountListUnlink?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountListUnlink"]>;
69
71
  }
70
72
 
71
73
  interface ReactArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPortalAccountSwitcherSignout, "portal" | "signedInAccounts">>, HTMLProps<ArcgisPortalAccountSwitcherSignout> {
72
- onarcgisCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisCloseDialog"]>;
73
74
  onarcgisSignOutAll?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutAll"]>;
74
- onarcgisSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSwitchAccount"]>;
75
+ onarcgisSignOutCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutCloseDialog"]>;
76
+ onarcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
75
77
  }
76
78
 
77
- interface ReactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, HTMLProps<ArcgisPortalAddGpsMetadata> {
79
+ interface ReactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, HTMLProps<ArcgisPortalAddGpsMetadata> {
78
80
  onarcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
79
81
  onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
80
82
  }
81
83
 
82
- interface ReactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "navigationCapabilities" | "navigationTargetMap" | "portal" | "useProdDocAssistant" | "user">>, HTMLProps<ArcgisPortalAiAssistant> {
84
+ interface ReactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, HTMLProps<ArcgisPortalAiAssistant> {
83
85
  onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
84
86
  }
85
87
 
86
- interface ReactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, HTMLProps<ArcgisPortalAiAssistantInterrupt> {
88
+ interface ReactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, HTMLProps<ArcgisPortalAiAssistantInterrupt> {
87
89
  onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
88
90
  onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
89
91
  }
@@ -140,8 +142,8 @@ interface ReactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgis
140
142
  onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
141
143
  }
142
144
 
143
- interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItems> {
144
- onarcgisCancel?: EventHandler<ArcgisPortalDeleteItems["arcgisCancel"]>;
145
+ interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItems> {
146
+ onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
145
147
  onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
146
148
  onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
147
149
  }
@@ -149,7 +151,7 @@ interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteIt
149
151
  interface ReactArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItemsReview> {
150
152
  }
151
153
 
152
- interface ReactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, HTMLProps<ArcgisPortalEntityPicker> {
154
+ interface ReactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalEntityPicker> {
153
155
  onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
154
156
  }
155
157
 
@@ -202,7 +204,7 @@ interface ReactArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard,
202
204
  onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
203
205
  }
204
206
 
205
- interface ReactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, HTMLProps<ArcgisPortalGroupPicker> {
207
+ interface ReactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalGroupPicker> {
206
208
  onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
207
209
  }
208
210
 
@@ -225,7 +227,7 @@ interface ReactArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadge
225
227
  interface ReactArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, HTMLProps<ArcgisPortalItemBadge> {
226
228
  }
227
229
 
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> {
230
+ interface ReactArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "disabled" | "disableSelection" | "groups" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "user" | "userGroups" | "userPopupZIndex" | "view">>, HTMLProps<ArcgisPortalItemCard> {
229
231
  onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
230
232
  onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
231
233
  onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
@@ -236,10 +238,17 @@ interface ReactArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFav
236
238
  onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
237
239
  }
238
240
 
239
- interface ReactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, HTMLProps<ArcgisPortalItemPicker> {
241
+ interface ReactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalItemPicker> {
240
242
  onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
241
243
  }
242
244
 
245
+ interface ReactArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLProps<ArcgisPortalItemShareSummary> {
246
+ }
247
+
248
+ interface ReactArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLProps<ArcgisPortalItemShareSummaryEditable> {
249
+ onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
250
+ }
251
+
243
252
  interface ReactArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, HTMLProps<ArcgisPortalItemThumbnail> {
244
253
  onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
245
254
  }
@@ -266,7 +275,7 @@ interface ReactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPo
266
275
  onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
267
276
  }
268
277
 
269
- interface ReactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, HTMLProps<ArcgisPortalReviewRelatedItems> {
278
+ interface ReactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, HTMLProps<ArcgisPortalReviewRelatedItems> {
270
279
  }
271
280
 
272
281
  interface ReactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, HTMLProps<ArcgisPortalSublayerType> {
@@ -275,7 +284,7 @@ interface ReactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublaye
275
284
  interface ReactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLProps<ArcgisPortalUserAvatar> {
276
285
  }
277
286
 
278
- interface ReactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, HTMLProps<ArcgisPortalUserPicker> {
287
+ interface ReactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalUserPicker> {
279
288
  onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
280
289
  }
281
290
 
@@ -334,6 +343,8 @@ declare module "react" {
334
343
  "arcgis-portal-item-card": ReactArcgisPortalItemCard;
335
344
  "arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
336
345
  "arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
346
+ "arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
347
+ "arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
337
348
  "arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
338
349
  "arcgis-portal-item-type": ReactArcgisPortalItemType;
339
350
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
@@ -390,6 +401,8 @@ declare module "react/jsx-runtime" {
390
401
  "arcgis-portal-item-card": ReactArcgisPortalItemCard;
391
402
  "arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
392
403
  "arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
404
+ "arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
405
+ "arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
393
406
  "arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
394
407
  "arcgis-portal-item-type": ReactArcgisPortalItemType;
395
408
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
@@ -446,6 +459,8 @@ declare module "react/jsx-dev-runtime" {
446
459
  "arcgis-portal-item-card": ReactArcgisPortalItemCard;
447
460
  "arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
448
461
  "arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
462
+ "arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
463
+ "arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
449
464
  "arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
450
465
  "arcgis-portal-item-type": ReactArcgisPortalItemType;
451
466
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
@@ -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,22 @@ 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
+ "missingGroupId",
28
+ "groupNotFound",
29
+ "itemHasDependentItems",
30
+ "itemDeleteProtected",
31
+ "itemNotSupportedInRecycleBin"
32
+ ];
@@ -38,6 +38,8 @@ import type { ArcgisPortalItemBadge } from "../components/arcgis-portal-item-bad
38
38
  import type { ArcgisPortalItemCard } from "../components/arcgis-portal-item-card/customElement.js";
39
39
  import type { ArcgisPortalItemFavorite } from "../components/arcgis-portal-item-favorite/customElement.js";
40
40
  import type { ArcgisPortalItemPicker } from "../components/arcgis-portal-item-picker/customElement.js";
41
+ import type { ArcgisPortalItemShareSummary } from "../components/arcgis-portal-item-share-summary/customElement.js";
42
+ import type { ArcgisPortalItemShareSummaryEditable } from "../components/arcgis-portal-item-share-summary-editable/customElement.js";
41
43
  import type { ArcgisPortalItemThumbnail } from "../components/arcgis-portal-item-thumbnail/customElement.js";
42
44
  import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
43
45
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
@@ -59,31 +61,31 @@ interface StencilArcgisPortalAccountSwitcher extends Partial<Pick<ArcgisPortalAc
59
61
  }
60
62
 
61
63
  interface StencilArcgisPortalAccountSwitcherAccounts extends Partial<Pick<ArcgisPortalAccountSwitcherAccounts, "accounts" | "portal" | "targetUser">>, StencilJsx.HTMLAttributes<ArcgisPortalAccountSwitcherAccounts> {
62
- onArcgisCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisCloseDialog"]>;
63
- onArcgisLinkAll?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisLinkAll"]>;
64
+ onArcgisAccountsCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisAccountsCloseDialog"]>;
65
+ onArcgisAccountsLinkAll?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisAccountsLinkAll"]>;
64
66
  }
65
67
 
66
68
  interface StencilArcgisPortalAccountSwitcherList extends Partial<Pick<ArcgisPortalAccountSwitcherList, "accountAccess" | "actions" | "interactive" | "linkedAccounts" | "portal" | "signedInUsers">>, StencilJsx.HTMLAttributes<ArcgisPortalAccountSwitcherList> {
67
- onArcgisAccountSwitch?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountSwitch"]>;
68
- onArcgisAccountUnlink?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountUnlink"]>;
69
+ onArcgisAccountListSwitch?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountListSwitch"]>;
70
+ onArcgisAccountListUnlink?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountListUnlink"]>;
69
71
  }
70
72
 
71
73
  interface StencilArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPortalAccountSwitcherSignout, "portal" | "signedInAccounts">>, StencilJsx.HTMLAttributes<ArcgisPortalAccountSwitcherSignout> {
72
- onArcgisCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisCloseDialog"]>;
73
74
  onArcgisSignOutAll?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutAll"]>;
74
- onArcgisSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSwitchAccount"]>;
75
+ onArcgisSignOutCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutCloseDialog"]>;
76
+ onArcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
75
77
  }
76
78
 
77
- interface StencilArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, StencilJsx.HTMLAttributes<ArcgisPortalAddGpsMetadata> {
79
+ interface StencilArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, StencilJsx.HTMLAttributes<ArcgisPortalAddGpsMetadata> {
78
80
  onArcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
79
81
  onArcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
80
82
  }
81
83
 
82
- interface StencilArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "navigationCapabilities" | "navigationTargetMap" | "portal" | "useProdDocAssistant" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalAiAssistant> {
84
+ interface StencilArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalAiAssistant> {
83
85
  onArcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
84
86
  }
85
87
 
86
- interface StencilArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, StencilJsx.HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
88
+ interface StencilArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, StencilJsx.HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
87
89
  onArcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
88
90
  onArcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
89
91
  }
@@ -140,8 +142,8 @@ interface StencilArcgisPortalClassificationFormElement extends Partial<Pick<Arcg
140
142
  onArcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
141
143
  }
142
144
 
143
- interface StencilArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalDeleteItems> {
144
- onArcgisCancel?: EventHandler<ArcgisPortalDeleteItems["arcgisCancel"]>;
145
+ interface StencilArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalDeleteItems> {
146
+ onArcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
145
147
  onArcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
146
148
  onArcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
147
149
  }
@@ -149,7 +151,7 @@ interface StencilArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDelete
149
151
  interface StencilArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalDeleteItemsReview> {
150
152
  }
151
153
 
152
- interface StencilArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, StencilJsx.HTMLAttributes<ArcgisPortalEntityPicker> {
154
+ interface StencilArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalEntityPicker> {
153
155
  onArcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
154
156
  }
155
157
 
@@ -202,7 +204,7 @@ interface StencilArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCar
202
204
  onArcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
203
205
  }
204
206
 
205
- interface StencilArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, StencilJsx.HTMLAttributes<ArcgisPortalGroupPicker> {
207
+ interface StencilArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalGroupPicker> {
206
208
  onArcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
207
209
  }
208
210
 
@@ -225,7 +227,7 @@ interface StencilArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBad
225
227
  interface StencilArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, StencilJsx.HTMLAttributes<ArcgisPortalItemBadge> {
226
228
  }
227
229
 
228
- interface StencilArcgisPortalItemCard 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">>, StencilJsx.HTMLAttributes<ArcgisPortalItemCard> {
230
+ interface StencilArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "disabled" | "disableSelection" | "groups" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "user" | "userGroups" | "userPopupZIndex" | "view">>, StencilJsx.HTMLAttributes<ArcgisPortalItemCard> {
229
231
  onArcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
230
232
  onArcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
231
233
  onArcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
@@ -236,10 +238,17 @@ interface StencilArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemF
236
238
  onArcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
237
239
  }
238
240
 
239
- interface StencilArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, StencilJsx.HTMLAttributes<ArcgisPortalItemPicker> {
241
+ interface StencilArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalItemPicker> {
240
242
  onArcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
241
243
  }
242
244
 
245
+ interface StencilArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, StencilJsx.HTMLAttributes<ArcgisPortalItemShareSummary> {
246
+ }
247
+
248
+ interface StencilArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, StencilJsx.HTMLAttributes<ArcgisPortalItemShareSummaryEditable> {
249
+ onArcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
250
+ }
251
+
243
252
  interface StencilArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalItemThumbnail> {
244
253
  onArcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
245
254
  }
@@ -266,7 +275,7 @@ interface StencilArcgisPortalReplacementItemRedirect extends Partial<Pick<Arcgis
266
275
  onArcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
267
276
  }
268
277
 
269
- interface StencilArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalReviewRelatedItems> {
278
+ interface StencilArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalReviewRelatedItems> {
270
279
  }
271
280
 
272
281
  interface StencilArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, StencilJsx.HTMLAttributes<ArcgisPortalSublayerType> {
@@ -275,7 +284,7 @@ interface StencilArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSubla
275
284
  interface StencilArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, StencilJsx.HTMLAttributes<ArcgisPortalUserAvatar> {
276
285
  }
277
286
 
278
- interface StencilArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, StencilJsx.HTMLAttributes<ArcgisPortalUserPicker> {
287
+ interface StencilArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalUserPicker> {
279
288
  onArcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
280
289
  }
281
290
 
@@ -332,6 +341,8 @@ interface ExposedElements {
332
341
  "arcgis-portal-item-card": StencilArcgisPortalItemCard;
333
342
  "arcgis-portal-item-favorite": StencilArcgisPortalItemFavorite;
334
343
  "arcgis-portal-item-picker": StencilArcgisPortalItemPicker;
344
+ "arcgis-portal-item-share-summary": StencilArcgisPortalItemShareSummary;
345
+ "arcgis-portal-item-share-summary-editable": StencilArcgisPortalItemShareSummaryEditable;
335
346
  "arcgis-portal-item-thumbnail": StencilArcgisPortalItemThumbnail;
336
347
  "arcgis-portal-item-type": StencilArcgisPortalItemType;
337
348
  "arcgis-portal-mentionable-text-area": StencilArcgisPortalMentionableTextArea;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generates text embeddings using the SDK's signed-in default Portal session.
3
+ * Catalog and query vectors must use the same embedding model.
4
+ *
5
+ * @param texts
6
+ */
7
+ export function generateEmbeddings(texts: string[]): Promise<number[][]>;
@@ -0,0 +1,60 @@
1
+ /** Searchable catalog fields. Additional consumer fields are preserved in matches. */
2
+ export interface SemanticSearchItem {
3
+ id: string;
4
+ title: string;
5
+ description: string;
6
+ hints?: readonly string[];
7
+ }
8
+
9
+ /** Multiple vectors may refer to one item; its strongest similarity is used. */
10
+ export interface SemanticSearchEmbedding {
11
+ itemId: string;
12
+ vector: readonly number[];
13
+ }
14
+
15
+ export interface SemanticSearchMatch<T extends SemanticSearchItem> {
16
+ item: T;
17
+ /** Reciprocal Rank Fusion ordering score, not a confidence or probability. */
18
+ score: number;
19
+ keywordRank?: number;
20
+ keywordScore?: number;
21
+ semanticRank?: number;
22
+ semanticScore?: number;
23
+ }
24
+
25
+ export interface SemanticSearchResult<T extends SemanticSearchItem> {
26
+ /** True when semantic ranking is unavailable and only keywords were used. */
27
+ degraded: boolean;
28
+ degradedReason?: string;
29
+ matches: SemanticSearchMatch<T>[];
30
+ }
31
+
32
+ export interface SemanticSearchOptions {
33
+ /** Ready-to-use catalog vectors. Without vectors or a loader, search is keyword-only. */
34
+ embeddings?: readonly SemanticSearchEmbedding[];
35
+ /** Optional loader for callers that want to wait for catalog vectors. Takes precedence over embeddings. */
36
+ loadEmbeddings?: () => Promise<readonly SemanticSearchEmbedding[]>;
37
+ /** Defaults to the SDK's signed-in default Portal session. */
38
+ embedQuery?: (query: string) => Promise<readonly number[]>;
39
+ /** Maximum distinct matches. Defaults to 5; non-positive values return no matches. */
40
+ topN?: number;
41
+ }
42
+
43
+ /**
44
+ * Searches a consumer-supplied catalog with weighted BM25 keywords and cosine
45
+ * similarity, combining both rankings with Reciprocal Rank Fusion.
46
+ *
47
+ * Titles, hints, and descriptions have keyword weights of 3, 2, and 1.
48
+ * Semantic matches require a cosine similarity of at least 0.65. Ties are
49
+ * resolved by semantic score, keyword score, then item ID.
50
+ *
51
+ * Catalogs must have unique IDs. Treat the catalog as immutable and pass a new
52
+ * array when its searchable fields change; keyword indexes are cached by array.
53
+ * Embedding failures return keyword matches with explicit degraded diagnostics.
54
+ * Catalog embedding generation and caching are owned by the caller.
55
+ *
56
+ * @param query
57
+ * @param catalog
58
+ * @param options
59
+ */
60
+ export function searchCatalog<T extends SemanticSearchItem>(query: string, catalog: readonly T[], options?: SemanticSearchOptions): Promise<SemanticSearchResult<T>>;
@@ -9,6 +9,16 @@ export interface IConfig {
9
9
  helpBase?: string;
10
10
  }
11
11
 
12
+ /** A generic API response interface */
13
+ export interface APIResponse {
14
+ success?: boolean;
15
+ code?: number;
16
+ messageCode?: string;
17
+ message?: string;
18
+ details?: unknown[];
19
+ status?: string;
20
+ }
21
+
12
22
  export interface FieldDeleteOptions {
13
23
  item: PortalItem;
14
24
  portal: Portal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/portal-components",
3
- "version": "6.0.0-next.2",
3
+ "version": "6.0.0-next.20",
4
4
  "description": "ArcGIS Portal Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -38,23 +38,23 @@
38
38
  ],
39
39
  "license": "SEE LICENSE IN LICENSE.md",
40
40
  "dependencies": {
41
- "@arcgis/ai-components": "6.0.0-next.2",
42
- "@arcgis/lumina": "6.0.0-next.2",
43
- "@arcgis/lumina-toolkit": "6.0.0-next.2",
44
- "@arcgis/map-components": "6.0.0-next.2",
45
- "@arcgis/toolkit": "6.0.0-next.2",
41
+ "@arcgis/ai-components": "6.0.0-next.20",
42
+ "@arcgis/lumina": "6.0.0-next.20",
43
+ "@arcgis/lumina-toolkit": "6.0.0-next.20",
44
+ "@arcgis/map-components": "6.0.0-next.20",
45
+ "@arcgis/toolkit": "6.0.0-next.20",
46
46
  "@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
47
47
  "@langchain/core": "^1.2.9",
48
48
  "@langchain/langgraph": "^1.4.14",
49
49
  "@lit/task": "^1.0.3",
50
50
  "lit": "^3.3.0",
51
- "marked": "~18.1.0",
51
+ "marked": "~18.1.1",
52
52
  "tslib": "^2.8.1",
53
- "zod": "^4.4.3"
53
+ "zod": "^4.6.7"
54
54
  },
55
55
  "peerDependencies": {
56
- "@arcgis/core": "6.0.0-next.2",
57
- "@esri/calcite-components": "^5.2.0-next.89"
56
+ "@arcgis/core": "6.0.0-next.20",
57
+ "@esri/calcite-components": "^5.2.0"
58
58
  },
59
59
  "css.customData": [
60
60
  "dist/docs/vscode.css-custom-data.json"