@esri/solutions-components 1.0.0-next.20250617 → 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 (389) hide show
  1. package/dist/cdn/{TWHS2V27.js → 2244Y2MO.js} +2 -2
  2. package/dist/cdn/{JUGUXBAU.js → 24QKZMCL.js} +2 -2
  3. package/dist/cdn/{34WNAKCW.js → 25FHC6WS.js} +2 -2
  4. package/dist/cdn/{MXVBG7NG.js → 2FGKASUU.js} +2 -2
  5. package/dist/cdn/{GG4JQ4LZ.js → 2MR4I2BY.js} +2 -2
  6. package/dist/cdn/{XC5FDQDM.js → 2PNCS4ES.js} +2 -2
  7. package/dist/cdn/{JR4ZB7ZF.js → 2TVUME4P.js} +2 -2
  8. package/dist/cdn/{DRXKNSYY.js → 2VYLMG7R.js} +2 -2
  9. package/dist/cdn/{Y4FKX3ME.js → 2WLDVDNI.js} +2 -2
  10. package/dist/cdn/{7RZJV7XT.js → 2XEZFUUZ.js} +2 -2
  11. package/dist/cdn/{TDHBGUGG.js → 33FARYS4.js} +2 -2
  12. package/dist/cdn/{FUH66FCX.js → 374THQEK.js} +3 -3
  13. package/dist/cdn/{FB7RQWEB.js → 3IVUXC6K.js} +2 -2
  14. package/dist/cdn/{KH4WDPKH.js → 3K2M3ZJ7.js} +2 -2
  15. package/dist/cdn/{5QD2WYHE.js → 3NFWFQKJ.js} +2 -2
  16. package/dist/cdn/{7NHKBJT7.js → 3TMTXONC.js} +2 -2
  17. package/dist/cdn/{UHQRI5PF.js → 3UJWF2O4.js} +2 -2
  18. package/dist/cdn/{FLWFUOYJ.js → 3VJ4OJBR.js} +1 -1
  19. package/dist/cdn/3WZDTHDA.js +4 -0
  20. package/dist/cdn/{6GBOMWNM.js → 44HGIWYU.js} +2 -2
  21. package/dist/cdn/{QN47TVOF.js → 44R4RRIN.js} +2 -2
  22. package/dist/cdn/{4C5TKB2E.js → 4EDJBRS2.js} +1 -1
  23. package/dist/cdn/{HT6YSQA2.js → 4JOV276H.js} +2 -2
  24. package/dist/cdn/{CHD7DYO7.js → 4K5SMLME.js} +2 -2
  25. package/dist/cdn/{ZLNEIIRS.js → 4N5SFTZS.js} +1 -1
  26. package/dist/cdn/{MDUMP6WF.js → 4PQZIN5W.js} +2 -2
  27. package/dist/cdn/{3D65T4GL.js → 4SH5J6QB.js} +2 -2
  28. package/dist/cdn/{RH2ILZKZ.js → 4VAXISBH.js} +2 -2
  29. package/dist/cdn/{YTZNBIKI.js → 52DERCIP.js} +2 -2
  30. package/dist/cdn/{CFQ56QUP.js → 55D7LERM.js} +2 -2
  31. package/dist/cdn/{YC3SGSKF.js → 5CJ5UXZE.js} +2 -2
  32. package/dist/cdn/{5YOTYSSB.js → 5FC4XKJM.js} +2 -2
  33. package/dist/cdn/{RPNHGSB7.js → 5FQ3LHYT.js} +2 -2
  34. package/dist/cdn/{U5SM65RP.js → 5JQOX6HV.js} +2 -2
  35. package/dist/cdn/{J6BMZHED.js → 5NPT5B76.js} +2 -2
  36. package/dist/cdn/{5Y5FK43G.js → 5NR4JSYD.js} +1 -1
  37. package/dist/cdn/{23SLJ7VB.js → 5S6RNUPL.js} +1 -1
  38. package/dist/cdn/{ZQKLLV2Y.js → 5XE5QQBN.js} +1 -1
  39. package/dist/cdn/6BZNU2TA.js +4 -0
  40. package/dist/cdn/{KGMRYUMK.js → 6EDK7AMA.js} +2 -2
  41. package/dist/cdn/{GCNPYYYC.js → 6EXPZYAN.js} +2 -2
  42. package/dist/cdn/{VFIEMUU3.js → 6FURXZTX.js} +2 -2
  43. package/dist/cdn/{EQ7WODGK.js → 6SAVY66F.js} +1 -1
  44. package/dist/cdn/{NIV6YU2O.js → 6V6EVZXQ.js} +2 -2
  45. package/dist/cdn/{3T76VDUN.js → 6XWKSRVY.js} +2 -2
  46. package/dist/cdn/{E2QXOBX4.js → 6YBZSHGK.js} +2 -2
  47. package/dist/cdn/{XXXT6FMN.js → 74YGVXNR.js} +2 -2
  48. package/dist/cdn/{YAHBTL66.js → 7GMUS2LS.js} +1 -1
  49. package/dist/cdn/{2KQPNSYF.js → 7PM3GU7K.js} +2 -2
  50. package/dist/cdn/{FR2M6XQY.js → 7WZU2DWQ.js} +2 -2
  51. package/dist/cdn/{XBDIYDRM.js → 7XTA2OC4.js} +2 -2
  52. package/dist/cdn/{WSCYT5CC.js → 7XTAIDC7.js} +2 -2
  53. package/dist/cdn/{ST2OLLSL.js → A4TDLONO.js} +2 -2
  54. package/dist/cdn/{QM4ZDGZ6.js → ABBIOVTY.js} +2 -2
  55. package/dist/cdn/{7X4XXKUK.js → ACNKDAEK.js} +2 -2
  56. package/dist/cdn/{NRHTETGA.js → AFZHAYZU.js} +2 -2
  57. package/dist/cdn/{RYXSMF2R.js → AIU4AH74.js} +2 -2
  58. package/dist/cdn/{X2SAYFTJ.js → AM6U5KXG.js} +2 -2
  59. package/dist/cdn/{IJXW2QHI.js → AUFISDUF.js} +2 -2
  60. package/dist/cdn/{AGVGDK74.js → B455LJUS.js} +2 -2
  61. package/dist/cdn/{VGF62Y4X.js → BAPCWA5D.js} +1 -1
  62. package/dist/cdn/{JAPFIMJD.js → BCBHVM7D.js} +1 -1
  63. package/dist/cdn/{QWSSQKLR.js → BFY7IDVP.js} +2 -2
  64. package/dist/cdn/{RZG4BYGD.js → BMAKHKN7.js} +2 -2
  65. package/dist/cdn/{KN2RLNLK.js → BNFPGA7K.js} +2 -2
  66. package/dist/cdn/{GTR72B5F.js → BOSCZ675.js} +2 -2
  67. package/dist/cdn/{T4CKSGEI.js → BRZVBJCV.js} +2 -2
  68. package/dist/cdn/{FU37TCTJ.js → BUOXTJUP.js} +2 -2
  69. package/dist/cdn/{Y7STMNJM.js → BX7KWN5V.js} +2 -2
  70. package/dist/cdn/{SQFSRSP3.js → BXQJDMPG.js} +2 -2
  71. package/dist/cdn/{7HGVPHDS.js → BYLNGYZM.js} +2 -2
  72. package/dist/cdn/{VUQCDDWE.js → C2U5I6SG.js} +2 -2
  73. package/dist/cdn/{X3AE5WWK.js → C3NFGCVR.js} +2 -2
  74. package/dist/cdn/{7PDVOTF3.js → C63JBRL7.js} +2 -2
  75. package/dist/cdn/{W2J4GUF6.js → C6KHQNY4.js} +2 -2
  76. package/dist/cdn/{A6HCD5ST.js → C6VO4ZTH.js} +1 -1
  77. package/dist/cdn/{XPYF6XIL.js → CA46MKTG.js} +2 -2
  78. package/dist/cdn/{ZEM4BHGM.js → CHG7NEXI.js} +2 -2
  79. package/dist/cdn/{MIMUA7CO.js → CNUSPWTX.js} +2 -2
  80. package/dist/cdn/{KQJONR6F.js → CPPGUGUJ.js} +2 -2
  81. package/dist/cdn/{HFIXE6U7.js → CWJEUFSX.js} +2 -2
  82. package/dist/cdn/{G74NUZJA.js → CXFSUXVU.js} +1 -1
  83. package/dist/cdn/{7ZWOBQSP.js → D2UQQP3J.js} +1 -1
  84. package/dist/cdn/{UHIXSJW2.js → D4VNGPET.js} +2 -2
  85. package/dist/cdn/{ODWDWNPS.js → D4Z5SEOU.js} +2 -2
  86. package/dist/cdn/{45FDLCNN.js → DEMETEO5.js} +2 -2
  87. package/dist/cdn/{TZ6NWBWT.js → DGMUEXX5.js} +2 -2
  88. package/dist/cdn/{SAICGJDS.js → DGX3VNBF.js} +2 -2
  89. package/dist/cdn/{JODAN55H.js → DIBSSNLF.js} +2 -2
  90. package/dist/cdn/{QEF6IQG7.js → DKDDSSZO.js} +1 -1
  91. package/dist/cdn/{4VT2OWZP.js → DNTD5DIN.js} +2 -2
  92. package/dist/cdn/{XWNBGTCT.js → DQFV5W24.js} +2 -2
  93. package/dist/cdn/{CWUG3WIL.js → DRFV4N6J.js} +1 -1
  94. package/dist/cdn/{GBNODDNY.js → DWJVRI4L.js} +2 -2
  95. package/dist/cdn/{ET4NBO5I.js → EAXBLKRL.js} +2 -2
  96. package/dist/cdn/{OFFLTW5Q.js → EI7IFIR5.js} +2 -2
  97. package/dist/cdn/{CTYIRMIE.js → ENXXOCBV.js} +2 -2
  98. package/dist/cdn/{M5SMNJVJ.js → EQ6HIJ73.js} +1 -1
  99. package/dist/cdn/{U3ZLFYFE.js → EQAAMDKN.js} +2 -2
  100. package/dist/cdn/{EGNJUJ3S.js → EQREWO2C.js} +2 -2
  101. package/dist/cdn/{NEQT7BAW.js → EU2AABK5.js} +2 -2
  102. package/dist/cdn/{PXA7JSQN.js → EWJGPFTB.js} +2 -2
  103. package/dist/cdn/{3I463GKJ.js → F2YS2KUB.js} +2 -2
  104. package/dist/cdn/{JSGJKBAR.js → F4OUREFO.js} +2 -2
  105. package/dist/cdn/{YPO7QQSX.js → F5A3JXRF.js} +2 -2
  106. package/dist/cdn/{YXTRE2YJ.js → FBYRFPWQ.js} +1 -1
  107. package/dist/cdn/{NYMSLH3X.js → FCGCC64A.js} +1 -1
  108. package/dist/cdn/{W2JRAIBN.js → FI7JBBNV.js} +2 -2
  109. package/dist/cdn/{APOYUTRC.js → FMKTLZLW.js} +2 -2
  110. package/dist/cdn/{KDEENWCA.js → FNC6JCNV.js} +2 -2
  111. package/dist/cdn/{GG4SX5PP.js → FWHLFA72.js} +2 -2
  112. package/dist/cdn/{4KBOUR7Q.js → FXD5UJQZ.js} +2 -2
  113. package/dist/cdn/{D4PB3INZ.js → GGASZ5GX.js} +2 -2
  114. package/dist/cdn/{VXAH3SBE.js → GH4AB7FC.js} +2 -2
  115. package/dist/cdn/{OXCS5WE7.js → GJ7VFIAL.js} +2 -2
  116. package/dist/cdn/{YFAJKSIJ.js → GK64B4Y5.js} +1 -1
  117. package/dist/cdn/{YYVGZLUY.js → GKUP7YBW.js} +2 -2
  118. package/dist/cdn/{GE6MW6X7.js → GPWOBF4O.js} +2 -2
  119. package/dist/cdn/{6WBKKEZS.js → GQZJXEOJ.js} +2 -2
  120. package/dist/cdn/{XXETI3KO.js → GUAZDGXF.js} +2 -2
  121. package/dist/cdn/{4JWOEC2M.js → GXE3T5ME.js} +2 -2
  122. package/dist/cdn/GYB5EHKN.js +4 -0
  123. package/dist/cdn/{JN7BZX67.js → H3LTFVD3.js} +2 -2
  124. package/dist/cdn/{4WDFKQEA.js → H5NYMCNF.js} +1 -1
  125. package/dist/cdn/{56ISVXIJ.js → H7KRIZYY.js} +2 -2
  126. package/dist/cdn/{C3XUGR74.js → HCQWDC5Y.js} +2 -2
  127. package/dist/cdn/{7DC5NLKU.js → HDN3HX4F.js} +4 -4
  128. package/dist/cdn/{6H5FB6VZ.js → HE52H5T7.js} +2 -2
  129. package/dist/cdn/{YQHOGUAB.js → HR52TSAG.js} +2 -2
  130. package/dist/cdn/{RZW76EPS.js → HS44A7DV.js} +2 -2
  131. package/dist/cdn/{NZ4G3J4W.js → I223WFEJ.js} +2 -2
  132. package/dist/cdn/{4SMFTIY3.js → I3FMSIRV.js} +2 -2
  133. package/dist/cdn/{WV5PNDYS.js → I42ZIETY.js} +2 -2
  134. package/dist/cdn/{MDVV5SFY.js → I7DZRYJ4.js} +2 -2
  135. package/dist/cdn/{FP4BJITS.js → INYQWKVM.js} +2 -2
  136. package/dist/cdn/{3STPIIWZ.js → IOQRMBVE.js} +2 -2
  137. package/dist/cdn/{GXDC6HF3.js → IRYLEP5E.js} +2 -2
  138. package/dist/cdn/{O44HTFM7.js → ISHMKYCT.js} +2 -2
  139. package/dist/cdn/{WWTBSPVE.js → IWMOD5XS.js} +1 -1
  140. package/dist/cdn/{U2REM5I2.js → J646NFBU.js} +2 -2
  141. package/dist/cdn/{62EGHAKX.js → JHMQASWG.js} +2 -2
  142. package/dist/cdn/{ZALM4GKT.js → JJUGJ2NQ.js} +2 -2
  143. package/dist/cdn/{CJWPNHT5.js → JLQQYQLO.js} +1 -1
  144. package/dist/cdn/{3TMPTQB4.js → JQ3EXPCH.js} +2 -2
  145. package/dist/cdn/{DBS3O4G2.js → JSZS4YMI.js} +2 -2
  146. package/dist/cdn/{JVRMDOQX.js → JVSLJLHC.js} +2 -2
  147. package/dist/cdn/{X3AKU22A.js → JZSLUW6H.js} +1 -1
  148. package/dist/cdn/{JMAXO5DC.js → KM37RWWT.js} +1 -1
  149. package/dist/cdn/{QPIMZ33P.js → KNYCOY2Y.js} +2 -2
  150. package/dist/cdn/{2AH2EXXK.js → KPRXODCN.js} +1 -1
  151. package/dist/cdn/KTQP6SYQ.js +4 -0
  152. package/dist/cdn/{KOEYYEBE.js → KWW7BGHU.js} +2 -2
  153. package/dist/cdn/{G27WERLL.js → L3GNYUZS.js} +2 -2
  154. package/dist/cdn/{XFCORTAZ.js → L7ILT6B2.js} +2 -2
  155. package/dist/cdn/{E3TL2DBA.js → L7UWX4OU.js} +1 -1
  156. package/dist/cdn/{JEVZQVK6.js → LE3S7LTK.js} +2 -2
  157. package/dist/cdn/{JKUWGRYW.js → LES5OEWI.js} +2 -2
  158. package/dist/cdn/{7NE5MFIJ.js → LKVPVDSP.js} +2 -2
  159. package/dist/cdn/{PXQEVSLR.js → LNKNTWPS.js} +2 -2
  160. package/dist/cdn/{RPTQP67O.js → LOKBQU54.js} +2 -2
  161. package/dist/cdn/{E332CUZ6.js → LOXXCK32.js} +2 -2
  162. package/dist/cdn/LUUUOSAV.js +4 -0
  163. package/dist/cdn/{KPXDUVQE.js → M3AWJV2X.js} +2 -2
  164. package/dist/cdn/{NOZF3HXH.js → MCNJCP36.js} +1 -1
  165. package/dist/cdn/{ECSBAOVQ.js → MEXVBPZO.js} +2 -2
  166. package/dist/cdn/{AIOSZAZF.js → MIGXPLDO.js} +2 -2
  167. package/dist/cdn/{ORJL7PD3.js → MIIAMCI3.js} +2 -2
  168. package/dist/cdn/{DPWQI5EE.js → ML4HH2XO.js} +2 -2
  169. package/dist/cdn/{WTE6KQ7N.js → N2LVCOS2.js} +2 -2
  170. package/dist/cdn/{X3MUBCUO.js → N4N2PUAH.js} +2 -2
  171. package/dist/cdn/{AZ5LBZCX.js → NBZYGS2Y.js} +2 -2
  172. package/dist/cdn/{OMM3CGWL.js → ND56OQM6.js} +2 -2
  173. package/dist/cdn/{IZXMY3D6.js → ND5MBWWM.js} +2 -2
  174. package/dist/cdn/{NU6XPDWP.js → NEDXNA46.js} +2 -2
  175. package/dist/cdn/{QBLUXYG3.js → NKC3NX4V.js} +2 -2
  176. package/dist/cdn/{SBK24IH4.js → NL35B74B.js} +2 -2
  177. package/dist/cdn/{CS57BYGF.js → NLQHFP2V.js} +2 -2
  178. package/dist/cdn/{ZEHDGNFH.js → NOEB4RRW.js} +3 -3
  179. package/dist/cdn/NUITK3CM.js +4 -0
  180. package/dist/cdn/{XV7QZVVT.js → NZZDCUMO.js} +2 -2
  181. package/dist/cdn/{ZKLL3OJA.js → O4P2M4CZ.js} +2 -2
  182. package/dist/cdn/{4M2BSB7U.js → ODI4ESEW.js} +1 -1
  183. package/dist/cdn/{BC4GIYFT.js → OEPIVYUB.js} +2 -2
  184. package/dist/cdn/{E7KHHNTK.js → ONVDNXC7.js} +1 -1
  185. package/dist/cdn/{K56FFFW5.js → ORUFW7OP.js} +2 -2
  186. package/dist/cdn/{MIMZVJUI.js → OTWYBSQC.js} +2 -2
  187. package/dist/cdn/{XMVLG6HD.js → OXLLAXGS.js} +2 -2
  188. package/dist/cdn/{MMJSWPYV.js → PEHYETIA.js} +2 -2
  189. package/dist/cdn/{YOYLE2Y7.js → PEJJRGU6.js} +2 -2
  190. package/dist/cdn/{RCH6FSOO.js → PHNTRSWP.js} +2 -2
  191. package/dist/cdn/{MNGRHV3C.js → PLXLQ3CQ.js} +2 -2
  192. package/dist/cdn/PQ3QQ2DX.js +18 -0
  193. package/dist/cdn/{5KG3QK35.js → PTQDMYK2.js} +1 -1
  194. package/dist/cdn/{XS2LVLSG.js → PWYGDLAO.js} +2 -2
  195. package/dist/cdn/{QRUZMTIP.js → PXVQ4MS7.js} +1 -1
  196. package/dist/cdn/{Z5XAYA6T.js → PZXL5JWK.js} +2 -2
  197. package/dist/cdn/{Y4JZMAHN.js → Q4XPLYRK.js} +2 -2
  198. package/dist/cdn/{L3UTUT76.js → QDCFIPUZ.js} +2 -2
  199. package/dist/cdn/{VVQR44OF.js → QMUCWJBP.js} +2 -2
  200. package/dist/cdn/{ZHVU6T4C.js → QW5IVKR3.js} +2 -2
  201. package/dist/cdn/{ONEL4IUL.js → RAWSWD7G.js} +1 -1
  202. package/dist/cdn/{26ZUUXBG.js → RC3Q3RXK.js} +1 -1
  203. package/dist/cdn/{BWVCIRSV.js → REYE7QSP.js} +2 -2
  204. package/dist/cdn/{K5ABIFBZ.js → RFO7GXOU.js} +1 -1
  205. package/dist/cdn/RJTFNQCX.js +4 -0
  206. package/dist/cdn/{PJGGTO5X.js → RKVT7IG3.js} +1 -1
  207. package/dist/cdn/{72CGZFMP.js → RLKPDTX4.js} +1 -1
  208. package/dist/cdn/{IOXJ3A2P.js → RNAXM3HG.js} +2 -2
  209. package/dist/cdn/{SEOLYYSL.js → RNCHLAHC.js} +1 -1
  210. package/dist/cdn/{X2LIRIPY.js → RTUHEWZ2.js} +2 -2
  211. package/dist/cdn/{SNW2FGGO.js → RYDUEVW4.js} +2 -2
  212. package/dist/cdn/{QON63AM4.js → SCAFPUFM.js} +2 -2
  213. package/dist/cdn/{SSOLG3Y2.js → SEDBVNWJ.js} +2 -2
  214. package/dist/cdn/{YP66ITI3.js → SHWVKFYE.js} +2 -2
  215. package/dist/cdn/{O3PFSVNL.js → SJT6JTUS.js} +2 -2
  216. package/dist/cdn/{QLJVM7OF.js → SLMYC2BZ.js} +2 -2
  217. package/dist/cdn/{5XHVWCO6.js → SOI2KF4J.js} +1 -1
  218. package/dist/cdn/{Z766ANKV.js → SOSQZMAV.js} +2 -2
  219. package/dist/cdn/{YWSZQENR.js → SQW3C6SV.js} +2 -2
  220. package/dist/cdn/{66WN3RYD.js → STLC6O54.js} +2 -2
  221. package/dist/cdn/{ZMFMZN4O.js → SUG4ZWOX.js} +2 -2
  222. package/dist/cdn/{UCGYV5X2.js → SVHKJM4Z.js} +2 -2
  223. package/dist/cdn/{EY7XWBLO.js → T4G7UDTD.js} +2 -2
  224. package/dist/cdn/{5I7W3EVF.js → TAMNRSJC.js} +1 -1
  225. package/dist/cdn/{M2C5ICZU.js → TBF3A2JM.js} +2 -2
  226. package/dist/cdn/{XETQL72A.js → TNT7W35H.js} +2 -2
  227. package/dist/cdn/{RZQ3XTXE.js → TQDMQEZW.js} +2 -2
  228. package/dist/cdn/{45NO45YW.js → TQZKMCLT.js} +2 -2
  229. package/dist/cdn/{C2UHPVJ7.js → TTJCLLYP.js} +2 -2
  230. package/dist/cdn/{UWFNWLHE.js → TWFPTVX7.js} +2 -2
  231. package/dist/cdn/{3I5AXQ7L.js → TZ6WSXOI.js} +2 -2
  232. package/dist/cdn/{LOADKJYI.js → U6BMGUYM.js} +2 -2
  233. package/dist/cdn/{663C7SFX.js → UBJU2THW.js} +2 -2
  234. package/dist/cdn/{YTJ7HTKE.js → UDYGXKHM.js} +2 -2
  235. package/dist/cdn/{H3HHGV2X.js → ULFGT4R7.js} +2 -2
  236. package/dist/cdn/{P3F24FWE.js → UPKWDR5L.js} +2 -2
  237. package/dist/cdn/{CKXRT6SG.js → UPNQ6TPG.js} +2 -2
  238. package/dist/cdn/{CY5FNQOJ.js → UQSOC5MG.js} +2 -2
  239. package/dist/cdn/{ECULEWGH.js → UTVZOV34.js} +2 -2
  240. package/dist/cdn/{CXS4F2DV.js → V23K3N7V.js} +2 -2
  241. package/dist/cdn/{KLMBCZZV.js → V44QI423.js} +2 -2
  242. package/dist/cdn/{2PGNVSWS.js → V4RAUR7Y.js} +2 -2
  243. package/dist/cdn/{XX5VK7YW.js → VED422NC.js} +2 -2
  244. package/dist/cdn/{RFZL3BPN.js → VGHIMU7N.js} +2 -2
  245. package/dist/cdn/{M25C7SPS.js → VHUYPEZN.js} +2 -2
  246. package/dist/cdn/{5A4UHYB4.js → VSIFE3SH.js} +2 -2
  247. package/dist/cdn/{RADAXSM4.js → VTIGVKIS.js} +2 -2
  248. package/dist/cdn/{FK572HEF.js → VU7QI6OD.js} +2 -2
  249. package/dist/cdn/{E4BZSDPW.js → VZ726QB2.js} +2 -2
  250. package/dist/cdn/{RGQ4OULC.js → W3NB425M.js} +2 -2
  251. package/dist/cdn/{Y7TBVJF7.js → W4RLT3O3.js} +2 -2
  252. package/dist/cdn/{ZLEV5BXG.js → W6NQLDGV.js} +2 -2
  253. package/dist/cdn/{FPYQ7DSX.js → WAEKIWCS.js} +2 -2
  254. package/dist/cdn/{4UKO7OSP.js → WFISTQRC.js} +2 -2
  255. package/dist/cdn/{PZ7BAHDM.js → WGZW544H.js} +2 -2
  256. package/dist/cdn/{4ZSGJARJ.js → WHS25D4U.js} +2 -2
  257. package/dist/cdn/{3QX3UFD6.js → WLFEE6M6.js} +2 -2
  258. package/dist/cdn/{D4Y3AUY2.js → WMXABBDN.js} +1 -1
  259. package/dist/cdn/{VGR6QIVC.js → WTKAMWU5.js} +2 -2
  260. package/dist/cdn/{ZTDTHNVK.js → WUT2ZZ3H.js} +2 -2
  261. package/dist/cdn/XSFAEVZR.js +4 -0
  262. package/dist/cdn/{6GUN3P64.js → XXZWFBWQ.js} +2 -2
  263. package/dist/cdn/{GQX5XJTO.js → XZJE3HMV.js} +1 -1
  264. package/dist/cdn/{VVSCYCWZ.js → Y43ESBMM.js} +2 -2
  265. package/dist/cdn/{66U7ORWN.js → Y6PI7UZQ.js} +1 -1
  266. package/dist/cdn/{TYBAUCOP.js → YCPBEFQ6.js} +1 -1
  267. package/dist/cdn/{2LNASR4M.js → YGV3NAYM.js} +2 -2
  268. package/dist/cdn/{FDD2C7HC.js → YN2RPACQ.js} +2 -2
  269. package/dist/cdn/{66VX5BMO.js → YPJNVXLV.js} +2 -2
  270. package/dist/cdn/{SRPLV7IE.js → YXJHWCOM.js} +2 -2
  271. package/dist/cdn/{QK3KOLNR.js → YY6IVALJ.js} +2 -2
  272. package/dist/cdn/{T33ZZ5EE.js → YZSSPKU4.js} +2 -2
  273. package/dist/cdn/{WL25ONRI.js → Z2JYQSV7.js} +1 -1
  274. package/dist/cdn/{KHZGUMKZ.js → Z4L3MA4P.js} +2 -2
  275. package/dist/cdn/ZD3B5CQI.js +18 -0
  276. package/dist/cdn/{MUM6BOFC.js → ZGCTEB2Y.js} +2 -2
  277. package/dist/cdn/{ZUGIMBLM.js → ZJJOMQAI.js} +2 -2
  278. package/dist/cdn/{LMTJNGRW.js → ZKWRIM7W.js} +2 -2
  279. package/dist/cdn/{KRXUWGCU.js → ZLGDVCWF.js} +2 -2
  280. package/dist/cdn/{Q7AKL3XU.js → ZQQTCO2U.js} +2 -2
  281. package/dist/cdn/{IYSPFCXD.js → ZRX5NPWE.js} +2 -2
  282. package/dist/cdn/{XOF7OPE4.js → ZSXYETQI.js} +2 -2
  283. package/dist/cdn/{AN2RKGOC.js → ZXOCAHX5.js} +2 -2
  284. package/dist/cdn/{K6EYSWK3.js → ZYS5MFJN.js} +2 -2
  285. package/dist/cdn/index.js +2 -2
  286. package/dist/chunks/Auth.js +1 -1
  287. package/dist/chunks/appConfig.js +1 -1
  288. package/dist/chunks/cardFetchingUtils.js +1 -1
  289. package/dist/chunks/common.js +1 -1
  290. package/dist/chunks/deployAppContexts.js +1 -1
  291. package/dist/chunks/downloadUtils.js +1 -1
  292. package/dist/chunks/helpers.js +1 -1
  293. package/dist/chunks/index.js +1 -1
  294. package/dist/chunks/interfaces.js +1 -1
  295. package/dist/chunks/loadModules.js +1 -1
  296. package/dist/chunks/mapViewUtils.js +1 -1
  297. package/dist/chunks/pciUtils.js +1 -1
  298. package/dist/chunks/popupUtils.js +1 -1
  299. package/dist/chunks/privilegeUtils.js +1 -1
  300. package/dist/chunks/publicNotificationStore.js +1 -1
  301. package/dist/chunks/queryUtils.js +1 -1
  302. package/dist/chunks/runtime.js +1 -1
  303. package/dist/chunks/solution-store.js +1 -1
  304. package/dist/chunks/templates.js +1 -1
  305. package/dist/chunks/useT9n.js +1 -1
  306. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  307. package/dist/components/basemap-gallery/customElement.js +1 -1
  308. package/dist/components/buffer-tools/customElement.js +1 -1
  309. package/dist/components/card-manager/customElement.js +1 -1
  310. package/dist/components/consent-manager/customElement.js +1 -1
  311. package/dist/components/create-feature/customElement.js +8 -7
  312. package/dist/components/create-related-feature/customElement.js +1 -1
  313. package/dist/components/crowdsource-manager/customElement.js +1 -1
  314. package/dist/components/crowdsource-reporter/customElement.js +61 -49
  315. package/dist/components/deduct-calculator/customElement.js +1 -1
  316. package/dist/components/delete-button/customElement.js +1 -1
  317. package/dist/components/delete-dialog/customElement.js +1 -1
  318. package/dist/components/edit-card/customElement.js +1 -1
  319. package/dist/components/feature-details/customElement.js +12 -12
  320. package/dist/components/feature-list/customElement.js +1 -1
  321. package/dist/components/field-selection/customElement.js +1 -1
  322. package/dist/components/floor-filter/customElement.js +1 -1
  323. package/dist/components/info-card/customElement.js +1 -1
  324. package/dist/components/json-editor/customElement.js +1 -1
  325. package/dist/components/layer-list/customElement.js +1 -1
  326. package/dist/components/layer-table/customElement.js +52 -48
  327. package/dist/components/map-card/customElement.js +1 -1
  328. package/dist/components/map-draw-tools/customElement.js +1 -1
  329. package/dist/components/map-fullscreen/customElement.js +1 -1
  330. package/dist/components/map-layer-picker/customElement.js +1 -1
  331. package/dist/components/map-legend/customElement.js +1 -1
  332. package/dist/components/map-picker/customElement.js +1 -1
  333. package/dist/components/map-search/customElement.js +1 -1
  334. package/dist/components/map-select-tools/customElement.js +1 -1
  335. package/dist/components/map-tools/customElement.js +1 -1
  336. package/dist/components/pci-calculator/customElement.js +1 -1
  337. package/dist/components/pdf-download/customElement.js +1 -1
  338. package/dist/components/public-notification/customElement.js +1 -1
  339. package/dist/components/refine-selection/customElement.js +1 -1
  340. package/dist/components/selection-tool/customElement.js +1 -1
  341. package/dist/components/solution-article-card/customElement.js +1 -1
  342. package/dist/components/solution-configuration/customElement.js +1 -1
  343. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  344. package/dist/components/solution-configure-titles/customElement.js +1 -1
  345. package/dist/components/solution-contents/customElement.js +1 -1
  346. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  347. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  348. package/dist/components/solution-deployed-card/customElement.js +1 -1
  349. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  350. package/dist/components/solution-details-card/customElement.js +1 -1
  351. package/dist/components/solution-details-panel/customElement.js +1 -1
  352. package/dist/components/solution-item/customElement.js +1 -1
  353. package/dist/components/solution-item-accordion/customElement.js +1 -1
  354. package/dist/components/solution-item-details/customElement.js +1 -1
  355. package/dist/components/solution-item-icon/customElement.js +1 -1
  356. package/dist/components/solution-item-sharing/customElement.js +1 -1
  357. package/dist/components/solution-items-diagram/customElement.js +1 -1
  358. package/dist/components/solution-organization-variables/customElement.js +1 -1
  359. package/dist/components/solution-resource-item/customElement.js +1 -1
  360. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  361. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  362. package/dist/components/solution-template-data/customElement.js +1 -1
  363. package/dist/components/solution-variables/customElement.js +1 -1
  364. package/dist/components/solutions-all-panel/customElement.js +1 -1
  365. package/dist/components/solutions-all-shell/customElement.js +1 -1
  366. package/dist/components/solutions-article-panel/customElement.js +1 -1
  367. package/dist/components/solutions-articles/customElement.js +1 -1
  368. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  369. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  370. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  371. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  372. package/dist/components/spatial-ref/customElement.js +1 -1
  373. package/dist/components/store-manager/customElement.js +1 -1
  374. package/dist/docs/api.json +1 -1
  375. package/dist/docs/docs.json +1 -1
  376. package/dist/docs/web-types.json +1 -1
  377. package/dist/index.js +1 -1
  378. package/dist/loader.js +1 -1
  379. package/package.json +1 -1
  380. package/dist/cdn/5AMRUYMU.js +0 -4
  381. package/dist/cdn/HPN5RP5D.js +0 -4
  382. package/dist/cdn/LCPJZHPD.js +0 -18
  383. package/dist/cdn/LSSHDVVX.js +0 -4
  384. package/dist/cdn/SJYYUO6H.js +0 -4
  385. package/dist/cdn/WLIQRMY7.js +0 -18
  386. package/dist/cdn/WYML4KIE.js +0 -4
  387. package/dist/cdn/XI2AVQC6.js +0 -4
  388. package/dist/cdn/XKPIYHWA.js +0 -4
  389. package/dist/cdn/YIKZB4ZA.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
3
+ v1.0.0-next.20250618 */
4
4
  var a;(function(e){e.aptx="aptx",e.bpk="bpk",e.csv="csv",e.eaz="eaz",e.esriaddin="esriaddin",e.esriaddinx="esriaddinx",e.doc="doc",e.docx="docx",e.dlpk="dlpk",e.featurecollection="featurecollection",e.geojson="geojson",e.gcpk="gcpk",e.gpk="gpk",e.gpkg="gpkg",e.gpkx="gpkx",e.insightswbk="insightswbk",e.ipynb="ipynb",e.jpg="jpg",e.jpeg="jpeg",e.json="json",e.key="key",e.kml="kml",e.kmz="kmz",e.lpk="lpk",e.lpkx="lpkx",e.lyr="lyr",e.lyrx="lyrx",e.mapx="mapx",e.mmpk="mmpk",e.mpk="mpk",e.mpkx="mpkx",e.msd="msd",e.mspk="mspk",e.mxd="mxd",e.ncfg="ncfg",e.nmc="nmc",e.nmf="nmf",e.numbers="numbers",e.pages="pages",e.pagx="pagx",e.parquet="parquet",e.pdf="pdf",e.pmf="pmf",e.png="png",e.ppkx="ppkx",e.ppt="ppt",e.pptx="pptx",e.proconfigx="proconfigx",e.rpk="rpk",e.rptx="rptx",e.sd="sd",e.slpk="slpk",e.spk="spk",e.stylx="stylx",e.surveyaddin="surveyaddin",e.sxd="sxd",e.tif="tif",e.tiff="tiff",e.tpk="tpk",e.tpkx="tpkx",e.vsd="vsd",e.vtpk="vtpk",e.wmpk="wmpk",e.wpk="wpk",e.xls="xls",e.xml="xml",e.xlsx="xlsx",e.zip="zip",e["3dd"]="3dd",e["3vr"]="3vr",e["3ws"]="3ws",e["rft.json"]="rft.json",e["rft.xml"]="rft.xml"})(a||(a={}));var r;(function(e){e["360 VR Experience"]="360 VR Experience",e["Apache Parquet"]="Apache Parquet",e["AppBuilder Widget Package"]="AppBuilder Widget Package",e["Desktop Add In"]="Desktop Add In",e["Explorer Add In"]="Explorer Add In",e["Explorer Map"]="Explorer Map",e["Explorer Layer"]="Explorer Layer",e["Windows Mobile Package"]="Windows Mobile Package",e["ArcGIS Pro Add In"]="ArcGIS Pro Add In",e["ArcGIS Pro Configuration"]="ArcGIS Pro Configuration",e["Globe Document"]="Globe Document",e["Map Document"]="Map Document",e["ArcPad Package"]="ArcPad Package",e["Published Map"]="Published Map",e["Scene Document"]="Scene Document",e["CityEngine Web Scene"]="CityEngine Web Scene",e["Code Sample"]="Code Sample",e["CSV Collection"]="CSV Collection",e.CSV="CSV",e["CAD Drawing"]="CAD Drawing",e["Deep Learning Package"]="Deep Learning Package",e["Desktop Application"]="Desktop Application",e["Desktop Application Template"]="Desktop Application Template",e["Desktop Style"]="Desktop Style",e["Earth Configuration"]="Earth Configuration",e["Feature Collection"]="Feature Collection",e["File Geodatabase"]="File Geodatabase",e.GeoJson="GeoJson",e["Geoprocessing Package"]="Geoprocessing Package",e.GeoPackage="GeoPackage",e["Geoprocessing Sample"]="Geoprocessing Sample",e.GML="GML",e["Image Collection"]="Image Collection",e.Image="Image",e["iWork Keynote"]="iWork Keynote",e["iWork Numbers"]="iWork Numbers",e["iWork Pages"]="iWork Pages",e["KML Collection"]="KML Collection",e.KML="KML",e.Layer="Layer",e["Layer Package"]="Layer Package",e.Layout="Layout",e["Locator Package"]="Locator Package",e["Map Package"]="Map Package",e["Map Template"]="Map Template",e["Microsoft Excel"]="Microsoft Excel",e["Microsoft Powerpoint"]="Microsoft Powerpoint",e["Visio Document"]="Visio Document",e["Microsoft Word"]="Microsoft Word",e["Mobile Basemap Package"]="Mobile Basemap Package",e["Mobile Map Package"]="Mobile Map Package",e["Mobile Scene Package"]="Mobile Scene Package",e.Notebook="Notebook",e.PDF="PDF",e["Pro Map"]="Pro Map",e["Pro Report"]="Pro Report",e["Project Package"]="Project Package",e["Project Template"]="Project Template",e["Raster function template"]="Raster function template",e["Rule Package"]="Rule Package",e["Scene Package"]="Scene Package",e["Service Definition"]="Service Definition",e.Shapefile="Shapefile",e["Survey123 Add In"]="Survey123 Add In",e["Tile Package"]="Tile Package",e["Vector Tile Package"]="Vector Tile Package",e["Workflow Manager Package"]="Workflow Manager Package",e["Document Link"]="Document Link",e["Feature Service"]="Feature Service",e["Geocoding Service"]="Geocoding Service",e["Geodata Service"]="Geodata Service",e["Geometry Service"]="Geometry Service",e["Geoprocessing Service"]="Geoprocessing Service",e["Geoenrichment Service"]="Geoenrichment Service",e["Globe Service"]="Globe Service",e["Image Service"]="Image Service",e["Map Service"]="Map Service",e["Network Analysis Service"]="Network Analysis Service",e["Vector Tile Service"]="Vector Tile Service",e.WFS="WFS",e.WMS="WMS",e.WMTS="WMTS",e.OGCFeatureServer="OGCFeatureServer",e["Scene Service"]="Scene Service",e["Stream Service"]="Stream Service",e["Workflow Manager Service"]="Workflow Manager Service",e["Web Mapping Application"]="Web Mapping Application",e["Mobile Application"]="Mobile Application",e["AppBuilder Extension"]="AppBuilder Extension",e["Google Drive"]="Google Drive",e.Dropbox="Dropbox",e.OneDrive="OneDrive",e.StoryMap="StoryMap",e.Dashboard="Dashboard",e["Hub Project"]="Hub Project",e["Hub Initiative"]="Hub Initiative",e["Hub Site Application"]="Hub Site Application",e["Web Experience"]="Web Experience",e["Insights Workbook Package"]="Insights Workbook Package",e.Application="Application",e["ArcGIS Explorer Application Configuration"]="ArcGIS Explorer Application Configuration",e["ArcMap Document"]="ArcMap Document",e["Layer File"]="Layer File",e.ogcFeature="ogcFeature",e.FeatureServer="Feature Service",e.GeocodeServer="GeocodeServer",e.GeoDataServer="GeoDataServer",e.GeometryServer="GeometryServer",e.GeoenrichmentServer="GeoenrichmentServer",e.GPServer="GPServer",e.GlobeServer="GlobeServer",e.ImageServer="ImageServer",e.MapServer="MapServer",e.NAServer="NAServer",e.ElevationServer="ElevationServer",e.VectorTileServer="VectorTileServer",e["Scene Server"]="Scene Server",e.StreamServer="StreamServer",e.WMServer="WMServer",e.TiledImageServer="TiledImageServer"})(r||(r={}));var t={"360 VR Experience":{fileExt:[a["3dd"]],type:r["360 VR Experience"],typeKeywords:[]},"Apache Parquet":{fileExt:[a.parquet],type:r["Apache Parquet"],typeKeywords:[]},"AppBuilder Widget Package":{fileExt:[a.zip],type:r["AppBuilder Widget Package"],typeKeywords:[]},"Desktop Add In":{fileExt:[a.esriaddin],type:r["Desktop Add In"],typeKeywords:["Tool","Add In","Desktop Add In","ArcGIS Desktop","ArcMap","ArcGlobe","ArcScene","esriaddin"]},"Explorer Add In":{fileExt:[a.eaz],type:r["Explorer Add In"],typeKeywords:["Tool","Add In","Explorer Add In","ArcGIS Explorer","eaz"]},"Explorer Map":{fileExt:[a.nmf],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Document","2D","3D","ArcGIS Explorer","nmf"]},"ArcGIS Explorer Application Configuration":{fileExt:[a.ncfg],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Mapping Application","2D","3D","ArcGIS Explorer"]},"Explorer Layer":{fileExt:[a.nmc],type:r["Explorer Layer"],typeKeywords:["Data","Layer","Explorer Layer","ArcGIS Explorer","nmc"]},"Windows Mobile Package":{fileExt:[a.wmpk],type:r["Windows Mobile Package"],typeKeywords:[]},"ArcGIS Pro Add In":{fileExt:[a.esriaddinx],type:r["ArcGIS Pro Add In"],typeKeywords:["Tool","Add In","Pro Add In","esriaddinx"]},"ArcGIS Pro Configuration":{fileExt:[a.proconfigx],type:r["ArcGIS Pro Configuration"],typeKeywords:[]},"Globe Document":{fileExt:[a["3dd"]],type:r["Globe Document"],typeKeywords:["Map","Globe Document","3D","ArcGlobe","ArcGIS Server","3dd"]},"Map Document":{fileExt:[a.msd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server","msd"]},"ArcMap Document":{fileExt:[a.mxd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server"]},"ArcPad Package":{fileExt:[a.zip],type:r["ArcPad Package"],typeKeywords:["Map","Layer","Data"]},"Published Map":{fileExt:[a.pmf],type:r["Published Map"],typeKeywords:["Map","Published Map","2D","ArcReader","ArcMap","ArcGIS Server","pmf"]},"Scene Document":{fileExt:[a.sxd],type:r["Scene Document"],typeKeywords:["Map","Scene Document","3D","ArcScene","sxd"]},"CityEngine Web Scene":{fileExt:[a["3ws"]],type:r["CityEngine Web Scene"],typeKeywords:["3D","Map","Scene","Web"]},"Code Sample":{fileExt:[a.zip],type:r["Code Sample"],typeKeywords:["Code","Sample"]},"CSV Collection":{fileExt:[a.zip],type:r["CSV Collection"],typeKeywords:[]},CSV:{fileExt:[a.csv],type:r.CSV,typeKeywords:["CSV"]},"CAD Drawing":{fileExt:[a.zip],type:r["CAD Drawing"],typeKeywords:[]},"Deep Learning Package":{fileExt:[a.zip,a.dlpk],type:r["Deep Learning Package"],typeKeywords:["Deep Learning","Raster"]},"Desktop Application":{type:r["Desktop Application"],typeKeywords:["Desktop Application"]},"Desktop Application Template":{fileExt:[a.zip],type:r["Desktop Application Template"],typeKeywords:["application","template","ArcGIS desktop"]},"Desktop Style":{fileExt:[a.stylx],type:r["Desktop Style"],typeKeywords:["ArcGIS Pro","Symbology","Style","Symbols"]},"Earth Configuration":{fileExt:[a.xml],type:r["Earth Configuration"],typeKeywords:["ArcGIS Earth","Earth","Earth Configuration"]},"Feature Collection":{type:r["Feature Collection"],fileExt:[a.featurecollection],typeKeywords:[]},"File Geodatabase":{fileExt:[a.zip],type:r["File Geodatabase"],typeKeywords:[]},GeoJson:{fileExt:[a.geojson,a.json],type:r.GeoJson,typeKeywords:["Coordinates Type","CRS","Feature","FeatureCollection","GeoJSON","Geometry","GeometryCollection"]},"Geoprocessing Package":{fileExt:[a.gpk,a.gpkx],type:r["Geoprocessing Package"],typeKeywords:["ArcGIS Desktop","ArcGlobe","ArcMap","ArcScene","Geoprocessing Package","gpk","Model","Result","Script","Sharing","Tool","Toolbox"]},GeoPackage:{fileExt:[a.gpkg],type:r.GeoPackage,typeKeywords:["Data","GeoPackage","gpkg"]},"Geoprocessing Sample":{fileExt:[a.zip],type:r["Geoprocessing Sample"],typeKeywords:["tool","geoprocessing","sample"]},GML:{fileExt:[a.zip],type:r.GML,typeKeywords:[]},"Image Collection":{fileExt:[a.zip],type:r["Image Collection"],typeKeywords:[]},Image:{fileExt:[a.jpg,a.jpeg,a.png,a.tif,a.tiff],type:r.Image,typeKeywords:["Data","Image"]},"iWork Keynote":{fileExt:[a.key],type:r["iWork Keynote"],typeKeywords:["Data","Document","Mac"]},"iWork Numbers":{fileExt:[a.numbers],type:r["iWork Numbers"],typeKeywords:["Data","Document","Mac"]},"iWork Pages":{fileExt:[a.pages],type:r["iWork Pages"],typeKeywords:["Data","Document","Mac"]},"KML Collection":{fileExt:[a.zip],type:r["KML Collection"],typeKeywords:[]},KML:{type:r.KML,fileExt:[a.kml,a.kmz],typeKeywords:["Data","Map","kml"]},Layer:{fileExt:[a.lyr],type:r.Layer,typeKeywords:["Data","Layer","ArcMap","ArcGlobe","ArcGIS Explorer","lyr"]},"Layer File":{fileExt:[a.lyrx],type:r.Layer,typeKeywords:["ArcGIS Pro","Layer","Layer File"]},"Layer Package":{fileExt:[a.lpk,a.lpkx],type:r["Layer Package"],typeKeywords:[]},Layout:{fileExt:[a.pagx],type:r.Layout,typeKeywords:["ArcGIS Pro","Layout","Layout File","pagx"]},"Locator Package":{fileExt:[a.gcpk],type:r["Locator Package"],typeKeywords:[]},"Map Package":{fileExt:[a.mpk,a.mpkx],type:r["Map Package"],typeKeywords:[]},"Map Template":{fileExt:[a.zip],type:r["Map Template"],typeKeywords:["map","ArcMap","template","ArcGIS desktop"]},"Microsoft Excel":{fileExt:[a.xls,a.xlsx],type:r["Microsoft Excel"],typeKeywords:["Data","Document","Microsoft Excel"]},"Microsoft Powerpoint":{fileExt:[a.ppt,a.pptx],type:r["Microsoft Powerpoint"],typeKeywords:["Data","Document","Microsoft Powerpoint"]},"Visio Document":{fileExt:[a.vsd],type:r["Visio Document"],typeKeywords:["Data","Document","Visio Document"]},"Microsoft Word":{fileExt:[a.doc,a.docx],type:r["Microsoft Word"],typeKeywords:["Data","Document"]},"Mobile Basemap Package":{fileExt:[a.bpk],type:r["Mobile Basemap Package"],typeKeywords:[]},"Mobile Map Package":{fileExt:[a.mmpk],type:r["Mobile Map Package"],typeKeywords:[]},"Mobile Scene Package":{fileExt:[a.mspk],type:r["Mobile Scene Package"],typeKeywords:[]},Notebook:{fileExt:[a.ipynb],type:r.Notebook,typeKeywords:["Notebook","Python"]},PDF:{fileExt:[a.pdf],type:r.PDF,typeKeywords:["Data","Document","PDF"]},"Pro Map":{fileExt:[a.mapx],type:r["Pro Map"],typeKeywords:["ArcGIS Pro","Map","Map File","mapx"]},"Pro Report":{fileExt:[a.rptx],type:r["Pro Report"],typeKeywords:[]},"Project Package":{fileExt:[a.ppkx],type:r["Project Package"],typeKeywords:[]},"Project Template":{fileExt:[a.aptx],type:r["Project Template"],typeKeywords:[]},"Raster function template":{fileExt:[a["rft.json"],a["rft.xml"]],type:r["Raster function template"],typeKeywords:["Raster","Functions","Processing","rft","srf","function template","templates","ArcGIS Pro"]},"Rule Package":{fileExt:[a.rpk],type:r["Rule Package"],typeKeywords:[]},"Scene Package":{fileExt:[a.slpk,a.spk],type:r["Scene Package"],typeKeywords:[]},"Service Definition":{fileExt:[a.sd],type:r["Service Definition"],typeKeywords:["Data","Service","Service Definition"]},Shapefile:{fileExt:[a.zip],type:r.Shapefile,typeKeywords:["Data","Layer","shapefile"]},"Survey123 Add In":{fileExt:[a.surveyaddin],type:r["Survey123 Add In"],typeKeywords:["Add In","Survey123 Add In","Tool"]},"Tile Package":{fileExt:[a.tpk,a.tpkx],type:r["Tile Package"],typeKeywords:[]},"Vector Tile Package":{fileExt:[a.vtpk],type:r["Vector Tile Package"],typeKeywords:[]},"Workflow Manager Package":{fileExt:[a.wpk],type:r["Workflow Manager Package"],typeKeywords:[]},"Document Link":{type:r["Document Link"],typeKeywords:["Data","Document"]},"Feature Service":{type:r["Feature Service"],typeKeywords:["ArcGIS Server","Data","Feature Access","Feature Service","Service","Singlelayer","Hosted Service"]},GeocodeServer:{type:r["Geocoding Service"],typeKeywords:["ArcGIS Server","Geocoding Service","Locator Service","Service","Tool","Service Proxy"]},GeoDataServer:{type:r["Geodata Service"],typeKeywords:["Data","Service","Geodata Service","ArcGIS Server"]},GeometryServer:{type:r["Geometry Service"],typeKeywords:["Tool","Service","Geometry Service","ArcGIS Server"]},GeoenrichmentServer:{type:r["Geoenrichment Service"],typeKeywords:["Geoenrichment Service","ArcGIS Server"]},GPServer:{type:r["Geoprocessing Service"],typeKeywords:["Tool","Service","Geoprocessing Service","ArcGIS Server"]},GlobeServer:{type:r["Globe Service"],typeKeywords:["Data","Service","Globe Service","ArcGIS Server"]},ImageServer:{type:r["Image Service"],typeKeywords:["Data","Service","Image Service","ArcGIS Server"]},MapServer:{type:r["Map Service"],typeKeywords:["Data","Service","Map Service","ArcGIS Server"]},NAServer:{type:r["Network Analysis Service"],typeKeywords:["Tool","Service","Network Analysis Service","ArcGIS Server"]},ElevationServer:{type:r["Image Service"],typeKeywords:["Elevation 3D Layer"]},VectorTileServer:{type:r["Vector Tile Service"],typeKeywords:[]},WFS:{type:r.WFS,typeKeywords:["Data","Service","Web Feature Service","OGC"]},WMS:{type:r.WMS,typeKeywords:["Data","Service","Web Map Service","OGC"]},WMTS:{type:r.WMTS,typeKeywords:["Data","Service","OGC"]},ogcFeature:{type:r.OGCFeatureServer,typeKeywords:["Data","Service","Feature Service","OGC","OGC Feature Service"]},SceneServer:{type:r["Scene Service"],typeKeywords:["Scene Service"]},StreamServer:{type:r["Stream Service"],typeKeywords:["Data","Service","Stream Service","ArcGIS Server"]},WMServer:{type:r["Workflow Manager Service"],typeKeywords:["Workflow Manager","ArcGIS Server","WMServer","Workflow","JTX","Job Tracking"]},TiledImageServer:{type:r["Image Service"],typeKeywords:["Tiled Imagery"]},"Web Mapping Application":{type:r["Web Mapping Application"],typeKeywords:["JavaScript","Map","Mapping Site","Online Map","Ready To Use","Web AppBuilder","Web Map (+ WAB2D or WAB3D)"]},"Mobile Application":{type:r["Mobile Application"],typeKeywords:["ArcGIS Mobile Map","Mobile Application"]},"AppBuilder Extension":{type:r["AppBuilder Extension"],typeKeywords:["Widget","App Builder"]},"Google Drive":{type:r["Google Drive"],typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},Dropbox:{type:r.Dropbox,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},OneDrive:{type:r.OneDrive,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},"Map Service":{type:r["Map Service"],typeKeywords:["ArcGIS Server","Data","Map Service","Service","Hosted Service"]},StoryMap:{type:r.StoryMap,typeKeywords:["arcgis-storymaps","StoryMap","Web Application (smstatusdraft or smsstatuspublished)"]},Dashboard:{type:r.Dashboard,typeKeywords:["Dashboard","Operations Dashboard"]},"Hub Initiative":{type:r["Hub Initiative"],typeKeywords:["Hub","hubInitiative","OpenData"]},"Hub Site Application":{type:r["Hub Site Application"],typeKeywords:["Hub","hubSite","hubSolution","JavaScript","Map","Mapping Site","Online Map","OpenData","Ready To Use","selfConfigured","Web Map","Registered App"]},"Web Experience":{type:r["Web Experience"],typeKeywords:["EXB Experience","JavaScript","Ready To Use Web Application","Web Experience","Web Mapping Application","Web Page","Web Site"]},"Insights Workbook Package":{type:r["Insights Workbook Package"],fileExt:[a.insightswbk],typeKeywords:["Insights","Insights Workbook Package"]}},o;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(o||(o={}));var p;(function(e){e.map="map",e.image="image"})(p||(p={}));export{r as a,o as b,p as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as e}from"./VFIEMUU3.js";import"./CWUG3WIL.js";import"./W2J4GUF6.js";import"./G74NUZJA.js";import"./XXXT6FMN.js";import"./RCH6FSOO.js";import"./KQJONR6F.js";import"./RADAXSM4.js";import"./XXETI3KO.js";import"./E2QXOBX4.js";import"./OMM3CGWL.js";import"./6GUN3P64.js";import"./X3AKU22A.js";import"./K6EYSWK3.js";import"./K5ABIFBZ.js";import"./ECULEWGH.js";import"./U5SM65RP.js";import"./BC4GIYFT.js";import{a as t}from"./2AH2EXXK.js";import"./XETQL72A.js";import"./CY5FNQOJ.js";import"./GQX5XJTO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
3
+ v1.0.0-next.20250618 */
4
+ import{a as e}from"./6FURXZTX.js";import"./DRFV4N6J.js";import"./C6KHQNY4.js";import"./CXFSUXVU.js";import"./74YGVXNR.js";import"./PHNTRSWP.js";import"./CPPGUGUJ.js";import"./VTIGVKIS.js";import"./GUAZDGXF.js";import"./6YBZSHGK.js";import"./ND56OQM6.js";import"./XXZWFBWQ.js";import"./JZSLUW6H.js";import"./ZYS5MFJN.js";import"./RFO7GXOU.js";import"./UTVZOV34.js";import"./5JQOX6HV.js";import"./OEPIVYUB.js";import{a as t}from"./KPRXODCN.js";import"./TNT7W35H.js";import"./UQSOC5MG.js";import"./XZJE3HMV.js";import"./JLQQYQLO.js";import"./DKDDSSZO.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
3
+ v1.0.0-next.20250618 */
4
4
  var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",s="8f741b82179543fe884bed012dd5f049",d="1d3a7ed66deb47269beea05ff9afd4c1",f="en";export{e as a,a as b,s as c,d,f as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
3
+ v1.0.0-next.20250618 */
4
4
  function t(n,p=[]){return p.map(r=>r[n])}export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as t}from"./5Y5FK43G.js";import{a}from"./62EGHAKX.js";import{b as o}from"./G74NUZJA.js";var m=async(e,l,s)=>{let r={label:`{{${e}.sections.group.picker.facets.label:translate}}`,key:"groups",display:"single-select",operation:"OR",options:[{label:`{{${e}.sections.group.picker.facets.myGroups.label:translate}}`,key:"my-group",selected:!0,predicates:[{owner:s.currentUser.username,typekeywords:{not:t}}]},{label:`{{${e}.sections.group.picker.facets.myOrganization.label:translate}}`,key:"my-organization",selected:!1,predicates:[{orgid:s.currentUser.orgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}]};return s.communityOrgId&&r.options.push({label:`{{${e}.sections.group.picker.facets.myCommunity.label:translate}}`,key:"my-community",selected:!1,predicates:[{orgid:s.communityOrgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}),{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{headerTag:"h3"},elements:[{labelKey:`${e}.fields.name.label`,type:"Control",scope:"/properties/name",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.channelNameRequiredError`,allowShowBeforeInteract:!0}]}}]},{type:"Section",labelKey:`${e}.sections.settings.label`,options:{headerTag:"h3"},elements:[{type:"Control",scope:"/properties/allowAsAnonymous",labelKey:`${e}.fields.allowAsAnonymous.label`,options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.allowAsAnonymous.helperText`}}},{type:"Control",scope:"/properties/blockWords",label:"Blocked words",labelKey:`${e}.fields.blockWords.label`,options:{control:"hub-field-input-input",type:"textarea",helperText:{labelKey:`${e}.fields.blockWords.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.blockWords.formatError`}]}}]},{type:"Section",labelKey:`${e}.sections.permissions.label`,options:{headerTag:"h3"},elements:[{type:"Section",labelKey:`${e}.sections.public.label`,options:{headerTag:"h4"},elements:[{type:"Control",scope:"/properties/publicConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"anonymous",description:`{{${e}.fields.public.anonymous.description:translate}}`,label:`{{${e}.fields.public.anonymous.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`]},{roleType:"authenticated",description:`{{${e}.fields.public.authenticated.description:translate}}`,label:`{{${e}.fields.public.authenticated.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.organization.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/orgConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"member",description:`{{${e}.fields.organization.member.description:translate}}`,label:`{{${e}.fields.organization.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.organization.admin.description:translate}}`,label:`{{${e}.fields.organization.admin.label:translate}}`,disabled:!0,permissionLabels:[`{{${e}.sections.permissions.options.owner:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.group.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/groupConfigs",options:{control:"hub-field-permissions",actions:[{label:`{{${e}.sections.group.picker.button:translate}}`,type:"add",options:{label:`{{${e}.sections.group.picker.title:translate}}`,entityType:"group",catalogs:[a(e,"allGroups","group",{user:s.currentUser})],facets:[r],defaultValues:{member:o,admin:o}}},{ariaLabel:`{{${e}.sections.group.remove.button:translate}}`,buttonStyle:"outline",buttonKind:"neutral",type:"remove",icon:"x"}],roles:[{roleType:"member",description:`{{${e}.fields.group.member.description:translate}}`,label:`{{${e}.fields.group.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.group.admin.description:translate}}`,label:`{{${e}.fields.group.admin.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`,`{{${e}.sections.permissions.options.manage:translate}}`]}]}}]}]}]}};export{m as a};
3
+ v1.0.0-next.20250618 */
4
+ import{a as t}from"./5NR4JSYD.js";import{a}from"./JHMQASWG.js";import{b as o}from"./CXFSUXVU.js";var m=async(e,l,s)=>{let r={label:`{{${e}.sections.group.picker.facets.label:translate}}`,key:"groups",display:"single-select",operation:"OR",options:[{label:`{{${e}.sections.group.picker.facets.myGroups.label:translate}}`,key:"my-group",selected:!0,predicates:[{owner:s.currentUser.username,typekeywords:{not:t}}]},{label:`{{${e}.sections.group.picker.facets.myOrganization.label:translate}}`,key:"my-organization",selected:!1,predicates:[{orgid:s.currentUser.orgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}]};return s.communityOrgId&&r.options.push({label:`{{${e}.sections.group.picker.facets.myCommunity.label:translate}}`,key:"my-community",selected:!1,predicates:[{orgid:s.communityOrgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}),{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{headerTag:"h3"},elements:[{labelKey:`${e}.fields.name.label`,type:"Control",scope:"/properties/name",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.channelNameRequiredError`,allowShowBeforeInteract:!0}]}}]},{type:"Section",labelKey:`${e}.sections.settings.label`,options:{headerTag:"h3"},elements:[{type:"Control",scope:"/properties/allowAsAnonymous",labelKey:`${e}.fields.allowAsAnonymous.label`,options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.allowAsAnonymous.helperText`}}},{type:"Control",scope:"/properties/blockWords",label:"Blocked words",labelKey:`${e}.fields.blockWords.label`,options:{control:"hub-field-input-input",type:"textarea",helperText:{labelKey:`${e}.fields.blockWords.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.blockWords.formatError`}]}}]},{type:"Section",labelKey:`${e}.sections.permissions.label`,options:{headerTag:"h3"},elements:[{type:"Section",labelKey:`${e}.sections.public.label`,options:{headerTag:"h4"},elements:[{type:"Control",scope:"/properties/publicConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"anonymous",description:`{{${e}.fields.public.anonymous.description:translate}}`,label:`{{${e}.fields.public.anonymous.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`]},{roleType:"authenticated",description:`{{${e}.fields.public.authenticated.description:translate}}`,label:`{{${e}.fields.public.authenticated.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.organization.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/orgConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"member",description:`{{${e}.fields.organization.member.description:translate}}`,label:`{{${e}.fields.organization.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.organization.admin.description:translate}}`,label:`{{${e}.fields.organization.admin.label:translate}}`,disabled:!0,permissionLabels:[`{{${e}.sections.permissions.options.owner:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.group.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/groupConfigs",options:{control:"hub-field-permissions",actions:[{label:`{{${e}.sections.group.picker.button:translate}}`,type:"add",options:{label:`{{${e}.sections.group.picker.title:translate}}`,entityType:"group",catalogs:[a(e,"allGroups","group",{user:s.currentUser})],facets:[r],defaultValues:{member:o,admin:o}}},{ariaLabel:`{{${e}.sections.group.remove.button:translate}}`,buttonStyle:"outline",buttonKind:"neutral",type:"remove",icon:"x"}],roles:[{roleType:"member",description:`{{${e}.fields.group.member.description:translate}}`,label:`{{${e}.fields.group.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.group.admin.description:translate}}`,label:`{{${e}.fields.group.admin.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`,`{{${e}.sections.permissions.options.manage:translate}}`]}]}}]}]}]}};export{m as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as n,b as l}from"./YTJ7HTKE.js";import{a as f}from"./663C7SFX.js";import{A as m,D as b,c as d,d as s,n as r,y as h,z as c}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var I=d`/** @license
3
+ v1.0.0-next.20250618 */
4
+ import{a as n,b as l}from"./UDYGXKHM.js";import{a as f}from"./UBJU2THW.js";import{A as m,D as b,c as d,d as s,n as r,y as h,z as c}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var I=d`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{b as p,v as m}from"./QN47TVOF.js";import"./MIMUA7CO.js";import"./IJXW2QHI.js";import{e as g}from"./APOYUTRC.js";import{c as o,t as c,u as d,y as l,z as h}from"./5XHVWCO6.js";import"./VGF62Y4X.js";import{a as v,c as r,e as f,h as w}from"./D4PB3INZ.js";import"./QEF6IQG7.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
3
+ v1.0.0-next.20250618 */
4
+ import{b as p,v as m}from"./44R4RRIN.js";import"./CNUSPWTX.js";import"./AUFISDUF.js";import{e as g}from"./FMKTLZLW.js";import{c as o,t as c,u as d,y as l,z as h}from"./SOI2KF4J.js";import"./BAPCWA5D.js";import{a as v,c as r,e as f,h as w}from"./GGASZ5GX.js";import"./DKDDSSZO.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a}from"./WL25ONRI.js";import{a as d}from"./JAPFIMJD.js";import{K as b,L as m}from"./3QX3UFD6.js";import"./A6HCD5ST.js";import{a as l}from"./4M2BSB7U.js";import{a as i}from"./VFIEMUU3.js";import"./CWUG3WIL.js";import"./W2J4GUF6.js";import"./G74NUZJA.js";import"./XXXT6FMN.js";import"./RCH6FSOO.js";import"./KQJONR6F.js";import"./RADAXSM4.js";import"./XXETI3KO.js";import"./E2QXOBX4.js";import"./OMM3CGWL.js";import"./6GUN3P64.js";import"./X3AKU22A.js";import"./K6EYSWK3.js";import"./K5ABIFBZ.js";import"./ECULEWGH.js";import"./U5SM65RP.js";import"./BC4GIYFT.js";import"./2AH2EXXK.js";import"./XETQL72A.js";import"./CY5FNQOJ.js";import"./GQX5XJTO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
3
+ v1.0.0-next.20250618 */
4
+ import{a}from"./Z2JYQSV7.js";import{a as d}from"./BCBHVM7D.js";import{K as b,L as m}from"./WLFEE6M6.js";import"./C6VO4ZTH.js";import{a as l}from"./ODI4ESEW.js";import{a as i}from"./6FURXZTX.js";import"./DRFV4N6J.js";import"./C6KHQNY4.js";import"./CXFSUXVU.js";import"./74YGVXNR.js";import"./PHNTRSWP.js";import"./CPPGUGUJ.js";import"./VTIGVKIS.js";import"./GUAZDGXF.js";import"./6YBZSHGK.js";import"./ND56OQM6.js";import"./XXZWFBWQ.js";import"./JZSLUW6H.js";import"./ZYS5MFJN.js";import"./RFO7GXOU.js";import"./UTVZOV34.js";import"./5JQOX6HV.js";import"./OEPIVYUB.js";import"./KPRXODCN.js";import"./TNT7W35H.js";import"./UQSOC5MG.js";import"./XZJE3HMV.js";import"./JLQQYQLO.js";import"./DKDDSSZO.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./QEF6IQG7.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.0.0-next.20250618 */
4
+ import"./DKDDSSZO.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as u,b as m}from"./YTJ7HTKE.js";import{b as g}from"./4C5TKB2E.js";import{D as p,c as o,d as l,y as d}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var f=o`/** @license
3
+ v1.0.0-next.20250618 */
4
+ import{a as u,b as m}from"./UDYGXKHM.js";import{b as g}from"./4EDJBRS2.js";import{D as p,c as o,d as l,y as d}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var f=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
3
+ v1.0.0-next.20250618 */
4
4
  function u(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{u as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as r}from"./663C7SFX.js";import{D as n,c as t,d as i,p as s,y as o}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250618 */
4
+ import{a as r}from"./UBJU2THW.js";import{D as n,c as t,d as i,p as s,y as o}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var a=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,18 @@
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.20250618 */
4
+ import{a as E}from"./JQ3EXPCH.js";import"./GGASZ5GX.js";import{a as S,c as m,d as c,e as _,f,g as x}from"./DGX3VNBF.js";import"./WMXABBDN.js";import{b as C}from"./L7UWX4OU.js";import{a as n,b as o}from"./UDYGXKHM.js";import{b as $}from"./4EDJBRS2.js";import{a as v}from"./UBJU2THW.js";import{D as I,c as y,d as l,f as p,n as b,p as L,y as F,z as u}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var P=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;--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}}`,g=class extends F{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._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=b(),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=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&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?.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 c(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(){await 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!=null)await this._filterList.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 l`${this._reportSubmitted&&l`<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&&l`<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&&l`<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&&l`<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 $(["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 c(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 l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<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&&l`<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?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_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!=null&&(this._currentLayerExpressions=await this._filterList.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 l`<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&&l`<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 l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<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 l`<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 l`<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&&l`<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.backFromCreateRelatedFeaturePanel(),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=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await c(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}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!=null&&(this._currentLayerExpressions=await this._filterList.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 f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.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 l`<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&&l`<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&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<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 l`<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&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></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 l`<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&&l`<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&&l`<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 l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both 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-flip-rtl=both 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 l`<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 l`<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&&l`<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 l`<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(){this.mapView&&await f(this.mapView),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",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],h=!1;t.results.length>0&&t.results.forEach(d=>{d.type==="graphic"&&i.push(d.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),h=a.length>0);let r=s.concat(a);if(r.length>0){this.mapView.popupEnabled=!0;let d={features:r,location:e.mapPoint,updateLocationEnabled:!h};await this.mapView.openPopup(d)}}}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});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||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 c(this.mapView,h);if(r?.url&&t)return await this.identify?.identify(r.url,t)}),s=await Promise.all(i),a=[];return s.forEach(h=>{h.results.forEach(r=>{let d=Object.keys(r.feature.attributes).map(w=>({fieldName:w,label:w}));r.feature.popupTemplate={title:r.layerName,content:[{type:"fields",fieldInfos:d}]},a.push(r.feature)})}),a}_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 a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&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 S(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(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_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 c(this.mapView,this.layerId);if(e){let t=this.mapView&&await C([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 c(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.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:a}=i;s&&a&&e.push(`(${a})`)}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(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let h=s.expressions?.find(r=>r.id===a.id);h!=null&&(a.name=h.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{b as d}from"./YTJ7HTKE.js";import{D as h,c as o,d as a,n as r,y as c,z as l}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends c{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${l(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${d(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};h("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
3
+ v1.0.0-next.20250618 */
4
+ import{b as d}from"./UDYGXKHM.js";import{D as h,c as o,d as a,n as r,y as c,z as l}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends c{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${l(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${d(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};h("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./J6BMZHED.js";import{a as r}from"./VFIEMUU3.js";import"./CWUG3WIL.js";import"./W2J4GUF6.js";import"./G74NUZJA.js";import"./XXXT6FMN.js";import"./RCH6FSOO.js";import"./KQJONR6F.js";import"./RADAXSM4.js";import"./XXETI3KO.js";import"./E2QXOBX4.js";import"./OMM3CGWL.js";import"./6GUN3P64.js";import"./X3AKU22A.js";import"./K6EYSWK3.js";import"./K5ABIFBZ.js";import"./ECULEWGH.js";import"./U5SM65RP.js";import"./BC4GIYFT.js";import"./2AH2EXXK.js";import"./XETQL72A.js";import"./CY5FNQOJ.js";import"./GQX5XJTO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.0.0-next.20250618 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./5NPT5B76.js";import{a as r}from"./6FURXZTX.js";import"./DRFV4N6J.js";import"./C6KHQNY4.js";import"./CXFSUXVU.js";import"./74YGVXNR.js";import"./PHNTRSWP.js";import"./CPPGUGUJ.js";import"./VTIGVKIS.js";import"./GUAZDGXF.js";import"./6YBZSHGK.js";import"./ND56OQM6.js";import"./XXZWFBWQ.js";import"./JZSLUW6H.js";import"./ZYS5MFJN.js";import"./RFO7GXOU.js";import"./UTVZOV34.js";import"./5JQOX6HV.js";import"./OEPIVYUB.js";import"./KPRXODCN.js";import"./TNT7W35H.js";import"./UQSOC5MG.js";import"./XZJE3HMV.js";import"./JLQQYQLO.js";import"./DKDDSSZO.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as o}from"./M5SMNJVJ.js";import{b as l}from"./G74NUZJA.js";import"./QEF6IQG7.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
3
+ v1.0.0-next.20250618 */
4
+ import{a as o}from"./EQ6HIJ73.js";import{b as l}from"./CXFSUXVU.js";import"./DKDDSSZO.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as n}from"./3D65T4GL.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
3
+ v1.0.0-next.20250618 */
4
+ import{a as n}from"./4SH5J6QB.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./QEF6IQG7.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
3
+ v1.0.0-next.20250618 */
4
+ import"./DKDDSSZO.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./QN47TVOF.js";import"./MIMUA7CO.js";import"./IJXW2QHI.js";import{C as u}from"./5XHVWCO6.js";import{a as h,c as n,e as m,f as L,h as w}from"./D4PB3INZ.js";import"./QEF6IQG7.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
3
+ v1.0.0-next.20250618 */
4
+ import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./44R4RRIN.js";import"./CNUSPWTX.js";import"./AUFISDUF.js";import{C as u}from"./SOI2KF4J.js";import{a as h,c as n,e as m,f as L,h as w}from"./GGASZ5GX.js";import"./DKDDSSZO.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{l as g}from"./DPWQI5EE.js";import{c as i,d as f}from"./YFAJKSIJ.js";import{a}from"./PJGGTO5X.js";import{b as s}from"./KDEENWCA.js";import{c as m,j as l,k as c,l as d,w as p}from"./3QX3UFD6.js";function P(t,e){return f(g(t),e,4)}function M(t,e){let r=t.filter(n=>!n.startsWith(`${i}|`));return r.push([i,e].join("|")),r}async function S(t,e){if(!t.slug)return[];let n={filter:`typekeywords:"${t.slug.startsWith(`${i}|`)?t.slug:[i,t.slug].join("|")}"`};e.authentication?n.authentication=e.authentication:e.portal&&(n.portal=e.portal),t.exclude&&(n.q=`NOT id:${t.exclude}`);try{return(await p(n)).results}catch(o){throw o}}function I(t,e,r=0){let n=r?[t.slug,r].join("-"):t.slug;return S({slug:n,exclude:t.existingId},e).then(o=>o.length?I(t,e,r+1):n).catch(o=>{throw Error(`Error in getUniqueSlug ${o}`)})}function U(t){let e=a(t.item);return e.text=JSON.stringify(t.data),e}function u(t){return t.params=Object.assign(Object.assign({},t.params),b(t.item)),t}function b(t){let e=JSON.parse(JSON.stringify(t));return e.data&&(typeof Blob<"u"&&t.data instanceof Blob||t.data.constructor.name==="ReadStream"?e.file=t.data:e.text=t.data,delete e.data),e}function x(...t){return l(u(t[0]))}function h(...t){return m(u(t[0]))}function y(t,e){return Promise.all([c(t,e),d(t,e)]).then(r=>({item:r[0],data:r[1]}))}async function D(t,e){let r=a(t.item);r.data=a(t.data),r.extent&&typeof r.extent!="string"&&(r.extent=s(r.extent));let n=await x(Object.assign({item:r},e));return y(n.id,e)}function Y(t,e){let r=a(t.item);r.data=a(t.data),r.extent&&typeof r.extent!="string"&&(r.extent=s(r.extent)),j(r)&&(e.params=Object.assign(Object.assign({},e.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},e);return h(n).then(()=>r.data?y(r.id,e):c(r.id,e).then(o=>({item:o})))}function j(t){return["description","snippet","tags","categories","licenseInfo"].some(e=>{var r;return t[e]===""||((r=t[e])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
3
+ v1.0.0-next.20250618 */
4
+ import{l as g}from"./ML4HH2XO.js";import{c as i,d as f}from"./GK64B4Y5.js";import{a}from"./RKVT7IG3.js";import{b as s}from"./FNC6JCNV.js";import{c as m,j as l,k as c,l as d,w as p}from"./WLFEE6M6.js";function P(t,e){return f(g(t),e,4)}function M(t,e){let r=t.filter(n=>!n.startsWith(`${i}|`));return r.push([i,e].join("|")),r}async function S(t,e){if(!t.slug)return[];let n={filter:`typekeywords:"${t.slug.startsWith(`${i}|`)?t.slug:[i,t.slug].join("|")}"`};e.authentication?n.authentication=e.authentication:e.portal&&(n.portal=e.portal),t.exclude&&(n.q=`NOT id:${t.exclude}`);try{return(await p(n)).results}catch(o){throw o}}function I(t,e,r=0){let n=r?[t.slug,r].join("-"):t.slug;return S({slug:n,exclude:t.existingId},e).then(o=>o.length?I(t,e,r+1):n).catch(o=>{throw Error(`Error in getUniqueSlug ${o}`)})}function U(t){let e=a(t.item);return e.text=JSON.stringify(t.data),e}function u(t){return t.params=Object.assign(Object.assign({},t.params),b(t.item)),t}function b(t){let e=JSON.parse(JSON.stringify(t));return e.data&&(typeof Blob<"u"&&t.data instanceof Blob||t.data.constructor.name==="ReadStream"?e.file=t.data:e.text=t.data,delete e.data),e}function x(...t){return l(u(t[0]))}function h(...t){return m(u(t[0]))}function y(t,e){return Promise.all([c(t,e),d(t,e)]).then(r=>({item:r[0],data:r[1]}))}async function D(t,e){let r=a(t.item);r.data=a(t.data),r.extent&&typeof r.extent!="string"&&(r.extent=s(r.extent));let n=await x(Object.assign({item:r},e));return y(n.id,e)}function Y(t,e){let r=a(t.item);r.data=a(t.data),r.extent&&typeof r.extent!="string"&&(r.extent=s(r.extent)),j(r)&&(e.params=Object.assign(Object.assign({},e.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},e);return h(n).then(()=>r.data?y(r.id,e):c(r.id,e).then(o=>({item:o})))}function j(t){return["description","snippet","tags","categories","licenseInfo"].some(e=>{var r;return t[e]===""||((r=t[e])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};