@arcgis/map-components 5.1.0-next.2 → 5.1.0-next.21

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 (490) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{RCWZGU5T.js → 255MJSL7.js} +1 -1
  3. package/dist/cdn/25C2WYON.js +2 -0
  4. package/dist/cdn/{BUE7MOVD.js → 2632C726.js} +1 -1
  5. package/dist/cdn/2AYGSNEO.js +2 -0
  6. package/dist/cdn/{HH6BDERO.js → 2F4VMURG.js} +1 -1
  7. package/dist/cdn/2ID4LW4Y.js +2 -0
  8. package/dist/cdn/{YFUI4F5L.js → 2LRWWFCA.js} +1 -1
  9. package/dist/cdn/2XOP6ODR.js +2 -0
  10. package/dist/cdn/{YZ5ZVEPC.js → 2ZPMEF52.js} +1 -1
  11. package/dist/cdn/{UM2FDZJJ.js → 36FHKW25.js} +1 -1
  12. package/dist/cdn/{KYOYYCFY.js → 3IBLMFG2.js} +1 -1
  13. package/dist/cdn/{GKW3DDEQ.js → 3KOO4QMQ.js} +1 -1
  14. package/dist/cdn/{64OEHFBZ.js → 3O62Y4XU.js} +1 -1
  15. package/dist/cdn/3OVSVCGF.js +2 -0
  16. package/dist/cdn/45DIIV4Z.js +2 -0
  17. package/dist/cdn/{5PRNT4KD.js → 4723UCGJ.js} +1 -1
  18. package/dist/cdn/{JFDN4YD7.js → 4E76WGF2.js} +1 -1
  19. package/dist/cdn/{NIUIKBRD.js → 4GMSBMTS.js} +1 -1
  20. package/dist/cdn/{M65HMJZA.js → 4IATWN2B.js} +1 -1
  21. package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
  22. package/dist/cdn/{KAXJKSFB.js → 4JLBYQRJ.js} +1 -1
  23. package/dist/cdn/4S2ZIUO2.js +2 -0
  24. package/dist/cdn/{DTVW3MYT.js → 4X3QNLL2.js} +1 -1
  25. package/dist/cdn/{63P5VYGP.js → 5EEHZIM7.js} +1 -1
  26. package/dist/cdn/{EENOVGOS.js → 5H2OW6X5.js} +1 -1
  27. package/dist/cdn/5LIIGBMB.js +2 -0
  28. package/dist/cdn/{KNAUIRT6.js → 63HF2QYP.js} +1 -1
  29. package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
  30. package/dist/cdn/6HVUFH5B.js +2 -0
  31. package/dist/cdn/{TUW6NLYY.js → 6IUWB6ML.js} +1 -1
  32. package/dist/cdn/{ZURN5EZI.js → 6QW2EUPX.js} +1 -1
  33. package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
  34. package/dist/cdn/{UAO23YMW.js → 6XQPM3XF.js} +1 -1
  35. package/dist/cdn/6YZHULFG.js +2 -0
  36. package/dist/cdn/{I5QTPPFJ.js → 7CFAFS3P.js} +1 -1
  37. package/dist/cdn/{UVCYUIKZ.js → 7D3Z55D3.js} +1 -1
  38. package/dist/cdn/{2XSXH4TM.js → 7SCKZLOG.js} +1 -1
  39. package/dist/cdn/{7ZAVSDBZ.js → 7SLU4JV4.js} +1 -1
  40. package/dist/cdn/7WLTT4K3.js +2 -0
  41. package/dist/cdn/{GHFKQEFW.js → A5JTB4SB.js} +1 -1
  42. package/dist/cdn/{WW6L6XX4.js → AEDEEK6H.js} +1 -1
  43. package/dist/cdn/AN7CPHB7.js +2 -0
  44. package/dist/cdn/{FJJVAOBW.js → AOYK64AS.js} +1 -1
  45. package/dist/cdn/{TSPKG2WN.js → ATG3WC6M.js} +2 -2
  46. package/dist/cdn/{RP5SO6BA.js → AWONSBWA.js} +1 -1
  47. package/dist/cdn/{UKNKW6MH.js → B4UXMUWZ.js} +1 -1
  48. package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
  49. package/dist/cdn/{PMQLTMQ4.js → BN6DAJ2Q.js} +1 -1
  50. package/dist/cdn/BOM3XB6A.js +2 -0
  51. package/dist/cdn/BQRJK2MF.js +2 -0
  52. package/dist/cdn/{5RGFRTJS.js → BSOU3YSC.js} +1 -1
  53. package/dist/cdn/{62WRVJ3U.js → BUUMJJ3W.js} +1 -1
  54. package/dist/cdn/{M4L5EDRB.js → BX6WWIAY.js} +1 -1
  55. package/dist/cdn/{MQ6HO6LA.js → C3MVYUAO.js} +1 -1
  56. package/dist/cdn/C4FXVPMR.js +2 -0
  57. package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
  58. package/dist/cdn/{3YA25S2J.js → CMI4ZWGU.js} +1 -1
  59. package/dist/cdn/COSZXJ2Q.js +2 -0
  60. package/dist/cdn/{PISCYSA5.js → CQZVPPYJ.js} +1 -1
  61. package/dist/cdn/{2EJ4XRH4.js → CUNZDZ3C.js} +1 -1
  62. package/dist/cdn/CWODI2VY.js +2 -0
  63. package/dist/cdn/D27YXH3W.js +2 -0
  64. package/dist/cdn/{R4V6HGJH.js → D3NPU6MI.js} +1 -1
  65. package/dist/cdn/DDYVX52H.js +2 -0
  66. package/dist/cdn/DEJGWX76.js +2 -0
  67. package/dist/cdn/{CC53K2CR.js → DG7CXNOU.js} +1 -1
  68. package/dist/cdn/DY3ERISU.js +2 -0
  69. package/dist/cdn/E44RUDE7.js +2 -0
  70. package/dist/cdn/{TCG6VGIB.js → ELIGNLIF.js} +1 -1
  71. package/dist/cdn/{EQCNO3G4.js → EM6YZ3JD.js} +1 -1
  72. package/dist/cdn/EQ4FEO75.js +2 -0
  73. package/dist/cdn/EQPJBPD5.js +2 -0
  74. package/dist/cdn/EVC4MXIZ.js +2 -0
  75. package/dist/cdn/{KHM3S4Q6.js → F2JFRFTT.js} +1 -1
  76. package/dist/cdn/F7S63XRR.js +2 -0
  77. package/dist/cdn/{AJHRJ5EA.js → FDCE7TCR.js} +1 -1
  78. package/dist/cdn/{EVRFMTMV.js → FNJ3HMEN.js} +1 -1
  79. package/dist/cdn/FTAYHPMM.js +2 -0
  80. package/dist/cdn/{OKXZJQ2B.js → FTQ4FNZO.js} +1 -1
  81. package/dist/cdn/{H6ILOF27.js → FUXY5EKO.js} +1 -1
  82. package/dist/cdn/FZDIAVC4.js +2 -0
  83. package/dist/cdn/G7QZJNAC.js +2 -0
  84. package/dist/cdn/{EX22SAPL.js → GF4QAY6O.js} +1 -1
  85. package/dist/cdn/{556MC5SF.js → GHVLDDZ3.js} +1 -1
  86. package/dist/cdn/{WTMMFDEH.js → GIAAX7SI.js} +1 -1
  87. package/dist/cdn/GXBHOVJY.js +2 -0
  88. package/dist/cdn/{KY4FMFIC.js → GZ3XKDIF.js} +1 -1
  89. package/dist/cdn/HDL76VD5.js +2 -0
  90. package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
  91. package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
  92. package/dist/cdn/{GNGZFV2C.js → HVKFQS3R.js} +1 -1
  93. package/dist/cdn/{37TNG76C.js → HZOWV5JG.js} +1 -1
  94. package/dist/cdn/{LG4PZVHS.js → I46QTMEJ.js} +1 -1
  95. package/dist/cdn/{3XMPN66U.js → I6EE4PLM.js} +1 -1
  96. package/dist/cdn/{NGKNECON.js → ILVKM7IB.js} +1 -1
  97. package/dist/cdn/{F4HWT5H3.js → IM47JQ76.js} +1 -1
  98. package/dist/cdn/{ORH27QWU.js → IOYNCKBD.js} +1 -1
  99. package/dist/cdn/IQPGSWSL.js +2 -0
  100. package/dist/cdn/{QVMTO5BV.js → IUFWY6SY.js} +1 -1
  101. package/dist/cdn/IW7IOW5D.js +2 -0
  102. package/dist/cdn/{FQGKKJL7.js → IX5YLGNO.js} +1 -1
  103. package/dist/cdn/{UKKUFJLL.js → J275QP5E.js} +1 -1
  104. package/dist/cdn/{OCEXQCFT.js → JEFKCKHC.js} +1 -1
  105. package/dist/cdn/JSD5CN5Q.js +2 -0
  106. package/dist/cdn/{4EAZ4PIQ.js → JUVPY4PW.js} +1 -1
  107. package/dist/cdn/{K27JJT2P.js → JWGHJITH.js} +1 -1
  108. package/dist/cdn/JXUAJ4MS.js +2 -0
  109. package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
  110. package/dist/cdn/{C4DJABUI.js → LA34IEDJ.js} +1 -1
  111. package/dist/cdn/LB32PLWG.js +2 -0
  112. package/dist/cdn/{42UR6TXZ.js → LJLCKW5C.js} +1 -1
  113. package/dist/cdn/{C7YN3AZA.js → LQNM7YK2.js} +1 -1
  114. package/dist/cdn/{2VC2VUTP.js → MIXNJBCA.js} +1 -1
  115. package/dist/cdn/{ZVTPU2MO.js → MR4WJFX6.js} +1 -1
  116. package/dist/cdn/{FC6W37TT.js → MSWQUZSG.js} +1 -1
  117. package/dist/cdn/{GYTQDFSL.js → MWS2QVII.js} +1 -1
  118. package/dist/cdn/{X26CF5AU.js → NFEIF3A6.js} +1 -1
  119. package/dist/cdn/{7YLXQNEC.js → NHBPPRG2.js} +1 -1
  120. package/dist/cdn/NHMOFXEE.js +2 -0
  121. package/dist/cdn/{52GXKBGP.js → NLRKDVIJ.js} +1 -1
  122. package/dist/cdn/NPEA453T.js +2 -0
  123. package/dist/cdn/{HO4JUZ6N.js → NQ3Z6LXI.js} +1 -1
  124. package/dist/cdn/NWWJHV2L.js +2 -0
  125. package/dist/cdn/{E2JLZZFR.js → O2BAIE3M.js} +1 -1
  126. package/dist/cdn/OKXFUFPW.js +2 -0
  127. package/dist/cdn/OSIWX2OH.js +2 -0
  128. package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
  129. package/dist/cdn/{SZ5MNKOW.js → PPQASHMO.js} +1 -1
  130. package/dist/cdn/{ZD25GJYW.js → PR47Q75I.js} +1 -1
  131. package/dist/cdn/{AP2IFWYH.js → PX63EYUH.js} +1 -1
  132. package/dist/cdn/{MAGJWMWM.js → PXJQJ6MY.js} +1 -1
  133. package/dist/cdn/PZC5TBXA.js +2 -0
  134. package/dist/cdn/{3PQT2S7Z.js → QEXDU6P7.js} +1 -1
  135. package/dist/cdn/{4363SIKC.js → QHSQUBMZ.js} +1 -1
  136. package/dist/cdn/QUXORNHT.js +2 -0
  137. package/dist/cdn/R7BJHEHH.js +2 -0
  138. package/dist/cdn/{XRP25NGI.js → RG5JFGHQ.js} +1 -1
  139. package/dist/cdn/{WJ5HD2YN.js → RMGBO7V2.js} +1 -1
  140. package/dist/cdn/S4I3X6AX.js +2 -0
  141. package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
  142. package/dist/cdn/{NRV7VFJ7.js → SVRZWJDO.js} +1 -1
  143. package/dist/cdn/{WOV3LB6K.js → TE3F7O3C.js} +1 -1
  144. package/dist/cdn/{YC6JWXOW.js → TFKBGMV2.js} +1 -1
  145. package/dist/cdn/TK4IQ72L.js +2 -0
  146. package/dist/cdn/TKFT2JL7.js +2 -0
  147. package/dist/cdn/TKK5PRP5.js +2 -0
  148. package/dist/cdn/{NWK2WHZF.js → TMXUHRLR.js} +1 -1
  149. package/dist/cdn/{JBJ5NQTI.js → UH33CM5U.js} +1 -1
  150. package/dist/cdn/UNY32K3R.js +2 -0
  151. package/dist/cdn/{3DO7PVNW.js → VD6EJLFO.js} +1 -1
  152. package/dist/cdn/VYAUH7PN.js +2 -0
  153. package/dist/cdn/{OSPWEZQJ.js → W5E542JG.js} +1 -1
  154. package/dist/cdn/W5T5EBL3.js +2 -0
  155. package/dist/cdn/{NZAO2BVV.js → WHGU6HOR.js} +1 -1
  156. package/dist/cdn/{TPOLS4YM.js → WPWBOKOR.js} +1 -1
  157. package/dist/cdn/{WGWNMYUH.js → WZDTXSRM.js} +1 -1
  158. package/dist/cdn/{XMZSFKKO.js → X4AA7QDM.js} +1 -1
  159. package/dist/cdn/{JLK664TB.js → X5NCN674.js} +1 -1
  160. package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
  161. package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
  162. package/dist/cdn/Y33DXW66.js +2 -0
  163. package/dist/cdn/{YC423DBS.js → Y4JTATJ2.js} +1 -1
  164. package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
  165. package/dist/cdn/{J55YUTPM.js → Y6W27QLR.js} +1 -1
  166. package/dist/cdn/{BGOWWLCQ.js → YC562S5E.js} +1 -1
  167. package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
  168. package/dist/cdn/{T2ZF4XIZ.js → ZERLO6VI.js} +1 -1
  169. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  170. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  171. package/dist/cdn/index.js +1 -1
  172. package/dist/cdn/main.css +1 -1
  173. package/dist/chunks/AnalysisViewModel.js +106 -99
  174. package/dist/chunks/esri-main.js +1 -1
  175. package/dist/chunks/feature-utils.js +73 -73
  176. package/dist/chunks/layer-utils.js +33 -16
  177. package/dist/chunks/measurementUtils.js +45 -22
  178. package/dist/chunks/slots.js +20 -20
  179. package/dist/chunks/time-utils.js +24 -22
  180. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  181. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
  182. package/dist/components/arcgis-area-measurement-2d/customElement.js +100 -91
  183. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  184. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -25
  185. package/dist/components/arcgis-area-measurement-3d/customElement.js +73 -94
  186. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  187. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  188. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
  189. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  190. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -100
  191. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
  192. package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
  193. package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
  194. package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
  195. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  196. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -74
  197. package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
  198. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  199. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
  200. package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
  201. package/dist/components/arcgis-daylight/customElement.js +202 -200
  202. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  203. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -22
  204. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +79 -100
  205. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  206. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  207. package/dist/components/arcgis-directions/customElement.d.ts +60 -14
  208. package/dist/components/arcgis-directions/customElement.js +28 -6
  209. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
  210. package/dist/components/arcgis-distance-measurement-2d/customElement.js +95 -86
  211. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  212. package/dist/components/arcgis-editor/customElement.d.ts +27 -19
  213. package/dist/components/arcgis-editor/customElement.js +3 -3
  214. package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
  215. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  216. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  217. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  218. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  219. package/dist/components/arcgis-expand/types.d.ts +1 -0
  220. package/dist/components/arcgis-feature/customElement.d.ts +38 -39
  221. package/dist/components/arcgis-feature/customElement.js +39 -39
  222. package/dist/components/arcgis-feature-expression/customElement.js +23 -26
  223. package/dist/components/arcgis-feature-fields/customElement.js +28 -27
  224. package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
  225. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  226. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  227. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  228. package/dist/components/arcgis-feature-table/customElement.d.ts +183 -89
  229. package/dist/components/arcgis-feature-table/customElement.js +47 -31
  230. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
  231. package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
  232. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  233. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +11 -8
  234. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +62 -62
  235. package/dist/components/arcgis-features/customElement.d.ts +66 -70
  236. package/dist/components/arcgis-features/customElement.js +49 -49
  237. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
  238. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  239. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  240. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
  241. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
  242. package/dist/components/arcgis-home/customElement.d.ts +8 -10
  243. package/dist/components/arcgis-layer-list/customElement.d.ts +51 -54
  244. package/dist/components/arcgis-legend/customElement.d.ts +42 -43
  245. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  246. package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
  247. package/dist/components/arcgis-link-chart/customElement.d.ts +61 -71
  248. package/dist/components/arcgis-link-chart/customElement.js +15 -15
  249. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
  250. package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
  251. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
  252. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  253. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
  254. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  255. package/dist/components/arcgis-map/customElement.d.ts +174 -184
  256. package/dist/components/arcgis-map/customElement.js +11 -11
  257. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  258. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
  259. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
  260. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  261. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  262. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
  263. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  264. package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
  265. package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
  266. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
  267. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
  268. package/dist/components/arcgis-paste/customElement.d.ts +5 -5
  269. package/dist/components/arcgis-paste/customElement.js +57 -54
  270. package/dist/components/arcgis-paste/index.js +1 -1
  271. package/dist/components/arcgis-popup/customElement.d.ts +67 -70
  272. package/dist/components/arcgis-popup/customElement.js +121 -119
  273. package/dist/components/arcgis-popup/types.d.ts +2 -2
  274. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
  275. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  276. package/dist/components/arcgis-print/customElement.d.ts +51 -31
  277. package/dist/components/arcgis-print/customElement.js +7 -7
  278. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
  279. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  280. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  281. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  282. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
  283. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  284. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
  285. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  286. package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
  287. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  288. package/dist/components/arcgis-scene/customElement.d.ts +185 -200
  289. package/dist/components/arcgis-scene/customElement.js +14 -14
  290. package/dist/components/arcgis-search/customElement.d.ts +63 -59
  291. package/dist/components/arcgis-search/customElement.js +19 -18
  292. package/dist/components/arcgis-search/types.d.ts +1 -0
  293. package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
  294. package/dist/components/arcgis-sketch/customElement.d.ts +57 -39
  295. package/dist/components/arcgis-sketch/customElement.js +20 -8
  296. package/dist/components/arcgis-slice/customElement.d.ts +26 -26
  297. package/dist/components/arcgis-slice/customElement.js +6 -6
  298. package/dist/components/arcgis-slice/types.d.ts +4 -0
  299. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
  300. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  301. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
  302. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  303. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +55 -62
  304. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  305. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +112 -100
  306. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  307. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +154 -99
  308. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  309. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +14 -17
  310. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  311. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
  312. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  313. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +85 -104
  314. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  315. package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
  316. package/dist/components/arcgis-swipe/customElement.d.ts +11 -11
  317. package/dist/components/arcgis-table-list/customElement.d.ts +116 -81
  318. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  319. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  320. package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
  321. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  322. package/dist/components/arcgis-time-zone-label/customElement.d.ts +19 -33
  323. package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
  324. package/dist/components/arcgis-time-zone-label/index.js +0 -1
  325. package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
  326. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  327. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +15 -2
  328. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
  329. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  330. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
  331. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  332. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +86 -29
  333. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +65 -59
  334. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  335. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
  336. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -6
  337. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +93 -64
  338. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
  339. package/dist/components/arcgis-utility-network-trace-location/customElement.js +96 -91
  340. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  341. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +17 -2
  342. package/dist/components/arcgis-utility-network-trace-results/customElement.js +96 -75
  343. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  344. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  345. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
  346. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  347. package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
  348. package/dist/components/arcgis-version-management/types.d.ts +15 -0
  349. package/dist/components/arcgis-video/customElement.d.ts +12 -12
  350. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  351. package/dist/components/arcgis-video-player/customElement.js +2 -2
  352. package/dist/components/arcgis-volume-measurement/customElement.d.ts +45 -41
  353. package/dist/components/arcgis-volume-measurement/customElement.js +171 -171
  354. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  355. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  356. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  357. package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
  358. package/dist/components/arcgis-zoom/types.d.ts +3 -0
  359. package/dist/components/types.d.ts +58 -1
  360. package/dist/docs/api.json +1 -1
  361. package/dist/docs/docs.json +1 -1
  362. package/dist/docs/vscode.html-custom-data.json +1 -1
  363. package/dist/docs/web-types.json +1 -1
  364. package/dist/index.d.ts +13 -35
  365. package/dist/loader.js +36 -36
  366. package/dist/types/lumina.d.ts +36 -58
  367. package/dist/types/preact.d.ts +37 -63
  368. package/dist/types/react.d.ts +38 -68
  369. package/dist/types/stencil.d.ts +36 -58
  370. package/package.json +4 -4
  371. package/dist/cdn/22LNBUKE.js +0 -2
  372. package/dist/cdn/23UYZVTW.js +0 -2
  373. package/dist/cdn/3GZCJE62.js +0 -2
  374. package/dist/cdn/4TURMTXA.js +0 -2
  375. package/dist/cdn/55QGHI47.js +0 -2
  376. package/dist/cdn/7UR4M6PN.js +0 -2
  377. package/dist/cdn/A4UJ53JS.js +0 -2
  378. package/dist/cdn/AGYDL2DX.js +0 -2
  379. package/dist/cdn/B5XR4LXQ.js +0 -2
  380. package/dist/cdn/CKNH5OMJ.js +0 -2
  381. package/dist/cdn/DOLELC6W.js +0 -2
  382. package/dist/cdn/E7FLH54K.js +0 -2
  383. package/dist/cdn/EL62JS5C.js +0 -2
  384. package/dist/cdn/EYNKJZG3.js +0 -2
  385. package/dist/cdn/F2TXAMXM.js +0 -2
  386. package/dist/cdn/FEQLUSM2.js +0 -2
  387. package/dist/cdn/HNHCO4OD.js +0 -2
  388. package/dist/cdn/HR2OOT3F.js +0 -2
  389. package/dist/cdn/I2MQQXVU.js +0 -2
  390. package/dist/cdn/IDDSHZVB.js +0 -2
  391. package/dist/cdn/JDZWJLJX.js +0 -2
  392. package/dist/cdn/KECAR2NZ.js +0 -2
  393. package/dist/cdn/KEFY4XPI.js +0 -2
  394. package/dist/cdn/KXF2562U.js +0 -2
  395. package/dist/cdn/LHEP4QSS.js +0 -2
  396. package/dist/cdn/LZFDWRYI.js +0 -2
  397. package/dist/cdn/M7VTEC3S.js +0 -2
  398. package/dist/cdn/MSMDSEFM.js +0 -2
  399. package/dist/cdn/MW73TE2N.js +0 -2
  400. package/dist/cdn/MWBGBBXT.js +0 -2
  401. package/dist/cdn/NVACRYY6.js +0 -2
  402. package/dist/cdn/NZ5M5SVG.js +0 -2
  403. package/dist/cdn/PNDLNFML.js +0 -2
  404. package/dist/cdn/RJ76OXB6.js +0 -2
  405. package/dist/cdn/S4XGBADW.js +0 -2
  406. package/dist/cdn/S6G6XXTM.js +0 -2
  407. package/dist/cdn/SKW7HQZ6.js +0 -2
  408. package/dist/cdn/SRSYUCVL.js +0 -2
  409. package/dist/cdn/TM5C2P2F.js +0 -2
  410. package/dist/cdn/U3LH3AZH.js +0 -2
  411. package/dist/cdn/UTH3SGAS.js +0 -2
  412. package/dist/cdn/VJMMA6UX.js +0 -2
  413. package/dist/cdn/W2E5L6DS.js +0 -2
  414. package/dist/cdn/WGXSSEAL.js +0 -2
  415. package/dist/cdn/X6OVNOLQ.js +0 -2
  416. package/dist/cdn/X7YUU7TS.js +0 -2
  417. package/dist/cdn/XO6U6OVM.js +0 -2
  418. package/dist/cdn/Y53D5YAC.js +0 -2
  419. package/dist/cdn/YKTB6AFH.js +0 -2
  420. package/dist/cdn/YWQGP6MB.js +0 -2
  421. package/dist/cdn/ZMLRDNKR.js +0 -2
  422. package/dist/cdn/ZUTQE3OX.js +0 -2
  423. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  424. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  425. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  426. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  427. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  428. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  429. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  430. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  431. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  432. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  433. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  434. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  435. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  436. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
  437. package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
  438. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
  439. package/dist/components/support/goTo.d.ts +0 -37
  440. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  441. package/dist/support/heading.d.ts +0 -1
  442. package/dist/support/measurementUtils.d.ts +0 -1
  443. package/dist/utils/action-utils.d.ts +0 -3
  444. package/dist/utils/component-utils.d.ts +0 -5
  445. /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
  446. /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
  447. /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
  448. /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
  449. /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
  450. /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
  451. /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
  452. /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
  453. /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
  454. /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
  455. /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
  456. /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
  457. /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
  458. /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
  459. /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
  460. /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
  461. /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
  462. /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
  463. /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
  464. /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
  465. /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
  466. /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
  467. /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
  468. /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
  469. /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
  470. /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
  471. /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
  472. /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
  473. /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
  474. /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
  475. /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
  476. /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
  477. /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
  478. /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
  479. /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
  480. /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
  481. /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
  482. /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
  483. /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
  484. /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
  485. /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
  486. /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
  487. /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
  488. /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
  489. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  490. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -1,18 +1,18 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as l } from "../../chunks/runtime.js";
3
- import { css as o, html as n } from "lit";
3
+ import { css as o, html as r } from "lit";
4
4
  import c from "@arcgis/core/applications/Components/QuantityFormatter.js";
5
- import { LitElement as v, createEvent as d } from "@arcgis/lumina";
6
- const p = o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-columns: 1;--internal-icon-size: 16px;container-type:inline-size}.container{display:grid;isolation:isolate;grid-template-columns:repeat(var(--internal-columns, 1),1fr);gap:var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.statistic{display:block;width:max-content;text-align:start;white-space:nowrap}.statistic-label,.statistic-value,.slope-values{font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-bold)}.statistic-label{font-weight:var(--calcite-font-weight-regular)}.statistic-value{margin-top:-.15em}.slope-values{display:flex;align-items:center;calcite-icon{width:var(--internal-icon-size);height:var(--internal-icon-size)}}@container (width > 200px){.container{--internal-columns: 2}}@container (width > 400px){.container{--internal-columns: 4}}@container (width > 800px){.container{--internal-columns: 8}}`;
7
- class m extends v {
5
+ import { LitElement as v, createEvent as g } from "@arcgis/lumina";
6
+ const d = o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-columns: 1;--internal-icon-size: 16px;container-type:inline-size}.container{display:grid;isolation:isolate;grid-template-columns:repeat(var(--internal-columns, 1),1fr);gap:var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.statistic{display:block;width:max-content;text-align:start;white-space:nowrap}.statistic-label,.statistic-value,.slope-values{font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-bold)}.statistic-label{font-weight:var(--calcite-font-weight-regular)}.statistic-value{margin-top:-.15em}.slope-values{display:flex;align-items:center;calcite-icon{width:var(--internal-icon-size);height:var(--internal-icon-size)}}@container (width > 200px){.container{--internal-columns: 2}}@container (width > 400px){.container{--internal-columns: 4}}@container (width > 800px){.container{--internal-columns: 8}}`;
7
+ class p extends v {
8
8
  constructor() {
9
- super(...arguments), this._formatter = new c(), this.arcgisExpandedToggle = d();
9
+ super(...arguments), this._formatter = new c(), this.arcgisExpandedToggle = g();
10
10
  }
11
11
  static {
12
12
  this.properties = { effectiveDisplayUnits: 0, messages: 0, result: 0 };
13
13
  }
14
14
  static {
15
- this.styles = p;
15
+ this.styles = d;
16
16
  }
17
17
  async destroy() {
18
18
  await this.manager.destroy();
@@ -21,43 +21,37 @@ class m extends v {
21
21
  await this._formatter.when();
22
22
  }
23
23
  render() {
24
- const t = this.messages?.statistics;
25
- if (t)
26
- return n`<div class="container">${this._renderDistance("maxDistance", t.maxDistance)}${this._renderElevation("elevationGain", t.gain)}${this._renderElevation("elevationLoss", t.loss)}${this._renderElevation("minElevation", t.minElevation)}${this._renderElevation("maxElevation", t.maxElevation)}${this._renderElevation("avgElevation", t.avgElevation)}${this._renderSlope("maxPositiveSlope", "maxNegativeSlope", t.maxSlope)}${this._renderSlope("avgPositiveSlope", "avgNegativeSlope", t.avgSlope)}</div>`;
24
+ const e = this.messages?.statistics;
25
+ if (e)
26
+ return r`<div class="container">${this._renderDistance("maxDistance", e.maxDistance)}${this._renderElevation("elevationGain", e.gain)}${this._renderElevation("elevationLoss", e.loss)}${this._renderElevation("minElevation", e.minElevation)}${this._renderElevation("maxElevation", e.maxElevation)}${this._renderElevation("avgElevation", e.avgElevation)}${this._renderSlope("maxPositiveSlope", "maxNegativeSlope", e.maxSlope)}${this._renderSlope("avgPositiveSlope", "avgNegativeSlope", e.avgSlope)}</div>`;
27
27
  }
28
- _renderDistance(t, i) {
29
- const a = this._renderValue(t, (e) => {
28
+ _renderDistance(e, i) {
29
+ const a = this._renderValue(e, (t) => {
30
30
  const s = this.effectiveDisplayUnits?.distance;
31
- return s ? this._formatter.formatLength({ type: "length", value: e, unit: s }, r) : "";
31
+ return s ? this._formatter.formatLength({ type: "length", value: t, unit: s }, n) : "";
32
32
  });
33
33
  return this._renderStatistic(i, a);
34
34
  }
35
- _renderElevation(t, i) {
36
- const a = this._renderValue(t, (e) => {
35
+ _renderElevation(e, i) {
36
+ const a = this._renderValue(e, (t) => {
37
37
  const s = this.effectiveDisplayUnits?.elevation;
38
- return s ? this._formatter.formatVerticalLength({ type: "length", value: e, unit: s }, r) : "";
38
+ return s ? this._formatter.formatVerticalLength({ type: "length", value: t, unit: s }, n) : "";
39
39
  });
40
40
  return this._renderStatistic(i, a);
41
41
  }
42
- _renderSlope(t, i, a) {
43
- return this._renderStatistic(a, n`<div class="slope-values"><calcite-icon icon=arrow-up scale=s></calcite-icon>${this._renderValue(t, (e) => (
44
- // unitFormatUtils.formatAngleDegrees(v, "degrees", "geographic", "geographic", formatPrecision)
45
- e.toFixed(1)
46
- ))}<calcite-icon icon=arrow-down scale=s></calcite-icon>${this._renderValue(i, (e) => (
47
- // unitFormatUtils.formatAngleDegrees(v, "degrees", "geographic", "geographic", formatPrecision),
48
- e.toFixed(1)
49
- ))}</div>`);
42
+ _renderSlope(e, i, a) {
43
+ return this._renderStatistic(a, r`<div class="slope-values"><calcite-icon icon=arrow-up scale=s></calcite-icon>${this._renderValue(e, (t) => this._formatter.formatAngleDegrees(t, "degrees", "geographic", "geographic", n))}<calcite-icon icon=arrow-down scale=s></calcite-icon>${this._renderValue(i, (t) => this._formatter.formatAngleDegrees(t, "degrees", "geographic", "geographic", n))}</div>`);
50
44
  }
51
- _renderStatistic(t, i) {
52
- return n`<div class="statistic"><label class="statistic-label">${t}</label><div class="statistic-value">${i}</div></div>`;
45
+ _renderStatistic(e, i) {
46
+ return r`<div class="statistic"><label class="statistic-label">${e}</label><div class="statistic-value">${i}</div></div>`;
53
47
  }
54
- _renderValue(t, i) {
55
- const { result: a } = this, e = a?.progress === 1 ? a.statistics?.[t] : void 0;
56
- return e == null ? " ― " : i(e);
48
+ _renderValue(e, i) {
49
+ const { result: a } = this, t = a?.progress === 1 ? a.statistics?.[e] : void 0;
50
+ return t == null ? " ― " : i(t);
57
51
  }
58
52
  }
59
- const r = 1;
60
- l("arcgis-elevation-profile-statistics", m);
53
+ const n = 1;
54
+ l("arcgis-elevation-profile-statistics", p);
61
55
  export {
62
- m as ArcgisElevationProfileStatistics
56
+ p as ArcgisElevationProfileStatistics
63
57
  };
@@ -1,12 +1,11 @@
1
1
  /// <reference path="../../index.d.ts" />
2
+ import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
2
3
  import type MapView from "@arcgis/core/views/MapView.js";
3
4
  import type SceneView from "@arcgis/core/views/SceneView.js";
4
- import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
5
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
5
+ import type { ArcgisReferenceElement, IconName } from "../types.js";
6
6
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
- import type { IconName } from "../../utils/action-utils.js";
8
7
  import type { T9nMeta } from "@arcgis/lumina/controllers";
9
- import type { ExpandViewModelState } from "./ExpandViewModel.js";
8
+ import type { ExpandState } from "./types.js";
10
9
  import type { Panel as Panel } from "@esri/calcite-components/components/calcite-panel";
11
10
  import type { Action as Action } from "@esri/calcite-components/components/calcite-action";
12
11
 
@@ -27,7 +26,7 @@ import type { Action as Action } from "@esri/calcite-components/components/calci
27
26
  export abstract class ArcgisExpand extends LitElement {
28
27
  /**
29
28
  * Automatically collapses the Expand component when the
30
- * [viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#viewpoint) updates.
29
+ * [viewpoint](https://developers.arcgis.com/javascript/latest/references/core/views/View/#viewpoint) updates.
31
30
  *
32
31
  * @default false
33
32
  */
@@ -189,7 +188,7 @@ export abstract class ArcgisExpand extends LitElement {
189
188
  * @default "disabled"
190
189
  * @since 4.34
191
190
  */
192
- get state(): ExpandViewModelState;
191
+ get state(): ExpandState;
193
192
  /**
194
193
  * When true, disables rendering in the top layer (above overlays and modals).
195
194
  * This can be useful for controlling stacking context in complex UI layouts.
@@ -202,7 +201,7 @@ export abstract class ArcgisExpand extends LitElement {
202
201
  * The view associated with the component.
203
202
  * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-expand component will be associated with a map or scene component rather than using the `view` property.
204
203
  */
205
- accessor view: MapView | SceneView | LinkChartView | null | undefined;
204
+ accessor view: LinkChartView | MapView | SceneView | null | undefined;
206
205
  /**
207
206
  * Specifies the size of the component.
208
207
  *
@@ -0,0 +1 @@
1
+ export type ExpandState = "disabled" | "ready";
@@ -4,22 +4,21 @@ import type Graphic from "@arcgis/core/Graphic.js";
4
4
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
5
5
  import type Map from "@arcgis/core/Map.js";
6
6
  import type Point from "@arcgis/core/geometry/Point.js";
7
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
8
- import type { HeadingLevel } from "../../support/heading.js";
7
+ import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
9
8
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
10
9
  import type { T9nMeta } from "@arcgis/lumina/controllers";
11
10
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
12
11
  import type { State } from "@arcgis/core/widgets/Feature/types.js";
13
12
 
14
13
  /**
15
- * The Feature component displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
14
+ * The Feature component displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
16
15
  * This component is useful in instances where you want to display information about a feature but without
17
- * the use of a [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html).
16
+ * the use of a [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/).
18
17
  *
19
- * If wanting to show a feature's content with [actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#actions), [related](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-RelationshipContent.html), or [clustering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#popupTemplate), etc., then use the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component.
18
+ * If wanting to show a feature's content with [actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), [related](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/), or [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate), etc., then use the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component.
20
19
  *
21
20
  * When Arcade expressions that use `$map` or [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) are defined in any popup template content or as expression elements,
22
- * the [map](#map) and [spatialReference](#spatialReference) properties need to be defined in the Feature component.
21
+ * the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#map) and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#spatialReference) properties need to be defined in the Feature component.
23
22
  *
24
23
  * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
25
24
  * @see [Arcade - expression language](https://developers.arcgis.com/javascript/latest/arcade/)
@@ -47,28 +46,28 @@ export abstract class ArcgisFeature extends LitElement {
47
46
  * Enables automatic creation of a popup template for layers that have popups enabled but no
48
47
  * popupTemplate defined. Automatic popup templates are supported for layers that
49
48
  * support the `createPopupTemplate()` method. (Supported for
50
- * [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
51
- * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
52
- * [SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
53
- * [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
54
- * [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html)
55
- * [PointCloudLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-PointCloudLayer.html),
56
- * [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html), and
57
- * [ImageryLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html)).
49
+ * [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
50
+ * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/),
51
+ * [SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/),
52
+ * [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
53
+ * [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OGCFeatureLayer/)
54
+ * [PointCloudLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/PointCloudLayer/),
55
+ * [StreamLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer/), and
56
+ * [ImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryLayer/)).
58
57
  *
59
58
  * **Note:**
60
- * 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)
61
- * rather than `long-month-day-year` in the default [popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) created by setting the `defaultPopupTemplateEnabled` property to `true`.
59
+ * Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/#dateFormat)
60
+ * rather than `long-month-day-year` in the default [popup](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) created by setting the `defaultPopupTemplateEnabled` property to `true`.
62
61
  * For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
63
62
  *
64
63
  * @default false
65
64
  */
66
65
  accessor defaultPopupTemplateEnabled: boolean;
67
66
  /**
68
- * The [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) used to represent the feature.
67
+ * The [Graphic](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) used to represent the feature.
69
68
  *
70
69
  * @default null
71
- * @see [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content)
70
+ * @see [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#content)
72
71
  * @example
73
72
  * ```js
74
73
  * let graphic = new Graphic({
@@ -95,16 +94,16 @@ export abstract class ArcgisFeature extends LitElement {
95
94
  */
96
95
  accessor graphic: Graphic | null | undefined;
97
96
  /**
98
- * The title for the feature. This can be disabled by setting the [`hideHeading`](#hideHeading) property to `true`.
97
+ * The title for the feature. This can be disabled by setting the [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading) property to `true`.
99
98
  *
100
99
  * @default null
101
100
  * @since 4.34
102
- * @see [headingLevel](#headingLevel)
103
- * @see [hideHeading](#hideHeading)
101
+ * @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#headingLevel)
102
+ * @see [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading)
104
103
  */
105
104
  get heading(): string;
106
105
  /**
107
- * Indicates the heading level to use for the [heading](#heading) of the component.
106
+ * Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading) of the component.
108
107
  * By default, the title is rendered
109
108
  * as a level 2 heading (e.g. `<h2>Title of content</h2>`). Depending on the component's placement
110
109
  * in your app, you may need to adjust this heading for proper semantics. This is
@@ -120,7 +119,7 @@ export abstract class ArcgisFeature extends LitElement {
120
119
  */
121
120
  accessor headingLevel: HeadingLevel;
122
121
  /**
123
- * This property provides the ability to hide or show [attachments content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html) within the component.
122
+ * This property provides the ability to hide or show [attachments content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/AttachmentsContent/) within the component.
124
123
  *
125
124
  * @default false
126
125
  * @since 4.34
@@ -134,28 +133,28 @@ export abstract class ArcgisFeature extends LitElement {
134
133
  */
135
134
  accessor hideContent: boolean;
136
135
  /**
137
- * This property provides the ability to hide or show [custom content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-CustomContent.html) within the component.
136
+ * This property provides the ability to hide or show [custom content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/CustomContent/) within the component.
138
137
  *
139
138
  * @default false
140
139
  * @since 4.34
141
140
  */
142
141
  accessor hideCustomContent: boolean;
143
142
  /**
144
- * This property provides the ability to hide or show [expression content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html) within the component.
143
+ * This property provides the ability to hide or show [expression content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) within the component.
145
144
  *
146
145
  * @default false
147
146
  * @since 4.34
148
147
  */
149
148
  accessor hideExpressionContent: boolean;
150
149
  /**
151
- * This property provides the ability to hide or show [fields content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html) within the component.
150
+ * This property provides the ability to hide or show [fields content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/FieldsContent/) within the component.
152
151
  *
153
152
  * @default false
154
153
  * @since 4.34
155
154
  */
156
155
  accessor hideFieldsContent: boolean;
157
156
  /**
158
- * This property provides the ability to hide or show the component's [heading](#heading).
157
+ * This property provides the ability to hide or show the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading).
159
158
  *
160
159
  * @default false
161
160
  * @since 4.34
@@ -168,14 +167,14 @@ export abstract class ArcgisFeature extends LitElement {
168
167
  */
169
168
  accessor hideLastEditedInfo: boolean;
170
169
  /**
171
- * This property provides the ability to hide or show [media content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html) within the component.
170
+ * This property provides the ability to hide or show [media content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) within the component.
172
171
  *
173
172
  * @default false
174
173
  * @since 4.34
175
174
  */
176
175
  accessor hideMediaContent: boolean;
177
176
  /**
178
- * This property provides the ability to hide or show [text content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-TextContent.html) within the component.
177
+ * This property provides the ability to hide or show [text content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/TextContent/) within the component.
179
178
  *
180
179
  * @default false
181
180
  * @since 4.34
@@ -199,10 +198,10 @@ export abstract class ArcgisFeature extends LitElement {
199
198
  /** The component's default label. */
200
199
  accessor label: string | undefined;
201
200
  /**
202
- * The [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) representing the location of the map interaction used to trigger the opening of the component.
201
+ * The [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) representing the location of the map interaction used to trigger the opening of the component.
203
202
  *
204
203
  * @since 4.29
205
- * @see [PopupTemplate#content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content)
204
+ * @see [PopupTemplate#content](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#content)
206
205
  * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
207
206
  * @example
208
207
  * view.on("click", (event) => {
@@ -212,7 +211,7 @@ export abstract class ArcgisFeature extends LitElement {
212
211
  */
213
212
  accessor location: Point | null | undefined;
214
213
  /**
215
- * 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.
214
+ * A map is required when the input [graphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#graphic) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) 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.
216
215
  *
217
216
  * @default null
218
217
  * @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
@@ -355,14 +354,14 @@ export abstract class ArcgisFeature extends LitElement {
355
354
  */
356
355
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
357
356
  /**
358
- * This property provides the ability to hide or show [relationship content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-RelationshipContent.html) within the component.
357
+ * This property provides the ability to hide or show [relationship content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/) within the component.
359
358
  *
360
359
  * @default false
361
360
  * @since 4.34
362
361
  */
363
362
  accessor showRelationshipContent: boolean;
364
363
  /**
365
- * This property provides the ability to hide or show [utility network content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html) within the component.
364
+ * This property provides the ability to hide or show [utility network content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/) within the component.
366
365
  *
367
366
  * @default false
368
367
  * @since 4.34
@@ -386,7 +385,7 @@ export abstract class ArcgisFeature extends LitElement {
386
385
  get state(): State;
387
386
  /**
388
387
  * Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
389
- * 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 component,
388
+ * inherited from [MapView.timeZone](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#timeZone). When a MapView is not associated with the component,
390
389
  * then the property will fallback to the `system` time zone.
391
390
  *
392
391
  * **Possible Values**
@@ -407,20 +406,20 @@ export abstract class ArcgisFeature extends LitElement {
407
406
  /** Permanently destroy the component. */
408
407
  destroy(): Promise<void>;
409
408
  /**
410
- * Paginates to the next [media](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html) info.
409
+ * Paginates to the next [media](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) info.
411
410
  *
412
411
  * @param contentElementIndex
413
412
  */
414
413
  nextMedia(contentElementIndex: number): Promise<void>;
415
414
  /**
416
- * Paginates to the previous [media](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html) info.
415
+ * Paginates to the previous [media](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) info.
417
416
  *
418
417
  * @param contentElementIndex
419
418
  */
420
419
  previousMedia(contentElementIndex: number): Promise<void>;
421
420
  /**
422
- * Paginates to a specified [media](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html) info object. For example,
423
- * you may have [media](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-MediaContent.html) content which contains
421
+ * Paginates to a specified [media](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) info object. For example,
422
+ * you may have [media](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) content which contains
424
423
  * multiple `mediaInfos`. This method allows you to specify the index of the `mediaInfos`
425
424
  * you wish to display.
426
425
  *
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as $ } from "../../chunks/runtime.js";
3
- import { css as w, html as n } from "lit";
3
+ import { css as w, html as r } from "lit";
4
4
  import { ref as y } from "lit/directives/ref.js";
5
5
  import I from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
6
6
  import { u as M } from "../../chunks/useT9n.js";
@@ -9,29 +9,29 @@ import { usePropertyChange as x } from "@arcgis/lumina/controllers";
9
9
  import { m as F } from "../../chunks/useViewModel.js";
10
10
  import { LitElement as b, createEvent as _, nothing as L, safeClassMap as T } from "@arcgis/lumina";
11
11
  import { substitute as A } from "@arcgis/core/intl.js";
12
- import { g as k, a as R, c as V, b as D, s as c, i as B, d as N } from "../../chunks/feature-utils.js";
12
+ import { g as D, a as k, c as R, b as V, s as c, i as B, d as N } from "../../chunks/feature-utils.js";
13
13
  import P from "@arcgis/core/core/Collection.js";
14
14
  import { watch as Z } from "@arcgis/core/core/reactiveUtils.js";
15
- import { stripHTML as H } from "@arcgis/core/applications/Components/stringUtils.js";
16
- const U = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, E = F(I);
15
+ import { stripHTML as E } from "@arcgis/core/applications/Components/stringUtils.js";
16
+ const H = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = F(I);
17
17
  class z extends b {
18
18
  constructor() {
19
- super(...arguments), this.messages = M(), this._rootFlowNode = null, this.flowType = "feature", this.internalFlowItems = new P(), this.viewModel = E(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, 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 = x()("flowItems", "state"), this.arcgisReady = _();
19
+ super(...arguments), this.messages = M(), this._rootFlowNode = null, this.flowType = "feature", this.internalFlowItems = new P(), this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, 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 = x()("flowItems", "state"), this.arcgisReady = _();
20
20
  }
21
21
  static {
22
22
  this.properties = { flowType: 16, popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, viewModel: 0, view: 0, flowItems: 0, referenceElement: 1, icon: 1, isFeatureFromTable: 36, 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: 32 };
23
23
  }
24
24
  static {
25
- this.styles = U;
25
+ this.styles = H;
26
26
  }
27
27
  get popupTemplate() {
28
- return k(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
28
+ return D(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
29
29
  }
30
30
  get sourceLayer() {
31
- return R(this.graphic);
31
+ return k(this.graphic);
32
32
  }
33
33
  get fieldInfoMap() {
34
- return V(D(this.popupTemplate), this.sourceLayer);
34
+ return R(V(this.popupTemplate), this.sourceLayer);
35
35
  }
36
36
  get values() {
37
37
  return this.graphic?.attributes ?? {};
@@ -40,7 +40,7 @@ class z extends b {
40
40
  return this.viewModel.formattedAttributes?.global ?? {};
41
41
  }
42
42
  async destroy() {
43
- await this.manager.destroy();
43
+ this._removeFlowItems(), await this.manager.destroy();
44
44
  }
45
45
  async nextMedia(e) {
46
46
  return this.viewModel.nextMedia(e);
@@ -60,7 +60,7 @@ class z extends b {
60
60
  ]);
61
61
  }
62
62
  _removeFlowItems() {
63
- this.internalFlowItems?.removeAll();
63
+ this.internalFlowItems?.destroyAll();
64
64
  }
65
65
  _storeRootFlowNode(e) {
66
66
  this._rootFlowNode = e;
@@ -69,18 +69,18 @@ class z extends b {
69
69
  this._rootFlowNode?.setFocus();
70
70
  }
71
71
  _handleDrillInBackClick() {
72
- this.internalFlowItems?.pop();
72
+ this.internalFlowItems?.pop()?.destroy();
73
73
  }
74
74
  render() {
75
- const { state: e } = this.viewModel, t = n`<div class="container">${e === "error" ? this._renderError() : e === "loading" ? this._renderLoading() : this._renderContentContainer()}</div>`;
76
- return n`<div class="root">${t}</div>`;
75
+ const { state: e } = this.viewModel, t = r`<div class="container">${e === "error" ? this._renderError() : e === "loading" ? this._renderLoading() : this._renderContentContainer()}</div>`;
76
+ return r`<div class="root">${t}</div>`;
77
77
  }
78
78
  _renderError() {
79
79
  const { messages: e, hideHeading: t } = this;
80
- return n`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : n`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
80
+ return r`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : r`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
81
81
  }
82
82
  _renderLoading() {
83
- return n`<div class="loading-container"><calcite-loader inline label></calcite-loader></div>`;
83
+ return r`<div class="loading-container"><calcite-loader inline label></calcite-loader></div>`;
84
84
  }
85
85
  _renderAttachments(e) {
86
86
  const { values: t, fieldInfoMap: i, sourceLayer: o, globalValues: a } = this, s = c({
@@ -89,20 +89,20 @@ class z extends b {
89
89
  globalValues: a,
90
90
  layer: o,
91
91
  text: e.title
92
- }), r = c({
92
+ }), n = c({
93
93
  values: t,
94
94
  fieldInfoMap: i,
95
95
  globalValues: a,
96
96
  layer: o,
97
97
  text: e.description
98
98
  });
99
- return n`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords ?? void 0} .attachmentTypes=${e.attachmentTypes ?? void 0} .orderByFields=${e.orderByFields ?? void 0} .graphic=${this.graphic ?? void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`;
99
+ return r`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords ?? void 0} .attachmentTypes=${e.attachmentTypes ?? void 0} .orderByFields=${e.orderByFields ?? void 0} .graphic=${this.graphic ?? void 0} .description=${n} .messages=${this.messages}></arcgis-feature-attachments>`;
100
100
  }
101
101
  _renderCustom(e) {
102
- return n`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
102
+ return r`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
103
103
  }
104
104
  _renderFields(e, t) {
105
- const i = this.viewModel.formattedAttributes, { values: o, fieldInfoMap: a, sourceLayer: s, popupTemplate: r, globalValues: l, graphic: d } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? r?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (B(g) || N(g) || g in o)), f = r?.expressionInfos, m = c({
105
+ const i = this.viewModel.formattedAttributes, { values: o, fieldInfoMap: a, sourceLayer: s, popupTemplate: n, globalValues: l, graphic: d } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (B(g) || N(g) || g in o)), f = n?.expressionInfos, m = c({
106
106
  values: o,
107
107
  fieldInfoMap: a,
108
108
  globalValues: l,
@@ -115,13 +115,13 @@ class z extends b {
115
115
  layer: s,
116
116
  text: e.description
117
117
  });
118
- return n`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .messages=${this.messages} .graphic=${d ?? void 0} .isContentFieldInfos=${h} .layer=${s} .description=${v} .values=${{
118
+ return r`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .messages=${this.messages} .graphic=${d ?? void 0} .isContentFieldInfos=${h} .layer=${s} .description=${v} .values=${{
119
119
  ...i?.global,
120
120
  ...i?.content?.[t]
121
121
  }} .fieldInfos=${u} .expressionInfos=${f ?? void 0}></arcgis-feature-fields>`;
122
122
  }
123
123
  _renderMedia(e, t) {
124
- const { values: i, graphic: o, fieldInfoMap: a, sourceLayer: s, popupTemplate: r, globalValues: l } = this, { formattedAttributes: d, relatedInfos: h } = this.viewModel, p = {
124
+ const { values: i, graphic: o, fieldInfoMap: a, sourceLayer: s, popupTemplate: n, globalValues: l } = this, { formattedAttributes: d, relatedInfos: h } = this.viewModel, p = {
125
125
  ...d?.global,
126
126
  ...d?.content?.[t]
127
127
  }, u = c({
@@ -137,52 +137,52 @@ class z extends b {
137
137
  layer: s,
138
138
  text: e.description
139
139
  });
140
- return n`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${u} class="content-element" .description=${f} .values=${i} .layer=${s} .graphic=${o ?? void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${r ?? void 0} .relatedInfos=${h} .formattedValues=${p}></arcgis-feature-media>`;
140
+ return r`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${u} class="content-element" .description=${f} .values=${i} .layer=${s} .graphic=${o ?? void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${n ?? void 0} .relatedInfos=${h} .formattedValues=${p}></arcgis-feature-media>`;
141
141
  }
142
142
  _renderText(e) {
143
- return n`<arcgis-feature-content .creator=${e.text} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
143
+ return r`<arcgis-feature-content .creator=${e.text} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
144
144
  }
145
145
  _renderExpression(e, t) {
146
146
  const i = this.viewModel.formattedAttributes, { fieldInfoMap: o } = this;
147
- return n`<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="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${o} .values=${{
147
+ return r`<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="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${o} .values=${{
148
148
  ...i?.global,
149
149
  ...i?.content?.[t]
150
150
  }}></arcgis-feature-expression>`;
151
151
  }
152
152
  _renderRelationship(e, t) {
153
- const { values: i, graphic: o, fieldInfoMap: a, sourceLayer: s, globalValues: r } = this, { displayCount: l, orderByFields: d, relationshipId: h } = e, { formattedAttributes: p, view: u } = this.viewModel, f = {
153
+ const { values: i, graphic: o, fieldInfoMap: a, sourceLayer: s, globalValues: n } = this, { displayCount: l, orderByFields: d, relationshipId: h } = e, { formattedAttributes: p, view: u } = this.viewModel, f = {
154
154
  ...p?.global,
155
155
  ...p?.content?.[t]
156
156
  }, m = c({
157
157
  values: i,
158
158
  fieldInfoMap: a,
159
- globalValues: r,
159
+ globalValues: n,
160
160
  layer: s,
161
161
  text: e.title
162
162
  }), v = c({
163
163
  values: i,
164
164
  fieldInfoMap: a,
165
- globalValues: r,
165
+ globalValues: n,
166
166
  layer: s,
167
167
  text: e.description
168
168
  });
169
- return n`<arcgis-feature-relationship class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${s} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${o ?? void 0} .heading=${m} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${d ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
169
+ return r`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${s} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${o ?? void 0} .heading=${m} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${d ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
170
170
  }
171
171
  _renderAssociation(e) {
172
- const { fieldInfoMap: t, globalValues: i, graphic: o, messages: a, sourceLayer: s, values: r } = this, l = c({
173
- values: r,
172
+ const { fieldInfoMap: t, globalValues: i, graphic: o, messages: a, sourceLayer: s, values: n } = this, l = c({
173
+ values: n,
174
174
  fieldInfoMap: t,
175
175
  globalValues: i,
176
176
  layer: s,
177
177
  text: e.title
178
178
  }), d = c({
179
- values: r,
179
+ values: n,
180
180
  fieldInfoMap: t,
181
181
  globalValues: i,
182
182
  layer: s,
183
183
  text: e.description
184
184
  });
185
- return n`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class="content-element" .description=${d} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${o ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map ?? void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
185
+ return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${d} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${o ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map ?? void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
186
186
  }
187
187
  _renderContentElement(e, t) {
188
188
  switch (e.type) {
@@ -208,26 +208,26 @@ class z extends b {
208
208
  }
209
209
  _renderContent() {
210
210
  const { content: e, graphic: t } = this.viewModel;
211
- return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? n`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class="content-element"></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
211
+ return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? r`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class="content-element"></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
212
212
  }
213
213
  _renderContentContainer() {
214
214
  const { hideContent: e, internalFlowItems: t, headingLevel: i, state: o, messages: a } = this;
215
215
  if (e)
216
216
  return null;
217
- const s = n`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, r = a.returnToInitialFeature ?? "";
218
- return this.flowItems ? s : n`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${o === "loading"} .headingLevel=${i} .heading=${this.hideHeading ? void 0 : H(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((l, d) => n`<calcite-flow-item @calciteFlowItemBack=${(h) => {
217
+ const s = r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, n = a.returnToInitialFeature ?? "";
218
+ return this.flowItems ? s : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${o === "loading"} .headingLevel=${i} .heading=${this.hideHeading ? void 0 : E(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((l, d) => r`<calcite-flow-item @calciteFlowItemBack=${(h) => {
219
219
  h.preventDefault(), this._handleDrillInBackClick();
220
- }} .loading=${o === "loading"} .headingLevel=${i} .selected=${d === t.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r ?? L}></calcite-action>${l}</calcite-flow-item>`)}</calcite-flow>`;
220
+ }} .loading=${o === "loading"} .headingLevel=${i} .selected=${d === t.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${n} title=${n ?? L}></calcite-action>${l}</calcite-flow-item>`)}</calcite-flow>`;
221
221
  }
222
222
  _renderLastEditInfo() {
223
223
  const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
224
224
  if (!i || e)
225
225
  return null;
226
- const { date: o, user: a } = i, s = i.type === "edit" ? a ? t.lastEditedByUser : t.lastEdited : a ? t.lastCreatedByUser : t.lastCreated, r = A(s ?? "", {
226
+ const { date: o, user: a } = i, s = i.type === "edit" ? a ? t.lastEditedByUser : t.lastEdited : a ? t.lastCreatedByUser : t.lastCreated, n = A(s ?? "", {
227
227
  date: o,
228
228
  user: a
229
229
  });
230
- return n`<div class=${T(C("last-edited-info", "content-element"))}>${r}</div>`;
230
+ return r`<div class=${T(C("last-edited-info", "content-element"))}>${n}</div>`;
231
231
  }
232
232
  }
233
233
  $("arcgis-feature", z);