@esri/solutions-components 1.1.4 → 1.1.5

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 (499) hide show
  1. package/dist/cdn/{SMQE63G2.js → 2C2YUOLH.js} +2 -2
  2. package/dist/cdn/{MX4IW5YN.js → 2DCQYFBB.js} +2 -2
  3. package/dist/cdn/{2KC7A44G.js → 2E4RD2X7.js} +2 -2
  4. package/dist/cdn/{GZPGG7RQ.js → 2ME5AFG6.js} +2 -2
  5. package/dist/cdn/{F7BLCQ4K.js → 2PQDAK2K.js} +2 -2
  6. package/dist/cdn/{G2YLNGCI.js → 2PQFYQTM.js} +2 -2
  7. package/dist/cdn/{UBTZZR25.js → 35YMNKN7.js} +2 -2
  8. package/dist/cdn/{UVP3QEXZ.js → 3BL7G7XQ.js} +2 -2
  9. package/dist/cdn/{N6YIMQMF.js → 3G2FSEP4.js} +2 -2
  10. package/dist/cdn/{4VQKM4WR.js → 3GWQY4PS.js} +2 -2
  11. package/dist/cdn/{OWRNLUAM.js → 3I5HOJHY.js} +2 -2
  12. package/dist/cdn/{YJO3OCFG.js → 3JE66ZGM.js} +2 -2
  13. package/dist/cdn/{ZQ5UFA6J.js → 3JJFCPWE.js} +1 -1
  14. package/dist/cdn/{UREMM23E.js → 3LB6QRGI.js} +2 -2
  15. package/dist/cdn/{TRDAVDVV.js → 3N66IKUB.js} +2 -2
  16. package/dist/cdn/{UNXAQV3E.js → 3NJFBYP7.js} +2 -2
  17. package/dist/cdn/{DP4TDB7X.js → 3TVSXXWC.js} +2 -2
  18. package/dist/cdn/3VMHZC76.js +18 -0
  19. package/dist/cdn/{5ATO43XI.js → 3YQ5GA52.js} +3 -3
  20. package/dist/cdn/{5YRDMRWZ.js → 3ZA6SUHX.js} +2 -2
  21. package/dist/cdn/{UOW7X5K6.js → 42CDJOAG.js} +2 -2
  22. package/dist/cdn/{DFIJIF4I.js → 462W4TZ3.js} +1 -1
  23. package/dist/cdn/{EU36FEVM.js → 4A2PDSET.js} +2 -2
  24. package/dist/cdn/{BQZGOJ7O.js → 4BY7RVQ6.js} +2 -2
  25. package/dist/cdn/{RPUGAOID.js → 4EUZGKKC.js} +2 -2
  26. package/dist/cdn/{CND6NAR6.js → 4IRYB6TU.js} +2 -2
  27. package/dist/cdn/{IPRPAA72.js → 4LZ24JLH.js} +2 -2
  28. package/dist/cdn/{TSHEHQMQ.js → 4M355TO2.js} +2 -2
  29. package/dist/cdn/{WPUWPBLC.js → 4MGR2VZY.js} +2 -2
  30. package/dist/cdn/{IY2WYTE7.js → 4NN4SBF3.js} +2 -2
  31. package/dist/cdn/{Z7Q2HPG7.js → 4PPPEP2D.js} +2 -2
  32. package/dist/cdn/{T5T7GCVV.js → 4UKLSZZH.js} +2 -2
  33. package/dist/cdn/4V4FGNHO.js +18 -0
  34. package/dist/cdn/{BOWAWB4X.js → 4ZHZK26G.js} +2 -2
  35. package/dist/cdn/{J5UADYNK.js → 53LXS2J5.js} +2 -2
  36. package/dist/cdn/{GZ26EW7P.js → 55UJGQ5T.js} +2 -2
  37. package/dist/cdn/{KD6FTCWQ.js → 56PAV2GW.js} +1 -1
  38. package/dist/cdn/{ML7RDHJK.js → 5FZ4QAHO.js} +2 -2
  39. package/dist/cdn/{LPX6FY5M.js → 5GVYMAX2.js} +2 -2
  40. package/dist/cdn/{X7F7A7RU.js → 5HUVZF4J.js} +2 -2
  41. package/dist/cdn/{RAVRHF3Y.js → 5X3NIR3F.js} +2 -2
  42. package/dist/cdn/{SQWENXE7.js → 5Y4P32WK.js} +2 -2
  43. package/dist/cdn/{JWJZMQQB.js → 5ZPFAL43.js} +2 -2
  44. package/dist/cdn/{KBQL7WYT.js → 65KCCSCM.js} +2 -2
  45. package/dist/cdn/{TZCZPG5X.js → 66BALOE7.js} +2 -2
  46. package/dist/cdn/{4T7TU3LN.js → 6D2FDEC7.js} +2 -2
  47. package/dist/cdn/{2BFOTQ6T.js → 6HINBBYY.js} +2 -2
  48. package/dist/cdn/{UC7ZG7S3.js → 6JE42A26.js} +2 -2
  49. package/dist/cdn/{BLTZZN2S.js → 6JKRMJTG.js} +1 -1
  50. package/dist/cdn/{U22L3RI5.js → 6LL65GG4.js} +2 -2
  51. package/dist/cdn/{4JK4PIWF.js → 6QLD4RZA.js} +1 -1
  52. package/dist/cdn/{HL4DPJUK.js → 6SR62O3L.js} +2 -2
  53. package/dist/cdn/{4RHBTX4E.js → 6Y36Z3VD.js} +2 -2
  54. package/dist/cdn/6ZX57Y2E.js +4 -0
  55. package/dist/cdn/{VRU7IM5G.js → 7CCWACTT.js} +2 -2
  56. package/dist/cdn/{MAWXGZOQ.js → 7ITJCGWV.js} +2 -2
  57. package/dist/cdn/{4ZLBQ6D4.js → 7LNZ6SY4.js} +2 -2
  58. package/dist/cdn/{AJXG7IX5.js → 7OJFHNND.js} +2 -2
  59. package/dist/cdn/{ZAGFS5XW.js → 7OK6AMVL.js} +2 -2
  60. package/dist/cdn/{PREOVEW5.js → A3Q7GREJ.js} +2 -2
  61. package/dist/cdn/{V3S6TB66.js → A6LMQW4G.js} +2 -2
  62. package/dist/cdn/{FDGW2TGF.js → AA5T27UA.js} +2 -2
  63. package/dist/cdn/{4UZVBLR5.js → AD53R4UT.js} +2 -2
  64. package/dist/cdn/{TH2LQVXB.js → ADYEQUS5.js} +2 -2
  65. package/dist/cdn/AGCS637B.js +4 -0
  66. package/dist/cdn/{DYKLK7SE.js → AITESDOH.js} +2 -2
  67. package/dist/cdn/{GXDKEOCW.js → AKNB5K45.js} +2 -2
  68. package/dist/cdn/{IQU3AOVC.js → ALPIMORP.js} +2 -2
  69. package/dist/cdn/{QHPKAKUU.js → AM6R2I4D.js} +3 -3
  70. package/dist/cdn/{WJZXBWVM.js → ARYNEQL7.js} +3 -3
  71. package/dist/cdn/{GRGB44ZC.js → AVFSW3TW.js} +2 -2
  72. package/dist/cdn/{DAACTUXD.js → AXBSU3HJ.js} +2 -2
  73. package/dist/cdn/{GKQNL5AY.js → B5UH25LU.js} +2 -2
  74. package/dist/cdn/{V7SZH2RC.js → BB5ZN34L.js} +2 -2
  75. package/dist/cdn/{QVIM3F2B.js → BDWA4NT7.js} +2 -2
  76. package/dist/cdn/{CDVDTOES.js → BFN553OS.js} +2 -2
  77. package/dist/cdn/{4AFTBIQP.js → BHH5NNUU.js} +2 -2
  78. package/dist/cdn/{23ZZGLY2.js → BIT53VHC.js} +2 -2
  79. package/dist/cdn/{I2EDD3VI.js → BLVMQ2ZJ.js} +3 -3
  80. package/dist/cdn/{IFO37FNO.js → BMSVXQYR.js} +2 -2
  81. package/dist/cdn/{BBUKCBZH.js → BTASWR67.js} +2 -2
  82. package/dist/cdn/{HPKB6T3A.js → BUTBZOLQ.js} +2 -2
  83. package/dist/cdn/{J5A6CFMG.js → BXDXSN7S.js} +2 -2
  84. package/dist/cdn/BZZ2NKN7.js +4 -0
  85. package/dist/cdn/{GLAMS6KT.js → C2L75ML6.js} +2 -2
  86. package/dist/cdn/{JVH5EVFM.js → CHMBU7ZZ.js} +2 -2
  87. package/dist/cdn/{GSWDAF7B.js → CJXMS7YJ.js} +2 -2
  88. package/dist/cdn/{2JIJ3PUL.js → CPS5G7LV.js} +2 -2
  89. package/dist/cdn/{TZV7I7OA.js → CR5PKZ4W.js} +2 -2
  90. package/dist/cdn/{O42KNPRU.js → CYTWYR7X.js} +2 -2
  91. package/dist/cdn/{Z6NHNS5M.js → CZTW3CID.js} +2 -2
  92. package/dist/cdn/{OMVONFJ5.js → D6GRAJKG.js} +2 -2
  93. package/dist/cdn/{ILIP26MD.js → DASAW3AM.js} +2 -2
  94. package/dist/cdn/{WUDA7K22.js → DCTIOG7M.js} +1 -1
  95. package/dist/cdn/{WKYYGS7X.js → DEYWKS7E.js} +2 -2
  96. package/dist/cdn/{5H5FZQQM.js → DFDISZAD.js} +2 -2
  97. package/dist/cdn/{QW4O42N2.js → DFQJCG5D.js} +2 -2
  98. package/dist/cdn/{U3LQ6PH3.js → DGWMURIB.js} +2 -2
  99. package/dist/cdn/{CO7NHF75.js → DH47CO66.js} +1 -1
  100. package/dist/cdn/{MOO5HUTK.js → DHGCOXVG.js} +1 -1
  101. package/dist/cdn/{CLJPTIVQ.js → DKMGPEMO.js} +2 -2
  102. package/dist/cdn/{5RZG2Z6U.js → DOEOHOU6.js} +2 -2
  103. package/dist/cdn/{AYYWI4A3.js → DS4CIOKP.js} +2 -2
  104. package/dist/cdn/{55LJV5DD.js → DV3MAPII.js} +2 -2
  105. package/dist/cdn/{BNBQO7AY.js → DZWMPNPF.js} +2 -2
  106. package/dist/cdn/{IFKIUWVZ.js → E6WEKFDH.js} +2 -2
  107. package/dist/cdn/{WPHV7YFJ.js → EDAOFXZZ.js} +1 -1
  108. package/dist/cdn/{H2MXX7QX.js → EHBEDCBN.js} +2 -2
  109. package/dist/cdn/{PJV6EGV6.js → EJUJDS6X.js} +3 -3
  110. package/dist/cdn/{TTCJV5HS.js → EMAMN44B.js} +2 -2
  111. package/dist/cdn/{OC4LXNQP.js → EQKFP6G5.js} +3 -3
  112. package/dist/cdn/{GZF6LAN2.js → EVXTOWTJ.js} +1 -1
  113. package/dist/cdn/{Y6XTLVDJ.js → EWC7XR6K.js} +2 -2
  114. package/dist/cdn/{FBLRDUIQ.js → EY44JFRF.js} +2 -2
  115. package/dist/cdn/{RF2OPXXP.js → EY4JC25Z.js} +2 -2
  116. package/dist/cdn/{GWMD5UNN.js → EYJTKSHW.js} +3 -3
  117. package/dist/cdn/{ENQBSPO5.js → EZEI2XVT.js} +3 -3
  118. package/dist/cdn/{OVSHX34W.js → F2OBR3YZ.js} +2 -2
  119. package/dist/cdn/F5S2PMDU.js +18 -0
  120. package/dist/cdn/{GKPJSKC5.js → FBC2PSH6.js} +2 -2
  121. package/dist/cdn/{JMI6ELYN.js → FBSR6LVS.js} +2 -2
  122. package/dist/cdn/{SUDZEHPR.js → FEMMFUE7.js} +2 -2
  123. package/dist/cdn/{LFLGSFUG.js → FHSAJCRI.js} +1 -1
  124. package/dist/cdn/FKQWGBQ6.js +18 -0
  125. package/dist/cdn/{ALLC54AT.js → FOXWWTGP.js} +2 -2
  126. package/dist/cdn/{EFXWPDM6.js → FUYDFHFY.js} +2 -2
  127. package/dist/cdn/{W7S3KRZJ.js → FXATR6VT.js} +1 -1
  128. package/dist/cdn/{SQCBTMSG.js → FXID4LBF.js} +2 -2
  129. package/dist/cdn/{CYTR3HPD.js → FYOSNG4O.js} +2 -2
  130. package/dist/cdn/{I27E56PQ.js → FZWZ4COT.js} +2 -2
  131. package/dist/cdn/G2SO3VA3.js +18 -0
  132. package/dist/cdn/{TYMMEDNB.js → G5YDAD5J.js} +2 -2
  133. package/dist/cdn/{D5XPA4NF.js → GCUKUGYL.js} +2 -2
  134. package/dist/cdn/{TO6VYOOK.js → GIYQCD77.js} +2 -2
  135. package/dist/cdn/{S7BA22Z5.js → GR5W2JRK.js} +1 -1
  136. package/dist/cdn/{GZCFCVWF.js → GY3Q55UV.js} +2 -2
  137. package/dist/cdn/{VNMNXAVQ.js → GYTTH3QM.js} +3 -3
  138. package/dist/cdn/{PSKXBFNJ.js → H3RQQVHV.js} +2 -2
  139. package/dist/cdn/{W75JNTGT.js → H4R6RBSR.js} +2 -2
  140. package/dist/cdn/{VAJPAOUI.js → HAXFVOBD.js} +2 -2
  141. package/dist/cdn/{VDXJT6KX.js → HFGXGOML.js} +2 -2
  142. package/dist/cdn/{IJD2AMEM.js → HFTLCY67.js} +1 -1
  143. package/dist/cdn/{HB35K7EJ.js → HJ4CBAOI.js} +1 -1
  144. package/dist/cdn/{FSBYBBAR.js → HJAQTCS6.js} +1 -1
  145. package/dist/cdn/{6H2DI4QV.js → HNYRXGO4.js} +2 -2
  146. package/dist/cdn/{EW6KAVCF.js → HPTION7V.js} +2 -2
  147. package/dist/cdn/{GAIF3U4K.js → HS3HXJAE.js} +2 -2
  148. package/dist/cdn/{AZ3MBQZV.js → HXGSRCIU.js} +2 -2
  149. package/dist/cdn/{23TGVNDT.js → IAABYYHR.js} +3 -3
  150. package/dist/cdn/{JZ33N4OT.js → IHONVMMQ.js} +2 -2
  151. package/dist/cdn/{A3CB7ASF.js → IN4GUM3K.js} +1 -1
  152. package/dist/cdn/{UTVAGL7O.js → INGJSHOC.js} +2 -2
  153. package/dist/cdn/{7JHLTQPN.js → INVWKXP4.js} +2 -2
  154. package/dist/cdn/{FC6IKY2W.js → IPRVH4RI.js} +2 -2
  155. package/dist/cdn/IQO52XQI.js +4 -0
  156. package/dist/cdn/{UTYWKZWI.js → IT2BGFCD.js} +2 -2
  157. package/dist/cdn/{S2UELZDS.js → IWN5SZ6F.js} +2 -2
  158. package/dist/cdn/{YV22TPLV.js → IWYNMFCO.js} +2 -2
  159. package/dist/cdn/{LCY63BRS.js → IYNSYD6A.js} +2 -2
  160. package/dist/cdn/{V2SGK6W7.js → J3GYQQE6.js} +2 -2
  161. package/dist/cdn/{C76FP4MR.js → J3PGCQNO.js} +2 -2
  162. package/dist/cdn/{HN6IYS37.js → J4CEND6E.js} +2 -2
  163. package/dist/cdn/{S7NA5UUY.js → JE4Y5P6H.js} +2 -2
  164. package/dist/cdn/JFV4L2BS.js +18 -0
  165. package/dist/cdn/{6RKS45HC.js → JKT3GWJQ.js} +2 -2
  166. package/dist/cdn/JM7G4MEF.js +4 -0
  167. package/dist/cdn/{LEOKXG3G.js → JMHCQCEV.js} +1 -1
  168. package/dist/cdn/{C5233EHR.js → JO7JZRYA.js} +2 -2
  169. package/dist/cdn/{SBXXDOKG.js → JQLSAJAY.js} +2 -2
  170. package/dist/cdn/{ZWEGUQZQ.js → JUHUWE6N.js} +2 -2
  171. package/dist/cdn/{AWZPPOTN.js → K54VMEGQ.js} +2 -2
  172. package/dist/cdn/{7ZYRFEY7.js → KKJYUEQV.js} +2 -2
  173. package/dist/cdn/{2MCZSCMM.js → KZLP7P6V.js} +2 -2
  174. package/dist/cdn/{OT3PGUNJ.js → L6QRRVEI.js} +2 -2
  175. package/dist/cdn/{AVKNWJMU.js → L6S6YTH3.js} +2 -2
  176. package/dist/cdn/{IUVFHVNJ.js → L7HOMDZU.js} +2 -2
  177. package/dist/cdn/{MZJFQAPA.js → LAOJHBJU.js} +2 -2
  178. package/dist/cdn/{BATYSOVB.js → LBI35WMC.js} +2 -2
  179. package/dist/cdn/{2KRAHU3A.js → LCFNGDXM.js} +2 -2
  180. package/dist/cdn/LDGJRLE3.js +18 -0
  181. package/dist/cdn/{YDTQ22TO.js → LJXUWLDL.js} +2 -2
  182. package/dist/cdn/{GILNSHEK.js → LOSISHU3.js} +2 -2
  183. package/dist/cdn/{P5EZ7TAW.js → LSSYIGV3.js} +3 -3
  184. package/dist/cdn/{REYRBAER.js → LYD27ORL.js} +2 -2
  185. package/dist/cdn/{FGUII2EP.js → M2CS4EMN.js} +2 -2
  186. package/dist/cdn/{WTVUV6X4.js → M4ISN42P.js} +2 -2
  187. package/dist/cdn/{J425E2LA.js → M4NZ7ACL.js} +2 -2
  188. package/dist/cdn/{MQURQKFM.js → MBGFUZAJ.js} +2 -2
  189. package/dist/cdn/{6ZYP4HST.js → MBQWZGFR.js} +1 -1
  190. package/dist/cdn/{QEZD2RKR.js → MCF6S7SI.js} +2 -2
  191. package/dist/cdn/{QNSEGUHW.js → MD4GFP2I.js} +2 -2
  192. package/dist/cdn/{EZNXFGZK.js → MDXIELV5.js} +3 -3
  193. package/dist/cdn/{BEKDBEOP.js → MIAM4WSN.js} +2 -2
  194. package/dist/cdn/{CKPGSBU3.js → MLPHTVAZ.js} +2 -2
  195. package/dist/cdn/{GZGJXMQF.js → MM6ALYAZ.js} +2 -2
  196. package/dist/cdn/{4LWLQBET.js → MME3KBVR.js} +2 -2
  197. package/dist/cdn/{DZHQD6XA.js → MNEYQVPV.js} +2 -2
  198. package/dist/cdn/{CT7ABHK2.js → MQ4D3TAQ.js} +2 -2
  199. package/dist/cdn/{V4HOSOVM.js → MQD27EL6.js} +1 -1
  200. package/dist/cdn/{PBYEPN4U.js → MV45U2M4.js} +2 -2
  201. package/dist/cdn/{UO7HYYBG.js → MWJGZ3GM.js} +1 -1
  202. package/dist/cdn/{2TEHAFXZ.js → MWWNUJMG.js} +2 -2
  203. package/dist/cdn/{26APWI43.js → MYAFAQEX.js} +2 -2
  204. package/dist/cdn/{KVWH2WJX.js → N2VUT2CM.js} +2 -2
  205. package/dist/cdn/{VDDRSCWE.js → N66UCV4O.js} +2 -2
  206. package/dist/cdn/{4ZTHBEAN.js → N7ACVHXU.js} +2 -2
  207. package/dist/cdn/NB52BCP7.js +4 -0
  208. package/dist/cdn/{CPNGY255.js → NIH454OI.js} +2 -2
  209. package/dist/cdn/{RYIKOVC4.js → NJTTWM2O.js} +2 -2
  210. package/dist/cdn/{AHGBBFKK.js → NLSPE5NE.js} +2 -2
  211. package/dist/cdn/{T4NISNVO.js → NO34BS3Y.js} +2 -2
  212. package/dist/cdn/{TBL7BIV7.js → NOAD3FB4.js} +2 -2
  213. package/dist/cdn/{NMCQMLLM.js → NONG5KLI.js} +2 -2
  214. package/dist/cdn/{YVKX627B.js → NS3JF257.js} +2 -2
  215. package/dist/cdn/{LGR4ZJLK.js → NUY2Z2SB.js} +2 -2
  216. package/dist/cdn/{B5YUOXDN.js → O3CHJ5GR.js} +2 -2
  217. package/dist/cdn/{FAIXLWVI.js → O3ZLPXJL.js} +2 -2
  218. package/dist/cdn/{XJOSHL6G.js → OBJATNQT.js} +2 -2
  219. package/dist/cdn/{56XBTT4O.js → OCG4AVVF.js} +2 -2
  220. package/dist/cdn/{Z42ZJZHJ.js → OI4GE5AO.js} +2 -2
  221. package/dist/cdn/{BJW5LXLH.js → OPMYWOFX.js} +2 -2
  222. package/dist/cdn/{WNVKL67O.js → OQINWQHN.js} +2 -2
  223. package/dist/cdn/{XZPAWADO.js → OQKZ3XHU.js} +3 -3
  224. package/dist/cdn/{VZG7PYDY.js → ORDACAET.js} +2 -2
  225. package/dist/cdn/ORMNGKPR.js +18 -0
  226. package/dist/cdn/{5CJWMOL3.js → OSMUWE33.js} +4 -4
  227. package/dist/cdn/{XDU754Y3.js → OVW3UKZG.js} +2 -2
  228. package/dist/cdn/{NPDND32J.js → OYM7PRZW.js} +1 -1
  229. package/dist/cdn/{WKK3GS5R.js → P55ATIMI.js} +2 -2
  230. package/dist/cdn/{PHVURERU.js → P5MUHJOV.js} +2 -2
  231. package/dist/cdn/{XPXK6WN7.js → PAPCUPJA.js} +2 -2
  232. package/dist/cdn/{6HLCOA2J.js → PFFQPOXY.js} +3 -3
  233. package/dist/cdn/{6X22FJS6.js → PG5OHQ7C.js} +2 -2
  234. package/dist/cdn/{TBFX3EVD.js → PH3GJLXH.js} +2 -2
  235. package/dist/cdn/{5Q3767V4.js → PJZ4SPKQ.js} +2 -2
  236. package/dist/cdn/{OVKQ7TBK.js → PLKRFEVD.js} +2 -2
  237. package/dist/cdn/{XRQ5EWWN.js → PNN2Q75K.js} +2 -2
  238. package/dist/cdn/{W2U332RR.js → PRN73PNP.js} +2 -2
  239. package/dist/cdn/{HRMQHYLD.js → PWOXB7VX.js} +1 -1
  240. package/dist/cdn/{TNUUEL6P.js → Q2HZGMSC.js} +2 -2
  241. package/dist/cdn/{42SQB2UV.js → QBOMJSQQ.js} +2 -2
  242. package/dist/cdn/QEJIS5UR.js +4 -0
  243. package/dist/cdn/{LR7LKOIM.js → QGF7ZFJN.js} +2 -2
  244. package/dist/cdn/{ESFGGYTR.js → QGKPU7KR.js} +2 -2
  245. package/dist/cdn/QIXQVRBK.js +18 -0
  246. package/dist/cdn/{CWHNOFME.js → QWVCH4SD.js} +2 -2
  247. package/dist/cdn/{JYWHUF5Y.js → R43OR7W5.js} +2 -2
  248. package/dist/cdn/{WTWNLOAO.js → R4MIR22R.js} +1 -1
  249. package/dist/cdn/{34TH75YO.js → R6COI5BF.js} +2 -2
  250. package/dist/cdn/{OF2LVTY5.js → RB5YEX2Z.js} +2 -2
  251. package/dist/cdn/{KCVL34ZO.js → RBV7YLCJ.js} +2 -2
  252. package/dist/cdn/{BGUOHLDS.js → RCEIWCOF.js} +2 -2
  253. package/dist/cdn/{26RD3PS2.js → RDATT53Q.js} +2 -2
  254. package/dist/cdn/{5NJMTGSP.js → RDI7ZMKQ.js} +1 -1
  255. package/dist/cdn/{35H4QXX3.js → RG3CO4VX.js} +1 -1
  256. package/dist/cdn/{AEMFHUT3.js → RLHKPRUD.js} +2 -2
  257. package/dist/cdn/{TKTNS4QT.js → RRUNAIZ6.js} +2 -2
  258. package/dist/cdn/{D56T5IN2.js → RYDCMXAK.js} +2 -2
  259. package/dist/cdn/{RMWUCFHB.js → RZDZPK7T.js} +2 -2
  260. package/dist/cdn/{XHI4A5HF.js → S2TWQ4CP.js} +2 -2
  261. package/dist/cdn/{VIH7GETV.js → S44CBZC3.js} +2 -2
  262. package/dist/cdn/{VEWASZJB.js → S5JGRR7J.js} +2 -2
  263. package/dist/cdn/{CAHFCE4T.js → SB75RNE4.js} +2 -2
  264. package/dist/cdn/{N7KG6TLQ.js → SBT5QK3G.js} +2 -2
  265. package/dist/cdn/{37H772BX.js → SFJULDEM.js} +2 -2
  266. package/dist/cdn/{WVOMDGDW.js → SITOCVPD.js} +2 -2
  267. package/dist/cdn/{VY6LOXWH.js → SJIPL5ND.js} +1 -1
  268. package/dist/cdn/{BU6B533Y.js → SLEP5FPP.js} +2 -2
  269. package/dist/cdn/{7X7FF24S.js → SM3QZXOO.js} +1 -1
  270. package/dist/cdn/{H6TOIC3H.js → SPWZIAIS.js} +2 -2
  271. package/dist/cdn/{PHPBVYAN.js → SRZEDXVZ.js} +2 -2
  272. package/dist/cdn/{AMTMX3BW.js → T4JMND5P.js} +2 -2
  273. package/dist/cdn/{EDUHM55V.js → T6NTJXMA.js} +2 -2
  274. package/dist/cdn/{GE4VUR2S.js → T6S7BM5U.js} +2 -2
  275. package/dist/cdn/TD3IDPA7.js +4 -0
  276. package/dist/cdn/{ZPUYJ7B5.js → TEI5U73N.js} +3 -3
  277. package/dist/cdn/{JW3A3AEJ.js → TFDVKBSL.js} +2 -2
  278. package/dist/cdn/{NVJDDGAX.js → TKJKLDLJ.js} +2 -2
  279. package/dist/cdn/{A4LRNV24.js → TM22XK2S.js} +2 -2
  280. package/dist/cdn/{BS7PISQQ.js → TRG2M7TD.js} +2 -2
  281. package/dist/cdn/{CHDLTXQ4.js → TSE4T2RO.js} +2 -2
  282. package/dist/cdn/{2BD3W5YF.js → U7VDTXKM.js} +1 -1
  283. package/dist/cdn/{ARGB7QOI.js → UCM5SJBM.js} +1 -1
  284. package/dist/cdn/{7OMNOQ7U.js → UDBSTG6M.js} +3 -3
  285. package/dist/cdn/{AEKQAS23.js → UH72XJFE.js} +2 -2
  286. package/dist/cdn/{QK7BUSQS.js → UHMAXMMA.js} +2 -2
  287. package/dist/cdn/{2OFLAJMD.js → US6JIWX6.js} +2 -2
  288. package/dist/cdn/{AME2N5R6.js → UTIBE4GW.js} +2 -2
  289. package/dist/cdn/{URGLXCMP.js → UUI2EKSS.js} +2 -2
  290. package/dist/cdn/{XCHD5XOJ.js → UVXT5MFM.js} +2 -2
  291. package/dist/cdn/{FZZ64EU7.js → UY4DZODA.js} +2 -2
  292. package/dist/cdn/{AZYTSIFB.js → UYRBQI24.js} +2 -2
  293. package/dist/cdn/{4WESUM52.js → V4OWJV6O.js} +2 -2
  294. package/dist/cdn/{JR2ALUWD.js → V5OTK5GF.js} +2 -2
  295. package/dist/cdn/{FLRWOPU6.js → V7CY4CCG.js} +2 -2
  296. package/dist/cdn/{F7GNLKUF.js → VBUY7UZD.js} +2 -2
  297. package/dist/cdn/{I73TU25U.js → VKCWXM4P.js} +2 -2
  298. package/dist/cdn/{QK7PQ3CA.js → VNLXAJ6K.js} +2 -2
  299. package/dist/cdn/{432NJDW7.js → VSX6NU7T.js} +2 -2
  300. package/dist/cdn/{C23DNOM4.js → VXVLX7HU.js} +2 -2
  301. package/dist/cdn/{SGIHH4DD.js → W2AQFMX6.js} +3 -3
  302. package/dist/cdn/{BFSYEFJF.js → W3FLI2DJ.js} +1 -1
  303. package/dist/cdn/{NYIMVG6I.js → W4W2KD2Z.js} +2 -2
  304. package/dist/cdn/{FNXB73R7.js → WAKNLU4H.js} +2 -2
  305. package/dist/cdn/{ZZZ5IXTY.js → WHBCGNOV.js} +2 -2
  306. package/dist/cdn/{Y2BHCBN2.js → WHX66U6W.js} +2 -2
  307. package/dist/cdn/{YA36R2QR.js → WK7M23ZV.js} +2 -2
  308. package/dist/cdn/{F55B5BNY.js → WLNT25ZL.js} +1 -1
  309. package/dist/cdn/{GFTWHNVR.js → WRZVIHB2.js} +2 -2
  310. package/dist/cdn/{NEHD7BWS.js → WSVBZSJV.js} +1 -1
  311. package/dist/cdn/{N43VXMCI.js → WV5CYPT4.js} +2 -2
  312. package/dist/cdn/{A3Z5YQFM.js → WVZOAXTK.js} +2 -2
  313. package/dist/cdn/{EFMP72GE.js → WYZY5MEG.js} +1 -1
  314. package/dist/cdn/{FNCUTBX7.js → X2HMOVDC.js} +1 -1
  315. package/dist/cdn/{PG6P7PAY.js → X3IFM44Z.js} +2 -2
  316. package/dist/cdn/{AMRA27LM.js → X7Q7WOAP.js} +2 -2
  317. package/dist/cdn/{UXATKH5S.js → XCEVRWR2.js} +2 -2
  318. package/dist/cdn/{CVM23Z3W.js → XCI5GOCP.js} +2 -2
  319. package/dist/cdn/{BE7RCTIW.js → XF4Y7YWD.js} +2 -2
  320. package/dist/cdn/{3GUT3PQC.js → XJ4TOB2R.js} +1 -1
  321. package/dist/cdn/{43PWS362.js → XJJLFFTP.js} +2 -2
  322. package/dist/cdn/{642TLBFZ.js → XLOESN2G.js} +1 -1
  323. package/dist/cdn/{7FNGCPHX.js → XSDSXIZG.js} +2 -2
  324. package/dist/cdn/{CGZBTZJR.js → Y56EPUPH.js} +2 -2
  325. package/dist/cdn/{XQW5OF3W.js → Y6DBN623.js} +2 -2
  326. package/dist/cdn/{JXF5ZDU3.js → Y6GBF64F.js} +2 -2
  327. package/dist/cdn/{MGI27N6Z.js → YFHVP5OF.js} +1 -1
  328. package/dist/cdn/{TTJFLDHP.js → YIDOMZG4.js} +2 -2
  329. package/dist/cdn/{CCDB7WQC.js → YNY5DID2.js} +2 -2
  330. package/dist/cdn/YTDVJSJX.js +18 -0
  331. package/dist/cdn/{ERLXDIUS.js → YV47DKV7.js} +2 -2
  332. package/dist/cdn/{YOKFSPW5.js → Z3SZUCLO.js} +2 -2
  333. package/dist/cdn/{7UE74F3P.js → Z4CHNTUR.js} +2 -2
  334. package/dist/cdn/{SV5GC3GK.js → Z7DYXKP6.js} +2 -2
  335. package/dist/cdn/{QHESJJYD.js → ZADKZYIV.js} +1 -1
  336. package/dist/cdn/{V2SI23ZA.js → ZDSUTEMS.js} +3 -3
  337. package/dist/cdn/{2PF32KNA.js → ZFBF24KI.js} +2 -2
  338. package/dist/cdn/{LU7IE2XC.js → ZIRG4OIM.js} +2 -2
  339. package/dist/cdn/{O3KT4DDI.js → ZNYW4F3Z.js} +2 -2
  340. package/dist/cdn/{HAV76SHY.js → ZPKXYV6G.js} +2 -2
  341. package/dist/cdn/ZPQEOXHC.js +18 -0
  342. package/dist/cdn/ZQ4VMSJQ.js +18 -0
  343. package/dist/cdn/{HY422JHS.js → ZZOCPA5X.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-deploy-app-nav/t9n/messages.en.json +1 -1
  349. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  350. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  352. package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -1
  353. package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -1
  354. package/dist/cdn/index.js +2 -2
  355. package/dist/chunks/Auth.js +1 -1
  356. package/dist/chunks/CardsFetcher.js +1 -1
  357. package/dist/chunks/appConfig.js +1 -1
  358. package/dist/chunks/cardFetchingUtils.js +1 -1
  359. package/dist/chunks/cardsHelpers.js +1 -1
  360. package/dist/chunks/common.js +1 -1
  361. package/dist/chunks/deployAppContexts.js +1 -1
  362. package/dist/chunks/downloadUtils.js +1 -1
  363. package/dist/chunks/getItemIcon.js +1 -1
  364. package/dist/chunks/helpers.js +1 -1
  365. package/dist/chunks/interfaces.js +1 -1
  366. package/dist/chunks/loadModules.js +1 -1
  367. package/dist/chunks/mapViewUtils.js +1 -1
  368. package/dist/chunks/pciUtils.js +1 -1
  369. package/dist/chunks/popupUtils.js +1 -1
  370. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  371. package/dist/chunks/privilegeUtils.js +1 -1
  372. package/dist/chunks/publicNotificationContext.js +1 -1
  373. package/dist/chunks/queryUtils.js +1 -1
  374. package/dist/chunks/runtime.js +1 -1
  375. package/dist/chunks/solution-store.js +1 -1
  376. package/dist/chunks/templates.js +1 -1
  377. package/dist/chunks/useT9n.js +1 -1
  378. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +117 -9
  379. package/dist/components/arcgis-solutions-assistant/customElement.js +243 -63
  380. package/dist/components/arcgis-solutions-assistant/index.d.ts +5 -5
  381. package/dist/components/arcgis-solutions-assistant/index.js +5 -5
  382. package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +6 -0
  383. package/dist/components/basemap-gallery/customElement.js +1 -1
  384. package/dist/components/buffer-tools/customElement.js +1 -1
  385. package/dist/components/card-manager/customElement.js +1 -1
  386. package/dist/components/consent-manager/customElement.js +1 -1
  387. package/dist/components/create-feature/customElement.js +1 -1
  388. package/dist/components/create-related-feature/customElement.js +1 -1
  389. package/dist/components/crowdsource-manager/customElement.js +1 -1
  390. package/dist/components/crowdsource-reporter/customElement.js +3 -3
  391. package/dist/components/deduct-calculator/customElement.js +1 -1
  392. package/dist/components/delete-button/customElement.js +1 -1
  393. package/dist/components/delete-dialog/customElement.js +1 -1
  394. package/dist/components/edit-card/customElement.js +1 -1
  395. package/dist/components/feature-details/customElement.js +1 -1
  396. package/dist/components/feature-list/customElement.js +1 -1
  397. package/dist/components/field-selection/customElement.js +1 -1
  398. package/dist/components/floor-filter/customElement.js +1 -1
  399. package/dist/components/info-card/customElement.js +1 -1
  400. package/dist/components/json-editor/customElement.js +1 -1
  401. package/dist/components/layer-list/customElement.js +1 -1
  402. package/dist/components/layer-table/customElement.js +1 -1
  403. package/dist/components/map-card/customElement.js +1 -1
  404. package/dist/components/map-draw-tools/customElement.js +1 -1
  405. package/dist/components/map-fullscreen/customElement.js +1 -1
  406. package/dist/components/map-layer-picker/customElement.js +1 -1
  407. package/dist/components/map-legend/customElement.js +1 -1
  408. package/dist/components/map-picker/customElement.js +1 -1
  409. package/dist/components/map-search/customElement.js +1 -1
  410. package/dist/components/map-select-tools/customElement.js +1 -1
  411. package/dist/components/map-tools/customElement.js +1 -1
  412. package/dist/components/pci-calculator/customElement.js +1 -1
  413. package/dist/components/pdf-download/customElement.js +1 -1
  414. package/dist/components/public-notification/customElement.js +1 -1
  415. package/dist/components/refine-selection/customElement.js +1 -1
  416. package/dist/components/selection-tool/customElement.js +1 -1
  417. package/dist/components/solution-configuration/customElement.js +1 -1
  418. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  419. package/dist/components/solution-configure-titles/customElement.js +22 -19
  420. package/dist/components/solution-contents/customElement.js +1 -1
  421. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  422. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  423. package/dist/components/solution-deployed-card/customElement.js +1 -1
  424. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  425. package/dist/components/solution-details-card/customElement.js +2 -2
  426. package/dist/components/solution-details-panel/customElement.js +16 -16
  427. package/dist/components/solution-item/customElement.js +1 -1
  428. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  429. package/dist/components/solution-item-accordion/customElement.js +13 -9
  430. package/dist/components/solution-item-details/customElement.js +1 -1
  431. package/dist/components/solution-item-diagram/customElement.js +1 -1
  432. package/dist/components/solution-item-icon/customElement.js +1 -1
  433. package/dist/components/solution-item-sharing/customElement.js +1 -1
  434. package/dist/components/solution-organization-variables/customElement.js +1 -1
  435. package/dist/components/solution-resource-card/customElement.js +1 -1
  436. package/dist/components/solution-resource-item/customElement.js +1 -1
  437. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  438. package/dist/components/solution-social-share/customElement.js +1 -1
  439. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  440. package/dist/components/solution-template-data/customElement.js +1 -1
  441. package/dist/components/solution-variables/customElement.js +1 -1
  442. package/dist/components/solutions-all-panel/customElement.d.ts +2 -0
  443. package/dist/components/solutions-all-panel/customElement.js +48 -40
  444. package/dist/components/solutions-all-panel/index.d.ts +1 -0
  445. package/dist/components/solutions-all-panel/index.js +1 -0
  446. package/dist/components/solutions-all-shell/customElement.js +28 -25
  447. package/dist/components/solutions-deploy-app/customElement.js +16 -16
  448. package/dist/components/solutions-deploy-app-nav/customElement.js +20 -20
  449. package/dist/components/solutions-deploy-app-nav/index.d.ts +1 -1
  450. package/dist/components/solutions-deploy-app-nav/index.js +1 -1
  451. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  452. package/dist/components/solutions-deployed-panel/customElement.js +7 -7
  453. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  454. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  455. package/dist/components/solutions-filter-panel/customElement.js +74 -57
  456. package/dist/components/solutions-filter-panel/index.d.ts +1 -0
  457. package/dist/components/solutions-filter-panel/index.js +1 -0
  458. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  459. package/dist/components/solutions-resources/customElement.js +77 -38
  460. package/dist/components/solutions-resources/index.d.ts +2 -1
  461. package/dist/components/solutions-resources/index.js +2 -1
  462. package/dist/components/solutions-resources-shell/customElement.js +12 -12
  463. package/dist/components/solutions-searchsort-toolbar/customElement.js +31 -29
  464. package/dist/components/spatial-ref/customElement.js +1 -1
  465. package/dist/components/store-manager/customElement.js +1 -1
  466. package/dist/docs/api.json +352 -32
  467. package/dist/docs/docs.json +328 -23
  468. package/dist/docs/vscode.html-custom-data.json +27 -5
  469. package/dist/docs/web-types.json +83 -17
  470. package/dist/index.d.ts +2 -1
  471. package/dist/index.js +1 -1
  472. package/dist/loader.js +4 -4
  473. package/dist/types/lumina.d.ts +4 -3
  474. package/dist/types/preact.d.ts +4 -3
  475. package/dist/types/preact10.d.ts +4 -3
  476. package/dist/types/react.d.ts +4 -3
  477. package/dist/types/stencil.d.ts +4 -3
  478. package/dist/utils/interfaces.d.ts +7 -2
  479. package/package.json +1 -1
  480. package/dist/cdn/2UD2JW6W.js +0 -4
  481. package/dist/cdn/3UHCAXWM.js +0 -18
  482. package/dist/cdn/4AJRDF43.js +0 -18
  483. package/dist/cdn/ASCQB3WJ.js +0 -18
  484. package/dist/cdn/CSIRFAU6.js +0 -4
  485. package/dist/cdn/CW75KMEC.js +0 -18
  486. package/dist/cdn/DOCE3G4U.js +0 -18
  487. package/dist/cdn/F623IGPX.js +0 -4
  488. package/dist/cdn/G5GGYFR7.js +0 -4
  489. package/dist/cdn/HJ7NVYR7.js +0 -18
  490. package/dist/cdn/LGEMJU6L.js +0 -18
  491. package/dist/cdn/LZBPDHCZ.js +0 -4
  492. package/dist/cdn/MBMSJWWT.js +0 -18
  493. package/dist/cdn/PTMZ4JVP.js +0 -4
  494. package/dist/cdn/Q7CROOM3.js +0 -18
  495. package/dist/cdn/QCIKLF3J.js +0 -18
  496. package/dist/cdn/VMJTYN3P.js +0 -4
  497. package/dist/cdn/W3S4K3XB.js +0 -4
  498. package/dist/cdn/WYZM42EH.js +0 -18
  499. package/dist/cdn/Y6LWGXAH.js +0 -18
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a as P,c as C}from"./42SQB2UV.js";import{a as E}from"./GFTWHNVR.js";import e from"./TBFX3EVD.js";import{a as L,c as A}from"./ARGB7QOI.js";import a from"./REYRBAER.js";import{b as v}from"./V3S6TB66.js";import{J as m,L as _,M as k,ra as M}from"./IPRPAA72.js";import"./IFKIUWVZ.js";import"./3GUT3PQC.js";import"./GAIF3U4K.js";import"./34TH75YO.js";import"./MX4IW5YN.js";import"./WPHV7YFJ.js";import"./642TLBFZ.js";import"./CHDLTXQ4.js";import"./ZQ5UFA6J.js";import"./DFIJIF4I.js";import"./MOO5HUTK.js";import"./H6TOIC3H.js";import"./ML7RDHJK.js";import{k as R}from"./4VQKM4WR.js";import"./FSBYBBAR.js";import"./BLTZZN2S.js";import"./TSHEHQMQ.js";import"./7X7FF24S.js";import"./A3CB7ASF.js";import"./GZF6LAN2.js";import{a as $}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as x}from"./NMCQMLLM.js";import{C as c,D as d,E as y,G as h,H as w,I as u,h as b,i as s,o as g}from"./WTWNLOAO.js";import"./6ZYP4HST.js";export default $arcgis.t(([,{b:S,c:I}])=>{var D=b`/** @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}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:1px;border-bottom-style:solid}ul{list-style-type:disc;margin-block-start:0px;margin-block-end:0px}calcite-label{--calcite-label-margin-bottom: 0px}.padding-1{padding:1rem}.padding-1-5{padding:1.5rem}.padding-2px{padding:2px}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-5{padding-bottom:1.5rem}.padding-top-1{padding-top:1rem}.padding-top-1-5{padding-top:1.5rem}.padding-top-1-2{padding-top:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-end-2{padding-inline-end:2rem}.padding-start-1{padding-inline-start:1rem}.margin-bottom-1{margin-bottom:1rem}.margin-bottom-1-5{margin-bottom:1.5rem}.margin-end-1{margin-inline-end:1rem}.margin-block-start-end-0{margin-block-start:0px;margin-block-end:0px}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.button-width{width:260px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.button-width{width:auto}}.image-width{width:395px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.image-width{flex-grow:2;flex-shrink:.5}}.width-full{width:100%}.card-group{overflow:hidden}calcite-card{width:450px}@media(max-width:1496px){calcite-card{width:calc(100% / 3 - .5rem)}}@media(max-width:1100px){calcite-card{width:calc(50% - .5rem)}}@media(max-width:550px){calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer;padding:2px}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:1.2rem}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.margin-inline-unset{margin-inline:unset}.margin-top-0-5{margin-top:.5rem}.margin-top-0{margin-top:0}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-foreground-2)}.back-color-override-1{background-color:var(--calcite-color-foreground-1)}.title-font{font-size:2rem;line-height:1.1;color:var(--calcite-color-text-1)}.line-height-1-5{line-height:1.5}.font-1rem{font-size:1rem}.font-color-1{color:var(--calcite-color-text-1)}h1{font-weight:unset;margin:0;padding:0}.item-padding{--calcite-internal-accordion-item-padding: 1.5rem}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-foreground-1)}`,f=class extends y{constructor(){super(),this._showScreenshotsShowMore=!1,this._showYouMayAlsoLikeShowMore=!1,this._isScreenshotsRowExpanded=!1,this._isYouMayAlsoLikeRowExpanded=!1,this._screenshotsRowBaseHeight=340,this._templates=[],this._translations=$({name:"solution-details-panel",blocking:!0}),this._youMayAlsoLikeBaseHeight=340,this._allCards=[],this._authContextConsumer=v({context:A,subscribe:!0}),this._configureLearnMore="",this._customDeploymentMappings={},this._deployDialogRef=c(),this._deployingDialogRef=c(),this._overviewAccordionItemElement=c(),this._privilegePopoverRef=c(),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._releaseNotesAccordionItemElement=c(),this._relatedResourcesAccordionItemElement=c(),this._screenshotsAccordionItemElement=c(),this._screenshotsDialogRef=c(),this._screenshotsElement=c(),this._termsOfUseAccordionItemElement=c(),this._userOptions=[],this._userSessionContextConsumer=v({context:L,subscribe:!0}),this._youMayAlsoLikeAccordionItemElement=c(),this._youMayAlsoLikeElement=c(),this.templatesFetched=g(),this.itemPropertiesFetched=g(),this.sortTypeChanged=g(),this.tokenRefreshed=g(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected)}static{this.properties={card:0,_showScreenshotsShowMore:16,_showYouMayAlsoLikeShowMore:16,_isScreenshotsRowExpanded:16,_isYouMayAlsoLikeRowExpanded:16,_itemProperties:16,_missingPrivilegeMessages:16,_screenshotsRowBaseHeight:16,_templates:16,_translations:16,_youMayAlsoLikeBaseHeight:16}}static{this.styles=D}async connectedCallback(){super.connectedCallback(),this.listenOn(window,"calciteTabChange",this._cleanupPanel),this.listenOn(window,"detailsCardSelected",this._cleanupPanel)}loaded(){this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="padding-bottom-1-5",t=this._getRelatedResources(),i=this._getYouMayAlsoLikeCards();return s`<h1><calcite-panel class="back-color-override padding-top-1"><div class=${`${e} padding-1-5 back-color-override-1 margin-bottom-1-5`} id=solution-details-row>${this._getSolutionRow()}</div><div class=${h(e)}>${this._getScreenshotsRow()}</div><div class=${h(e)}>${this._getOverviewRow()}</div><div class=${h(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?s`<div class=${h(e)}>${this._getRelatedResourcesRow(t)}</div>`:""}${i.length>0?s`<div class=${h(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}<div class=${h(e)}>${this._getTermsOfUseRow()}</div><solution-deploy-dialog .card=${this.card} @deployFailed=${this._closeDialogs} @deployProgressEnd=${this._closeDialogs} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${d(this._deployDialogRef)}></solution-deploy-dialog><solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${d(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} ${d(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel></h1>`}updated(){setTimeout(()=>{let e=this._getYouMayAlsoLikeCards(),t=340;for(let i=0;i<e.length;i++){let o=this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),a=o?.offsetHeight?o.offsetHeight+40:0;a>t&&(t=a)}this._youMayAlsoLikeBaseHeight=t,this._showYouMayAlsoLikeShowMore=(this._youMayAlsoLikeElement.value?.scrollHeight||0)>this._youMayAlsoLikeBaseHeight},100)}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400"),t=this._missingPrivilegeMessages?.leadingMessages||[],i=t.length>0,o=this._missingPrivilegeMessages?.bulletedMessages||[],a=o.length>0,l=this._missingPrivilegeMessages?.trailingMessages||[],r=l.length>0;return s`<div class="display-flex flex-direction-row"><div class="padding-end-2 image-width"><img alt=${this.card?.title??u} src=${e??u}></div><div class="display-flex flex-direction-row">${this._getTextSection(i,a,r,t,o,l)}${this._getButtons(i||a||r||!this._authContextConsumer.value?.IsSignedIn)}</div></div>`}_getTextSection(e,t,i,o,a,l){return s`<div class="display-flex flex-direction-column padding-end-1"><h2 class="padding-end-1 padding-top-1 title-font margin-top-0">${this.card?.title}</h2>${this.card?.categories?.some(r=>r.includes("New Release"))&&s`<calcite-chip class="align-self-center" kind=brand .label=${this._translations.new} scale=m>${this._translations.new}</calcite-chip>`||""}<calcite-label scale=l class="font-1rem padding-end-1">${this.card?.snippet}</calcite-label>${e||t||i?s`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(o,a,l)}</div>`:""}</div>`}_getButtons(e){let t=this._itemProperties?.demoURL||"",i=t?"":"display-none";return s`<div class="display-flex flex-direction-column button-width"><calcite-button class="padding-bottom-1" .disabled=${e} icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._openDeploy()} scale=l>${this._translations.deploy}</calcite-button><calcite-button appearance=outline-fill kind=neutral class=${`padding-bottom-1 ${i}`} @click=${()=>this._openUrl(t)} scale=l>${this._translations.watchDemo}</calcite-button><calcite-button appearance=outline-fill kind=neutral class="padding-bottom-1" @click=${()=>this._openUrl(this.card?.learnMoreUrl||"")} scale=l>${this._translations.learnMore}</calcite-button><solution-social-share button-appearance=outline-fill class="padding-bottom-1" share-button-kind=neutral .shareButtonText=${this._translations.share} share-button-scale=l></solution-social-share></div>`}_getMissingPrivilegesNotice(e,t,i){let o="solutions-missing-privileges-notice",a=this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges;return s`<div><calcite-notice class="margin-inline-unset" kind=warning open><div slot=message>${`${a}`}</div><calcite-action icon=information id=${o} slot=actions-end .text=${a}></calcite-action></calcite-notice><calcite-popover closable .label=${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading} overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${d(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column"><span class="padding-bottom-1">${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${this._getSpanMessages(e,"padding-bottom-1")}${this._getBulletedMessages(t)}${this._getSpanMessages(i,"padding-top-1")}</div></calcite-popover></div>`}_getSpanMessages(e,t){return e.length>0?e.map(i=>s`<span class=${h(t)}>${i}</span>`):""}_getBulletedMessages(e){return e.length>0?s`<ul>${e.map(t=>s`<li>${t}</li>`)}</ul>`:""}_getScreenshotsRow(){let e=this._isScreenshotsRowExpanded?this._translations.showLess:this._translations.showMore,t=this._isScreenshotsRowExpanded?"arrow-up":"arrow-down",i=this._showScreenshotsShowMore?"":"display-none";return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._screenshotsAccordionItemElement)}><h3 class="margin-block-start-end-0" slot=content-start>${this._translations.screenshots}</h3><calcite-panel><div class="display-flex flex-direction-column back-color-override-1"><div class="collapsible-div max-height-300" id=screenshots-subsection ${d(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${i}`} .icon=${t} kind=neutral @click=${()=>{this._screenshotsElement.value?.classList.toggle("expanded"),this._isScreenshotsRowExpanded=this._screenshotsElement.value.classList.contains("expanded")}} .text=${e} text-enabled></calcite-fab></div></calcite-panel></calcite-accordion-item></calcite-accordion>`}_getScreenshots(){let e=this._itemProperties?.preview||[];return s`<calcite-card-group class="card-group" .label=${this._translations.screenshots}>${e.map(t=>this.card?.id?s`<calcite-card class="cursor-pointer" .label=${t.alt} @click=${()=>this._openScreenshotGallery(t)}><div class="card-image-wrap" slot=thumbnail><img alt=${t.alt??u} class="thumbnail card-image" slot=thumbnail src=${I(this.card.id||"",t.name,this._authContextConsumer.value)??u}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`:"")}</calcite-card-group>`}_openScreenshotGallery(e){let t=this._screenshotsDialogRef.value;t&&(t.screenshot=e,t.open=!0)}_getOverviewRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._overviewAccordionItemElement)}><h3 class="margin-block-start-end-0" slot=content-start>${this._translations.solutionOverview}</h3>${this._getDescriptionRow()}${this._getRequirementsRow()}${this._getInformationProductsRow()}</calcite-accordion-item></calcite-accordion>`}_getDescriptionRow(){return s`<div class="display-flex flex-direction-column"><p class="font-color-1 font-1rem margin-top-0 line-height-1-5" .innerHTML=${this.card?.description??""}></p></div>`}_getRequirementsRow(){let e=this._getRequirements();return s`<div class="display-flex flex-direction-column font-1rem font-color-1"><p>${this.card?.title?this._translations.requirementsSubText.replace("{{solutionTitle}}",this.card.title):""}</p>${e.map(t=>s`<ul class="display-flex flex-direction-row padding-top-1-2 font-1rem font-color-1"><li>${t}</li></ul>`)}</div>`}_getRequirements(){return this._itemProperties?.requirements||[]}_getInformationProductsRow(){return s`<div class="display-flex flex-direction-column padding-top-1-5 font-1rem line-height-1-5 font-color-1"><span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(e=>s`<calcite-table-row><calcite-table-cell><p class="display-flex flex-direction-row font-1rem font-color-1">${e.item}</p></calcite-table-cell><calcite-table-cell><p class="display-flex flex-direction-row font-1rem font-color-1">${e.description}</p></calcite-table-cell><calcite-table-cell><p class="display-flex flex-direction-row font-1rem font-color-1">${e.userType}</p></calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._releaseNotesAccordionItemElement)}><h3 class="margin-block-start-end-0" slot=content-start>${this._translations.releaseNotes}</h3><div class="display-flex flex-direction-column"><calcite-table bordered caption>${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div></calcite-accordion-item></calcite-accordion>`}_getReleaseNotesTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(e=>s`<calcite-table-row><calcite-table-cell><p class="display-flex flex-direction-row font-1rem font-color-1">${e.version}</p></calcite-table-cell><calcite-table-cell alignment=start>${e.description.map(t=>s`<ul class="display-flex flex-direction-row font-1rem font-color-1"><li>${t.note}</li></ul>`)}</calcite-table-cell></calcite-table-row>`)}_getRelatedResourcesRow(e){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._relatedResourcesAccordionItemElement)}><h3 class="margin-block-start-end-0" slot=content-start>${this._translations.relatedResources}</h3><div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),s`<solution-resource-card></solution-resource-card>`})}</div></calcite-accordion-item></calcite-accordion>`}_getRelatedResources(){return[]}_getYouMayAlsoLikeRow(e){let t=this._showYouMayAlsoLikeShowMore?"":"display-none",i=this._isYouMayAlsoLikeRowExpanded?this._translations.showLess:this._translations.showMore,o=this._isYouMayAlsoLikeRowExpanded?"arrow-up":"arrow-down",a=this._isYouMayAlsoLikeRowExpanded?"":{height:`${this._youMayAlsoLikeBaseHeight}px`};return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._youMayAlsoLikeAccordionItemElement)}><h3 class="margin-block-start-end-0" slot=content-start>${this._translations.youMayAlsoLike}</h3><div class="display-flex flex-direction-column"><div class="collapsible-div" id=you-may-also-like-subsection style=${w(a)} ${d(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((l,r)=>s`<solution-details-card .id=${`you-may-also-like-${r}`} .card=${l} class="padding-2px"></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} .icon=${o} kind=inverse @click=${()=>{this._youMayAlsoLikeElement.value?.classList.toggle("expanded"),this._isYouMayAlsoLikeRowExpanded=this._youMayAlsoLikeElement.value.classList.contains("expanded")}} .text=${i} text-enabled></calcite-fab></div></calcite-accordion-item></calcite-accordion>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getTermsOfUseRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._termsOfUseAccordionItemElement)}><h3 class="margin-block-start-end-0" slot=content-start>Terms of Use</h3><div class="display-flex flex-direction-column"><p class="font-color-1 font-1rem margin-top-0 line-height-1-5" .innerHTML=${this._translations.copyrightHeading??""}></p><p class="font-color-1 font-1rem margin-top-0 line-height-1-5" .innerHTML=${this._translations.apacheLicense??""}></p><calcite-link class="margin-top-0 line-height-1-5" .href=${this._translations.apacheLicenseUrl}>${this._translations.apacheLicenseUrl}</calcite-link><p class="font-color-1 font-1rem margin-top-1 line-height-1-5" .innerHTML=${this._translations.asIsBasis??""}></p></div></calcite-accordion-item></calcite-accordion>`}_openDeploy(){if(this._authContextConsumer.value.IsSignedIn){let e=this._deployDialogRef.value;e&&(e.userOptions=this._userOptions,e.open=!0)}else this._authContextConsumer.value.signIn()}_openUrl(e){window.open(e,"_blank")}async _detailsCardSelected(e){this.card=e.detail,this._onResize(),this._missingPrivilegeMessages=void 0,await this._getItemData(),this._expandAccordions()}_expandAccordions(){this._overviewAccordionItemElement.value&&(this._overviewAccordionItemElement.value.expanded=!0),this._releaseNotesAccordionItemElement.value&&(this._releaseNotesAccordionItemElement.value.expanded=!0),this._relatedResourcesAccordionItemElement.value&&(this._relatedResourcesAccordionItemElement.value.expanded=!0),this._screenshotsAccordionItemElement.value&&(this._screenshotsAccordionItemElement.value.expanded=!0),this._termsOfUseAccordionItemElement.value&&(this._termsOfUseAccordionItemElement.value.expanded=!0),this._youMayAlsoLikeAccordionItemElement.value&&(this._youMayAlsoLikeAccordionItemElement.value.expanded=!0)}async _getItemData(){let e=this._userSessionContextConsumer.value,t=await M(this.card.id,e),i=await R(this.card.id,e);this._itemProperties=i.properties,this.itemPropertiesFetched.emit(this._itemProperties);let o=P(t,this.card.typeKeywords,this._authContextConsumer.value);this._privileges=e.username?o:[],this._userPrivileges=this._authContextConsumer.value?this._authContextConsumer.value.PortalUserPrivileges:[];let a=this._privileges.filter(l=>!this._userPrivileges.includes(l));this._missingPrivilegeMessages=C(this._translations,a),(t.params?this.formatParams(t.params):Promise.resolve([])).then(l=>{this._userOptions=l}),this._templates=t.templates,this.templatesFetched.emit(t.templates)}formatParams(e){let t=this._userSessionContextConsumer.value,i=[],o=e?Object.keys(e):[],a={id:"",props:[],accordionDisplay:!1};if(o.length>0){let l=[];return o.forEach(r=>{let p=e[r];p.valueType&&p.valueType.toLowerCase()==="itemid"&&l.push(this._findExistingItem(r,"Feature Service",t.username||""))}),Promise.all(l).then(r=>{let p={};return r.forEach(n=>{if(n.query&&n.results&&n.results.length>0){let T=n.query.split(" ")[0].replace("typekeywords:source-","");p[T]={resultId:n.results[0].id,response:n.results[0]}}}),o.forEach(n=>{if(n==="serviceLearnMore"){this._configureLearnMore=e[n],alert(this._configureLearnMore),delete e[n];return}e[n].enterpriseIDMapping&&(this._customDeploymentMappings[n]=e[n].enterpriseIDMapping),a.id=n,p[n]&&(e[n].existingItemId=p[n].resultId,this.updateUserProp(e[n],p[n].response)),this.updateOption(e[n],a,n)}),i.push(a),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let o=this._userSessionContextConsumer.value;return E(`typekeywords:source-${e} type:${t} owner:${i}`,o)}updateUserProp(e,t){let i=e.itemType?.toLowerCase()==="feature service",o=new RegExp(i?this._regexFsUrl:e.itemType,"iu"),a=_(t,i?"url":"type","")||"",l=a!==""&&o.test(a);return e.responseValue=l?a:"",e.name=l&&m(t,"name")||"",e.title=l&&m(t,"title")||"",e.itemType=l?m(t,"type"):e.itemType,e.validId=l,e.itemUrl=S(t.id,this._authContextConsumer.value),l}updateOption(e,t,i){let o=e.default||"",a=typeof o,l=o.toString();this._setFeatureServiceProps(e);let r=this.getValidation(e,l);t.props.push({id:i,outType:a,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:l,default:l,srSearchText:l,autoSelect:l!=="",...r,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&k(e,"attributes.required","true")}getValidation(e,t){let i="",o=m(e,"validation.message")||"",a=!0;return m(e,"attributes.required")==="true"&&(i=_(e,"validation.expression","\\S{1,}"),a=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,o=this._translations.configure.invalidID),{valid:a,validation:{expression:i,message:o}}}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._showYouMayAlsoLikeShowMore=(this._youMayAlsoLikeElement.value?.scrollHeight||0)>this._youMayAlsoLikeBaseHeight,this._showScreenshotsShowMore=(this._screenshotsElement.value?.scrollHeight||0)>this._screenshotsRowBaseHeight+2}_cleanupPanel(){this.el.shadowRoot?.getElementById("solution-details-row")?.scrollIntoView(!0),this._isScreenshotsRowExpanded=!1,this._showScreenshotsShowMore=!1,this._screenshotsElement.value?.classList.remove("expanded"),this._isYouMayAlsoLikeRowExpanded=!1,this._showYouMayAlsoLikeShowMore=!1,this._youMayAlsoLikeElement.value?.classList.remove("expanded"),this._privilegePopoverRef.value?.open&&(this._privilegePopoverRef.value.open=!1),this._expandAccordions()}_deployProgressStart(e){this._deployingDialogRef.value&&(this._deployingDialogRef.value.open=!0,this._deployingDialogRef.value.abortController=e.detail),this._deployDialogRef.value&&this._deployDialogRef.value.classList.add("display-none")}_deployProgessUpdated(e){let t=e.detail;this._deployingDialogRef.value.deploymentProgress=t.progress}_closeDialogs(){this._deployingDialogRef.value.close(),this._deployDialogRef.value.open=!1,this._deployDialogRef.value.classList.remove("display-none")}_handleDeployAppTabSelected(e){e.detail==="details"&&this.sortTypeChanged.emit("")}};x("solution-details-panel",f);return f},a,e)
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a as h}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as p}from"./NMCQMLLM.js";import{E as d,h as r,i as l,l as c,o as n}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var y=r`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`,a=class extends d{constructor(){super(...arguments),this.itemRelationshipDependencies=[],this.linkType="item",this.listSelectionMode="none",this.templateInfos=[],this.typeKeywords=[],this._sortedTemplateInfos=[],this._translations=h({name:"solution-item-accordion",blocking:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=n(),this.solutionItemSelect=n(),this.solutionTypeHover=n()}static{this.properties={itemRelationshipDependencies:0,linkType:1,listSelectionMode:1,templateInfos:0,typeKeywords:0,_sortedTemplateInfos:16,_translations:16}}static{this.styles=y}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(e=>{e.selected&&(e.selected=!1,(e.parentElement?.parentElement).expanded=!1)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async selectItems(e){this.listSelectionMode==="multiple"&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{e.indexOf(t.id)>-1&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates()}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return l`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return l`<calcite-accordion-item .description=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return l`<calcite-list .label=${this._translations.solutionsTemplates} selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){let t=this.typeKeywords.includes("Deployed")&&e.url,i=this.linkType==="action";return l`<calcite-list-item id=${e.id??c} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0}),t&&!i&&window.open(e.url,"_blank")}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${t&&!i?"underline":""}`}>${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${this.itemRelationshipDependencies.length>0&&this.itemRelationshipDependencies.some(o=>o===e.id)&&l`<calcite-chip slot=actions-end icon=information scale=s .label=${this._translations?.itemDependency}>${this._translations?.itemDependency}</calcite-chip>`||""}${t&&i?l`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),m=this._sortOrder.indexOf(o);return s-m})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}};p("solution-item-accordion",a);export{a as SolutionItemAccordion};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{b as e,e as r}from"./FDGW2TGF.js";import"./LFLGSFUG.js";import"./NEHD7BWS.js";import"./6RKS45HC.js";import{c as t}from"./NPDND32J.js";import"./MX4IW5YN.js";import"./HB35K7EJ.js";import"./CHDLTXQ4.js";import"./ZQ5UFA6J.js";import"./DFIJIF4I.js";import"./MOO5HUTK.js";import"./ML7RDHJK.js";import"./4VQKM4WR.js";import"./FSBYBBAR.js";import"./TSHEHQMQ.js";import"./7X7FF24S.js";import"./A3CB7ASF.js";import"./6ZYP4HST.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a,b}from"./XPXK6WN7.js";import"./CO7NHF75.js";import"./6ZYP4HST.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{b as y}from"./ARGB7QOI.js";import{b as v}from"./V3S6TB66.js";import{a as _}from"./HPKB6T3A.js";import{k as b,l as m}from"./GZF6LAN2.js";import{a as g}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as f}from"./NMCQMLLM.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"./WTWNLOAO.js";import"./6ZYP4HST.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}`,n=class extends d{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=g({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(b).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" @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)}><calcite-panel><solutions-filter-panel class="height-100" @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-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.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a as r}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as l}from"./NMCQMLLM.js";import{E as o,h as s,i,o as t}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var a=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
- */.position-relative{position:relative}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-background-color: var(--calcite-color-foreground-2)}.width-350{--calcite-shell-panel-width: 350px}.height-full{height:100%}.padding-end-1-2{padding-inline-end:.5rem}`,e=class extends o{constructor(){super(),this._translations=r({name:"solutions-resources-shell",blocking:!0}),this.sortTypeChanged=t(),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected)}static{this.properties={_translations:16}}static{this.styles=a}render(){return i`<calcite-shell class="position-relative"><calcite-shell-panel class="background-override width-350" position=start slot=panel-start><solutions-resources class="height-full padding-end-1-2"></solutions-resources></calcite-shell-panel><solutions-resource-panel class="height-full"></solutions-resource-panel></calcite-shell>`}_handleDeployAppTabSelected(n){n.detail==="resources"&&this.sortTypeChanged.emit("")}};l("solutions-resources-shell",e);export{e as SolutionsResourcesShell};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{b as d}from"./NMCQMLLM.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a as h}from"./CVM23Z3W.js";import{k as m}from"./GZF6LAN2.js";import{a as F}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as A}from"./NMCQMLLM.js";import{E as I,h as S,i as a,o as y}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var b=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
- */.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.border-color{--calcite-block-border-color: #00000000}`;var N={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},T=Object.keys(m).reduce((u,s)=>{let t=s;return u[t]=N[t]??[],u},{}),E=class extends I{constructor(){super(),this.hideIndustryFilter=!1,this.isAIsettingEnabled=!1,this.showReset=!1,this._activeFilterSettings={categories:[]},this._translations=F({name:"solutions-filter-panel",blocking:!0}),this.applyFilter=y(),this._handleFilterRemoved=s=>{let t=s.detail;Array.isArray(t)&&(this._activeFilterSettings={...this._activeFilterSettings,categories:[...t]})},this.listenOn(window,"filterRemoved",this._handleFilterRemoved)}static{this.properties={hideIndustryFilter:5,isAIsettingEnabled:5,showReset:5,_activeFilterSettings:16,_translations:16}}static{this.styles=b}changeIndustryFilter(s,t,o,d){if(s!==""||t!==""){let c=[];t!==""?c=[{displayValue:m[s],type:"industry",value:s,industry:s,domain:""},{displayValue:o,type:"domain",value:t,industry:s,domain:t}]:c=[{displayValue:o,type:t!==""?"domain":"industry",value:t!==""?t:s,industry:s,domain:t}],this._activeFilterSettings={...this._activeFilterSettings,categories:[...c]},d&&this.applyFilter.emit(c)}else{let c={displayValue:o,type:"industry",value:s,industry:s,domain:t};this._activeFilterSettings={...this._activeFilterSettings,categories:[c]},d&&this.applyFilter.emit(c)}}clearFilters(){this.changeIndustryFilter("","",""),this.applyFilter.emit(null)}render(){return a`<calcite-panel description .heading=${this._translations.findSolutions}>${this.showReset&&a`<calcite-action icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action>`||""}<calcite-block-group .label=${this._translations.filters}>${!this.hideIndustryFilter&&this.renderIndustryBlock()||""}</calcite-block-group>${this.isAIsettingEnabled&&a`<calcite-button icon-start=speech-bubbles label="Solutions Assistant" round scale=l slot=footer-start></calcite-button>`||""}</calcite-panel>`}renderIndustryBlock(){let s=(e,r)=>!this._activeFilterSettings||!this._activeFilterSettings.categories?!1:this._activeFilterSettings.categories.some(i=>i.industry===e&&(i.domain??"")===r),t=e=>!this._activeFilterSettings||!this._activeFilterSettings.categories?!1:this._activeFilterSettings.categories.some(r=>r.industry===e&&(r.domain??"")===""),o=(e,r)=>r.length>0&&(t(e)||this._activeFilterSettings.categories?.some(i=>i.industry===e&&!!i.domain&&r.includes(i.domain))===!0),d=(e,r)=>r.map(i=>{let l=Object.keys(this._translations.industriesDomain).find(p=>p.toUpperCase()===i.toUpperCase()),n=l&&l in this._translations.industriesDomain?this._translations.industriesDomain[l]:i;return s(e,i)?h(i,a`<calcite-tree-item .label=${n} @click=${()=>this.changeIndustryFilter(e,i,n,!0)} selected>${n}</calcite-tree-item>`):h(i,a`<calcite-tree-item .label=${n} @click=${()=>this.changeIndustryFilter(e,i,n,!0)}>${n}</calcite-tree-item>`)}),c=Object.entries(T).map(([e,r])=>{let i=Object.keys(this._translations.industries).find(R=>R.toUpperCase()===e.toUpperCase()),l=i&&i in this._translations.industries?this._translations.industries[i]:e,n=r,p=t(e),g=o(e,n);return p?h(e,a`<calcite-tree-item .label=${l} @click=${()=>this.changeIndustryFilter(e,"",l,!0)} selected .expanded=${g?!0:void 0}>${l}${n.length>0&&a`<calcite-tree slot=children selection-mode=multiple>${d(e,n)}</calcite-tree>`||""}</calcite-tree-item>`):h(e,a`<calcite-tree-item .label=${l} @click=${()=>this.changeIndustryFilter(e,"",l,!0)} .expanded=${g?!0:void 0}>${l}${n.length>0&&a`<calcite-tree slot=children selection-mode=multiple>${d(e,n)}</calcite-tree>`||""}</calcite-tree-item>`)});return a`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-tree selection-mode=single-persist>${c}</calcite-tree></calcite-block>`}};A("solutions-filter-panel",E);export{E as SolutionsFilterPanel};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a as O}from"./3GUT3PQC.js";import{e as _}from"./642TLBFZ.js";import{a as l,f as p}from"./DFIJIF4I.js";import"./7X7FF24S.js";import"./6ZYP4HST.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("./PREOVEW5.js"),m={"hub:card:stat":()=>import("./BGUOHLDS.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("./RPUGAOID.js"),m={"hub:card:follow":()=>import("./QK7BUSQS.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("./OWRNLUAM.js"),m=import("./BBUKCBZH.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("./VDDRSCWE.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./A4LRNV24.js"),"hub:site:create":()=>import("./VZG7PYDY.js"),"hub:site:followers":()=>import("./BU6B533Y.js"),"hub:site:discussions":()=>import("./URGLXCMP.js"),"hub:site:settings":()=>import("./7UE74F3P.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("./CDVDTOES.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./AME2N5R6.js"),"hub:discussion:create":()=>import("./XRQ5EWWN.js"),"hub:discussion:settings":()=>import("./DYKLK7SE.js"),"hub:discussion:settings:discussions":()=>import("./GKPJSKC5.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("./CWHNOFME.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./7JHLTQPN.js"),"hub:channel:create":()=>import("./2UD2JW6W.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("./W3S4K3XB.js");r=l(n);let v=await{"hub:project:edit":()=>import("./2MCZSCMM.js"),"hub:project:create":()=>import("./2KC7A44G.js"),"hub:project:create2":()=>import("./N6YIMQMF.js"),"hub:project:metrics":()=>import("./DP4TDB7X.js"),"hub:project:settings":()=>import("./WNVKL67O.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("./VMJTYN3P.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./FLRWOPU6.js"),"hub:initiative:create":()=>import("./V7SZH2RC.js"),"hub:initiative:create2":()=>import("./Y2BHCBN2.js"),"hub:initiative:metrics":()=>import("./26RD3PS2.js"),"hub:initiative:associations":()=>import("./FNXB73R7.js"),"hub:initiative:settings":()=>import("./GZCFCVWF.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("./TKTNS4QT.js");r=l(I);let D=await{"hub:page:edit":()=>import("./SUDZEHPR.js"),"hub:page:create":()=>import("./VDXJT6KX.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("./OMVONFJ5.js");r=l(K);let U=await{"hub:content:edit":()=>import("./LPX6FY5M.js"),"hub:content:discussions":()=>import("./JVH5EVFM.js"),"hub:content:settings":()=>import("./Z7Q2HPG7.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("./O3KT4DDI.js");r=l(y);let k=await{"hub:template:edit":()=>import("./JXF5ZDU3.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("./G5GGYFR7.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./VRU7IM5G.js"),"hub:group:create:association":()=>import("./37H772BX.js"),"hub:group:create:view":()=>import("./TYMMEDNB.js"),"hub:group:create:edit":()=>import("./J5A6CFMG.js"),"hub:group:create":()=>import("./AJXG7IX5.js"),"hub:group:edit":()=>import("./LU7IE2XC.js"),"hub:group:settings":()=>import("./ZWEGUQZQ.js"),"hub:group:discussions":()=>import("./RF2OPXXP.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("./PG6P7PAY.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./DZHQD6XA.js"),"hub:survey:settings":()=>import("./G2YLNGCI.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./CSIRFAU6.js"),"hub:event:edit":()=>import("./JYWHUF5Y.js"),"hub:event:registrants":()=>import("./ILIP26MD.js")}[a](),H=await{"hub:event:create":()=>import("./UNXAQV3E.js"),"hub:event:edit":()=>import("./IFO37FNO.js"),"hub:event:registrants":()=>import("./5Q3767V4.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./2OFLAJMD.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./MAWXGZOQ.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("./SMQE63G2.js");r=l(N);let P=await{"hub:user:settings":()=>import("./QNSEGUHW.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,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a as y}from"./ARGB7QOI.js";import b from"./REYRBAER.js";import{b as T}from"./V3S6TB66.js";import{pb as x,qb as $}from"./IPRPAA72.js";import"./IFKIUWVZ.js";import"./3GUT3PQC.js";import"./GAIF3U4K.js";import"./34TH75YO.js";import"./MX4IW5YN.js";import"./WPHV7YFJ.js";import"./642TLBFZ.js";import"./CHDLTXQ4.js";import"./ZQ5UFA6J.js";import"./DFIJIF4I.js";import"./MOO5HUTK.js";import"./H6TOIC3H.js";import"./ML7RDHJK.js";import"./4VQKM4WR.js";import"./FSBYBBAR.js";import"./BLTZZN2S.js";import"./TSHEHQMQ.js";import"./7X7FF24S.js";import"./A3CB7ASF.js";import{H as _}from"./GZF6LAN2.js";import{a as g}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as m}from"./NMCQMLLM.js";import{C as d,D as c,E as f,G as n,h,i as a,o as r}from"./WTWNLOAO.js";import"./6ZYP4HST.js";export default $arcgis.t(([{d:p}])=>{var N=h`/** @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}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.font-style-1{font-size:1rem;color:var(--calcite-color-text-2)}.margin-top-0{margin-top:0}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-2{padding-bottom:2rem}.padding-left-2{padding-left:2rem}.padding-right-2{padding-right:2rem}.padding-top-2{padding-top:2rem}.padding-end-1{padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.width-full{width:100%}.justify-content-space{justify-content:space-between}`,u=class extends f{constructor(){super(...arguments),this.open=!1,this.templateInfos=[],this._saveDisabled=!1,this._displayTemplateInfos=[],this._hasNameLengthError=!1,this._solutionItemsTitlesUpdating=!1,this._translations=g({name:"solution-configure-titles",blocking:!0}),this._prefixRef=d(),this._prefixValue="",this._suffixRef=d(),this._suffixValue="",this._userSessionContextConsumer=T({context:y,subscribe:!0}),this.solutionConfigureTitlesBeforeClose=r(),this.solutionItemsTitlesChanged=r()}static{this.properties={card:0,open:5,templateInfos:0,_saveDisabled:16,_displayTemplateInfos:16,_hasNameLengthError:16,_solutionItemsTitlesUpdating:16,_translations:16}}static{this.styles=N}willUpdate(i){i.has("templateInfos")&&this._updateTemplates()}load(){this._updateTemplates()}render(){return a`<calcite-dialog .heading=${this.card.title} modal @calciteDialogBeforeClose=${()=>{this.solutionConfigureTitlesBeforeClose.emit()}} .open=${this.open} outside-close-disabled width=l>${this._getPrefixSuffixControls()}${this._getAccordion()}${this._getDialogButtons()}</calcite-dialog>`}_getPrefixSuffixControls(){let i=p(this._prefixValue),s=this._hasNameLengthError&&this._prefixValue.length>0,e=!i,t=!s,I=e?"display-none":"",v=t?"display-none":"",b=e&&t?"valid":"invalid",C=p(this._suffixValue),w=this._hasNameLengthError&&this._suffixValue.length>0,l=!C,o=!w,S=l?"display-none":"",L=o?"display-none":"",E=l&&o?"valid":"invalid";return this._saveDisabled=!e||!t||!l||!o,a`<div class="display-flex flex-direction-column padding-left-2 padding-right-2"><calcite-label scale=l class="font-weight-medium">${this._translations.configureTitlesDialogHeader}</calcite-label><p class="font-style-1 margin-top-0">${this._translations.addPrefixOrSuffixToItems}</p><div class="display-flex flex-direction-row justify-content-space"><calcite-label class="width-full padding-end-1" scale=l>${this._translations.prefixToAddToItems}<calcite-input @input=${this._prefixInput} .placeholder=${this._translations.enterPrefixPlaceholder} .status=${b} ${c(this._prefixRef)}></calcite-input><calcite-input-message class=${n(I)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${n(v)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label><calcite-label class="width-full" scale=l>${this._translations.suffixToAddToItems}<calcite-input @input=${this._suffixInput} .placeholder=${this._translations.enterSuffixPlaceholder} .status=${E} ${c(this._suffixRef)}></calcite-input><calcite-input-message class=${n(S)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${n(L)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label></div></div>`}_getAccordion(){return a`<div class="display-flex flex-direction-column padding-left-2 padding-right-2 padding-bottom-2"><p class="font-style-1 margin-top-0">${this._translations.previewTheChanges}</p><solution-item-accordion .templateInfos=${this._displayTemplateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion></div>`}_getDialogButtons(){return a`<div slot=footer-end><calcite-button appearance=outline class="padding-end-1-2" kind=brand @click=${this._closeDialog}>${this._translations.cancelTheDialog}</calcite-button><calcite-button .disabled=${this._saveDisabled} kind=brand .loading=${this._solutionItemsTitlesUpdating} @click=${this._commitNameChanges}>${this._translations.applyChangesAndCloseTheDialog}</calcite-button></div>`}_prefixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._prefixValue=this._prefixRef.value?.value||"",this._updateTemplates()},500)}_suffixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._suffixValue=this._suffixRef.value?.value||"",this._updateTemplates()},500)}_updateTemplates(){let i=/[^\s\\]/.test(this._prefixValue),s=/[^\s\\]/.test(this._suffixValue),e=JSON.parse(JSON.stringify(this.templateInfos));this._hasNameLengthError=!1,this._displayTemplateInfos=e.map(t=>(t.title=i&&s?`${`${this._prefixValue} `}${t.title}${` ${this._suffixValue}`}`:i?`${`${this._prefixValue} `}${t.title}`:s?`${t.title}${` ${this._suffixValue}`}`:t.title,this._hasNameLengthError||(this._hasNameLengthError=t.title.length>_),t))}_closeDialog(){this.open=!1}async _commitNameChanges(){if(JSON.stringify(this.templateInfos)!==JSON.stringify(this._displayTemplateInfos)){this._solutionItemsTitlesUpdating=!0;let i=this._displayTemplateInfos.reduce((s,e)=>{let t={id:e.id,title:e.title};return s.push(e.type==="Group"?$(t,this._userSessionContextConsumer.value):x(t,this._userSessionContextConsumer.value)),s},[]);await Promise.all(i),this._solutionItemsTitlesUpdating=!1,this.solutionItemsTitlesChanged.emit()}this._closeDialog()}};m("solution-configure-titles",u);return u},b)
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import c from"./OF2LVTY5.js";import b from"./KVWH2WJX.js";import{b as x}from"./FNCUTBX7.js";import{a as S,b as C,c as f,d as w}from"./ARGB7QOI.js";import a from"./REYRBAER.js";import{a as r}from"./V3S6TB66.js";import"./IPRPAA72.js";import"./IFKIUWVZ.js";import"./3GUT3PQC.js";import"./GAIF3U4K.js";import"./34TH75YO.js";import"./MX4IW5YN.js";import"./WPHV7YFJ.js";import"./642TLBFZ.js";import"./CHDLTXQ4.js";import"./ZQ5UFA6J.js";import"./DFIJIF4I.js";import"./MOO5HUTK.js";import"./H6TOIC3H.js";import"./ML7RDHJK.js";import"./4VQKM4WR.js";import"./FSBYBBAR.js";import"./BLTZZN2S.js";import"./TSHEHQMQ.js";import"./7X7FF24S.js";import"./A3CB7ASF.js";import{p as g,q as v}from"./GZF6LAN2.js";import{a as y}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as m}from"./NMCQMLLM.js";import{C as s,D as i,E as T,G as u,h as _,i as n,o as d}from"./WTWNLOAO.js";import"./6ZYP4HST.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%}`,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"my-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"my-deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}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.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a,b}from"./QVIM3F2B.js";import"./J425E2LA.js";import"./56XBTT4O.js";import"./IJD2AMEM.js";import"./CO7NHF75.js";import"./QHESJJYD.js";import"./6ZYP4HST.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a,b}from"./TRDAVDVV.js";import"./J425E2LA.js";import"./56XBTT4O.js";import"./IJD2AMEM.js";import"./CO7NHF75.js";import"./QHESJJYD.js";import"./6ZYP4HST.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import i from"./EFXWPDM6.js";import g from"./OF2LVTY5.js";import e from"./KVWH2WJX.js";import{a as b,c as I,d as A}from"./ARGB7QOI.js";import a from"./REYRBAER.js";import{b as h}from"./V3S6TB66.js";import"./IPRPAA72.js";import"./IFKIUWVZ.js";import"./3GUT3PQC.js";import"./GAIF3U4K.js";import"./34TH75YO.js";import"./MX4IW5YN.js";import"./WPHV7YFJ.js";import"./642TLBFZ.js";import"./CHDLTXQ4.js";import"./ZQ5UFA6J.js";import"./DFIJIF4I.js";import"./MOO5HUTK.js";import"./H6TOIC3H.js";import"./ML7RDHJK.js";import"./4VQKM4WR.js";import"./FSBYBBAR.js";import"./BLTZZN2S.js";import"./TSHEHQMQ.js";import"./7X7FF24S.js";import"./A3CB7ASF.js";import{k as w,l as T,o as v,p as u,q as x}from"./GZF6LAN2.js";import{a as f}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as S}from"./NMCQMLLM.js";import{E as C,h as m,i as d,j as y,o as c}from"./WTWNLOAO.js";import"./6ZYP4HST.js";export default $arcgis.t(([,{c:F},g,O])=>{var D=m`/** @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-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,V=5,p=class extends C{constructor(){super(),this.sortType="relevance",this._cards=[],this._modifiedCheckTry=0,this._translations=f({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${u} OR ${x}`,this._allCards=[],this._authContextConsumer=h({context:I,subscribe:!0}),this._baseAgoTerms=u,this._categories=[],this._configContextConsumer=h({context:A,subscribe:!0,callback:async e=>{e&&await this._loadUpdateProcedures()}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this._userSessionContextConsumer=h({context:b,subscribe:!0}),this.cardsFetched=c(),this.allCardsFetched=c(),this.searchTermSet=c(),this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=V,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=V,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))})}static{this.properties={sortType:1,_cards:16,_modifiedCheckTry:16,_translations:16}}static{this.styles=D}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"all-solutions"})),"sortType"in e&&this._sortCards(e))}render(){return d`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this._cards.length?this._cards.map(e=>d`<solution-details-card .card=${e}></solution-details-card>`):d`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){if(this._configContextConsumer.value){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},this._configContextConsumer.value?.primarySolutionsGroupId,"",this._userSessionContextConsumer.value,{num:1e3}),t=e?.cards.length?e.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),t.sort((a,n)=>a.categories.includes(s)&&!n.categories.includes(s)?-1:!a.categories.includes(s)&&n.categories.includes(s)?1:a.categories.includes(s)&&n.categories.includes(s)?a.categories.length-n.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of t){let r=s.get(i.deployCommonId),l=Number(i.deployVersion);(!r||l>r)&&s.set(i.deployCommonId,l)}let a=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),n=new Set(a.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!n.has(i))),t.sort((i,r)=>{let l=this._relatedSolutions.has(i.deployCommonId),_=this._relatedSolutions.has(r.deployCommonId);return l&&!_?-1:!l&&_?1:0})}let o=t.map(s=>{let a=s.categories.indexOf("/Categories/New Release")>-1,n=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;return this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s)),s.chip=a?"new":n?"updated":i&&r?"deployed":"none",s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards,this._deployedSolutions&&(this._relatedSolutions=F(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),o}else return[]}async _loadUpdateProcedures(){let e=this._configContextConsumer.value;this._cardsFetcher=new g(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new g(e.locale,e.orgUrl,e.portalUrl),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards)}async _getDeployedSolutions(){let e=this._authContextConsumer.value,t=this._userSessionContextConsumer.value;if(e&&t&&e.IsSignedIn){let o=await O(e,t,this._cardsFetcher,this._cardsFetcherDeployed,v,"created");if(o){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===o?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=o}}}_getSolutionsBriefcase(){return d`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${y`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):t==="updated"&&(this._sortField="relevance"),this.sortType=t}_filterCards(e){this._categories=[],e.forEach(t=>{if(t.industry){let o=this._getIndustryValue(t.industry);if(t.domain){let s=this._getDomainValue(t.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(e){return T[e]}_getIndustryValue(e){return e==="AEC"?"AEC":w[e]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(e){return!!this._deployedSolutions?.cards?.some(t=>t?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(e)))}_isLatestVersion(e){let t=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(e.deployCommonId)));return!(t&&t.length>0&&t[0].deployVersion!==e.deployVersion)}};S("solutions-all-panel",p);return p},a,e,g,i)
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{b as S}from"./42SQB2UV.js";import{c as g}from"./ARGB7QOI.js";import{b as u}from"./V3S6TB66.js";import{m as a}from"./GZF6LAN2.js";import{a as d}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as p}from"./NMCQMLLM.js";import{E as h,I as n,h as c,i as o,o as r}from"./WTWNLOAO.js";import"./6ZYP4HST.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:"my-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==="my-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==="my-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==="my-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};