@esri/solutions-components 1.1.0-next.20251007.1 → 1.1.0-next.20251008

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 (461) hide show
  1. package/dist/cdn/22HOZHYX.js +4 -0
  2. package/dist/cdn/{JCWR4TWW.js → 25STH4FV.js} +2 -2
  3. package/dist/cdn/{YR3KFLNK.js → 263SV4HF.js} +1 -1
  4. package/dist/cdn/{T5XIUPXJ.js → 2BAELQ2B.js} +2 -2
  5. package/dist/cdn/{3HKMAZ7P.js → 2EF5YORW.js} +2 -2
  6. package/dist/cdn/{VC7JUA25.js → 2KTV6DNT.js} +2 -2
  7. package/dist/cdn/{2JPHX4SI.js → 2L3BXXVO.js} +2 -2
  8. package/dist/cdn/{DBL73LBF.js → 2LK6LIO5.js} +2 -2
  9. package/dist/cdn/{QFSXTIFX.js → 2N6QQ6SY.js} +2 -2
  10. package/dist/cdn/{NFKSCTP6.js → 2QQAS4R2.js} +2 -2
  11. package/dist/cdn/{4CAOPIEU.js → 2SH7WOTJ.js} +2 -2
  12. package/dist/cdn/{MABSRXW6.js → 2SJENBGK.js} +2 -2
  13. package/dist/cdn/{LRBCBZRO.js → 2Y2GJJC3.js} +2 -2
  14. package/dist/cdn/{2XKY7VRX.js → 2ZNOUB6W.js} +1 -1
  15. package/dist/cdn/{JTBFE7YA.js → 36E4KEBV.js} +2 -2
  16. package/dist/cdn/{QQNIUC7N.js → 374NLSIQ.js} +2 -2
  17. package/dist/cdn/{BFOMDLQR.js → 3OL3LYTL.js} +2 -2
  18. package/dist/cdn/{STLOP6CJ.js → 3TQQK7PR.js} +2 -2
  19. package/dist/cdn/{HEHJKFLZ.js → 3WYRUOQV.js} +2 -2
  20. package/dist/cdn/{F2GUNTZS.js → 42CEBWL3.js} +2 -2
  21. package/dist/cdn/{ZCQZCQRA.js → 45SM5GZH.js} +2 -2
  22. package/dist/cdn/{RRW7XCIA.js → 47FKRLN3.js} +2 -2
  23. package/dist/cdn/{JQ6UI5DX.js → 4A3TOTX4.js} +2 -2
  24. package/dist/cdn/{3RLT36PX.js → 4NWKDPWF.js} +2 -2
  25. package/dist/cdn/{J5CQZYBN.js → 4OYX2EDV.js} +2 -2
  26. package/dist/cdn/{OVHCX5V6.js → 4PNQRCRH.js} +2 -2
  27. package/dist/cdn/{S7YJOERY.js → 4QB7LJGO.js} +2 -2
  28. package/dist/cdn/{LEA3NJJT.js → 4SNILCIZ.js} +2 -2
  29. package/dist/cdn/{WKHVDG5Y.js → 4YDLQWYV.js} +2 -2
  30. package/dist/cdn/{34LYISA3.js → 54N6KCW5.js} +1 -1
  31. package/dist/cdn/{TJSIZLLY.js → 57QWWLMF.js} +2 -2
  32. package/dist/cdn/{5J7ZEQ2M.js → 5BFBQDAX.js} +2 -2
  33. package/dist/cdn/{R7HB6UKH.js → 5DY37DLG.js} +2 -2
  34. package/dist/cdn/{PBB762NR.js → 5IDSR36K.js} +2 -2
  35. package/dist/cdn/{J4RPWXAZ.js → 5L4OVBYY.js} +2 -2
  36. package/dist/cdn/{HQ6LUKCF.js → 5LX2D35I.js} +2 -2
  37. package/dist/cdn/{RCTGL2FP.js → 5M7LHGH5.js} +2 -2
  38. package/dist/cdn/{UJILZPVR.js → 5TQPWXSR.js} +2 -2
  39. package/dist/cdn/{CDDJYJ5L.js → 5XAMNT64.js} +2 -2
  40. package/dist/cdn/{2IQTEPJZ.js → 5YDUOHOV.js} +2 -2
  41. package/dist/cdn/{ZMNQWO6W.js → 623QMCWN.js} +2 -2
  42. package/dist/cdn/{LTIDIJED.js → 6SPEIDJ5.js} +2 -2
  43. package/dist/cdn/{IX75FB6F.js → 6UVMKSM6.js} +2 -2
  44. package/dist/cdn/{ZR6UK3UQ.js → 6YUA724T.js} +2 -2
  45. package/dist/cdn/{DWRK4ASH.js → 7B43KCMJ.js} +2 -2
  46. package/dist/cdn/{K4A3KV5F.js → 7CXVN7JC.js} +2 -2
  47. package/dist/cdn/{YVDGEJ2V.js → 7D7PLTZ4.js} +2 -2
  48. package/dist/cdn/{RNW4CN66.js → 7DWTV2LQ.js} +1 -1
  49. package/dist/cdn/{H57LSFQD.js → 7E5346VE.js} +2 -2
  50. package/dist/cdn/{HWA4KP7B.js → 7JDWKOEP.js} +2 -2
  51. package/dist/cdn/{23RNYCUX.js → 7QOJ6BUQ.js} +2 -2
  52. package/dist/cdn/{G7E4MRCF.js → 7WSAYORV.js} +2 -2
  53. package/dist/cdn/A2SOYARZ.js +4 -0
  54. package/dist/cdn/{XUNDEPWU.js → A37NFP5A.js} +2 -2
  55. package/dist/cdn/{2JDTOOWA.js → A5VQCLH7.js} +2 -2
  56. package/dist/cdn/{IIEAS4PG.js → A7TMB3QO.js} +2 -2
  57. package/dist/cdn/{KQMB6PS2.js → AB2P367V.js} +2 -2
  58. package/dist/cdn/{UORRX6O6.js → AFR63NC6.js} +2 -2
  59. package/dist/cdn/{LGFUKV3N.js → AMNWNL4P.js} +2 -2
  60. package/dist/cdn/{NBPA6RIJ.js → ANAUQEPH.js} +2 -2
  61. package/dist/cdn/{UJ4Y66SF.js → ANGKYR7S.js} +2 -2
  62. package/dist/cdn/{GVG6ZDPJ.js → ANZA36SE.js} +1 -1
  63. package/dist/cdn/{5O442EOV.js → APLZT37S.js} +2 -2
  64. package/dist/cdn/{6NQMSBTC.js → AQAS2VQU.js} +2 -2
  65. package/dist/cdn/{UGCF4OIU.js → AUSMFDSO.js} +2 -2
  66. package/dist/cdn/{GQXZWV6G.js → AVPIETYT.js} +2 -2
  67. package/dist/cdn/{RY5P5BOU.js → B3HR5WXG.js} +2 -2
  68. package/dist/cdn/{FJRO4BGU.js → B6S6Q4VM.js} +2 -2
  69. package/dist/cdn/{GVJ62BVM.js → BDQFIIOP.js} +2 -2
  70. package/dist/cdn/{AOIBL2RW.js → BEBRHZ2J.js} +2 -2
  71. package/dist/cdn/{HZX2QANF.js → BGSIHZYK.js} +2 -2
  72. package/dist/cdn/{UCIJ7OPK.js → BL3ABOXI.js} +2 -2
  73. package/dist/cdn/{VKSJKOE2.js → BLAQKSE6.js} +2 -2
  74. package/dist/cdn/{NAM7IFVX.js → BTRVTK3N.js} +2 -2
  75. package/dist/cdn/{M3YEP4VL.js → C2SRKJY7.js} +2 -2
  76. package/dist/cdn/{B5IQKISE.js → CC7TCB4L.js} +2 -2
  77. package/dist/cdn/{4OSFXM5I.js → CDUOU5I4.js} +2 -2
  78. package/dist/cdn/{GDEFDXOK.js → CGO5LGR7.js} +2 -2
  79. package/dist/cdn/{7BHBEVAM.js → CJFSFE4Q.js} +1 -1
  80. package/dist/cdn/{DI5J2CFS.js → COEKS3L4.js} +2 -2
  81. package/dist/cdn/{QTCBCQZ2.js → COOGOQHS.js} +2 -2
  82. package/dist/cdn/{E64NA5IJ.js → CPJVO4SH.js} +2 -2
  83. package/dist/cdn/{G7ZYRIBV.js → CQTWI4PI.js} +2 -2
  84. package/dist/cdn/{SPDKTODN.js → CQUVF2LM.js} +2 -2
  85. package/dist/cdn/{Q2VEBPMP.js → CYOMKXQH.js} +2 -2
  86. package/dist/cdn/{PZIZHAUI.js → CZSGGEZF.js} +1 -1
  87. package/dist/cdn/{MSKGANWQ.js → D24CA6LL.js} +2 -2
  88. package/dist/cdn/{3VXZONLC.js → DAYQPNTV.js} +2 -2
  89. package/dist/cdn/{IU7QMDBW.js → DBJPHEAI.js} +2 -2
  90. package/dist/cdn/{BYS6RPZ2.js → DDRZWXLZ.js} +2 -2
  91. package/dist/cdn/{GMAB24CO.js → DOLZSVSX.js} +2 -2
  92. package/dist/cdn/{MTR7Y7K2.js → DQAWVIZ7.js} +2 -2
  93. package/dist/cdn/{PV7JIFLO.js → DQDVULCQ.js} +2 -2
  94. package/dist/cdn/{TEASRN7Y.js → DXNMODEI.js} +2 -2
  95. package/dist/cdn/{DYB57UXW.js → DYBE22PJ.js} +1 -1
  96. package/dist/cdn/{OYBWUNBR.js → E2MZSR7U.js} +2 -2
  97. package/dist/cdn/{3N4ZRI2R.js → E2VLBYBH.js} +1 -1
  98. package/dist/cdn/{HXPCAYJ4.js → E5LNTRL7.js} +2 -2
  99. package/dist/cdn/{KTHYYGAI.js → ECOUV44T.js} +1 -1
  100. package/dist/cdn/EDGP2MKC.js +4 -0
  101. package/dist/cdn/{P5IYMZPU.js → EDUNXFWF.js} +2 -2
  102. package/dist/cdn/{SBQBYF4K.js → ELVJVOF7.js} +2 -2
  103. package/dist/cdn/{DLS6LBMG.js → EPVSXMMR.js} +2 -2
  104. package/dist/cdn/{OFKVPYAH.js → ET7554LK.js} +2 -2
  105. package/dist/cdn/{5DCSTFQL.js → EU4DOU3Q.js} +2 -2
  106. package/dist/cdn/{345KHFAP.js → F3FOBCCL.js} +2 -2
  107. package/dist/cdn/{EVLATB2D.js → F5VNMPDE.js} +2 -2
  108. package/dist/cdn/{DTUV2SZQ.js → FJCFCDT4.js} +1 -1
  109. package/dist/cdn/{HDQRTX7R.js → FL6BD6TD.js} +2 -2
  110. package/dist/cdn/{RQQGLISY.js → FMQHATJ4.js} +2 -2
  111. package/dist/cdn/{LRLICM5M.js → FMWXSSZ4.js} +2 -2
  112. package/dist/cdn/{TXOENDRN.js → FN2OHJMA.js} +2 -2
  113. package/dist/cdn/{XROGQBEM.js → FP2X4HGU.js} +2 -2
  114. package/dist/cdn/{NFZQVDQY.js → FQCEMQLK.js} +2 -2
  115. package/dist/cdn/{ZCZDGBZT.js → FWHGSXC7.js} +2 -2
  116. package/dist/cdn/{6UA7MGMQ.js → G2WTF5L7.js} +2 -2
  117. package/dist/cdn/{WIKHUM7W.js → G3OWUZUL.js} +1 -1
  118. package/dist/cdn/{X4GJCR5U.js → GAF7MRHW.js} +2 -2
  119. package/dist/cdn/{DGG2R6PP.js → GEJYMCY4.js} +1 -1
  120. package/dist/cdn/{5RXTZLQN.js → GEWPH5ED.js} +2 -2
  121. package/dist/cdn/{DVEARR2O.js → GF2M5LOG.js} +1 -1
  122. package/dist/cdn/{PNMWHG2A.js → GFS4R63J.js} +2 -2
  123. package/dist/cdn/{WYPW3YEU.js → GI4NERHI.js} +2 -2
  124. package/dist/cdn/{KWQLECX2.js → GIMIQHFZ.js} +1 -1
  125. package/dist/cdn/{4JV2VXKH.js → GNGZYRK5.js} +2 -2
  126. package/dist/cdn/{DI6ZYUOP.js → GOSQMPLD.js} +2 -2
  127. package/dist/cdn/{4KRZ5XHU.js → GP4O5WSB.js} +2 -2
  128. package/dist/cdn/{CH3UFK6C.js → GRXEIRTE.js} +2 -2
  129. package/dist/cdn/{UGP753AZ.js → GSPU2UNM.js} +2 -2
  130. package/dist/cdn/GYSALAOZ.js +18 -0
  131. package/dist/cdn/H3SLHGJW.js +18 -0
  132. package/dist/cdn/{73EFR23S.js → H42IJHAX.js} +2 -2
  133. package/dist/cdn/{BFFYBBYG.js → H4WXQMTT.js} +2 -2
  134. package/dist/cdn/{5GWC7QG2.js → HBBXC2RM.js} +2 -2
  135. package/dist/cdn/{K3NGXIK7.js → HCXJO4ZV.js} +2 -2
  136. package/dist/cdn/{57TU2757.js → HFMYMAZO.js} +2 -2
  137. package/dist/cdn/{DFILBYHH.js → HGIEQRFC.js} +2 -2
  138. package/dist/cdn/{QICKVKJ3.js → HH54CNIV.js} +2 -2
  139. package/dist/cdn/{P2LJZ4R7.js → HPCUUO33.js} +1 -1
  140. package/dist/cdn/{UULSSUP6.js → HVMHED6V.js} +2 -2
  141. package/dist/cdn/{6QXPQNVW.js → HWYOXZWU.js} +2 -2
  142. package/dist/cdn/{EXJGT27X.js → HZ23755H.js} +2 -2
  143. package/dist/cdn/{TU6YWCRM.js → HZXKVSID.js} +2 -2
  144. package/dist/cdn/{ESJZHLJI.js → I2HXAHV6.js} +2 -2
  145. package/dist/cdn/{AE5B7BUN.js → I6RK367K.js} +2 -2
  146. package/dist/cdn/{I4DJ4JRG.js → I7TITAT7.js} +2 -2
  147. package/dist/cdn/{BXYGEACI.js → IENRYNZD.js} +2 -2
  148. package/dist/cdn/{IZG3RDWO.js → IG5F5THG.js} +2 -2
  149. package/dist/cdn/{L5L5B3F7.js → IGET5O6R.js} +2 -2
  150. package/dist/cdn/{QUTZBGPK.js → IHHCLWCL.js} +2 -2
  151. package/dist/cdn/{MUI3SV2F.js → IM6X6CEL.js} +1 -1
  152. package/dist/cdn/{GULWP3VY.js → IMUYTCYZ.js} +1 -1
  153. package/dist/cdn/{QZIXBRKD.js → IPA4TRIC.js} +2 -2
  154. package/dist/cdn/{EKX2N43V.js → IQ6TRK4L.js} +2 -2
  155. package/dist/cdn/{KN3W5O5A.js → IRYYSNTA.js} +2 -2
  156. package/dist/cdn/{TAW7AKE2.js → IY6WWNIE.js} +1 -1
  157. package/dist/cdn/{NPPBXCED.js → IZESOTQ5.js} +2 -2
  158. package/dist/cdn/{7FTQ4TRE.js → IZT7SBVB.js} +2 -2
  159. package/dist/cdn/{RF4OY5XZ.js → J2SHXZLC.js} +2 -2
  160. package/dist/cdn/{7AGOME7H.js → J4URZEGS.js} +2 -2
  161. package/dist/cdn/{RPLMPA4K.js → J7IIBYLE.js} +2 -2
  162. package/dist/cdn/{BZWC5JDO.js → J7NZ7TAB.js} +2 -2
  163. package/dist/cdn/{EX7YXNQ4.js → J7VZH6OU.js} +2 -2
  164. package/dist/cdn/{2REXDZPZ.js → JCUUEAUP.js} +2 -2
  165. package/dist/cdn/{34FJLUMK.js → JEFNAYRC.js} +2 -2
  166. package/dist/cdn/{SMDTMEBE.js → JEW4GF3X.js} +2 -2
  167. package/dist/cdn/{IWEQMWUA.js → JHLJUNXJ.js} +2 -2
  168. package/dist/cdn/{5AU3UVVI.js → JO2YIPSA.js} +2 -2
  169. package/dist/cdn/{EQAAQXEV.js → JOOKJHEK.js} +2 -2
  170. package/dist/cdn/{QR2SQTCH.js → JOR5XTA7.js} +2 -2
  171. package/dist/cdn/{GJYAJRU4.js → JP6YXAPE.js} +2 -2
  172. package/dist/cdn/{YHJCXSZM.js → JQUH7OAI.js} +2 -2
  173. package/dist/cdn/{JPSXG3OI.js → JTVAOAZ7.js} +2 -2
  174. package/dist/cdn/{UBMWX24K.js → JWSJC4JO.js} +2 -2
  175. package/dist/cdn/{EKKF5NYB.js → KISUUVHL.js} +2 -2
  176. package/dist/cdn/{SVLZC43Y.js → KJZHHJQ5.js} +2 -2
  177. package/dist/cdn/{IKQVO7HX.js → KTV27UYP.js} +2 -2
  178. package/dist/cdn/{7BHDIJKI.js → KVQZP6O4.js} +2 -2
  179. package/dist/cdn/{3EWQDBJH.js → KYHIL5F4.js} +2 -2
  180. package/dist/cdn/{ZCEFL75O.js → L6BR25YZ.js} +1 -1
  181. package/dist/cdn/{TFAY3XOM.js → LAGZ2SQ3.js} +2 -2
  182. package/dist/cdn/LBLOOCAJ.js +4 -0
  183. package/dist/cdn/{ZKZ2XXJ5.js → LD2YG4B3.js} +1 -1
  184. package/dist/cdn/{WPKL5LOX.js → LFOXHOWK.js} +2 -2
  185. package/dist/cdn/{3ZLTU5S3.js → LKYGCBTO.js} +2 -2
  186. package/dist/cdn/{VAHPHPAM.js → LL7K7GIF.js} +2 -2
  187. package/dist/cdn/{DJUAK5MT.js → LMADLYWT.js} +2 -2
  188. package/dist/cdn/{QNQNS3YE.js → LMRAWAJ5.js} +2 -2
  189. package/dist/cdn/{KPOOC4MV.js → LPARSJGC.js} +2 -2
  190. package/dist/cdn/{GA5JF4P7.js → LQAZAPET.js} +2 -2
  191. package/dist/cdn/{OGNRB6E5.js → LQL2QL7Z.js} +2 -2
  192. package/dist/cdn/{B35SCOYC.js → LRA2CSKG.js} +1 -1
  193. package/dist/cdn/{2BRFHP6L.js → LS63AKYZ.js} +2 -2
  194. package/dist/cdn/{4W6APK4T.js → M44X66YE.js} +2 -2
  195. package/dist/cdn/{KT4U4H5W.js → M4XLFOSN.js} +2 -2
  196. package/dist/cdn/{OLJB5ZX6.js → M4YVUIRX.js} +2 -2
  197. package/dist/cdn/{UZMJJZUY.js → ML4GADOT.js} +2 -2
  198. package/dist/cdn/{BJMGBP2V.js → MM5ZJPEL.js} +3 -3
  199. package/dist/cdn/{RMJIAKHU.js → MMFULDI7.js} +1 -1
  200. package/dist/cdn/{BKVX5QXH.js → MNFNMNHC.js} +2 -2
  201. package/dist/cdn/{AJVXYTUE.js → MNLAU654.js} +2 -2
  202. package/dist/cdn/{OG4CBZGX.js → MTSR3QI3.js} +2 -2
  203. package/dist/cdn/{LCV7OVBM.js → MTVIEZFJ.js} +1 -1
  204. package/dist/cdn/{WZEK7EH3.js → MVJ6KPI4.js} +2 -2
  205. package/dist/cdn/{MEW5LPR4.js → MYCZWDNE.js} +2 -2
  206. package/dist/cdn/{5XRHV2ZL.js → N66TSCL2.js} +2 -2
  207. package/dist/cdn/{ZGDN65OM.js → N7UJGANS.js} +2 -2
  208. package/dist/cdn/{6POPEKGV.js → NAHN46XY.js} +2 -2
  209. package/dist/cdn/{NLHAWQMM.js → ND2ICMWM.js} +2 -2
  210. package/dist/cdn/{EP6GQK76.js → NFBCBMDM.js} +2 -2
  211. package/dist/cdn/{AMNEPKZH.js → NHJBWAQB.js} +2 -2
  212. package/dist/cdn/{6H3E6UDA.js → NQU5NMT4.js} +2 -2
  213. package/dist/cdn/{YUQNIMR3.js → NRAACAEG.js} +2 -2
  214. package/dist/cdn/{WJ7A5A7U.js → NS6VPU4I.js} +1 -1
  215. package/dist/cdn/{GTPYKXHI.js → NVCH434R.js} +2 -2
  216. package/dist/cdn/{ZVXYK72X.js → NVUDY5NV.js} +2 -2
  217. package/dist/cdn/{2IUHBPHJ.js → NWOQI5RY.js} +2 -2
  218. package/dist/cdn/{PUWI27EJ.js → NXOJQH57.js} +2 -2
  219. package/dist/cdn/{JMWRTMVY.js → O3NGJV5R.js} +2 -2
  220. package/dist/cdn/{LZGJ2VAE.js → O3XKIE2J.js} +2 -2
  221. package/dist/cdn/{RD2WX543.js → O4NDGWYY.js} +2 -2
  222. package/dist/cdn/{CCH7SIF3.js → O645VA3P.js} +2 -2
  223. package/dist/cdn/{XVO576HM.js → OGG7NDCX.js} +2 -2
  224. package/dist/cdn/{GZPVVSWK.js → OINEKCE3.js} +2 -2
  225. package/dist/cdn/{EYPTTOZ2.js → ON3637KX.js} +2 -2
  226. package/dist/cdn/{F5JHIBTP.js → ONGKQVFQ.js} +2 -2
  227. package/dist/cdn/{YKPZ7RKE.js → OPROEGUT.js} +1 -1
  228. package/dist/cdn/{CS6TGE3X.js → OSNJFNHS.js} +2 -2
  229. package/dist/cdn/{MOWTE4AA.js → OTJ74M6I.js} +2 -2
  230. package/dist/cdn/{QCXP5YUZ.js → OU7ZZNCL.js} +1 -1
  231. package/dist/cdn/{MOOEJTQD.js → OWKQHEDJ.js} +2 -2
  232. package/dist/cdn/{YKONETBH.js → OYTQ6PFI.js} +2 -2
  233. package/dist/cdn/{YPL6GT6C.js → P3LEA437.js} +2 -2
  234. package/dist/cdn/{UCRPQIXK.js → PA5TUTEY.js} +2 -2
  235. package/dist/cdn/{VHD5YYNN.js → PBMCCNWE.js} +2 -2
  236. package/dist/cdn/{SR6AD4QD.js → PCDF6QXH.js} +2 -2
  237. package/dist/cdn/{MWI33SCU.js → PEBGTHOV.js} +2 -2
  238. package/dist/cdn/{UZDSE25E.js → PKE6K37P.js} +2 -2
  239. package/dist/cdn/PNH267VP.js +4 -0
  240. package/dist/cdn/{LUM3VJFG.js → PQ6SIGKH.js} +2 -2
  241. package/dist/cdn/{PYA6BXUC.js → PQE2G3DC.js} +2 -2
  242. package/dist/cdn/{P5B5OPJ7.js → PQHKBYCX.js} +2 -2
  243. package/dist/cdn/{IUTBQRGE.js → PRHI2P5H.js} +2 -2
  244. package/dist/cdn/{CCZWYN2L.js → PRI7A4BS.js} +2 -2
  245. package/dist/cdn/{KNMEMHVR.js → Q236VD3E.js} +2 -2
  246. package/dist/cdn/{25EAY44P.js → Q2HKN3EB.js} +2 -2
  247. package/dist/cdn/{DOTRAWE3.js → Q2NJEOXE.js} +2 -2
  248. package/dist/cdn/{XFDZQS6K.js → QB7QGBQT.js} +2 -2
  249. package/dist/cdn/{DMVMCVRH.js → QFBJ4JMR.js} +2 -2
  250. package/dist/cdn/{HS46BROK.js → QJF73Q5E.js} +2 -2
  251. package/dist/cdn/{TQ6ETPV2.js → QLYZZQM4.js} +2 -2
  252. package/dist/cdn/{ZZPWM2Q2.js → QMVFKBCB.js} +2 -2
  253. package/dist/cdn/{7JP2H6ZO.js → QPEF7Z34.js} +1 -1
  254. package/dist/cdn/{RAB2KG7C.js → QPLFQF7K.js} +2 -2
  255. package/dist/cdn/{IJVCRHJI.js → QXHCTHCT.js} +2 -2
  256. package/dist/cdn/{GDX66WJC.js → QY2P42L7.js} +2 -2
  257. package/dist/cdn/{XBG4WOKU.js → R5MOYHJE.js} +2 -2
  258. package/dist/cdn/{PXNBWHFQ.js → R6ONUXKR.js} +2 -2
  259. package/dist/cdn/{W7JZXZPW.js → RBRMIPTS.js} +2 -2
  260. package/dist/cdn/{FOAMHQSE.js → RC6YB5BA.js} +2 -2
  261. package/dist/cdn/{GFCI4PRE.js → RDSFFS6W.js} +2 -2
  262. package/dist/cdn/{JFY2GKYD.js → RI2IDZMD.js} +2 -2
  263. package/dist/cdn/RUEEHVFT.js +4 -0
  264. package/dist/cdn/{CWW4TIP3.js → RUSZENO2.js} +2 -2
  265. package/dist/cdn/{HVZETBKB.js → RVDQCXWZ.js} +2 -2
  266. package/dist/cdn/{DS5QDJCC.js → RWBGHIUR.js} +1 -1
  267. package/dist/cdn/{Y4L2AKM4.js → RWBWO74A.js} +2 -2
  268. package/dist/cdn/{P5WTX4AV.js → RYNPSM5K.js} +2 -2
  269. package/dist/cdn/{QGZTCXHZ.js → S2ATXCOV.js} +2 -2
  270. package/dist/cdn/{NFRKDOES.js → S3CGUDVW.js} +2 -2
  271. package/dist/cdn/{MWR75R54.js → S5Z53TV7.js} +2 -2
  272. package/dist/cdn/{XGVXQSHY.js → S73UN6E4.js} +1 -1
  273. package/dist/cdn/{DI33435F.js → SCMHHOIO.js} +2 -2
  274. package/dist/cdn/{NF6OXWYZ.js → SMAWIWJ6.js} +2 -2
  275. package/dist/cdn/{5QRVI2WO.js → SSDCAJ6N.js} +2 -2
  276. package/dist/cdn/{X42IJITC.js → SUYDCMXS.js} +2 -2
  277. package/dist/cdn/{2GQ6UAM3.js → SV4ET5K3.js} +2 -2
  278. package/dist/cdn/{ANCQW5PF.js → SXV4IA3Z.js} +2 -2
  279. package/dist/cdn/{KCBJMAWP.js → T3IDFFI6.js} +2 -2
  280. package/dist/cdn/{NNMWJY4Z.js → T3TL4XE3.js} +2 -2
  281. package/dist/cdn/{BCYRT74S.js → T62NCWWL.js} +2 -2
  282. package/dist/cdn/{FWXW2OGJ.js → T65DB2UP.js} +2 -2
  283. package/dist/cdn/{SJH7VZSJ.js → T6QN3XU6.js} +2 -2
  284. package/dist/cdn/{JTDCZR27.js → TIQJCA7O.js} +2 -2
  285. package/dist/cdn/{4SYLNZ6R.js → TMLWLTXU.js} +2 -2
  286. package/dist/cdn/{KJT67556.js → TNM3EP6X.js} +2 -2
  287. package/dist/cdn/{ARD3AXPX.js → TU5KAWJK.js} +2 -2
  288. package/dist/cdn/{BQPHIWVN.js → TUNQKYFT.js} +4 -4
  289. package/dist/cdn/{R4IJ6HK7.js → TX7HPSHQ.js} +2 -2
  290. package/dist/cdn/{ZF4FJHV3.js → U2VH2LKP.js} +2 -2
  291. package/dist/cdn/{P452FU2A.js → U7EPLCCV.js} +2 -2
  292. package/dist/cdn/{HPOZHIK5.js → UBKGY3QD.js} +2 -2
  293. package/dist/cdn/{ZUM45Z2W.js → UJGGK4LU.js} +2 -2
  294. package/dist/cdn/{M5JFBQYL.js → UPYXLGGJ.js} +2 -2
  295. package/dist/cdn/{LX4ZKNMH.js → UQBWYG5K.js} +2 -2
  296. package/dist/cdn/UQTYFBYY.js +4 -0
  297. package/dist/cdn/{IX2ARHHP.js → UWL3OUNV.js} +1 -1
  298. package/dist/cdn/{2LDXPYFC.js → V3D3KQMH.js} +2 -2
  299. package/dist/cdn/{IQ3OTAQ4.js → VE5CZHK7.js} +2 -2
  300. package/dist/cdn/{63P5O4B7.js → VF3UCUX7.js} +1 -1
  301. package/dist/cdn/{IVKF2SO2.js → VFCKMV6Y.js} +2 -2
  302. package/dist/cdn/{WO4C3IFF.js → VG5FZ7YA.js} +2 -2
  303. package/dist/cdn/{NTAVDV5K.js → VNKF4L77.js} +1 -1
  304. package/dist/cdn/{5IFHBEBL.js → VQ6LFGPE.js} +2 -2
  305. package/dist/cdn/{ZYDNODZ2.js → VRUSDHE4.js} +1 -1
  306. package/dist/cdn/{V4CZPJAQ.js → VSW5DJIW.js} +2 -2
  307. package/dist/cdn/{7XQPJP2O.js → VTWUPEWR.js} +2 -2
  308. package/dist/cdn/{W4SJRPXF.js → WAJHKOXL.js} +2 -2
  309. package/dist/cdn/{ZCNZIB5X.js → WBJF3AWY.js} +2 -2
  310. package/dist/cdn/WDD32CHP.js +4 -0
  311. package/dist/cdn/{MVFFFET6.js → WFTALSMZ.js} +2 -2
  312. package/dist/cdn/{MZIY6HZS.js → WGGFBKOM.js} +2 -2
  313. package/dist/cdn/{BAE55LHR.js → WISGIRW6.js} +2 -2
  314. package/dist/cdn/{ALGEWWHL.js → WLLNQ57Z.js} +2 -2
  315. package/dist/cdn/{OPKCXLSS.js → WN2KPHQU.js} +2 -2
  316. package/dist/cdn/{V4WS3ZTF.js → WNCFGM2E.js} +2 -2
  317. package/dist/cdn/{B5CXC6T4.js → WWIIN7JA.js} +2 -2
  318. package/dist/cdn/{BKPJQFOK.js → WWNHUF4A.js} +1 -1
  319. package/dist/cdn/{3SUWOWNI.js → XDCW4PUR.js} +2 -2
  320. package/dist/cdn/{FR56FFEG.js → XEXBFO26.js} +2 -2
  321. package/dist/cdn/{GB7NCS3L.js → XGLM2UZY.js} +1 -1
  322. package/dist/cdn/{O57CMSBW.js → XGSKNJHV.js} +2 -2
  323. package/dist/cdn/{TIRNR2CP.js → XLEE4XDL.js} +2 -2
  324. package/dist/cdn/{7CLVLK6R.js → XQ23FEV5.js} +1 -1
  325. package/dist/cdn/{EBYV7LDT.js → XTXQCLUY.js} +2 -2
  326. package/dist/cdn/{3QLHCKDF.js → XVNHEPOT.js} +2 -2
  327. package/dist/cdn/{WHHG5JY6.js → YECBIR5K.js} +1 -1
  328. package/dist/cdn/{DICVUCL7.js → YGUW733V.js} +2 -2
  329. package/dist/cdn/{TMGLEUWQ.js → YKXQ4DQK.js} +2 -2
  330. package/dist/cdn/{UD7VDAKG.js → YM3AVODQ.js} +2 -2
  331. package/dist/cdn/{EYJJXQ6T.js → YOXQ37WM.js} +2 -2
  332. package/dist/cdn/{IZQ3EUFI.js → YRWHOMVM.js} +2 -2
  333. package/dist/cdn/{DNWSUZU6.js → YRWXAGEM.js} +2 -2
  334. package/dist/cdn/{Y4ZPEHKX.js → YW6TF5XX.js} +1 -1
  335. package/dist/cdn/{WTC4UINM.js → YY64KEJX.js} +2 -2
  336. package/dist/cdn/{X7LWTITW.js → Z2MODIKC.js} +2 -2
  337. package/dist/cdn/{H6MAJN5V.js → Z54C5XQI.js} +2 -2
  338. package/dist/cdn/{BBV4DJRN.js → Z55VK2A4.js} +2 -2
  339. package/dist/cdn/{OUEQWNWU.js → ZDIUB5SS.js} +2 -2
  340. package/dist/cdn/{GTI7TTVN.js → ZE3LSA7J.js} +2 -2
  341. package/dist/cdn/{EHYIXKQK.js → ZKRVRV6G.js} +2 -2
  342. package/dist/cdn/index.js +2 -2
  343. package/dist/chunks/Auth.js +1 -1
  344. package/dist/chunks/CardsFetcher.js +1 -1
  345. package/dist/chunks/appConfig.js +1 -1
  346. package/dist/chunks/cardFetchingUtils.js +1 -1
  347. package/dist/chunks/cardsHelpers.js +1 -1
  348. package/dist/chunks/common.js +1 -1
  349. package/dist/chunks/deployAppContexts.js +1 -1
  350. package/dist/chunks/downloadUtils.js +1 -1
  351. package/dist/chunks/getItemIcon.js +1 -1
  352. package/dist/chunks/helpers.js +1 -1
  353. package/dist/chunks/interfaces.js +1 -1
  354. package/dist/chunks/loadModules.js +1 -1
  355. package/dist/chunks/mapViewUtils.js +1 -1
  356. package/dist/chunks/pciUtils.js +1 -1
  357. package/dist/chunks/popupUtils.js +1 -1
  358. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  359. package/dist/chunks/privilegeUtils.js +1 -1
  360. package/dist/chunks/publicNotificationContext.js +1 -1
  361. package/dist/chunks/queryUtils.js +1 -1
  362. package/dist/chunks/runtime.js +1 -1
  363. package/dist/chunks/solution-store.js +1 -1
  364. package/dist/chunks/templates.js +1 -1
  365. package/dist/chunks/useT9n.js +1 -1
  366. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  367. package/dist/components/basemap-gallery/customElement.js +1 -1
  368. package/dist/components/buffer-tools/customElement.js +1 -1
  369. package/dist/components/card-manager/customElement.js +1 -1
  370. package/dist/components/consent-manager/customElement.js +1 -1
  371. package/dist/components/create-feature/customElement.js +1 -1
  372. package/dist/components/create-related-feature/customElement.js +1 -1
  373. package/dist/components/crowdsource-manager/customElement.js +1 -1
  374. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  375. package/dist/components/deduct-calculator/customElement.js +1 -1
  376. package/dist/components/delete-button/customElement.js +1 -1
  377. package/dist/components/delete-dialog/customElement.js +1 -1
  378. package/dist/components/edit-card/customElement.js +1 -1
  379. package/dist/components/feature-details/customElement.js +1 -1
  380. package/dist/components/feature-list/customElement.js +1 -1
  381. package/dist/components/field-selection/customElement.d.ts +2 -0
  382. package/dist/components/field-selection/customElement.js +93 -88
  383. package/dist/components/floor-filter/customElement.js +1 -1
  384. package/dist/components/info-card/customElement.js +1 -1
  385. package/dist/components/json-editor/customElement.js +1 -1
  386. package/dist/components/layer-list/customElement.js +1 -1
  387. package/dist/components/layer-table/customElement.d.ts +1 -1
  388. package/dist/components/layer-table/customElement.js +52 -50
  389. package/dist/components/map-card/customElement.js +1 -1
  390. package/dist/components/map-draw-tools/customElement.js +1 -1
  391. package/dist/components/map-fullscreen/customElement.js +1 -1
  392. package/dist/components/map-layer-picker/customElement.js +1 -1
  393. package/dist/components/map-legend/customElement.js +1 -1
  394. package/dist/components/map-picker/customElement.js +1 -1
  395. package/dist/components/map-search/customElement.js +1 -1
  396. package/dist/components/map-select-tools/customElement.js +1 -1
  397. package/dist/components/map-tools/customElement.js +1 -1
  398. package/dist/components/pci-calculator/customElement.js +1 -1
  399. package/dist/components/pdf-download/customElement.js +1 -1
  400. package/dist/components/public-notification/customElement.js +1 -1
  401. package/dist/components/refine-selection/customElement.js +1 -1
  402. package/dist/components/selection-tool/customElement.js +1 -1
  403. package/dist/components/solution-article-card/customElement.js +1 -1
  404. package/dist/components/solution-configuration/customElement.js +1 -1
  405. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  406. package/dist/components/solution-configure-titles/customElement.js +1 -1
  407. package/dist/components/solution-contents/customElement.js +1 -1
  408. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  410. package/dist/components/solution-deployed-card/customElement.js +1 -1
  411. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  412. package/dist/components/solution-details-card/customElement.js +1 -1
  413. package/dist/components/solution-details-panel/customElement.js +1 -1
  414. package/dist/components/solution-item/customElement.js +1 -1
  415. package/dist/components/solution-item-accordion/customElement.js +1 -1
  416. package/dist/components/solution-item-details/customElement.js +1 -1
  417. package/dist/components/solution-item-diagram/customElement.js +1 -1
  418. package/dist/components/solution-item-icon/customElement.js +1 -1
  419. package/dist/components/solution-item-sharing/customElement.js +1 -1
  420. package/dist/components/solution-organization-variables/customElement.js +1 -1
  421. package/dist/components/solution-resource-item/customElement.js +1 -1
  422. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  423. package/dist/components/solution-social-share/customElement.js +1 -1
  424. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  425. package/dist/components/solution-template-data/customElement.js +1 -1
  426. package/dist/components/solution-variables/customElement.js +1 -1
  427. package/dist/components/solutions-all-panel/customElement.js +1 -1
  428. package/dist/components/solutions-all-shell/customElement.js +1 -1
  429. package/dist/components/solutions-article-panel/customElement.js +1 -1
  430. package/dist/components/solutions-articles/customElement.js +1 -1
  431. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  432. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  433. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  434. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  435. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  436. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  437. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  438. package/dist/components/spatial-ref/customElement.js +1 -1
  439. package/dist/components/store-manager/customElement.js +1 -1
  440. package/dist/docs/api.json +30 -1
  441. package/dist/docs/docs.json +22 -1
  442. package/dist/docs/vscode.html-custom-data.json +7 -1
  443. package/dist/docs/web-types.json +15 -2
  444. package/dist/index.js +1 -1
  445. package/dist/loader.js +2 -2
  446. package/dist/types/lumina.d.ts +1 -1
  447. package/dist/types/preact.d.ts +1 -1
  448. package/dist/types/preact10.d.ts +1 -1
  449. package/dist/types/react.d.ts +1 -1
  450. package/dist/types/stencil.d.ts +1 -1
  451. package/package.json +1 -1
  452. package/dist/cdn/4HUZ576Y.js +0 -4
  453. package/dist/cdn/CFK4AONK.js +0 -18
  454. package/dist/cdn/CL5MMUY6.js +0 -18
  455. package/dist/cdn/DKFUHEDP.js +0 -4
  456. package/dist/cdn/FQOXWDCQ.js +0 -4
  457. package/dist/cdn/GJFBOOTQ.js +0 -4
  458. package/dist/cdn/KPK7R5G3.js +0 -4
  459. package/dist/cdn/NAXRAU2M.js +0 -4
  460. package/dist/cdn/OD3XVSB4.js +0 -4
  461. package/dist/cdn/PWZQUOIO.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a as n}from"./FWXW2OGJ.js";import{a as s}from"./NF6OXWYZ.js";import"./CWW4TIP3.js";import"./DGG2R6PP.js";import{a as o}from"./J5CQZYBN.js";import"./KWQLECX2.js";import"./GA5JF4P7.js";import"./DVEARR2O.js";import{a}from"./DNWSUZU6.js";import"./UCRPQIXK.js";import"./BKPJQFOK.js";import"./MABSRXW6.js";import"./DS5QDJCC.js";import"./WJ7A5A7U.js";import"./BBV4DJRN.js";import"./63P5O4B7.js";import"./7AGOME7H.js";import"./NFRKDOES.js";import"./P5WTX4AV.js";import"./CCZWYN2L.js";import"./LUM3VJFG.js";import"./DI6ZYUOP.js";import"./XBG4WOKU.js";import"./RF4OY5XZ.js";import"./LZGJ2VAE.js";import"./HZX2QANF.js";import"./EBYV7LDT.js";import"./GZPVVSWK.js";import"./34LYISA3.js";import"./GB7NCS3L.js";import"./TAW7AKE2.js";import"./RMJIAKHU.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b as buildUiSchema};
3
+ v1.1.0-next.20251008 */
4
+ import{a as n}from"./T65DB2UP.js";import{a as s}from"./SMAWIWJ6.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import{a as o}from"./4OYX2EDV.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import{a}from"./YRWXAGEM.js";import"./PA5TUTEY.js";import"./WWNHUF4A.js";import"./2SJENBGK.js";import"./RWBGHIUR.js";import"./NS6VPU4I.js";import"./Z55VK2A4.js";import"./VF3UCUX7.js";import"./J4URZEGS.js";import"./S3CGUDVW.js";import"./RYNPSM5K.js";import"./PRI7A4BS.js";import"./PQ6SIGKH.js";import"./GOSQMPLD.js";import"./R5MOYHJE.js";import"./J2SHXZLC.js";import"./O3XKIE2J.js";import"./BGSIHZYK.js";import"./XTXQCLUY.js";import"./OINEKCE3.js";import"./54N6KCW5.js";import"./XGLM2UZY.js";import"./IY6WWNIE.js";import"./MMFULDI7.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b as buildUiSchema};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20251008 */
4
+ import{b as A}from"./TUNQKYFT.js";import"./B6S6Q4VM.js";import"./QXHCTHCT.js";import"./LD2YG4B3.js";import"./MNLAU654.js";import"./KYHIL5F4.js";import"./M4YVUIRX.js";import"./XQ23FEV5.js";import"./YECBIR5K.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import"./VF3UCUX7.js";import"./VNKF4L77.js";import{a as C}from"./SXV4IA3Z.js";import"./S73UN6E4.js";import"./MNFNMNHC.js";import{c as F,d as O,j as m}from"./PQE2G3DC.js";import{j as b}from"./CZSGGEZF.js";import{c as S}from"./OU7ZZNCL.js";import{b as x}from"./263SV4HF.js";import{a as E}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as v}from"./DXNMODEI.js";import{C as u,D as g,E as T,G as f,h as w,i as o,l as c,o as _,r as I}from"./E2VLBYBH.js";import"./MMFULDI7.js";var H=w`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.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)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,y=class extends T{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._hideTable=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.columnReorder=_(),this.featureSelectionChange=_(),this.toggleFilter=_(),this.showDelete=_(),this.relatedRecordToggled=_(),this.editMultipleFeatures=_(),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),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_hideTable:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}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("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}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._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){if(this._hideTable=!1,this._fetchingData=!0,!this._layer){this._fetchingData=!1,this._hideTable=!0;return}try{await this._layer.when(),this._definitionExpression=this._layer.definitionExpression||"",this._floorField=this._layer.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl()}catch(e){console.error(e),this._hideTable=!0}finally{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])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[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 setColumnOrder(e){this._setColumnTemplates(e)}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 l=t.layer,h=this.mapView.allLayerViews.toArray(),n;h.some(async r=>r.layer.title===l?.title&&r.layer.type==="feature"?(n=r,this.mapView&&await m([i],n,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._size=0,this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData||this._hideTable?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",h=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${h&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${n=>void this._searchTextChanged(n)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<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></div>`}updated(){this._table&&this.updateRelatedAttachmentColumns()}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}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){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?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("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getLayerOption(e){let t;return this.mapInfo?.layerOptions?.layers.some(i=>i.id===e?(t=i,!0):!1),t}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table,s=this._getLayerOption(t?.id||"");return o`<div class="display-flex" slot=${e??c}><field-selection .configExtraFields=${s?.extraFields} .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><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,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_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))})}async _initToolInfos(){let e=this._getIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),h=this._featuresEmpty(),n=this.featureSelectionMode==="single",r=this.enableCSV;if(this._relatedFeatureTable){let p=await this._queryRelatedFeatures();r=p&&Object.keys(p).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!n&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:h,toolTip:this._translations.selectAll}),!n&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:h,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),r&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:h,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_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}}_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,l,h,n){let r=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${r} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,n)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .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} ${g(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.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.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,relatedRecordsEnabled:!0,attachmentsEnabled:!0,highlightEnabled:!1,multiSortEnabled:!1,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._table?.viewModel.addHandles(this._table.on("column-reorder",this._handleColumnReorder.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})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._layerEditHandle=s.on("edits",async()=>{await new Promise(a=>setTimeout(a,50)),await this._refresh(!0)}),this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0,this._layerEditHandle&&this._layerEditHandle.remove();let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}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"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.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._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}_handleColumnReorder(){this.columnReorder.emit()}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.selectedIds.length>0&&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._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}_setColumnTemplates(e){this._table&&e&&(this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:e}))}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),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(),await 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 S(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(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.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(l=>l.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)}))}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&&this.appLayout==="splitView"){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._allIds=await this.queryAllIds()}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);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(l);h&&h<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else 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._relatedFeatureTable||(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._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}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=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.highlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let h=await this._queryRelatedFeatures(),n=[];h&&h[l]?.features&&(h[l].features.forEach(r=>{r.attributes&&n.push(r.attributes[e.objectIdField])}),i=n.length>0?n:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,h)=>{if(!h.hidden){let n=h?.name||h?.fieldName;n&&l.push(n.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(h=>h.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(e){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let t=this._getSelectedLayer(this.selectedRelatedIds);if(t&&this.relatedRecordToggled.emit(t),!e){let i=this._getSelectedIds();this.featureSelectionChange.emit(i)}}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await m(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,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s=this._getLayerOption(e),a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(r=>r.fieldName));let h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(r=>s?.fields&&s.fields.indexOf(r)>-1):l.length>0?l:void 0,n;return t&&(n=t.reduce((r,d)=>{let p={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&r.push(p):l.length>0?l.indexOf(d.name)>-1&&r.push(p):r.push(p),r},[])),n?h?n?.sort(this._sortFields.bind(this,h)):n:[]}updateRelatedAttachmentColumns(){let e=this._getLayerOption(this._layer?.id||""),t=this.hasAttachmentsEnabled(this._layer),i=!0,s="attachments",a=(e?.extraFields||[]).reduce((h,n)=>(n.startsWith("related:")?h.related.push(n.split("related:")[1]):h.extra.push(n),h),{related:[],extra:[]}),l=a.extra.some(h=>h.toLowerCase()===s);a&&(t=l&&t,i=a.related.length>0,this._table?.columns.forEach(h=>{h.fieldName.startsWith("EsriFeatureTableRelationshipColumn")&&(h.hidden=!a.related.includes(h.effectiveLabel)),h.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")&&(h.hidden=!a.extra.some(n=>n.toLowerCase()===h.effectiveLabel.toLowerCase()))})),this._table.relatedRecordsEnabled=i,this._table.attachmentsEnabled=t}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_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)}))}};v("layer-table",y);export{y as LayerTable};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20251008 */
4
+ import{a as y}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as u}from"./DXNMODEI.js";import{D as f,E as b,h as p,i as m}from"./E2VLBYBH.js";import"./MMFULDI7.js";var v=p`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.height-51{height:51px}.width-51{width:51px}`,h=class extends b{constructor(){super(),this._translations=y({name:"field-selection",blocking:!0}),this._fieldSortOrder="default",this._selectedFields=[],this._fieldVisibilityPopoverClickHandler=i=>{this._fieldVisibilityPopoverNode?this._isInNode(i.target,"arcgis-field-pick-list")||(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0,document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)):document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)},this.listenOn(window,"columnReorder",this.handleColumnReorder,{capture:!0})}static{this.properties={configExtraFields:1,layer:0,mapView:0,table:0,tableRef:0,_translations:16}}static{this.styles=v}render(){return m`<calcite-action class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${()=>this._handleFieldVisibilityClick()} @mouseover=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} @mouseout=${()=>this._removeTableTooltip()} @focus=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} ${f(i=>this._fieldVisibilityActionNode=i)}><calcite-icon scale=s icon=gear></calcite-icon></calcite-action>`}handleColumnReorder(){this._fieldSortOrder="default",this._fieldVisibilityPopoverNode&&(this.removeFieldsPickList(),this._handleFieldVisibilityClick())}_handleFieldVisibilityClick(){if(this._fieldVisibilityPopoverNode)return;let i=this.table?.tableTemplate?.columnTemplates;if(this.layer&&this.mapView&&i&&this._fieldVisibilityActionNode){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler);let t=this.table.fieldColumns.map(s=>({alias:s.field.alias,description:s.field.description,name:s.field.name,type:s.field.type}));if(this._hasAttachmentsEnabled(this.layer)){let s="Attachments";if(this._shouldShowField(s.toUpperCase(),!1)){if(!i.some(l=>l.fieldName.toUpperCase()===s.toUpperCase())){let l={fieldName:s,type:"attachment",visible:!0};i.push(l)}t.push({name:s,alias:"Photos and files",type:"none",description:s})}}if(this.table.relatedRecordsEnabled&&this.layer.relationships&&this.layer.relationships.length>0){let s=this.layer.parent;this.layer.relationships.forEach(l=>{let o,n=this._shouldShowField(l.name||"",!0);if(!i.some(a=>a.fieldName.toLowerCase()===l.name?.toLowerCase()?(o=l.name,!0):!1))if(l.name){o=l.name;let a={fieldName:o,type:"relationship",visible:!0};n=this._shouldShowField(o,!0),i.push(a)}else{let a=[...s?.layers||[],...s?.tables],c;if(a.some(d=>d.layerId===l.relatedTableId?(c=d,!0):!1),c){o=c.title,l.name=o;let d={fieldName:o,type:"relationship",visible:!0};n=this._shouldShowField(o,!0),i.push(d)}}o&&n&&t.push({name:o,alias:`Related ${o}`,type:"none",description:`related:${o}`})})}let e=this._fieldVisibilityPopoverNode?this._fieldVisibilityPopoverNode:document.createElement("arcgis-field-pick-list");e.layer=this.layer,e.fields=t,e.showFieldInfo=!0,e.showFieldName=!0,e.showDescription=!1,e.showSelectionAll=!0,e.hideCancel=!0,e.hideSort=!1,e.showFilterLength=5,e.multiple=!0,e.heading=this._translations.fieldVisibility,e.okBtnText=this._translations.doneWithFieldChanges,e.filterPlaceholderText=this._translations.filterFields,e.sortBy=this._fieldSortOrder??"default";let r=this.table?.visibleColumns.map(s=>s.fieldName.startsWith("EsriFeatureTableRelationshipColumn")||s.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")?s.effectiveLabel:s.fieldName);e.selectedFields=i.reduce((s,l)=>((r?r.indexOf(l.fieldName)>-1:l.visible)&&s.push(l.fieldName),s),[]),this._selectedFields=e.selectedFields,e.style.minHeight="340px",e.popoverProps={refElement:this._fieldVisibilityActionNode,popoverWidth:300,placement:"bottom-end",offsetDistance:-20,triggerDisabled:!1,autoClose:!1},e.addEventListener("arcgisChange",s=>{s.stopPropagation();let l=s.detail.selectedFields,o=this._getDifference(l,this._selectedFields),n=this._getDifference(this._selectedFields,l);o.concat(n).forEach(a=>{let c=this.layer?.relationships?.map(d=>d.name)||[];if(a==="Attachments"){let d=this.table.columns.find(_=>"onShowAttachments"in _);d.hidden=n.indexOf(a)>-1}else c.indexOf(a)>-1?this.table.columns.filter(d=>"relationshipId"in d).forEach(d=>{n.indexOf(a)>-1,a==d.effectiveLabel&&(d.hidden=n.indexOf(a)>-1)}):this.table.toggleColumnVisibility(a)}),this._selectedFields=l,this._updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisSortByChange",s=>{s.stopPropagation(),this._fieldSortOrder=s.detail,this._sortFields(s.detail)}),e.addEventListener("arcgisClose",()=>{this._closePopovers(),setTimeout(()=>this._fieldVisibilityActionNode.setFocus(),200)}),document.body.appendChild(e),this._fieldVisibilityPopoverNode=e,setTimeout(()=>document.addEventListener("click",this._fieldVisibilityPopoverClickHandler),200)}}_shouldShowField(i,t){return this.configExtraFields.some(e=>t?e.replace("related:","").toUpperCase()===i.toUpperCase():e.toUpperCase()===i.toUpperCase())}removeFieldsPickList(){this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_sortFields(i){let t=this.table.tableTemplate.columnTemplates,e=this._getSortOrder(i),r=t.filter(l=>l.type!=="attachment"&&l.type!=="relationship").sort((l,o)=>{let n=e.indexOf(l.fieldName),a=e.indexOf(o.fieldName);return n===-1&&a!==-1?1:n!==-1&&a===-1?-1:n===-1&&a===-1?0:n-a}),s=t.filter(l=>l.type==="attachment"||l.type==="relationship");this.tableRef.setColumnOrder([...r,...s]),this._updateTable(this.table.tableTemplate)}_getSortOrder(i){let t=[...this.layer.fields];return i==="display"?t.sort((e,r)=>e.alias.localeCompare(r.alias)):i==="field"?t.sort((e,r)=>e.name.localeCompare(r.name)):i==="type"&&t.sort((e,r)=>e.type.localeCompare(r.type)),t.map(e=>e.name)}_getDifference(i,t){return i.filter(e=>!t.includes(e))}_updateTable(i){this.table.tableTemplate=i,this._isStandardView()&&this._syncAttributeTableTemplate()}async _syncAttributeTableTemplate(){let i=this.table.layer;if(i.attributeTableTemplate){let{_modules:t}=this,e=i.attributeTableTemplate.clone();t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,e),JSON.stringify(e)!==JSON.stringify(i.attributeTableTemplate)&&(i.attributeTableTemplate=e)}if(i.attributeTableTemplate?.orderByFields?.length>1){let t=i.attributeTableTemplate.clone(),e=this.table.activeSortOrders[0];t.orderByFields=[{field:e.fieldName,order:e.direction}],i.attributeTableTemplate=t,this._syncColumnDirectionsWithOrderByFields()}}_syncColumnDirectionsWithOrderByFields(){let i=this.table.activeSortOrders[0]?.fieldName;this.table.columns.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)}),this.table.tableTemplate?.columnTemplates.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)})}_isStandardView(){return!this.table.relatedTable&&!this.table.attachmentsViewOptions.objectId}_closePopovers(){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler),this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_addTableTooltip(i,t){let e=document.createElement("calcite-tooltip");e.className="table-tooltip",e.referenceElement=i,e.placement="trailing-start",e.open=!0;let r=document.createElement("div");r.className="tooltip",r.innerHTML=t,e.append(r),document.body.append(e)}_removeTableTooltip(){document.querySelectorAll(".table-tooltip").forEach(i=>i.parentNode?.removeChild(i))}_isInNode(i,t){for(;i;){if(i.nodeName===t.toUpperCase())return!0;i=i.parentElement}return!1}_hasAttachmentsEnabled(i){if(!i?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:e}}}=i;return t&&e}};u("field-selection",h);export{h as FieldSelection};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{b as c}from"./BKVX5QXH.js";import{E as n,h as s,i as r,o as i,r as o}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var h=`
3
+ v1.1.0-next.20251008 */
4
+ import{b as c}from"./MNFNMNHC.js";import{E as n,h as s,i as r,o as i,r as o}from"./E2VLBYBH.js";import"./MMFULDI7.js";var h=`
5
5
  .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-top: 10px !important;
7
7
  margin-left: 55px !important;
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a as m}from"./DI5J2CFS.js";import{a as c}from"./IZG3RDWO.js";import"./RRW7XCIA.js";import"./ZCEFL75O.js";import"./RNW4CN66.js";import"./Y4ZPEHKX.js";import{a as n,b as p}from"./ZR6UK3UQ.js";import"./EX7YXNQ4.js";import"./TJSIZLLY.js";import"./25EAY44P.js";import{a}from"./FWXW2OGJ.js";import{a as r}from"./NF6OXWYZ.js";import"./CWW4TIP3.js";import"./DGG2R6PP.js";import{a as i}from"./J5CQZYBN.js";import"./KWQLECX2.js";import"./GA5JF4P7.js";import"./DVEARR2O.js";import"./DNWSUZU6.js";import"./UCRPQIXK.js";import"./BKPJQFOK.js";import"./MABSRXW6.js";import"./DS5QDJCC.js";import"./WJ7A5A7U.js";import"./BBV4DJRN.js";import"./63P5O4B7.js";import"./7AGOME7H.js";import"./NFRKDOES.js";import"./P5WTX4AV.js";import"./CCZWYN2L.js";import"./LUM3VJFG.js";import"./DI6ZYUOP.js";import"./XBG4WOKU.js";import"./RF4OY5XZ.js";import"./LZGJ2VAE.js";import"./HZX2QANF.js";import"./EBYV7LDT.js";import"./GZPVVSWK.js";import"./34LYISA3.js";import"./GB7NCS3L.js";import"./TAW7AKE2.js";import"./RMJIAKHU.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
3
+ v1.1.0-next.20251008 */
4
+ import{a as m}from"./COEKS3L4.js";import{a as c}from"./IG5F5THG.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import{a as n,b as p}from"./6YUA724T.js";import"./J7VZH6OU.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import{a}from"./T65DB2UP.js";import{a as r}from"./SMAWIWJ6.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import{a as i}from"./4OYX2EDV.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import"./YRWXAGEM.js";import"./PA5TUTEY.js";import"./WWNHUF4A.js";import"./2SJENBGK.js";import"./RWBGHIUR.js";import"./NS6VPU4I.js";import"./Z55VK2A4.js";import"./VF3UCUX7.js";import"./J4URZEGS.js";import"./S3CGUDVW.js";import"./RYNPSM5K.js";import"./PRI7A4BS.js";import"./PQ6SIGKH.js";import"./GOSQMPLD.js";import"./R5MOYHJE.js";import"./J2SHXZLC.js";import"./O3XKIE2J.js";import"./BGSIHZYK.js";import"./XTXQCLUY.js";import"./OINEKCE3.js";import"./54N6KCW5.js";import"./XGLM2UZY.js";import"./IY6WWNIE.js";import"./MMFULDI7.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};