@esri/solutions-components 1.0.0-next.20250501.2 → 1.0.0-next.20250506.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 (707) hide show
  1. package/dist/cdn/{NSCO46UB.js → 24HG25VK.js} +3 -3
  2. package/dist/cdn/{JD7Q6C2C.js → 25FSOTFW.js} +2 -2
  3. package/dist/cdn/{ITVDBPSA.js → 277TP75D.js} +2 -2
  4. package/dist/cdn/{VS4BFKH5.js → 2CTI34Z6.js} +3 -3
  5. package/dist/cdn/{R6JBLWE7.js → 2OUKMEGJ.js} +2 -2
  6. package/dist/cdn/{RCNFZSA5.js → 2OXZPI6J.js} +2 -2
  7. package/dist/cdn/{UWLZA6RY.js → 2VGSUSSJ.js} +2 -2
  8. package/dist/cdn/32ADEBH7.js +4 -0
  9. package/dist/cdn/{LNPKEFYF.js → 343QIIN4.js} +2 -2
  10. package/dist/cdn/{YZMHYMNZ.js → 3SIDE2MZ.js} +2 -2
  11. package/dist/cdn/{3L5P4SFV.js → 3V6CMPYL.js} +2 -2
  12. package/dist/cdn/{C75GZINQ.js → 3ZAC7KPY.js} +3 -3
  13. package/dist/cdn/{5YGFEQJH.js → 44EW25X7.js} +2 -2
  14. package/dist/cdn/{34WBNSBV.js → 47RKZZYU.js} +2 -2
  15. package/dist/cdn/{XWVXILJ6.js → 4C3ALUA4.js} +2 -2
  16. package/dist/cdn/{XRSL7RGR.js → 4DVIE54A.js} +2 -2
  17. package/dist/cdn/{JRNC7PCQ.js → 4FO53H2N.js} +2 -2
  18. package/dist/cdn/{NOAVPB5F.js → 4KMKJ4MQ.js} +2 -2
  19. package/dist/cdn/{CVYUV5YV.js → 4NGMIXLU.js} +2 -2
  20. package/dist/cdn/{PIBX77IR.js → 4NO5UFRF.js} +1 -1
  21. package/dist/cdn/{FJ6RRUAZ.js → 4OVM4MIC.js} +2 -2
  22. package/dist/cdn/4PTXN5WN.js +25 -0
  23. package/dist/cdn/{4BUCDYBI.js → 4QTVQTWW.js} +2 -2
  24. package/dist/cdn/{3FL6VQP4.js → 4S2LGGIS.js} +2 -2
  25. package/dist/cdn/{HRY2AWQR.js → 4TK6UC7L.js} +2 -2
  26. package/dist/cdn/{IRKP2OK7.js → 4TNRV5HQ.js} +2 -2
  27. package/dist/cdn/{JYHXLAK7.js → 5IPD66RZ.js} +1 -1
  28. package/dist/cdn/{YPMMBOZ4.js → 5KMYTALG.js} +2 -2
  29. package/dist/cdn/{YH55Y5MP.js → 5MZCRWR6.js} +2 -2
  30. package/dist/cdn/{NDRFJNB5.js → 5RPZREL2.js} +2 -2
  31. package/dist/cdn/{RGNEZPQ6.js → 5S4HGJEN.js} +2 -2
  32. package/dist/cdn/{GGA2BKBI.js → 5VVYQUIK.js} +2 -2
  33. package/dist/cdn/{IMLKKE2U.js → 5XCBVPEJ.js} +1 -1
  34. package/dist/cdn/{UTX33TLK.js → 6ADX5YCX.js} +2 -2
  35. package/dist/cdn/6IOBEPUO.js +4 -0
  36. package/dist/cdn/{OJMZUZGG.js → 6MB7FU4Y.js} +2 -2
  37. package/dist/cdn/{D2T5W4MH.js → 6MOBEALK.js} +2 -2
  38. package/dist/cdn/{SERFTFK4.js → 6YK2RFGE.js} +2 -2
  39. package/dist/cdn/77FG2UXK.js +4 -0
  40. package/dist/cdn/{NGQYRRMX.js → 7ACSM2YB.js} +2 -2
  41. package/dist/cdn/{R4M6CYMY.js → 7K2EWZ4V.js} +1 -1
  42. package/dist/cdn/{RYMHJ7M6.js → 7KYKOF2I.js} +2 -2
  43. package/dist/cdn/{NHOULH2W.js → 7O4PDXW4.js} +2 -2
  44. package/dist/cdn/{GYTWI2N3.js → 7UJOIQQR.js} +2 -2
  45. package/dist/cdn/{FSFU2N3B.js → 7ZUTU5RY.js} +2 -2
  46. package/dist/cdn/A26DEWRW.js +4 -0
  47. package/dist/cdn/A2AGIHZY.js +18 -0
  48. package/dist/cdn/A5UYRD2U.js +4 -0
  49. package/dist/cdn/{RFBZVECY.js → AGGRBVNS.js} +2 -2
  50. package/dist/cdn/{XA4WRYB3.js → AIWA7X7G.js} +2 -2
  51. package/dist/cdn/{AVVACE2H.js → AKMNIUXT.js} +6 -6
  52. package/dist/cdn/{D7MB5F4I.js → ALKYMGVV.js} +1 -1
  53. package/dist/cdn/{5K2X6CBZ.js → ASGQIVIB.js} +2 -2
  54. package/dist/cdn/{ALZYWZZK.js → AY657GGH.js} +2 -2
  55. package/dist/cdn/{5KCRA4JF.js → B66A7LZQ.js} +2 -2
  56. package/dist/cdn/{KPPOT7GR.js → BB4CBTJK.js} +2 -2
  57. package/dist/cdn/{3I7ZK5FK.js → BXNFXKXV.js} +2 -2
  58. package/dist/cdn/{MQKFPPUQ.js → C2RLNEU4.js} +2 -2
  59. package/dist/cdn/{33DZLRWA.js → C6XZBUE2.js} +3 -3
  60. package/dist/cdn/{YHUDJET2.js → C7EQDZ4M.js} +2 -2
  61. package/dist/cdn/{PE2NGOSN.js → CADJZG3Z.js} +2 -2
  62. package/dist/cdn/{CPHOXIAS.js → CAGLPIPF.js} +2 -2
  63. package/dist/cdn/{M6OKQSGJ.js → CPBVNIA2.js} +2 -2
  64. package/dist/cdn/{IIFJMCMO.js → CQTEVIDR.js} +2 -2
  65. package/dist/cdn/{2LRVE3JC.js.LEGAL.txt → D473H7YD.js} +1 -1
  66. package/dist/cdn/{GV6574C7.js → D4XAHC4N.js} +2 -2
  67. package/dist/cdn/{OQMSIWHM.js → DBN6GJS6.js} +2 -2
  68. package/dist/cdn/{WXBPYKCV.js → DC3N7IST.js} +1 -1
  69. package/dist/cdn/{7NQT5MYQ.js → DCZKZQPQ.js} +2 -2
  70. package/dist/cdn/{SHSCJK7K.js → DFZH4JDP.js} +2 -2
  71. package/dist/cdn/{Q4QJIANV.js → DIGEXEVD.js} +2 -2
  72. package/dist/cdn/{7CC4UOSP.js → DMTCZQGB.js} +1 -1
  73. package/dist/cdn/DOADYGDB.js +4 -0
  74. package/dist/cdn/{EDYWDMUF.js → DOTDQSSL.js} +2 -2
  75. package/dist/cdn/{QAV3ZXVX.js → DPNSCBBO.js} +1 -1
  76. package/dist/cdn/{NQTVJEQJ.js → DW6QFLMC.js} +2 -2
  77. package/dist/cdn/{DNQVWK3Q.js → DXQ3LDCB.js} +2 -2
  78. package/dist/cdn/{TXARZDSW.js → E4P22JZK.js} +1 -1
  79. package/dist/cdn/{E6BIPFS4.js → E7BM2VNY.js} +2 -2
  80. package/dist/cdn/{SALTFRJ5.js → EELLYXNN.js} +1 -1
  81. package/dist/cdn/{UBKKMKS7.js → EIQNRR4P.js} +2 -2
  82. package/dist/cdn/{LAEMDHMW.js → EJZKFB4Z.js} +2 -2
  83. package/dist/cdn/{2DEOX2UQ.js → EOYZ5MEY.js} +2 -2
  84. package/dist/cdn/{62C7U5GV.js → EYFKB5UR.js} +1 -1
  85. package/dist/cdn/{A7LA5V6P.js → EYVTUHVJ.js} +2 -2
  86. package/dist/cdn/{W7PI4HOW.js → F2NPMFYG.js} +2 -2
  87. package/dist/cdn/{T7EH5UZA.js → F777BKYK.js} +2 -2
  88. package/dist/cdn/{JJ5LIG3E.js → FAZOBB62.js} +2 -2
  89. package/dist/cdn/{QI7CAGDL.js → FM3TGG3U.js} +1 -1
  90. package/dist/cdn/{OZZ6AIHM.js → FO33AVRG.js} +2 -2
  91. package/dist/cdn/{IV5VX3CU.js → FWL2VP7W.js} +2 -2
  92. package/dist/cdn/{LGYRQXSU.js → FXQSFX4Q.js} +2 -2
  93. package/dist/cdn/{3XPDS33A.js → GAQOXRME.js} +1 -1
  94. package/dist/cdn/{PLPFPFMS.js → GG4OVZHW.js} +2 -2
  95. package/dist/cdn/{TN4SBIJW.js → GQO2KP3I.js} +1 -1
  96. package/dist/cdn/GVRBVSQP.js +4 -0
  97. package/dist/cdn/{NMJB2BJ2.js → GVS6OC6I.js} +2 -2
  98. package/dist/cdn/{5NCAUJ2M.js → H3GY7WZY.js} +2 -2
  99. package/dist/cdn/{6WN23BQU.js → H43GRPO5.js} +2 -2
  100. package/dist/cdn/HHY7QSTW.js +4 -0
  101. package/dist/cdn/{WVFYDL3N.js → HK7ORFOY.js} +2 -2
  102. package/dist/cdn/{LQVQ5SYL.js → HP45S4UO.js} +2 -2
  103. package/dist/cdn/{NA5LJZU7.js → HPADRK2N.js} +2 -2
  104. package/dist/cdn/{C7FMD3GO.js → HPLREYIV.js} +2 -2
  105. package/dist/cdn/{2WYQDE5Z.js → HPSATKU6.js} +2 -2
  106. package/dist/cdn/{OPC6J6MC.js → HQLVVCY5.js} +2 -2
  107. package/dist/cdn/{LQYOJKKM.js → HSIGQHGC.js} +2 -2
  108. package/dist/cdn/{TA7QL4YX.js → HUP3OLOI.js} +2 -2
  109. package/dist/cdn/{35NYD4WF.js → HVFFPMUB.js} +2 -2
  110. package/dist/cdn/IC5TQPF6.js +4 -0
  111. package/dist/cdn/{NMC4BPV4.js → IDFBPJOG.js} +2 -2
  112. package/dist/cdn/IFPYXLV5.js +4 -0
  113. package/dist/cdn/{ZXEH2RP3.js → INJHMY2P.js} +2 -2
  114. package/dist/cdn/{ISCLBHEK.js → IOG3GJFK.js} +2 -2
  115. package/dist/cdn/{Q46U6YLX.js → ISRQ3BAT.js} +2 -2
  116. package/dist/cdn/{DOQ3OAB6.js → ITICLHXB.js} +2 -2
  117. package/dist/cdn/J22XBVJX.js +4 -0
  118. package/dist/cdn/{WHIJZGSO.js → J3KEXR6N.js} +2 -2
  119. package/dist/cdn/{WPW7HPVB.js → JAH6KVAQ.js} +2 -2
  120. package/dist/cdn/JALWXGJR.js +4 -0
  121. package/dist/cdn/{MLWHYPW3.js → JDFGWL2P.js} +2 -2
  122. package/dist/cdn/{2627OC35.js → JF22WXGR.js} +2 -2
  123. package/dist/cdn/{FR5AUKJH.js → JIG5WCW6.js} +2 -2
  124. package/dist/cdn/{Q7CCSRAE.js → JMLPIAZ5.js} +2 -2
  125. package/dist/cdn/JOKITFSD.js +4 -0
  126. package/dist/cdn/{EFG5WHVI.js → JPVITM3R.js} +2 -2
  127. package/dist/cdn/{QPZ5DWIV.js → JSL7F3AB.js} +1 -1
  128. package/dist/cdn/{PKQMLT3F.js → K36J5DBT.js} +2 -2
  129. package/dist/cdn/{7PXLNWUW.js → K6YZHC7R.js} +2 -2
  130. package/dist/cdn/{LA4ADRHN.js → KA75RHIE.js} +2 -2
  131. package/dist/cdn/{ALIYBPUW.js → KIJ2HVBA.js} +2 -2
  132. package/dist/cdn/{63OERAOC.js → KKHP5J6S.js} +2 -2
  133. package/dist/cdn/KOTWOAEH.js +18 -0
  134. package/dist/cdn/{BVDPSX3N.js → KR424OVE.js} +2 -2
  135. package/dist/cdn/{X7OXK5DE.js → KTYRFLWJ.js} +1 -1
  136. package/dist/cdn/{UX2H3Z6R.js → KUXTUEIU.js} +2 -2
  137. package/dist/cdn/{BBIZPRBD.js → KYFGGGZO.js} +2 -2
  138. package/dist/cdn/{5BRHUPJQ.js → LA3TMPSQ.js} +4 -4
  139. package/dist/cdn/{JI5JTAYE.js → LEUJGAQT.js} +2 -2
  140. package/dist/cdn/{RCBI5D2Z.js → LITGQOKY.js} +2 -2
  141. package/dist/cdn/{7PCDZNHO.js → LOAR7D23.js} +2 -2
  142. package/dist/cdn/{UTQQDI5Q.js → LPQXKCT4.js} +2 -2
  143. package/dist/cdn/{GFN5IPB5.js → LT2L2HN5.js} +2 -2
  144. package/dist/cdn/{NWNCFKQJ.js → MAJHV5YB.js} +2 -2
  145. package/dist/cdn/{JS3KPL65.js → MBBEW2XH.js} +2 -2
  146. package/dist/cdn/{5A5OYCRM.js → MBYSAPXD.js} +2 -2
  147. package/dist/cdn/{NAWXGWKC.js → MG5AEQHW.js} +3 -3
  148. package/dist/cdn/MINRT2AD.js +4 -0
  149. package/dist/cdn/MJWRLAA3.js +4 -0
  150. package/dist/cdn/{KOHHJ3Q4.js → MYNX7A4Q.js} +3 -3
  151. package/dist/cdn/{PMLO3UBD.js → MYSMFQDL.js} +2 -2
  152. package/dist/cdn/{KHUKO76X.js → MZNCDKNL.js} +2 -2
  153. package/dist/cdn/{2XJGOOBG.js → NEVOR7UF.js} +1 -1
  154. package/dist/cdn/NPMFAEBD.js +4 -0
  155. package/dist/cdn/{RU7VN5YX.js → NRDWJNF4.js} +2 -2
  156. package/dist/cdn/{LDSB3ZAB.js → NS5VBZHP.js} +2 -2
  157. package/dist/cdn/NU2OXFST.js +4 -0
  158. package/dist/cdn/{IERS74VR.js → NVZHVYYH.js} +2 -2
  159. package/dist/cdn/{EH3TUCW5.js → NWE65CEC.js} +1 -1
  160. package/dist/cdn/NWJLUJRF.js +4 -0
  161. package/dist/cdn/{XDTQLWOL.js → NXK4MWLX.js} +2 -2
  162. package/dist/cdn/{WZV2UPIA.js → O3VJRNON.js} +3 -3
  163. package/dist/cdn/{LOCRYUB5.js → O55NB5I2.js} +2 -2
  164. package/dist/cdn/{QNEZFCY7.js → OATNKA2V.js} +2 -2
  165. package/dist/cdn/{EJ44YJGV.js → OLDFMVM6.js} +3 -3
  166. package/dist/cdn/{ZKUTSUQ5.js → OWMSCTHB.js} +2 -2
  167. package/dist/cdn/PFUQXONQ.js +8 -0
  168. package/dist/cdn/{RYWPGCGZ.js → PJMGGONS.js} +2 -2
  169. package/dist/cdn/{MMGJL263.js → PPFTCKIR.js} +2 -2
  170. package/dist/cdn/{3UJWEKFN.js → Q2IPYTRX.js} +2 -2
  171. package/dist/cdn/{M4NMK35G.js → Q2S2L2IR.js} +2 -2
  172. package/dist/cdn/QB6WECAO.js +4 -0
  173. package/dist/cdn/{HEEO2XNR.js → QCUKGKOV.js} +2 -2
  174. package/dist/cdn/{LTVV5X4C.js → QMDKVVH5.js} +2 -2
  175. package/dist/cdn/{Q4YN3UWN.js → QSYR7Q6X.js} +1 -1
  176. package/dist/cdn/{GDO2NL6R.js → R3MJUZCZ.js} +2 -2
  177. package/dist/cdn/{NAJHCCFK.js → REUOEGNX.js} +2 -2
  178. package/dist/cdn/{QAOKFIMA.js → RF2VI4N7.js} +2 -2
  179. package/dist/cdn/{HYKX4C5U.js → RGFAZJP6.js} +2 -2
  180. package/dist/cdn/{PYOZY3AA.js → RIHR2PJN.js} +2 -2
  181. package/dist/cdn/{VZMHIBV5.js → RIYF7P2C.js} +2 -2
  182. package/dist/cdn/RLWSZ4HQ.js +4 -0
  183. package/dist/cdn/{OSJ4PK7V.js → ROIVGYSM.js} +1 -1
  184. package/dist/cdn/{WYNYF36Y.js → RUTSW7HN.js} +1 -1
  185. package/dist/cdn/{QSK26NIR.js → S622E22B.js} +2 -2
  186. package/dist/cdn/{GMXHYAWW.js → SKNW5VCU.js} +2 -2
  187. package/dist/cdn/{HVXOFD44.js → SPON62E4.js} +2 -2
  188. package/dist/cdn/{SFN7KXBC.js → SQOEM3P5.js} +1 -1
  189. package/dist/cdn/SQRWE2MV.js +18 -0
  190. package/dist/cdn/{OO5QJAUV.js → STOKDNCN.js} +2 -2
  191. package/dist/cdn/{E575ADYG.js → SXRISHGN.js} +1 -1
  192. package/dist/cdn/SYZ2PD7V.js +18 -0
  193. package/dist/cdn/{XAP7KYLB.js → T4FPQT6Q.js} +1 -1
  194. package/dist/cdn/{YLWTVGEO.js → T6ACGRID.js} +2 -2
  195. package/dist/cdn/{BB7AEZC2.js → TKKZCD3D.js} +2 -2
  196. package/dist/cdn/{5OIPGQLN.js → TSVIA6LX.js} +2 -2
  197. package/dist/cdn/{O4U462PQ.js → TT45ZE3U.js} +2 -2
  198. package/dist/cdn/{QGQW73YS.js → TTIEVPAX.js} +2 -2
  199. package/dist/cdn/{JHQ47NZN.js → U4NSDOD5.js} +2 -2
  200. package/dist/cdn/{SHWFC6TE.js → UBBP433D.js} +1 -1
  201. package/dist/cdn/{2LRVE3JC.js → UBDWCH3J.js} +2 -2
  202. package/dist/cdn/{43UDVNH5.js → UBFXRGUL.js} +2 -2
  203. package/dist/cdn/{6LPZ6BWV.js → USL3KX2U.js} +2 -2
  204. package/dist/cdn/{3OSOBTXI.js → UYJS44LC.js} +2 -2
  205. package/dist/cdn/{ZIIYJYM3.js → V5XUAHEB.js} +1 -1
  206. package/dist/cdn/{3ZL6JNEH.js → V6J4NOFW.js} +2 -2
  207. package/dist/cdn/{6EQSCBDC.js → VERJI2SH.js} +2 -2
  208. package/dist/cdn/{KRMQR6PO.js → VHM7TR5J.js} +2 -2
  209. package/dist/cdn/{2LLKAVTV.js → VNWXPGNO.js} +2 -2
  210. package/dist/cdn/{ZJR4525B.js → VNZX57M6.js} +1 -1
  211. package/dist/cdn/VQQVMG7C.js +4 -0
  212. package/dist/cdn/{QSI6TV26.js → VSVG3AWA.js} +4 -4
  213. package/dist/cdn/{ETJDGNYP.js → VT6U64GN.js} +2 -2
  214. package/dist/cdn/VWSETFC3.js +18 -0
  215. package/dist/cdn/{JHQRE76I.js → VX7KAJNW.js} +2 -2
  216. package/dist/cdn/{VIFOVT2H.js → VXKC4BYB.js} +2 -2
  217. package/dist/cdn/{DKCZUP4C.js → VXNDYVZW.js} +2 -2
  218. package/dist/cdn/{KPKZMEKZ.js → VZ37PJTM.js} +2 -2
  219. package/dist/cdn/{URSDOYPK.js → VZG427AU.js} +2 -2
  220. package/dist/cdn/{DKOI4TMS.js → W3ANKXXH.js} +1 -1
  221. package/dist/cdn/{VTDPGZFT.js → W3XCI5GU.js} +2 -2
  222. package/dist/cdn/{WK4XUJYY.js → WCO2JYT7.js} +1 -1
  223. package/dist/cdn/{YOLXA6ZY.js → WD3NSCN4.js} +1 -1
  224. package/dist/cdn/{OGTPASHM.js → WFHI2T5X.js} +2 -2
  225. package/dist/cdn/{ZSBOSR2Q.js → WFZ4KL2P.js} +2 -2
  226. package/dist/cdn/{4PKH3ZTA.js → WG26EIDL.js} +2 -2
  227. package/dist/cdn/{7W774KKR.js → WKWF4ARW.js} +2 -2
  228. package/dist/cdn/{Y5QLVYUJ.js → WNHOXW2E.js} +2 -2
  229. package/dist/cdn/{M4YVWMXK.js → WNPZHTCP.js} +2 -2
  230. package/dist/cdn/{HSYJOXKH.js → WOWOQ2TS.js} +2 -2
  231. package/dist/cdn/{DRYWVFXX.js → WSNDSKW3.js} +2 -2
  232. package/dist/cdn/WVAVHWQN.js +18 -0
  233. package/dist/cdn/{YBHXQHED.js → WWH37ZAK.js} +1 -1
  234. package/dist/cdn/{4O2I2MFG.js → WXNVFGFS.js} +2 -2
  235. package/dist/cdn/{54TTZEMV.js → WY7PHM6L.js} +2 -2
  236. package/dist/cdn/{UZVXLXYQ.js → WZGXEUMM.js} +2 -2
  237. package/dist/cdn/{YQDNVPGZ.js → X3AF2OQY.js} +1 -1
  238. package/dist/cdn/{SDVEOIP6.js → X3VDJVLL.js} +2 -2
  239. package/dist/cdn/{RPBZ5L5A.js → XARWIX77.js} +2 -2
  240. package/dist/cdn/{RWVKAK4K.js → XF7VPD22.js} +2 -2
  241. package/dist/cdn/XRBMRHXH.js +18 -0
  242. package/dist/cdn/{B6D4QBVH.js → XYSFY3W6.js} +2 -2
  243. package/dist/cdn/{5F5ZEU66.js → XYWQ6JNM.js} +2 -2
  244. package/dist/cdn/{HQVT5GIH.js → Y4BDPKKL.js} +2 -2
  245. package/dist/cdn/{3GN3HS2Z.js → Y7WVUKZX.js} +2 -2
  246. package/dist/cdn/{3DYBNNJG.js → YCXOPVSF.js} +2 -2
  247. package/dist/cdn/{FVCUT5BD.js → YDW3WSTZ.js} +2 -2
  248. package/dist/cdn/{667HEELR.js → YEWPTOSA.js} +2 -2
  249. package/dist/cdn/{XBJF7MJ6.js → YHN2YRS5.js} +2 -2
  250. package/dist/cdn/{EQRWAUHH.js → YIDDZHZJ.js} +2 -2
  251. package/dist/cdn/{WSDRBWDO.js → YKDQJMLK.js} +2 -2
  252. package/dist/cdn/{XPPFPOAJ.js → YO66L5EQ.js} +2 -2
  253. package/dist/cdn/{74DCBZXT.js → YVK6HDUD.js} +2 -2
  254. package/dist/cdn/YWJHRAU6.js +9 -0
  255. package/dist/cdn/YXGKJSHK.js +6 -0
  256. package/dist/cdn/{KAHTIZBX.js → YYNMVPOT.js} +2 -2
  257. package/dist/cdn/{YFDRQUEW.js → Z2FRREMF.js} +1 -1
  258. package/dist/cdn/{MDMPQSN3.js → Z5KPLWAQ.js} +2 -2
  259. package/dist/cdn/{5FKQTJXQ.js → Z624TXCK.js} +2 -2
  260. package/dist/cdn/{4UUPLRGU.js → ZEFQFCIT.js} +1 -1
  261. package/dist/cdn/{LSUEYFIK.js → ZQ5UT5TX.js} +2 -2
  262. package/dist/cdn/ZRGZWYVN.js +18 -0
  263. package/dist/cdn/{QJI4YPT2.js → ZV26VFK3.js} +2 -2
  264. package/dist/cdn/{TS77EOZ2.js → ZXAYQBSO.js} +2 -2
  265. package/dist/cdn/ZY26SHW7.js +4 -0
  266. package/dist/cdn/{PFPXYDRH.js → ZZRTACNG.js} +2 -2
  267. package/dist/cdn/index.esm.js +2 -2
  268. package/dist/chunks/common.js +1 -1
  269. package/dist/chunks/downloadUtils.js +1 -1
  270. package/dist/chunks/index.js +405 -313
  271. package/dist/chunks/interfaces.js +1 -1
  272. package/dist/chunks/loadModules.js +1 -1
  273. package/dist/chunks/mapViewUtils.js +1 -1
  274. package/dist/chunks/pciUtils.js +1 -1
  275. package/dist/chunks/popupUtils.js +1 -1
  276. package/dist/chunks/publicNotificationStore.js +1 -1
  277. package/dist/chunks/queryUtils.js +1 -1
  278. package/dist/chunks/runtime.js +1 -1
  279. package/dist/chunks/solution-store.js +1 -1
  280. package/dist/chunks/templates.js +1 -1
  281. package/dist/chunks/useT9n.js +1 -1
  282. package/dist/components/arcgis-solution-assistant/customElement.d.ts +1 -0
  283. package/dist/components/arcgis-solution-assistant/customElement.js +1 -5
  284. package/dist/components/basemap-gallery/customElement.js +1 -25
  285. package/dist/components/buffer-tools/customElement.d.ts +36 -7
  286. package/dist/components/buffer-tools/customElement.js +1 -91
  287. package/dist/components/card-manager/customElement.d.ts +36 -8
  288. package/dist/components/card-manager/customElement.js +1 -41
  289. package/dist/components/consent-manager/customElement.d.ts +21 -4
  290. package/dist/components/consent-manager/customElement.js +1392 -1458
  291. package/dist/components/create-feature/customElement.d.ts +37 -7
  292. package/dist/components/create-feature/customElement.js +2 -106
  293. package/dist/components/create-related-feature/customElement.d.ts +12 -2
  294. package/dist/components/create-related-feature/customElement.js +1 -65
  295. package/dist/components/crowdsource-manager/customElement.d.ts +148 -28
  296. package/dist/components/crowdsource-manager/customElement.js +5 -213
  297. package/dist/components/crowdsource-reporter/customElement.d.ts +160 -32
  298. package/dist/components/crowdsource-reporter/customElement.js +1 -432
  299. package/dist/components/deduct-calculator/customElement.js +1 -46
  300. package/dist/components/delete-button/customElement.d.ts +16 -4
  301. package/dist/components/delete-button/customElement.js +1 -39
  302. package/dist/components/delete-dialog/customElement.d.ts +6 -2
  303. package/dist/components/delete-dialog/customElement.js +2 -17
  304. package/dist/components/edit-card/customElement.d.ts +20 -4
  305. package/dist/components/edit-card/customElement.js +1 -34
  306. package/dist/components/feature-details/customElement.d.ts +15 -3
  307. package/dist/components/feature-details/customElement.js +1 -82
  308. package/dist/components/feature-list/customElement.d.ts +65 -13
  309. package/dist/components/feature-list/customElement.js +2 -154
  310. package/dist/components/field-selection/customElement.js +1 -58
  311. package/dist/components/floor-filter/customElement.d.ts +5 -1
  312. package/dist/components/floor-filter/customElement.js +1 -35
  313. package/dist/components/info-card/customElement.d.ts +45 -9
  314. package/dist/components/info-card/customElement.js +2 -92
  315. package/dist/components/json-editor/customElement.d.ts +11 -1
  316. package/dist/components/json-editor/customElement.js +1 -137
  317. package/dist/components/layer-list/customElement.d.ts +20 -4
  318. package/dist/components/layer-list/customElement.js +1 -80
  319. package/dist/components/layer-table/customElement.d.ts +74 -16
  320. package/dist/components/layer-table/customElement.js +2 -345
  321. package/dist/components/map-card/customElement.d.ts +98 -18
  322. package/dist/components/map-card/customElement.js +1 -131
  323. package/dist/components/map-draw-tools/customElement.d.ts +22 -4
  324. package/dist/components/map-draw-tools/customElement.js +1 -94
  325. package/dist/components/map-fullscreen/customElement.js +1 -37
  326. package/dist/components/map-layer-picker/customElement.d.ts +52 -10
  327. package/dist/components/map-layer-picker/customElement.js +1 -115
  328. package/dist/components/map-legend/customElement.js +1 -25
  329. package/dist/components/map-picker/customElement.d.ts +5 -1
  330. package/dist/components/map-picker/customElement.js +1 -53
  331. package/dist/components/map-search/customElement.d.ts +12 -2
  332. package/dist/components/map-search/customElement.js +2 -44
  333. package/dist/components/map-select-tools/customElement.d.ts +47 -9
  334. package/dist/components/map-select-tools/customElement.js +2 -198
  335. package/dist/components/map-tools/customElement.d.ts +51 -9
  336. package/dist/components/map-tools/customElement.js +1 -66
  337. package/dist/components/pci-calculator/customElement.js +1 -58
  338. package/dist/components/pdf-download/customElement.d.ts +5 -1
  339. package/dist/components/pdf-download/customElement.js +1 -55
  340. package/dist/components/public-notification/customElement.d.ts +69 -13
  341. package/dist/components/public-notification/customElement.js +5 -350
  342. package/dist/components/refine-selection/customElement.js +1 -97
  343. package/dist/components/solution-arcticle-card/customElement.js +1 -37
  344. package/dist/components/solution-card/customElement.js +1 -37
  345. package/dist/components/solution-configuration/customElement.d.ts +11 -2
  346. package/dist/components/solution-configuration/customElement.js +1 -114
  347. package/dist/components/solution-contents/customElement.d.ts +9 -3
  348. package/dist/components/solution-contents/customElement.js +1 -13
  349. package/dist/components/solution-delete-dialog/customElement.js +1 -37
  350. package/dist/components/solution-deploy-dialog/customElement.js +1 -37
  351. package/dist/components/solution-deploy-panel/customElement.js +1 -37
  352. package/dist/components/solution-deployed-card/customElement.js +1 -37
  353. package/dist/components/solution-deployed-panel/customElement.js +1 -37
  354. package/dist/components/solution-deploying-panel/customElement.js +1 -37
  355. package/dist/components/solution-item/customElement.d.ts +15 -3
  356. package/dist/components/solution-item/customElement.js +1 -41
  357. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  358. package/dist/components/solution-item-accordion/customElement.js +1 -92
  359. package/dist/components/solution-item-details/customElement.d.ts +5 -1
  360. package/dist/components/solution-item-details/customElement.js +1 -48
  361. package/dist/components/solution-item-icon/customElement.d.ts +14 -4
  362. package/dist/components/solution-item-icon/customElement.js +6 -56
  363. package/dist/components/solution-item-sharing/customElement.d.ts +5 -1
  364. package/dist/components/solution-item-sharing/customElement.js +1 -39
  365. package/dist/components/solution-organization-variables/customElement.d.ts +5 -1
  366. package/dist/components/solution-organization-variables/customElement.js +1 -31
  367. package/dist/components/solution-resource-item/customElement.d.ts +2 -0
  368. package/dist/components/solution-resource-item/customElement.js +1 -87
  369. package/dist/components/solution-spatial-ref/customElement.d.ts +10 -2
  370. package/dist/components/solution-spatial-ref/customElement.js +1 -64
  371. package/dist/components/solution-template-data/customElement.d.ts +15 -7
  372. package/dist/components/solution-template-data/customElement.js +1 -29
  373. package/dist/components/solution-variables/customElement.d.ts +5 -1
  374. package/dist/components/solution-variables/customElement.js +1 -34
  375. package/dist/components/solutions-article-panel/customElement.js +1 -37
  376. package/dist/components/solutions-articles/customElement.js +1 -37
  377. package/dist/components/solutions-articles-shell/customElement.js +1 -37
  378. package/dist/components/solutions-deployed-panel/customElement.js +1 -37
  379. package/dist/components/solutions-deployed-shell/customElement.js +1 -37
  380. package/dist/components/solutions-filter/customElement.js +1 -37
  381. package/dist/components/solutions-panel/customElement.js +1 -38
  382. package/dist/components/solutions-shell/customElement.js +1 -37
  383. package/dist/components/spatial-ref/customElement.d.ts +10 -2
  384. package/dist/components/spatial-ref/customElement.js +1 -75
  385. package/dist/components/store-manager/customElement.d.ts +5 -1
  386. package/dist/components/store-manager/customElement.js +1 -26
  387. package/dist/docs/api.json +8 -8
  388. package/dist/docs/docs.json +20 -20
  389. package/dist/docs/web-types.json +8 -8
  390. package/dist/index.js +1 -1
  391. package/dist/loader.js +1 -1
  392. package/dist/utils/mapViewUtils.d.ts +3 -3
  393. package/dist/utils/queryUtils.d.ts +4 -4
  394. package/package.json +3 -20
  395. package/dist/cdn/2627OC35.js.LEGAL.txt +0 -0
  396. package/dist/cdn/2DEOX2UQ.js.LEGAL.txt +0 -0
  397. package/dist/cdn/2LLKAVTV.js.LEGAL.txt +0 -0
  398. package/dist/cdn/2WYQDE5Z.js.LEGAL.txt +0 -0
  399. package/dist/cdn/2XJGOOBG.js.LEGAL.txt +0 -0
  400. package/dist/cdn/33DZLRWA.js.LEGAL.txt +0 -3
  401. package/dist/cdn/34WBNSBV.js.LEGAL.txt +0 -0
  402. package/dist/cdn/35NYD4WF.js.LEGAL.txt +0 -0
  403. package/dist/cdn/3DKHAYTM.js +0 -4
  404. package/dist/cdn/3DKHAYTM.js.LEGAL.txt +0 -0
  405. package/dist/cdn/3DYBNNJG.js.LEGAL.txt +0 -0
  406. package/dist/cdn/3FL6VQP4.js.LEGAL.txt +0 -0
  407. package/dist/cdn/3GN3HS2Z.js.LEGAL.txt +0 -0
  408. package/dist/cdn/3I7ZK5FK.js.LEGAL.txt +0 -0
  409. package/dist/cdn/3L5P4SFV.js.LEGAL.txt +0 -0
  410. package/dist/cdn/3OSOBTXI.js.LEGAL.txt +0 -19
  411. package/dist/cdn/3UJWEKFN.js.LEGAL.txt +0 -0
  412. package/dist/cdn/3VIB765B.js +0 -4
  413. package/dist/cdn/3VIB765B.js.LEGAL.txt +0 -0
  414. package/dist/cdn/3XPDS33A.js.LEGAL.txt +0 -0
  415. package/dist/cdn/3ZL6JNEH.js.LEGAL.txt +0 -3
  416. package/dist/cdn/43UDVNH5.js.LEGAL.txt +0 -19
  417. package/dist/cdn/4BUCDYBI.js.LEGAL.txt +0 -0
  418. package/dist/cdn/4O2I2MFG.js.LEGAL.txt +0 -0
  419. package/dist/cdn/4PKH3ZTA.js.LEGAL.txt +0 -0
  420. package/dist/cdn/4R7NGALL.js +0 -4
  421. package/dist/cdn/4R7NGALL.js.LEGAL.txt +0 -0
  422. package/dist/cdn/4S47NFM3.js +0 -4
  423. package/dist/cdn/4S47NFM3.js.LEGAL.txt +0 -0
  424. package/dist/cdn/4UUPLRGU.js.LEGAL.txt +0 -0
  425. package/dist/cdn/4YQFQUCZ.js +0 -4
  426. package/dist/cdn/4YQFQUCZ.js.LEGAL.txt +0 -0
  427. package/dist/cdn/54TTZEMV.js.LEGAL.txt +0 -0
  428. package/dist/cdn/5A5OYCRM.js.LEGAL.txt +0 -3
  429. package/dist/cdn/5AG7YD7Y.js +0 -4
  430. package/dist/cdn/5AG7YD7Y.js.LEGAL.txt +0 -0
  431. package/dist/cdn/5BRHUPJQ.js.LEGAL.txt +0 -1113
  432. package/dist/cdn/5COTKFBX.js +0 -4
  433. package/dist/cdn/5COTKFBX.js.LEGAL.txt +0 -0
  434. package/dist/cdn/5F5ZEU66.js.LEGAL.txt +0 -0
  435. package/dist/cdn/5FKQTJXQ.js.LEGAL.txt +0 -0
  436. package/dist/cdn/5K2X6CBZ.js.LEGAL.txt +0 -3
  437. package/dist/cdn/5KCRA4JF.js.LEGAL.txt +0 -0
  438. package/dist/cdn/5KN7Z5XE.js +0 -6
  439. package/dist/cdn/5KN7Z5XE.js.LEGAL.txt +0 -145
  440. package/dist/cdn/5NCAUJ2M.js.LEGAL.txt +0 -0
  441. package/dist/cdn/5OIPGQLN.js.LEGAL.txt +0 -0
  442. package/dist/cdn/5YGFEQJH.js.LEGAL.txt +0 -0
  443. package/dist/cdn/62C7U5GV.js.LEGAL.txt +0 -0
  444. package/dist/cdn/63OERAOC.js.LEGAL.txt +0 -0
  445. package/dist/cdn/667HEELR.js.LEGAL.txt +0 -0
  446. package/dist/cdn/66AONU3N.js +0 -4
  447. package/dist/cdn/66AONU3N.js.LEGAL.txt +0 -0
  448. package/dist/cdn/6EQSCBDC.js.LEGAL.txt +0 -3
  449. package/dist/cdn/6LPZ6BWV.js.LEGAL.txt +0 -0
  450. package/dist/cdn/6WN23BQU.js.LEGAL.txt +0 -0
  451. package/dist/cdn/74DCBZXT.js.LEGAL.txt +0 -3
  452. package/dist/cdn/7CC4UOSP.js.LEGAL.txt +0 -19
  453. package/dist/cdn/7NQT5MYQ.js.LEGAL.txt +0 -0
  454. package/dist/cdn/7PCDZNHO.js.LEGAL.txt +0 -3
  455. package/dist/cdn/7PENT2WI.js +0 -4
  456. package/dist/cdn/7PENT2WI.js.LEGAL.txt +0 -0
  457. package/dist/cdn/7PXLNWUW.js.LEGAL.txt +0 -0
  458. package/dist/cdn/7S3CC4RV.js +0 -18
  459. package/dist/cdn/7S3CC4RV.js.LEGAL.txt +0 -3
  460. package/dist/cdn/7W774KKR.js.LEGAL.txt +0 -0
  461. package/dist/cdn/A7LA5V6P.js.LEGAL.txt +0 -0
  462. package/dist/cdn/ALIYBPUW.js.LEGAL.txt +0 -0
  463. package/dist/cdn/ALZYWZZK.js.LEGAL.txt +0 -0
  464. package/dist/cdn/ARRKQ2WZ.js +0 -4
  465. package/dist/cdn/ARRKQ2WZ.js.LEGAL.txt +0 -0
  466. package/dist/cdn/AVVACE2H.js.LEGAL.txt +0 -17
  467. package/dist/cdn/B6D4QBVH.js.LEGAL.txt +0 -0
  468. package/dist/cdn/BB7AEZC2.js.LEGAL.txt +0 -0
  469. package/dist/cdn/BBIZPRBD.js.LEGAL.txt +0 -0
  470. package/dist/cdn/BCVI5VVW.js +0 -9
  471. package/dist/cdn/BCVI5VVW.js.LEGAL.txt +0 -0
  472. package/dist/cdn/BVDPSX3N.js.LEGAL.txt +0 -3
  473. package/dist/cdn/C75GZINQ.js.LEGAL.txt +0 -3
  474. package/dist/cdn/C7FMD3GO.js.LEGAL.txt +0 -0
  475. package/dist/cdn/CPHOXIAS.js.LEGAL.txt +0 -0
  476. package/dist/cdn/CRQPKJYN.js +0 -4
  477. package/dist/cdn/CRQPKJYN.js.LEGAL.txt +0 -0
  478. package/dist/cdn/CVYUV5YV.js.LEGAL.txt +0 -0
  479. package/dist/cdn/D2T5W4MH.js.LEGAL.txt +0 -0
  480. package/dist/cdn/D7MB5F4I.js.LEGAL.txt +0 -0
  481. package/dist/cdn/DKCZUP4C.js.LEGAL.txt +0 -0
  482. package/dist/cdn/DKOI4TMS.js.LEGAL.txt +0 -17
  483. package/dist/cdn/DNG2RCLA.js +0 -18
  484. package/dist/cdn/DNG2RCLA.js.LEGAL.txt +0 -3
  485. package/dist/cdn/DNQVWK3Q.js.LEGAL.txt +0 -0
  486. package/dist/cdn/DOQ3OAB6.js.LEGAL.txt +0 -3
  487. package/dist/cdn/DRYWVFXX.js.LEGAL.txt +0 -0
  488. package/dist/cdn/E575ADYG.js.LEGAL.txt +0 -0
  489. package/dist/cdn/E6BIPFS4.js.LEGAL.txt +0 -0
  490. package/dist/cdn/EBSZD5UZ.js +0 -4
  491. package/dist/cdn/EBSZD5UZ.js.LEGAL.txt +0 -0
  492. package/dist/cdn/EDEOV7AB.js +0 -4
  493. package/dist/cdn/EDEOV7AB.js.LEGAL.txt +0 -0
  494. package/dist/cdn/EDYWDMUF.js.LEGAL.txt +0 -3
  495. package/dist/cdn/EEJ67SFG.js +0 -18
  496. package/dist/cdn/EEJ67SFG.js.LEGAL.txt +0 -12
  497. package/dist/cdn/EFG5WHVI.js.LEGAL.txt +0 -0
  498. package/dist/cdn/EH3TUCW5.js.LEGAL.txt +0 -0
  499. package/dist/cdn/EJ44YJGV.js.LEGAL.txt +0 -19
  500. package/dist/cdn/EN657RIR.js +0 -4
  501. package/dist/cdn/EN657RIR.js.LEGAL.txt +0 -0
  502. package/dist/cdn/EQRWAUHH.js.LEGAL.txt +0 -0
  503. package/dist/cdn/ETJDGNYP.js.LEGAL.txt +0 -3
  504. package/dist/cdn/FJ6RRUAZ.js.LEGAL.txt +0 -0
  505. package/dist/cdn/FR5AUKJH.js.LEGAL.txt +0 -0
  506. package/dist/cdn/FSFU2N3B.js.LEGAL.txt +0 -0
  507. package/dist/cdn/FVCUT5BD.js.LEGAL.txt +0 -0
  508. package/dist/cdn/GB27Q3KN.js +0 -4
  509. package/dist/cdn/GB27Q3KN.js.LEGAL.txt +0 -3
  510. package/dist/cdn/GDO2NL6R.js.LEGAL.txt +0 -3
  511. package/dist/cdn/GFN5IPB5.js.LEGAL.txt +0 -3
  512. package/dist/cdn/GGA2BKBI.js.LEGAL.txt +0 -0
  513. package/dist/cdn/GMXHYAWW.js.LEGAL.txt +0 -3
  514. package/dist/cdn/GV6574C7.js.LEGAL.txt +0 -0
  515. package/dist/cdn/GYTWI2N3.js.LEGAL.txt +0 -0
  516. package/dist/cdn/HEEO2XNR.js.LEGAL.txt +0 -0
  517. package/dist/cdn/HMIZLJTY.js +0 -25
  518. package/dist/cdn/HMIZLJTY.js.LEGAL.txt +0 -7
  519. package/dist/cdn/HNJ5GPBM.js +0 -3
  520. package/dist/cdn/HNJ5GPBM.js.LEGAL.txt +0 -15
  521. package/dist/cdn/HQVT5GIH.js.LEGAL.txt +0 -0
  522. package/dist/cdn/HRY2AWQR.js.LEGAL.txt +0 -0
  523. package/dist/cdn/HSYJOXKH.js.LEGAL.txt +0 -3
  524. package/dist/cdn/HVXOFD44.js.LEGAL.txt +0 -3
  525. package/dist/cdn/HYKX4C5U.js.LEGAL.txt +0 -3
  526. package/dist/cdn/I33SMVY3.js +0 -18
  527. package/dist/cdn/I33SMVY3.js.LEGAL.txt +0 -3
  528. package/dist/cdn/IERS74VR.js.LEGAL.txt +0 -0
  529. package/dist/cdn/IIFJMCMO.js.LEGAL.txt +0 -0
  530. package/dist/cdn/IMLKKE2U.js.LEGAL.txt +0 -0
  531. package/dist/cdn/IQU2F4H3.js +0 -18
  532. package/dist/cdn/IQU2F4H3.js.LEGAL.txt +0 -3
  533. package/dist/cdn/IRKP2OK7.js.LEGAL.txt +0 -3
  534. package/dist/cdn/ISCLBHEK.js.LEGAL.txt +0 -0
  535. package/dist/cdn/ITVDBPSA.js.LEGAL.txt +0 -3
  536. package/dist/cdn/IV5VX3CU.js.LEGAL.txt +0 -0
  537. package/dist/cdn/JD7Q6C2C.js.LEGAL.txt +0 -3
  538. package/dist/cdn/JHQ47NZN.js.LEGAL.txt +0 -0
  539. package/dist/cdn/JHQRE76I.js.LEGAL.txt +0 -3
  540. package/dist/cdn/JI5JTAYE.js.LEGAL.txt +0 -0
  541. package/dist/cdn/JJ5LIG3E.js.LEGAL.txt +0 -0
  542. package/dist/cdn/JQH6FWBF.js +0 -4
  543. package/dist/cdn/JQH6FWBF.js.LEGAL.txt +0 -0
  544. package/dist/cdn/JRNC7PCQ.js.LEGAL.txt +0 -15
  545. package/dist/cdn/JS3KPL65.js.LEGAL.txt +0 -0
  546. package/dist/cdn/JYHXLAK7.js.LEGAL.txt +0 -0
  547. package/dist/cdn/K5U2KIKJ.js +0 -4
  548. package/dist/cdn/K5U2KIKJ.js.LEGAL.txt +0 -0
  549. package/dist/cdn/KAHTIZBX.js.LEGAL.txt +0 -4
  550. package/dist/cdn/KFIMM3IL.js +0 -4
  551. package/dist/cdn/KFIMM3IL.js.LEGAL.txt +0 -0
  552. package/dist/cdn/KHUKO76X.js.LEGAL.txt +0 -0
  553. package/dist/cdn/KOHHJ3Q4.js.LEGAL.txt +0 -3
  554. package/dist/cdn/KPKZMEKZ.js.LEGAL.txt +0 -0
  555. package/dist/cdn/KPPOT7GR.js.LEGAL.txt +0 -0
  556. package/dist/cdn/KRMQR6PO.js.LEGAL.txt +0 -19
  557. package/dist/cdn/LA4ADRHN.js.LEGAL.txt +0 -0
  558. package/dist/cdn/LAEMDHMW.js.LEGAL.txt +0 -0
  559. package/dist/cdn/LDSB3ZAB.js.LEGAL.txt +0 -0
  560. package/dist/cdn/LGHVEQGE.js +0 -18
  561. package/dist/cdn/LGHVEQGE.js.LEGAL.txt +0 -3
  562. package/dist/cdn/LGYRQXSU.js.LEGAL.txt +0 -0
  563. package/dist/cdn/LNPKEFYF.js.LEGAL.txt +0 -3
  564. package/dist/cdn/LOCRYUB5.js.LEGAL.txt +0 -0
  565. package/dist/cdn/LQIITPOL.js +0 -18
  566. package/dist/cdn/LQIITPOL.js.LEGAL.txt +0 -3
  567. package/dist/cdn/LQVQ5SYL.js.LEGAL.txt +0 -0
  568. package/dist/cdn/LQYOJKKM.js.LEGAL.txt +0 -0
  569. package/dist/cdn/LSUEYFIK.js.LEGAL.txt +0 -19
  570. package/dist/cdn/LTVV5X4C.js.LEGAL.txt +0 -3
  571. package/dist/cdn/M4NMK35G.js.LEGAL.txt +0 -3
  572. package/dist/cdn/M4YVWMXK.js.LEGAL.txt +0 -0
  573. package/dist/cdn/M6OKQSGJ.js.LEGAL.txt +0 -0
  574. package/dist/cdn/MDMPQSN3.js.LEGAL.txt +0 -3
  575. package/dist/cdn/MLWHYPW3.js.LEGAL.txt +0 -0
  576. package/dist/cdn/MMGJL263.js.LEGAL.txt +0 -0
  577. package/dist/cdn/MQKFPPUQ.js.LEGAL.txt +0 -3
  578. package/dist/cdn/NA5LJZU7.js.LEGAL.txt +0 -0
  579. package/dist/cdn/NAJHCCFK.js.LEGAL.txt +0 -0
  580. package/dist/cdn/NAWXGWKC.js.LEGAL.txt +0 -3
  581. package/dist/cdn/NDRFJNB5.js.LEGAL.txt +0 -0
  582. package/dist/cdn/NGQYRRMX.js.LEGAL.txt +0 -3
  583. package/dist/cdn/NHOULH2W.js.LEGAL.txt +0 -4
  584. package/dist/cdn/NI6VUXXY.js +0 -4
  585. package/dist/cdn/NI6VUXXY.js.LEGAL.txt +0 -0
  586. package/dist/cdn/NMC4BPV4.js.LEGAL.txt +0 -0
  587. package/dist/cdn/NMJB2BJ2.js.LEGAL.txt +0 -3
  588. package/dist/cdn/NOAVPB5F.js.LEGAL.txt +0 -14
  589. package/dist/cdn/NQTVJEQJ.js.LEGAL.txt +0 -0
  590. package/dist/cdn/NSCO46UB.js.LEGAL.txt +0 -3
  591. package/dist/cdn/NWNCFKQJ.js.LEGAL.txt +0 -3
  592. package/dist/cdn/O2ZHYRZT.js +0 -18
  593. package/dist/cdn/O2ZHYRZT.js.LEGAL.txt +0 -3
  594. package/dist/cdn/O4U462PQ.js.LEGAL.txt +0 -3
  595. package/dist/cdn/OGTPASHM.js.LEGAL.txt +0 -3
  596. package/dist/cdn/OHSYSDBJ.js +0 -4
  597. package/dist/cdn/OHSYSDBJ.js.LEGAL.txt +0 -0
  598. package/dist/cdn/OJMZUZGG.js.LEGAL.txt +0 -0
  599. package/dist/cdn/OO5QJAUV.js.LEGAL.txt +0 -3
  600. package/dist/cdn/OPC6J6MC.js.LEGAL.txt +0 -19
  601. package/dist/cdn/OQMSIWHM.js.LEGAL.txt +0 -3
  602. package/dist/cdn/OSJ4PK7V.js.LEGAL.txt +0 -0
  603. package/dist/cdn/OZZ6AIHM.js.LEGAL.txt +0 -0
  604. package/dist/cdn/PE2NGOSN.js.LEGAL.txt +0 -0
  605. package/dist/cdn/PFPXYDRH.js.LEGAL.txt +0 -0
  606. package/dist/cdn/PIBX77IR.js.LEGAL.txt +0 -0
  607. package/dist/cdn/PKQMLT3F.js.LEGAL.txt +0 -27
  608. package/dist/cdn/PLPFPFMS.js.LEGAL.txt +0 -0
  609. package/dist/cdn/PMLO3UBD.js.LEGAL.txt +0 -3
  610. package/dist/cdn/PYOZY3AA.js.LEGAL.txt +0 -0
  611. package/dist/cdn/Q46U6YLX.js.LEGAL.txt +0 -0
  612. package/dist/cdn/Q4QJIANV.js.LEGAL.txt +0 -0
  613. package/dist/cdn/Q4YN3UWN.js.LEGAL.txt +0 -0
  614. package/dist/cdn/Q7CCSRAE.js.LEGAL.txt +0 -3
  615. package/dist/cdn/QAOKFIMA.js.LEGAL.txt +0 -0
  616. package/dist/cdn/QAV3ZXVX.js.LEGAL.txt +0 -0
  617. package/dist/cdn/QGQW73YS.js.LEGAL.txt +0 -3
  618. package/dist/cdn/QI7CAGDL.js.LEGAL.txt +0 -0
  619. package/dist/cdn/QJI4YPT2.js.LEGAL.txt +0 -0
  620. package/dist/cdn/QNEZFCY7.js.LEGAL.txt +0 -0
  621. package/dist/cdn/QPZ5DWIV.js.LEGAL.txt +0 -19
  622. package/dist/cdn/QSI6TV26.js.LEGAL.txt +0 -244
  623. package/dist/cdn/QSK26NIR.js.LEGAL.txt +0 -0
  624. package/dist/cdn/R4M6CYMY.js.LEGAL.txt +0 -19
  625. package/dist/cdn/R6JBLWE7.js.LEGAL.txt +0 -0
  626. package/dist/cdn/RBTSB7LW.js +0 -4
  627. package/dist/cdn/RBTSB7LW.js.LEGAL.txt +0 -0
  628. package/dist/cdn/RCBI5D2Z.js.LEGAL.txt +0 -0
  629. package/dist/cdn/RCNFZSA5.js.LEGAL.txt +0 -0
  630. package/dist/cdn/RFBZVECY.js.LEGAL.txt +0 -0
  631. package/dist/cdn/RGNEZPQ6.js.LEGAL.txt +0 -3
  632. package/dist/cdn/RPBZ5L5A.js.LEGAL.txt +0 -3
  633. package/dist/cdn/RU7VN5YX.js.LEGAL.txt +0 -0
  634. package/dist/cdn/RUH56R7L.js +0 -4
  635. package/dist/cdn/RUH56R7L.js.LEGAL.txt +0 -0
  636. package/dist/cdn/RWVKAK4K.js.LEGAL.txt +0 -3
  637. package/dist/cdn/RYMHJ7M6.js.LEGAL.txt +0 -0
  638. package/dist/cdn/RYWPGCGZ.js.LEGAL.txt +0 -0
  639. package/dist/cdn/SALTFRJ5.js.LEGAL.txt +0 -0
  640. package/dist/cdn/SBPJJXZK.js +0 -4
  641. package/dist/cdn/SBPJJXZK.js.LEGAL.txt +0 -0
  642. package/dist/cdn/SDVEOIP6.js.LEGAL.txt +0 -0
  643. package/dist/cdn/SERFTFK4.js.LEGAL.txt +0 -3
  644. package/dist/cdn/SFN7KXBC.js.LEGAL.txt +0 -0
  645. package/dist/cdn/SHSCJK7K.js.LEGAL.txt +0 -0
  646. package/dist/cdn/SHWFC6TE.js.LEGAL.txt +0 -19
  647. package/dist/cdn/T7EH5UZA.js.LEGAL.txt +0 -3
  648. package/dist/cdn/TA7QL4YX.js.LEGAL.txt +0 -0
  649. package/dist/cdn/TN4SBIJW.js.LEGAL.txt +0 -0
  650. package/dist/cdn/TS77EOZ2.js.LEGAL.txt +0 -3
  651. package/dist/cdn/TXARZDSW.js.LEGAL.txt +0 -0
  652. package/dist/cdn/TYLRSAPF.js +0 -4
  653. package/dist/cdn/TYLRSAPF.js.LEGAL.txt +0 -0
  654. package/dist/cdn/U2NFHP5I.js +0 -4
  655. package/dist/cdn/U2NFHP5I.js.LEGAL.txt +0 -0
  656. package/dist/cdn/UBKKMKS7.js.LEGAL.txt +0 -0
  657. package/dist/cdn/URSDOYPK.js.LEGAL.txt +0 -0
  658. package/dist/cdn/UTQQDI5Q.js.LEGAL.txt +0 -3
  659. package/dist/cdn/UTX33TLK.js.LEGAL.txt +0 -0
  660. package/dist/cdn/UWLZA6RY.js.LEGAL.txt +0 -8
  661. package/dist/cdn/UX2H3Z6R.js.LEGAL.txt +0 -0
  662. package/dist/cdn/UZVXLXYQ.js.LEGAL.txt +0 -0
  663. package/dist/cdn/VGD2IUHD.js +0 -4
  664. package/dist/cdn/VGD2IUHD.js.LEGAL.txt +0 -0
  665. package/dist/cdn/VIFOVT2H.js.LEGAL.txt +0 -22
  666. package/dist/cdn/VS4BFKH5.js.LEGAL.txt +0 -3
  667. package/dist/cdn/VTDPGZFT.js.LEGAL.txt +0 -3
  668. package/dist/cdn/VZMHIBV5.js.LEGAL.txt +0 -0
  669. package/dist/cdn/W7PI4HOW.js.LEGAL.txt +0 -0
  670. package/dist/cdn/WHIJZGSO.js.LEGAL.txt +0 -0
  671. package/dist/cdn/WK4XUJYY.js.LEGAL.txt +0 -19
  672. package/dist/cdn/WPW7HPVB.js.LEGAL.txt +0 -3
  673. package/dist/cdn/WSDRBWDO.js.LEGAL.txt +0 -3
  674. package/dist/cdn/WVFYDL3N.js.LEGAL.txt +0 -0
  675. package/dist/cdn/WXBPYKCV.js.LEGAL.txt +0 -0
  676. package/dist/cdn/WYNYF36Y.js.LEGAL.txt +0 -0
  677. package/dist/cdn/WZV2UPIA.js.LEGAL.txt +0 -3
  678. package/dist/cdn/X7OXK5DE.js.LEGAL.txt +0 -0
  679. package/dist/cdn/XA4WRYB3.js.LEGAL.txt +0 -0
  680. package/dist/cdn/XAP7KYLB.js.LEGAL.txt +0 -0
  681. package/dist/cdn/XBJF7MJ6.js.LEGAL.txt +0 -0
  682. package/dist/cdn/XDTQLWOL.js.LEGAL.txt +0 -0
  683. package/dist/cdn/XGRMPRIT.js +0 -4
  684. package/dist/cdn/XGRMPRIT.js.LEGAL.txt +0 -0
  685. package/dist/cdn/XPPFPOAJ.js.LEGAL.txt +0 -0
  686. package/dist/cdn/XRSL7RGR.js.LEGAL.txt +0 -0
  687. package/dist/cdn/XWVXILJ6.js.LEGAL.txt +0 -3
  688. package/dist/cdn/Y5QLVYUJ.js.LEGAL.txt +0 -0
  689. package/dist/cdn/YBHXQHED.js.LEGAL.txt +0 -0
  690. package/dist/cdn/YFDRQUEW.js.LEGAL.txt +0 -0
  691. package/dist/cdn/YH55Y5MP.js.LEGAL.txt +0 -0
  692. package/dist/cdn/YHUDJET2.js.LEGAL.txt +0 -0
  693. package/dist/cdn/YLWTVGEO.js.LEGAL.txt +0 -0
  694. package/dist/cdn/YOLXA6ZY.js.LEGAL.txt +0 -0
  695. package/dist/cdn/YPMMBOZ4.js.LEGAL.txt +0 -0
  696. package/dist/cdn/YQDNVPGZ.js.LEGAL.txt +0 -0
  697. package/dist/cdn/YZMHYMNZ.js.LEGAL.txt +0 -0
  698. package/dist/cdn/ZIIYJYM3.js.LEGAL.txt +0 -0
  699. package/dist/cdn/ZJR4525B.js.LEGAL.txt +0 -0
  700. package/dist/cdn/ZKUTSUQ5.js.LEGAL.txt +0 -0
  701. package/dist/cdn/ZLSEU37X.js +0 -4
  702. package/dist/cdn/ZLSEU37X.js.LEGAL.txt +0 -0
  703. package/dist/cdn/ZSBOSR2Q.js.LEGAL.txt +0 -0
  704. package/dist/cdn/ZWWF36B7.js +0 -4
  705. package/dist/cdn/ZWWF36B7.js.LEGAL.txt +0 -0
  706. package/dist/cdn/ZXEH2RP3.js.LEGAL.txt +0 -3
  707. package/dist/cdn/index.esm.js.LEGAL.txt +0 -3
@@ -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.20250501.2 */
3
+ v1.0.0-next.20250506.1 */
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.20250501.2 */
4
- import{a as n}from"./6EQSCBDC.js";import{B as r,c as t,d as i,q as s,w as o}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as n}from"./VERJI2SH.js";import{B as r,c as t,d as i,q as s,w as o}from"./YXGKJSHK.js";import"./V5XUAHEB.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");
@@ -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.20250501.2 */
4
- import{a as o}from"./GGA2BKBI.js";import{a as r}from"./OHSYSDBJ.js";import"./ZJR4525B.js";import"./LGYRQXSU.js";import"./4UUPLRGU.js";import{a as s}from"./XA4WRYB3.js";import"./WXBPYKCV.js";import"./LQYOJKKM.js";import"./TXARZDSW.js";import"./CPHOXIAS.js";import"./LAEMDHMW.js";import"./QNEZFCY7.js";import"./WVFYDL3N.js";import"./LQVQ5SYL.js";import"./URSDOYPK.js";import"./7PXLNWUW.js";import"./K5U2KIKJ.js";import"./OSJ4PK7V.js";import"./DNQVWK3Q.js";import"./2XJGOOBG.js";import"./54TTZEMV.js";import"./CVYUV5YV.js";import"./M6OKQSGJ.js";import"./X7OXK5DE.js";import"./3GN3HS2Z.js";import"./UBKKMKS7.js";import"./E575ADYG.js";import"./WYNYF36Y.js";import"./ZIIYJYM3.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as o}from"./5VVYQUIK.js";import{a as r}from"./IC5TQPF6.js";import"./VNZX57M6.js";import"./FXQSFX4Q.js";import"./ZEFQFCIT.js";import{a as s}from"./AIWA7X7G.js";import"./DC3N7IST.js";import"./HSIGQHGC.js";import"./E4P22JZK.js";import"./CAGLPIPF.js";import"./EJZKFB4Z.js";import"./OATNKA2V.js";import"./HK7ORFOY.js";import"./HP45S4UO.js";import"./VZG427AU.js";import"./K6YZHC7R.js";import"./JALWXGJR.js";import"./ROIVGYSM.js";import"./DXQ3LDCB.js";import"./NEVOR7UF.js";import"./WY7PHM6L.js";import"./4NGMIXLU.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./Y7WVUKZX.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p 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.20250501.2 */
4
- import{a as d}from"./2627OC35.js";import{a as n}from"./YBHXQHED.js";import{a as m}from"./CRQPKJYN.js";import"./EQRWAUHH.js";import"./SALTFRJ5.js";import"./62C7U5GV.js";import"./TN4SBIJW.js";import{a as s,b as p}from"./3FL6VQP4.js";import"./Q46U6YLX.js";import"./D2T5W4MH.js";import{a as i,b as o}from"./4BUCDYBI.js";import"./5NCAUJ2M.js";import"./SBPJJXZK.js";import"./YFDRQUEW.js";import"./4UUPLRGU.js";import{a}from"./XA4WRYB3.js";import"./WXBPYKCV.js";import"./LQYOJKKM.js";import"./TXARZDSW.js";import"./CPHOXIAS.js";import"./LAEMDHMW.js";import"./QNEZFCY7.js";import"./WVFYDL3N.js";import"./LQVQ5SYL.js";import"./URSDOYPK.js";import"./7PXLNWUW.js";import"./K5U2KIKJ.js";import"./OSJ4PK7V.js";import"./DNQVWK3Q.js";import"./2XJGOOBG.js";import"./54TTZEMV.js";import"./CVYUV5YV.js";import"./M6OKQSGJ.js";import"./X7OXK5DE.js";import"./3GN3HS2Z.js";import"./UBKKMKS7.js";import"./E575ADYG.js";import"./WYNYF36Y.js";import"./ZIIYJYM3.js";var K=async(e,t,l)=>{var r;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:d((r=t.view)===null||r===void 0?void 0:r.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`},helperText:{labelKey:`${e}.fields.featuredImage.helperText`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await p(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.searchDiscoverability.label`,elements:[n(e),...await i(e,l),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...m(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions)]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]}};export{K as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as d}from"./JF22WXGR.js";import{a as n}from"./WWH37ZAK.js";import{a as m}from"./HHY7QSTW.js";import"./YIDDZHZJ.js";import"./EELLYXNN.js";import"./EYFKB5UR.js";import"./GQO2KP3I.js";import{a as s,b as p}from"./4S2LGGIS.js";import"./ISRQ3BAT.js";import"./6MOBEALK.js";import{a as i,b as o}from"./4QTVQTWW.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./Z2FRREMF.js";import"./ZEFQFCIT.js";import{a}from"./AIWA7X7G.js";import"./DC3N7IST.js";import"./HSIGQHGC.js";import"./E4P22JZK.js";import"./CAGLPIPF.js";import"./EJZKFB4Z.js";import"./OATNKA2V.js";import"./HK7ORFOY.js";import"./HP45S4UO.js";import"./VZG427AU.js";import"./K6YZHC7R.js";import"./JALWXGJR.js";import"./ROIVGYSM.js";import"./DXQ3LDCB.js";import"./NEVOR7UF.js";import"./WY7PHM6L.js";import"./4NGMIXLU.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./Y7WVUKZX.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";var K=async(e,t,l)=>{var r;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:d((r=t.view)===null||r===void 0?void 0:r.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`},helperText:{labelKey:`${e}.fields.featuredImage.helperText`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await p(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.searchDiscoverability.label`,elements:[n(e),...await i(e,l),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...m(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions)]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]}};export{K 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.20250501.2 */
4
- import{e,f as t}from"./WYNYF36Y.js";import"./ZIIYJYM3.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{e,f as t}from"./RUTSW7HN.js";import"./V5XUAHEB.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
@@ -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.20250501.2 */
4
- import"./ZIIYJYM3.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import"./V5XUAHEB.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o 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.20250501.2 */
4
- import{a}from"./6EQSCBDC.js";import{B as o,c as t,d as i,q as s,w as r}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var n=t`@layer{/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a}from"./VERJI2SH.js";import{B as o,c as t,d as i,q as s,w as r}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var n=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20250501.2 */
4
- import{a as S}from"./LSUEYFIK.js";import"./QSI6TV26.js";import"./5BRHUPJQ.js";import"./JJ5LIG3E.js";import"./62C7U5GV.js";import"./5NCAUJ2M.js";import"./SBPJJXZK.js";import"./4UUPLRGU.js";import"./QAV3ZXVX.js";import{c as p,d as u,g as v}from"./OPC6J6MC.js";import"./WK4XUJYY.js";import"./7CC4UOSP.js";import{a as d,b as c}from"./JRNC7PCQ.js";import{b}from"./R4M6CYMY.js";import{a as F}from"./6EQSCBDC.js";import{B as L,c as f,d as l,f as m,n as y,q as _,w,x,y as I}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var $=f`@layer{/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as S}from"./ZQ5UT5TX.js";import"./VSVG3AWA.js";import"./LA3TMPSQ.js";import"./FAZOBB62.js";import"./EYFKB5UR.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import"./DPNSCBBO.js";import{c as p,d as u,g as v}from"./HQLVVCY5.js";import"./WCO2JYT7.js";import"./DMTCZQGB.js";import{a as d,b as c}from"./4FO53H2N.js";import{b}from"./7K2EWZ4V.js";import{a as F}from"./VERJI2SH.js";import{B as L,c as f,d as l,f as m,n as y,q as _,w,x,y as I}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var $=f`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as S}from"./LSUEYFIK.js";import"./QSI6TV26.js";import"./5BRHUPJQ.js";im
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray!important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`,g=class extends w{constructor(){super(...arguments),this.selectedLayerId="",this.noFeaturesFoundMsg="",this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=[],this._translations=F({name:"feature-list",blocking:!0}),this._pagination=d(),this._calciteList=d(),this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this._abbreviatedLikeCount="",this._likeFieldAvailable=!1,this._searchExpression="",this.featureSelect=y()}static{this.properties={selectedLayerId:1,mapView:0,noFeaturesFoundMsg:1,pageSize:9,highlightOnMap:5,highlightOnHover:5,sortingInfo:0,whereClause:1,textSize:1,showInitialLoading:5,showErrorWhenNoFeatures:5,showUserImageInList:5,showFeatureSymbol:5,applyLayerViewFilter:5,reportingOptions:0,showFullTitle:5,filterByMapExtent:5,_featureItems:16,_featuresCount:16,_isLoading:16,_searchPlaceHolder:16,_fullTextSearchInfo:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("selectedLayerId")&&this.selectedLayerWatchHandler(),e.has("sortingInfo")&&this.sortingInfoWatchHandler(),e.has("whereClause")&&this.whereClauseHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentHandler(this.filterByMapExtent)}async selectedLayerWatchHandler(){this._selectedLayer=this.mapView&&await u(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(e){if(e&&this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}async load(){await this.initModules(),this._isLoading=!!this.showInitialLoading,this._popupUtils=new S,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await u(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.initializeFeatureItems()}render(){let e=this._canShowFullTextSearch();return l`<calcite-panel>${e&&l`<calcite-input class=search clearable icon=search @calciteInputChange=${this._searchTextChanged} .placeholder=${this._searchPlaceHolder} title type=search></calcite-input>`||""}${this._isLoading&&l`<calcite-loader label scale=m></calcite-loader>`||""}${this.showErrorWhenNoFeatures&&this._featureItems.length===0&&!this._isLoading&&l`<calcite-notice class="error-msg" icon=feature-details kind=info open><div slot=message>${this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg}</div></calcite-notice>`||""}<calcite-list class=${x(this.textSize==="small"&&!this.showFullTitle?"overflow-hidden":"")} label selection-appearance=border selection-mode=none ${c(this._calciteList)}>${!this._isLoading&&this._featureItems.length>0&&this._featureItems||""}</calcite-list>${this.pageSize&&this._featuresCount>this.pageSize&&l`<div class="width-full" slot=footer><calcite-pagination class="pagination" @calcitePaginationChange=${this.pageChanged} .pageSize=${this.pageSize} start-item=1 .totalItems=${this._featuresCount} ${c(this._pagination)}></calcite-pagination></div>`||""}</calcite-panel>`}async initModules(){let[e,t,i,s]=await b(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=e,this.esriConfig=t,this.symbolUtils=i,this.reactiveUtils=s}async getWhereCondition(){let e="1=1";if(this.whereClause&&(e=this.whereClause),this._selectedLayer?.definitionExpression&&(e=e+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){let t=this.mapView&&await p(this.mapView,this.selectedLayerId);t?.filter?.where&&(e=e+" AND "+t.filter.where)}return e}async initializeFeatureItems(){if(this._selectedLayer){this._pagination.value?.goTo("start"),this._isLoading=!!this.showInitialLoading,this._featureItems=await this.queryPage(0);let e={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView?.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(e),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,()=>{this.initializeFeatureItems()},{initial:!0})}async pageChanged(e){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=void 0);let t=e.target.startItem-1;this._featureItems=await this.queryPage(t),this._isLoading=!1}_canShowFullTextSearch(){return this._selectedLayer?.capabilities?.query?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._selectedLayer?.capabilities?.query?.supportsFullTextSearch){let e=this._selectedLayer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._selectedLayer?.getField(s.trim());i.push(a?.alias||"")}),this._searchPlaceHolder=this._translations.searchPlaceholder?this._translations.searchPlaceholder.replace("{{fields}}",i.join(", ")):"",this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let e=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){let t=this._selectedLayer?.createQuery();t&&(t.fullText=this._fullTextSearchInfo,e=await this._selectedLayer?.queryObjectIds(t),await this._updateSearchDefinitionExpression(e?.length?e:[-1]))}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(e){if(this._selectedLayer){let t=this._selectedLayer.definitionExpression;if(e?.length){let i=`objectId in(${e})`;this._selectedLayer.definitionExpression=this._searchExpression&&t&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}}_clearSearchDefinitionExpression(){if(this._selectedLayer){let e=this._selectedLayer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._selectedLayer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._selectedLayer.definitionExpression=e.replace(this._searchExpression,""))}this._searchExpression=""}async featureClicked(e,t){if(this.clearHighlights(),this.highlightOnMap){let i=Number(e.target.value),s=this.mapView&&await p(this.mapView,this.selectedLayerId);this._highlightHandle=s&&this.mapView?await v([i],s,this.mapView,!0):void 0}await this.emitSelectedFeature(t)}async emitSelectedFeature(e){let t=e.layer,i=t.createQuery();i.returnGeometry=!0;let s=Number(e.getObjectId());if(!Number.isNaN(s)&&i){i.objectIds=[s];let a=await t.queryFeatures(i);this.featureSelect.emit(a.features[0])}}async onFeatureHover(e){if(this.clearHighlights(),this.highlightOnHover){let t=Number(e.getObjectId()),i=this.mapView&&await p(this.mapView,this.selectedLayerId);i&&(this._highlights&&(i.highlights=JSON.parse(this._highlights)),this.Color&&(i.highlightOptions={color:new this.Color("#FFFF00")}),this._highlights=JSON.stringify(i.highlights),this._highlightHandle=i.highlight([t]))}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(e){let t=this._selectedLayer;if(t){let i=this.sortingInfo?.field?this.sortingInfo.field:t.objectIdField,s=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),r={start:e,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView?.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView?.extent:null};i&&s&&(r.orderByFields=[i.toString()+" "+s]);let n=await t.queryFeatures(r);return await this.createFeatureItem(n)}else return}async createFeatureItem(e){let t=e?.features,i=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,s=t.map(async a=>{let r=this.mapView&&await this._popupUtils?.getPopupTitle(a,this.mapView.map),n,h;return this.showUserImageInList&&this._selectedLayer?.editFieldsInfo?.creatorField&&(n=await this.getUserInformation(a)),this.showFeatureSymbol&&(h=await this.getFeatureSymbol(a)),i&&this.getAbbreviatedLikeCount(a),r&&this.getFeatureItem(a,r,h,n)});return Promise.all(s)}getAbbreviatedLikeCount(e){let t=this._selectedLayer;if(t){let i=this.reportingOptions&&this.reportingOptions[t.id].likeField;t.fields.forEach(s=>{if(this._validFieldTypes.indexOf(s.type)>-1&&s.name===i&&this.reportingOptions&&this.reportingOptions[t.id].like){this._likeFieldAvailable=!0;let a=e.attributes[i]||0;a>999&&this._translations.millions_value&&this._translations.thousands_value&&(a=a>999999?this._translations.millions_value.replace("{{abbreviated_value}}",Math.floor(a/1e6).toString()):this._translations.thousands_value.replace("{{abbreviated_value}}",Math.floor(a/1e3).toString())),this._abbreviatedLikeCount=a}})}}getFeatureItem(e,t,i,s){if(this._selectedLayer?.id&&this._calciteList.value&&this.reportingOptions){let a=e.attributes[this._selectedLayer.objectIdField].toString();t=t??a;let r=Number(e.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField||""]).toLocaleString(),n=this.textSize==="small"&&!this.showFullTitle?"feature-list-popup-title-small-ellipsis":this.textSize==="small"?"feature-list-popup-title-small":"feature-list-popup-title",h=this.showUserImageInList?115:65,E=this._calciteList.value.offsetWidth-h;return l`<calcite-list-item @mouseleave=${()=>{this.clearHighlights()}} @mouseover=${()=>{this.onFeatureHover(e)}} @calciteListItemSelect=${o=>{this.featureClicked(o,e)}} .value=${a}>${this.showUserImageInList&&l`<calcite-avatar class=profile-img .fullName=${s?.fullName} scale=m slot=content-start .thumbnail=${s?.userProfileUrl} .userId=${s?.id} .username=${s?.fullName?s.username:void 0}></calcite-avatar>`||""}${this.showFeatureSymbol&&i&&l`<div class=feature-symbol slot=content-start ${c(o=>o&&o.replaceChildren(i))}></div>`||""}<div class=${`popup-title ${n}`} slot=content-start style=${I({maxWidth:this.textSize==="large"?"none":`${E}px`})}>${t}</div>${this._likeFieldAvailable&&l`<div class=like-container id=${a.concat("like")??m} slot=content-end><span>${this._abbreviatedLikeCount}</span><calcite-icon icon=thumbs-up scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${a.concat("like")}>${r}</calcite-tooltip></div>`||""}<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`}else return}async getUserInformation(e){let t=this._selectedLayer?.editFieldsInfo?.creatorField;if(t){e.attributes.hasOwnProperty(t.toLowerCase())?t=t.toLowerCase():e.attributes.hasOwnProperty(t.toUpperCase())&&(t=t.toUpperCase());let i=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${e.attributes[t]}?f=json&returnUserLicensedItems=true`,s=this.mapView?.map?.portalItem.portal?.credential?.token;s&&(i+=`&token=${s}`);let a=await(await fetch(i)).json(),r=a?.username??e.attributes[t],n=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${r}/info/blob.png`;return a?.access&&s&&(n+=`?token=${s}`),a.userProfileUrl=n,a}else return}async getFeatureSymbol(e){let t=document.createElement("div");return await this.symbolUtils?.getDisplayedSymbol(e).then(async i=>{if(i&&await this.symbolUtils?.renderPreviewHTML(i,{node:t}),t.children?.length){let s=t.children[0];if(s){let a=Number(s.getAttribute("height")),r=Number(s.getAttribute("width"));r>30&&s.setAttribute("width","30"),a>30&&s.setAttribute("height","30"),s.setAttribute("viewBox",`0 0 ${r} ${a}`)}}}),t}};L("feature-list",g);export{g as FeatureList};
18
+ */:host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray!important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`,g=class extends w{constructor(){super(...arguments),this.selectedLayerId="",this.noFeaturesFoundMsg="",this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=[],this._translations=F({name:"feature-list",blocking:!0}),this._pagination=d(),this._calciteList=d(),this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this._abbreviatedLikeCount="",this._likeFieldAvailable=!1,this._searchExpression="",this.featureSelect=y()}static{this.properties={selectedLayerId:1,mapView:0,noFeaturesFoundMsg:1,pageSize:9,highlightOnMap:5,highlightOnHover:5,sortingInfo:0,whereClause:1,textSize:1,showInitialLoading:5,showErrorWhenNoFeatures:5,showUserImageInList:5,showFeatureSymbol:5,applyLayerViewFilter:5,reportingOptions:0,showFullTitle:5,filterByMapExtent:5,_featureItems:16,_featuresCount:16,_isLoading:16,_searchPlaceHolder:16,_fullTextSearchInfo:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("selectedLayerId")&&this.selectedLayerWatchHandler(),e.has("sortingInfo")&&this.sortingInfoWatchHandler(),e.has("whereClause")&&this.whereClauseHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentHandler(this.filterByMapExtent)}async selectedLayerWatchHandler(){this._selectedLayer=this.mapView&&await u(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(e){if(e&&this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}async load(){await this.initModules(),this._isLoading=!!this.showInitialLoading,this._popupUtils=new S,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await u(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.initializeFeatureItems()}render(){let e=this._canShowFullTextSearch();return l`<calcite-panel>${e&&l`<calcite-input class=search clearable icon=search @calciteInputChange=${this._searchTextChanged} .placeholder=${this._searchPlaceHolder} title type=search></calcite-input>`||""}${this._isLoading&&l`<calcite-loader label scale=m></calcite-loader>`||""}${this.showErrorWhenNoFeatures&&this._featureItems.length===0&&!this._isLoading&&l`<calcite-notice class="error-msg" icon=feature-details kind=info open><div slot=message>${this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg}</div></calcite-notice>`||""}<calcite-list class=${x(this.textSize==="small"&&!this.showFullTitle?"overflow-hidden":"")} label selection-appearance=border selection-mode=none ${c(this._calciteList)}>${!this._isLoading&&this._featureItems.length>0&&this._featureItems||""}</calcite-list>${this.pageSize&&this._featuresCount>this.pageSize&&l`<div class="width-full" slot=footer><calcite-pagination class="pagination" @calcitePaginationChange=${this.pageChanged} .pageSize=${this.pageSize} start-item=1 .totalItems=${this._featuresCount} ${c(this._pagination)}></calcite-pagination></div>`||""}</calcite-panel>`}async initModules(){let[e,t,i,s]=await b(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=e,this.esriConfig=t,this.symbolUtils=i,this.reactiveUtils=s}async getWhereCondition(){let e="1=1";if(this.whereClause&&(e=this.whereClause),this._selectedLayer?.definitionExpression&&(e=e+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){let t=this.mapView&&await p(this.mapView,this.selectedLayerId);t?.filter?.where&&(e=e+" AND "+t.filter.where)}return e}async initializeFeatureItems(){if(this._selectedLayer){this._pagination.value?.goTo("start"),this._isLoading=!!this.showInitialLoading,this._featureItems=await this.queryPage(0);let e={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView?.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(e),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,()=>{this.initializeFeatureItems()},{initial:!0})}async pageChanged(e){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=void 0);let t=e.target.startItem-1;this._featureItems=await this.queryPage(t),this._isLoading=!1}_canShowFullTextSearch(){return this._selectedLayer?.capabilities?.query?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._selectedLayer?.capabilities?.query?.supportsFullTextSearch){let e=this._selectedLayer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._selectedLayer?.getField(s.trim());i.push(a?.alias||"")}),this._searchPlaceHolder=this._translations.searchPlaceholder?this._translations.searchPlaceholder.replace("{{fields}}",i.join(", ")):"",this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let e=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){let t=this._selectedLayer?.createQuery();t&&(t.fullText=this._fullTextSearchInfo,e=await this._selectedLayer?.queryObjectIds(t),await this._updateSearchDefinitionExpression(e?.length?e:[-1]))}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(e){if(this._selectedLayer){let t=this._selectedLayer.definitionExpression;if(e?.length){let i=`objectId in(${e})`;this._selectedLayer.definitionExpression=this._searchExpression&&t&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}}_clearSearchDefinitionExpression(){if(this._selectedLayer){let e=this._selectedLayer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._selectedLayer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._selectedLayer.definitionExpression=e.replace(this._searchExpression,""))}this._searchExpression=""}async featureClicked(e,t){if(this.clearHighlights(),this.highlightOnMap){let i=Number(e.target.value),s=this.mapView&&await p(this.mapView,this.selectedLayerId);this._highlightHandle=s&&this.mapView?await v([i],s,this.mapView,!0):void 0}await this.emitSelectedFeature(t)}async emitSelectedFeature(e){let t=e.layer,i=t.createQuery();i.returnGeometry=!0;let s=Number(e.getObjectId());if(!Number.isNaN(s)&&i){i.objectIds=[s];let a=await t.queryFeatures(i);this.featureSelect.emit(a.features[0])}}async onFeatureHover(e){if(this.clearHighlights(),this.highlightOnHover){let t=Number(e.getObjectId()),i=this.mapView&&await p(this.mapView,this.selectedLayerId);i&&(this._highlights&&(i.highlights=JSON.parse(this._highlights)),this.Color&&(i.highlightOptions={color:new this.Color("#FFFF00")}),this._highlights=JSON.stringify(i.highlights),this._highlightHandle=i.highlight([t]))}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(e){let t=this._selectedLayer;if(t){let i=this.sortingInfo?.field?this.sortingInfo.field:t.objectIdField,s=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),r={start:e,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView?.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView?.extent:null};i&&s&&(r.orderByFields=[i.toString()+" "+s]);let n=await t.queryFeatures(r);return await this.createFeatureItem(n)}else return}async createFeatureItem(e){let t=e?.features,i=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,s=t.map(async a=>{let r=this.mapView?.map&&await this._popupUtils?.getPopupTitle(a,this.mapView.map),n,h;return this.showUserImageInList&&this._selectedLayer?.editFieldsInfo?.creatorField&&(n=await this.getUserInformation(a)),this.showFeatureSymbol&&(h=await this.getFeatureSymbol(a)),i&&this.getAbbreviatedLikeCount(a),r&&this.getFeatureItem(a,r,h,n)});return Promise.all(s)}getAbbreviatedLikeCount(e){let t=this._selectedLayer;if(t){let i=this.reportingOptions&&this.reportingOptions[t.id].likeField;t.fields.forEach(s=>{if(this._validFieldTypes.indexOf(s.type)>-1&&s.name===i&&this.reportingOptions&&this.reportingOptions[t.id].like){this._likeFieldAvailable=!0;let a=e.attributes[i]||0;a>999&&this._translations.millions_value&&this._translations.thousands_value&&(a=a>999999?this._translations.millions_value.replace("{{abbreviated_value}}",Math.floor(a/1e6).toString()):this._translations.thousands_value.replace("{{abbreviated_value}}",Math.floor(a/1e3).toString())),this._abbreviatedLikeCount=a}})}}getFeatureItem(e,t,i,s){if(this._selectedLayer?.id&&this._calciteList.value&&this.reportingOptions){let a=e.attributes[this._selectedLayer.objectIdField].toString();t=t??a;let r=Number(e.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField||""]).toLocaleString(),n=this.textSize==="small"&&!this.showFullTitle?"feature-list-popup-title-small-ellipsis":this.textSize==="small"?"feature-list-popup-title-small":"feature-list-popup-title",h=this.showUserImageInList?115:65,E=this._calciteList.value.offsetWidth-h;return l`<calcite-list-item @mouseleave=${()=>{this.clearHighlights()}} @mouseover=${()=>{this.onFeatureHover(e)}} @calciteListItemSelect=${o=>{this.featureClicked(o,e)}} .value=${a}>${this.showUserImageInList&&l`<calcite-avatar class=profile-img .fullName=${s?.fullName} scale=m slot=content-start .thumbnail=${s?.userProfileUrl} .userId=${s?.id} .username=${s?.fullName?s.username:void 0}></calcite-avatar>`||""}${this.showFeatureSymbol&&i&&l`<div class=feature-symbol slot=content-start ${c(o=>o&&o.replaceChildren(i))}></div>`||""}<div class=${`popup-title ${n}`} slot=content-start style=${I({maxWidth:this.textSize==="large"?"none":`${E}px`})}>${t}</div>${this._likeFieldAvailable&&l`<div class=like-container id=${a.concat("like")??m} slot=content-end><span>${this._abbreviatedLikeCount}</span><calcite-icon icon=thumbs-up scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${a.concat("like")}>${r}</calcite-tooltip></div>`||""}<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`}else return}async getUserInformation(e){let t=this._selectedLayer?.editFieldsInfo?.creatorField;if(t){e.attributes.hasOwnProperty(t.toLowerCase())?t=t.toLowerCase():e.attributes.hasOwnProperty(t.toUpperCase())&&(t=t.toUpperCase());let i=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${e.attributes[t]}?f=json&returnUserLicensedItems=true`,s=this.mapView?.map?.portalItem.portal?.credential?.token;s&&(i+=`&token=${s}`);let a=await(await fetch(i)).json(),r=a?.username??e.attributes[t],n=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${r}/info/blob.png`;return a?.access&&s&&(n+=`?token=${s}`),a.userProfileUrl=n,a}else return}async getFeatureSymbol(e){let t=document.createElement("div");return await this.symbolUtils?.getDisplayedSymbol(e).then(async i=>{if(i&&await this.symbolUtils?.renderPreviewHTML(i,{node:t}),t.children?.length){let s=t.children[0];if(s){let a=Number(s.getAttribute("height")),r=Number(s.getAttribute("width"));r>30&&s.setAttribute("width","30"),a>30&&s.setAttribute("height","30"),s.setAttribute("viewBox",`0 0 ${r} ${a}`)}}}),t}};L("feature-list",g);export{g as FeatureList};
@@ -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.20250501.2 */
4
- import{a as m}from"./YBHXQHED.js";import{a as s}from"./CRQPKJYN.js";import"./EQRWAUHH.js";import"./SALTFRJ5.js";import"./62C7U5GV.js";import"./TN4SBIJW.js";import{a as o,b as i}from"./3FL6VQP4.js";import"./Q46U6YLX.js";import"./D2T5W4MH.js";import{a as r,b as a}from"./4BUCDYBI.js";import"./5NCAUJ2M.js";import"./SBPJJXZK.js";import"./YFDRQUEW.js";import"./4UUPLRGU.js";import"./XA4WRYB3.js";import"./WXBPYKCV.js";import"./LQYOJKKM.js";import"./TXARZDSW.js";import"./CPHOXIAS.js";import"./LAEMDHMW.js";import"./QNEZFCY7.js";import"./WVFYDL3N.js";import"./LQVQ5SYL.js";import"./URSDOYPK.js";import"./7PXLNWUW.js";import"./K5U2KIKJ.js";import"./OSJ4PK7V.js";import"./DNQVWK3Q.js";import"./2XJGOOBG.js";import"./54TTZEMV.js";import"./CVYUV5YV.js";import"./M6OKQSGJ.js";import"./X7OXK5DE.js";import"./3GN3HS2Z.js";import"./UBKKMKS7.js";import"./E575ADYG.js";import"./WYNYF36Y.js";import"./ZIIYJYM3.js";var h=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),m(e),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...await r(e,l)]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await o(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{h as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as m}from"./WWH37ZAK.js";import{a as s}from"./HHY7QSTW.js";import"./YIDDZHZJ.js";import"./EELLYXNN.js";import"./EYFKB5UR.js";import"./GQO2KP3I.js";import{a as o,b as i}from"./4S2LGGIS.js";import"./ISRQ3BAT.js";import"./6MOBEALK.js";import{a as r,b as a}from"./4QTVQTWW.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./Z2FRREMF.js";import"./ZEFQFCIT.js";import"./AIWA7X7G.js";import"./DC3N7IST.js";import"./HSIGQHGC.js";import"./E4P22JZK.js";import"./CAGLPIPF.js";import"./EJZKFB4Z.js";import"./OATNKA2V.js";import"./HK7ORFOY.js";import"./HP45S4UO.js";import"./VZG427AU.js";import"./K6YZHC7R.js";import"./JALWXGJR.js";import"./ROIVGYSM.js";import"./DXQ3LDCB.js";import"./NEVOR7UF.js";import"./WY7PHM6L.js";import"./4NGMIXLU.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./Y7WVUKZX.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";var h=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),m(e),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...await r(e,l)]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await o(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{h 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.20250501.2 */
4
- import{a as O,c as R,d as g,e as u}from"./RYMHJ7M6.js";import{a}from"./SFN7KXBC.js";import"./NMC4BPV4.js";import"./DKOI4TMS.js";import{c as s,e as o,f as c}from"./7NQT5MYQ.js";import"./JYHXLAK7.js";import"./EQRWAUHH.js";import"./SALTFRJ5.js";import"./62C7U5GV.js";import"./TN4SBIJW.js";import"./5NCAUJ2M.js";import"./SBPJJXZK.js";import"./4UUPLRGU.js";import{c as r}from"./TXARZDSW.js";import"./ZIIYJYM3.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as O,c as R,d as g,e as u}from"./7KYKOF2I.js";import{a}from"./SQOEM3P5.js";import"./IDFBPJOG.js";import"./W3ANKXXH.js";import{c as s,e as o,f as c}from"./DCZKZQPQ.js";import"./5IPD66RZ.js";import"./YIDDZHZJ.js";import"./EELLYXNN.js";import"./EYFKB5UR.js";import"./GQO2KP3I.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import{c as r}from"./E4P22JZK.js";import"./V5XUAHEB.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
@@ -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.20250501.2 */
4
- import{a as s}from"./UBKKMKS7.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as s}from"./EIQNRR4P.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
@@ -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.20250501.2 */
4
- import{b as e}from"./X7OXK5DE.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
3
+ v1.0.0-next.20250506.1 */
4
+ import{b as e}from"./KTYRFLWJ.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
@@ -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.20250501.2 */
4
- import{a}from"./YOLXA6ZY.js";import{a as l}from"./CRQPKJYN.js";import"./EQRWAUHH.js";import"./SALTFRJ5.js";import"./62C7U5GV.js";import"./TN4SBIJW.js";import"./5NCAUJ2M.js";import"./SBPJJXZK.js";import"./4UUPLRGU.js";import{b as t}from"./XA4WRYB3.js";import"./WXBPYKCV.js";import"./LQYOJKKM.js";import"./TXARZDSW.js";import"./CPHOXIAS.js";import"./LAEMDHMW.js";import"./QNEZFCY7.js";import"./WVFYDL3N.js";import"./LQVQ5SYL.js";import"./URSDOYPK.js";import"./7PXLNWUW.js";import"./K5U2KIKJ.js";import"./OSJ4PK7V.js";import"./DNQVWK3Q.js";import"./2XJGOOBG.js";import"./54TTZEMV.js";import"./CVYUV5YV.js";import"./M6OKQSGJ.js";import"./X7OXK5DE.js";import"./3GN3HS2Z.js";import"./UBKKMKS7.js";import"./E575ADYG.js";import"./WYNYF36Y.js";import"./ZIIYJYM3.js";var p=async(e,r,s)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:t.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},...l(e,r.thumbnail,a(r),"template",s.requestOptions)]}]});export{p as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a}from"./WD3NSCN4.js";import{a as l}from"./HHY7QSTW.js";import"./YIDDZHZJ.js";import"./EELLYXNN.js";import"./EYFKB5UR.js";import"./GQO2KP3I.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import{b as t}from"./AIWA7X7G.js";import"./DC3N7IST.js";import"./HSIGQHGC.js";import"./E4P22JZK.js";import"./CAGLPIPF.js";import"./EJZKFB4Z.js";import"./OATNKA2V.js";import"./HK7ORFOY.js";import"./HP45S4UO.js";import"./VZG427AU.js";import"./K6YZHC7R.js";import"./JALWXGJR.js";import"./ROIVGYSM.js";import"./DXQ3LDCB.js";import"./NEVOR7UF.js";import"./WY7PHM6L.js";import"./4NGMIXLU.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./Y7WVUKZX.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";var p=async(e,r,s)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:t.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},...l(e,r.thumbnail,a(r),"template",s.requestOptions)]}]});export{p as buildUiSchema};
@@ -1,3 +1,3 @@
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.20250501.2 */
3
+ v1.0.0-next.20250506.1 */
@@ -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.20250501.2 */
4
- import{a as w}from"./PIBX77IR.js";import{e as E}from"./MLWHYPW3.js";import{B as y,C as b}from"./4S47NFM3.js";import"./Q4YN3UWN.js";import{a as F,c as l,d as C,e as x,f as m}from"./KAHTIZBX.js";import"./ZIIYJYM3.js";var L="instant-apps-filter-list calcite-mode-light",$="instant-apps-filter-list calcite-mode-dark",p=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function g(e){return e.replaceAll("'","''")}function f(e,t=!1){if(e){let i=new Date(e),n=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;if(t){let s=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`;return`${n} ${s}`}else return n}}function D(e){if(e!=null){e.value=["",""];let t=e.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let i of t)i.value=""}}var S=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}",k=S,u={base:"instant-apps-filter-list",filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description",zoomTo:"instant-apps-filter-list__zoom-to"},I=class{constructor(e){F(this,e),this.filterListReset=m(this,"filterListReset",7),this.filterUpdate=m(this,"filterUpdate",7),this.isLayerExpUpdated=!1,this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=L,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(n=>n.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(n=>{let s=i.expressions?.find(a=>a.id===n.id);s!=null&&(n.name=s.name)}))}),await Promise.resolve(!0))}connectedCallback(){this.layerExpressions==null&&this.view==null||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass=w(this.el)==="dark"?$:L,await this.initializeModules(),E(this),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}componentDidRender(){this.resetBtnEl!=null&&(this.resetBtnEl.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([b(),y()]);this.geometryJsonUtils=t,this.intl=e}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l(C,{key:"3db1b211528d0ebe2cc379b9dccbd59c38c2f7c4"},l("calcite-panel",{key:"e4b301eaea85bbe60ec088fbc09b261eb24037b7",class:this.baseClass,ref:i=>this.panelEl=i},l("slot",{key:"11f63da744e4256c860b7d381890b7573fd5d33c",slot:"header-content",name:"filter-header-content"}),l("slot",{key:"e3249343120aff984fed5c6cbda79330efcfc7b4",slot:"header-actions-end",name:"filter-header-actions-end"}),l("div",{key:"filter-container",class:u.filterContainer},e,t)))}renderLoading(){return l("calcite-loader",{label:"Loading filters..."})}renderFilter(e){let{id:t}=e;return e.expressions.map((i,n)=>i.type==="checkbox"||i.type==null?l("div",{key:`${t}-${n}`,class:u.filterItemContainer},l("div",{class:u.filterItemTitle},l("p",null,i.name)),l("div",{class:u.checkboxContainer},l("calcite-checkbox",{id:i.id.toString(),scale:"l",checked:i?.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,e,i)}))):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,n=i?.trim()==="OR"?"orOperator":"andOperator",s=this.renderZoomTo(e);return l("calcite-block",{key:e.id,heading:e.title,description:this.messages?.[n],open:this.openFilters?!0:void 0,collapsible:!0},s,t)}renderCombobox(e,t){return l("label",{key:"combo-select",class:u.filterUIItemContainer},l("span",null,t.name),l("calcite-combobox",{id:t.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,t,e),label:t.name,placeholder:t.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},t.fields?.map((i,n)=>this.renderComboboxItem(t,i,n))))}renderComboboxItem(e,t,i){let n=this.createLabel(e,t),a=e?.selectedFields?.includes(t)??!1;return l("calcite-combobox-item",{key:`${n}-${i}`,value:t,heading:`${n}`,selected:a})}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l("calcite-block",{class:u.operatorDesc,heading:this.messages?.[t],open:!0},i,this.renderFilter(this.filterLayerExpressions[0]))}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(e,t){let i=t?.min,n=t?.max,s=t?.step?t.step:1,a=i!=null&&n!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:n,d=[o,c];return a?l("label",{key:t?.id.toString(),class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.numberInputContainer},l("calcite-slider",{id:t?.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,t,e),min:i,max:n,minValue:i,maxValue:n,minLabel:this.messages?.minSlider?.replace("{field}",r),maxLabel:this.messages?.maxSlider?.replace("{field}",r),step:s,labelHandles:!0,snap:!0,value:d,"group-separator":t?.format?.digitSeparator,precise:!0}))):void 0}renderDatePicker(e,t){let{min:i,max:n}=t,s=[t?.range?.min,t?.range?.max];return i!=null&&n!=null?l("label",{class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.dateInputContainer},l("calcite-input-date-picker",{id:t?.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,t,e),min:i,max:n,"overlay-positioning":"fixed",lang:this.intl?.getLocale()??"en",layout:"vertical",value:s,range:!0}),l("calcite-action",{onClick:this.handleResetDatePicker.bind(this,t,e),icon:"reset",text:this.messages?.resetDatePicker,scale:"s"}))):null}renderFooter(){let e=this.closeBtnText??this.messages?.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l("div",{class:u.footer,slot:"footer"},this.resetBtn?l("calcite-button",{appearance:"outline",width:t,ref:i=>this.resetBtnEl=i,onClick:this.handleResetFilter.bind(this)},this.messages?.resetFilter):void 0,this.closeBtn?l("calcite-button",{appearance:"solid",width:t,kind:"brand",onClick:this.closeBtnOnClick?.bind(this)},e):void 0)}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l("div",{class:u.zoomTo},l("calcite-button",{id:t,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,e)},this.messages?.zoomTo)):void 0}handleResetDatePicker(e,t){let i=this.panelEl.querySelector(`[id='${e.id}']`);D(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}initInput(e,t){let{type:i,numDisplayOption:n,displayOption:s}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(n==="drop-down"||s==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:n,displayOption:s}=t,a="";i==="string"||i==="coded-value"||i==="date"&&(n==="drop-down"||s==="drop-down")||(i==="number"||i==="range")&&(n==="drop-down"||s==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&Array.from(n.children).forEach(s=>{s.selected=!1});break}case"datePicker":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);D(n);break}case"numberRange":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&(n.minValue=t.min,n.maxValue=t.max);break}}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.querySelector(`[id='${t}']`);i!=null&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud"){if(!this.initPointCloudFilters)return;i.filters=this.initPointCloudFilters[i.id]}else if(i.type==="map-image")i.allSublayers.forEach(n=>{n.definitionExpression=this.initMapImageExpressions?.[i.id]?.[n.id]??""});else{if(this.initDefExpressions==null)return;i.definitionExpression=this.initDefExpressions[i.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:n})=>n===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${g(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:n}=t;if(n!=null)if(this.setExpressionFormat(i,t,n),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let a=(await this.calculateMinMaxStatistics(i,n))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(a[`min${n}`],t.format.places),t.max=this.roundMaxNumberUp(a[`max${n}`],t.format.places)):(t.min=a[`min${n}`],t.max=a[`max${n}`]),t?.range&&Object.keys(t.range).length){let{min:r,max:o}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${r} AND ${o}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:n}=t,s=this.findFilterLayer(e),r=(await this.calculateMinMaxStatistics(s,i))?.[0]?.attributes;if(t.min=f(r[`min${i}`]),t.max=f(r[`max${i}`]),n!=null&&(n?.max!=null||n?.min!=null)){let{min:o,max:c}=n;if(o=o?.replace("+"," "),c=c?.replace("+"," "),o||c){let d=c&&!o?"<":!c&&o?">":null;return d?t.definitionExpression=`${i} ${d} '${o??c}'`:t.definitionExpression=`${i} BETWEEN '${o}' AND '${c}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let n=this.findFilterLayer(e);await this.getFeatureAttributes(n,t);let a=i.domain.codedValues.reduce((r,{code:o,name:c})=>(r[o]=c,r),{});if(t.codedValues=a,t.selectedFields?.length){let r=t.selectedFields.map(o=>typeof o=="number"?o:`'${g(o)}'`).join(",");return t.definitionExpression=`${t.field} IN (${r})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:n}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,n&&Object.keys(n).length?(e.definitionExpression=`${i} BETWEEN ${n.min} AND ${n.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:n,supportsMaxRecordCountFactor:s}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(n,a,s)&&this.handlePagination(i,r,n,s,a,t)}isLayerSupported(e){return e&&p.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let n=t?.field;if(n){let s=this.getInitDefExprFromLayer(e);i.where=s||"1=1",i.outFields=[n],i.orderByFields=[`${n} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let n=await this.queryForFeatures(e,t,t.outFields[0]);n?.length&&(i.fields=[...new Set(n)],i.type==="string"?i.fields=i.fields.sort((s,a)=>s.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((s,a)=>s-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let n=this.getQueryCount(e,i);return e!=null&&t>n}async handlePagination(e,t,i,n,s,a){let r=this.getQueryCount(i,n),o=[];for(let c=r;c<s;c+=r){let d=t.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(e,d,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,h)=>d.localeCompare(h)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,h)=>d-h):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(a=>a.attributes?.[i])?.map(a=>a.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!p.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}?.geometry;if(s){let a="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(a?.type==="extent"||a?.type==="polygon")return a}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let n=i.fields?.find(({name:a})=>a===t.field),s=n?.domain?.type;t.type=s==="coded-value"||s==="range"?s:t.type,await this.updateExpression(e,t,n)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,n){let s=this.getInitDefExprFromLayerExpression(t);(n||n===0)&&(i||i===0)&&(n===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=s?`(${s}) AND ${e?.field} BETWEEN ${n} AND ${i}`:`${e?.field} BETWEEN ${n} AND ${i}`,e.active=!0)),e.range={min:n,max:i}}handleCheckboxChange(e,t,i){let n=i.target;t.active=n.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:n,minValue:s}=i.target;this.updateRangeExpressions(e,t,n,s),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:a,type:r}=e;if(e.selectedFields=s.map(({value:o})=>o),s.length){let o=s.map(({value:c})=>typeof c=="number"?c:`'${g(c)}'`);e.definitionExpression=r==="date"?o.map(c=>this.buildDateExpression(c,a)).join(" OR "):`${a} IN (${o.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let n=i.target,[s,a]=n.valueAsDate,r=s?f(Math.floor(s.getTime()),!0):void 0,o=a?f(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let i=t.split(";").map(n=>JSON.parse(n));this.filterCount=this.applyFilters(i)}applyFilters(e){let t=0;return e.forEach(i=>{let n=this.filterLayerExpressions?.find(s=>s.id===i.layerId);n&&n.expressions?.forEach(s=>{s.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(s,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:n,selectedFields:s,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:s}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:e.id,expressionId:i.toString(),range:n}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(n=>n.active).map(n=>JSON.stringify(this.createURLParamExpression(i,n)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:n}=e,s=this.view.map.findLayerById(n)??this.view.map.findTableById(n);if(s!=null)if(s.type==="point-cloud")this.updateFilterLayerPCLFilter(s,i);else if(s.type==="map-image"){let a=s.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(s,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:n}=i,s=this.getInitDefExprFromLayer(e),a=t?.length>0&&s!=null&&s!==""?`(${t.join(n)}) AND (${s})`:t.length>0?t.join(n):s;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){if(this.view==null)return;await this.view.map.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.querySelector(t),n=(s,a)=>{i&&(i.loading=s,i.disabled=a)};if(n(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let s=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s)}n(!1,!1)}async getZoomToExtent(e){let i=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,n=i.type==="map-image"?i.findSublayerById(e.sublayerId):i;if(n&&n.type!=="point-cloud"&&p.includes(n?.type)){let s=await this.getQueryLayer(n),a=s.createQuery();a.where=s.definitionExpression??"1=1";let r=await s.queryExtent(a);this.zoomToExtent={...r,type:s.geometryType}}}applyFilterToQuery(e,t){let i=this.view.allLayerViews.find(({layer:s})=>s.id===t.id),n=i?.featureEffect?.filter??i.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach(a=>{n[a]!=null&&(e[a]=n[a])})}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let n of e.expressions){let{active:s,definitionExpression:a,pointCloudFilters:r}=n;s&&a&&t.push(`(${a})`),s&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let n;if(!String(e).includes("e"))n=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[s,a]=String(e).split("e").map(c=>Number(c)),r=a+t;n=Math[i](+`${s}e${r}`)*Math.pow(10,-t)}return+n.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let n=e?.popupTemplate.fieldInfos?.find(({fieldName:s})=>s===i);n?.format&&(t.format=n.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let i=this.view.map.allLayers.concat(this.view.map.allTables).find(({id:n})=>n===e.id);return i.type==="map-image"?i?.findSublayerById(e.sublayerId):i}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),n=new Date(e),s=new Date(n.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,c=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables).forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((n,s)=>(n[s.id]=s.definitionExpression??"",n),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}get el(){return x(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};I.style=k;export{I as instant_apps_filter_list};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as w}from"./4NO5UFRF.js";import{e as E}from"./JDFGWL2P.js";import{B as y,C as b}from"./77FG2UXK.js";import"./QSYR7Q6X.js";import{a as F,c as l,d as C,e as x,f as m}from"./YYNMVPOT.js";import"./V5XUAHEB.js";var L="instant-apps-filter-list calcite-mode-light",$="instant-apps-filter-list calcite-mode-dark",p=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function g(e){return e.replaceAll("'","''")}function f(e,t=!1){if(e){let i=new Date(e),n=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;if(t){let s=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`;return`${n} ${s}`}else return n}}function D(e){if(e!=null){e.value=["",""];let t=e.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let i of t)i.value=""}}var S=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}",k=S,u={base:"instant-apps-filter-list",filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description",zoomTo:"instant-apps-filter-list__zoom-to"},I=class{constructor(e){F(this,e),this.filterListReset=m(this,"filterListReset",7),this.filterUpdate=m(this,"filterUpdate",7),this.isLayerExpUpdated=!1,this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=L,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(n=>n.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(n=>{let s=i.expressions?.find(a=>a.id===n.id);s!=null&&(n.name=s.name)}))}),await Promise.resolve(!0))}connectedCallback(){this.layerExpressions==null&&this.view==null||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass=w(this.el)==="dark"?$:L,await this.initializeModules(),E(this),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}componentDidRender(){this.resetBtnEl!=null&&(this.resetBtnEl.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([b(),y()]);this.geometryJsonUtils=t,this.intl=e}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l(C,{key:"3db1b211528d0ebe2cc379b9dccbd59c38c2f7c4"},l("calcite-panel",{key:"e4b301eaea85bbe60ec088fbc09b261eb24037b7",class:this.baseClass,ref:i=>this.panelEl=i},l("slot",{key:"11f63da744e4256c860b7d381890b7573fd5d33c",slot:"header-content",name:"filter-header-content"}),l("slot",{key:"e3249343120aff984fed5c6cbda79330efcfc7b4",slot:"header-actions-end",name:"filter-header-actions-end"}),l("div",{key:"filter-container",class:u.filterContainer},e,t)))}renderLoading(){return l("calcite-loader",{label:"Loading filters..."})}renderFilter(e){let{id:t}=e;return e.expressions.map((i,n)=>i.type==="checkbox"||i.type==null?l("div",{key:`${t}-${n}`,class:u.filterItemContainer},l("div",{class:u.filterItemTitle},l("p",null,i.name)),l("div",{class:u.checkboxContainer},l("calcite-checkbox",{id:i.id.toString(),scale:"l",checked:i?.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,e,i)}))):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,n=i?.trim()==="OR"?"orOperator":"andOperator",s=this.renderZoomTo(e);return l("calcite-block",{key:e.id,heading:e.title,description:this.messages?.[n],open:this.openFilters?!0:void 0,collapsible:!0},s,t)}renderCombobox(e,t){return l("label",{key:"combo-select",class:u.filterUIItemContainer},l("span",null,t.name),l("calcite-combobox",{id:t.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,t,e),label:t.name,placeholder:t.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},t.fields?.map((i,n)=>this.renderComboboxItem(t,i,n))))}renderComboboxItem(e,t,i){let n=this.createLabel(e,t),a=e?.selectedFields?.includes(t)??!1;return l("calcite-combobox-item",{key:`${n}-${i}`,value:t,heading:`${n}`,selected:a})}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l("calcite-block",{class:u.operatorDesc,heading:this.messages?.[t],open:!0},i,this.renderFilter(this.filterLayerExpressions[0]))}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(e,t){let i=t?.min,n=t?.max,s=t?.step?t.step:1,a=i!=null&&n!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:n,d=[o,c];return a?l("label",{key:t?.id.toString(),class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.numberInputContainer},l("calcite-slider",{id:t?.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,t,e),min:i,max:n,minValue:i,maxValue:n,minLabel:this.messages?.minSlider?.replace("{field}",r),maxLabel:this.messages?.maxSlider?.replace("{field}",r),step:s,labelHandles:!0,snap:!0,value:d,"group-separator":t?.format?.digitSeparator,precise:!0}))):void 0}renderDatePicker(e,t){let{min:i,max:n}=t,s=[t?.range?.min,t?.range?.max];return i!=null&&n!=null?l("label",{class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.dateInputContainer},l("calcite-input-date-picker",{id:t?.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,t,e),min:i,max:n,"overlay-positioning":"fixed",lang:this.intl?.getLocale()??"en",layout:"vertical",value:s,range:!0}),l("calcite-action",{onClick:this.handleResetDatePicker.bind(this,t,e),icon:"reset",text:this.messages?.resetDatePicker,scale:"s"}))):null}renderFooter(){let e=this.closeBtnText??this.messages?.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l("div",{class:u.footer,slot:"footer"},this.resetBtn?l("calcite-button",{appearance:"outline",width:t,ref:i=>this.resetBtnEl=i,onClick:this.handleResetFilter.bind(this)},this.messages?.resetFilter):void 0,this.closeBtn?l("calcite-button",{appearance:"solid",width:t,kind:"brand",onClick:this.closeBtnOnClick?.bind(this)},e):void 0)}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l("div",{class:u.zoomTo},l("calcite-button",{id:t,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,e)},this.messages?.zoomTo)):void 0}handleResetDatePicker(e,t){let i=this.panelEl.querySelector(`[id='${e.id}']`);D(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}initInput(e,t){let{type:i,numDisplayOption:n,displayOption:s}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(n==="drop-down"||s==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:n,displayOption:s}=t,a="";i==="string"||i==="coded-value"||i==="date"&&(n==="drop-down"||s==="drop-down")||(i==="number"||i==="range")&&(n==="drop-down"||s==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&Array.from(n.children).forEach(s=>{s.selected=!1});break}case"datePicker":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);D(n);break}case"numberRange":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&(n.minValue=t.min,n.maxValue=t.max);break}}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.querySelector(`[id='${t}']`);i!=null&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud"){if(!this.initPointCloudFilters)return;i.filters=this.initPointCloudFilters[i.id]}else if(i.type==="map-image")i.allSublayers.forEach(n=>{n.definitionExpression=this.initMapImageExpressions?.[i.id]?.[n.id]??""});else{if(this.initDefExpressions==null)return;i.definitionExpression=this.initDefExpressions[i.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:n})=>n===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${g(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:n}=t;if(n!=null)if(this.setExpressionFormat(i,t,n),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let a=(await this.calculateMinMaxStatistics(i,n))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(a[`min${n}`],t.format.places),t.max=this.roundMaxNumberUp(a[`max${n}`],t.format.places)):(t.min=a[`min${n}`],t.max=a[`max${n}`]),t?.range&&Object.keys(t.range).length){let{min:r,max:o}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${r} AND ${o}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:n}=t,s=this.findFilterLayer(e),r=(await this.calculateMinMaxStatistics(s,i))?.[0]?.attributes;if(t.min=f(r[`min${i}`]),t.max=f(r[`max${i}`]),n!=null&&(n?.max!=null||n?.min!=null)){let{min:o,max:c}=n;if(o=o?.replace("+"," "),c=c?.replace("+"," "),o||c){let d=c&&!o?"<":!c&&o?">":null;return d?t.definitionExpression=`${i} ${d} '${o??c}'`:t.definitionExpression=`${i} BETWEEN '${o}' AND '${c}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let n=this.findFilterLayer(e);await this.getFeatureAttributes(n,t);let a=i.domain.codedValues.reduce((r,{code:o,name:c})=>(r[o]=c,r),{});if(t.codedValues=a,t.selectedFields?.length){let r=t.selectedFields.map(o=>typeof o=="number"?o:`'${g(o)}'`).join(",");return t.definitionExpression=`${t.field} IN (${r})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:n}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,n&&Object.keys(n).length?(e.definitionExpression=`${i} BETWEEN ${n.min} AND ${n.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:n,supportsMaxRecordCountFactor:s}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(n,a,s)&&this.handlePagination(i,r,n,s,a,t)}isLayerSupported(e){return e&&p.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let n=t?.field;if(n){let s=this.getInitDefExprFromLayer(e);i.where=s||"1=1",i.outFields=[n],i.orderByFields=[`${n} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let n=await this.queryForFeatures(e,t,t.outFields[0]);n?.length&&(i.fields=[...new Set(n)],i.type==="string"?i.fields=i.fields.sort((s,a)=>s.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((s,a)=>s-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let n=this.getQueryCount(e,i);return e!=null&&t>n}async handlePagination(e,t,i,n,s,a){let r=this.getQueryCount(i,n),o=[];for(let c=r;c<s;c+=r){let d=t.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(e,d,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,h)=>d.localeCompare(h)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,h)=>d-h):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(a=>a.attributes?.[i])?.map(a=>a.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!p.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}?.geometry;if(s){let a="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(a?.type==="extent"||a?.type==="polygon")return a}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let n=i.fields?.find(({name:a})=>a===t.field),s=n?.domain?.type;t.type=s==="coded-value"||s==="range"?s:t.type,await this.updateExpression(e,t,n)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,n){let s=this.getInitDefExprFromLayerExpression(t);(n||n===0)&&(i||i===0)&&(n===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=s?`(${s}) AND ${e?.field} BETWEEN ${n} AND ${i}`:`${e?.field} BETWEEN ${n} AND ${i}`,e.active=!0)),e.range={min:n,max:i}}handleCheckboxChange(e,t,i){let n=i.target;t.active=n.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:n,minValue:s}=i.target;this.updateRangeExpressions(e,t,n,s),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:a,type:r}=e;if(e.selectedFields=s.map(({value:o})=>o),s.length){let o=s.map(({value:c})=>typeof c=="number"?c:`'${g(c)}'`);e.definitionExpression=r==="date"?o.map(c=>this.buildDateExpression(c,a)).join(" OR "):`${a} IN (${o.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let n=i.target,[s,a]=n.valueAsDate,r=s?f(Math.floor(s.getTime()),!0):void 0,o=a?f(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let i=t.split(";").map(n=>JSON.parse(n));this.filterCount=this.applyFilters(i)}applyFilters(e){let t=0;return e.forEach(i=>{let n=this.filterLayerExpressions?.find(s=>s.id===i.layerId);n&&n.expressions?.forEach(s=>{s.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(s,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:n,selectedFields:s,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:s}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:e.id,expressionId:i.toString(),range:n}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(n=>n.active).map(n=>JSON.stringify(this.createURLParamExpression(i,n)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:n}=e,s=this.view.map?.findLayerById(n)??this.view.map?.findTableById(n);if(s!=null)if(s.type==="point-cloud")this.updateFilterLayerPCLFilter(s,i);else if(s.type==="map-image"){let a=s.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(s,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:n}=i,s=this.getInitDefExprFromLayer(e),a=t?.length>0&&s!=null&&s!==""?`(${t.join(n)}) AND (${s})`:t.length>0?t.join(n):s;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){if(this.view==null)return;await this.view.map.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.querySelector(t),n=(s,a)=>{i&&(i.loading=s,i.disabled=a)};if(n(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let s=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s)}n(!1,!1)}async getZoomToExtent(e){let i=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,n=i.type==="map-image"?i.findSublayerById(e.sublayerId):i;if(n&&n.type!=="point-cloud"&&p.includes(n?.type)){let s=await this.getQueryLayer(n),a=s.createQuery();a.where=s.definitionExpression??"1=1";let r=await s.queryExtent(a);this.zoomToExtent={...r,type:s.geometryType}}}applyFilterToQuery(e,t){let i=this.view.allLayerViews.find(({layer:s})=>s.id===t.id),n=i?.featureEffect?.filter??i.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach(a=>{n[a]!=null&&(e[a]=n[a])})}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let n of e.expressions){let{active:s,definitionExpression:a,pointCloudFilters:r}=n;s&&a&&t.push(`(${a})`),s&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let n;if(!String(e).includes("e"))n=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[s,a]=String(e).split("e").map(c=>Number(c)),r=a+t;n=Math[i](+`${s}e${r}`)*Math.pow(10,-t)}return+n.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let n=e?.popupTemplate.fieldInfos?.find(({fieldName:s})=>s===i);n?.format&&(t.format=n.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let i=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:n})=>n===e.id);return i.type==="map-image"?i?.findSublayerById(e.sublayerId):i}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),n=new Date(e),s=new Date(n.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,c=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables).forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((n,s)=>(n[s.id]=s.definitionExpression??"",n),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}get el(){return x(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};I.style=k;export{I as instant_apps_filter_list};
@@ -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.20250501.2 */
4
- import{a as b}from"./SHWFC6TE.js";import{a}from"./3OSOBTXI.js";import"./GB27Q3KN.js";import"./5BRHUPJQ.js";import"./JJ5LIG3E.js";import"./62C7U5GV.js";import"./5NCAUJ2M.js";import"./SBPJJXZK.js";import"./4UUPLRGU.js";import{h as l,i as h}from"./WK4XUJYY.js";import{a as m}from"./6EQSCBDC.js";import{B as u,c as d,d as r,n,q as f,w as p}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var g=d`@layer{/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as b}from"./UBBP433D.js";import{a}from"./UYJS44LC.js";import"./PFUQXONQ.js";import"./LA3TMPSQ.js";import"./FAZOBB62.js";import"./EYFKB5UR.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import{h as l,i as h}from"./WCO2JYT7.js";import{a as m}from"./VERJI2SH.js";import{B as u,c as d,d as r,n,q as f,w as p}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var g=d`@layer{/** @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.20250501.2 */
3
+ v1.0.0-next.20250506.1 */
4
4
  var e=["hub:user:settings"],t={type:"object",properties:{settings:{type:"object",properties:{preview:{type:"object",properties:{workspace:{type:"boolean",default:!1}}}}},hubOrgSettings:{type:"object",properties:{showInformationalBanner:{type:"boolean",default:!1},enableTermsAndConditions:{type:"boolean",default:!1},termsAndConditions:{type:"string",default:""},enableSignupText:{type:"boolean",default:!1},signupText:{type:"string",default:""}}}}};export{e as a,t as b};
@@ -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.20250501.2 */
4
- import{c as n}from"./EQRWAUHH.js";var A;(function(r){r.ASC="ASC",r.DESC="DESC"})(A||(A={}));var E;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(E||(E={}));var p;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(p||(p={}));var a;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(a||(a={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var i;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(i||(i={}));var u;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(u||(u={}));var _;(function(r){r.POST="post"})(_||(_={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var N;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(N||(N={}));var D;(function(r){r.CSV="csv",r.JSON="json"})(D||(D={}));var I;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(I||(I={}));var t;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(t||(t={}));var c;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(c||(c={}));var O;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(O||(O={}));var f;(function(r){r.CHANNEL_ACL="channelAcl"})(f||(f={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var h;(function(r){r.ADMIN="admin",r.MEMBER="member"})(h||(h={}));var v;(function(r){r.CONTENT="content"})(v||(v={}));function R(r){let e;return r.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://hubqa.arcgis.com":r.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://hubdev.arcgis.com":r.match(/(www|\.maps)\.arcgis.com/)&&(e="https://hub.arcgis.com"),e}function C(r){let e=r&&r.hubApiUrl;return e||R(n(r))}export{C as a,D as b,I as c,f as d,U as e,h as f,v as g};
3
+ v1.0.0-next.20250506.1 */
4
+ import{c as n}from"./YIDDZHZJ.js";var A;(function(r){r.ASC="ASC",r.DESC="DESC"})(A||(A={}));var E;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(E||(E={}));var p;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(p||(p={}));var a;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(a||(a={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var i;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(i||(i={}));var u;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(u||(u={}));var _;(function(r){r.POST="post"})(_||(_={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var N;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(N||(N={}));var D;(function(r){r.CSV="csv",r.JSON="json"})(D||(D={}));var I;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(I||(I={}));var t;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(t||(t={}));var c;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(c||(c={}));var O;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(O||(O={}));var f;(function(r){r.CHANNEL_ACL="channelAcl"})(f||(f={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var h;(function(r){r.ADMIN="admin",r.MEMBER="member"})(h||(h={}));var v;(function(r){r.CONTENT="content"})(v||(v={}));function R(r){let e;return r.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://hubqa.arcgis.com":r.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://hubdev.arcgis.com":r.match(/(www|\.maps)\.arcgis.com/)&&(e="https://hub.arcgis.com"),e}function C(r){let e=r&&r.hubApiUrl;return e||R(n(r))}export{C as a,D as b,I as c,f as d,U as e,h as f,v as g};
@@ -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.20250501.2 */
4
- import{a as g,b as m}from"./LDSB3ZAB.js";import{h as I}from"./TA7QL4YX.js";import"./3L5P4SFV.js";import{a as u,c as L,f as b}from"./MLWHYPW3.js";import{C as w,D as f,m as p}from"./4S47NFM3.js";import"./Q4YN3UWN.js";import{a as D,c as d,e as v,f as S}from"./KAHTIZBX.js";import"./ZIIYJYM3.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as g,b as m}from"./NS5VBZHP.js";import{h as I}from"./HUP3OLOI.js";import"./3V6CMPYL.js";import{a as u,c as L,f as b}from"./JDFGWL2P.js";import{C as w,D as f,m as p}from"./77FG2UXK.js";import"./QSYR7Q6X.js";import{a as D,c as d,e as v,f as S}from"./YYNMVPOT.js";import"./V5XUAHEB.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
@@ -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.20250501.2 */
4
- import"./ZIIYJYM3.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.20250506.1 */
4
+ import"./V5XUAHEB.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.20250501.2 */
3
+ v1.0.0-next.20250506.1 */
4
4
  async function q(t,e){let r=[],n=t?t.map(o=>b(o,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(o=>{r=[...r,...o||[]]}),r}async function m(t,e,r,n,o,a){let s=e.capabilities?.query.maxRecordCount||1e3,y=0;t.length===0&&(t=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=t.slice(y,s),o&&(c.outSpatialReference=o),a){let d=e.fields.map(i=>i.name.toLowerCase());c.outFields=a.filter(i=>d.indexOf(i.toLowerCase())>-1)}let f=await e.queryFeatures(c);r=r.concat(f.features);let l=t.slice(s,t.length);return l.length>0?m(l,e,r,n,o,a):Promise.resolve(r)}async function g(t,e){let r=e.globalIdField;if(!r)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=t.map(o=>`${r} = '${o}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(t,e,r,n){let o=e.capabilities?.query.maxRecordCount||1e3,a=e.createQuery();a.start=t,a.num=o,a.geometry=r;let s=await e.queryFeatures(a);return n[e.id]=n[e.id].concat(s.features),s.exceededTransferLimit?p(t+=o,e,r,n):Promise.resolve(n)}async function w(t,e){let r=e.createQuery();return r.objectIds=t,e.queryExtent(r)}function F(t,e){return[...u(t,"polygon",e),...u(t,"polyline",e),...u(t,"point",e)]}function u(t,e,r){let n=t?.filter(o=>o.type===e)||[];return n.length<=1?n:[r.union(n)]}async function b(t,e){let r=e.createQuery();return r.spatialRelationship="intersects",r.geometry=t,e.queryObjectIds(r)}export{q as a,m as b,g as c,p as d,w as e,F as f};
@@ -0,0 +1,4 @@
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.20250506.1 */
4
+ import{a}from"./HPSATKU6.js";import"./5IPD66RZ.js";import"./ZZRTACNG.js";import"./FXQSFX4Q.js";import"./Z2FRREMF.js";import"./ZEFQFCIT.js";import"./E4P22JZK.js";import"./V5XUAHEB.js";export{a 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.20250501.2 */
4
- import"./HNJ5GPBM.js";import{b as m}from"./JRNC7PCQ.js";import{a as p}from"./6EQSCBDC.js";import{B as h,c as r,d,w as c}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var f=r`/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import"./D473H7YD.js";import{b as m}from"./4FO53H2N.js";import{a as p}from"./VERJI2SH.js";import{B as h,c as r,d,w as c}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var f=r`/** @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.20250501.2 */
3
+ v1.0.0-next.20250506.1 */
4
4
  function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o 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.20250501.2 */
4
- import"./ZIIYJYM3.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.20250506.1 */
4
+ import"./V5XUAHEB.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};