@esri/solutions-components 1.0.0-next.20250528 → 1.0.0-next.20250528.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/dist/cdn/{BBZU6JPM.js → 25PBJJQW.js} +2 -2
  2. package/dist/cdn/{AGVDOFMZ.js → 2BKLFFV3.js} +2 -2
  3. package/dist/cdn/{25ZWUXFO.js → 2GFLPWN7.js} +2 -2
  4. package/dist/cdn/{B2FYFHU7.js → 2XJALQPT.js} +2 -2
  5. package/dist/cdn/{FKXGGTJC.js → 35V32ZGG.js} +2 -2
  6. package/dist/cdn/{2ACVTFWH.js → 3I4NEFH6.js} +2 -2
  7. package/dist/cdn/{UHGNCI7M.js → 3UDIIW5C.js} +2 -2
  8. package/dist/cdn/{WOMBW52B.js → 3VARNN3H.js} +2 -2
  9. package/dist/cdn/{MYDDP7BI.js → 3WNIWICF.js} +1 -1
  10. package/dist/cdn/{VTPBT7MQ.js → 43IF6RVS.js} +2 -2
  11. package/dist/cdn/{DRMYZSAV.js → 43OPIVHU.js} +2 -2
  12. package/dist/cdn/{YHDZXWFB.js → 4BCOHKBU.js} +2 -2
  13. package/dist/cdn/4CZ6KARN.js +4 -0
  14. package/dist/cdn/{MGD53ADT.js → 4EEFLJ7L.js} +2 -2
  15. package/dist/cdn/{DX5OVPFT.js → 4FJ6YIEW.js} +2 -2
  16. package/dist/cdn/{SDPZNJWX.js → 4ICGVS3H.js} +2 -2
  17. package/dist/cdn/{JFS4GZ6K.js → 4KQPYQDK.js} +1 -1
  18. package/dist/cdn/{6CWLNSWC.js → 5GTGLHQA.js} +2 -2
  19. package/dist/cdn/{EMWBSXP7.js → 5P7OI5M3.js} +2 -2
  20. package/dist/cdn/{WF52YQCF.js → 5R67XATC.js} +2 -2
  21. package/dist/cdn/{4KRD733S.js → 6CDGGVGE.js} +1 -1
  22. package/dist/cdn/{2QJG47YD.js → 6CNRWGJ4.js} +2 -2
  23. package/dist/cdn/{W7XBKGFN.js → 6EP7M7XJ.js} +2 -2
  24. package/dist/cdn/{UWM44QLQ.js → 6GZ3P7MW.js} +2 -2
  25. package/dist/cdn/{TUGBBV6B.js → 6HHL5FY3.js} +2 -2
  26. package/dist/cdn/{NGTSVG7L.js → 6NZPPYBU.js} +2 -2
  27. package/dist/cdn/{ST5JB4CK.js → 72HVUAV7.js} +2 -2
  28. package/dist/cdn/{SEPT44JR.js → 77Q75LZE.js} +2 -2
  29. package/dist/cdn/{4ZZ767AP.js → 7B4R56TM.js} +2 -2
  30. package/dist/cdn/{SWWLO6K6.js → 7EPNN646.js} +2 -2
  31. package/dist/cdn/{DXKDQ4AX.js → 7O72W7MF.js} +2 -2
  32. package/dist/cdn/{RAYJRNTN.js → 7PBXJUEO.js} +2 -2
  33. package/dist/cdn/{4JGCEBGT.js → 7TRQSZUN.js} +1 -1
  34. package/dist/cdn/{INHRZ23K.js → AICVPUBP.js} +2 -2
  35. package/dist/cdn/{6XZWFS7Y.js → AJGIKTXY.js} +1 -1
  36. package/dist/cdn/{IJIQR7LK.js → AK7RIEHS.js} +2 -2
  37. package/dist/cdn/{YKWSPTR2.js → ANGZ4WNK.js} +2 -2
  38. package/dist/cdn/{SXHBKU6W.js → ATD6DCLS.js} +2 -2
  39. package/dist/cdn/{X6X5OCFG.js → ATVPQHJY.js} +2 -2
  40. package/dist/cdn/{XIBAIK2Z.js → AUPBYR3G.js} +2 -2
  41. package/dist/cdn/{GP7NQO7J.js → AYFLC652.js} +2 -2
  42. package/dist/cdn/{M4VWLPTM.js → B3LCPBNL.js} +2 -2
  43. package/dist/cdn/{6PVCA5ZX.js → B7PLQJPS.js} +2 -2
  44. package/dist/cdn/{4433JH2R.js → BQJ4XZB4.js} +1 -1
  45. package/dist/cdn/{DYIHGLWU.js → BQWBXINS.js} +2 -2
  46. package/dist/cdn/{UBZ6KMGN.js → BTD7DMX5.js} +2 -2
  47. package/dist/cdn/{CVIE4PDN.js → BUFXQMR4.js} +1 -1
  48. package/dist/cdn/BYQMGQYW.js +4 -0
  49. package/dist/cdn/{EOQESQYS.js → BZAHWVGQ.js} +1 -1
  50. package/dist/cdn/{SOLDJVDR.js → C2QYX64L.js} +2 -2
  51. package/dist/cdn/{L7R6K4A2.js → C6CUID27.js} +1 -1
  52. package/dist/cdn/{ZKIE5GVW.js → CBDBYDEC.js} +2 -2
  53. package/dist/cdn/{ZSU4BSTS.js → CDAJFWOQ.js} +3 -3
  54. package/dist/cdn/{44MEZFTF.js → CFAG2FSB.js} +2 -2
  55. package/dist/cdn/{T74GEZCH.js → CHQTMB53.js} +2 -2
  56. package/dist/cdn/{FCJVHDUH.js → CJWTSXB2.js} +2 -2
  57. package/dist/cdn/{MQKIZQYU.js → CKS2TCJA.js} +3 -3
  58. package/dist/cdn/{UKW7WIFN.js → CQDWK2WT.js} +2 -2
  59. package/dist/cdn/{M2TA6G4S.js → CQVD5CBU.js} +2 -2
  60. package/dist/cdn/{55BUMEUY.js → CSHPIQ5D.js} +2 -2
  61. package/dist/cdn/CSLY3NAJ.js +4 -0
  62. package/dist/cdn/{FII3CMHX.js → CY46FXGX.js} +2 -2
  63. package/dist/cdn/{GNLAD5Z6.js → D47MDJ3H.js} +1 -1
  64. package/dist/cdn/{TOODIZT4.js → D7KUWDF4.js} +2 -2
  65. package/dist/cdn/{FR3L4TW7.js → DTGGAA3W.js} +2 -2
  66. package/dist/cdn/{BVKD52TV.js → DWC5BEDO.js} +1 -1
  67. package/dist/cdn/{EI6DJKRP.js → E4W6U2SB.js} +2 -2
  68. package/dist/cdn/{UC5VQMM6.js → EBAAUYON.js} +2 -2
  69. package/dist/cdn/{W5OOXAU4.js → ECUWZTYK.js} +1 -1
  70. package/dist/cdn/{GMA3NBTA.js → EEA33WZI.js} +2 -2
  71. package/dist/cdn/{C47XZYAG.js → EEPQSN7Q.js} +2 -2
  72. package/dist/cdn/{6N2DIXJF.js → EMLYZ2SS.js} +2 -2
  73. package/dist/cdn/{OX2K54DK.js → ETIBVIWV.js} +2 -2
  74. package/dist/cdn/{GXXVAQDK.js → F3PTGHYO.js} +2 -2
  75. package/dist/cdn/{QUJHDDZX.js → F53ZDM22.js} +1 -1
  76. package/dist/cdn/{65N7XAWB.js → FCUG4KCK.js} +1 -1
  77. package/dist/cdn/{YFZCGZOB.js → FGXWHEON.js} +2 -2
  78. package/dist/cdn/{5IAANDGE.js → FHO5VR6B.js} +2 -2
  79. package/dist/cdn/{BV7DCC4N.js → FJFCA3JN.js} +2 -2
  80. package/dist/cdn/{LSAVJADZ.js → FRFEDLSJ.js} +2 -2
  81. package/dist/cdn/{DFKPE66D.js → FU7XT4WQ.js} +2 -2
  82. package/dist/cdn/{RXO3BGVO.js → G24GFGOQ.js} +2 -2
  83. package/dist/cdn/{JDVDAXYA.js → G2LRWQIG.js} +2 -2
  84. package/dist/cdn/{E6VMU3PC.js → G5U4WJ6F.js} +2 -2
  85. package/dist/cdn/{AMJZ2LFK.js → GBW3TB6N.js} +2 -2
  86. package/dist/cdn/{D5UC5SVZ.js → GE7Z77AB.js} +2 -2
  87. package/dist/cdn/{QQCYF2HJ.js → GEXPP6OZ.js} +2 -2
  88. package/dist/cdn/{7EJ7QFCG.js → GFGFGTPN.js} +3 -3
  89. package/dist/cdn/{NYLKYV7F.js → GMXEQORB.js} +2 -2
  90. package/dist/cdn/{BLY5B6IS.js → GOJUA34O.js} +1 -1
  91. package/dist/cdn/{WHWBIGAH.js → GPPR5STT.js} +2 -2
  92. package/dist/cdn/{F7J5AVP6.js → GUKAJOM3.js} +1 -1
  93. package/dist/cdn/{AKIPP4VC.js → GWBHN5NX.js} +2 -2
  94. package/dist/cdn/{OLFBYRLF.js → GWZZSWGD.js} +2 -2
  95. package/dist/cdn/H2B7HOSC.js +4 -0
  96. package/dist/cdn/{ABFH5NTH.js → HQRVKXX3.js} +2 -2
  97. package/dist/cdn/{BRT74BII.js → HRPJRXCN.js} +2 -2
  98. package/dist/cdn/{KV7CP4TD.js → HSQGDLNP.js} +2 -2
  99. package/dist/cdn/{EKDX37DH.js → I6S2QECH.js} +2 -2
  100. package/dist/cdn/{SC3ZFF3Y.js → I6XJAIFC.js} +2 -2
  101. package/dist/cdn/{ANX7JVYO.js → IE537KVP.js} +2 -2
  102. package/dist/cdn/{TRAZ3VPR.js → IFDRGA6G.js} +2 -2
  103. package/dist/cdn/IOMQBKLV.js +4 -0
  104. package/dist/cdn/{N7CW4A4R.js → IPQ4FLYZ.js} +2 -2
  105. package/dist/cdn/{CFTM5CZE.js → IS7TFPZJ.js} +2 -2
  106. package/dist/cdn/{4EDDSKZS.js → IYU2EMNF.js} +1 -1
  107. package/dist/cdn/{24W4CW4F.js → J6V5STA2.js} +2 -2
  108. package/dist/cdn/JDNXYCIG.js +4 -0
  109. package/dist/cdn/{HITN2DRN.js → JFW3ETMX.js} +1 -1
  110. package/dist/cdn/{7LP7G3G5.js → JKUIOQXV.js} +2 -2
  111. package/dist/cdn/{HMLEGLZ7.js → JLDFHYKB.js} +2 -2
  112. package/dist/cdn/{X3LPGOUH.js → JLOUT5MX.js} +2 -2
  113. package/dist/cdn/{QU6F2S3L.js → JPKSZ5IW.js} +2 -2
  114. package/dist/cdn/{CO5U6E2B.js → JQ2FK77O.js} +2 -2
  115. package/dist/cdn/{BYTWF7MG.js → JR76OCEB.js} +2 -2
  116. package/dist/cdn/{VC6W4X4W.js → JSGP47F6.js} +1 -1
  117. package/dist/cdn/{TM4ZSPAB.js → JTR2SH4G.js} +2 -2
  118. package/dist/cdn/{E645QUGL.js → JU2E7OJJ.js} +2 -2
  119. package/dist/cdn/{25RUIQSO.js → JV6ZPBUH.js} +2 -2
  120. package/dist/cdn/{CN7CLX6P.js → JXE3ERND.js} +2 -2
  121. package/dist/cdn/{QTIN4PMT.js → KANXN4TE.js} +2 -2
  122. package/dist/cdn/{LOIPX2ER.js → KCERPNOX.js} +2 -2
  123. package/dist/cdn/{ZSYHLMKN.js → KGCLTR2S.js} +1 -1
  124. package/dist/cdn/{BPPOS7VC.js → KH77SOOF.js} +1 -1
  125. package/dist/cdn/{FEZB7BTL.js → KHX3R2Z4.js} +2 -2
  126. package/dist/cdn/{BUTQMMJS.js → KIBBTGLB.js} +2 -2
  127. package/dist/cdn/{UFWRGJDV.js → KIFEL7BK.js} +2 -2
  128. package/dist/cdn/{5VBCGIEG.js → KLOTZOBR.js} +2 -2
  129. package/dist/cdn/{V6KN5QPT.js → KNTNR7IZ.js} +2 -2
  130. package/dist/cdn/{M7IGOHUD.js → KONDPSKH.js} +2 -2
  131. package/dist/cdn/{RSWKNEWY.js → KQUX7BEF.js} +2 -2
  132. package/dist/cdn/{L4PVVSFZ.js → KREDNK7J.js} +2 -2
  133. package/dist/cdn/{2SL6Z6TM.js → KRGDTQIC.js} +2 -2
  134. package/dist/cdn/{NBW6TGCY.js → KSS3APGW.js} +2 -2
  135. package/dist/cdn/{T3JY6H4E.js → KTBOVBO5.js} +2 -2
  136. package/dist/cdn/{Q5UREG2V.js → L3QLTAE7.js} +1 -1
  137. package/dist/cdn/{24WYI66F.js → LAMCTX2N.js} +2 -2
  138. package/dist/cdn/{X5DGQ5OF.js → LDBZTZKY.js} +2 -2
  139. package/dist/cdn/{HQHIIMPM.js → LDUWYS5W.js} +2 -2
  140. package/dist/cdn/{HA3GGXFE.js → LEPBL2Y4.js} +2 -2
  141. package/dist/cdn/{EJ5VJ4MH.js → LGDOEW7U.js} +2 -2
  142. package/dist/cdn/{LEY2V5RH.js → LGMAK23W.js} +2 -2
  143. package/dist/cdn/{RURXPJYT.js → LIA4W3XJ.js} +2 -2
  144. package/dist/cdn/{C6W4EBHD.js → LLDUTJLC.js} +2 -2
  145. package/dist/cdn/{X4HL3D2I.js → LSN7P2WQ.js} +2 -2
  146. package/dist/cdn/{QFZ4AJSY.js → LUEDPLY5.js} +2 -2
  147. package/dist/cdn/{DNCEXQFU.js → LVMAXE6W.js} +2 -2
  148. package/dist/cdn/{6N7OJ52Y.js → M3IHDXDC.js} +2 -2
  149. package/dist/cdn/{FYTWFRTO.js → MD4FE2CK.js} +1 -1
  150. package/dist/cdn/{XQFJPY6R.js → MEJKJ4M5.js} +2 -2
  151. package/dist/cdn/{NVQA2OXP.js → MIYEYP2E.js} +2 -2
  152. package/dist/cdn/{5ENIF5PT.js → MKKLL5ZS.js} +2 -2
  153. package/dist/cdn/{J5J7VURJ.js → MLUU7VQW.js} +2 -2
  154. package/dist/cdn/{UD7F6DCG.js → MV7WFJWQ.js} +1 -1
  155. package/dist/cdn/{T33NVZXY.js → MXWAIEZD.js} +2 -2
  156. package/dist/cdn/{JUSJWXDQ.js → MZR4QIPT.js} +1 -1
  157. package/dist/cdn/{YWGNQDQM.js → N25XK6FN.js} +1 -1
  158. package/dist/cdn/{RE44UO66.js → ND675HM5.js} +1 -1
  159. package/dist/cdn/{XI7PRITM.js → NDIWTIWO.js} +2 -2
  160. package/dist/cdn/{HVU2EO42.js → NG7TRKJC.js} +2 -2
  161. package/dist/cdn/NHLCW2BL.js +4 -0
  162. package/dist/cdn/{CYUT3EFC.js → NLEAVUXF.js} +2 -2
  163. package/dist/cdn/{MSJQ4JDQ.js → NQ4GJ2EY.js} +1 -1
  164. package/dist/cdn/{UDLBJXHJ.js → NRKV4EJ5.js} +2 -2
  165. package/dist/cdn/{IUZA5X57.js → NX52APT5.js} +2 -2
  166. package/dist/cdn/{NK3PNJXB.js → NXSWGBEL.js} +2 -2
  167. package/dist/cdn/{5RNOJK2U.js → NYVDHE7E.js} +2 -2
  168. package/dist/cdn/{URWOL2IQ.js → O3VZ3S2D.js} +2 -2
  169. package/dist/cdn/{E7E3UI3G.js → O5J4RJ7B.js} +2 -2
  170. package/dist/cdn/{MI5ZANBW.js → O5KMAS35.js} +2 -2
  171. package/dist/cdn/{5YIEEOQO.js → O6HZLBPG.js} +2 -2
  172. package/dist/cdn/{LFZ4GYFK.js → O6O3MX2S.js} +2 -2
  173. package/dist/cdn/{Y57AHJQ2.js → OC7VO4DN.js} +2 -2
  174. package/dist/cdn/{LUZ6KCKH.js → OFT4RWEQ.js} +2 -2
  175. package/dist/cdn/{FZRUF6CO.js → OGZ3UIZT.js} +2 -2
  176. package/dist/cdn/{FGFMYMTA.js → OH2C77EU.js} +2 -2
  177. package/dist/cdn/{VFEXPJTW.js → OLCSJ76K.js} +2 -2
  178. package/dist/cdn/OTBCJJWT.js +18 -0
  179. package/dist/cdn/{MJEB763W.js → OWFH5BT6.js} +1 -1
  180. package/dist/cdn/{HBJLJEV6.js → OXNEUTDS.js} +2 -2
  181. package/dist/cdn/{YP6FSEFL.js → OYGGU32Q.js} +4 -4
  182. package/dist/cdn/{LMK5U4FX.js → P3YM6KJZ.js} +2 -2
  183. package/dist/cdn/{ZHH6EKP5.js → PDSHIJNC.js} +2 -2
  184. package/dist/cdn/{AAQIWO65.js → PEAUVPGM.js} +2 -2
  185. package/dist/cdn/{CEDHHVFY.js → PIIJOLSO.js} +2 -2
  186. package/dist/cdn/{YQNXV3P3.js → PMGGZDUN.js} +2 -2
  187. package/dist/cdn/{D3FZEWBP.js → PQYDJLKT.js} +1 -1
  188. package/dist/cdn/{TI446Z7R.js → PRJAT3UX.js} +2 -2
  189. package/dist/cdn/{GKMXDGZF.js → PTJY6HJV.js} +2 -2
  190. package/dist/cdn/{37VSZ3UG.js → PW6BCLMM.js} +2 -2
  191. package/dist/cdn/{67VSRPIM.js → PWAKHJK5.js} +2 -2
  192. package/dist/cdn/{BWTP5UGR.js → Q5XIIJWU.js} +2 -2
  193. package/dist/cdn/{R6U6QOKC.js → QAYAJ4FV.js} +2 -2
  194. package/dist/cdn/{75AICF3J.js → QB3JQLSH.js} +1 -1
  195. package/dist/cdn/{A3VAIZ52.js → QBAOABKC.js} +2 -2
  196. package/dist/cdn/{3LVLGGLP.js → QJF7KQWQ.js} +2 -2
  197. package/dist/cdn/{WLHFDDBG.js → QTWHZ3DL.js} +2 -2
  198. package/dist/cdn/{5VQIZRBI.js → R73PDU63.js} +1 -1
  199. package/dist/cdn/{KRBE6UMS.js → RCJYMJC7.js} +1 -1
  200. package/dist/cdn/{52W5VWDL.js → RHIPAMD6.js} +1 -1
  201. package/dist/cdn/{ZA32GRGJ.js → RPFPO2CV.js} +2 -2
  202. package/dist/cdn/{DMPPY7GI.js → RTK3SRIT.js} +2 -2
  203. package/dist/cdn/{GDOS5KO6.js → RV2K4TCT.js} +2 -2
  204. package/dist/cdn/{G24WN4EN.js → S6W7RXCG.js} +2 -2
  205. package/dist/cdn/{EKVI5K4J.js → SDZEVUAE.js} +2 -2
  206. package/dist/cdn/{BLLKRGVR.js → SJRG6HSF.js} +2 -2
  207. package/dist/cdn/{MB7QENIY.js → SJXIUCRN.js} +1 -1
  208. package/dist/cdn/{H2NSBFWF.js → SXA34E2S.js} +2 -2
  209. package/dist/cdn/{J7CYSJA6.js → T6F66PP6.js} +2 -2
  210. package/dist/cdn/{LXYX76VN.js → T7CCQFVO.js} +2 -2
  211. package/dist/cdn/{2S6OZOKM.js → TE37N2QX.js} +2 -2
  212. package/dist/cdn/{HIHCOY2K.js → TILTEUIM.js} +2 -2
  213. package/dist/cdn/{UZOCT7SV.js → TJ7USYVU.js} +2 -2
  214. package/dist/cdn/{O3N5NP7L.js → TNVAHKZK.js} +1 -1
  215. package/dist/cdn/{LAXD5CVD.js → TWC3U47D.js} +2 -2
  216. package/dist/cdn/{GWXVNAEF.js → TZMAAM5M.js} +2 -2
  217. package/dist/cdn/{2AYAUMKZ.js → U4QTERGW.js} +2 -2
  218. package/dist/cdn/{Z2GSRYNO.js → U7UDQUDH.js} +2 -2
  219. package/dist/cdn/{DOZD6J4O.js → UN6AJVDX.js} +2 -2
  220. package/dist/cdn/{HEMGGNXH.js → UPK424CD.js} +2 -2
  221. package/dist/cdn/{AAW2CYTN.js → UREM6GTN.js} +2 -2
  222. package/dist/cdn/{KQTZ6C5H.js → UU7VMXV4.js} +2 -2
  223. package/dist/cdn/{JNS7O2LI.js → UZTDCPJS.js} +2 -2
  224. package/dist/cdn/{VIJAXFTF.js → V52IJEN4.js} +2 -2
  225. package/dist/cdn/{ZZZOCU5W.js → V6HLBAH2.js} +2 -2
  226. package/dist/cdn/{X6UMCCK5.js → VJF4PI5U.js} +2 -2
  227. package/dist/cdn/{GUYZ6TVU.js → VMYRQS35.js} +2 -2
  228. package/dist/cdn/{5A3GJKYM.js → VOA4OGLR.js} +2 -2
  229. package/dist/cdn/{DX3SET3L.js → VPZ5SZQL.js} +2 -2
  230. package/dist/cdn/{3YNQSVNT.js → VQ6Q6POM.js} +1 -1
  231. package/dist/cdn/{XLUHLOEX.js → VSHIFJKY.js} +2 -2
  232. package/dist/cdn/{PEDUZUAO.js → VSZYFVFD.js} +2 -2
  233. package/dist/cdn/{SJ3Q55BE.js → VUPD7KXT.js} +2 -2
  234. package/dist/cdn/{5IBV6E7G.js → VWG7PXDE.js} +2 -2
  235. package/dist/cdn/{SYQODL47.js → W3GEDPI3.js} +2 -2
  236. package/dist/cdn/{ABWFIKPD.js → W5Y6RZM3.js} +2 -2
  237. package/dist/cdn/{CZXYR4ZF.js → W7L5ZB6Y.js} +2 -2
  238. package/dist/cdn/{PYJIK3CR.js → WFWVO6JC.js} +2 -2
  239. package/dist/cdn/{YFR4OJTM.js → WFZTAET5.js} +2 -2
  240. package/dist/cdn/{W3A6FIHZ.js → WIUOXWKD.js} +2 -2
  241. package/dist/cdn/{KPYNNZU2.js → WPS526RU.js} +2 -2
  242. package/dist/cdn/{APENH3LP.js → WVBNKWGH.js} +2 -2
  243. package/dist/cdn/{3L6DEVIK.js → WVH5MJSX.js} +2 -2
  244. package/dist/cdn/{E4RIBJ2G.js → WWUUOJSY.js} +2 -2
  245. package/dist/cdn/{E65KQPOC.js → WWYCJLBB.js} +2 -2
  246. package/dist/cdn/{6GACAQSQ.js → XA42UGQ7.js} +2 -2
  247. package/dist/cdn/{GJ2OS72Q.js → XGZWD23R.js} +2 -2
  248. package/dist/cdn/{3GDPB4SN.js → XIE4A7B3.js} +2 -2
  249. package/dist/cdn/{D42V7PBV.js → XKK7HJBO.js} +2 -2
  250. package/dist/cdn/{PL35BRBK.js → XT622WJC.js} +2 -2
  251. package/dist/cdn/{5XJ6SZ36.js → XTBY6TYN.js} +2 -2
  252. package/dist/cdn/{KRI567KM.js → XTJG5DFS.js} +2 -2
  253. package/dist/cdn/{OJFX5K3G.js → XUB7T7AY.js} +2 -2
  254. package/dist/cdn/{JHVRHMPX.js → XYAE4MT5.js} +2 -2
  255. package/dist/cdn/{E2FWRG3J.js → XZIMLV7H.js} +1 -1
  256. package/dist/cdn/{6CED3D3P.js → Y35URT5Q.js} +2 -2
  257. package/dist/cdn/{CH65TEDK.js → Y5PUS34W.js} +1 -1
  258. package/dist/cdn/{R5UW5BBB.js → YHLJU5F5.js} +2 -2
  259. package/dist/cdn/{7YJX66H4.js → YI5CBQRZ.js} +1 -1
  260. package/dist/cdn/{5GM4BLLQ.js → YJSQANUI.js} +2 -2
  261. package/dist/cdn/{K2P2DNKH.js → YQFC4GG5.js} +2 -2
  262. package/dist/cdn/{BLURTZNI.js → YYNAOG7P.js} +2 -2
  263. package/dist/cdn/{A32DRANT.js → Z2PPSD4G.js} +2 -2
  264. package/dist/cdn/{FXKW2C3F.js → Z3IGCQ5P.js} +2 -2
  265. package/dist/cdn/{X3SEAUPP.js → ZEXSMSCH.js} +2 -2
  266. package/dist/cdn/{X2K4VP7N.js → ZGCS2MUQ.js} +2 -2
  267. package/dist/cdn/{HTWTYESZ.js → ZGLNJWEU.js} +2 -2
  268. package/dist/cdn/{YP6O3AK4.js → ZIB46UQF.js} +2 -2
  269. package/dist/cdn/ZIBR3KWF.js +4 -0
  270. package/dist/cdn/{EL2LQYMI.js → ZQ3NC6T5.js} +2 -2
  271. package/dist/cdn/{I33AEX6O.js → ZRSXDUMU.js} +2 -2
  272. package/dist/cdn/{IHDMSZP6.js → ZWADX6AH.js} +2 -2
  273. package/dist/cdn/{QSEANYSR.js → ZXNSOMLE.js} +2 -2
  274. package/dist/cdn/{PRIGD4HE.js → ZYGUTXA6.js} +2 -2
  275. package/dist/cdn/{ZI7JVVEX.js → ZYKXXCGE.js} +2 -2
  276. package/dist/cdn/{OPNL2BKB.js → ZZOPKSTN.js} +2 -2
  277. package/dist/cdn/index.js +2 -2
  278. package/dist/chunks/Auth.js +1 -1
  279. package/dist/chunks/cardFetchingUtils.js +1 -1
  280. package/dist/chunks/common.js +1 -1
  281. package/dist/chunks/deployAppContexts.js +1 -1
  282. package/dist/chunks/downloadUtils.js +1 -1
  283. package/dist/chunks/index.js +1 -1
  284. package/dist/chunks/interfaces.js +1 -1
  285. package/dist/chunks/loadModules.js +1 -1
  286. package/dist/chunks/mapViewUtils.js +1 -1
  287. package/dist/chunks/pciUtils.js +1 -1
  288. package/dist/chunks/popupUtils.js +1 -1
  289. package/dist/chunks/publicNotificationStore.js +1 -1
  290. package/dist/chunks/queryUtils.js +1 -1
  291. package/dist/chunks/runtime.js +1 -1
  292. package/dist/chunks/solution-store.js +1 -1
  293. package/dist/chunks/templates.js +1 -1
  294. package/dist/chunks/useT9n.js +1 -1
  295. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  296. package/dist/components/basemap-gallery/customElement.js +1 -1
  297. package/dist/components/buffer-tools/customElement.js +1 -1
  298. package/dist/components/card-manager/customElement.js +2 -2
  299. package/dist/components/consent-manager/customElement.js +1 -1
  300. package/dist/components/create-feature/customElement.js +1 -1
  301. package/dist/components/create-related-feature/customElement.js +1 -1
  302. package/dist/components/crowdsource-manager/customElement.js +6 -6
  303. package/dist/components/crowdsource-reporter/customElement.d.ts +12 -0
  304. package/dist/components/crowdsource-reporter/customElement.js +3 -3
  305. package/dist/components/deduct-calculator/customElement.js +1 -1
  306. package/dist/components/delete-button/customElement.js +1 -1
  307. package/dist/components/delete-dialog/customElement.js +1 -1
  308. package/dist/components/edit-card/customElement.js +1 -1
  309. package/dist/components/feature-details/customElement.js +1 -1
  310. package/dist/components/feature-list/customElement.js +1 -1
  311. package/dist/components/field-selection/customElement.js +1 -1
  312. package/dist/components/floor-filter/customElement.js +1 -1
  313. package/dist/components/info-card/customElement.d.ts +1 -1
  314. package/dist/components/info-card/customElement.js +2 -2
  315. package/dist/components/json-editor/customElement.js +1 -1
  316. package/dist/components/layer-list/customElement.js +1 -1
  317. package/dist/components/layer-table/customElement.js +1 -1
  318. package/dist/components/map-card/customElement.js +1 -1
  319. package/dist/components/map-draw-tools/customElement.js +1 -1
  320. package/dist/components/map-fullscreen/customElement.js +1 -1
  321. package/dist/components/map-layer-picker/customElement.js +1 -1
  322. package/dist/components/map-legend/customElement.js +1 -1
  323. package/dist/components/map-picker/customElement.js +1 -1
  324. package/dist/components/map-search/customElement.js +1 -1
  325. package/dist/components/map-select-tools/customElement.js +1 -1
  326. package/dist/components/map-tools/customElement.js +1 -1
  327. package/dist/components/pci-calculator/customElement.js +1 -1
  328. package/dist/components/pdf-download/customElement.js +1 -1
  329. package/dist/components/public-notification/customElement.js +1 -1
  330. package/dist/components/refine-selection/customElement.js +1 -1
  331. package/dist/components/selection-tool/customElement.js +1 -1
  332. package/dist/components/solution-article-card/customElement.js +1 -1
  333. package/dist/components/solution-configuration/customElement.js +1 -1
  334. package/dist/components/solution-configure-panel/customElement.js +1 -1
  335. package/dist/components/solution-configure-titles/customElement.js +1 -1
  336. package/dist/components/solution-contents/customElement.js +1 -1
  337. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  338. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  339. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  340. package/dist/components/solution-deployed-card/customElement.js +1 -1
  341. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  342. package/dist/components/solution-details-card/customElement.js +1 -1
  343. package/dist/components/solution-details-panel/customElement.js +1 -1
  344. package/dist/components/solution-item/customElement.js +1 -1
  345. package/dist/components/solution-item-accordion/customElement.js +1 -1
  346. package/dist/components/solution-item-details/customElement.js +1 -1
  347. package/dist/components/solution-item-icon/customElement.js +1 -1
  348. package/dist/components/solution-item-sharing/customElement.js +1 -1
  349. package/dist/components/solution-items-diagram/customElement.js +1 -1
  350. package/dist/components/solution-organization-variables/customElement.js +1 -1
  351. package/dist/components/solution-resource-item/customElement.js +1 -1
  352. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  353. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  354. package/dist/components/solution-template-data/customElement.js +1 -1
  355. package/dist/components/solution-variables/customElement.js +1 -1
  356. package/dist/components/solutions-all-panel/customElement.js +1 -1
  357. package/dist/components/solutions-all-shell/customElement.js +1 -1
  358. package/dist/components/solutions-article-panel/customElement.js +1 -1
  359. package/dist/components/solutions-articles/customElement.js +1 -1
  360. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  361. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  362. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  363. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  364. package/dist/components/spatial-ref/customElement.js +1 -1
  365. package/dist/components/store-manager/customElement.js +1 -1
  366. package/dist/docs/api.json +62 -4
  367. package/dist/docs/docs.json +47 -3
  368. package/dist/docs/vscode.html-custom-data.json +10 -0
  369. package/dist/docs/web-types.json +29 -3
  370. package/dist/index.js +1 -1
  371. package/dist/loader.js +2 -2
  372. package/dist/types/lumina.d.ts +1 -1
  373. package/dist/types/preact.d.ts +1 -1
  374. package/dist/types/react.d.ts +1 -1
  375. package/dist/types/stencil.d.ts +1 -1
  376. package/package.json +1 -1
  377. package/dist/cdn/E24CFSF6.js +0 -4
  378. package/dist/cdn/GFYWDQWM.js +0 -4
  379. package/dist/cdn/HMVKLXKH.js +0 -4
  380. package/dist/cdn/I4DHTV7R.js +0 -4
  381. package/dist/cdn/JCWMZ7NC.js +0 -4
  382. package/dist/cdn/JWTZEV6W.js +0 -4
  383. package/dist/cdn/LLEBDKSN.js +0 -18
  384. package/dist/cdn/MCX2WJIW.js +0 -4
  385. package/dist/cdn/Y7EKW72S.js +0 -4
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import{b as e,e as r}from"./C47XZYAG.js";import"./RE44UO66.js";import"./IUZA5X57.js";import"./65N7XAWB.js";import{d as t}from"./GKMXDGZF.js";import"./EOQESQYS.js";import"./TM4ZSPAB.js";import"./4EDDSKZS.js";import"./UD7F6DCG.js";import"./BLY5B6IS.js";import"./AAQIWO65.js";import"./D3FZEWBP.js";import"./HITN2DRN.js";import"./JUSJWXDQ.js";import"./6XZWFS7Y.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import{a as S}from"./DX3SET3L.js";import"./VFEXPJTW.js";import{a as v,c as u,d as c,e as m,f as C,g as x}from"./HVU2EO42.js";import"./CH65TEDK.js";import{b as $}from"./MB7QENIY.js";import{a as h,b as o}from"./KV7CP4TD.js";import{b as F}from"./3YNQSVNT.js";import{a as I}from"./SOLDJVDR.js";import{D as b,E as p,I as L,c as g,d as l,g as d,o as w,q as y}from"./Q5UREG2V.js";import"./6XZWFS7Y.js";var V=g`@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}}`,_=class extends b{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.reportOutsideAreaMessage="",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.reportingAreaLayer="",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=I({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=h(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=h(),this._featureList=h(),this._selectedRelatedFeature=[],this._filterList=h(),this._layerList=h(),this._createRelatedFeature=h(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=h(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlert=h(),this.togglePanel=w(),S(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,reportOutsideAreaMessage: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,reportingAreaLayer: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=V}static{this.shadowRootOptions=y}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList.value?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await 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(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList.value!=null)await this._filterList.value.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return 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._reportSubmittedAlert)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${p(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>${this.commentSubmittedMessage||this._translations.commentSubmittedMsg}</div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${p(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.reportSubmittedMessage&&this._reportSubmittedAlert.value?.children[0]&&(this._reportSubmittedAlert.value.children[0].style.margin="0px")}async _initModules(){let[e,t,i,s]=await F(["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.value?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList.value?.filterCount>0)}} reset-btn .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i}_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><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} .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} .reportOutsideAreaMessage=${this.reportOutsideAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await m(this.mapView),s=[];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._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(e){await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){this._showLoadingIndicator=!0,await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await C(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??d}></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??d}></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} @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.value?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return 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} @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 id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return 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}></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 u(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(){await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",this.onMapClick.bind(this))}async onMapClick(e){if(this.mapView){this.mapView.popupEnabled=!1;let t=await this.mapView.hitTest(e);t.results.length>0?await this._handleHitTestResults(t.results):this._mapImageryLayersId.length>0&&await this._handleIdentify(e.mapPoint)}}async _handleHitTestResults(e){let t=[];e.forEach(function(a){a.type==="graphic"&&t.push(a.graphic)});let i=t.filter(a=>{if(a.layer?.type==="feature"){let r=a.layer;return this._validLayers.includes(r)}else return!1}),s=t.filter(a=>{if(a.layer?.type==="feature"){let r=a.layer;return!this._validLayers.includes(r)&&r?.popupEnabled&&r?.id}else return!1});if(i.length>0&&(await this.setSelectedFeatures(i),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),s.length>0&&this.mapView){this.mapView.popupEnabled=!0;let a={features:s,updateLocationEnabled:!0};await this.mapView.openPopup(a)}}async _handleIdentify(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i=this._mapImageryLayersId.map(async r=>{let n=this.mapView&&await c(this.mapView,r);if(n?.url&&t)return await this.identify?.identify(n.url,t)}),s=await Promise.all(i),a=[];s.forEach(r=>{r.results.forEach(n=>{let E=Object.keys(n.feature.attributes).map(f=>({fieldName:f,label:f}));n.feature.popupTemplate={title:n.layerName,content:[{type:"fields",fieldInfos:E}]},a.push(n.feature)})}),a.length>0&&this.mapView&&(this.mapView.popupEnabled=!0,await this.mapView.openPopup({features:a,location:e}))}_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 u(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 v(this.mapView,!0),t=this.mapView&&await m(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.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 $([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])}}resetFilterList(){this._filterList.value?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression: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 r=s.expressions?.find(n=>n.id===a.id);r!=null&&(a.name=r.name)}))})}};L("crowdsource-reporter",_);export{_ as CrowdsourceReporter};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import{a,b}from"./WF52YQCF.js";import"./MJEB763W.js";import"./SXHBKU6W.js";import"./75AICF3J.js";import"./ZSYHLMKN.js";import"./6XZWFS7Y.js";export{a as EventEditorTypes,b as buildSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import{a,b}from"./RAYJRNTN.js";import"./6CWLNSWC.js";import"./L7R6K4A2.js";import"./X4HL3D2I.js";import"./YWGNQDQM.js";import"./ZSYHLMKN.js";import"./6XZWFS7Y.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};