@arcgis/portal-components 6.0.0-next.3 → 6.0.0-next.31

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 (368) hide show
  1. package/dist/cdn/22DNGXFY.js +2 -0
  2. package/dist/cdn/234TH32X.js +106 -0
  3. package/dist/cdn/25K5D5HL.js +2 -0
  4. package/dist/cdn/2CC4MNQP.js +2 -0
  5. package/dist/cdn/365ICWHN.js +2 -0
  6. package/dist/cdn/3CXU5CCM.js +2 -0
  7. package/dist/cdn/3DTSKTHB.js +2 -0
  8. package/dist/cdn/3MUI6DF4.js +2 -0
  9. package/dist/cdn/{3NSHGKZA.js → 3QWNGHAK.js} +1 -1
  10. package/dist/cdn/3T3QBPC3.js +2 -0
  11. package/dist/cdn/4QYVBXZT.js +2 -0
  12. package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
  13. package/dist/cdn/4X4EYM3Q.js +2 -0
  14. package/dist/cdn/4Y73LE7P.js +2 -0
  15. package/dist/cdn/5CEFJTG4.js +2 -0
  16. package/dist/cdn/5VFGR7LA.js +2 -0
  17. package/dist/cdn/5Y32T5IJ.js +2 -0
  18. package/dist/cdn/{JPUUMGX5.js → 6EMK2BU6.js} +1 -1
  19. package/dist/cdn/6HNKQNS5.js +2 -0
  20. package/dist/cdn/{NWVLGU2C.js → 7BFTXD5J.js} +1 -1
  21. package/dist/cdn/{URQML7KV.js → 7DAB2CEU.js} +1 -1
  22. package/dist/cdn/7ZWYPQMW.js +2 -0
  23. package/dist/cdn/AM3UTQWH.js +4 -0
  24. package/dist/cdn/{D2YQWKME.js → ASID6YW7.js} +2 -2
  25. package/dist/cdn/ASLKTYLX.js +2 -0
  26. package/dist/cdn/{7ZWYUHGK.js → B343BOVA.js} +1 -1
  27. package/dist/cdn/BHZKSSVZ.js +2 -0
  28. package/dist/cdn/BOEGDK4D.js +2 -0
  29. package/dist/cdn/{QTAYXO5T.js → BRWHEYLW.js} +1 -1
  30. package/dist/cdn/{74T6IXSN.js → BX2LXI3N.js} +1 -1
  31. package/dist/cdn/{JE2376SE.js → C3F24ZOM.js} +1 -1
  32. package/dist/cdn/C4GK263H.js +2 -0
  33. package/dist/cdn/CBFFZMX4.js +2 -0
  34. package/dist/cdn/CJ4S56BE.js +2 -0
  35. package/dist/cdn/{IN4JPZTY.js → CMNTOT5D.js} +1 -1
  36. package/dist/cdn/CVU6YKOA.js +2 -0
  37. package/dist/cdn/D52TYBRX.js +2 -0
  38. package/dist/cdn/DMS3R2W5.js +2 -0
  39. package/dist/cdn/{TWCJJCPC.js → DV57AOBF.js} +1 -1
  40. package/dist/cdn/EDQSL2P3.js +2 -0
  41. package/dist/cdn/ERBRAY5U.js +2 -0
  42. package/dist/cdn/{TRMFL7PT.js → ESKKH4DE.js} +1 -1
  43. package/dist/cdn/FAZVQI4K.js +2 -0
  44. package/dist/cdn/{TXC7YBGL.js → FGDSHTJ5.js} +1 -1
  45. package/dist/cdn/FGRMURKX.js +2 -0
  46. package/dist/cdn/{2TDHJSMP.js → FKOSVY5D.js} +1 -1
  47. package/dist/cdn/FN2QMDEW.js +2 -0
  48. package/dist/cdn/FOWOLUC3.js +2 -0
  49. package/dist/cdn/FVHP6PFG.js +2 -0
  50. package/dist/cdn/G7DJPREL.js +2 -0
  51. package/dist/cdn/GBXFX37Y.js +2 -0
  52. package/dist/cdn/{K2XSYDAP.js → GC4BV7IZ.js} +1 -1
  53. package/dist/cdn/H6MGSC3Y.js +2 -0
  54. package/dist/cdn/H6OQOEHS.js +2 -0
  55. package/dist/cdn/{YZTBAUIO.js → HBO7XTIL.js} +1 -1
  56. package/dist/cdn/HKHDBGNN.js +2 -0
  57. package/dist/cdn/HVQ7FKJ5.js +2 -0
  58. package/dist/cdn/HXR7GUM3.js +91 -0
  59. package/dist/cdn/IGOSZ2LL.js +2 -0
  60. package/dist/cdn/{GAF4YT5N.js → IUIFCQQU.js} +1 -1
  61. package/dist/cdn/IX4WEZZ2.js +2 -0
  62. package/dist/cdn/JA3GGSJJ.js +2 -0
  63. package/dist/cdn/{M5PPX4ZX.js → JEVNGG2O.js} +1 -1
  64. package/dist/cdn/JLT5GCLY.js +2 -0
  65. package/dist/cdn/K3GAZFRI.js +63 -0
  66. package/dist/cdn/KHA6NJ4N.js +2 -0
  67. package/dist/cdn/KRORL7QC.js +2 -0
  68. package/dist/cdn/KTTPPUQ7.js +2 -0
  69. package/dist/cdn/L25GEXL6.js +2 -0
  70. package/dist/cdn/LBW47BJG.js +2 -0
  71. package/dist/cdn/LR33CLTB.js +2 -0
  72. package/dist/cdn/{CFRJU6VA.js → M664QA6J.js} +1 -1
  73. package/dist/cdn/MJVKDAYF.js +2 -0
  74. package/dist/cdn/MSSJRDR7.js +2 -0
  75. package/dist/cdn/MVC6LIQ6.js +2 -0
  76. package/dist/cdn/NENAFJEC.js +2 -0
  77. package/dist/cdn/NHVPNSNH.js +2 -0
  78. package/dist/cdn/NLFBHNSX.js +2 -0
  79. package/dist/cdn/{VNU4QX7M.js → NQ2IAQKL.js} +17 -17
  80. package/dist/cdn/{2YZWRFCI.js → NYBLHT3F.js} +1 -1
  81. package/dist/cdn/O4YFPGD5.js +2 -0
  82. package/dist/cdn/OHAQPQAP.js +2 -0
  83. package/dist/cdn/OQ2JULON.js +2 -0
  84. package/dist/cdn/{JIJO4CAS.js → PJZZIITX.js} +1 -1
  85. package/dist/cdn/PRBP4AP6.js +2 -0
  86. package/dist/cdn/{ZKZDKJ6D.js → PST62OKJ.js} +1 -1
  87. package/dist/cdn/Q2CCAKI4.js +2 -0
  88. package/dist/cdn/QF626JXP.js +2 -0
  89. package/dist/cdn/QMIVFHQE.js +2 -0
  90. package/dist/cdn/QRHXMIMW.js +2 -0
  91. package/dist/cdn/R5LNWMD4.js +2 -0
  92. package/dist/cdn/RJ3SU3EV.js +2 -0
  93. package/dist/cdn/RJRTGF33.js +2 -0
  94. package/dist/cdn/RT26JZP5.js +2 -0
  95. package/dist/cdn/{I6IRHXWR.js → SO3IBFEU.js} +1 -1
  96. package/dist/cdn/SRWFOV5W.js +2 -0
  97. package/dist/cdn/SUA7ZZUH.js +2 -0
  98. package/dist/cdn/SV6SGTR6.js +2 -0
  99. package/dist/cdn/TAZDV6DB.js +2 -0
  100. package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
  101. package/dist/cdn/TJANHZ25.js +2 -0
  102. package/dist/cdn/{MKSFNVXL.js → TO666HVV.js} +1 -1
  103. package/dist/cdn/UBPCKCW2.js +2 -0
  104. package/dist/cdn/ULGME5RT.js +2 -0
  105. package/dist/cdn/US37IXWO.js +2 -0
  106. package/dist/cdn/UZW2KV4X.js +2 -0
  107. package/dist/cdn/{Z6R3C4AK.js → VFECPSKA.js} +1 -1
  108. package/dist/cdn/VLD3MVSG.js +2 -0
  109. package/dist/cdn/VWV2LCNA.js +2 -0
  110. package/dist/cdn/WC3MDSMP.js +70 -0
  111. package/dist/cdn/WCZJXBW3.js +2 -0
  112. package/dist/cdn/WFPUAEJQ.js +3 -0
  113. package/dist/cdn/{OR6T5SB3.js → WIUFH5SJ.js} +1 -1
  114. package/dist/cdn/{5HZNBMW6.js → WZFGZEQI.js} +1 -1
  115. package/dist/cdn/XE3DCC5D.js +2 -0
  116. package/dist/cdn/{JN23JH3T.js → XEVOU7SJ.js} +1 -1
  117. package/dist/cdn/{BKD7JSV2.js → XH6RD5BO.js} +1 -1
  118. package/dist/cdn/XJNEK5Q7.js +2 -0
  119. package/dist/cdn/XK3WIW4R.js +2 -0
  120. package/dist/cdn/XOM3GLYF.js +2 -0
  121. package/dist/cdn/YGZICQBT.js +2 -0
  122. package/dist/cdn/YP7T6NKR.js +2 -0
  123. package/dist/cdn/{RHCRPJWS.js → YYKKXL62.js} +1 -1
  124. package/dist/cdn/Z5OZYZYV.js +2 -0
  125. package/dist/cdn/{SGDDFWCJ.js → ZGSAH7Z7.js} +1 -1
  126. package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
  127. package/dist/cdn/assets/portal-entity-picker/t9n/messages.en.json +1 -1
  128. package/dist/cdn/assets/portal-item-card-sublayer-select/t9n/messages.en.json +1 -0
  129. package/dist/cdn/assets/portal-item-preview/t9n/messages.en.json +1 -0
  130. package/dist/cdn/assets/portal-item-share-summary/t9n/messages.en.json +1 -0
  131. package/dist/cdn/assets/portal-item-type/t9n/messages.en.json +1 -1
  132. package/dist/cdn/index.js +1 -1
  133. package/dist/cdn/main.css +1 -1
  134. package/dist/chunks/FieldIcons.js +24 -0
  135. package/dist/chunks/fieldAddDelete.js +7 -7
  136. package/dist/chunks/functionalities.js +14 -9
  137. package/dist/chunks/groups.js +8 -61
  138. package/dist/chunks/groups2.js +23 -8
  139. package/dist/chunks/info.js +2 -2
  140. package/dist/chunks/item.js +131 -33
  141. package/dist/chunks/item2.js +63 -125
  142. package/dist/chunks/itemThumbnail.js +21 -21
  143. package/dist/chunks/layers.js +196 -0
  144. package/dist/chunks/loadClassificationData.js +26 -27
  145. package/dist/chunks/portal-browser.js +49 -46
  146. package/dist/chunks/portal-delete-items-review.js +1 -1
  147. package/dist/chunks/portal-item-badge.js +1 -1
  148. package/dist/chunks/portal-item-preview-sublayer.js +214 -0
  149. package/dist/chunks/portal-related-items-list-item.js +1 -1
  150. package/dist/chunks/portal.js +6 -6
  151. package/dist/chunks/portal2.js +23 -23
  152. package/dist/chunks/portalEntitySelection.js +61 -0
  153. package/dist/chunks/query.js +13 -13
  154. package/dist/chunks/request.js +49 -41
  155. package/dist/chunks/requests.js +7 -7
  156. package/dist/chunks/selectedMentions.js +25 -0
  157. package/dist/chunks/services.js +5 -5
  158. package/dist/chunks/string.js +19 -11
  159. package/dist/chunks/ui.js +1 -0
  160. package/dist/chunks/url.js +2 -2
  161. package/dist/chunks/user.js +67 -53
  162. package/dist/chunks/user2.js +10 -10
  163. package/dist/chunks/utils.js +35 -22
  164. package/dist/chunks/utils2.js +4 -4
  165. package/dist/chunks/utils3.js +88 -657
  166. package/dist/chunks/utils4.js +663 -0
  167. package/dist/components/arcgis-portal-account-switcher/customElement.js +57 -54
  168. package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +27 -0
  169. package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +185 -137
  170. package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +26 -17
  171. package/dist/components/arcgis-portal-ai-assistant/customElement.js +546 -2655
  172. package/dist/components/arcgis-portal-ai-assistant/index.js +4 -0
  173. package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
  174. package/dist/components/arcgis-portal-ai-assistant/tools/groups.d.ts +28 -0
  175. package/dist/components/arcgis-portal-ai-assistant/tools/users.d.ts +28 -0
  176. package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +8 -1
  177. package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +19 -0
  178. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +39 -0
  179. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +67 -27
  180. package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -1
  181. package/dist/components/arcgis-portal-browser/customElement.d.ts +3 -0
  182. package/dist/components/arcgis-portal-browser/customElement.js +3 -2
  183. package/dist/components/arcgis-portal-browser/index.js +1 -0
  184. package/dist/components/arcgis-portal-classification-banner/customElement.js +2 -2
  185. package/dist/components/arcgis-portal-classification-config/customElement.js +2 -2
  186. package/dist/components/arcgis-portal-classification-favorite/customElement.js +2 -2
  187. package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
  188. package/dist/components/arcgis-portal-delete-items/customElement.d.ts +69 -3
  189. package/dist/components/arcgis-portal-delete-items/customElement.js +446 -330
  190. package/dist/components/arcgis-portal-delete-items/index.js +1 -2
  191. package/dist/components/arcgis-portal-delete-items/types.d.ts +1 -0
  192. package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +51 -5
  193. package/dist/components/arcgis-portal-entity-picker/customElement.js +204 -119
  194. package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
  195. package/dist/components/arcgis-portal-field-delete/customElement.js +87 -101
  196. package/dist/components/arcgis-portal-field-delete/index.js +1 -1
  197. package/dist/components/arcgis-portal-group-badges/customElement.js +5 -5
  198. package/dist/components/arcgis-portal-group-browser/customElement.js +96 -100
  199. package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
  200. package/dist/components/arcgis-portal-group-browser-preview/customElement.js +49 -40
  201. package/dist/components/arcgis-portal-group-browser-preview/index.js +1 -0
  202. package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -4
  203. package/dist/components/arcgis-portal-group-card/customElement.js +16 -16
  204. package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
  205. package/dist/components/arcgis-portal-item-badges/customElement.js +4 -4
  206. package/dist/components/arcgis-portal-item-card/customElement.d.ts +26 -10
  207. package/dist/components/arcgis-portal-item-card/customElement.js +90 -80
  208. package/dist/components/arcgis-portal-item-card/index.js +2 -1
  209. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +102 -0
  210. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +181 -0
  211. package/dist/components/arcgis-portal-item-card-sublayer-select/index.d.ts +1 -0
  212. package/dist/components/arcgis-portal-item-card-sublayer-select/index.js +8 -0
  213. package/dist/components/arcgis-portal-item-card-sublayer-select/types.d.ts +22 -0
  214. package/dist/components/arcgis-portal-item-favorite/customElement.js +42 -29
  215. package/dist/components/arcgis-portal-item-preview/customElement.d.ts +263 -0
  216. package/dist/components/arcgis-portal-item-preview/customElement.js +137 -0
  217. package/dist/components/arcgis-portal-item-preview/index.d.ts +1 -0
  218. package/dist/components/arcgis-portal-item-preview/index.js +20 -0
  219. package/dist/components/arcgis-portal-item-preview/types.d.ts +14 -0
  220. package/dist/components/arcgis-portal-item-preview-copy/customElement.d.ts +215 -0
  221. package/dist/components/arcgis-portal-item-preview-copy/customElement.js +46 -0
  222. package/dist/components/arcgis-portal-item-preview-copy/index.d.ts +1 -0
  223. package/dist/components/arcgis-portal-item-preview-copy/index.js +5 -0
  224. package/dist/components/arcgis-portal-item-preview-field/customElement.d.ts +216 -0
  225. package/dist/components/arcgis-portal-item-preview-field/customElement.js +34 -0
  226. package/dist/components/arcgis-portal-item-preview-field/index.d.ts +1 -0
  227. package/dist/components/arcgis-portal-item-preview-field/index.js +6 -0
  228. package/dist/components/arcgis-portal-item-preview-sublayer/customElement.d.ts +216 -0
  229. package/dist/components/arcgis-portal-item-preview-sublayer/customElement.js +15 -0
  230. package/dist/components/arcgis-portal-item-preview-sublayer/index.d.ts +1 -0
  231. package/dist/components/arcgis-portal-item-preview-sublayer/index.js +11 -0
  232. package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +113 -0
  233. package/dist/components/arcgis-portal-item-share-summary/customElement.js +172 -0
  234. package/dist/components/arcgis-portal-item-share-summary/index.d.ts +1 -0
  235. package/dist/components/arcgis-portal-item-share-summary/index.js +5 -0
  236. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +33 -0
  237. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.js +19 -0
  238. package/dist/components/arcgis-portal-item-share-summary-editable/index.d.ts +1 -0
  239. package/dist/components/arcgis-portal-item-share-summary-editable/index.js +2 -0
  240. package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +1 -0
  241. package/dist/components/arcgis-portal-item-thumbnail/customElement.js +14 -14
  242. package/dist/components/arcgis-portal-item-type/customElement.d.ts +16 -14
  243. package/dist/components/arcgis-portal-item-type/customElement.js +25 -28
  244. package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +61 -57
  245. package/dist/components/arcgis-portal-navigation/customElement.js +7 -8
  246. package/dist/components/arcgis-portal-navigation/index.js +4 -4
  247. package/dist/components/arcgis-portal-preview-panel/customElement.d.ts +40 -0
  248. package/dist/components/arcgis-portal-preview-panel/customElement.js +40 -0
  249. package/dist/components/arcgis-portal-preview-panel/index.d.ts +1 -0
  250. package/dist/components/arcgis-portal-preview-panel/index.js +1 -0
  251. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +8 -8
  252. package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +333 -0
  253. package/dist/components/arcgis-portal-review-related-items/customElement.js +46 -18
  254. package/dist/components/arcgis-portal-review-related-items/index.js +2 -0
  255. package/dist/components/arcgis-portal-sublayer-type/customElement.js +13 -103
  256. package/dist/components/arcgis-portal-user-avatar/customElement.d.ts +2 -3
  257. package/dist/components/arcgis-portal-user-avatar/customElement.js +15 -16
  258. package/dist/components/arcgis-portal-user-popup/customElement.d.ts +4 -7
  259. package/dist/components/arcgis-portal-user-popup/customElement.js +128 -111
  260. package/dist/components/portal-group-browser-filters/customElement.js +15 -15
  261. package/dist/components/portal-related-items-list-item/customElement.js +16 -14
  262. package/dist/components/portal-related-items-list-item/index.js +1 -1
  263. package/dist/docs/api.json +1 -1
  264. package/dist/docs/docs.json +1 -1
  265. package/dist/docs/vscode.css-custom-data.json +1 -1
  266. package/dist/docs/vscode.html-custom-data.json +1 -1
  267. package/dist/docs/web-types.json +1 -1
  268. package/dist/index.d.ts +63 -0
  269. package/dist/index.js +300 -6
  270. package/dist/loader.js +18 -10
  271. package/dist/services/group.d.ts +17 -0
  272. package/dist/services/groups.d.ts +9 -0
  273. package/dist/services/item.d.ts +9 -0
  274. package/dist/types/item.d.ts +17 -11
  275. package/dist/types/layer.d.ts +27 -0
  276. package/dist/types/lumina.d.ts +63 -11
  277. package/dist/types/portalAssistantCurrentContext.d.ts +9 -0
  278. package/dist/types/portalEntityPicker.d.ts +3 -0
  279. package/dist/types/preact.d.ts +71 -11
  280. package/dist/types/react.d.ts +79 -11
  281. package/dist/types/services.d.ts +28 -1
  282. package/dist/types/stencil.d.ts +63 -11
  283. package/dist/types/user.d.ts +14 -10
  284. package/dist/utils/generateEmbeddings.d.ts +7 -0
  285. package/dist/utils/semanticSearch.d.ts +60 -0
  286. package/dist/utils/types.d.ts +10 -0
  287. package/package.json +11 -10
  288. package/dist/cdn/23NXHNPU.js +0 -2
  289. package/dist/cdn/24QSQLRY.js +0 -2
  290. package/dist/cdn/2CN754CY.js +0 -2
  291. package/dist/cdn/2FQKDFEE.js +0 -2
  292. package/dist/cdn/2MPQ5IWJ.js +0 -2
  293. package/dist/cdn/3CQKCUM5.js +0 -2
  294. package/dist/cdn/3EYB5GQX.js +0 -2
  295. package/dist/cdn/3FSPL34I.js +0 -170
  296. package/dist/cdn/3LEQ37YT.js +0 -68
  297. package/dist/cdn/4MUB6TL6.js +0 -2
  298. package/dist/cdn/4PRXQFCV.js +0 -2
  299. package/dist/cdn/4QFTKB6T.js +0 -2
  300. package/dist/cdn/4TSXFX3M.js +0 -2
  301. package/dist/cdn/5C5GHX4D.js +0 -2
  302. package/dist/cdn/7LMZHJZG.js +0 -2
  303. package/dist/cdn/A2SQ4EMZ.js +0 -2
  304. package/dist/cdn/AICPYLWE.js +0 -4
  305. package/dist/cdn/AXOBMX3S.js +0 -2
  306. package/dist/cdn/AZOJHVAO.js +0 -2
  307. package/dist/cdn/BYHX3UWV.js +0 -2
  308. package/dist/cdn/CD5UWSCP.js +0 -2
  309. package/dist/cdn/DDBXEXOV.js +0 -2
  310. package/dist/cdn/DHMNNIXZ.js +0 -2
  311. package/dist/cdn/DLI4XKJ3.js +0 -2
  312. package/dist/cdn/DYO5P3F2.js +0 -2
  313. package/dist/cdn/E66BDC6N.js +0 -2
  314. package/dist/cdn/EEAVX4PP.js +0 -2
  315. package/dist/cdn/EMJQI4MA.js +0 -2
  316. package/dist/cdn/EY5S6ICQ.js +0 -2
  317. package/dist/cdn/FIBQAMJ3.js +0 -2
  318. package/dist/cdn/FIQZPIIK.js +0 -2
  319. package/dist/cdn/FNLBJ4ZQ.js +0 -2
  320. package/dist/cdn/FRE56NBG.js +0 -2
  321. package/dist/cdn/GSOBDGLK.js +0 -2
  322. package/dist/cdn/GXM3XY3J.js +0 -2
  323. package/dist/cdn/HCNTXLUT.js +0 -2
  324. package/dist/cdn/I273CANO.js +0 -2
  325. package/dist/cdn/I6NVKNZJ.js +0 -2
  326. package/dist/cdn/J5FKIZAM.js +0 -2
  327. package/dist/cdn/J5NPDIZM.js +0 -2
  328. package/dist/cdn/JOUR2FB2.js +0 -3
  329. package/dist/cdn/JWBUJT43.js +0 -2
  330. package/dist/cdn/LISDTBEX.js +0 -2
  331. package/dist/cdn/LYLQCBVX.js +0 -2
  332. package/dist/cdn/MQK63FV7.js +0 -2
  333. package/dist/cdn/N4VOTJ25.js +0 -2
  334. package/dist/cdn/N5QLV56W.js +0 -2
  335. package/dist/cdn/OD5WXP7J.js +0 -2
  336. package/dist/cdn/OXPXXIWL.js +0 -2
  337. package/dist/cdn/PKA745KL.js +0 -2
  338. package/dist/cdn/PMRFXB4F.js +0 -2
  339. package/dist/cdn/PNIFJ5DQ.js +0 -2
  340. package/dist/cdn/PZDI5ZDC.js +0 -2
  341. package/dist/cdn/QROXYP6V.js +0 -2
  342. package/dist/cdn/QUOLQGKP.js +0 -2
  343. package/dist/cdn/QWHGLE3O.js +0 -2
  344. package/dist/cdn/R3PK7XOP.js +0 -2
  345. package/dist/cdn/REM3KCX6.js +0 -2
  346. package/dist/cdn/RNWICLRH.js +0 -2
  347. package/dist/cdn/RQYNPDN3.js +0 -2
  348. package/dist/cdn/S6F7U36E.js +0 -400
  349. package/dist/cdn/SMX2LEJB.js +0 -2
  350. package/dist/cdn/SVROAT3Z.js +0 -2
  351. package/dist/cdn/TBZXKKGP.js +0 -2
  352. package/dist/cdn/TNUCSWBN.js +0 -2
  353. package/dist/cdn/TOICLGFK.js +0 -2
  354. package/dist/cdn/TOTWYGB3.js +0 -2
  355. package/dist/cdn/TUUUK3VX.js +0 -2
  356. package/dist/cdn/U3KMGSVH.js +0 -2
  357. package/dist/cdn/UEP2NYJK.js +0 -2
  358. package/dist/cdn/UZP4YMTE.js +0 -2
  359. package/dist/cdn/XYMBRPC7.js +0 -2
  360. package/dist/cdn/YB3DR4VO.js +0 -2
  361. package/dist/cdn/YYTEJVBL.js +0 -2
  362. package/dist/cdn/Z3HGPBOR.js +0 -2
  363. package/dist/cdn/ZDDN7UKS.js +0 -2
  364. package/dist/cdn/ZXNF77OB.js +0 -2
  365. package/dist/chunks/functional.js +0 -9
  366. package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +0 -45
  367. /package/dist/cdn/{OUMTV5H5.js → KHKREBVZ.js} +0 -0
  368. /package/dist/cdn/{GGDOGNH4.js → U2HTYOBB.js} +0 -0
@@ -1,7 +1,11 @@
1
1
  import "@esri/calcite-components/components/calcite-button";
2
2
  import "@arcgis/ai-components/components/arcgis-assistant";
3
3
  import "@esri/calcite-components/components/calcite-icon";
4
+ import "@esri/calcite-components/components/calcite-action";
5
+ import "../arcgis-portal-ai-assistant-interrupt/index.js";
4
6
  import "../arcgis-portal-mentionable-text-area/index.js";
5
7
  import "../arcgis-portal-voice-input/index.js";
6
8
  import "@arcgis/ai-components/components/arcgis-assistant-agent";
9
+ import "@esri/calcite-components/components/calcite-dialog";
10
+ import "@arcgis/ai-components/components/arcgis-assistant-observation-panel";
7
11
  export * from "./customElement.js";
@@ -0,0 +1,11 @@
1
+ import type Portal from "@arcgis/core/portal/Portal.js";
2
+ import type { FunctionTool } from "@arcgis/ai-components/agent-utils/tools/FunctionTool.js";
3
+ import type { getItem } from "../../../services/item.js";
4
+
5
+ /**
6
+ * Creates a read-only Portal assistant tool that retrieves item metadata by ID.
7
+ *
8
+ * @param portal - The Portal used to retrieve item metadata.
9
+ * @returns A tool that returns item metadata or a retrieval error.
10
+ */
11
+ export function createGetItemTool(portal: Portal): FunctionTool<{ itemId: string; }, Awaited<ReturnType<typeof getItem>>>;
@@ -0,0 +1,28 @@
1
+ import type Portal from "@arcgis/core/portal/Portal.js";
2
+ import type { FunctionTool } from "@arcgis/ai-components/agent-utils/tools/FunctionTool.js";
3
+ import type { getGroupMembership } from "../../../services/group.js";
4
+ import type { PortalGroupSourceJSON } from "../../../types/group.js";
5
+ import type { Result } from "../../../types/services.js";
6
+
7
+ /**
8
+ * Creates a read-only group metadata tool.
9
+ * Unavailable metadata remains absent.
10
+ *
11
+ * @param portal - The Portal used to retrieve group metadata.
12
+ * @returns A tool that reads group facts by ID.
13
+ */
14
+ export function createGetGroupTool(portal: Portal): FunctionTool<{ groupId: string; }, Result<GroupFacts>>;
15
+
16
+ /**
17
+ * Creates a read-only tool checking one exact user/group relationship.
18
+ *
19
+ * @param portal - The Portal used for group and membership reads.
20
+ * @returns A tool that distinguishes membership, verified absence, and retrieval errors.
21
+ */
22
+ export function createGetGroupMembershipTool(portal: Portal): FunctionTool<{
23
+ groupId: string;
24
+ username: string;
25
+ }, Awaited<ReturnType<typeof getGroupMembership>>>;
26
+
27
+ export type GroupFacts = Partial<Pick<PortalGroupSourceJSON, "access" | "capabilities" | "hiddenMembers" | "membershipAccess" | "orgId" | "owner" | "provider" | "title" | "userMembership">>
28
+ & Pick<PortalGroupSourceJSON, "id">;
@@ -0,0 +1,28 @@
1
+ import type Portal from "@arcgis/core/portal/Portal.js";
2
+ import type { FunctionTool } from "@arcgis/ai-components/agent-utils/tools/FunctionTool.js";
3
+ import type { PortalGroupSourceJSON } from "../../../types/group.js";
4
+ import type { Result } from "../../../types/services.js";
5
+ import type { CommunityUser } from "../../../types/user.js";
6
+
7
+ /**
8
+ * Creates a read-only tool for user identity, role, and license facts.
9
+ * Unavailable fields remain absent; their absence does not establish privileges.
10
+ *
11
+ * @param portal - The Portal used for authenticated reads.
12
+ * @returns A tool accepting a username, or using the signed-in user when omitted.
13
+ */
14
+ export function createGetUserTool(portal: Portal): FunctionTool<{ username?: string; }, Result<UserFacts>>;
15
+
16
+ /**
17
+ * Creates a read-only tool listing memberships available in a user profile.
18
+ * Each group includes its ID and any available title, owner, and access metadata.
19
+ *
20
+ * @param portal - The Portal used to retrieve the user profile.
21
+ * @returns A tool accepting a username, or using the signed-in user when omitted.
22
+ */
23
+ export function createGetUserGroupsTool(portal: Portal): FunctionTool<{ username?: string; }, Result<UserGroups>>;
24
+
25
+ export type UserFacts = Partial<Pick<CommunityUser, "disabled" | "fullName" | "level" | "orgId" | "privileges" | "role" | "roleId" | "userLicenseTypeId">>
26
+ & Required<Pick<CommunityUser, "username">>;
27
+
28
+ export type UserGroups = (Partial<Pick<PortalGroupSourceJSON, "access" | "owner" | "title">> & Pick<PortalGroupSourceJSON, "id">)[];
@@ -19,7 +19,7 @@ export interface PortalAssistantToolsContext {
19
19
  }
20
20
 
21
21
  /** UI slot that helps with user actions */
22
- export type PortalAssistantUiAction = InlineButtonUiAction | SelectionUiAction;
22
+ export type PortalAssistantUiAction = InlineButtonUiAction | InlineLinkUiAction | SelectionUiAction;
23
23
 
24
24
  /** A user-clickable inline button rendered by the assistant. */
25
25
  export interface InlineButtonUiAction {
@@ -35,6 +35,13 @@ export interface InlineButtonUiAction {
35
35
  repeatable?: boolean;
36
36
  }
37
37
 
38
+ export interface InlineLinkUiAction {
39
+ description?: string;
40
+ href: string;
41
+ kind: "inline-link";
42
+ label: string;
43
+ }
44
+
38
45
  /** ! NOT YET SUPPORTED */
39
46
  export interface SelectionUiAction {
40
47
  kind: "selection";
@@ -0,0 +1,19 @@
1
+ import type { PortalEntityPickerEntityType, PortalEntityPickerScope } from "../../../types/portalEntityPicker.js";
2
+
3
+ /** Controls entity types available for user clarification. Omitted entity types are enabled. */
4
+ export type PortalAssistantEntityToolPresets = Partial<Record<PortalEntityPickerEntityType, boolean>>;
5
+
6
+ export interface PortalEntitySelectionRequest {
7
+ kind: "portal-entity-selection";
8
+ entityType: PortalEntityPickerEntityType;
9
+ searchTerm?: string;
10
+ picker?: {
11
+ query: string;
12
+ initialScope?: PortalEntityPickerScope;
13
+ scopeSelectionDisabled?: boolean;
14
+ };
15
+ portalContext?: {
16
+ portalUrl: string;
17
+ username: string;
18
+ };
19
+ }
@@ -1,6 +1,8 @@
1
1
  /// <reference path="../../index.d.ts" />
2
+ import type Portal from "@arcgis/core/portal/Portal.js";
2
3
  import type { ArcgisAssistant } from "@arcgis/ai-components/components/arcgis-assistant";
3
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
+ import type { PortalEntitySelectionRequest } from "../arcgis-portal-ai-assistant/types/portalEntityTools.js";
4
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
5
7
 
6
8
  /** @internal */
@@ -27,8 +29,45 @@ export abstract class ArcgisPortalAiAssistantInterrupt extends LitElement {
27
29
  multiSelectLabel: string;
28
30
  textInputLabel: string;
29
31
  }>;
32
+ accessor entityRequest: PortalEntitySelectionRequest | undefined;
30
33
  accessor message: NonNullable<InterruptType["message"]>;
31
34
  accessor options: InterruptType["options"];
35
+ /** @internal */
36
+ protected pickerMessages: {
37
+ allContent: string;
38
+ allGroups: string;
39
+ clearSelection: string;
40
+ myContent: string;
41
+ myGroups: string;
42
+ myOrganization: string;
43
+ noGroupsFound: string;
44
+ noItemsFound: string;
45
+ noUsersFound: string;
46
+ searchFailed: string;
47
+ searchGroups: string;
48
+ searchItems: string;
49
+ searchIn: string;
50
+ searchUsers: string;
51
+ searching: string;
52
+ } & T9nMeta<{
53
+ allContent: string;
54
+ allGroups: string;
55
+ clearSelection: string;
56
+ myContent: string;
57
+ myGroups: string;
58
+ myOrganization: string;
59
+ noGroupsFound: string;
60
+ noItemsFound: string;
61
+ noUsersFound: string;
62
+ searchFailed: string;
63
+ searchGroups: string;
64
+ searchItems: string;
65
+ searchIn: string;
66
+ searchUsers: string;
67
+ searching: string;
68
+ }>;
69
+ accessor portal: Portal | undefined;
70
+ accessor requestId: string | undefined;
32
71
  accessor type: InterruptType["type"];
33
72
  readonly arcgisCancel: import("@arcgis/lumina").TargetedEvent<this, void>;
34
73
  readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, string[] | boolean | string>;
@@ -1,51 +1,91 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c } from "../../chunks/runtime.js";
3
- import { css as o, html as a } from "lit";
4
- import { LitElement as u, createEvent as n } from "@arcgis/lumina";
5
- import m from "@esri/arcgis-html-sanitizer";
6
- import { unsafeHTML as p } from "lit/directives/unsafe-html.js";
7
- import { marked as r } from "marked";
8
- import { u as g } from "../../chunks/useT9n.js";
9
- import { a as d } from "../../chunks/functionalities.js";
10
- const h = o`.interrupt-container{display:flex;flex-direction:column;gap:.75rem}.interrupt-actions{display:flex;justify-content:flex-end;gap:.5rem}.interrupt-message{white-space:normal}.interrupt-message :where(p){margin:0}.interrupt-message :where(ul,ol){margin:0;padding-inline-start:1.25rem}`;
11
- r.use({ gfm: !0, breaks: !0, async: !1 });
12
- const f = new m();
13
- class b extends u {
2
+ import { c as p } from "../../chunks/runtime.js";
3
+ import { keyed as u } from "lit/directives/keyed.js";
4
+ import { LitElement as d, createEvent as c, nothing as m } from "@arcgis/lumina";
5
+ import h from "@esri/arcgis-html-sanitizer";
6
+ import { css as y, html as s } from "lit";
7
+ import { createRef as g, ref as f } from "lit/directives/ref.js";
8
+ import { unsafeHTML as a } from "lit/directives/unsafe-html.js";
9
+ import { marked as o } from "marked";
10
+ import { u as l } from "../../chunks/useT9n.js";
11
+ import { a as b } from "../../chunks/functionalities.js";
12
+ import { t as v } from "../../chunks/portalEntitySelection.js";
13
+ const k = y`:host{container-type:inline-size;display:block;min-inline-size:0}.interrupt-container{display:flex;flex-direction:column;gap:.75rem}.interrupt-actions,.interrupt-buttons{display:flex;justify-content:flex-end;gap:.5rem}.interrupt-message{white-space:normal}.interrupt-message :where(p){margin:0}.interrupt-message :where(ul,ol){margin:0;padding-inline-start:1.25rem}.entity-interrupt{background:var(--calcite-color-foreground-1);border-block-start:2px solid var(--calcite-color-brand);gap:0}.entity-heading{align-items:center;display:flex;gap:.75rem;padding:1rem 1rem .75rem}.entity-heading-icon{color:var(--calcite-color-brand);flex:none}.entity-heading-content{display:grid;gap:.25rem;min-inline-size:0}.entity-eyebrow{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-relative-sm);line-height:1.25}.entity-question{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-relative-md);font-weight:500;line-height:1.4;overflow-wrap:anywhere}.interrupt-picker{--arcgis-portal-entity-picker-results-max-block-size: min(22rem, 40vh);--arcgis-portal-entity-picker-selection-display: none;box-sizing:border-box;padding:0 1rem .75rem}.entity-interrupt .interrupt-actions{align-items:center;border-block-start:1px solid var(--calcite-color-border-3);display:grid;gap:.75rem;grid-template-columns:minmax(0,1fr) auto;min-block-size:2.25rem;padding:.625rem 1rem}.entity-selection{align-items:center;color:var(--calcite-color-text-2);display:flex;font-size:var(--calcite-font-size-relative-base);gap:.5rem;min-inline-size:0}.entity-selection calcite-icon{color:var(--calcite-color-status-success);flex:none}.entity-selection-label{flex:1;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@container (max-width: 24rem){.entity-heading{padding:.875rem .75rem .625rem}.interrupt-picker{padding:0 .75rem .625rem}.entity-interrupt .interrupt-actions{gap:.5rem;grid-template-columns:minmax(0,1fr);padding:.625rem .75rem}.entity-selection:empty{display:none}}`;
14
+ o.use({ gfm: !0, breaks: !0, async: !1 });
15
+ const $ = new h();
16
+ class x extends d {
14
17
  constructor() {
15
- super(...arguments), this.#t = [], this._messages = g({ blocking: !0 }), this.arcgisCancel = n(), this.arcgisSubmit = n();
18
+ super(...arguments), this.#e = [], this._messages = l({ blocking: !0 }), this.pickerMessages = l({ blocking: !0, name: "portal-entity-picker" }), this.pickerRef = g(), this.pickerKey = 0, this.selectedEntity = null, this.selectionSubmitted = !1, this.arcgisCancel = c(), this.arcgisSubmit = c();
16
19
  }
17
20
  static {
18
- this.properties = { type: 1, message: 1, options: 0 };
21
+ this.properties = { selectedEntity: 16, selectionSubmitted: 16, type: 1, message: 1, options: 0, portal: 0, entityRequest: 0, requestId: 1 };
19
22
  }
20
23
  static {
21
- this.styles = h;
24
+ this.styles = k;
25
+ }
26
+ #e;
27
+ get selectedReference() {
28
+ return this.selectedEntity && this.selectedEntity.entityType === this.entityRequest?.entityType ? v(this.selectedEntity) : void 0;
29
+ }
30
+ willUpdate(e) {
31
+ (e.has("entityRequest") || e.has("requestId") || e.has("portal")) && (this.pickerKey += 1, this.selectedEntity = null, this.selectionSubmitted = !1, this.#e = []);
32
+ }
33
+ updated(e) {
34
+ this.isConnected && this.entityRequest && (e.has("entityRequest") || e.has("requestId") || e.has("portal")) && this.focusPicker();
35
+ }
36
+ async focusPicker() {
37
+ const e = this.pickerRef.value;
38
+ e && (await e.componentOnReady(), this.isConnected && this.pickerRef.value === e && await e.setFocus());
39
+ }
40
+ submit() {
41
+ if (this.entityRequest) {
42
+ const e = this.selectedReference;
43
+ if (!e || this.selectionSubmitted)
44
+ return;
45
+ this.selectionSubmitted = !0, this.arcgisSubmit.emit(JSON.stringify(e));
46
+ return;
47
+ }
48
+ this.arcgisSubmit.emit(this.type === "boolean-choice" ? !0 : this.#e);
22
49
  }
23
- #t;
24
50
  _renderMessageContent() {
25
- const t = this.message ?? "", i = r.parse(t, { async: !1 });
26
- return f.sanitize(i);
51
+ const e = this.message ?? "", i = o.parse(e, { async: !1 });
52
+ return $.sanitize(i);
27
53
  }
28
54
  _renderInterruptInput() {
29
- const { _messages: t, type: i, options: s } = this;
55
+ const { _messages: e, type: i, options: n } = this;
30
56
  switch (i) {
31
57
  case "single-select":
32
- return a`<calcite-list class="interrupt-list" .label=${t.singleSelectLabel} selection-mode=single-persist @calciteListChange=${(e) => this.#t = e.target.selectedItems[0]?.value}>${s?.map((e) => a`<calcite-list-item .label=${e} .value=${e}></calcite-list-item>`)}</calcite-list>`;
58
+ return s`<calcite-list class="interrupt-list" .label=${e.singleSelectLabel} selection-mode=single-persist @calciteListChange=${(t) => this.#e = t.target.selectedItems[0]?.value}>${n?.map((t) => s`<calcite-list-item .label=${t} .value=${t}></calcite-list-item>`)}</calcite-list>`;
33
59
  case "multi-select":
34
- return a`<calcite-list class="interrupt-list" .label=${t.multiSelectLabel} selection-mode=multiple @calciteListChange=${(e) => this.#t = e.target.selectedItems.map((l) => l.value)}>${s?.map((e) => a`<calcite-list-item .label=${e} .value=${e}></calcite-list-item>`)}</calcite-list>`;
60
+ return s`<calcite-list class="interrupt-list" .label=${e.multiSelectLabel} selection-mode=multiple @calciteListChange=${(t) => this.#e = t.target.selectedItems.map((r) => r.value)}>${n?.map((t) => s`<calcite-list-item .label=${t} .value=${t}></calcite-list-item>`)}</calcite-list>`;
35
61
  case "text-input":
36
- return a`<calcite-input class="interrupt-input" .label=${t.textInputLabel} @calciteInputInput=${(e) => this.#t = e.target.value}></calcite-input>`;
62
+ return s`<calcite-input class="interrupt-input" .label=${e.textInputLabel} @calciteInputInput=${(t) => this.#e = t.target.value}></calcite-input>`;
37
63
  case "boolean-choice":
38
64
  return null;
39
65
  default:
40
- return d(i);
66
+ return b(i);
41
67
  }
42
68
  }
69
+ _renderInterruptButtons(e = !1) {
70
+ const { _messages: i, type: n, selectedReference: t } = this, r = n === "boolean-choice";
71
+ return s`<div class="interrupt-buttons"><calcite-button .appearance=${e ? "transparent" : "outline"} .kind=${e ? "neutral" : void 0} @click=${() => this.arcgisCancel.emit()}>${r ? i.cancelButton : i.skipButton}</calcite-button><calcite-button appearance=solid .iconEnd=${e ? "arrow-right" : void 0} .disabled=${e && (!t || this.selectionSubmitted)} @click=${this.submit}>${r ? i.confirmButton : i.submitButton}</calcite-button></div>`;
72
+ }
73
+ _renderEntityInterrupt(e) {
74
+ const { _messages: i, selectedReference: n } = this;
75
+ return s`<div class="interrupt-container entity-interrupt"><div class="entity-heading"><calcite-icon class="entity-heading-icon" .icon=${e === "user" ? "user" : e === "group" ? "group" : "file"} scale=m></calcite-icon><div class="entity-heading-content"><span class="entity-eyebrow">${i.titleInput}</span><div class="interrupt-message entity-question">${a(this._renderMessageContent())}</div></div></div>${this.portal ? u(this.pickerKey, s`<arcgis-portal-entity-picker class="interrupt-picker" .portal=${this.portal} .entityType=${e} .initialSearchTerm=${this.entityRequest?.searchTerm ?? ""} .query=${this.entityRequest?.picker?.query} .initialScope=${this.entityRequest?.picker?.initialScope ?? "all"} .scopeSelectionDisabled=${this.entityRequest?.picker?.scopeSelectionDisabled ?? !1} mode=inline icon=search .selected=${this.selectedEntity} @arcgisSelectionChange=${({ detail: t }) => {
76
+ !this.selectionSubmitted && (!t || t.entityType === this.entityRequest?.entityType) && (this.selectedEntity = t);
77
+ }} ${f(this.pickerRef)}></arcgis-portal-entity-picker>`) : this._renderInterruptInput()}<div class="interrupt-actions"><div class="entity-selection" role=status>${n && s`<calcite-icon icon=check-circle scale=s></calcite-icon><span class="entity-selection-label" title=${n.label ?? m}>${n.label}</span><calcite-button appearance=transparent .disabled=${this.selectionSubmitted} icon-start=x kind=neutral .label=${this.pickerMessages.clearSelection} scale=s @click=${() => {
78
+ this.selectedEntity = null, this.pickerRef.value?.setFocus();
79
+ }}></calcite-button>` || ""}</div>${this._renderInterruptButtons(!0)}</div></div>`;
80
+ }
43
81
  render() {
44
- const { _messages: t, type: i } = this, s = i === "boolean-choice";
45
- return a`<div class="interrupt-container"><calcite-notice open kind=neutral width=full><div slot=title>${s ? t.titleConfirm : t.titleInput}</div><div slot=message class="interrupt-message">${p(this._renderMessageContent())}</div></calcite-notice>${this._renderInterruptInput()}<div class="interrupt-actions"><calcite-button appearance=outline @click=${() => this.arcgisCancel.emit()}>${s ? t.cancelButton : t.skipButton}</calcite-button><calcite-button appearance=solid @click=${() => this.arcgisSubmit.emit(i === "boolean-choice" ? !0 : this.#t)}>${s ? t.confirmButton : t.submitButton}</calcite-button></div></div>`;
82
+ if (this.entityRequest)
83
+ return this._renderEntityInterrupt(this.entityRequest.entityType);
84
+ const { _messages: e, type: i } = this;
85
+ return s`<div class="interrupt-container"><calcite-notice open kind=neutral width=full><div slot=title>${i === "boolean-choice" ? e.titleConfirm : e.titleInput}</div><div slot=message class="interrupt-message">${a(this._renderMessageContent())}</div></calcite-notice>${this._renderInterruptInput()}<div class="interrupt-actions">${this._renderInterruptButtons()}</div></div>`;
46
86
  }
47
87
  }
48
- c("arcgis-portal-ai-assistant-interrupt", b);
88
+ p("arcgis-portal-ai-assistant-interrupt", x);
49
89
  export {
50
- b as ArcgisPortalAiAssistantInterrupt
90
+ x as ArcgisPortalAiAssistantInterrupt
51
91
  };
@@ -1,6 +1,8 @@
1
1
  import "@esri/calcite-components/components/calcite-list";
2
2
  import "@esri/calcite-components/components/calcite-list-item";
3
3
  import "@esri/calcite-components/components/calcite-input";
4
- import "@esri/calcite-components/components/calcite-notice";
5
4
  import "@esri/calcite-components/components/calcite-button";
5
+ import "@esri/calcite-components/components/calcite-icon";
6
+ import "../arcgis-portal-entity-picker/index.js";
7
+ import "@esri/calcite-components/components/calcite-notice";
6
8
  export * from "./customElement.js";
@@ -219,12 +219,15 @@ export abstract class ArcgisPortalBrowser extends LitElement {
219
219
  readonly arcgisAriaUpdate: import("@arcgis/lumina").TargetedEvent<this, string>;
220
220
  readonly arcgisBrowserFilterClear: import("@arcgis/lumina").TargetedEvent<this, null>;
221
221
  readonly arcgisBrowserFilterRemove: import("@arcgis/lumina").TargetedEvent<this, string>;
222
+ /** Requests closing the active preview; its host owns the preview session. */
223
+ readonly arcgisPreviewClose: import("@arcgis/lumina").TargetedEvent<this, void>;
222
224
  /** @deprecated Use arcgisAriaUpdate instead. */
223
225
  readonly ariaUpdate: import("@arcgis/lumina").TargetedEvent<this, string>;
224
226
  readonly "@eventTypes": {
225
227
  arcgisAriaUpdate: ArcgisPortalBrowser["arcgisAriaUpdate"]["detail"];
226
228
  arcgisBrowserFilterClear: ArcgisPortalBrowser["arcgisBrowserFilterClear"]["detail"];
227
229
  arcgisBrowserFilterRemove: ArcgisPortalBrowser["arcgisBrowserFilterRemove"]["detail"];
230
+ arcgisPreviewClose: ArcgisPortalBrowser["arcgisPreviewClose"]["detail"];
228
231
  ariaUpdate: ArcgisPortalBrowser["ariaUpdate"]["detail"];
229
232
  };
230
233
  }
@@ -9,8 +9,9 @@ import "../../chunks/useT9n.js";
9
9
  import "../../chunks/dom.js";
10
10
  import "../../chunks/functionalities.js";
11
11
  import "../arcgis-portal-browser-filter-status/customElement.js";
12
- import { A as l } from "../../chunks/portal-browser.js";
12
+ import { A as w } from "../../chunks/portal-browser.js";
13
13
  import "../../chunks/store.js";
14
+ import "../arcgis-portal-preview-panel/customElement.js";
14
15
  export {
15
- l as ArcgisPortalBrowser
16
+ w as ArcgisPortalBrowser
16
17
  };
@@ -2,5 +2,6 @@ import "@esri/calcite-components/components/calcite-action";
2
2
  import "../arcgis-portal-browser-filter-status/index.js";
3
3
  import "@esri/calcite-components/components/calcite-loader";
4
4
  import "@esri/calcite-components/components/calcite-popover";
5
+ import "../arcgis-portal-preview-panel/index.js";
5
6
  import "@esri/calcite-components/components/calcite-scrim";
6
7
  export * from "./customElement.js";
@@ -5,7 +5,7 @@ import { u as n, c as f } from "../../chunks/loadClassificationData.js";
5
5
  import { u as d } from "../../chunks/useT9n.js";
6
6
  import { css as h, html as s } from "lit";
7
7
  import { rethrowError as o } from "@arcgis/toolkit/log";
8
- const m = h`.banner{box-sizing:border-box;width:100%;left:0;text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);text-transform:uppercase;overflow-wrap:break-word}.invalid-container{background-color:#fff;color:#000;display:flex;align-items:center;justify-content:center;gap:8px}.invalid-icon{--calcite-icon-color: var(--calcite-color-status-danger)}.invalid-message{text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);overflow-wrap:break-word}`;
8
+ const m = h`.banner{box-sizing:border-box;width:100%;left:0;text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-space-sm);font-size:var(--calcite-font-size);text-transform:uppercase;overflow-wrap:break-word}.invalid-container{background-color:#fff;color:#000;display:flex;align-items:center;justify-content:center;gap:8px}.invalid-icon{--calcite-icon-color: var(--calcite-color-status-danger)}.invalid-message{text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-space-sm);font-size:var(--calcite-font-size);overflow-wrap:break-word}`;
9
9
  class p extends l {
10
10
  constructor() {
11
11
  super(...arguments), this.classificationModel = n(this), this.messages = d(), this._classificationDataTask = f(this), this.portalClassificationSchema = this.classificationModel.portalClassificationSchema, this.status = this.classificationModel.status, this.missingExistingClassification = !1, this.variant = "full", this.autoDestroyDisabled = !1, this.validationErrors = "";
@@ -36,7 +36,7 @@ class p extends l {
36
36
  }
37
37
  getStyle() {
38
38
  const a = {};
39
- if (this.variant === "preview" && (a.fontSize = "var(--calcite-font-size-sm)", a.padding = "var(--calcite-spacing-xs)"), this.itemClassification && this.portalClassificationSchema) {
39
+ if (this.variant === "preview" && (a.fontSize = "var(--calcite-font-size-sm)", a.padding = "var(--calcite-space-xs)"), this.itemClassification && this.portalClassificationSchema) {
40
40
  const i = this.itemClassification.classification, t = this.portalClassificationSchema.classificationMetadata.classificationValueProperties.find(({ value: e }) => e === i);
41
41
  t?.backgroundColor && (a.backgroundColor = t.backgroundColor), t?.textColor && (a.color = t.textColor);
42
42
  }
@@ -11,7 +11,7 @@ import { createArcadeExecutor as $ } from "@arcgis/core/arcade.js";
11
11
  import { u as V } from "../../chunks/useT9n.js";
12
12
  import { d as m, a as d, g as O, r as p, c as _, b as A } from "../../chunks/common.js";
13
13
  import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
14
- import { b as F } from "../../chunks/requests.js";
14
+ import { r as F } from "../../chunks/requests.js";
15
15
  async function T({
16
16
  portalClassificationSchema: r,
17
17
  itemClassification: t
@@ -144,7 +144,7 @@ async function L(r) {
144
144
  ]
145
145
  });
146
146
  }
147
- const B = I`:host{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.header-section{padding:var(--calcite-spacing-sm)}.header-section__title-container{display:flex;align-items:center;justify-content:space-between}.header-section__title-text{margin:unset;font-weight:unset;font-size:var(--calcite-font-size)}.header-section__title-popover{padding:var(--calcite-spacing-md)}.form-section{display:flex;border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding:var(--calcite-spacing-sm);height:100%;overflow:hidden}.form-section__sidebar{flex:1;padding:var(--calcite-spacing-sm)}.form-section__main-content{flex:3;padding:var(--calcite-spacing-sm);overflow:auto}.danger{color:var(--calcite-color-status-danger)}.spacing-y{margin:var(--calcite-spacing-md) 0}`;
147
+ const B = I`:host{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.header-section{padding:var(--calcite-space-sm)}.header-section__title-container{display:flex;align-items:center;justify-content:space-between}.header-section__title-text{margin:unset;font-weight:unset;font-size:var(--calcite-font-size)}.header-section__title-popover{padding:var(--calcite-space-md)}.form-section{display:flex;border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding:var(--calcite-space-sm);height:100%;overflow:hidden}.form-section__sidebar{flex:1;padding:var(--calcite-space-sm)}.form-section__main-content{flex:3;padding:var(--calcite-space-sm);overflow:auto}.danger{color:var(--calcite-color-status-danger)}.spacing-y{margin:var(--calcite-space-md) 0}`;
148
148
  class J extends v {
149
149
  constructor() {
150
150
  super(), this.classificationModel = P(this), this.messages = V(), this.formMainContentRef = f(), this.bannerRef = f(), this._classificationDataTask = S(this), this._formCreationTask = new y(this, {
@@ -4,9 +4,9 @@ import { css as r, html as e } from "lit";
4
4
  import { repeat as o } from "lit/directives/repeat.js";
5
5
  import { LitElement as n } from "@arcgis/lumina";
6
6
  import { u as f } from "../../chunks/useT9n.js";
7
- import { u as d, b as v } from "../../chunks/requests.js";
7
+ import { u as d, r as v } from "../../chunks/requests.js";
8
8
  import { g as h } from "../../chunks/common.js";
9
- const m = r`.select-favorite-label{display:flex;justify-content:space-between;align-items:center}.favorite-actions{display:flex;justify-content:flex-end;gap:1.5rem;align-items:center}.classification-favorite-dialog{--calcite-dialog-content-space: 0;--calcite-dialog-background-color: "var(--calcite-color-foreground-2)"}.save-new-favorite-button{display:flex;justify-content:flex-end;margin-top:.25rem;margin-bottom:1rem}.classification-favorite-item{display:flex;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--calcite-color-border-1)}.classification-favorite-list,.classification-favorite-input-section{margin:1.75rem 1rem}`;
9
+ const m = r`.select-favorite-label{display:flex;justify-content:space-between;align-items:center}.favorite-actions{display:flex;justify-content:flex-end;gap:1.5rem;align-items:center}.classification-favorite-dialog{--calcite-dialog-content-space: 0;--calcite-dialog-background-color: var(--calcite-color-surface-3)}.save-new-favorite-button{display:flex;justify-content:flex-end;margin-top:.25rem;margin-bottom:1rem}.classification-favorite-item{display:flex;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--calcite-color-border-1)}.classification-favorite-list,.classification-favorite-input-section{margin:1.75rem 1rem}`;
10
10
  class C extends n {
11
11
  constructor() {
12
12
  super(...arguments), this.messages = f(), this.selectFavoriteClassification = (i) => {
@@ -4,7 +4,7 @@ import { repeat as u } from "lit/directives/repeat.js";
4
4
  import { LitElement as c, createEvent as b, nothing as a } from "@arcgis/lumina";
5
5
  import { css as d, html as i } from "lit";
6
6
  import { u as h } from "../../chunks/useT9n.js";
7
- const m = d`.spacing-y{margin:var(--calcite-spacing-md) 0}.portal-classification-form-element-tooltip{display:flex;justify-content:space-between;align-items:center}`;
7
+ const m = d`.spacing-y{margin:var(--calcite-space-md) 0}.portal-classification-form-element-tooltip{display:flex;justify-content:space-between;align-items:center}`;
8
8
  function l(n, e) {
9
9
  return n.uiElement === e;
10
10
  }
@@ -4,6 +4,7 @@ import type Portal from "@arcgis/core/portal/Portal.js";
4
4
  import type PortalUser from "@arcgis/core/portal/PortalUser.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
6
  import type { DeleteItemResponse } from "./services.js";
7
+ import type { APIResponse } from "../../utils/types.js";
7
8
  import type { T9nMeta } from "@arcgis/lumina/controllers";
8
9
 
9
10
  /**
@@ -26,7 +27,71 @@ export abstract class ArcgisPortalDeleteItems extends LitElement {
26
27
  * @default false
27
28
  */
28
29
  accessor disableLinks: boolean;
29
- /** The portal items to delete. */
30
+ /**
31
+ * For `Learn more`. TODO: Move the string to common post-2026R03
32
+ *
33
+ * @internal
34
+ */
35
+ protected fieldDeleteMessages: Partial<{
36
+ cancel: string;
37
+ error: string;
38
+ errorOccurred: string;
39
+ fields: string;
40
+ deletePrompt: string;
41
+ deleteMultiplePrompt: string;
42
+ deleteField: string;
43
+ deleteFields: string;
44
+ deleteFieldsWithNumber: string;
45
+ deletingField: string;
46
+ deletingFields: string;
47
+ newFeature: string;
48
+ fieldDeleted: string;
49
+ fieldsDeleted: string;
50
+ fieldDeletionUnsuccessful: string;
51
+ fieldInUse: string;
52
+ expressions: string;
53
+ popups: string;
54
+ forms: string;
55
+ charts: string;
56
+ deleteWarning: string;
57
+ deleteMultipleWarning: string;
58
+ learnMore: string;
59
+ savingFailed: string;
60
+ readOnlyErrorMessage: string;
61
+ readOnlyErrorMessageEnterprise: string;
62
+ healthDashboard: string;
63
+ }> & T9nMeta<{
64
+ cancel: string;
65
+ error: string;
66
+ errorOccurred: string;
67
+ fields: string;
68
+ deletePrompt: string;
69
+ deleteMultiplePrompt: string;
70
+ deleteField: string;
71
+ deleteFields: string;
72
+ deleteFieldsWithNumber: string;
73
+ deletingField: string;
74
+ deletingFields: string;
75
+ newFeature: string;
76
+ fieldDeleted: string;
77
+ fieldsDeleted: string;
78
+ fieldDeletionUnsuccessful: string;
79
+ fieldInUse: string;
80
+ expressions: string;
81
+ popups: string;
82
+ forms: string;
83
+ charts: string;
84
+ deleteWarning: string;
85
+ deleteMultipleWarning: string;
86
+ learnMore: string;
87
+ savingFailed: string;
88
+ readOnlyErrorMessage: string;
89
+ readOnlyErrorMessageEnterprise: string;
90
+ healthDashboard: string;
91
+ }>;
92
+ /** The IDs of the items to load when no `items` are provided. */
93
+ accessor itemIds: string[];
94
+ /** The portal items to delete. Takes precedence over `itemIds` when included. */
30
95
  accessor items: PortalItem[];
31
96
  /** @internal */
32
97
  protected messages: {
@@ -189,13 +254,13 @@ export abstract class ArcgisPortalDeleteItems extends LitElement {
189
254
  /** The user performing deletion. */
190
255
  accessor user: PortalUser | null | undefined;
191
256
  /** Emitted when the user cancels the deletion. */
192
- readonly arcgisCancel: import("@arcgis/lumina").TargetedEvent<this, void>;
257
+ readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
193
258
  /** Emitted when the user confirms the deletion. */
194
259
  readonly arcgisConfirm: import("@arcgis/lumina").TargetedEvent<this, DeleteItemsPayload>;
195
260
  /** Emitted when an error occurs during deletion. */
196
261
  readonly arcgisError: import("@arcgis/lumina").TargetedEvent<this, DeleteItemsPayload>;
197
262
  readonly "@eventTypes": {
198
- arcgisCancel: ArcgisPortalDeleteItems["arcgisCancel"]["detail"];
263
+ arcgisClose: ArcgisPortalDeleteItems["arcgisClose"]["detail"];
199
264
  arcgisConfirm: ArcgisPortalDeleteItems["arcgisConfirm"]["detail"];
200
265
  arcgisError: ArcgisPortalDeleteItems["arcgisError"]["detail"];
201
266
  };
@@ -205,6 +270,7 @@ export abstract class ArcgisPortalDeleteItems extends LitElement {
205
270
  export interface DeleteItemsPayload {
206
271
  deletedItems: DeleteItemResponse[] | null;
207
272
  permanentlyDeletedItems: DeleteItemResponse[] | null;
273
+ deprecatedItems: APIResponse[] | null;
208
274
  /**
209
275
  * Optional overrides for the number of items deleted.
210
276
  * Needed if composite items are included for delete, because they are not part of the `/deleteItems` response