@esri/solutions-components 1.2.0-next.30 → 1.2.0-next.31

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 (484) hide show
  1. package/dist/cdn/26CIPTQN.js +4 -0
  2. package/dist/cdn/{UQDX4HH7.js → 26CIVFI7.js} +2 -2
  3. package/dist/cdn/{JBJKRXXO.js → 26ZMWP6Z.js} +2 -2
  4. package/dist/cdn/{XPA5STW7.js → 27Q7IH64.js} +2 -2
  5. package/dist/cdn/{TE7MJY7J.js → 2BG4TYOD.js} +2 -2
  6. package/dist/cdn/{RYTGUQNW.js → 2GPTZNVI.js} +2 -2
  7. package/dist/cdn/{WMWRHS2O.js → 2H7IYD2F.js} +2 -2
  8. package/dist/cdn/{6YD2HBWD.js → 2IOG6JI2.js} +2 -2
  9. package/dist/cdn/{B4GTYQZH.js → 2ITFRR75.js} +2 -2
  10. package/dist/cdn/{C6XXEAWS.js → 2KCNUGHU.js} +2 -2
  11. package/dist/cdn/{5AWDPORB.js → 2KXZDC54.js} +2 -2
  12. package/dist/cdn/{DPZVQEH4.js → 2KYKQUHK.js} +2 -2
  13. package/dist/cdn/{DOUPRF5M.js → 2NNRS6QJ.js} +2 -2
  14. package/dist/cdn/2SHK7ROD.js +4 -0
  15. package/dist/cdn/{OKEQ6VW4.js → 2SQJ42QL.js} +2 -2
  16. package/dist/cdn/{5NTV25EH.js → 2VBJ24WG.js} +2 -2
  17. package/dist/cdn/{ON3VIYPQ.js → 2ZCAWD3F.js} +2 -2
  18. package/dist/cdn/{EDB5QBJ4.js → 32OKNC7F.js} +1 -1
  19. package/dist/cdn/{F2EIQ3EO.js → 3CE2JQRD.js} +2 -2
  20. package/dist/cdn/{HMBSQFUJ.js → 3CQH3UC2.js} +2 -2
  21. package/dist/cdn/{7VMUOYRC.js → 3EF32E4B.js} +2 -2
  22. package/dist/cdn/{GGMFABEF.js → 3FHCXLTP.js} +2 -2
  23. package/dist/cdn/{TUMBFPWA.js → 3FRGP6NR.js} +2 -2
  24. package/dist/cdn/{UXPVRSYI.js → 3FUHLW24.js} +2 -2
  25. package/dist/cdn/{EZU7FJ4I.js → 3GKOLG3P.js} +2 -2
  26. package/dist/cdn/{Q5KLXIL2.js → 3HXDXA5V.js} +2 -2
  27. package/dist/cdn/3JZF6PQM.js +4 -0
  28. package/dist/cdn/{34PDVGEI.js → 3T7IYLMO.js} +2 -2
  29. package/dist/cdn/{U3RN3VMR.js → 3Y4L5QPG.js} +2 -2
  30. package/dist/cdn/{JQHH2OCZ.js → 3YPVT2SF.js} +2 -2
  31. package/dist/cdn/43KJ7ZGS.js +18 -0
  32. package/dist/cdn/{SWMICF3O.js → 44PDCPXG.js} +2 -2
  33. package/dist/cdn/{LONY44WL.js → 4B4DVSY5.js} +2 -2
  34. package/dist/cdn/{D465QWTQ.js → 4BBPYTMJ.js} +2 -2
  35. package/dist/cdn/{FKNP522A.js → 4EWKLZQB.js} +1 -1
  36. package/dist/cdn/{3FWMXAKG.js → 4FCZ4AZ7.js} +2 -2
  37. package/dist/cdn/{2IKATLLY.js → 4FLNSTTX.js} +2 -2
  38. package/dist/cdn/{K54HDSYB.js → 4GSMGWKQ.js} +2 -2
  39. package/dist/cdn/{6TAASZPW.js → 4Q6AVQE7.js} +2 -2
  40. package/dist/cdn/{PLRNVZN6.js → 4TH2AQWE.js} +2 -2
  41. package/dist/cdn/{F2QEERVM.js → 4WHF6Z3F.js} +2 -2
  42. package/dist/cdn/{PCJIW7J4.js → 4WSQCQFN.js} +2 -2
  43. package/dist/cdn/{BPOQYDR5.js → 4X5LCVEW.js} +2 -2
  44. package/dist/cdn/{QYQGUEKK.js → 5NCLW4RU.js} +2 -2
  45. package/dist/cdn/{2YRUPZI2.js → 5RVBDF5G.js} +2 -2
  46. package/dist/cdn/{EIY2RNYU.js → 5VA6CQMM.js} +2 -2
  47. package/dist/cdn/{4SKQUXSZ.js → 5XXUCV3V.js} +2 -2
  48. package/dist/cdn/{FP6CVRPP.js → 5YJPALMY.js} +2 -2
  49. package/dist/cdn/{MRS7JBCM.js → 64F2C7FH.js} +2 -2
  50. package/dist/cdn/{B7RCE3HL.js → 6AP7BDVC.js} +3 -3
  51. package/dist/cdn/{JACZFLX5.js → 6BSQ4FI6.js} +2 -2
  52. package/dist/cdn/{QTHKDVZA.js → 6CDMAYRH.js} +2 -2
  53. package/dist/cdn/{LGY6RHRJ.js → 6CRO3RMM.js} +2 -2
  54. package/dist/cdn/{JC7USH53.js → 6FQEMJLG.js} +1 -1
  55. package/dist/cdn/{74G765B3.js → 6GINIJMQ.js} +2 -2
  56. package/dist/cdn/{7HFPD7CI.js → 6KMBNOZ3.js} +2 -2
  57. package/dist/cdn/{MRRQXIAY.js → 6KVTLN7I.js} +1 -1
  58. package/dist/cdn/{T66GPNTR.js → 6L5JZ6CY.js} +2 -2
  59. package/dist/cdn/{KPWGBLMQ.js → 6LD6WQRF.js} +2 -2
  60. package/dist/cdn/{4R3HMKHB.js → 6WIKCCYS.js} +2 -2
  61. package/dist/cdn/{AXOVLMEZ.js → 6WXAPOXD.js} +2 -2
  62. package/dist/cdn/{WP6QUJD5.js → 6YSJ5I5V.js} +2 -2
  63. package/dist/cdn/{XDQ5U3RX.js → 7BKAYHD3.js} +2 -2
  64. package/dist/cdn/{VWZIPDPO.js → 7DFRNIIN.js} +2 -2
  65. package/dist/cdn/{H3WB7ANQ.js → 7GMTKVDP.js} +2 -2
  66. package/dist/cdn/{PVKLE7AC.js → 7KD2EYNO.js} +2 -2
  67. package/dist/cdn/{DUH2FCJG.js → 7KQEUB3J.js} +2 -2
  68. package/dist/cdn/{JHUQCA3Z.js → 7LHHPXFC.js} +2 -2
  69. package/dist/cdn/{ZLWE4SGQ.js → 7P6J3DF5.js} +1 -1
  70. package/dist/cdn/{5PWFCMK4.js → 7SETBRJQ.js} +2 -2
  71. package/dist/cdn/{AZCLMDQA.js → 7WVIQXD6.js} +2 -2
  72. package/dist/cdn/{AUZIEPJY.js → 7Y73EJQK.js} +2 -2
  73. package/dist/cdn/{WNNXONB6.js → A3DZ652X.js} +2 -2
  74. package/dist/cdn/{3Z6YZFUQ.js → A56WOLMU.js} +2 -2
  75. package/dist/cdn/{BDJVTVGV.js → AA3OODB2.js} +2 -2
  76. package/dist/cdn/{6NKXBHT3.js → AA5S43EA.js} +2 -2
  77. package/dist/cdn/{MCPVXPMM.js → ABT5YG3I.js} +1 -1
  78. package/dist/cdn/{KIOXB2OZ.js → ADFNFEXR.js} +2 -2
  79. package/dist/cdn/{4ETQSIFF.js → AIWE35NS.js} +2 -2
  80. package/dist/cdn/{B7ALYLRG.js → APRQR7XL.js} +2 -2
  81. package/dist/cdn/{CAC5OPSW.js → AQMXUMFV.js} +2 -2
  82. package/dist/cdn/{AT2K2TZK.js → AT4QQS4E.js} +2 -2
  83. package/dist/cdn/{TISZ6QTW.js → ATVG5O7I.js} +2 -2
  84. package/dist/cdn/{J7QDKBVB.js → AWZINHAE.js} +2 -2
  85. package/dist/cdn/{SZVZ7L22.js → AZY3OG5Z.js} +2 -2
  86. package/dist/cdn/{YLAFYD5G.js → B3QZGAKL.js} +2 -2
  87. package/dist/cdn/{6DCWHIG6.js → B6ACMA5B.js} +2 -2
  88. package/dist/cdn/{HQX2UTQA.js → BCC43MR4.js} +2 -2
  89. package/dist/cdn/{RBY55AW4.js → BEXA43V2.js} +2 -2
  90. package/dist/cdn/{ZPV3TQLX.js → BG7THPYT.js} +2 -2
  91. package/dist/cdn/{EVNTAGJW.js → BNT5DJGY.js} +2 -2
  92. package/dist/cdn/{EORDZOGU.js → BOJKJLWQ.js} +2 -2
  93. package/dist/cdn/{KJQJXQFO.js → BYPEUWGZ.js} +2 -2
  94. package/dist/cdn/{JTVBLWSK.js → BZCZ7VL4.js} +2 -2
  95. package/dist/cdn/{LYQT3N5Z.js → C5HMYUFH.js} +1 -1
  96. package/dist/cdn/{HXVM7BGX.js → CCWREFPV.js} +2 -2
  97. package/dist/cdn/{GWPPIURG.js → CG54KNHW.js} +2 -2
  98. package/dist/cdn/{QOAKCYXR.js → CHGMM5CE.js} +2 -2
  99. package/dist/cdn/{WR2PXMWC.js → CN2QKE6N.js} +2 -2
  100. package/dist/cdn/CPXQZ3SL.js +18 -0
  101. package/dist/cdn/{SLTVLCFQ.js → CQRE2M4F.js} +2 -2
  102. package/dist/cdn/{2GFXYPLE.js → CWFWYRT4.js} +2 -2
  103. package/dist/cdn/{U7CHN77W.js → CWPWSVA7.js} +2 -2
  104. package/dist/cdn/{HDWF5BGC.js → CZ5X5637.js} +1 -1
  105. package/dist/cdn/CZB5Z7GA.js +4 -0
  106. package/dist/cdn/{UN3HEMCS.js → D447J5GT.js} +2 -2
  107. package/dist/cdn/{JFL4U4UA.js → D4QLXXIE.js} +2 -2
  108. package/dist/cdn/{UWIIDEOZ.js → DDU4V5V6.js} +2 -2
  109. package/dist/cdn/{LPOSNNLD.js → DKSGQFJD.js} +2 -2
  110. package/dist/cdn/{KV6OFAYE.js → DPRMLSWB.js} +2 -2
  111. package/dist/cdn/{24DMHUEK.js → DPX5WAK6.js} +2 -2
  112. package/dist/cdn/{GFEO3V7B.js → DSESXQAF.js} +2 -2
  113. package/dist/cdn/{CNZTLIB3.js → E6TINCRP.js} +2 -2
  114. package/dist/cdn/{UE4JYH6Q.js → E7AJJ7UX.js} +2 -2
  115. package/dist/cdn/{72XEQTIF.js → E7BTZQRN.js} +2 -2
  116. package/dist/cdn/{WL6ES3HJ.js → EB6Y35GJ.js} +2 -2
  117. package/dist/cdn/{3ICH54JL.js → EJ7ULT5F.js} +2 -2
  118. package/dist/cdn/EJQOZRVC.js +4 -0
  119. package/dist/cdn/{ZQLLWXUS.js → EKGKWXEB.js} +1 -1
  120. package/dist/cdn/EKP4LAMB.js +160 -0
  121. package/dist/cdn/{7S7DGB25.js → ELMP3CV5.js} +2 -2
  122. package/dist/cdn/{2ZIO725Y.js → ESDGUCHM.js} +2 -2
  123. package/dist/cdn/{OCTGDVTD.js → ESLRUAYH.js} +1 -1
  124. package/dist/cdn/{TC3U37J7.js → ET2O476H.js} +2 -2
  125. package/dist/cdn/{Y7MPYZYV.js → EWL35ZZV.js} +2 -2
  126. package/dist/cdn/{DLDZLA7R.js → EZWJABZU.js} +2 -2
  127. package/dist/cdn/{J2A24DGF.js → F37R3OXJ.js} +1 -1
  128. package/dist/cdn/{L4ENNIQZ.js → F5A5P5TO.js} +2 -2
  129. package/dist/cdn/{36VKRU3A.js → F7FPLRM7.js} +2 -2
  130. package/dist/cdn/{OVWAIW4T.js → FEHN4KPL.js} +4 -4
  131. package/dist/cdn/FMCVXTPQ.js +4 -0
  132. package/dist/cdn/{ITJX53EA.js → FWANARJ7.js} +2 -2
  133. package/dist/cdn/{OOHID67S.js → FY32LSLJ.js} +2 -2
  134. package/dist/cdn/{4U3FPTF5.js → FYNEWFSC.js} +2 -2
  135. package/dist/cdn/{2HXRWLJY.js → G25LXNP5.js} +2 -2
  136. package/dist/cdn/{YUE54TGU.js → G3RMVSCM.js} +2 -2
  137. package/dist/cdn/{2RHNGWV3.js → GA6IWULR.js} +2 -2
  138. package/dist/cdn/{DFEHZSKJ.js → GBNDVZDC.js} +2 -2
  139. package/dist/cdn/{7NHT4ID4.js → GD2DMOOA.js} +2 -2
  140. package/dist/cdn/{ISBYRWUS.js → GFCB6UVI.js} +2 -2
  141. package/dist/cdn/{TQZZQ74I.js → GFIYGODA.js} +1 -1
  142. package/dist/cdn/{B7V66ZZG.js → GHCAZWON.js} +1 -1
  143. package/dist/cdn/{TDB43YAO.js → GHELMKMF.js} +2 -2
  144. package/dist/cdn/{25MYRWPK.js → GMIEOLX5.js} +2 -2
  145. package/dist/cdn/{ZKOJOIGE.js → GMMJSQCO.js} +2 -2
  146. package/dist/cdn/{QTQ5VFMI.js → GPA7SOWJ.js} +2 -2
  147. package/dist/cdn/{6M575VM5.js → GRFZ2FCA.js} +1 -1
  148. package/dist/cdn/{ZLJ5FGJ6.js → GWQCD476.js} +2 -2
  149. package/dist/cdn/{MMRBO6I4.js → GXVFUFAX.js} +2 -2
  150. package/dist/cdn/{OSOFOQEK.js → GZPX7N7S.js} +2 -2
  151. package/dist/cdn/{NMEYVDKO.js → H3DUPFBO.js} +2 -2
  152. package/dist/cdn/{RMJBQVZQ.js → H3KAICJN.js} +2 -2
  153. package/dist/cdn/{QSX5S7NE.js → H3QLA57G.js} +2 -2
  154. package/dist/cdn/{R6C247GY.js → H6DRMF2A.js} +2 -2
  155. package/dist/cdn/{TXZZ7IGA.js → HAKLSL2C.js} +1 -1
  156. package/dist/cdn/{MBBBUQA7.js → HBZOEYFG.js} +2 -2
  157. package/dist/cdn/{7F6JTIWK.js → HGTZFPBI.js} +2 -2
  158. package/dist/cdn/{VZLRW2AX.js → HJZYONIH.js} +2 -2
  159. package/dist/cdn/{QCGMRCNR.js → HKGZIXAW.js} +2 -2
  160. package/dist/cdn/{GAQ3EPIU.js → HMVNFKGE.js} +2 -2
  161. package/dist/cdn/{QH7G7WSC.js → HTJXA6GN.js} +2 -2
  162. package/dist/cdn/{M77VUV2Q.js → HWS6ASNJ.js} +2 -2
  163. package/dist/cdn/HZZL7AU3.js +4 -0
  164. package/dist/cdn/{63WA56NY.js → I3BWD2LX.js} +2 -2
  165. package/dist/cdn/I5ZQTYAN.js +4 -0
  166. package/dist/cdn/{PNAS5XAC.js → IBGVJQ3D.js} +1 -1
  167. package/dist/cdn/{NGL5DBBP.js → IDR3G6QJ.js} +2 -2
  168. package/dist/cdn/{X4O2UX77.js → IEP7RNEW.js} +2 -2
  169. package/dist/cdn/{R5UVF7YP.js → IJ2XYITD.js} +2 -2
  170. package/dist/cdn/{FEWO73EQ.js → ISBOWSOF.js} +2 -2
  171. package/dist/cdn/{6QXC35GC.js → IWFECRP6.js} +2 -2
  172. package/dist/cdn/{277565E7.js → IZIT3Q6M.js} +2 -2
  173. package/dist/cdn/{NLPH7XLY.js → J4HGP2TR.js} +2 -2
  174. package/dist/cdn/{PKH6X23Q.js → J4KULWAC.js} +2 -2
  175. package/dist/cdn/{OOC5Y54N.js → JM4DQYUF.js} +2 -2
  176. package/dist/cdn/{BMYOJ35W.js → JPU2OPHN.js} +2 -2
  177. package/dist/cdn/{L5LXFBXD.js → JPZU2BUG.js} +2 -2
  178. package/dist/cdn/{DUBCPEXD.js → JSKC5AKJ.js} +2 -2
  179. package/dist/cdn/{XEQGJKML.js → JXU4HAWE.js} +2 -2
  180. package/dist/cdn/{Y27TXUN2.js → K6QUJXWV.js} +4 -4
  181. package/dist/cdn/{OJFZ6T4L.js → KBQJQVZP.js} +2 -2
  182. package/dist/cdn/{QG473DGW.js → KFTMUTWW.js} +2 -2
  183. package/dist/cdn/{XQURVTFE.js → KHJ277OT.js} +1 -1
  184. package/dist/cdn/{Y5BS3BHR.js → KQL6O3FK.js} +2 -2
  185. package/dist/cdn/{OHWJG6P3.js → KV6E2SFN.js} +2 -2
  186. package/dist/cdn/{KRGPHVWG.js → KYQKVXNP.js} +2 -2
  187. package/dist/cdn/{5LKRTP4M.js → L563AYUP.js} +2 -2
  188. package/dist/cdn/{HGN2PHJG.js → L7MBYDMB.js} +2 -2
  189. package/dist/cdn/{TPMDZI3N.js → LDYUDDLO.js} +2 -2
  190. package/dist/cdn/{TZC7FR57.js → LEIIQ3A6.js} +2 -2
  191. package/dist/cdn/{H4UX7IPM.js → LKKXUC52.js} +2 -2
  192. package/dist/cdn/{GPLPJI55.js → LKN6XSL5.js} +2 -2
  193. package/dist/cdn/{NS2BBVPW.js → LORQGESC.js} +2 -2
  194. package/dist/cdn/{ASR3PHZX.js → LPBE2FHF.js} +2 -2
  195. package/dist/cdn/LR5BWGNC.js +4 -0
  196. package/dist/cdn/{XLTAB44X.js → LV3XG53H.js} +2 -2
  197. package/dist/cdn/{KUQK2ONH.js → LWHILP4F.js} +2 -2
  198. package/dist/cdn/{FDUPZ25R.js → M3ZETHYO.js} +2 -2
  199. package/dist/cdn/{NGHRTOE5.js → M7X7Z3UY.js} +1 -1
  200. package/dist/cdn/{STNJMHAQ.js → MAZUKK57.js} +2 -2
  201. package/dist/cdn/{RYDA2GVY.js → MB4RZXW5.js} +2 -2
  202. package/dist/cdn/{CUAZD4LK.js → MBPSOAK3.js} +2 -2
  203. package/dist/cdn/{Z6455FX4.js → MD7MMSUZ.js} +1 -1
  204. package/dist/cdn/{2776LBZR.js → ML4FQKR3.js} +2 -2
  205. package/dist/cdn/{AWBOSR4C.js → MPUF2TPM.js} +1 -1
  206. package/dist/cdn/{ILTORA35.js → MRSWEWWB.js} +2 -2
  207. package/dist/cdn/{RKXN5H6E.js → MTURX67L.js} +2 -2
  208. package/dist/cdn/{PGGLPX3Y.js → N57KFLJ6.js} +2 -2
  209. package/dist/cdn/{4T73N7V2.js → NEMKCYHR.js} +2 -2
  210. package/dist/cdn/{BBIGCWRV.js → NFRC2QRL.js} +2 -2
  211. package/dist/cdn/{YFRAG76M.js → NKNKTKHO.js} +2 -2
  212. package/dist/cdn/{OGFYIHYL.js → NM44M4IW.js} +2 -2
  213. package/dist/cdn/{E6CHHVGK.js → NMKJ5JOM.js} +2 -2
  214. package/dist/cdn/{RH7MI7ML.js → NNA3NDDO.js} +2 -2
  215. package/dist/cdn/{W5WC3DQR.js → NOCFSXVG.js} +2 -2
  216. package/dist/cdn/{H2R75MHA.js → NPAHQC2C.js} +2 -2
  217. package/dist/cdn/{LAOPK2BR.js → NUOQWKHY.js} +2 -2
  218. package/dist/cdn/{EVNUKA47.js → NZDTEHWH.js} +2 -2
  219. package/dist/cdn/{2PW6ABS2.js → NZQGONJV.js} +2 -2
  220. package/dist/cdn/NZXEDJEA.js +18 -0
  221. package/dist/cdn/{HYVUOIDV.js → O7S3FCYR.js} +1 -1
  222. package/dist/cdn/{SZSFIVOE.js → OEIUCKZ7.js} +2 -2
  223. package/dist/cdn/{ZL226NXE.js → OF2SUOO3.js} +2 -2
  224. package/dist/cdn/{OGFRY2XT.js → OGODOUBS.js} +2 -2
  225. package/dist/cdn/{XQK2EEXA.js → OMYBTBPL.js} +2 -2
  226. package/dist/cdn/{EGM522HI.js → OO6FJRTO.js} +1 -1
  227. package/dist/cdn/{LKEA7WT3.js → OPMQCAR3.js} +2 -2
  228. package/dist/cdn/{MYKMNK6X.js → OVWM6TYS.js} +2 -2
  229. package/dist/cdn/{AK4FP6HL.js → OXM25VGF.js} +1 -1
  230. package/dist/cdn/{HVONRLYE.js → P44724IG.js} +2 -2
  231. package/dist/cdn/{O5O4WPGT.js → P7UXKWMX.js} +2 -2
  232. package/dist/cdn/{2U7L5PBM.js → POMBIM2T.js} +2 -2
  233. package/dist/cdn/{GPLD4OLN.js → POS6K2UE.js} +1 -1
  234. package/dist/cdn/{FG6WOVWI.js → PST6SAY2.js} +2 -2
  235. package/dist/cdn/{YWB3PVWJ.js → Q52VS7JD.js} +2 -2
  236. package/dist/cdn/{LJ37OTR5.js → Q67LCQR5.js} +2 -2
  237. package/dist/cdn/Q6QBQRTG.js +4 -0
  238. package/dist/cdn/{5QGNITLO.js → Q74EQS3O.js} +2 -2
  239. package/dist/cdn/{P32GLMOO.js → QCBF6D2I.js} +2 -2
  240. package/dist/cdn/{KJ7FA4KA.js → QDOHJRID.js} +2 -2
  241. package/dist/cdn/{U6IZ7NDO.js → QFL5XGCR.js} +2 -2
  242. package/dist/cdn/{3WDCAEUK.js → QJMIHCYA.js} +2 -2
  243. package/dist/cdn/{NALQ7ZA4.js → QNZCOWWV.js} +2 -2
  244. package/dist/cdn/{CEUB4OXF.js → QRBXPHG6.js} +2 -2
  245. package/dist/cdn/{BV53Z64R.js → QRYOQHNP.js} +2 -2
  246. package/dist/cdn/QSYA2APQ.js +4 -0
  247. package/dist/cdn/{GJYH7TRE.js → QVJ7QQVE.js} +2 -2
  248. package/dist/cdn/{C4AGRX46.js → QWCZAOXA.js} +2 -2
  249. package/dist/cdn/{65ZZ77SE.js → R2Y4BFBA.js} +1 -1
  250. package/dist/cdn/{NEVLWT5F.js → R5U2WANE.js} +2 -2
  251. package/dist/cdn/{F5Z37SAY.js → RCR3LGTO.js} +2 -2
  252. package/dist/cdn/{J62SMQQ7.js → RDTGNHBE.js} +2 -2
  253. package/dist/cdn/{HC4IU67I.js → REITZYXX.js} +2 -2
  254. package/dist/cdn/{HXI2RJM3.js → RKDFCEV6.js} +2 -2
  255. package/dist/cdn/{6RA3RUIS.js → RO4XDPUY.js} +2 -2
  256. package/dist/cdn/{27GKKFQI.js → RQ5KHDEQ.js} +2 -2
  257. package/dist/cdn/{N3YA5MDL.js → RSA4AWTB.js} +2 -2
  258. package/dist/cdn/{QRR2HRFO.js → RX5LXQBF.js} +2 -2
  259. package/dist/cdn/{UVYMD3SU.js → RZWTSUJZ.js} +2 -2
  260. package/dist/cdn/{V33LR6IS.js → SBR5OKMT.js} +2 -2
  261. package/dist/cdn/{J45MBO4E.js → SEJZOKLD.js} +2 -2
  262. package/dist/cdn/{WIIOBTYW.js → SH26YDC5.js} +2 -2
  263. package/dist/cdn/{WNSRF7JD.js → SHN4JOAS.js} +2 -2
  264. package/dist/cdn/{QVX3HKWH.js → SJOOBDVL.js} +2 -2
  265. package/dist/cdn/{GLIEFW2W.js → SLMFVTWE.js} +1 -1
  266. package/dist/cdn/{FA3IKFAL.js → SMNRWNUV.js} +1 -1
  267. package/dist/cdn/{ITD43QIH.js → SUGCGTUE.js} +2 -2
  268. package/dist/cdn/{3JCJJ2GF.js → SXGZX66A.js} +2 -2
  269. package/dist/cdn/T6U4HMPV.js +4 -0
  270. package/dist/cdn/{72SAT2FH.js → TCD2EBVI.js} +1 -1
  271. package/dist/cdn/{LMLBAQTW.js → TCPOSEXP.js} +2 -2
  272. package/dist/cdn/{VF3BOXK6.js → TFFGKLXZ.js} +1 -1
  273. package/dist/cdn/{UJ7M33YD.js → TG66S6FW.js} +1 -1
  274. package/dist/cdn/{Y7YN2IIU.js → TJ3ELT7Y.js} +2 -2
  275. package/dist/cdn/{YZLM4OIF.js → TM3QT4MY.js} +2 -2
  276. package/dist/cdn/TNAZAPLS.js +18 -0
  277. package/dist/cdn/{UNU2VFCG.js → TVBP7E34.js} +2 -2
  278. package/dist/cdn/{IJGEUPSK.js → TWIBC25F.js} +2 -2
  279. package/dist/cdn/{P7TBO62O.js → TXF4E6LF.js} +1 -1
  280. package/dist/cdn/{S362MWIR.js → TYQ5FGMD.js} +2 -2
  281. package/dist/cdn/{S2AT5YY2.js → UC6KMQRH.js} +2 -2
  282. package/dist/cdn/UCN2N7DB.js +4 -0
  283. package/dist/cdn/{ZGWPTRGZ.js → UE2IX2RL.js} +2 -2
  284. package/dist/cdn/UEOJE65W.js +89 -0
  285. package/dist/cdn/{CP4HACAH.js → UFE4G4RJ.js} +1 -1
  286. package/dist/cdn/{D2D2CPBJ.js → UHZSVZPK.js} +2 -2
  287. package/dist/cdn/{AE6H6ELK.js → UJO2FYV6.js} +2 -2
  288. package/dist/cdn/{TF7HCU4R.js → UNAA6QIJ.js} +2 -2
  289. package/dist/cdn/{O4LF5ZK4.js → UO7CVYHI.js} +2 -2
  290. package/dist/cdn/{KXFJ5CVI.js → UUPE5QOV.js} +2 -2
  291. package/dist/cdn/{NQNIGRVW.js → UV2WNCQF.js} +2 -2
  292. package/dist/cdn/{XP2EQZNN.js → UV62PU26.js} +2 -2
  293. package/dist/cdn/{JNSLXW7O.js → UW3ZGSQU.js} +2 -2
  294. package/dist/cdn/{WA6JCIVJ.js → V2WCN5DX.js} +2 -2
  295. package/dist/cdn/{FLQEDTUI.js → VNIE2PXO.js} +2 -2
  296. package/dist/cdn/{5HZVV4CF.js → VP4CHRDT.js} +1 -1
  297. package/dist/cdn/{SQ4ONYA6.js → VQFP6AZI.js} +2 -2
  298. package/dist/cdn/{CYDNA2QI.js → VQIF3HW2.js} +2 -2
  299. package/dist/cdn/{NDBQUUTO.js → VWCVOS6M.js} +1 -1
  300. package/dist/cdn/{SJGKDRLS.js → VXKH2VOP.js} +1 -1
  301. package/dist/cdn/{EB2JKK3D.js → VY4RTYGY.js} +2 -2
  302. package/dist/cdn/{PGWOXALJ.js → VZNCCCR4.js} +2 -2
  303. package/dist/cdn/{47L5OVTL.js → W3QOBRE2.js} +2 -2
  304. package/dist/cdn/{JFT5UZJT.js → W3UAB5V7.js} +2 -2
  305. package/dist/cdn/{7QLGF5J6.js → WBLATNLZ.js} +2 -2
  306. package/dist/cdn/{QDHG7XI7.js → WDH5XQN5.js} +2 -2
  307. package/dist/cdn/{QNUGOWWM.js → WDK5H56L.js} +2 -2
  308. package/dist/cdn/{XTBZMRJM.js → WF6EYQVV.js} +2 -2
  309. package/dist/cdn/{VFV5JCQN.js → WI5VAMGJ.js} +2 -2
  310. package/dist/cdn/{CQKXZVLC.js → WKYLL2JX.js} +2 -2
  311. package/dist/cdn/{4EXGNBXW.js → WPY4LC3K.js} +2 -2
  312. package/dist/cdn/{65GKVZWM.js → WQBQCO4B.js} +2 -2
  313. package/dist/cdn/{MBGLCBIC.js → WQSKVYFF.js} +2 -2
  314. package/dist/cdn/{FRS5F6O5.js → WTS5H53O.js} +2 -2
  315. package/dist/cdn/{3FYPCIOV.js → WTZNO7PN.js} +2 -2
  316. package/dist/cdn/{RJAI2F2A.js → X4ZKBTN4.js} +2 -2
  317. package/dist/cdn/{HN2G2EYZ.js → XCSYY3XX.js} +2 -2
  318. package/dist/cdn/{ECKEIM2Y.js → XDQDDZ44.js} +2 -2
  319. package/dist/cdn/{WFJNZNPO.js → XH7Q5FKW.js} +2 -2
  320. package/dist/cdn/{SH2FEGSB.js → XJMRQKZW.js} +2 -2
  321. package/dist/cdn/{GOLJIOZF.js → XS3JXY2Q.js} +2 -2
  322. package/dist/cdn/{QN7Y6QOZ.js → XZ627753.js} +2 -2
  323. package/dist/cdn/{NWANGG5T.js → Y6WUVKKJ.js} +2 -2
  324. package/dist/cdn/{LMF2IQVY.js → YA5GFONS.js} +2 -2
  325. package/dist/cdn/{BHDNLSI7.js → YARWRAKS.js} +1 -1
  326. package/dist/cdn/YCB5OBM7.js +18 -0
  327. package/dist/cdn/YFF7HPPF.js +18 -0
  328. package/dist/cdn/{OU7QCTNJ.js → YLYTCJC5.js} +2 -2
  329. package/dist/cdn/{5MKH7FO7.js → YR2Q4MEZ.js} +2 -2
  330. package/dist/cdn/{BUF25CTJ.js → YTP3FLYV.js} +1 -1
  331. package/dist/cdn/{LIQY6VUI.js → Z4KFLWH7.js} +2 -2
  332. package/dist/cdn/{JN3I6HM2.js → Z62OH3MN.js} +2 -2
  333. package/dist/cdn/{ECGNRFQC.js → Z7WH3PY4.js} +2 -2
  334. package/dist/cdn/{BX56GQJM.js → ZCRLXSR3.js} +2 -2
  335. package/dist/cdn/{2GMVKD6U.js → ZGABFMI5.js} +2 -2
  336. package/dist/cdn/{MXKXWU54.js → ZGCTHCV6.js} +1 -1
  337. package/dist/cdn/{EHZVBSNG.js → ZKG2VPKR.js} +2 -2
  338. package/dist/cdn/{3CSYZLTP.js → ZMPDT3BZ.js} +2 -2
  339. package/dist/cdn/{3VWHKZED.js → ZN4UP4WI.js} +2 -2
  340. package/dist/cdn/{KAFYTKP3.js → ZOD4ZXTC.js} +2 -2
  341. package/dist/cdn/{DTHSN36M.js → ZS5WKHPW.js} +2 -2
  342. package/dist/cdn/{PJFQYGK6.js → ZUJ3VJF5.js} +2 -2
  343. package/dist/cdn/{LWNDAKHU.js → ZWPKTGXD.js} +2 -2
  344. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.json +1 -1
  346. package/dist/cdn/index.js +2 -2
  347. package/dist/chunks/Auth.js +37 -37
  348. package/dist/chunks/CardsFetcher.js +1 -1
  349. package/dist/chunks/appConfig.js +1 -1
  350. package/dist/chunks/cardFetchingUtils.js +1 -1
  351. package/dist/chunks/cardsHelpers.js +1 -1
  352. package/dist/chunks/common.js +1 -1
  353. package/dist/chunks/deployAppContexts.js +1 -1
  354. package/dist/chunks/downloadUtils.js +1 -1
  355. package/dist/chunks/getItemIcon.js +1 -1
  356. package/dist/chunks/helpers.js +1 -1
  357. package/dist/chunks/interfaces.js +1 -1
  358. package/dist/chunks/loadModules.js +1 -1
  359. package/dist/chunks/mapViewUtils.js +1 -1
  360. package/dist/chunks/pciUtils.js +1 -1
  361. package/dist/chunks/popupUtils.js +1 -1
  362. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  363. package/dist/chunks/privilegeUtils.js +1 -1
  364. package/dist/chunks/publicNotificationContext.js +1 -1
  365. package/dist/chunks/queryUtils.js +1 -1
  366. package/dist/chunks/runtime.js +1 -1
  367. package/dist/chunks/solution-store.js +1 -1
  368. package/dist/chunks/templates.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +2 -2
  371. package/dist/components/arcgis-solutions-assistant/customElement.js +771 -592
  372. package/dist/components/arcgis-solutions-assistant/index.d.ts +2 -2
  373. package/dist/components/arcgis-solutions-assistant/index.js +2 -2
  374. package/dist/components/arcgis-solutions-assistant/utils/typewriter-text.d.ts +48 -0
  375. package/dist/components/basemap-gallery/customElement.js +1 -1
  376. package/dist/components/buffer-tools/customElement.js +1 -1
  377. package/dist/components/card-manager/customElement.js +1 -1
  378. package/dist/components/consent-manager/customElement.js +1 -1
  379. package/dist/components/create-feature/customElement.js +1 -1
  380. package/dist/components/create-related-feature/customElement.js +1 -1
  381. package/dist/components/crowdsource-manager/customElement.js +1 -1
  382. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  383. package/dist/components/deduct-calculator/customElement.js +1 -1
  384. package/dist/components/delete-button/customElement.js +1 -1
  385. package/dist/components/delete-dialog/customElement.js +1 -1
  386. package/dist/components/edit-card/customElement.js +1 -1
  387. package/dist/components/feature-details/customElement.js +1 -1
  388. package/dist/components/feature-list/customElement.js +1 -1
  389. package/dist/components/field-selection/customElement.js +1 -1
  390. package/dist/components/floor-filter/customElement.js +1 -1
  391. package/dist/components/info-card/customElement.js +1 -1
  392. package/dist/components/json-editor/customElement.js +1 -1
  393. package/dist/components/layer-list/customElement.js +1 -1
  394. package/dist/components/layer-table/customElement.js +1 -1
  395. package/dist/components/map-card/customElement.js +1 -1
  396. package/dist/components/map-draw-tools/customElement.js +1 -1
  397. package/dist/components/map-fullscreen/customElement.js +1 -1
  398. package/dist/components/map-layer-picker/customElement.js +1 -1
  399. package/dist/components/map-legend/customElement.js +1 -1
  400. package/dist/components/map-picker/customElement.js +1 -1
  401. package/dist/components/map-search/customElement.js +1 -1
  402. package/dist/components/map-select-tools/customElement.js +1 -1
  403. package/dist/components/map-tools/customElement.js +1 -1
  404. package/dist/components/pci-calculator/customElement.js +1 -1
  405. package/dist/components/pdf-download/customElement.js +1 -1
  406. package/dist/components/public-notification/customElement.js +1 -1
  407. package/dist/components/refine-selection/customElement.js +1 -1
  408. package/dist/components/selection-tool/customElement.js +1 -1
  409. package/dist/components/solution-configuration/customElement.js +1 -1
  410. package/dist/components/solution-configure-titles/customElement.js +1 -1
  411. package/dist/components/solution-contents/customElement.js +1 -1
  412. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  413. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  414. package/dist/components/solution-deployed-card/customElement.js +1 -1
  415. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  416. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  417. package/dist/components/solution-details-card/customElement.js +1 -1
  418. package/dist/components/solution-details-panel/customElement.js +1 -1
  419. package/dist/components/solution-item/customElement.js +1 -1
  420. package/dist/components/solution-item-accordion/customElement.js +1 -1
  421. package/dist/components/solution-item-details/customElement.js +1 -1
  422. package/dist/components/solution-item-diagram/customElement.js +1 -1
  423. package/dist/components/solution-item-icon/customElement.js +1 -1
  424. package/dist/components/solution-item-sharing/customElement.js +1 -1
  425. package/dist/components/solution-organization-variables/customElement.js +1 -1
  426. package/dist/components/solution-resource-card/customElement.js +1 -1
  427. package/dist/components/solution-resource-item/customElement.js +1 -1
  428. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  429. package/dist/components/solution-social-share/customElement.js +1 -1
  430. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  431. package/dist/components/solution-template-data/customElement.js +1 -1
  432. package/dist/components/solution-variables/customElement.js +1 -1
  433. package/dist/components/solutions-all-panel/customElement.js +1 -1
  434. package/dist/components/solutions-all-shell/customElement.js +20 -23
  435. package/dist/components/solutions-deploy-app/customElement.js +33 -25
  436. package/dist/components/solutions-deploy-app-nav/customElement.js +12 -12
  437. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  438. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  439. package/dist/components/solutions-deployed-shell/customElement.js +27 -17
  440. package/dist/components/solutions-deployed-shell/index.d.ts +2 -0
  441. package/dist/components/solutions-deployed-shell/index.js +2 -0
  442. package/dist/components/solutions-filter-panel/customElement.d.ts +1 -7
  443. package/dist/components/solutions-filter-panel/customElement.js +25 -18
  444. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  445. package/dist/components/solutions-resources/customElement.js +1 -1
  446. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  447. package/dist/components/solutions-searchsort-toolbar/customElement.js +5 -5
  448. package/dist/components/spatial-ref/customElement.js +1 -1
  449. package/dist/components/store-manager/customElement.js +1 -1
  450. package/dist/docs/api.json +4 -33
  451. package/dist/docs/docs.json +6 -28
  452. package/dist/docs/vscode.html-custom-data.json +1 -6
  453. package/dist/docs/web-types.json +2 -15
  454. package/dist/index.js +1 -1
  455. package/dist/loader.js +2 -2
  456. package/dist/types/lumina.d.ts +1 -1
  457. package/dist/types/preact.d.ts +1 -1
  458. package/dist/types/preact10.d.ts +1 -1
  459. package/dist/types/react.d.ts +1 -1
  460. package/dist/types/stencil.d.ts +1 -1
  461. package/dist/utils/Auth.d.ts +2 -0
  462. package/dist/utils/interfaces.d.ts +5 -0
  463. package/package.json +1 -1
  464. package/dist/cdn/2DKKN6C2.js +0 -4
  465. package/dist/cdn/346BLCF2.js +0 -4
  466. package/dist/cdn/6FNOQGIZ.js +0 -4
  467. package/dist/cdn/ABDQSCIZ.js +0 -18
  468. package/dist/cdn/B4OV3LHY.js +0 -4
  469. package/dist/cdn/BPXPCMXX.js +0 -18
  470. package/dist/cdn/BTBWYAZW.js +0 -18
  471. package/dist/cdn/F6BFZHUG.js +0 -4
  472. package/dist/cdn/GD43N373.js +0 -4
  473. package/dist/cdn/GNLAHRZT.js +0 -18
  474. package/dist/cdn/I73WIDZD.js +0 -4
  475. package/dist/cdn/IJCG3D4S.js +0 -4
  476. package/dist/cdn/JXBEZT5A.js +0 -4
  477. package/dist/cdn/MT4KKD5M.js +0 -4
  478. package/dist/cdn/MYMVJFH4.js +0 -64
  479. package/dist/cdn/NLLMNIAA.js +0 -4
  480. package/dist/cdn/NTLJHWLQ.js +0 -89
  481. package/dist/cdn/PPT7MVPV.js +0 -4
  482. package/dist/cdn/PTTGFXZZ.js +0 -18
  483. package/dist/cdn/YOA42CLH.js +0 -18
  484. package/dist/cdn/ZIRTUZJU.js +0 -4
@@ -1,16 +1,16 @@
1
1
  import { c as S } from "../../chunks/runtime.js";
2
- import { css as E, html as a } from "lit";
2
+ import { css as _, html as a } from "lit";
3
3
  import { keyed as u } from "lit/directives/keyed.js";
4
- import { u as f } from "../../chunks/useT9n.js";
5
- import { LitElement as I, createEvent as _ } from "@arcgis/lumina";
6
- import { c as A } from "../../chunks/deployAppContexts.js";
4
+ import { u as E } from "../../chunks/useT9n.js";
5
+ import { LitElement as f, createEvent as A } from "@arcgis/lumina";
6
+ import { c as I } from "../../chunks/deployAppContexts.js";
7
7
  import { useContextConsumer as N } from "@arcgis/lumina/context";
8
8
  import { j as p } from "../../chunks/interfaces.js";
9
9
  import { a as F } from "../../chunks/appConfig.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
12
- v1.2.0-next.30 */
13
- const v = E`/** @license
12
+ v1.2.0-next.31 */
13
+ const b = _`/** @license
14
14
  * Copyright 2025 Esri
15
15
  *
16
16
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -41,7 +41,7 @@ const v = E`/** @license
41
41
  * See the License for the specific language governing permissions and
42
42
  * limitations under the License.
43
43
  */
44
- const b = {
44
+ const v = {
45
45
  PUBLICSAFETY: ["EMERGENCYMANAGEMENT", "FIRESERVICE", "LAWENFORCEMENT"],
46
46
  STATEANDLOCALGOVERNMENT: [
47
47
  "AGRICULTURE",
@@ -63,21 +63,25 @@ const b = {
63
63
  }, C = Object.keys(p).reduce(
64
64
  (d, e) => {
65
65
  const t = e;
66
- return d[t] = b[t] ?? [], d;
66
+ return d[t] = v[t] ?? [], d;
67
67
  },
68
68
  {}
69
69
  );
70
- class y extends I {
70
+ class y extends f {
71
71
  constructor() {
72
- super(), this.hideIndustryFilter = !1, this.isAIsettingEnabled = !1, this.isAIDialogOpen = !1, this.showReset = !1, this._aiServiceUrl = F, this._activeFilterSettings = {
72
+ super(), this.hideIndustryFilter = !1, this.isAIDialogOpen = !1, this.showReset = !1, this._aiServiceUrl = F, this._activeFilterSettings = {
73
73
  categories: []
74
- }, this._translations = f({ name: "solutions-filter-panel", blocking: !0 }), this._userFirstName = "", this._configContextConsumer = N({
75
- context: A,
74
+ }, this._orgSettings = {
75
+ aiAssistantsEnabled: !1,
76
+ blockBetaApps: !0,
77
+ colocateCompute: !1
78
+ }, this._translations = E({ name: "solutions-filter-panel", blocking: !0 }), this._userFirstName = "", this._configContextConsumer = N({
79
+ context: I,
76
80
  subscribe: !0,
77
81
  callback: (e) => {
78
- e?.userSession && !this._userFirstName && this._loadUserFirstName(), this._getAIServiceUrl();
82
+ e?.userSession && !this._userFirstName && this._loadUserFirstName(), e?.authentication?.PortalSubset?.orgSettings && (this._orgSettings = e?.authentication?.PortalSubset?.orgSettings, this._getAIServiceUrl());
79
83
  }
80
- }), this.applyFilter = _(), this._handleFilterRemoved = (e) => {
84
+ }), this.applyFilter = A(), this._handleFilterRemoved = (e) => {
81
85
  const t = e.detail;
82
86
  Array.isArray(t) && (this._activeFilterSettings = {
83
87
  ...this._activeFilterSettings,
@@ -91,10 +95,10 @@ class y extends I {
91
95
  });
92
96
  }
93
97
  static {
94
- this.properties = { hideIndustryFilter: 5, isAIsettingEnabled: 5, isAIDialogOpen: 5, showReset: 5, _aiServiceUrl: 16, _activeFilterSettings: 16, _translations: 16, _userFirstName: 16 };
98
+ this.properties = { hideIndustryFilter: 5, isAIDialogOpen: 5, showReset: 5, _aiServiceUrl: 16, _activeFilterSettings: 16, _orgSettings: 16, _translations: 16, _userFirstName: 16 };
95
99
  }
96
100
  static {
97
- this.styles = v;
101
+ this.styles = b;
98
102
  }
99
103
  changeIndustryFilter(e, t, o, h) {
100
104
  if (e !== "" || t !== "") {
@@ -149,9 +153,9 @@ class y extends I {
149
153
  render() {
150
154
  return a`<calcite-panel description heading>${this.showReset && a`<calcite-action icon=reset @click=${() => {
151
155
  this.clearFilters();
152
- }} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action>` || ""}<calcite-block-group .label=${this._translations.filters} scale=l>${!this.hideIndustryFilter && this.renderIndustryBlock() || ""}</calcite-block-group>${this.isAIsettingEnabled && a`<calcite-button id=solutions-assistant-button icon-start=speech-bubbles label="Solutions Assistant" @click=${() => {
156
+ }} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action>` || ""}<calcite-block-group .label=${this._translations.filters} scale=l>${!this.hideIndustryFilter && this.renderIndustryBlock() || ""}</calcite-block-group>${this._configContextConsumer.value?.userSession && this._canUseAI() && a`<calcite-button id=solutions-assistant-button icon-start=speech-bubbles label="Solutions Assistant" @click=${() => {
153
157
  this.isAIDialogOpen = !0;
154
- }} round scale=l slot=footer-start></calcite-button>${this._configContextConsumer.value?.userSession && a`<calcite-tooltip reference-element=solutions-assistant-button placement=right slot=footer-start offset-distance=10 open><span>${this._translations.assistant.welcomeTip.replace(" {{user}}", this._userFirstName ? ` ${this._userFirstName}` : "")}</span></calcite-tooltip>` || ""}` || ""}${this._configContextConsumer.value?.userSession && a`<arcgis-solutions-assistant .open=${this.isAIDialogOpen} .serverRoot=${this._aiServiceUrl} .token=${this._configContextConsumer.value.userSession.token}></arcgis-solutions-assistant>` || ""}</calcite-panel>`;
158
+ }} round scale=l slot=footer-start></calcite-button><calcite-tooltip reference-element=solutions-assistant-button placement=right slot=footer-start offset-distance=10 open><span>${this._translations.assistant.welcomeTip.replace(" {{user}}", this._userFirstName ? ` ${this._userFirstName}` : "")}</span></calcite-tooltip>` || ""}${this._configContextConsumer.value?.userSession && this._canUseAI() && a`<arcgis-solutions-assistant .open=${this.isAIDialogOpen} .serverRoot=${this._aiServiceUrl} .token=${this._configContextConsumer.value.userSession.token}></arcgis-solutions-assistant>` || ""}</calcite-panel>`;
155
159
  }
156
160
  renderIndustryBlock() {
157
161
  const e = (i, r) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((s) => s.industry === i && (s.domain ?? "") === r), t = (i) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((r) => r.industry === i && (r.domain ?? "") === ""), o = (i, r) => r.length > 0 && (t(i) || this._activeFilterSettings.categories?.some((s) => s.industry === i && !!s.domain && r.includes(s.domain)) === !0), h = (i, r) => r.map((s) => {
@@ -179,6 +183,9 @@ class y extends I {
179
183
  e.authentication && e.authentication?.Portal && e.authentication?.Portal.helperServices.aiAssistantServices && (this._aiServiceUrl = e.authentication?.Portal.helperServices.aiAssistantServices.url);
180
184
  }
181
185
  }
186
+ _canUseAI() {
187
+ return this._orgSettings.aiAssistantsEnabled ? this._orgSettings.aiAssistantsEnabled && !this._orgSettings.blockBetaApps : !1;
188
+ }
182
189
  }
183
190
  S("solutions-filter-panel", y);
184
191
  export {
@@ -4,7 +4,7 @@ import { u as r } from "../../chunks/useT9n.js";
4
4
  import { LitElement as o, nothing as e } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
7
- v1.2.0-next.30 */
7
+ v1.2.0-next.31 */
8
8
  const a = s`/** @license
9
9
  * Copyright 2025 Esri
10
10
  *
@@ -6,7 +6,7 @@ import { useContextConsumer as o } from "@arcgis/lumina/context";
6
6
  import { c as r } from "../../chunks/deployAppContexts.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
9
- v1.2.0-next.30 */
9
+ v1.2.0-next.31 */
10
10
  const l = a`/** @license
11
11
  * Copyright 2025 Esri
12
12
  *
@@ -4,7 +4,7 @@ import { u as l } from "../../chunks/useT9n.js";
4
4
  import { LitElement as n, createEvent as a } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
7
- v1.2.0-next.30 */
7
+ v1.2.0-next.31 */
8
8
  const o = s`/** @license
9
9
  * Copyright 2025 Esri
10
10
  *
@@ -8,7 +8,7 @@ import { m as c } from "../../chunks/interfaces.js";
8
8
  import { g as m } from "../../chunks/privilegeUtils.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
11
- v1.2.0-next.30 */
11
+ v1.2.0-next.31 */
12
12
  const y = p`/** @license
13
13
  * Copyright 2025 Esri
14
14
  *
@@ -24,7 +24,7 @@ const y = p`/** @license
24
24
  * See the License for the specific language governing permissions and
25
25
  * limitations under the License.
26
26
  */.toolbar-sizing{display:flex;align-items:center;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box;height:65px}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent;--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent;--calcite-color-brand: transparent;display:grid;block-size:65px;box-sizing:border-box;border-bottom:2px solid transparent}calcite-dropdown{--calcite-color-focus: transparent}@media(prefers-color-scheme:dark){calcite-input-text:focus{border-bottom:2px solid #009AF2}}@media(prefers-color-scheme:light){calcite-input-text:focus{border-bottom:2px solid #007AC2}}.focus-color{--calcite-color-focus: transparent}`;
27
- class b extends u {
27
+ class _ extends u {
28
28
  constructor() {
29
29
  super(), this.defaultSortType = "relevance", this.isOrgSolutions = !1, this.isMobile = !1, this._activeSearchSortSettings = [
30
30
  {
@@ -115,7 +115,7 @@ class b extends u {
115
115
  this._authContextConsumer.value && this._authContextConsumer.value.IsSignedIn !== this._isOrgAdmin && (this._isOrgAdmin = m(this._authContextConsumer.value));
116
116
  }
117
117
  render() {
118
- const t = this.scope === "all-solutions" || this.scope === "deployments", e = t ? this._getCurrentScopeSetting() : void 0;
118
+ const t = this.scope === "all-solutions" || this.scope === "deployments" && this._authContextConsumer.value?.IsSignedIn, e = t ? this._getCurrentScopeSetting() : void 0;
119
119
  return t ? o`<div class="flex-row toolbar-sizing"><calcite-input-text class="flex-grow-1" clearable icon=search @keyup=${(s) => {
120
120
  const i = s.target;
121
121
  s.key === "Enter" ? this.changeSearchFilter(i.value, !0) : (i.value.length >= 3 || i.value.length === 0) && this.changeSearchFilter(i.value, i.value.length >= 3 || i.value.length === 0);
@@ -189,7 +189,7 @@ class b extends u {
189
189
  this.toggleFilter.emit();
190
190
  }
191
191
  }
192
- h("solutions-searchsort-toolbar", b);
192
+ h("solutions-searchsort-toolbar", _);
193
193
  export {
194
- b as SolutionsSearchSortToolbar
194
+ _ as SolutionsSearchSortToolbar
195
195
  };
@@ -5,7 +5,7 @@ import { css as E, html as t, nothing as i } from "lit";
5
5
  import { LitElement as o, createEvent as b, noShadowRoot as f, safeClassMap as y } from "@arcgis/lumina";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
8
- v1.2.0-next.30 */
8
+ v1.2.0-next.31 */
9
9
  /**
10
10
  * @license
11
11
  * Copyright 2025 Esri
@@ -4,7 +4,7 @@ import { g as o, a as n } from "../../chunks/templates.js";
4
4
  import { LitElement as i, createEvent as l, noShadowRoot as u } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
7
- v1.2.0-next.30 */
7
+ v1.2.0-next.31 */
8
8
  class c extends i {
9
9
  constructor() {
10
10
  super(...arguments), this.value = "", this.templates = [], this.stateLoaded = l();
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-11-18T17:40:43",
2
+ "timestamp": "2025-11-19T02:24:30",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
5
  "version": "5.0.0-next.58",
@@ -81,7 +81,7 @@
81
81
  "description": "Calls the AI (polling) until there is no additional requests.\r\nAlong the way id there is a message or context, process and show.\r\nIf it is solution question, start off a new request to Doc Assistant.",
82
82
  "parameters": [
83
83
  {
84
- "name": "parameter",
84
+ "name": "response",
85
85
  "type": {
86
86
  "text": "{\n conversationId: string;\n inquiryId: string;\n sequenceNumber: number;\n message?: string | null | undefined;\n context?: ConversationContext | undefined;\n hasMore: boolean;\n}"
87
87
  }
@@ -126,7 +126,7 @@
126
126
  "docsTags": [
127
127
  {
128
128
  "name": "param",
129
- "text": "parameter stores the conversation and inquiry id"
129
+ "text": "response stores the conversation and inquiry id"
130
130
  },
131
131
  {
132
132
  "name": "param",
@@ -137,7 +137,7 @@
137
137
  "text": "requestURL AI server to request"
138
138
  }
139
139
  ],
140
- "signature": "(parameter: ConversationResponse, token: string, requestURL: string): Promise<void>",
140
+ "signature": "(response: ConversationResponse, token: string, requestURL: string): Promise<void>",
141
141
  "async": true
142
142
  },
143
143
  {
@@ -23582,21 +23582,6 @@
23582
23582
  "default": "false",
23583
23583
  "attribute": "is-ai-dialog-open"
23584
23584
  },
23585
- {
23586
- "kind": "field",
23587
- "name": "isAIsettingEnabled",
23588
- "description": "Determines if the AI assistant button should be shown.",
23589
- "type": {
23590
- "text": "boolean",
23591
- "values": [
23592
- {
23593
- "type": "boolean"
23594
- }
23595
- ]
23596
- },
23597
- "default": "false",
23598
- "attribute": "is-a-isetting-enabled"
23599
- },
23600
23585
  {
23601
23586
  "kind": "field",
23602
23587
  "name": "showReset",
@@ -23628,20 +23613,6 @@
23628
23613
  "default": "false",
23629
23614
  "fieldName": "hideIndustryFilter"
23630
23615
  },
23631
- {
23632
- "name": "is-a-isetting-enabled",
23633
- "description": "Determines if the AI assistant button should be shown.",
23634
- "type": {
23635
- "text": "boolean",
23636
- "values": [
23637
- {
23638
- "type": "boolean"
23639
- }
23640
- ]
23641
- },
23642
- "default": "false",
23643
- "fieldName": "isAIsettingEnabled"
23644
- },
23645
23616
  {
23646
23617
  "name": "is-ai-dialog-open",
23647
23618
  "description": "Determines if AI Assistant is open.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-11-18T17:40:43",
2
+ "timestamp": "2025-11-19T02:24:30",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
5
  "version": "5.0.0-next.58",
@@ -153,10 +153,10 @@
153
153
  "docs": ""
154
154
  },
155
155
  "complexType": {
156
- "signature": "(parameter: ConversationResponse, token: string, requestURL: string): Promise<void>",
156
+ "signature": "(response: ConversationResponse, token: string, requestURL: string): Promise<void>",
157
157
  "parameters": [
158
158
  {
159
- "name": "parameter",
159
+ "name": "response",
160
160
  "type": "{\n conversationId: string;\n inquiryId: string;\n sequenceNumber: number;\n message?: string | null | undefined;\n context?: ConversationContext | undefined;\n hasMore: boolean;\n}",
161
161
  "docs": ""
162
162
  },
@@ -180,10 +180,10 @@
180
180
  }
181
181
  }
182
182
  },
183
- "signature": "loopRequest(parameter: ConversationResponse, token: string, requestURL: string): Promise<void>",
183
+ "signature": "loopRequest(response: ConversationResponse, token: string, requestURL: string): Promise<void>",
184
184
  "parameters": [
185
185
  {
186
- "name": "parameter",
186
+ "name": "response",
187
187
  "type": "{\n conversationId: string;\n inquiryId: string;\n sequenceNumber: number;\n message?: string | null | undefined;\n context?: ConversationContext | undefined;\n hasMore: boolean;\n}",
188
188
  "docs": ""
189
189
  },
@@ -202,7 +202,7 @@
202
202
  "docsTags": [
203
203
  {
204
204
  "name": "param",
205
- "text": "parameter stores the conversation and inquiry id"
205
+ "text": "response stores the conversation and inquiry id"
206
206
  },
207
207
  {
208
208
  "name": "param",
@@ -21110,28 +21110,6 @@
21110
21110
  "optional": true,
21111
21111
  "required": false
21112
21112
  },
21113
- {
21114
- "name": "isAIsettingEnabled",
21115
- "type": "boolean",
21116
- "complexType": {
21117
- "original": "boolean",
21118
- "resolved": "boolean",
21119
- "references": {}
21120
- },
21121
- "mutable": true,
21122
- "attr": "is-a-isetting-enabled",
21123
- "reflectToAttr": false,
21124
- "docs": "Determines if the AI assistant button should be shown.",
21125
- "docsTags": [],
21126
- "default": "false",
21127
- "values": [
21128
- {
21129
- "type": "boolean"
21130
- }
21131
- ],
21132
- "optional": true,
21133
- "required": false
21134
- },
21135
21113
  {
21136
21114
  "name": "showReset",
21137
21115
  "type": "boolean",
@@ -4,7 +4,7 @@
4
4
  "tags": [
5
5
  {
6
6
  "name": "arcgis-solutions-assistant",
7
- "description": "### Events\n- **closeAssistant** - Emitted on demand when cards are fetched\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `handleSendMessage(): Promise<void>` - Submits a query to the AI Assitant based on what is in the input textarea.\r\nIf there is an exisitng conversation, the conversation id is also sent along.\n- `loopRequest(parameter: ConversationResponse, token: string, requestURL: string): Promise<void>` - Calls the AI (polling) until there is no additional requests.\r\nAlong the way id there is a message or context, process and show.\r\nIf it is solution question, start off a new request to Doc Assistant.\n- `requestAIServer(requestInfo: unknown, token: string, requestURL: string): Promise<ConversationResponse>` - Request sent to the AI server via fetch.\r\nALong the way id there is a message or context, process and show.\n- `resetChat(): void` - Resets the message history and clears the chat window.",
7
+ "description": "### Events\n- **closeAssistant** - Emitted on demand when cards are fetched\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `handleSendMessage(): Promise<void>` - Submits a query to the AI Assitant based on what is in the input textarea.\r\nIf there is an exisitng conversation, the conversation id is also sent along.\n- `loopRequest(response: ConversationResponse, token: string, requestURL: string): Promise<void>` - Calls the AI (polling) until there is no additional requests.\r\nAlong the way id there is a message or context, process and show.\r\nIf it is solution question, start off a new request to Doc Assistant.\n- `requestAIServer(requestInfo: unknown, token: string, requestURL: string): Promise<ConversationResponse>` - Request sent to the AI server via fetch.\r\nALong the way id there is a message or context, process and show.\n- `resetChat(): void` - Resets the message history and clears the chat window.",
8
8
  "attributes": [
9
9
  {
10
10
  "name": "open",
@@ -2905,11 +2905,6 @@
2905
2905
  "description": "Determines if the Industry section should be shown.",
2906
2906
  "values": []
2907
2907
  },
2908
- {
2909
- "name": "is-a-isetting-enabled",
2910
- "description": "Determines if the AI assistant button should be shown.",
2911
- "values": []
2912
- },
2913
2908
  {
2914
2909
  "name": "is-ai-dialog-open",
2915
2910
  "description": "Determines if AI Assistant is open.",
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@esri/solutions-components",
4
- "version": "1.2.0-next.30",
4
+ "version": "1.2.0-next.31",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "arcgis-solutions-assistant",
11
- "description": "### Events\n- **closeAssistant** - Emitted on demand when cards are fetched\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `handleSendMessage(): Promise<void>` - Submits a query to the AI Assitant based on what is in the input textarea.\r\nIf there is an exisitng conversation, the conversation id is also sent along.\n- `loopRequest(parameter: ConversationResponse, token: string, requestURL: string): Promise<void>` - Calls the AI (polling) until there is no additional requests.\r\nAlong the way id there is a message or context, process and show.\r\nIf it is solution question, start off a new request to Doc Assistant.\n- `requestAIServer(requestInfo: unknown, token: string, requestURL: string): Promise<ConversationResponse>` - Request sent to the AI server via fetch.\r\nALong the way id there is a message or context, process and show.\n- `resetChat(): void` - Resets the message history and clears the chat window.",
11
+ "description": "### Events\n- **closeAssistant** - Emitted on demand when cards are fetched\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `handleSendMessage(): Promise<void>` - Submits a query to the AI Assitant based on what is in the input textarea.\r\nIf there is an exisitng conversation, the conversation id is also sent along.\n- `loopRequest(response: ConversationResponse, token: string, requestURL: string): Promise<void>` - Calls the AI (polling) until there is no additional requests.\r\nAlong the way id there is a message or context, process and show.\r\nIf it is solution question, start off a new request to Doc Assistant.\n- `requestAIServer(requestInfo: unknown, token: string, requestURL: string): Promise<ConversationResponse>` - Request sent to the AI server via fetch.\r\nALong the way id there is a message or context, process and show.\n- `resetChat(): void` - Resets the message history and clears the chat window.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "open",
@@ -7909,14 +7909,6 @@
7909
7909
  "type": "boolean"
7910
7910
  }
7911
7911
  },
7912
- {
7913
- "name": "is-a-isetting-enabled",
7914
- "description": "Determines if the AI assistant button should be shown.",
7915
- "default": "false",
7916
- "value": {
7917
- "type": "boolean"
7918
- }
7919
- },
7920
7912
  {
7921
7913
  "name": "is-ai-dialog-open",
7922
7914
  "description": "Determines if AI Assistant is open.",
@@ -7953,11 +7945,6 @@
7953
7945
  "description": "Determines if AI Assistant is open.",
7954
7946
  "type": "boolean"
7955
7947
  },
7956
- {
7957
- "name": "isAIsettingEnabled",
7958
- "description": "Determines if the AI assistant button should be shown.",
7959
- "type": "boolean"
7960
- },
7961
7948
  {
7962
7949
  "name": "showReset",
7963
7950
  "description": "Flag to display reset in the panel",
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { A as O } from "./chunks/Auth.js";
3
3
  import { p as A, q as e, B as I, C as L, i as R, n as P, k as t, h as o, g as U, E as N, j as i, a as p, m as C, c as r, o as M, d as B, e as D, l as y, b as G, f, I as H, P as g, s as l, r as m, t as n, u, v as x, w as d, x as K, y as h, S as w, z as F, D as Y, F as c, A as v, G as z, H as W } from "./chunks/interfaces.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
6
- v1.2.0-next.30 */
6
+ v1.2.0-next.31 */
7
7
  export {
8
8
  O as Auth,
9
9
  A as BASE_DEPLOYED_TERMS,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as o } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
5
- v1.2.0-next.30 */
5
+ v1.2.0-next.31 */
6
6
  const l = o(e, {
7
7
  "arcgis-solutions-assistant": [() => import("./components/arcgis-solutions-assistant/customElement.js"), "open,serverRoot,token;handleSendMessage,loopRequest,requestAIServer;resetChat"],
8
8
  "basemap-gallery": [() => import("./components/basemap-gallery/customElement.js"), "basemapConfig:,basemapWidget:,mapView:"],
@@ -70,7 +70,7 @@ const l = o(e, {
70
70
  "solutions-deployed-filter-panel": [() => import("./components/solutions-deployed-filter-panel/customElement.js"), "isAIsettingEnabled,isAllSolutions,isMobile,isOrgAdmin;;changeOwnerFilter,changeSearchFilter,clearFilters"],
71
71
  "solutions-deployed-panel": [() => import("./components/solutions-deployed-panel/customElement.js"), "sortType;reload,searchSolutions,setSearchOptions"],
72
72
  "solutions-deployed-shell": [() => import("./components/solutions-deployed-shell/customElement.js"), "solutionsCount;searchSolutions"],
73
- "solutions-filter-panel": [() => import("./components/solutions-filter-panel/customElement.js"), "hideIndustryFilter,isAIDialogOpen,isAIsettingEnabled,showReset;;changeIndustryFilter,clearFilters"],
73
+ "solutions-filter-panel": [() => import("./components/solutions-filter-panel/customElement.js"), "hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],
74
74
  "solutions-resource-panel": [() => import("./components/solutions-resource-panel/customElement.js"), "heading,href"],
75
75
  "solutions-resources": [() => import("./components/solutions-resources/customElement.js"), "showAssistant"],
76
76
  "solutions-resources-shell": [() => import("./components/solutions-resources-shell/customElement.js")],
@@ -395,7 +395,7 @@ interface LuminaSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShe
395
395
  ontokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
396
396
  }
397
397
 
398
- interface LuminaSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, h.JSX.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
398
+ interface LuminaSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'showReset'>>, h.JSX.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
399
399
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
400
400
  }
401
401
 
@@ -396,7 +396,7 @@ interface PreactSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShe
396
396
  ontokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
397
397
  }
398
398
 
399
- interface PreactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, HTMLAttributes<HTMLSolutionsFilterPanelElement> {
399
+ interface PreactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'showReset'>>, HTMLAttributes<HTMLSolutionsFilterPanelElement> {
400
400
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
401
401
  }
402
402
 
@@ -463,7 +463,7 @@ interface PreactSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShe
463
463
  }
464
464
 
465
465
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
466
- interface PreactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, PreactJsx.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
466
+ interface PreactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'showReset'>>, PreactJsx.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
467
467
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
468
468
  }
469
469
 
@@ -396,7 +396,7 @@ interface ReactSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShel
396
396
  ontokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
397
397
  }
398
398
 
399
- interface ReactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, HTMLProps<HTMLSolutionsFilterPanelElement> {
399
+ interface ReactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'showReset'>>, HTMLProps<HTMLSolutionsFilterPanelElement> {
400
400
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
401
401
  }
402
402
 
@@ -396,7 +396,7 @@ interface StencilSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedSh
396
396
  onTokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
397
397
  }
398
398
 
399
- interface StencilSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, StencilJsx.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
399
+ interface StencilSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'showReset'>>, StencilJsx.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
400
400
  onApplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
401
401
  }
402
402
 
@@ -1,5 +1,6 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  import { default as Portal } from '@arcgis/core/portal/Portal.js';
3
+ import { IOrgSettings } from './interfaces';
3
4
  /** @license
4
5
  *
5
6
  * Copyright 2025 Esri
@@ -35,6 +36,7 @@ export interface IPortalSubset {
35
36
  hubPremiumEnabled: boolean;
36
37
  workflowURL: string;
37
38
  isReadOnly: boolean;
39
+ orgSettings: IOrgSettings;
38
40
  }
39
41
  export interface IPortalUserSubset {
40
42
  fullName: string;
@@ -855,3 +855,8 @@ export interface IDeployingCarouselMessage {
855
855
  url?: string;
856
856
  icon?: HTMLCalciteIconElement["icon"];
857
857
  }
858
+ export interface IOrgSettings {
859
+ aiAssistantsEnabled?: boolean;
860
+ blockBetaApps?: boolean;
861
+ colocateCompute?: boolean;
862
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "1.2.0-next.30",
3
+ "version": "1.2.0-next.31",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.30 */
4
- import{a as f}from"./DTHSN36M.js";import{a as D}from"./TXZZ7IGA.js";import{a as I}from"./TISZ6QTW.js";import{B as L,C as S}from"./AWBOSR4C.js";import{b as k}from"./25MYRWPK.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./QH7G7WSC.js";import"./XQURVTFE.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media(prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},v=class extends F{constructor(){super(...arguments),this._messages=I({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.isInitUpdateComplete=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.isInitUpdateComplete=!1,this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.isInitUpdateComplete=!1,this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([S(),L()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),await this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.isInitUpdateComplete||!this.view?.ready||(this.updateInitExpressions(),this.handleURLParams(),this.initExpressions())}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(!this.view?.map)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}}),this.isInitUpdateComplete=!0}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",v);export{v as InstantAppsFilterList};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.30 */
4
- import{a,b}from"./3Z6YZFUQ.js";import"./GGMFABEF.js";import"./3VWHKZED.js";import"./MCPVXPMM.js";import"./JC7USH53.js";import"./HDWF5BGC.js";import"./XQURVTFE.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};