@arcgis/map-components 4.34.0-next.50 → 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 (335) hide show
  1. package/dist/cdn/{GZ333KTW.js → 23HAYJDR.js} +2 -2
  2. package/dist/cdn/{NN5DZJEE.js → 2CDG6HD7.js} +2 -2
  3. package/dist/cdn/{UUZ5KPUV.js → 2EKUK755.js} +1 -1
  4. package/dist/cdn/{XTK5JLGR.js → 2LEPUYNL.js} +2 -2
  5. package/dist/cdn/{HQL7E2T6.js → 2X5HT3OR.js} +2 -2
  6. package/dist/cdn/{RR65BWBB.js → 2X7UJLWL.js} +2 -2
  7. package/dist/cdn/{VGB2AEHQ.js → 35HMSGLA.js} +2 -2
  8. package/dist/cdn/{TYUKFL7V.js → 3DPIAPJU.js} +2 -2
  9. package/dist/cdn/{Z27CF6WG.js → 3NF7FJBP.js} +2 -2
  10. package/dist/cdn/{LKDVJARU.js → 3RJTB2MQ.js} +2 -2
  11. package/dist/cdn/{XKAZZEMM.js → 44ZQIRNR.js} +2 -2
  12. package/dist/cdn/{BJ7DXLBG.js → 47QYSQQI.js} +2 -2
  13. package/dist/cdn/{SPRMAJ56.js → 47VHUNU6.js} +2 -2
  14. package/dist/cdn/{CFCNUTV7.js → 4F6FSL4T.js} +2 -2
  15. package/dist/cdn/{BYIG4A56.js → 4LPNSJCM.js} +2 -2
  16. package/dist/cdn/{N7K24QHL.js → 4SDYEIKE.js} +2 -2
  17. package/dist/cdn/{2H5QL6X7.js → 4TG2R2QU.js} +2 -2
  18. package/dist/cdn/52EMW3O2.js +4 -0
  19. package/dist/cdn/{QVFHJC6H.js → 57FQE7CG.js} +2 -2
  20. package/dist/cdn/{YYBZPUPB.js → 5FKORFL4.js} +1 -1
  21. package/dist/cdn/{ED2ELRSD.js → 5P67NND5.js} +2 -2
  22. package/dist/cdn/{2WB3VDBK.js → 5TUSCZO2.js} +1 -1
  23. package/dist/cdn/{FMJZJRW7.js → 5YR5YPEH.js} +2 -2
  24. package/dist/cdn/{TQPCCDKQ.js → 5YXRIS4X.js} +1 -1
  25. package/dist/cdn/{RXSZD3FE.js → 66PSAFAX.js} +2 -2
  26. package/dist/cdn/{ENYA3CUT.js → 6OBEVEH7.js} +2 -2
  27. package/dist/cdn/{YBP6R7CX.js → 6ODSFWYE.js} +2 -2
  28. package/dist/cdn/{V2XEX63R.js → 6OS77J7L.js} +2 -2
  29. package/dist/cdn/{C2YRACL5.js → 6OUY3XXG.js} +2 -2
  30. package/dist/cdn/{R6K42OY3.js → 6UFE5NN6.js} +2 -2
  31. package/dist/cdn/{LFAAOP6W.js → 6VF4IEDN.js} +2 -2
  32. package/dist/cdn/{ZCRRAN4X.js → 6XJKM67Q.js} +2 -2
  33. package/dist/cdn/{QAK5OEEC.js → 6ZUHPUCU.js} +2 -2
  34. package/dist/cdn/7ABP4YLG.js +5 -0
  35. package/dist/cdn/{MJAUREYK.js → 7F5MGIQN.js} +2 -2
  36. package/dist/cdn/{YNHG6MC2.js → 7KIW5BCC.js} +2 -2
  37. package/dist/cdn/{R45G45E4.js → 7OHN63MP.js} +2 -2
  38. package/dist/cdn/7PMQXZ6J.js +4 -0
  39. package/dist/cdn/7VBSLXI6.js +4 -0
  40. package/dist/cdn/{PCSSJZVF.js → ABY3EJGK.js} +2 -2
  41. package/dist/cdn/{Z2AC2NOA.js → AJOE7HMC.js} +2 -2
  42. package/dist/cdn/{5GSDGHZ3.js → ANEAZJAQ.js} +2 -2
  43. package/dist/cdn/{67DILXT3.js → AOILTLWV.js} +2 -2
  44. package/dist/cdn/{D6EDBL24.js → APLX2G3G.js} +2 -2
  45. package/dist/cdn/{APJD3H2R.js → AYT64V4O.js} +2 -2
  46. package/dist/cdn/{OSGGZ36A.js → BPKJF4BQ.js} +2 -2
  47. package/dist/cdn/{CIAKNPGH.js → BQWGRO5F.js} +2 -2
  48. package/dist/cdn/{7XPT54JR.js → CATEMY5Q.js} +2 -2
  49. package/dist/cdn/{6LSEPDH5.js → CBDJEZIQ.js} +2 -2
  50. package/dist/cdn/{5VMYC2HB.js → CL2KUYAV.js} +2 -2
  51. package/dist/cdn/{BUJKCBLN.js → CNVEHUDF.js} +2 -2
  52. package/dist/cdn/{JPGZ6LTV.js → COBMNV4T.js} +2 -2
  53. package/dist/cdn/{4ISQY7KF.js → D6C2QQQG.js} +2 -2
  54. package/dist/cdn/{ALII4L6W.js → DGOWPVSJ.js} +2 -2
  55. package/dist/cdn/{AHBYJOVM.js → DNPTHNCU.js} +2 -2
  56. package/dist/cdn/{4DUQHI6P.js → DOC7KVHO.js} +2 -2
  57. package/dist/cdn/{2OQ6OXJG.js → DQFJCFJE.js} +2 -2
  58. package/dist/cdn/{CCIJI4Q3.js → DRDEFATT.js} +2 -2
  59. package/dist/cdn/{B5N4VUXB.js → E6DQN3MY.js} +2 -2
  60. package/dist/cdn/{AI7PXAN4.js → EBPGB4PM.js} +2 -2
  61. package/dist/cdn/{S5MYJBHN.js → EKDI5BRX.js} +2 -2
  62. package/dist/cdn/{WCRDNJT5.js → ENB3QCSY.js} +2 -2
  63. package/dist/cdn/F6A67IBM.js +4 -0
  64. package/dist/cdn/{JYJEO4XX.js → FGU7NQB3.js} +2 -2
  65. package/dist/cdn/{VOKZINB7.js → FNDCY6TH.js} +2 -2
  66. package/dist/cdn/{3IUDGD65.js → FNJ522JF.js} +2 -2
  67. package/dist/cdn/{GAAU3OGF.js → FP6W6INT.js} +2 -2
  68. package/dist/cdn/{6DNNBLTS.js → FQDWKAFC.js} +2 -2
  69. package/dist/cdn/{XDG7JWMS.js → FUOB72QT.js} +2 -2
  70. package/dist/cdn/{4JDOUOBV.js → FXYAWM4G.js} +2 -2
  71. package/dist/cdn/{IZPSAWGI.js → FYTYNQJW.js} +2 -2
  72. package/dist/cdn/{C4PORT7A.js → G7MO5YNI.js} +2 -2
  73. package/dist/cdn/{HT3JKPOI.js → GAO72ICS.js} +2 -2
  74. package/dist/cdn/{PCQ7W5WT.js → GAWSZGSE.js} +2 -2
  75. package/dist/cdn/{GPA5ZUND.js → GCVFIMSI.js} +2 -2
  76. package/dist/cdn/{LKCFUBW7.js → GH5ORWDD.js} +2 -2
  77. package/dist/cdn/{LRWBSDZG.js → GLY2QNU5.js} +2 -2
  78. package/dist/cdn/{3TNNWTAT.js → GOKTRDSW.js} +2 -2
  79. package/dist/cdn/{UA2BRGBJ.js → GTEBKEBT.js} +2 -2
  80. package/dist/cdn/{W23WNNVI.js → H4XXPWYD.js} +2 -2
  81. package/dist/cdn/{NM4L7QLO.js → HBRDA6ZG.js} +2 -2
  82. package/dist/cdn/{TT5VTF6S.js → HHLBL37Q.js} +2 -2
  83. package/dist/cdn/{OTWW4QVQ.js → HNH26E33.js} +1 -1
  84. package/dist/cdn/{LGEEWJVV.js → HOBDI6JD.js} +2 -2
  85. package/dist/cdn/{QBVLPPIJ.js → HOBYGWBS.js} +2 -2
  86. package/dist/cdn/{RCVY3GBR.js → HQFAH7VM.js} +2 -2
  87. package/dist/cdn/{VSO767QL.js → HTTSJGJH.js} +2 -2
  88. package/dist/cdn/{BU57WANH.js → HW36UUHG.js} +2 -2
  89. package/dist/cdn/IKLWWK2I.js +4 -0
  90. package/dist/cdn/{WDVXB57P.js → IWDZFFZJ.js} +2 -2
  91. package/dist/cdn/{75KMGR2T.js → IWRQ325C.js} +2 -2
  92. package/dist/cdn/{V7EIWO6W.js → IZ33XLJR.js} +2 -2
  93. package/dist/cdn/{7GIELD22.js → J42NCWYZ.js} +2 -2
  94. package/dist/cdn/{NBPRSKK7.js → J7AD3VVE.js} +2 -2
  95. package/dist/cdn/{4CYKZL33.js → JEAYFG3N.js} +2 -2
  96. package/dist/cdn/{NNYT4CEU.js → JEVL26RG.js} +2 -2
  97. package/dist/cdn/{62KIHSAJ.js → JNIAYBSA.js} +2 -2
  98. package/dist/cdn/{SPJRFIG2.js → JO5V6L7X.js} +2 -2
  99. package/dist/cdn/{NWB2XYJW.js → JT2Y2CFS.js} +2 -2
  100. package/dist/cdn/{5KHZOBUA.js → K66BYPYZ.js} +2 -2
  101. package/dist/cdn/{BQVV32YK.js → K6AWFSFK.js} +2 -2
  102. package/dist/cdn/{6FTO5TUV.js → KG2HQWWR.js} +2 -2
  103. package/dist/cdn/{EGHBXJIQ.js → KGR3TOXV.js} +2 -2
  104. package/dist/cdn/{EZRL6KFN.js → KNPHEVWW.js} +2 -2
  105. package/dist/cdn/{EYYHLTDA.js → KRTOFDMU.js} +2 -2
  106. package/dist/cdn/{5QDRURVW.js → KVN5WZ2F.js} +2 -2
  107. package/dist/cdn/{X4QWBI4I.js → LSZOTLG2.js} +1 -1
  108. package/dist/cdn/{6UXIXOUF.js → M5EMWKKY.js} +2 -2
  109. package/dist/cdn/{WOCZMUK7.js → M77KTA6U.js} +2 -2
  110. package/dist/cdn/{VIEIBC7W.js → MOI6KAID.js} +2 -2
  111. package/dist/cdn/{OPFMFHCU.js → MR5AO3NN.js} +2 -2
  112. package/dist/cdn/{R3O37JLG.js → MUMY6GEM.js} +2 -2
  113. package/dist/cdn/{LPIAWKJF.js → N55D5MJJ.js} +2 -2
  114. package/dist/cdn/{SWTYYNLD.js → NJTUC76F.js} +2 -2
  115. package/dist/cdn/{RYW3GXMR.js → NPQISYAT.js} +2 -2
  116. package/dist/cdn/{FVIXRTM5.js → NX654MZD.js} +2 -2
  117. package/dist/cdn/{YFCCMEVT.js → NXKE4IBO.js} +2 -2
  118. package/dist/cdn/{X34P6RQS.js → NXP472VC.js} +2 -2
  119. package/dist/cdn/{G2W42WVA.js → NZMUQVNO.js} +2 -2
  120. package/dist/cdn/{QCEJDAKG.js → O33QCB33.js} +2 -2
  121. package/dist/cdn/{5YKVZEXB.js → O4UTHW2Y.js} +2 -2
  122. package/dist/cdn/{2V6QW57Y.js → O7WE7QGS.js} +2 -2
  123. package/dist/cdn/{UFENVRBO.js → ODI4TZIM.js} +2 -2
  124. package/dist/cdn/{GZCPDM7J.js → OOUQ765K.js} +2 -2
  125. package/dist/cdn/{T4CACD5U.js → OSBYI6F5.js} +2 -2
  126. package/dist/cdn/{34V6FFLC.js → OUTJJ7Z2.js} +2 -2
  127. package/dist/cdn/{G77RWWJ5.js → OUURDOBJ.js} +2 -2
  128. package/dist/cdn/{EMURL3M6.js → PJSU42JM.js} +1 -1
  129. package/dist/cdn/{2CQONIL2.js → PLDRW24K.js} +2 -2
  130. package/dist/cdn/PPGAVYMR.js +4 -0
  131. package/dist/cdn/{XRWJG5LI.js → PQMAOWDZ.js} +2 -2
  132. package/dist/cdn/{26R2YV3B.js → PWHAZRNJ.js} +2 -2
  133. package/dist/cdn/{6FRZKVET.js → PZO5SSQT.js} +2 -2
  134. package/dist/cdn/{LB4VE6GE.js → Q34PXGKN.js} +2 -2
  135. package/dist/cdn/{OFQCNUYO.js → QARQYR3S.js} +2 -2
  136. package/dist/cdn/{5KNUYIJ6.js → QHNAGBYU.js} +2 -2
  137. package/dist/cdn/{BRFMXB22.js → QLTAVM6R.js} +2 -2
  138. package/dist/cdn/{SZMMDMHA.js → REC3WVMB.js} +2 -2
  139. package/dist/cdn/{VOXJGYJJ.js → RLRHEVME.js} +2 -2
  140. package/dist/cdn/{VUFI4AOT.js → S3Y6WOSE.js} +2 -2
  141. package/dist/cdn/{RNLSGN6H.js → S72W2EOS.js} +2 -2
  142. package/dist/cdn/{Z5ZIY43G.js → SCGFRFEA.js} +2 -2
  143. package/dist/cdn/{YIAYHUYJ.js → SDTNEE4Q.js} +2 -2
  144. package/dist/cdn/{2GI6YQEI.js → SELAQDGF.js} +2 -2
  145. package/dist/cdn/{SASHNNW5.js → SG6XFUPU.js} +2 -2
  146. package/dist/cdn/{KNDCZL4P.js → STPFZ6PG.js} +2 -2
  147. package/dist/cdn/{IUSN6HPI.js → SULU3BCZ.js} +2 -2
  148. package/dist/cdn/{OGM4QM2V.js → T347J3LH.js} +2 -2
  149. package/dist/cdn/{UK5RXJ2E.js → T4OF5KMY.js} +2 -2
  150. package/dist/cdn/{3KFRZNJE.js → T4ZGI6ZX.js} +2 -2
  151. package/dist/cdn/{TYMITYZ4.js → TIVO56VB.js} +2 -2
  152. package/dist/cdn/{JGO5DXAG.js → TJLAHABW.js} +2 -2
  153. package/dist/cdn/{UPRLADCM.js → TOOG2ECU.js} +2 -2
  154. package/dist/cdn/{IAB4RRTE.js → TVSLB42C.js} +2 -2
  155. package/dist/cdn/{VCPKX6Y6.js → UHTGJYCW.js} +1 -1
  156. package/dist/cdn/{C5NTPG2J.js → UW2QFZLI.js} +2 -2
  157. package/dist/cdn/{KWQEP3GX.js → VFCPDEJV.js} +1 -1
  158. package/dist/cdn/{CQM22ZVV.js → VINXCROG.js} +2 -2
  159. package/dist/cdn/{KWFOKKJP.js → VLJ5T5EM.js} +2 -2
  160. package/dist/cdn/{P4ZV2W74.js → VMSV3XLY.js} +2 -2
  161. package/dist/cdn/{7ADE73RA.js → VT2S6EIP.js} +2 -2
  162. package/dist/cdn/{QC56X3K3.js → VWC4UHZI.js} +2 -2
  163. package/dist/cdn/{NPZSYTOT.js → W2TJDRTX.js} +2 -2
  164. package/dist/cdn/{PVB3L6DK.js → W6STCPFV.js} +2 -2
  165. package/dist/cdn/{DDZSCFPP.js → W7KNNUEM.js} +1 -1
  166. package/dist/cdn/{6ILWU6S2.js → WC5PO2WX.js} +2 -2
  167. package/dist/cdn/{3TQU7RFR.js → WJXSWJ6Y.js} +2 -2
  168. package/dist/cdn/{XNFLRNSD.js → WLR2QMDR.js} +2 -2
  169. package/dist/cdn/{DRS5TFL3.js → WMTBPX3C.js} +2 -2
  170. package/dist/cdn/{BBPAZJHG.js → X3YMQ2R4.js} +2 -2
  171. package/dist/cdn/{SLRHUPQ2.js → X4VRZLRF.js} +2 -2
  172. package/dist/cdn/{YAMEYVQA.js → X7YZSEGZ.js} +2 -2
  173. package/dist/cdn/{DA2JDIA5.js → XCGQPPDC.js} +2 -2
  174. package/dist/cdn/{DL5QNAJH.js → XIW72IDH.js} +1 -1
  175. package/dist/cdn/{6DGB7FVP.js → XYEXAVRU.js} +2 -2
  176. package/dist/cdn/{4TO2R3SL.js → Y6BRCKJZ.js} +2 -2
  177. package/dist/cdn/{AYGTXJXG.js → YAPOF7X6.js} +2 -2
  178. package/dist/cdn/{4YWQ66WB.js → YJD3MIER.js} +2 -2
  179. package/dist/cdn/{WQSJK5WS.js → YRLL2RF2.js} +2 -2
  180. package/dist/cdn/{FPW62K7V.js → YYZRFHWC.js} +2 -2
  181. package/dist/cdn/{QOIC3IV2.js → Z2DUVJVT.js} +2 -2
  182. package/dist/cdn/{5V4YSXEX.js → ZQ3B7VXH.js} +2 -2
  183. package/dist/cdn/{5TSGKVAP.js → ZT3D6RRA.js} +2 -2
  184. package/dist/cdn/{JFFZT22V.js → ZYQGIGGR.js} +2 -2
  185. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
  186. package/dist/cdn/index.js +2 -2
  187. package/dist/chunks/AnalysisViewModel.js +1 -1
  188. package/dist/chunks/async-utils.js +1 -1
  189. package/dist/chunks/basemap-gallery-resources.js +1 -1
  190. package/dist/chunks/chart-utils.js +1 -1
  191. package/dist/chunks/chartCommon.js +1 -1
  192. package/dist/chunks/component-utils.js +1 -1
  193. package/dist/chunks/createCloseEvent.js +1 -1
  194. package/dist/chunks/feature-utils.js +90 -57
  195. package/dist/chunks/globalCss.js +1 -1
  196. package/dist/chunks/heading.js +1 -1
  197. package/dist/chunks/layer-list.js +1 -1
  198. package/dist/chunks/legacyIcon.js +1 -1
  199. package/dist/chunks/maybe.js +1 -1
  200. package/dist/chunks/measurementUtils.js +1 -1
  201. package/dist/chunks/runtime.js +1 -1
  202. package/dist/chunks/useHandles.js +1 -1
  203. package/dist/chunks/useT9n.js +1 -1
  204. package/dist/chunks/useView.js +1 -1
  205. package/dist/chunks/useViewModel.js +1 -1
  206. package/dist/chunks/useWidget.js +1 -1
  207. package/dist/chunks/utils.js +1 -1
  208. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  209. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  210. package/dist/components/arcgis-attachments/customElement.d.ts +8 -2
  211. package/dist/components/arcgis-attachments/customElement.js +8 -8
  212. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  213. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  214. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  215. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  216. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  217. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  218. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  219. package/dist/components/arcgis-compass/customElement.js +1 -1
  220. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  221. package/dist/components/arcgis-daylight/customElement.js +1 -1
  222. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  223. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  224. package/dist/components/arcgis-directions/customElement.js +1 -1
  225. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  226. package/dist/components/arcgis-editor/customElement.js +1 -1
  227. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  228. package/dist/components/arcgis-expand/customElement.js +1 -1
  229. package/dist/components/arcgis-feature/customElement.d.ts +177 -90
  230. package/dist/components/arcgis-feature/customElement.js +192 -22
  231. package/dist/components/arcgis-feature/index.d.ts +7 -0
  232. package/dist/components/arcgis-feature/index.js +7 -0
  233. package/dist/components/arcgis-feature-attachments/customElement.d.ts +1 -0
  234. package/dist/components/arcgis-feature-attachments/customElement.js +20 -13
  235. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  236. package/dist/components/arcgis-feature-element-info/customElement.js +13 -13
  237. package/dist/components/arcgis-feature-expression/customElement.d.ts +2 -0
  238. package/dist/components/arcgis-feature-expression/customElement.js +133 -126
  239. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  240. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  241. package/dist/components/arcgis-feature-media/customElement.d.ts +1 -3
  242. package/dist/components/arcgis-feature-media/customElement.js +239 -244
  243. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  244. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  245. package/dist/components/arcgis-features/customElement.js +1 -1
  246. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  247. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  248. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  249. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  250. package/dist/components/arcgis-home/customElement.js +1 -1
  251. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  252. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  253. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  254. package/dist/components/arcgis-legend/customElement.js +1 -1
  255. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  256. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  257. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  258. package/dist/components/arcgis-locate/customElement.js +1 -1
  259. package/dist/components/arcgis-map/customElement.js +1 -1
  260. package/dist/components/arcgis-measurement/customElement.js +1 -1
  261. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  262. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  263. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  264. package/dist/components/arcgis-placement/customElement.js +1 -1
  265. package/dist/components/arcgis-print/customElement.js +1 -1
  266. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  267. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  268. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  269. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  270. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  271. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  272. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  273. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  274. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  275. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  276. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  277. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  278. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  279. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  280. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  281. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  282. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  283. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  284. package/dist/components/arcgis-scene/customElement.js +1 -1
  285. package/dist/components/arcgis-search/customElement.js +1 -1
  286. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  287. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  288. package/dist/components/arcgis-sketch/customElement.js +1 -1
  289. package/dist/components/arcgis-slice/customElement.js +1 -1
  290. package/dist/components/arcgis-slider/customElement.js +1 -1
  291. package/dist/components/arcgis-swipe/customElement.js +1 -1
  292. package/dist/components/arcgis-table-list/customElement.js +1 -1
  293. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  294. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  295. package/dist/components/arcgis-track/customElement.js +1 -1
  296. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  297. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  298. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  299. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  300. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  301. package/dist/components/arcgis-version-management/customElement.js +1 -1
  302. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  303. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  304. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  305. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  306. package/dist/components/arcgis-video/customElement.js +1 -1
  307. package/dist/components/arcgis-video-player/customElement.js +1 -1
  308. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  309. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  310. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  311. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  312. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  313. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  314. package/dist/components/arcgis-weather/customElement.js +1 -1
  315. package/dist/components/arcgis-zoom/customElement.js +1 -1
  316. package/dist/docs/api.json +353 -84
  317. package/dist/docs/docs.json +287 -57
  318. package/dist/docs/vscode.html-custom-data.json +69 -23
  319. package/dist/docs/web-types.json +125 -52
  320. package/dist/index.js +1 -1
  321. package/dist/loader.js +5 -5
  322. package/dist/types/lumina.d.ts +1 -1
  323. package/dist/types/preact.d.ts +1 -1
  324. package/dist/types/react.d.ts +1 -1
  325. package/dist/types/stencil.d.ts +1 -1
  326. package/dist/utils/feature-utils.d.ts +5 -2
  327. package/dist/utils/related-feature-utils.d.ts +0 -11
  328. package/package.json +3 -3
  329. package/dist/cdn/3Q5GWAOH.js +0 -4
  330. package/dist/cdn/6UE2J3H3.js +0 -4
  331. package/dist/cdn/7ZR5PR2L.js +0 -4
  332. package/dist/cdn/A5VWDFHE.js +0 -4
  333. package/dist/cdn/AUZ7N5WS.js +0 -4
  334. package/dist/cdn/FBDQXCVG.js +0 -5
  335. package/dist/cdn/YYTCKFUT.js +0 -4
@@ -1,154 +1,238 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
- import { Use } from '@arcgis/lumina/controllers';
4
- import { default as Feature } from '@arcgis/core/widgets/Feature.js';
5
- import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
3
+ import { default as FeatureViewModel } from '@arcgis/core/widgets/Feature/FeatureViewModel.js';
6
4
  import { ArcgisReferenceElement } from '../../utils/component-utils';
5
+ import { HeadingLevel } from '../../support/heading';
6
+ import { Nil } from '@arcgis/components-utils';
7
+ import { Use } from '@arcgis/lumina/controllers';
8
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
9
+ import { ArcgisFeatureContent } from '../arcgis-feature-content/customElement.js';
10
+ import { ArcgisFeatureAttachments } from '../arcgis-feature-attachments/customElement.js';
11
+ import { ArcgisFeatureExpression } from '../arcgis-feature-expression/customElement.js';
12
+ import { ArcgisFeatureFields } from '../arcgis-feature-fields/customElement.js';
13
+ import { ArcgisFeatureMedia } from '../arcgis-feature-media/customElement.js';
14
+ export type FlowItemType = "feature-association" | "feature-relationship" | "feature-utility-network-association-type" | "feature-utility-network-associations" | "feature";
15
+ export type FlowItemComponent = ArcgisFeature | ArcgisFeatureAttachments | ArcgisFeatureContent | ArcgisFeatureExpression | ArcgisFeatureFields | ArcgisFeatureMedia;
7
16
 
8
- declare const useFeatureWidget: (component: LitElement & Pick<Feature, "icon" | "label" | "viewModel" | "map" | "spatialReference" | "timeZone" | "headingLevel" | "graphic" | "defaultPopupTemplateEnabled" | "location"> & {
9
- state?: unknown;
10
- viewModel?: __esri.FeatureViewModel | undefined;
11
- closed?: boolean;
12
- icon: import('@arcgis/components-utils').Nil | string;
13
- label: import('@arcgis/components-utils').Nil | string;
17
+ declare const useFeatureViewModel: (component: LitElement & Pick<FeatureViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<FeatureViewModel>) => FeatureViewModel;
18
+ /** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) */
19
+ export declare class ArcgisFeature extends LitElement {
14
20
  referenceElement?: ArcgisReferenceElement | string;
21
+ /** @default "top-left" */
15
22
  position: __esri.UIPosition;
16
- arcgisReady: import('@arcgis/lumina').EventEmitter;
17
- arcgisPropertyChange: import('@arcgis/lumina').EventEmitter<{
18
- name: string;
19
- }> | undefined;
20
- el: HTMLElement & {
21
- childElem?: HTMLElement & {
22
- ownedBy?: HTMLElement;
23
- };
24
- view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
25
- };
26
- autoDestroyDisabled: boolean;
27
- destroy: () => Promise<void>;
28
- }) => Feature;
29
- /**
30
- * The Feature component displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html). This component is useful in instances where you want to display information about a feature but without the use of a [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html).
31
- *
32
- * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/)
33
- */
34
- export declare class ArcgisFeature extends LitElement {
35
23
  /**
36
- * If true, the component will not be destroyed automatically when it is
37
- * disconnected from the document. This is useful when you want to move the
38
- * component to a different place on the page, or temporarily hide it. If this
39
- * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/#destroy) method when you are done to
40
- * prevent memory leaks.
24
+ * Icon which represents the component.
25
+ * Typically used when the component is controlled by another component (e.g. by the Expand component).
41
26
  *
42
- * @default false
27
+ * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
28
+ * @default "icon"
43
29
  */
44
- autoDestroyDisabled: boolean;
30
+ icon?: string;
31
+ /**
32
+ * The [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) used to represent the feature.
33
+ *
34
+ * @autocast
35
+ * @see [PopupTemplate.content](esri-PopupTemplate.html#content)
36
+ * @example
37
+ * let graphic = new Graphic({
38
+ * geometry: view.center,
39
+ * attributes: {
40
+ * "name": "Spruce",
41
+ * "family": "Pinaceae",
42
+ * "count": 126
43
+ * },
44
+ * symbol: new SimpleMarkerSymbol({
45
+ * style: "square",
46
+ * color: "blue",
47
+ * size: "8px"
48
+ * }),
49
+ * popupTemplate: {
50
+ * content: [
51
+ * {
52
+ * // Set popup template content
53
+ * }
54
+ * ]
55
+ * }
56
+ * });
57
+ * @default null
58
+ */
59
+ graphic: nullish | __esri.Graphic;
45
60
  /**
46
61
  * Enables automatic creation of a popup template for layers that have popups enabled but no
47
- * popupTemplate defined.
62
+ * popupTemplate defined. Automatic popup templates are supported for layers that
63
+ * support the `createPopupTemplate` method. (Supported for
64
+ * [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
65
+ * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
66
+ * [SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
67
+ * [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
68
+ * [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html)
69
+ * [PointCloudLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-PointCloudLayer.html),
70
+ * [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html), and
71
+ * [ImageryLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html)).
72
+ *
73
+ * ::: esri-md class="warning"
74
+ * Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-FieldInfoFormat.html#dateFormat)
75
+ * rather than `long-month-day-year` in default [popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) created by setting the `defaultPopupTemplateEnabled` property to `true`.
76
+ * For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
77
+ * :::
48
78
  *
49
79
  * @default false
50
80
  */
51
81
  defaultPopupTemplateEnabled: boolean;
52
82
  /**
53
- * The [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) used to represent the feature.
83
+ * Indicates the heading level to use for the [title](#title) of the feature widget.
84
+ * By default, the title is rendered
85
+ * as a level 2 heading (e.g. `<h2>Title of content</h2>`). Depending on the widget's placement
86
+ * in your app, you may need to adjust this heading for proper semantics. This is
87
+ * important for meeting accessibility standards.
54
88
  *
89
+ * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
90
+ * @example
91
+ * // feature title will render as an <h3>
92
+ * feature.headingLevel = 3;
93
+ * @default 2
94
+ */
95
+ headingLevel: HeadingLevel;
96
+ /**
97
+ * The spatial reference used for [Arcade](https://developers.arcgis.com/arcade) operations.
98
+ * This property should be set if the Feature widget executes Arcade expressions that contain [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/).
99
+ *
100
+ * @autocast
101
+ * @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
102
+ * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
55
103
  * @default null
56
104
  */
57
- graphic: nullish | __esri.Graphic;
105
+ spatialReference: nullish | __esri.SpatialReference;
58
106
  /**
59
- * Indicates the heading level to use for the [title](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html#title) of the feature widget.
107
+ * Dates and times displayed in the widget will be displayed in this time zone. By default this time zone is
108
+ * inherited from [MapView.timeZone](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#timeZone). When a MapView is not associated with the widget
109
+ * then the property will fallback to the `system` time zone.
60
110
  *
61
- * @default 2
111
+ * **Possible Values**
112
+ *
113
+ * Value | Description |
114
+ * ----- | ----------- |
115
+ * system | Dates and times will be displayed in the timezone of the device or browser.
116
+ * unknown | Dates and time are not adjusted for any timezone.
117
+ * Specified IANA timezone | Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
62
118
  */
63
- headingLevel: number;
119
+ timeZone: string;
64
120
  /**
65
- * Indicates whether to hide all [AttachmentsContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html).
121
+ * The title for the feature. You can disable this via the [visibleElements](#visibleElements) property.
66
122
  *
67
- * @default false
123
+ * @see [headingLevel](#headingLevel)
124
+ * @default null
125
+ */
126
+ readonly heading: string;
127
+ /**
128
+ * A map is required when the input [graphic](#graphic) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-ExpressionInfo.html) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
129
+ *
130
+ * Alternatively, the [view](#view) property can be used to provide the map instance for this property.
131
+ *
132
+ * @noautocast
133
+ * @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
134
+ * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
135
+ * @example
136
+ * // The building footprints represent the buildings that intersect a clicked parcel
137
+ * let buildingFootprints = Intersects($feature, FeatureSetByName($map, "Building Footprints"));
138
+ * @default null
68
139
  */
69
- hideContentAttachments: boolean | undefined;
140
+ map: __esri.Map | nullish;
70
141
  /**
71
- * Indicates whether to hide all [ExpressionContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html).
142
+ * Disables chart animation
72
143
  *
73
144
  * @default false
74
145
  */
75
- hideContentExpression: boolean | undefined;
146
+ chartAnimationDisabled: boolean | undefined;
76
147
  /**
77
- * Indicates whether to hide all [FieldsContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html).
148
+ * This property provides the ability to turn individual elements of the component's display on/off.
78
149
  *
79
150
  * @default false
80
151
  */
81
- hideContentFields: boolean | undefined;
152
+ hideHeading: boolean;
82
153
  /**
83
- * Indicates whether to hide all [MediaContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html).
154
+ * This property provides the ability to turn individual elements of the component's display on/off.
84
155
  *
85
156
  * @default false
86
157
  */
87
- hideContentMedia: boolean | undefined;
158
+ hideContent: boolean;
88
159
  /**
89
- * Indicates whether to hide all [TextContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-TextContent.html).
160
+ * This property provides the ability to turn individual elements of the component's display on/off.
90
161
  *
91
162
  * @default false
92
163
  */
93
- hideContentText: boolean | undefined;
164
+ hideAttachmentsContent: boolean;
94
165
  /**
95
- * @deprecated since 4.33, use [hideLastEditedInfo](#hideLastEditedInfo) instead.
166
+ * This property provides the ability to turn individual elements of the component's display on/off.
167
+ *
96
168
  * @default false
97
169
  */
98
- hideLastEditInfo: boolean | undefined;
170
+ hideCustomContent: boolean;
99
171
  /**
100
- * Indicates whether to hide the [lastEditInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature-FeatureViewModel.html#lastEditInfo).
172
+ * This property provides the ability to turn individual elements of the component's display on/off.
101
173
  *
102
174
  * @default false
103
175
  */
104
- hideLastEditedInfo: boolean | undefined;
176
+ hideExpressionContent: boolean;
105
177
  /**
106
- * Indicates whether to hide the title associated with the feature.
178
+ * This property provides the ability to turn individual elements of the component's display on/off.
107
179
  *
108
180
  * @default false
109
181
  */
110
- hideTitle: boolean | undefined;
182
+ hideFieldsContent: boolean;
111
183
  /**
112
- * Icon which represents the widget.
184
+ * This property provides the ability to turn individual elements of the component's display on/off.
113
185
  *
114
- * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
115
- * @default "polygon"
186
+ * @default false
116
187
  */
117
- icon: string;
188
+ hideMediaContent: boolean;
118
189
  /**
119
- * The widget's default label.
190
+ * This property provides the ability to turn individual elements of the component's display on/off.
120
191
  *
121
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html#label)
192
+ * @default false
122
193
  */
123
- label: string;
194
+ showRelationshipContent: boolean;
124
195
  /**
125
- * The location of the graphic to be displayed.
196
+ * This property provides the ability to turn individual elements of the component's display on/off.
126
197
  *
127
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html#location)
198
+ * @default false
199
+ */
200
+ hideTextContent: boolean;
201
+ /**
202
+ * This property provides the ability to turn individual elements of the component's display on/off.
128
203
  *
129
- * @default null
204
+ * @default false
130
205
  */
131
- location: nullish | __esri.Point;
206
+ showUtilityNetworkContent: boolean;
132
207
  /**
133
- * A map is required when the input [graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html#graphic) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-ExpressionInfo.html) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html) that may use the `$map` profile variable to access data from layers within a map.
208
+ * This property provides the ability to turn individual elements of the component's display on/off.
134
209
  *
135
- * @default null
210
+ * @default false
136
211
  */
137
- map: __esri.Map | nullish;
138
- /** @default "bottom-left" */
139
- position: __esri.UIPosition;
212
+ hideLastEditedInfo: boolean;
140
213
  /**
141
- * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
214
+ * If true, the component will not be destroyed automatically when it is
215
+ * disconnected from the document. This is useful when you want to move the
216
+ * component to a different place on the page, or temporarily hide it. If this
217
+ * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/#destroy) method when you are done to
218
+ * prevent memory leaks.
142
219
  *
143
- * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
220
+ * @default false
144
221
  */
145
- referenceElement?: ArcgisReferenceElement | string;
222
+ autoDestroyDisabled: boolean;
223
+ /** Overwrite localized strings for this component */
224
+ messageOverrides?: typeof this.messages._overrides;
225
+ /** The component's default label. */
226
+ label?: string;
146
227
  /**
147
- * The spatial reference used for [Arcade](https://developers.arcgis.com/arcade) operations.
228
+ * The [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) representing the location of the
229
+ * [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) interaction used to trigger the opening of the widget.
230
+ *
231
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature-FeatureViewModel.html#location)
148
232
  *
149
233
  * @default null
150
234
  */
151
- spatialReference: nullish | __esri.SpatialReference;
235
+ location: nullish | __esri.Point;
152
236
  /**
153
237
  * The view model's state.
154
238
  *
@@ -157,22 +241,24 @@ export declare class ArcgisFeature extends LitElement {
157
241
  * @default "disabled"
158
242
  */
159
243
  readonly state: "ready" | "loading" | "disabled" | "error";
160
- /**
161
- * Dates and times displayed in the widget will be displayed in this time zone.
162
- *
163
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html#timeZone)
164
- */
165
- timeZone: string;
166
244
  /** Permanently destroy the component. */
167
245
  destroy(): Promise<void>;
168
- /** Paginates to the next [media info](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html#mediaInfos). */
246
+ /** Paginates to the next [media](esri-popup-content-MediaContent.html) info. */
169
247
  nextMedia(contentElementIndex: number): Promise<void>;
170
- /** Paginates to the previous [media info](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html#mediaInfos). */
248
+ /**
249
+ * Paginates to the previous [media](esri-popup-content-MediaContent.html) info in the specified
250
+ * [media](esri-popup-content-MediaContent.html) content element.
251
+ */
171
252
  previousMedia(contentElementIndex: number): Promise<void>;
172
253
  /**
173
- * Paginates to a specified [media info](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html#mediaInfos) object.
174
- * For example, you may have [media content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html#mediaInfos) which contains multiple mediaInfos.
175
- * This method allows you to specify the index of the mediaInfos you wish to display.
254
+ * Paginates to a specified [media](esri-popup-content-MediaContent.html) info object. For example,
255
+ * you may have [media](esri-popup-content-MediaContent.html) content which contains
256
+ * multiple `mediaInfos`. This method allows you to specify the index of the `mediaInfos`
257
+ * you wish to display.
258
+ *
259
+ * ::: esri-md class="warning"
260
+ * Prior to version 4.17, this method was named `goToMedia`.
261
+ * :::
176
262
  */
177
263
  setActiveMedia(contentElementIndex: number, mediaInfoIndex: number): Promise<void>;
178
264
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
@@ -181,5 +267,6 @@ export declare class ArcgisFeature extends LitElement {
181
267
  }>;
182
268
  /** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
183
269
  readonly arcgisReady: TargetedEvent<this, void>;
270
+ private messages;
184
271
  }
185
272
  export {};
@@ -1,41 +1,211 @@
1
- import { c as i } from "../../chunks/runtime.js";
2
- import { usePropertyChange as s } from "@arcgis/lumina/controllers";
3
- import a from "@arcgis/core/widgets/Feature.js";
4
- import { LitElement as n, createEvent as o, noShadowRoot as d } from "@arcgis/lumina";
5
- import { m as h } from "../../chunks/useWidget.js";
6
- import { css as l } from "lit";
7
- import { u as r } from "../../chunks/useT9n.js";
1
+ import { c as w } from "../../chunks/runtime.js";
2
+ import { css as M, html as a } from "lit";
3
+ import _ from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
4
+ import { g as C } from "../../chunks/globalCss.js";
5
+ import { u as b } from "../../chunks/useT9n.js";
6
+ import { H as x } from "../../chunks/heading.js";
7
+ import { classes as y } from "@arcgis/components-utils";
8
+ import { usePropertyChange as I } from "@arcgis/lumina/controllers";
9
+ import { m as L } from "../../chunks/useViewModel.js";
10
+ import { LitElement as T, createEvent as A, noShadowRoot as E, safeClassMap as l } from "@arcgis/lumina";
11
+ import { substitute as k } from "@arcgis/core/intl.js";
12
+ import { renderingSanitizer as F } from "@arcgis/core/applications/Components/sanitizerUtils.js";
13
+ import { k as R, l as V, m as z, n as D, s as c, c as H, i as P } from "../../chunks/feature-utils.js";
8
14
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
15
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
10
- v4.34.0-next.50 */
11
- const c = l`@layer{arcgis-feature{display:block}}`, m = h(a);
12
- class p extends n {
16
+ v4.34.0-next.51 */
17
+ const S = M`@layer{arcgis-feature{display:block}.arcgis-feature{--calcite-color-background: var(--calcite-color-background);width:100%}.arcgis-feature__title{display:block;word-break:break-word;word-wrap:break-word;font-size:var(--calcite-font-size)}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-xxl);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}}`, h = "arcgis-feature", r = {
18
+ // popup renderer
19
+ base: h,
20
+ // containers and content
21
+ container: `${h}__size-container`,
22
+ title: `${h}__title`,
23
+ main: `${h}__main-container`,
24
+ contentElement: `${h}__content-element`,
25
+ lastEditedInfo: `${h}__last-edited-info`,
26
+ // loading
27
+ loadingSpinnerContainer: `${h}__loading-container`
28
+ }, U = L(_);
29
+ class Z extends T {
13
30
  constructor() {
14
- super(...arguments), this.messages = r(), this.widget = m(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.defaultPopupTemplateEnabled = this.widget.defaultPopupTemplateEnabled, this.graphic = this.widget.graphic, this.headingLevel = this.widget.headingLevel, this.hideContentAttachments = this.widget.visibleElements.content.attachments, this.hideContentExpression = this.widget.visibleElements.content.expression, this.hideContentFields = this.widget.visibleElements.content.fields, this.hideContentMedia = this.widget.visibleElements.content.media, this.hideContentText = this.widget.visibleElements.content.text, this.hideLastEditInfo = this.widget.visibleElements.lastEditedInfo, this.hideLastEditedInfo = this.widget.visibleElements.lastEditedInfo, this.hideTitle = this.widget.visibleElements.title, this.icon = this.widget.icon, this.label = this.widget.label, this.location = this.viewModel.location, this.map = this.widget.map, this.position = "bottom-left", this.spatialReference = this.widget.spatialReference, this.state = this.viewModel.state, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange = s()("state"), this.arcgisReady = o();
31
+ super(...arguments), this.messages = b({}), this.viewModel = U(this), this.flowType = "feature", this.flowItems = null, this.position = "top-left", this.icon = "icon", this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.title, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = I()("state"), this.arcgisReady = A();
15
32
  }
16
33
  static {
17
- this.properties = { autoDestroyDisabled: 5, defaultPopupTemplateEnabled: 5, graphic: 0, headingLevel: 9, hideContentAttachments: 5, hideContentExpression: 5, hideContentFields: 5, hideContentMedia: 5, hideContentText: 5, hideLastEditInfo: 5, hideLastEditedInfo: 5, hideTitle: 5, icon: 1, label: 1, location: 0, map: 0, position: 1, referenceElement: 1, spatialReference: 0, state: 3, timeZone: 1 };
34
+ this.properties = { flowType: 16, flowItems: 16, isTable: 16, popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, referenceElement: 1, position: 3, icon: 1, graphic: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 3 };
18
35
  }
19
36
  static {
20
- this.shadowRootOptions = d;
37
+ this.styles = S;
21
38
  }
22
39
  static {
23
- this.styles = c;
40
+ this.shadowRootOptions = E;
41
+ }
42
+ get isTable() {
43
+ return this.viewModel.isFeatureFromTable;
44
+ }
45
+ get popupTemplate() {
46
+ return R(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
47
+ }
48
+ get sourceLayer() {
49
+ return V(this.graphic);
50
+ }
51
+ get fieldInfoMap() {
52
+ return z(D(this.popupTemplate), this.sourceLayer);
53
+ }
54
+ get values() {
55
+ return this.graphic?.attributes ?? {};
56
+ }
57
+ get globalValues() {
58
+ return this.viewModel.formattedAttributes?.global ?? {};
24
59
  }
25
60
  async destroy() {
26
61
  await this.manager.destroy();
27
62
  }
28
- async nextMedia(t) {
29
- this.widget?.nextMedia(t);
63
+ async nextMedia(e) {
64
+ return this.viewModel.nextMedia(e);
65
+ }
66
+ async previousMedia(e) {
67
+ return this.viewModel.previousMedia(e);
68
+ }
69
+ async setActiveMedia(e, t) {
70
+ return this.viewModel.setActiveMedia(e, t);
71
+ }
72
+ render() {
73
+ const { state: e } = this.viewModel, t = a`<div class=${l(r.container)}>${this._renderTitle()}${e === "error" ? this._renderError() : e === "loading" ? this._renderLoading() : this._renderContentContainer()}</div>`;
74
+ return a`<div class=${l(y(r.base, C.widget))}>${t}</div>`;
75
+ }
76
+ _renderError() {
77
+ const { messages: e, hideHeading: t } = this;
78
+ return a`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : a`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
79
+ }
80
+ _renderLoading() {
81
+ return a`<div class=${l(r.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`;
82
+ }
83
+ _renderAttachments(e) {
84
+ const { values: t, fieldInfoMap: i, sourceLayer: n, globalValues: s } = this, o = c({
85
+ values: t,
86
+ fieldInfoMap: i,
87
+ globalValues: s,
88
+ layer: n,
89
+ text: e.title
90
+ }), d = c({
91
+ values: t,
92
+ fieldInfoMap: i,
93
+ globalValues: s,
94
+ layer: n,
95
+ text: e.description
96
+ });
97
+ return a`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${o} .displayType=${e.displayType} .graphic=${this.graphic ?? void 0} .description=${d} .messages=${this.messages}></arcgis-feature-attachments>`;
98
+ }
99
+ _renderCustom(e) {
100
+ return a`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class=${l(r.contentElement)}></arcgis-feature-content>`;
101
+ }
102
+ _renderFields(e, t) {
103
+ const i = this.viewModel.formattedAttributes, { values: n, fieldInfoMap: s, sourceLayer: o, popupTemplate: d, globalValues: u } = this, g = (e.fieldInfos ?? d?.fieldInfos ?? [])?.filter(({ fieldName: p }) => !!p && (H(p) || P(p) || p in n)), m = d?.expressionInfos, v = c({
104
+ values: n,
105
+ fieldInfoMap: s,
106
+ globalValues: u,
107
+ layer: o,
108
+ text: e.title
109
+ }), $ = c({
110
+ values: n,
111
+ fieldInfoMap: s,
112
+ globalValues: u,
113
+ layer: o,
114
+ text: e.description
115
+ });
116
+ return a`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${v} class=${l(r.contentElement)} .messages=${this.messages} .description=${$} .values=${{
117
+ ...i?.global,
118
+ ...i?.content?.[t]
119
+ }} .fieldInfos=${g} .expressionInfos=${m ?? void 0}></arcgis-feature-fields>`;
120
+ }
121
+ _renderMedia(e, t) {
122
+ const { values: i, graphic: n, fieldInfoMap: s, sourceLayer: o, popupTemplate: d, globalValues: u } = this, { formattedAttributes: f, relatedInfos: g } = this.viewModel, m = {
123
+ ...f?.global,
124
+ ...f?.content?.[t]
125
+ }, v = c({
126
+ values: i,
127
+ fieldInfoMap: s,
128
+ globalValues: u,
129
+ layer: o,
130
+ text: e.title
131
+ }), $ = c({
132
+ values: i,
133
+ fieldInfoMap: s,
134
+ globalValues: u,
135
+ layer: o,
136
+ text: e.description
137
+ });
138
+ return a`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(r.contentElement)} .description=${$} .values=${i} .layer=${o} .isAggregate=${n?.isAggregate} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${d ?? void 0} .relatedInfos=${g} .formattedValues=${m}></arcgis-feature-media>`;
139
+ }
140
+ _renderText(e) {
141
+ const { values: t, fieldInfoMap: i, sourceLayer: n, globalValues: s } = this, o = c({
142
+ values: t,
143
+ fieldInfoMap: i,
144
+ globalValues: s,
145
+ layer: n,
146
+ text: e.text
147
+ });
148
+ return a`<arcgis-feature-content .creator=${o} .graphic=${this.graphic ?? void 0} class=${l(r.contentElement)}></arcgis-feature-content>`;
149
+ }
150
+ _renderExpression(e, t) {
151
+ const i = this.viewModel.formattedAttributes, { fieldInfoMap: n } = this;
152
+ return a`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class=${l(r.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{
153
+ ...i?.global,
154
+ ...i?.content?.[t]
155
+ }}></arcgis-feature-expression>`;
156
+ }
157
+ _renderRelationship() {
158
+ return null;
159
+ }
160
+ _renderAssociation() {
161
+ return null;
162
+ }
163
+ _renderContentElement(e, t) {
164
+ switch (e.type) {
165
+ case "attachments":
166
+ return this.hideAttachmentsContent ? null : this._renderAttachments(e);
167
+ case "custom":
168
+ return this.hideCustomContent ? null : this._renderCustom(e);
169
+ case "fields":
170
+ return this.hideFieldsContent ? null : this._renderFields(e, t);
171
+ case "media":
172
+ return this.hideMediaContent ? null : this._renderMedia(e, t);
173
+ case "text":
174
+ return this.hideTextContent ? null : this._renderText(e);
175
+ case "expression":
176
+ return this.hideExpressionContent ? null : this._renderExpression(e, t);
177
+ case "relationship":
178
+ return this.showRelationshipContent ? this._renderRelationship() : null;
179
+ case "utility-network-associations":
180
+ return this.showUtilityNetworkContent ? this._renderAssociation() : null;
181
+ default:
182
+ return null;
183
+ }
184
+ }
185
+ _renderContent() {
186
+ const { content: e, graphic: t } = this.viewModel;
187
+ return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? a`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class=${l(r.contentElement)}></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
188
+ }
189
+ _renderContentContainer() {
190
+ const { hideContent: e } = this;
191
+ return e ? null : a`<div class=${l(r.main)}>${[this._renderContent(), this._renderLastEditInfo()]}</div>`;
30
192
  }
31
- async previousMedia(t) {
32
- this.widget?.previousMedia(t);
193
+ _renderTitle() {
194
+ const { hideHeading: e, heading: t } = this;
195
+ return e ? null : x({ class: r.title, level: this.headingLevel, children: a`<div .innerHTML=${F.sanitize(t) ?? ""}></div>` });
33
196
  }
34
- async setActiveMedia(t, e) {
35
- this.widget?.setActiveMedia(t, e);
197
+ _renderLastEditInfo() {
198
+ const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
199
+ if (!i || e)
200
+ return null;
201
+ const { date: n, user: s } = i, o = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, d = k(o ?? "", {
202
+ date: n,
203
+ user: s
204
+ });
205
+ return a`<div class=${l(y(r.lastEditedInfo, r.contentElement))}>${d}</div>`;
36
206
  }
37
207
  }
38
- i("arcgis-feature", p);
208
+ w("arcgis-feature", Z);
39
209
  export {
40
- p as ArcgisFeature
210
+ Z as ArcgisFeature
41
211
  };
@@ -1 +1,8 @@
1
+ import "@esri/calcite-components/components/calcite-notice";
2
+ import "@esri/calcite-components/components/calcite-loader";
3
+ import "../arcgis-feature-attachments/index.js";
4
+ import "../arcgis-feature-content/index.js";
5
+ import "../arcgis-feature-fields/index.js";
6
+ import "../arcgis-feature-media/index.js";
7
+ import "../arcgis-feature-expression/index.js";
1
8
  export * from "./customElement.js";
@@ -1 +1,8 @@
1
+ import "@esri/calcite-components/components/calcite-notice";
2
+ import "@esri/calcite-components/components/calcite-loader";
3
+ import "../arcgis-feature-attachments/index.js";
4
+ import "../arcgis-feature-content/index.js";
5
+ import "../arcgis-feature-fields/index.js";
6
+ import "../arcgis-feature-media/index.js";
7
+ import "../arcgis-feature-expression/index.js";
1
8
  export * from "./customElement.js";
@@ -3,6 +3,7 @@
3
3
  import { HeadingLevel } from '../../support/heading';
4
4
  import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
5
5
  import { ArcgisFeature } from '../arcgis-feature/customElement.js';
6
+ import { ArcgisAttachments } from '../arcgis-attachments/customElement.js';
6
7
 
7
8
  /** @private */
8
9
  export declare class ArcgisFeatureAttachments extends LitElement {