@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 */
4
- import"./ZIIYJYM3.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import"./V5XUAHEB.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t 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}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:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{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.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{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.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c 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:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{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.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{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.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p 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 as c,b as n,c as y}from"./QPZ5DWIV.js";import{a,b as s}from"./JRNC7PCQ.js";import{B as d,c as u,d as t,n as p,w as m}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var h=u`/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as c,b as n,c as y}from"./JSL7F3AB.js";import{a,b as s}from"./4FO53H2N.js";import{B as d,c as u,d as t,n as p,w as m}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var h=u`/** @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 r}from"./6EQSCBDC.js";import{B as n,c as t,d as s,q as i,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 r}from"./VERJI2SH.js";import{B as n,c as t,d as s,q as i,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,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 r}from"./6EQSCBDC.js";import{B as o,c as t,d as i,q as s,w as n}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as r}from"./VERJI2SH.js";import{B as o,c as t,d as i,q as s,w as n}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,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 r}from"./6EQSCBDC.js";import{B as o,c as i,d as t,q as s,w as n}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var a=i`@layer{/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as r}from"./VERJI2SH.js";import{B as o,c as i,d as t,q as s,w as n}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var a=i`@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 s}from"./OHSYSDBJ.js";import"./ZJR4525B.js";import"./LGYRQXSU.js";import"./4UUPLRGU.js";import"./TXARZDSW.js";import"./ZIIYJYM3.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as s}from"./IC5TQPF6.js";import"./VNZX57M6.js";import"./FXQSFX4Q.js";import"./ZEFQFCIT.js";import"./E4P22JZK.js";import"./V5XUAHEB.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});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{d as r}from"./QPZ5DWIV.js";import{a as o,b as n}from"./JRNC7PCQ.js";import{B as c,c as s,d as i,w as d,x as a}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var p=s`/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{d as r}from"./JSL7F3AB.js";import{a as o,b as n}from"./4FO53H2N.js";import{B as c,c as s,d as i,w as d,x as a}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var p=s`/** @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"./HNJ5GPBM.js";import{b as F}from"./QSI6TV26.js";import"./5BRHUPJQ.js";import"./JJ5LIG3E.js";import"./62C7U5GV.js";import"./5NCAUJ2M.js";import"./SBPJJXZK.js";import"./4UUPLRGU.js";import"./QAV3ZXVX.js";import{a as T}from"./DKCZUP4C.js";import"./KAHTIZBX.js";import{c as S,d as O,j as g}from"./OPC6J6MC.js";import"./WK4XUJYY.js";import{c as E}from"./7CC4UOSP.js";import{a as f,b as c}from"./JRNC7PCQ.js";import{b as v}from"./R4M6CYMY.js";import{a as x}from"./6EQSCBDC.js";import{B as I,c as y,d as n,f as d,n as _,q as m,w,x as p}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var C=y`@layer{/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import"./D473H7YD.js";import{b as F}from"./VSVG3AWA.js";import"./LA3TMPSQ.js";import"./FAZOBB62.js";import"./EYFKB5UR.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import"./DPNSCBBO.js";import{a as T}from"./VXNDYVZW.js";import"./YYNMVPOT.js";import{c as S,d as O,j as g}from"./HQLVVCY5.js";import"./WCO2JYT7.js";import{c as E}from"./DMTCZQGB.js";import{a as f,b as c}from"./4FO53H2N.js";import{b as v}from"./7K2EWZ4V.js";import{a as x}from"./VERJI2SH.js";import{B as I,c as y,d as n,f as d,n as _,q as m,w,x as p}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var C=y`@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"./HNJ5GPBM.js";import{b as F}from"./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}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}}`,b=class extends w{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.onlyShowUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this.createFilterModal=!0,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=x({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=f(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._selectionFromMap=!1,this._shareNode=f(),this._toolbar=f(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this.featureSelectionChange=_(),this.toggleFilter=_(),this.showDelete=_(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),T(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,onlyShowUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,createFilterModal:5,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_filterOpen:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=C}static{this.shadowRootOptions=m}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&this._initToolInfos()}async mapInfoWatchHandler(){this._table&&this._resetColumnTemplates()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._mapClicked(e)}))}async _layerWatchHandler(){this._fetchingData=!0,await this._layer?.when(async()=>{this._definitionExpression=this._layer?.definitionExpression||"",this._floorField=this._layer?.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let h=t.layer,o=this.mapView.allLayerViews.toArray(),l;o.some(async r=>r.layer.title===h?.title&&r.layer.type==="feature"?(l=r,this.mapView&&await g([i],l,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async load(){await this._initModules(),this._initToolInfos()}render(){let e=this._fetchingData?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),h=this.isMobile?"height-full":"height-full-adjusted",o=this._canShowFullTextSearch();return this._validateActiveActions(),n`<div><calcite-scrim class=${p(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell>${this._getTableControlRow("header")}<div class=${`width-full ${h}`}><calcite-panel class="height-full width-full">${o&&n`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${l=>void this._searchTextChanged(l)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??d} type=search></calcite-input></div>`||""}<calcite-loader class=${p(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${p(e)} ${c(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:n`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell>${this.createFilterModal&&this._filterModal()||""}</div>`}async _initModules(){let[e,t,i]=await v(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length&&t){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.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._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getTableControlRow(e){return n`<div class=${"display-flex height-51-px border-bottom"} slot=${e??d} ${c(this._toolbar)}>${this._getActionBar()}<div slot=header-actions-end class="display-flex absolute-right"><field-selection class="actions-end" .layer=${this._layer} .mapView=${this.mapView} .table=${this._table}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div></div>`}_getActionBar(){let e=this.isMobile?"border-top":"";return n`<calcite-action-bar class=width-full expand-disabled expanded id=${this._getId("bar")??d} layout=horizontal><div class=${`border-end ${e}`} id=solutions-map-layer-picker-container><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} @lyShowUpdatableLayers=${this.onlyShowUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading)),e),[])}_validateEnabledActions(){let e=this._featuresSelected(),t=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,i=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(s=>{s&&i.indexOf(s.icon)>-1&&(s.disabled=s.icon==="pencil"?!t:!e)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}_initToolInfos(){let e=this._featuresSelected();this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate;let t=!this.mapHidden&&!this._layer?.isTable,i=this._featuresEmpty(),s=!this._layer?.isTable||this._hasFilterExpressions(),a=[];t&&a.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e}),s&&a.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1}),this._deleteEnabled&&a.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0}),a.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e}),a.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e}),a.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:i}),a.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:i}),a.push({active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1}),this.enableCSV&&a.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:i}),console.log(a),this._toolInfos=[...a]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return this._allIds.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,h,o){let l=this._layer===void 0?!0:h;return n`<calcite-action .active=${e} appearance=solid .disabled=${l} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${o} @click=${a} .text=${s} text-enabled></calcite-action>`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&n`<div id=${this._getId(e)??d}><instant-apps-social-share class="actions-end" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${c(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this._shareNode.value&&(this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return document.getElementById(t)?n`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`:void 0}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return n`<div class="display-flex" id=${this._getId(e)??d}>${n`<calcite-action appearance=solid .disabled=${a} id=${e??d} @click=${i} text><calcite-button appearance=transparent .iconStart=${e} kind=danger>${t}</calcite-button></calcite-action>`}${this._getToolTip("bottom",e,t)}</div>`}_getIds(){return this._table?.highlightIds?.map(e=>Number.parseInt(e.toString(),10)).toArray()||[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i}))}))}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()];this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1,this._highlightFeatures(this.selectedIds[0])}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}s&&(i=!1,this._skipEditCheck=!0,e.length>0?this._table?.highlightIds.removeMany(e):t.length>0&&this._table?.highlightIds.addMany(t))}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()&&this._table?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._getColumnTemplates(this._layer?.id,this._layer?.fields);e?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let t=this._table?.tableTemplate?.columnTemplates,i=t&&e&&t.length!==e.length||e?.some((s,a)=>t&&t[a]?JSON.stringify(t[a])!==JSON.stringify(s):!1);if(this._table&&e&&(i||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:e});let s=e.map(a=>a.fieldName);this._initColumnsInfo(s)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._getColumnTemplates(this._layer.id,this._layer?.fields);this._tableNode&&await this._getTable(this._tableNode,e)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await E(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(){this._editEnabled=!!(this._layer?.editingEnabled&&this._layer?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(this._layer?.editingEnabled&&this._layer?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(h=>h.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}_filterModal(){return n`<calcite-dialog class="filter-content-space" .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s>${this.mapView&&n`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>this._filterList?.value?.filterCount&&void this._handleFilterUpdate(this._filterList?.value?.filterCount>0)} .view=${this.mapView} ${c(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);i&&i.results.length>0?(i.results.forEach(s=>{let a=Number(s.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(a);h!==void 0&&h<0&&(this._selectionFromMap=!0,this._table?.highlightIds.add(a))}),this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)):await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){let e=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[],this._filterList.value&&(this._filterList.value.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter(t=>t.expressions.filter(i=>i.active).length>0).length>0)}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e={},t=this._getIds();this._layer&&this._layer.title&&(e[this._layer.id]={selectionSetNames:[this._layer.title],ids:t,layer:this._layer});let i=this._table&&this._table.columns.toArray().reduce((s,a)=>{if(!a.hidden){let h=a?.name||a?.fieldName;h&&s.push(h.toLocaleLowerCase())}return s},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView&&await F(this.mapView.map,e,!1,!1,!0,i,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await this._table?.refresh(),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){this._layer&&this.mapView&&await g(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await S(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,this._getFullTextSearchInfo()})}this._fetchingData=!1}_getColumnTemplates(e,t){let i;this.mapInfo?.layerOptions?.layers.some(l=>l.id===e?(i=l,!0):!1);let s=this._layer?.attributeTableTemplate?.elements,a=[];s?.length>0&&this.honorMapFieldSettings&&(a=s.map(l=>l.fieldName));let h=i?.fields&&i?.fieldOrder?i.fieldOrder.filter(l=>i?.fields&&i.fields.indexOf(l)>-1):a.length>0?a:void 0,o;return t&&(o=t.reduce((l,r)=>{let u={type:"field",fieldName:r.name,label:r.alias,menuConfig:this._getMenuConfig(r.name)};return i&&i?.fields?i.fields.indexOf(r.name)>-1&&l.push(u):a.length>0?a.indexOf(r.name)>-1&&l.push(u):l.push(u),l},[])),o?h?o?.sort(this._sortFields.bind(this,h)):o:[]}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};I("layer-table",b);export{b as LayerTable};
18
+ */:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}}`,b=class extends w{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.onlyShowUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this.createFilterModal=!0,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=x({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=f(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._selectionFromMap=!1,this._shareNode=f(),this._toolbar=f(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this.featureSelectionChange=_(),this.toggleFilter=_(),this.showDelete=_(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),T(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,onlyShowUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,createFilterModal:5,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_filterOpen:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=C}static{this.shadowRootOptions=m}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&this._initToolInfos()}async mapInfoWatchHandler(){this._table&&this._resetColumnTemplates()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._mapClicked(e)}))}async _layerWatchHandler(){this._fetchingData=!0,await this._layer?.when(async()=>{this._definitionExpression=this._layer?.definitionExpression||"",this._floorField=this._layer?.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let h=t.layer,o=this.mapView.allLayerViews.toArray(),l;o.some(async r=>r.layer.title===h?.title&&r.layer.type==="feature"?(l=r,this.mapView&&await g([i],l,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async load(){await this._initModules(),this._initToolInfos()}render(){let e=this._fetchingData?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),h=this.isMobile?"height-full":"height-full-adjusted",o=this._canShowFullTextSearch();return this._validateActiveActions(),n`<div><calcite-scrim class=${p(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell>${this._getTableControlRow("header")}<div class=${`width-full ${h}`}><calcite-panel class="height-full width-full">${o&&n`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${l=>void this._searchTextChanged(l)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??d} type=search></calcite-input></div>`||""}<calcite-loader class=${p(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${p(e)} ${c(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:n`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell>${this.createFilterModal&&this._filterModal()||""}</div>`}async _initModules(){let[e,t,i]=await v(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length&&t){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.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._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getTableControlRow(e){return n`<div class=${"display-flex height-51-px border-bottom"} slot=${e??d} ${c(this._toolbar)}>${this._getActionBar()}<div slot=header-actions-end class="display-flex absolute-right"><field-selection class="actions-end" .layer=${this._layer} .mapView=${this.mapView} .table=${this._table}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div></div>`}_getActionBar(){let e=this.isMobile?"border-top":"";return n`<calcite-action-bar class=width-full expand-disabled expanded id=${this._getId("bar")??d} layout=horizontal><div class=${`border-end ${e}`} id=solutions-map-layer-picker-container><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} @lyShowUpdatableLayers=${this.onlyShowUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading)),e),[])}_validateEnabledActions(){let e=this._featuresSelected(),t=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,i=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(s=>{s&&i.indexOf(s.icon)>-1&&(s.disabled=s.icon==="pencil"?!t:!e)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}_initToolInfos(){let e=this._featuresSelected();this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate;let t=!this.mapHidden&&!this._layer?.isTable,i=this._featuresEmpty(),s=!this._layer?.isTable||this._hasFilterExpressions(),a=[];t&&a.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e}),s&&a.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1}),this._deleteEnabled&&a.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0}),a.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e}),a.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e}),a.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:i}),a.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:i}),a.push({active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1}),this.enableCSV&&a.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:i}),console.log(a),this._toolInfos=[...a]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return this._allIds.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,h,o){let l=this._layer===void 0?!0:h;return n`<calcite-action .active=${e} appearance=solid .disabled=${l} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${o} @click=${a} .text=${s} text-enabled></calcite-action>`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&n`<div id=${this._getId(e)??d}><instant-apps-social-share class="actions-end" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${c(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this._shareNode.value&&(this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return document.getElementById(t)?n`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`:void 0}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return n`<div class="display-flex" id=${this._getId(e)??d}>${n`<calcite-action appearance=solid .disabled=${a} id=${e??d} @click=${i} text><calcite-button appearance=transparent .iconStart=${e} kind=danger>${t}</calcite-button></calcite-action>`}${this._getToolTip("bottom",e,t)}</div>`}_getIds(){return this._table?.highlightIds?.map(e=>Number.parseInt(e.toString(),10)).toArray()||[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i}))}))}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()];this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1,this._highlightFeatures(this.selectedIds[0])}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}s&&(i=!1,this._skipEditCheck=!0,e.length>0?this._table?.highlightIds.removeMany(e):t.length>0&&this._table?.highlightIds.addMany(t))}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()&&this._table?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._getColumnTemplates(this._layer?.id,this._layer?.fields);e?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let t=this._table?.tableTemplate?.columnTemplates,i=t&&e&&t.length!==e.length||e?.some((s,a)=>t&&t[a]?JSON.stringify(t[a])!==JSON.stringify(s):!1);if(this._table&&e&&(i||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:e});let s=e.map(a=>a.fieldName);this._initColumnsInfo(s)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._getColumnTemplates(this._layer.id,this._layer?.fields);this._tableNode&&await this._getTable(this._tableNode,e)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await E(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(){this._editEnabled=!!(this._layer?.editingEnabled&&this._layer?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(this._layer?.editingEnabled&&this._layer?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(h=>h.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}_filterModal(){return n`<calcite-dialog class="filter-content-space" .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s>${this.mapView&&n`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>this._filterList?.value?.filterCount&&void this._handleFilterUpdate(this._filterList?.value?.filterCount>0)} .view=${this.mapView} ${c(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);i&&i.results.length>0?(i.results.forEach(s=>{let a=Number(s.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(a);h!==void 0&&h<0&&(this._selectionFromMap=!0,this._table?.highlightIds.add(a))}),this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)):await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){let e=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[],this._filterList.value&&(this._filterList.value.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter(t=>t.expressions.filter(i=>i.active).length>0).length>0)}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e={},t=this._getIds();this._layer&&this._layer.title&&(e[this._layer.id]={selectionSetNames:[this._layer.title],ids:t,layer:this._layer});let i=this._table&&this._table.columns.toArray().reduce((s,a)=>{if(!a.hidden){let h=a?.name||a?.fieldName;h&&s.push(h.toLocaleLowerCase())}return s},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await F(this.mapView.map,e,!1,!1,!0,i,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await this._table?.refresh(),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){this._layer&&this.mapView&&await g(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await S(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,this._getFullTextSearchInfo()})}this._fetchingData=!1}_getColumnTemplates(e,t){let i;this.mapInfo?.layerOptions?.layers.some(l=>l.id===e?(i=l,!0):!1);let s=this._layer?.attributeTableTemplate?.elements,a=[];s?.length>0&&this.honorMapFieldSettings&&(a=s.map(l=>l.fieldName));let h=i?.fields&&i?.fieldOrder?i.fieldOrder.filter(l=>i?.fields&&i.fields.indexOf(l)>-1):a.length>0?a:void 0,o;return t&&(o=t.reduce((l,r)=>{let u={type:"field",fieldName:r.name,label:r.alias,menuConfig:this._getMenuConfig(r.name)};return i&&i?.fields?i.fields.indexOf(r.name)>-1&&l.push(u):a.length>0?a.indexOf(r.name)>-1&&l.push(u):l.push(u),l},[])),o?h?o?.sort(this._sortFields.bind(this,h)):o:[]}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};I("layer-table",b);export{b as LayerTable};
@@ -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{b as p,v as m}from"./ZY26SHW7.js";import"./KKHP5J6S.js";import"./3V6CMPYL.js";import{e as g}from"./JDFGWL2P.js";import{c as o,t as c,u as d,y as l,z as h}from"./77FG2UXK.js";import"./QSYR7Q6X.js";import{a as v,c as r,e as f,h as w}from"./YYNMVPOT.js";import"./V5XUAHEB.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
@@ -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 as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./ZY26SHW7.js";import"./KKHP5J6S.js";import"./3V6CMPYL.js";import{C as Ce,E as ke,c as Re,z as Se}from"./77FG2UXK.js";import{a as Me,c as g,e as Ee,h as ce}from"./YYNMVPOT.js";import"./V5XUAHEB.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
@@ -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 l}from"./6EQSCBDC.js";import{B as o,c as r,d as a,n as s,w as n}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var c=r`/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as l}from"./VERJI2SH.js";import{B as o,c as r,d as a,n as s,w as n}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var c=r`/** @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 l}from"./6EQSCBDC.js";import{B as o,c as r,d as a,n as s,w as n}from
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{@apply block;}.container-border{@apply overflow-y-auto;}.org-var-header{@apply mx-0 mt-0 mb-4;}`,t=class extends n{constructor(){super(...arguments),this.value="",this._organizationVariables=[],this._translations=l({name:"solution-organization-variables",blocking:!0}),this.organizationVariableSelected=s()}static{this.properties={value:3,_organizationVariables:16,_translations:16}}static{this.styles=c}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!=="")&&this.valueWatchHandler()}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}load(){}render(){return a`<div><h4 class="org-var-header">${this._translations.orgVariables}</h4></div><div class="container-border"><calcite-tree id=variable-label>${this._renderHierarchy(this._organizationVariables)}</calcite-tree></div>`}_renderHierarchy(e){return e.map(i=>a`<calcite-tree-item @click=${()=>this._treeItemSelected(i.id,i.value)}>${i.title}</calcite-tree-item>`)}_treeItemSelected(e,i){this.organizationVariableSelected.emit({itemId:e,value:i})}};o("solution-organization-variables",t);export{t as SolutionOrganizationVariables};
18
+ */:host{@apply block;}.container-border{@apply overflow-y-auto;}.org-var-header{@apply mx-0 mt-0 mb-4;}`,t=class extends n{constructor(){super(...arguments),this.value="",this._organizationVariables=[],this._translations=l({name:"solution-organization-variables",blocking:!0}),this.organizationVariableSelected=s()}static{this.properties={value:3,_organizationVariables:16,_translations:16}}static{this.styles=c}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!=="")&&this.valueWatchHandler()}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}render(){return a`<div><h4 class="org-var-header">${this._translations.orgVariables}</h4></div><div class="container-border"><calcite-tree id=variable-label>${this._renderHierarchy(this._organizationVariables)}</calcite-tree></div>`}_renderHierarchy(e){return e.map(i=>a`<calcite-tree-item @click=${()=>this._treeItemSelected(i.id,i.value)}>${i.title}</calcite-tree-item>`)}_treeItemSelected(e,i){this.organizationVariableSelected.emit({itemId:e,value:i})}};o("solution-organization-variables",t);export{t as SolutionOrganizationVariables};
@@ -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 u,e as h}from"./KRMQR6PO.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"./WK4XUJYY.js";import{B as l,n as o,q as n,w as i}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as u,e as h}from"./VHM7TR5J.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"./WCO2JYT7.js";import{B as l,n as o,q as n,w as i}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
@@ -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,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 n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o as b};
@@ -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,b}from"./HP45S4UO.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -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,b}from"./LAEMDHMW.js";import"./UBKKMKS7.js";import"./E575ADYG.js";import"./WYNYF36Y.js";import"./ZIIYJYM3.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a,b}from"./EJZKFB4Z.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";export{a as PageEditorTypes,b as PageSchema};
@@ -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{j as n}from"./4S47NFM3.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
3
+ v1.0.0-next.20250506.1 */
4
+ import{j as n}from"./77FG2UXK.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
@@ -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,b}from"./WY7PHM6L.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -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 t}from"./2WYQDE5Z.js";import"./JYHXLAK7.js";import"./PFPXYDRH.js";import"./LGYRQXSU.js";import"./YFDRQUEW.js";import"./4UUPLRGU.js";import"./TXARZDSW.js";import"./ZIIYJYM3.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as t}from"./HPSATKU6.js";import"./5IPD66RZ.js";import"./ZZRTACNG.js";import"./FXQSFX4Q.js";import"./Z2FRREMF.js";import"./ZEFQFCIT.js";import"./E4P22JZK.js";import"./V5XUAHEB.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m 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
  var n="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function t(e){return e||n}export{t as a};
@@ -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{b as e,e as r}from"./7KYKOF2I.js";import"./SQOEM3P5.js";import"./IDFBPJOG.js";import"./W3ANKXXH.js";import{d as t}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"./E4P22JZK.js";import"./V5XUAHEB.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
@@ -1,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"./HEEO2XNR.js";import{a as l,b as p}from"./IMLKKE2U.js";import"./LGYRQXSU.js";import{b as m}from"./SBPJJXZK.js";import{a}from"./4UUPLRGU.js";import"./ZIIYJYM3.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as s}from"./QCUKGKOV.js";import{a as l,b as p}from"./5XCBVPEJ.js";import"./FXQSFX4Q.js";import{b as m}from"./VQQVMG7C.js";import{a}from"./ZEFQFCIT.js";import"./V5XUAHEB.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};