@arcgis/map-components 4.34.0-next.5 → 4.34.0-next.51

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 (615) hide show
  1. package/dist/cdn/23HAYJDR.js +4 -0
  2. package/dist/cdn/2CDG6HD7.js +4 -0
  3. package/dist/cdn/2EKUK755.js +4 -0
  4. package/dist/cdn/2LEPUYNL.js +4 -0
  5. package/dist/cdn/2X5HT3OR.js +4 -0
  6. package/dist/cdn/2X7UJLWL.js +4 -0
  7. package/dist/cdn/35HMSGLA.js +4 -0
  8. package/dist/cdn/3DPIAPJU.js +4 -0
  9. package/dist/cdn/3NF7FJBP.js +4 -0
  10. package/dist/cdn/3RJTB2MQ.js +4 -0
  11. package/dist/cdn/44ZQIRNR.js +4 -0
  12. package/dist/cdn/47QYSQQI.js +4 -0
  13. package/dist/cdn/47VHUNU6.js +4 -0
  14. package/dist/cdn/4F6FSL4T.js +4 -0
  15. package/dist/cdn/4LPNSJCM.js +4 -0
  16. package/dist/cdn/{4MRPFB2F.js → 4SDYEIKE.js} +2 -2
  17. package/dist/cdn/4TG2R2QU.js +4 -0
  18. package/dist/cdn/52EMW3O2.js +4 -0
  19. package/dist/cdn/57FQE7CG.js +4 -0
  20. package/dist/cdn/{V32WTVMP.js → 5FKORFL4.js} +1 -1
  21. package/dist/cdn/5P67NND5.js +4 -0
  22. package/dist/cdn/{RNMVFT5P.js → 5TUSCZO2.js} +1 -1
  23. package/dist/cdn/5YR5YPEH.js +4 -0
  24. package/dist/cdn/5YXRIS4X.js +3 -0
  25. package/dist/cdn/66PSAFAX.js +4 -0
  26. package/dist/cdn/6OBEVEH7.js +4 -0
  27. package/dist/cdn/6ODSFWYE.js +4 -0
  28. package/dist/cdn/6OS77J7L.js +4 -0
  29. package/dist/cdn/6OUY3XXG.js +4 -0
  30. package/dist/cdn/6UFE5NN6.js +4 -0
  31. package/dist/cdn/6VF4IEDN.js +4 -0
  32. package/dist/cdn/6XJKM67Q.js +4 -0
  33. package/dist/cdn/6ZUHPUCU.js +4 -0
  34. package/dist/cdn/7ABP4YLG.js +5 -0
  35. package/dist/cdn/7F5MGIQN.js +4 -0
  36. package/dist/cdn/7KIW5BCC.js +4 -0
  37. package/dist/cdn/7OHN63MP.js +4 -0
  38. package/dist/cdn/7PMQXZ6J.js +4 -0
  39. package/dist/cdn/7VBSLXI6.js +4 -0
  40. package/dist/cdn/ABY3EJGK.js +4 -0
  41. package/dist/cdn/AJOE7HMC.js +4 -0
  42. package/dist/cdn/{54VGZGQT.js → ANEAZJAQ.js} +2 -2
  43. package/dist/cdn/AOILTLWV.js +4 -0
  44. package/dist/cdn/APLX2G3G.js +4 -0
  45. package/dist/cdn/AYT64V4O.js +4 -0
  46. package/dist/cdn/BPKJF4BQ.js +4 -0
  47. package/dist/cdn/BQWGRO5F.js +4 -0
  48. package/dist/cdn/CATEMY5Q.js +4 -0
  49. package/dist/cdn/CBDJEZIQ.js +4 -0
  50. package/dist/cdn/CL2KUYAV.js +4 -0
  51. package/dist/cdn/{RZWKYMUH.js → CNVEHUDF.js} +2 -2
  52. package/dist/cdn/COBMNV4T.js +4 -0
  53. package/dist/cdn/D6C2QQQG.js +4 -0
  54. package/dist/cdn/DGOWPVSJ.js +4 -0
  55. package/dist/cdn/DNPTHNCU.js +4 -0
  56. package/dist/cdn/{BNUZVD5L.js → DOC7KVHO.js} +2 -2
  57. package/dist/cdn/{JE6AJOV2.js → DQFJCFJE.js} +2 -2
  58. package/dist/cdn/DRDEFATT.js +4 -0
  59. package/dist/cdn/E6DQN3MY.js +4 -0
  60. package/dist/cdn/EBPGB4PM.js +4 -0
  61. package/dist/cdn/EKDI5BRX.js +4 -0
  62. package/dist/cdn/ENB3QCSY.js +4 -0
  63. package/dist/cdn/F6A67IBM.js +4 -0
  64. package/dist/cdn/FGU7NQB3.js +4 -0
  65. package/dist/cdn/FNDCY6TH.js +4 -0
  66. package/dist/cdn/FNJ522JF.js +4 -0
  67. package/dist/cdn/FP6W6INT.js +4 -0
  68. package/dist/cdn/FQDWKAFC.js +4 -0
  69. package/dist/cdn/FUOB72QT.js +4 -0
  70. package/dist/cdn/FXYAWM4G.js +4 -0
  71. package/dist/cdn/FYTYNQJW.js +4 -0
  72. package/dist/cdn/G7MO5YNI.js +4 -0
  73. package/dist/cdn/GAO72ICS.js +4 -0
  74. package/dist/cdn/GAWSZGSE.js +4 -0
  75. package/dist/cdn/GCVFIMSI.js +4 -0
  76. package/dist/cdn/GH5ORWDD.js +4 -0
  77. package/dist/cdn/GLY2QNU5.js +4 -0
  78. package/dist/cdn/{UKUTVSTC.js → GOKTRDSW.js} +2 -2
  79. package/dist/cdn/GTEBKEBT.js +4 -0
  80. package/dist/cdn/H4XXPWYD.js +4 -0
  81. package/dist/cdn/HBRDA6ZG.js +4 -0
  82. package/dist/cdn/HHLBL37Q.js +4 -0
  83. package/dist/cdn/{AIJ5QKVL.js → HNH26E33.js} +1 -1
  84. package/dist/cdn/HOBDI6JD.js +4 -0
  85. package/dist/cdn/HOBYGWBS.js +4 -0
  86. package/dist/cdn/HQFAH7VM.js +4 -0
  87. package/dist/cdn/HTTSJGJH.js +4 -0
  88. package/dist/cdn/HW36UUHG.js +4 -0
  89. package/dist/cdn/IKLWWK2I.js +4 -0
  90. package/dist/cdn/IWDZFFZJ.js +4 -0
  91. package/dist/cdn/{CY2ZUEMG.js → IWRQ325C.js} +2 -2
  92. package/dist/cdn/IZ33XLJR.js +4 -0
  93. package/dist/cdn/J42NCWYZ.js +4 -0
  94. package/dist/cdn/J7AD3VVE.js +4 -0
  95. package/dist/cdn/JEAYFG3N.js +4 -0
  96. package/dist/cdn/JEVL26RG.js +4 -0
  97. package/dist/cdn/JNIAYBSA.js +4 -0
  98. package/dist/cdn/JO5V6L7X.js +4 -0
  99. package/dist/cdn/JT2Y2CFS.js +4 -0
  100. package/dist/cdn/K66BYPYZ.js +4 -0
  101. package/dist/cdn/K6AWFSFK.js +4 -0
  102. package/dist/cdn/KG2HQWWR.js +4 -0
  103. package/dist/cdn/KGR3TOXV.js +4 -0
  104. package/dist/cdn/KNPHEVWW.js +4 -0
  105. package/dist/cdn/KRTOFDMU.js +4 -0
  106. package/dist/cdn/KVN5WZ2F.js +4 -0
  107. package/dist/cdn/{EPS7HMFS.js → LSZOTLG2.js} +1 -1
  108. package/dist/cdn/M5EMWKKY.js +4 -0
  109. package/dist/cdn/M77KTA6U.js +4 -0
  110. package/dist/cdn/MOI6KAID.js +4 -0
  111. package/dist/cdn/MR5AO3NN.js +4 -0
  112. package/dist/cdn/MUMY6GEM.js +4 -0
  113. package/dist/cdn/N55D5MJJ.js +4 -0
  114. package/dist/cdn/NJTUC76F.js +4 -0
  115. package/dist/cdn/NPQISYAT.js +4 -0
  116. package/dist/cdn/NX654MZD.js +4 -0
  117. package/dist/cdn/NXKE4IBO.js +4 -0
  118. package/dist/cdn/NXP472VC.js +4 -0
  119. package/dist/cdn/NZMUQVNO.js +4 -0
  120. package/dist/cdn/O33QCB33.js +4 -0
  121. package/dist/cdn/O4UTHW2Y.js +4 -0
  122. package/dist/cdn/O7WE7QGS.js +4 -0
  123. package/dist/cdn/ODI4TZIM.js +4 -0
  124. package/dist/cdn/OOUQ765K.js +4 -0
  125. package/dist/cdn/OSBYI6F5.js +4 -0
  126. package/dist/cdn/OUTJJ7Z2.js +4 -0
  127. package/dist/cdn/OUURDOBJ.js +4 -0
  128. package/dist/cdn/PJSU42JM.js +6 -0
  129. package/dist/cdn/PLDRW24K.js +4 -0
  130. package/dist/cdn/PPGAVYMR.js +4 -0
  131. package/dist/cdn/PQMAOWDZ.js +4 -0
  132. package/dist/cdn/PWHAZRNJ.js +4 -0
  133. package/dist/cdn/{Z5OKVV3T.js → PZO5SSQT.js} +2 -2
  134. package/dist/cdn/Q34PXGKN.js +4 -0
  135. package/dist/cdn/QARQYR3S.js +4 -0
  136. package/dist/cdn/QHNAGBYU.js +4 -0
  137. package/dist/cdn/QLTAVM6R.js +4 -0
  138. package/dist/cdn/REC3WVMB.js +4 -0
  139. package/dist/cdn/RLRHEVME.js +4 -0
  140. package/dist/cdn/S3Y6WOSE.js +4 -0
  141. package/dist/cdn/S72W2EOS.js +4 -0
  142. package/dist/cdn/SCGFRFEA.js +4 -0
  143. package/dist/cdn/SDTNEE4Q.js +4 -0
  144. package/dist/cdn/SELAQDGF.js +4 -0
  145. package/dist/cdn/SG6XFUPU.js +4 -0
  146. package/dist/cdn/STPFZ6PG.js +4 -0
  147. package/dist/cdn/SULU3BCZ.js +4 -0
  148. package/dist/cdn/T347J3LH.js +4 -0
  149. package/dist/cdn/T4OF5KMY.js +4 -0
  150. package/dist/cdn/T4ZGI6ZX.js +4 -0
  151. package/dist/cdn/TIVO56VB.js +4 -0
  152. package/dist/cdn/TJLAHABW.js +4 -0
  153. package/dist/cdn/{5ZZR2J6N.js → TOOG2ECU.js} +2 -2
  154. package/dist/cdn/TVSLB42C.js +4 -0
  155. package/dist/cdn/{4GXYTGZZ.js → UHTGJYCW.js} +1 -1
  156. package/dist/cdn/UW2QFZLI.js +4 -0
  157. package/dist/cdn/VFCPDEJV.js +4 -0
  158. package/dist/cdn/VINXCROG.js +4 -0
  159. package/dist/cdn/VLJ5T5EM.js +4 -0
  160. package/dist/cdn/VMSV3XLY.js +4 -0
  161. package/dist/cdn/VT2S6EIP.js +4 -0
  162. package/dist/cdn/VWC4UHZI.js +4 -0
  163. package/dist/cdn/W2TJDRTX.js +4 -0
  164. package/dist/cdn/W6STCPFV.js +4 -0
  165. package/dist/cdn/{HRVDXQJH.js → W7KNNUEM.js} +1 -1
  166. package/dist/cdn/WC5PO2WX.js +4 -0
  167. package/dist/cdn/WJXSWJ6Y.js +4 -0
  168. package/dist/cdn/WLR2QMDR.js +4 -0
  169. package/dist/cdn/WMTBPX3C.js +4 -0
  170. package/dist/cdn/X3YMQ2R4.js +4 -0
  171. package/dist/cdn/{QIELYIFC.js → X4VRZLRF.js} +2 -2
  172. package/dist/cdn/X7YZSEGZ.js +4 -0
  173. package/dist/cdn/XCGQPPDC.js +4 -0
  174. package/dist/cdn/{ZFZIGRGE.js → XIW72IDH.js} +1 -1
  175. package/dist/cdn/XYEXAVRU.js +4 -0
  176. package/dist/cdn/Y6BRCKJZ.js +4 -0
  177. package/dist/cdn/YAPOF7X6.js +4 -0
  178. package/dist/cdn/YJD3MIER.js +4 -0
  179. package/dist/cdn/YRLL2RF2.js +4 -0
  180. package/dist/cdn/YYZRFHWC.js +4 -0
  181. package/dist/cdn/{LB4FJL6Z.js → Z2DUVJVT.js} +2 -2
  182. package/dist/cdn/ZQ3B7VXH.js +4 -0
  183. package/dist/cdn/{FCPVKFF7.js → ZT3D6RRA.js} +2 -2
  184. package/dist/cdn/ZYQGIGGR.js +4 -0
  185. package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
  186. package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
  187. package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
  188. package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
  189. package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
  190. package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
  191. package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
  192. package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
  193. package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
  194. package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
  195. package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
  196. package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
  197. package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
  198. package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
  199. package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
  200. package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
  201. package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
  202. package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
  203. package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
  204. package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
  205. package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
  206. package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
  207. package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
  208. package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
  209. package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
  210. package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
  211. package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
  212. package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
  213. package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
  214. package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
  215. package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
  216. package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
  217. package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
  218. package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
  219. package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
  220. package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
  221. package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
  222. package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
  223. package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
  224. package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
  225. package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
  226. package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
  227. package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
  228. package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
  229. package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
  230. package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
  231. package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
  232. package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
  233. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
  234. package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
  235. package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
  236. package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
  237. package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
  238. package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
  239. package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
  240. package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
  241. package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
  242. package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
  243. package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
  244. package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
  245. package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
  246. package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
  247. package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
  248. package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
  249. package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
  250. package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
  251. package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
  252. package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
  253. package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
  254. package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
  255. package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
  256. package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
  257. package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
  258. package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
  259. package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
  260. package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
  261. package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
  262. package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
  263. package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
  264. package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
  265. package/dist/cdn/index.js +2 -2
  266. package/dist/chunks/AnalysisViewModel.js +4 -4
  267. package/dist/chunks/async-utils.js +3 -3
  268. package/dist/chunks/basemap-gallery-resources.js +1 -1
  269. package/dist/chunks/chart-utils.js +66 -0
  270. package/dist/chunks/chartCommon.js +19 -0
  271. package/dist/chunks/component-utils.js +1 -1
  272. package/dist/chunks/createCloseEvent.js +1 -1
  273. package/dist/chunks/feature-utils.js +178 -0
  274. package/dist/chunks/globalCss.js +1 -1
  275. package/dist/chunks/heading.js +13 -13
  276. package/dist/chunks/layer-list.js +2 -2
  277. package/dist/chunks/legacyIcon.js +1 -1
  278. package/dist/chunks/maybe.js +1 -1
  279. package/dist/chunks/measurementUtils.js +1 -1
  280. package/dist/chunks/runtime.js +1 -1
  281. package/dist/chunks/useHandles.js +4 -4
  282. package/dist/chunks/useT9n.js +1 -1
  283. package/dist/chunks/useView.js +1 -1
  284. package/dist/chunks/useViewModel.js +1 -1
  285. package/dist/chunks/useWidget.js +1 -1
  286. package/dist/chunks/utils.js +1 -1
  287. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
  288. package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
  289. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
  290. package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
  291. package/dist/components/arcgis-attachments/customElement.d.ts +12 -1
  292. package/dist/components/arcgis-attachments/customElement.js +8 -8
  293. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
  294. package/dist/components/arcgis-basemap-gallery/customElement.js +18 -19
  295. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  296. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
  297. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  298. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
  299. package/dist/components/arcgis-basemap-toggle/customElement.js +16 -17
  300. package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
  301. package/dist/components/arcgis-bookmarks/customElement.d.ts +239 -82
  302. package/dist/components/arcgis-bookmarks/customElement.js +456 -17
  303. package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
  304. package/dist/components/arcgis-bookmarks/index.js +21 -0
  305. package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
  306. package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
  307. package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
  308. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  309. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
  310. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  311. package/dist/components/arcgis-compass/customElement.d.ts +10 -1
  312. package/dist/components/arcgis-compass/customElement.js +15 -16
  313. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
  314. package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
  315. package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
  316. package/dist/components/arcgis-daylight/customElement.js +2 -2
  317. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
  318. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
  319. package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
  320. package/dist/components/arcgis-directional-pad/customElement.js +20 -21
  321. package/dist/components/arcgis-directions/customElement.d.ts +7 -2
  322. package/dist/components/arcgis-directions/customElement.js +2 -2
  323. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
  324. package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
  325. package/dist/components/arcgis-editor/customElement.d.ts +6 -1
  326. package/dist/components/arcgis-editor/customElement.js +2 -2
  327. package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
  328. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  329. package/dist/components/arcgis-expand/customElement.d.ts +10 -4
  330. package/dist/components/arcgis-expand/customElement.js +2 -2
  331. package/dist/components/arcgis-feature/customElement.d.ts +179 -87
  332. package/dist/components/arcgis-feature/customElement.js +192 -21
  333. package/dist/components/arcgis-feature/index.d.ts +7 -0
  334. package/dist/components/arcgis-feature/index.js +7 -0
  335. package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
  336. package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
  337. package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
  338. package/dist/components/arcgis-feature-attachments/index.js +3 -0
  339. package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
  340. package/dist/components/arcgis-feature-content/customElement.js +65 -0
  341. package/dist/components/arcgis-feature-content/index.d.ts +2 -0
  342. package/dist/components/arcgis-feature-content/index.js +2 -0
  343. package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
  344. package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
  345. package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
  346. package/dist/components/arcgis-feature-element-info/index.js +1 -0
  347. package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
  348. package/dist/components/arcgis-feature-expression/customElement.js +248 -0
  349. package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
  350. package/dist/components/arcgis-feature-expression/index.js +5 -0
  351. package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
  352. package/dist/components/arcgis-feature-fields/customElement.js +142 -0
  353. package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
  354. package/dist/components/arcgis-feature-fields/index.js +2 -0
  355. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -2
  356. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  357. package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
  358. package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
  359. package/dist/components/arcgis-feature-media/customElement.js +571 -0
  360. package/dist/components/arcgis-feature-media/index.d.ts +3 -0
  361. package/dist/components/arcgis-feature-media/index.js +3 -0
  362. package/dist/components/arcgis-feature-table/customElement.d.ts +7 -1
  363. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  364. package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
  365. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  366. package/dist/components/arcgis-features/customElement.d.ts +5 -0
  367. package/dist/components/arcgis-features/customElement.js +2 -2
  368. package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
  369. package/dist/components/arcgis-floor-filter/customElement.js +2 -2
  370. package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
  371. package/dist/components/arcgis-fullscreen/customElement.js +32 -19
  372. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
  373. package/dist/components/arcgis-grid-controls/customElement.js +15 -16
  374. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
  375. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  376. package/dist/components/arcgis-home/customElement.d.ts +39 -16
  377. package/dist/components/arcgis-home/customElement.js +14 -15
  378. package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
  379. package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
  380. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  381. package/dist/components/arcgis-layer-list-item/customElement.js +2 -2
  382. package/dist/components/arcgis-legend/customElement.d.ts +5 -0
  383. package/dist/components/arcgis-legend/customElement.js +2 -2
  384. package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
  385. package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
  386. package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
  387. package/dist/components/arcgis-link-chart/customElement.js +20 -9
  388. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
  389. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
  390. package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
  391. package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
  392. package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
  393. package/dist/components/arcgis-locate/customElement.d.ts +17 -5
  394. package/dist/components/arcgis-locate/customElement.js +55 -56
  395. package/dist/components/arcgis-map/customElement.d.ts +27 -14
  396. package/dist/components/arcgis-map/customElement.js +26 -15
  397. package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
  398. package/dist/components/arcgis-measurement/customElement.js +2 -2
  399. package/dist/components/arcgis-measurement-content/customElement.js +12 -13
  400. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
  401. package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
  402. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
  403. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  404. package/dist/components/arcgis-placement/customElement.d.ts +5 -0
  405. package/dist/components/arcgis-placement/customElement.js +2 -2
  406. package/dist/components/arcgis-print/customElement.d.ts +55 -41
  407. package/dist/components/arcgis-print/customElement.js +38 -33
  408. package/dist/components/arcgis-print/types.d.ts +40 -0
  409. package/dist/components/arcgis-print/utils.d.ts +1 -1
  410. package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
  411. package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
  412. package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
  413. package/dist/components/arcgis-print-export-button/customElement.js +4 -5
  414. package/dist/components/arcgis-print-exported-link/customElement.d.ts +1 -1
  415. package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
  416. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +1 -1
  417. package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
  418. package/dist/components/arcgis-print-format-select/customElement.d.ts +1 -1
  419. package/dist/components/arcgis-print-format-select/customElement.js +3 -3
  420. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
  421. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
  422. package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
  423. package/dist/components/arcgis-print-main-panel/customElement.d.ts +2 -8
  424. package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
  425. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
  426. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
  427. package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
  428. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
  429. package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
  430. package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
  431. package/dist/components/arcgis-print-template-select/customElement.js +11 -12
  432. package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
  433. package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
  434. package/dist/components/arcgis-scale-bar/customElement.js +3 -3
  435. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
  436. package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
  437. package/dist/components/arcgis-scene/customElement.d.ts +144 -81
  438. package/dist/components/arcgis-scene/customElement.js +28 -17
  439. package/dist/components/arcgis-search/customElement.d.ts +52 -16
  440. package/dist/components/arcgis-search/customElement.js +41 -38
  441. package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
  442. package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
  443. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  444. package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
  445. package/dist/components/arcgis-sketch/customElement.js +27 -19
  446. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
  447. package/dist/components/arcgis-slice/customElement.d.ts +77 -18
  448. package/dist/components/arcgis-slice/customElement.js +32 -41
  449. package/dist/components/arcgis-slider/customElement.d.ts +5 -0
  450. package/dist/components/arcgis-slider/customElement.js +2 -2
  451. package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
  452. package/dist/components/arcgis-swipe/customElement.js +43 -44
  453. package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
  454. package/dist/components/arcgis-table-list/customElement.js +2 -2
  455. package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
  456. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  457. package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
  458. package/dist/components/arcgis-time-zone-label/customElement.js +10 -11
  459. package/dist/components/arcgis-track/customElement.d.ts +26 -9
  460. package/dist/components/arcgis-track/customElement.js +14 -15
  461. package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
  462. package/dist/components/arcgis-unit-select/customElement.js +22 -16
  463. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
  464. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  465. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
  466. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  467. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
  468. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  469. package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
  470. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  471. package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
  472. package/dist/components/arcgis-version-management/customElement.js +49 -51
  473. package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
  474. package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
  475. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
  476. package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
  477. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
  478. package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
  479. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
  480. package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
  481. package/dist/components/arcgis-video/customElement.d.ts +27 -10
  482. package/dist/components/arcgis-video/customElement.js +15 -24
  483. package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
  484. package/dist/components/arcgis-video-player/customElement.js +38 -32
  485. package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
  486. package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
  487. package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
  488. package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
  489. package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
  490. package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
  491. package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
  492. package/dist/components/arcgis-weather/customElement.d.ts +52 -3
  493. package/dist/components/arcgis-weather/customElement.js +16 -17
  494. package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
  495. package/dist/components/arcgis-zoom/customElement.js +11 -12
  496. package/dist/controllers/Handles.d.ts +2 -2
  497. package/dist/controllers/useHandles.d.ts +4 -4
  498. package/dist/docs/api.json +2220 -656
  499. package/dist/docs/docs.json +2021 -863
  500. package/dist/docs/vscode.html-custom-data.json +319 -135
  501. package/dist/docs/web-types.json +680 -322
  502. package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
  503. package/dist/index.d.ts +7 -3
  504. package/dist/index.js +1 -1
  505. package/dist/loader.js +26 -20
  506. package/dist/support/heading.d.ts +2 -1
  507. package/dist/types/lumina.d.ts +23 -18
  508. package/dist/types/preact.d.ts +23 -18
  509. package/dist/types/react.d.ts +23 -18
  510. package/dist/types/stencil.d.ts +23 -18
  511. package/dist/utils/chart-utils.d.ts +6 -0
  512. package/dist/utils/feature-utils.d.ts +33 -0
  513. package/dist/utils/related-feature-utils.d.ts +6 -0
  514. package/dist/utils/uri-utils.d.ts +4 -0
  515. package/package.json +6 -4
  516. package/dist/cdn/24BGG5B5.js +0 -4
  517. package/dist/cdn/2ABLOYUQ.js +0 -4
  518. package/dist/cdn/2MCSN6B6.js +0 -4
  519. package/dist/cdn/2O4Y7OHR.js +0 -4
  520. package/dist/cdn/2TWTTB4C.js +0 -4
  521. package/dist/cdn/2UUPIIJ2.js +0 -4
  522. package/dist/cdn/3JRMNN7J.js +0 -4
  523. package/dist/cdn/3PIZQW3M.js +0 -4
  524. package/dist/cdn/3TK75HC6.js +0 -4
  525. package/dist/cdn/4O62D3XH.js +0 -4
  526. package/dist/cdn/4WF35OVZ.js +0 -4
  527. package/dist/cdn/544SB4EK.js +0 -4
  528. package/dist/cdn/5AZ345NY.js +0 -4
  529. package/dist/cdn/5DVI4EBY.js +0 -4
  530. package/dist/cdn/64ECRPXA.js +0 -4
  531. package/dist/cdn/6CDNOZQF.js +0 -4
  532. package/dist/cdn/6SCGGHDS.js +0 -4
  533. package/dist/cdn/7LOOJUA4.js +0 -4
  534. package/dist/cdn/7Q2LH4TM.js +0 -4
  535. package/dist/cdn/7X5UWWAM.js +0 -4
  536. package/dist/cdn/A2GEUHD7.js +0 -4
  537. package/dist/cdn/BMYPLHTO.js +0 -4
  538. package/dist/cdn/BOBGF74Z.js +0 -4
  539. package/dist/cdn/CEY2DMIN.js +0 -4
  540. package/dist/cdn/CQG33CHS.js +0 -4
  541. package/dist/cdn/DB2RVFYE.js +0 -4
  542. package/dist/cdn/DCAIQVAC.js +0 -4
  543. package/dist/cdn/EDF5YBMS.js +0 -4
  544. package/dist/cdn/EE2WJOUL.js +0 -4
  545. package/dist/cdn/EFPP35S3.js +0 -4
  546. package/dist/cdn/ETTC3DDE.js +0 -4
  547. package/dist/cdn/EZXIFOKP.js +0 -4
  548. package/dist/cdn/FDO7BW3M.js +0 -4
  549. package/dist/cdn/FIIIUSQA.js +0 -4
  550. package/dist/cdn/FIQDTOHK.js +0 -4
  551. package/dist/cdn/FIRY4NWS.js +0 -4
  552. package/dist/cdn/FKYCCKL6.js +0 -4
  553. package/dist/cdn/G7FI7ZEJ.js +0 -4
  554. package/dist/cdn/GTFZYBLH.js +0 -4
  555. package/dist/cdn/H7WRFI2D.js +0 -4
  556. package/dist/cdn/HGHOHO2E.js +0 -4
  557. package/dist/cdn/HHKEZDYI.js +0 -4
  558. package/dist/cdn/HI5YGVEU.js +0 -4
  559. package/dist/cdn/HVHKTHJR.js +0 -4
  560. package/dist/cdn/I4UJICTJ.js +0 -4
  561. package/dist/cdn/IDRJHSB4.js +0 -4
  562. package/dist/cdn/INXLPBES.js +0 -4
  563. package/dist/cdn/IPSPJR6H.js +0 -4
  564. package/dist/cdn/J3TNLK3O.js +0 -4
  565. package/dist/cdn/JEGU6LY5.js +0 -4
  566. package/dist/cdn/JPHNAFYX.js +0 -4
  567. package/dist/cdn/JWHVUXI7.js +0 -4
  568. package/dist/cdn/JXEJ2FDT.js +0 -4
  569. package/dist/cdn/K667RV3F.js +0 -4
  570. package/dist/cdn/KHHWOKDH.js +0 -4
  571. package/dist/cdn/KWXFVL5O.js +0 -4
  572. package/dist/cdn/LNC2FBRF.js +0 -4
  573. package/dist/cdn/LX2VKBL5.js +0 -4
  574. package/dist/cdn/LZ4SDJU4.js +0 -4
  575. package/dist/cdn/M42LA7QJ.js +0 -4
  576. package/dist/cdn/MHF4R4QG.js +0 -4
  577. package/dist/cdn/MHXI4R7Q.js +0 -6
  578. package/dist/cdn/MT6FGRRO.js +0 -4
  579. package/dist/cdn/MTJFO22N.js +0 -4
  580. package/dist/cdn/MWH2P5CL.js +0 -4
  581. package/dist/cdn/MWRQZLPR.js +0 -4
  582. package/dist/cdn/MZJOI5UH.js +0 -4
  583. package/dist/cdn/O2E4MNME.js +0 -4
  584. package/dist/cdn/O7NRUX5I.js +0 -4
  585. package/dist/cdn/OLDX3JZA.js +0 -4
  586. package/dist/cdn/OMQCMWFC.js +0 -4
  587. package/dist/cdn/OQ4Q4IIJ.js +0 -4
  588. package/dist/cdn/OSKGVTTW.js +0 -4
  589. package/dist/cdn/OVXJMGHR.js +0 -4
  590. package/dist/cdn/P2BRHVAB.js +0 -4
  591. package/dist/cdn/PQ3OUY5L.js +0 -4
  592. package/dist/cdn/PVTCJ67N.js +0 -4
  593. package/dist/cdn/RC2PKLFD.js +0 -4
  594. package/dist/cdn/RLYPTZW6.js +0 -4
  595. package/dist/cdn/RRJG3CW4.js +0 -4
  596. package/dist/cdn/SRXUA5WQ.js +0 -4
  597. package/dist/cdn/T5RGPAAI.js +0 -4
  598. package/dist/cdn/TEBWJ3I7.js +0 -4
  599. package/dist/cdn/TISZTZQL.js +0 -4
  600. package/dist/cdn/UF2KELUQ.js +0 -4
  601. package/dist/cdn/UF5A7HCA.js +0 -4
  602. package/dist/cdn/UKX6JNY3.js +0 -4
  603. package/dist/cdn/UPUPF3OI.js +0 -4
  604. package/dist/cdn/V5FW6B4I.js +0 -4
  605. package/dist/cdn/VF2Y76QB.js +0 -4
  606. package/dist/cdn/W425S3CR.js +0 -4
  607. package/dist/cdn/WE4HRX3B.js +0 -4
  608. package/dist/cdn/X7HXAK7T.js +0 -4
  609. package/dist/cdn/XBWRLYN4.js +0 -4
  610. package/dist/cdn/XIHWMEJG.js +0 -4
  611. package/dist/cdn/YGTIT746.js +0 -4
  612. package/dist/cdn/YJLPPO4D.js +0 -4
  613. package/dist/cdn/YTVNHZ2T.js +0 -4
  614. package/dist/cdn/YZO4MONH.js +0 -4
  615. package/dist/cdn/ZPQ7DJV3.js +0 -4
@@ -0,0 +1,37 @@
1
+ import { c as e } from "../../chunks/runtime.js";
2
+ import { css as s, html as t } from "lit";
3
+ import { LitElement as a, noShadowRoot as i, safeClassMap as n } from "@arcgis/lumina";
4
+ import { createRef as h, ref as c } from "lit-html/directives/ref.js";
5
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
+ See https://js.arcgis.com/4.34/esri/copyright.txt for details.
7
+ v4.34.0-next.51 */
8
+ const r = s`@layer{arcgis-feature-attachments{display:block}}`, o = "arcgis-feature-attachments", m = {
9
+ base: o
10
+ };
11
+ class d extends a {
12
+ constructor() {
13
+ super(...arguments), this._attachmentsRef = h(), this.hideSection = !1, this.attachmentsLength = 0, this.headingLevel = 2;
14
+ }
15
+ static {
16
+ this.properties = { hideSection: 16, attachmentsLength: 16, state: 16, description: 1, displayType: 1, graphic: 0, heading: 1, headingLevel: 9, messages: 0 };
17
+ }
18
+ static {
19
+ this.styles = r;
20
+ }
21
+ static {
22
+ this.shadowRootOptions = i;
23
+ }
24
+ _updateAttachmentsState() {
25
+ this.state = this._attachmentsRef.value?.state, this.attachmentsLength = this._attachmentsRef.value?.attachmentInfos?.length ?? 0;
26
+ }
27
+ render() {
28
+ return t`<div class=${n(m.base)}>${this.renderContent()}</div>`;
29
+ }
30
+ renderContent() {
31
+ return t`<div .hidden=${!(this.state === "loading" || this.attachmentsLength > 0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} ${c(this._attachmentsRef)}></arcgis-attachments></div>`;
32
+ }
33
+ }
34
+ e("arcgis-feature-attachments", d);
35
+ export {
36
+ d as ArcgisFeatureAttachments
37
+ };
@@ -0,0 +1,3 @@
1
+ import "../arcgis-feature-element-info/index.js";
2
+ import "../arcgis-attachments/index.js";
3
+ export * from "./customElement.js";
@@ -0,0 +1,3 @@
1
+ import "../arcgis-feature-element-info/index.js";
2
+ import "../arcgis-attachments/index.js";
3
+ export * from "./customElement.js";
@@ -0,0 +1,11 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ /// <reference types="../../index.d.ts" />
3
+ import { Nil } from '@arcgis/components-utils';
4
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
5
+
6
+ /** @private */
7
+ export declare class ArcgisFeatureContent extends LitElement {
8
+ creator?: __esri.PopupTemplateContent | __esri.PopupTemplateContentCreator | Promise<__esri.PopupTemplateContent>;
9
+ destroyer?: __esri.PopupTemplateContentDestroyer;
10
+ graphic?: __esri.Graphic;
11
+ }
@@ -0,0 +1,65 @@
1
+ import { c as l } from "../../chunks/runtime.js";
2
+ import { css as g, html as r } from "lit";
3
+ import { ref as f } from "lit/directives/ref.js";
4
+ import { LitElement as d, noShadowRoot as h, safeClassMap as i } from "@arcgis/lumina";
5
+ import { j as n, h as u } from "../../chunks/feature-utils.js";
6
+ import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
7
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
+ See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
+ v4.34.0-next.51 */
10
+ const p = g`@layer{arcgis-feature-content{display:block}.arcgis-feature-content__loader-container{display:flex;align-items:center;justify-content:center;padding:0;height:150px}.arcgis-feature-content{font-size:var(--calcite-font-size-md)}.arcgis-feature-content h1,.arcgis-feature-content h2,.arcgis-feature-content h3,.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{margin:var(--calcite-spacing-sm) 0;line-height:normal;letter-spacing:0;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-semibold)}.arcgis-feature-content h1{font-size:var(--calcite-font-size-xxl)}.arcgis-feature-content h2{font-size:var(--calcite-font-size-xl)}.arcgis-feature-content h3{font-size:var(--calcite-font-size-lg)}.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{font-size:var(--calcite-font-size)}.arcgis-widget__heading.arcgis-feature-element-info__title{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-lg);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-content p{margin:0 0 var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular)}.arcgis-feature-content p:last-child{margin-block-end:0}.arcgis-feature-content img{max-width:100%;max-height:100%;image-orientation:from-image}.arcgis-feature-content video{max-width:100%;max-height:100%}.arcgis-feature-content figure{margin:0;padding:0}.arcgis-feature-content figcaption{display:block;margin:var(--calcite-spacing-xs) 0 0;padding:0;font-size:var(--calcite-font-size-sm);font-style:italic}.arcgis-feature-content ul,.arcgis-feature-content ol{margin-block:var(--calcite-spacing-sm)}.arcgis-feature-content ul:first-child,.arcgis-feature-content ol:first-child{margin-block-start:0}.arcgis-feature-content a,.arcgis-feature-content a:hover,.arcgis-feature-content a:focus{color:var(--calcite-color-text-link)}}`, c = "arcgis-feature-content", o = {
11
+ base: c,
12
+ loaderContainer: `${c}__loader-container`
13
+ };
14
+ class v extends d {
15
+ static {
16
+ this.properties = { _loadingPromise: 16, _created: 16, creator: 1, destroyer: 0, graphic: 0 };
17
+ }
18
+ static {
19
+ this.styles = p;
20
+ }
21
+ static {
22
+ this.shadowRootOptions = h;
23
+ }
24
+ loaded() {
25
+ this.manager.onLifecycle(() => m(() => this.creator, (t) => {
26
+ this._destroyContent(), this._createContent(t);
27
+ }, { initial: !0 }));
28
+ }
29
+ async _createContent(t) {
30
+ const { graphic: e } = this;
31
+ if (!e || !t)
32
+ return;
33
+ const a = n({
34
+ type: "content",
35
+ value: t,
36
+ event: { graphic: e }
37
+ });
38
+ this._loadingPromise = a;
39
+ const s = await a;
40
+ a === this._loadingPromise && (this._loadingPromise = void 0, this._created = s);
41
+ }
42
+ _destroyContent() {
43
+ const { _created: t, graphic: e, destroyer: a } = this;
44
+ t && e && (n({ type: "content", value: a, event: { graphic: e } }), this._created = null);
45
+ }
46
+ _addTargetToAnchors(t) {
47
+ t && Array.from(t.querySelectorAll("a")).forEach((e) => {
48
+ u(e.href) && !e.hasAttribute("target") && e.setAttribute("target", "_blank");
49
+ });
50
+ }
51
+ render() {
52
+ return r`<div class=${i(o.base)}>${this._loadingPromise ? this._renderLoading() : this._renderCreated()}</div>`;
53
+ }
54
+ _renderLoading() {
55
+ return r`<div class=${i(o.loaderContainer)}><calcite-loader inline label></calcite-loader></div>`;
56
+ }
57
+ _renderCreated() {
58
+ const { _created: t } = this;
59
+ return t instanceof HTMLElement ? t : typeof t == "string" ? r`<div .innerHTML=${t ?? ""} ${f(this._addTargetToAnchors)}></div>` : null;
60
+ }
61
+ }
62
+ l("arcgis-feature-content", v);
63
+ export {
64
+ v as ArcgisFeatureContent
65
+ };
@@ -0,0 +1,2 @@
1
+ import "@esri/calcite-components/components/calcite-loader";
2
+ export * from "./customElement.js";
@@ -0,0 +1,2 @@
1
+ import "@esri/calcite-components/components/calcite-loader";
2
+ export * from "./customElement.js";
@@ -0,0 +1,11 @@
1
+ /// <reference types="../../index.d.ts" />
2
+ import { HeadingLevel } from '../../support/heading';
3
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
+
5
+ /** @private */
6
+ export declare class ArcgisFeatureElementInfo extends LitElement {
7
+ description?: string;
8
+ /** @default 2 */
9
+ headingLevel: HeadingLevel;
10
+ heading?: string;
11
+ }
@@ -0,0 +1,42 @@
1
+ import { c as a } from "../../chunks/runtime.js";
2
+ import { css as o, html as i } from "lit";
3
+ import { H as c } from "../../chunks/heading.js";
4
+ import { LitElement as l, noShadowRoot as d, safeClassMap as s } from "@arcgis/lumina";
5
+ import { renderingSanitizer as r } from "@arcgis/core/applications/Components/sanitizerUtils.js";
6
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
+ See https://js.arcgis.com/4.34/esri/copyright.txt for details.
8
+ v4.34.0-next.51 */
9
+ const g = o`@layer{arcgis-feature-element-info{display:block}.arcgis-feature-element-info__heading{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-sm);font-size:var(--calcite-font-line-height-fixed-base);font-weight:var(--calcite-font-weight-regular)}}`, t = "arcgis-feature-element-info", n = {
10
+ base: t,
11
+ heading: `${t}__heading`,
12
+ description: `${t}__description`
13
+ };
14
+ class h extends l {
15
+ constructor() {
16
+ super(...arguments), this.headingLevel = 2;
17
+ }
18
+ static {
19
+ this.properties = { description: 1, headingLevel: 9, heading: 1 };
20
+ }
21
+ static {
22
+ this.styles = g;
23
+ }
24
+ static {
25
+ this.shadowRootOptions = d;
26
+ }
27
+ render() {
28
+ return i`<div class=${s(n.base)}>${this._renderHeading()}${this._renderDescription()}</div>`;
29
+ }
30
+ _renderHeading() {
31
+ const { heading: e } = this;
32
+ return e ? c({ class: n.heading, level: this.headingLevel, excludeGlobalCss: !0, children: i`<div .innerHTML=${r.sanitize(e) ?? ""}></div>` }) : null;
33
+ }
34
+ _renderDescription() {
35
+ const { description: e } = this;
36
+ return e ? i`<div class=${s(n.description)} .innerHTML=${r.sanitize(e) ?? ""}></div>` : null;
37
+ }
38
+ }
39
+ a("arcgis-feature-element-info", h);
40
+ export {
41
+ h as ArcgisFeatureElementInfo
42
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1,21 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ /// <reference types="../../index.d.ts" />
3
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
+ import { HeadingLevel } from '../../support/heading';
5
+ import { ArcgisFeature } from '../arcgis-feature/customElement.js';
6
+
7
+ /** @private */
8
+ export declare class ArcgisFeatureExpression extends LitElement {
9
+ values?: HashMap<number | string>;
10
+ fieldInfoMap?: Map<string, __esri.FieldInfo>;
11
+ expressionInfo?: __esri.ElementExpressionInfo;
12
+ graphic?: __esri.Graphic;
13
+ /** @default 2 */
14
+ headingLevel: HeadingLevel;
15
+ interceptor?: __esri.RequestInterceptor;
16
+ location?: __esri.Point;
17
+ messages?: ArcgisFeature["messages"];
18
+ spatialReference?: __esri.SpatialReference;
19
+ map?: __esri.Map;
20
+ view?: __esri.View;
21
+ }
@@ -0,0 +1,248 @@
1
+ import { c as G } from "../../chunks/runtime.js";
2
+ import { css as X, html as v } from "lit";
3
+ import { LitElement as D, noShadowRoot as H, safeClassMap as O } from "@arcgis/lumina";
4
+ import { watch as q, when as z } from "@arcgis/core/core/reactiveUtils.js";
5
+ import { a as $ } from "../../chunks/maybe.js";
6
+ import { c as w, t as I } from "../../chunks/async-utils.js";
7
+ import K from "@arcgis/core/popup/content/MediaContent.js";
8
+ import Q from "@arcgis/core/popup/content/FieldsContent.js";
9
+ import Y from "@arcgis/core/popup/content/TextContent.js";
10
+ import { compileExpression as Z } from "@arcgis/core/applications/Components/arcadeFeatureUtils.js";
11
+ import { s as ee } from "../../chunks/feature-utils.js";
12
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
+ See https://js.arcgis.com/4.34/esri/copyright.txt for details.
14
+ v4.34.0-next.51 */
15
+ var te = typeof global == "object" && global && global.Object === Object && global, ne = typeof self == "object" && self && self.Object === Object && self, W = te || ne || Function("return this")(), b = W.Symbol, J = Object.prototype, ie = J.hasOwnProperty, re = J.toString, T = b ? b.toStringTag : void 0;
16
+ function ae(e) {
17
+ var t = ie.call(e, T), i = e[T];
18
+ try {
19
+ e[T] = void 0;
20
+ var n = !0;
21
+ } catch {
22
+ }
23
+ var r = re.call(e);
24
+ return n && (t ? e[T] = i : delete e[T]), r;
25
+ }
26
+ var se = Object.prototype, oe = se.toString;
27
+ function le(e) {
28
+ return oe.call(e);
29
+ }
30
+ var ce = "[object Null]", fe = "[object Undefined]", L = b ? b.toStringTag : void 0;
31
+ function ue(e) {
32
+ return e == null ? e === void 0 ? fe : ce : L && L in Object(e) ? ae(e) : le(e);
33
+ }
34
+ function de(e) {
35
+ return e != null && typeof e == "object";
36
+ }
37
+ var me = "[object Symbol]";
38
+ function pe(e) {
39
+ return typeof e == "symbol" || de(e) && ue(e) == me;
40
+ }
41
+ var he = /\s/;
42
+ function ge(e) {
43
+ for (var t = e.length; t-- && he.test(e.charAt(t)); )
44
+ ;
45
+ return t;
46
+ }
47
+ var ve = /^\s+/;
48
+ function Te(e) {
49
+ return e && e.slice(0, ge(e) + 1).replace(ve, "");
50
+ }
51
+ function x(e) {
52
+ var t = typeof e;
53
+ return e != null && (t == "object" || t == "function");
54
+ }
55
+ var C = NaN, ye = /^[-+]0x[0-9a-f]+$/i, be = /^0b[01]+$/i, xe = /^0o[0-7]+$/i, _e = parseInt;
56
+ function A(e) {
57
+ if (typeof e == "number")
58
+ return e;
59
+ if (pe(e))
60
+ return C;
61
+ if (x(e)) {
62
+ var t = typeof e.valueOf == "function" ? e.valueOf() : e;
63
+ e = x(t) ? t + "" : t;
64
+ }
65
+ if (typeof e != "string")
66
+ return e === 0 ? e : +e;
67
+ e = Te(e);
68
+ var i = be.test(e);
69
+ return i || xe.test(e) ? _e(e.slice(2), i ? 2 : 8) : ye.test(e) ? C : +e;
70
+ }
71
+ var k = function() {
72
+ return W.Date.now();
73
+ }, $e = "Expected a function", Ie = Math.max, ke = Math.min;
74
+ function Se(e, t, i) {
75
+ var n, r, o, l, a, c, u = 0, h = !1, d = !1, p = !0;
76
+ if (typeof e != "function")
77
+ throw new TypeError($e);
78
+ t = A(t) || 0, x(i) && (h = !!i.leading, d = "maxWait" in i, o = d ? Ie(A(i.maxWait) || 0, t) : o, p = "trailing" in i ? !!i.trailing : p);
79
+ function f(s) {
80
+ var m = n, g = r;
81
+ return n = r = void 0, u = s, l = e.apply(g, m), l;
82
+ }
83
+ function P(s) {
84
+ return u = s, a = setTimeout(y, t), h ? f(s) : l;
85
+ }
86
+ function V(s) {
87
+ var m = s - c, g = s - u, E = t - m;
88
+ return d ? ke(E, o - g) : E;
89
+ }
90
+ function S(s) {
91
+ var m = s - c, g = s - u;
92
+ return c === void 0 || m >= t || m < 0 || d && g >= o;
93
+ }
94
+ function y() {
95
+ var s = k();
96
+ if (S(s))
97
+ return j(s);
98
+ a = setTimeout(y, V(s));
99
+ }
100
+ function j(s) {
101
+ return a = void 0, p && n ? f(s) : (n = r = void 0, l);
102
+ }
103
+ function B() {
104
+ a !== void 0 && clearTimeout(a), u = 0, n = c = r = a = void 0;
105
+ }
106
+ function U() {
107
+ return a === void 0 ? l : j(k());
108
+ }
109
+ function _() {
110
+ var s = k(), m = S(s);
111
+ if (n = arguments, r = this, c = s, m) {
112
+ if (a === void 0)
113
+ return P(c);
114
+ if (d)
115
+ return clearTimeout(a), a = setTimeout(y, t), f(c);
116
+ }
117
+ return a === void 0 && (a = setTimeout(y, t)), l;
118
+ }
119
+ return _.cancel = B, _.flush = U, _;
120
+ }
121
+ var je = "Expected a function";
122
+ function R(e, t, i) {
123
+ var n = !0, r = !0;
124
+ if (typeof e != "function")
125
+ throw new TypeError(je);
126
+ return x(i) && (n = "leading" in i ? !!i.leading : n, r = "trailing" in i ? !!i.trailing : r), Se(e, t, {
127
+ leading: n,
128
+ maxWait: t,
129
+ trailing: r
130
+ });
131
+ }
132
+ const Ee = X`@layer{arcgis-feature-expression{display:block}.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}}`, M = 1, N = "arcgis-feature", F = {
133
+ // widget
134
+ base: `${N}-expression`,
135
+ // loading
136
+ loadingSpinnerContainer: `${N}__loading-container`
137
+ };
138
+ class Oe extends D {
139
+ constructor() {
140
+ super(...arguments), this._compileThrottled = R(this._startCompile, M), this._evaluateThrottled = R(this._startEvaluate, M), this.headingLevel = 2;
141
+ }
142
+ static {
143
+ this.properties = { _compileTask: 16, _evaluateTask: 16, values: 0, fieldInfoMap: 0, expressionInfo: 0, graphic: 0, headingLevel: 9, interceptor: 0, location: 0, messages: 0, spatialReference: 0, map: 0, view: 0 };
144
+ }
145
+ static {
146
+ this.styles = Ee;
147
+ }
148
+ static {
149
+ this.shadowRootOptions = H;
150
+ }
151
+ loaded() {
152
+ this.manager.onLifecycle(() => [
153
+ q(() => [this.expressionInfo, this.graphic], () => this._compileThrottled(), { initial: !0 }),
154
+ z(() => {
155
+ if (!this._compileTask?.finished)
156
+ return null;
157
+ const t = this._compileTask.value, i = t?.dependencies, { view: n } = this;
158
+ return [
159
+ t,
160
+ this.spatialReference,
161
+ this.map,
162
+ n,
163
+ i?.has("view-scale") && n && "scale" in n ? n.scale : null,
164
+ i?.has("view-time-extent") ? n?.timeExtent?.start : null,
165
+ i?.has("view-time-extent") ? n?.timeExtent?.end : null
166
+ ];
167
+ }, ([t]) => this._evaluateThrottled(t)),
168
+ {
169
+ remove: () => this._cancelThrottles()
170
+ }
171
+ ]);
172
+ }
173
+ _cancelThrottles() {
174
+ this._compileThrottled.cancel(), this._evaluateThrottled.cancel();
175
+ }
176
+ _startCompile() {
177
+ this._evaluateTask = $(this._evaluateTask), this._compileTask = $(this._compileTask), this._compileTask = w(async (t) => {
178
+ const { expressionInfo: i, graphic: n } = this, r = i?.expression;
179
+ if (!r || !n)
180
+ return null;
181
+ const o = await Z({
182
+ expression: r,
183
+ graphic: n
184
+ });
185
+ return I(t), o;
186
+ });
187
+ }
188
+ _startEvaluate(t) {
189
+ this._evaluateTask = $(this._evaluateTask), this._evaluateTask = w(async (i) => {
190
+ const { graphic: n } = this;
191
+ if (!t || !n)
192
+ return null;
193
+ const { interceptor: r, spatialReference: o, map: l, location: a, view: c } = this, u = await t.evaluate({
194
+ graphic: n,
195
+ interceptor: r,
196
+ location: a,
197
+ map: l,
198
+ options: { signal: i },
199
+ spatialReference: o,
200
+ view: c
201
+ });
202
+ I(i);
203
+ const h = u && "castAsJsonAsync" in u && typeof u.castAsJsonAsync == "function" ? u : null;
204
+ if (!h)
205
+ return null;
206
+ const d = await h.castAsJsonAsync(i);
207
+ I(i);
208
+ const p = d?.type, f = p === "media" ? K.fromJSON(d) : p === "text" ? Y.fromJSON(d) : p === "fields" ? Q.fromJSON(d) : null;
209
+ return !f || f.type === "media" && !f.mediaInfos || f.type === "fields" && !f.fieldInfos || f.type === "text" && !f.text ? null : f;
210
+ });
211
+ }
212
+ render() {
213
+ const t = !this._compileTask?.finished || !this._evaluateTask?.finished;
214
+ return v`<div class=${O(F.base)}>${t ? this._renderLoading() : this._evaluateTask?.value ? this._renderContent() : null}</div>`;
215
+ }
216
+ _renderContent() {
217
+ const { values: t, fieldInfoMap: i } = this, n = this._evaluateTask?.value, r = n?.type;
218
+ if (!r)
219
+ return null;
220
+ if (r === "text") {
221
+ const o = ee({
222
+ values: t,
223
+ fieldInfoMap: i ?? /* @__PURE__ */ new Map(),
224
+ globalValues: t ?? {},
225
+ layer: void 0,
226
+ text: n.text
227
+ });
228
+ return v`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`;
229
+ } else if (r === "media") {
230
+ const { title: o, description: l, mediaInfos: a } = n;
231
+ if (!a?.length)
232
+ return null;
233
+ const c = { ...t, ...n.attributes };
234
+ return v`<arcgis-feature-media .heading=${o ?? ""} .values=${c} .formattedValues=${c} .description=${l ?? ""} .mediaInfos=${a} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`;
235
+ } else if (r === "fields") {
236
+ const { title: o, description: l, fieldInfos: a } = n;
237
+ return a?.length ? v`<arcgis-feature-fields .fieldInfos=${a} .heading=${o ?? ""} .description=${l ?? ""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>` : null;
238
+ }
239
+ return null;
240
+ }
241
+ _renderLoading() {
242
+ return v`<div class=${O(F.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`;
243
+ }
244
+ }
245
+ G("arcgis-feature-expression", Oe);
246
+ export {
247
+ Oe as ArcgisFeatureExpression
248
+ };
@@ -0,0 +1,5 @@
1
+ import "../arcgis-feature-content/index.js";
2
+ import "../arcgis-feature-media/index.js";
3
+ import "../arcgis-feature-fields/index.js";
4
+ import "@esri/calcite-components/components/calcite-loader";
5
+ export * from "./customElement.js";
@@ -0,0 +1,5 @@
1
+ import "../arcgis-feature-content/index.js";
2
+ import "../arcgis-feature-media/index.js";
3
+ import "../arcgis-feature-fields/index.js";
4
+ import "@esri/calcite-components/components/calcite-loader";
5
+ export * from "./customElement.js";
@@ -0,0 +1,17 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ /// <reference types="../../index.d.ts" />
3
+ import { HeadingLevel } from '../../support/heading';
4
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
5
+ import { ArcgisFeature } from '../arcgis-feature/customElement.js';
6
+
7
+ /** @private */
8
+ export declare class ArcgisFeatureFields extends LitElement {
9
+ values?: HashMap<number | string>;
10
+ description?: string;
11
+ expressionInfos?: __esri.ExpressionInfo[];
12
+ fieldInfos?: __esri.FieldInfo[];
13
+ heading?: string;
14
+ /** @default 2 */
15
+ headingLevel: HeadingLevel;
16
+ messages?: ArcgisFeature["messages"];
17
+ }
@@ -0,0 +1,142 @@
1
+ import { c as u } from "../../chunks/runtime.js";
2
+ import { css as b, html as n } from "lit";
3
+ import { addLTRMark as h } from "@arcgis/components-utils";
4
+ import { LitElement as $, noShadowRoot as v, safeClassMap as d } from "@arcgis/lumina";
5
+ import { renderingSanitizer as p } from "@arcgis/core/applications/Components/sanitizerUtils.js";
6
+ import { replace as f } from "@arcgis/core/applications/Components/stringUtils.js";
7
+ import { e as _ } from "../../chunks/feature-utils.js";
8
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
+ See https://js.arcgis.com/4.34/esri/copyright.txt for details.
10
+ v4.34.0-next.51 */
11
+ const w = [
12
+ {
13
+ pattern: /^\s*(https?:\/\/([^\s]+))\s*$/iu,
14
+ target: "_blank",
15
+ label: "{messages.view}"
16
+ },
17
+ {
18
+ pattern: /^\s*(tel:([^\s]+))\s*$/iu,
19
+ label: "{hierPart}"
20
+ },
21
+ {
22
+ pattern: /^\s*(mailto:([^\s]+))\s*$/iu,
23
+ label: "{hierPart}"
24
+ },
25
+ // ArcGIS Apps
26
+ {
27
+ pattern: /^\s*(arcgis-appstudio-player:\/\/([^\s]+))\s*$/iu,
28
+ label: "{messages.openInApp}",
29
+ appName: "App Studio Player"
30
+ },
31
+ {
32
+ pattern: /^\s*(arcgis-collector:\/\/([^\s]+))\s*$/iu,
33
+ label: "{messages.openInApp}",
34
+ appName: "Collector"
35
+ },
36
+ {
37
+ pattern: /^\s*(arcgis-explorer:\/\/([^\s]+))\s*$/iu,
38
+ label: "{messages.openInApp}",
39
+ appName: "Explorer"
40
+ },
41
+ {
42
+ pattern: /^\s*(arcgis-navigator:\/\/([^\s]+))\s*$/iu,
43
+ label: "{messages.openInApp}",
44
+ appName: "Navigator"
45
+ },
46
+ {
47
+ pattern: /^\s*(arcgis-survey123:\/\/([^\s]+))\s*$/iu,
48
+ label: "{messages.openInApp}",
49
+ appName: "Survey123"
50
+ },
51
+ {
52
+ pattern: /^\s*(arcgis-trek2there:\/\/([^\s]+))\s*$/iu,
53
+ label: "{messages.openInApp}",
54
+ appName: "Trek2There"
55
+ },
56
+ {
57
+ pattern: /^\s*(arcgis-workforce:\/\/([^\s]+))\s*$/iu,
58
+ label: "{messages.openInApp}",
59
+ appName: "Workforce"
60
+ },
61
+ // Third-Party Apps
62
+ {
63
+ pattern: /^\s*(iform:\/\/([^\s]+))\s*$/iu,
64
+ label: "{messages.openInApp}",
65
+ appName: "iForm"
66
+ },
67
+ {
68
+ pattern: /^\s*(flow:\/\/([^\s]+))\s*$/iu,
69
+ label: "{messages.openInApp}",
70
+ appName: "FlowFinity"
71
+ },
72
+ {
73
+ pattern: /^\s*(lfmobile:\/\/([^\s]+))\s*$/iu,
74
+ label: "{messages.openInApp}",
75
+ appName: "Laserfische"
76
+ },
77
+ {
78
+ pattern: /^\s*(mspbi:\/\/([^\s]+))\s*$/iu,
79
+ label: "{messages.openInApp}",
80
+ appName: "Microsoft Power Bi"
81
+ }
82
+ ];
83
+ function I(c, t) {
84
+ const e = w.find((l) => l.pattern.test(t));
85
+ if (!e)
86
+ return t;
87
+ const r = t.match(e.pattern)?.[2], s = f(
88
+ f(e.label, {
89
+ messages: c,
90
+ hierPart: r
91
+ }),
92
+ {
93
+ appName: e.appName
94
+ }
95
+ ), i = e.target ? ` target="${e.target}"` : "", o = e.target === "_blank" ? ' rel="noreferrer"' : "";
96
+ return p.sanitizeUrl(new URL(t, window.location.origin).toString()).replace(e.pattern, `<a${i} href="$1"${o}>${s}</a>`);
97
+ }
98
+ const F = b`@layer{arcgis-feature-fields{display:block}.arcgis-feature-fields__table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.arcgis-feature-fields__table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.arcgis-feature-fields__table tr:nth-child(odd){background-color:var(--calcite-color-foreground-1)}.arcgis-feature-fields__table tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}.arcgis-feature-fields__table tr a{color:var(--calcite-color-text-link)}.arcgis-feature-fields__table tr a:hover,.arcgis-feature-fields__table tr a:focus{color:var(--calcite-color-brand-hover)}.arcgis-feature-fields__table tr td,.arcgis-feature-fields__table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-fields__table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.arcgis-feature-fields__table tr td{width:50%}}`, g = "arcgis-feature-fields", m = {
99
+ base: g,
100
+ table: `${g}__table`
101
+ };
102
+ class N extends $ {
103
+ constructor() {
104
+ super(...arguments), this.headingLevel = 2;
105
+ }
106
+ static {
107
+ this.properties = { values: 0, description: 1, expressionInfos: 0, fieldInfos: 0, heading: 1, headingLevel: 9, messages: 0 };
108
+ }
109
+ static {
110
+ this.styles = F;
111
+ }
112
+ static {
113
+ this.shadowRootOptions = v;
114
+ }
115
+ get formattedFieldInfos() {
116
+ const { expressionInfos: t, fieldInfos: e } = this, a = [];
117
+ return e?.forEach((r) => {
118
+ if (!("visible" in r ? r.visible : !0))
119
+ return;
120
+ const i = r.clone();
121
+ i.label = _(i, t), a.push(i);
122
+ }), a;
123
+ }
124
+ render() {
125
+ return n`<div class=${d(m.base)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderFields()}</div>`;
126
+ }
127
+ _renderFieldInfo(t) {
128
+ const { values: e } = this, a = t.fieldName || "", r = t.label || a, s = e ? e[a] == null ? "" : e[a] : "", i = !!t.format?.dateFormat, o = {
129
+ openInApp: this.messages?.openInApp ?? "",
130
+ view: this.messages?.view ?? ""
131
+ }, l = typeof s == "number" && !i ? h(`${s}`) : typeof s == "string" ? I(o, s) : `${s}`;
132
+ return n`<tr><th .innerHTML=${p.sanitize(r) ?? ""}></th><td .innerHTML=${p.sanitize(l) ?? ""}></td></tr>`;
133
+ }
134
+ _renderFields() {
135
+ const { formattedFieldInfos: t } = this;
136
+ return t?.length ? n`<table class=${d(m.table)}><caption>${this.messages?.fieldsSummary}</caption><tbody>${t.map((e) => this._renderFieldInfo(e))}</tbody></table>` : null;
137
+ }
138
+ }
139
+ u("arcgis-feature-fields", N);
140
+ export {
141
+ N as ArcgisFeatureFields
142
+ };
@@ -0,0 +1,2 @@
1
+ import "../arcgis-feature-element-info/index.js";
2
+ export * from "./customElement.js";
@@ -0,0 +1,2 @@
1
+ import "../arcgis-feature-element-info/index.js";
2
+ export * from "./customElement.js";