@arcgis/map-components 5.0.0-next.136 → 5.0.0-next.137

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 (881) hide show
  1. package/dist/cdn/{6R5AM357.js → 2444HYCD.js} +2 -2
  2. package/dist/cdn/{75KIC5KY.js → 2BFCWGHX.js} +2 -2
  3. package/dist/cdn/{X2EJMYET.js → 2H7OGHXZ.js} +2 -2
  4. package/dist/cdn/{EEMGRZMQ.js → 2LA3OJFI.js} +2 -2
  5. package/dist/cdn/{U4TW7H4K.js → 2MKL2FYV.js} +2 -2
  6. package/dist/cdn/{43YQBH6S.js → 2RGNG2US.js} +2 -2
  7. package/dist/cdn/{66MCQZHQ.js → 2YID3LDC.js} +2 -2
  8. package/dist/cdn/{L7DSGQD5.js → 322GXO7B.js} +2 -2
  9. package/dist/cdn/{JK77V5W5.js → 32OG66ME.js} +2 -2
  10. package/dist/cdn/{6QQ47I56.js → 354X343Q.js} +2 -2
  11. package/dist/cdn/{SOPW7YHO.js → 3BAK2FNY.js} +2 -2
  12. package/dist/cdn/{3FJHDE75.js → 3L5OQUD6.js} +2 -2
  13. package/dist/cdn/3OBMNFEU.js +4 -0
  14. package/dist/cdn/{GR55RV3Q.js → 3OPEDQNZ.js} +2 -2
  15. package/dist/cdn/{MQDT6RS7.js → 3QL7AQEY.js} +2 -2
  16. package/dist/cdn/3RIBC2DL.js +6 -0
  17. package/dist/cdn/3RPZYJ6R.js +10 -0
  18. package/dist/cdn/{U2V7K6DR.js → 3S6M7755.js} +2 -2
  19. package/dist/cdn/{NWSPSV6Q.js → 3SUTSJEE.js} +2 -2
  20. package/dist/cdn/{4ZGGK5V5.js → 3X3ADJ3F.js} +2 -2
  21. package/dist/cdn/{L76XCVDP.js → 42VAMKWP.js} +2 -2
  22. package/dist/cdn/{ARYTJSIZ.js → 445MMTIE.js} +2 -2
  23. package/dist/cdn/{V2BIP73K.js → 4BEEQNLC.js} +2 -2
  24. package/dist/cdn/{YAMJB4SE.js → 4DK4FUV5.js} +2 -2
  25. package/dist/cdn/{VNWADC4I.js → 4JCBB6ML.js} +2 -2
  26. package/dist/cdn/{FSXJGJZ4.js → 4WI4PQ66.js} +2 -2
  27. package/dist/cdn/{LJIC7WY5.js → 52OVAU4F.js} +2 -2
  28. package/dist/cdn/{R3OYHWJ2.js → 564B4HKC.js} +2 -2
  29. package/dist/cdn/{RK7E4Z4S.js → 5JIACWPM.js} +2 -2
  30. package/dist/cdn/{DMFL4J3D.js → 5JXQ2IHH.js} +2 -2
  31. package/dist/cdn/5KANVSSQ.js +4 -0
  32. package/dist/cdn/{MLG4LFQZ.js → 5NN6VADG.js} +2 -2
  33. package/dist/cdn/{R2E5H6Q7.js → 5OFZTKD7.js} +2 -2
  34. package/dist/cdn/{4EHQGQYS.js → 5SWFRBAW.js} +1 -1
  35. package/dist/cdn/5TPGRXVA.js +4 -0
  36. package/dist/cdn/{XCKRJL5C.js → 5YSJL3P3.js} +2 -2
  37. package/dist/cdn/{YTFTM7FZ.js → 6DBUX6JF.js} +1 -1
  38. package/dist/cdn/{MED4W6N6.js → 6FY45D7G.js} +2 -2
  39. package/dist/cdn/{TKGAQAL4.js → 6GVVZNKS.js} +2 -2
  40. package/dist/cdn/{XBLPGP6W.js → 6TWWO6WO.js} +2 -2
  41. package/dist/cdn/{QBLYWATZ.js → 7CQ6R4K2.js} +2 -2
  42. package/dist/cdn/{KI4VAGTL.js → 7FZNKXOK.js} +2 -2
  43. package/dist/cdn/{MFUYESWA.js → 7I4GEHAD.js} +2 -2
  44. package/dist/cdn/{EHQDJUKM.js → 7MITLVYQ.js} +2 -2
  45. package/dist/cdn/{K7LWJEJ2.js → 7QCFDEZ4.js} +2 -2
  46. package/dist/cdn/{E47I4RZC.js → 7RZDB45M.js} +1 -1
  47. package/dist/cdn/7WFGIXZ3.js +4 -0
  48. package/dist/cdn/A24W34N2.js +4 -0
  49. package/dist/cdn/{O55Y6BUX.js → A4NKHAHG.js} +2 -2
  50. package/dist/cdn/{H37SS4YN.js → A7CEHXZQ.js} +2 -2
  51. package/dist/cdn/{E3RNYGGL.js → A7KFDVSD.js} +2 -2
  52. package/dist/cdn/{RANVOBIM.js → ABPPH5HU.js} +2 -2
  53. package/dist/cdn/AEWRHAH3.js +4 -0
  54. package/dist/cdn/{SNMYXJMM.js → AFFTNNYI.js} +2 -2
  55. package/dist/cdn/{PSVUSXM2.js → ANNL5MEA.js} +2 -2
  56. package/dist/cdn/{AZJAXWTK.js → AOFVCLTK.js} +2 -2
  57. package/dist/cdn/{UY5O4Y5C.js → ARNCS7JB.js} +2 -2
  58. package/dist/cdn/{BMMD7IUA.js → AXJ5M4GK.js} +2 -2
  59. package/dist/cdn/{TSQ6JRLF.js → BJ6H7QWD.js} +2 -2
  60. package/dist/cdn/{ZMVI66F2.js → BL2SCUHQ.js} +1 -1
  61. package/dist/cdn/{VDF7OXNN.js → BNI7ILH6.js} +2 -2
  62. package/dist/cdn/{OKQ7SDW6.js → BPLX337K.js} +2 -2
  63. package/dist/cdn/{DGZZCLY3.js → BYDERLQ5.js} +1 -1
  64. package/dist/cdn/{A5AMV4UE.js → C3FJABJK.js} +2 -2
  65. package/dist/cdn/{RDOJCF2K.js → CMPP7SDZ.js} +2 -2
  66. package/dist/cdn/{FNUNSW4S.js → CQ6EQDAB.js} +2 -2
  67. package/dist/cdn/{GTMWGHJE.js → CRG6ILQJ.js} +2 -2
  68. package/dist/cdn/{TWPG2TCN.js → D3BAAG4H.js} +2 -2
  69. package/dist/cdn/{5PFOG4A6.js → D5JDMWDO.js} +2 -2
  70. package/dist/cdn/{GCBTAT7K.js → D7HDGR23.js} +2 -2
  71. package/dist/cdn/{GEDJ4HB5.js → DC44P6IV.js} +2 -2
  72. package/dist/cdn/{AAGH7CND.js → DEMLR3UH.js} +2 -2
  73. package/dist/cdn/{KEE2FR26.js → DEYOM7PR.js} +2 -2
  74. package/dist/cdn/{4U7JYPHT.js → DI7UY3PA.js} +2 -2
  75. package/dist/cdn/DKC4VUFD.js +4 -0
  76. package/dist/cdn/{WH5CKH3E.js → DLBGOL5G.js} +2 -2
  77. package/dist/cdn/DO5SZPHV.js +4 -0
  78. package/dist/cdn/{E6HLYTEE.js → DRT6NJB7.js} +2 -2
  79. package/dist/cdn/{2NSBSUPE.js → DUODKCOV.js} +2 -2
  80. package/dist/cdn/{X3PD54LT.js → DUV24JWA.js} +2 -2
  81. package/dist/cdn/DVSQIJVH.js +4 -0
  82. package/dist/cdn/{GVCHXKG4.js → DW4G6HQT.js} +1 -1
  83. package/dist/cdn/{NQBZFC5B.js → DWZMHJFO.js} +2 -2
  84. package/dist/cdn/{E75WQYJB.js → E25UDLYU.js} +2 -2
  85. package/dist/cdn/{N7EGXIMT.js → E4RGQ5LT.js} +2 -2
  86. package/dist/cdn/{HFVSNY3R.js → EEWMQSWK.js} +2 -2
  87. package/dist/cdn/{OW5XWFPT.js → EF2YIRZ4.js} +2 -2
  88. package/dist/cdn/{546X4B5W.js → EFUNEZTX.js} +2 -2
  89. package/dist/cdn/{ZGO4FKJR.js → EGT4M7YG.js} +2 -2
  90. package/dist/cdn/{SEVVMTZA.js → ENO2YCVS.js} +1 -1
  91. package/dist/cdn/{IKNNVZZ7.js → EOBTKFVG.js} +2 -2
  92. package/dist/cdn/{DQWW2QJR.js → EOL75VVO.js} +2 -2
  93. package/dist/cdn/{OASBMBLA.js → EVDXMGFG.js} +1 -1
  94. package/dist/cdn/{2AHYL6YF.js → EYDOOZWY.js} +2 -2
  95. package/dist/cdn/{JCTHD5NI.js → EZ3GNFUD.js} +2 -2
  96. package/dist/cdn/F447G6N4.js +4 -0
  97. package/dist/cdn/{XWCRNRUE.js → F5GFQFBM.js} +2 -2
  98. package/dist/cdn/{M4PUJC6W.js → FAPFTYSO.js} +2 -2
  99. package/dist/cdn/{NNR7VPGO.js → FBPTATL7.js} +2 -2
  100. package/dist/cdn/{QSHNRKIO.js → FDNDDRVG.js} +2 -2
  101. package/dist/cdn/{RFL3S7QT.js → FRHTHIU6.js} +2 -2
  102. package/dist/cdn/{BQ54MPIL.js → FRQN2XDT.js} +2 -2
  103. package/dist/cdn/{7H6CT7TO.js → G2ZKUKXS.js} +2 -2
  104. package/dist/cdn/{RBNZXIOL.js → G4RLKWVG.js} +2 -2
  105. package/dist/cdn/{JRPUYNHK.js → G6PULGPI.js} +2 -2
  106. package/dist/cdn/{ANFDUBRV.js → G72XUXWR.js} +2 -2
  107. package/dist/cdn/{FU4V7QLJ.js → GG7M6XOA.js} +2 -2
  108. package/dist/cdn/{2UDZPN3B.js → GGWYRUTY.js} +2 -2
  109. package/dist/cdn/{HVW7Q3HP.js → GKSRAL3B.js} +2 -2
  110. package/dist/cdn/GSLEC3VC.js +4 -0
  111. package/dist/cdn/{IPGM5OA7.js → GT5I3HR3.js} +2 -2
  112. package/dist/cdn/{EBJWOUTZ.js → GTM55V4F.js} +2 -2
  113. package/dist/cdn/{SG7GB3CT.js → GWT4AHAC.js} +2 -2
  114. package/dist/cdn/{TJZ3VIBQ.js → GYFN3DYU.js} +2 -2
  115. package/dist/cdn/{5ZRYOXV4.js → HDCYMVJ3.js} +2 -2
  116. package/dist/cdn/HDKHDINR.js +4 -0
  117. package/dist/cdn/HENJGO75.js +4 -0
  118. package/dist/cdn/{C7FSQRAU.js → HETIJ6PV.js} +2 -2
  119. package/dist/cdn/HIJLGJK7.js +4 -0
  120. package/dist/cdn/{JLFR5ZND.js → HMPCRYQQ.js} +2 -2
  121. package/dist/cdn/{HMH36GWO.js → HQRKYH4P.js} +2 -2
  122. package/dist/cdn/{V24OFPLR.js → HTRFKGWV.js} +2 -2
  123. package/dist/cdn/{N3I3I5JH.js → HUGBHXMI.js} +2 -2
  124. package/dist/cdn/{XTB4UDZM.js → HZ2S3ZO4.js} +2 -2
  125. package/dist/cdn/{RW4VMA4Z.js → I2EUO3SB.js} +2 -2
  126. package/dist/cdn/{EUNTKDVV.js → I3MOUNJH.js} +2 -2
  127. package/dist/cdn/{2ZB3CHV7.js → I7RA6AXJ.js} +2 -2
  128. package/dist/cdn/{3S4YXQ4G.js → IEU3QSNH.js} +2 -2
  129. package/dist/cdn/{ZJ4QVHUX.js → IGKZXHUH.js} +2 -2
  130. package/dist/cdn/{34NYDQQF.js → IJE5GSKP.js} +1 -1
  131. package/dist/cdn/{66ROMONW.js → IMMMYPA2.js} +2 -2
  132. package/dist/cdn/{NPMB46JB.js → IOGYUFZB.js} +2 -2
  133. package/dist/cdn/{XMSWO7JT.js → IVQVT7HF.js} +2 -2
  134. package/dist/cdn/{TH7VSBUU.js → IYOJ4BDG.js} +2 -2
  135. package/dist/cdn/{JSVJ3UJR.js → J2VAOB5A.js} +2 -2
  136. package/dist/cdn/{E3GKFDE6.js → JJNF3YRZ.js} +2 -2
  137. package/dist/cdn/{3G5ZV5II.js → JONXKNHN.js} +1 -1
  138. package/dist/cdn/{6EDK5KNJ.js → JRHMU5AH.js} +2 -2
  139. package/dist/cdn/{HV2N3H4C.js → JYHKLONI.js} +2 -2
  140. package/dist/cdn/K5VMZV4H.js +4 -0
  141. package/dist/cdn/{PUWICJ5W.js → KCM5ZQJP.js} +1 -1
  142. package/dist/cdn/{RXGM45FQ.js → KEEXLZA5.js} +2 -2
  143. package/dist/cdn/{B4MVGSSJ.js → KFMYZJ2P.js} +1 -1
  144. package/dist/cdn/{7WB3JHCT.js → KMGSF3TH.js} +2 -2
  145. package/dist/cdn/{X4AVPKI4.js → KVDFSJMW.js} +1 -1
  146. package/dist/cdn/{4KK2GCEK.js → L2MUUXE3.js} +2 -2
  147. package/dist/cdn/{A7273GVR.js → L2PVH7MX.js} +2 -2
  148. package/dist/cdn/{NBFR5OQ3.js → L3JCAFZK.js} +2 -2
  149. package/dist/cdn/{LUM6VR37.js → LB3CTVPV.js} +2 -2
  150. package/dist/cdn/{BXADL2C3.js → LCRYKDSP.js} +2 -2
  151. package/dist/cdn/{SXMUYC7L.js → LE3S3O6G.js} +2 -2
  152. package/dist/cdn/LEV73WAS.js +4 -0
  153. package/dist/cdn/{E6X7PWRA.js → LIMSNJX3.js} +2 -2
  154. package/dist/cdn/{J7H7VCA5.js → LKNYWRF6.js} +2 -2
  155. package/dist/cdn/{I634K7DM.js → LQV5K3GI.js} +2 -2
  156. package/dist/cdn/LWGMY4C3.js +4 -0
  157. package/dist/cdn/{ASYJTYGA.js → LXAMQEBO.js} +2 -2
  158. package/dist/cdn/{2R24V5WO.js → LYCPRJS4.js} +2 -2
  159. package/dist/cdn/{43IHJ7TN.js → M2VADVQP.js} +2 -2
  160. package/dist/cdn/{DY2E4AVN.js → M33TX2DP.js} +2 -2
  161. package/dist/cdn/{KCM42IWF.js → MBP3LKCH.js} +2 -2
  162. package/dist/cdn/MF444YJ6.js +4 -0
  163. package/dist/cdn/{TTVLOIXC.js → MFI66IYL.js} +2 -2
  164. package/dist/cdn/{FHTYYXUM.js → MI2BCBZE.js} +2 -2
  165. package/dist/cdn/{UG3KDUP4.js → MRHA2FYO.js} +2 -2
  166. package/dist/cdn/{RCGFB444.js → MUY7WKHX.js} +2 -2
  167. package/dist/cdn/{GVCMJTTL.js → MZLQ4EFE.js} +2 -2
  168. package/dist/cdn/{V43D45FM.js → N32GCBOW.js} +2 -2
  169. package/dist/cdn/{6LGZH44P.js → NEHRGRV5.js} +2 -2
  170. package/dist/cdn/{REDYLRAL.js → NIFCBTXV.js} +2 -2
  171. package/dist/cdn/{TXVAPCGX.js → NRFDTTFN.js} +2 -2
  172. package/dist/cdn/{RJHXVS4X.js → NVNNPRLY.js} +2 -2
  173. package/dist/cdn/{S4CHQOGH.js → O3QKPFFG.js} +2 -2
  174. package/dist/cdn/{3CUPGCWF.js → OGUJRLID.js} +2 -2
  175. package/dist/cdn/{QFEE6RQC.js → OKTGVGSD.js} +2 -2
  176. package/dist/cdn/{OQTJT4VM.js → ONAEUQ3F.js} +2 -2
  177. package/dist/cdn/{6AAQRBY5.js → OORDRHBB.js} +2 -2
  178. package/dist/cdn/{GINRPBGM.js → OQ7XZW4Q.js} +2 -2
  179. package/dist/cdn/{QYDMS7HX.js → OZTWSW46.js} +2 -2
  180. package/dist/cdn/{LHZGS7WL.js → P23SLBTH.js} +2 -2
  181. package/dist/cdn/{AIRZZREU.js → PHLBQXQ3.js} +2 -2
  182. package/dist/cdn/{TTXWGST4.js → PK2MJ7OZ.js} +2 -2
  183. package/dist/cdn/{TKXVCYSU.js → PLXBAOZN.js} +2 -2
  184. package/dist/cdn/{QMUVCESU.js → POELHHEP.js} +2 -2
  185. package/dist/cdn/{E4AGE74B.js → PTM6M2NH.js} +2 -2
  186. package/dist/cdn/{ACWZS37Z.js → Q7WNZYKE.js} +2 -2
  187. package/dist/cdn/{IMYHL37Q.js → QEB5AQLJ.js} +2 -2
  188. package/dist/cdn/{B4TIIMOH.js → QGSHXOJQ.js} +2 -2
  189. package/dist/cdn/{QDGBNNGC.js → QYB4Z3OB.js} +2 -2
  190. package/dist/cdn/{W7BZJD5G.js → R4KLULAM.js} +2 -2
  191. package/dist/cdn/{KPASTANZ.js → R4MG4HUJ.js} +2 -2
  192. package/dist/cdn/RLGQP76L.js +5 -0
  193. package/dist/cdn/{MIEQTHQH.js → RM7SOC4X.js} +2 -2
  194. package/dist/cdn/{YJDJFWSZ.js → RPSAMTRV.js} +2 -2
  195. package/dist/cdn/{DUSH4FKO.js → RTG2YKMW.js} +2 -2
  196. package/dist/cdn/{SXZ2V3SE.js → RTGJOFXF.js} +2 -2
  197. package/dist/cdn/{YJMDA223.js → RZ7A6AQZ.js} +2 -2
  198. package/dist/cdn/{A6QAMX2F.js → RZECLHH2.js} +2 -2
  199. package/dist/cdn/{YT6Z374M.js → RZSHOOQH.js} +2 -2
  200. package/dist/cdn/{FDQAZVWL.js → S7WS43F6.js} +2 -2
  201. package/dist/cdn/{YJBP7OWD.js → SKREWOKX.js} +2 -2
  202. package/dist/cdn/{HY7P367U.js → SOVW2SI6.js} +1 -1
  203. package/dist/cdn/{QNZ6OJOC.js → SR2IWDD6.js} +1 -1
  204. package/dist/cdn/{LIPLRYVY.js → SRNRMGFZ.js} +1 -1
  205. package/dist/cdn/{Y2UI7MFA.js → SXO3KPUG.js} +2 -2
  206. package/dist/cdn/{XH6CAETA.js → TC22ACVR.js} +2 -2
  207. package/dist/cdn/{IB2SWDBZ.js → TIYLXLKN.js} +2 -2
  208. package/dist/cdn/{Z4ZDMQEN.js → TM2TN3DV.js} +2 -2
  209. package/dist/cdn/{YVTOELOZ.js → TQPMWLBX.js} +2 -2
  210. package/dist/cdn/{AY2T6FR3.js → TS4JJ73K.js} +2 -2
  211. package/dist/cdn/{SEX5N5ME.js → TXFAF5W2.js} +2 -2
  212. package/dist/cdn/{62O2WJE5.js → TXVUDZTD.js} +2 -2
  213. package/dist/cdn/U2WPEJEJ.js +6 -0
  214. package/dist/cdn/{CMQPXKEX.js → U4R7WEPL.js} +2 -2
  215. package/dist/cdn/UKKNWLON.js +4 -0
  216. package/dist/cdn/{YSHN4YVZ.js → ULQQCU4D.js} +2 -2
  217. package/dist/cdn/{H3UNNZOF.js → UM3RSDS4.js} +2 -2
  218. package/dist/cdn/{B2ZJE2AM.js → UN43TESL.js} +2 -2
  219. package/dist/cdn/{W37TEKD4.js → UOM2KE7P.js} +2 -2
  220. package/dist/cdn/{W3W6LNI2.js → UP35UIOK.js} +2 -2
  221. package/dist/cdn/{NPRMV7V3.js → UYBR47GE.js} +2 -2
  222. package/dist/cdn/{4ZNRDOR6.js → UZ5Y4PTQ.js} +2 -2
  223. package/dist/cdn/V5HT26TT.js +4 -0
  224. package/dist/cdn/{FK5IBX4U.js → VKF2WRQ2.js} +2 -2
  225. package/dist/cdn/{ZI3IGIGH.js → VL37D3MM.js} +2 -2
  226. package/dist/cdn/VLQQPVYO.js +4 -0
  227. package/dist/cdn/{MWRQZKZ3.js → VONZI5CD.js} +2 -2
  228. package/dist/cdn/{5HYMQT6J.js → W6YAZBHJ.js} +2 -2
  229. package/dist/cdn/{SST5DDRN.js → WE4P3W7P.js} +2 -2
  230. package/dist/cdn/{5H7UJEYI.js → WE5TLYVP.js} +2 -2
  231. package/dist/cdn/{KOGGQTBX.js → WJ7OA352.js} +2 -2
  232. package/dist/cdn/{X6UB44UV.js → WWNE4MNE.js} +2 -2
  233. package/dist/cdn/{U7XS2VBM.js → WWOB3EJF.js} +2 -2
  234. package/dist/cdn/{E2KNTTCK.js → WZDAB7CM.js} +2 -2
  235. package/dist/cdn/{3WLA7SRN.js → WZL6OPRN.js} +2 -2
  236. package/dist/cdn/{U5JQ5GWG.js → XIBMOP2G.js} +2 -2
  237. package/dist/cdn/{AF23SFFK.js → XNRCGJN4.js} +2 -2
  238. package/dist/cdn/{5KEZ46NA.js → XRQKPB24.js} +2 -2
  239. package/dist/cdn/{7YOTPIAY.js → XS2TDPZN.js} +2 -2
  240. package/dist/cdn/{KH46T72Q.js → YCV35CCL.js} +2 -2
  241. package/dist/cdn/{YMSNXWDM.js → YILYSCCE.js} +2 -2
  242. package/dist/cdn/{R7LFYC6M.js → YIN7RNRX.js} +2 -2
  243. package/dist/cdn/YIXCEDJH.js +4 -0
  244. package/dist/cdn/YMDTQK2K.js +4 -0
  245. package/dist/cdn/{KKMDQ5KQ.js → YX4KNA7F.js} +2 -2
  246. package/dist/cdn/{MRXULOZ3.js → YXVYOX5A.js} +2 -2
  247. package/dist/cdn/{ATT73ZTH.js → YYWCXKRF.js} +2 -2
  248. package/dist/cdn/{ZS5DT6TS.js → Z43LSGX3.js} +2 -2
  249. package/dist/cdn/{YZM6UNMI.js → Z7E4S2DV.js} +2 -2
  250. package/dist/cdn/{YHQLKLVI.js → ZH36J5LI.js} +2 -2
  251. package/dist/cdn/{73OILPWT.js → ZKHHB6HX.js} +2 -2
  252. package/dist/cdn/{TZTNOS3N.js → ZN67DSQF.js} +2 -2
  253. package/dist/cdn/{3DRQSR7L.js → ZQT5T4SJ.js} +2 -2
  254. package/dist/cdn/{NZLQHHU6.js → ZQX7LWJP.js} +2 -2
  255. package/dist/cdn/{NEFGB2DD.js → ZRDSRB53.js} +2 -2
  256. package/dist/cdn/{2L3KC36B.js → ZT3OMX56.js} +2 -2
  257. package/dist/cdn/{TM3OSO5Q.js → ZT7H2FY5.js} +2 -2
  258. package/dist/cdn/assets/clipboard/t9n/messages.en.json +1 -0
  259. package/dist/cdn/assets/feature-title/t9n/messages.en.json +1 -0
  260. package/dist/cdn/assets/paste/t9n/messages.en.json +1 -0
  261. package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -1
  262. package/dist/cdn/index.js +2 -2
  263. package/dist/cdn/main.css +1 -1
  264. package/dist/chunks/AnalysisViewModel.js +1 -1
  265. package/dist/chunks/action-utils.js +2 -2
  266. package/dist/chunks/async-utils.js +1 -1
  267. package/dist/chunks/basemap-gallery-resources.js +1 -1
  268. package/dist/chunks/building-layer-utils.js +1 -1
  269. package/dist/chunks/chart-utils.js +1 -1
  270. package/dist/chunks/chartCommon.js +1 -1
  271. package/dist/chunks/clipoardSymbolHelper.js +106 -0
  272. package/dist/chunks/component-utils.js +3 -3
  273. package/dist/chunks/component-wrapper.js +1 -1
  274. package/dist/chunks/constants.js +6 -6
  275. package/dist/chunks/esri-main.js +1 -1
  276. package/dist/chunks/feature-utils.js +68 -77
  277. package/dist/chunks/globalCss.js +1 -1
  278. package/dist/chunks/goTo.js +1 -1
  279. package/dist/chunks/handle.js +1 -1
  280. package/dist/chunks/heading.js +1 -1
  281. package/dist/chunks/layer-list.js +1 -1
  282. package/dist/chunks/layer-utils.js +23 -0
  283. package/dist/chunks/legacyIcon.js +1 -1
  284. package/dist/chunks/maybe.js +1 -1
  285. package/dist/chunks/measurementUtils.js +5 -5
  286. package/dist/chunks/runtime.js +1 -1
  287. package/dist/chunks/screenLocation.js +1 -1
  288. package/dist/chunks/slots.js +6 -7
  289. package/dist/chunks/svgUtils.js +6 -6
  290. package/dist/chunks/time-utils.js +1 -1
  291. package/dist/chunks/univariateUtils.js +8 -8
  292. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  293. package/dist/chunks/useCloseEvent.js +1 -1
  294. package/dist/chunks/useHandles.js +1 -1
  295. package/dist/chunks/useT9n.js +1 -1
  296. package/dist/chunks/useView.js +1 -1
  297. package/dist/chunks/useViewModel.js +1 -1
  298. package/dist/chunks/useWidget.js +1 -1
  299. package/dist/chunks/utils.js +85 -46
  300. package/dist/chunks/utils2.js +46 -85
  301. package/dist/chunks/visible-element.js +1 -1
  302. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +152 -124
  303. package/dist/components/arcgis-area-measurement-2d/customElement.js +3 -3
  304. package/dist/components/arcgis-area-measurement-2d/index.d.ts +0 -3
  305. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +142 -123
  306. package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -3
  307. package/dist/components/arcgis-area-measurement-3d/index.d.ts +0 -3
  308. package/dist/components/arcgis-attachments/customElement.d.ts +148 -175
  309. package/dist/components/arcgis-attachments/customElement.js +2 -2
  310. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +148 -144
  311. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  312. package/dist/components/arcgis-basemap-gallery/index.d.ts +0 -1
  313. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  314. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +387 -407
  315. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  316. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +85 -85
  317. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  318. package/dist/components/arcgis-basemap-toggle/index.d.ts +0 -3
  319. package/dist/components/arcgis-bookmarks/BookmarksViewModel.d.ts +92 -103
  320. package/dist/components/arcgis-bookmarks/customElement.d.ts +418 -331
  321. package/dist/components/arcgis-bookmarks/customElement.js +2 -2
  322. package/dist/components/arcgis-bookmarks/index.d.ts +0 -21
  323. package/dist/components/arcgis-bookmarks/types.d.ts +58 -70
  324. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  325. package/dist/components/arcgis-building-explorer/customElement.d.ts +235 -182
  326. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  327. package/dist/components/arcgis-building-explorer/index.d.ts +0 -4
  328. package/dist/components/arcgis-building-level-item/customElement.d.ts +21 -22
  329. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  330. package/dist/components/arcgis-building-level-picker/customElement.js +2 -2
  331. package/dist/components/arcgis-building-phase-picker/customElement.js +2 -2
  332. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +291 -311
  333. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  334. package/dist/components/arcgis-clipboard/customElement.d.ts +50 -0
  335. package/dist/components/arcgis-clipboard/customElement.js +74 -0
  336. package/dist/components/{arcgis-layer-list-item/index.d.ts → arcgis-clipboard/index.js} +5 -6
  337. package/dist/components/arcgis-color-select/customElement.d.ts +29 -21
  338. package/dist/components/arcgis-color-select/customElement.js +1 -1
  339. package/dist/components/arcgis-color-select/index.d.ts +0 -4
  340. package/dist/components/arcgis-compass/customElement.d.ts +106 -105
  341. package/dist/components/arcgis-compass/customElement.js +2 -2
  342. package/dist/components/arcgis-compass/index.d.ts +0 -2
  343. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +349 -286
  344. package/dist/components/arcgis-coordinate-conversion/customElement.js +2 -2
  345. package/dist/components/arcgis-coordinate-conversion/index.d.ts +0 -7
  346. package/dist/components/arcgis-coordinate-conversion/types.d.ts +2 -20
  347. package/dist/components/arcgis-daylight/customElement.d.ts +229 -193
  348. package/dist/components/arcgis-daylight/customElement.js +2 -2
  349. package/dist/components/arcgis-daylight/daylight-utils.d.ts +7 -27
  350. package/dist/components/arcgis-daylight/index.d.ts +0 -9
  351. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +146 -123
  352. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
  353. package/dist/components/arcgis-direct-line-measurement-3d/index.d.ts +0 -3
  354. package/dist/components/arcgis-directional-pad/customElement.d.ts +134 -124
  355. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  356. package/dist/components/arcgis-directional-pad/index.d.ts +0 -5
  357. package/dist/components/arcgis-directions/customElement.d.ts +202 -264
  358. package/dist/components/arcgis-directions/customElement.js +2 -2
  359. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +149 -123
  360. package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
  361. package/dist/components/arcgis-distance-measurement-2d/index.d.ts +0 -3
  362. package/dist/components/arcgis-editor/customElement.d.ts +321 -340
  363. package/dist/components/arcgis-editor/customElement.js +3 -3
  364. package/dist/components/arcgis-elevation-profile/customElement.d.ts +432 -281
  365. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  366. package/dist/components/arcgis-elevation-profile/index.d.ts +0 -5
  367. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  368. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  369. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  370. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  371. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +43 -47
  372. package/dist/components/arcgis-expand/customElement.d.ts +206 -207
  373. package/dist/components/arcgis-expand/customElement.js +2 -2
  374. package/dist/components/arcgis-expand/index.d.ts +0 -4
  375. package/dist/components/arcgis-feature/customElement.d.ts +429 -320
  376. package/dist/components/arcgis-feature/customElement.js +2 -2
  377. package/dist/components/arcgis-feature/index.d.ts +0 -12
  378. package/dist/components/arcgis-feature-attachments/customElement.js +10 -10
  379. package/dist/components/arcgis-feature-content/customElement.js +23 -23
  380. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  381. package/dist/components/arcgis-feature-expression/customElement.js +69 -185
  382. package/dist/components/arcgis-feature-fields/customElement.js +7 -6
  383. package/dist/components/arcgis-feature-form/customElement.d.ts +202 -217
  384. package/dist/components/arcgis-feature-form/customElement.js +3 -3
  385. package/dist/components/arcgis-feature-image/customElement.d.ts +51 -0
  386. package/dist/components/arcgis-feature-image/customElement.js +145 -0
  387. package/dist/components/arcgis-feature-media/customElement.js +6 -6
  388. package/dist/components/arcgis-feature-relationship/customElement.js +2 -2
  389. package/dist/components/arcgis-feature-table/customElement.d.ts +950 -958
  390. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  391. package/dist/components/arcgis-feature-templates/customElement.d.ts +201 -220
  392. package/dist/components/arcgis-feature-templates/customElement.js +8 -8
  393. package/dist/components/arcgis-feature-title/customElement.d.ts +32 -0
  394. package/dist/components/arcgis-feature-title/customElement.js +99 -0
  395. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  396. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  397. package/dist/components/arcgis-features/customElement.d.ts +728 -674
  398. package/dist/components/arcgis-features/customElement.js +3 -3
  399. package/dist/components/arcgis-features/index.d.ts +0 -13
  400. package/dist/components/arcgis-floor-filter/customElement.d.ts +87 -111
  401. package/dist/components/arcgis-floor-filter/customElement.js +2 -2
  402. package/dist/components/arcgis-fullscreen/customElement.d.ts +60 -59
  403. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  404. package/dist/components/arcgis-fullscreen/index.d.ts +0 -1
  405. package/dist/components/arcgis-grid-controls/customElement.d.ts +328 -301
  406. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  407. package/dist/components/arcgis-grid-controls/index.d.ts +0 -9
  408. package/dist/components/arcgis-grid-controls/types.d.ts +1 -2
  409. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +352 -376
  410. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  411. package/dist/components/arcgis-home/customElement.d.ts +130 -131
  412. package/dist/components/arcgis-home/customElement.js +2 -2
  413. package/dist/components/arcgis-home/index.d.ts +0 -1
  414. package/dist/components/arcgis-labeled-switch/customElement.js +2 -2
  415. package/dist/components/arcgis-layer-list/customElement.d.ts +405 -424
  416. package/dist/components/arcgis-layer-list/customElement.js +2 -2
  417. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  418. package/dist/components/arcgis-legend/customElement.d.ts +372 -259
  419. package/dist/components/arcgis-legend/customElement.js +1 -1
  420. package/dist/components/arcgis-legend/index.d.ts +0 -2
  421. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +3 -3
  422. package/dist/components/arcgis-legend-card-element/customElement.js +2 -2
  423. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +2 -2
  424. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +2 -2
  425. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +2 -2
  426. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  427. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +2 -2
  428. package/dist/components/arcgis-legend-classic-element/customElement.js +2 -2
  429. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +2 -2
  430. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +2 -2
  431. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +2 -2
  432. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  433. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +2 -2
  434. package/dist/components/arcgis-legend-spike-ramp/customElement.js +2 -2
  435. package/dist/components/arcgis-line-of-sight/customElement.d.ts +149 -131
  436. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  437. package/dist/components/arcgis-line-of-sight/index.d.ts +0 -1
  438. package/dist/components/arcgis-link-chart/customElement.d.ts +899 -916
  439. package/dist/components/arcgis-link-chart/customElement.js +2 -2
  440. package/dist/components/arcgis-link-chart/index.d.ts +0 -2
  441. package/dist/components/arcgis-link-chart/index.js +1 -1
  442. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +163 -150
  443. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +2 -2
  444. package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +0 -6
  445. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +67 -76
  446. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +2 -2
  447. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/index.d.ts +0 -1
  448. package/dist/components/arcgis-locate/LocateViewModel.d.ts +1 -20
  449. package/dist/components/arcgis-locate/customElement.d.ts +147 -135
  450. package/dist/components/arcgis-locate/customElement.js +2 -2
  451. package/dist/components/arcgis-locate/index.d.ts +0 -2
  452. package/dist/components/arcgis-map/customElement.d.ts +1251 -1266
  453. package/dist/components/arcgis-map/customElement.js +2 -2
  454. package/dist/components/arcgis-map/index.d.ts +0 -2
  455. package/dist/components/arcgis-map/index.js +1 -1
  456. package/dist/components/arcgis-measurement/customElement.d.ts +153 -181
  457. package/dist/components/arcgis-measurement/customElement.js +2 -2
  458. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  459. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +92 -0
  460. package/dist/components/arcgis-multi-feature-form/customElement.js +52 -0
  461. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +99 -96
  462. package/dist/components/arcgis-navigation-toggle/customElement.js +2 -2
  463. package/dist/components/arcgis-navigation-toggle/index.d.ts +0 -2
  464. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +161 -201
  465. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  466. package/dist/components/arcgis-paste/ClipboardMove.d.ts +25 -0
  467. package/dist/components/arcgis-paste/PasteViewModel.d.ts +303 -0
  468. package/dist/components/arcgis-paste/customElement.d.ts +275 -0
  469. package/dist/components/arcgis-paste/customElement.js +1295 -0
  470. package/dist/components/arcgis-paste/index.js +23 -0
  471. package/dist/components/arcgis-popup/customElement.d.ts +635 -621
  472. package/dist/components/arcgis-popup/customElement.js +1 -1
  473. package/dist/components/arcgis-popup/index.d.ts +0 -1
  474. package/dist/components/arcgis-popup/types.d.ts +18 -34
  475. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +35 -32
  476. package/dist/components/arcgis-presentation/customElement.d.ts +58 -51
  477. package/dist/components/arcgis-presentation/customElement.js +1 -1
  478. package/dist/components/arcgis-presentation/index.d.ts +0 -1
  479. package/dist/components/arcgis-print/customElement.d.ts +509 -435
  480. package/dist/components/arcgis-print/customElement.js +1 -1
  481. package/dist/components/arcgis-print/index.d.ts +0 -5
  482. package/dist/components/arcgis-print/types.d.ts +2 -39
  483. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  484. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  485. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  486. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  487. package/dist/components/arcgis-print-format-select/customElement.js +2 -2
  488. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  489. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  490. package/dist/components/arcgis-print-main-panel/customElement.js +2 -2
  491. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  492. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  493. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  494. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  495. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  496. package/dist/components/arcgis-print-template-select/customElement.js +2 -2
  497. package/dist/components/arcgis-print-template-selector/customElement.js +2 -2
  498. package/dist/components/arcgis-scale-bar/customElement.d.ts +70 -76
  499. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  500. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +138 -160
  501. package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
  502. package/dist/components/arcgis-scene/customElement.d.ts +1146 -1160
  503. package/dist/components/arcgis-scene/customElement.js +2 -2
  504. package/dist/components/arcgis-scene/index.d.ts +0 -2
  505. package/dist/components/arcgis-scene/index.js +1 -1
  506. package/dist/components/arcgis-search/customElement.d.ts +475 -457
  507. package/dist/components/arcgis-search/customElement.js +2 -2
  508. package/dist/components/arcgis-search/index.d.ts +0 -9
  509. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +24 -26
  510. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  511. package/dist/components/arcgis-search-result-renderer/index.d.ts +0 -4
  512. package/dist/components/arcgis-shadow-cast/customElement.d.ts +372 -311
  513. package/dist/components/arcgis-shadow-cast/customElement.js +81 -86
  514. package/dist/components/arcgis-shadow-cast/index.d.ts +0 -9
  515. package/dist/components/arcgis-shadow-cast/index.js +1 -1
  516. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  517. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  518. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  519. package/dist/components/arcgis-sketch/customElement.d.ts +453 -470
  520. package/dist/components/arcgis-sketch/customElement.js +2 -2
  521. package/dist/components/arcgis-slice/SliceViewModel.d.ts +3 -50
  522. package/dist/components/arcgis-slice/customElement.d.ts +238 -189
  523. package/dist/components/arcgis-slice/customElement.js +2 -2
  524. package/dist/components/arcgis-slice/index.d.ts +0 -4
  525. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +141 -171
  526. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +2 -2
  527. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +164 -194
  528. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +2 -2
  529. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +152 -182
  530. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +2 -2
  531. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +139 -167
  532. package/dist/components/arcgis-slider-color-legacy/customElement.js +2 -2
  533. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +151 -179
  534. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +2 -2
  535. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +106 -131
  536. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +2 -2
  537. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +157 -184
  538. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +2 -2
  539. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +166 -196
  540. package/dist/components/arcgis-slider-size-legacy/customElement.js +2 -2
  541. package/dist/components/arcgis-spinner/customElement.js +1 -1
  542. package/dist/components/arcgis-swipe/customElement.d.ts +164 -166
  543. package/dist/components/arcgis-swipe/customElement.js +1 -1
  544. package/dist/components/arcgis-table-list/customElement.d.ts +292 -313
  545. package/dist/components/arcgis-table-list/customElement.js +2 -2
  546. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +32 -35
  547. package/dist/components/arcgis-time-of-day-slider/customElement.js +7 -7
  548. package/dist/components/arcgis-time-of-day-slider/index.d.ts +0 -2
  549. package/dist/components/arcgis-time-slider/customElement.d.ts +496 -517
  550. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  551. package/dist/components/arcgis-time-zone-label/customElement.d.ts +75 -74
  552. package/dist/components/arcgis-time-zone-label/customElement.js +2 -2
  553. package/dist/components/arcgis-time-zone-label/index.d.ts +0 -4
  554. package/dist/components/arcgis-track/customElement.d.ts +225 -217
  555. package/dist/components/arcgis-track/customElement.js +2 -2
  556. package/dist/components/arcgis-track/index.d.ts +0 -2
  557. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  558. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  559. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +230 -253
  560. package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
  561. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +17 -8
  562. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  563. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +223 -246
  564. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  565. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +210 -135
  566. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  567. package/dist/components/arcgis-utility-network-trace-analysis/index.d.ts +0 -10
  568. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +111 -67
  569. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  570. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +0 -13
  571. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +129 -69
  572. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  573. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +0 -3
  574. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +28 -11
  575. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  576. package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +0 -8
  577. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +134 -57
  578. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  579. package/dist/components/arcgis-utility-network-trace-results/index.d.ts +0 -11
  580. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +81 -110
  581. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  582. package/dist/components/arcgis-value-picker/customElement.d.ts +294 -323
  583. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  584. package/dist/components/arcgis-version-management/customElement.d.ts +231 -190
  585. package/dist/components/arcgis-version-management/customElement.js +1 -1
  586. package/dist/components/arcgis-version-management/index.d.ts +0 -6
  587. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  588. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  589. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  590. package/dist/components/arcgis-video/customElement.d.ts +59 -60
  591. package/dist/components/arcgis-video/customElement.js +1 -1
  592. package/dist/components/arcgis-video/index.d.ts +0 -1
  593. package/dist/components/arcgis-video-player/customElement.d.ts +186 -158
  594. package/dist/components/arcgis-video-player/customElement.js +1 -1
  595. package/dist/components/arcgis-video-player/index.d.ts +0 -8
  596. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  597. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  598. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  599. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  600. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  601. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  602. package/dist/components/arcgis-volume-measurement/customElement.d.ts +317 -258
  603. package/dist/components/arcgis-volume-measurement/customElement.js +3 -3
  604. package/dist/components/arcgis-volume-measurement/index.d.ts +0 -10
  605. package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -41
  606. package/dist/components/arcgis-weather/customElement.d.ts +207 -168
  607. package/dist/components/arcgis-weather/customElement.js +1 -1
  608. package/dist/components/arcgis-weather/index.d.ts +0 -5
  609. package/dist/components/arcgis-webgl-error/customElement.d.ts +20 -11
  610. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  611. package/dist/components/arcgis-webgl-error/index.d.ts +0 -2
  612. package/dist/components/arcgis-zoom/customElement.d.ts +94 -92
  613. package/dist/components/arcgis-zoom/customElement.js +1 -1
  614. package/dist/components/arcgis-zoom/index.d.ts +0 -1
  615. package/dist/components/support/goTo.d.ts +32 -24
  616. package/dist/components/types.d.ts +1 -5
  617. package/dist/controllers/useArcgisLoadError.d.ts +8 -26
  618. package/dist/docs/api.json +1 -72767
  619. package/dist/docs/docs.json +1 -65418
  620. package/dist/docs/vscode.css-custom-data.json +1 -87
  621. package/dist/docs/vscode.html-custom-data.json +1 -7909
  622. package/dist/docs/web-types.json +1 -19962
  623. package/dist/index.d.ts +65 -89
  624. package/dist/index.js +1 -1
  625. package/dist/loader.js +87 -82
  626. package/dist/support/heading.d.ts +1 -13
  627. package/dist/support/measurementUtils.d.ts +1 -40
  628. package/dist/types/lumina.d.ts +502 -466
  629. package/dist/types/preact.d.ts +507 -466
  630. package/dist/types/react.d.ts +512 -466
  631. package/dist/types/stencil.d.ts +502 -466
  632. package/dist/utils/action-utils.d.ts +3 -35
  633. package/dist/utils/component-utils.d.ts +5 -74
  634. package/package.json +6 -5
  635. package/dist/cdn/4RR7C6H7.js +0 -4
  636. package/dist/cdn/CGGF6CDR.js +0 -4
  637. package/dist/cdn/CMGBVLC6.js +0 -4
  638. package/dist/cdn/CVCMRQ7O.js +0 -5
  639. package/dist/cdn/HHKLHHFW.js +0 -4
  640. package/dist/cdn/LKEJY44T.js +0 -4
  641. package/dist/cdn/MCPQFELM.js +0 -4
  642. package/dist/cdn/QO27RXSA.js +0 -6
  643. package/dist/cdn/QOSXJOFH.js +0 -4
  644. package/dist/cdn/STRUG7UY.js +0 -4
  645. package/dist/cdn/T2KFHR4P.js +0 -4
  646. package/dist/cdn/UFLIRFQV.js +0 -4
  647. package/dist/cdn/V6A5AIMW.js +0 -4
  648. package/dist/cdn/VVY5D762.js +0 -4
  649. package/dist/cdn/WREI3VIA.js +0 -4
  650. package/dist/cdn/XMDJQG2P.js +0 -4
  651. package/dist/cdn/YYYEEJ6Q.js +0 -4
  652. package/dist/cdn/ZA5DZNSW.js +0 -4
  653. package/dist/cdn/ZC57L7DS.js +0 -4
  654. package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +0 -40
  655. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +0 -39
  656. package/dist/components/arcgis-basemap-gallery/basemap-gallery-resources.d.ts +0 -15
  657. package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +0 -18
  658. package/dist/components/arcgis-basemap-gallery-item/index.d.ts +0 -3
  659. package/dist/components/arcgis-basemap-toggle/css.d.ts +0 -11
  660. package/dist/components/arcgis-bookmarks/css.d.ts +0 -22
  661. package/dist/components/arcgis-bookmarks/user-state.d.ts +0 -26
  662. package/dist/components/arcgis-building-discipline-tree/building-discipline-view-model.d.ts +0 -76
  663. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -15
  664. package/dist/components/arcgis-building-discipline-tree/index.d.ts +0 -5
  665. package/dist/components/arcgis-building-discipline-tree/layer-tree-node.d.ts +0 -80
  666. package/dist/components/arcgis-building-explorer/building-filter/BuildingFilterController.d.ts +0 -14
  667. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -15
  668. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -119
  669. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -28
  670. package/dist/components/arcgis-building-explorer/support/building-layer-utils.d.ts +0 -61
  671. package/dist/components/arcgis-building-explorer/support/filter-utils.d.ts +0 -60
  672. package/dist/components/arcgis-building-explorer/support/layer-utils.d.ts +0 -8
  673. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -25
  674. package/dist/components/arcgis-building-explorer/support/validation.d.ts +0 -30
  675. package/dist/components/arcgis-building-level-picker/constants.d.ts +0 -48
  676. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  677. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -4
  678. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  679. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -2
  680. package/dist/components/arcgis-coordinate-conversion/css.d.ts +0 -26
  681. package/dist/components/arcgis-daylight/animation.d.ts +0 -15
  682. package/dist/components/arcgis-daylight/daylight-time-slider.d.ts +0 -10
  683. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +0 -41
  684. package/dist/components/arcgis-directional-pad/constants.d.ts +0 -10
  685. package/dist/components/arcgis-directional-pad/css.d.ts +0 -10
  686. package/dist/components/arcgis-directional-pad/utils.d.ts +0 -25
  687. package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +0 -39
  688. package/dist/components/arcgis-elevation-profile/ElevationProfileViewModel.d.ts +0 -84
  689. package/dist/components/arcgis-elevation-profile/geometryUtils.d.ts +0 -8
  690. package/dist/components/arcgis-elevation-profile/types.d.ts +0 -162
  691. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +0 -18
  692. package/dist/components/arcgis-elevation-profile-legend/index.d.ts +0 -2
  693. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +0 -26
  694. package/dist/components/arcgis-elevation-profile-legend-item/index.d.ts +0 -5
  695. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +0 -28
  696. package/dist/components/arcgis-elevation-profile-settings/index.d.ts +0 -6
  697. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +0 -20
  698. package/dist/components/arcgis-elevation-profile-statistics/index.d.ts +0 -2
  699. package/dist/components/arcgis-feature-attachments/customElement.d.ts +0 -25
  700. package/dist/components/arcgis-feature-attachments/index.d.ts +0 -8
  701. package/dist/components/arcgis-feature-content/customElement.d.ts +0 -11
  702. package/dist/components/arcgis-feature-content/index.d.ts +0 -2
  703. package/dist/components/arcgis-feature-element-info/customElement.d.ts +0 -11
  704. package/dist/components/arcgis-feature-expression/customElement.d.ts +0 -21
  705. package/dist/components/arcgis-feature-expression/index.d.ts +0 -5
  706. package/dist/components/arcgis-feature-fields/customElement.d.ts +0 -21
  707. package/dist/components/arcgis-feature-fields/index.d.ts +0 -2
  708. package/dist/components/arcgis-feature-media/chartCommon.d.ts +0 -1
  709. package/dist/components/arcgis-feature-media/customElement.d.ts +0 -36
  710. package/dist/components/arcgis-feature-media/index.d.ts +0 -3
  711. package/dist/components/arcgis-feature-relationship/customElement.d.ts +0 -87
  712. package/dist/components/arcgis-feature-relationship/index.d.ts +0 -10
  713. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +0 -24
  714. package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +0 -8
  715. package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +0 -73
  716. package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +0 -8
  717. package/dist/components/arcgis-features/css.d.ts +0 -20
  718. package/dist/components/arcgis-grid-controls/gridUtils.d.ts +0 -16
  719. package/dist/components/arcgis-labeled-switch/customElement.d.ts +0 -43
  720. package/dist/components/arcgis-labeled-switch/index.d.ts +0 -5
  721. package/dist/components/arcgis-layer-list/css.d.ts +0 -22
  722. package/dist/components/arcgis-layer-list-item/customElement.d.ts +0 -70
  723. package/dist/components/arcgis-legend/support/svgGlobalState.d.ts +0 -7
  724. package/dist/components/arcgis-legend/support/svgUtils.d.ts +0 -173
  725. package/dist/components/arcgis-legend/support/titleUtils.d.ts +0 -6
  726. package/dist/components/arcgis-legend/support/univariateUtils.d.ts +0 -33
  727. package/dist/components/arcgis-legend/support/utils.d.ts +0 -10
  728. package/dist/components/arcgis-legend/types.d.ts +0 -0
  729. package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +0 -13
  730. package/dist/components/arcgis-legend-card-element/customElement.d.ts +0 -18
  731. package/dist/components/arcgis-legend-card-element/index.d.ts +0 -7
  732. package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +0 -14
  733. package/dist/components/arcgis-legend-card-size-ramp/index.d.ts +0 -2
  734. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +0 -13
  735. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +0 -13
  736. package/dist/components/arcgis-legend-card-view/customElement.d.ts +0 -23
  737. package/dist/components/arcgis-legend-card-view/index.d.ts +0 -4
  738. package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +0 -12
  739. package/dist/components/arcgis-legend-classic-element/customElement.d.ts +0 -12
  740. package/dist/components/arcgis-legend-classic-element/index.d.ts +0 -7
  741. package/dist/components/arcgis-legend-classic-size-ramp/customElement.d.ts +0 -10
  742. package/dist/components/arcgis-legend-classic-size-ramp/index.d.ts +0 -2
  743. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +0 -13
  744. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +0 -13
  745. package/dist/components/arcgis-legend-classic-view/customElement.d.ts +0 -15
  746. package/dist/components/arcgis-legend-classic-view/index.d.ts +0 -2
  747. package/dist/components/arcgis-legend-relationship-ramp/customElement.d.ts +0 -12
  748. package/dist/components/arcgis-legend-spike-ramp/customElement.d.ts +0 -10
  749. package/dist/components/arcgis-legend-spike-ramp/index.d.ts +0 -1
  750. package/dist/components/arcgis-line-of-sight/LineOfSightViewModel.d.ts +0 -14
  751. package/dist/components/arcgis-line-of-sight/css.d.ts +0 -9
  752. package/dist/components/arcgis-measurement-content/customElement.d.ts +0 -22
  753. package/dist/components/arcgis-measurement-content/index.d.ts +0 -2
  754. package/dist/components/arcgis-popup/css.d.ts +0 -31
  755. package/dist/components/arcgis-print/utils.d.ts +0 -12
  756. package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +0 -8
  757. package/dist/components/arcgis-print-custom-text-elements/index.d.ts +0 -3
  758. package/dist/components/arcgis-print-dpi-input/customElement.d.ts +0 -10
  759. package/dist/components/arcgis-print-dpi-input/index.d.ts +0 -3
  760. package/dist/components/arcgis-print-export-button/customElement.d.ts +0 -12
  761. package/dist/components/arcgis-print-export-button/index.d.ts +0 -2
  762. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +0 -15
  763. package/dist/components/arcgis-print-exports-panel/index.d.ts +0 -7
  764. package/dist/components/arcgis-print-format-select/customElement.d.ts +0 -11
  765. package/dist/components/arcgis-print-format-select/index.d.ts +0 -4
  766. package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +0 -12
  767. package/dist/components/arcgis-print-layout-advanced-options/index.d.ts +0 -10
  768. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +0 -16
  769. package/dist/components/arcgis-print-layout-panel/index.d.ts +0 -9
  770. package/dist/components/arcgis-print-main-panel/customElement.d.ts +0 -20
  771. package/dist/components/arcgis-print-main-panel/index.d.ts +0 -9
  772. package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +0 -10
  773. package/dist/components/arcgis-print-map-only-advanced-options/index.d.ts +0 -7
  774. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +0 -13
  775. package/dist/components/arcgis-print-map-only-panel/index.d.ts +0 -10
  776. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +0 -11
  777. package/dist/components/arcgis-print-out-spatial-reference-input/index.d.ts +0 -4
  778. package/dist/components/arcgis-print-preview-input/customElement.d.ts +0 -10
  779. package/dist/components/arcgis-print-preview-input/index.d.ts +0 -3
  780. package/dist/components/arcgis-print-scale-section/customElement.d.ts +0 -11
  781. package/dist/components/arcgis-print-scale-section/index.d.ts +0 -5
  782. package/dist/components/arcgis-print-template-select/customElement.d.ts +0 -11
  783. package/dist/components/arcgis-print-template-select/index.d.ts +0 -3
  784. package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -13
  785. package/dist/components/arcgis-print-template-selector/index.d.ts +0 -8
  786. package/dist/components/arcgis-scale-bar/css.d.ts +0 -17
  787. package/dist/components/arcgis-search/css.d.ts +0 -8
  788. package/dist/components/arcgis-search-result-renderer/css.d.ts +0 -4
  789. package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +0 -45
  790. package/dist/components/arcgis-shadow-cast/constants.d.ts +0 -2
  791. package/dist/components/arcgis-shadow-cast/types.d.ts +0 -55
  792. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +0 -20
  793. package/dist/components/arcgis-shadow-cast-discrete-config/index.d.ts +0 -5
  794. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.d.ts +0 -31
  795. package/dist/components/arcgis-shadow-cast-min-duration-config/index.d.ts +0 -6
  796. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.d.ts +0 -20
  797. package/dist/components/arcgis-shadow-cast-total-duration-config/index.d.ts +0 -5
  798. package/dist/components/arcgis-slice/css.d.ts +0 -14
  799. package/dist/components/arcgis-spinner/customElement.d.ts +0 -17
  800. package/dist/components/arcgis-spinner/index.d.ts +0 -2
  801. package/dist/components/arcgis-unit-select/customElement.d.ts +0 -33
  802. package/dist/components/arcgis-unit-select/index.d.ts +0 -4
  803. package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +0 -27
  804. package/dist/components/arcgis-utility-network-association-list/index.d.ts +0 -4
  805. package/dist/components/arcgis-utility-network-association-list/types.d.ts +0 -2
  806. package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -52
  807. package/dist/components/arcgis-version-management-service-item/index.d.ts +0 -8
  808. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -51
  809. package/dist/components/arcgis-version-management-version-list/index.d.ts +0 -13
  810. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -37
  811. package/dist/components/arcgis-version-management-version-properties/index.d.ts +0 -11
  812. package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +0 -15
  813. package/dist/components/arcgis-video-player-action-bar/index.d.ts +0 -4
  814. package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +0 -12
  815. package/dist/components/arcgis-video-player-actions-group/index.d.ts +0 -3
  816. package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +0 -11
  817. package/dist/components/arcgis-video-player-controls-group/index.d.ts +0 -9
  818. package/dist/components/arcgis-video-player-metadata/customElement.d.ts +0 -10
  819. package/dist/components/arcgis-video-player-metadata/index.d.ts +0 -5
  820. package/dist/components/arcgis-video-player-settings/customElement.d.ts +0 -17
  821. package/dist/components/arcgis-video-player-settings/index.d.ts +0 -12
  822. package/dist/components/arcgis-video-player-slider/customElement.d.ts +0 -10
  823. package/dist/components/arcgis-video-player-slider/index.d.ts +0 -2
  824. package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +0 -95
  825. package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +0 -1
  826. package/dist/components/arcgis-weather/LabeledSlider.d.ts +0 -8
  827. package/dist/components/arcgis-zoom/css.d.ts +0 -7
  828. package/dist/components/arcgis-zoom/utils.d.ts +0 -4
  829. package/dist/components/support/utility-components/component-wrapper.d.ts +0 -10
  830. package/dist/components/support/utility-components/visible-element.d.ts +0 -5
  831. package/dist/controllers/Handles.d.ts +0 -72
  832. package/dist/controllers/screenLocation.d.ts +0 -21
  833. package/dist/controllers/uiController.d.ts +0 -37
  834. package/dist/controllers/useArcgisViewReadyError.d.ts +0 -17
  835. package/dist/controllers/useCloseEvent.d.ts +0 -6
  836. package/dist/controllers/useHandles.d.ts +0 -88
  837. package/dist/controllers/useT9n.d.ts +0 -1
  838. package/dist/controllers/useView.d.ts +0 -37
  839. package/dist/controllers/useViewModel.d.ts +0 -57
  840. package/dist/controllers/useWidget.d.ts +0 -71
  841. package/dist/geolocation/GeolocationPositioning.d.ts +0 -55
  842. package/dist/runtime.d.ts +0 -6
  843. package/dist/support/AnalysisViewModel.d.ts +0 -164
  844. package/dist/support/basemapUtils.d.ts +0 -3
  845. package/dist/support/earth-utils.d.ts +0 -9
  846. package/dist/support/handle.d.ts +0 -1
  847. package/dist/support/maybe.d.ts +0 -10
  848. package/dist/support/resources.d.ts +0 -31
  849. package/dist/support/slotArgs.d.ts +0 -8
  850. package/dist/support/slots.d.ts +0 -10
  851. package/dist/support/sun-calc-lib/SunCalc.d.ts +0 -25
  852. package/dist/support/time-utils.d.ts +0 -43
  853. package/dist/types.d.ts +0 -31
  854. package/dist/utils/actions.d.ts +0 -7
  855. package/dist/utils/async-utils.d.ts +0 -85
  856. package/dist/utils/attachment-utils.d.ts +0 -2
  857. package/dist/utils/chart-utils.d.ts +0 -6
  858. package/dist/utils/disconnected.d.ts +0 -3
  859. package/dist/utils/feature-form-utils.d.ts +0 -6
  860. package/dist/utils/feature-utils.d.ts +0 -48
  861. package/dist/utils/geolocation-utils.d.ts +0 -14
  862. package/dist/utils/geometry-utils.d.ts +0 -5
  863. package/dist/utils/globalCss.d.ts +0 -43
  864. package/dist/utils/highlight-utils.d.ts +0 -22
  865. package/dist/utils/layer-list-utils.d.ts +0 -42
  866. package/dist/utils/layer-utils.d.ts +0 -4
  867. package/dist/utils/legacyIcon.d.ts +0 -100
  868. package/dist/utils/math-utils.d.ts +0 -6
  869. package/dist/utils/related-feature-utils.d.ts +0 -6
  870. package/dist/utils/screen-utils.d.ts +0 -2
  871. package/dist/utils/signal-utils.d.ts +0 -17
  872. package/dist/utils/types.d.ts +0 -5
  873. package/dist/utils/uri-utils.d.ts +0 -4
  874. /package/dist/components/{arcgis-feature-element-info → arcgis-clipboard}/index.d.ts +0 -0
  875. /package/dist/components/{arcgis-legend-card-color-ramp → arcgis-feature-image}/index.d.ts +0 -0
  876. /package/dist/components/{arcgis-legend-card-univariate-above-and-below-ramp/index.d.ts → arcgis-feature-image/index.js} +0 -0
  877. /package/dist/components/{arcgis-legend-card-univariate-color-size-ramp → arcgis-feature-title}/index.d.ts +0 -0
  878. /package/dist/components/{arcgis-legend-classic-color-ramp/index.d.ts → arcgis-feature-title/index.js} +0 -0
  879. /package/dist/components/{arcgis-legend-classic-univariate-above-and-below-ramp → arcgis-multi-feature-form}/index.d.ts +0 -0
  880. /package/dist/components/{arcgis-legend-classic-univariate-color-size-ramp/index.d.ts → arcgis-multi-feature-form/index.js} +0 -0
  881. /package/dist/components/{arcgis-legend-relationship-ramp → arcgis-paste}/index.d.ts +0 -0
@@ -1,35 +1,3 @@
1
- /// <reference types="@arcgis/core/interfaces.d.ts" />
2
- import { default as ActionButton } from '@arcgis/core/support/actions/ActionButton.js';
3
- import { default as ActionToggle } from '@arcgis/core/support/actions/ActionToggle.js';
4
- import { JsxNode } from '@arcgis/lumina';
5
- import { ArcgisFeature } from '../components/arcgis-feature/customElement.js';
6
- import { nil } from '@arcgis/toolkit/type';
7
- export type IconName = HTMLCalciteIconElement["icon"];
8
- export type Action = {
9
- icon?: IconName | undefined;
10
- className?: string | undefined;
11
- image?: string | undefined;
12
- indicator?: boolean;
13
- uid?: string;
14
- } & (ActionButton | ActionToggle);
15
- export type Actions = __esri.Collection<Action>;
16
- export type Sections = __esri.Collection<Actions>;
17
- export type VisibilityAppearance = "checkbox" | "default";
18
- /**
19
- * A convenience helper method for rendering a `calcite-action` component.
20
- * Commonly-changed properties such as key, title, and callback are configurable.
21
- *
22
- * @return A `calcite-action` component if the action is visible, else `null`.
23
- */
24
- export declare function renderAction(action: Action, props: Partial<HTMLCalciteActionElement>, children?: JsxNode[]): JsxNode;
25
- export declare function getActionIcon(action: Partial<Action>): IconName | undefined;
26
- export declare function getActionStyles(image: string | null): Partial<CSSStyleDeclaration>;
27
- export declare function substituteActionImage({ action, feature }: {
28
- action: Action;
29
- feature: __esri.Graphic | nil;
30
- }): string;
31
- export declare function getSelectedTarget(viewModel: __esri.PopupViewModel): __esri.GeometryUnion | __esri.Graphic | nil;
32
- export declare function zoomToLocation(viewModel: __esri.PopupViewModel, targetFeatureWidget?: HTMLArcgisFeatureElement): Promise<void>;
33
- export declare function isClusterFeature(feature: __esri.Graphic | nil): boolean;
34
- export declare function zoomToClusterExtent(viewModel: __esri.PopupViewModel): Promise<void>;
35
- export declare const triggerAction: (action: __esri.ActionButton | __esri.ActionToggle, viewModel: __esri.PopupViewModel) => Promise<void>;
1
+ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
2
+
3
+ export type IconName = Icon["icon"];
@@ -1,74 +1,5 @@
1
- /// <reference types="@arcgis/core/interfaces.d.ts" />
2
- import { EventEmitter } from '@arcgis/lumina';
3
- import { nil } from '@arcgis/toolkit/type';
4
- import { ArcgisExpand } from '../components/arcgis-expand/customElement.js';
5
- import { ArcgisLinkChart } from '../components/arcgis-link-chart/customElement.js';
6
- import { ArcgisMap } from '../components/arcgis-map/customElement.js';
7
- import { ArcgisScene } from '../components/arcgis-scene/customElement.js';
8
- export type ArcgisReferenceElement = HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement;
9
- export type ArcgisParentElement = HTMLArcgisExpandElement | ArcgisReferenceElement;
10
- interface BaseComponentElement {
11
- referenceElement?: ArcgisReferenceElement | string;
12
- view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nil;
13
- }
14
- export interface WidgetElement extends BaseComponentElement {
15
- el: HTMLElement & {
16
- childElem?: HTMLElement;
17
- };
18
- widget: any;
19
- _watchHandles: __esri.WatchHandle[];
20
- }
21
- /**
22
- * A type that represents either wrapped widget or a native map component. Used
23
- * in places where both need to be accepted.
24
- */
25
- export type WidgetOrMapComponent = Pick<WidgetElement, "referenceElement" | "view"> & {
26
- el: HTMLElement & {
27
- view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | __esri.VideoView | nil;
28
- parent?: ArcgisParentElement;
29
- childElem?: HTMLElement & {
30
- ownedBy?: HTMLElement;
31
- };
32
- };
33
- icon?: nil | string;
34
- widget?: WidgetElement["widget"];
35
- };
36
- /** @deprecated Use this.manager.onLifecycle() instead */
37
- export declare function addHandles(element: WidgetElement, handle: __esri.WatchHandle | __esri.WatchHandle[]): void;
38
- /**
39
- * Find applicable arcgis-map, arcgis-scene, arcgis-expand
40
- * for the current component and attach to it
41
- *
42
- * @remarks
43
- * If the view property was set by the user directly (for backwards
44
- * comparability with MapView/SceneView), attachToParent() will return undefined
45
- * as attachToParent() is looking for component parents only.
46
- * If the view property was provided, the developer takes over the
47
- * responsibility of calling view.ui.add()
48
- */
49
- export declare function attachToParent(component: WidgetOrMapComponent): ArcgisParentElement | undefined;
50
- /**
51
- * Defines a view prop on the component's el and emits arcgisReady once that
52
- * prop is set by attachToParent()
53
- *
54
- * @deprecated Use useWidget or useViewModel instead
55
- */
56
- export declare function defineViewProperty(component: WidgetOrMapComponent & {
57
- arcgisReady: EventEmitter;
58
- }): void;
59
- export declare function isNullOrEmptyString(value: nullish | string): boolean;
60
- export declare function isValidInteger(value: nullish | number): boolean;
61
- export declare function areCamerasEqual(camera: __esri.Camera, camera2: __esri.Camera | nil): boolean;
62
- export declare function isNotSameViewpoint(viewpoint?: __esri.Viewpoint, viewpoint2?: __esri.Viewpoint): boolean;
63
- export declare function parseCenter(newValue: __esri.MapView["center"] | nil | number[] | string, view?: Pick<__esri.MapView, "center">): __esri.Point | undefined;
64
- export declare function parsePoint(currentValue: __esri.Point | nil, newValue: __esri.Point | nil | number[] | string): __esri.Point | undefined;
65
- /** @deprecated Use useWidget or useViewModel instead */
66
- export declare function referenceElementHelper(component: WidgetOrMapComponent, refElement: ArcgisReferenceElement | nil | string): Promise<void>;
67
- export declare const getRenderContainer: (component: Pick<WidgetOrMapComponent, "el">) => HTMLElement | undefined;
68
- /**
69
- * Focuses the specified element while waiting for it to be rendered.
70
- * Copied from https://devtopia.esri.com/WebGIS/arcgis-js-api/blob/main/esri/widgets/support/widgetUtils.ts#L339-L358
71
- * Minus the `abortOptions`
72
- */
73
- export declare function setFocus(elementOrGetElement: Element | nil | (() => Element | nil)): Promise<void>;
74
- export {};
1
+ import type { ArcgisLinkChart } from "../components/arcgis-link-chart/customElement.js";
2
+ import type { ArcgisMap } from "../components/arcgis-map/customElement.js";
3
+ import type { ArcgisScene } from "../components/arcgis-scene/customElement.js";
4
+
5
+ export type ArcgisReferenceElement = ArcgisLinkChart | ArcgisMap | ArcgisScene;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "5.0.0-next.136",
3
+ "version": "5.0.0-next.137",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -43,11 +43,12 @@
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
45
  "@amcharts/amcharts5": "~5.15.1",
46
- "@arcgis/common-components": "5.0.0-next.136",
47
- "@arcgis/lumina": "5.0.0-next.136",
48
- "@arcgis/toolkit": "5.0.0-next.136",
49
46
  "lit": "^3.3.0",
50
- "tslib": "^2.8.1"
47
+ "lodash-es": "^4.17.21",
48
+ "tslib": "^2.8.1",
49
+ "@arcgis/common-components": "5.0.0-next.137",
50
+ "@arcgis/lumina": "5.0.0-next.137",
51
+ "@arcgis/toolkit": "5.0.0-next.137"
51
52
  },
52
53
  "peerDependencies": {
53
54
  "@arcgis/core": ">=5.0.0-next.62 <5.1",
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import a from"./AIRZZREU.js";import"./DMFL4J3D.js";import"./OASBMBLA.js";import"./MQDT6RS7.js";import"./QO27RXSA.js";import"./X4AVPKI4.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import a from"./CMGBVLC6.js";import{M as s,N as l,O as i,T as g,a as o,b as r}from"./QO27RXSA.js";import"./X4AVPKI4.js";export default $arcgis.t(([{watch:u},{renderingSanitizer:p},{g:f,r:n}])=>{var v=o`.arcgis-feature-content__loader-container{display:flex;align-items:center;justify-content:center;padding:0;height:150px}.arcgis-feature-content{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-feature-content h1,.arcgis-feature-content h2,.arcgis-feature-content h3,.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{margin:var(--calcite-spacing-sm) 0;line-height:var(--calcite-font-line-height-relative-tight);letter-spacing:0;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-semibold)}.arcgis-feature-content h1{font-size:var(--calcite-font-size-xxl)}.arcgis-feature-content h2{font-size:var(--calcite-font-size-xl)}.arcgis-feature-content h3{font-size:var(--calcite-font-size-lg)}.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{font-size:var(--calcite-font-size)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-xs)}.arcgis-feature-content p{margin:0 0 var(--calcite-spacing-xs);font-size:var(--calcite-font-size)}.arcgis-feature-content p:last-child{margin-block-end:0}.arcgis-feature-content img{max-width:100%;max-height:100%;image-orientation:from-image}.arcgis-feature-content video{max-width:100%;max-height:100%}.arcgis-feature-content figure{margin:0;padding:0}.arcgis-feature-content figcaption{display:block;margin:var(--calcite-spacing-xs) 0 0;padding:0;font-size:var(--calcite-font-size-sm);font-style:italic}.arcgis-feature-content ul,.arcgis-feature-content ol{margin-block:var(--calcite-spacing-sm)}.arcgis-feature-content ul:first-child,.arcgis-feature-content ol:first-child{margin-block-start:0}.arcgis-feature-content a,.arcgis-feature-content a:hover,.arcgis-feature-content a:focus{color:var(--calcite-color-text-link)}`,h="arcgis-feature-content",d={base:h,loaderContainer:`${h}__loader-container`},c=class extends l{static{this.properties={_loadingPromise:16,_created:16,creator:1,destroyer:0,graphic:0}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>u(()=>this.creator,t=>{this._destroyContent(),this._createContent(t)},{initial:!0}))}async _createContent(t){let{graphic:e}=this;if(!e||!t)return;let a=n({type:"content",value:t,event:{graphic:e}});this._loadingPromise=a;let m=await a;a===this._loadingPromise&&(this._loadingPromise=void 0,this._created=m)}_destroyContent(){let{_created:t,graphic:e,destroyer:a}=this;t&&e&&(n({type:"content",value:a,event:{graphic:e}}),this._created=null)}_addTargetToAnchors(t){t&&Array.from(t.querySelectorAll("a")).forEach(e=>{f(e.href)&&!e.hasAttribute("target")&&e.setAttribute("target","_blank")})}render(){return r`<div class=${i(d.base)}>${this._loadingPromise?this._renderLoading():this._renderCreated()}</div>`}_renderLoading(){return r`<div class=${i(d.loaderContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderCreated(){let{_created:t}=this;return t instanceof HTMLElement?t:typeof t=="string"?r`<div .innerHTML=${p.sanitize(t)??""} ${s(this._addTargetToAnchors)}></div>`:null}};g("arcgis-feature-content",c);return c},"core/reactiveUtils","applications/Components/sanitizerUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import{p as u}from"./QO27RXSA.js";export default $arcgis.t(([{replace:a}])=>{function l(e){return e!=null&&typeof e=="object"&&"type"in e&&e.type==="feature"}function y(e){return l(e)&&e?.type==="feature"&&e.source?.type==="feature-layer"}function s(e){return l(e)&&y(e)}var c=/^\s*expression\//iu,h=/href=(""|'')/giu,N=/(\{([^{\r\n]+)\})/gu,I=/href\s*=\s*(?:"([^"]+)"|'([^']+)')/giu,C=/'/gu,w="relationships/",L=/^(?:mailto:|tel:)/u;function O(e,n){let r=new Map;if(!e)return r;for(let t of e){if(!t.fieldName)continue;let o=d(t.fieldName,n);t.fieldName=o,r.set(o.toLowerCase(),t)}return r}function P(e){let n=[];if(!e)return n;let{fieldInfos:r,content:t}=e;return r&&n.push(...r),!t||!Array.isArray(t)||t.forEach(o=>{if(o.type==="fields"){let i=o?.fieldInfos;i&&n.push(...i)}}),n}function R(e,n){return e?.getEffectivePopupTemplate(n)??void 0}function U(e){if(e!=null)return"sourceLayer"in e&&e.sourceLayer?e.sourceLayer:e.layer??void 0}function A(e=""){return e?e.includes(w):!1}function W(e=""){if(e)return!L.test(e.trim().toLowerCase())}function d(e,n){let r=g(n,e);return r?r.name:e}function B(e,n){return e?.map(r=>d(r,n))}function p(e){return e?c.test(e):!1}function F(e,n){if(!n||!p(n)||!e)return;let r=n.replace(c,"").toLowerCase();return e.find(({name:t})=>t.toLowerCase()===r)}function D(e,n){if(!(!e?.length||!n))return e.find(r=>r.fieldName?.toLowerCase()===n.toLowerCase())}function v({fieldInfo:e,graphic:n}){return!!e?.fieldName&&!p(e.fieldName)&&!A(e.fieldName)&&!n?.isAggregate&&!n?.popupTemplate}function H({expressionInfos:e,fieldInfo:n,graphic:r,isContentFieldInfos:t,layer:o}){if(!n?.fieldName)return null;let i=F(e,n?.fieldName);if(i)return i.title||null;if(s(o)&&v({fieldInfo:n,graphic:r})){let f=o.getFieldAlias(n.fieldName);return t?n.label||f||n.fieldName:f||n.fieldName}return n.label||n.fieldName}function S({fieldInfo:e,isContentFieldInfos:n,layer:r}){if(!e?.fieldName)return null;if(s(r)){let t=r?.getFieldConfiguration?.(e.fieldName)?.fieldFormat;return n&&e.fieldFormat||t}return null}function m(e){return e.trim()}function b(e){return e.replaceAll(h,"")}function x(e,n){return`{${n.get(e.toLowerCase())?.fieldName||e}}`}function M({formattedValues:e,template:n,fieldInfoMap:r}){return m(b(a(a(n,t=>x(t,r)),e)))}function g(e,n){return!(e&&"getField"in e&&typeof e.getField=="function")||!n?null:e.getField(n)??null}function E(e,n){return e.replaceAll(N,(r,t,o)=>{let i=g(n,o);return i?`{${i.name}}`:t})}function V(e,n,r=!1){let t=n[e];if(typeof t=="string"){let o=(r?encodeURIComponent(t):t).replaceAll(C,"%27");n[e]=o}}function $(e,n=!1){let r={...e};return Object.keys(r).forEach(t=>V(t,r,n)),r}function j(e,n,r){n=m(n);let t=n&&!n.startsWith("{");return a(e,$(r,t||!1))}function T(e,n,r){let t=E(e,r);return t&&t.replaceAll(I,(o,i,f)=>j(o,i||f,n))}function _({values:e,globalValues:n,layer:r,text:t,fieldInfoMap:o}){return t?M({formattedValues:n,template:T(t,{...n,...e},r),fieldInfoMap:o}):""}async function z({type:e,value:n,event:r}){try{return typeof n=="function"?n(r):await n}catch(t){u("error","arcgis-feature",`An error occurred when calling the "${e}" function`,{detail:{error:t,graphic:r.graphic,value:n}});return}}return{a:s,b:O,c:P,d:R,e:U,f:A,g:W,h:d,i:B,j:p,k:D,l:v,m:H,n:S,o:M,p:E,q:_,r:z}},"applications/Components/stringUtils")
@@ -1,5 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import a from"./CMGBVLC6.js";import{a as W}from"./DMFL4J3D.js";import{d as G,e as K}from"./HVW7Q3HP.js";import"./6R5AM357.js";import{e as O}from"./MQDT6RS7.js";import{M as H,N as j,O as y,Q as b,T as D,a as B,b as C}from"./QO27RXSA.js";import"./X4AVPKI4.js";export default $arcgis.t(([{getColorsFromRenderer:se},{substitute:oe},{watch:le},de,ee,{renderingSanitizer:te},{f:$,g:q,h:F,i:J,j:Q,k:Z,m:z,o:N,p:P,q:L}])=>{var ce=B`.arcgis-feature-media__container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.arcgis-feature-media__container .arcgis-feature-media__pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.arcgis-feature-media__container .arcgis-feature-media__pagination-button:hover,.arcgis-feature-media__container .arcgis-feature-media__pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.arcgis-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-snug)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-snug)}.arcgis-feature-media__item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.arcgis-feature-media__item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.arcgis-feature-media__item-text{margin-inline-end:var(--calcite-spacing-xs)}.arcgis-feature-media__pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.arcgis-feature-media__pagination:only-child{margin-inline-start:auto}.arcgis-feature-media__pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-feature-media__item-container{flex:0 1 auto;width:100%}.arcgis-feature-media__item-container img{max-width:100%}.arcgis-feature-media__item-container img[src$=".SVG"],.arcgis-feature-media__item-container img[src$=".svg"]{width:100%}.arcgis-feature-media__chart{width:100%;height:155px}`;function X(V){if(!$(V))return null;let[e,t]=V.split("/").slice(1);return{layerId:e,fieldName:t}}var M="arcgis-feature-media",v={base:M,mediaContainer:`${M}__container`,mediaItemContainer:`${M}__item-container`,mediaItem:`${M}__item`,mediaItemText:`${M}__item-text`,mediaItemTitle:`${M}__item-title`,mediaItemCaption:`${M}__item-caption`,mediaNavigation:`${M}__item-navigation`,mediaPagination:`${M}__pagination`,mediaPaginationText:`${M}__pagination-text`,mediaChart:`${M}__chart`,mediaPaginationButton:`${M}__pagination-button`,mediaPaginationIcon:`${M}__pagination-icon`,mediaChartRendered:`${M}__chart--rendered`},Y=15,w="category",T="value",me="rgba(50, 50, 50, 1)",he=250,ue=500,fe=200,E=class extends j{constructor(){super(...arguments),this._direction=K(),this._prefersReducedMotion=G("(prefers-reduced-motion)"),this.activeMediaInfoIndex=0,this.chartAnimationDisabled=!1,this.headingLevel=2}static{this.properties={_refreshIntervalInfo:16,messages:0,values:0,activeMediaInfoIndex:9,chartAnimationDisabled:5,activeMediaInfo:32,formattedMediaInfos:32,description:1,fieldInfoMap:0,layer:0,mediaInfos:0,popupTemplate:0,relatedInfos:0,formattedValues:0,heading:1,graphic:0,formattedMediaInfoCount:32,headingLevel:9}}static{this.styles=ce}get activeMediaInfo(){return this.formattedMediaInfos[this.activeMediaInfoIndex]||null}get formattedMediaInfos(){return this._formatMediaInfos()||[]}get formattedMediaInfoCount(){return this.formattedMediaInfos.length}next(){this._pageContentElementMedia(1)}previous(){this._pageContentElementMedia(-1)}setActiveMedia(e){this._setContentElementMedia(e)}loaded(){this.manager.onLifecycle(()=>[le(()=>[this.activeMediaInfo,this.activeMediaInfoIndex],()=>this._setupMediaRefreshTimer(),{initial:!0}),{remove:()=>this._clearMediaRefreshTimer()}])}_setContentElementMedia(e){let{formattedMediaInfoCount:t}=this,a=(e+t)%t;this.activeMediaInfoIndex=a}_pageContentElementMedia(e){let{activeMediaInfoIndex:t}=this,a=t+e;this._setContentElementMedia(a)}_formatMediaInfos(){let{mediaInfos:e,layer:t}=this,a=this.values??{},i=this.formattedValues??{},r=this.fieldInfoMap??new Map;return e?.map(s=>{let n=s?.clone();if(!n)return null;if(n.title=L({values:a,fieldInfoMap:r,globalValues:i,layer:t,text:n.title}),n.caption=L({values:a,fieldInfoMap:r,globalValues:i,layer:t,text:n.caption}),n.altText=L({values:a,fieldInfoMap:r,globalValues:i,layer:t,text:n.altText}),n.type==="image"){if(!n.value)return null;let o=n.value;return this._setImageValue({value:o,formattedValues:i,layer:t}),o.sourceURL?n:void 0}if(n.type==="pie-chart"||n.type==="line-chart"||n.type==="column-chart"||n.type==="bar-chart"){if(!n.value)return null;let o=n.value;return this._setChartValue({value:o,chartType:n.type,values:a,formattedValues:i,layer:t}),n}return null}).filter(s=>s!=null)??[]}_setImageValue(e){let t=this.fieldInfoMap??new Map,{value:a,formattedValues:i,layer:r}=e,{linkURL:s,sourceURL:n}=a;if(n){let o=P(n,r);a.sourceURL=N({formattedValues:i,template:o,fieldInfoMap:t})}if(s){let o=P(s,r);a.linkURL=N({formattedValues:i,template:o,fieldInfoMap:t})}}_setChartValue(e){let{value:t,values:a,formattedValues:i,chartType:r,layer:s}=e,{popupTemplate:n,relatedInfos:o}=this,{fields:d,normalizeField:g}=t,m=s;if(t.fields=J(d,m),g&&(t.normalizeField=F(g,m)),!d.some(c=>!!(i[c]!=null||$(c)&&o?.size)))return;let l=n?.fieldInfos??[];t.series=[],d.forEach((c,u)=>{let h=t.colors?.[u];if($(c)){t.series=[...t.series,...this._getRelatedChartInfos({fieldInfos:l,fieldName:c,formattedValues:i,chartType:r,value:t,color:h})];return}let f=this._getChartOption({value:t,values:a,chartType:r,formattedValues:i,fieldName:c,fieldInfos:l,color:h});t.series.push(f)})}_getRelatedChartInfos(e){let{fieldInfos:t,fieldName:a,formattedValues:i,chartType:r,value:s,color:n}=e,o=[],d=X(a),g=d&&this.relatedInfos?.get(d.layerId);if(!g)return o;let{relatedFeatures:m,relation:l}=g;if(!l||!m)return o;let{cardinality:c}=l;return m.forEach(u=>{let h=u.attributes;h&&Object.keys(h).forEach(f=>{f===d.fieldName&&o.push(this._getChartOption({value:s,values:h,formattedValues:i,fieldName:a,chartType:r,relatedFieldName:f,hasMultipleRelatedFeatures:m?.length>1,fieldInfos:t,color:n}))})}),c&&(c==="one-to-many"||c==="many-to-many")?o:[o[0]]}_getTooltip({label:e,value:t,chartType:a}){return a==="pie-chart"?`${e}`:`${e}: ${t}`}_getChartOption(e){let{value:t,values:a,formattedValues:i,fieldName:r,relatedFieldName:s,fieldInfos:n,chartType:o,hasMultipleRelatedFeatures:d,color:g}=e,{layer:m,graphic:l}=this,c=this.fieldInfoMap??new Map,{normalizeField:u,tooltipField:h}=t,f=u?$(u)?a[X(u).fieldName]:a[u]:null,_=Q(r)&&i?.[r]!==void 0?i[r]:s&&a[s]!==void 0?a[s]:a[r]!==void 0?a[r]:i[r],I=_===void 0?null:_&&f&&typeof _=="number"&&typeof f=="number"?_/f:_,x=Z(n,r),p=F(r,m),A=(h&&i[h]!==void 0?i[h]:z({fieldInfo:x||new de({fieldName:p}),expressionInfos:this.popupTemplate?.expressionInfos,graphic:l,layer:m}))??"",R=i[p]??"",U=I!=null?typeof I=="number"?I:Number(I):null;if($(r)){let S=c.get(r.toLowerCase()),ae=h?c.get(h.toLowerCase()):null,ie=S?.fieldName??r,k=d&&h?X(h).fieldName:ae?.fieldName??h,re=(d&&k?a[k]:i[k]??(S&&z({fieldInfo:S,layer:m,graphic:l}))??S?.fieldName??s)??"",ne=(d&&s?a[s]:i[ie])??"";return new ee({fieldName:r,tooltip:this._getTooltip({label:re,value:ne,chartType:o}),color:g,value:U})}return new ee({fieldName:r,tooltip:this._getTooltip({label:A,value:R,chartType:o}),color:g,value:U})}_getRenderer(){let e=this.layer;return this.graphic?.isAggregate&&e?.featureReduction&&"renderer"in e.featureReduction?e.featureReduction.renderer:e?.renderer}async _getSeriesColors(e){let{color:t}=await import("./SOPW7YHO.js"),a=new Map;return e.forEach(i=>{i.color&&a.set(i,t(i.color.toCss(!0)))}),a}async _getRendererColors(){let{color:e}=await import("./SOPW7YHO.js"),t=new Map,a=this._getRenderer(),i="default";if(!a)return t;let r=await se(a);return r.delete(i),Array.from(r.values()).every(s=>s?.length===1)&&Array.from(r.keys()).forEach(s=>{let n=r.get(s)?.[0]?.toCss(!0);n&&t.set(s,e(n))}),t}async _createChart(e){let{activeMediaInfo:t}=this;if(!e||!t)return;let{createRoot:a}=await import("./VVY5D762.js").then(m=>m.default.then(e=>({createRoot:e}))),i=await a(e);this._chartRoot=i,this._renderChart({mediaInfo:t,root:i})}_handleMediaKeyup(e){let{key:t}=e;t==="ArrowLeft"&&(e.stopPropagation(),this.previous()),t==="ArrowRight"&&(e.stopPropagation(),this.next())}_canAnimateChart(){return!this.chartAnimationDisabled&&!this._prefersReducedMotion}_getChartAnimationMS(){return this._canAnimateChart()?he:0}_getChartSeriesAnimationMS(){return this._canAnimateChart()?ue:0}async _customizeChartTooltip(e,t="horizontal"){let{color:a}=await import("./SOPW7YHO.js");e.setAll({pointerOrientation:t}),e.get("background")?.setAll({stroke:a(me)}),e.label.setAll({direction:this._direction,oversizedBehavior:"wrap",maxWidth:fe})}async _createPieChart(e,t){let[{Tooltip:a},{PieChart:i,PieSeries:r}]=await Promise.all([import("./SOPW7YHO.js"),import("./FDQAZVWL.js")]),{mediaInfo:s,root:n}=e,{title:o}=s,d=5,g=s?.altText||s?.title||"",m=n.container.children.push(i.new(n,{role:"figure",ariaLabel:g,focusable:!0,paddingBottom:d,paddingTop:d,paddingLeft:d,paddingRight:d})),l=`{category}: {valuePercentTotal.formatNumber('0.00')}%
5
- ({value})`,c=a.new(n,{labelText:l}),u=m.series.push(r.new(n,{name:o,valueField:T,categoryField:w,tooltip:c}));u.ticks.template.set("forceHidden",!0),u.labels.template.set("forceHidden",!0),u.slices.template.states.create("active",{shiftRadius:d}),this._customizeChartTooltip(c),u.slices.template.setAll({ariaLabel:l,focusable:!0,templateField:"columnSettings"}),u.data.setAll(t),u.appear(this._getChartSeriesAnimationMS()),m.appear(this._getChartAnimationMS()),m.root.dom.classList.toggle(v.mediaChartRendered,!0)}_getMinSeriesValue(e){let t=0;return e.forEach(a=>t=Math.min(a.value,t)),t}async _createColumnChart(e,t,a){let[{Tooltip:i,Scrollbar:r},{CategoryAxis:s,AxisRendererX:n,AxisRendererY:o,ValueAxis:d,ColumnSeries:g}]=await Promise.all([import("./SOPW7YHO.js"),import("./R7LFYC6M.js")]),{mediaInfo:m,root:l}=t,{value:c,title:u}=m,{_direction:h}=this;e.setAll({wheelX:"panX",wheelY:"zoomX"});let f=e.xAxes.push(s.new(l,{renderer:n.new(l,{inversed:h==="rtl"}),categoryField:w}));f.get("renderer").labels.template.setAll({forceHidden:!0});let _=e.yAxes.push(d.new(l,{renderer:o.new(l,{inside:!1}),min:this._getMinSeriesValue(c.series)}));_.get("renderer").labels.template.setAll({direction:h});let I="{categoryX}",x=i.new(l,{labelText:I}),p=e.series.push(g.new(l,{name:u,xAxis:f,yAxis:_,valueYField:T,categoryXField:w,tooltip:x}));this._customizeChartTooltip(x),p.columns.template.setAll({ariaLabel:I,focusable:!0,templateField:"columnSettings"}),c.series.length>Y&&e.set("scrollbarX",r.new(l,{orientation:"horizontal"})),f.data.setAll(a),p.data.setAll(a),p.appear(this._getChartSeriesAnimationMS()),e.appear(this._getChartAnimationMS())}async _createBarChart(e,t,a){let[{Tooltip:i,Scrollbar:r},{CategoryAxis:s,AxisRendererX:n,AxisRendererY:o,ValueAxis:d,ColumnSeries:g}]=await Promise.all([import("./SOPW7YHO.js"),import("./R7LFYC6M.js")]),{mediaInfo:m,root:l}=t,{value:c,title:u}=m,{_direction:h}=this;e.setAll({wheelX:"panY",wheelY:"zoomY"});let f=e.yAxes.push(s.new(l,{renderer:o.new(l,{inversed:!0}),categoryField:w}));f.get("renderer").labels.template.setAll({forceHidden:!0});let _=e.xAxes.push(d.new(l,{renderer:n.new(l,{inside:!1,inversed:h==="rtl"}),min:this._getMinSeriesValue(c.series)}));_.get("renderer").labels.template.setAll({direction:h});let I="{categoryY}",x=i.new(l,{labelText:I}),p=e.series.push(g.new(l,{name:u,xAxis:_,yAxis:f,valueXField:T,categoryYField:w,tooltip:x}));this._customizeChartTooltip(x,"vertical"),p.columns.template.setAll({ariaLabel:I,focusable:!0,templateField:"columnSettings"}),c.series.length>Y&&e.set("scrollbarY",r.new(l,{orientation:"vertical"})),f.data.setAll(a),p.data.setAll(a),p.appear(this._getChartSeriesAnimationMS()),e.appear(this._getChartAnimationMS())}async _createLineChart(e,t,a){let[{Tooltip:i,Scrollbar:r},{CategoryAxis:s,AxisRendererX:n,AxisRendererY:o,ValueAxis:d,LineSeries:g}]=await Promise.all([import("./SOPW7YHO.js"),import("./R7LFYC6M.js")]),{root:m,mediaInfo:l}=t,{value:c,title:u}=l,{_direction:h}=this;e.setAll({wheelX:"panX",wheelY:"zoomX"});let f=e.xAxes.push(s.new(m,{renderer:n.new(m,{inversed:h==="rtl"}),categoryField:w}));f.get("renderer").labels.template.setAll({forceHidden:!0});let _=e.yAxes.push(d.new(m,{renderer:o.new(m,{inside:!1}),min:this._getMinSeriesValue(c.series)}));_.get("renderer").labels.template.setAll({direction:h});let I="{categoryX}",x=a[0]?.lineSettings?.stroke,p=i.new(m,{getFillFromSprite:!x,labelText:I});x&&p.get("background")?.setAll({fill:x});let A=e.series.push(g.new(m,{name:u,xAxis:f,yAxis:_,valueYField:T,categoryXField:w,tooltip:p}));A.strokes.template.setAll({templateField:"lineSettings"}),this._customizeChartTooltip(p,"vertical"),c.series.length>Y&&e.set("scrollbarX",r.new(m,{orientation:"horizontal"})),f.data.setAll(a),A.data.setAll(a),A.appear(this._getChartSeriesAnimationMS()),e.appear(this._getChartAnimationMS())}async _createXYChart(e,t){let{XYChart:a,XYCursor:i}=await import("./R7LFYC6M.js"),{root:r,mediaInfo:s}=e,{type:n}=s,o=s?.altText||s?.title||"",d=r.container.children.push(a.new(r,{role:"figure",ariaLabel:o,focusable:!0,panX:!0,panY:!0}));d.set("cursor",i.new(r,{})),n==="column-chart"&&await this._createColumnChart(d,e,t),n==="bar-chart"&&await this._createBarChart(d,e,t),n==="line-chart"&&await this._createLineChart(d,e,t),d.root.dom.classList.toggle(v.mediaChartRendered,!0)}_clearMediaRefreshTimer(){let{_refreshTimer:e}=this;e&&(clearTimeout(e),this._refreshTimer=void 0)}_updateMediaInfoTimestamp(e){let t=Date.now();this._refreshIntervalInfo={timestamp:t,sourceURL:e&&this._getImageSource(e,t)}}_setupMediaRefreshTimer(){this._clearMediaRefreshTimer();let{activeMediaInfo:e}=this;e?.type==="image"&&e.refreshInterval>0&&this._setRefreshTimeout(e)}_setRefreshTimeout(e){let{refreshInterval:t,value:a}=e,i=t*6e4;this._updateMediaInfoTimestamp(a.sourceURL);let r=window.setInterval(()=>{this._updateMediaInfoTimestamp(a.sourceURL)},i);this._refreshTimer=r}_getImageSource(e,t){let a=e.includes("?")?"&":"?",[i,r=""]=e.split("#");return`${i}${a}timestamp=${t}${r?"#":""}${r}`}_updateChartElement(e){this._chartRoot?.dispose(),this._chartRoot=void 0,e&&this._createChart(e)}render(){return C`<div class=${y(v.base)} @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`}_renderMedia(){let{formattedMediaInfoCount:e,activeMediaInfoIndex:t}=this,a=this._renderMediaText();return e?C`<div class=${y(v.mediaContainer)}>${this._renderMediaInfo()}<div class=${y(v.mediaNavigation)}>${a}${e>1?C`<div class=${y(v.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${y(v.mediaPaginationText)}>${oe(this.messages?.pageText??"",{index:t+1,total:e})}</span>${this._renderMediaPageButton("next")}</div>`:null}</div></div>`:null}_renderMediaText(){let{activeMediaInfo:e}=this;if(!e)return null;let t=e?.title?C`<div class=${y(v.mediaItemTitle)} .innerHTML=${te.sanitize(e.title)??""}></div>`:null,a=e?.caption?C`<div class=${y(v.mediaItemCaption)} .innerHTML=${te.sanitize(e.caption)??""}></div>`:null;return t||a?C`<div class=${y(v.mediaItemText)}>${t}${a}</div>`:null}_renderImageMediaInfo(e){if(!e.value)return null;let{_refreshIntervalInfo:t}=this,{value:a,refreshInterval:i,altText:r,title:s}=e,{sourceURL:n,linkURL:o}=a,d=q(o??void 0)?"_blank":"_self",g=d==="_blank"?"noreferrer":"",m=i?t:null,l=m?m.sourceURL:n,c=C`<img alt=${(r||s)??b} src=${l??void 0??b}>`;return(o?C`<a href=${o??b} rel=${g??b} target=${d} title=${s??b}>${c}</a>`:null)??c}_renderChartMediaInfo(e){let{activeMediaInfoIndex:t,formattedMediaInfoCount:a}=this;return W(`media-${e.type}-${t}-${a}`,C`<div class=${y(v.mediaChart)} ${H(this._updateChartElement)}></div>`)}_renderMediaInfoType(){let{activeMediaInfo:e}=this;return e?e.type==="image"?this._renderImageMediaInfo(e):e.type.includes("chart")?this._renderChartMediaInfo(e):null:null}_renderMediaInfo(){let{activeMediaInfo:e}=this;return e?C`<div class=${y(v.mediaItemContainer)}><div class=${y(v.mediaItem)}>${this._renderMediaInfoType()}</div></div>`:null}_renderMediaPageButton(e){if(this.formattedMediaInfoCount<2)return null;let t=e==="previous",a=t?this.messages?.previous??"":this.messages?.next??"",i=t?"chevron-left":"chevron-right",r=t?this.previous:this.next;return C`<button .ariaLabel=${a} class=${y(v.mediaPaginationButton)} @click=${r} tabindex=0 title=${a??b} type=button><calcite-icon flip-rtl class=${y(v.mediaPaginationIcon)} .icon=${i} scale=s></calcite-icon></button>`}async _renderChart(e){let{root:t,mediaInfo:a}=e,{value:i,type:r}=a,[{default:s},{default:n},{default:o},{esriChartColorSet:d},{ColorSet:g,Theme:m}]=await Promise.all([import("./MLG4LFQZ.js"),import("./IKNNVZZ7.js"),import("./5ZRYOXV4.js"),import("./KH46T72Q.js"),import("./SOPW7YHO.js")]),l=m.new(t);l.rule("ColorSet").set("colors",d),l.rule("ColorSet").set("reuse",!0);let c=[o.new(t),l];O(this.el)==="dark"&&c.push(n.new(t)),this._canAnimateChart()&&c.push(s.new(t)),t.setThemes(c);let u=await this._getRendererColors(),h=await this._getSeriesColors(i.series),f=g.new(t,{}),_=h.get(i.series[0]),I=_?{lineSettings:{stroke:_}}:void 0,x=i.series.map((p,A)=>{let R=h.get(p)||u.get(p.fieldName)||f.getIndex(A);return{[w]:p.tooltip,[T]:p.value,columnSettings:{fill:R,stroke:R},...I}}).filter(p=>r==="pie-chart"?p.value!=null&&p.value>0:!0);r==="pie-chart"?this._createPieChart(e,x):this._createXYChart(e,x)}};D("arcgis-feature-media",E);return E},"renderers/support/utils","intl","core/reactiveUtils","popup/FieldInfo","popup/content/support/ChartMediaInfoValueSeries","applications/Components/sanitizerUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import{M as c,O as i,a as s,b as n}from"./QO27RXSA.js";var e="arcgis-map",a={base:e,containerUI:`${e}-container-ui`,containerElement:`${e}-container-ui__element`,containerElementDefaultSlot:`${e}-container-ui__element-default`,containerElementPopupSlot:`${e}-container-ui__element-popup`,containerTopLeftColumn:`${e}-container-ui__top-left-column`,containerTopRightColumn:`${e}-container-ui__top-right-column`,containerBottomLeftRow:`${e}-container-ui__bottom-left-row`,containerBottomRightRow:`${e}-container-ui__bottom-right-row`,containerElementTopLeft:`${e}-container-ui__element-top-left`,containerElementTopRight:`${e}-container-ui__element-top-right`,containerElementBottomLeft:`${e}-container-ui__element-bottom-left`,containerElementBottomRight:`${e}-container-ui__element-bottom-right`,containerElementTopStart:`${e}-container-ui__element-top-start`,containerElementTopEnd:`${e}-container-ui__element-top-end`,containerElementBottomStart:`${e}-container-ui__element-bottom-start`,containerElementBottomEnd:`${e}-container-ui__element-bottom-end`},t={topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",topStart:"top-start",topEnd:"top-end",bottomStart:"bottom-start",bottomEnd:"bottom-end",popup:"popup"};function h(l){let{direction:r,popupWidgetDisabled:o=!1,handlePopupSlotChange:g,webGLErrorElement:d,popupElement:p}=l;return n`<div class=${i({[a.containerElementPopupSlot]:!0})}>${o?n`<arcgis-popup ${c(p)}></arcgis-popup>`:null}<slot name=${t.popup} @slotchange=${g}></slot></div><div class=${i({[a.containerElementDefaultSlot]:!0})}>${d}<slot></slot></div><div class=${i({[a.containerTopLeftColumn]:!0})}><div class=${i({[a.containerElement]:!0,[a.containerElementTopLeft]:!0})}><slot name=${t.topLeft}></slot></div><div class=${i({[a.containerElement]:!0,[a.containerElementTopStart]:!0})}><slot name=${r==="ltr"?t.topStart:t.topEnd}></slot></div></div><div class=${i({[a.containerTopRightColumn]:!0})}><div class=${i({[a.containerElement]:!0,[a.containerElementTopRight]:!0})}><slot name=${t.topRight}></slot></div><div class=${i({[a.containerElement]:!0,[a.containerElementTopEnd]:!0})}><slot name=${r==="ltr"?t.topEnd:t.topStart}></slot></div></div><div class=${i({[a.containerBottomLeftRow]:!0})}><div class=${i({[a.containerElement]:!0,[a.containerElementBottomLeft]:!0})}><slot name=${t.bottomLeft}></slot></div><div class=${i({[a.containerElement]:!0,[a.containerElementBottomStart]:!0})}><slot name=${r==="ltr"?t.bottomStart:t.bottomEnd}></slot></div></div><div class=${i({[a.containerBottomRightRow]:!0})}><div class=${i({[a.containerElement]:!0,[a.containerElementBottomRight]:!0})}><slot name=${t.bottomRight}></slot></div><div class=${i({[a.containerElement]:!0,[a.containerElementBottomEnd]:!0})}><slot name=${r==="ltr"?t.bottomEnd:t.bottomStart}></slot></div></div>`}var v=s`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-expand-max-height: var(--calcite-spacing-xxxl);--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-sketch-justify-content: flex-start}:host{display:block;position:relative;height:100%;width:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);container:arcgis-map-container/size;contain:layout;--arcgis-internal-attribution-space-top: 0px}::slotted(:is([closed],[closed="true"])){display:none}:dir(rtl) ::slotted(:not(arcgis-swipe)){direction:rtl}::slotted(*){--esri-widget-padding-x: var(--calcite-spacing-lg);--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-attachments,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-coordinate-conversion,arcgis-daylight,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-elevation-profile,arcgis-expand,arcgis-feature-form,arcgis-features,arcgis-feature-table,arcgis-fullscreen,arcgis-grid-controls,arcgis-home,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-link-chart-layout-switcher,arcgis-locate,arcgis-measurement,arcgis-navigation-toggle,arcgis-oriented-imagery-viewer,arcgis-print,arcgis-search,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-time-slider,arcgis-time-zone-label,arcgis-track,arcgis-utility-network-associations,arcgis-utility-network-trace,arcgis-utility-network-validate-topology,arcgis-version-management,arcgis-video-player,arcgis-volume-measurement,arcgis-weather,arcgis-zoom)){box-shadow:var(--arcgis-internal-box-shadow);--arcgis-internal-padding: var(--esri-widget-padding);--arcgis-internal-padding-md: var(--calcite-spacing-md)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-map-container-ui{position:absolute;inset:var(--calcite-spacing-none);padding:var(--calcite-spacing-none);z-index:var(--calcite-z-index);pointer-events:none;background:none}.arcgis-map-container-ui__element{display:flex;flex-direction:column;pointer-events:none;width:max-content;max-width:100%}.arcgis-map-container-ui__element .esri-widget--panel{min-width:var(--arcgis-internal-panel-width)}.arcgis-map-container-ui__element-popup,.arcgis-map-container-ui__element-default{pointer-events:none;max-width:100%;position:absolute;display:block;inset:var(--calcite-spacing-none);width:100%;::slotted(:not(arcgis-swipe,arcgis-presentation)){pointer-events:auto}}.arcgis-map-container-ui__top-left-column{position:absolute;top:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;margin-top:var(--calcite-spacing-lg);margin-left:var(--calcite-spacing-lg);padding-top:var(--arcgis-internal-layout-overlay-space-top);padding-left:var(--arcgis-internal-layout-overlay-space-left);::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap}}.arcgis-map-container-ui__top-left-column:dir(rtl){align-items:flex-end;::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row-reverse}}.arcgis-map-container-ui__top-right-column{position:absolute;top:var(--calcite-spacing-none);right:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;margin-top:var(--calcite-spacing-lg);margin-right:var(--calcite-spacing-lg);padding-top:var(--arcgis-internal-layout-overlay-space-top);padding-right:var(--arcgis-internal-layout-overlay-space-right);::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-expand){--arcgis-internal-sketch-justify-content: flex-end}}.arcgis-map-container-ui__top-right-column:dir(rtl){align-items:flex-start;::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row}}.arcgis-map-container-ui__element-top-left{top:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;justify-content:flex-start;align-items:flex-start;::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-internal-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-left:dir(rtl){align-items:flex-end}.arcgis-map-container-ui__element-top-right{position:relative;justify-content:flex-start;align-items:flex-end;margin-left:auto;::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-internal-expand-icon-number-spacing-right: none}::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row-reverse}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap-reverse}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-right:dir(rtl){align-items:flex-start}.arcgis-map-container-ui__element-top-start{position:relative;justify-content:flex-start;align-items:flex-start;::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-internal-collapse-icon-flip: scaleX(-1)}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-start:dir(rtl){align-items:flex-end;--arcgis-internal-sketch-justify-content: flex-start;::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}}.arcgis-map-container-ui__element-top-end{position:relative;justify-content:flex-start;align-items:flex-end;::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-internal-expand-icon-number-spacing-right: none}::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row-reverse}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap-reverse}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-end:dir(rtl){align-items:flex-start;--arcgis-internal-sketch-justify-content: flex-end}.arcgis-map-container-ui__bottom-left-row{position:absolute;bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:row;align-items:flex-end;max-width:100%;margin-left:var(--calcite-spacing-lg);margin-bottom:calc(var(--arcgis-internal-attribution-space-top) + var(--calcite-spacing-lg));padding-left:var(--arcgis-internal-layout-overlay-space-left);padding-bottom:var(--arcgis-internal-layout-overlay-space-bottom);::slotted(:last-child){margin-right:var(--calcite-spacing-xxl)}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-column-direction: column-reverse;--arcgis-internal-floor-filter-button-border-width: 0 0 1px}::slotted(*){max-width:var(--arcgis-internal-top-max-width)}}.arcgis-map-container-ui__bottom-left-row:dir(rtl){flex-direction:row-reverse;::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row-reverse}}.arcgis-map-container-ui__bottom-right-row{position:absolute;bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);display:flex;flex-direction:row-reverse;align-items:flex-end;max-width:100%;margin-right:var(--calcite-spacing-lg);margin-bottom:calc(var(--arcgis-internal-attribution-space-top) + var(--calcite-spacing-lg));padding-right:var(--arcgis-internal-layout-overlay-space-right);padding-bottom:var(--arcgis-internal-layout-overlay-space-bottom);::slotted(:last-child){margin-left:var(--calcite-spacing-xxl)}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-column-direction: column-reverse;--arcgis-internal-floor-filter-button-border-width: 0 0 1px}::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-expand){--arcgis-internal-sketch-justify-content: flex-end}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}}.arcgis-map-container-ui__bottom-right-row:dir(rtl){flex-direction:row;::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row}}.arcgis-map-container-ui__element-bottom-left{bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;flex-flow:row;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-internal-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-align-items: flex-end}::slotted(*){margin-right:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-right{bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);align-items:flex-end;justify-content:flex-end;margin-left:auto;flex-flow:row-reverse;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-internal-expand-icon-number-spacing-right: none}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-align-items: flex-end;--arcgis-internal-row-direction: row-reverse}::slotted(*){margin-left:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-start{bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;flex-flow:row;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-internal-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-align-items: flex-end}::slotted(*){margin-right:var(--calcite-spacing-sm-plus)}::slotted(:dir(rtl)){margin-right:var(--calcite-spacing-none);--arcgis-internal-sketch-justify-content: flex-start}}.arcgis-map-container-ui__element-bottom-end{bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);align-items:flex-end;justify-content:flex-end;margin-left:auto;flex-flow:row-reverse;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-internal-expand-icon-number-spacing-right: none}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-align-items: flex-end;--arcgis-internal-row-direction: row-reverse}::slotted(*){margin-left:var(--calcite-spacing-sm-plus)}::slotted(:dir(rtl)){margin-left:var(--calcite-spacing-none);--arcgis-internal-sketch-justify-content: flex-end}}.arcgis-map-container-ui__element>*{pointer-events:auto}@container arcgis-map-container (height >= 0){::slotted(arcgis-sketch){--responsive-toolbar-vert-width: var(--calcite-spacing-none);--responsive-toolbar-vert-height: min(100vh - 120px, 100cqh - 120px);--responsive-toolbar-horiz-width: min(100vw - 60px, 100cqw - 60px);--responsive-toolbar-horiz-height: var(--calcite-spacing-none)}}@container arcgis-map-container (max-height: 544px) or (max-width: 544px){::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-button-display: none;--arcgis-internal-floor-filter-menu-width: 225px}}@container arcgis-map-container (max-height: 499.99px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-sm);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-sm)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-sm)}}@container arcgis-map-container (min-height: 500px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-md);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-md)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-md)}::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-menu-max-height: 320px;--arcgis-internal-floor-filter-levels-max-height: 320px}}@container arcgis-map-container (min-height: 768px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-lg);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-menu-max-height: 420px;--arcgis-internal-floor-filter-levels-max-height: 420px}}@container arcgis-map-container (min-height: 992px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-lg);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-lg)}}@container arcgis-map-container (min-height: 1200px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-xl);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-xl)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-xl)}}@container arcgis-map-container (min-width: 544px){::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 768px){::slotted(:is(arcgis-legend[card-style-layout="auto"])){--arcgis-internal-legend-width: auto}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 992px){::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 1200px){::slotted(:is(arcgis-basemap-gallery)){width:var(--arcgis-internal-basemap-gallery-width-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}`;export{a,h as b,v as c};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import{a as f}from"./YTFTM7FZ.js";import a from"./CMGBVLC6.js";import{a as M}from"./DMFL4J3D.js";import{b as E}from"./MQDT6RS7.js";import{L as Q,M as j,N as k,O as h,R,T as B,a as D,b as o}from"./QO27RXSA.js";import"./X4AVPKI4.js";export default $arcgis.t(([{templateHasKey:H,stripHTML:K},{isRelatableFeatureSupportedLayer:U,findRelatedLayer:X},{substitute:Y,formatNumber:T},{watch:F,on:ee},Z,W,{ignoreAbortErrors:N},te,{h:V}])=>{var re=D`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`,ie=_=>{let e=[];if(_.formTemplate){let{description:t,title:r}=_.formTemplate;_.fields?.forEach(i=>{let s=r&&H(r,i.name),a=t&&H(t,i.name);(s||a)&&e.push(i.name)})}return e},O=100,se="arcgis-feature",c=`${se}-relationship`,u={base:c,listContainer:`${c}__list`,listItem:`${c}__list-item`,listItemHidden:`${c}__list-item--hidden`,listContainerQuerying:`${c}__list--querying`,featureObserver:`${c}__feature-observer`,stickySpinnerContainer:`${c}__sticky-loading-container`,loadingSpinnerContainer:`${c}__loading-container`},x=class extends k{constructor(){super(...arguments),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await N(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=f(this._queryController,O),this._queryFeatureCountDebounced=f(this._queryFeatureCountController,O),this._queryPageDebounced=f(this._queryPageController,O),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!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}))))},this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._relatedFeatureIntersectionObserverNode=Q(),this.relatedFeatures=new Z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new Z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,allItemsDescription:32,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=re}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=V(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&U(e.parent)?e.parent:e;return X(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return Y(e?.numberRecords??"",{number:T(r?i:t)})}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced(),{initial:!0}),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ee(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:l,relationshipKey:g,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&g!=null){let{default:$}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:A}=await $({layer:t,sqlWhere:`${n} = '${g}'`,field:t.subtypeField??void 0,signal:r?.signal}),q=A.map(({count:y,value:m})=>{let C=t.subtypes?.find(L=>L.code===m)?.name;return m!=null&&C?{count:y,value:m,name:C}:void 0}).filter(y=>y!=null);this.allCategories=q}return}let{historicMoment:b,gdbVersion:w}=e,I=new W({cacheHint:v,gdbVersion:w,historicMoment:b,relationshipId:l,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),p=await e.queryRelatedFeaturesCount(I,{signal:r?.signal});this.allCategories=void 0,this.featureCount=p[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:l,relatedLayerKeyFields:g,relationshipId:v,showAllEnabled:b,supportsCacheHint:w}=this,{canQuery:I,objectId:p}=this;if(!I||!a||!l||p==null)return[];let $=b?((i-1)*s+r)%r:0,A=b?s:t,q=l.objectIdField,y="subtypeField"in l?l.subtypeField:void 0,m=[...n.map(d=>d.field),...ie(l),...g,q,y].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:z}=a,G=new W({orderByFields:C,start:$,num:A,outFields:m,cacheHint:w,historicMoment:L,gdbVersion:z,relationshipId:v,returnGeometry:!1,objectIds:[p],where:this._getRelationshipWhereClause(l)}),P=(await a.queryRelatedFeatures(G,{signal:e?.signal}))[p]?.features||[];return l.type==="subtype-group"&&y?P.forEach(d=>{let J=d.attributes[y],S=l.findSublayerForSubtypeCode?.(J);d.sourceLayer=S,d.layer=S}):P.forEach(d=>{d.sourceLayer=l,d.layer=l}),P}_selectCategory(e){let{flowItems:t}=this;t&&this._addRelationshipFlowItem({showAllEnabled:!0,activeCategory:e})}_selectRecord(e){let{flowItems:t}=this;t&&this._addFlowItem(R(M(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>`)))}_addRelationshipFlowItem({showAllEnabled:e=!1,activeCategory:t}){this._addFlowItem(R(M(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>`)))}_showAllRecords(){let{flowItems:e}=this;e&&this._addRelationshipFlowItem({showAllEnabled:!0})}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode.value&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode.value)}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode.value&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode.value)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(l=>this._matchesFeature(l,n))||t.add(new te({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(l=>this._matchesFeature(n,l))||t.remove(n)})}render(){let{state:e}=this;return o`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?o`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return o`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return o`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return o`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=T(t);return o`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,{formattedAttributes:i,state:s,title:a}=e,n={...i?.global,...r},l=(t&&n?.[t])??"",g=s==="loading";return o`<calcite-list-item class=${h(E(u.listItem,{[u.listItemHidden]:g}))} .description=${K(l.toString())} .label=${K(a)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return o`<div class=${h(u.featureObserver)} ${j(this._relatedFeatureIntersectionObserverNode)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return o`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return o`<div class=${h(E(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",x);return x},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import{a as E}from"./E4AGE74B.js";import c from"./TWPG2TCN.js";import b from"./CMGBVLC6.js";import a from"./75KIC5KY.js";import"./SEVVMTZA.js";import"./NPMB46JB.js";import{a as w}from"./E6HLYTEE.js";import"./HVW7Q3HP.js";import"./6R5AM357.js";import{h as S}from"./HY7P367U.js";import{b as y}from"./MQDT6RS7.js";import{L as v,M as f,N as T,O as h,P as A,Q as o,T as M,b as r}from"./QO27RXSA.js";import"./X4AVPKI4.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c)
@@ -1,6 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),Mt=new WeakMap,k=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=Mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Mt.set(e,t))}return t}toString(){return this.cssText}},It=s=>new k(typeof s=="string"?s:s+"",void 0,gt),vt=(s,...t)=>{let e=s.length===1?s[0]:t.reduce(((o,r,i)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+s[i+1]),s[0]);return new k(e,s,gt)},kt=(s,t)=>{if(Z)s.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let o=document.createElement("style"),r=Y.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,s.appendChild(o)}},Et=Z?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return It(e)})(s):s;var{is:$e,defineProperty:be,getOwnPropertyDescriptor:_e,getOwnPropertyNames:Ae,getOwnPropertySymbols:Ce,getPrototypeOf:we}=Object,tt=globalThis,jt=tt.trustedTypes,Oe=jt?jt.emptyScript:"",Se=tt.reactiveElementPolyfillSupport,j=(s,t)=>s,X={toAttribute(s,t){switch(t){case Boolean:s=s?Oe:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},H=(s,t)=>!$e(s,t),Ht={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:H};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ht){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,e);r!==void 0&&be(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){let{get:r,set:i}=_e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ht}static _$Ei(){if(this.hasOwnProperty(j("elementProperties")))return;let t=we(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(j("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(j("properties"))){let e=this.properties,o=[...Ae(e),...Ce(e)];for(let r of o)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,r]of e)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let r=this._$Eu(e,o);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)e.unshift(Et(r))}else t!==void 0&&e.push(Et(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return kt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:X).toAttribute(e,o.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=o.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,o){if(t!==void 0){let r=this.constructor,i=this[t];if(o??=r.getPropertyOptions(t),!((o.hasChanged??H)(i,e)||o.useDefault&&o.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:r,wrapped:i},n){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[r,i]of o){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((o=>o.hostUpdate?.())),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[j("elementProperties")]=new Map,_[j("finalized")]=new Map,Se?.({ReactiveElement:_}),(tt.reactiveElementVersions??=[]).push("2.1.0");var bt=globalThis,et=bt.trustedTypes,zt=et?et.createPolicy("lit-html",{createHTML:s=>s}):void 0,_t="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,At="?"+A,Te=`<${At}>`,S=document,V=()=>S.createComment(""),B=s=>s===null||typeof s!="object"&&typeof s!="function",Ct=Array.isArray,Gt=s=>Ct(s)||typeof s?.[Symbol.iterator]=="function",$t=`[
5
- \f\r]`,z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Bt=/>/g,w=RegExp(`>|${$t}(?:([^\\s"'>=/]+)(${$t}*=${$t}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Wt=/'/g,Ft=/"/g,Kt=/^(?:script|style|textarea|title)$/i,wt=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),fs=wt(1),ms=wt(2),ys=wt(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),qt=new WeakMap,O=S.createTreeWalker(S,129);function Qt(s,t){if(!Ct(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}var Jt=(s,t)=>{let e=s.length-1,o=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=z;for(let a=0;a<e;a++){let c=s[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===z?u[1]==="!--"?n=Vt:u[1]!==void 0?n=Bt:u[2]!==void 0?(Kt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??z,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Ft:Wt):n===Ft||n===Wt?n=w:n===Vt||n===Bt?n=z:(n=w,r=void 0);let g=n===w&&s[a+1].startsWith("/>")?" ":"";i+=n===z?c+Te:h>=0?(o.push(l),c.slice(0,h)+_t+c.slice(h)+A+g):c+A+(h===-2?a:g)}return[Qt(s,i+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},W=class s{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Jt(t,e);if(this.el=s.createElement(l,o),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(_t)){let y=u[n++],g=r.getAttribute(h).split(A),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Kt.test(r.tagName)){let h=r.textContent.split(A),y=h.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],V()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],V())}}}else if(r.nodeType===8)if(r.data===At)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:i}),h+=A.length-1}i++}}static createElement(t,e){let o=S.createElement("template");return o.innerHTML=t,o}};function T(s,t,e=s,o){if(t===f)return t;let r=o!==void 0?e._$Co?.[o]:e._$Cl,i=B(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(s),r._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=r:e._$Cl=r),r!==void 0&&(t=T(s,r._$AS(s,t.values),r,o)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??S).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=o[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new U(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new nt(i,this,t)),this._$AV.push(l),c=o[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=S,r}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},U=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),B(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=W.createElement(Qt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=qt.get(t.strings);return e===void 0&&qt.set(t.strings,e=new W(t)),e}k(t){Ct(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,r=0;for(let i of t)r===e.length?e.push(o=new s(this.O(V()),this.O(V()),this,this.options)):o=e[r],o._$AI(i),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,r){let i=this.strings,n=!1;if(i===void 0)t=T(this,t,e,0),n=!B(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=T(this,a[o+c],e,c),l===f&&(l=this._$AH[c]),n||=!B(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=T(this,t,e,0)??d)===f)return;let o=this._$AH,r=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==d&&(o===d||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}},Yt={M:_t,P:A,A:At,C:1,L:Jt,R:st,D:Gt,V:T,I:U,H:P,N:rt,U:it,B:ot,F:nt},Pe=bt.litHtmlPolyfillSupport;Pe?.(W,U),(bt.litHtmlVersions??=[]).push("3.3.0");var at=(s,t,e)=>{let o=e?.renderBefore??t,r=o._$litPart$;if(r===void 0){let i=e?.renderBefore??null;o._$litPart$=r=new U(t.insertBefore(V(),i),i,void 0,e??{})}return r._$AI(s),r};var Ot=globalThis,$=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,Ot.litElementHydrateSupport?.({LitElement:$});var Ne=Ot.litElementPolyfillSupport;Ne?.({LitElement:$});(Ot.litElementVersions??=[]).push("4.2.0");var Zt=new Set,Xt;var te=s=>typeof s=="string"?s:"el"in s?s.el.localName:"localName"in s?s.localName:s.declaredClass,xe=(s,t,e,o)=>{let r=te(t);if(o?.once){let n=`${s}${r}${e}`;if(Zt.has(n))return;Zt.add(n)}let i;if(o?.detail){i={};for(let[n,a]of Object.entries(o.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(i,n,{get(){return c.deref()}})}else i[n]=a;Xt?.log.interceptors?.forEach(n=>n(s,r,e,i)),console[s](`[${r}]: ${e}`,i)}else Xt?.log.interceptors?.forEach(n=>n(s,r,e)),console[s](`[${r}]: ${e}`)},ee=s=>{let t=`[${te(s)}] `;return e=>{let o=e instanceof Error&&e.message?e:new Error(String(e));o.message=`${t}${o.message}`,setTimeout(()=>{throw e})}},Ps=s=>`The property \`${s.toString()}\` is required but missing.`,Ns=s=>`The property \`${s.toString()}\` is empty but must have at least one element.`,xs=(s,t,e,o)=>xe("warn",s,`\`${t.toString()}\` is deprecated. Use \`${e.toString()}\` instead.`,o);var p=(s,t,...e)=>{try{return s?.call(t,...e)}catch(o){console.error(o,s)}},F=async(s,t,...e)=>{try{return await s?.call(t,...e)}catch(o){console.error(o,s)}};var G=Symbol.for("controller"),De=s=>typeof s=="object"&&s!==null&&(G in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s),Us=s=>typeof s?.then=="function",Rs=s=>s.M.length,q,x=s=>{q!==s&&(q=s,queueMicrotask(()=>q===s?q=void 0:0))},K=s=>q,N=[],se=s=>{if(s===void 0){N=[];return}let t=N.indexOf(s);N=t===-1?[...N,s]:N.slice(0,t+1),queueMicrotask(()=>N=[])},oe=()=>N,R,Ms=s=>{R!==s&&(R=s,queueMicrotask(()=>R===s?R=void 0:0))},Le=()=>{let s=R;return R=void 0,s},re=async(s,t)=>{let e=lt(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(r=>t(r,o))}return e.exports},ie=async s=>{let t=lt(s);return await t.ready,t},lt=s=>{let e=K().manager.X(s);if(e!==void 0)return e;if(De(s))return s;let o=Le();if(o!==void 0)return o},ct=!1,Is=s=>{ct=!0;try{return s()}finally{ct=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ne=(s,t)=>{let e=t>Ue?Re:t/Me,o=0,r=setInterval(()=>{o+=e,o>=t&&(clearInterval(r),s())},e);return r},Ue=4e3,Re=2e3,Me=4;var Ie=(s,t,e)=>{let o=Object.keys(s),r=o.length;M===void 0&&queueMicrotask(I),M??=new Map;let i=M.get(s);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(s,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(o)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):s[c]===e?a(c):a(void 0)}),e},M,I=()=>{M?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),M=void 0},ke=(s,t,e)=>{let o=s.manager;return o.V!==d&&o.V!==e&&o.S(void 0,void 0),o.T.length===0&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=e,o.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},je=(s=[K(),...oe()],t,e)=>{let o=Array.isArray(s)?s:[s],r=o.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};o.forEach(n=>Ie(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of o)if("manager"in n&&n.manager.component===n){ke(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},He=(s="",t={},e=K())=>{let o={emit:r=>{s===""&&I();let i=new CustomEvent(s,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return s===""&&je(void 0,r=>s=r.key,o),o},ze=He.bind(null,""),le;le=G;var St=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#i=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[le]=!0,this.#a=[];let e=this,o=t??K(new.target.name);e.#o=o,e.ready=e.P.promise,e.#n=ce(e),e.component=o,e.#o.addController(e),e.#o.manager===void 0||(se(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#i;#c;#l;#p;#h;#d;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(ee(this.#o))}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ce(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#o),re}get useRef(){return x(this.#o),ie}get useRefSync(){return x(this.#o),lt}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await F(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(F)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#i.forEach(ae,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ae,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function ae(s){p(s,void 0,this)}var he=St,ce=s=>{if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t={get(o,r,i){if(!((r==="exports"||r==="_exports")&&r in o&&o[r]===e)&&(r in o||r in Promise.prototype||typeof r=="symbol"))return typeof o=="function"?o[r]:Reflect.get(o,r,i)}},e=new Proxy(s,t);return e};var ht=s=>s.replace(Ve,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Ve=/[A-Z]+(?![a-z])|[A-Z]/gu;var Gs=s=>`\u200E${s??""}\u200E`,Be="randomUUID"in crypto,Ks=()=>{if(Be)return crypto.randomUUID();let s=crypto.getRandomValues(new Uint16Array(8));s[3]=s[3]&4095|16384,s[4]=s[4]&16383|32768;let t=e=>s[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`};var{I:We}=Yt;var dt=s=>s.strings===void 0,de=()=>document.createComment(""),Ys=(s,t,e)=>{let o=s._$AA.parentNode,r=t===void 0?s._$AB:t._$AA;if(e===void 0){let i=o.insertBefore(de(),r),n=o.insertBefore(de(),r);e=new We(i,n,s,s.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==s;if(a){let c;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(c=s._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;o.insertBefore(c,r),c=l}}}return e},Zs=(s,t,e=s)=>(s._$AI(t,e),s),Fe={},pe=(s,t=Fe)=>s._$AH=t,Xs=s=>s._$AH,to=s=>{s._$AP?.(!1,!0);let t=s._$AA,e=s._$AB.nextSibling;for(;t!==e;){let o=t.nextSibling;t.remove(),t=o}};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=s=>(...t)=>({_$litDirective$:s,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Q=(s,t)=>{let e=s._$AN;if(e===void 0)return!1;for(let o of e)o._$AO?.(t,!1),Q(o,t);return!0},pt=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while(e?.size===0)},ue=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),Ke(t)}};function qe(s){this._$AN!==void 0?(pt(this),this._$AM=s,ue(this)):this._$AM=s}function Ge(s,t=!1,e=0){let o=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(o))for(let i=e;i<o.length;i++)Q(o[i],!1),pt(o[i]);else o!=null&&(Q(o,!1),pt(o));else Q(this,s)}var Ke=s=>{s.type==m.CHILD&&(s._$AP??=Ge,s._$AQ??=qe)},ut=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,o){super._$AT(t,e,o),ue(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),pt(this))}setValue(t){if(dt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var ho=()=>new Pt,Pt=class{},Tt=new WeakMap,Nt=E(class extends ut{render(s){return d}update(s,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=s.options?.host,this.rt(this.ct=s.element)),d}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Tt.get(t);e===void 0&&(e=new WeakMap,Tt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?Tt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Dt=s=>{let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(s),(e.I??e._postLoad).promise}return!1},Lt={};function Ut(){}var Je=(s,t)=>function(o,r){if(!globalThis.customElements)return;let n=(r??o??{}).resourcesUrl;n&&s.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(Ye):void 0,C=g?.map(([L])=>L),D=class extends xt{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=s}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},ft=Object.defineProperty,Ye=s=>{let t=s.split(":");return t.length===1?[t[0],ht(t[0])]:t},Ze=globalThis.HTMLElement??Ut,xt=class extends Ze{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(o=>{Object.hasOwn(t,o)&&(t.#e[o]=t[o],delete t[o])}),e.A?t.#r({a:e.A}):e.B.then(async o=>{await e.K.p,t.#r(await(o.default?.then(r=>typeof r=="function"?{a:r}:r)??o))}).catch(o=>{t.H.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ft(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ft(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,o){this.#t?.attributeChangedCallback(t,e,o),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Dt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,o=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===o),n=`${o}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);ts(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Xe,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Xe([s,t]){this[s]=t}var ts=s=>{let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},ft(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var mt=class extends he{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=yt in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${yt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=ne(t,es)}}S(t,e){let o=this.T;this.V=d,this.T=[],o.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},es=1e3,yt="autoDestroyDisabled";var me=E(class extends v{constructor(s){if(super(s),s.type!==m.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter((t=>s[t])).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((o=>o!==""))));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var ye="important",ss=" !"+ye,ge=E(class extends v{constructor(s){if(super(s),s.type!==m.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce(((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let r=t[o];if(r!=null){this.ft.add(o);let i=typeof r=="string"&&r.endsWith(ss);o.includes("-")||i?e.setProperty(o,i?r.slice(0,-11):r,i?ye:""):e[o]=r}}return f}});var os=E(class extends v{constructor(s){if(super(s),s.type!==m.PROPERTY&&s.type!==m.ATTRIBUTE&&s.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!dt(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===m.PROPERTY){if(t===e[o])return f}else if(s.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===m.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return pe(s),t}});var ve=class s extends ${constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,o=e.N,r=e.K.o,i=s.prototype.shouldUpdate;t.#r=o?.H??new b,t.I=o?.I??new b,t.J=o?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=o??t,t.#s=t.enableUpdating,t.enableUpdating=Ut,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Lt;return this.K?.commonStyles===void 0||o?e:[this.K.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??H,n={attribute:o&1&&typeof t=="string"?ht(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,o){let r=this.K,i=super.getPropertyDescriptor(t,e,o);return o.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(o.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),o.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#r;#i;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#i=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(o=>{this.#r.reject(o),setTimeout(()=>{throw o})})):t&&this.requestUpdate()}#c(t){try{this.#i.clear(),this.constructor.K.r(this.#i,()=>super.update(t))}catch(e){throw this.#i.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#i?.destroy(),this.#i=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,i=t??(o===Lt?this.el:this.el.attachShadow(o));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Dt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(F(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let o=this.J.filter(r=>!r.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#i?this.#c(t):super.update(t)}listen(t,e,o){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,o),()=>this.el.removeEventListener(t,r,o)))}listenOn(t,e,o,r){let i=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(G in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var Ee=s=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},o={...s,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=o,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(s.defaultAssetPath),o};var xr=s=>typeof s=="object"&&s!=null?me(s):s,Dr=s=>typeof s=="object"&&s!=null?ge(s):s;var Rt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Nt(this.#e)):Nt(t)}},Lr=E(Rt);var Ur=d;var Rr=s=>{let t=document.createElement("div");return at(s,t),t.firstElementChild};var ls=vt`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`,J=Ee({defaultAssetPath:"https://jsdev.arcgis.com/5.0.0-next/map-components/",hydratedAttribute:"hydrated",commonStyles:ls}),{customElement:zr,getAssetPath:Vr,setAssetPath:Br}=J;J.t=void 0;J.o=void 0;J.c=void 0;J.r=void 0;export{vt as a,fs as b,ms as c,ys as d,f as e,d as f,at as g,Us as h,Rs as i,x as j,K as k,se as l,oe as m,Ms as n,Is as o,xe as p,ee as q,Ps as r,Ns as s,xs as t,ke as u,je as v,He as w,ze as x,St as y,he as z,Gs as A,Ks as B,Je as C,m as D,E,v as F,Ys as G,Zs as H,pe as I,Xs as J,to as K,ho as L,Nt as M,ve as N,xr as O,Dr as P,Ur as Q,Rr as R,J as S,zr as T,Vr as U};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import e from"./CMGBVLC6.js";import d from"./6LGZH44P.js";import{a as L}from"./E6HLYTEE.js";import c from"./RJHXVS4X.js";import a from"./4U7JYPHT.js";import{g as F}from"./HVW7Q3HP.js";import"./6R5AM357.js";import"./HY7P367U.js";import{b as E}from"./MQDT6RS7.js";import{M as _,N as b,O as l,Q as C,T as x,a as I,b as o,x as M}from"./QO27RXSA.js";import"./X4AVPKI4.js";export default $arcgis.t(([N,{substitute:Z},H,{watch:P},{stripHTML:U},,,T,{b:A,c:V,d:R,e:k,f:D,j:B,q:h}])=>{var z=I`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,g="arcgis-feature",d={base:g,container:`${g}__size-container`,main:`${g}__main-container`,contentElement:`${g}__content-element`,lastEditedInfo:`${g}__last-edited-info`,loadingSpinnerContainer:`${g}__loading-container`},S=T(N),y=class extends b{constructor(){super(...arguments),this.messages=L(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new H,this.viewModel=S(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=F()("flowItems","state"),this.arcgisReady=M()}static{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}}static{this.styles=z}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} class=${l(d.contentElement)} .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>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c,graphic:p}=this,u=!!e?.fieldInfos,m=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:f})=>!!f&&(B(f)||D(f)||f in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .graphic=${p??void 0} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${m} .expressionInfos=${v??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${$} .values=${i} .layer=${s} .graphic=${n??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){return o`<arcgis-feature-content .creator=${e.text} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:u}=e,{formattedAttributes:m,view:v}=this.viewModel,$={...m?.global,...m?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),f=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${f} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .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>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${_(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${u=>{u.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??C}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=Z(s??"",{date:n,user:a});return o`<div class=${l(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};x("arcgis-feature",y);return y},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.136 */
4
- import b from"./CMGBVLC6.js";import a from"./75KIC5KY.js";import{a as T}from"./SEVVMTZA.js";import{N as C,O as k,T as M,a as A,b as m}from"./QO27RXSA.js";import"./X4AVPKI4.js";export default $arcgis.t(([{watch:K,when:Q},X,Y,Z,{compileExpression:ee},{a:x,d:j},{q:J}])=>{var te=typeof global=="object"&&global&&global.Object===Object&&global,ie=typeof self=="object"&&self&&self.Object===Object&&self,U=te||ie||Function("return this")(),b=U.Symbol,q=Object.prototype,ne=q.hasOwnProperty,ae=q.toString,y=b?b.toStringTag:void 0;function re(e){var t=ne.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch{}var a=ae.call(e);return i&&(t?e[y]=n:delete e[y]),a}var se=Object.prototype,oe=se.toString;function le(e){return oe.call(e)}var ce="[object Null]",ue="[object Undefined]",N=b?b.toStringTag:void 0;function fe(e){return e==null?e===void 0?ue:ce:N&&N in Object(e)?re(e):le(e)}function pe(e){return e!=null&&typeof e=="object"}var de="[object Symbol]";function he(e){return typeof e=="symbol"||pe(e)&&fe(e)==de}var me=/\s/;function ve(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function ye(e){return e&&e.slice(0,ve(e)+1).replace(ge,"")}function $(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R=NaN,_e=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,xe=/^0o[0-7]+$/i,be=parseInt;function W(e){if(typeof e=="number")return e;if(he(e))return R;if($(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ye(e);var n=Te.test(e);return n||xe.test(e)?be(e.slice(2),n?2:8):_e.test(e)?R:+e}var I=function(){return U.Date.now()},$e="Expected a function",we=Math.max,ke=Math.min;function je(e,t,n){var i,a,o,l,r,c,f=0,v=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError($e);t=W(t)||0,$(n)&&(v=!!n.leading,p="maxWait"in n,o=p?we(W(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function u(s){var d=i,g=a;return i=a=void 0,f=s,l=e.apply(g,d),l}function z(s){return f=s,r=setTimeout(_,t),v?u(s):l}function B(s){var d=s-c,g=s-f,L=t-d;return p?ke(L,o-g):L}function S(s){var d=s-c,g=s-f;return c===void 0||d>=t||d<0||p&&g>=o}function _(){var s=I();if(S(s))return E(s);r=setTimeout(_,B(s))}function E(s){return r=void 0,h&&i?u(s):(i=a=void 0,l)}function G(){r!==void 0&&clearTimeout(r),f=0,i=c=a=r=void 0}function H(){return r===void 0?l:E(I())}function w(){var s=I(),d=S(s);if(i=arguments,a=this,c=s,d){if(r===void 0)return z(c);if(p)return clearTimeout(r),r=setTimeout(_,t),u(c)}return r===void 0&&(r=setTimeout(_,t)),l}return w.cancel=G,w.flush=H,w}var Ie="Expected a function";function F(e,t,n){var i=!0,a=!0;if(typeof e!="function")throw new TypeError(Ie);return $(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),je(e,t,{leading:i,maxWait:t,trailing:a})}var Oe=A`.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,V=1,D="arcgis-feature",P={base:`${D}-expression`,loadingSpinnerContainer:`${D}__loading-container`},O=class extends C{constructor(){super(...arguments),this._compileThrottled=F(this._startCompile,V),this._evaluateThrottled=F(this._startEvaluate,V),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=Oe}loaded(){this.manager.onLifecycle(()=>[K(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),Q(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,n=t?.dependencies,{view:i}=this;return[t,this.spatialReference,this.map,i,n?.has("view-scale")&&i&&"scale"in i?i.scale:null,n?.has("view-time-extent")?i?.timeExtent?.start:null,n?.has("view-time-extent")?i?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=T(this._evaluateTask),this._compileTask=T(this._compileTask),this._compileTask=j(async t=>{let{expressionInfo:n,graphic:i}=this,a=n?.expression;if(!a||!i)return null;let o=await ee({expression:a,graphic:i});return x(t),o})}_startEvaluate(t){this._evaluateTask=T(this._evaluateTask),this._evaluateTask=j(async n=>{let{graphic:i}=this;if(!t||!i)return null;let{interceptor:a,spatialReference:o,map:l,location:r,view:c}=this,f=await t.evaluate({graphic:i,interceptor:a,location:r,map:l,options:{signal:n},spatialReference:o,view:c});x(n);let v=f&&"castAsJsonAsync"in f&&typeof f.castAsJsonAsync=="function"?f:null;if(!v)return null;let p=await v.castAsJsonAsync(n);x(n);let h=p?.type,u=h==="media"?X.fromJSON(p):h==="text"?Z.fromJSON(p):h==="fields"?Y.fromJSON(p):null;return!u||u.type==="media"&&!u.mediaInfos||u.type==="fields"&&!u.fieldInfos||u.type==="text"&&!u.text?null:u})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return m`<div class=${k(P.base)}>${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:n}=this,i=this._evaluateTask?.value,a=i?.type;if(!a)return null;if(a==="text"){let o=J({values:t,fieldInfoMap:n??new Map,globalValues:t??{},layer:void 0,text:i.text});return m`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(a==="media"){let{title:o,description:l,mediaInfos:r}=i;if(!r?.length)return null;let c={...t,...i.attributes};return m`<arcgis-feature-media .heading=${o??""} .values=${c} .formattedValues=${c} .description=${l??""} .mediaInfos=${r} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(a==="fields"){let{title:o,description:l,fieldInfos:r}=i;return r?.length?m`<arcgis-feature-fields .fieldInfos=${r} .heading=${o??""} .description=${l??""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>`:null}return null}_renderLoading(){return m`<div class=${k(P.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}};M("arcgis-feature-expression",O);return O},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b)