@esri/solutions-components 1.0.0-next.20250613 → 1.0.0-next.20250618

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 (414) hide show
  1. package/dist/cdn/{NI6W7D5A.js → 2244Y2MO.js} +2 -2
  2. package/dist/cdn/{PZ4QY622.js → 24QKZMCL.js} +2 -2
  3. package/dist/cdn/{KUDZ5D7L.js → 25FHC6WS.js} +2 -2
  4. package/dist/cdn/{RBVM5G3M.js → 2FGKASUU.js} +2 -2
  5. package/dist/cdn/{QSZMGRE6.js → 2MR4I2BY.js} +2 -2
  6. package/dist/cdn/{DWW72S7K.js → 2PNCS4ES.js} +2 -2
  7. package/dist/cdn/{XNWAPK5V.js → 2TVUME4P.js} +2 -2
  8. package/dist/cdn/{GFZBEF2X.js → 2VYLMG7R.js} +2 -2
  9. package/dist/cdn/{66BP63VM.js → 2WLDVDNI.js} +2 -2
  10. package/dist/cdn/{MZY3EBXD.js → 2XEZFUUZ.js} +2 -2
  11. package/dist/cdn/{SGXXUYPR.js → 33FARYS4.js} +2 -2
  12. package/dist/cdn/{IF3A3DMK.js → 374THQEK.js} +3 -3
  13. package/dist/cdn/{WDBQW7IX.js → 3IVUXC6K.js} +2 -2
  14. package/dist/cdn/{B25NMROT.js → 3K2M3ZJ7.js} +2 -2
  15. package/dist/cdn/{X3C4SWBZ.js → 3NFWFQKJ.js} +2 -2
  16. package/dist/cdn/{Q6RSACS2.js → 3TMTXONC.js} +2 -2
  17. package/dist/cdn/{6RLCUNUI.js → 3UJWF2O4.js} +2 -2
  18. package/dist/cdn/{MHGX7IC4.js → 3VJ4OJBR.js} +1 -1
  19. package/dist/cdn/3WZDTHDA.js +4 -0
  20. package/dist/cdn/{ERDIVQ25.js → 44HGIWYU.js} +2 -2
  21. package/dist/cdn/{RAOIGUOR.js → 44R4RRIN.js} +2 -2
  22. package/dist/cdn/{ZPNMD2RT.js → 4EDJBRS2.js} +1 -1
  23. package/dist/cdn/{2EPS5SYY.js → 4JOV276H.js} +2 -2
  24. package/dist/cdn/{KDUSIRYT.js → 4K5SMLME.js} +2 -2
  25. package/dist/cdn/{N7LCND73.js → 4N5SFTZS.js} +1 -1
  26. package/dist/cdn/{PKZWKHVE.js → 4PQZIN5W.js} +2 -2
  27. package/dist/cdn/{FOBRIUEH.js → 4SH5J6QB.js} +2 -2
  28. package/dist/cdn/{IALX23CK.js → 4VAXISBH.js} +2 -2
  29. package/dist/cdn/{P2M5FUPS.js → 52DERCIP.js} +2 -2
  30. package/dist/cdn/55D7LERM.js +18 -0
  31. package/dist/cdn/{VEEP6F3T.js → 5CJ5UXZE.js} +2 -2
  32. package/dist/cdn/{QMGASUOO.js → 5FC4XKJM.js} +2 -2
  33. package/dist/cdn/{OXKZ4WL5.js → 5FQ3LHYT.js} +2 -2
  34. package/dist/cdn/{66GDPGJ4.js → 5JQOX6HV.js} +2 -2
  35. package/dist/cdn/{OHWUPE3N.js → 5NPT5B76.js} +2 -2
  36. package/dist/cdn/{X7CCOJBI.js → 5NR4JSYD.js} +1 -1
  37. package/dist/cdn/{OTLIXGZN.js → 5S6RNUPL.js} +1 -1
  38. package/dist/cdn/{U5YN7LKZ.js → 5XE5QQBN.js} +1 -1
  39. package/dist/cdn/6BZNU2TA.js +4 -0
  40. package/dist/cdn/{7FVHNQUY.js → 6EDK7AMA.js} +2 -2
  41. package/dist/cdn/{L3IKBHLJ.js → 6EXPZYAN.js} +2 -2
  42. package/dist/cdn/{UZYRU2CV.js → 6FURXZTX.js} +2 -2
  43. package/dist/cdn/{KXVNO4A5.js → 6SAVY66F.js} +1 -1
  44. package/dist/cdn/{YDLBEEXI.js → 6V6EVZXQ.js} +2 -2
  45. package/dist/cdn/{MTEXHIUZ.js → 6XWKSRVY.js} +2 -2
  46. package/dist/cdn/{QH3NPYAQ.js → 6YBZSHGK.js} +2 -2
  47. package/dist/cdn/{2Y73A3MC.js → 74YGVXNR.js} +2 -2
  48. package/dist/cdn/{LHP5SZ5Q.js → 7GMUS2LS.js} +1 -1
  49. package/dist/cdn/{NCJNH5ZN.js → 7PM3GU7K.js} +2 -2
  50. package/dist/cdn/{ZAP6T3AI.js → 7WZU2DWQ.js} +2 -2
  51. package/dist/cdn/{NJMEDUPT.js → 7XTA2OC4.js} +2 -2
  52. package/dist/cdn/{2CO25KUU.js → 7XTAIDC7.js} +2 -2
  53. package/dist/cdn/{SDSGL4OS.js → A4TDLONO.js} +2 -2
  54. package/dist/cdn/{5NPDUIR3.js → ABBIOVTY.js} +2 -2
  55. package/dist/cdn/{IAC5U4FW.js → ACNKDAEK.js} +2 -2
  56. package/dist/cdn/{YQ62X2PW.js → AFZHAYZU.js} +2 -2
  57. package/dist/cdn/{TW5CSUJI.js → AIU4AH74.js} +2 -2
  58. package/dist/cdn/{MVCOK2CK.js → AM6U5KXG.js} +2 -2
  59. package/dist/cdn/{7HNEFBST.js → AUFISDUF.js} +2 -2
  60. package/dist/cdn/{DX3JGAPB.js → B455LJUS.js} +2 -2
  61. package/dist/cdn/{2JCMVX4M.js → BAPCWA5D.js} +1 -1
  62. package/dist/cdn/{5DPFMR4I.js → BCBHVM7D.js} +1 -1
  63. package/dist/cdn/{OL7UAB72.js → BFY7IDVP.js} +2 -2
  64. package/dist/cdn/{6AJFPNS6.js → BMAKHKN7.js} +2 -2
  65. package/dist/cdn/{33L6GMXG.js → BNFPGA7K.js} +2 -2
  66. package/dist/cdn/{3IMYYEAA.js → BOSCZ675.js} +2 -2
  67. package/dist/cdn/{72ABS7Y2.js → BRZVBJCV.js} +2 -2
  68. package/dist/cdn/{VRTRTGZA.js → BUOXTJUP.js} +2 -2
  69. package/dist/cdn/{ZJVPDHYK.js → BX7KWN5V.js} +2 -2
  70. package/dist/cdn/{MFFHR33L.js → BXQJDMPG.js} +2 -2
  71. package/dist/cdn/{UC2ZDCJ4.js → BYLNGYZM.js} +2 -2
  72. package/dist/cdn/{S7XCGTZK.js → C2U5I6SG.js} +2 -2
  73. package/dist/cdn/{AF64VHQT.js → C3NFGCVR.js} +2 -2
  74. package/dist/cdn/{CGZYVYUK.js → C63JBRL7.js} +2 -2
  75. package/dist/cdn/{I6NUVFSK.js → C6KHQNY4.js} +2 -2
  76. package/dist/cdn/{C2AIE2T2.js → C6VO4ZTH.js} +1 -1
  77. package/dist/cdn/{DXFLMIEH.js → CA46MKTG.js} +2 -2
  78. package/dist/cdn/{DH27ODVZ.js → CHG7NEXI.js} +2 -2
  79. package/dist/cdn/{Z2JRY3A7.js → CNUSPWTX.js} +2 -2
  80. package/dist/cdn/{PGM2D4BL.js → CPPGUGUJ.js} +2 -2
  81. package/dist/cdn/{OOPBP5XR.js → CWJEUFSX.js} +2 -2
  82. package/dist/cdn/{2IW5OPGT.js → CXFSUXVU.js} +1 -1
  83. package/dist/cdn/{EXBNMAE6.js → D2UQQP3J.js} +1 -1
  84. package/dist/cdn/{LCSMIPHM.js → D4VNGPET.js} +2 -2
  85. package/dist/cdn/{W4KUVWND.js → D4Z5SEOU.js} +2 -2
  86. package/dist/cdn/{SP5YHQIJ.js → DEMETEO5.js} +2 -2
  87. package/dist/cdn/{FK3LVUKS.js → DGMUEXX5.js} +2 -2
  88. package/dist/cdn/{KFHHWR7Q.js → DGX3VNBF.js} +2 -2
  89. package/dist/cdn/{45JZSDFM.js → DIBSSNLF.js} +2 -2
  90. package/dist/cdn/{UKVIZZJA.js → DKDDSSZO.js} +1 -1
  91. package/dist/cdn/{OTGVNQI2.js → DNTD5DIN.js} +2 -2
  92. package/dist/cdn/{ZCSKWHOT.js → DQFV5W24.js} +2 -2
  93. package/dist/cdn/{DASHRYX4.js → DRFV4N6J.js} +1 -1
  94. package/dist/cdn/{5HO6CGS5.js → DWJVRI4L.js} +2 -2
  95. package/dist/cdn/{DZYWA7TU.js → EAXBLKRL.js} +2 -2
  96. package/dist/cdn/{E64YVOUB.js → EI7IFIR5.js} +2 -2
  97. package/dist/cdn/{RYBBDSVC.js → ENXXOCBV.js} +2 -2
  98. package/dist/cdn/{TC5MSHUC.js → EQ6HIJ73.js} +1 -1
  99. package/dist/cdn/{NSX3F6PK.js → EQAAMDKN.js} +2 -2
  100. package/dist/cdn/{SPJHTFGW.js → EQREWO2C.js} +2 -2
  101. package/dist/cdn/{TZU3WM3P.js → EU2AABK5.js} +2 -2
  102. package/dist/cdn/{2TBU3VSR.js → EWJGPFTB.js} +2 -2
  103. package/dist/cdn/{GSQAL2KY.js → F2YS2KUB.js} +2 -2
  104. package/dist/cdn/{VEPIEGAH.js → F4OUREFO.js} +2 -2
  105. package/dist/cdn/{BOD65ZU4.js → F5A3JXRF.js} +2 -2
  106. package/dist/cdn/{X67KLNQ2.js → FBYRFPWQ.js} +1 -1
  107. package/dist/cdn/{MLNYLKNC.js → FCGCC64A.js} +1 -1
  108. package/dist/cdn/{C5K2J7H4.js → FI7JBBNV.js} +2 -2
  109. package/dist/cdn/{7DTXJNDH.js → FMKTLZLW.js} +2 -2
  110. package/dist/cdn/{IAJEOYDY.js → FNC6JCNV.js} +2 -2
  111. package/dist/cdn/{H47GJ6H5.js → FWHLFA72.js} +2 -2
  112. package/dist/cdn/{VXBW6YBU.js → FXD5UJQZ.js} +2 -2
  113. package/dist/cdn/{H6BFVMYO.js → GGASZ5GX.js} +2 -2
  114. package/dist/cdn/{ZYM7TYLE.js → GH4AB7FC.js} +2 -2
  115. package/dist/cdn/{PQ4JMMPZ.js → GJ7VFIAL.js} +2 -2
  116. package/dist/cdn/{BNKH37TY.js → GK64B4Y5.js} +1 -1
  117. package/dist/cdn/{YD7TNP2F.js → GKUP7YBW.js} +2 -2
  118. package/dist/cdn/{VC3IFEV6.js → GPWOBF4O.js} +2 -2
  119. package/dist/cdn/{O3RRQFC7.js → GQZJXEOJ.js} +2 -2
  120. package/dist/cdn/{2CXGIE2Y.js → GUAZDGXF.js} +2 -2
  121. package/dist/cdn/{REX5WEEL.js → GXE3T5ME.js} +2 -2
  122. package/dist/cdn/GYB5EHKN.js +4 -0
  123. package/dist/cdn/{UOKEIQSK.js → H3LTFVD3.js} +2 -2
  124. package/dist/cdn/{VH4KD2UB.js → H5NYMCNF.js} +1 -1
  125. package/dist/cdn/{RJ3KA2QH.js → H7KRIZYY.js} +2 -2
  126. package/dist/cdn/{M7AKF2FM.js → HCQWDC5Y.js} +2 -2
  127. package/dist/cdn/{TPKKNJPF.js → HDN3HX4F.js} +4 -4
  128. package/dist/cdn/{65PMG2PU.js → HE52H5T7.js} +2 -2
  129. package/dist/cdn/{B3A3AMPV.js → HR52TSAG.js} +2 -2
  130. package/dist/cdn/{KF2RPBWH.js → HS44A7DV.js} +2 -2
  131. package/dist/cdn/{XHSVY2EB.js → I223WFEJ.js} +2 -2
  132. package/dist/cdn/{N3FYHZ2M.js → I3FMSIRV.js} +2 -2
  133. package/dist/cdn/{6MQ5O5LY.js → I42ZIETY.js} +2 -2
  134. package/dist/cdn/{2PFHWIEU.js → I7DZRYJ4.js} +2 -2
  135. package/dist/cdn/{4IS37ZST.js → INYQWKVM.js} +2 -2
  136. package/dist/cdn/{RP24U6QA.js → IOQRMBVE.js} +2 -2
  137. package/dist/cdn/{QFECG4JS.js → IRYLEP5E.js} +2 -2
  138. package/dist/cdn/{WCOVLACF.js → ISHMKYCT.js} +2 -2
  139. package/dist/cdn/{K7TEZ7PM.js → IWMOD5XS.js} +1 -1
  140. package/dist/cdn/{UKW2PIRS.js → J646NFBU.js} +2 -2
  141. package/dist/cdn/{274YYYMS.js → JHMQASWG.js} +2 -2
  142. package/dist/cdn/{V6ZZBJ75.js → JJUGJ2NQ.js} +2 -2
  143. package/dist/cdn/{DVVDE2AV.js → JLQQYQLO.js} +1 -1
  144. package/dist/cdn/{FWKD6EYP.js → JQ3EXPCH.js} +2 -2
  145. package/dist/cdn/{QF52CHR2.js → JSZS4YMI.js} +2 -2
  146. package/dist/cdn/{6MV7IVTY.js → JVSLJLHC.js} +3 -3
  147. package/dist/cdn/{CILM6ZZK.js → JZSLUW6H.js} +1 -1
  148. package/dist/cdn/{WXYWYY3L.js → KM37RWWT.js} +1 -1
  149. package/dist/cdn/{AJP3NB7X.js → KNYCOY2Y.js} +2 -2
  150. package/dist/cdn/{MHCFCKU5.js → KPRXODCN.js} +1 -1
  151. package/dist/cdn/KTQP6SYQ.js +4 -0
  152. package/dist/cdn/KWW7BGHU.js +18 -0
  153. package/dist/cdn/{JSD4D4IU.js → L3GNYUZS.js} +2 -2
  154. package/dist/cdn/{PTID7RWS.js → L7ILT6B2.js} +2 -2
  155. package/dist/cdn/{WUXC3NVU.js → L7UWX4OU.js} +1 -1
  156. package/dist/cdn/{JBOSZIGQ.js → LE3S7LTK.js} +2 -2
  157. package/dist/cdn/{D5LXSOBF.js → LES5OEWI.js} +2 -2
  158. package/dist/cdn/{TH36Z3EQ.js → LKVPVDSP.js} +2 -2
  159. package/dist/cdn/{7XO35MKM.js → LNKNTWPS.js} +2 -2
  160. package/dist/cdn/{TYZZAW7E.js → LOKBQU54.js} +2 -2
  161. package/dist/cdn/{GAEUS47T.js → LOXXCK32.js} +2 -2
  162. package/dist/cdn/LUUUOSAV.js +4 -0
  163. package/dist/cdn/{UPQTLWZA.js → M3AWJV2X.js} +2 -2
  164. package/dist/cdn/{5TICPJ6T.js → MCNJCP36.js} +1 -1
  165. package/dist/cdn/{X6YB4RRP.js → MEXVBPZO.js} +2 -2
  166. package/dist/cdn/{22VDIWCV.js → MIGXPLDO.js} +2 -2
  167. package/dist/cdn/{UR3FAOLQ.js → MIIAMCI3.js} +2 -2
  168. package/dist/cdn/{XHNIG4LQ.js → ML4HH2XO.js} +2 -2
  169. package/dist/cdn/{KKBRAZNY.js → N2LVCOS2.js} +2 -2
  170. package/dist/cdn/{V6CU25IV.js → N4N2PUAH.js} +2 -2
  171. package/dist/cdn/{XWSLSQGX.js → NBZYGS2Y.js} +2 -2
  172. package/dist/cdn/{2NUECUOL.js → ND56OQM6.js} +2 -2
  173. package/dist/cdn/{XQJLGH6W.js → ND5MBWWM.js} +2 -2
  174. package/dist/cdn/{5UJ4IPXJ.js → NEDXNA46.js} +2 -2
  175. package/dist/cdn/{6DNHQQ3A.js → NKC3NX4V.js} +2 -2
  176. package/dist/cdn/{4JCBZIU7.js → NL35B74B.js} +2 -2
  177. package/dist/cdn/{SHEOGGDB.js → NLQHFP2V.js} +2 -2
  178. package/dist/cdn/NOEB4RRW.js +18 -0
  179. package/dist/cdn/NUITK3CM.js +4 -0
  180. package/dist/cdn/{NW4UWDEC.js → NZZDCUMO.js} +2 -2
  181. package/dist/cdn/{OZAZROXV.js → O4P2M4CZ.js} +2 -2
  182. package/dist/cdn/{S3YNSR6B.js → ODI4ESEW.js} +1 -1
  183. package/dist/cdn/{QZITIAU7.js → OEPIVYUB.js} +2 -2
  184. package/dist/cdn/{DBXTXE2N.js → ONVDNXC7.js} +1 -1
  185. package/dist/cdn/{UY2NUYYG.js → ORUFW7OP.js} +2 -2
  186. package/dist/cdn/{PWFNEOMW.js → OTWYBSQC.js} +2 -2
  187. package/dist/cdn/{Y34X2BEZ.js → OXLLAXGS.js} +2 -2
  188. package/dist/cdn/{PY2SRIID.js → PEHYETIA.js} +2 -2
  189. package/dist/cdn/{ERWALFVE.js → PEJJRGU6.js} +2 -2
  190. package/dist/cdn/{QHKUHSB4.js → PHNTRSWP.js} +2 -2
  191. package/dist/cdn/{ZQMYQNUW.js → PLXLQ3CQ.js} +2 -2
  192. package/dist/cdn/PQ3QQ2DX.js +18 -0
  193. package/dist/cdn/{7F5VKLCK.js → PTQDMYK2.js} +1 -1
  194. package/dist/cdn/{6QYNVEGC.js → PWYGDLAO.js} +2 -2
  195. package/dist/cdn/{377IXJY2.js → PXVQ4MS7.js} +1 -1
  196. package/dist/cdn/{2T3B74OY.js → PZXL5JWK.js} +2 -2
  197. package/dist/cdn/{N5IMLUEJ.js → Q4XPLYRK.js} +2 -2
  198. package/dist/cdn/{W4BK25RV.js → QDCFIPUZ.js} +2 -2
  199. package/dist/cdn/{7DGHICZE.js → QMUCWJBP.js} +2 -2
  200. package/dist/cdn/{A72736JC.js → QW5IVKR3.js} +2 -2
  201. package/dist/cdn/{6PO4KLK2.js → RAWSWD7G.js} +1 -1
  202. package/dist/cdn/{FVBTKN3N.js → RC3Q3RXK.js} +1 -1
  203. package/dist/cdn/{6JQDE67P.js → REYE7QSP.js} +2 -2
  204. package/dist/cdn/{MJUSVFEE.js → RFO7GXOU.js} +1 -1
  205. package/dist/cdn/RJTFNQCX.js +4 -0
  206. package/dist/cdn/{IJOSG4N5.js → RKVT7IG3.js} +1 -1
  207. package/dist/cdn/{YSBCE6IL.js → RLKPDTX4.js} +1 -1
  208. package/dist/cdn/{OBFREFMC.js → RNAXM3HG.js} +2 -2
  209. package/dist/cdn/{TQ6RZ33F.js → RNCHLAHC.js} +1 -1
  210. package/dist/cdn/{M3QOKP23.js → RTUHEWZ2.js} +2 -2
  211. package/dist/cdn/{4EDMGBIS.js → RYDUEVW4.js} +2 -2
  212. package/dist/cdn/{NMMFRIU6.js → SCAFPUFM.js} +2 -2
  213. package/dist/cdn/{PSNN2F3O.js → SEDBVNWJ.js} +2 -2
  214. package/dist/cdn/{MYTDLSKW.js → SHWVKFYE.js} +2 -2
  215. package/dist/cdn/{RRKAGWN6.js → SJT6JTUS.js} +2 -2
  216. package/dist/cdn/{QV7PB2KD.js → SLMYC2BZ.js} +2 -2
  217. package/dist/cdn/{LPFHKDLD.js → SOI2KF4J.js} +1 -1
  218. package/dist/cdn/{QQSAJPIY.js → SOSQZMAV.js} +2 -2
  219. package/dist/cdn/{JTGDHH2G.js → SQW3C6SV.js} +2 -2
  220. package/dist/cdn/{7FEZLKY7.js → STLC6O54.js} +2 -2
  221. package/dist/cdn/{GWKZIPJH.js → SUG4ZWOX.js} +2 -2
  222. package/dist/cdn/{ZUQWIUGY.js → SVHKJM4Z.js} +2 -2
  223. package/dist/cdn/{D2SRSVHL.js → T4G7UDTD.js} +2 -2
  224. package/dist/cdn/{4NASOTXM.js → TAMNRSJC.js} +1 -1
  225. package/dist/cdn/{6MUGOANO.js → TBF3A2JM.js} +2 -2
  226. package/dist/cdn/{HN5MMXWZ.js → TNT7W35H.js} +2 -2
  227. package/dist/cdn/{E4EIYPLL.js → TQDMQEZW.js} +2 -2
  228. package/dist/cdn/{B7UAO4LR.js → TQZKMCLT.js} +2 -2
  229. package/dist/cdn/{2DKM6FJB.js → TTJCLLYP.js} +2 -2
  230. package/dist/cdn/{KWKZT7B5.js → TWFPTVX7.js} +2 -2
  231. package/dist/cdn/{ZSBHYTRL.js → TZ6WSXOI.js} +2 -2
  232. package/dist/cdn/{4QPHTDMN.js → U6BMGUYM.js} +2 -2
  233. package/dist/cdn/{CXKUQGUM.js → UBJU2THW.js} +2 -2
  234. package/dist/cdn/{3Q3S4KCD.js → UDYGXKHM.js} +2 -2
  235. package/dist/cdn/{2J67PINK.js → ULFGT4R7.js} +2 -2
  236. package/dist/cdn/{I62RYEPM.js → UPKWDR5L.js} +2 -2
  237. package/dist/cdn/{OGJBWQ2A.js → UPNQ6TPG.js} +2 -2
  238. package/dist/cdn/{F2HTXL46.js → UQSOC5MG.js} +2 -2
  239. package/dist/cdn/{DI4XSN3O.js → UTVZOV34.js} +2 -2
  240. package/dist/cdn/{FSX5ISCK.js → V23K3N7V.js} +2 -2
  241. package/dist/cdn/{3IRDRDFA.js → V44QI423.js} +2 -2
  242. package/dist/cdn/{LBK2B2KM.js → V4RAUR7Y.js} +2 -2
  243. package/dist/cdn/{T6H5UYKM.js → VED422NC.js} +2 -2
  244. package/dist/cdn/{P3SBMKK7.js → VGHIMU7N.js} +2 -2
  245. package/dist/cdn/{MVV4NNJ5.js → VHUYPEZN.js} +2 -2
  246. package/dist/cdn/{VHMJSA7X.js → VSIFE3SH.js} +2 -2
  247. package/dist/cdn/{BAKMXZ7G.js → VTIGVKIS.js} +2 -2
  248. package/dist/cdn/{LGQFUJLP.js → VU7QI6OD.js} +2 -2
  249. package/dist/cdn/{YINO6TQT.js → VZ726QB2.js} +2 -2
  250. package/dist/cdn/{OKEZMB6G.js → W3NB425M.js} +2 -2
  251. package/dist/cdn/{NLV4FZCC.js → W4RLT3O3.js} +2 -2
  252. package/dist/cdn/{ZOP3G47D.js → W6NQLDGV.js} +2 -2
  253. package/dist/cdn/WAEKIWCS.js +4 -0
  254. package/dist/cdn/{YDQYV74W.js → WFISTQRC.js} +2 -2
  255. package/dist/cdn/{YUKV3NWK.js → WGZW544H.js} +2 -2
  256. package/dist/cdn/{UPA7CZWG.js → WHS25D4U.js} +2 -2
  257. package/dist/cdn/{T67LMZC2.js → WLFEE6M6.js} +2 -2
  258. package/dist/cdn/WMXABBDN.js +4 -0
  259. package/dist/cdn/{HEG6SMKM.js → WTKAMWU5.js} +2 -2
  260. package/dist/cdn/{FIBRPI6R.js → WUT2ZZ3H.js} +2 -2
  261. package/dist/cdn/XSFAEVZR.js +4 -0
  262. package/dist/cdn/{PN3T6KFP.js → XXZWFBWQ.js} +2 -2
  263. package/dist/cdn/{ENBESLVD.js → XZJE3HMV.js} +1 -1
  264. package/dist/cdn/{HS6GUC22.js → Y43ESBMM.js} +2 -2
  265. package/dist/cdn/{MU7TM2F2.js → Y6PI7UZQ.js} +1 -1
  266. package/dist/cdn/{MK7REF7S.js → YCPBEFQ6.js} +1 -1
  267. package/dist/cdn/{GOSNXA6P.js → YGV3NAYM.js} +2 -2
  268. package/dist/cdn/{OSZACI45.js → YN2RPACQ.js} +2 -2
  269. package/dist/cdn/{XBAMLJBK.js → YPJNVXLV.js} +2 -2
  270. package/dist/cdn/{YIKSDDBF.js → YXJHWCOM.js} +2 -2
  271. package/dist/cdn/{7J7JEO5J.js → YY6IVALJ.js} +2 -2
  272. package/dist/cdn/{4OT4W6QT.js → YZSSPKU4.js} +2 -2
  273. package/dist/cdn/{KAVI5FEZ.js → Z2JYQSV7.js} +1 -1
  274. package/dist/cdn/{FSKJTN3T.js → Z4L3MA4P.js} +2 -2
  275. package/dist/cdn/ZD3B5CQI.js +18 -0
  276. package/dist/cdn/{JVLS6G3W.js → ZGCTEB2Y.js} +2 -2
  277. package/dist/cdn/{Z6TNCHWU.js → ZJJOMQAI.js} +2 -2
  278. package/dist/cdn/{FOWQMKU2.js → ZKWRIM7W.js} +2 -2
  279. package/dist/cdn/{XT7PFAWR.js → ZLGDVCWF.js} +2 -2
  280. package/dist/cdn/{ZWICHMUP.js → ZQQTCO2U.js} +2 -2
  281. package/dist/cdn/{2TJPUN6O.js → ZRX5NPWE.js} +2 -2
  282. package/dist/cdn/{W3TTJTGV.js → ZSXYETQI.js} +2 -2
  283. package/dist/cdn/{QN7LS2QQ.js → ZXOCAHX5.js} +2 -2
  284. package/dist/cdn/{OGBEUJ35.js → ZYS5MFJN.js} +2 -2
  285. package/dist/cdn/assets/layer-table/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/layer-table/t9n/messages.json +1 -1
  287. package/dist/cdn/assets/map-card/t9n/messages.en.json +1 -1
  288. package/dist/cdn/assets/map-card/t9n/messages.json +1 -1
  289. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  290. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  291. package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
  292. package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
  293. package/dist/cdn/index.js +2 -2
  294. package/dist/chunks/Auth.js +1 -1
  295. package/dist/chunks/appConfig.js +1 -1
  296. package/dist/chunks/cardFetchingUtils.js +1 -1
  297. package/dist/chunks/common.js +1 -1
  298. package/dist/chunks/deployAppContexts.js +1 -1
  299. package/dist/chunks/downloadUtils.js +1 -1
  300. package/dist/chunks/helpers.js +1 -1
  301. package/dist/chunks/index.js +1 -1
  302. package/dist/chunks/interfaces.js +24 -23
  303. package/dist/chunks/loadModules.js +1 -1
  304. package/dist/chunks/mapViewUtils.js +1 -1
  305. package/dist/chunks/pciUtils.js +1 -1
  306. package/dist/chunks/popupUtils.js +1 -1
  307. package/dist/chunks/privilegeUtils.js +1 -1
  308. package/dist/chunks/publicNotificationStore.js +1 -1
  309. package/dist/chunks/queryUtils.js +1 -1
  310. package/dist/chunks/runtime.js +1 -1
  311. package/dist/chunks/solution-store.js +1 -1
  312. package/dist/chunks/templates.js +1 -1
  313. package/dist/chunks/useT9n.js +1 -1
  314. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  315. package/dist/components/basemap-gallery/customElement.js +1 -1
  316. package/dist/components/buffer-tools/customElement.js +1 -1
  317. package/dist/components/card-manager/customElement.js +1 -1
  318. package/dist/components/consent-manager/customElement.js +1 -1
  319. package/dist/components/create-feature/customElement.js +8 -7
  320. package/dist/components/create-related-feature/customElement.js +1 -1
  321. package/dist/components/crowdsource-manager/customElement.js +2 -2
  322. package/dist/components/crowdsource-reporter/customElement.js +61 -49
  323. package/dist/components/deduct-calculator/customElement.js +1 -1
  324. package/dist/components/delete-button/customElement.js +1 -1
  325. package/dist/components/delete-dialog/customElement.js +1 -1
  326. package/dist/components/edit-card/customElement.js +1 -1
  327. package/dist/components/feature-details/customElement.js +12 -12
  328. package/dist/components/feature-list/customElement.js +1 -1
  329. package/dist/components/field-selection/customElement.js +1 -1
  330. package/dist/components/floor-filter/customElement.js +1 -1
  331. package/dist/components/info-card/customElement.js +1 -1
  332. package/dist/components/json-editor/customElement.js +1 -1
  333. package/dist/components/layer-list/customElement.js +1 -1
  334. package/dist/components/layer-table/customElement.js +30 -25
  335. package/dist/components/map-card/customElement.js +31 -30
  336. package/dist/components/map-draw-tools/customElement.js +1 -1
  337. package/dist/components/map-fullscreen/customElement.js +1 -1
  338. package/dist/components/map-layer-picker/customElement.js +1 -1
  339. package/dist/components/map-legend/customElement.js +1 -1
  340. package/dist/components/map-picker/customElement.js +1 -1
  341. package/dist/components/map-search/customElement.js +1 -1
  342. package/dist/components/map-select-tools/customElement.js +1 -1
  343. package/dist/components/map-tools/customElement.js +1 -1
  344. package/dist/components/pci-calculator/customElement.js +1 -1
  345. package/dist/components/pdf-download/customElement.js +1 -1
  346. package/dist/components/public-notification/customElement.js +1 -1
  347. package/dist/components/refine-selection/customElement.js +1 -1
  348. package/dist/components/selection-tool/customElement.js +1 -1
  349. package/dist/components/solution-article-card/customElement.js +1 -1
  350. package/dist/components/solution-configuration/customElement.js +1 -1
  351. package/dist/components/solution-configure-dialog/customElement.d.ts +9 -0
  352. package/dist/components/solution-configure-dialog/customElement.js +45 -17
  353. package/dist/components/solution-configure-dialog/index.d.ts +7 -1
  354. package/dist/components/solution-configure-dialog/index.js +7 -1
  355. package/dist/components/solution-configure-titles/customElement.d.ts +10 -0
  356. package/dist/components/solution-configure-titles/customElement.js +49 -16
  357. package/dist/components/solution-configure-titles/index.d.ts +5 -1
  358. package/dist/components/solution-configure-titles/index.js +5 -1
  359. package/dist/components/solution-contents/customElement.js +1 -1
  360. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  361. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  362. package/dist/components/solution-deployed-card/customElement.js +1 -1
  363. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  364. package/dist/components/solution-details-card/customElement.js +1 -1
  365. package/dist/components/solution-details-panel/customElement.js +1 -1
  366. package/dist/components/solution-item/customElement.js +1 -1
  367. package/dist/components/solution-item-accordion/customElement.js +1 -1
  368. package/dist/components/solution-item-details/customElement.js +1 -1
  369. package/dist/components/solution-item-icon/customElement.js +1 -1
  370. package/dist/components/solution-item-sharing/customElement.js +1 -1
  371. package/dist/components/solution-items-diagram/customElement.js +1 -1
  372. package/dist/components/solution-organization-variables/customElement.js +1 -1
  373. package/dist/components/solution-resource-item/customElement.js +1 -1
  374. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  375. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  376. package/dist/components/solution-template-data/customElement.js +1 -1
  377. package/dist/components/solution-variables/customElement.js +1 -1
  378. package/dist/components/solutions-all-panel/customElement.js +10 -10
  379. package/dist/components/solutions-all-shell/customElement.js +1 -1
  380. package/dist/components/solutions-article-panel/customElement.js +1 -1
  381. package/dist/components/solutions-articles/customElement.js +1 -1
  382. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  383. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  384. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  385. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  386. package/dist/components/spatial-ref/customElement.js +1 -1
  387. package/dist/components/store-manager/customElement.js +1 -1
  388. package/dist/docs/api.json +109 -3
  389. package/dist/docs/docs.json +105 -5
  390. package/dist/docs/vscode.html-custom-data.json +14 -2
  391. package/dist/docs/web-types.json +45 -5
  392. package/dist/index.js +1 -1
  393. package/dist/loader.js +3 -3
  394. package/dist/types/lumina.d.ts +2 -2
  395. package/dist/types/preact.d.ts +2 -2
  396. package/dist/types/react.d.ts +2 -2
  397. package/dist/types/stencil.d.ts +2 -2
  398. package/dist/utils/interfaces.d.ts +1 -0
  399. package/package.json +1 -1
  400. package/dist/cdn/BJUDP4CV.js +0 -4
  401. package/dist/cdn/CKVKWVOH.js +0 -18
  402. package/dist/cdn/H5JSQR72.js +0 -18
  403. package/dist/cdn/KG63GRNH.js +0 -4
  404. package/dist/cdn/LBJBSIYL.js +0 -4
  405. package/dist/cdn/M3VFFWM2.js +0 -4
  406. package/dist/cdn/M5U5CJTL.js +0 -4
  407. package/dist/cdn/NQWWH65Q.js +0 -4
  408. package/dist/cdn/OVMH6ABW.js +0 -18
  409. package/dist/cdn/PQFKVNAR.js +0 -4
  410. package/dist/cdn/VM6LPXEK.js +0 -4
  411. package/dist/cdn/X2U56JE5.js +0 -18
  412. package/dist/cdn/XXYS5XVH.js +0 -18
  413. package/dist/cdn/YLIEQBKF.js +0 -4
  414. package/dist/cdn/Z7OOU2TV.js +0 -4
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-06-13T18:18:24",
2
+ "timestamp": "2025-06-18T18:56:51",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
5
  "version": "4.33.0-next.151",
@@ -14229,11 +14229,61 @@
14229
14229
  "text": "{\"name\":\"LitElement\",\"package\":\"@arcgis/lumina\"}"
14230
14230
  }
14231
14231
  ],
14232
- "encapsulation": "none",
14232
+ "encapsulation": "shadow",
14233
14233
  "dependents": [],
14234
14234
  "dependencies": [],
14235
14235
  "dependencyGraph": {},
14236
- "props": [],
14236
+ "props": [
14237
+ {
14238
+ "name": "open",
14239
+ "type": "boolean",
14240
+ "complexType": {
14241
+ "original": "boolean",
14242
+ "resolved": "boolean",
14243
+ "references": {}
14244
+ },
14245
+ "mutable": true,
14246
+ "attr": "open",
14247
+ "reflectToAttr": false,
14248
+ "docs": "boolean: when true the dialog is open",
14249
+ "docsTags": [],
14250
+ "default": "false",
14251
+ "values": [
14252
+ {
14253
+ "type": "boolean"
14254
+ }
14255
+ ],
14256
+ "optional": true,
14257
+ "required": false
14258
+ },
14259
+ {
14260
+ "name": "templateInfos",
14261
+ "type": "Array<ITemplateInfo>",
14262
+ "complexType": {
14263
+ "original": "Array<ITemplateInfo>",
14264
+ "resolved": "Array<ITemplateInfo>",
14265
+ "references": {
14266
+ "Array": {
14267
+ "location": "import",
14268
+ "path": "typescript/lib/lib.es5.d.ts",
14269
+ "id": "notImplemented"
14270
+ },
14271
+ "ITemplateInfo": {
14272
+ "location": "local",
14273
+ "path": "dist/utils/interfaces.d.ts",
14274
+ "id": "notImplemented"
14275
+ }
14276
+ }
14277
+ },
14278
+ "mutable": true,
14279
+ "reflectToAttr": false,
14280
+ "docs": "ITemplateInfo[]: Collection of template infos",
14281
+ "docsTags": [],
14282
+ "values": [],
14283
+ "optional": true,
14284
+ "required": false
14285
+ }
14286
+ ],
14237
14287
  "methods": [
14238
14288
  {
14239
14289
  "name": "componentOnReady",
@@ -14287,11 +14337,61 @@
14287
14337
  "text": "{\"name\":\"LitElement\",\"package\":\"@arcgis/lumina\"}"
14288
14338
  }
14289
14339
  ],
14290
- "encapsulation": "none",
14340
+ "encapsulation": "shadow",
14291
14341
  "dependents": [],
14292
14342
  "dependencies": [],
14293
14343
  "dependencyGraph": {},
14294
- "props": [],
14344
+ "props": [
14345
+ {
14346
+ "name": "open",
14347
+ "type": "boolean",
14348
+ "complexType": {
14349
+ "original": "boolean",
14350
+ "resolved": "boolean",
14351
+ "references": {}
14352
+ },
14353
+ "mutable": true,
14354
+ "attr": "open",
14355
+ "reflectToAttr": false,
14356
+ "docs": "boolean: when true the dialog is open",
14357
+ "docsTags": [],
14358
+ "default": "false",
14359
+ "values": [
14360
+ {
14361
+ "type": "boolean"
14362
+ }
14363
+ ],
14364
+ "optional": true,
14365
+ "required": false
14366
+ },
14367
+ {
14368
+ "name": "templateInfos",
14369
+ "type": "Array<ITemplateInfo>",
14370
+ "complexType": {
14371
+ "original": "Array<ITemplateInfo>",
14372
+ "resolved": "Array<ITemplateInfo>",
14373
+ "references": {
14374
+ "Array": {
14375
+ "location": "import",
14376
+ "path": "typescript/lib/lib.es5.d.ts",
14377
+ "id": "notImplemented"
14378
+ },
14379
+ "ITemplateInfo": {
14380
+ "location": "local",
14381
+ "path": "dist/utils/interfaces.d.ts",
14382
+ "id": "notImplemented"
14383
+ }
14384
+ }
14385
+ },
14386
+ "mutable": true,
14387
+ "reflectToAttr": false,
14388
+ "docs": "ITemplateInfo[]: Collection of template infos",
14389
+ "docsTags": [],
14390
+ "values": [],
14391
+ "optional": true,
14392
+ "required": false
14393
+ }
14394
+ ],
14295
14395
  "methods": [
14296
14396
  {
14297
14397
  "name": "componentOnReady",
@@ -2013,13 +2013,25 @@
2013
2013
  {
2014
2014
  "name": "solution-configure-dialog",
2015
2015
  "description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
2016
- "attributes": [],
2016
+ "attributes": [
2017
+ {
2018
+ "name": "open",
2019
+ "description": "boolean: when true the dialog is open",
2020
+ "values": []
2021
+ }
2022
+ ],
2017
2023
  "references": []
2018
2024
  },
2019
2025
  {
2020
2026
  "name": "solution-configure-titles",
2021
2027
  "description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
2022
- "attributes": [],
2028
+ "attributes": [
2029
+ {
2030
+ "name": "open",
2031
+ "description": "boolean: when true the dialog is open",
2032
+ "values": []
2033
+ }
2034
+ ],
2023
2035
  "references": []
2024
2036
  },
2025
2037
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@esri/solutions-components",
4
- "version": "1.0.0-next.20250613",
4
+ "version": "1.0.0-next.20250618",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -5675,20 +5675,60 @@
5675
5675
  {
5676
5676
  "name": "solution-configure-dialog",
5677
5677
  "description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
5678
- "attributes": [],
5678
+ "attributes": [
5679
+ {
5680
+ "name": "open",
5681
+ "description": "boolean: when true the dialog is open",
5682
+ "default": "false",
5683
+ "value": {
5684
+ "type": "boolean"
5685
+ }
5686
+ }
5687
+ ],
5679
5688
  "events": [],
5680
5689
  "js": {
5681
- "properties": [],
5690
+ "properties": [
5691
+ {
5692
+ "name": "open",
5693
+ "description": "boolean: when true the dialog is open",
5694
+ "type": "boolean"
5695
+ },
5696
+ {
5697
+ "name": "templateInfos",
5698
+ "description": "ITemplateInfo[]: Collection of template infos",
5699
+ "type": "Array<ITemplateInfo>"
5700
+ }
5701
+ ],
5682
5702
  "events": []
5683
5703
  }
5684
5704
  },
5685
5705
  {
5686
5706
  "name": "solution-configure-titles",
5687
5707
  "description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
5688
- "attributes": [],
5708
+ "attributes": [
5709
+ {
5710
+ "name": "open",
5711
+ "description": "boolean: when true the dialog is open",
5712
+ "default": "false",
5713
+ "value": {
5714
+ "type": "boolean"
5715
+ }
5716
+ }
5717
+ ],
5689
5718
  "events": [],
5690
5719
  "js": {
5691
- "properties": [],
5720
+ "properties": [
5721
+ {
5722
+ "name": "open",
5723
+ "description": "boolean: when true the dialog is open",
5724
+ "type": "boolean"
5725
+ },
5726
+ {
5727
+ "name": "templateInfos",
5728
+ "description": "ITemplateInfo[]: Collection of template infos",
5729
+ "type": "Array<ITemplateInfo>"
5730
+ }
5731
+ ],
5692
5732
  "events": []
5693
5733
  }
5694
5734
  },
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { g as e, s as a } from "./chunks/runtime.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
4
- v1.0.0-next.20250613 */
4
+ v1.0.0-next.20250618 */
5
5
  export {
6
6
  e as getAssetPath,
7
7
  a as setAssetPath
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as o } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
5
- v1.0.0-next.20250613 */
5
+ v1.0.0-next.20250618 */
6
6
  const l = o(e, {
7
7
  "arcgis-solutions-assistant": [() => import("./components/arcgis-solutions-assistant/customElement.js"), "AIServerUrl,token"],
8
8
  "basemap-gallery": [() => import("./components/basemap-gallery/customElement.js"), "basemapConfig:,basemapWidget:,mapView:"],
@@ -41,8 +41,8 @@ const l = o(e, {
41
41
  "selection-tool": [() => import("./components/selection-tool/customElement.js"), "mapView:,selectedLayerId,tool;toggleSelectionTool"],
42
42
  "solution-article-card": [() => import("./components/solution-article-card/customElement.js")],
43
43
  "solution-configuration": [() => import("./components/solution-configuration/customElement.js"), "authentication:,serializedAuthentication,showLoading,solutionItemId;getSpatialReferenceInfo,saveSolution,unloadSolution"],
44
- "solution-configure-dialog": [() => import("./components/solution-configure-dialog/customElement.js")],
45
- "solution-configure-titles": [() => import("./components/solution-configure-titles/customElement.js")],
44
+ "solution-configure-dialog": [() => import("./components/solution-configure-dialog/customElement.js"), "open,templateInfos:"],
45
+ "solution-configure-titles": [() => import("./components/solution-configure-titles/customElement.js"), "open,templateInfos:"],
46
46
  "solution-contents": [() => import("./components/solution-contents/customElement.js"), "selectedItemId,templateHierarchy:"],
47
47
  "solution-delete-dialog": [() => import("./components/solution-delete-dialog/customElement.js"), "authContextConsumer:,card:,open,userSessionContextConsumer:;;close,delete"],
48
48
  "solution-deploy-dialog": [() => import("./components/solution-deploy-dialog/customElement.js"), "authContextConsumer:,card:,open,userSessionContextConsumer:,wkid;;close,deploy"],
@@ -254,10 +254,10 @@ interface LuminaSolutionArticleCard extends h.JSX.HTMLAttributes<HTMLSolutionArt
254
254
  interface LuminaSolutionConfiguration extends Partial<Pick<SolutionConfiguration, 'authentication' | 'serializedAuthentication' | 'showLoading' | 'solutionItemId'>>, h.JSX.HTMLAttributes<HTMLSolutionConfigurationElement> {
255
255
  }
256
256
 
257
- interface LuminaSolutionConfigureDialog extends h.JSX.HTMLAttributes<HTMLSolutionConfigureDialogElement> {
257
+ interface LuminaSolutionConfigureDialog extends Partial<Pick<SolutionConfigureDialog, 'open' | 'templateInfos'>>, h.JSX.HTMLAttributes<HTMLSolutionConfigureDialogElement> {
258
258
  }
259
259
 
260
- interface LuminaSolutionConfigureTitles extends h.JSX.HTMLAttributes<HTMLSolutionConfigureTitlesElement> {
260
+ interface LuminaSolutionConfigureTitles extends Partial<Pick<SolutionConfigureTitles, 'open' | 'templateInfos'>>, h.JSX.HTMLAttributes<HTMLSolutionConfigureTitlesElement> {
261
261
  }
262
262
 
263
263
  interface LuminaSolutionContents extends Partial<Pick<SolutionContents, 'selectedItemId' | 'templateHierarchy'>>, h.JSX.HTMLAttributes<HTMLSolutionContentsElement> {
@@ -255,10 +255,10 @@ interface PreactSolutionArticleCard extends PreactJsx.HTMLAttributes<HTMLSolutio
255
255
  interface PreactSolutionConfiguration extends Partial<Pick<SolutionConfiguration, 'authentication' | 'serializedAuthentication' | 'showLoading' | 'solutionItemId'>>, PreactJsx.HTMLAttributes<HTMLSolutionConfigurationElement> {
256
256
  }
257
257
 
258
- interface PreactSolutionConfigureDialog extends PreactJsx.HTMLAttributes<HTMLSolutionConfigureDialogElement> {
258
+ interface PreactSolutionConfigureDialog extends Partial<Pick<SolutionConfigureDialog, 'open' | 'templateInfos'>>, PreactJsx.HTMLAttributes<HTMLSolutionConfigureDialogElement> {
259
259
  }
260
260
 
261
- interface PreactSolutionConfigureTitles extends PreactJsx.HTMLAttributes<HTMLSolutionConfigureTitlesElement> {
261
+ interface PreactSolutionConfigureTitles extends Partial<Pick<SolutionConfigureTitles, 'open' | 'templateInfos'>>, PreactJsx.HTMLAttributes<HTMLSolutionConfigureTitlesElement> {
262
262
  }
263
263
 
264
264
  interface PreactSolutionContents extends Partial<Pick<SolutionContents, 'selectedItemId' | 'templateHierarchy'>>, PreactJsx.HTMLAttributes<HTMLSolutionContentsElement> {
@@ -255,10 +255,10 @@ interface ReactSolutionArticleCard extends HTMLProps<HTMLSolutionArticleCardElem
255
255
  interface ReactSolutionConfiguration extends Partial<Pick<SolutionConfiguration, 'authentication' | 'serializedAuthentication' | 'showLoading' | 'solutionItemId'>>, HTMLProps<HTMLSolutionConfigurationElement> {
256
256
  }
257
257
 
258
- interface ReactSolutionConfigureDialog extends HTMLProps<HTMLSolutionConfigureDialogElement> {
258
+ interface ReactSolutionConfigureDialog extends Partial<Pick<SolutionConfigureDialog, 'open' | 'templateInfos'>>, HTMLProps<HTMLSolutionConfigureDialogElement> {
259
259
  }
260
260
 
261
- interface ReactSolutionConfigureTitles extends HTMLProps<HTMLSolutionConfigureTitlesElement> {
261
+ interface ReactSolutionConfigureTitles extends Partial<Pick<SolutionConfigureTitles, 'open' | 'templateInfos'>>, HTMLProps<HTMLSolutionConfigureTitlesElement> {
262
262
  }
263
263
 
264
264
  interface ReactSolutionContents extends Partial<Pick<SolutionContents, 'selectedItemId' | 'templateHierarchy'>>, HTMLProps<HTMLSolutionContentsElement> {
@@ -255,10 +255,10 @@ interface StencilSolutionArticleCard extends StencilJsx.HTMLAttributes<HTMLSolut
255
255
  interface StencilSolutionConfiguration extends Partial<Pick<SolutionConfiguration, 'authentication' | 'serializedAuthentication' | 'showLoading' | 'solutionItemId'>>, StencilJsx.HTMLAttributes<HTMLSolutionConfigurationElement> {
256
256
  }
257
257
 
258
- interface StencilSolutionConfigureDialog extends StencilJsx.HTMLAttributes<HTMLSolutionConfigureDialogElement> {
258
+ interface StencilSolutionConfigureDialog extends Partial<Pick<SolutionConfigureDialog, 'open' | 'templateInfos'>>, StencilJsx.HTMLAttributes<HTMLSolutionConfigureDialogElement> {
259
259
  }
260
260
 
261
- interface StencilSolutionConfigureTitles extends StencilJsx.HTMLAttributes<HTMLSolutionConfigureTitlesElement> {
261
+ interface StencilSolutionConfigureTitles extends Partial<Pick<SolutionConfigureTitles, 'open' | 'templateInfos'>>, StencilJsx.HTMLAttributes<HTMLSolutionConfigureTitlesElement> {
262
262
  }
263
263
 
264
264
  interface StencilSolutionContents extends Partial<Pick<SolutionContents, 'selectedItemId' | 'templateHierarchy'>>, StencilJsx.HTMLAttributes<HTMLSolutionContentsElement> {
@@ -52,6 +52,7 @@ export declare enum EDrawMode {
52
52
  }
53
53
  export declare const CSpatialRefCustomizingPrefix = "{{params.wkid||";
54
54
  export declare const CSpatialRefCustomizingSuffix = "}}";
55
+ export declare const BATCH_EDIT_LIMIT = 500;
55
56
  export type ValidSize = 6 | 10 | 14 | 20 | 30 | 60 | 80;
56
57
  export type DistanceUnit = 'feet' | 'meters' | 'miles' | 'kilometers';
57
58
  export type theme = 'light' | 'dark';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "1.0.0-next.20250613",
3
+ "version": "1.0.0-next.20250618",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -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.20250613 */
4
- var e=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(e||{}),o=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(o||{}),t=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(t||{}),i=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(i||{}),E=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(E||{}),n=(a=>(a.CSV="CSV",a.PDF="PDF",a))(n||{}),r=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(r||{}),I="{{params.wkid||",N="}}",l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{}),T=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(T||{}),R=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(R||{}),u=(a=>(a.VELOCITYBIGDATA="portal:publisher:publishBigDataAnalytics",a.VELOCITYFEEDS="portal:publisher:publishFeeds",a.VELOCITYREALTIME="portal:publisher:publishRealTimeAnalytics",a))(u||{}),S='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',s="(typekeywords:Solution,Template)",c="(typekeywords:Solution,Display Only)",p="portal:user:addExternalMembersToGroup",C="portal:user:createItem",O="portal:user:createGroup",L="portal:publisher:publishBigDataAnalytics",D="portal:publisher:publishFeatures",d="portal:publisher:publishFeeds",m="portal:publisher:publishServerGPServices",b="portal:publisher:publishRealTimeAnalytics",P="portal:user:shareToGroup",M="solutions:hubPremium",h="solutions:notebook",y="solutions:locationtracking:admin:tracking",F="solutions:locationtracking:tracking",g="solutions:locationtracking:admin",k="solutions:velocity",G="solutions:workflowManager";export{e as a,o as b,t as c,i as d,E as e,n as f,r as g,I as h,N as i,l as j,A as k,T as l,R as m,u as n,S as o,s as p,c as q,p as r,C as s,O as t,L as u,D as v,d as w,m as x,b as y,P as z,M as A,h as B,y as C,F as D,g as E,k as F,G};
@@ -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.20250613 */
4
- import{a as r}from"./CXKUQGUM.js";import{D as n,c as i,d as t,p as s,y as o}from"./4NASOTXM.js";import"./UKVIZZJA.js";var a=i`@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
- */}`,e=class extends o{constructor(){super(...arguments),this._translations=r({name:"solution-configure-dialog",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=s}render(){return t`<calcite-panel></calcite-panel>`}};n("solution-configure-dialog",e);export{e as SolutionConfigureDialog};
@@ -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.20250613 */
4
- import{a as E}from"./FWKD6EYP.js";import"./H6BFVMYO.js";import{a as C,c as m,d,e as _,f as S,g as x}from"./KFHHWR7Q.js";import"./BJUDP4CV.js";import{b as $}from"./WUXC3NVU.js";import{a as n,b as o}from"./3Q3S4KCD.js";import{b as I}from"./ZPNMD2RT.js";import{a as v}from"./CXKUQGUM.js";import{D as F,c as w,d as a,f as p,n as y,p as b,y as L,z as u}from"./4NASOTXM.js";import"./UKVIZZJA.js";var P=w`@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)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,f=class extends L{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=v({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=n(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=n(),this._featureList=n(),this._selectedRelatedFeature=[],this._filterList=n(),this._layerList=n(),this._createRelatedFeature=n(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=n(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=n(),this._commentSubmittedAlertNode=n(),this._sortPopoverNode=n(),this.togglePanel=y(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=P}static{this.shadowRootOptions=b}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList.value?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList.value!=null)await this._filterList.value.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return a`${this._reportSubmitted&&a`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&a`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&a`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&a`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await I(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return a`<calcite-panel class=${`width-full ${t}`}>${this.mapView?a`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:a`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&a`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&a`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList.value?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList.value?.filterCount>0)}} reset-btn .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return a`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&a`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&a`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&a`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(l=>{t.includes(l.id)&&(this._validLayers.push(l),l.visible||this._nonVisibleValidLayers.push(l),this._getLayersConfig(l.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[l.id]&&this._layerItemsHash[l.id].supportsAdd&&s.push(l.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(e){await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await S(this.mapView);e.relationships?.some(i=>{let s=t?.filter(l=>e.url===l.url&&l.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&a`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&a`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${a`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&a`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList.value?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&a`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&a`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return a`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&a`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){t.highlightOptions=null;let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return a`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",this.onMapClick.bind(this))}async onMapClick(e){if(this.mapView){this.mapView.popupEnabled=!1;let t=await this.mapView.hitTest(e),i=[],s=[],l=[],h=!1;t.results.length>0&&t.results.forEach(c=>{c.type==="graphic"&&i.push(c.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(l=await this._getIdentifiedGraphics(e.mapPoint),h=l.length>0);let r=s.concat(l);if(r.length>0){this.mapView.popupEnabled=!0;let c={features:r,location:e.mapPoint,updateLocationEnabled:!h};await this.mapView.openPopup(c)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i=this._mapImageryLayersId.map(async h=>{let r=this.mapView&&await d(this.mapView,h);if(r?.url&&t)return await this.identify?.identify(r.url,t)}),s=await Promise.all(i),l=[];return s.forEach(h=>{h.results.forEach(r=>{let c=Object.keys(r.feature.attributes).map(g=>({fieldName:g,label:g}));r.feature.popupTemplate={title:r.layerName,content:[{type:"fields",fieldInfos:c}]},l.push(r.feature)})}),l}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let l=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&l&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await C(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await $([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList.value?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:l}=i;s&&l&&e.push(`(${l})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables).forEach(t=>{if(t.type==="map-image"&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(l=>l.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(l=>{let h=s.expressions?.find(r=>r.id===l.id);h!=null&&(l.name=h.name)}))})}};F("crowdsource-reporter",f);export{f as CrowdsourceReporter};
@@ -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.20250613 */
4
- import{a,b}from"./DI4XSN3O.js";import"./QZITIAU7.js";import"./MHCFCKU5.js";import"./F2HTXL46.js";import"./ENBESLVD.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -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.20250613 */
4
- import{A as b,B as g,C as y,D as P,E as S,F as k,G as w,r as f,s as m,t as u,u as l,v as p,w as d,x as O,y as x,z as r}from"./BJUDP4CV.js";function K(s,a,n){let t=s.templates.map(i=>i.type),e=[];e.push(m),t.indexOf("Group")>=0&&(e.push(u),e.push(r)),t.indexOf("Feature Service")>=0&&e.push(p);let o=t.indexOf("Feed")>-1;o&&e.push(d);let c=t.indexOf("Big Data Analytic")>-1;c&&e.push(l);let h=t.indexOf("Real Time Analytic")>-1;h&&e.push(x),(o||c||h)&&e.push(k),t.indexOf("Workflow")>-1&&(e.push(u),e.push(p),e.push(r),e.push(w)),t.indexOf("Geoprocessing Service")>-1&&(e.push(O),n.IsEnterprisePortal&&e.push(g));let A=s.templates.reduce((i,T)=>i.concat(T.item.typeKeywords||[]),[]);return G(e,A,n),I(e,a),E(e,s),e}function E(s,a){a.templates.some(n=>n.type==="Group"&&n.item?.membershipAccess==="collaboration")&&s.push(f)}function G(s,a,n){let t=v(n),e=B(n);["Location Tracking View"].some(o=>a.indexOf(o)>-1)&&(!t&&!e?s.push(y):t&&!e?s.push(P):!t&&e&&s.push(S))}function I(s,a){["HubPremium"].some(n=>a.indexOf(n)>-1)&&s.push(b)}function v(s){let a=s.PortalUserSubset;return a?.role==="org_admin"&&!a?.hasOwnProperty("roleId")}function B(s){return s.PortalSubset?.locationTrackingEnabled||!1}export{K as a,v as b};
@@ -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.20250613 */
4
- import{a,b}from"./2CXGIE2Y.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -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.20250613 */
4
- import{a,b}from"./66GDPGJ4.js";import"./QZITIAU7.js";import"./MHCFCKU5.js";import"./F2HTXL46.js";import"./ENBESLVD.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -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.20250613 */
4
- import{a as O}from"./KXVNO4A5.js";import{e as _}from"./BNKH37TY.js";import{a as l,f as p}from"./IJOSG4N5.js";import"./S3YNSR6B.js";import"./UKVIZZJA.js";function C(e,a){let i=[];return O(e,(t,c)=>(c.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let c=q(a),r,u,s,m,d;switch(c){case"stat":s=import("./MYTDLSKW.js"),m={"hub:card:stat":()=>import("./HS6GUC22.js")}[a],await Promise.all([s,m()]).then(async([f,o])=>{let{MetricSchema:n}=f;r=l(n),u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(d=o.buildDefaults(e,i,t))});break;case"follow":s=import("./X3C4SWBZ.js"),m={"hub:card:follow":()=>import("./4JCBZIU7.js")}[a],await Promise.all([s,m()]).then(([f,o])=>{let{FollowSchema:n}=f;r=l(n),u=o.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./PTID7RWS.js"),m=import("./3IRDRDFA.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:c}=a;t.maxLength=_(c);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:c}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let c=a.split(":")[1],r,u,s;switch(c){case"site":let{getSiteSchema:m}=await import("./YD7TNP2F.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./NLV4FZCC.js"),"hub:site:create":()=>import("./Y34X2BEZ.js"),"hub:site:followers":()=>import("./DH27ODVZ.js"),"hub:site:discussions":()=>import("./2DKM6FJB.js"),"hub:site:settings":()=>import("./XHSVY2EB.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./LCSMIPHM.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./PSNN2F3O.js"),"hub:discussion:create":()=>import("./PKZWKHVE.js"),"hub:discussion:settings":()=>import("./33L6GMXG.js"),"hub:discussion:settings:discussions":()=>import("./7DGHICZE.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./PQFKVNAR.js");r=l(f);let o=await{"hub:channel:edit":()=>import("./LBK2B2KM.js"),"hub:channel:create":()=>import("./YLIEQBKF.js")}[a]();u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(s=await o.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./KG63GRNH.js");r=l(n);let v=await{"hub:project:edit":()=>import("./IALX23CK.js"),"hub:project:create":()=>import("./VHMJSA7X.js"),"hub:project:create2":()=>import("./SPJHTFGW.js"),"hub:project:metrics":()=>import("./V6CU25IV.js"),"hub:project:settings":()=>import("./7FVHNQUY.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./M5U5CJTL.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./2CO25KUU.js"),"hub:initiative:create":()=>import("./L3IKBHLJ.js"),"hub:initiative:create2":()=>import("./CGZYVYUK.js"),"hub:initiative:metrics":()=>import("./Z6TNCHWU.js"),"hub:initiative:associations":()=>import("./FIBRPI6R.js"),"hub:initiative:settings":()=>import("./7J7JEO5J.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./PWFNEOMW.js");r=l(I);let D=await{"hub:page:edit":()=>import("./HEG6SMKM.js"),"hub:page:create":()=>import("./YDQYV74W.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./6QYNVEGC.js");r=l(K);let U=await{"hub:content:edit":()=>import("./REX5WEEL.js"),"hub:content:discussions":()=>import("./MFFHR33L.js"),"hub:content:settings":()=>import("./NCJNH5ZN.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./SDSGL4OS.js");r=l(y);let k=await{"hub:template:edit":()=>import("./6MQ5O5LY.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./M3VFFWM2.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./UOKEIQSK.js"),"hub:group:create:association":()=>import("./KWKZT7B5.js"),"hub:group:create:view":()=>import("./7XO35MKM.js"),"hub:group:create:edit":()=>import("./GAEUS47T.js"),"hub:group:create":()=>import("./DWW72S7K.js"),"hub:group:edit":()=>import("./OZAZROXV.js"),"hub:group:settings":()=>import("./QMGASUOO.js"),"hub:group:discussions":()=>import("./VXBW6YBU.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./WDBQW7IX.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./KDUSIRYT.js"),"hub:survey:settings":()=>import("./5UJ4IPXJ.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./VM6LPXEK.js"),"hub:event:edit":()=>import("./N5IMLUEJ.js"),"hub:event:registrants":()=>import("./JTGDHH2G.js")}[a](),H=await{"hub:event:create":()=>import("./NMMFRIU6.js"),"hub:event:edit":()=>import("./ZSBHYTRL.js"),"hub:event:registrants":()=>import("./ZWICHMUP.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./QF52CHR2.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./4QPHTDMN.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./P2M5FUPS.js");r=l(N);let P=await{"hub:user:settings":()=>import("./YIKSDDBF.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -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.20250613 */
4
- import{d as w,e as L}from"./KFHHWR7Q.js";import"./BJUDP4CV.js";import"./WUXC3NVU.js";import{a as p,b as m}from"./3Q3S4KCD.js";import{b as V}from"./ZPNMD2RT.js";import{a as b}from"./CXKUQGUM.js";import{D as v,c as y,d as l,n as h,p as f,y as M,z as c}from"./4NASOTXM.js";import"./UKVIZZJA.js";var E=y`@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}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=p(),this._isSubmitBtnClicked=!1,this._mapViewContainer=p(),this._searchDiv=p(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=E}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${m(this._calciteNotice)}><div slot=message>${d}</div></calcite-notice>`||""}<calcite-loader class=${c(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${c(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${m(this._searchDiv)}></div>`||""}<div class=${c(s)} ${m(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await V(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t)this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements();else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,_=[...d];if(_.push(r),n.type==="feature"&&this.FormTemplate){let g=n,S=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:_,expressionInfos:[a].concat(o)});n.formTemplate=S}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
@@ -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.20250613 */
4
- import{a,b}from"./I6NUVFSK.js";import"./2IW5OPGT.js";import"./UKVIZZJA.js";export{a as ChannelEditorTypes,b as ChannelSchema};