@arcgis/map-components 5.1.0-next.5 → 5.1.0-next.50

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 (616) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/{JTFZMNCO.js → 2CHYBLOC.js} +1 -1
  3. package/dist/cdn/2G3HODZY.js +2 -0
  4. package/dist/cdn/2H4TOIDN.js +2 -0
  5. package/dist/cdn/{27HOTQNB.js → 2RITORYK.js} +1 -1
  6. package/dist/cdn/{FQJMTGXO.js → 2SQ2T6UO.js} +1 -1
  7. package/dist/cdn/{GYTQDFSL.js → 2VAAAVLC.js} +1 -1
  8. package/dist/cdn/{THXN5VZY.js → 3BSS4OJF.js} +1 -1
  9. package/dist/cdn/{KYOYYCFY.js → 3D475OQN.js} +1 -1
  10. package/dist/cdn/3GY55TR6.js +2 -0
  11. package/dist/cdn/{INS77MCT.js → 3JMJAUSY.js} +1 -1
  12. package/dist/cdn/3KOWS73L.js +2 -0
  13. package/dist/cdn/3KZ42JDF.js +2 -0
  14. package/dist/cdn/3L2UM4VM.js +2 -0
  15. package/dist/cdn/{SPACZLHW.js → 3MQK2MOH.js} +1 -1
  16. package/dist/cdn/3SDSU2FD.js +2 -0
  17. package/dist/cdn/442445AM.js +2 -0
  18. package/dist/cdn/47EM5634.js +2 -0
  19. package/dist/cdn/4BF7JJHX.js +2 -0
  20. package/dist/cdn/4EJULFOT.js +2 -0
  21. package/dist/cdn/4J5MWUWB.js +2 -0
  22. package/dist/cdn/4Q6KP7JZ.js +2 -0
  23. package/dist/cdn/{62WRVJ3U.js → 4XLVCJ6P.js} +1 -1
  24. package/dist/cdn/53A4TVFJ.js +2 -0
  25. package/dist/cdn/55IJQTCC.js +2 -0
  26. package/dist/cdn/5CJ44XUV.js +2 -0
  27. package/dist/cdn/{YA6FUJR2.js → 5DCBCU6G.js} +1 -1
  28. package/dist/cdn/5E64VGZ5.js +2 -0
  29. package/dist/cdn/{AFU3S7KW.js → 5EGS3PEJ.js} +1 -1
  30. package/dist/cdn/5HJXFPDL.js +2 -0
  31. package/dist/cdn/{3OE7JG5I.js → 5VOKWJYK.js} +1 -1
  32. package/dist/cdn/{7IBXOWTT.js → 63G7LUIG.js} +1 -1
  33. package/dist/cdn/63VDVNOO.js +2 -0
  34. package/dist/cdn/64RBSCIU.js +2 -0
  35. package/dist/cdn/6CMVUTDU.js +2 -0
  36. package/dist/cdn/{B6T4CWYF.js → 6D7YTBW3.js} +1 -1
  37. package/dist/cdn/{5V7HEV2R.js → 6DE54WXK.js} +1 -1
  38. package/dist/cdn/6K7HT6IF.js +2 -0
  39. package/dist/cdn/{OKXZJQ2B.js → 6ORHT4GS.js} +1 -1
  40. package/dist/cdn/6OUYTR22.js +2 -0
  41. package/dist/cdn/{QLPUP6A3.js → 6XPVHLWQ.js} +1 -1
  42. package/dist/cdn/6ZLSCYL5.js +2 -0
  43. package/dist/cdn/73W64JNK.js +2 -0
  44. package/dist/cdn/{XOP2SCW3.js → 77HK7ZGB.js} +1 -1
  45. package/dist/cdn/{NWK2WHZF.js → 7DOI3267.js} +1 -1
  46. package/dist/cdn/7JGUTIGF.js +2 -0
  47. package/dist/cdn/{5UDFTH5U.js → 7KPBI4XT.js} +1 -1
  48. package/dist/cdn/{W2A4ONZA.js → 7LBICZSN.js} +1 -1
  49. package/dist/cdn/{TTR6UUEQ.js → 7P2RN5VN.js} +1 -1
  50. package/dist/cdn/{XEYK67J5.js → 7RAC6JLJ.js} +1 -1
  51. package/dist/cdn/{HOYFIMNJ.js → 7WYC3QVX.js} +1 -1
  52. package/dist/cdn/A2QPYUE5.js +2 -0
  53. package/dist/cdn/AE3QS3U2.js +2 -0
  54. package/dist/cdn/{GKW3DDEQ.js → AE6R5TA3.js} +1 -1
  55. package/dist/cdn/AHYA2UI7.js +2 -0
  56. package/dist/cdn/AJVS7BWH.js +2 -0
  57. package/dist/cdn/AK5ROHZH.js +2 -0
  58. package/dist/cdn/AMDRLSC6.js +2 -0
  59. package/dist/cdn/ANBLWVAY.js +2 -0
  60. package/dist/cdn/{JTEJ2NHE.js → BBCKCE5B.js} +1 -1
  61. package/dist/cdn/BHOFCE2A.js +2 -0
  62. package/dist/cdn/{LSF66JVY.js → CK5FRYUH.js} +1 -1
  63. package/dist/cdn/{IFSGM32L.js → CTUMJNVV.js} +1 -1
  64. package/dist/cdn/{HY73HOSP.js → CXFTZC4P.js} +1 -1
  65. package/dist/cdn/DE5AA22M.js +2 -0
  66. package/dist/cdn/DEUTYZQD.js +2 -0
  67. package/dist/cdn/{LVSNYSCO.js → DL5FSQTT.js} +1 -1
  68. package/dist/cdn/DQH27QCF.js +2 -0
  69. package/dist/cdn/DQJMLG55.js +2 -0
  70. package/dist/cdn/DRJGVD7E.js +2 -0
  71. package/dist/cdn/{4YQLL44L.js → DXG3NX4D.js} +1 -1
  72. package/dist/cdn/DYI5GSBP.js +2 -0
  73. package/dist/cdn/{5PJEJPFY.js → EDKX67YT.js} +1 -1
  74. package/dist/cdn/EHZW6UXL.js +2 -0
  75. package/dist/cdn/EJ3K6UKQ.js +2 -0
  76. package/dist/cdn/EU2LDM45.js +2 -0
  77. package/dist/cdn/{CMWIMRU2.js → F2MDJ3QQ.js} +1 -1
  78. package/dist/cdn/{ENDLVIST.js → F4WUHSSA.js} +1 -1
  79. package/dist/cdn/FIG6WRQB.js +2 -0
  80. package/dist/cdn/FL3CDOKT.js +2 -0
  81. package/dist/cdn/FWXI6DGS.js +2 -0
  82. package/dist/cdn/FZUR5QCD.js +2 -0
  83. package/dist/cdn/G2QS2EES.js +2 -0
  84. package/dist/cdn/{GLV3FW3Z.js → GIQWOYCO.js} +1 -1
  85. package/dist/cdn/GLFXKTJG.js +2 -0
  86. package/dist/cdn/{RN44YUJM.js → GTL2XK2G.js} +1 -1
  87. package/dist/cdn/GV445FXS.js +2 -0
  88. package/dist/cdn/{H5UJFKXO.js → GZ7R6ON7.js} +1 -1
  89. package/dist/cdn/{6XJFSJGE.js → H35H7V4U.js} +1 -1
  90. package/dist/cdn/H3W4AVNX.js +2 -0
  91. package/dist/cdn/{JFDN4YD7.js → H5TVMXUR.js} +1 -1
  92. package/dist/cdn/HBJXWV7A.js +2 -0
  93. package/dist/cdn/HIHI4JJ3.js +2 -0
  94. package/dist/cdn/HJDWKPKG.js +2 -0
  95. package/dist/cdn/HRPEPALP.js +2 -0
  96. package/dist/cdn/I3ZAURHF.js +2 -0
  97. package/dist/cdn/{CQ4QHVEL.js → I5CLFGA4.js} +1 -1
  98. package/dist/cdn/{FYYKRDW3.js → I7FUAEVX.js} +1 -1
  99. package/dist/cdn/I7NY2VAH.js +2 -0
  100. package/dist/cdn/IUL5Z7VB.js +2 -0
  101. package/dist/cdn/IXP3RVNX.js +2 -0
  102. package/dist/cdn/{D4BT63BV.js → J2UAHEHR.js} +1 -1
  103. package/dist/cdn/{4IC3NWKK.js → J5DZU2LD.js} +1 -1
  104. package/dist/cdn/{TVTQW6GC.js → J6UG5EF7.js} +1 -1
  105. package/dist/cdn/{33U3K3P2.js → JNUEXFDM.js} +1 -1
  106. package/dist/cdn/JO2YQJCG.js +2 -0
  107. package/dist/cdn/{SKGRUNAJ.js → JS63ZT7D.js} +1 -1
  108. package/dist/cdn/{D6VUTTEH.js → JSTCLI7D.js} +1 -1
  109. package/dist/cdn/JVFREF7G.js +4 -0
  110. package/dist/cdn/KMFIAOC5.js +2 -0
  111. package/dist/cdn/KOLU46FC.js +2 -0
  112. package/dist/cdn/KQE4KBPO.js +2 -0
  113. package/dist/cdn/{6RDB26PI.js → KXHRLYKD.js} +1 -1
  114. package/dist/cdn/{GHFKQEFW.js → L4P6QUAJ.js} +1 -1
  115. package/dist/cdn/LCWJCL4W.js +2 -0
  116. package/dist/cdn/LF3ACEGB.js +2 -0
  117. package/dist/cdn/{HXPCADLA.js → LMRDVTIM.js} +1 -1
  118. package/dist/cdn/LYUX5DD5.js +2 -0
  119. package/dist/cdn/MDRC374Z.js +4 -0
  120. package/dist/cdn/{AJBY2TVM.js → MFITF23R.js} +1 -1
  121. package/dist/cdn/MN6VPZBF.js +2 -0
  122. package/dist/cdn/{ZATCJZP2.js → MPXHOG6M.js} +1 -1
  123. package/dist/cdn/MSYERWRZ.js +2 -0
  124. package/dist/cdn/{IIPYTUR3.js → N6P3CYCE.js} +1 -1
  125. package/dist/cdn/{BSRIYDMN.js → NDK2KLBE.js} +1 -1
  126. package/dist/cdn/NRDGJWVQ.js +2 -0
  127. package/dist/cdn/O5TDDX7K.js +2 -0
  128. package/dist/cdn/OCGWSO54.js +2 -0
  129. package/dist/cdn/ODQ4JQEF.js +2 -0
  130. package/dist/cdn/OGLMIUHI.js +2 -0
  131. package/dist/cdn/{3FSARSVN.js → OH3I63ZU.js} +1 -1
  132. package/dist/cdn/OKKVTQV5.js +2 -0
  133. package/dist/cdn/{ZYMCKBTT.js → ORZL7AJK.js} +1 -1
  134. package/dist/cdn/{MQ6HO6LA.js → OSSSLPDH.js} +1 -1
  135. package/dist/cdn/OSYS3QIX.js +2 -0
  136. package/dist/cdn/OWIJFPEZ.js +2 -0
  137. package/dist/cdn/OY3SJG2A.js +2 -0
  138. package/dist/cdn/P2ABZVPJ.js +2 -0
  139. package/dist/cdn/P4KEOVAP.js +2 -0
  140. package/dist/cdn/{7357JBTM.js → PESOHUKZ.js} +1 -1
  141. package/dist/cdn/{DUT3D6UH.js → PIRNCGNB.js} +1 -1
  142. package/dist/cdn/PZRX6DU7.js +2 -0
  143. package/dist/cdn/{X26CF5AU.js → Q33VTX4M.js} +1 -1
  144. package/dist/cdn/QFXQQ57I.js +2 -0
  145. package/dist/cdn/QUXKTXGS.js +2 -0
  146. package/dist/cdn/{7ZAVSDBZ.js → QZFSCUU6.js} +1 -1
  147. package/dist/cdn/{JBJ5NQTI.js → RBTA7SDX.js} +1 -1
  148. package/dist/cdn/RERHZ7N6.js +2 -0
  149. package/dist/cdn/RH62B2NE.js +2 -0
  150. package/dist/cdn/RO4TU5R3.js +2 -0
  151. package/dist/cdn/RRK4SIGU.js +2 -0
  152. package/dist/cdn/{5CYQI4SX.js → RRTCHX7D.js} +1 -1
  153. package/dist/cdn/{34V5UMTY.js → RT4LIRRF.js} +1 -1
  154. package/dist/cdn/{KBY7C6QM.js → RT7W2L3G.js} +1 -1
  155. package/dist/cdn/RWKDHERX.js +2 -0
  156. package/dist/cdn/{4PWBNKOA.js → RZCSCSZX.js} +1 -1
  157. package/dist/cdn/S32MGHWV.js +2 -0
  158. package/dist/cdn/S4I3X6AX.js +2 -0
  159. package/dist/cdn/S676CANE.js +2 -0
  160. package/dist/cdn/SHA36V36.js +2 -0
  161. package/dist/cdn/SI3YNLBT.js +2 -0
  162. package/dist/cdn/{DU2TFEP3.js → SUCLDKGU.js} +2 -2
  163. package/dist/cdn/SUWCCBWL.js +2 -0
  164. package/dist/cdn/{WAASVZRG.js → SVM4RWA7.js} +1 -1
  165. package/dist/cdn/{24PK3ZLX.js → SVVJHTPA.js} +1 -1
  166. package/dist/cdn/{RISVXUI4.js → T3IOQA35.js} +1 -1
  167. package/dist/cdn/TBWM3VXL.js +2 -0
  168. package/dist/cdn/TCFMT5ET.js +2 -0
  169. package/dist/cdn/{IZOPV2VQ.js → TCYJRUYQ.js} +1 -1
  170. package/dist/cdn/{NW44UOKT.js → TE5VBSUT.js} +1 -1
  171. package/dist/cdn/{2IOCPFSI.js → TFMBO2TF.js} +1 -1
  172. package/dist/cdn/{H5QDPW5Y.js → TFUFDVQ6.js} +1 -1
  173. package/dist/cdn/{HK6EWWUB.js → TPLNBIOY.js} +1 -1
  174. package/dist/cdn/TRD7HG5P.js +2 -0
  175. package/dist/cdn/TVLLHHUA.js +2 -0
  176. package/dist/cdn/{TCG6VGIB.js → UCJK3GTY.js} +1 -1
  177. package/dist/cdn/UDSVK25W.js +2 -0
  178. package/dist/cdn/UFMWUZE3.js +2 -0
  179. package/dist/cdn/URMIFMUJ.js +2 -0
  180. package/dist/cdn/V46EJSBT.js +2 -0
  181. package/dist/cdn/VCLHE53D.js +2 -0
  182. package/dist/cdn/VDXT7AXJ.js +2 -0
  183. package/dist/cdn/VEYOGGAN.js +2 -0
  184. package/dist/cdn/VG6AAARR.js +2 -0
  185. package/dist/cdn/VLRZCW6D.js +2 -0
  186. package/dist/cdn/{BQMLNDT6.js → VQLAZAPA.js} +1 -1
  187. package/dist/cdn/W73LTDPZ.js +2 -0
  188. package/dist/cdn/WDAYQZKY.js +2 -0
  189. package/dist/cdn/WH7FEIAX.js +2 -0
  190. package/dist/cdn/{JLK664TB.js → WR3AVKYZ.js} +1 -1
  191. package/dist/cdn/{4363SIKC.js → WUWAJE6E.js} +1 -1
  192. package/dist/cdn/XEXCDGSR.js +2 -0
  193. package/dist/cdn/{L5EGJLC4.js → XKP5ITQT.js} +1 -1
  194. package/dist/cdn/XPZYTUFI.js +2 -0
  195. package/dist/cdn/{ATRTNMMR.js → Y2SCBPL7.js} +1 -1
  196. package/dist/cdn/{P4PTEXIJ.js → YIIQACF6.js} +1 -1
  197. package/dist/cdn/YSJ2M36J.js +2 -0
  198. package/dist/cdn/YXUK3MCB.js +2 -0
  199. package/dist/cdn/Z2WO7B65.js +2 -0
  200. package/dist/cdn/Z5NISON6.js +2 -0
  201. package/dist/cdn/ZBPKNJD3.js +2 -0
  202. package/dist/cdn/ZD4Y4HRX.js +2 -0
  203. package/dist/cdn/{BUE7MOVD.js → ZOCF3BGK.js} +1 -1
  204. package/dist/cdn/ZYCOEJDE.js +2 -0
  205. package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
  206. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  207. package/dist/cdn/index.js +1 -1
  208. package/dist/cdn/main.css +1 -1
  209. package/dist/chunks/AnalysisViewModel.js +106 -99
  210. package/dist/chunks/action-utils.js +2 -2
  211. package/dist/chunks/component-utils.js +85 -72
  212. package/dist/chunks/esri-main.js +1 -1
  213. package/dist/chunks/feature-utils.js +73 -73
  214. package/dist/chunks/heading.js +2 -2
  215. package/dist/chunks/layer-utils.js +38 -12
  216. package/dist/chunks/measurementUtils.js +12 -12
  217. package/dist/chunks/slots.js +27 -27
  218. package/dist/chunks/useArcgisViewReadyError.js +11 -11
  219. package/dist/chunks/useViewModel.js +5 -5
  220. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
  221. package/dist/components/arcgis-area-measurement-2d/customElement.js +97 -100
  222. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  223. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -26
  224. package/dist/components/arcgis-area-measurement-3d/customElement.js +69 -86
  225. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  226. package/dist/components/arcgis-attachments/customElement.d.ts +4 -5
  227. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
  228. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  229. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +126 -99
  230. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
  231. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  232. package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
  233. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  234. package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
  235. package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
  236. package/dist/components/arcgis-building-explorer/customElement.js +17 -12
  237. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  238. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +120 -73
  239. package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
  240. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  241. package/dist/components/arcgis-compass/customElement.js +1 -1
  242. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
  243. package/dist/components/arcgis-coordinate-conversion/customElement.js +23 -22
  244. package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
  245. package/dist/components/arcgis-daylight/customElement.js +212 -206
  246. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  247. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -23
  248. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -91
  249. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  250. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  251. package/dist/components/arcgis-directions/customElement.d.ts +60 -14
  252. package/dist/components/arcgis-directions/customElement.js +31 -9
  253. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
  254. package/dist/components/arcgis-distance-measurement-2d/customElement.js +77 -80
  255. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  256. package/dist/components/arcgis-editor/customElement.d.ts +79 -18
  257. package/dist/components/arcgis-editor/customElement.js +23 -14
  258. package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
  259. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  260. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  261. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  262. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  263. package/dist/components/arcgis-expand/types.d.ts +1 -0
  264. package/dist/components/arcgis-feature/customElement.d.ts +38 -39
  265. package/dist/components/arcgis-feature/customElement.js +39 -39
  266. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  267. package/dist/components/arcgis-feature-expression/customElement.js +23 -26
  268. package/dist/components/arcgis-feature-fields/customElement.js +23 -22
  269. package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
  270. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  271. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  272. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  273. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  274. package/dist/components/arcgis-feature-table/customElement.d.ts +181 -87
  275. package/dist/components/arcgis-feature-table/customElement.js +46 -30
  276. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
  277. package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
  278. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  279. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +25 -21
  280. package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
  281. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +34 -40
  282. package/dist/components/arcgis-features/customElement.d.ts +70 -70
  283. package/dist/components/arcgis-features/customElement.js +74 -79
  284. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
  285. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  286. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  287. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
  288. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
  289. package/dist/components/arcgis-home/customElement.d.ts +8 -10
  290. package/dist/components/arcgis-home/customElement.js +16 -14
  291. package/dist/components/arcgis-layer-list/customElement.d.ts +50 -53
  292. package/dist/components/arcgis-legend/customElement.d.ts +42 -43
  293. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  294. package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
  295. package/dist/components/arcgis-link-chart/customElement.d.ts +76 -68
  296. package/dist/components/arcgis-link-chart/customElement.js +8 -8
  297. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
  298. package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
  299. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
  300. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  301. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
  302. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  303. package/dist/components/arcgis-locate/customElement.js +24 -23
  304. package/dist/components/arcgis-map/customElement.d.ts +189 -181
  305. package/dist/components/arcgis-map/customElement.js +4 -4
  306. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  307. package/dist/components/arcgis-measurement-content/customElement.js +18 -14
  308. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
  309. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
  310. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  311. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  312. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
  313. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  314. package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
  315. package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
  316. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
  317. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
  318. package/dist/components/arcgis-paste/customElement.d.ts +5 -5
  319. package/dist/components/arcgis-paste/customElement.js +59 -54
  320. package/dist/components/arcgis-paste/index.js +1 -1
  321. package/dist/components/arcgis-popup/customElement.d.ts +87 -75
  322. package/dist/components/arcgis-popup/customElement.js +121 -125
  323. package/dist/components/arcgis-popup/types.d.ts +2 -2
  324. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
  325. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  326. package/dist/components/arcgis-presentation/customElement.js +6 -6
  327. package/dist/components/arcgis-print/customElement.d.ts +51 -31
  328. package/dist/components/arcgis-print/customElement.js +7 -7
  329. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
  330. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  331. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  332. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
  333. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
  334. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  335. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
  336. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  337. package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
  338. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  339. package/dist/components/arcgis-scene/customElement.d.ts +185 -177
  340. package/dist/components/arcgis-scene/customElement.js +10 -10
  341. package/dist/components/arcgis-search/customElement.d.ts +55 -59
  342. package/dist/components/arcgis-search/customElement.js +13 -12
  343. package/dist/components/arcgis-search/types.d.ts +1 -0
  344. package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
  345. package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
  346. package/dist/components/arcgis-sketch/customElement.d.ts +78 -33
  347. package/dist/components/arcgis-sketch/customElement.js +31 -19
  348. package/dist/components/arcgis-slice/customElement.d.ts +26 -26
  349. package/dist/components/arcgis-slice/customElement.js +11 -10
  350. package/dist/components/arcgis-slice/types.d.ts +4 -0
  351. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
  352. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  353. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
  354. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  355. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +51 -54
  356. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  357. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +79 -101
  358. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +149 -99
  359. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  360. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +13 -14
  361. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  362. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
  363. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  364. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +81 -97
  365. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  366. package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
  367. package/dist/components/arcgis-snapping-controls/customElement.js +3 -3
  368. package/dist/components/arcgis-swipe/customElement.d.ts +16 -17
  369. package/dist/components/arcgis-swipe/customElement.js +55 -43
  370. package/dist/components/arcgis-table-list/customElement.d.ts +115 -80
  371. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  372. package/dist/components/arcgis-time-of-day-slider/customElement.js +23 -25
  373. package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
  374. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  375. package/dist/components/arcgis-time-zone-label/customElement.d.ts +10 -34
  376. package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
  377. package/dist/components/arcgis-time-zone-label/index.js +1 -1
  378. package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
  379. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  380. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
  381. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
  382. package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
  383. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  384. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
  385. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  386. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -29
  387. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +76 -60
  388. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  389. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
  390. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +23 -6
  391. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +116 -73
  392. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +17 -5
  393. package/dist/components/arcgis-utility-network-trace-location/customElement.js +214 -209
  394. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +3 -0
  395. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +12 -12
  396. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +23 -2
  397. package/dist/components/arcgis-utility-network-trace-results/customElement.js +113 -92
  398. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  399. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  400. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
  401. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  402. package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
  403. package/dist/components/arcgis-version-management/customElement.js +1 -1
  404. package/dist/components/arcgis-version-management/types.d.ts +15 -0
  405. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  406. package/dist/components/arcgis-video/customElement.d.ts +13 -11
  407. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  408. package/dist/components/arcgis-video-player/customElement.js +2 -2
  409. package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
  410. package/dist/components/arcgis-volume-measurement/customElement.js +164 -173
  411. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  412. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  413. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  414. package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
  415. package/dist/components/arcgis-zoom/customElement.js +1 -1
  416. package/dist/components/arcgis-zoom/types.d.ts +3 -0
  417. package/dist/components/types.d.ts +58 -1
  418. package/dist/docs/api.json +1 -1
  419. package/dist/docs/docs.json +1 -1
  420. package/dist/docs/vscode.css-custom-data.json +1 -1
  421. package/dist/docs/vscode.html-custom-data.json +1 -1
  422. package/dist/docs/web-types.json +1 -1
  423. package/dist/index.d.ts +13 -35
  424. package/dist/loader.js +35 -35
  425. package/dist/types/lumina.d.ts +32 -54
  426. package/dist/types/preact.d.ts +33 -59
  427. package/dist/types/react.d.ts +34 -64
  428. package/dist/types/stencil.d.ts +32 -54
  429. package/package.json +7 -7
  430. package/dist/cdn/22LNBUKE.js +0 -2
  431. package/dist/cdn/23UYZVTW.js +0 -2
  432. package/dist/cdn/2BJHF4JK.js +0 -2
  433. package/dist/cdn/2K45WUVH.js +0 -2
  434. package/dist/cdn/3NKCXSOG.js +0 -2
  435. package/dist/cdn/3WKKQ4VO.js +0 -2
  436. package/dist/cdn/4TURMTXA.js +0 -2
  437. package/dist/cdn/4URF7CKU.js +0 -2
  438. package/dist/cdn/5FZLG5YS.js +0 -2
  439. package/dist/cdn/5NUK7GUG.js +0 -2
  440. package/dist/cdn/5RBOHMMK.js +0 -2
  441. package/dist/cdn/6NR6EZZI.js +0 -2
  442. package/dist/cdn/6Q52PYPA.js +0 -2
  443. package/dist/cdn/6V543DNR.js +0 -2
  444. package/dist/cdn/6ZNO34O5.js +0 -2
  445. package/dist/cdn/77ERVO5S.js +0 -2
  446. package/dist/cdn/7CBBWB77.js +0 -2
  447. package/dist/cdn/7ZCMIKP6.js +0 -2
  448. package/dist/cdn/AVVMBZTY.js +0 -2
  449. package/dist/cdn/B2WEYYED.js +0 -2
  450. package/dist/cdn/BAPY2HFP.js +0 -2
  451. package/dist/cdn/BB5CXHDQ.js +0 -2
  452. package/dist/cdn/BEXRPBHT.js +0 -2
  453. package/dist/cdn/BGOWWLCQ.js +0 -2
  454. package/dist/cdn/BMR2YFEM.js +0 -2
  455. package/dist/cdn/C2PSJPHR.js +0 -2
  456. package/dist/cdn/CEJGZMGB.js +0 -2
  457. package/dist/cdn/CIUAWIL5.js +0 -4
  458. package/dist/cdn/CKNH5OMJ.js +0 -2
  459. package/dist/cdn/CNMF4MVD.js +0 -2
  460. package/dist/cdn/CQ2L75M3.js +0 -2
  461. package/dist/cdn/CUWONRT5.js +0 -2
  462. package/dist/cdn/CXOYV56L.js +0 -2
  463. package/dist/cdn/DJYDBSLW.js +0 -2
  464. package/dist/cdn/DLFGSUYT.js +0 -2
  465. package/dist/cdn/E4YMNWRJ.js +0 -2
  466. package/dist/cdn/EJZTSGNS.js +0 -2
  467. package/dist/cdn/EL62JS5C.js +0 -2
  468. package/dist/cdn/EPQN4FJS.js +0 -2
  469. package/dist/cdn/EQKQCYUY.js +0 -2
  470. package/dist/cdn/ET6YD3C7.js +0 -2
  471. package/dist/cdn/EYW7YQF6.js +0 -2
  472. package/dist/cdn/FEQLUSM2.js +0 -2
  473. package/dist/cdn/FFDRV5ZO.js +0 -2
  474. package/dist/cdn/FOMIDTAN.js +0 -2
  475. package/dist/cdn/FTBTVD7U.js +0 -2
  476. package/dist/cdn/G4A4VLTL.js +0 -2
  477. package/dist/cdn/G7PHEWBZ.js +0 -2
  478. package/dist/cdn/GLNRLEZE.js +0 -2
  479. package/dist/cdn/GQN4ALIE.js +0 -2
  480. package/dist/cdn/GUAI5SHN.js +0 -2
  481. package/dist/cdn/GYDNEXYU.js +0 -2
  482. package/dist/cdn/HGNP2J3R.js +0 -2
  483. package/dist/cdn/HVI2FE73.js +0 -2
  484. package/dist/cdn/I2WEEE2E.js +0 -2
  485. package/dist/cdn/I6DTC6TX.js +0 -2
  486. package/dist/cdn/ILPNFQWH.js +0 -2
  487. package/dist/cdn/J7ZNOOZ4.js +0 -2
  488. package/dist/cdn/JCV26SSG.js +0 -2
  489. package/dist/cdn/JDZWJLJX.js +0 -2
  490. package/dist/cdn/JLIZWDU5.js +0 -2
  491. package/dist/cdn/JMHCIJG4.js +0 -2
  492. package/dist/cdn/KE3XRRXO.js +0 -2
  493. package/dist/cdn/KECAR2NZ.js +0 -2
  494. package/dist/cdn/KEFY4XPI.js +0 -2
  495. package/dist/cdn/KNJ7PME5.js +0 -2
  496. package/dist/cdn/KRCRJUYG.js +0 -2
  497. package/dist/cdn/KS2LPB5B.js +0 -2
  498. package/dist/cdn/L6LZYPWJ.js +0 -2
  499. package/dist/cdn/L7NIKN24.js +0 -2
  500. package/dist/cdn/LLNNQ2ED.js +0 -2
  501. package/dist/cdn/LMV6L2OF.js +0 -2
  502. package/dist/cdn/LVMJAMRO.js +0 -2
  503. package/dist/cdn/LZ3PMD7Z.js +0 -2
  504. package/dist/cdn/LZ7PMWXR.js +0 -2
  505. package/dist/cdn/LZFDWRYI.js +0 -2
  506. package/dist/cdn/MSMDSEFM.js +0 -2
  507. package/dist/cdn/MW73TE2N.js +0 -2
  508. package/dist/cdn/N76CLHYJ.js +0 -2
  509. package/dist/cdn/NJJEL5BK.js +0 -2
  510. package/dist/cdn/OF4IOSNA.js +0 -2
  511. package/dist/cdn/OJNMPOYD.js +0 -2
  512. package/dist/cdn/OKZSKR6W.js +0 -2
  513. package/dist/cdn/OXHLBFME.js +0 -2
  514. package/dist/cdn/PCQ5PXPF.js +0 -2
  515. package/dist/cdn/PESPV6VP.js +0 -2
  516. package/dist/cdn/PFYZ7JRB.js +0 -2
  517. package/dist/cdn/PNDLNFML.js +0 -2
  518. package/dist/cdn/POEZXWTT.js +0 -2
  519. package/dist/cdn/PTWLVTFS.js +0 -4
  520. package/dist/cdn/RTSTVBQI.js +0 -2
  521. package/dist/cdn/RXFUZXUX.js +0 -2
  522. package/dist/cdn/S52VES4H.js +0 -2
  523. package/dist/cdn/SFM3XWUA.js +0 -2
  524. package/dist/cdn/SRSYUCVL.js +0 -2
  525. package/dist/cdn/SSZMOOL6.js +0 -2
  526. package/dist/cdn/SZNBYDQI.js +0 -2
  527. package/dist/cdn/TM5C2P2F.js +0 -2
  528. package/dist/cdn/U5HXLA7K.js +0 -2
  529. package/dist/cdn/UTH3SGAS.js +0 -2
  530. package/dist/cdn/UZ7KLWGC.js +0 -2
  531. package/dist/cdn/V3M37NHT.js +0 -2
  532. package/dist/cdn/VGFC3ME5.js +0 -2
  533. package/dist/cdn/VGTTCLO3.js +0 -2
  534. package/dist/cdn/VJMMA6UX.js +0 -2
  535. package/dist/cdn/VPJCFCJU.js +0 -2
  536. package/dist/cdn/VYHDFNKP.js +0 -2
  537. package/dist/cdn/WICYZB2Q.js +0 -2
  538. package/dist/cdn/XGJPCRX3.js +0 -2
  539. package/dist/cdn/XWAT4IT2.js +0 -2
  540. package/dist/cdn/XXDOZQ6Q.js +0 -2
  541. package/dist/cdn/Y7HDE5NQ.js +0 -2
  542. package/dist/cdn/YEDAGZUF.js +0 -2
  543. package/dist/cdn/YSDQ5VNK.js +0 -2
  544. package/dist/cdn/Z3OV6UKM.js +0 -2
  545. package/dist/cdn/Z6VVHLCW.js +0 -2
  546. package/dist/cdn/ZHINQNZ2.js +0 -2
  547. package/dist/cdn/ZIX3WE2Q.js +0 -2
  548. package/dist/cdn/ZMLRDNKR.js +0 -2
  549. package/dist/cdn/ZPEH2TRN.js +0 -2
  550. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  551. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  552. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  553. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  554. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  555. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  556. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  557. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  558. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  559. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  560. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  561. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  562. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  563. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
  564. package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
  565. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
  566. package/dist/components/support/goTo.d.ts +0 -37
  567. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  568. package/dist/support/heading.d.ts +0 -1
  569. package/dist/support/measurementUtils.d.ts +0 -1
  570. package/dist/utils/action-utils.d.ts +0 -3
  571. package/dist/utils/component-utils.d.ts +0 -5
  572. /package/dist/cdn/{W5B5LTGN.js → 2HXYJZSB.js} +0 -0
  573. /package/dist/cdn/{W2Q7NWBG.js → 37GJW6KT.js} +0 -0
  574. /package/dist/cdn/{ORP3ZND2.js → 4IM2FY5W.js} +0 -0
  575. /package/dist/cdn/{DWZIXPJ4.js → 4MDRPZTG.js} +0 -0
  576. /package/dist/cdn/{FPD3STSJ.js → 4STAROOM.js} +0 -0
  577. /package/dist/cdn/{HZTWWEVM.js → 5IMWXYL2.js} +0 -0
  578. /package/dist/cdn/{LCXF3AKY.js → 5TXE67XV.js} +0 -0
  579. /package/dist/cdn/{B7IYR676.js → BBQPUWRO.js} +0 -0
  580. /package/dist/cdn/{PUOWH3YL.js → BND2TJBO.js} +0 -0
  581. /package/dist/cdn/{UQ7E33T4.js → CJOHGWK6.js} +0 -0
  582. /package/dist/cdn/{5OB4E5PR.js → D5WXOOS3.js} +0 -0
  583. /package/dist/cdn/{QAXR4LT6.js → DMDCKD5U.js} +0 -0
  584. /package/dist/cdn/{DDI363AI.js → EP252O27.js} +0 -0
  585. /package/dist/cdn/{YP3JKXC4.js → EVHNFE5I.js} +0 -0
  586. /package/dist/cdn/{7FMJZURP.js → EW6V3NZI.js} +0 -0
  587. /package/dist/cdn/{ZLIZCBGT.js → F6BQWE5I.js} +0 -0
  588. /package/dist/cdn/{W5XM52J7.js → FLLSBLLE.js} +0 -0
  589. /package/dist/cdn/{PHF2XKSK.js → FQZXILRT.js} +0 -0
  590. /package/dist/cdn/{X5H6ZUFX.js → GHY23IXW.js} +0 -0
  591. /package/dist/cdn/{RDW2NJPR.js → GIGQIUF5.js} +0 -0
  592. /package/dist/cdn/{DEOCASGG.js → GS75FRUR.js} +0 -0
  593. /package/dist/cdn/{JMDNJPNT.js → HGAJ2IEN.js} +0 -0
  594. /package/dist/cdn/{GB42YXHR.js → JKVKP7AW.js} +0 -0
  595. /package/dist/cdn/{YDJGMRV3.js → JU3BLGXG.js} +0 -0
  596. /package/dist/cdn/{76ESM6B2.js → L4TA63M6.js} +0 -0
  597. /package/dist/cdn/{RCD5UKTW.js → LQVZVGY4.js} +0 -0
  598. /package/dist/cdn/{E2KWMQKQ.js → MM4KQLRF.js} +0 -0
  599. /package/dist/cdn/{UVZZX6YP.js → Q3GALNWS.js} +0 -0
  600. /package/dist/cdn/{ZFFBK3VO.js → QM34BSKE.js} +0 -0
  601. /package/dist/cdn/{M6TJN2I5.js → QTWRDNXX.js} +0 -0
  602. /package/dist/cdn/{2ZL4CF6P.js → TC3Q2QUA.js} +0 -0
  603. /package/dist/cdn/{YHVFARHN.js → TEFALOII.js} +0 -0
  604. /package/dist/cdn/{JDPQMOEW.js → TP5VEU3D.js} +0 -0
  605. /package/dist/cdn/{CRR65TKV.js → U35ISUWJ.js} +0 -0
  606. /package/dist/cdn/{L4WRYSKZ.js → UUC3DBCQ.js} +0 -0
  607. /package/dist/cdn/{BQIH5T3S.js → UVMLKDJA.js} +0 -0
  608. /package/dist/cdn/{YMU5IPMP.js → V7DG2KF6.js} +0 -0
  609. /package/dist/cdn/{OSRAPPNR.js → WHDMC5HB.js} +0 -0
  610. /package/dist/cdn/{55VMVXRK.js → XJXQC6HM.js} +0 -0
  611. /package/dist/cdn/{CHDRBZNL.js → YZSLMAVX.js} +0 -0
  612. /package/dist/cdn/{KAJ3U6DP.js → ZUPEVR3P.js} +0 -0
  613. /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
  614. /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
  615. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  616. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -5,7 +5,7 @@ import z from "@arcgis/core/rest/query/support/AttachmentInfo.js";
5
5
  import S from "@arcgis/core/rest/support/AttachmentQuery.js";
6
6
  import I from "@arcgis/core/core/Collection.js";
7
7
  import b from "@arcgis/core/core/Error.js";
8
- import { LitElement as _, safeClassMap as w, nothing as p, safeStyleMap as $ } from "@arcgis/lumina";
8
+ import { LitElement as _, nothing as p, safeClassMap as w, safeStyleMap as $ } from "@arcgis/lumina";
9
9
  import { classes as A } from "@arcgis/toolkit/dom";
10
10
  import { a as u } from "../../chunks/feature-utils.js";
11
11
  import { watch as C } from "@arcgis/core/core/reactiveUtils.js";
@@ -1,12 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as T } from "../../chunks/runtime.js";
3
- import { css as x, html as l } from "lit";
3
+ import { css as x, html as c } from "lit";
4
4
  import { LitElement as y } from "@arcgis/lumina";
5
- import { watch as k, when as I } from "@arcgis/core/core/reactiveUtils.js";
6
- import { a as u } from "../../chunks/maybe.js";
5
+ import { watch as k, when as $ } from "@arcgis/core/core/reactiveUtils.js";
6
+ import { a as p } from "../../chunks/maybe.js";
7
7
  import { c as v, t as m } from "../../chunks/async-utils.js";
8
8
  import { throttle as g } from "lodash-es";
9
- import $ from "@arcgis/core/popup/content/MediaContent.js";
9
+ import I from "@arcgis/core/popup/content/MediaContent.js";
10
10
  import w from "@arcgis/core/popup/content/FieldsContent.js";
11
11
  import E from "@arcgis/core/popup/content/TextContent.js";
12
12
  import { compileExpression as L } from "@arcgis/core/applications/Components/arcadeFeatureUtils.js";
@@ -25,7 +25,7 @@ class C extends y {
25
25
  loaded() {
26
26
  this.manager.onLifecycle(() => [
27
27
  k(() => [this.expressionInfo, this.graphic], () => this._compileThrottled(), { initial: !0 }),
28
- I(() => {
28
+ $(() => {
29
29
  if (!this._compileTask?.finished)
30
30
  return null;
31
31
  const t = this._compileTask.value, s = t?.dependencies, { view: e } = this;
@@ -48,7 +48,7 @@ class C extends y {
48
48
  this._compileThrottled.cancel(), this._evaluateThrottled.cancel();
49
49
  }
50
50
  _startCompile() {
51
- this._evaluateTask = u(this._evaluateTask), this._compileTask = u(this._compileTask), this._compileTask = v(async (t) => {
51
+ this._evaluateTask = p(this._evaluateTask), this._compileTask = p(this._compileTask), this._compileTask = v(async (t) => {
52
52
  const { expressionInfo: s, graphic: e } = this, i = s?.expression;
53
53
  if (!i || !e)
54
54
  return null;
@@ -60,18 +60,18 @@ class C extends y {
60
60
  });
61
61
  }
62
62
  _startEvaluate(t) {
63
- this._evaluateTask = u(this._evaluateTask), this._evaluateTask = v(async (s) => {
63
+ this._evaluateTask = p(this._evaluateTask), this._evaluateTask = v(async (s) => {
64
64
  const { graphic: e } = this;
65
65
  if (!t || !e)
66
66
  return null;
67
- const { interceptor: i, spatialReference: a, map: o, location: r, view: c } = this, h = await t.evaluate({
67
+ const { interceptor: i, spatialReference: a, map: r, location: l, view: o } = this, h = await t.evaluate({
68
68
  graphic: e,
69
69
  interceptor: i,
70
- location: r,
71
- map: o,
70
+ location: l,
71
+ map: r,
72
72
  options: { signal: s },
73
73
  spatialReference: a,
74
- view: c
74
+ view: o
75
75
  });
76
76
  m(s);
77
77
  const f = h && "castAsJsonAsync" in h && typeof h.castAsJsonAsync == "function" ? h : null;
@@ -79,41 +79,38 @@ class C extends y {
79
79
  return null;
80
80
  const d = await f.castAsJsonAsync(s);
81
81
  m(s);
82
- const p = d?.type, n = p === "media" ? $.fromJSON(d) : p === "text" ? E.fromJSON(d) : p === "fields" ? w.fromJSON(d) : null;
82
+ const u = d?.type, n = u === "media" ? I.fromJSON(d) : u === "text" ? E.fromJSON(d) : u === "fields" ? w.fromJSON(d) : null;
83
83
  return !n || n.type === "media" && !n.mediaInfos || n.type === "fields" && !n.fieldInfos || n.type === "text" && !n.text ? null : n;
84
84
  });
85
85
  }
86
86
  render() {
87
87
  const t = !this._compileTask?.finished || !this._evaluateTask?.finished;
88
- return l`<div class="root">${t ? this._renderLoading() : this._evaluateTask?.value ? this._renderContent() : null}</div>`;
88
+ return c`<div class="root">${t ? this._renderLoading() : this._evaluateTask?.value ? this._renderContent() : null}</div>`;
89
89
  }
90
90
  _renderContent() {
91
- const { values: t, fieldInfoMap: s } = this, e = this._evaluateTask?.value, i = e?.type;
91
+ const { values: t, fieldInfoMap: s } = this, e = this._evaluateTask?.value, i = e?.type, a = { ...t, ...e?.attributes };
92
92
  if (!i)
93
93
  return null;
94
94
  if (i === "text") {
95
- const a = A({
96
- values: t,
95
+ const r = A({
96
+ values: a,
97
97
  fieldInfoMap: s ?? /* @__PURE__ */ new Map(),
98
- globalValues: t ?? {},
98
+ globalValues: a,
99
99
  layer: void 0,
100
100
  text: e.text
101
101
  });
102
- return l`<arcgis-feature-content .creator=${a} .graphic=${this.graphic}></arcgis-feature-content>`;
102
+ return c`<arcgis-feature-content .creator=${r} .graphic=${this.graphic}></arcgis-feature-content>`;
103
103
  } else if (i === "media") {
104
- const { title: a, description: o, mediaInfos: r } = e;
105
- if (!r?.length)
106
- return null;
107
- const c = { ...t, ...e.attributes };
108
- return l`<arcgis-feature-media .heading=${a ?? ""} .values=${c} .formattedValues=${c} .description=${o ?? ""} .mediaInfos=${r} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`;
104
+ const { title: r, description: l, mediaInfos: o } = e;
105
+ return o?.length ? c`<arcgis-feature-media .heading=${r ?? ""} .values=${a} .formattedValues=${a} .description=${l ?? ""} .mediaInfos=${o} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>` : null;
109
106
  } else if (i === "fields") {
110
- const { title: a, description: o, fieldInfos: r } = e;
111
- return r?.length ? l`<arcgis-feature-fields .fieldInfos=${r} .heading=${a ?? ""} .description=${o ?? ""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>` : null;
107
+ const { title: r, description: l, fieldInfos: o } = e;
108
+ return o?.length ? c`<arcgis-feature-fields .fieldInfos=${o} .heading=${r ?? ""} .values=${a} .description=${l ?? ""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>` : null;
112
109
  }
113
110
  return null;
114
111
  }
115
112
  _renderLoading() {
116
- return l`<div class="loading-container"><calcite-loader inline label></calcite-loader></div>`;
113
+ return c`<div class="loading-container"><calcite-loader inline label></calcite-loader></div>`;
117
114
  }
118
115
  }
119
116
  T("arcgis-feature-expression", C);
@@ -1,13 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as g } from "../../chunks/runtime.js";
2
+ import { c as b } from "../../chunks/runtime.js";
3
3
  import { css as h, html as p } from "lit";
4
4
  import { renderingSanitizer as c } from "@arcgis/core/applications/Components/sanitizerUtils.js";
5
5
  import { LitElement as f } from "@arcgis/lumina";
6
6
  import { addLtrMark as u } from "@arcgis/toolkit/string";
7
- import { j as b, k as v, l as $ } from "../../chunks/feature-utils.js";
7
+ import { j as v, k as $, l as w } from "../../chunks/feature-utils.js";
8
8
  import { replace as m } from "@arcgis/core/applications/Components/stringUtils.js";
9
- import { s as I } from "../../chunks/layer-utils.js";
10
- const w = [
9
+ const I = [
11
10
  {
12
11
  pattern: /^\s*(https?:\/\/([^\s]+))\s*$/iu,
13
12
  target: "_blank",
@@ -80,10 +79,10 @@ const w = [
80
79
  }
81
80
  ];
82
81
  function F(d, t) {
83
- const e = w.find((l) => l.pattern.test(t));
82
+ const e = I.find((l) => l.pattern.test(t));
84
83
  if (!e)
85
84
  return t;
86
- const i = t.match(e.pattern)?.[2], r = m(
85
+ const i = t.match(e.pattern)?.[2], a = m(
87
86
  m(e.label, {
88
87
  messages: d,
89
88
  hierPart: i
@@ -91,11 +90,11 @@ function F(d, t) {
91
90
  {
92
91
  appName: e.appName
93
92
  }
94
- ), o = e.target ? ` target="${e.target}"` : "", a = e.target === "_blank" ? ' rel="noreferrer"' : "";
95
- return c.sanitizeUrl(new URL(t, window.location.origin).toString()).replace(e.pattern, `<a${o} href="$1"${a}>${r}</a>`);
93
+ ), o = e.target ? ` target="${e.target}"` : "", r = e.target === "_blank" ? ' rel="noreferrer"' : "";
94
+ return c.sanitizeUrl(new URL(t, window.location.origin === "null" ? void 0 : window.location.origin).toString()).replace(e.pattern, `<a${o} href="$1"${r}>${a}</a>`);
96
95
  }
97
- const N = h`.table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.table tr:nth-child(odd){background-color:var(--calcite-color-foreground-1)}.table tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}.table tr a{color:var(--calcite-color-text-link)}.table tr a:hover,.table tr a:focus{color:var(--calcite-color-brand-hover)}.table tr td,.table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}.table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.table tr td{width:50%}`;
98
- class y extends f {
96
+ const k = h`.table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.table tr{background-color:var(--arcgis-table-row-background-color, var(--calcite-color-foreground-1))}.table tr:nth-child(odd){background-color:var(--arcgis-table-row-alt-background-color, var(--calcite-color-foreground-2))}.table tr a{color:var(--calcite-color-text-link)}.table tr a:hover,.table tr a:focus{color:var(--calcite-color-brand-hover)}.table tr td,.table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}.table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.table tr td{width:50%}`;
97
+ class N extends f {
99
98
  constructor() {
100
99
  super(...arguments), this.headingLevel = 2;
101
100
  }
@@ -103,18 +102,20 @@ class y extends f {
103
102
  this.properties = { values: 0, description: 1, expressionInfos: 0, fieldInfos: 0, heading: 1, isContentFieldInfos: 5, graphic: 0, layer: 0, headingLevel: 9, messages: 0 };
104
103
  }
105
104
  static {
106
- this.styles = N;
105
+ this.styles = k;
107
106
  }
108
107
  get formattedFieldInfos() {
109
- const { expressionInfos: t, fieldInfos: e, layer: s, graphic: i, isContentFieldInfos: r } = this, o = [];
110
- return e?.forEach((a) => {
111
- if (!("visible" in a ? a.visible : !0))
108
+ const { expressionInfos: t, fieldInfos: e, layer: s, graphic: i, isContentFieldInfos: a } = this, o = [];
109
+ return e?.forEach((r) => {
110
+ if (!("visible" in r ? r.visible : !0))
112
111
  return;
113
- const n = a.clone();
114
- n.label = b({ fieldInfo: n, expressionInfos: t, layer: s, graphic: i, isContentFieldInfos: r }), I(s) && v({ fieldInfo: a, graphic: i }) && (n.fieldFormat = $({
112
+ const n = r.clone();
113
+ n.label = v({ fieldInfo: n, expressionInfos: t, layer: s, graphic: i, isContentFieldInfos: a });
114
+ const g = $({ fieldInfo: r, graphic: i, layer: s });
115
+ g && (n.fieldFormat = w({
116
+ configurableFieldsContainer: g,
115
117
  fieldInfo: n,
116
- isContentFieldInfos: r,
117
- layer: s
118
+ isContentFieldInfos: a
118
119
  })), o.push(n);
119
120
  }), o;
120
121
  }
@@ -122,10 +123,10 @@ class y extends f {
122
123
  return p`<div class="root"><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderFields()}</div>`;
123
124
  }
124
125
  _renderFieldInfo(t) {
125
- const { values: e } = this, s = t.fieldName || "", i = t.label || s, r = e ? e[s] == null ? "" : e[s] : "", o = t?.fieldFormat?.type === "date-time", a = {
126
+ const { values: e } = this, s = t.fieldName || "", i = t.label || s, a = e ? e[s] == null ? "" : e[s] : "", o = t?.fieldFormat?.type === "date-time", r = {
126
127
  openInApp: this.messages?.openInApp ?? "",
127
128
  view: this.messages?.view ?? ""
128
- }, l = typeof r == "number" && !o ? u(`${r}`) : typeof r == "string" ? F(a, r) : `${r}`;
129
+ }, l = typeof a == "number" && !o ? u(`${a}`) : typeof a == "string" ? F(r, a) : `${a}`;
129
130
  return p`<tr><th .innerHTML=${c.sanitize(i) ?? ""}></th><td .innerHTML=${c.sanitize(l) ?? ""}></td></tr>`;
130
131
  }
131
132
  _renderFields() {
@@ -133,7 +134,7 @@ class y extends f {
133
134
  return t?.length ? p`<table class="table"><caption>${this.messages?.fieldsSummary}</caption><tbody>${t.map((e) => this._renderFieldInfo(e))}</tbody></table>` : null;
134
135
  }
135
136
  }
136
- g("arcgis-feature-fields", y);
137
+ b("arcgis-feature-fields", N);
137
138
  export {
138
- y as ArcgisFeatureFields
139
+ N as ArcgisFeatureFields
139
140
  };
@@ -1,15 +1,14 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Graphic from "@arcgis/core/Graphic.js";
3
3
  import type FormTemplate from "@arcgis/core/form/FormTemplate.js";
4
+ import type Map from "@arcgis/core/Map.js";
4
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
6
- import type { IconName } from "../../utils/action-utils.js";
7
- import type { ValueChangeEvent, SubmitEvent } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel";
6
+ import type { ArcgisReferenceElement, IconName } from "../types.js";
7
+ import type { ValueChangeEvent, SubmitEvent, FeatureFormViewModelState } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel.js";
8
8
  import type { EditType } from "@arcgis/core/widgets/support/forms/types.js";
9
9
  import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
10
10
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
11
11
  import type { FeatureFormLayerUnion } from "@arcgis/core/widgets/FeatureForm/types.js";
12
- import type { FeatureFormViewModelState } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel.js";
13
12
 
14
13
  export abstract class ArcgisFeatureForm extends LitElement {
15
14
  /**
@@ -22,7 +21,12 @@ export abstract class ArcgisFeatureForm extends LitElement {
22
21
  * @default false
23
22
  */
24
23
  accessor autoDestroyDisabled: boolean;
25
- /** @default false */
24
+ /**
25
+ * When true, the component is visually withdrawn and cannot receive user interaction.
26
+ *
27
+ * @default false
28
+ * @since 5.0
29
+ */
26
30
  accessor disabled: boolean;
27
31
  /**
28
32
  * The edit type for the form, which determines the editing context and behavior.
@@ -57,8 +61,8 @@ export abstract class ArcgisFeatureForm extends LitElement {
57
61
  accessor editType: EditType;
58
62
  /**
59
63
  * The associated feature containing the editable attributes.
60
- * A common way to access this is via the [MapView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest)
61
- * or [SceneView's](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest) `hitTest()`
64
+ * A common way to access this is via the [MapView#hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest)
65
+ * or [SceneView's](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#hitTest) `hitTest()`
62
66
  * method.
63
67
  *
64
68
  * @example
@@ -74,9 +78,9 @@ export abstract class ArcgisFeatureForm extends LitElement {
74
78
  */
75
79
  accessor feature: Graphic | null | undefined;
76
80
  /**
77
- * The associated [template](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html) used for the form.
81
+ * The associated [template](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/) used for the form.
78
82
  *
79
- * The [FormTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html) is used to configure how the form should display and set any associated properties for the form, e.g. title, description, field elements, etc.
83
+ * The [FormTemplate](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/) is used to configure how the form should display and set any associated properties for the form, e.g. title, description, field elements, etc.
80
84
  *
81
85
  * @since 4.16
82
86
  * @see [Sample - Update Feature Attributes](https://developers.arcgis.com/javascript/latest/sample-code/editing-groupedfeatureform/)
@@ -99,7 +103,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
99
103
  accessor formTemplate: FormTemplate | null | undefined;
100
104
  /**
101
105
  * String indicating the
102
- * [groupDisplay](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#groupDisplay) and how they will be displayed to the end user. This only applies if using [grouped field elements](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-GroupElement.html) configured in the Editor's [layer infos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo).
106
+ * [groupDisplay](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureForm/#groupDisplay) and how they will be displayed to the end user. This only applies if using [grouped field elements](https://developers.arcgis.com/javascript/latest/references/core/form/elements/GroupElement/) configured in the Editor's [layer infos](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/types/#LayerInfo).
103
107
  *
104
108
  * **Possible Values**
105
109
  *
@@ -114,7 +118,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
114
118
  */
115
119
  accessor groupDisplay: "all" | "sequential";
116
120
  /**
117
- * Indicates the heading level to use for the [FormTemplate#title](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#title) of the form.
121
+ * Indicates the heading level to use for the [FormTemplate#title](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/#title) of the form.
118
122
  * By default, the title is rendered as a level 2 heading (e.g. `<h2>Form title</h2>`).
119
123
  * In addition, group element labels default to a level 3 heading (e.g. `<h3>Group element label</h3>`).
120
124
  * Depending on the component's placement
@@ -151,7 +155,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
151
155
  /**
152
156
  * Layer containing the editable feature attributes.
153
157
  * If this layer is not specified, it is the same as the
154
- * [graphic's layer](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#layer).
158
+ * [graphic's layer](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#layer).
155
159
  *
156
160
  * @example
157
161
  * const form = new FeatureForm({
@@ -160,6 +164,20 @@ export abstract class ArcgisFeatureForm extends LitElement {
160
164
  * });
161
165
  */
162
166
  accessor layer: FeatureFormLayerUnion | null | undefined;
167
+ /**
168
+ * A map is required when the input [layer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-form/#layer) 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.
169
+ *
170
+ * @default null
171
+ * @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
172
+ * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
173
+ * @since 5.0
174
+ * @example
175
+ * ```
176
+ * // The building footprints represent the buildings that intersect a clicked parcel
177
+ * let buildingFootprints = Intersects($feature, FeatureSetByName($map, "Building Footprints"));
178
+ * ```
179
+ */
180
+ accessor map: Map | null | undefined;
163
181
  /**
164
182
  * 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.
165
183
  *
@@ -173,7 +191,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
173
191
  */
174
192
  get state(): FeatureFormViewModelState;
175
193
  /**
176
- * The timezone displayed within the form. If `unknown`, it first checks if the layer has a [FeatureLayer#preferredTimeZone](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#preferredTimeZone). If so, it displays this. If not, it will default to UTC.
194
+ * The timezone displayed within the form. If `unknown`, it first checks if the layer has a [FeatureLayer#preferredTimeZone](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#preferredTimeZone). If so, it displays this. If not, it will default to UTC.
177
195
  *
178
196
  * @since 4.28
179
197
  */
@@ -191,7 +209,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
191
209
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
192
210
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
193
211
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
194
- /** Fires when the [submit()](#submit) method is called. */
212
+ /** Fires when the [submit()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-form/#submit) method is called. */
195
213
  readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, SubmitEvent>;
196
214
  /** Fires when a field value is updated. */
197
215
  readonly arcgisValueChange: import("@arcgis/lumina").TargetedEvent<this, ValueChangeEvent>;
@@ -9,10 +9,10 @@ import { css as s } from "lit";
9
9
  const l = s`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-feature-form{letter-spacing:0em;background:var(--calcite-color-background);padding:var(--arcgis-internal-padding)}.esri-feature-form__disabled-notice{margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form .esri-feature-utility-network-associations,.esri-feature-form .esri-feature-form-utility-network-association-list{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info__description{color:var(--calcite-color-text-2)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info h5{font-size:inherit}.esri-feature-form__form{flex-direction:column;display:flex}.esri-feature-form__centered-button{align-self:center}.esri-feature-form__description-text{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-sm)}.esri-feature-form__list-observer{z-index:2;text-align:center;position:relative;bottom:var(--calcite-spacing-xxl)}.esri-feature-form__related-records_header{margin-bottom:var(--calcite-spacing-xs);display:flex}.esri-feature-form__related-records_header span{flex-grow:1}.esri-feature-form__related-records_label calcite-notice,.esri-feature-form__related-records_label .esri-feature-form__description-text{margin-bottom:var(--calcite-spacing-xs)}.esri-feature-form__related-records_list{min-height:40px;margin-bottom:var(--calcite-spacing-xs)}label.esri-feature-form__label{gap:.5em;margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__label{opacity:1;flex-direction:column;justify-content:space-between;margin-bottom:var(--calcite-spacing-xs);transition:opacity .25s,margin .25s;display:flex;position:relative}.esri-feature-form__label:last-child{margin-bottom:0}.esri-feature-form__label-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;align-items:center;display:flex}.esri-feature-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__form-header .esri-feature-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-feature-form__input{width:100%}.esri-feature-form__input:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}textarea.esri-feature-form__input{resize:vertical}.esri-feature-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__field-error-message{padding:7px 0;font-size:var(--calcite-font-size-sm)}.esri-feature-form__date-input-container{flex-direction:column;display:flex}.esri-feature-form__date-input-container .esri-feature-form__input{margin-bottom:3px}.esri-feature-form__date-input-container :last-child{margin-bottom:0}.esri-feature-form__input--radio-group{flex-direction:column;display:flex}.esri-feature-form__input--radio-label{align-items:center;display:flex}.esri-feature-form__input--switch{margin:7px 0}.esri-feature-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-feature-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-feature-form__group--active{border-inline-start-color:var(--calcite-color-status-info)}.esri-feature-form__text-element{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}.esri-feature-form__text-element a{transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;background-color:var(--calcite-color-background);background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));color:var(--calcite-color-text-link);background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;border-style:none;padding:0;text-decoration:none;display:inline;position:relative}.esri-feature-form__text-element a:hover,.esri-feature-form__text-element a:focus{background-size:100% 1px,100% 1px}.esri-feature-form__text-element a:active{background-size:100% 2px,100% 2px}.esri-feature-form__text-element a.calcite--rtl{background-position:100% 100%,100% 100%}.esri-feature-form__text-element code{border:1px solid var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-3);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);border-radius:var(--calcite-spacing-base);padding:.25em;font-size:85%}.esri-feature-form__text-element h1,.esri-feature-form__text-element h2,.esri-feature-form__text-element h3,.esri-feature-form__text-element h4,.esri-feature-form__text-element h5{color:var(--calcite-color-text-1);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element h5{font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__text-element h6{color:var(--calcite-color-text-2);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element p{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form__text-element strong{font-weight:var(--calcite-font-weight-bold)}:dir(rtl) .esri-feature-form__date-input-part:first-child .esri-feature-form__input{border-left:none;border-right:1px solid #adadad4d}.esri-feature-form-utility-network-association-layers{background-color:var(--calcite-color-background)}.esri-feature-form-utility-network-association-layers__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-layers__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-layers__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__list-container{min-height:var(--calcite-spacing-xxxl);margin-bottom:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-feature-form-utility-network-association-layers__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__filter-options-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header{flex-direction:row;align-items:baseline;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header span{flex-grow:1}.esri-feature-form-utility-network-association-layers__spatial-select-container{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.esri-feature-form-utility-network-association-layers__spatial-select-toolbar{--calcite-action-group-border-color: transparent;border-width:var(--calcite-border-width-sm, 1px);border-radius:var(--calcite-corner-radius-round, 4px);border-style:solid;border-color:var(--calcite-color-border-3, var(--calcite-color-inverse));width:100%;min-height:min-content;overflow:hidden}.esri-feature-form-utility-network-association-layers__sticky-loading-container{z-index:2;pointer-events:none;justify-content:center;align-items:center;height:var(--calcite-spacing-xxxl);margin:0;padding:0;display:flex;position:sticky;bottom:10px}.esri-feature-form-utility-network-association-layers__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-feature-form-utility-network-association-list{background-color:var(--calcite-color-foreground-1)}.esri-feature-form-utility-network-association-list__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-list__header calcite-block{margin-block-start:-18px;margin-inline:-15px}.esri-feature-form-utility-network-association-list__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-list__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__list-container{flex-direction:column;min-height:var(--calcite-spacing-xxxl);display:flex}.esri-feature-form-utility-network-association-list__list-container calcite-fab{margin-block:var(--calcite-spacing-md);flex-direction:row;align-self:center;display:flex}.esri-feature-form-utility-network-association-settings{--calcite-block-padding: 0;background-color:var(--calcite-color-foreground-1);flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings calcite-block{border:1px solid var(--calcite-color-border-3);margin-block:0}.esri-feature-form-utility-network-association-settings calcite-block:first-of-type{border-radius:var(--calcite-spacing-sm) var(--calcite-spacing-sm) 0 0}.esri-feature-form-utility-network-association-settings calcite-block:last-of-type{border-top:none;border-radius:0 0 var(--calcite-spacing-sm) var(--calcite-spacing-sm);margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings calcite-block calcite-label{margin-inline:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings__info-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings__info-container>*{margin-block-end:var(--calcite-spacing-md)}`, c = n(r);
10
10
  class d extends o {
11
11
  constructor() {
12
- super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.feature = this.widget.feature, this.formTemplate = this.widget.formTemplate, this.editType = this.viewModel.editType, this.groupDisplay = this.widget.groupDisplay, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.layer = this.widget.layer, this.state = this.viewModel.state, this.timeZone = this.widget.timeZone, this.disabled = this.widget.disabled, this.hideReadOnlyNotice = this.widget.visibleElements.readOnlyNotice, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisSubmit = e(() => this.widget, "submit"), this.arcgisValueChange = e(() => this.widget, "value-change");
12
+ super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.feature = this.widget.feature, this.formTemplate = this.widget.formTemplate, this.editType = this.viewModel.editType, this.groupDisplay = this.widget.groupDisplay, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.layer = this.widget.layer, this.map = this.viewModel.map, this.state = this.viewModel.state, this.timeZone = this.widget.timeZone, this.disabled = this.widget.disabled, this.hideReadOnlyNotice = this.widget.visibleElements.readOnlyNotice, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisSubmit = e(() => this.widget, "submit"), this.arcgisValueChange = e(() => this.widget, "value-change");
13
13
  }
14
14
  static {
15
- this.properties = { autoDestroyDisabled: 5, feature: 0, formTemplate: 0, editType: 1, groupDisplay: 1, headingLevel: 9, icon: 1, label: 1, layer: 0, referenceElement: 1, state: 32, timeZone: 1, disabled: 5, hideReadOnlyNotice: 5 };
15
+ this.properties = { autoDestroyDisabled: 5, feature: 0, formTemplate: 0, editType: 1, groupDisplay: 1, headingLevel: 9, icon: 1, label: 1, layer: 0, map: 0, referenceElement: 1, state: 32, timeZone: 1, disabled: 5, hideReadOnlyNotice: 5 };
16
16
  }
17
17
  static {
18
18
  this.styles = l;
@@ -1,11 +1,11 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Graphic from "@arcgis/core/Graphic.js";
3
- import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
4
- import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
5
- import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer";
3
+ import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
4
+ import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
5
+ import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
6
6
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
- import type { GeometryUnion } from "@arcgis/core/geometry/types";
8
- import type { SymbolUnion } from "@arcgis/core/symbols/types";
7
+ import type { GeometryUnion } from "@arcgis/core/geometry/types.js";
8
+ import type { SymbolUnion } from "@arcgis/core/symbols/types.js";
9
9
 
10
10
  /**
11
11
  * The Feature Image component generates a feature swatch representing a
@@ -492,7 +492,7 @@ class ue extends J {
492
492
  if (!e.value)
493
493
  return null;
494
494
  const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: r, title: o } = e, { sourceURL: n, linkURL: s } = i, v = ne(s ?? void 0) ? "_blank" : "_self", d = v === "_blank" ? "noreferrer" : "", l = a ? t : null, h = l ? l.sourceURL : n, u = x`<img alt=${(r || o) ?? y} src=${h ?? void 0 ?? y}>`;
495
- return (s ? x`<a href=${s ?? y} rel=${d ?? y} target=${v} title=${o ?? y}>${u}</a>` : null) ?? u;
495
+ return (s ? x`<a href=${s ?? y} rel=${d ?? y} target=${v ?? y} title=${o ?? y}>${u}</a>` : null) ?? u;
496
496
  }
497
497
  _renderChartMediaInfo(e) {
498
498
  const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
@@ -2,16 +2,16 @@
2
2
  import { c as T } from "../../chunks/runtime.js";
3
3
  import { css as k, html as o } from "lit";
4
4
  import { keyed as P } from "lit/directives/keyed.js";
5
- import { debounce as q } from "@arcgis/toolkit/function";
6
- import { LitElement as H, renderElement as x, safeClassMap as E } from "@arcgis/lumina";
7
- import { templateHasKey as D, stripHTML as N } from "@arcgis/core/applications/Components/stringUtils.js";
5
+ import { debounce as $ } from "@arcgis/toolkit/function";
6
+ import { LitElement as H, renderElement as D, safeClassMap as x } from "@arcgis/lumina";
7
+ import { templateHasKey as E, stripHTML as N } from "@arcgis/core/applications/Components/stringUtils.js";
8
8
  import { isRelatableFeatureSupportedLayer as K, findRelatedLayer as W } from "@arcgis/core/applications/Components/featureUtils.js";
9
9
  import { substitute as Z, formatNumber as O } from "@arcgis/core/intl.js";
10
10
  import { watch as f, on as z } from "@arcgis/core/core/reactiveUtils.js";
11
11
  import { p as G } from "../../chunks/feature-utils.js";
12
12
  import V from "@arcgis/core/core/Collection.js";
13
13
  import M from "@arcgis/core/rest/support/RelationshipQuery.js";
14
- import { ignoreAbortErrors as $ } from "@arcgis/core/core/promiseUtils.js";
14
+ import { ignoreAbortErrors as q } from "@arcgis/core/core/promiseUtils.js";
15
15
  import J from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
16
16
  import { classes as S } from "@arcgis/toolkit/dom";
17
17
  import { createRef as U, ref as X } from "lit/directives/ref.js";
@@ -20,7 +20,7 @@ const Y = k`:host{position:relative;flex:1 1 auto}.list{min-height:var(--calcite
20
20
  if (g.formTemplate) {
21
21
  const { description: t, title: r } = g.formTemplate;
22
22
  g.fields?.forEach((s) => {
23
- const i = r && D(r, s.name), a = t && D(t, s.name);
23
+ const i = r && E(r, s.name), a = t && E(t, s.name);
24
24
  (i || a) && e.push(s.name);
25
25
  });
26
26
  }
@@ -47,15 +47,15 @@ class te extends H {
47
47
  }, this._queryController = async () => {
48
48
  this._cancelQuery();
49
49
  const e = new AbortController();
50
- this._queryAbortController = e, await $(this._query()), this._queryAbortController === e && (this._queryAbortController = null);
50
+ this._queryAbortController = e, await q(this._query()), this._queryAbortController === e && (this._queryAbortController = null);
51
51
  }, this._queryFeatureCountController = async () => {
52
52
  this._loaded = !1, this._cancelQueryFeatureCount();
53
53
  const e = new AbortController();
54
- this._queryFeatureCountAbortController = e, await $(this._queryFeatureCount()), this._queryFeatureCountAbortController === e && (this._queryFeatureCountAbortController = null), this._loaded = !0;
54
+ this._queryFeatureCountAbortController = e, await q(this._queryFeatureCount()), this._queryFeatureCountAbortController === e && (this._queryFeatureCountAbortController = null), this._loaded = !0;
55
55
  }, this._queryPageController = async () => {
56
56
  const e = new AbortController();
57
- this._queryPageAbortController = e, await $(this._queryPage()), this._queryPageAbortController === e && (this._queryPageAbortController = null);
58
- }, this._queryDebounced = q(this._queryController, L), this._queryFeatureCountDebounced = q(this._queryFeatureCountController, L), this._queryPageDebounced = q(this._queryPageController, L), this._query = async () => {
57
+ this._queryPageAbortController = e, await q(this._queryPage()), this._queryPageAbortController === e && (this._queryPageAbortController = null);
58
+ }, this._queryDebounced = $(this._queryController, L), this._queryFeatureCountDebounced = $(this._queryFeatureCountController, L), this._queryPageDebounced = $(this._queryPageController, L), this._query = async () => {
59
59
  const { _queryAbortController: e, relatedFeatures: t } = this;
60
60
  !this.featureCount || this.relatedLayer?.type === "subtype-group" && !this.activeCategory || (this.relatedFeatureViewModels.destroyAll(), this.featurePage = 1, t.destroyAll(), t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({ signal: e?.signal }))));
61
61
  }, this._addFlowItem = (e) => {
@@ -282,10 +282,10 @@ class te extends H {
282
282
  }
283
283
  _selectRecord(e) {
284
284
  const { flowItems: t } = this;
285
- t && this._addFlowItem(x(P(e, o`<arcgis-feature .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)));
285
+ t && this._addFlowItem(D(P(e, o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)));
286
286
  }
287
287
  _addRelationshipFlowItem({ showAllEnabled: e = !1, activeCategory: t }) {
288
- this._addFlowItem(x(P(t, o`<arcgis-feature-relationship .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`)));
288
+ this._addFlowItem(D(P(t, o`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`)));
289
289
  }
290
290
  _showAllRecords() {
291
291
  const { flowItems: e } = this;
@@ -346,7 +346,7 @@ class te extends H {
346
346
  ...r,
347
347
  ...s?.global
348
348
  }, l = (t && n?.[t]) ?? "";
349
- return o`<calcite-list-item class=${E(S("list-item", { "list-item-hidden": i === "loading" }))} .description=${N(l.toString())} .label=${N(a)} @calciteListItemSelect=${() => this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`;
349
+ return o`<calcite-list-item class=${x(S("list-item", { "list-item-hidden": i === "loading" }))} .description=${N(l.toString())} .label=${N(a)} @calciteListItemSelect=${() => this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`;
350
350
  }
351
351
  _renderShowAllListItem() {
352
352
  return this.displayShowAllButton ? o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${() => this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>` : null;
@@ -363,7 +363,7 @@ class te extends H {
363
363
  }
364
364
  _renderRelatedFeatures() {
365
365
  const { displayListItems: e } = this, { state: t } = this;
366
- return o`<div class=${E(S("list", {
366
+ return o`<div class=${x(S("list", {
367
367
  "list-querying": t === "querying"
368
368
  }))}>${e ? this._renderList() : t === "ready" ? this._renderNoRelatedFeaturesMessage() : null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`;
369
369
  }