@esri/solutions-components 1.2.0-next.12 → 1.2.0-next.14

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 (495) hide show
  1. package/dist/cdn/{A6UAK3NB.js → 275D3YQA.js} +2 -2
  2. package/dist/cdn/{DVPSYCHQ.js → 27I2DU2C.js} +2 -2
  3. package/dist/cdn/{WVCB3UCK.js → 27JI2VQ2.js} +2 -2
  4. package/dist/cdn/{SWP2URKV.js → 27LWIDZP.js} +2 -2
  5. package/dist/cdn/{WWHNRE5D.js → 2AN7ELSH.js} +2 -2
  6. package/dist/cdn/{F5AX56BO.js → 2AXIORVV.js} +1 -1
  7. package/dist/cdn/{I6SBOL3I.js → 2DGB5L7S.js} +1 -1
  8. package/dist/cdn/2JNJ6NTC.js +18 -0
  9. package/dist/cdn/{VR5BXTSI.js → 2KKY4D26.js} +2 -2
  10. package/dist/cdn/{5T4R7E2N.js → 2NEXO4CL.js} +2 -2
  11. package/dist/cdn/{KYJSQUTW.js → 2PQ2DS43.js} +2 -2
  12. package/dist/cdn/{PUITVZY4.js → 2UWPI3SL.js} +1 -1
  13. package/dist/cdn/{RSHDS4TF.js → 32CJQFYT.js} +1 -1
  14. package/dist/cdn/{CMJKMVQY.js → 32KLJCZ5.js} +2 -2
  15. package/dist/cdn/{6ZPQA647.js → 35FQADFO.js} +3 -3
  16. package/dist/cdn/{EPJEWGJS.js → 3I7S3ZV4.js} +2 -2
  17. package/dist/cdn/{TXTSJOWY.js → 3JGSO6KR.js} +2 -2
  18. package/dist/cdn/{PIC5CO66.js → 3JLPYT3H.js} +2 -2
  19. package/dist/cdn/{SH7U7LIP.js → 3QPYBQCK.js} +3 -3
  20. package/dist/cdn/{NVCYWUCC.js → 3R72A4LX.js} +2 -2
  21. package/dist/cdn/{ETQVNI2F.js → 3SZTNCCQ.js} +2 -2
  22. package/dist/cdn/{7VYIWHIR.js → 3TZNTRGM.js} +2 -2
  23. package/dist/cdn/{KPSEV6N2.js → 3XM3G7I5.js} +1 -1
  24. package/dist/cdn/{EZPPHIOL.js → 47HZO7HH.js} +2 -2
  25. package/dist/cdn/4DG5M3F4.js +4 -0
  26. package/dist/cdn/{6BKEDJKD.js → 4DHQUG3W.js} +2 -2
  27. package/dist/cdn/{EU765NYY.js → 4FALCKMG.js} +2 -2
  28. package/dist/cdn/4GUQBFYH.js +18 -0
  29. package/dist/cdn/4MS4GKD3.js +18 -0
  30. package/dist/cdn/{DMZEV3QL.js → 4VTYPOLQ.js} +1 -1
  31. package/dist/cdn/{ER5N4SED.js → 4WWV5LXT.js} +2 -2
  32. package/dist/cdn/{U2AH6HCX.js → 4X6WXZQL.js} +2 -2
  33. package/dist/cdn/{OWAKZB2C.js → 4XVIRWML.js} +2 -2
  34. package/dist/cdn/{PYAAGHCO.js → 4Z3GVHCU.js} +2 -2
  35. package/dist/cdn/{AOLALLVT.js → 55PIVHXI.js} +2 -2
  36. package/dist/cdn/{HARWKHLL.js → 55SZWBDG.js} +3 -3
  37. package/dist/cdn/{4RHFO4TW.js → 57VUM2OX.js} +2 -2
  38. package/dist/cdn/{GASRMGF3.js → 5AGT5STX.js} +3 -3
  39. package/dist/cdn/{3O74T2BW.js → 5BLRWVVT.js} +2 -2
  40. package/dist/cdn/5BPJLXIU.js +4 -0
  41. package/dist/cdn/{RDTOYXUO.js → 5D6QFA7E.js} +2 -2
  42. package/dist/cdn/{6PZUE6IO.js → 5EVX3HTC.js} +2 -2
  43. package/dist/cdn/5LY5OONV.js +18 -0
  44. package/dist/cdn/{X4RBG23P.js → 5M3POXXX.js} +2 -2
  45. package/dist/cdn/{BECTXYQR.js → 5OZ5KLPF.js} +2 -2
  46. package/dist/cdn/{LVFQXSDW.js → 5VS5R36W.js} +2 -2
  47. package/dist/cdn/{QCMIJZGN.js → 64IH7HAU.js} +2 -2
  48. package/dist/cdn/{CPG2Y2W7.js → 64KLEAWB.js} +2 -2
  49. package/dist/cdn/{M4CWB45H.js → 67YBSQOW.js} +2 -2
  50. package/dist/cdn/{2YWHJCLQ.js → 6BYQHGKG.js} +2 -2
  51. package/dist/cdn/6CH6MP7M.js +18 -0
  52. package/dist/cdn/{TJGX5XSU.js → 6HZDA6VL.js} +2 -2
  53. package/dist/cdn/{HBNOQKMZ.js → 6KL3NJRR.js} +1 -1
  54. package/dist/cdn/{4WBQWYHY.js → 6KMU4IZC.js} +2 -2
  55. package/dist/cdn/{5DRKNWXM.js → 6MQTHJAJ.js} +2 -2
  56. package/dist/cdn/{PT3PZ3UQ.js → 6NTONBY4.js} +2 -2
  57. package/dist/cdn/6OXM73V7.js +4 -0
  58. package/dist/cdn/{J3XGJZHY.js → 6PK752UJ.js} +2 -2
  59. package/dist/cdn/{F5JDDSKB.js → 6UQXA4EH.js} +2 -2
  60. package/dist/cdn/{DWMTPMTE.js → 77F3Y4SZ.js} +2 -2
  61. package/dist/cdn/{AQZGTNDN.js → 7BLXQDEK.js} +2 -2
  62. package/dist/cdn/{RDTPIHCU.js → 7C563I5Y.js} +2 -2
  63. package/dist/cdn/{556HOOAI.js → 7FDUBCB6.js} +2 -2
  64. package/dist/cdn/{DKWW6TDI.js → 7HCS7QDO.js} +2 -2
  65. package/dist/cdn/{WT4JGTP5.js → 7INSFWLF.js} +2 -2
  66. package/dist/cdn/{7BA3EETU.js → 7RXY54AE.js} +2 -2
  67. package/dist/cdn/{WGZYM5TX.js → 7SYXERJO.js} +1 -1
  68. package/dist/cdn/7WEJILVE.js +4 -0
  69. package/dist/cdn/{6IWGTNZ4.js → 7XLXELEX.js} +2 -2
  70. package/dist/cdn/{J6I3BI3Z.js → A437YTBB.js} +2 -2
  71. package/dist/cdn/{VHFFLFX3.js → AADW5ILT.js} +2 -2
  72. package/dist/cdn/{HLNHH2W3.js → ACRHJFIK.js} +2 -2
  73. package/dist/cdn/{BNMCJ4MT.js → AFVKHRR2.js} +3 -3
  74. package/dist/cdn/AKYVL4SJ.js +18 -0
  75. package/dist/cdn/{HZ2P2WXN.js → AOB5K76I.js} +2 -2
  76. package/dist/cdn/{I5NAGGEE.js → AROFWN7J.js} +2 -2
  77. package/dist/cdn/{VX6NO6UP.js → ATHCVVJJ.js} +1 -1
  78. package/dist/cdn/{7P6BX7E4.js → AU5GOE2S.js} +1 -1
  79. package/dist/cdn/{YCD665BP.js → AUHY5KDY.js} +2 -2
  80. package/dist/cdn/{AJZZG5L2.js → AVGRHD4G.js} +2 -2
  81. package/dist/cdn/{W4LG25Z4.js → B6MXVUM7.js} +3 -3
  82. package/dist/cdn/{SP2Q4NT6.js → BH44LJSG.js} +2 -2
  83. package/dist/cdn/{4C2LNWD6.js → BMZSYER5.js} +1 -1
  84. package/dist/cdn/{WBTHCVQF.js → BNGZYVGD.js} +2 -2
  85. package/dist/cdn/{O3KQ6Y6F.js → BPZYGUMF.js} +2 -2
  86. package/dist/cdn/{VBQTZTKH.js → BT3PZ755.js} +1 -1
  87. package/dist/cdn/{Q53UUWOH.js → BZ2BCVFJ.js} +2 -2
  88. package/dist/cdn/{PR3RF7M4.js → BZGPGXVO.js} +2 -2
  89. package/dist/cdn/{VXSM5QR4.js → C44APEWJ.js} +2 -2
  90. package/dist/cdn/{3Y6POPNT.js → CAOSAERX.js} +2 -2
  91. package/dist/cdn/{PH5PMG7G.js → CDKJFB3T.js} +2 -2
  92. package/dist/cdn/{IZMEDDJ7.js → CFSE4FBZ.js} +2 -2
  93. package/dist/cdn/{MBKQOC4C.js → CJQCUJAM.js} +2 -2
  94. package/dist/cdn/{A52BJ3BN.js → CKNLHB2K.js} +3 -3
  95. package/dist/cdn/{SLFXAXL7.js → CNYLCR6J.js} +2 -2
  96. package/dist/cdn/{PPARIX3H.js → CRJF3MOM.js} +2 -2
  97. package/dist/cdn/{DATKNLPV.js → CS2LIBSE.js} +2 -2
  98. package/dist/cdn/{L3HZ5XQK.js → CUJAQZ7Q.js} +2 -2
  99. package/dist/cdn/{6MY2W6GE.js → CVHMFFUJ.js} +2 -2
  100. package/dist/cdn/CWUQXXM2.js +4 -0
  101. package/dist/cdn/{5MMBDZVF.js → DA6O63VU.js} +2 -2
  102. package/dist/cdn/{AY34LEQJ.js → DDORSIZO.js} +2 -2
  103. package/dist/cdn/{46WCESWZ.js → DEHAUXXO.js} +2 -2
  104. package/dist/cdn/{KVGR3ILD.js → DG3J22ET.js} +2 -2
  105. package/dist/cdn/{BUXOG4XM.js → DGAAG2WP.js} +2 -2
  106. package/dist/cdn/{BBP6BMFX.js → DGALIRFU.js} +2 -2
  107. package/dist/cdn/{CRNJDG7E.js → DJIPWE3W.js} +2 -2
  108. package/dist/cdn/{WEX26FZW.js → DM2QASNK.js} +2 -2
  109. package/dist/cdn/{TOKM37U3.js → DMLSWP4B.js} +2 -2
  110. package/dist/cdn/{Y5ADOUXJ.js → DUSKO4ZL.js} +2 -2
  111. package/dist/cdn/{3CLE7NQM.js → E5356ZMA.js} +2 -2
  112. package/dist/cdn/{7R7OEZVJ.js → E7X4JPJZ.js} +2 -2
  113. package/dist/cdn/{EEP7FQZ2.js → ED5F2TPC.js} +1 -1
  114. package/dist/cdn/{XWWVF6VR.js → EDFQHWSA.js} +2 -2
  115. package/dist/cdn/{H3KTBU5N.js → EMDJVLHN.js} +2 -2
  116. package/dist/cdn/{HDHQI2WB.js → ERPKGUIG.js} +2 -2
  117. package/dist/cdn/{BL3BVTYK.js → EW33PWBK.js} +1 -1
  118. package/dist/cdn/{47OAGG4H.js → EYYXEXIY.js} +2 -2
  119. package/dist/cdn/{TS4CBMB4.js → F4ML5DAH.js} +2 -2
  120. package/dist/cdn/{Y2C2EQVN.js → F4YER46Y.js} +2 -2
  121. package/dist/cdn/{DHROLZEC.js → F6HR2OXE.js} +2 -2
  122. package/dist/cdn/{KJRRUGB7.js → F6NAYPRN.js} +2 -2
  123. package/dist/cdn/{V3DPSJYM.js → FB7AKBYZ.js} +2 -2
  124. package/dist/cdn/{VUBCFVLA.js → FC7SCLY3.js} +2 -2
  125. package/dist/cdn/{7YOPUVEZ.js → FCF6DXVK.js} +2 -2
  126. package/dist/cdn/{PEX6BIKS.js → FFZOA5VY.js} +2 -2
  127. package/dist/cdn/{KGE5Z2KB.js → FJLQNJZC.js} +2 -2
  128. package/dist/cdn/{JLZEMRVJ.js → FLMHLO43.js} +2 -2
  129. package/dist/cdn/{5QC6BGFF.js → FQUI4DDD.js} +2 -2
  130. package/dist/cdn/{I6FWBDMC.js → FRA2DQWF.js} +2 -2
  131. package/dist/cdn/{XJZMY3OI.js → FRWCYHC7.js} +2 -2
  132. package/dist/cdn/{RV6BTKGN.js → G3LGAMBQ.js} +2 -2
  133. package/dist/cdn/{4KD77TI4.js → G57QOE4P.js} +2 -2
  134. package/dist/cdn/{RVJS4KMU.js → G5TP26AI.js} +2 -2
  135. package/dist/cdn/{P2L2ZPRZ.js → G6MDAFDN.js} +2 -2
  136. package/dist/cdn/{N2J7PO2U.js → GAYYLVCV.js} +3 -3
  137. package/dist/cdn/{4ILXIPJB.js → GCFYG2IP.js} +2 -2
  138. package/dist/cdn/{H4XGYCEK.js → GESWKJMD.js} +2 -2
  139. package/dist/cdn/{5UEJXZIG.js → GFHDLACH.js} +2 -2
  140. package/dist/cdn/{IIRMGFPC.js → GG5322XB.js} +2 -2
  141. package/dist/cdn/{BM22PXXX.js → GICZBA3H.js} +2 -2
  142. package/dist/cdn/{AF4YTG3T.js → GKDBDC5Q.js} +2 -2
  143. package/dist/cdn/{VCB77HRY.js → GPTEAVC5.js} +2 -2
  144. package/dist/cdn/{V6375P2J.js → GRL5XFU3.js} +2 -2
  145. package/dist/cdn/{UQEUL3DF.js → GZ4MUQVE.js} +2 -2
  146. package/dist/cdn/{Z7MKRO2D.js → H3D27G4Z.js} +2 -2
  147. package/dist/cdn/{GGWG433S.js → H7LI4JLZ.js} +1 -1
  148. package/dist/cdn/{B44X4D5S.js → HAXUZW3B.js} +2 -2
  149. package/dist/cdn/{LVVEQVWY.js → HCGGITXI.js} +2 -2
  150. package/dist/cdn/{EWNPSDA2.js → HHCUJ2TU.js} +2 -2
  151. package/dist/cdn/{G7OSQTOK.js → HKHRMYR3.js} +2 -2
  152. package/dist/cdn/{SLNIHUC6.js → HU23U4PP.js} +2 -2
  153. package/dist/cdn/{PPFIAK2D.js → IEGO27TP.js} +2 -2
  154. package/dist/cdn/{XHC564RC.js → IIDHHI6H.js} +2 -2
  155. package/dist/cdn/IJBIJEFV.js +18 -0
  156. package/dist/cdn/{5WRZKY7U.js → IJCGATIB.js} +2 -2
  157. package/dist/cdn/{CERLLUV3.js → INIUEMX5.js} +2 -2
  158. package/dist/cdn/{GAKJ4DNH.js → IRZ5Q6P6.js} +2 -2
  159. package/dist/cdn/{GWYUOS6I.js → IVMQMFER.js} +2 -2
  160. package/dist/cdn/{LH5B7KT7.js → IXHQQUJE.js} +3 -3
  161. package/dist/cdn/{IQFJFKCO.js → J4PD5ZQ7.js} +1 -1
  162. package/dist/cdn/{FOHUUA47.js → JAY4QLVZ.js} +2 -2
  163. package/dist/cdn/{ZUU3HZSH.js → JE6G7YCF.js} +2 -2
  164. package/dist/cdn/{4K54GYY4.js → JH3DG6QD.js} +3 -3
  165. package/dist/cdn/{P5GDH2ST.js → JKJ2E3QC.js} +2 -2
  166. package/dist/cdn/{NZ5HLWBC.js → JLFUNC3I.js} +2 -2
  167. package/dist/cdn/{7WGBJA6B.js → JODMPBQI.js} +2 -2
  168. package/dist/cdn/{STPLMTCK.js → JOSXFLJM.js} +2 -2
  169. package/dist/cdn/JQONUFIG.js +18 -0
  170. package/dist/cdn/{W47SOUDK.js → K743ADKQ.js} +2 -2
  171. package/dist/cdn/{UVVRF7P6.js → K74PB5FR.js} +1 -1
  172. package/dist/cdn/{UL6OC27X.js → KISPGYCP.js} +2 -2
  173. package/dist/cdn/{ILIHVGKD.js → KKXIEFPA.js} +2 -2
  174. package/dist/cdn/{6FO4YAN7.js → KLJWOWTJ.js} +2 -2
  175. package/dist/cdn/{IF443MUR.js → KQIP55UX.js} +2 -2
  176. package/dist/cdn/{2GZUSXYH.js → KQWVAVJY.js} +2 -2
  177. package/dist/cdn/{ARZASPDX.js → KTWF7YEW.js} +2 -2
  178. package/dist/cdn/{NP4QDQNH.js → KUPVTR4P.js} +2 -2
  179. package/dist/cdn/{LDKUW6EI.js → KVC6QETL.js} +2 -2
  180. package/dist/cdn/{WAPSCM5Q.js → KW7MDDY3.js} +1 -1
  181. package/dist/cdn/{H3MZEDAZ.js → L2KEAIFF.js} +2 -2
  182. package/dist/cdn/{XAULUYYM.js → L3254555.js} +2 -2
  183. package/dist/cdn/{6MYWDSLQ.js → L3Q3HM35.js} +1 -1
  184. package/dist/cdn/{CBOOWC4K.js → L5VACHLZ.js} +2 -2
  185. package/dist/cdn/{TOFNMQGY.js → LBTMKK7G.js} +2 -2
  186. package/dist/cdn/{LAWOR3WN.js → LDLY6XKA.js} +2 -2
  187. package/dist/cdn/{OCGZIEOZ.js → LGVRRCS5.js} +2 -2
  188. package/dist/cdn/{GDZBIFXO.js → LK5HDTLK.js} +2 -2
  189. package/dist/cdn/{M65AXZ5G.js → LLKMGYSP.js} +2 -2
  190. package/dist/cdn/{D7OB7ENK.js → LMAODDCB.js} +2 -2
  191. package/dist/cdn/{PSYECZ4C.js → LOXYPSQZ.js} +2 -2
  192. package/dist/cdn/{O5IVRDV6.js → LQZ5FBXA.js} +2 -2
  193. package/dist/cdn/{ZPTSOCFQ.js → LR4UN32O.js} +2 -2
  194. package/dist/cdn/{MGYRRS6Z.js → LRR4ZR5H.js} +2 -2
  195. package/dist/cdn/{UMY33C3F.js → LZ5XRNJU.js} +2 -2
  196. package/dist/cdn/{O5H5BGS3.js → M35BYI7Y.js} +2 -2
  197. package/dist/cdn/{WCFCTYNP.js → M3PIEBE5.js} +3 -3
  198. package/dist/cdn/{2E7WLOKE.js → M7P2ZTLV.js} +2 -2
  199. package/dist/cdn/{KN7HO52G.js → MDIV2FIJ.js} +2 -2
  200. package/dist/cdn/{A7G7SRFT.js → MDNDODSS.js} +2 -2
  201. package/dist/cdn/{EMCCFJY2.js → MJ3U6PJY.js} +2 -2
  202. package/dist/cdn/{Z6X5YQBP.js → MOSTA2DP.js} +1 -1
  203. package/dist/cdn/{JRMDQIAC.js → MPNGG3EB.js} +2 -2
  204. package/dist/cdn/{3ZMLIO2Z.js → MR4CUJA5.js} +2 -2
  205. package/dist/cdn/{BVS5CJVJ.js → MR7TKHWW.js} +2 -2
  206. package/dist/cdn/{YMBYDVQX.js → MSOGJSYT.js} +2 -2
  207. package/dist/cdn/{XMBXJUNJ.js → N3V7I4KP.js} +1 -1
  208. package/dist/cdn/N5SMXPJM.js +4 -0
  209. package/dist/cdn/{JISXLU4B.js → N6FSCHMI.js} +2 -2
  210. package/dist/cdn/{ENTE2FWL.js → NAEHM6JI.js} +2 -2
  211. package/dist/cdn/{5LCWHTSB.js → NCQJQIGP.js} +2 -2
  212. package/dist/cdn/{LBL7YXK7.js → NSBCSLHQ.js} +2 -2
  213. package/dist/cdn/{UZWI2BWH.js → NWFXWOAO.js} +2 -2
  214. package/dist/cdn/{4ZYCXL6Y.js → NY4VVXOI.js} +2 -2
  215. package/dist/cdn/{2TS5JRM2.js → NZLIU3NZ.js} +2 -2
  216. package/dist/cdn/{2BD4G2BY.js → O7XMERIK.js} +2 -2
  217. package/dist/cdn/{YR4ZQNRK.js → OA5BDZZH.js} +2 -2
  218. package/dist/cdn/{DAH75NDC.js → OENFSWWX.js} +2 -2
  219. package/dist/cdn/{73UBKOR7.js → OGINZV2L.js} +1 -1
  220. package/dist/cdn/{EPRLXSPX.js → OHAUP2TS.js} +2 -2
  221. package/dist/cdn/{AG2XI553.js → OVB6WWYJ.js} +2 -2
  222. package/dist/cdn/{MQOQNXC5.js → OVDOY2TB.js} +2 -2
  223. package/dist/cdn/{PPF27IN2.js → OVEIHKZZ.js} +2 -2
  224. package/dist/cdn/{5S4MCO7E.js → OVVYNB4P.js} +2 -2
  225. package/dist/cdn/{VFZOGSG6.js → OWNE3NKH.js} +4 -4
  226. package/dist/cdn/{NQRIGQLF.js → OWNKZH3J.js} +3 -3
  227. package/dist/cdn/{Z7ZABYMC.js → OWPOIGI3.js} +2 -2
  228. package/dist/cdn/{IO6CMOFI.js → OYR5JAG3.js} +3 -3
  229. package/dist/cdn/{5TIKT6VX.js → OZP2AS5I.js} +2 -2
  230. package/dist/cdn/{VGQL5KHW.js → OZXJ2M5O.js} +2 -2
  231. package/dist/cdn/{BE5INC5J.js → PAWE5LYT.js} +2 -2
  232. package/dist/cdn/{GUXQRPSG.js → PB5W7EYR.js} +2 -2
  233. package/dist/cdn/{DGJ272RS.js → PCJDMYM4.js} +2 -2
  234. package/dist/cdn/{J6CYMW24.js → PDBMILPZ.js} +1 -1
  235. package/dist/cdn/{5HEFGENU.js → PHDYMI4U.js} +2 -2
  236. package/dist/cdn/{SWFNPXRC.js → PNSRB675.js} +2 -2
  237. package/dist/cdn/{45CWNVM4.js → PNZWOZIO.js} +1 -1
  238. package/dist/cdn/{SR5BKSJN.js → POIPE7OT.js} +2 -2
  239. package/dist/cdn/{IE3UPQ5P.js → PUCYFTMU.js} +2 -2
  240. package/dist/cdn/{JFWDCPOK.js → PZGSUW4E.js} +2 -2
  241. package/dist/cdn/{KO7TRU4W.js → Q253POJJ.js} +1 -1
  242. package/dist/cdn/{OCSTLVAU.js → Q25NUDBB.js} +2 -2
  243. package/dist/cdn/{F5MH4H3W.js → QBACNHT4.js} +2 -2
  244. package/dist/cdn/{52LZNY5Z.js → QBVRFM7C.js} +2 -2
  245. package/dist/cdn/{3DYLDJJU.js → QESHG4WZ.js} +2 -2
  246. package/dist/cdn/{A6GUU5AX.js → QOSVCQEN.js} +2 -2
  247. package/dist/cdn/{3VH6VRIL.js → QTDYELK6.js} +1 -1
  248. package/dist/cdn/{MGNBTR3T.js → QU2RIV42.js} +2 -2
  249. package/dist/cdn/QWXBFNTX.js +4 -0
  250. package/dist/cdn/{B7WRSGID.js → R45VY7IL.js} +2 -2
  251. package/dist/cdn/{K2OF74BM.js → R4LWV66S.js} +2 -2
  252. package/dist/cdn/{FQNHGIZU.js → RDKSB4BZ.js} +2 -2
  253. package/dist/cdn/{BPER6MAD.js → REM4XQLE.js} +2 -2
  254. package/dist/cdn/{4HZ2QAYA.js → RFLPQTHR.js} +1 -1
  255. package/dist/cdn/{BPKUJR36.js → RGEOJKWT.js} +1 -1
  256. package/dist/cdn/RHH5VDPN.js +4 -0
  257. package/dist/cdn/{LR5I37WQ.js → RKGMIWAB.js} +1 -1
  258. package/dist/cdn/{A65G4H3I.js → RKI47VQ2.js} +2 -2
  259. package/dist/cdn/{K6XSASXJ.js → RKIYQIND.js} +2 -2
  260. package/dist/cdn/{BH4D4I66.js → RSERAAVS.js} +2 -2
  261. package/dist/cdn/RXTPHD3N.js +4 -0
  262. package/dist/cdn/{CV7SIYQB.js → S3UOX3S5.js} +2 -2
  263. package/dist/cdn/{EZYPPXI5.js → S5HZ3ZDX.js} +2 -2
  264. package/dist/cdn/{N77LXFJO.js → SCHYFVMA.js} +1 -1
  265. package/dist/cdn/{MPUVRSSI.js → SDATDAKA.js} +2 -2
  266. package/dist/cdn/SE7AJBLC.js +18 -0
  267. package/dist/cdn/{6T2KRIOV.js → SFSJYGXN.js} +1 -1
  268. package/dist/cdn/SIV3TXNM.js +18 -0
  269. package/dist/cdn/{6I2WO3MS.js → SLDGR2DM.js} +2 -2
  270. package/dist/cdn/{I3NAOZQE.js → SQKB5YHF.js} +1 -1
  271. package/dist/cdn/{OMVASHW4.js → T66ZKGRR.js} +1 -1
  272. package/dist/cdn/{623F524K.js → T6TRDLLW.js} +2 -2
  273. package/dist/cdn/{YUKX5NZM.js → TDYZLGUB.js} +2 -2
  274. package/dist/cdn/{OSCEM2U7.js → TFX7FLLB.js} +2 -2
  275. package/dist/cdn/{VV5IZXCT.js → TLXOAJK5.js} +2 -2
  276. package/dist/cdn/{TDIHNWSU.js → TX7XEQOI.js} +1 -1
  277. package/dist/cdn/{4XO5DA2Z.js → TYRLD7J2.js} +2 -2
  278. package/dist/cdn/{P57LLTO4.js → TYSGRYCE.js} +2 -2
  279. package/dist/cdn/{AT2MYDNO.js → TZG6SUZL.js} +2 -2
  280. package/dist/cdn/{KQBZDRA2.js → U3YMG7NH.js} +2 -2
  281. package/dist/cdn/{A4VEFLVI.js → U62Y6WZO.js} +2 -2
  282. package/dist/cdn/{JIDFDNXL.js → UCPFFUQC.js} +2 -2
  283. package/dist/cdn/{35IPNWIA.js → ULJ5HIFK.js} +2 -2
  284. package/dist/cdn/{GIG2YOSZ.js → UPJWS62Y.js} +2 -2
  285. package/dist/cdn/{7P7TUPYX.js → UYXUVFKE.js} +2 -2
  286. package/dist/cdn/{PO3FWL25.js → V5TIHCQF.js} +2 -2
  287. package/dist/cdn/{HLPASQSC.js → VC3WICDQ.js} +2 -2
  288. package/dist/cdn/{JB23XI2C.js → VD6EFCRJ.js} +2 -2
  289. package/dist/cdn/{4BB65RBC.js → VDCKQGGM.js} +2 -2
  290. package/dist/cdn/{4M27ZLPU.js → VG77G3L3.js} +2 -2
  291. package/dist/cdn/{7TRPIZH3.js → VHJXFNTB.js} +2 -2
  292. package/dist/cdn/{6BTTNO72.js → VJWAIQPC.js} +2 -2
  293. package/dist/cdn/{VBIP22FA.js → VKLLQNEW.js} +2 -2
  294. package/dist/cdn/{6AGOEJ5R.js → VN2Z7U4S.js} +2 -2
  295. package/dist/cdn/{CICA44LA.js → VNHY7WVH.js} +2 -2
  296. package/dist/cdn/VNZX5NLF.js +4 -0
  297. package/dist/cdn/{5DBLECTA.js → VQCSCWLK.js} +2 -2
  298. package/dist/cdn/{5A2YF5CO.js → VYCVM7AQ.js} +1 -1
  299. package/dist/cdn/{S5TXEMDA.js → VYETQ5OQ.js} +2 -2
  300. package/dist/cdn/{RHOVMU5R.js → W5LN2VYT.js} +2 -2
  301. package/dist/cdn/{EBJCBGMZ.js → WAOQ3JCJ.js} +2 -2
  302. package/dist/cdn/{IJHGYFOF.js → WC7D5CTI.js} +2 -2
  303. package/dist/cdn/WDUEH22A.js +4 -0
  304. package/dist/cdn/{LDSPXKLJ.js → WNWEV3AC.js} +2 -2
  305. package/dist/cdn/{PRFQ4DSW.js → WOF27X3U.js} +1 -1
  306. package/dist/cdn/{CTPO5PIR.js → WR2MBTUF.js} +2 -2
  307. package/dist/cdn/{WPNIULXA.js → WTGX35K4.js} +2 -2
  308. package/dist/cdn/{RX3ADE2L.js → WTU66RJH.js} +2 -2
  309. package/dist/cdn/{23SQJFTU.js → WTZ5V3MZ.js} +2 -2
  310. package/dist/cdn/{VMGVLHKO.js → WYUUHAX5.js} +1 -1
  311. package/dist/cdn/{NEDWBRTH.js → X5XLKUPY.js} +2 -2
  312. package/dist/cdn/{XUAVDQZL.js → X73PGIQR.js} +2 -2
  313. package/dist/cdn/{PQ4TJ3PN.js → X7S4K6O4.js} +2 -2
  314. package/dist/cdn/{SBH72B4E.js → XEIR3HD2.js} +3 -3
  315. package/dist/cdn/{QCNEXFZZ.js → XGMVUDCR.js} +2 -2
  316. package/dist/cdn/{QRSZX4MW.js → XJV42NPL.js} +2 -2
  317. package/dist/cdn/{NACRE5IL.js → XQYMKMCD.js} +2 -2
  318. package/dist/cdn/{KJ2OF567.js → XTSZRRWZ.js} +3 -3
  319. package/dist/cdn/{RQO7QXBP.js → XU5Y7VU2.js} +2 -2
  320. package/dist/cdn/{ZPDX4PMZ.js → XUFAW7KH.js} +2 -2
  321. package/dist/cdn/{HNV3KWGU.js → XUJUH4UK.js} +2 -2
  322. package/dist/cdn/{NAMORLIM.js → XUTQASNK.js} +2 -2
  323. package/dist/cdn/{EIXLDHP6.js → XW6UDQOC.js} +2 -2
  324. package/dist/cdn/{VVWNWDYZ.js → Y2HBFVM4.js} +2 -2
  325. package/dist/cdn/{3SFF7YJN.js → Y3LT4KUT.js} +1 -1
  326. package/dist/cdn/{ZXOBUIZD.js → Y3TZCUDN.js} +2 -2
  327. package/dist/cdn/Y4NZE64P.js +4 -0
  328. package/dist/cdn/{6KSFG3EX.js → Y4RGBYW4.js} +2 -2
  329. package/dist/cdn/{AI3LZ2AZ.js → Y7LGH6KN.js} +1 -1
  330. package/dist/cdn/{WEVP46XF.js → YK3CVDW7.js} +2 -2
  331. package/dist/cdn/{ZBY7UHRE.js → YK7CSNSO.js} +2 -2
  332. package/dist/cdn/{RGLTVSJ6.js → YYLWNW2V.js} +2 -2
  333. package/dist/cdn/{KJPGVC2V.js → YYS3KCN2.js} +3 -3
  334. package/dist/cdn/{L65HSJJ4.js → Z27EOVYK.js} +2 -2
  335. package/dist/cdn/Z6DZIVF7.js +18 -0
  336. package/dist/cdn/{7LKMLVFM.js → ZASSV5QG.js} +2 -2
  337. package/dist/cdn/{ZXS2W5HZ.js → ZBPVWS4U.js} +2 -2
  338. package/dist/cdn/{FWDMOFW7.js → ZDRTTMHR.js} +2 -2
  339. package/dist/cdn/{HL3AEROY.js → ZERWOJO6.js} +3 -3
  340. package/dist/cdn/{M5LJIBVH.js → ZMWV3XIS.js} +2 -2
  341. package/dist/cdn/{POBIFQ67.js → ZPI3URP2.js} +8 -6
  342. package/dist/cdn/{EUE7NALH.js → ZPJLLGVT.js} +2 -2
  343. package/dist/cdn/{CRFFARNR.js → ZQ53XSXJ.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
  346. package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  349. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  350. package/dist/cdn/index.js +2 -2
  351. package/dist/chunks/Auth.js +1 -1
  352. package/dist/chunks/CardsFetcher.js +1 -1
  353. package/dist/chunks/appConfig.js +1 -1
  354. package/dist/chunks/cardFetchingUtils.js +1 -1
  355. package/dist/chunks/cardsHelpers.js +1 -1
  356. package/dist/chunks/common.js +1 -1
  357. package/dist/chunks/deployAppContexts.js +1 -1
  358. package/dist/chunks/downloadUtils.js +1 -1
  359. package/dist/chunks/getItemIcon.js +1 -1
  360. package/dist/chunks/helpers.js +1 -1
  361. package/dist/chunks/interfaces.js +1 -1
  362. package/dist/chunks/loadModules.js +1 -1
  363. package/dist/chunks/mapViewUtils.js +1 -1
  364. package/dist/chunks/pciUtils.js +1 -1
  365. package/dist/chunks/popupUtils.js +1 -1
  366. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  367. package/dist/chunks/privilegeUtils.js +1 -1
  368. package/dist/chunks/publicNotificationContext.js +1 -1
  369. package/dist/chunks/queryUtils.js +1 -1
  370. package/dist/chunks/runtime.js +1 -1
  371. package/dist/chunks/solution-store.js +1 -1
  372. package/dist/chunks/templates.js +1 -1
  373. package/dist/chunks/useT9n.js +1 -1
  374. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +94 -9
  375. package/dist/components/arcgis-solutions-assistant/customElement.js +272 -63
  376. package/dist/components/arcgis-solutions-assistant/index.d.ts +4 -4
  377. package/dist/components/arcgis-solutions-assistant/index.js +4 -4
  378. package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +22 -0
  379. package/dist/components/basemap-gallery/customElement.js +1 -1
  380. package/dist/components/buffer-tools/customElement.js +1 -1
  381. package/dist/components/card-manager/customElement.js +1 -1
  382. package/dist/components/consent-manager/customElement.js +1 -1
  383. package/dist/components/create-feature/customElement.js +1 -1
  384. package/dist/components/create-related-feature/customElement.js +1 -1
  385. package/dist/components/crowdsource-manager/customElement.js +1 -1
  386. package/dist/components/crowdsource-reporter/customElement.js +3 -3
  387. package/dist/components/deduct-calculator/customElement.js +1 -1
  388. package/dist/components/delete-button/customElement.js +1 -1
  389. package/dist/components/delete-dialog/customElement.js +1 -1
  390. package/dist/components/edit-card/customElement.js +1 -1
  391. package/dist/components/feature-details/customElement.js +1 -1
  392. package/dist/components/feature-list/customElement.js +1 -1
  393. package/dist/components/field-selection/customElement.js +1 -1
  394. package/dist/components/floor-filter/customElement.js +1 -1
  395. package/dist/components/info-card/customElement.js +1 -1
  396. package/dist/components/json-editor/customElement.js +1 -1
  397. package/dist/components/layer-list/customElement.js +1 -1
  398. package/dist/components/layer-table/customElement.js +1 -1
  399. package/dist/components/map-card/customElement.js +1 -1
  400. package/dist/components/map-draw-tools/customElement.js +1 -1
  401. package/dist/components/map-fullscreen/customElement.js +1 -1
  402. package/dist/components/map-layer-picker/customElement.js +1 -1
  403. package/dist/components/map-legend/customElement.js +1 -1
  404. package/dist/components/map-picker/customElement.js +1 -1
  405. package/dist/components/map-search/customElement.js +1 -1
  406. package/dist/components/map-select-tools/customElement.js +1 -1
  407. package/dist/components/map-tools/customElement.js +1 -1
  408. package/dist/components/pci-calculator/customElement.js +1 -1
  409. package/dist/components/pdf-download/customElement.js +1 -1
  410. package/dist/components/public-notification/customElement.js +1 -1
  411. package/dist/components/refine-selection/customElement.js +1 -1
  412. package/dist/components/selection-tool/customElement.js +1 -1
  413. package/dist/components/solution-configuration/customElement.js +1 -1
  414. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  415. package/dist/components/solution-configure-titles/customElement.js +22 -19
  416. package/dist/components/solution-contents/customElement.js +1 -1
  417. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  418. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  419. package/dist/components/solution-deployed-card/customElement.js +1 -1
  420. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  421. package/dist/components/solution-details-card/customElement.js +1 -1
  422. package/dist/components/solution-details-panel/customElement.js +1 -1
  423. package/dist/components/solution-item/customElement.js +1 -1
  424. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  425. package/dist/components/solution-item-accordion/customElement.js +13 -9
  426. package/dist/components/solution-item-details/customElement.js +1 -1
  427. package/dist/components/solution-item-diagram/customElement.js +1 -1
  428. package/dist/components/solution-item-icon/customElement.js +1 -1
  429. package/dist/components/solution-item-sharing/customElement.js +1 -1
  430. package/dist/components/solution-organization-variables/customElement.js +1 -1
  431. package/dist/components/solution-resource-card/customElement.js +1 -1
  432. package/dist/components/solution-resource-item/customElement.js +1 -1
  433. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  434. package/dist/components/solution-social-share/customElement.js +1 -1
  435. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  436. package/dist/components/solution-template-data/customElement.js +1 -1
  437. package/dist/components/solution-variables/customElement.js +1 -1
  438. package/dist/components/solutions-all-panel/customElement.d.ts +2 -0
  439. package/dist/components/solutions-all-panel/customElement.js +52 -44
  440. package/dist/components/solutions-all-panel/index.d.ts +1 -0
  441. package/dist/components/solutions-all-panel/index.js +1 -0
  442. package/dist/components/solutions-all-shell/customElement.js +29 -26
  443. package/dist/components/solutions-deploy-app/customElement.js +10 -10
  444. package/dist/components/solutions-deploy-app-nav/customElement.js +17 -17
  445. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  446. package/dist/components/solutions-deployed-panel/customElement.js +12 -12
  447. package/dist/components/solutions-deployed-shell/customElement.js +11 -11
  448. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  449. package/dist/components/solutions-filter-panel/customElement.js +39 -30
  450. package/dist/components/solutions-filter-panel/index.d.ts +1 -0
  451. package/dist/components/solutions-filter-panel/index.js +1 -0
  452. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  453. package/dist/components/solutions-resources/customElement.js +32 -35
  454. package/dist/components/solutions-resources/index.d.ts +0 -1
  455. package/dist/components/solutions-resources/index.js +0 -1
  456. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  457. package/dist/components/solutions-searchsort-toolbar/customElement.js +27 -25
  458. package/dist/components/spatial-ref/customElement.js +1 -1
  459. package/dist/components/store-manager/customElement.js +1 -1
  460. package/dist/docs/api.json +340 -20
  461. package/dist/docs/docs.json +317 -12
  462. package/dist/docs/vscode.html-custom-data.json +26 -4
  463. package/dist/docs/web-types.json +77 -11
  464. package/dist/index.d.ts +2 -1
  465. package/dist/index.js +1 -1
  466. package/dist/loader.js +4 -4
  467. package/dist/types/lumina.d.ts +4 -3
  468. package/dist/types/preact.d.ts +4 -3
  469. package/dist/types/preact10.d.ts +4 -3
  470. package/dist/types/react.d.ts +4 -3
  471. package/dist/types/stencil.d.ts +4 -3
  472. package/package.json +1 -1
  473. package/dist/cdn/245N3FPP.js +0 -18
  474. package/dist/cdn/3GU7ZNWV.js +0 -4
  475. package/dist/cdn/4MZUR4NG.js +0 -18
  476. package/dist/cdn/4YIZEZKC.js +0 -18
  477. package/dist/cdn/7KOW2EXB.js +0 -18
  478. package/dist/cdn/7RBR34BU.js +0 -4
  479. package/dist/cdn/AWABXH72.js +0 -4
  480. package/dist/cdn/BNM5IE3R.js +0 -4
  481. package/dist/cdn/BXXEXFCL.js +0 -4
  482. package/dist/cdn/EIGLYFM4.js +0 -4
  483. package/dist/cdn/EVTRPFR5.js +0 -4
  484. package/dist/cdn/J7NJWEKO.js +0 -18
  485. package/dist/cdn/JDT4UAPF.js +0 -18
  486. package/dist/cdn/JOKQFCIP.js +0 -4
  487. package/dist/cdn/MVUCG4NF.js +0 -18
  488. package/dist/cdn/NK2GZCRX.js +0 -4
  489. package/dist/cdn/ON3NCOVN.js +0 -4
  490. package/dist/cdn/RSNVWFY4.js +0 -18
  491. package/dist/cdn/SYZNHJO4.js +0 -18
  492. package/dist/cdn/UIZKUEAJ.js +0 -4
  493. package/dist/cdn/UPROQTFG.js +0 -18
  494. package/dist/cdn/VBFK6RWN.js +0 -4
  495. package/dist/cdn/ZDHTWREA.js +0 -18
package/dist/loader.js CHANGED
@@ -2,9 +2,9 @@ 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.12 */
5
+ v1.2.0-next.14 */
6
6
  const l = o(e, {
7
- "arcgis-solutions-assistant": [() => import("./components/arcgis-solutions-assistant/customElement.js"), "AIServerUrl,token"],
7
+ "arcgis-solutions-assistant": [() => import("./components/arcgis-solutions-assistant/customElement.js"), "docAIurl,open,serverRoot,solutionAIurl,token;handleSendMessage,loopRequest,requestAIServer;resetChat"],
8
8
  "basemap-gallery": [() => import("./components/basemap-gallery/customElement.js"), "basemapConfig:,basemapWidget:,mapView:"],
9
9
  "buffer-tools": [() => import("./components/buffer-tools/customElement.js"), "appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],
10
10
  "card-manager": [() => import("./components/card-manager/customElement.js"), "customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],
@@ -50,7 +50,7 @@ const l = o(e, {
50
50
  "solution-details-card": [() => import("./components/solution-details-card/customElement.js"), "card:"],
51
51
  "solution-details-panel": [() => import("./components/solution-details-panel/customElement.js"), "card:"],
52
52
  "solution-item": [() => import("./components/solution-item/customElement.js"), "authentication:,itemId,organizationVariables,solutionVariables"],
53
- "solution-item-accordion": [() => import("./components/solution-item-accordion/customElement.js"), "itemRelationshipDependencies:,linkType,listSelectionMode,templateInfos:,typeKeywords:;collapseAll,deselectAll,selectItem,selectItems"],
53
+ "solution-item-accordion": [() => import("./components/solution-item-accordion/customElement.js"), "itemRelationshipDependencies:,linkType,listSelectionMode,templateInfos:,typeKeywords:;collapseAll,deselectAll,selectFirstItem,selectItem,selectItems"],
54
54
  "solution-item-details": [() => import("./components/solution-item-details/customElement.js"), "itemId"],
55
55
  "solution-item-diagram": [() => import("./components/solution-item-diagram/customElement.js"), "diagramKey,templateInfoGraph:,typeKeywords:"],
56
56
  "solution-item-icon": [() => import("./components/solution-item-icon/customElement.js"), "isPortal,type,typeKeywords:"],
@@ -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,isAIsettingEnabled,showReset;;changeIndustryFilter,clearFilters"],
73
+ "solutions-filter-panel": [() => import("./components/solutions-filter-panel/customElement.js"), "hideIndustryFilter,isAIDialogOpen,isAIsettingEnabled,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")],
@@ -74,8 +74,8 @@ import type { SpatialRef } from "../components/spatial-ref";
74
74
  import type { StoreManager } from "../components/store-manager";
75
75
  import type { h, EventHandler } from "@arcgis/lumina";
76
76
 
77
- interface LuminaArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'AIServerUrl' | 'token'>>, h.JSX.HTMLAttributes<HTMLArcgisSolutionsAssistantElement> {
78
- onarcgisCreateSolutionEvent?: EventHandler<HTMLArcgisSolutionsAssistantElement["arcgisCreateSolutionEvent"]>;
77
+ interface LuminaArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'docAIurl' | 'open' | 'serverRoot' | 'solutionAIurl' | 'token'>>, h.JSX.HTMLAttributes<HTMLArcgisSolutionsAssistantElement> {
78
+ oncloseAssistant?: EventHandler<HTMLArcgisSolutionsAssistantElement["closeAssistant"]>;
79
79
  }
80
80
 
81
81
  interface LuminaBasemapGallery extends Partial<Pick<BasemapGallery, 'basemapConfig' | 'basemapWidget' | 'mapView'>>, h.JSX.HTMLAttributes<HTMLBasemapGalleryElement> {
@@ -355,6 +355,7 @@ interface LuminaSolutionVariables extends Partial<Pick<SolutionVariables, 'value
355
355
  interface LuminaSolutionsAllPanel extends Partial<Pick<SolutionsAllPanel, 'sortType'>>, h.JSX.HTMLAttributes<HTMLSolutionsAllPanelElement> {
356
356
  onallCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["allCardsFetched"]>;
357
357
  oncardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["cardsFetched"]>;
358
+ ondetailsCardSelected?: EventHandler<HTMLSolutionsAllPanelElement["detailsCardSelected"]>;
358
359
  onsearchTermSet?: EventHandler<HTMLSolutionsAllPanelElement["searchTermSet"]>;
359
360
  }
360
361
 
@@ -387,7 +388,7 @@ interface LuminaSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShe
387
388
  ontokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
388
389
  }
389
390
 
390
- interface LuminaSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIsettingEnabled' | 'showReset'>>, h.JSX.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
391
+ interface LuminaSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, h.JSX.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
391
392
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
392
393
  }
393
394
 
@@ -75,8 +75,8 @@ import type { StoreManager } from "../components/store-manager";
75
75
  import { HTMLAttributes } from "preact";
76
76
  import type { EventHandler } from "@arcgis/lumina";
77
77
 
78
- interface PreactArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'AIServerUrl' | 'token'>>, HTMLAttributes<HTMLArcgisSolutionsAssistantElement> {
79
- onarcgisCreateSolutionEvent?: EventHandler<HTMLArcgisSolutionsAssistantElement["arcgisCreateSolutionEvent"]>;
78
+ interface PreactArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'docAIurl' | 'open' | 'serverRoot' | 'solutionAIurl' | 'token'>>, HTMLAttributes<HTMLArcgisSolutionsAssistantElement> {
79
+ oncloseAssistant?: EventHandler<HTMLArcgisSolutionsAssistantElement["closeAssistant"]>;
80
80
  }
81
81
 
82
82
  interface PreactBasemapGallery extends Partial<Pick<BasemapGallery, 'basemapConfig' | 'basemapWidget' | 'mapView'>>, HTMLAttributes<HTMLBasemapGalleryElement> {
@@ -356,6 +356,7 @@ interface PreactSolutionVariables extends Partial<Pick<SolutionVariables, 'value
356
356
  interface PreactSolutionsAllPanel extends Partial<Pick<SolutionsAllPanel, 'sortType'>>, HTMLAttributes<HTMLSolutionsAllPanelElement> {
357
357
  onallCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["allCardsFetched"]>;
358
358
  oncardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["cardsFetched"]>;
359
+ ondetailsCardSelected?: EventHandler<HTMLSolutionsAllPanelElement["detailsCardSelected"]>;
359
360
  onsearchTermSet?: EventHandler<HTMLSolutionsAllPanelElement["searchTermSet"]>;
360
361
  }
361
362
 
@@ -388,7 +389,7 @@ interface PreactSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShe
388
389
  ontokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
389
390
  }
390
391
 
391
- interface PreactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIsettingEnabled' | 'showReset'>>, HTMLAttributes<HTMLSolutionsFilterPanelElement> {
392
+ interface PreactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, HTMLAttributes<HTMLSolutionsFilterPanelElement> {
392
393
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
393
394
  }
394
395
 
@@ -76,8 +76,8 @@ import { JSX as PreactJsx } from "preact";
76
76
  import type { EventHandler } from "@arcgis/lumina";
77
77
 
78
78
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
79
- interface PreactArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'AIServerUrl' | 'token'>>, PreactJsx.HTMLAttributes<HTMLArcgisSolutionsAssistantElement> {
80
- onarcgisCreateSolutionEvent?: EventHandler<HTMLArcgisSolutionsAssistantElement["arcgisCreateSolutionEvent"]>;
79
+ interface PreactArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'docAIurl' | 'open' | 'serverRoot' | 'solutionAIurl' | 'token'>>, PreactJsx.HTMLAttributes<HTMLArcgisSolutionsAssistantElement> {
80
+ oncloseAssistant?: EventHandler<HTMLArcgisSolutionsAssistantElement["closeAssistant"]>;
81
81
  }
82
82
 
83
83
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
@@ -416,6 +416,7 @@ interface PreactSolutionVariables extends Partial<Pick<SolutionVariables, 'value
416
416
  interface PreactSolutionsAllPanel extends Partial<Pick<SolutionsAllPanel, 'sortType'>>, PreactJsx.HTMLAttributes<HTMLSolutionsAllPanelElement> {
417
417
  onallCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["allCardsFetched"]>;
418
418
  oncardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["cardsFetched"]>;
419
+ ondetailsCardSelected?: EventHandler<HTMLSolutionsAllPanelElement["detailsCardSelected"]>;
419
420
  onsearchTermSet?: EventHandler<HTMLSolutionsAllPanelElement["searchTermSet"]>;
420
421
  }
421
422
 
@@ -455,7 +456,7 @@ interface PreactSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShe
455
456
  }
456
457
 
457
458
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
458
- interface PreactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIsettingEnabled' | 'showReset'>>, PreactJsx.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
459
+ interface PreactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, PreactJsx.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
459
460
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
460
461
  }
461
462
 
@@ -75,8 +75,8 @@ import type { StoreManager } from "../components/store-manager";
75
75
  import type { HTMLProps } from 'react';
76
76
  import type { EventHandler } from "@arcgis/lumina";
77
77
 
78
- interface ReactArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'AIServerUrl' | 'token'>>, HTMLProps<HTMLArcgisSolutionsAssistantElement> {
79
- onarcgisCreateSolutionEvent?: EventHandler<HTMLArcgisSolutionsAssistantElement["arcgisCreateSolutionEvent"]>;
78
+ interface ReactArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'docAIurl' | 'open' | 'serverRoot' | 'solutionAIurl' | 'token'>>, HTMLProps<HTMLArcgisSolutionsAssistantElement> {
79
+ oncloseAssistant?: EventHandler<HTMLArcgisSolutionsAssistantElement["closeAssistant"]>;
80
80
  }
81
81
 
82
82
  interface ReactBasemapGallery extends Partial<Pick<BasemapGallery, 'basemapConfig' | 'basemapWidget' | 'mapView'>>, HTMLProps<HTMLBasemapGalleryElement> {
@@ -356,6 +356,7 @@ interface ReactSolutionVariables extends Partial<Pick<SolutionVariables, 'value'
356
356
  interface ReactSolutionsAllPanel extends Partial<Pick<SolutionsAllPanel, 'sortType'>>, HTMLProps<HTMLSolutionsAllPanelElement> {
357
357
  onallCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["allCardsFetched"]>;
358
358
  oncardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["cardsFetched"]>;
359
+ ondetailsCardSelected?: EventHandler<HTMLSolutionsAllPanelElement["detailsCardSelected"]>;
359
360
  onsearchTermSet?: EventHandler<HTMLSolutionsAllPanelElement["searchTermSet"]>;
360
361
  }
361
362
 
@@ -388,7 +389,7 @@ interface ReactSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShel
388
389
  ontokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
389
390
  }
390
391
 
391
- interface ReactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIsettingEnabled' | 'showReset'>>, HTMLProps<HTMLSolutionsFilterPanelElement> {
392
+ interface ReactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, HTMLProps<HTMLSolutionsFilterPanelElement> {
392
393
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
393
394
  }
394
395
 
@@ -75,8 +75,8 @@ import type { StoreManager } from "../components/store-manager";
75
75
  import { JSXBase as StencilJsx } from "@stencil/core/internal";
76
76
  import type { EventHandler } from "@arcgis/lumina";
77
77
 
78
- interface StencilArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'AIServerUrl' | 'token'>>, StencilJsx.HTMLAttributes<HTMLArcgisSolutionsAssistantElement> {
79
- onArcgisCreateSolutionEvent?: EventHandler<HTMLArcgisSolutionsAssistantElement["arcgisCreateSolutionEvent"]>;
78
+ interface StencilArcgisSolutionsAssistant extends Partial<Pick<ArcgisSolutionsAssistant, 'docAIurl' | 'open' | 'serverRoot' | 'solutionAIurl' | 'token'>>, StencilJsx.HTMLAttributes<HTMLArcgisSolutionsAssistantElement> {
79
+ onCloseAssistant?: EventHandler<HTMLArcgisSolutionsAssistantElement["closeAssistant"]>;
80
80
  }
81
81
 
82
82
  interface StencilBasemapGallery extends Partial<Pick<BasemapGallery, 'basemapConfig' | 'basemapWidget' | 'mapView'>>, StencilJsx.HTMLAttributes<HTMLBasemapGalleryElement> {
@@ -356,6 +356,7 @@ interface StencilSolutionVariables extends Partial<Pick<SolutionVariables, 'valu
356
356
  interface StencilSolutionsAllPanel extends Partial<Pick<SolutionsAllPanel, 'sortType'>>, StencilJsx.HTMLAttributes<HTMLSolutionsAllPanelElement> {
357
357
  onAllCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["allCardsFetched"]>;
358
358
  onCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["cardsFetched"]>;
359
+ onDetailsCardSelected?: EventHandler<HTMLSolutionsAllPanelElement["detailsCardSelected"]>;
359
360
  onSearchTermSet?: EventHandler<HTMLSolutionsAllPanelElement["searchTermSet"]>;
360
361
  }
361
362
 
@@ -388,7 +389,7 @@ interface StencilSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedSh
388
389
  onTokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
389
390
  }
390
391
 
391
- interface StencilSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIsettingEnabled' | 'showReset'>>, StencilJsx.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
392
+ interface StencilSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, 'hideIndustryFilter' | 'isAIDialogOpen' | 'isAIsettingEnabled' | 'showReset'>>, StencilJsx.HTMLAttributes<HTMLSolutionsFilterPanelElement> {
392
393
  onApplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
393
394
  }
394
395
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "1.2.0-next.12",
3
+ "version": "1.2.0-next.14",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,18 +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.12 */
4
- import{a as p}from"./45CWNVM4.js";import{b as u}from"./J6I3BI3Z.js";import{c as h}from"./6KSFG3EX.js";import"./RGLTVSJ6.js";import"./BL3BVTYK.js";import"./7R7OEZVJ.js";import"./5DRKNWXM.js";import"./V3DPSJYM.js";import"./F5AX56BO.js";import"./N77LXFJO.js";import"./KYJSQUTW.js";import"./4HZ2QAYA.js";import"./IQFJFKCO.js";import"./HBNOQKMZ.js";import"./LVVEQVWY.js";import"./HLNHH2W3.js";import"./UQEUL3DF.js";import"./KPSEV6N2.js";import"./73UBKOR7.js";import"./BH4D4I66.js";import"./I3NAOZQE.js";import"./Z6X5YQBP.js";import{a as l}from"./PH5PMG7G.js";import"./BXXEXFCL.js";import"./CICA44LA.js";import{b as n}from"./P5GDH2ST.js";import{E as r,h as o,i as s}from"./VBQTZTKH.js";import"./KO7TRU4W.js";var m=o`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.padding-top-1-2{padding-top:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-bottom-1{padding-bottom:1rem}.height-full{height:100%}.padding-start-2px{padding-inline-start:2px}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-foreground-2)}calcite-tab-title{width:50%}calcite-list-item{--calcite-list-border-color: none}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}`,c=class extends r{constructor(){super(...arguments),this.showAssistant=!1,this._isSearching=!1,this._searchType="resources",this._translations=l({name:"solutions-resources",blocking:!0}),this._quickLinks=[],this._searchTerm="",this._userSessionContextConsumer=u({context:p,subscribe:!0})}static{this.properties={showAssistant:5,_resourcesResponse:16,_blogsResponse:16,_isSearching:16,_searchType:16,_translations:16}}static{this.styles=m}async load(){await this._search(),this._initQuickLinks()}render(){console.log("TODO change featuredArticles to featuredResources");let t=this._userSessionContextConsumer?.value?.token;return s`<div class="height-full"><calcite-tabs class="height-full" scale=l><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${()=>this._searchType="resources"} selected>${this._translations.featuredArticles}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${()=>this._searchType="quick-links"}>${this._translations.solutionsQuickLinks}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><calcite-panel>${this._getSearch()}<div>${this._getFeaturedResources()}</div></calcite-panel></calcite-tab><calcite-tab><calcite-panel><div>${this._getQuickLinks()}</div></calcite-panel></calcite-tab></calcite-tabs>${this.showAssistant&&t&&s`<arcgis-solutions-assistant .token=${t}></arcgis-solutions-assistant>`||""}</div>`}_initQuickLinks(){this._quickLinks=[{icon:"home",label:this._translations.getStartedLink,url:"https://doc.arcgis.com/en/arcgis-solutions/latest/get-started/get-started.htm"},{icon:"mega-phone",label:this._translations.whatsNewLink,url:"https://doc.arcgis.com/en/arcgis-solutions/latest/get-started/what-s-new-in-arcgis-solutions.htm"},{icon:"geonet-question",label:this._translations.frequentlyAskQuestionsLink,url:"https://doc.arcgis.com/en/arcgis-solutions/latest/get-started/faqs.htm"},{icon:"information",label:this._translations.helpDocumentationLink,url:"https://doc.arcgis.com/en/arcgis-solutions/latest/reference/reference-overview.htm"},{icon:"article",label:this._translations.arcGisBlogLink,url:"https://www.esri.com/arcgis-blog/?s=#&products=arcgis-solutions"},{icon:"video",label:this._translations.solutionsVideosLink,url:"https://mediaspace.esri.com/channel/ArcGIS%2BSolutions/251152603"},{icon:"speech-bubbles",label:this._translations.esriCommunityLink,url:"https://community.esri.com/t5/arcgis-solutions/ct-p/arcgis-solutions"},{icon:"lightbulb",label:this._translations.shareYourIdeasLink,url:"https://community.esri.com/t5/arcgis-solutions-ideas/idb-p/arcgis-solutions-ideas"},{icon:"headset",label:this._translations.technicalSupportLink,url:"https://support.esri.com/en-us/contact"},{icon:"plus",label:this._translations.moreResourcesLink,url:"https://www.esri.com/en-us/arcgis/products/arcgis-solutions/resources"}]}_getQuickLinks(){return this._quickLinks.length>0?s`<calcite-list .label=${this._translations.solutionsQuickLinks} scale=l>${this._quickLinks.map(t=>(console.log(t),s`<calcite-list-item .iconStart=${t.icon} .label=${t.label} @click=${()=>window.open(t.url,"_blank")}></calcite-list-item>`))}</calcite-list>`:""}_getFeaturedResources(){let t=this._isSearching?"display-none":"";return s`<calcite-card-group label>${this._isSearching&&s`<calcite-loader label></calcite-loader>`||""}${this._blogsResponse?.map(e=>s`<solution-resource-card class=${`padding-start-2px ${t}`} .heading=${e.heading} .href=${e.href} .src=${e.src} type=resource></solution-resource-card>`)}</calcite-card-group>`}_getSearch(){return s`<calcite-input-text class="padding-top-1-2 padding-end-1-2 padding-bottom-1" clearable icon=search @calciteInputTextInput=${t=>{this._searchTerm=t.target?.value||"",(this._searchTerm.length>=3||this._searchTerm==="")&&this._search()}} .placeholder=${this._translations.search}></calcite-input-text>`}async _search(){let t=`https://www.esri.com/arcgis-blog/wp-json/esri/api/blog?search=${this._searchTerm}&per_page=12&offset=0&status=publish`,e=`https://www.esri.com/arcgis-blog/wp-json/esri/api/blog?search=${this._searchTerm}&per_page=12&offset=0&status=publish`,d=this._searchType==="resources"?t:e,g={authentication:this._userSessionContextConsumer.value,httpMethod:"GET"};this._searchTimeout&&clearTimeout(this._searchTimeout),this._searchTimeout=setTimeout(async()=>{this._isSearching=!0;let a=await h(d,g);Array.isArray(a)&&(console.log(a),this._blogsResponse=a.map(i=>({date:i.text_date,src:i.image,href:i.link,heading:i.title}))),this._isSearching=!1},500)}};n("solutions-resources",c);export{c as SolutionsResources};
@@ -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.12 */
4
- import{a}from"./OCGZIEOZ.js";import"./GGWG433S.js";import"./5TIKT6VX.js";import"./73UBKOR7.js";import"./BH4D4I66.js";import"./I3NAOZQE.js";import"./Z6X5YQBP.js";import"./KO7TRU4W.js";export{a as buildUiSchema};
@@ -1,18 +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.12 */
4
- import{b as y}from"./45CWNVM4.js";import{b as v}from"./J6I3BI3Z.js";import{a as _}from"./RQO7QXBP.js";import{k as g,l as m}from"./RSHDS4TF.js";import{a as b}from"./PH5PMG7G.js";import"./BXXEXFCL.js";import"./CICA44LA.js";import{b as f}from"./P5GDH2ST.js";import{C as o,D as a,E as d,G as p,H as r,I as u,h as c,i,o as h}from"./VBQTZTKH.js";import"./KO7TRU4W.js";var S=c`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.height-32{height:32px}.filter-border{border-color:var(--calcite-color-border-3);border-style:solid;border-width:var(--calcite-border-width-sm)}`,n=class extends d{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=b({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=o(),this._solutionsFilterPanelRef=o(),this._isMobileContextConsumer=v({context:y,subscribe:!0,callback:e=>this.isMobile=e}),this.filterRemoved=h(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)})}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=S}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let t=e.industry?Object.entries(g).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(m).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=s||"",e.value=s||t,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("searchTerm"in e&&(this._filters.searchTerm=e.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(e))}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??u} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-32 ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}${this._filters.categories&&this._filters.categories?.length>0&&i`<calcite-button appearance=transparent icon-start=reset @click=${()=>{this._filters={...this._filters,categories:[]},this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this.filterRemoved.emit([])}} .label=${this._translations.clearIndustryFilter}>${this._translations.clearIndustryFilter}</calcite-button>`||""}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?i`<calcite-panel class=${p(this.filterOpen?"background-override":"filter background-override")} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100 filter-border" @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${r(e)}><solutions-filter-panel class="height-100 filter-border" @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){if(!this._filters.categories)return;let e=this._filters.categories.filter(t=>t.type==="industry"||t.type==="domain");return e.length>0?_(e,t=>`${t.type}:${t.value}`,t=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${t.displayValue} @calciteChipClose=${()=>this._chipClosed(t.displayValue,t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`):void 0}_updateSolutionCount(e){this.solutionsCount=e.detail}_chipClosed(e,t){if(this._filters.categories){if(t==="industry")this._filters.categories=[];else{let s=this._filters.categories.filter(l=>l.displayValue!==e&&l.type!==t);this._filters.categories=s}this._filters.categories.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories):this._filters.searchTerm!==""?(this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this._allSolutionsPanelRef.value?.searchSolutions({searchTerm:this._filters.searchTerm})):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters.categories)}}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(this._filters.categories)if(e){let t=e;"displayValue"in e?this._filters.categories.push(e):Array.isArray(e)&&e.length>0&&(e.length>=2&&(t=[e[e.length-1]]),this._filters.categories=e),"searchTerm"in t&&(this._filters.searchTerm=t.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};f("solutions-all-shell",n);export{n as SolutionsAllShell};
@@ -1,18 +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.12 */
4
- import{b as S}from"./M65AXZ5G.js";import{c as g}from"./45CWNVM4.js";import{b as u}from"./J6I3BI3Z.js";import{m as a}from"./RSHDS4TF.js";import{a as d}from"./PH5PMG7G.js";import"./BXXEXFCL.js";import"./CICA44LA.js";import{b as p}from"./P5GDH2ST.js";import{E as h,I as n,h as c,i as o,o as r}from"./VBQTZTKH.js";import"./KO7TRU4W.js";var m=c`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.toolbar-sizing{padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent}calcite-dropdown{--calcite-color-focus: transparent}`,l=class extends h{constructor(){super(),this.defaultSortType="relevance",this.isOrgSolutions=!1,this.isMobile=!1,this._activeSearchSortSettings=[{scope:"all-solutions",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"relevance"}},{scope:"deployments",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"created"}}],this._isOrgAdmin=!1,this._translations=d({name:"solutions-searchsort-toolbar",blocking:!0}),this._authContextConsumer=u({context:g,subscribe:!0}),this.searchChanged=r(),this.sortTypeChanged=r(),this.listenOn(window,"deployAppTabSelected",e=>{let t=e.detail;this.scope=t}),this.listenOn(window,"detailsCardSelected",()=>{this.scope=void 0}),this.listenOn(window,"searchTermSet",e=>{let t=e.detail;this.scope=t.scope,this.changeSearchFilter(t.searchTerm,!1)})}static{this.properties={defaultSortType:[0,{type:String,attribute:"default-sort-type"}],isOrgSolutions:5,isMobile:5,scope:1,_activeSearchSortSettings:16,_isOrgAdmin:16,_translations:16}}static{this.styles=m}changeOwnerFilter(e){this.isOrgSolutions=!e,this._activeSearchSortSettings=this._activeSearchSortSettings.map(s=>s.scope===this.scope?{...s,settings:{...s.settings,isOrgSolutions:this.isOrgSolutions}}:s);let t={displayValue:this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions,type:"owner",value:this.isOrgSolutions?a.ORGANIZATION:a.OWNER};this.searchChanged.emit({option:t,scope:this.scope})}changeSearchFilter(e,t){this._activeSearchSortSettings=this._activeSearchSortSettings.map(s=>s.scope===this.scope?{...s,settings:{...s.settings,searchTerm:e}}:s),t&&this.searchChanged.emit({option:{searchTerm:e},scope:this.scope})}sortChanged(e){this._activeSearchSortSettings=this._activeSearchSortSettings.map(t=>t.scope===this.scope?{...t,settings:{...t.settings,sortType:e}}:t),this.sortTypeChanged.emit({sortType:e,scope:this.scope})}willUpdate(){this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn!==this._isOrgAdmin&&(this._isOrgAdmin=S(this._authContextConsumer.value))}render(){let e=this.scope==="all-solutions"||this.scope==="deployments",t=e?this._getCurrentScopeSetting():void 0;return e?o`<div class="flex-row toolbar-sizing"><calcite-input-text class="flex-grow-1" clearable icon=search @keyup=${s=>{let i=s.target;s.key==="Enter"?this.changeSearchFilter(i.value,!0):this.changeSearchFilter(i.value,i.value.length>=3||i.value.length===0)}} @blur=${s=>{let i=s.target;this.changeSearchFilter(i.value,!0)}} .placeholder=${this._translations.search.solutions} scale=l slot=content-top .value=${t?.searchTerm}></calcite-input-text>${this.scope==="deployments"&&this._isOrgAdmin&&this._renderOwnerBlock()||""}${this._renderDropdown()}</div>`:""}_renderOwnerBlock(){return o`<calcite-dropdown width=m overlay-positioning=fixed><calcite-button appearance=outline-fill class="header-button-padding" .iconStart=${this.isOrgSolutions?"organization":"user"} kind=neutral slot=trigger>${this.isMobile?"":this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions}</calcite-button><calcite-dropdown-group group-title=${this._translations.owner??n}><calcite-dropdown-item icon-start=user @click=${()=>{this.changeOwnerFilter(!0)}} .selected=${!this.isOrgSolutions}>${this._translations.mySolutions}</calcite-dropdown-item><calcite-dropdown-item icon-start=organization @click=${()=>{this.changeOwnerFilter(!1)}} .selected=${this.isOrgSolutions}>${this._translations.myOrgSolutions}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}_renderDropdown(){let e=[];e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"}],this.scope==="deployments"?e.push({displayValue:this._translations.sortByDateDeployed,sortType:"created"}):(e.push({displayValue:this._translations.sortByNew,sortType:"new"}),e.push({displayValue:this._translations.sortByUpdated,sortType:"updated"}),this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn&&e.push({displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}));let t=this._getCurrentScopeSetting();return o`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(t.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??n}>${e.map(s=>this._getDropdownItem(s.displayValue,s.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this._getCurrentScopeSetting().sortType!==t?o`<calcite-dropdown-item @click=${()=>this.sortChanged(t)}>${e}</calcite-dropdown-item>`:o`<calcite-dropdown-item @click=${()=>this.sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break;case"created":t=this._translations.sortByDateDeployed;break}return t}_getCurrentScopeSetting(){return this._activeSearchSortSettings.filter(e=>e.scope===this.scope)[0].settings}};p("solutions-searchsort-toolbar",l);export{l as SolutionsSearchSortToolbar};
@@ -1,18 +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.12 */
4
- import c from"./EU765NYY.js";import b from"./PPF27IN2.js";import{b as x}from"./AI3LZ2AZ.js";import{a as S,b as C,c as f,d as w}from"./45CWNVM4.js";import a from"./EWNPSDA2.js";import{a as r}from"./J6I3BI3Z.js";import"./6KSFG3EX.js";import"./RGLTVSJ6.js";import"./BL3BVTYK.js";import"./7R7OEZVJ.js";import"./5DRKNWXM.js";import"./V3DPSJYM.js";import"./F5AX56BO.js";import"./N77LXFJO.js";import"./KYJSQUTW.js";import"./4HZ2QAYA.js";import"./IQFJFKCO.js";import"./HBNOQKMZ.js";import"./LVVEQVWY.js";import"./HLNHH2W3.js";import"./UQEUL3DF.js";import"./KPSEV6N2.js";import"./73UBKOR7.js";import"./BH4D4I66.js";import"./I3NAOZQE.js";import"./Z6X5YQBP.js";import{p as g,q as v}from"./RSHDS4TF.js";import{a as y}from"./PH5PMG7G.js";import"./BXXEXFCL.js";import"./CICA44LA.js";import{b as m}from"./P5GDH2ST.js";import{C as s,D as i,E as T,G as u,h as _,i as n,o as d}from"./VBQTZTKH.js";import"./KO7TRU4W.js";export default $arcgis.t(([,{f:$,g:A},k])=>{var I=_`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.display-none{display:none!important}.shell-container{width:1440px;display:block;max-width:96vw;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tabs{--calcite-color-focus: transparent;height:100%}solutions-searchsort-toolbar,solutions-deploy-app-nav{width:1440px;display:block;max-width:96vw;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}`,b=class extends T{constructor(){super(),this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._translations=y({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${g} OR ${v}`,this._allCards=[],this._allShell=s(),this._allTab=s(),this._allTabTitle=s(),this._resourcesTab=s(),this._resourcesTabTitle=s(),this._authContextProvider=r({context:f}),this._categories=[],this._configContextProvider=r({context:w}),this._delay=!1,this._deployAppNav=s(),this._detailsShell=s(),this._detailsTab=s(),this._detailsTabTitle=s(),this._getSuggested=!1,this._isMobileContextProvider=r({context:C}),this._mySolutionsShell=s(),this._mySolutionsTab=s(),this._mySolutionsTabTitle=s(),this._sortField="relevance",this._sortOrder="desc",this._userSessionContextProvider=r({context:S}),this.deployAppTabSelected=d(),this.detailsCardSelected=d(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployProgressEnd",this._deployProgressEnd),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_translations:16}}static{this.styles=I}async selectTab(t,e){if(this._isLoaded){console.log("selectTab");let a=this._getDefaultSearchOptions(e);switch(t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,a&&await this._allShell.value?.searchSolutions(a);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"details":if(this._allCards){let l=$(this._allCards,t.tabTitleOrId);l=l||A(this._allCards,t.tabTitleOrId),l?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(l)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,a&&await this._mySolutionsShell.value?.searchSolutions(a);break}this._setActiveTab(new CustomEvent("setActiveTab",{detail:t.tabType})),this._blurTabs()}else this._initTab=t,this._initFilters=e}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=x)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return n`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} @authInit=${this._handleAuthInit} @navTabSelected=${this._setActiveTab} slot=header .useLocalAppConfig=${this.useLocalAppConfig} ${i(this._deployAppNav)}></solutions-deploy-app-nav><solutions-searchsort-toolbar .isMobile=${this.isMobile} slot=header></solutions-searchsort-toolbar><calcite-loader class=${u(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${u(e)} scale=l><calcite-tab-nav class="shell-container display-none" slot=title-group><calcite-tab-title ${i(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title>${this.authentication?.IsSignedIn?n`<calcite-tab-title ${i(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title>`:""}<calcite-tab-title ${i(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${i(this._detailsTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override" selected ${i(this._allTab)}><solutions-all-shell class="shell-container height-100" ${i(this._allShell)}></solutions-all-shell></calcite-tab>${this.authentication?.IsSignedIn?n`<calcite-tab class="back-color-override" ${i(this._mySolutionsTab)}><solutions-deployed-shell class="shell-container height-100" ${i(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab>`:""}<calcite-tab class="back-color-override" ${i(this._resourcesTab)}><solutions-resources-shell class="shell-container height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${i(this._detailsTab)}><solution-details-panel class="shell-container height-100" ${i(this._detailsShell)}></solution-details-panel></calcite-tab></calcite-tabs></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}async _handleAuthInit(t){let e=t.detail;e.userSession&&this._userSessionContextProvider.setValue(e.userSession),e.authentication&&(this.authentication=e.authentication,this._authContextProvider.setValue(this.authentication)),this._configContextProvider.setValue(e),this._cardsFetcher=new k(e.locale,e.orgUrl,e.portalUrl),await this._getSolutions(e.primarySolutionsGroupId),this._isLoaded=!0,this._initTab&&(this.selectTab(this._initTab,this._initFilters),this._initTab=void 0,this._initFilters=void 0)}_mediaQueryChange(t){this.isMobile=t.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setActiveTab(t){let e=t.detail;switch(e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e))}_detailsCardSelected(){this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployProgressEnd(){this._mySolutionsTabTitle.value.selected=!0,this._mySolutionsTab.value.selected=!0}async _getSolutions(t){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},t,"",this._userSessionContextProvider.value,{num:1e3});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this._allCards}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_getDefaultSearchOptions(t){let e;if(t){let a=t.domain,l=t.industry,p=t.offerType,c=t.searchTerm,L="",o=t.sortField,h=t.owner;e=a||l?{type:a?"domain":l?"industry":""}:void 0,a&&(e=e?{...e,domain:a}:{domain:a}),l&&(e=e?{...e,industry:l}:{industry:l}),c&&(e=e?{...e,searchTerm:c}:{searchTerm:c}),e&&(e={...e,displayValue:L}),o&&(e=e?{...e,sortType:o}:{sortType:o}),p&&(o=p.toLowerCase(),e=e?{...e,sortType:o}:{sortType:o}),h&&(e=e?{...e,owner:h}:{owner:h})}return e}};m("solutions-deploy-app",b);return b},a,b,c)
@@ -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.12 */
4
- import{a as O}from"./BL3BVTYK.js";import{e as _}from"./N77LXFJO.js";import{a as l,f as p}from"./IQFJFKCO.js";import"./I3NAOZQE.js";import"./KO7TRU4W.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./GWYUOS6I.js"),m={"hub:card:stat":()=>import("./PO3FWL25.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./6FO4YAN7.js"),m={"hub:card:follow":()=>import("./WEVP46XF.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./4ILXIPJB.js"),m=import("./RDTOYXUO.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./6I2WO3MS.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./IIRMGFPC.js"),"hub:site:create":()=>import("./O3KQ6Y6F.js"),"hub:site:followers":()=>import("./5WRZKY7U.js"),"hub:site:discussions":()=>import("./A6GUU5AX.js"),"hub:site:settings":()=>import("./ETQVNI2F.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./HZ2P2WXN.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./NACRE5IL.js"),"hub:discussion:create":()=>import("./K6XSASXJ.js"),"hub:discussion:settings":()=>import("./BBP6BMFX.js"),"hub:discussion:settings:discussions":()=>import("./ARZASPDX.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./NK2GZCRX.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./AF4YTG3T.js"),"hub:channel:create":()=>import("./3GU7ZNWV.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./JOKQFCIP.js");r=l(n);let v=await{"hub:project:edit":()=>import("./BE5INC5J.js"),"hub:project:create":()=>import("./NP4QDQNH.js"),"hub:project:create2":()=>import("./RV6BTKGN.js"),"hub:project:metrics":()=>import("./VGQL5KHW.js"),"hub:project:settings":()=>import("./6PZUE6IO.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./EVTRPFR5.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./B7WRSGID.js"),"hub:initiative:create":()=>import("./EPJEWGJS.js"),"hub:initiative:create2":()=>import("./Z7MKRO2D.js"),"hub:initiative:metrics":()=>import("./F5JDDSKB.js"),"hub:initiative:associations":()=>import("./AT2MYDNO.js"),"hub:initiative:settings":()=>import("./RX3ADE2L.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./YCD665BP.js");r=l(I);let D=await{"hub:page:edit":()=>import("./AG2XI553.js"),"hub:page:create":()=>import("./ER5N4SED.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./TOFNMQGY.js");r=l(K);let U=await{"hub:content:edit":()=>import("./BPER6MAD.js"),"hub:content:discussions":()=>import("./QRSZX4MW.js"),"hub:content:settings":()=>import("./Q53UUWOH.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./KQBZDRA2.js");r=l(y);let k=await{"hub:template:edit":()=>import("./PT3PZ3UQ.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./5QC6BGFF.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./I6FWBDMC.js"),"hub:group:create:association":()=>import("./SP2Q4NT6.js"),"hub:group:create:view":()=>import("./ZUU3HZSH.js"),"hub:group:create:edit":()=>import("./5LCWHTSB.js"),"hub:group:create":()=>import("./ENTE2FWL.js"),"hub:group:edit":()=>import("./PEX6BIKS.js"),"hub:group:settings":()=>import("./2BD4G2BY.js"),"hub:group:discussions":()=>import("./5UEJXZIG.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./6MY2W6GE.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./DGJ272RS.js"),"hub:survey:settings":()=>import("./J3XGJZHY.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./VBFK6RWN.js"),"hub:event:edit":()=>import("./KVGR3ILD.js"),"hub:event:registrants":()=>import("./A4VEFLVI.js")}[a](),H=await{"hub:event:create":()=>import("./JISXLU4B.js"),"hub:event:edit":()=>import("./K2OF74BM.js"),"hub:event:registrants":()=>import("./YUKX5NZM.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./LDKUW6EI.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./H4XGYCEK.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./PIC5CO66.js");r=l(N);let P=await{"hub:user:settings":()=>import("./PPARIX3H.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -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.12 */
4
- import{a as x}from"./WAPSCM5Q.js";import{a as h}from"./VX6NO6UP.js";import{b as m}from"./3Y6POPNT.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./VBQTZTKH.js";import"./KO7TRU4W.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage.bind(this)}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
@@ -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.12 */
4
- import{a as t}from"./3Y6POPNT.js";import{s as e}from"./VBQTZTKH.js";var o=e(t,{"instant-apps-app-error":[()=>import("./5S4MCO7E.js"),";clearErrorMessage"],"instant-apps-app-guide":[()=>import("./A6UAK3NB.js"),"data:,header"],"instant-apps-buffer":[()=>import("./LVFQXSDW.js").then(m=>m.default.then(e=>({InstantAppsBuffer:e}))),"bufferColor,bufferDistance,bufferGraphicSymbol:,bufferInputStep,bufferLayer:,bufferMaxDistance,bufferMinDistance,bufferOutlineColor,bufferOutlineWidth,bufferStyle,bufferUnit,disabled,geodesicBufferEnabled,inputGraphics:,readyToBuffer:,view:;clearBufferLayer,setFocus"],"instant-apps-control-panel":[()=>import("./P57LLTO4.js"),"components:,view:"],"instant-apps-create":[()=>import("./MGYRRS6Z.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./POBIFQ67.js"),"allowedFileTypes:,beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,mapAltText,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./IJHGYFOF.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./EIGLYFM4.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./HDHQI2WB.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./NEDWBRTH.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./F5MH4H3W.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./6AGOEJ5R.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./MGNBTR3T.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./AOLALLVT.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./LBL7YXK7.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./BM22PXXX.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./6BTTNO72.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./L65HSJJ4.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./5DBLECTA.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./TJGX5XSU.js"),"view:"],"instant-apps-landing-page":[()=>import("./AWABXH72.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./CV7SIYQB.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./FWDMOFW7.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./KJRRUGB7.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-content":[()=>import("./MPUVRSSI.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorContent:e})))],"instant-apps-language-translator-item":[()=>import("./UL6OC27X.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./4WBQWYHY.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./JB23XI2C.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./VR5BXTSI.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./I5NAGGEE.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./UZWI2BWH.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./ZBY7UHRE.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./RHOVMU5R.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./4KD77TI4.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./SWFNPXRC.js"),"closeBehavior,closeButtonDisabled,confirmationText,content,isConfirmed:,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./EPRLXSPX.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{o as a};
@@ -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.12 */
4
- import{a as C}from"./CICA44LA.js";import{a as v,b as E,p as y}from"./VBQTZTKH.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le as a};
@@ -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.12 */
4
- import{a as f}from"./NAMORLIM.js";import{a as D}from"./7P6BX7E4.js";import{a as L}from"./WWHNRE5D.js";import{B as S,C as I}from"./OMVASHW4.js";import{b as k}from"./3Y6POPNT.js";import"./BXXEXFCL.js";import"./CICA44LA.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"./VBQTZTKH.js";import"./KO7TRU4W.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 v(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"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!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.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.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([I(),S()]);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:`'${v(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:`'${v(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:`'${v(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(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.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==null)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??""}})}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",w);export{w 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.12 */
4
- import{a,b}from"./7P7TUPYX.js";import"./WT4JGTP5.js";import"./B44X4D5S.js";import"./I6SBOL3I.js";import"./XMBXJUNJ.js";import"./6T2KRIOV.js";import"./KO7TRU4W.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -1,18 +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.12 */
4
- import{b}from"./45CWNVM4.js";import{b as u}from"./J6I3BI3Z.js";import{a as h}from"./PH5PMG7G.js";import"./BXXEXFCL.js";import"./CICA44LA.js";import{b as p}from"./P5GDH2ST.js";import{C as l,D as a,E as r,H as c,I as d,h as s,i,o}from"./VBQTZTKH.js";import"./KO7TRU4W.js";var f=s`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-shell-panel{z-index:1}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}`,n=class extends r{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=h({name:"solutions-deployed-shell",blocking:!0}),this._isMobileContextConsumer=u({context:b,subscribe:!0,callback:e=>this.isMobile=e}),this._solutionsDeployedFilterPanel=l(),this._solutionsDeployedPanelRef=l(),this.filterRemoved=o(),this.tokenRefreshed=o()}static{this.properties={solutionsCount:9,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=f}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._solutionsDeployedPanelRef.value?.setSearchOptions(e),"owner"in e){let t=e.owner==="organization";this._solutionsDeployedFilterPanel.value.changeOwnerFilter(!t,!0)}else("sortType"in e||"searchTerm"in e)&&this._solutionsDeployedPanelRef.value?.searchSolutions(e)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative"><calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??d} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override flex-shrink-0" layout=inline>${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label></div>${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-deployed-panel @deployedCardsFetched=${this._updateSolutionCount} @searchTermSet=${t=>this._solutionsDeployedFilterPanel.value.changeSearchFilter(t.detail.searchTerm,!1)} style=${c(e)} ${a(this._solutionsDeployedPanelRef)}></solutions-deployed-panel>`}_updateSolutionCount(e){this.solutionsCount=e.detail}_toggleFilter(){this.filterOpen=!this.filterOpen}};p("solutions-deployed-shell",n);export{n as SolutionsDeployedShell};