@esri/solutions-components 1.0.0-next.20250509 → 1.0.0-next.20250513.1

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 (426) hide show
  1. package/dist/cdn/{FARMWJ24.js → 23YKBWAC.js} +2 -2
  2. package/dist/cdn/{NLDJFYI7.js → 246GABX4.js} +2 -2
  3. package/dist/cdn/{S5633QFW.js → 2BYLFULE.js} +2 -2
  4. package/dist/cdn/{BGWVAQHN.js → 2DDJ2AFS.js} +2 -2
  5. package/dist/cdn/{3YWY5IJP.js → 2JBJHRHU.js} +2 -2
  6. package/dist/cdn/{XDCTTW2D.js → 2K3MMRXW.js} +2 -2
  7. package/dist/cdn/{55Q3UBSS.js → 2SMSSXCB.js} +2 -2
  8. package/dist/cdn/{UCYU2ZVX.js → 2T3QIT6S.js} +2 -2
  9. package/dist/cdn/2VM36EOG.js +4 -0
  10. package/dist/cdn/{YL5AS7IP.js → 36KGPYQP.js} +2 -2
  11. package/dist/cdn/{LXGUGDHR.js → 3CR3QCZT.js} +2 -2
  12. package/dist/cdn/{435C2RXR.js → 3HOUIYSB.js} +2 -2
  13. package/dist/cdn/{MEXCWFXO.js → 3MPH6U6A.js} +2 -2
  14. package/dist/cdn/{T5ZHBVTX.js → 3O5NME66.js} +1 -1
  15. package/dist/cdn/3QDSK6LK.js +18 -0
  16. package/dist/cdn/{ICLRLVVJ.js → 3SIKQBUD.js} +2 -2
  17. package/dist/cdn/{TXGHJPP2.js → 3TOH77TX.js} +2 -2
  18. package/dist/cdn/{TEJLYLG3.js → 3TUJ4JJ5.js} +2 -2
  19. package/dist/cdn/{7XWBWQ4G.js → 3ZAAVHR2.js} +2 -2
  20. package/dist/cdn/{YNA4CMIX.js → 44RAERGT.js} +2 -2
  21. package/dist/cdn/{6N4IY6RI.js → 47DEY33Q.js} +2 -2
  22. package/dist/cdn/{N5C5RKHD.js → 47XOSUMG.js} +2 -2
  23. package/dist/cdn/{Y5WPDAVU.js → 4AGFHRFX.js} +2 -2
  24. package/dist/cdn/{LKUFS2W4.js → 4DOBOTOA.js} +2 -2
  25. package/dist/cdn/{ZKLPV256.js → 4I2ETJ5R.js} +1 -1
  26. package/dist/cdn/4IU5MAMG.js +4 -0
  27. package/dist/cdn/{PKFNJGIN.js → 4JQ3EMVS.js} +2 -2
  28. package/dist/cdn/{SCPTYDM4.js → 4OCR3H4M.js} +2 -2
  29. package/dist/cdn/{5ORSO5QA.js → 4SXLUGVC.js} +2 -2
  30. package/dist/cdn/4T5G7D3M.js +18 -0
  31. package/dist/cdn/{BQTDT2CQ.js → 4WY233D6.js} +2 -2
  32. package/dist/cdn/{MMZK7VDY.js → 524EKBTA.js} +2 -2
  33. package/dist/cdn/{PULSXLXV.js → 52BCWQEA.js} +2 -2
  34. package/dist/cdn/52MJSDMV.js +18 -0
  35. package/dist/cdn/{OFJCPV4F.js → 5GGF35L5.js} +2 -2
  36. package/dist/cdn/{SDDCOLSE.js → 5O34KXSF.js} +2 -2
  37. package/dist/cdn/{QV3YJHLC.js → 5Z7R3XOW.js} +1 -1
  38. package/dist/cdn/{PRM3M7W3.js → 65GRV5ZI.js} +2 -2
  39. package/dist/cdn/{4AB2653C.js → 66TACLFN.js} +2 -2
  40. package/dist/cdn/{7VLWDHRA.js → 67LEPSGW.js} +2 -2
  41. package/dist/cdn/{GZ5DMBN5.js → 6CYK6BB7.js} +1 -1
  42. package/dist/cdn/{EUPHXLZZ.js → 6HKXUI6P.js} +2 -2
  43. package/dist/cdn/{YV2KVYYD.js → 6JLMDDJ5.js} +2 -2
  44. package/dist/cdn/{XGZPINBJ.js → 6YQEXU32.js} +2 -2
  45. package/dist/cdn/{XW5NNESC.js → 743KENLL.js} +2 -2
  46. package/dist/cdn/{XXMXWRAP.js → 74BFRFR6.js} +4 -4
  47. package/dist/cdn/{XRAHMMYT.js → 74OAFWYK.js} +2 -2
  48. package/dist/cdn/{T24JMSJB.js → 762BKOZV.js} +2 -2
  49. package/dist/cdn/{7K7DN72W.js → 7BAB326V.js} +2 -2
  50. package/dist/cdn/{7UIUIVMT.js → 7EV7MOH7.js} +2 -2
  51. package/dist/cdn/7NJWTG5Q.js +18 -0
  52. package/dist/cdn/{U25OTDOD.js → 7POMEGOT.js} +2 -2
  53. package/dist/cdn/{V2TJSNNS.js → 7QIW3X3J.js} +2 -2
  54. package/dist/cdn/{AW6GVVCK.js → 7TXDKHSR.js} +2 -2
  55. package/dist/cdn/{MESJIE5F.js → 7TZTFXYB.js} +2 -2
  56. package/dist/cdn/{62J73NXR.js → 7ZWQ5RIA.js} +2 -2
  57. package/dist/cdn/{BY4EXEJG.js → AEJKH2N4.js} +2 -2
  58. package/dist/cdn/{4OGYUVGQ.js → AFRKXBZK.js} +2 -2
  59. package/dist/cdn/ANP7AZFG.js +18 -0
  60. package/dist/cdn/{E3HGKBP3.js → ARKBNGKH.js} +2 -2
  61. package/dist/cdn/{ECVA54TZ.js → ARTYQZHE.js} +1 -1
  62. package/dist/cdn/{FQOV67VE.js → AVRXN4UR.js} +2 -2
  63. package/dist/cdn/{N5VOILQX.js → AWLITXKE.js} +2 -2
  64. package/dist/cdn/{OHY2KQUC.js → AZKYXX53.js} +1 -1
  65. package/dist/cdn/{AXQXIZC6.js → B6EMT5VV.js} +2 -2
  66. package/dist/cdn/{4BCMHRMT.js → B7XFXDPR.js} +1 -1
  67. package/dist/cdn/{B4HJBJTA.js → BCWHIGGF.js} +2 -2
  68. package/dist/cdn/{J4DDOYKZ.js → BEUU4V47.js} +2 -2
  69. package/dist/cdn/{BOJK6ZXD.js → BK4S3RXL.js} +2 -2
  70. package/dist/cdn/{L5MZYQWZ.js → BMFQADY6.js} +2 -2
  71. package/dist/cdn/{2X42FQPI.js → BMT45QOY.js} +2 -2
  72. package/dist/cdn/{M4AI76NV.js → BRP2ZFTA.js} +2 -2
  73. package/dist/cdn/{CMUYK6L5.js → BS6MCVLT.js} +2 -2
  74. package/dist/cdn/{FXITJZAV.js → BTPTRXRA.js} +2 -2
  75. package/dist/cdn/{OT3XINKN.js → BVZUGCOI.js} +2 -2
  76. package/dist/cdn/{HT5EDB5V.js → BWXM7YAS.js} +2 -2
  77. package/dist/cdn/{67Y5XRJR.js → C3QQO3JT.js} +2 -2
  78. package/dist/cdn/{KBTESCN4.js → C3XQ4X7S.js} +2 -2
  79. package/dist/cdn/{GWMI7SRU.js → C5KZI572.js} +2 -2
  80. package/dist/cdn/{HRXRBE4J.js → CBESNLSQ.js} +2 -2
  81. package/dist/cdn/{CN4P5DTP.js → CCTVQ7J6.js} +2 -2
  82. package/dist/cdn/{PNBUAOL6.js → CLOM3LFK.js} +2 -2
  83. package/dist/cdn/{MHO2Y7KN.js → CT7VEZDK.js} +2 -2
  84. package/dist/cdn/{FSQQ2APB.js → CXYY2U43.js} +2 -2
  85. package/dist/cdn/{HLQ3GGP4.js → D2LLTH6P.js} +2 -2
  86. package/dist/cdn/{6QAU4NYR.js → D6E3WEYR.js} +3 -3
  87. package/dist/cdn/{JDI4Y7XL.js → DADLOUNZ.js} +2 -2
  88. package/dist/cdn/{2452KO7J.js → DHRLL7NQ.js} +2 -2
  89. package/dist/cdn/DJLABPFC.js +18 -0
  90. package/dist/cdn/{NL5SZJG7.js → DKBSVQN3.js} +2 -2
  91. package/dist/cdn/{RZODPKW4.js → DNUOMN67.js} +1 -1
  92. package/dist/cdn/{A6DMHYOF.js → DOSGDH3U.js} +2 -2
  93. package/dist/cdn/{FPGTD47W.js → DPO6UDKC.js} +2 -2
  94. package/dist/cdn/{XHNH4HWU.js → DQEAYFAF.js} +2 -2
  95. package/dist/cdn/{4DMLN7C7.js → DUMJIXV7.js} +1 -1
  96. package/dist/cdn/{4FGMEAIW.js → DVK7WGWJ.js} +1 -1
  97. package/dist/cdn/{XDHR67UO.js → DX2VURSL.js} +2 -2
  98. package/dist/cdn/DXOLFQBJ.js +4 -0
  99. package/dist/cdn/{HBOTGKBU.js → DYDTMS5A.js} +2 -2
  100. package/dist/cdn/{PIIFPRWS.js → E5J3LXUI.js} +2 -2
  101. package/dist/cdn/{VPXUKOUC.js → EKWMSR5N.js} +2 -2
  102. package/dist/cdn/{BCXBJG72.js → ELHHO2HG.js} +1 -1
  103. package/dist/cdn/{YJF3FQQW.js → EMLYWNKX.js} +2 -2
  104. package/dist/cdn/EQ7BO6C2.js +4 -0
  105. package/dist/cdn/{YZON6FQX.js → F2TP7D3Z.js} +1 -1
  106. package/dist/cdn/{C5NISEHO.js → F4CZ5GDH.js} +2 -2
  107. package/dist/cdn/{VDIZRWGH.js → F4S54KIN.js} +2 -2
  108. package/dist/cdn/{2Q5FUL4Y.js → F7TRMIZC.js} +2 -2
  109. package/dist/cdn/{VAQQRDFO.js → FGM64GKL.js} +1 -1
  110. package/dist/cdn/{MNNNZZVI.js → FN3PUVIO.js} +2 -2
  111. package/dist/cdn/{XRNUZ7HG.js → FQA6EV3F.js} +2 -2
  112. package/dist/cdn/FQQPKFKR.js +18 -0
  113. package/dist/cdn/{3K5XH7WO.js → FW3OFREF.js} +1 -1
  114. package/dist/cdn/{DGJOUZR5.js → GD5M2FA3.js} +1 -1
  115. package/dist/cdn/{LDD3KF7W.js → GMYAKEAU.js} +2 -2
  116. package/dist/cdn/{UB2OSPCQ.js → GU775YRY.js} +1 -1
  117. package/dist/cdn/{HIYSQGTK.js → H2XZ5TPS.js} +2 -2
  118. package/dist/cdn/{K7L3LTTD.js → HDVUMH4E.js} +1 -1
  119. package/dist/cdn/{35P6UDSV.js → HFGSRQ53.js} +2 -2
  120. package/dist/cdn/{J7OFNHJE.js → HGJHBG4H.js} +2 -2
  121. package/dist/cdn/{WVHATRWG.js → HQTPWCRI.js} +2 -2
  122. package/dist/cdn/{7XULXHRZ.js → HTFV4B6M.js} +2 -2
  123. package/dist/cdn/{BB4YELWP.js → IA5UUSGD.js} +2 -2
  124. package/dist/cdn/{P52HFT2R.js → IBDM4N5B.js} +2 -2
  125. package/dist/cdn/{4Y7P3RAH.js → ICNH5LLB.js} +2 -2
  126. package/dist/cdn/{WN3VAL43.js → ICTNZMXC.js} +1 -1
  127. package/dist/cdn/{R2HY3OH6.js → IEEDUG7D.js} +2 -2
  128. package/dist/cdn/{VM5WBDOI.js → IFS2FCRW.js} +2 -2
  129. package/dist/cdn/{JUNJFTAF.js → IQBIY4LU.js} +2 -2
  130. package/dist/cdn/{LPXJI3PA.js → IXYPSCHA.js} +2 -2
  131. package/dist/cdn/{RA4WYINA.js → J2AOE72O.js} +2 -2
  132. package/dist/cdn/{WO4T5EBB.js → JADH56DH.js} +2 -2
  133. package/dist/cdn/{J4VSSVNP.js → JAXLR4NG.js} +1 -1
  134. package/dist/cdn/{VPZT2JZV.js → JC5GPNKP.js} +2 -2
  135. package/dist/cdn/{36OJB33V.js → JKV6HJNN.js} +2 -2
  136. package/dist/cdn/{6KKLCZH2.js → JMWKZJCV.js} +2 -2
  137. package/dist/cdn/{WD2QCZTO.js → JO3TGX3S.js} +2 -2
  138. package/dist/cdn/{OPAFHR65.js → JQFYSHOL.js} +2 -2
  139. package/dist/cdn/{Z7PAFRTZ.js → JYBRQYQO.js} +2 -2
  140. package/dist/cdn/{CIN3SN7W.js → KAOZRVHT.js} +2 -2
  141. package/dist/cdn/KAP76DTH.js +4 -0
  142. package/dist/cdn/{U4IEKG5J.js → KBP3WSLN.js} +2 -2
  143. package/dist/cdn/{MLSL5LI5.js → KD4M5XSM.js} +2 -2
  144. package/dist/cdn/{R3UCIE4U.js → KDUEXCFJ.js} +1 -1
  145. package/dist/cdn/{GNY77HPF.js → KJUPNH26.js} +1 -1
  146. package/dist/cdn/{3WEGW5NC.js → KN3DG5N5.js} +2 -2
  147. package/dist/cdn/{7Q3MQPSX.js → KRLBHVWO.js} +2 -2
  148. package/dist/cdn/{UQD4DDWQ.js → KXKPHNIN.js} +2 -2
  149. package/dist/cdn/{JBUFFKQ4.js → L3CECNF2.js} +1 -1
  150. package/dist/cdn/L6ZKECRD.js +18 -0
  151. package/dist/cdn/{6EY4X2IO.js → LHQQTERG.js} +2 -2
  152. package/dist/cdn/{RJVJXKOB.js → LIY7L5HY.js} +2 -2
  153. package/dist/cdn/{S5WNRS3W.js → LJHTCGCE.js} +2 -2
  154. package/dist/cdn/{VFZGCM33.js → LJVAXK4D.js} +2 -2
  155. package/dist/cdn/LYF2DSS7.js +4 -0
  156. package/dist/cdn/{DMGLXTNG.js → M2IPXBJW.js} +2 -2
  157. package/dist/cdn/{4YNV3LL5.js → M2TI7O6U.js} +2 -2
  158. package/dist/cdn/{VY6VKUBS.js → M5IOEAD5.js} +2 -2
  159. package/dist/cdn/{5Y63RNHU.js → M7SGJ27H.js} +2 -2
  160. package/dist/cdn/MCBLASJ3.js +4 -0
  161. package/dist/cdn/{C6X2ECYU.js → MM4GYF2M.js} +2 -2
  162. package/dist/cdn/{D2Y2VYAA.js → MM73SXGN.js} +2 -2
  163. package/dist/cdn/{CPEOHMBH.js → MQYS3NXM.js} +2 -2
  164. package/dist/cdn/{RICWFBVP.js → MUVB5RUT.js} +2 -2
  165. package/dist/cdn/{EHYAB5QQ.js → MWVT5VTF.js} +2 -2
  166. package/dist/cdn/{7UEK3DXM.js → MYWEE66N.js} +2 -2
  167. package/dist/cdn/{6JI5OXDD.js → N7YKFWHI.js} +2 -2
  168. package/dist/cdn/{T5R3QU6B.js → NERPCGAI.js} +2 -2
  169. package/dist/cdn/{HVVFJDSU.js → NJJU4T5L.js} +2 -2
  170. package/dist/cdn/{EVSAWS5V.js → NLJKG426.js} +2 -2
  171. package/dist/cdn/{6YD2XRHQ.js → NMQL6RPI.js} +2 -2
  172. package/dist/cdn/{ZSPCCQU2.js → NRIFWRSL.js} +2 -2
  173. package/dist/cdn/{BIRQOSZD.js → NTLHACLF.js} +2 -2
  174. package/dist/cdn/{CQFOO7QD.js → NUCM6ABX.js} +3 -3
  175. package/dist/cdn/{INDFSGPY.js → NYYKUTZ2.js} +2 -2
  176. package/dist/cdn/{RCSNQFCR.js → OJ6AH4AP.js} +2 -2
  177. package/dist/cdn/{ICETJ5L7.js → OOKZNHYN.js} +1 -1
  178. package/dist/cdn/{IML67XC5.js → OWP2RUTT.js} +2 -2
  179. package/dist/cdn/{WRRMV4PI.js → OXFWSAQC.js} +2 -2
  180. package/dist/cdn/{UTMLE3SN.js → P3NUNSXP.js} +2 -2
  181. package/dist/cdn/{H2PYJODK.js → P5SS2UTJ.js} +2 -2
  182. package/dist/cdn/{SBBAYIA5.js → PCLM5T4X.js} +2 -2
  183. package/dist/cdn/{OBYUVAOE.js → PFQ3QFCX.js} +2 -2
  184. package/dist/cdn/{CD2S6EUP.js → PHNR5GQ7.js} +2 -2
  185. package/dist/cdn/{BKTDSQ5E.js → PKRP2ZND.js} +2 -2
  186. package/dist/cdn/{USCS7ZOZ.js → PW2VRRCC.js} +2 -2
  187. package/dist/cdn/PWU7JUQ7.js +4 -0
  188. package/dist/cdn/{2SNN45WE.js → Q3SDKCO5.js} +1 -1
  189. package/dist/cdn/Q4LK4Y27.js +18 -0
  190. package/dist/cdn/{SNDF7YMU.js → Q7ODV6KG.js} +2 -2
  191. package/dist/cdn/{BIOS2V5G.js → QCY5Q4DC.js} +2 -2
  192. package/dist/cdn/{SJ2L7I4D.js → QIQDU5TD.js} +2 -2
  193. package/dist/cdn/QKA6L5H2.js +18 -0
  194. package/dist/cdn/{KPRSMUMQ.js → QKEAWMVG.js} +2 -2
  195. package/dist/cdn/{CHZ5YCRR.js → QMDSZ7FM.js} +2 -2
  196. package/dist/cdn/{LZCG3PUX.js → QMZEUTLX.js} +1 -1
  197. package/dist/cdn/{WFKJMOI2.js → QN47PAEX.js} +2 -2
  198. package/dist/cdn/{IJWNOINQ.js → QQ5XIIVB.js} +2 -2
  199. package/dist/cdn/{2VIYUPNY.js → QRQDRKIY.js} +2 -2
  200. package/dist/cdn/{D73KUPSF.js → QUP6DAHI.js} +2 -2
  201. package/dist/cdn/{5EH5ABNA.js → R2H5RSJ2.js} +1 -1
  202. package/dist/cdn/{YZGAFNYP.js → R2JFZODC.js} +2 -2
  203. package/dist/cdn/{HEFARXFW.js → RBCCFTZL.js} +2 -2
  204. package/dist/cdn/{7KQNE4LS.js → RK2A2EVN.js} +2 -2
  205. package/dist/cdn/{UPR4UPDN.js → RKMNK4LY.js} +2 -2
  206. package/dist/cdn/{4TKVQNTQ.js → RWUIYZW7.js} +3 -3
  207. package/dist/cdn/{ITBKHXR7.js → SCZ6RNHE.js} +1 -1
  208. package/dist/cdn/{JH6EUNS3.js → SFM44CFT.js} +2 -2
  209. package/dist/cdn/{G466QX4L.js → SHCFADDZ.js} +1 -1
  210. package/dist/cdn/{X4BR4G2Q.js → SMHCAJLS.js} +2 -2
  211. package/dist/cdn/{424PZHQ5.js → SOTTOWSO.js} +2 -2
  212. package/dist/cdn/{JZMP2SNN.js → SPDLS67W.js} +2 -2
  213. package/dist/cdn/{RJDRQW52.js → SYY2ZMAO.js} +2 -2
  214. package/dist/cdn/{HIIYUUEW.js → T2ZDNBN5.js} +2 -2
  215. package/dist/cdn/{C2KBDSIZ.js → TASEETLT.js} +1 -1
  216. package/dist/cdn/{TYTGBM6D.js → TGKBXQFJ.js} +1 -1
  217. package/dist/cdn/{RQF4KGJG.js → TGPT6425.js} +2 -2
  218. package/dist/cdn/{25QPPKFI.js → THV6PWO2.js} +2 -2
  219. package/dist/cdn/{EOR6FMKC.js → TVA5RLDT.js} +2 -2
  220. package/dist/cdn/{27QJLMW3.js → TWXMTERQ.js} +2 -2
  221. package/dist/cdn/{PUYHWBNK.js → U2VNJ7F6.js} +2 -2
  222. package/dist/cdn/{OVDKGSOB.js → U5CODQHI.js} +2 -2
  223. package/dist/cdn/{5G5LFIDR.js → U7PVKGZW.js} +2 -2
  224. package/dist/cdn/{RV3Y5Y43.js → UBMZTDIG.js} +2 -2
  225. package/dist/cdn/{ZJMDC5EX.js → UCLIEM25.js} +2 -2
  226. package/dist/cdn/{SAK5E7EM.js → UFMXTBV5.js} +2 -2
  227. package/dist/cdn/{NLKCNLQB.js → UFXHNUVA.js} +2 -2
  228. package/dist/cdn/{ARPKSGRG.js → UIY6JQVD.js} +2 -2
  229. package/dist/cdn/{SHTM5TBH.js → UNKRKQGZ.js} +2 -2
  230. package/dist/cdn/{KAPZF4E2.js → UVWG3C2B.js} +1 -1
  231. package/dist/cdn/{ZX2WVODB.js → UZT7DBX5.js} +2 -2
  232. package/dist/cdn/{6EA3DB3O.js → UZURAIZS.js} +2 -2
  233. package/dist/cdn/{M7ALE6KV.js → V4OFJDAH.js} +2 -2
  234. package/dist/cdn/{LECLO3XE.js → V66DC2RZ.js} +2 -2
  235. package/dist/cdn/{FBXVZ63D.js → V7IFHU6D.js} +2 -2
  236. package/dist/cdn/{JEOWOFGV.js → VBBBC5BC.js} +2 -2
  237. package/dist/cdn/{IKUXIIBQ.js → VCPH6BNX.js} +2 -2
  238. package/dist/cdn/{BPEEKBR7.js → VEH7MCF4.js} +2 -2
  239. package/dist/cdn/{7HCBMOJG.js → VQRIVYMR.js} +2 -2
  240. package/dist/cdn/{EFTUD2CV.js → VRSOFLBM.js} +2 -2
  241. package/dist/cdn/VSY4FDGY.js +18 -0
  242. package/dist/cdn/{HZSTATBW.js → W2BBALTD.js} +2 -2
  243. package/dist/cdn/{7RMNWPCQ.js → W4CDQBTA.js} +2 -2
  244. package/dist/cdn/{F5K2FGR2.js → WKEGSNNF.js} +1 -1
  245. package/dist/cdn/WTQ7BZT3.js +18 -0
  246. package/dist/cdn/{DWRH76JT.js → X4VJZ3Q6.js} +2 -2
  247. package/dist/cdn/{5X6XSS3G.js → XCC7EMQO.js} +2 -2
  248. package/dist/cdn/XFRJGRQ2.js +4 -0
  249. package/dist/cdn/{XQMS45RU.js → XKATHJUA.js} +2 -2
  250. package/dist/cdn/{2LIN3EFP.js → XPNMHAKP.js} +2 -2
  251. package/dist/cdn/{OSPYIY3S.js → XQ3FJCBS.js} +2 -2
  252. package/dist/cdn/{J5DECLUT.js → XQXPNULI.js} +1 -1
  253. package/dist/cdn/{Z4ZMVS45.js → XT4NY5DN.js} +2 -2
  254. package/dist/cdn/{47I7OHHF.js → XXMZR5G3.js} +1 -1
  255. package/dist/cdn/{J3AZ36S3.js → Y62AFNGV.js} +2 -2
  256. package/dist/cdn/{WMI6SFI3.js → Y7GXXND2.js} +2 -2
  257. package/dist/cdn/{Y4CROHYY.js → YC5MPBUM.js} +2 -2
  258. package/dist/cdn/{IM7QQB4B.js → YCUSWAJ3.js} +2 -2
  259. package/dist/cdn/{Z6MML6SM.js → YDZXBSPS.js} +1 -1
  260. package/dist/cdn/{KAET4R4I.js → YFTV5FQP.js} +1 -1
  261. package/dist/cdn/{SVZ6DPGA.js → YNV6UHCS.js} +2 -2
  262. package/dist/cdn/{AZHIE3R7.js → YT2UVLBQ.js} +2 -2
  263. package/dist/cdn/{3TUZLPWH.js → YZDPVYVB.js} +2 -2
  264. package/dist/cdn/{N75HIPXS.js → YZSZKD4O.js} +1 -1
  265. package/dist/cdn/ZAFJT72F.js +4 -0
  266. package/dist/cdn/{PBDY4N37.js → ZBD6UXKS.js} +2 -2
  267. package/dist/cdn/{V3V45HIT.js → ZBZY2YEI.js} +2 -2
  268. package/dist/cdn/{FLPPIESF.js → ZHA5K55V.js} +2 -2
  269. package/dist/cdn/{7L3RVANR.js → ZHW2F3VO.js} +2 -2
  270. package/dist/cdn/{TPTCOLFA.js → ZOFTKF6J.js} +2 -2
  271. package/dist/cdn/{5EZJ2DME.js → ZZV2JD2S.js} +2 -2
  272. package/dist/cdn/assets/selection-tool/t9n/messages.en.json +1 -0
  273. package/dist/cdn/assets/selection-tool/t9n/messages.json +1 -0
  274. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -0
  275. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -0
  276. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -0
  277. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -0
  278. package/dist/cdn/index.js +2 -2
  279. package/dist/chunks/common.js +1 -1
  280. package/dist/chunks/downloadUtils.js +1 -1
  281. package/dist/chunks/index.js +313 -405
  282. package/dist/chunks/interfaces.js +1 -1
  283. package/dist/chunks/loadModules.js +1 -1
  284. package/dist/chunks/mapViewUtils.js +19 -15
  285. package/dist/chunks/pciUtils.js +1 -1
  286. package/dist/chunks/popupUtils.js +1 -1
  287. package/dist/chunks/publicNotificationStore.js +1 -1
  288. package/dist/chunks/queryUtils.js +1 -1
  289. package/dist/chunks/runtime.js +1 -1
  290. package/dist/chunks/solution-store.js +1 -1
  291. package/dist/chunks/templates.js +1 -1
  292. package/dist/chunks/useT9n.js +1 -1
  293. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
  294. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  295. package/dist/components/basemap-gallery/customElement.js +1 -1
  296. package/dist/components/buffer-tools/customElement.js +1 -1
  297. package/dist/components/card-manager/customElement.d.ts +8 -5
  298. package/dist/components/card-manager/customElement.js +24 -20
  299. package/dist/components/consent-manager/customElement.js +1 -1
  300. package/dist/components/create-feature/customElement.d.ts +3 -3
  301. package/dist/components/create-feature/customElement.js +1 -1
  302. package/dist/components/create-related-feature/customElement.d.ts +2 -2
  303. package/dist/components/create-related-feature/customElement.js +1 -1
  304. package/dist/components/crowdsource-manager/customElement.d.ts +14 -2
  305. package/dist/components/crowdsource-manager/customElement.js +51 -43
  306. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  307. package/dist/components/deduct-calculator/customElement.js +1 -1
  308. package/dist/components/delete-button/customElement.js +1 -1
  309. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  310. package/dist/components/delete-dialog/customElement.js +9 -9
  311. package/dist/components/edit-card/customElement.d.ts +2 -2
  312. package/dist/components/edit-card/customElement.js +14 -11
  313. package/dist/components/feature-details/customElement.d.ts +2 -2
  314. package/dist/components/feature-details/customElement.js +1 -1
  315. package/dist/components/feature-list/customElement.js +1 -1
  316. package/dist/components/field-selection/customElement.js +3 -3
  317. package/dist/components/floor-filter/customElement.js +1 -1
  318. package/dist/components/info-card/customElement.d.ts +2 -2
  319. package/dist/components/info-card/customElement.js +1 -1
  320. package/dist/components/json-editor/customElement.js +1 -1
  321. package/dist/components/layer-list/customElement.js +1 -1
  322. package/dist/components/layer-table/customElement.d.ts +12 -2
  323. package/dist/components/layer-table/customElement.js +267 -148
  324. package/dist/components/layer-table/index.d.ts +3 -2
  325. package/dist/components/layer-table/index.js +3 -2
  326. package/dist/components/map-card/customElement.d.ts +10 -4
  327. package/dist/components/map-card/customElement.js +16 -16
  328. package/dist/components/map-draw-tools/customElement.d.ts +2 -2
  329. package/dist/components/map-draw-tools/customElement.js +1 -1
  330. package/dist/components/map-fullscreen/customElement.js +1 -1
  331. package/dist/components/map-layer-picker/customElement.d.ts +2 -2
  332. package/dist/components/map-layer-picker/customElement.js +14 -14
  333. package/dist/components/map-legend/customElement.js +1 -1
  334. package/dist/components/map-picker/customElement.js +3 -3
  335. package/dist/components/map-search/customElement.js +1 -1
  336. package/dist/components/map-select-tools/customElement.js +1 -1
  337. package/dist/components/map-tools/customElement.d.ts +13 -1
  338. package/dist/components/map-tools/customElement.js +25 -18
  339. package/dist/components/map-tools/index.d.ts +1 -0
  340. package/dist/components/map-tools/index.js +1 -0
  341. package/dist/components/pci-calculator/customElement.js +1 -1
  342. package/dist/components/pdf-download/customElement.js +1 -1
  343. package/dist/components/public-notification/customElement.js +1 -1
  344. package/dist/components/refine-selection/customElement.js +1 -1
  345. package/dist/components/selection-tool/customElement.d.ts +33 -0
  346. package/dist/components/selection-tool/customElement.js +96 -0
  347. package/dist/components/selection-tool/index.d.ts +1 -0
  348. package/dist/components/selection-tool/index.js +1 -0
  349. package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.d.ts +1 -1
  350. package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.js +5 -5
  351. package/dist/components/solution-configuration/customElement.js +1 -1
  352. package/dist/components/solution-configure-panel/customElement.js +1 -1
  353. package/dist/components/solution-configure-titles/customElement.js +1 -1
  354. package/dist/components/solution-contents/customElement.js +1 -1
  355. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  356. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  357. package/dist/components/solution-deploy-panel/customElement.d.ts +5 -0
  358. package/dist/components/solution-deploy-panel/customElement.js +44 -0
  359. package/dist/components/solution-deploy-panel/index.d.ts +2 -0
  360. package/dist/components/solution-deploy-panel/index.js +2 -0
  361. package/dist/components/solution-deployed-card/customElement.js +1 -1
  362. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  363. package/dist/components/solution-details-card/customElement.js +1 -1
  364. package/dist/components/solution-details-panel/customElement.js +1 -1
  365. package/dist/components/solution-item/customElement.js +1 -1
  366. package/dist/components/solution-item-accordion/customElement.js +1 -1
  367. package/dist/components/solution-item-details/customElement.js +1 -1
  368. package/dist/components/solution-item-icon/customElement.js +1 -1
  369. package/dist/components/solution-item-sharing/customElement.js +1 -1
  370. package/dist/components/solution-items-diagram/customElement.js +1 -1
  371. package/dist/components/solution-organization-variables/customElement.js +1 -1
  372. package/dist/components/solution-resource-item/customElement.js +1 -1
  373. package/dist/components/solution-snapshot-gallery/customElement.d.ts +5 -0
  374. package/dist/components/solution-snapshot-gallery/customElement.js +44 -0
  375. package/dist/components/solution-snapshot-gallery/index.d.ts +2 -0
  376. package/dist/components/solution-snapshot-gallery/index.js +2 -0
  377. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  378. package/dist/components/solution-template-data/customElement.js +1 -1
  379. package/dist/components/solution-variables/customElement.js +1 -1
  380. package/dist/components/solutions-all-panel/customElement.js +1 -1
  381. package/dist/components/solutions-all-shell/customElement.js +1 -1
  382. package/dist/components/solutions-article-panel/customElement.js +1 -1
  383. package/dist/components/solutions-articles/customElement.js +1 -1
  384. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  385. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  386. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  387. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  388. package/dist/components/spatial-ref/customElement.js +1 -1
  389. package/dist/components/store-manager/customElement.js +1 -1
  390. package/dist/docs/api.json +681 -119
  391. package/dist/docs/docs.json +653 -149
  392. package/dist/docs/vscode.html-custom-data.json +86 -17
  393. package/dist/docs/web-types.json +280 -93
  394. package/dist/index.d.ts +34 -3
  395. package/dist/index.js +1 -1
  396. package/dist/loader.js +14 -11
  397. package/dist/main.css +1 -1
  398. package/dist/types/lumina.d.ts +27 -9
  399. package/dist/types/preact.d.ts +31 -10
  400. package/dist/types/react.d.ts +35 -11
  401. package/dist/types/stencil.d.ts +27 -9
  402. package/dist/utils/mapViewUtils.d.ts +3 -3
  403. package/package.json +2 -2
  404. package/dist/cdn/264VRGT4.js +0 -4
  405. package/dist/cdn/2C7P2WBD.js +0 -18
  406. package/dist/cdn/2M24VYGB.js +0 -4
  407. package/dist/cdn/5AYUBL2S.js +0 -4
  408. package/dist/cdn/6ZWGS275.js +0 -18
  409. package/dist/cdn/7LZNQGFF.js +0 -4
  410. package/dist/cdn/ACRINRWW.js +0 -4
  411. package/dist/cdn/C5QHLRUF.js +0 -18
  412. package/dist/cdn/F44IFVB6.js +0 -18
  413. package/dist/cdn/ILUCOTQH.js +0 -18
  414. package/dist/cdn/LXIX3TNH.js +0 -4
  415. package/dist/cdn/N7WXVV7Y.js +0 -18
  416. package/dist/cdn/O2WO5RGW.js +0 -4
  417. package/dist/cdn/U4SNCZZB.js +0 -4
  418. package/dist/cdn/WSILAYSC.js +0 -18
  419. package/dist/cdn/XG3QLQ4I.js +0 -18
  420. package/dist/cdn/XZCQWFF2.js +0 -4
  421. package/dist/cdn/ZSNDJE3R.js +0 -8
  422. package/dist/cdn/ZWSG3QNV.js +0 -18
  423. /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.en.json +0 -0
  424. /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.json +0 -0
  425. /package/dist/components/{solution-arcticle-card → solution-article-card}/index.d.ts +0 -0
  426. /package/dist/components/{solution-arcticle-card → solution-article-card}/index.js +0 -0
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a}from"./4AB2653C.js";import{B as l,c as s,d as n,n as t,w as o}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var c=s`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.delete-modal{position:fixed}`,i=class extends o{constructor(){super(...arguments),this.ids=[],this.open=!1,this._isDeleting=!1,this._translations=a({name:"delete-dialog",blocking:!0}),this.editsComplete=t(),this.deleteDialogClose=t()}static{this.properties={ids:0,layer:0,open:5,_isDeleting:16,_translations:16}}static{this.styles=c}render(){let e=this.ids?.length===1?this._translations.confirmSingle:this._translations.confirmMultiple;return n`<calcite-dialog .heading=${this._translations.deleteFeature} kind=danger modal @calciteDialogClose=${()=>this._close()} .open=${this.open} width=s><div>${e}</div><calcite-button appearance=outline kind=danger @click=${()=>this._close()} slot=footer-end width=full>${this._translations.cancel}</calcite-button><calcite-button kind=danger .loading=${this._isDeleting} @click=${()=>void this._deleteFeatures()} slot=footer-end width=full>${this._translations.delete}</calcite-button></calcite-dialog>`}async _deleteFeatures(){if(this.layer){this._isDeleting=!0;let e=this.ids.map(r=>({objectId:Number(r)}));await this.layer.applyEdits({deleteFeatures:e}),this._isDeleting=!1,this._close(),this.editsComplete.emit("delete")}}_close(){this.open=!1,this.deleteDialogClose.emit()}};l("delete-dialog",i);export{i as DeleteDialog};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a,b as l}from"./AXQXIZC6.js";import{b as w}from"./ZKLPV256.js";import{a as u}from"./4AB2653C.js";import{B as _,c as p,d as r,f as m,w as g,x as o}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var S=p`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px #0000004d}.margin-bottom-1-2{margin-bottom:.5rem}`,c=class extends g{constructor(){super(...arguments),this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableSearch=!1,this.enableBasemap=!1,this.enableHome=!1,this.enableSingleExpand=!1,this.homeZoomToolsSize="m",this.layout="vertical",this.mapWidgetsSize="m",this.position="top-right",this.stackTools=!0,this.toolOrder=[],this._hasFloorInfo=!1,this._translations=u({name:"map-tools",blocking:!0}),this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1,this._basemapElement=a(),this._floorFilterElement=a(),this._fullscreenElement=a(),this._legendElement=a(),this._searchElement=a(),this._widgets=[]}static{this.properties={basemapConfig:0,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableSearch:5,enableBasemap:5,enableHome:5,enableSingleExpand:5,homeZoomToolsSize:1,layout:1,mapView:0,mapWidgetsSize:1,position:1,searchConfiguration:0,stackTools:5,toolOrder:0,_hasFloorInfo:16,_translations:16,_showTools:16,_showBasemapWidget:16,_showFloorFilter:16,_showFullscreen:16,_showLegendWidget:16,_showSearchWidget:16}}static{this.styles=S}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("_showBasemapWidget")&&(this.hasUpdated||this._showBasemapWidget!==!1)&&this._showBasemapWidgetWatchHandler(this._showBasemapWidget),e.has("_showFloorFilter")&&(this.hasUpdated||this._showFloorFilter!==!1)&&this._showFloorFilterWatchHandler(this._showFloorFilter),e.has("_showFullscreen")&&(this.hasUpdated||this._showFullscreen!==!1)&&this._showFullscreenWatchHandler(this._showFullscreen),e.has("_showLegendWidget")&&(this.hasUpdated||this._showLegendWidget!==!1)&&this._showLegendWidgetWatchHandler(this._showLegendWidget),e.has("_showSearchWidget")&&(this.hasUpdated||this._showSearchWidget!==!1)&&this._showSearchWidgetWatchHandler(this._showSearchWidget)}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._hasFloorInfo=this.mapView?.map?.floorInfo})}async _showBasemapWidgetWatchHandler(e){let s=this._basemapElement.value?this._basemapElement.value.basemapWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFloorFilterWatchHandler(e){let s=this._floorFilterElement.value?this._floorFilterElement.value.floorFilterWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFullscreenWatchHandler(e){let s=this._fullscreenElement.value?this._fullscreenElement.value.fullscreenWidget:void 0;s&&(e?s.viewModel.state==="ready"&&s.viewModel.enter():s.viewModel.state==="active"&&s.viewModel.exit())}async _showLegendWidgetWatchHandler(e){let s=this._legendElement.value?this._legendElement.value.legendWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showSearchWidgetWatchHandler(e){let s=this._searchElement.value?this._searchElement.value.searchWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async load(){await this._initModules()}render(){this._setZoomToolsSize();let e=this._showTools?"chevrons-up":"chevrons-down",s=this._showTools?"":"display-none",i=this._showSearchWidget?"":"display-none",t=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",d=this._showFullscreen?"":"display-none",b=this._showTools?this._translations.collapse:this._translations.expand,F=!this.enableBasemap&&!this.enableFullscreen&&!this.enableLegend&&!this.enableSearch?"display-none":"",W=this.enableSingleExpand?"margin-top-1-2":"",f=this.toolOrder?this.toolOrder:["legend","search","fullscreen","floorfilter"],v=this.stackTools?"box-shadow":"";return r`<div class=${o(F)}>${this.enableSingleExpand?r`<div class="box-shadow">${this._getActionGroup(e,!1,b||"",()=>this._toggleTools())}</div>`:void 0}<div class=${`${W} ${v} ${s}`}>${this._getMapWidgets(f)}</div></div><basemap-gallery .basemapConfig=${this.basemapConfig} class=${o(t)} .mapView=${this.mapView} ${l(this._basemapElement)}></basemap-gallery><map-search class=${o(i)} .mapView=${this.mapView} result-graphic-enabled .searchConfiguration=${this.searchConfiguration} ${l(this._searchElement)}></map-search><map-legend class=${o(h)} .mapView=${this.mapView} ${l(this._legendElement)}></map-legend><map-fullscreen class=${o(d)} .mapView=${this.mapView} @fullscreenStateChange=${x=>this._fullscreenStateChange(x.detail)} ${l(this._fullscreenElement)}></map-fullscreen><floor-filter class=${o(n)} .enabled=${this.enableFloorFilter} .mapView=${this.mapView} ${l(this._floorFilterElement)}></floor-filter>`}async _initModules(){let[e]=await w(["esri/widgets/Expand"]);this.Expand=e}_setZoomToolsSize(){let e=document.getElementsByClassName("esri-zoom")[0]?.children[0],s=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(e&&s){let i=this.homeZoomToolsSize==="s"?"32px":this.homeZoomToolsSize==="m"?"40px":"48px";e.style.width=i,e.style.height=i,s.style.width=i,s.style.height=i}}_getMapWidgets(e){let s=this._showFullscreen?"full-screen-exit":"full-screen",i=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return e.map(t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,()=>this._showLegend()):this.enableLegend?this._getWidget(t,this._legendElement.value?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,()=>this._search()):this.enableSearch?this._getWidget(t,this._searchElement.value?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(s,!1,i||"",()=>this._expand()):this.enableFullscreen?this._getWidget(t,this._fullscreenElement.value?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,()=>this._toggleBasemapPicker()):this.enableBasemap?this._getWidget(t,this._basemapElement.value?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,()=>this._toggleFloorFilter()):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement.value?.floorFilterWidget,!0):void 0;default:return""}})}_fullscreenStateChange(e){e==="ready"&&this._showFullscreen?this._showFullscreen=!1:e==="active"&&!this._showFullscreen&&(this._showFullscreen=!0)}_getActionGroup(e,s,i,t){let h=this.mapWidgetsSize==="s"?"square-32":this.mapWidgetsSize==="m"?"square-40":"square-48",n=this.stackTools?"":"margin-bottom-1-2",d=this.stackTools?"":"box-shadow";return r`<div><calcite-action alignment=center class=${`${h} ${n} border-bottom ${d}`} .disabled=${s} .icon=${e} id=${e??m} @click=${t} scale=s text><calcite-icon icon=cheveron-up scale=s slot=icon></calcite-icon></calcite-action><calcite-tooltip label placement=trailing .referenceElement=${e}><span>${i}</span></calcite-tooltip></div>`}_getWidget(e,s,i){if(this._widgets.indexOf(e)<0&&this.mapView&&s){let t=this.toolOrder.indexOf(e),h=this.Expand&&new this.Expand({view:this.mapView,content:s}),n=this.enableHome?2:1;this.mapView.ui.add(i?h:s,{position:this.position,index:t>-1?t+n:1}),this._widgets.push(e)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}};_("map-tools",c);export{c as MapTools};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a,b}from"./HVVFJDSU.js";import"./4FGMEAIW.js";import"./62J73NXR.js";import"./G466QX4L.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";export{a as EventEditorTypes,b as buildSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{d as g}from"./ACRINRWW.js";import"./DGJOUZR5.js";import{b as m}from"./C2KBDSIZ.js";import{a as d,b as p}from"./AXQXIZC6.js";import{a as u}from"./4AB2653C.js";import{B as h,c as n,d as i,n as a,q as l,w as c}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var w=n`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block!important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static!important}.z-index-500{z-index:500!important}card-manager{display:block}}`,r=class extends c{constructor(){super(),this.customInfoText="",this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=!1,this.zoomAndScrollToSelected=!1,this.selectedFeaturesIds=[],this.enableCreateFeatures=!0,this.selectingFeatureFromMap=!1,this._cardLoading=!1,this._graphics=[],this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=u({name:"card-manager",blocking:!0}),this._isFeatureCreated=!1,this._createFeature=d(),this.createWorkFlowStarted=a(),this.backFromCreateWorkFlow=a(),this.featureOrRecordSubmitted=a(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange)}static{this.properties={customInfoText:1,enableEditGeometry:5,enableSnapping:5,isMobile:5,layer:0,mapView:0,zoomAndScrollToSelected:5,selectedFeaturesIds:0,enableCreateFeatures:5,selectingFeatureFromMap:5,_cardLoading:16,_graphics:16,_showCreateFeatureComponent:16,_showSubmitBtn:16,_translations:16}}static{this.styles=w}static{this.shadowRootOptions=l}async featureSelectionChange(e){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();let t=e.detail;this._graphics=await this._getFeaturesByIds(t)}async layerSelectionChange(e){this._showCreateFeatureComponent&&this._backFromCreateFeature();let t=e.detail[0];this.layer=this.mapView?await g(this.mapView,t):void 0}async load(){this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){let e=this._graphics?.length>0?"":"display-none",t=this._graphics?.length===0&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",o=this.layer?.isTable,b=o?this._translations.createRecord:this._translations.createFeature,F=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,_=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return i`<div class="overflow-auto height-full"><calcite-shell class=${`position-relative ${e}`}><div class="position-static z-index-500"><info-card .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphics=${this._graphics} .isLoading=${this._cardLoading} .isMobile=${this.isMobile} .mapView=${this.mapView} show-close-btn></info-card></div></calcite-shell><calcite-shell class=${`position-relative ${s}`}><calcite-panel><div class=padding-1><calcite-notice .icon=${this.selectingFeatureFromMap?"map":"table"} icon-flip-rtl open><div slot=message>${F}</div></calcite-notice></div>${!this.isMobile&&_&&i`<calcite-button .disabled=${!this.layer} @click=${()=>this._createFeatureBtnClicked()} slot=footer width=full>${o?this._translations.createRecord:this._translations.createFeature}</calcite-button>`||""}</calcite-panel></calcite-shell><calcite-shell class=${`position-relative ${t}`}><calcite-flow-item selected><calcite-panel .heading=${b}><calcite-action class="back-button hydrated" icon=chevron-left @click=${this._backFromCreateFeature} scale=s slot=header-actions-start text></calcite-action>${this.getEditorComponent()}${this._showSubmitBtn&&i`<calcite-button appearance=solid class="footer-top-button footer-button" @click=${()=>this._createFeature.value&&void this._createFeature.value.submit()} slot=footer width=full>${this._translations.create}</calcite-button>`||""}</calcite-panel></calcite-flow-item></calcite-shell></div>`}getEditorComponent(){return i`<div>${this._showCreateFeatureComponent&&i`<create-feature customize-submit .enableSnapping=${this.enableSnapping&&this.enableCreateFeatures} .mapView=${this.mapView} @drawComplete=${()=>{this._showSubmitBtn=!0}} @editingAttachment=${e=>{this._showSubmitBtn=!e.detail}} @progressStatus=${()=>{setTimeout(()=>{this._isFeatureCreated=!1},2e3)}} @success=${this._featureCreated} .selectedLayerId=${this.layer?.id} ${p(this._createFeature)}></create-feature>`||""}</div>`}async _getFeaturesByIds(e){return(e.length>0&&this.layer?await m(e,this.layer,[],!0,this.mapView?.spatialReference):[]).sort((t,s)=>e.indexOf(Number(t.getObjectId()))-e.indexOf(Number(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature.value&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout(()=>{this._showCreateFeatureComponent=!0},50)}};h("card-manager",r);export{r as CardManager};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a}from"./MLSL5LI5.js";import"./WN3VAL43.js";import"./YJF3FQQW.js";import"./OFJCPV4F.js";import"./KAET4R4I.js";import"./2SNN45WE.js";import"./K7L3LTTD.js";import"./OHY2KQUC.js";export{a as buildUiSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{b as e,e as r}from"./HT5EDB5V.js";import"./KAPZF4E2.js";import"./PULSXLXV.js";import"./GZ5DMBN5.js";import{d as t}from"./U25OTDOD.js";import"./WN3VAL43.js";import"./VFZGCM33.js";import"./ICETJ5L7.js";import"./GNY77HPF.js";import"./TYTGBM6D.js";import"./FXITJZAV.js";import"./ECVA54TZ.js";import"./2SNN45WE.js";import"./K7L3LTTD.js";import"./OHY2KQUC.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as S}from"./U4IEKG5J.js";import"./HIIYUUEW.js";import{c as L,j as $}from"./ACRINRWW.js";import"./DGJOUZR5.js";import"./C2KBDSIZ.js";import{a as r,b as n}from"./AXQXIZC6.js";import{b as w}from"./ZKLPV256.js";import{a as I}from"./4AB2653C.js";import{B as y,c as b,d as h,f as u,n as d,q as g,w as _,x as c}from"./CQFOO7QD.js";import"./OHY2KQUC.js";function M(o){return o?.indexOf("http://")!==-1}function m(o){return M(o)?o.replace(/^http:\/\//,"https://"):o}function v(o,e,i){return i&&i.forEach(s=>{o.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=m(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=m(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=m(s.proxyUrl))}}))})}),o}var W=b`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}}`,f=class extends _{constructor(){super(),this.defaultWebmapId="",this.defaultLayerId="",this.enableHome=!1,this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableShare=!1,this.enableSingleExpand=!1,this.enableSearch=!1,this.enableBasemap=!1,this.hide=!1,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.stackTools=!1,this.toolOrder=[],this.isMapLayout=!1,this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.selectedFeaturesIds=[],this.onlyShowUpdatableLayers=!1,this.isMobile=!1,this._translations=I({name:"map-card",blocking:!0}),this._toolInfos=[],this._defaultWebmapHonored=!1,this._loadedId="",this._mapDiv=r(),this._mapPicker=r(),this._mapTools=r(),this._mapListExpanded=!1,this._filterActive=!1,this._definitionExpression="",this._mapLayerPicker=r(),this._toolbar=r(),this.mapChanged=d(),this.beforeMapChanged=d(),this.toggleFilter=d(),this.clearSelection=d(),this.listenOn(window,"mapInfoChange",this.mapInfoChange),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.enableSingleExpand=!0,this.stackTools=!0,S(window)}static{this.properties={appLayout:1,appProxies:1,defaultWebmapId:1,defaultLayerId:1,enableHome:5,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableShare:5,enableSingleExpand:5,enableSearch:5,enableBasemap:5,basemapConfig:0,hide:5,homeZoomIndex:9,homeZoomPosition:1,homeZoomToolsSize:1,mapInfos:0,mapWidgetsIndex:9,mapWidgetsPosition:1,mapWidgetsSize:1,mapView:0,stackTools:5,theme:1,toolOrder:0,isMapLayout:5,shareIncludeEmbed:5,shareIncludeSocial:5,selectedFeaturesIds:0,selectedLayer:0,zoomToScale:9,onlyShowUpdatableLayers:5,isMobile:5,mapInfo:0,_translations:16,_searchConfiguration:16,_webMapInfo:16,_toolInfos:16}}static{this.styles=W}static{this.shadowRootOptions=g}willUpdate(e){e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("enableHome")&&this.enableHomeWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("selectedLayer")&&this.selectedLayerWatchHandler(),e.has("selectedFeaturesIds")&&this.selectedFeaturesIdsWatchHandler()}appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this.mapView&&this._initHome()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await this.selectedLayer?.when(async()=>{this._definitionExpression=this.selectedLayer?.definitionExpression||""})}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(e){this._filterActive=e,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.value&&this._mapLayerPicker.value.updateLayer()}async mapInfoChange(e){await this._loadMap(e.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout(()=>{this._initToolInfos()},50)}async load(){await this._initModules(),this._initToolInfos()}render(){let e=this.isMapLayout?"display-flex height-49-px":"",i=this.hide?"visibility-hidden-1":"",s=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",t=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",a=this.isMapLayout?"":"display-none";return this._validateActiveActions(),h`<div class=${`${e} width-full`} ${n(this._toolbar)}>${this._getActionBar()}<div slot=header-actions-end class="display-flex absolute-right">${this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0}</div></div><calcite-progress class=${c(a)} value=0></calcite-progress><div class=${`${t} ${i}`} ${n(this._mapDiv)}></div>${h`<map-tools .basemapConfig=${this.basemapConfig} class=${`box-shadow ${s}`} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .homeZoomToolsSize=${this.homeZoomToolsSize} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.toolOrder} ${n(this._mapTools)}></map-tools>`}`}updated(){document.onclick=e=>this._handleDocumentClick(e)}loaded(){this._updateShareUrl()}async _initModules(){let[e,i,s,t]=await w(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=e,this.MapView=i,this.Home=s,this.esriConfig=t}async _loadMap(e){let i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter(l=>l.id===this.defaultWebmapId),t=JSON.stringify(e)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!e?.id&&this.mapInfos.length>0?this.mapInfos[0]:e;let a=this._webMapInfo.id,p=i&&e?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||p){let l=this.WebMap&&new this.WebMap({portalItem:{id:a}});this.appProxies&&l&&this.esriConfig&&(await l.load(),await v(l,this.esriConfig,this.appProxies)),this.mapView=this.MapView&&new this.MapView({container:this._mapDiv.value,map:l,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapView&&await this.mapView.when(()=>{this._initHome(),this.mapView&&(this._mapTools.value&&this.mapView.ui.add(this._mapTools.value,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=p?!0:this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView}))})}else i?(this._defaultWebmapHonored=!0,this._mapPicker.value&&this._mapPicker.value.setMapByID(a)):t&&this.mapView&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));this._updateShareUrl()}_getActionBar(){let e=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",t=this.isMapLayout?"":"display-none";return h`<calcite-action-bar class=${c(i)} expand-disabled expanded id=${this._getId("bar")??u} layout=horizontal><map-picker class=${c(e)} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} ${n(this._mapPicker)}></map-picker><div class=${`mapView-header display-flex ${t}`} id=solutions-map-layer-picker-container><div class=${`border-end ${i} ${s}`}>${this.mapView&&h`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} @lyShowUpdatableLayers=${this.onlyShowUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${n(this._mapLayerPicker)}></map-layer-picker>`||""}</div></div>${!this.isMobile&&this.isMapLayout?this._getActions():void 0}</calcite-action-bar>`}_getShare(e){return h`<div class="share-action" id=${this._getId(e)??u}>${this.mapView&&h`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${n(i=>{i&&(this._shareNode=i,this._updateShareUrl())})}></instant-apps-social-share>`||""}${this._getToolTip("bottom",e,this._translations?.share)}</div>`}_updateShareUrl(){let e=this._shareNode?.shareUrl;if(!e)return;let i=new URL(e);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),this.appLayout&&i.searchParams.set("applayout",this.appLayout),this._shareNode&&(this._shareNode.shareUrl=i.href)}_initToolInfos(){let e=this.selectedFeaturesIds?.length>0;this.selectedFeaturesIds?.length>1;let i=[];i.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e}),i.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1}),i.push({active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer?.refresh(),disabled:!1}),i.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!e}),this._toolInfos=i}_validateActiveActions(){let e=["filter"];this._toolInfos?.forEach(i=>{i&&e.indexOf(i.icon)>-1&&i.icon==="filter"&&(i.indicator=this._filterActive)})}_validateEnabledActions(){let e=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach(t=>{t&&s.indexOf(t.icon)>-1&&(t.disabled=t.icon==="pencil"?!i:!e)})}_initHome(){if(this.enableHome){if(this._homeWidget=this.Home&&new this.Home({view:this.mapView}),this._homeWidget&&this.mapView){this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});let e=this.homeZoomToolsSize==="s"?"32px":this.homeZoomToolsSize==="m"?"40px":"48px";this._homeWidget.domNode.style.height=e,this._homeWidget.domNode.style.width=e}}else this._homeWidget&&this.mapView&&this.mapView.ui.remove(this._homeWidget)}_handleDocumentClick(e){e.target.tagName!=="MAP-PICKER"&&(this._mapListExpanded=!1,this._mapPicker.value&&this._mapPicker.value.close())}async _zoom(){if(this.selectedLayer&&this.mapView){let e=await L(this.mapView,this.selectedLayer.id);e&&await $(this.selectedFeaturesIds,e,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let e=[];return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===this.selectedLayer?.id)),e.length>0}_getActions(){return this._toolInfos?.reduce((e,i)=>(i&&e.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),e),[])}_getToolTip(e,i,s){return document.getElementById(i)?h`<calcite-tooltip .placement=${e} .referenceElement=${"map-"+i}><span>${s}</span></calcite-tooltip>`:void 0}_getAction(e,i,s,t,a,p,l){let x=this.selectedLayer===void 0?!0:p;return h`<calcite-action .active=${e} appearance=solid .disabled=${x} .icon=${i} .id=${"map-"+i} .indicator=${s} .label=${t} .loading=${l} @click=${a} .text=${t} text-enabled></calcite-action>`}_getId(e){return`solutions-action-${e}`}};y("map-card",f);export{f as MapCard};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as x}from"./U4IEKG5J.js";import"./HIIYUUEW.js";import{d as v}from"./ACRINRWW.js";import{a as s}from"./DGJOUZR5.js";import"./C2KBDSIZ.js";import{a as r,b as h}from"./AXQXIZC6.js";import{a as $}from"./4AB2653C.js";import{B as y,c as m,d as l,f as _,n as p,q as f,w as g,x as c,y as w}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var T=m`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-50{position:absolute;inset:50px 0 0}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}}`,u=class extends g{constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._isPortraitMobile=!1,this._translations=$({name:"crowdsource-manager",blocking:!0}),this._layoutMode=s.GRID,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._deleteIds=[],this._layerTable=r(),this._shouldSetMapView=!1,this._layerExpressions=[],this._filterList=r(),this._mapCard=r(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=p(),this.showCoverPage=p(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"idsFound",this.idsFound),x(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_isPortraitMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16}}static{this.styles=T}static{this.shadowRootOptions=f}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.value&&this._layerTable.value.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._mapChange=e.detail,await this._mapChange?.mapView.when(async()=>{await this._setMapView()})}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await v(this._mapView,t);i&&await i.when(()=>{this._layerIds.length===0&&this.appLayout==="mapView"&&i.isTable&&(this.appLayout="splitView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async idsFound(e){this._layerIds=e.detail.layerIds}load(){this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"";return l`<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${this._deleteModal()}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${t&&this._layerTable.value?.selectedIds?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this._layerTable.value?.selectedIds} .layer=${this._layer}></delete-button>`:void 0}</div></div>`:void 0}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){let i="";switch(e){case s.HORIZONTAL:i=t?"chevrons-up":"chevrons-down";break;case s.VERTICAL:i=t?"chevrons-left":"chevrons-right";break;case s.GRID:i=t?"chevrons-left":"chevrons-right";break}return i}_getMapSizeClass(e,t,i){let a="";switch(e){case s.HORIZONTAL:a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case s.GRID:a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case s.VERTICAL:a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case s.HORIZONTAL:i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case s.GRID:i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case s.VERTICAL:i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e===s.HORIZONTAL?"":"display-flex",o=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class="floating-container" @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class="floating-container" @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i),o=!this._isPortraitMobile&&this._isMobile?"border-right":"";return l`<div class=${`${a} overflow-hidden z-index-1 ${o}`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=t||i?"position-absolute-0":this._layoutMode===s.HORIZONTAL&&(!this._isPortraitMobile||e)?"":"adjusted-height-50",o=this.defaultWebmap&&this.defaultLayer;return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${o?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableShare=${this.enableShare} enable-single-expand .hidden=${!this._isPortraitMobile&&i} home-zoom-index=3 home-zoom-position=top-left home-zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this.mapInfos?.filter(n=>n.visible!==!1)} map-widgets-index=0 map-widgets-position=top-right map-widgets-size=m @lyShowUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .toolOrder=${["legend","search","fullscreen","basemap","floorfilter"]} .zoomToScale=${this.zoomToScale} ${h(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":"",o=this.mapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",n=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${o} ${n}`} style=${w({"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=t&&this.mapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .enableEditGeometry=${this?._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isPortraitMobile} .layer=${this._layer} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=this._layer?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",o=this.appLayout==="tableView",n=i&&this._isPortraitMobile?"visibility-hidden":a?"display-none":"",L=a?"height-full width-full z-index-0":"display-none",C=this._getTableSizeClass(e,t),I=e===s.HORIZONTAL?"horizontal":"vertical",S=e===s.HORIZONTAL?"header":"panel-start",d=this.defaultWebmap&&this.defaultLayer,b=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,M=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(F=>Number.parseInt(F,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${C} border-bottom`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${I} slot=${S??_}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${n}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${d?b:void 0} .defaultLayerId=${d?this.defaultLayer:""} .defaultOid=${d&&!b?M:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableShare=${this.enableShare} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isPortraitMobile} .mapHidden=${o} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} @lyShowUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${h(this._layerTable)}></layer-table></div><div class=${c(L)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,o="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} class="toggle-node" icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} class="toggle-node" .disabled=${this._layerIds?.length===0} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action class="toggle-node" .icon=${i} id=${o} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${o}><span>${a}</span></calcite-tooltip>`}_deleteModal(){return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${this._layer} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${c(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0;return l`<calcite-dialog class="filter-content-space" .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>void this._updateFilter()} .view=${this._mapView} ${h(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}async _updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&await this._layerTable.value?.filterUpdate(e),this._mapCard.value&&await this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[],this._layerExpressions.filter(t=>t.expressions.filter(i=>i.active).length>0).length>0}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?s.HORIZONTAL:s.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this.mapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};y("crowdsource-manager",u);export{u as CrowdsourceManager};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a,b}from"./Z7PAFRTZ.js";import"./UQD4DDWQ.js";import"./YZON6FQX.js";import"./LKUFS2W4.js";import"./LZCG3PUX.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -1,8 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- var y={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},we="app",Re=Object.defineProperty,xe=(e,t)=>{for(var o in t)Re(e,o,{get:t[o],enumerable:!0})},Se="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml",_e=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},q=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),X="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{};w.HTMLElement;var N={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},ke=e=>Promise.resolve(e),j=!1,G=[],ie=[],Ee=(e,t)=>o=>{e.push(o),j||(j=!0,t&&N.$flags$&4?K(D):N.raf(D))},J=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){I(o)}e.length=0},D=()=>{J(G),J(ie),(j=G.length>0)&&N.raf(D)},K=e=>ke().then(e),Ce=Ee(ie,!0),Le=e=>e!=null&&e!==void 0,$e=e=>(e=typeof e,e==="object"||e==="function"),Ae=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Oe={};xe(Oe,{err:()=>ce,map:()=>Fe,ok:()=>U,unwrap:()=>Me,unwrapErr:()=>Pe});var U=e=>({isOk:!0,isErr:!1,value:e}),ce=e=>({isOk:!1,isErr:!0,value:e});function Fe(e,t){if(e.isOk){let o=t(e.value);return o instanceof Promise?o.then(n=>U(n)):U(o)}if(e.isErr){let o=e.value;return ce(o)}throw"should never get here"}var Me=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},de=e=>{let t=ee(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&fe(t,e.tagName).forEach(n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(De(n,Q(n),!1).length?n.hidden=!0:n.hidden=!1)});let o=0;for(o=0;o<t.length;o++){let n=t[o];n.nodeType===1&&ee(n,"childNodes").length&&de(n)}},je=e=>{let t=[];for(let o=0;o<e.length;o++){let n=e[o]["s-nr"]||void 0;n&&n.isConnected&&t.push(n)}return t};function fe(e,t,o){let n=0,s=[],l;for(;n<e.length;n++)l=e[n],l["s-sr"]&&(!t||l["s-hn"]===t)&&o===void 0&&s.push(l),s=[...s,...fe(l.childNodes,t,o)];return s}var De=(e,t,o=!0)=>{let n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let s=e;for(;s=s.nextSibling;)Q(s)===t&&(o||!s["s-sr"])&&n.push(s);return n},Z=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Q=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;let t=o=>function(n){let s=[],l=this["s-sn"];n?.flatten&&console.error(`
5
- Flattening is not supported for Stencil non-shadow slots.
6
- You can use \`.childNodes\` to nested slot fallback content.
7
- If you have a particular use case, please open an issue on the Stencil repo.
8
- `);let r=this["s-cr"].parentElement;return(r.__childNodes?r.childNodes:je(r.childNodes)).forEach($=>{l===Q($)&&s.push($)}),o?s.filter($=>$.nodeType===1):s}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function ee(e,t){if("__"+t in e){let o=e["__"+t];return typeof o!="function"?o:o.bind(e)}else return typeof e[t]!="function"?e[t]:e[t].bind(e)}var A=(e,t="")=>()=>{},Be=(e,t,...o)=>{let n=null,s=null,l=null,r=!1,$=!1,d=[],f=i=>{for(let c=0;c<i.length;c++)n=i[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((r=!$e(n))&&(n=String(n)),r&&$?d[d.length-1].$text$+=n:d.push(r?B(null,n):n),$=r)};f(o);let u=B(e,null);return u.$attrs$=t,d.length>0&&(u.$children$=d),u.$key$=s,u.$name$=l,u},B=(e,t)=>{let o={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return o.$attrs$=null,o.$key$=null,o.$name$=null,o},We={},ze=e=>e&&e.$tag$===We,V=e=>{let t=Ae(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};V("::slotted");V(":host");V(":host-context");var He=(e,t,o)=>{let n=N.ce(t,o);return e.dispatchEvent(n),n},te=(e,t,o,n,s,l,r)=>{if(o===n)return;let $=q(e,t),d=t.toLowerCase();if(t==="class"){let f=e.classList,u=ne(o),i=ne(n);f.remove(...u.filter(c=>c&&!i.includes(c))),f.add(...i.filter(c=>c&&!u.includes(c)))}else if(t==="style"){for(let f in o)(!n||n[f]==null)&&(f.includes("-")?e.style.removeProperty(f):e.style[f]="");for(let f in n)(!o||n[f]!==o[f])&&(f.includes("-")?e.style.setProperty(f,n[f]):e.style[f]=n[f])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):q(w,d)?t=d.slice(2):t=d[2]+t.slice(3),o||n){let f=t.endsWith(ue);t=t.replace(Ke,""),o&&N.rel(e,t,o,f),n&&N.ael(e,t,n,f)}}else{let f=$e(n);if(($||f&&n!==null)&&!s)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{let i=n??"";t==="list"?$=!1:(o==null||e[t]!=i)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=i:e.setAttribute(t,i))}}catch{}let u=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(t=d,u=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(u?e.removeAttributeNS(X,t):e.removeAttribute(t)):(!$||l&4||s)&&!f&&e.nodeType===1&&(n=n===!0?"":n,u?e.setAttributeNS(X,t,n):e.setAttribute(t,n))}},Ie=/\s/,ne=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Ie)),ue="Capture",Ke=new RegExp(ue+"$"),W=(e,t,o,n)=>{let s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,l=e&&e.$attrs$||{},r=t.$attrs$||{};for(let $ of oe(Object.keys(l)))$ in r||te(s,$,l[$],void 0,o,t.$flags$);for(let $ of oe(Object.keys(r)))te(s,$,l[$],r[$],o,t.$flags$)};function oe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,O,T,z=!1,F=!1,Y=!1,h=!1,M=(e,t,o)=>{var n;let s=t.$children$[o],l=0,r,$,d;if(z||(Y=!0,s.$tag$==="slot"&&(s.$flags$|=s.$children$?2:1)),s.$text$!==null)r=s.$elm$=w.document.createTextNode(s.$text$);else if(s.$flags$&1)r=s.$elm$=w.document.createTextNode(""),W(null,s,h);else{if(h||(h=s.$tag$==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(r=s.$elm$=w.document.createElementNS(h?Se:Te,!z&&y.slotRelocation&&s.$flags$&2?"slot-fb":s.$tag$),h&&s.$tag$==="foreignObject"&&(h=!1),W(null,s,h),Le(L)&&r["s-si"]!==L&&r.classList.add(r["s-si"]=L),s.$children$)for(l=0;l<s.$children$.length;++l)$=M(e,s,l),$&&r.appendChild($);s.$tag$==="svg"?h=!1:r.tagName==="foreignObject"&&(h=!0)}return r["s-hn"]=T,s.$flags$&3&&(r["s-sr"]=!0,r["s-cr"]=O,r["s-sn"]=s.$name$||"",r["s-rf"]=(n=s.$attrs$)==null?void 0:n.ref,Ue(r),d=e&&e.$children$&&e.$children$[o],d&&d.$tag$===s.$tag$&&e.$elm$&&_(e.$elm$,!1),ve(O,r,t.$elm$,e?.$elm$)),r},_=(e,t)=>{N.$flags$|=1;let o=Array.from(e.__childNodes||e.childNodes);e["s-sr"]&&y.experimentalSlotFixes;for(let n=o.length-1;n>=0;n--){let s=o[n];s["s-hn"]!==T&&s["s-ol"]&&(R(k(s).parentNode,s,k(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,Y=!0),t&&_(s,t)}N.$flags$&=-2},pe=(e,t,o,n,s,l)=>{let r=e["s-cr"]&&e["s-cr"].parentNode||e,$;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot);s<=l;++s)n[s]&&($=M(null,o,s),$&&(n[s].$elm$=$,R(r,$,k(t))))},he=(e,t,o)=>{for(let n=t;n<=o;++n){let s=e[n];if(s){let l=s.$elm$;me(s),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():_(l,!0),l.remove())}}},Qe=(e,t,o,n,s=!1)=>{let l=0,r=0,$=0,d=0,f=t.length-1,u=t[0],i=t[f],c=n.length-1,a=n[0],p=n[c],v,m;for(;l<=f&&r<=c;)if(u==null)u=t[++l];else if(i==null)i=t[--f];else if(a==null)a=n[++r];else if(p==null)p=n[--c];else if(C(u,a,s))x(u,a,s),u=t[++l],a=n[++r];else if(C(i,p,s))x(i,p,s),i=t[--f],p=n[--c];else if(C(u,p,s))(u.$tag$==="slot"||p.$tag$==="slot")&&_(u.$elm$.parentNode,!1),x(u,p,s),R(e,u.$elm$,i.$elm$.nextSibling),u=t[++l],p=n[--c];else if(C(i,a,s))(u.$tag$==="slot"||p.$tag$==="slot")&&_(i.$elm$.parentNode,!1),x(i,a,s),R(e,i.$elm$,u.$elm$),i=t[--f],a=n[++r];else{for($=-1,d=l;d<=f;++d)if(t[d]&&t[d].$key$!==null&&t[d].$key$===a.$key$){$=d;break}$>=0?(m=t[$],m.$tag$!==a.$tag$?v=M(t&&t[r],o,$):(x(m,a,s),t[$]=void 0,v=m.$elm$),a=n[++r]):(v=M(t&&t[r],o,r),a=n[++r]),v&&R(k(u.$elm$).parentNode,v,k(u.$elm$))}l>f?pe(e,n[c+1]==null?null:n[c+1].$elm$,o,n,r,c):r>c&&he(t,l,f)},C=(e,t,o=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:o?(o&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,k=e=>e&&e["s-ol"]||e,x=(e,t,o=!1)=>{let n=t.$elm$=e.$elm$,s=e.$children$,l=t.$children$,r=t.$tag$,$=t.$text$,d;$===null?(h=r==="svg"?!0:r==="foreignObject"?!1:h,W(e,t,h),s!==null&&l!==null?Qe(n,s,t,l,o):l!==null?(e.$text$!==null&&(n.textContent=""),pe(n,null,t,l,0,l.length-1)):!o&&y.updatable&&s!==null&&he(s,0,s.length-1),h&&r==="svg"&&(h=!1)):(d=n["s-cr"])?d.parentNode.textContent=$:e.$text$!==$&&(n.data=$)},b=[],ge=e=>{let t,o,n,s=e.__childNodes||e.childNodes;for(let l of s){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;let r=l["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(Z(t,r)){let $=b.find(d=>d.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||r,$?($.$nodeToRelocate$["s-sh"]=l["s-hn"],$.$slotRefNode$=l):(t["s-sh"]=l["s-hn"],b.push({$slotRefNode$:l,$nodeToRelocate$:t})),t["s-sr"]&&b.map(d=>{Z(d.$nodeToRelocate$,t["s-sn"])&&($=b.find(f=>f.$nodeToRelocate$===t),$&&!d.$slotRefNode$&&(d.$slotRefNode$=$.$slotRefNode$))})}else b.some($=>$.$nodeToRelocate$===t)||b.push({$nodeToRelocate$:t})}l.nodeType===1&&ge(l)}},me=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(me)},R=(e,t,o)=>(typeof t["s-sn"]=="string"&&t["s-sr"]&&t["s-cr"]&&ve(t["s-cr"],t,e,t.parentElement),e?.insertBefore(t,o));function ve(e,t,o,n){var s,l;let r;if(e&&typeof t["s-sn"]=="string"&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(r=t["s-si"]||e.parentNode["s-sc"])){let $=t["s-sn"],d=t["s-hn"];if((s=o.classList)==null||s.add(r+"-s"),n&&(l=n.classList)!=null&&l.contains(r+"-s")){let f=(n.__childNodes||n.childNodes)[0],u=!1;for(;f;){if(f["s-sn"]!==$&&f["s-hn"]===d&&f["s-sr"]){u=!0;break}f=f.nextSibling}u||n.classList.remove(r+"-s")}}}var Ve=(e,t,o=!1)=>{var n,s,l,r,$;let d=e.$hostElement$,f=e.$cmpMeta$,u=e.$vnode$||B(null,null),i=ze(t)?t:Be(null,null,t);if(T=d.tagName,f.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},f.$attrsToReflect$.map(([c,a])=>i.$attrs$[a]=d[c])),o&&i.$attrs$)for(let c of Object.keys(i.$attrs$))d.hasAttribute(c)&&!["key","ref","style","class"].includes(c)&&(i.$attrs$[c]=d[c]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=u.$elm$=d.shadowRoot||d,L=d["s-sc"],z=!!(f.$flags$&1)&&!(f.$flags$&128),O=d["s-cr"],F=!1,x(u,i,o);{if(N.$flags$|=1,Y){ge(i.$elm$);for(let c of b){let a=c.$nodeToRelocate$;if(!a["s-ol"]&&w.document){let p=w.document.createTextNode("");p["s-nr"]=a,R(a.parentNode,a["s-ol"]=p,a)}}for(let c of b){let a=c.$nodeToRelocate$,p=c.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(n=a["s-ol"])==null?void 0:n.previousSibling;for(;E;){let g=(s=E["s-nr"])!=null?s:null;if(g&&g["s-sn"]===a["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===a||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}let Ne=a.__parentNode||a.parentNode,be=a.__nextSibling||a.nextSibling;(!m&&v!==Ne||be!==m)&&a!==m&&(!a["s-hn"]&&a["s-ol"]&&(a["s-hn"]=a["s-ol"].parentNode.nodeName),R(v,a,m),a.nodeType===1&&a.tagName!=="SLOT-FB"&&(a.hidden=(l=a["s-ih"])!=null?l:!1)),a&&typeof p["s-rf"]=="function"&&p["s-rf"](p)}else a.nodeType===1&&(o&&(a["s-ih"]=(r=a.hidden)!=null?r:!1),a.hidden=!0)}}F&&de(i.$elm$),N.$flags$&=-2,b.length=0}if(y.experimentalScopedSlotChanges&&f.$flags$&2){let c=i.$elm$.__childNodes||i.$elm$.childNodes;for(let a of c)a["s-hn"]!==T&&!a["s-sh"]&&(o&&a["s-ih"]==null&&(a["s-ih"]=($=a.hidden)!=null?$:!1),a.hidden=!0)}O=void 0},Ye=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){let o=t["s-p"].push(new Promise(n=>e.$onRenderResolve$=()=>{t["s-p"].splice(o-1,1),n()}))}},ye=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Ye(e,e.$ancestorComponent$),Ce(()=>qe(e,t))},qe=(e,t)=>{let o=e.$hostElement$,n=A("scheduleUpdate",e.$cmpMeta$.$tagName$),s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=S(s,"componentWillUpdate",void 0,o),l=se(l,()=>S(s,"componentWillRender",void 0,o)),n(),se(l,()=>Ge(e,s,t))},se=(e,t)=>Xe(e)?e.then(t).catch(o=>{console.error(o),t()}):t(),Xe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ge=async(e,t,o)=>{var n;let s=e.$hostElement$,l=A("update",e.$cmpMeta$.$tagName$),r=s["s-rc"],$=A("render",e.$cmpMeta$.$tagName$);Je(e,t,s,o),r&&(r.map(d=>d()),s["s-rc"]=void 0),$(),l();{let d=(n=s["s-p"])!=null?n:[],f=()=>Ze(e);d.length===0?f():(Promise.all(d).then(f),e.$flags$|=4,d.length=0)}},H=null,Je=(e,t,o,n)=>{try{H=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(y.hasRenderFn||y.reflect)&&(y.vdomRender||y.reflect)&&(y.hydrateServerSide||Ve(e,t,n))}catch(s){I(s,e.$hostElement$)}return H=null,null},le=()=>H,Ze=e=>{let t=e.$cmpMeta$.$tagName$,o=e.$hostElement$,n=A("postUpdate",t),s=o,l=e.$ancestorComponent$;S(s,"componentDidRender",void 0,o),e.$flags$&64?(S(s,"componentDidUpdate",void 0,o),n()):(e.$flags$|=64,tt(o),S(s,"componentDidLoad",void 0,o),n(),e.$onReadyResolve$(o),l||et()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&K(()=>ye(e,!1)),e.$flags$&=-517},re=e=>{{let t=_e(e),o=t.$hostElement$.isConnected;return o&&(t.$flags$&18)===2&&ye(t,!1),o}},et=e=>{K(()=>He(w,"appload",{detail:{namespace:we}}))},S=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(s){I(s,n)}},tt=e=>{var t;return e.classList.add((t=y.hydratedSelectorName)!=null?t:"hydrated")},nt=(e,t,o)=>{let n=e.get(t);n?n.includes(o)||n.push(o):e.set(t,[o])},ot=(e,t)=>{let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>{o=0,e(...n)},t)}},st=e=>!("isConnected"in e)||e.isConnected,ae=ot(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(st))},2e3),lt=()=>{if(typeof le!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let o=le();o&&nt(e,t,o)},set:t=>{let o=e.get(t);o&&e.set(t,o.filter(re)),ae(e)},reset:()=>{e.forEach(t=>t.forEach(re)),ae(e)}}},P=e=>typeof e=="function"?e():e,rt=(e,t=(o,n)=>o!==n)=>{let o=P(e),n=new Map(Object.entries(o??{})),s={dispose:[],get:[],set:[],reset:[]},l=()=>{n=new Map(Object.entries(P(e)??{})),s.reset.forEach(i=>i())},r=()=>{s.dispose.forEach(i=>i()),l()},$=i=>(s.get.forEach(c=>c(i)),n.get(i)),d=(i,c)=>{let a=n.get(i);t(c,a,i)&&(n.set(i,c),s.set.forEach(p=>p(i,c,a)))},f=typeof Proxy>"u"?{}:new Proxy(o,{get(i,c){return $(c)},ownKeys(i){return Array.from(n.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(i,c){return n.has(c)},set(i,c,a){return d(c,a),!0}}),u=(i,c)=>(s[i].push(c),()=>{at(s[i],c)});return{state:f,get:$,set:d,on:u,onChange:(i,c)=>{let a=u("set",(v,m)=>{v===i&&c(m)}),p=u("reset",()=>c(P(e)[i]));return()=>{a(),p()}},use:(...i)=>{let c=i.reduce((a,p)=>(p.set&&a.push(u("set",p.set)),p.get&&a.push(u("get",p.get)),p.reset&&a.push(u("reset",p.reset)),p.dispose&&a.push(u("dispose",p.dispose)),a),[]);return()=>c.forEach(a=>a())},dispose:r,reset:l,forceUpdate:i=>{let c=n.get(i);s.set.forEach(a=>a(i,c,c))}}},at=(e,t)=>{let o=e.indexOf(t);o>=0&&(e[o]=e[e.length-1],e.length--)},it=(e,t)=>{let o=rt(e,t);return o.use(lt()),o};export{it as a};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{e as w}from"./ACRINRWW.js";import"./DGJOUZR5.js";import"./C2KBDSIZ.js";import{a as p,b as g}from"./AXQXIZC6.js";import{b as m}from"./ZKLPV256.js";import{a as _}from"./4AB2653C.js";import{B as c,c as h,d as o,n as s,q as d,w as l,x as r}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var u=h`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0}.padding-sides-bottom-1{padding:0 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative!important;width:100%!important;background-color:var(--calcite-color-foreground-1)!important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1)!important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.position-absolute{position:absolute;inset:0;overflow:auto}.esri-editor__panel-content{padding-block:10px!important}}`,n=class extends l{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphicIndex=0,this.graphics=[],this.open=!1,this._editorLoading=!1,this._translations=_({name:"edit-card",blocking:!0}),this._editContainer=p(),this._editControlElements=[],this._editingDisabled="",this._shouldClose=!1,this.closeEdit=s(),this.editorInitialized=s(),this.editsComplete=s(),this.refreshGraphics=s(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphicIndex:9,graphics:0,mapView:0,open:5,_editorLoading:16,_translations:16}}static{this.styles=u}static{this.shadowRootOptions=d}async graphicsWatchHandler(){this.graphics.length===0&&this.open&&await this._closeEdit(!0)}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async load(){await this._initModules()}willUpdate(t){if(t.has("graphics")&&this.graphicsWatchHandler(),t.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openWatchHandler(this.open),this.graphics?.length>0&&this.graphics[0]?.layer){this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove();let i=this._layer.type==="subtype-sublayer"?this._layer.parent:this._layer;this._layerEditHandle=i.on("edits",()=>{setTimeout(()=>{this.editsComplete.emit()},50)})}}render(){let t=this.graphics?.length>0&&this.graphics[0]?!this.graphics[0].layer.editingEnabled:!0,i=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return o`<div class="position-absolute">${t?o`<calcite-notice kind=warning open slot=content-top width=full><div slot=message>${this._translations.enableEditing}</div></calcite-notice>`:void 0}<div class="position-absolute"><div class=${r(i)} id=feature-form ${g(this._editContainer)}></div><calcite-loader class=${r(a)} label scale=s></calcite-loader></div></div>`}async _initModules(){let[t,i]=await m(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();let t=document.createElement("div"),i=await w(this.mapView),a=this.enableSnapping&&this.enableEditGeometry,f=i.map(e=>({layer:e,geometryUpdatesEnabled:this.enableEditGeometry}));this._editor=this.Editor&&new this.Editor({view:this.mapView,layerInfos:f,visibleElements:{flow:!0,settingsMenu:a,sketch:!1,snappingControls:a},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils?.when(()=>this._editor?.viewModel.state==="adding-attachment"||this._editor?.viewModel.state==="editing-attachment"||this._editor?.viewModel.state==="creating-features",()=>{this._shouldClose=!1}),this._activeWorkflowHandle=this.reactiveUtils?.watch(()=>this._editor?.viewModel.activeWorkflow?.activeWorkflow,e=>{(e?.type==="update-table-record"||e?.type==="create-features")&&(this._shouldClose=!1),(!e?.type&&!e?.hasPendingEdits&&!this._editor?.activeWorkflow||!this._editor?.activeWorkflow?.started)&&(this.open=!1)}),this.enableSnapping||t.classList.add("hide-editor-toolbar"),this._editContainer.value&&this._editContainer.value.appendChild(t),this._editor&&this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this.enableSnapping&&((this.mapView?.ui.view).grid=null),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor?.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}};c("edit-card",n);export{n as EditCard};