@arcgis/map-components 6.0.0-next.11 → 6.0.0-next.13

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 (366) hide show
  1. package/dist/cdn/{GS2HJTMU.js → 23KPX3MH.js} +1 -1
  2. package/dist/cdn/{GNSNEUMI.js → 27MWPK5A.js} +1 -1
  3. package/dist/cdn/{TKILR2SM.js → 2BTNM5UP.js} +1 -1
  4. package/dist/cdn/{J3IDFYN3.js → 2FVCSYOG.js} +1 -1
  5. package/dist/cdn/{PIDNZKSJ.js → 2FW4S3D6.js} +1 -1
  6. package/dist/cdn/{OUC5HWPQ.js → 2MGDN3IK.js} +1 -1
  7. package/dist/cdn/{QEPANMVK.js → 2NPSM4MA.js} +1 -1
  8. package/dist/cdn/{P35MNXU2.js → 2PBWDTTE.js} +1 -1
  9. package/dist/cdn/2QBJUSQP.js +2 -0
  10. package/dist/cdn/{HGP7GVZU.js → 346SMBOI.js} +1 -1
  11. package/dist/cdn/{FTCHTEUY.js → 35HJ47M5.js} +1 -1
  12. package/dist/cdn/{V4JEBKPJ.js → 36QDW2HC.js} +1 -1
  13. package/dist/cdn/{3X4TCM6A.js → 3BD5NGST.js} +1 -1
  14. package/dist/cdn/{RZGWZ2FJ.js → 3CXDORDV.js} +1 -1
  15. package/dist/cdn/{KVYBIOH5.js → 3EFWGKKP.js} +1 -1
  16. package/dist/cdn/{R6X7LUKH.js → 3EHI6OB6.js} +1 -1
  17. package/dist/cdn/3EVUQHOA.js +2 -0
  18. package/dist/cdn/{THJMCEEO.js → 3RQSDV4R.js} +1 -1
  19. package/dist/cdn/{PZUVKZGQ.js → 3WL3ROZU.js} +1 -1
  20. package/dist/cdn/{PBYHBRG7.js → 46UREYOZ.js} +1 -1
  21. package/dist/cdn/{PPVXOP43.js → 4B5PNSWT.js} +1 -1
  22. package/dist/cdn/{MDWBYUFG.js → 4DXKVW5C.js} +1 -1
  23. package/dist/cdn/{TFADSF2R.js → 4GN57OI7.js} +1 -1
  24. package/dist/cdn/{RNF5KVNY.js → 4K3LPJH6.js} +1 -1
  25. package/dist/cdn/{XPC6K7AE.js → 4LQHP46T.js} +1 -1
  26. package/dist/cdn/4N6WMMD7.js +2 -0
  27. package/dist/cdn/{CKS5ACAB.js → 4QKJHLBI.js} +1 -1
  28. package/dist/cdn/{F5IHFPKA.js → 54BEARYC.js} +1 -1
  29. package/dist/cdn/{ESOCZAMZ.js → 56SNDNF5.js} +1 -1
  30. package/dist/cdn/{PGUZODKZ.js → 5BQ3R2XG.js} +1 -1
  31. package/dist/cdn/{IAWXCNTX.js → 5HB256EO.js} +1 -1
  32. package/dist/cdn/{H4LMELM2.js → 5QNLXFZS.js} +1 -1
  33. package/dist/cdn/{2KBLNC6Y.js → 5QYCZHSX.js} +1 -1
  34. package/dist/cdn/{2CEJU3YF.js → 5W7DVJY2.js} +1 -1
  35. package/dist/cdn/{XKCB2DEP.js → 62XJUNML.js} +1 -1
  36. package/dist/cdn/{ZHSESERJ.js → 65EBYWUQ.js} +1 -1
  37. package/dist/cdn/{HQWUQFN5.js → 66WNBBAT.js} +1 -1
  38. package/dist/cdn/{DPNB5GBY.js → 676ZH5J2.js} +1 -1
  39. package/dist/cdn/{5AMF6NZN.js → 6EPVMX36.js} +1 -1
  40. package/dist/cdn/{RQ2YV64E.js → 6JXOWCBF.js} +1 -1
  41. package/dist/cdn/{GSVPPSX6.js → 6MZISPJL.js} +1 -1
  42. package/dist/cdn/6RE5RWYP.js +2 -0
  43. package/dist/cdn/{F6CXHAHU.js → 6TV3VMAG.js} +1 -1
  44. package/dist/cdn/{QPSAD5DG.js → 6VQ5DE6L.js} +1 -1
  45. package/dist/cdn/{VUAYNF3K.js → 7BOB3ZMM.js} +1 -1
  46. package/dist/cdn/{5RAIBYCT.js → 7DOCFE5E.js} +1 -1
  47. package/dist/cdn/7RG4ZQP7.js +2 -0
  48. package/dist/cdn/{ZSPYPXBY.js → 7SMRFGKB.js} +1 -1
  49. package/dist/cdn/{HKLBQ7JD.js → 7TNTQTCU.js} +1 -1
  50. package/dist/cdn/{HZTF3LOF.js → 7V6M6CJS.js} +1 -1
  51. package/dist/cdn/{RVEUCXT4.js → 7XOQWWQN.js} +1 -1
  52. package/dist/cdn/{KKLTZBSE.js → 7Y54JNOS.js} +1 -1
  53. package/dist/cdn/A2QVOCXI.js +2 -0
  54. package/dist/cdn/{Z7H4V2JZ.js → A53KFOH6.js} +1 -1
  55. package/dist/cdn/{7HS2SX6W.js → A7F4RCIB.js} +1 -1
  56. package/dist/cdn/A7S7QILA.js +2 -0
  57. package/dist/cdn/{QKZ552KI.js → AFRTNJIB.js} +1 -1
  58. package/dist/cdn/{PBHNO4J7.js → AGDIYUEN.js} +1 -1
  59. package/dist/cdn/{4HNRKSQ2.js → ARHQMHUP.js} +1 -1
  60. package/dist/cdn/{52CUDGKY.js → AST7MMYS.js} +1 -1
  61. package/dist/cdn/{CP5JALYQ.js → AX3PTI6R.js} +1 -1
  62. package/dist/cdn/{HPWF3IQV.js → AY4NJZW6.js} +1 -1
  63. package/dist/cdn/{FHBTVQHP.js → B2Z4PQDN.js} +1 -1
  64. package/dist/cdn/{BZQIIXMP.js → BG7QJ36E.js} +1 -1
  65. package/dist/cdn/{EJKAIZAE.js → BJ74QZIS.js} +1 -1
  66. package/dist/cdn/{MMYODAC2.js → BJL3Q6DI.js} +1 -1
  67. package/dist/cdn/{7VJQVX42.js → BSGHAWTH.js} +1 -1
  68. package/dist/cdn/{GUHSWQMF.js → BSQ3RFJY.js} +1 -1
  69. package/dist/cdn/{K23R26AN.js → BY2FYLPZ.js} +1 -1
  70. package/dist/cdn/{RUYAWRPV.js → BZOKZ5VZ.js} +1 -1
  71. package/dist/cdn/{5ITYFVDX.js → C2MDGIL7.js} +1 -1
  72. package/dist/cdn/{BVTEQMDF.js → C2YFCTR2.js} +1 -1
  73. package/dist/cdn/{NFCFPU7K.js → CCQFX7N3.js} +1 -1
  74. package/dist/cdn/CDCI4EQR.js +2 -0
  75. package/dist/cdn/{MGBFC5IV.js → CEIU7TIB.js} +1 -1
  76. package/dist/cdn/{SIFBGT4D.js → CVT3K5PU.js} +1 -1
  77. package/dist/cdn/CZ2ZDZHW.js +2 -0
  78. package/dist/cdn/{MA7GBKLW.js → DI6JXWXD.js} +1 -1
  79. package/dist/cdn/DMRTIQ4E.js +2 -0
  80. package/dist/cdn/{HI7BF3DL.js → DPZH7OOF.js} +1 -1
  81. package/dist/cdn/{67B7TPGQ.js → DUCYPBLA.js} +1 -1
  82. package/dist/cdn/{L7DFXEAX.js → EFRTDOL6.js} +1 -1
  83. package/dist/cdn/{SAOLD6MH.js → EKLDSSHW.js} +1 -1
  84. package/dist/cdn/{6UYEO5Q7.js → ELNEL7EW.js} +1 -1
  85. package/dist/cdn/{HYMCX7JZ.js → ETWDKKNK.js} +1 -1
  86. package/dist/cdn/{YODE6QAO.js → EXKSEAMM.js} +1 -1
  87. package/dist/cdn/{VTCE3YQW.js → F43SQ2B7.js} +1 -1
  88. package/dist/cdn/{65MI3MW2.js → FCZRKF46.js} +1 -1
  89. package/dist/cdn/FD7TZUQL.js +2 -0
  90. package/dist/cdn/FGDPA2SN.js +2 -0
  91. package/dist/cdn/FN4QBRU4.js +2 -0
  92. package/dist/cdn/FV3GLOQD.js +2 -0
  93. package/dist/cdn/{UFRX7JW5.js → G3I7HUEL.js} +1 -1
  94. package/dist/cdn/G3LU7E6H.js +2 -0
  95. package/dist/cdn/{BI2SI2HK.js → GA3GZVVB.js} +1 -1
  96. package/dist/cdn/{GUZYCRYS.js → GAYWGKYI.js} +1 -1
  97. package/dist/cdn/{MNSGXIJP.js → GEAWQQCV.js} +1 -1
  98. package/dist/cdn/{6A2OF3TO.js → GGLNSU56.js} +1 -1
  99. package/dist/cdn/{OP3APZ4U.js → GKOIM6VH.js} +1 -1
  100. package/dist/cdn/{FF7BSRYW.js → GNLOKI53.js} +1 -1
  101. package/dist/cdn/{GJTUYTTG.js → GNMMYT73.js} +1 -1
  102. package/dist/cdn/{JQ4K46KY.js → GNY6NCJ5.js} +1 -1
  103. package/dist/cdn/{PWHXRRFU.js → GSRBHYFT.js} +1 -1
  104. package/dist/cdn/{ZKWI43WZ.js → GX5EDFB2.js} +1 -1
  105. package/dist/cdn/{KRMN6HAV.js → H23LJQF5.js} +1 -1
  106. package/dist/cdn/{HWKMLOOG.js → H6HATUPC.js} +1 -1
  107. package/dist/cdn/HJBIPLFN.js +2 -0
  108. package/dist/cdn/{3GHQZCMV.js → HOLEMKZF.js} +1 -1
  109. package/dist/cdn/{OAMA6SL3.js → HXOECRF5.js} +1 -1
  110. package/dist/cdn/{O5YJPUFM.js → HXX4WJLN.js} +1 -1
  111. package/dist/cdn/{ZBC5RBCD.js → I2VQOWJL.js} +1 -1
  112. package/dist/cdn/{7VDBR3SK.js → IE4EOH76.js} +1 -1
  113. package/dist/cdn/{ENDFTFEF.js → IIPAKIUQ.js} +1 -1
  114. package/dist/cdn/IJFW6VBP.js +2 -0
  115. package/dist/cdn/{RRSU6QD4.js → IPO4MAEM.js} +1 -1
  116. package/dist/cdn/{7FFBCPVE.js → IRNSIIVT.js} +1 -1
  117. package/dist/cdn/IVE3PUDG.js +2 -0
  118. package/dist/cdn/{Z6AVJWLP.js → IW3ZGY6C.js} +1 -1
  119. package/dist/cdn/{J3FRSWZD.js → IXZVTOFE.js} +1 -1
  120. package/dist/cdn/{4O3HLHQQ.js → IZ56THJ6.js} +1 -1
  121. package/dist/cdn/{SG55TVJ5.js → J5F6CDWI.js} +1 -1
  122. package/dist/cdn/{ZF4DFDLT.js → J6EZWDIU.js} +1 -1
  123. package/dist/cdn/{AFP64NRH.js → JA47CZCK.js} +1 -1
  124. package/dist/cdn/JC24VBLE.js +4 -0
  125. package/dist/cdn/{ZIBQTNB6.js → JFST4ADC.js} +1 -1
  126. package/dist/cdn/{FQSHLYKX.js → JGOYKMUR.js} +1 -1
  127. package/dist/cdn/{TDGAGI7B.js → JGXVLBJ4.js} +1 -1
  128. package/dist/cdn/JO4ZIEAZ.js +2 -0
  129. package/dist/cdn/{HEIKRBJK.js → JTCDTZVB.js} +1 -1
  130. package/dist/cdn/JXGHEXXR.js +2 -0
  131. package/dist/cdn/{IQOSVEZ5.js → KCYQBKG5.js} +1 -1
  132. package/dist/cdn/{N3DTZRST.js → KDEU2V3M.js} +1 -1
  133. package/dist/cdn/{NY7RHFLZ.js → KGFTHHY7.js} +1 -1
  134. package/dist/cdn/{3UMLR76Y.js → KGYTRKZZ.js} +1 -1
  135. package/dist/cdn/{IFR4IYSI.js → KMWQECU7.js} +1 -1
  136. package/dist/cdn/{IHUJKT47.js → KPLUZDH3.js} +1 -1
  137. package/dist/cdn/{V3BFPL23.js → KXTXJLXZ.js} +1 -1
  138. package/dist/cdn/L3NSDUAE.js +2 -0
  139. package/dist/cdn/{QT7GRA34.js → LC2OUSEN.js} +1 -1
  140. package/dist/cdn/LHGTHQME.js +2 -0
  141. package/dist/cdn/{SKP3TGF4.js → LQ73MV5Q.js} +1 -1
  142. package/dist/cdn/{YDZZPLVB.js → LZV3R5DQ.js} +1 -1
  143. package/dist/cdn/M4TUMJXX.js +2 -0
  144. package/dist/cdn/{FZAQZSRA.js → M4WTKFSV.js} +1 -1
  145. package/dist/cdn/M6IXZHHI.js +2 -0
  146. package/dist/cdn/{6VO7G2UX.js → MA5DX7XQ.js} +1 -1
  147. package/dist/cdn/MIDTKIJQ.js +2 -0
  148. package/dist/cdn/{NDCZFJEK.js → MKCHMWM6.js} +2 -2
  149. package/dist/cdn/{4EO2342P.js → MNR6U3X7.js} +1 -1
  150. package/dist/cdn/{4WKWYFIH.js → N3Y4HN76.js} +1 -1
  151. package/dist/cdn/{MA2GVVQJ.js → N7T3UPCY.js} +1 -1
  152. package/dist/cdn/{Z2UUXST4.js → NC7HUEPX.js} +1 -1
  153. package/dist/cdn/{4ER6YIYW.js → NDDPYGWE.js} +1 -1
  154. package/dist/cdn/{FPPWXIBA.js → NEB4DWSQ.js} +1 -1
  155. package/dist/cdn/{GHVT7W4O.js → NO3J42C6.js} +1 -1
  156. package/dist/cdn/NWCS3WJE.js +2 -0
  157. package/dist/cdn/{ZAUG5MSY.js → NYUUH4QC.js} +1 -1
  158. package/dist/cdn/{LC37F7HF.js → O7DPFAEB.js} +1 -1
  159. package/dist/cdn/{ZO7TUIUE.js → OCQAHDB4.js} +1 -1
  160. package/dist/cdn/{6N7GPFZ4.js → ODAE2VWZ.js} +1 -1
  161. package/dist/cdn/{5ESNA4SF.js → OELSUUAR.js} +1 -1
  162. package/dist/cdn/{RLXUS2AY.js → OIMNS2UO.js} +1 -1
  163. package/dist/cdn/{CF54A7MK.js → OL5Z5MUQ.js} +1 -1
  164. package/dist/cdn/{MWIDHMQZ.js → OM3REV3X.js} +1 -1
  165. package/dist/cdn/{DK7HXJSX.js → OM4WKIBB.js} +1 -1
  166. package/dist/cdn/{F4S2DPYN.js → OMLLF5HO.js} +1 -1
  167. package/dist/cdn/{ABOTJ6RE.js → OS3TKP63.js} +1 -1
  168. package/dist/cdn/{WBBTZNZU.js → OZVJTOTJ.js} +1 -1
  169. package/dist/cdn/{HIBFGEAJ.js → P44XI2E6.js} +1 -1
  170. package/dist/cdn/{CZVI23H5.js → P5JX7DDZ.js} +1 -1
  171. package/dist/cdn/PAZNGVBY.js +2 -0
  172. package/dist/cdn/{TEOOLQG2.js → PDDUKBD4.js} +1 -1
  173. package/dist/cdn/{U5DIWFPP.js → PGKU7VBX.js} +1 -1
  174. package/dist/cdn/PKZDISAM.js +2 -0
  175. package/dist/cdn/{UTV2A7J4.js → PLESRRUS.js} +1 -1
  176. package/dist/cdn/{24KCDMDH.js → PQWWFQ7U.js} +1 -1
  177. package/dist/cdn/{C5N4AOB6.js → Q3PSPKAB.js} +1 -1
  178. package/dist/cdn/QAZ4W6K3.js +2 -0
  179. package/dist/cdn/{L46JLXJT.js → QPQKZB46.js} +1 -1
  180. package/dist/cdn/{4UDLUCTE.js → QRY7XJZY.js} +1 -1
  181. package/dist/cdn/{TYHCB472.js → QS5F5EQH.js} +1 -1
  182. package/dist/cdn/{CPYVZPJ7.js → QSE2LPK4.js} +1 -1
  183. package/dist/cdn/{PKMTOHZH.js → R3VD6DUV.js} +1 -1
  184. package/dist/cdn/{R5QMO5FY.js → R6GT47MU.js} +1 -1
  185. package/dist/cdn/{53OXTCE6.js → RE2MJTPB.js} +1 -1
  186. package/dist/cdn/ROAZTNPA.js +2 -0
  187. package/dist/cdn/RWJRTP5A.js +2 -0
  188. package/dist/cdn/{H7NR6B6S.js → S2BWAJBS.js} +1 -1
  189. package/dist/cdn/{EV7IIQBP.js → S57MUIYV.js} +1 -1
  190. package/dist/cdn/{Q3B3NI7P.js → S5YFM5GF.js} +1 -1
  191. package/dist/cdn/{O6HYZKBU.js → S6RKUJV7.js} +1 -1
  192. package/dist/cdn/{2UKSCGYU.js → SAU63CP3.js} +1 -1
  193. package/dist/cdn/{E54VGGFM.js → SE2KEFDI.js} +1 -1
  194. package/dist/cdn/{N5KEEUBQ.js → SFOOSGWV.js} +1 -1
  195. package/dist/cdn/{3ONY25MG.js → SHQW4MPY.js} +1 -1
  196. package/dist/cdn/{7DFCYS72.js → SLWEWPBU.js} +1 -1
  197. package/dist/cdn/{R4FDXNHP.js → SRBC75OJ.js} +1 -1
  198. package/dist/cdn/{KBA5OIES.js → ST4WZGEO.js} +1 -1
  199. package/dist/cdn/{ET4UP4EQ.js → SWWJXGPV.js} +1 -1
  200. package/dist/cdn/{4IWYFG2G.js → T6WZE6JL.js} +1 -1
  201. package/dist/cdn/{S6BPBG7D.js → T77D6RZH.js} +1 -1
  202. package/dist/cdn/{K7ELALW4.js → TB7VPZEB.js} +1 -1
  203. package/dist/cdn/{Y6764PBB.js → TBDBSCE2.js} +1 -1
  204. package/dist/cdn/TBXSROYD.js +2 -0
  205. package/dist/cdn/{CWA47RNK.js → THV4F6KS.js} +1 -1
  206. package/dist/cdn/{5YHHJ5ZE.js → TLHMWWF5.js} +1 -1
  207. package/dist/cdn/{XP74F2F6.js → TLHZJS27.js} +1 -1
  208. package/dist/cdn/{SQPX5U3U.js → TMMXXPXD.js} +1 -1
  209. package/dist/cdn/{V62TVP3T.js → TMQVC4YN.js} +1 -1
  210. package/dist/cdn/TQX22IJH.js +2 -0
  211. package/dist/cdn/{26URLKXD.js → TSA5EUGL.js} +1 -1
  212. package/dist/cdn/{7YHGGHJY.js → TYOBYSX6.js} +1 -1
  213. package/dist/cdn/{OAMPGCZF.js → U32OJGQN.js} +1 -1
  214. package/dist/cdn/{TA723HWT.js → U36NPDG6.js} +1 -1
  215. package/dist/cdn/{TSNUOFL7.js → U4PXNSYT.js} +1 -1
  216. package/dist/cdn/{DY2EOHFD.js → U6Q4N7FB.js} +1 -1
  217. package/dist/cdn/{YTLRTUMD.js → UBDJ4NVA.js} +1 -1
  218. package/dist/cdn/{EK7Y6JBZ.js → UTZEXIB7.js} +1 -1
  219. package/dist/cdn/UVCIXKG3.js +2 -0
  220. package/dist/cdn/{QSZL5NEG.js → UWLOCTU3.js} +1 -1
  221. package/dist/cdn/{XSE3E4FM.js → UWS2OVE2.js} +1 -1
  222. package/dist/cdn/{GLQMCCUM.js → VCHKZQXV.js} +1 -1
  223. package/dist/cdn/{62IE7RFR.js → VHNVSIBR.js} +1 -1
  224. package/dist/cdn/{TPVHN6P2.js → VIMBVYTB.js} +1 -1
  225. package/dist/cdn/{2KPCMM7D.js → VN32UXKB.js} +1 -1
  226. package/dist/cdn/{VYOH4T4L.js → VSJFV5PD.js} +1 -1
  227. package/dist/cdn/{P2I63WVL.js → VTXXOZQS.js} +1 -1
  228. package/dist/cdn/VWEJ2XSC.js +2 -0
  229. package/dist/cdn/{OICQWHES.js → VXVPFKIF.js} +1 -1
  230. package/dist/cdn/{MCMACXJV.js → W5BZZFXV.js} +1 -1
  231. package/dist/cdn/{R5YW65AI.js → WAH2GHNI.js} +1 -1
  232. package/dist/cdn/{HA4XWZH4.js → WDPSGA7O.js} +1 -1
  233. package/dist/cdn/{V2YPYCU6.js → WFBXUCAB.js} +1 -1
  234. package/dist/cdn/WMWDQS5N.js +2 -0
  235. package/dist/cdn/{QOIURU47.js → WO3RY5VX.js} +1 -1
  236. package/dist/cdn/{5DY7GHBN.js → WO73SZZ3.js} +1 -1
  237. package/dist/cdn/{PPAFKBPN.js → WROQIXSY.js} +1 -1
  238. package/dist/cdn/{G72ISZDZ.js → WUO5HKHO.js} +1 -1
  239. package/dist/cdn/X237OYQ4.js +2 -0
  240. package/dist/cdn/{FBV5KXOY.js → XCT7CITF.js} +1 -1
  241. package/dist/cdn/{FHHVGI4H.js → XUGZKUJR.js} +1 -1
  242. package/dist/cdn/{AN7R3DP5.js → Y56CR5OU.js} +1 -1
  243. package/dist/cdn/{GNWRCB5F.js → YAATK6MI.js} +1 -1
  244. package/dist/cdn/YKN6WRLD.js +2 -0
  245. package/dist/cdn/{HQDOPV3Q.js → YN6YOSDN.js} +1 -1
  246. package/dist/cdn/{AIMWEMBX.js → YQ55VXSN.js} +1 -1
  247. package/dist/cdn/{2CGIS34C.js → YQAEWR77.js} +1 -1
  248. package/dist/cdn/{WS46QSWM.js → Z47UGRFF.js} +1 -1
  249. package/dist/cdn/{3C6FN5WT.js → Z7KXKYCW.js} +1 -1
  250. package/dist/cdn/{K7XSWKZ2.js → ZF5K3PSA.js} +1 -1
  251. package/dist/cdn/{EMXGW73P.js → ZFRQ6ENW.js} +1 -1
  252. package/dist/cdn/{4KQA2GRX.js → ZJDOJSTW.js} +1 -1
  253. package/dist/cdn/{LBSIU6XT.js → ZO5AYJN5.js} +1 -1
  254. package/dist/cdn/{67PT3A4A.js → ZOFR64ET.js} +1 -1
  255. package/dist/cdn/{FSBLGH6E.js → ZRAQIX6Y.js} +1 -1
  256. package/dist/cdn/{DUMHDAYP.js → ZRDAJM5H.js} +1 -1
  257. package/dist/cdn/{HDHWPKJ4.js → ZREUT3Y4.js} +1 -1
  258. package/dist/cdn/{MICLX7QW.js → ZUFXPTE5.js} +1 -1
  259. package/dist/cdn/{QLXQ4L2R.js → ZV3BF6WC.js} +1 -1
  260. package/dist/cdn/{JQ7MMDQT.js → ZV4GQMCJ.js} +1 -1
  261. package/dist/cdn/{PDH2DA3L.js → ZVL34JE2.js} +1 -1
  262. package/dist/cdn/{VDEMMP33.js → ZYUABP4C.js} +1 -1
  263. package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
  264. package/dist/cdn/index.js +1 -1
  265. package/dist/cdn/main.css +1 -1
  266. package/dist/components/arcgis-add-attachment-view/customElement.d.ts +33 -0
  267. package/dist/components/arcgis-attachment-detail-view/customElement.d.ts +200 -0
  268. package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
  269. package/dist/components/arcgis-attachment-detail-view/index.d.ts +1 -0
  270. package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
  271. package/dist/components/arcgis-attachment-preview/customElement.d.ts +38 -0
  272. package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
  273. package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +33 -0
  274. package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +33 -0
  275. package/dist/components/arcgis-feature-form-field/customElement.d.ts +33 -0
  276. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +5 -1
  277. package/dist/docs/api.json +1 -1
  278. package/dist/docs/docs.json +1 -1
  279. package/dist/docs/vscode.html-custom-data.json +1 -1
  280. package/dist/docs/web-types.json +1 -1
  281. package/dist/index.d.ts +16 -0
  282. package/dist/loader.js +1 -0
  283. package/dist/types/lumina.d.ts +8 -0
  284. package/dist/types/preact.d.ts +9 -0
  285. package/dist/types/react.d.ts +10 -0
  286. package/dist/types/stencil.d.ts +8 -0
  287. package/package.json +7 -7
  288. package/dist/cdn/3VCGDZEU.js +0 -2
  289. package/dist/cdn/42LHTN2R.js +0 -2
  290. package/dist/cdn/4B2TLORL.js +0 -2
  291. package/dist/cdn/677OZNT4.js +0 -2
  292. package/dist/cdn/77U2VO5P.js +0 -2
  293. package/dist/cdn/7JVPR5EI.js +0 -2
  294. package/dist/cdn/A7RLC6ZT.js +0 -2
  295. package/dist/cdn/BJWJ6E3L.js +0 -2
  296. package/dist/cdn/CNYZSE22.js +0 -2
  297. package/dist/cdn/DPVRHPHQ.js +0 -2
  298. package/dist/cdn/DTORO2OE.js +0 -2
  299. package/dist/cdn/DYWCAORU.js +0 -2
  300. package/dist/cdn/FYR4QVEY.js +0 -2
  301. package/dist/cdn/GJKFDTVX.js +0 -2
  302. package/dist/cdn/GK47522P.js +0 -2
  303. package/dist/cdn/HQSY7TKA.js +0 -2
  304. package/dist/cdn/IITDAOGZ.js +0 -2
  305. package/dist/cdn/JXU37SH6.js +0 -2
  306. package/dist/cdn/KCLVDXWB.js +0 -2
  307. package/dist/cdn/LKAJVIS2.js +0 -2
  308. package/dist/cdn/LOOJWRCW.js +0 -2
  309. package/dist/cdn/LY6LSUSY.js +0 -2
  310. package/dist/cdn/LZVMUNZC.js +0 -2
  311. package/dist/cdn/M3ZQGUYQ.js +0 -2
  312. package/dist/cdn/MBGCAZPS.js +0 -4
  313. package/dist/cdn/NWFGMNGG.js +0 -2
  314. package/dist/cdn/PGSBUAGV.js +0 -2
  315. package/dist/cdn/QCVMDYJD.js +0 -2
  316. package/dist/cdn/QWIDIEXY.js +0 -2
  317. package/dist/cdn/R6C6U6JB.js +0 -2
  318. package/dist/cdn/SCYBJTZA.js +0 -2
  319. package/dist/cdn/UMOO7WYM.js +0 -2
  320. package/dist/cdn/VZ6UFS6H.js +0 -2
  321. package/dist/cdn/W275EQEJ.js +0 -2
  322. package/dist/cdn/WK4TNKKC.js +0 -2
  323. package/dist/cdn/Y6ZXMGO2.js +0 -2
  324. package/dist/cdn/YCHVPSSP.js +0 -2
  325. /package/dist/cdn/{XULIO6Y3.js → 3E6IBNWF.js} +0 -0
  326. /package/dist/cdn/{54GFXFK4.js → 43JS3JXR.js} +0 -0
  327. /package/dist/cdn/{A7SZYQDH.js → 4JRBTFMB.js} +0 -0
  328. /package/dist/cdn/{R2D2TXL4.js → 4U7C2G4R.js} +0 -0
  329. /package/dist/cdn/{YHPASRFL.js → 5QBYMSV7.js} +0 -0
  330. /package/dist/cdn/{EH4CBZNF.js → A7G5RNN7.js} +0 -0
  331. /package/dist/cdn/{QVAB57VJ.js → AS55LGS3.js} +0 -0
  332. /package/dist/cdn/{VKRAWBPC.js → B42Z3IQW.js} +0 -0
  333. /package/dist/cdn/{C5XAFXEL.js → CIVCCENA.js} +0 -0
  334. /package/dist/cdn/{RUW7CDCH.js → CJZCG74B.js} +0 -0
  335. /package/dist/cdn/{GUZCA62E.js → DU7MQDXJ.js} +0 -0
  336. /package/dist/cdn/{4657ONKJ.js → DVVXBWDN.js} +0 -0
  337. /package/dist/cdn/{22I5XGTS.js → DXD3FSIB.js} +0 -0
  338. /package/dist/cdn/{PS3KSP2J.js → DYUSQ3OG.js} +0 -0
  339. /package/dist/cdn/{CUVRESLH.js → EMFLPMFZ.js} +0 -0
  340. /package/dist/cdn/{R2P5JM7G.js → F2JEYWUA.js} +0 -0
  341. /package/dist/cdn/{I4AEBGQM.js → FSKKSFCQ.js} +0 -0
  342. /package/dist/cdn/{QNBNH7ME.js → HI7Y3XH5.js} +0 -0
  343. /package/dist/cdn/{24MLXKMZ.js → HSYCQNEN.js} +0 -0
  344. /package/dist/cdn/{LUTUHOKB.js → IBTIGEEQ.js} +0 -0
  345. /package/dist/cdn/{IBN4TKBI.js → IHQ2C6NE.js} +0 -0
  346. /package/dist/cdn/{Y37UMTGV.js → IPLEI5W5.js} +0 -0
  347. /package/dist/cdn/{5WKEDXRT.js → ITSWOLPG.js} +0 -0
  348. /package/dist/cdn/{REGHMH6D.js → IYTA36WK.js} +0 -0
  349. /package/dist/cdn/{42G6XTIG.js → J5PYSABF.js} +0 -0
  350. /package/dist/cdn/{PY5VGH7F.js → KVN6NUH4.js} +0 -0
  351. /package/dist/cdn/{ONFKLY6Q.js → L5L2SWJG.js} +0 -0
  352. /package/dist/cdn/{OX3WBUBR.js → LH3HGDD3.js} +0 -0
  353. /package/dist/cdn/{4O6FFXUV.js → MGDY6SA3.js} +0 -0
  354. /package/dist/cdn/{JZHZCJTJ.js → OHIZP5N4.js} +0 -0
  355. /package/dist/cdn/{DNE47HSP.js → OY2F5AX3.js} +0 -0
  356. /package/dist/cdn/{75UV3NKU.js → PLRW457V.js} +0 -0
  357. /package/dist/cdn/{HJVHORPG.js → SMCQ5457.js} +0 -0
  358. /package/dist/cdn/{LW4IDPBB.js → SN3LTQAO.js} +0 -0
  359. /package/dist/cdn/{36ZT6IRE.js → T6V5HDYH.js} +0 -0
  360. /package/dist/cdn/{M4D5WUVD.js → TTGAGK6Y.js} +0 -0
  361. /package/dist/cdn/{OCFIQBYK.js → UAVE6R7W.js} +0 -0
  362. /package/dist/cdn/{NWRWQZGL.js → VHCJJ5FD.js} +0 -0
  363. /package/dist/cdn/{UHI54OG6.js → W5QAG2HP.js} +0 -0
  364. /package/dist/cdn/{OCQXPA57.js → XELSV7WY.js} +0 -0
  365. /package/dist/cdn/{7FGOCFTQ.js → YZ23NKH4.js} +0 -0
  366. /package/dist/cdn/{WEOKELJE.js → ZHP63EHR.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -50,6 +50,7 @@ import type { ArcgisExploratoryAnalysis } from "./components/arcgis-exploratory-
50
50
  import type { ArcgisFeature } from "./components/arcgis-feature/customElement.js";
51
51
  import type { ArcgisFeatureForm } from "./components/arcgis-feature-form/customElement.js";
52
52
  import type { ArcgisAddAttachmentView } from "./components/arcgis-add-attachment-view/customElement.js";
53
+ import type { ArcgisAttachmentDetailView } from "./components/arcgis-attachment-detail-view/customElement.js";
53
54
  import type { ArcgisAttachmentPreview } from "./components/arcgis-attachment-preview/customElement.js";
54
55
  import type { ArcgisAttachmentThumbnail } from "./components/arcgis-attachment-thumbnail/customElement.js";
55
56
  import type { ArcgisAttachmentValidationView } from "./components/arcgis-attachment-validation-view/customElement.js";
@@ -281,6 +282,16 @@ export interface ArcgisAddAttachmentViewCustomEvent<T> extends CustomEvent<T> {
281
282
  target: ArcgisAddAttachmentView;
282
283
  currentTarget: ArcgisAddAttachmentView;
283
284
  }
285
+ export interface ArcgisAttachmentDetailViewCustomEvent<T> extends CustomEvent<T> {
286
+ detail: T;
287
+ target: ArcgisAttachmentDetailView;
288
+ currentTarget: ArcgisAttachmentDetailView;
289
+ }
290
+ export interface ArcgisAttachmentPreviewCustomEvent<T> extends CustomEvent<T> {
291
+ detail: T;
292
+ target: ArcgisAttachmentPreview;
293
+ currentTarget: ArcgisAttachmentPreview;
294
+ }
284
295
  export interface ArcgisFilePickerCustomEvent<T> extends CustomEvent<T> {
285
296
  detail: T;
286
297
  target: ArcgisFilePicker;
@@ -731,6 +742,7 @@ declare global {
731
742
  "arcgis-feature": ArcgisFeature;
732
743
  "arcgis-feature-form": ArcgisFeatureForm;
733
744
  "arcgis-add-attachment-view": ArcgisAddAttachmentView;
745
+ "arcgis-attachment-detail-view": ArcgisAttachmentDetailView;
734
746
  "arcgis-attachment-preview": ArcgisAttachmentPreview;
735
747
  "arcgis-attachment-thumbnail": ArcgisAttachmentThumbnail;
736
748
  "arcgis-attachment-validation-view": ArcgisAttachmentValidationView;
@@ -910,6 +922,10 @@ declare global {
910
922
  type HTMLArcgisAddAttachmentViewElementEventMap = ArcgisAddAttachmentView["@eventTypes"];
911
923
  type HTMLArcgisAddAttachmentViewElement = ArcgisAddAttachmentView;
912
924
 
925
+ type HTMLArcgisAttachmentDetailViewElementEventMap = ArcgisAttachmentDetailView["@eventTypes"];
926
+ type HTMLArcgisAttachmentDetailViewElement = ArcgisAttachmentDetailView;
927
+
928
+ type HTMLArcgisAttachmentPreviewElementEventMap = ArcgisAttachmentPreview["@eventTypes"];
913
929
  type HTMLArcgisAttachmentPreviewElement = ArcgisAttachmentPreview;
914
930
 
915
931
  type HTMLArcgisAttachmentThumbnailElement = ArcgisAttachmentThumbnail;
package/dist/loader.js CHANGED
@@ -43,6 +43,7 @@ const s = t(e, {
43
43
  "arcgis-feature-fields": [() => import("./components/arcgis-feature-fields/customElement.js"), "description,expressionInfos:,fieldInfos:,graphic:,heading,headingLevel,isContentFieldInfos,layer:,messages:,values:"],
44
44
  "arcgis-feature-form": [() => import("./components/arcgis-feature-form/customElement.js"), "autoDestroyDisabled,disabled,editType,feature:,formTemplate:,groupDisplay,headingLevel,hideReadOnlyNotice,icon,label,layer:,map:,referenceElement,state:,timeZone,view:;destroy,getValues,submit"],
45
45
  "arcgis-add-attachment-view": [() => import("./components/arcgis-add-attachment-view/customElement.js"), "_messages:,attachment:,formDisabled,input:,messageOverrides:"],
46
+ "arcgis-attachment-detail-view": [() => import("./components/arcgis-attachment-detail-view/customElement.js"), "_messages:,attachment:,dialogOpen,formDisabled,input:,messageOverrides:"],
46
47
  "arcgis-attachment-preview": [() => import("./components/arcgis-attachment-preview/customElement.js"), "_messages:,attachment:,input:,messageOverrides:;;pause"],
47
48
  "arcgis-attachment-thumbnail": [() => import("./components/arcgis-attachment-thumbnail/customElement.js"), "_messages:,attachment:,iconOnly,input:,messageOverrides:,skipFilenameAlt,visualScale"],
48
49
  "arcgis-attachment-validation-view": [() => import("./components/arcgis-attachment-validation-view/customElement.js"), "_messages:,includeCountCriteria,input:,messageOverrides:"],
@@ -25,6 +25,7 @@ import type { ArcgisExploratoryAnalysis } from "../components/arcgis-exploratory
25
25
  import type { ArcgisFeature } from "../components/arcgis-feature/customElement.js";
26
26
  import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/customElement.js";
27
27
  import type { ArcgisAddAttachmentView } from "../components/arcgis-add-attachment-view/customElement.js";
28
+ import type { ArcgisAttachmentDetailView } from "../components/arcgis-attachment-detail-view/customElement.js";
28
29
  import type { ArcgisAttachmentPreview } from "../components/arcgis-attachment-preview/customElement.js";
29
30
  import type { ArcgisAttachmentThumbnail } from "../components/arcgis-attachment-thumbnail/customElement.js";
30
31
  import type { ArcgisAttachmentValidationView } from "../components/arcgis-attachment-validation-view/customElement.js";
@@ -314,7 +315,13 @@ interface LuminaArcgisAddAttachmentView extends Partial<Pick<ArcgisAddAttachment
314
315
  onarcgisFilesSelect?: EventHandler<ArcgisAddAttachmentView["arcgisFilesSelect"]>;
315
316
  }
316
317
 
318
+ interface LuminaArcgisAttachmentDetailView extends Partial<Pick<ArcgisAttachmentDetailView, "attachment" | "dialogOpen" | "formDisabled" | "input" | "messageOverrides">>, h.JSX.HTMLAttributes<ArcgisAttachmentDetailView> {
319
+ onarcgisInternalAttachmentRename?: EventHandler<ArcgisAttachmentDetailView["arcgisInternalAttachmentRename"]>;
320
+ onarcgisInternalAttachmentReplaceStart?: EventHandler<ArcgisAttachmentDetailView["arcgisInternalAttachmentReplaceStart"]>;
321
+ }
322
+
317
323
  interface LuminaArcgisAttachmentPreview extends Partial<Pick<ArcgisAttachmentPreview, "attachment" | "input" | "messageOverrides">>, h.JSX.HTMLAttributes<ArcgisAttachmentPreview> {
324
+ onarcgisInternalAttachmentMediaError?: EventHandler<ArcgisAttachmentPreview["arcgisInternalAttachmentMediaError"]>;
318
325
  }
319
326
 
320
327
  interface LuminaArcgisAttachmentThumbnail extends Partial<Pick<ArcgisAttachmentThumbnail, "attachment" | "iconOnly" | "input" | "messageOverrides" | "skipFilenameAlt" | "visualScale">>, h.JSX.HTMLAttributes<ArcgisAttachmentThumbnail> {
@@ -982,6 +989,7 @@ declare module "@arcgis/lumina" {
982
989
  "arcgis-feature": LuminaArcgisFeature;
983
990
  "arcgis-feature-form": LuminaArcgisFeatureForm;
984
991
  "arcgis-add-attachment-view": LuminaArcgisAddAttachmentView;
992
+ "arcgis-attachment-detail-view": LuminaArcgisAttachmentDetailView;
985
993
  "arcgis-attachment-preview": LuminaArcgisAttachmentPreview;
986
994
  "arcgis-attachment-thumbnail": LuminaArcgisAttachmentThumbnail;
987
995
  "arcgis-attachment-validation-view": LuminaArcgisAttachmentValidationView;
@@ -25,6 +25,7 @@ import type { ArcgisExploratoryAnalysis } from "../components/arcgis-exploratory
25
25
  import type { ArcgisFeature } from "../components/arcgis-feature/customElement.js";
26
26
  import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/customElement.js";
27
27
  import type { ArcgisAddAttachmentView } from "../components/arcgis-add-attachment-view/customElement.js";
28
+ import type { ArcgisAttachmentDetailView } from "../components/arcgis-attachment-detail-view/customElement.js";
28
29
  import type { ArcgisAttachmentPreview } from "../components/arcgis-attachment-preview/customElement.js";
29
30
  import type { ArcgisAttachmentThumbnail } from "../components/arcgis-attachment-thumbnail/customElement.js";
30
31
  import type { ArcgisAttachmentValidationView } from "../components/arcgis-attachment-validation-view/customElement.js";
@@ -315,7 +316,13 @@ interface PreactArcgisAddAttachmentView extends Partial<Pick<ArcgisAddAttachment
315
316
  onarcgisFilesSelect?: EventHandler<ArcgisAddAttachmentView["arcgisFilesSelect"]>;
316
317
  }
317
318
 
319
+ interface PreactArcgisAttachmentDetailView extends Partial<Pick<ArcgisAttachmentDetailView, "attachment" | "dialogOpen" | "formDisabled" | "input" | "messageOverrides">>, HTMLAttributes<ArcgisAttachmentDetailView> {
320
+ onarcgisInternalAttachmentRename?: EventHandler<ArcgisAttachmentDetailView["arcgisInternalAttachmentRename"]>;
321
+ onarcgisInternalAttachmentReplaceStart?: EventHandler<ArcgisAttachmentDetailView["arcgisInternalAttachmentReplaceStart"]>;
322
+ }
323
+
318
324
  interface PreactArcgisAttachmentPreview extends Partial<Pick<ArcgisAttachmentPreview, "attachment" | "input" | "messageOverrides">>, HTMLAttributes<ArcgisAttachmentPreview> {
325
+ onarcgisInternalAttachmentMediaError?: EventHandler<ArcgisAttachmentPreview["arcgisInternalAttachmentMediaError"]>;
319
326
  }
320
327
 
321
328
  interface PreactArcgisAttachmentThumbnail extends Partial<Pick<ArcgisAttachmentThumbnail, "attachment" | "iconOnly" | "input" | "messageOverrides" | "skipFilenameAlt" | "visualScale">>, HTMLAttributes<ArcgisAttachmentThumbnail> {
@@ -983,6 +990,7 @@ declare module 'preact' {
983
990
  "arcgis-feature": PreactArcgisFeature;
984
991
  "arcgis-feature-form": PreactArcgisFeatureForm;
985
992
  "arcgis-add-attachment-view": PreactArcgisAddAttachmentView;
993
+ "arcgis-attachment-detail-view": PreactArcgisAttachmentDetailView;
986
994
  "arcgis-attachment-preview": PreactArcgisAttachmentPreview;
987
995
  "arcgis-attachment-thumbnail": PreactArcgisAttachmentThumbnail;
988
996
  "arcgis-attachment-validation-view": PreactArcgisAttachmentValidationView;
@@ -1111,6 +1119,7 @@ declare module 'preact' {
1111
1119
  "arcgis-feature": PreactArcgisFeature;
1112
1120
  "arcgis-feature-form": PreactArcgisFeatureForm;
1113
1121
  "arcgis-add-attachment-view": PreactArcgisAddAttachmentView;
1122
+ "arcgis-attachment-detail-view": PreactArcgisAttachmentDetailView;
1114
1123
  "arcgis-attachment-preview": PreactArcgisAttachmentPreview;
1115
1124
  "arcgis-attachment-thumbnail": PreactArcgisAttachmentThumbnail;
1116
1125
  "arcgis-attachment-validation-view": PreactArcgisAttachmentValidationView;
@@ -25,6 +25,7 @@ import type { ArcgisExploratoryAnalysis } from "../components/arcgis-exploratory
25
25
  import type { ArcgisFeature } from "../components/arcgis-feature/customElement.js";
26
26
  import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/customElement.js";
27
27
  import type { ArcgisAddAttachmentView } from "../components/arcgis-add-attachment-view/customElement.js";
28
+ import type { ArcgisAttachmentDetailView } from "../components/arcgis-attachment-detail-view/customElement.js";
28
29
  import type { ArcgisAttachmentPreview } from "../components/arcgis-attachment-preview/customElement.js";
29
30
  import type { ArcgisAttachmentThumbnail } from "../components/arcgis-attachment-thumbnail/customElement.js";
30
31
  import type { ArcgisAttachmentValidationView } from "../components/arcgis-attachment-validation-view/customElement.js";
@@ -315,7 +316,13 @@ interface ReactArcgisAddAttachmentView extends Partial<Pick<ArcgisAddAttachmentV
315
316
  onarcgisFilesSelect?: EventHandler<ArcgisAddAttachmentView["arcgisFilesSelect"]>;
316
317
  }
317
318
 
319
+ interface ReactArcgisAttachmentDetailView extends Partial<Pick<ArcgisAttachmentDetailView, "attachment" | "dialogOpen" | "formDisabled" | "input" | "messageOverrides">>, HTMLProps<ArcgisAttachmentDetailView> {
320
+ onarcgisInternalAttachmentRename?: EventHandler<ArcgisAttachmentDetailView["arcgisInternalAttachmentRename"]>;
321
+ onarcgisInternalAttachmentReplaceStart?: EventHandler<ArcgisAttachmentDetailView["arcgisInternalAttachmentReplaceStart"]>;
322
+ }
323
+
318
324
  interface ReactArcgisAttachmentPreview extends Partial<Pick<ArcgisAttachmentPreview, "attachment" | "input" | "messageOverrides">>, HTMLProps<ArcgisAttachmentPreview> {
325
+ onarcgisInternalAttachmentMediaError?: EventHandler<ArcgisAttachmentPreview["arcgisInternalAttachmentMediaError"]>;
319
326
  }
320
327
 
321
328
  interface ReactArcgisAttachmentThumbnail extends Partial<Pick<ArcgisAttachmentThumbnail, "attachment" | "iconOnly" | "input" | "messageOverrides" | "skipFilenameAlt" | "visualScale">>, HTMLProps<ArcgisAttachmentThumbnail> {
@@ -983,6 +990,7 @@ declare module "react" {
983
990
  "arcgis-feature": ReactArcgisFeature;
984
991
  "arcgis-feature-form": ReactArcgisFeatureForm;
985
992
  "arcgis-add-attachment-view": ReactArcgisAddAttachmentView;
993
+ "arcgis-attachment-detail-view": ReactArcgisAttachmentDetailView;
986
994
  "arcgis-attachment-preview": ReactArcgisAttachmentPreview;
987
995
  "arcgis-attachment-thumbnail": ReactArcgisAttachmentThumbnail;
988
996
  "arcgis-attachment-validation-view": ReactArcgisAttachmentValidationView;
@@ -1113,6 +1121,7 @@ declare module "react/jsx-runtime" {
1113
1121
  "arcgis-feature": ReactArcgisFeature;
1114
1122
  "arcgis-feature-form": ReactArcgisFeatureForm;
1115
1123
  "arcgis-add-attachment-view": ReactArcgisAddAttachmentView;
1124
+ "arcgis-attachment-detail-view": ReactArcgisAttachmentDetailView;
1116
1125
  "arcgis-attachment-preview": ReactArcgisAttachmentPreview;
1117
1126
  "arcgis-attachment-thumbnail": ReactArcgisAttachmentThumbnail;
1118
1127
  "arcgis-attachment-validation-view": ReactArcgisAttachmentValidationView;
@@ -1243,6 +1252,7 @@ declare module "react/jsx-dev-runtime" {
1243
1252
  "arcgis-feature": ReactArcgisFeature;
1244
1253
  "arcgis-feature-form": ReactArcgisFeatureForm;
1245
1254
  "arcgis-add-attachment-view": ReactArcgisAddAttachmentView;
1255
+ "arcgis-attachment-detail-view": ReactArcgisAttachmentDetailView;
1246
1256
  "arcgis-attachment-preview": ReactArcgisAttachmentPreview;
1247
1257
  "arcgis-attachment-thumbnail": ReactArcgisAttachmentThumbnail;
1248
1258
  "arcgis-attachment-validation-view": ReactArcgisAttachmentValidationView;
@@ -25,6 +25,7 @@ import type { ArcgisExploratoryAnalysis } from "../components/arcgis-exploratory
25
25
  import type { ArcgisFeature } from "../components/arcgis-feature/customElement.js";
26
26
  import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/customElement.js";
27
27
  import type { ArcgisAddAttachmentView } from "../components/arcgis-add-attachment-view/customElement.js";
28
+ import type { ArcgisAttachmentDetailView } from "../components/arcgis-attachment-detail-view/customElement.js";
28
29
  import type { ArcgisAttachmentPreview } from "../components/arcgis-attachment-preview/customElement.js";
29
30
  import type { ArcgisAttachmentThumbnail } from "../components/arcgis-attachment-thumbnail/customElement.js";
30
31
  import type { ArcgisAttachmentValidationView } from "../components/arcgis-attachment-validation-view/customElement.js";
@@ -315,7 +316,13 @@ interface StencilArcgisAddAttachmentView extends Partial<Pick<ArcgisAddAttachmen
315
316
  onArcgisFilesSelect?: EventHandler<ArcgisAddAttachmentView["arcgisFilesSelect"]>;
316
317
  }
317
318
 
319
+ interface StencilArcgisAttachmentDetailView extends Partial<Pick<ArcgisAttachmentDetailView, "attachment" | "dialogOpen" | "formDisabled" | "input" | "messageOverrides">>, StencilJsx.HTMLAttributes<ArcgisAttachmentDetailView> {
320
+ onArcgisInternalAttachmentRename?: EventHandler<ArcgisAttachmentDetailView["arcgisInternalAttachmentRename"]>;
321
+ onArcgisInternalAttachmentReplaceStart?: EventHandler<ArcgisAttachmentDetailView["arcgisInternalAttachmentReplaceStart"]>;
322
+ }
323
+
318
324
  interface StencilArcgisAttachmentPreview extends Partial<Pick<ArcgisAttachmentPreview, "attachment" | "input" | "messageOverrides">>, StencilJsx.HTMLAttributes<ArcgisAttachmentPreview> {
325
+ onArcgisInternalAttachmentMediaError?: EventHandler<ArcgisAttachmentPreview["arcgisInternalAttachmentMediaError"]>;
319
326
  }
320
327
 
321
328
  interface StencilArcgisAttachmentThumbnail extends Partial<Pick<ArcgisAttachmentThumbnail, "attachment" | "iconOnly" | "input" | "messageOverrides" | "skipFilenameAlt" | "visualScale">>, StencilJsx.HTMLAttributes<ArcgisAttachmentThumbnail> {
@@ -981,6 +988,7 @@ interface ExposedElements {
981
988
  "arcgis-feature": StencilArcgisFeature;
982
989
  "arcgis-feature-form": StencilArcgisFeatureForm;
983
990
  "arcgis-add-attachment-view": StencilArcgisAddAttachmentView;
991
+ "arcgis-attachment-detail-view": StencilArcgisAttachmentDetailView;
984
992
  "arcgis-attachment-preview": StencilArcgisAttachmentPreview;
985
993
  "arcgis-attachment-thumbnail": StencilArcgisAttachmentThumbnail;
986
994
  "arcgis-attachment-validation-view": StencilArcgisAttachmentValidationView;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "6.0.0-next.11",
3
+ "version": "6.0.0-next.13",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "2D",
@@ -42,17 +42,17 @@
42
42
  ],
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
- "@amcharts/amcharts5": "~5.21.0",
46
- "@arcgis/common-components": "6.0.0-next.11",
47
- "@arcgis/lumina": "6.0.0-next.11",
48
- "@arcgis/lumina-toolkit": "6.0.0-next.11",
49
- "@arcgis/toolkit": "6.0.0-next.11",
45
+ "@amcharts/amcharts5": "~5.21.2",
46
+ "@arcgis/common-components": "6.0.0-next.13",
47
+ "@arcgis/lumina": "6.0.0-next.13",
48
+ "@arcgis/lumina-toolkit": "6.0.0-next.13",
49
+ "@arcgis/toolkit": "6.0.0-next.13",
50
50
  "es-toolkit": "^1.52.0",
51
51
  "lit": "^3.3.0",
52
52
  "tslib": "^2.8.1"
53
53
  },
54
54
  "peerDependencies": {
55
- "@arcgis/core": "6.0.0-next.11",
55
+ "@arcgis/core": "6.0.0-next.13",
56
56
  "@esri/calcite-components": "^5.2.0-next.89"
57
57
  },
58
58
  "css.customData": [
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{h as w}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as f,S as u,X as _,a as d,b as m}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";var x=d`:host{display:block;pointer-events:initial}calcite-popover{pointer-events:initial}.content{min-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-min-inline-size, 300px));max-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-max-inline-size, 400px));max-height:var( --arcgis-view-popover-content-max-height, calc(100cqh - var(--arcgis-view-popover-height-reserve, 77px)) );-webkit-user-select:none;user-select:none;overflow-y:auto}`,h=6,y=2,A=32,S=77,B=0;function z(t){let e=C(t),i=t.actionBarLayout==="vertical"?0:e;return{effectiveTailOffset:e,horizontalMargin:$(t),verticalMargin:P(t)+i+t.headerRect.height,offsetSkidding:O(t),placement:L(t)}}function C({actionBarLayout:t,actionRect:e,barRect:i,tailAttachmentAppearance:a}){let n=a==="bar"?t==="vertical"?Math.max(0,e.left-i.left):Math.max(0,e.top-i.top):0;return h+n}function $({actionBarLayout:t,barRect:{left:e,right:i},actionRect:{left:a},tailAttachmentAppearance:n,viewEdgeMargin:r}){let s=r*2;if(t==="vertical"){let l=i-e,v=n==="action"?-(a-e-h):h;return s+l+v}return s}function O(t){return t.actionBarLayout==="vertical"||b(t)==="left"?t.viewEdgeMargin:-t.viewEdgeMargin}function L(t){let{actionBarLayout:e,actionRect:i,viewRect:a}=t,n=b(t);if(e==="vertical")return n==="left"?"right-end":"left-end";let r=i.bottom-a.top<a.height/2?"bottom":"top";return n==="left"?`${r}-end`:`${r}-start`}function b({barRect:{left:t,right:e},viewRect:{left:i,right:a}}){return t-i<a-e?"left":"right"}function k({actionRect:t,viewRect:e}){return t.top-e.top>e.height/2?"bottom":"top"}function P(t){let{actionBarLayout:e,actionRect:i,attributionHeight:a,viewEdgeMargin:n,viewRect:r}=t,s=k(t),l=i.bottom-r.top,v=i.top-r.top,E=s==="top"?l:n,R=n,g=a+n,M=s==="top"?g:r.height-v;return(e==="vertical"?R+g:E+M)+y}function o(){return new DOMRect(0,0,0,0)}function c(t){return t?.getBoundingClientRect()??o()}var p=class extends f{constructor(){super(...arguments),this._handlePopoverBeforeOpen=e=>{if(e.target!==e.currentTarget)return;let i=e.currentTarget;this._headerElement=i.shadowRoot?.querySelector(".header")??void 0,this._observeMeasurementElements(),this._remeasureAndSolve()},this._handlePopoverClose=e=>{e.target===e.currentTarget&&(e.preventDefault(),this.open=!1,this._stopMeasuring())},this._viewRect=o(),this._barRect=o(),this._actionRect=o(),this._headerRect=o(),this._resizeObserver=new ResizeObserver(()=>this._remeasureAndSolve()),this._placement="bottom-end",this._effectiveTailOffset=h,this._offsetSkidding=B,this._horizontalMargin=A,this._verticalMargin=S,this.closable=!0,this.open=!1,this.maxContentWidth=400,this.minContentWidth=300,this.viewEdgeMargin=16,this.visualScale="m",this.tailAttachmentAppearance="bar",this.arcgisPropertyChange=w()("open")}static{this.properties={_placement:16,_effectiveTailOffset:16,_offsetSkidding:16,_horizontalMargin:16,_verticalMargin:16,view:0,actionBarLayout:32,actionBarElement:0,anchorElement:0,closable:5,heading:1,label:1,open:5,maxContentWidth:9,minContentWidth:9,viewEdgeMargin:9,visualScale:1,tailAttachmentAppearance:1}}static{this.styles=x}get _viewElement(){return this.view?.container??void 0}get actionBarLayout(){return this.actionBarElement?.layout==="vertical"?"vertical":"horizontal"}willUpdate(e){e.has("open")&&!this.open?this._stopMeasuring():this.open&&this._hasParameterInputChange(e)?this._remeasureAndSolve():this.open&&this._hasObservedElementChange(e)&&this._observeMeasurementElements()}disconnectedCallback(){super.disconnectedCallback(),this._stopMeasuring()}_hasObservedElementChange(e){return e.has("actionBarElement")||e.has("anchorElement")||e.has("view")}_hasParameterInputChange(e){return e.has("open")&&this.open||e.has("tailAttachmentAppearance")||e.has("viewEdgeMargin")||e.has("visualScale")}_observeMeasurementElements(){this._resizeObserver.disconnect();for(let e of[this.anchorElement,this.actionBarElement,this._viewElement,this._headerElement])e&&this._resizeObserver.observe(e);this._remeasureAndSolve()}_stopMeasuring(){this._resizeObserver.disconnect(),this._headerElement=void 0}_remeasureAndSolve(){this._actionRect=c(this.anchorElement),this._barRect=c(this.actionBarElement),this._headerRect=c(this._headerElement),this._viewRect=c(this._viewElement),this._solveLayoutAndUpdate()}_solveLayoutAndUpdate(){let{effectiveTailOffset:e,horizontalMargin:i,verticalMargin:a,offsetSkidding:n,placement:r}=z({actionBarLayout:this.actionBarLayout,actionRect:this._actionRect,attributionHeight:this.view?.attributionHeight??0,barRect:this._barRect,headerRect:this._headerRect,visualScale:this.visualScale,tailAttachmentAppearance:this.tailAttachmentAppearance,viewEdgeMargin:this.viewEdgeMargin,viewRect:this._viewRect});this._effectiveTailOffset=e,this._horizontalMargin=i,this._verticalMargin=a,this._offsetSkidding=n,this._placement=r}render(){return this.anchorElement?m`<calcite-popover .closable=${this.closable} .heading=${this.heading} .label=${this.label??""} .open=${this.open} .offsetDistance=${this._effectiveTailOffset} .offsetSkidding=${this._offsetSkidding} overlay-positioning=fixed flip-disabled .placement=${this._placement} .referenceElement=${this.anchorElement} @calcitePopoverBeforeOpen=${this._handlePopoverBeforeOpen} .scale=${this.visualScale} style=${u({"--arcgis-view-popover-max-inline-size":`${this.maxContentWidth}px`,"--arcgis-view-popover-min-inline-size":`${this.minContentWidth}px`,"--arcgis-view-popover-height-reserve":`${this._verticalMargin}px`,"--arcgis-view-popover-width-reserve":`${this._horizontalMargin}px`})} trigger-disabled @calcitePopoverClose=${this._handlePopoverClose}><div class="content"><slot></slot></div></calcite-popover>`:null}};_("arcgis-view-popover",p);export{p as ArcgisViewPopover};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import h from"./YDZZPLVB.js";import g from"./RUYAWRPV.js";import"./WJQUE4DR.js";import{a as $}from"./HQWUQFN5.js";import e from"./5YHHJ5ZE.js";import{a as k}from"./ZSPYPXBY.js";import{a as p}from"./L5IRXOCJ.js";import d from"./HA4XWZH4.js";import c from"./HPWF3IQV.js";import{h as _}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as m,R as b,U as y,X as w,a as f,b as r,x}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{ignoreAbortErrors:S},{watch:V},D,{property:d,subclass:G},,,,L,,z])=>{var A=f`: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-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--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-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{width:var(--arcgis-internal-panel-width, 300px);max-width:100%}.root{min-width:var(--arcgis-internal-panel-min-width);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}.container{display:flex;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--arcgis-internal-panel-gap)}.error{color:var(--calcite-color-status-danger)}.container,.hint{display:flex;flex-direction:column;gap:var(--arcgis-internal-panel-gap)}.error,.hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.error p,.hint p{margin:0;padding:0}.hint:not(:has(*)){display:none}.layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.actions{display:flex;flex-flow:column;gap:var(--arcgis-internal-panel-actions-gap);justify-content:center}.actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,j=Object.defineProperty,T=Object.getOwnPropertyDescriptor,s=(e,i,t,n)=>{for(var a=n>1?void 0:n?T(i,t):i,l=e.length-1,c;l>=0;l--)(c=e[l])&&(a=(n?c(i,t,a):c(a))||a);return n&&a&&j(i,t,a),a},u=new Set,o=class extends z{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){if(this.interactionDisabled)return;let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i;try{await S(i)}finally{this._excludingLayers===i&&(this._excludingLayers=void 0)}}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){u.add(this)}destroy(){u.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){this.interactionDisabled||(u.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start())}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new D}};s([d()],o.prototype,"_excludingLayers",2);s([d({readOnly:!0})],o.prototype,"state",1);s([d()],o.prototype,"shape",1);s([d()],o.prototype,"tiltEnabled",1);s([d()],o.prototype,"excludedLayers",1);s([d()],o.prototype,"excludeGroundSurface",1);o=s([G("esri.components.Slice.SliceViewModel")],o);var O=o,H=L(O),h=class extends m{constructor(){super(...arguments),this.viewModel=H(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.hideStartButton=!1,this.hideVisualization=this.viewModel.hideVisualization,this.icon="slice",this.interactionDisabled=this.viewModel.interactionDisabled,this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=_()("analysis","interactionDisabled","state"),this.arcgisReady=x()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,hideStartButton:5,hideVisualization:5,icon:3,interactionDisabled:5,label:1,messageOverrides:0,referenceElement:1,shape:0,state:32,tiltEnabled:5}}static{this.styles=A}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){S(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[V(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return r`<div class=${b({root:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,hideVisualization:n,supported:a}=this.viewModel,l=t==="slicing"||t==="excludingLayer";if(n||!a)return null;a||r`<div class="container"><div class="error"><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:c}=this.viewModel,v=this.excludeGroundSurface,E=c.length>0||v,g=t==="disabled";return r`<div class="container"><div class="hint">${t==="excludingLayer"?r`<p class="hint-text">${i.excludeHint}</p>`:null}${t==="slicing"?r`<p class="hint-text">${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class="hint-text">${i.verticalHint}</p>`:null}</div>${!l&&E?r`<div class="layer-list">${$({class:"layer-list-title",level:this.headingLevel,children:i.excludedLayers})}${B({layers:c.toArray(),excludeGroundSurface:v,onLayerClick:C=>{this.excludedLayers.remove(C)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class="actions">${!l&&!this.hideStartButton?r`<calcite-button class="new-slice-button" .disabled=${g||this.interactionDisabled} @click=${this.start}>${i.newSlice}</calcite-button>`:null}${t==="sliced"?r`<calcite-button appearance=outline-fill class="exclude-button" .disabled=${g||this.interactionDisabled} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?r`<calcite-button appearance=outline-fill class="cancel-button" .disabled=${g} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function M(e){return r`<calcite-list-item class="layer-item" data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??y}></calcite-action></calcite-list-item>`}function B(e){let i=e.layers.map(t=>M({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(M({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),r`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}w("arcgis-slice",h);return h},"core/promiseUtils","core/reactiveUtils","analysis/SliceAnalysis","core/accessorSupport/decorators",a,c,d,e,g,h)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import a from"./S6BPBG7D.js";import"./PIDNZKSJ.js";import"./ZSPYPXBY.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import t from"./GNSNEUMI.js";import"./53OXTCE6.js";import{a as Q}from"./4L43F7HU.js";import s from"./VUAYNF3K.js";import r from"./VDEMMP33.js";import o from"./Z2UUXST4.js";import{a as S,b as U,g as G,h as v,j as H,k as q,m as c,n as $}from"./ZCFWKPXL.js";import{a as N}from"./DUMHDAYP.js";import{a as m}from"./PIDNZKSJ.js";import n from"./WBBTZNZU.js";import j from"./HU57LQOA.js";import i from"./RUYAWRPV.js";import"./WJQUE4DR.js";import h from"./5YHHJ5ZE.js";import{a as O}from"./ZSPYPXBY.js";import{a as L}from"./L5IRXOCJ.js";import{a as k}from"./SIFBGT4D.js";import f from"./M3ZQGUYQ.js";import e from"./HA4XWZH4.js";import b from"./HPWF3IQV.js";import{h as B}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as P}from"./ZKWI43WZ.js";import{B as M,N as d,O as g,P as R,R as p,U as _,V as w,X as A,a as C,b as l,x as y}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([se,b,{on:ae,watch:re},,,,D,x,,,,,{k:j},,{a:z,b:J,c:K}])=>{var u={...Q,section:"section",editing:"editing",editingForm:"editing-form"},le=C`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%;flex:1}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`,V="nested",oe=".*\\S+.*",W="data-basemap-layer-type",ne=x(se),F=class extends R{constructor(){super(...arguments),this._baseListRef=d(),this._referenceListRef=d(),this._editTitleInputRef=d(),this._layerFlowItemRef=d(),this._panelFlowItemRef=d(),this._rootFlowItemRef=d(),this._editingFlowItemRef=d(),this._lastDragDetail=null,this._selectedDragItemLayerUid=null,this._rootGroupUid=`basemap-${M()}`,this._openedLayersController=null,this._focusRootFlowItem=!1,this._focusPanelFlowItem=!1,this._focusLayerFlowItem=null,this._focusEditingFlowItem=!1,this.messages=O(),this.viewModel=ne(this),this.arcgisClose=k(this),this._canMove=({dragEl:e,fromEl:t,toEl:i},s)=>{let a=s==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,o=c(e,this._allItems);if(!o?.sortable)return!1;let r=c(t,this._allItems),n=$(t),h=c(i,this._allItems),f=$(i),I=!!n&&!!f&&n===f,Y={selected:o,from:r,to:h},Z=t.group,ee=i.group,te=r?.layer?.type??"",ie=h?.layer?.type??"",T=new Set(["map-image","catalog","knowledge-graph"]);return Z&&ee&&typeof a=="function"?a(Y):I&&!T.has(te)&&!T.has(ie)&&o.layer?.type!=="sublayer"},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer),this._focusLayerFlowItem=e.layer?.uid??null},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent),this._focusLayerFlowItem=e.layer?.uid??null},this._onPanelOpen=()=>{this._focusPanelFlowItem=!0},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(i=>i.classList?.contains(u.item));this._activeItem=c(t,this._allItems)??null},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._toggleEditingTitle=()=>{let e=!this.editingTitle;this.editingTitle=e,e?this._focusEditingFlowItem=!0:this._focusRootFlowItem=!0},this._formSubmit=e=>{e.preventDefault();let t=this._editTitleInputRef.value?.value;t?.trim()&&(this.basemapTitle=t),this._toggleEditingTitle()},this._activeItem=null,this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.openedLayerLists=new b,this.autoDestroyDisabled=!1,this.baseFilterText="",this.baseItemCreatedFunction=this.viewModel.baseItemCreatedFunction,this.basemapTitle=this.viewModel.basemapTitle,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.editingTitle=!1,this.filterPlaceholder="",this.headingLevel=2,this.hideBaseLayers=!1,this.hideCatalogLayerList=!1,this.hideHeading=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideReferenceLayers=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesEnabled=new b(["knowledge-graph"]),this.listModeDisabled=this.viewModel.listModeDisabled,this.minFilterItems=U,this.openedLayers=new b,this.referenceFilterText="",this.referenceItemCreatedFunction=this.viewModel.referenceItemCreatedFunction,this.selectedItems=new b,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditTitleButton=!1,this.showErrors=!1,this.showFilter=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisBaseFilterChange=y(),this.arcgisOpenedLayersChange=y(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=y(),this.arcgisReferenceFilterChange=y(),this.arcgisTriggerAction=D(()=>this.viewModel,"trigger-action")}static{this.properties={_activeItem:16,_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,openedLayerLists:16,_allItems:16,_visibleBaseItems:16,_visibleReferenceItems:16,_openedPanelItems:16,_totalBaseItems:16,_totalReferenceItems:16,_baseFilterEnabled:16,_referenceFilterEnabled:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItemCreatedFunction:0,baseItems:32,basemapTitle:1,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideCatalogLayerList:5,hideHeading:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesEnabled:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listModeDisabled:5,mapImageOptions:0,messageOverrides:0,minFilterItems:9,openedLayers:32,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:32,tableList:32,tileOptions:0,view:0,visibilityAppearance:1}}static{this.styles=[K,le,J]}get _allItems(){return this.referenceItems.concat(this.baseItems)}get _visibleBaseItems(){return this.baseItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _visibleReferenceItems(){return this.referenceItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleReferenceItems.concat(this._visibleBaseItems).flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _totalBaseItems(){return this.viewModel.baseItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _totalReferenceItems(){return this.viewModel.referenceItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _baseFilterEnabled(){return this._totalBaseItems>=this.minFilterItems&&this.showFilter}get _referenceFilterEnabled(){return this._totalReferenceItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){return this.openedLayers.toArray().map((e,t)=>this._renderLayerFlowItem(e,t===this.openedLayers.length-1))}get baseItems(){return this.viewModel.baseItems}get catalogLayerList(){return this._catalogLayerList}get referenceItems(){return this.viewModel.referenceItems}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[ae(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),re(()=>[this.viewModel.referenceItems.toArray(),this.viewModel.baseItems.toArray()],()=>G(this.selectedItems),{initial:!0})])}updated(){v(this._baseListRef.value,this.baseFilterPredicate,this.baseItems),v(this._referenceListRef.value,this.referenceFilterPredicate,this.referenceItems)}triggerAction(e,t){this.viewModel.triggerAction(e,t)}async _createFlowList(e,t){let i=this._layerListMap.get(e);if(i)return i;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||this._layerListMap.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let s=new AbortController,{signal:a}=s;this._openedLayersController=s,e.forEach((n,h)=>{t.includes(h)||(n?.destroy?.(),e.delete(h))});let o=await Promise.all(t.map(n=>this._createFlowList(n,a)));if(a.aborted)return;i.removeAll(),i.addMany(o);let r=i.at(-1);r?"catalogLayer"in r?(this._catalogLayerList=r,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=r):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:s,minFilterItems:a,selectionMode:o,visibilityAppearance:r,layerTablesEnabled:n}=this;return w(l`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??s} .listItemCreatedFunction=${i?.listItemCreatedFunction} .minFilterItems=${i?.minFilterItems??a} .selectionMode=${i?.selectionMode??o} .visibilityAppearance=${i?.visibilityAppearance??r} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${h=>h.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${n} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let t=this._getTableListParams(e);return w(l`<arcgis-table-list-next .headingLevel=${t?.headingLevel??this.headingLevel} .selectionMode=${t?.selectionMode??this.selectionMode} .dragEnabled=${t?.dragEnabled??this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon??void 0} .label=${t?.label??void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${i=>i.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1,this._focusRootFlowItem=!0}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:s}){let a=c(i,this._allItems),o=e.hasAttribute("data-item")?c(e,this._allItems):null,r=t.hasAttribute("data-item")?c(t,this._allItems):null,n=X(t),h=X(e);s==null||!a||!n||!h||(this.viewModel.moveItem({targetItem:a,fromParentItem:r,toParentItem:o,newIndex:s,from:n,to:h}),j(this,a.uid,f=>f.parentElement?.closest("calcite-list")===e))}_handleCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:s,oldIndex:a}=e;if(t!==i){s.remove();return}a==null||!t||!s||t.insertBefore(s,t.children[a])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:s,dragEl:a,newIndex:o}=e,r=t?.newIndex===o&&t?.dragEl===a&&t?.toEl===i&&t?.fromEl===s;if(!s||!i||r)return;this._lastDragDetail=e,this._selectedDragItemLayerUid=a.value.layer?.uid??null;let n=s,h=i;if(n===h){let f=Array.from(s.children).filter(I=>I?.matches("calcite-list-item")).map(I=>I.value.layer?.uid??"");this._sortLayers(n,f);return}this._moveLayerFromChildList({toEl:h,fromEl:n,dragEl:a,newIndex:o})}_sortLayers(e,t){if(e===this._referenceListRef.value||e===this._baseListRef.value){let s=e===this._baseListRef.value?this.view?.map?.basemap?.baseLayers:this.view?.map?.basemap?.referenceLayers;H(s,t);return}let i=c(e,this._allItems);i&&q(i,t)}_handleCalciteListChange(e){if(this.selectionMode==="none")return;let t=e.target.selectedItems.map(i=>c(i,this._allItems)).filter(Boolean);this.selectedItems.removeAll(),this.selectedItems.addMany(t)}_focusFlowItem(e,t){return!t||!e?t:(e.setFocus(),!1)}render(){let e={[L.hidden]:this.state==="loading",[L.disabled]:this.state==="disabled"};return l`<div class=${p(P(L.widget,L.panel,e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`}_renderItemTooltip(e){return e?l`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid??"")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i));return t?.length?t:null}_renderItemTooltips(){return this._visibleReferenceItems.concat(this._visibleBaseItems).toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoLayersInfoMessage(e){return l`<div slot=message>${e}</div>`}_renderNoLayersInfo(e,t){return this.hideNoItemsNotice?null:l`<div class=${p(u.itemMessage)}>${m(t,l`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`}_renderEditingInput(){return l`<div class=${p(u.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${oe} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle??_} type=text .value=${this.viewModel.basemapTitle??void 0} ${g(this._editTitleInputRef)}></calcite-input></calcite-label></div>`}_renderEditingForm(){return this.editingTitle?l`<calcite-flow-item .heading=${this.hideHeading?void 0:this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemBack=${e=>{e.preventDefault(),this._toggleEditingTitle()}} ${g(this._editingFlowItemRef)}>${this._renderEditingInput()}<calcite-button appearance=outline @click=${this._toggleEditingTitle} slot=footer-actions width=full>${this.messages.cancel}</calcite-button><calcite-button slot=footer-actions type=submit width=full>${this.messages.ok}</calcite-button></calcite-flow-item>`:null}_renderEditTitleButton(){return this.showEditTitleButton&&!this.editingTitle?l`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit??""} title=${this.messages.edit??_}></calcite-action>`:null}_renderItems(){let e=[m("root-flow-item",l`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading?void 0:this.viewModel.basemapTitle??this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle&&!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemClose=${()=>{this.closed=!0}} ${g(this._rootFlowItemRef)}>${this._renderEditTitleButton()}${this._renderReferenceSection()}${this._renderBaseSection()}</calcite-flow-item>`),this._renderEditingForm(),this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];this._focusRootFlowItem=this._focusFlowItem(this._rootFlowItemRef.value,this._focusRootFlowItem),this._focusEditingFlowItem=this._focusFlowItem(this._editingFlowItemRef.value,this._focusEditingFlowItem);let t=m("root-flow",l`<calcite-flow>${e}</calcite-flow>`);return this.closed?null:this.editingTitle?l`<form class=${p(u.editingForm)} @submit=${this._formSubmit}>${t}</form>`:t}_renderPanelFlowItems(){return N(this._openedPanelItems.toArray(),e=>e.uid,(e,t)=>{let{panel:i,title:s}=e,a=()=>this._handlePanelFlowItemBack(i);return this._focusPanelFlowItem=this._focusFlowItem(this._panelFlowItemRef.value,this._focusPanelFlowItem),l`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&t===this._openedPanelItems.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),a()}} ${g(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderLayerFlowItem(e,t){let i=e.title||this.messages.untitledLayer;return this._focusLayerFlowItem===e.uid&&(this._focusLayerFlowItem=this._focusFlowItem(this._layerFlowItemRef.value,!0)?e.uid:null),m(e.uid,l`<calcite-flow-item data-layer-uid=${e.uid??_} .description=${i} .heading=${this.messages[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${s=>{s.preventDefault(),this.openedLayers.pop();let a=this.openedLayers.at(-1);a?this._focusLayerFlowItem=a.uid:this._focusRootFlowItem=!0}} ${g(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderList(e,t,i){let s=t==="reference"?this._referenceFilterEnabled:this._baseFilterEnabled,a=t==="reference"?this.referenceFilterText:this.baseFilterText,o=(t==="reference"?this.messages.noReferenceLayers:this.messages.noBaseLayers)??this.messages.noItemsToDisplay??"";return m(`block-${t}`,l`<calcite-block class=${p(u.section)} expandable expanded .heading=${t==="reference"?this.messages.referenceHeading:this.messages.baseHeading} .headingLevel=${this.headingLevel+1}>${e?.length?null:this._renderNoLayersInfo(o,t)}${m(`list-${t}`,l`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${r=>this._canMove(r,"pull")} .canPut=${r=>this._canMove(r,"put")} data-basemap-layer-type=${t??_} data-layer-type=${this._rootGroupUid??_} .displayMode=${V} .dragEnabled=${this.dragEnabled} .filterEnabled=${s} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${S} .filterText=${s?a:""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel??""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${r=>this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${r=>{let n=r.currentTarget?.filterText??"";this[t==="reference"?"referenceFilterText":"baseFilterText"]=n,t==="base"?this.arcgisBaseFilterChange.emit():this.arcgisReferenceFilterChange.emit()}} @calciteListOrderChange=${r=>this._onCalciteListOrderChange(r.detail)} ${g(t==="reference"?this._referenceListRef:this._baseListRef)}>${e?.toArray().map(r=>this._renderItem(r,i))}${s&&!this.hideNoFilterResultsNotice?l`<div class=${p(u.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(o)}</calcite-notice></div>`:null}</calcite-list>`)}</calcite-block>`)}_renderBaseSection(){return this.hideBaseLayers?null:this._renderList(this._visibleBaseItems,"base",this._visibleBaseItems.length===1)}_renderReferenceSection(){return this.hideReferenceLayers?null:this._renderList(this._visibleReferenceItems,"reference",!1)}_renderItem(e,t,i,s){return m(e.uid,z({activeItem:this._activeItem,canMove:this._canMove,css:u,displayMode:V,dragEnabled:this.dragEnabled&&!t,hideCatalogLayerList:this.hideCatalogLayerList,hideStatusIndicators:this.hideStatusIndicators,item:e,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,operationalItems:this._allItems,parent:i,parentTitles:s,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,clearActiveItem:this._clearActiveItem,showErrors:this.showErrors,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handlePanelOpen:this._onPanelOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};function X(E){let e=E.closest(`[${W}]`)?.getAttribute(W);return e==="base"||e==="reference"?e:null}A("arcgis-basemap-layer-list-next",F);return F},"layerList/BasemapLayerListModel","core/Collection","core/reactiveUtils",a,b,e,f,h,i,j,n,o,r,s,t)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a}from"./53OXTCE6.js";import"./4L43F7HU.js";import"./ZCFWKPXL.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import"./3UMLR76Y.js";import"./TAVTDQ6S.js";export{a as ArcgisLayerListItemIndicator};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{b as te}from"./AL3PLZEE.js";import{a as ee}from"./FH3WFF5O.js";import{a as f}from"./6J3KSMFG.js";import g from"./RUYAWRPV.js";import"./WJQUE4DR.js";import e from"./5YHHJ5ZE.js";import{a as Y}from"./ZSPYPXBY.js";import d from"./M3ZQGUYQ.js";import c from"./HA4XWZH4.js";import b from"./HPWF3IQV.js";import{d as J,h as Q}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{D as U,E as H,M as z,N as S,O as E,P as q,Q as N,U as A,X as j,a as W,b as u,e as k,x as F}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{substitute:ge},ue,me,{watch:m,on:ve,whenOnce:ye},Ce,{getOrCreateMapValue:se,createReactiveMap:be},fe,{property:h,subclass:Te},{ignoreAbortErrors:C},we,Se,,,,y,Z,{f:X}])=>{var T=N({defaultAssetPath:"https://jsdev.arcgis.com/6.0.0-next/common-components/",hydratedAttribute:"hydrated"}),{customElement:Ie,getAssetPath:de,setAssetPath:pe}=T;T.t=void 0;T.o=void 0;T.c=void 0;T.r=void 0;var v={ForceCollapse:0,Default:1,Medium:100,High:200,Max:300,NeverCollapse:1e3};var Ee=["bottom-end","bottom-start","bottom-left","bottom-right","top-end","top-start","top-left","top-right"],_e=new Set(Ee);function ie(i,e){let t=e;for(let o of i.split(".")){if(typeof t!="object"||t===null)return;t=Reflect.get(t,o)}return typeof t=="string"?t:void 0}var Me=W`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px;-webkit-user-select:none;user-select:none;pointer-events:initial;padding:var(--calcite-space-sm);arcgis-sketch-tooltip-controls+arcgis-snapping-controls{border-block-start:1px solid var(--calcite-color-border-3)}}:host{pointer-events:none}`,Pe={point:"pin",polyline:"line",polygon:"polygon",rectangle:"rectangle",circle:"circle",multipoint:"pins",mesh:"i3d-building",freehandPolygon:"freehand-area",freehandPolyline:"freehand",text:"text"},ke={selectionTools:{defaultPriority:v.Default,groupKind:"split-button",overflowLabel:"selection"},selectionSet:{defaultPriority:v.High,groupKind:"actions"},createTools:{defaultPriority:v.High,groupKind:"more-button",overflowLabel:"drawing"},undoRedo:{defaultPriority:v.Medium,groupKind:"split-button",overflowLabel:"action"},settings:{defaultPriority:v.Max,groupKind:"more-button",overflowLabel:"action"},geometrySimplification:{defaultPriority:v.Default,groupKind:"actions"}},Ae=500,Oe=1e3;function Le({getLoading:i,setEffectiveLoading:e}){let t,o;function s(){clearTimeout(o),o=void 0}function c(l){t=l?Date.now():void 0,e(l)}function p(l,g){if(l<=0){c(g);return}o=setTimeout(()=>{s(),c(g)},l)}c(i());let d=m(i,l=>{s(),l?p(Ae,!0):p(t==null?0:Oe-(Date.now()-t),!1)},{sync:!0});return ee(()=>{d.remove(),s()})}var Ge=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,r=(i,e,t,o)=>{for(var s=o>1?void 0:o?$e(e,t):e,c=i.length-1,p;c>=0;c--)(p=i[c])&&(s=(o?p(e,t,s):p(s))||s);return o&&s&&Ge(e,t,s),s},a=class extends fe{constructor(i){super(i),this._effectiveRenderStateCache=new Map,this._effectiveGeometrySimplificationInProgress=!1,this.visibleElements=new we,this.settingsPopoverOpen=!1,this.availableCreateTools=["point","polyline","freehandPolyline","polygon","freehandPolygon","rectangle","circle"]}initialize(){this.selectionViewModel??=new Se({persistSelection:!1}),this.addHandles([m(()=>this.sketchViewModel,(i,e)=>{i!==e&&this._effectiveRenderStateCache.clear()},{sync:!0}),Le({getLoading:()=>this.sketchViewModel?.geometrySimplificationInProgress??!1,setEffectiveLoading:i=>{this._effectiveGeometrySimplificationInProgress=i}}),m(()=>this.view,i=>{this.selectionViewModel.view=i},{initial:!0,sync:!0}),m(()=>this.sketchViewModel?.layer,i=>this.selectionViewModel.sources=i?[i]:[],{initial:!0,sync:!0}),this.selectionViewModel.on("complete",({selection:i})=>{i.length&&this.update(i)}),m(()=>this.selectionViewModel.activeOperation,i=>{i&&(this.sketchViewModel?.cancel(),this._activeCustomToolOptions=void 0)},{sync:!0}),ve(()=>this.sketchViewModel,"create",i=>{i.state==="complete"&&this.sketchViewModel?.creationMode!=="continuous"&&(this._activeCustomToolOptions=void 0)}),m(()=>this.visibleElements.settingsMenu,i=>{i||(this.settingsPopoverOpen=!1)},{sync:!0})])}destroy(){this._pendingCommandAbortController?.abort(),this.selectionViewModel.destroy(),this.sketchViewModel=void 0}get _isEffectiveRenderStateFrozen(){let{sketchViewModel:i}=this;return!!(i?.toolTransitionInProgress||i?.geometrySimplificationInProgress)}_getEffectiveValue(i,e){if(!this._isEffectiveRenderStateFrozen||!this._effectiveRenderStateCache.has(i)){let t=e();return this._effectiveRenderStateCache.set(i,t),t}return this._effectiveRenderStateCache.get(i)}get _state(){return this.sketchViewModel?.state??"disabled"}get test(){return{activeCustomToolOptions:this._activeCustomToolOptions,activeSelectionTool:this._activeSelectionTool,selectionViewModel:this.selectionViewModel}}get _activeSelectionTool(){switch(this.selectionViewModel.activeOperation?.toolName){case"lasso":return"lasso-selection";case"rectangle":return"rectangle-selection";default:return}}get _activePluginUniqueIds(){let i=this.sketchViewModel?.activePluginConfigurations.filter(e=>!e.hidden).map(e=>e.uniqueId);return new Set(i??[])}get _createToolActions(){let{sketchViewModel:i}=this;if(!i)return[];let e=i.effectiveAvailablePlugins,t=this.state==="disabled",o=this.visibleElements.createTools,s=this.activeTool,c=this._activeCustomToolOptions,p=c||!i.firstPluginWithSwappableLeaf?this._customToolOptions:[],d=i.rootPlugins,l=p?.map(n=>({active:n===c,disabled:t,icon:n.icon,labelKey:n.label,onClick:n===c?()=>this._cancelActiveOperation():()=>this._activateLegacyDrawTool(n.toolName,n.createOptions,n)}))??[];if(c&&d)return[...this._pluginsToActions(d),...l];if(e?.length&&this.view?.type!=="3d")return[...this._pluginsToActions(e),...l];let g=this.view?.type==="3d";return[...this.availableCreateTools?.filter(n=>g&&n==="multipoint"?!1:n==="mesh"?!0:o[n])?.map(n=>({active:n===s,disabled:t,icon:Pe[n],labelKey:`draw.${n}`,onClick:n===s?()=>this._cancelActiveOperation():()=>this._activateLegacyDrawTool(n)}))??[],...l]}get _shouldShowBackButton(){let i=this.sketchViewModel?.firstPluginWithSwappableLeaf,e=this.sketchViewModel?.rootPlugins,t=this._activeCustomToolOptions;return!!(this.sketchViewModel?.multiplePluginsActive&&i&&e&&!(e.length<2&&e.includes(i)&&!this.visibleElements.singlePluginBackButton)&&!t)}get _selectionToolActions(){return this._shouldShowBackButton?[{active:!1,disabled:this.state==="disabled",icon:"chevron-left",iconFlipRTL:!0,labelKey:"back",onClick:()=>this._cancelActiveOperation()}]:this._selectionCommands}get _settingsActions(){let i=this._customActions?.get("settings-before"),e=this._customActions?.get("settings-after"),t=this.visibleElements.settingsMenu,o=[];return!i?.length&&!e?.length&&!t||(i&&o.push(...this._customActionsToSketchActions(i)),t&&o.push({icon:"gear",active:this.settingsPopoverOpen,disabled:this.state==="disabled",labelKey:"settings.heading",tooltipKey:"settings.heading",refKey:"settings",onClick:()=>this.toggleSettingsPopover()}),e&&o.push(...this._customActionsToSketchActions(e))),o}get _activeTool(){let i=this.selectionViewModel.activeOperation;if(i)switch(i.toolName){case"lasso":return"lasso-selection";case"rectangle":return"rectangle-selection";case"default":return"custom-selection"}if(!this.sketchViewModel)return;let{availableCreateTools:e}=this,{activeTool:t,activeCreateToolDrawMode:o}=this.sketchViewModel;return t==="polygon"&&o==="freehand"&&e?.includes("freehandPolygon")?"freehandPolygon":t==="polyline"&&o==="freehand"&&e?.includes("freehandPolyline")?"freehandPolyline":t??void 0}get _selectionCommands(){let{state:i,visibleElements:e,_activeSelectionTool:t,_customActions:o}=this,s=this.state==="disabled",c=[];this.sketchViewModel?.updateOnGraphicClick!==!1&&c.push({active:i==="ready"&&this._activeSelectionTool==null,disabled:s,icon:"cursor",labelKey:"selectFeature",onClick:()=>this._activateDefaultSelectionTool()});let p=e.selectionTools;p["rectangle-selection"]&&c.push({active:t==="rectangle-selection",disabled:s,icon:"cursor-marquee",labelKey:"rectangleSelection",onClick:()=>this._activateSelectionTool("rectangle-selection")}),p["lasso-selection"]&&c.push({active:t==="lasso-selection",disabled:s,icon:"lasso-select",labelKey:"lassoSelection",onClick:()=>this._activateSelectionTool("lasso-selection")});let d=o?.get("selection-toolbar");return d&&c.push(...this._customActionsToSketchActions(d)),c}get _selectionSetActions(){let i=this.sketchViewModel?.updateGraphics.length??0;if(!i)return[];let e=this.state==="disabled",t=[],o=this._customActions?.get("before-selection-set"),s=this._customActions?.get("after-selection-set");return this.visibleElements.selectionCountLabel&&t.push({active:!1,appearance:"outline",disabled:e,icon:"selection-x",kind:"brand",labelKey:"deselectCount",labelParameters:{count:i},textEnabled:!0,renderAsAction:!0,onClick:()=>this._cancelSketchOperation()}),o&&t.push(...this._customActionsToSketchActions(o)),this.visibleElements.duplicateButton&&t.push({active:!1,disabled:e,icon:"copy",renderAsAction:!0,labelKey:i>1?"duplicateFeatures":"duplicateFeature",onClick:()=>this._duplicate()}),this.visibleElements.deleteButton&&t.push({active:!1,disabled:e,icon:"trash",kind:"danger",renderAsAction:!0,labelKey:i>1?"deleteFeatures":"deleteFeature",onClick:()=>this._delete()}),s&&t.push(...this._customActionsToSketchActions(s)),t}get _undoRedoActions(){return this.visibleElements.undoRedoMenu?[{active:!1,disabled:this.state==="disabled"||!this.sketchViewModel?.canUndo(),icon:"undo",labelKey:"undo",iconFlipRTL:!0,onClick:()=>this._undo()},{active:!1,disabled:this.state==="disabled"||!this.sketchViewModel?.canRedo(),icon:"redo",labelKey:"redo",iconFlipRTL:!0,onClick:()=>this._redo()}]:[]}get state(){return this._getEffectiveValue("state",()=>this._state)}get activeTool(){return this._getEffectiveValue("activeTool",()=>this._activeTool)}get activePluginIds(){return this._getEffectiveValue("activePluginId",()=>this._activePluginUniqueIds)}get groupedActions(){let i=this._getEffectiveValue("availableCommandGroups",()=>[["selectionTools",this._selectionToolActions],["createTools",this._createToolActions],["undoRedo",this._undoRedoActions],["settings",this._settingsActions],["selectionSet",this._selectionSetActions]].map(([t,o])=>({name:t,commands:o,visible:o.length>0}))),e=this._effectiveGeometrySimplificationInProgress?i.map(t=>({...t,commands:t.commands.map(o=>({...o,disabled:!0}))})):i;return!this.visibleElements.geometrySimplificationActivityIndicator||!this._effectiveGeometrySimplificationInProgress?e:[...e,{name:"geometrySimplification",commands:[{active:!1,appearance:"transparent",disabled:!0,kind:"warning",labelKey:"processing",loading:!0,onClick:()=>{},renderAsAction:!0}],visible:!0}]}async create(i,e){await this._executeWhenReady(async()=>{this.cancelAll();let t=this.sketchViewModel;t&&await C(t.create(i,e))})}async _executeWhenReady(i){this._pendingCommandAbortController?.abort();let e=new AbortController;this._pendingCommandAbortController=e;try{await C((async()=>{this.sketchViewModel?.geometrySimplificationInProgress&&await ye(()=>!this.sketchViewModel?.geometrySimplificationInProgress,e.signal),e.signal.aborted||await i()})())}finally{this._pendingCommandAbortController===e&&(this._pendingCommandAbortController=void 0)}}toggleSettingsPopover(){this.settingsPopoverOpen=!this.settingsPopoverOpen}setCustomTools(i,e){this._customToolOptions=i??void 0;let t=this._activeCustomToolOptions;if(t){let o=this._customToolOptions?.find(s=>s.toolKey===t.toolKey);o?this._activeCustomToolOptions=o:this.cancelAll()}if(e?.length){let o=new Map;for(let s of e)se(o,s.position,()=>[]).push(s);this._customActions=o}else this._customActions=void 0}cancelAll(){this._pendingCommandAbortController?.abort(),this._cancelSupportingOperations(),this.sketchViewModel?.cancel()}async update(i,e){await this._executeWhenReady(async()=>{let t=this.sketchViewModel;t&&await C(t.update(i,e))})}_activateDefaultSelectionTool(){this._executeWhenReady(()=>{this.cancelAll(),this.view?.focus()})}_cancelActiveOperation(){this._executeWhenReady(()=>this.cancelAll())}_cancelSketchOperation(){this._executeWhenReady(()=>this.sketchViewModel?.cancel())}_cancelSupportingOperations(){this.selectionViewModel.cancel(),this._activeCustomToolOptions=void 0}_activatePlugin(i){this._executeWhenReady(()=>{let e=this._activeCustomToolOptions!=null;this._cancelSupportingOperations();let t=this.sketchViewModel;if(t){if(e){t.cancel(),C(t.create(i));return}t.firstPluginWithSwappableLeaf?(t.replaceLeaf(i),this.view?.focus()):C(t.create(i))}})}_activateLegacyDrawTool(i,e,t){this._executeWhenReady(()=>{this._cancelSupportingOperations();let o=this.sketchViewModel;o&&(this._activeCustomToolOptions=t,C(o.create(i,e)))})}_activateSelectionTool(i){this._executeWhenReady(()=>{if(this._activeSelectionTool===i){this.selectionViewModel.cancel();return}this.cancelAll();let e={createTool:i==="lasso-selection"?"polygon":"rectangle",...i==="lasso-selection"?{mode:"hybrid",toolName:"lasso"}:{toolName:"rectangle"},type:"replace",selectOnComplete:!0};this.selectionViewModel.activate(e)&&this.view?.focus()})}_delete(){this._executeWhenReady(()=>this.sketchViewModel?.delete())}_duplicate(){this._executeWhenReady(()=>{this.sketchViewModel?.duplicate()})}_executeCustomAction(i){this._executeWhenReady(()=>i.onclick?.())}_redo(){this._executeWhenReady(()=>{this.sketchViewModel?.redo()})}_undo(){this._executeWhenReady(()=>{this.sketchViewModel?.undo()})}_customActionsToSketchActions(i){let e=this.state==="disabled";return i.map(t=>({active:t.active??!1,afterCreate:t.afterCreate,afterRemoved:t.afterRemoved,afterUpdate:t.afterUpdate,disabled:e||(t.disabled??!1),icon:t.icon,iconFlipRTL:t.flipRTL,id:t.id,labelKey:t.text,onClick:()=>this._executeCustomAction(t)}))}_pluginsToActions(i){let e=this.activePluginIds,t=this._activeCustomToolOptions,o=this.state==="disabled";return i.map(s=>({active:(e?.has(s.uniqueId)??!1)&&!t,icon:s.icon,disabled:o,labelKey:`digitizers.${s.localizationKey}`,onClick:()=>this._activatePlugin([s])}))}};r([h()],a.prototype,"_isEffectiveRenderStateFrozen",1);r([h()],a.prototype,"_effectiveGeometrySimplificationInProgress",2);r([h()],a.prototype,"_state",1);r([h()],a.prototype,"_customToolOptions",2);r([h()],a.prototype,"_activeCustomToolOptions",2);r([h()],a.prototype,"_customActions",2);r([h()],a.prototype,"selectionViewModel",2);r([h()],a.prototype,"_activeSelectionTool",1);r([h()],a.prototype,"_activePluginUniqueIds",1);r([h()],a.prototype,"_createToolActions",1);r([h()],a.prototype,"_shouldShowBackButton",1);r([h()],a.prototype,"_selectionToolActions",1);r([h()],a.prototype,"_settingsActions",1);r([h()],a.prototype,"_activeTool",1);r([h()],a.prototype,"_selectionCommands",1);r([h()],a.prototype,"_selectionSetActions",1);r([h()],a.prototype,"_undoRedoActions",1);r([h()],a.prototype,"sketchViewModel",2);r([h()],a.prototype,"visibleElements",2);r([h()],a.prototype,"view",2);r([h()],a.prototype,"settingsPopoverOpen",2);r([h()],a.prototype,"availableCreateTools",2);r([h()],a.prototype,"state",1);r([h()],a.prototype,"activeTool",1);r([h()],a.prototype,"activePluginIds",1);r([h()],a.prototype,"groupedActions",1);a=r([Te("components.sketch.SketchComponentViewModel")],a);var O=class extends z{#t;#e=!1;#i;constructor(e){if(super(e),e.type!==U.ELEMENT)throw new Error("nodeHooks() can only be used on elements")}render(e){return k}update(e,[t]){let o=e.element;if(!(o instanceof HTMLElement))throw new TypeError("nodeHooks() can only be used on HTMLElements");let s=this.#e?t.afterUpdate:t.afterCreate;return this.#t=o,this.#e=!0,this.#i=t,queueMicrotask(()=>{o.isConnected&&s?.(o)}),k}disconnected(){let e=this.#t,t=this.#i?.afterRemoved;!e||!t||queueMicrotask(()=>{e.isConnected||X(()=>t(e),{timeout:16})})}},oe=H(O),Re=Z(i=>new Ce({...i,cancelUpdateOnClickAway:!0,creationMode:"continuous",textSymbol:new me({text:"hello world"}),useLegacyCreateTools:!1})),L=class extends q{constructor(){super(),this.#t=new a,this.#o=S(),this.#s=S(),this._defaultGraphicsLayer=null,this._messages=Y(),this.test={componentViewModel:this.#t},this._groupLayoutPriorityOverrides=new Map,this._contextualToolLocation="separate",this._refMap=be(),this.viewModel=Re(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.createGraphic=this.viewModel.createGraphic,this.creationMode=this.viewModel.creationMode,this.defaultCreateOptions=this.viewModel.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.viewModel.defaultUpdateOptions,this.geometrySimplificationInProgress=this.viewModel.geometrySimplificationInProgress,this.icon="pencil",this.label=this._messages?.componentLabel,this.labelOptions=this.viewModel.labelOptions,this.layer=this.viewModel.layer,this.layout="horizontal",this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.visualScale="m",this.snappingOptions=this.viewModel.snappingOptions,this.textSymbol=this.viewModel.textSymbol,this.toolbarKind="floating",this.tooltipOptions=this.viewModel.tooltipOptions,this.useViewOptions=this.viewModel.useViewOptions,this.valueOptions=this.viewModel.valueOptions,this.useLegacyCreateTools=this.viewModel.useLegacyCreateTools,this.updateOnGraphicClickDisabled=this.viewModel.updateOnGraphicClick,this.updateGraphics=this.viewModel.updateGraphics,this.arcgisCreate=y(()=>this.viewModel,"create"),this.arcgisDelete=y(()=>this.viewModel,"delete"),this.arcgisDuplicate=y(()=>this.viewModel,"duplicate"),this.arcgisPropertyChange=Q()("activeTool","geometrySimplificationInProgress","state"),this.arcgisReady=F(),this.arcgisRedo=y(()=>this.viewModel,"redo"),this.arcgisUndo=y(()=>this.viewModel,"undo"),this.arcgisUpdate=y(()=>this.viewModel,"update"),J(["slot"],()=>{this.requestUpdate()}),this.manager.onLifecycle(()=>[m(()=>this.el.view?.map,(e,t)=>{let o=this._defaultGraphicsLayer;o&&(t?.allLayers.includes(o)&&t.remove(o),o&&!e?.allLayers.includes(o)&&e?.add(o))}),m(()=>this.el.view,e=>{this.viewModel.view=e,this.#t.view=e??void 0},{initial:!0}),m(()=>this.viewModel,e=>{this.#t.sketchViewModel=e,this.viewModel.pluginManager.sketch=this},{initial:!0}),m(()=>this.#t.state,(e,t)=>{this.requestUpdate("state",t)},{initial:!0}),m(()=>this.#t.activeTool,()=>this.arcgisPropertyChange.emit({name:"activeTool"}),{sync:!0})]),this.manager.onDestroy(()=>{this._defaultGraphicsLayer&&this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer)&&this.el.view?.map?.remove(this._defaultGraphicsLayer),this._defaultGraphicsLayer?.destroy(),this._defaultGraphicsLayer=null,this.#t.destroy()})}static{this.properties={_groupLayoutPriorityOverrides:16,_contextualToolLocation:16,_refMap:16,viewModel:0,view:0,activeTool:32,autoDestroyDisabled:5,visibleElements:0,availableCreateTools:0,createGraphic:32,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,geometrySimplificationInProgress:36,hideCreateToolsCircle:5,hideCreateToolsMultipoint:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideDeleteButton:5,hideSelectionCountLabel:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSinglePluginBackButton:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideSnappingControlsElementsGridEnabledToggle:5,hideSnappingControlsElementsGridControls:5,hideSnappingControlsElementsGridControlsElementsColorSelection:5,hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle:5,hideSnappingControlsElementsGridControlsElementsLineIntervalInput:5,hideSnappingControlsElementsGridControlsElementsNumericInputs:5,hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning:5,hideSnappingControlsElementsGridControlsElementsPlacementButtons:5,hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,referenceElement:1,relativePosition:1,scale:1,visualScale:1,showSnappingControlsElementsHeader:5,showCreateToolsFreehandPolygon:5,showCreateToolsFreehandPolyline:5,showCreateToolsText:5,hideGeometrySimplificationActivityIndicator:5,snappingOptions:0,state:32,textSymbol:0,toolbarKind:1,tooltipOptions:0,useViewOptions:5,valueOptions:0,useLegacyCreateTools:5,updateOnGraphicClickDisabled:5,cancelUpdateOnClickAwayDisabled:5,updateGraphics:32}}static{this.styles=Me}#t;get#e(){return this.#t.visibleElements}#i;#o;#s;get activeTool(){return this.#t.activeTool}get visibleElements(){return this.#t.visibleElements}set visibleElements(e){this.#t.visibleElements=e}get availableCreateTools(){return this.#t.availableCreateTools}set availableCreateTools(e){this.#t.availableCreateTools=e}get hideCreateToolsCircle(){return!this.#e.createTools.circle}set hideCreateToolsCircle(e){this.#e.createTools.circle=!e}get hideCreateToolsMultipoint(){return!this.#e.createTools.multipoint}set hideCreateToolsMultipoint(e){this.#e.createTools.multipoint=!e}get hideCreateToolsPoint(){return!this.#e.createTools.point}set hideCreateToolsPoint(e){this.#e.createTools.point=!e}get hideCreateToolsPolygon(){return!this.#e.createTools.polygon}set hideCreateToolsPolygon(e){this.#e.createTools.polygon=!e}get hideCreateToolsPolyline(){return!this.#e.createTools.polyline}set hideCreateToolsPolyline(e){this.#e.createTools.polyline=!e}get hideCreateToolsRectangle(){return!this.#e.createTools.rectangle}set hideCreateToolsRectangle(e){this.#e.createTools.rectangle=!e}get hideDuplicateButton(){return!this.#e.duplicateButton}set hideDuplicateButton(e){this.#e.duplicateButton=!e}get hideDeleteButton(){return!this.#e.deleteButton}set hideDeleteButton(e){this.#e.deleteButton=!e}get hideSelectionCountLabel(){return!this.#e.selectionCountLabel}set hideSelectionCountLabel(e){this.#e.selectionCountLabel=!e}get hideLabelsToggle(){return!this.#e.labelsToggle}set hideLabelsToggle(e){this.#e.labelsToggle=!e}get hideSelectionToolsLassoSelection(){return!this.#e.selectionTools["lasso-selection"]}set hideSelectionToolsLassoSelection(e){this.#e.selectionTools["lasso-selection"]=!e}get hideSelectionToolsRectangleSelection(){return!this.#e.selectionTools["rectangle-selection"]}set hideSelectionToolsRectangleSelection(e){this.#e.selectionTools["rectangle-selection"]=!e}get hideSettingsMenu(){return!this.#e.settingsMenu}set hideSettingsMenu(e){this.#e.settingsMenu=!e}get hideSinglePluginBackButton(){return!this.#e.singlePluginBackButton}set hideSinglePluginBackButton(e){this.#e.singlePluginBackButton=!e}get hideSnappingControls(){return!this.#e.snappingControls}set hideSnappingControls(e){this.#e.snappingControls=!e}get hideSnappingControlsElementsEnabledToggle(){return!this.#e.snappingControlsElements.enabledToggle}set hideSnappingControlsElementsEnabledToggle(e){this.#e.snappingControlsElements.enabledToggle=!e}get hideSnappingControlsElementsFeatureEnabledToggle(){return!this.#e.snappingControlsElements.featureEnabledToggle}set hideSnappingControlsElementsFeatureEnabledToggle(e){this.#e.snappingControlsElements.featureEnabledToggle=!e}get hideSnappingControlsElementsLayerList(){return!this.#e.snappingControlsElements.layerList}set hideSnappingControlsElementsLayerList(e){this.#e.snappingControlsElements.layerList=!e}get hideSnappingControlsElementsSelfEnabledToggle(){return!this.#e.snappingControlsElements.selfEnabledToggle}set hideSnappingControlsElementsSelfEnabledToggle(e){this.#e.snappingControlsElements.selfEnabledToggle=!e}get hideSnappingControlsElementsGridEnabledToggle(){return!this.#e.snappingControlsElements.gridEnabledToggle}set hideSnappingControlsElementsGridEnabledToggle(e){this.#e.snappingControlsElements.gridEnabledToggle=!e}get hideSnappingControlsElementsGridControls(){return!this.#e.snappingControlsElements.gridControls}set hideSnappingControlsElementsGridControls(e){this.#e.snappingControlsElements.gridControls=!e}get hideSnappingControlsElementsGridControlsElementsColorSelection(){return!this.#e.snappingControlsElements.gridControlsElements.colorSelection}set hideSnappingControlsElementsGridControlsElementsColorSelection(e){this.#e.snappingControlsElements.gridControlsElements.colorSelection=!e}get hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle(){return!this.#e.snappingControlsElements.gridControlsElements.dynamicScaleToggle}set hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle(e){this.#e.snappingControlsElements.gridControlsElements.dynamicScaleToggle=!e}get hideSnappingControlsElementsGridControlsElementsLineIntervalInput(){return!this.#e.snappingControlsElements.gridControlsElements.lineIntervalInput}set hideSnappingControlsElementsGridControlsElementsLineIntervalInput(e){this.#e.snappingControlsElements.gridControlsElements.lineIntervalInput=!e}get hideSnappingControlsElementsGridControlsElementsNumericInputs(){return!this.#e.snappingControlsElements.gridControlsElements.numericInputs}set hideSnappingControlsElementsGridControlsElementsNumericInputs(e){this.#e.snappingControlsElements.gridControlsElements.numericInputs=!e}get hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning(){return!this.#e.snappingControlsElements.gridControlsElements.outOfScaleWarning}set hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning(e){this.#e.snappingControlsElements.gridControlsElements.outOfScaleWarning=!e}get hideSnappingControlsElementsGridControlsElementsPlacementButtons(){return!this.#e.snappingControlsElements.gridControlsElements.placementButtons}set hideSnappingControlsElementsGridControlsElementsPlacementButtons(e){this.#e.snappingControlsElements.gridControlsElements.placementButtons=!e}get hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle(){return!this.#e.snappingControlsElements.gridControlsElements.rotateWithMapToggle}set hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle(e){this.#e.snappingControlsElements.gridControlsElements.rotateWithMapToggle=!e}get hideTooltipsToggle(){return!this.#e.tooltipsToggle}set hideTooltipsToggle(e){this.#e.tooltipsToggle=!e}get hideUndoRedoMenu(){return!this.#e.undoRedoMenu}set hideUndoRedoMenu(e){this.#e.undoRedoMenu=!e}get relativePosition(){let e=this.el.slot;return this.#i??(_e.has(e)?e:te.topRight)}set relativePosition(e){this.#i=e}get scale(){return this.visualScale}set scale(e){this.visualScale=e}get showSnappingControlsElementsHeader(){return this.#e.snappingControlsElements.header}set showSnappingControlsElementsHeader(e){this.#e.snappingControlsElements.header=e}get showCreateToolsFreehandPolygon(){return this.#e.createTools.freehandPolygon}set showCreateToolsFreehandPolygon(e){this.#e.createTools.freehandPolygon=e}get showCreateToolsFreehandPolyline(){return this.#e.createTools.freehandPolyline}set showCreateToolsFreehandPolyline(e){this.#e.createTools.freehandPolyline=e}get showCreateToolsText(){return this.#e.createTools.text}set showCreateToolsText(e){this.#e.createTools.text=e}get hideGeometrySimplificationActivityIndicator(){return!this.#e.geometrySimplificationActivityIndicator}set hideGeometrySimplificationActivityIndicator(e){this.#e.geometrySimplificationActivityIndicator=!e}get state(){return this.#t.state}get cancelUpdateOnClickAwayDisabled(){return!this.viewModel.cancelUpdateOnClickAway}set cancelUpdateOnClickAwayDisabled(e){this.viewModel.cancelUpdateOnClickAway=!e}async cancel(){this.#t.cancelAll()}async complete(){this.viewModel.complete()}async create(e,t){await this.#t.create(e,t)}async delete(){this.viewModel.delete()}async destroy(){await this.manager.destroy()}async dismissFloatingElements(){this.#t.settingsPopoverOpen=!1}async duplicate(){this.viewModel.duplicate()}async redo(){this.viewModel.redo()}async setContextualToolLocation(e){this._contextualToolLocation=e}async setCustomTools(e,t){this.#t.setCustomTools(e,t)}async setGroupCollapsePriorities(e){this._groupLayoutPriorityOverrides=e||new Map}async triggerUpdate(e,t){await this.#t.update(e,t)}async undo(){this.#t.sketchViewModel?.undo()}connectedCallback(){super.connectedCallback(),this.defaultGraphicsLayerDisabled||(this._defaultGraphicsLayer?.destroyed&&(this._defaultGraphicsLayer=null),this._defaultGraphicsLayer??=new ue({title:"Sketch Layer"}),this.layer=this._defaultGraphicsLayer,this.view?.map?.add(this.layer),this.viewModel.layer=this._defaultGraphicsLayer)}disconnectedCallback(){this._defaultGraphicsLayer&&this.view?.map?.allLayers.includes(this._defaultGraphicsLayer)&&this.view?.map?.remove(this._defaultGraphicsLayer),super.disconnectedCallback()}render(){let e=this._refMap.get("settings")?.value?.actionElement,t=this.#t.groupedActions,{visualScale:o,layout:s,toolbarKind:c,relativePosition:p,_contextualToolLocation:d}=this,l=t.find(({name:n})=>n==="selectionSet"),g=t.filter(({name:n})=>n!=="selectionSet");return u`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${c} .relativePosition=${p} .scale=${o} tooltip-appearance=calcite><arcgis-toolbar ${E(this.#o)}>${f({hidden:!l?.visible||d!=="inline",children:this._renderActionGroup(l)})}${g.map(n=>this._renderActionGroup(n))}${f({hidden:!l?.visible||d!=="inline-end",children:this._renderActionGroup(l)})}</arcgis-toolbar>${f({hidden:!l?.visible||d!=="separate",children:u`<arcgis-toolbar>${this._renderActionGroup(l)}</arcgis-toolbar>`})}</arcgis-toolbar-stack></div>${f({hidden:this.hideSettingsMenu,children:u`<arcgis-view-popover .open=${this.#t.settingsPopoverOpen} closable .heading=${this._messages.settings?.heading} .label=${this._messages.settings?.heading} .anchorElement=${e} .visualScale=${o} .actionBarElement=${this.#o.value?.barElement} @arcgisPropertyChange=${n=>this.#t.settingsPopoverOpen=n.target.open??!1} .view=${this.view??void 0}>${this._renderSettings()}</arcgis-view-popover>`})}`}_renderSettings(){let{autoDestroyDisabled:e,hideLabelsToggle:t,hideSnappingControls:o,hideTooltipsToggle:s,showSnappingControlsElementsHeader:c,useViewOptions:p,view:d,viewModel:l}=this;return u`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${p||s} .directionMode=${l.valueOptions.directionMode} .labelsEnabled=${l.labelOptions.enabled} .tooltipsEnabled=${l.tooltipOptions.enabled} @arcgisPropertyChange=${g=>{g.stopPropagation();let{labelsEnabled:n,tooltipsEnabled:w,directionMode:_}=g.currentTarget,b=this.viewModel;switch(g.detail.name){case"labelsEnabled":b.labelOptions.enabled=n;break;case"directionMode":b.valueOptions.directionMode=_;break;case"tooltipsEnabled":b.tooltipOptions.enabled=w;break}}}></arcgis-sketch-tooltip-controls>${!p&&!o?u`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${d} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${l.snappingOptions} .showHeader=${c} @arcgisPropertyChange=${g=>g.stopPropagation()}></arcgis-snapping-controls>`:void 0}</div>`}_renderActionGroup({visible:e,commands:t,name:o}){if(!e||!t.length)return;let{defaultPriority:s,groupKind:c,overflowLabel:p}=ke[o],d=(o==="geometrySimplification"?void 0:this._groupLayoutPriorityOverrides.get(o))??s,l=t.map(n=>this._renderCommand(n)),g=ie(`more.${p}`,this._messages);switch(c){case"more-button":return u`<arcgis-toolbar-group .priority=${d}><arcgis-toolbar-more-button .overflowActionLabel=${g} .priority=${d}>${l}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;case"split-button":return u`<arcgis-toolbar-group .priority=${d}><arcgis-toolbar-split-button .overflowActionLabel=${g} .priority=${d}>${l}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;case"actions":return u`<arcgis-toolbar-group .priority=${d}>${l}</arcgis-toolbar-group>`}}_renderCommand({active:e,afterCreate:t,afterRemoved:o,afterUpdate:s,appearance:c,icon:p,disabled:d,id:l,kind:g,labelKey:n,labelParameters:w,loading:_,tooltipKey:b,iconFlipRTL:G,onClick:$,refKey:R,textEnabled:V,renderAsAction:ne}){let{_messages:x,_refMap:le,layout:I}=this,M=ie(n,x),P=M===void 0?n:w?ge(M,w):M,D=x?.[b]??P,B=R?se(le,R,S):this.#s,K={afterCreate:t,afterRemoved:o,afterUpdate:s};return ne?u`<arcgis-toolbar-action .active=${e} .appearance=${c} .disabled=${d} .icon=${p} .iconFlipRtl=${G} id=${l??A} .kind=${g} .loading=${_} .labelText=${I==="horizontal"?P:""} .textEnabled=${V} .tooltipText=${I==="horizontal"&&V?"":D} @arcgisToolbarItemSelected=${$} ${oe(K)} ${E(B)}></arcgis-toolbar-action>`:u`<arcgis-toolbar-item .active=${e} .disabled=${d} .icon=${p} id=${l??A} .iconFlipRtl=${G} .labelText=${P} .tooltipText=${D} @arcgisItemSelected=${$} ${oe(K)} ${E(B)}></arcgis-toolbar-item>`}};j("arcgis-sketch",L);return L},"intl","layers/GraphicsLayer","symbols/TextSymbol","core/reactiveUtils","widgets/Sketch/SketchViewModel","applications/Components/featureUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","widgets/Sketch/VisibleElements","widgets/support/SelectionToolbar/SelectionToolbarViewModel",a,b,c,d,e,g)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as r}from"./J4CHCFLS.js";import"./XHOI3WNI.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import{b as u}from"./ZKWI43WZ.js";import{N as c,O as h,P as m,X as f,a as l,b as i,n,p as o}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([g])=>{var d=l`:host{height:100%}calcite-flow{height:100%}calcite-panel{--calcite-panel-space: 0}slot::slotted(arcgis-utility-network-trace-results){block-size:auto}slot::slotted(:not(arcgis-utility-network-trace-results,slot)){display:none}`,a=class extends m{constructor(){super(...arguments),this.#t=c(),this.flowItems=new g,this.hideWarnings=!1}static{this.properties={flowItems:32,hideWarnings:5}}static{this.styles=d}#t;get#e(){let{parentElement:t}=this.el;if(t&&r(t))return t;let e=this.el.getRootNode();if(e instanceof ShadowRoot&&r(e.host))return e.host}load(){this.manager.onLifecycle(()=>{let t=this.#e;return t&&n(()=>this.flowItems=t.flowItems),[this.flowItems.on("change",e=>{let s=this.#t.value;e.added.length&&s?.selected&&(s.selected=!1),this.requestUpdate()})]})}#s(t){if(this.hideWarnings)return;let e=u(t);if(!e.length){o("warn",this,"No elements are assigned to the default slot to render.");return}e.filter(s=>s.localName!=="arcgis-utility-network-trace-results").length&&o("warn",this,"The trace results pane only renders instances of `arcgis-utility-network-trace-results`.")}render(){let t=i`<calcite-flow-item ${h(this.#t)}><calcite-panel><slot @slotchange=${this.#s}></slot></calcite-panel></calcite-flow-item>`;return i`<calcite-flow>${t}${this.flowItems.toArray()}</calcite-flow>`}};f("arcgis-utility-network-trace-results-pane",a);return a},"core/Collection")