@esri/solutions-components 1.1.0-next.20251008.1 → 1.1.0-next.20251009

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 (467) hide show
  1. package/dist/cdn/{RPO6K4PZ.js → 226EKHZI.js} +2 -2
  2. package/dist/cdn/{SP6SUXKY.js → 243VF4YK.js} +2 -2
  3. package/dist/cdn/{RFUS6QQB.js → 26IT2E3J.js} +2 -2
  4. package/dist/cdn/{VAMPOWND.js → 2AH2WSNR.js} +2 -2
  5. package/dist/cdn/{O6RMBLXU.js → 2BTD7WOH.js} +2 -2
  6. package/dist/cdn/{AG2MFEZ6.js → 2EPBHDKS.js} +2 -2
  7. package/dist/cdn/{FZGFJV7S.js → 2JRSQSXY.js} +2 -2
  8. package/dist/cdn/{YKETMFXF.js → 2JYNQUQN.js} +2 -2
  9. package/dist/cdn/{HNM4DY7D.js → 2N7CXCK5.js} +2 -2
  10. package/dist/cdn/{FYW6TDRR.js → 2NXNFYET.js} +1 -1
  11. package/dist/cdn/{FMEUQ2UK.js → 2QFCQREF.js} +2 -2
  12. package/dist/cdn/{5VBO2I6I.js → 34VVVXQX.js} +2 -2
  13. package/dist/cdn/{KPUDB73R.js → 36FSS2E6.js} +2 -2
  14. package/dist/cdn/{EM5GGJNR.js → 3ILNZEC4.js} +2 -2
  15. package/dist/cdn/{E7A4ZQFN.js → 3JAJM6DX.js} +2 -2
  16. package/dist/cdn/{ZRK3KCXC.js → 3KLZ7B3U.js} +2 -2
  17. package/dist/cdn/{JSHVJKBM.js → 3MXA5J55.js} +2 -2
  18. package/dist/cdn/{NEEHDW7C.js → 3NENGL6B.js} +2 -2
  19. package/dist/cdn/3QYAGUQH.js +18 -0
  20. package/dist/cdn/{XG5IJRYX.js → 3SELIRDQ.js} +2 -2
  21. package/dist/cdn/{CR3NNKCK.js → 3T7RYRJA.js} +2 -2
  22. package/dist/cdn/3TMXINCP.js +89 -0
  23. package/dist/cdn/{IFDKIMEI.js → 42FNOYAU.js} +2 -2
  24. package/dist/cdn/{756WFIVI.js → 4ABNCQDB.js} +2 -2
  25. package/dist/cdn/{WHNBYCHC.js → 4ER4R32B.js} +2 -2
  26. package/dist/cdn/{P5XLXAQA.js → 4EV62ZAH.js} +2 -2
  27. package/dist/cdn/{VBNWJQZF.js → 4HNOA75C.js} +2 -2
  28. package/dist/cdn/{5HDPFIVC.js → 4JW4CQNN.js} +2 -2
  29. package/dist/cdn/{SAVFDVBT.js → 4L5CJ23W.js} +2 -2
  30. package/dist/cdn/{KVATQSHE.js → 4NIOJ5Q7.js} +2 -2
  31. package/dist/cdn/{VYYHWT27.js → 4SKPOAEA.js} +1 -1
  32. package/dist/cdn/{UWOUOAFJ.js → 4SMKQVHS.js} +2 -2
  33. package/dist/cdn/{JVY74GGT.js → 4TOCWPT7.js} +2 -2
  34. package/dist/cdn/{VYE7W4ST.js → 4XQBM6NS.js} +2 -2
  35. package/dist/cdn/{TQJZMY6X.js → 53SIKPP4.js} +2 -2
  36. package/dist/cdn/{FEMAZO23.js → 5AFOHCKK.js} +2 -2
  37. package/dist/cdn/{TESCLWOD.js → 5D37OJV6.js} +2 -2
  38. package/dist/cdn/5KRZOHOG.js +4 -0
  39. package/dist/cdn/{EQWAE3LS.js → 5QLH2JLO.js} +2 -2
  40. package/dist/cdn/{4XJEGG4Z.js → 5VQBNU6N.js} +2 -2
  41. package/dist/cdn/{GDH2I4CJ.js → 5W3FJJMX.js} +2 -2
  42. package/dist/cdn/{AXZU7T6V.js → 5XBU6WNO.js} +2 -2
  43. package/dist/cdn/{AJAJCTHK.js → 5ZJHNTJJ.js} +2 -2
  44. package/dist/cdn/{3FTPCQ44.js → 67D7ZMIO.js} +2 -2
  45. package/dist/cdn/{EPB5OL3N.js → 6ETHNHOQ.js} +1 -1
  46. package/dist/cdn/{3UQB4RD5.js → 6GV5SWOL.js} +2 -2
  47. package/dist/cdn/{UWJ7VSUW.js → 6IZ72CYT.js} +2 -2
  48. package/dist/cdn/{WQPH2FQF.js → 6K7IMQAZ.js} +1 -1
  49. package/dist/cdn/{HMQXESJA.js → 6KRIA3WU.js} +1 -1
  50. package/dist/cdn/{NYLEG34F.js → 6PTHBN37.js} +2 -2
  51. package/dist/cdn/{QRCNCBZJ.js → 6Q3W2MTP.js} +2 -2
  52. package/dist/cdn/{CHI5MGFW.js → 6VW53YUA.js} +2 -2
  53. package/dist/cdn/{XON2SCN5.js → 6ZCPANPE.js} +1 -1
  54. package/dist/cdn/{V6FDFSOP.js → 74EZV4UX.js} +2 -2
  55. package/dist/cdn/{DKIV4FLU.js → 76QJRQBJ.js} +2 -2
  56. package/dist/cdn/{XG3Y6KTQ.js → 76SE6KPJ.js} +2 -2
  57. package/dist/cdn/{743OCRIE.js → 77F7MDBV.js} +2 -2
  58. package/dist/cdn/{J4FGHXBK.js → 7CCJSXT2.js} +1 -1
  59. package/dist/cdn/{SSZSKJJ6.js → 7FCXE7NI.js} +2 -2
  60. package/dist/cdn/{D2ZJY2KS.js → 7GJPU4K4.js} +2 -2
  61. package/dist/cdn/{XSQKKMXB.js → 7I2TS3GR.js} +1 -1
  62. package/dist/cdn/{4PZRZB5Z.js → 7I5NXQ33.js} +2 -2
  63. package/dist/cdn/{7FCMQAOP.js → 7SDNNJMZ.js} +2 -2
  64. package/dist/cdn/7WNAFFUW.js +18 -0
  65. package/dist/cdn/{MLPRYWRQ.js → 7YH3U343.js} +2 -2
  66. package/dist/cdn/{BEH7FNEI.js → 7ZJDDQT3.js} +2 -2
  67. package/dist/cdn/{CUJTS7QI.js → A34HAXS3.js} +2 -2
  68. package/dist/cdn/{EREF2H4R.js → A3G7VILZ.js} +2 -2
  69. package/dist/cdn/{CXNKOKEM.js → A6VJRS3P.js} +2 -2
  70. package/dist/cdn/A7ZCUUWM.js +18 -0
  71. package/dist/cdn/{GAEESAH6.js → AA5KKISV.js} +2 -2
  72. package/dist/cdn/{BPVK7HOQ.js → AQAFMTV6.js} +2 -2
  73. package/dist/cdn/{776MXZQE.js → AUO3LWK7.js} +2 -2
  74. package/dist/cdn/{OORBMELH.js → B267WMF6.js} +2 -2
  75. package/dist/cdn/{IQVETGXP.js → B2OVGNEE.js} +2 -2
  76. package/dist/cdn/{YZDGBQMM.js → B3AUIQZF.js} +2 -2
  77. package/dist/cdn/{ZPTC5XZ7.js → B5NR3C3E.js} +2 -2
  78. package/dist/cdn/{YLBXMSCK.js → B7DYL7LN.js} +1 -1
  79. package/dist/cdn/{OFO3X4RI.js → B7GUMABT.js} +2 -2
  80. package/dist/cdn/{NXPVCNN2.js → BBW7AC2K.js} +2 -2
  81. package/dist/cdn/{YD7YA2VM.js → BFBCENRQ.js} +2 -2
  82. package/dist/cdn/{2VRBTKNK.js → BHHGVC25.js} +2 -2
  83. package/dist/cdn/{3OV4CTEC.js → BKQTXCOD.js} +2 -2
  84. package/dist/cdn/{S7RDKFUW.js → BMM3OTCM.js} +2 -2
  85. package/dist/cdn/{CEQ7VZ4K.js → BMPGHWZT.js} +2 -2
  86. package/dist/cdn/{JW3TOTMR.js → BYBVVZYA.js} +2 -2
  87. package/dist/cdn/{YVC764Y3.js → CBOGHC63.js} +1 -1
  88. package/dist/cdn/{R2OUBP75.js → CJ5XERUL.js} +2 -2
  89. package/dist/cdn/{6MRKYGL5.js → CN7MWGHW.js} +2 -2
  90. package/dist/cdn/{CXNLIR2Z.js → COT5JG6F.js} +2 -2
  91. package/dist/cdn/{HKVEGDNW.js → CRJOXM3C.js} +1 -1
  92. package/dist/cdn/{6OANKKZD.js → CWCZOOFR.js} +2 -2
  93. package/dist/cdn/{MWTSTC2U.js → CX5OMPL5.js} +2 -2
  94. package/dist/cdn/{PFXT675J.js → CXKKDPGI.js} +2 -2
  95. package/dist/cdn/CY5EU6CB.js +4 -0
  96. package/dist/cdn/{DJY7KWMN.js → CYISDZ7S.js} +2 -2
  97. package/dist/cdn/{CUG6ZCT7.js → D7KDA4VG.js} +2 -2
  98. package/dist/cdn/{A5KZBDUA.js → D7XDPUSJ.js} +2 -2
  99. package/dist/cdn/{XDM5TPF2.js → DHEIRCI3.js} +1 -1
  100. package/dist/cdn/{UIWMOIM6.js → DHWQHSSL.js} +2 -2
  101. package/dist/cdn/{7GMTCCQG.js → DI6CERQV.js} +2 -2
  102. package/dist/cdn/{L5XMRFBN.js → DJUCWGCW.js} +2 -2
  103. package/dist/cdn/{NE2VS6NF.js → DME4JNOT.js} +2 -2
  104. package/dist/cdn/{EO4S63HB.js → DMFPVVK5.js} +2 -2
  105. package/dist/cdn/{WKXAKHUN.js → DPSXO6CT.js} +2 -2
  106. package/dist/cdn/{WV4DG7QK.js → DSLPBIW7.js} +2 -2
  107. package/dist/cdn/{EGTDJUUX.js → DU4GKE5S.js} +2 -2
  108. package/dist/cdn/{56MVUILU.js → DZGW46QG.js} +2 -2
  109. package/dist/cdn/{55TVP7JA.js → DZOR3MZ2.js} +3 -3
  110. package/dist/cdn/{IYZ36D6C.js → EA5C7NIW.js} +2 -2
  111. package/dist/cdn/{ZBGUCLYL.js → EEYBFROQ.js} +2 -2
  112. package/dist/cdn/{5H4AMHXY.js → EGUK5B4A.js} +2 -2
  113. package/dist/cdn/{HPRGI5L7.js → EIXNBA6I.js} +2 -2
  114. package/dist/cdn/{JVL3OO6Z.js → EKFHNN73.js} +2 -2
  115. package/dist/cdn/{VDW6NDPI.js → ELKIH3DJ.js} +3 -3
  116. package/dist/cdn/{O6DNOSLP.js → EOVPDUOM.js} +2 -2
  117. package/dist/cdn/{ZBNWUIOH.js → EXPGGFET.js} +2 -2
  118. package/dist/cdn/{TR6XLP2K.js → EXY6X22Q.js} +2 -2
  119. package/dist/cdn/{E4GPFMZZ.js → EZ2UWRYF.js} +2 -2
  120. package/dist/cdn/{BZQ336PO.js → F7GGXQ54.js} +2 -2
  121. package/dist/cdn/{A4MRQM3U.js → FC7AN576.js} +2 -2
  122. package/dist/cdn/{QD6LXGY5.js → FCIOM4CD.js} +1 -1
  123. package/dist/cdn/{KHGBSFAO.js → FEZV7OSP.js} +1 -1
  124. package/dist/cdn/{MDJNGXKN.js → FNT5NEFS.js} +2 -2
  125. package/dist/cdn/{6SBUNPG6.js → FU6T75NF.js} +2 -2
  126. package/dist/cdn/{NARHDIR6.js → FWUQZ3X3.js} +2 -2
  127. package/dist/cdn/{BJKYVFXO.js → FXLZ2G3B.js} +2 -2
  128. package/dist/cdn/{JVNOFKDY.js → G3ATMUBJ.js} +1 -1
  129. package/dist/cdn/{AKOIGMGW.js → G42B6MR7.js} +1 -1
  130. package/dist/cdn/{SIGCWFSG.js → GDLEPFHR.js} +2 -2
  131. package/dist/cdn/{ZHEMMAMB.js → GNMN5Y5L.js} +2 -2
  132. package/dist/cdn/{SXILLYU2.js → GRXPNSVT.js} +1 -1
  133. package/dist/cdn/{WVMSFAZ2.js → GVJS66GD.js} +2 -2
  134. package/dist/cdn/{WINI76U6.js → GWW2W723.js} +2 -2
  135. package/dist/cdn/{FNUNDERC.js → GXGE4F75.js} +4 -4
  136. package/dist/cdn/{TPCS32WS.js → GZG7NEOR.js} +2 -2
  137. package/dist/cdn/{WZTWBWLY.js → H7RUG54M.js} +2 -2
  138. package/dist/cdn/{PQVNM2JP.js → HGQ3H5NR.js} +1 -1
  139. package/dist/cdn/{CSAONTTQ.js → HIEQOA47.js} +2 -2
  140. package/dist/cdn/{EJDVI7YM.js → HONGNHE7.js} +2 -2
  141. package/dist/cdn/{H7FZQF6E.js → HPJZQVYK.js} +2 -2
  142. package/dist/cdn/{VU4KDMOC.js → HQ3X7DTJ.js} +2 -2
  143. package/dist/cdn/{N5GGMSDO.js → HUDLB6WS.js} +2 -2
  144. package/dist/cdn/{WF2BNI4T.js → HUQF7L2V.js} +2 -2
  145. package/dist/cdn/{6GFREZVC.js → I35LP6AP.js} +2 -2
  146. package/dist/cdn/{B3Q54R55.js → I3IEAVA4.js} +2 -2
  147. package/dist/cdn/IA7LMYXQ.js +4 -0
  148. package/dist/cdn/{LF2V666Y.js → IANPXHOC.js} +2 -2
  149. package/dist/cdn/{DDBLGIPI.js → ICSXIORY.js} +2 -2
  150. package/dist/cdn/{IMSAFY4W.js → IH3JSV4L.js} +2 -2
  151. package/dist/cdn/{L7HL2JNS.js → IJIOMW76.js} +2 -2
  152. package/dist/cdn/{BGQ2ZB43.js → IKEPEJSC.js} +2 -2
  153. package/dist/cdn/{NUSVAYCZ.js → IVNPCIFN.js} +1 -1
  154. package/dist/cdn/{H6UGWCMX.js → J3KJVEQM.js} +1 -1
  155. package/dist/cdn/{QTT755QR.js → JA6XJHST.js} +2 -2
  156. package/dist/cdn/{HDOENBZW.js → JAEFUU7E.js} +2 -2
  157. package/dist/cdn/{6GDKLYDH.js → JBTU5LYM.js} +2 -2
  158. package/dist/cdn/{CWTU3CNC.js → JF3DBMQC.js} +2 -2
  159. package/dist/cdn/{2W24N4O3.js → JHAMVTNV.js} +2 -2
  160. package/dist/cdn/{PF6CK2R7.js → JHVPCIGT.js} +2 -2
  161. package/dist/cdn/{QE5FDYR6.js → JL2P3OXW.js} +1 -1
  162. package/dist/cdn/{H4P3FZCK.js → JLL4BYYV.js} +2 -2
  163. package/dist/cdn/{CWPY45T3.js → JWNZVRXT.js} +1 -1
  164. package/dist/cdn/{KGYW3EWF.js → JY72U7AC.js} +2 -2
  165. package/dist/cdn/{RSTPCXZ7.js → K3CZ4NX3.js} +2 -2
  166. package/dist/cdn/{P4CI3RSD.js → KDANYDON.js} +2 -2
  167. package/dist/cdn/{63OPKMPJ.js → KLGEKJVD.js} +2 -2
  168. package/dist/cdn/{XDZHITLM.js → KV2AI44O.js} +2 -2
  169. package/dist/cdn/{ZUUC4HH4.js → L4MZ3SRK.js} +2 -2
  170. package/dist/cdn/{GR2TX3EZ.js → L5FFR5IW.js} +2 -2
  171. package/dist/cdn/{XQ4TPQRL.js → LB4XXKXQ.js} +2 -2
  172. package/dist/cdn/{PG36F4KN.js → LGH2MNKB.js} +2 -2
  173. package/dist/cdn/{TOZPFY6T.js → LHCHUU52.js} +2 -2
  174. package/dist/cdn/{OYAA6DUV.js → LL3OVKGG.js} +2 -2
  175. package/dist/cdn/{DPZDK7BZ.js → LLM6XJLM.js} +2 -2
  176. package/dist/cdn/{DMV3DJAP.js → LOG7XAZY.js} +2 -2
  177. package/dist/cdn/{RSKF3E66.js → LVAQ5TL6.js} +2 -2
  178. package/dist/cdn/{O62DQJR5.js → M2YYZVD5.js} +2 -2
  179. package/dist/cdn/{ZDVR52XS.js → M4QRYUPC.js} +1 -1
  180. package/dist/cdn/{LK4ZES4F.js → MCSVMBT3.js} +2 -2
  181. package/dist/cdn/{QJF5CTAW.js → MCZ5FXVG.js} +1 -1
  182. package/dist/cdn/{M5PWB7WI.js → MDNZHHNA.js} +2 -2
  183. package/dist/cdn/{5VCSKMJM.js → MEWN2ZS2.js} +2 -2
  184. package/dist/cdn/{A2VNVKLM.js → ML67KHTJ.js} +2 -2
  185. package/dist/cdn/{V3G4P54D.js → MLXWP6T3.js} +2 -2
  186. package/dist/cdn/{7EKLS25S.js → MO3ZDQHS.js} +1 -1
  187. package/dist/cdn/{YAMBUVFM.js → MOG3DNAW.js} +2 -2
  188. package/dist/cdn/{RSXEVZ6T.js → MRTP6T5M.js} +2 -2
  189. package/dist/cdn/{OJLTKJF5.js → MSE37YY2.js} +2 -2
  190. package/dist/cdn/{BKTK4DTH.js → MVMQLI5V.js} +3 -3
  191. package/dist/cdn/{4K6HZ75C.js → MWIPC3Q3.js} +2 -2
  192. package/dist/cdn/{Y4IKVVIS.js → MWJ5QDLR.js} +2 -2
  193. package/dist/cdn/{CDZTTQBO.js → MXUCVOBL.js} +2 -2
  194. package/dist/cdn/N7W7MP75.js +4 -0
  195. package/dist/cdn/{COLRFXEM.js → NCSFOFEP.js} +2 -2
  196. package/dist/cdn/{F6PESHM3.js → NK2BUMZ3.js} +2 -2
  197. package/dist/cdn/{UKQKNMGD.js → NMZRKCZJ.js} +2 -2
  198. package/dist/cdn/{VVJBM5I2.js → NRELBK3K.js} +2 -2
  199. package/dist/cdn/{KDL2UNFT.js → NSAYCRHW.js} +2 -2
  200. package/dist/cdn/{SJKN3XBP.js → NVO76HPK.js} +2 -2
  201. package/dist/cdn/{IJKFQKPV.js → OAATM3IS.js} +2 -2
  202. package/dist/cdn/{RUGVEC76.js → OBCI3UP5.js} +2 -2
  203. package/dist/cdn/{G3ZGSWSN.js → OBG3ZDPQ.js} +2 -2
  204. package/dist/cdn/{K4WOVDKF.js → OC6XUPAK.js} +2 -2
  205. package/dist/cdn/OD6TX7KT.js +4 -0
  206. package/dist/cdn/{SFYPFXOW.js → ODZHRVH3.js} +2 -2
  207. package/dist/cdn/{ENPAUPOO.js → OGG2DXTJ.js} +2 -2
  208. package/dist/cdn/{QVRVVWMD.js → ONTFRZRW.js} +2 -2
  209. package/dist/cdn/{GMV2G5MI.js → OO7FHEFG.js} +2 -2
  210. package/dist/cdn/{JCD6XUXZ.js → OU5ZW2BU.js} +2 -2
  211. package/dist/cdn/OXMRNPBS.js +4 -0
  212. package/dist/cdn/{PFQYJBOH.js → OZSS4H2S.js} +2 -2
  213. package/dist/cdn/{BYPLBSOB.js → P3JB7IDU.js} +2 -2
  214. package/dist/cdn/PB6VIV4Q.js +4 -0
  215. package/dist/cdn/{VLGVQAPL.js → PCWJM2FN.js} +1 -1
  216. package/dist/cdn/PF5GLPZ3.js +4 -0
  217. package/dist/cdn/{AW4OKAIA.js → PGWD7NIZ.js} +2 -2
  218. package/dist/cdn/{WSUPRKRV.js → PHXE7HAG.js} +2 -2
  219. package/dist/cdn/{7GB7DC3T.js → PN22QPMG.js} +2 -2
  220. package/dist/cdn/{GJU42TAV.js → PNDOKPLD.js} +2 -2
  221. package/dist/cdn/{7VOB6CTQ.js → PRRHXLB5.js} +2 -2
  222. package/dist/cdn/{JRFZS76Z.js → PTXZWZ4F.js} +2 -2
  223. package/dist/cdn/{P5NTKGVD.js → PTZV3F2R.js} +2 -2
  224. package/dist/cdn/{H3LZRTAE.js → PVPRNP5I.js} +2 -2
  225. package/dist/cdn/{W4XNCXXM.js → PXLN6W6W.js} +2 -2
  226. package/dist/cdn/{GP4L6OF4.js → QDMZUHS7.js} +2 -2
  227. package/dist/cdn/{4HGQRLEE.js → QJ2F77F7.js} +2 -2
  228. package/dist/cdn/{RZHUXMRX.js → QJFZFB2W.js} +2 -2
  229. package/dist/cdn/{QLTIVCCL.js → QK3HU5M7.js} +2 -2
  230. package/dist/cdn/{5RMEYG3D.js → QNI7TBQ2.js} +1 -1
  231. package/dist/cdn/{55VJKIT4.js → QQNA62QN.js} +2 -2
  232. package/dist/cdn/{CXHSOU2D.js → QSBB7GQ6.js} +1 -1
  233. package/dist/cdn/{6NADAFNM.js → QT2LAQHT.js} +2 -2
  234. package/dist/cdn/{5HRKE7ZZ.js → QWD7JVUY.js} +2 -2
  235. package/dist/cdn/{D37EHLIU.js → QWQKPP6Y.js} +2 -2
  236. package/dist/cdn/{NR2CWC4R.js → R3SVTMKR.js} +2 -2
  237. package/dist/cdn/{V264VMRH.js → R4LARKP2.js} +2 -2
  238. package/dist/cdn/{FHUI2QNQ.js → R7CT3Y4T.js} +2 -2
  239. package/dist/cdn/{JEWUWYLX.js → RG3BO7AY.js} +2 -2
  240. package/dist/cdn/{VGTFE7FF.js → RH5NTXLA.js} +2 -2
  241. package/dist/cdn/{3ZMDA7RH.js → RPB2L5YR.js} +1 -1
  242. package/dist/cdn/{2JWUP3G5.js → RROREMR6.js} +2 -2
  243. package/dist/cdn/{BSVUMICC.js → RS5O7RQU.js} +2 -2
  244. package/dist/cdn/{HY46BCFR.js → RU633SA5.js} +2 -2
  245. package/dist/cdn/{XVCV7IJR.js → RVQISVJ7.js} +2 -2
  246. package/dist/cdn/{A27O3RQI.js → RWENZJIC.js} +2 -2
  247. package/dist/cdn/{GICBZ47Y.js → S4ZX4LBZ.js} +2 -2
  248. package/dist/cdn/{SSZH5PHK.js → S64LM6IC.js} +2 -2
  249. package/dist/cdn/{O7FCB5DM.js → S6UDV3GG.js} +2 -2
  250. package/dist/cdn/S6WM4NDY.js +4 -0
  251. package/dist/cdn/{7ETFO7MW.js → SBYAEUJS.js} +2 -2
  252. package/dist/cdn/{BPE3B3PQ.js → SCOK55L3.js} +2 -2
  253. package/dist/cdn/{KCKWWFJT.js → SDIA27L5.js} +2 -2
  254. package/dist/cdn/{GSNXO6QJ.js → SF3EG5NR.js} +2 -2
  255. package/dist/cdn/{ZBJGVZER.js → SGLGLKA4.js} +2 -2
  256. package/dist/cdn/{E3RMDO5S.js → SGSNI66C.js} +2 -2
  257. package/dist/cdn/{U5IFXOY7.js → SHGVPHG7.js} +2 -2
  258. package/dist/cdn/{WOU4W4YD.js → SKM7TPWS.js} +2 -2
  259. package/dist/cdn/{CSK3C4OD.js → SLFULM7O.js} +2 -2
  260. package/dist/cdn/{GYN6BUOW.js → SOVCZGKV.js} +2 -2
  261. package/dist/cdn/{62XONJJJ.js → SP2I6DAS.js} +2 -2
  262. package/dist/cdn/{JOCTUVR5.js → SWIEPYK4.js} +2 -2
  263. package/dist/cdn/{DNLIXRFX.js → SWMW7QZQ.js} +2 -2
  264. package/dist/cdn/{Q6YM2NMB.js → SZTTA2YZ.js} +2 -2
  265. package/dist/cdn/{LYMQGSBH.js → T2POAIC3.js} +2 -2
  266. package/dist/cdn/{DI5Z2EGV.js → T3EU27V5.js} +2 -2
  267. package/dist/cdn/{WBPISCZO.js → TE3SERQU.js} +2 -2
  268. package/dist/cdn/{FH3TT5EI.js → TFWL2Z5V.js} +2 -2
  269. package/dist/cdn/{A5MUT7MZ.js → TIXAREAF.js} +2 -2
  270. package/dist/cdn/{54IQCDXA.js → TMDJXYFF.js} +2 -2
  271. package/dist/cdn/{RWKUOQK4.js → TNHEIYAF.js} +2 -2
  272. package/dist/cdn/{SWXQKMYN.js → TQHAP3WF.js} +1 -1
  273. package/dist/cdn/{CZCWXKCD.js → TR4KTHZE.js} +2 -2
  274. package/dist/cdn/{2QUMF6BC.js → TRKOGPMK.js} +2 -2
  275. package/dist/cdn/{6GJT2N3Q.js → TSXFDKFL.js} +2 -2
  276. package/dist/cdn/{QJOKJMCH.js → TWZXSC3I.js} +2 -2
  277. package/dist/cdn/{KUAZALFT.js → TYANLUYZ.js} +2 -2
  278. package/dist/cdn/{GBVMAPOJ.js → U5AKGSFP.js} +2 -2
  279. package/dist/cdn/{BXW45NKL.js → U5ZMQXWT.js} +2 -2
  280. package/dist/cdn/{4GRSWWG6.js → UA56H5VP.js} +2 -2
  281. package/dist/cdn/{IROFTJMS.js → UBSQGMJ3.js} +2 -2
  282. package/dist/cdn/{TWAOBOD6.js → UFEUVJXZ.js} +1 -1
  283. package/dist/cdn/{ET5FJSK3.js → UOHC5GPC.js} +2 -2
  284. package/dist/cdn/{CO55C2XS.js → URE6WWZA.js} +2 -2
  285. package/dist/cdn/{NYBDENWM.js → UZRCLMIV.js} +2 -2
  286. package/dist/cdn/{DDW3RLEE.js → V4SQ7F5T.js} +1 -1
  287. package/dist/cdn/{7PMTYFF7.js → VAU6S7LJ.js} +2 -2
  288. package/dist/cdn/{OXRKB5XI.js → VHOUIJX3.js} +2 -2
  289. package/dist/cdn/{QHIMAEBD.js → VJ7XH7BQ.js} +2 -2
  290. package/dist/cdn/{CTJZ6TOJ.js → VLYVJPDZ.js} +2 -2
  291. package/dist/cdn/{SUNHHKCC.js → VM4BFHIZ.js} +2 -2
  292. package/dist/cdn/{G4MED4FO.js → VRCZX2NN.js} +2 -2
  293. package/dist/cdn/{KZHAHJH2.js → VSV4N3FF.js} +2 -2
  294. package/dist/cdn/{TJMFXXPG.js → VWIENO5R.js} +2 -2
  295. package/dist/cdn/{VH3ATFO3.js → VXGW42EG.js} +2 -2
  296. package/dist/cdn/{BABMMEKK.js → VXK44RQM.js} +1 -1
  297. package/dist/cdn/{VHM2OX4R.js → VZWBZ7ZJ.js} +2 -2
  298. package/dist/cdn/{LTLMMK2M.js → W5743N5H.js} +3 -3
  299. package/dist/cdn/{J45N5IQC.js → WMHW2WFZ.js} +1 -1
  300. package/dist/cdn/{O67AZXCG.js → WP3IVJJL.js} +2 -2
  301. package/dist/cdn/{GIAPUD45.js → WSMZXTEM.js} +2 -2
  302. package/dist/cdn/{CHPMYDMZ.js → WT5HVSBV.js} +2 -2
  303. package/dist/cdn/{IQJWMX3G.js → WTU4WODR.js} +2 -2
  304. package/dist/cdn/{PS7SLYOT.js → WWUJHR4Q.js} +2 -2
  305. package/dist/cdn/{TCK45PQB.js → WXL2LEWB.js} +2 -2
  306. package/dist/cdn/{FXVCYLIP.js → X5NMZI3S.js} +2 -2
  307. package/dist/cdn/{TGV35MZM.js → X6QTF4AP.js} +2 -2
  308. package/dist/cdn/{ZPTE6MXZ.js → X7WZ66XE.js} +2 -2
  309. package/dist/cdn/{3VHBN5ZL.js → XARCEH7R.js} +2 -2
  310. package/dist/cdn/{OJ654LI2.js → XBQ44PA7.js} +2 -2
  311. package/dist/cdn/{QWN7KWEY.js → XQ765V7U.js} +2 -2
  312. package/dist/cdn/{Y4PNQMH4.js → XQEOXZKV.js} +2 -2
  313. package/dist/cdn/{UG73IGUR.js → XQZKO5TB.js} +2 -2
  314. package/dist/cdn/{BHF3J3OL.js → XTXJ33WB.js} +2 -2
  315. package/dist/cdn/{Y4HFEOXU.js → Y3DYWWOY.js} +2 -2
  316. package/dist/cdn/{NCB7BUFY.js → Y44JLKQH.js} +2 -2
  317. package/dist/cdn/{OCPIF5BH.js → Y5ACJQDB.js} +1 -1
  318. package/dist/cdn/YBGBKHQR.js +4 -0
  319. package/dist/cdn/{PULR3YSX.js → YDDBA5BZ.js} +1 -1
  320. package/dist/cdn/{LAUE442A.js → YEC444BK.js} +2 -2
  321. package/dist/cdn/{5XIMDQZK.js → YGJWDZYW.js} +2 -2
  322. package/dist/cdn/{KQBMQCV5.js → YHSZAJGH.js} +2 -2
  323. package/dist/cdn/{PKZR4IAA.js → YJDL2AIK.js} +1 -1
  324. package/dist/cdn/{SNXTG7RZ.js → YMT2T2MU.js} +2 -2
  325. package/dist/cdn/{TA4MF2WH.js → YNHNDQS3.js} +2 -2
  326. package/dist/cdn/{GYKUFCDS.js → YQN2X3PI.js} +2 -2
  327. package/dist/cdn/{ZA25NSZJ.js → YUDLASXK.js} +2 -2
  328. package/dist/cdn/{JFKL5MZH.js → Z3A7EHJL.js} +2 -2
  329. package/dist/cdn/{6OPGZGV3.js → Z5FTYJRT.js} +2 -2
  330. package/dist/cdn/{UDKE7EDS.js → Z65OPCIO.js} +1 -1
  331. package/dist/cdn/ZAG6K5LN.js +4 -0
  332. package/dist/cdn/{RIWIV546.js → ZKS6HDEM.js} +2 -2
  333. package/dist/cdn/{H6KX7P7Y.js → ZMSP4XC3.js} +2 -2
  334. package/dist/cdn/{W26PVN5N.js → ZMTV2F6H.js} +2 -2
  335. package/dist/cdn/{ATACWWKU.js → ZQMHVZRK.js} +2 -2
  336. package/dist/cdn/{UZ7JPZ7Q.js → ZSPKTF7O.js} +2 -2
  337. package/dist/cdn/{KCTTON3E.js → ZW6SVOQA.js} +1 -1
  338. package/dist/cdn/{YBWHEWDW.js → ZWEENOOZ.js} +2 -2
  339. package/dist/cdn/{RT7OCX6V.js → ZWMASVPS.js} +2 -2
  340. package/dist/cdn/{BHMXTBXC.js → ZY27ARHF.js} +2 -2
  341. package/dist/cdn/{PK5ASELS.js → ZYDWLGOT.js} +2 -2
  342. package/dist/cdn/index.js +2 -2
  343. package/dist/chunks/Auth.js +1 -1
  344. package/dist/chunks/CardsFetcher.js +1 -1
  345. package/dist/chunks/appConfig.js +1 -1
  346. package/dist/chunks/cardFetchingUtils.js +1 -1
  347. package/dist/chunks/cardsHelpers.js +1 -1
  348. package/dist/chunks/common.js +1 -1
  349. package/dist/chunks/deployAppContexts.js +1 -1
  350. package/dist/chunks/downloadUtils.js +1 -1
  351. package/dist/chunks/getItemIcon.js +1 -1
  352. package/dist/chunks/helpers.js +1 -1
  353. package/dist/chunks/interfaces.js +1 -1
  354. package/dist/chunks/loadModules.js +1 -1
  355. package/dist/chunks/mapViewUtils.js +1 -1
  356. package/dist/chunks/pciUtils.js +1 -1
  357. package/dist/chunks/popupUtils.js +1 -1
  358. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  359. package/dist/chunks/privilegeUtils.js +1 -1
  360. package/dist/chunks/publicNotificationContext.js +1 -1
  361. package/dist/chunks/queryUtils.js +1 -1
  362. package/dist/chunks/runtime.js +1 -1
  363. package/dist/chunks/solution-store.js +1 -1
  364. package/dist/chunks/templates.js +1 -1
  365. package/dist/chunks/useT9n.js +1 -1
  366. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  367. package/dist/components/basemap-gallery/customElement.js +1 -1
  368. package/dist/components/buffer-tools/customElement.js +1 -1
  369. package/dist/components/card-manager/customElement.js +1 -1
  370. package/dist/components/consent-manager/customElement.js +1 -1
  371. package/dist/components/create-feature/customElement.js +1 -1
  372. package/dist/components/create-related-feature/customElement.js +1 -1
  373. package/dist/components/crowdsource-manager/customElement.js +1 -1
  374. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  375. package/dist/components/deduct-calculator/customElement.js +1 -1
  376. package/dist/components/delete-button/customElement.js +1 -1
  377. package/dist/components/delete-dialog/customElement.js +1 -1
  378. package/dist/components/edit-card/customElement.js +1 -1
  379. package/dist/components/feature-details/customElement.js +1 -1
  380. package/dist/components/feature-list/customElement.js +1 -1
  381. package/dist/components/field-selection/customElement.js +1 -1
  382. package/dist/components/floor-filter/customElement.js +1 -1
  383. package/dist/components/info-card/customElement.js +1 -1
  384. package/dist/components/json-editor/customElement.js +1 -1
  385. package/dist/components/layer-list/customElement.js +1 -1
  386. package/dist/components/layer-table/customElement.js +1 -1
  387. package/dist/components/map-card/customElement.js +2 -2
  388. package/dist/components/map-draw-tools/customElement.js +1 -1
  389. package/dist/components/map-fullscreen/customElement.js +1 -1
  390. package/dist/components/map-layer-picker/customElement.js +1 -1
  391. package/dist/components/map-legend/customElement.js +1 -1
  392. package/dist/components/map-picker/customElement.js +1 -1
  393. package/dist/components/map-search/customElement.js +1 -1
  394. package/dist/components/map-select-tools/customElement.js +1 -1
  395. package/dist/components/map-tools/customElement.js +1 -1
  396. package/dist/components/pci-calculator/customElement.js +1 -1
  397. package/dist/components/pdf-download/customElement.js +1 -1
  398. package/dist/components/public-notification/customElement.js +1 -1
  399. package/dist/components/refine-selection/customElement.js +1 -1
  400. package/dist/components/selection-tool/customElement.js +1 -1
  401. package/dist/components/solution-article-card/customElement.js +1 -1
  402. package/dist/components/solution-configuration/customElement.js +1 -1
  403. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  404. package/dist/components/solution-configure-titles/customElement.js +1 -1
  405. package/dist/components/solution-contents/customElement.js +1 -1
  406. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  407. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  408. package/dist/components/solution-deployed-card/customElement.js +1 -1
  409. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  410. package/dist/components/solution-details-card/customElement.js +1 -1
  411. package/dist/components/solution-details-panel/customElement.d.ts +2 -0
  412. package/dist/components/solution-details-panel/customElement.js +55 -52
  413. package/dist/components/solution-item/customElement.js +1 -1
  414. package/dist/components/solution-item-accordion/customElement.js +1 -1
  415. package/dist/components/solution-item-details/customElement.js +1 -1
  416. package/dist/components/solution-item-diagram/customElement.js +1 -1
  417. package/dist/components/solution-item-icon/customElement.js +1 -1
  418. package/dist/components/solution-item-sharing/customElement.js +1 -1
  419. package/dist/components/solution-organization-variables/customElement.js +1 -1
  420. package/dist/components/solution-resource-item/customElement.js +1 -1
  421. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  422. package/dist/components/solution-social-share/customElement.js +1 -1
  423. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  424. package/dist/components/solution-template-data/customElement.js +1 -1
  425. package/dist/components/solution-variables/customElement.js +1 -1
  426. package/dist/components/solutions-all-panel/customElement.js +1 -1
  427. package/dist/components/solutions-all-shell/customElement.js +13 -10
  428. package/dist/components/solutions-article-panel/customElement.js +1 -1
  429. package/dist/components/solutions-articles/customElement.js +1 -1
  430. package/dist/components/solutions-articles-shell/customElement.d.ts +2 -0
  431. package/dist/components/solutions-articles-shell/customElement.js +15 -12
  432. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  433. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  434. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  435. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  436. package/dist/components/solutions-deployed-shell/customElement.js +10 -7
  437. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  438. package/dist/components/spatial-ref/customElement.js +1 -1
  439. package/dist/components/store-manager/customElement.js +1 -1
  440. package/dist/docs/api.json +28 -2
  441. package/dist/docs/docs.json +32 -3
  442. package/dist/docs/vscode.html-custom-data.json +2 -2
  443. package/dist/docs/web-types.json +27 -5
  444. package/dist/index.d.ts +16 -1
  445. package/dist/index.js +1 -1
  446. package/dist/loader.js +1 -1
  447. package/dist/types/lumina.d.ts +2 -0
  448. package/dist/types/preact.d.ts +2 -0
  449. package/dist/types/preact10.d.ts +2 -0
  450. package/dist/types/react.d.ts +2 -0
  451. package/dist/types/stencil.d.ts +2 -0
  452. package/package.json +3 -3
  453. package/dist/cdn/2QA7JT7T.js +0 -4
  454. package/dist/cdn/6MMPHOBK.js +0 -4
  455. package/dist/cdn/77AW2L67.js +0 -4
  456. package/dist/cdn/7CAATV33.js +0 -18
  457. package/dist/cdn/7UXNV7RB.js +0 -4
  458. package/dist/cdn/D2N2I4QJ.js +0 -4
  459. package/dist/cdn/E4R6SRQL.js +0 -4
  460. package/dist/cdn/KAQ2HO6H.js +0 -4
  461. package/dist/cdn/LP5QSNPJ.js +0 -89
  462. package/dist/cdn/MZ23NF3L.js +0 -4
  463. package/dist/cdn/RPF7YPFG.js +0 -18
  464. package/dist/cdn/T7NEKD33.js +0 -4
  465. package/dist/cdn/UJP5AKJT.js +0 -4
  466. package/dist/cdn/UZFCVK2C.js +0 -18
  467. package/dist/cdn/XIHBBKIM.js +0 -4
@@ -11,7 +11,7 @@ import { g as C } from "../../chunks/cardFetchingUtils.js";
11
11
  import { g as S } from "../../chunks/privilegeUtils.js";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
14
- v1.1.0-next.20251008.1 */
14
+ v1.1.0-next.20251009 */
15
15
  const x = _`/** @license
16
16
  * Copyright 2025 Esri
17
17
  *
@@ -3,12 +3,12 @@ import { u as d } from "../../chunks/useT9n.js";
3
3
  import { LitElement as p, createEvent as l, nothing as o, safeClassMap as h, safeStyleMap as s } from "@arcgis/lumina";
4
4
  import { useContextConsumer as r } from "@arcgis/lumina/context";
5
5
  import { css as u, html as i } from "lit";
6
- import { a as f, i as g } from "../../chunks/deployAppContexts.js";
6
+ import { a as f, i as b } from "../../chunks/deployAppContexts.js";
7
7
  import { createRef as n, ref as a } from "lit/directives/ref.js";
8
- import { g as b } from "../../chunks/privilegeUtils.js";
8
+ import { g } from "../../chunks/privilegeUtils.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
11
- v1.1.0-next.20251008.1 */
11
+ v1.1.0-next.20251009 */
12
12
  const y = u`/** @license
13
13
  * Copyright 2025 Esri
14
14
  *
@@ -26,14 +26,14 @@ const y = u`/** @license
26
26
  */calcite-shell-panel{z-index:1}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.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%}`;
27
27
  class m extends p {
28
28
  constructor() {
29
- super(...arguments), this.solutionsCount = 0, this.sortType = "created", this.filterOpen = !0, this.filters = [], this.isMobile = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._authContextConsumer = r({
29
+ super(), this.solutionsCount = 0, this.sortType = "created", this.filterOpen = !0, this.filters = [], this.isMobile = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._authContextConsumer = r({
30
30
  context: f,
31
31
  subscribe: !0
32
32
  }), this._isMobileContextConsumer = r({
33
- context: g,
33
+ context: b,
34
34
  subscribe: !0,
35
35
  callback: (e) => this.isMobile = e
36
- }), this._isOrgAdmin = !1, this._solutionsDeployedFilterPanel = n(), this._solutionsDeployedPanelRef = n(), this.filterRemoved = l(), this.sortTypeChanged = l(), this.tokenRefreshed = l();
36
+ }), this._isOrgAdmin = !1, this._solutionsDeployedFilterPanel = n(), this._solutionsDeployedPanelRef = n(), this.filterRemoved = l(), this.sortTypeChanged = l(), this.tokenRefreshed = l(), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected);
37
37
  }
38
38
  static {
39
39
  this.properties = { appConfig: 1, solutionsCount: 9, sortType: 1, filterOpen: 16, filters: 16, isMobile: 16, _translations: 16 };
@@ -51,7 +51,7 @@ class m extends p {
51
51
  } else ("sortType" in e || "searchTerm" in e) && this._solutionsDeployedPanelRef.value?.searchSolutions(e);
52
52
  }
53
53
  async load() {
54
- this._isMobileContextConsumer.value && (this.isMobile = this._isMobileContextConsumer.value), this._isOrgAdmin = b(this._authContextConsumer.value);
54
+ this._isMobileContextConsumer.value && (this.isMobile = this._isMobileContextConsumer.value), this._isOrgAdmin = g(this._authContextConsumer.value);
55
55
  }
56
56
  render() {
57
57
  const e = this.filterOpen ? "chevron-left" : "chevron-right", t = this.isMobile ? "justify-content-end" : "";
@@ -110,6 +110,9 @@ class m extends p {
110
110
  _filterApplied(e) {
111
111
  e.detail ? ("displayValue" in e.detail && "type" in e.detail && e.detail.type === "industry" && (this.filters = this.filters.filter((t) => t.type !== "industry"), this.filters.push(e.detail)), this._solutionsDeployedPanelRef.value?.searchSolutions(e.detail)) : (this.filters = [], this._solutionsDeployedPanelRef.value?.searchSolutions());
112
112
  }
113
+ _handleDeployAppTabSelected(e) {
114
+ e.detail === "my-deployments" && this.sortTypeChanged.emit(this.sortType);
115
+ }
113
116
  }
114
117
  c("solutions-deployed-shell", m);
115
118
  export {
@@ -6,7 +6,7 @@ import { LitElement as A, createEvent as b } from "@arcgis/lumina";
6
6
  import { j as E } from "../../chunks/interfaces.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
9
- v1.1.0-next.20251008.1 */
9
+ v1.1.0-next.20251009 */
10
10
  const y = I`/** @license
11
11
  * Copyright 2025 Esri
12
12
  *
@@ -5,7 +5,7 @@ import { css as E, html as t, nothing as i } from "lit";
5
5
  import { LitElement as o, createEvent as b, noShadowRoot as f, safeClassMap as y } from "@arcgis/lumina";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
8
- v1.1.0-next.20251008.1 */
8
+ v1.1.0-next.20251009 */
9
9
  /**
10
10
  * @license
11
11
  * Copyright 2025 Esri
@@ -4,7 +4,7 @@ import { g as o, a as n } from "../../chunks/templates.js";
4
4
  import { LitElement as i, createEvent as l, noShadowRoot as u } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
7
- v1.1.0-next.20251008.1 */
7
+ v1.1.0-next.20251009 */
8
8
  class c extends i {
9
9
  constructor() {
10
10
  super(...arguments), this.value = "", this.templates = [], this.stateLoaded = l();
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-10-08T20:04:19",
2
+ "timestamp": "2025-10-09T18:10:07",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.34.0-next.158",
5
+ "version": "4.34.0-next.159",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -18159,6 +18159,18 @@
18159
18159
  ]
18160
18160
  }
18161
18161
  },
18162
+ {
18163
+ "name": "sortTypeChanged",
18164
+ "description": "Emitted on demand when the sort type changes",
18165
+ "type": {
18166
+ "text": "string",
18167
+ "values": [
18168
+ {
18169
+ "type": "string"
18170
+ }
18171
+ ]
18172
+ }
18173
+ },
18162
18174
  {
18163
18175
  "name": "templatesFetched",
18164
18176
  "description": "Emitted on demand when the templates have been fetched from the solution",
@@ -22222,6 +22234,20 @@
22222
22234
  }
22223
22235
  ]
22224
22236
  }
22237
+ ],
22238
+ "events": [
22239
+ {
22240
+ "name": "sortTypeChanged",
22241
+ "description": "Emitted on demand when the sort type changes",
22242
+ "type": {
22243
+ "text": "string",
22244
+ "values": [
22245
+ {
22246
+ "type": "string"
22247
+ }
22248
+ ]
22249
+ }
22250
+ }
22225
22251
  ]
22226
22252
  }
22227
22253
  ],
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-10-08T20:04:19",
2
+ "timestamp": "2025-10-09T18:10:07",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.34.0-next.158",
5
+ "version": "4.34.0-next.159",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "components": [
@@ -16447,6 +16447,20 @@
16447
16447
  "docs": "Emitted on demand when the item properties have been fetched",
16448
16448
  "docsTags": []
16449
16449
  },
16450
+ {
16451
+ "event": "sortTypeChanged",
16452
+ "detail": "string",
16453
+ "bubbles": true,
16454
+ "complexType": {
16455
+ "original": "string",
16456
+ "resolved": "string",
16457
+ "references": {}
16458
+ },
16459
+ "cancelable": true,
16460
+ "composed": true,
16461
+ "docs": "Emitted on demand when the sort type changes",
16462
+ "docsTags": []
16463
+ },
16450
16464
  {
16451
16465
  "event": "templatesFetched",
16452
16466
  "detail": "Array<IItemTemplate>",
@@ -19890,7 +19904,22 @@
19890
19904
  ]
19891
19905
  }
19892
19906
  ],
19893
- "events": [],
19907
+ "events": [
19908
+ {
19909
+ "event": "sortTypeChanged",
19910
+ "detail": "string",
19911
+ "bubbles": true,
19912
+ "complexType": {
19913
+ "original": "string",
19914
+ "resolved": "string",
19915
+ "references": {}
19916
+ },
19917
+ "cancelable": true,
19918
+ "composed": true,
19919
+ "docs": "Emitted on demand when the sort type changes",
19920
+ "docsTags": []
19921
+ }
19922
+ ],
19894
19923
  "styles": [],
19895
19924
  "slots": [],
19896
19925
  "parts": [],
@@ -2242,7 +2242,7 @@
2242
2242
  },
2243
2243
  {
2244
2244
  "name": "solution-details-panel",
2245
- "description": "### Events\n- **itemPropertiesFetched** - Emitted on demand when the item properties have been fetched\n- **templatesFetched** - Emitted on demand when the templates have been fetched from the solution\n- **tokenRefreshed** - Emitted on demand when the auth token is updated\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
2245
+ "description": "### Events\n- **itemPropertiesFetched** - Emitted on demand when the item properties have been fetched\n- **sortTypeChanged** - Emitted on demand when the sort type changes\n- **templatesFetched** - Emitted on demand when the templates have been fetched from the solution\n- **tokenRefreshed** - Emitted on demand when the auth token is updated\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
2246
2246
  "attributes": [],
2247
2247
  "references": []
2248
2248
  },
@@ -2835,7 +2835,7 @@
2835
2835
  },
2836
2836
  {
2837
2837
  "name": "solutions-articles-shell",
2838
- "description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
2838
+ "description": "### Events\n- **sortTypeChanged** - Emitted on demand when the sort type changes\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
2839
2839
  "attributes": [],
2840
2840
  "references": []
2841
2841
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@esri/solutions-components",
4
- "version": "1.1.0-next.20251008.1",
4
+ "version": "1.1.0-next.20251009",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -6414,7 +6414,7 @@
6414
6414
  },
6415
6415
  {
6416
6416
  "name": "solution-details-panel",
6417
- "description": "### Events\n- **itemPropertiesFetched** - Emitted on demand when the item properties have been fetched\n- **templatesFetched** - Emitted on demand when the templates have been fetched from the solution\n- **tokenRefreshed** - Emitted on demand when the auth token is updated\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
6417
+ "description": "### Events\n- **itemPropertiesFetched** - Emitted on demand when the item properties have been fetched\n- **sortTypeChanged** - Emitted on demand when the sort type changes\n- **templatesFetched** - Emitted on demand when the templates have been fetched from the solution\n- **tokenRefreshed** - Emitted on demand when the auth token is updated\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
6418
6418
  "attributes": [],
6419
6419
  "events": [
6420
6420
  {
@@ -6422,6 +6422,11 @@
6422
6422
  "type": "IItemProperties",
6423
6423
  "description": "Emitted on demand when the item properties have been fetched"
6424
6424
  },
6425
+ {
6426
+ "name": "sortTypeChanged",
6427
+ "type": "string",
6428
+ "description": "Emitted on demand when the sort type changes"
6429
+ },
6425
6430
  {
6426
6431
  "name": "templatesFetched",
6427
6432
  "type": "Array<IItemTemplate>",
@@ -6447,6 +6452,11 @@
6447
6452
  "type": "IItemProperties",
6448
6453
  "description": "Emitted on demand when the item properties have been fetched"
6449
6454
  },
6455
+ {
6456
+ "name": "sortTypeChanged",
6457
+ "type": "string",
6458
+ "description": "Emitted on demand when the sort type changes"
6459
+ },
6450
6460
  {
6451
6461
  "name": "templatesFetched",
6452
6462
  "type": "Array<IItemTemplate>",
@@ -7622,12 +7632,24 @@
7622
7632
  },
7623
7633
  {
7624
7634
  "name": "solutions-articles-shell",
7625
- "description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
7635
+ "description": "### Events\n- **sortTypeChanged** - Emitted on demand when the sort type changes\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
7626
7636
  "attributes": [],
7627
- "events": [],
7637
+ "events": [
7638
+ {
7639
+ "name": "sortTypeChanged",
7640
+ "type": "string",
7641
+ "description": "Emitted on demand when the sort type changes"
7642
+ }
7643
+ ],
7628
7644
  "js": {
7629
7645
  "properties": [],
7630
- "events": []
7646
+ "events": [
7647
+ {
7648
+ "name": "sortTypeChanged",
7649
+ "type": "string",
7650
+ "description": "Emitted on demand when the sort type changes"
7651
+ }
7652
+ ]
7631
7653
  }
7632
7654
  },
7633
7655
  {
package/dist/index.d.ts CHANGED
@@ -297,6 +297,11 @@ export interface SolutionsAllShellCustomEvent<T> extends CustomEvent<T> {
297
297
  target: HTMLSolutionsAllShellElement;
298
298
  currentTarget: HTMLSolutionsAllShellElement;
299
299
  }
300
+ export interface SolutionsArticlesShellCustomEvent<T> extends CustomEvent<T> {
301
+ detail: T;
302
+ target: HTMLSolutionsArticlesShellElement;
303
+ currentTarget: HTMLSolutionsArticlesShellElement;
304
+ }
300
305
  export interface SolutionsDeployAppCustomEvent<T> extends CustomEvent<T> {
301
306
  detail: T;
302
307
  target: HTMLSolutionsDeployAppElement;
@@ -908,6 +913,7 @@ declare global {
908
913
  }
909
914
  interface HTMLSolutionDetailsPanelElementEventMap {
910
915
  "itemPropertiesFetched": SolutionDetailsPanel["itemPropertiesFetched"]["detail"];
916
+ "sortTypeChanged": SolutionDetailsPanel["sortTypeChanged"]["detail"];
911
917
  "templatesFetched": SolutionDetailsPanel["templatesFetched"]["detail"];
912
918
  "tokenRefreshed": SolutionDetailsPanel["tokenRefreshed"]["detail"];
913
919
  }
@@ -1034,8 +1040,17 @@ declare global {
1034
1040
  interface HTMLSolutionsArticlesElement extends SolutionsArticles {
1035
1041
 
1036
1042
  }
1037
- interface HTMLSolutionsArticlesShellElement extends SolutionsArticlesShell {
1043
+ interface HTMLSolutionsArticlesShellElementEventMap {
1044
+ "sortTypeChanged": SolutionsArticlesShell["sortTypeChanged"]["detail"];
1045
+ }
1038
1046
 
1047
+ interface HTMLSolutionsArticlesShellElement extends SolutionsArticlesShell {
1048
+ addEventListener<K extends keyof HTMLSolutionsArticlesShellElementEventMap>(type: K, listener: (this: HTMLSolutionsArticlesShellElement, ev: SolutionsArticlesShellCustomEvent<HTMLSolutionsArticlesShellElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1049
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1050
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1051
+ removeEventListener<K extends keyof HTMLSolutionsArticlesShellElementEventMap>(type: K, listener: (this: HTMLSolutionsArticlesShellElement, ev: SolutionsArticlesShellCustomEvent<HTMLSolutionsArticlesShellElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1052
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1053
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1039
1054
  }
1040
1055
  interface HTMLSolutionsDeployAppElementEventMap {
1041
1056
  "deployAppTabSelected": SolutionsDeployApp["deployAppTabSelected"]["detail"];
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { A as O } from "./chunks/Auth.js";
3
3
  import { p as A, r as e, q as I, B as L, C as R, i as P, n as t, k as o, h as N, g as U, E as i, j as p, a as C, m as M, c as r, o as B, d as D, e as y, l as G, b as f, f as H, J as g, P as l, t as m, s as n, u, v as x, w as d, x as K, y as Y, z as h, S as w, A as F, F as c, G as v, D as z, H as W, I as k } from "./chunks/interfaces.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
6
- v1.1.0-next.20251008.1 */
6
+ v1.1.0-next.20251009 */
7
7
  export {
8
8
  O as Auth,
9
9
  A as BASE_DEPLOYED_TERMS,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as o } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
5
- v1.1.0-next.20251008.1 */
5
+ v1.1.0-next.20251009 */
6
6
  const l = o(e, {
7
7
  "arcgis-solutions-assistant": [() => import("./components/arcgis-solutions-assistant/customElement.js"), "AIServerUrl,token"],
8
8
  "basemap-gallery": [() => import("./components/basemap-gallery/customElement.js"), "basemapConfig:,basemapWidget:,mapView:"],
@@ -298,6 +298,7 @@ interface LuminaSolutionDetailsCard extends Partial<Pick<SolutionDetailsCard, 'c
298
298
 
299
299
  interface LuminaSolutionDetailsPanel extends Partial<Pick<SolutionDetailsPanel, 'card'>>, h.JSX.HTMLAttributes<HTMLSolutionDetailsPanelElement> {
300
300
  onitemPropertiesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["itemPropertiesFetched"]>;
301
+ onsortTypeChanged?: EventHandler<HTMLSolutionDetailsPanelElement["sortTypeChanged"]>;
301
302
  ontemplatesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["templatesFetched"]>;
302
303
  ontokenRefreshed?: EventHandler<HTMLSolutionDetailsPanelElement["tokenRefreshed"]>;
303
304
  }
@@ -369,6 +370,7 @@ interface LuminaSolutionsArticles extends Partial<Pick<SolutionsArticles, 'showA
369
370
  }
370
371
 
371
372
  interface LuminaSolutionsArticlesShell extends h.JSX.HTMLAttributes<HTMLSolutionsArticlesShellElement> {
373
+ onsortTypeChanged?: EventHandler<HTMLSolutionsArticlesShellElement["sortTypeChanged"]>;
372
374
  }
373
375
 
374
376
  interface LuminaSolutionsDeployApp extends Partial<Pick<SolutionsDeployApp, 'appConfig' | 'locale' | 'orgUrl' | 'portalUrl' | 'primarySolutionsGroupId' | 'sortType' | 'useLocalAppConfig'>>, h.JSX.HTMLAttributes<HTMLSolutionsDeployAppElement> {
@@ -299,6 +299,7 @@ interface PreactSolutionDetailsCard extends Partial<Pick<SolutionDetailsCard, 'c
299
299
 
300
300
  interface PreactSolutionDetailsPanel extends Partial<Pick<SolutionDetailsPanel, 'card'>>, HTMLAttributes<HTMLSolutionDetailsPanelElement> {
301
301
  onitemPropertiesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["itemPropertiesFetched"]>;
302
+ onsortTypeChanged?: EventHandler<HTMLSolutionDetailsPanelElement["sortTypeChanged"]>;
302
303
  ontemplatesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["templatesFetched"]>;
303
304
  ontokenRefreshed?: EventHandler<HTMLSolutionDetailsPanelElement["tokenRefreshed"]>;
304
305
  }
@@ -370,6 +371,7 @@ interface PreactSolutionsArticles extends Partial<Pick<SolutionsArticles, 'showA
370
371
  }
371
372
 
372
373
  interface PreactSolutionsArticlesShell extends HTMLAttributes<HTMLSolutionsArticlesShellElement> {
374
+ onsortTypeChanged?: EventHandler<HTMLSolutionsArticlesShellElement["sortTypeChanged"]>;
373
375
  }
374
376
 
375
377
  interface PreactSolutionsDeployApp extends Partial<Pick<SolutionsDeployApp, 'appConfig' | 'locale' | 'orgUrl' | 'portalUrl' | 'primarySolutionsGroupId' | 'sortType' | 'useLocalAppConfig'>>, HTMLAttributes<HTMLSolutionsDeployAppElement> {
@@ -345,6 +345,7 @@ interface PreactSolutionDetailsCard extends Partial<Pick<SolutionDetailsCard, 'c
345
345
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
346
346
  interface PreactSolutionDetailsPanel extends Partial<Pick<SolutionDetailsPanel, 'card'>>, PreactJsx.HTMLAttributes<HTMLSolutionDetailsPanelElement> {
347
347
  onitemPropertiesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["itemPropertiesFetched"]>;
348
+ onsortTypeChanged?: EventHandler<HTMLSolutionDetailsPanelElement["sortTypeChanged"]>;
348
349
  ontemplatesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["templatesFetched"]>;
349
350
  ontokenRefreshed?: EventHandler<HTMLSolutionDetailsPanelElement["tokenRefreshed"]>;
350
351
  }
@@ -434,6 +435,7 @@ interface PreactSolutionsArticles extends Partial<Pick<SolutionsArticles, 'showA
434
435
 
435
436
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
436
437
  interface PreactSolutionsArticlesShell extends PreactJsx.HTMLAttributes<HTMLSolutionsArticlesShellElement> {
438
+ onsortTypeChanged?: EventHandler<HTMLSolutionsArticlesShellElement["sortTypeChanged"]>;
437
439
  }
438
440
 
439
441
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
@@ -299,6 +299,7 @@ interface ReactSolutionDetailsCard extends Partial<Pick<SolutionDetailsCard, 'ca
299
299
 
300
300
  interface ReactSolutionDetailsPanel extends Partial<Pick<SolutionDetailsPanel, 'card'>>, HTMLProps<HTMLSolutionDetailsPanelElement> {
301
301
  onitemPropertiesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["itemPropertiesFetched"]>;
302
+ onsortTypeChanged?: EventHandler<HTMLSolutionDetailsPanelElement["sortTypeChanged"]>;
302
303
  ontemplatesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["templatesFetched"]>;
303
304
  ontokenRefreshed?: EventHandler<HTMLSolutionDetailsPanelElement["tokenRefreshed"]>;
304
305
  }
@@ -370,6 +371,7 @@ interface ReactSolutionsArticles extends Partial<Pick<SolutionsArticles, 'showAs
370
371
  }
371
372
 
372
373
  interface ReactSolutionsArticlesShell extends HTMLProps<HTMLSolutionsArticlesShellElement> {
374
+ onsortTypeChanged?: EventHandler<HTMLSolutionsArticlesShellElement["sortTypeChanged"]>;
373
375
  }
374
376
 
375
377
  interface ReactSolutionsDeployApp extends Partial<Pick<SolutionsDeployApp, 'appConfig' | 'locale' | 'orgUrl' | 'portalUrl' | 'primarySolutionsGroupId' | 'sortType' | 'useLocalAppConfig'>>, HTMLProps<HTMLSolutionsDeployAppElement> {
@@ -299,6 +299,7 @@ interface StencilSolutionDetailsCard extends Partial<Pick<SolutionDetailsCard, '
299
299
 
300
300
  interface StencilSolutionDetailsPanel extends Partial<Pick<SolutionDetailsPanel, 'card'>>, StencilJsx.HTMLAttributes<HTMLSolutionDetailsPanelElement> {
301
301
  onItemPropertiesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["itemPropertiesFetched"]>;
302
+ onSortTypeChanged?: EventHandler<HTMLSolutionDetailsPanelElement["sortTypeChanged"]>;
302
303
  onTemplatesFetched?: EventHandler<HTMLSolutionDetailsPanelElement["templatesFetched"]>;
303
304
  onTokenRefreshed?: EventHandler<HTMLSolutionDetailsPanelElement["tokenRefreshed"]>;
304
305
  }
@@ -370,6 +371,7 @@ interface StencilSolutionsArticles extends Partial<Pick<SolutionsArticles, 'show
370
371
  }
371
372
 
372
373
  interface StencilSolutionsArticlesShell extends StencilJsx.HTMLAttributes<HTMLSolutionsArticlesShellElement> {
374
+ onSortTypeChanged?: EventHandler<HTMLSolutionsArticlesShellElement["sortTypeChanged"]>;
373
375
  }
374
376
 
375
377
  interface StencilSolutionsDeployApp extends Partial<Pick<SolutionsDeployApp, 'appConfig' | 'locale' | 'orgUrl' | 'portalUrl' | 'primarySolutionsGroupId' | 'sortType' | 'useLocalAppConfig'>>, StencilJsx.HTMLAttributes<HTMLSolutionsDeployAppElement> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "1.1.0-next.20251008.1",
3
+ "version": "1.1.0-next.20251009",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -75,7 +75,7 @@
75
75
  "rimraf": "^6.0.1",
76
76
  "sass-embedded": "^1.79.3",
77
77
  "tailwindcss": "3.4.17",
78
- "templates-common-library": ">=0.0.701",
78
+ "templates-common-library": ">=0.0.704",
79
79
  "tslib": "^2.8.1",
80
80
  "tsx": "^4.19.2",
81
81
  "typescript": "~5.8.3",
@@ -104,7 +104,7 @@
104
104
  "@arcgis/instant-apps-components": ">=4.34.0-next.145 <4.35",
105
105
  "@arcgis/map-components": ">=4.34.0-next.145 <4.35",
106
106
  "@esri/calcite-components": "^3.3.1",
107
- "templates-common-library": ">=0.0.701"
107
+ "templates-common-library": ">=0.0.704"
108
108
  },
109
109
  "repository": {
110
110
  "type": "git",
@@ -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.0-next.20251008.1 */
4
- import{a,b}from"./6NADAFNM.js";import"./PKZR4IAA.js";import"./GICBZ47Y.js";import"./VLGVQAPL.js";import"./HKVEGDNW.js";import"./CXHSOU2D.js";export{a as EventEditorTypes,b as buildSchema};
@@ -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.0-next.20251008.1 */
4
- import b from"./N5GGMSDO.js";import a from"./GYKUFCDS.js";import{a as _}from"./IMSAFY4W.js";import{b as T}from"./Q6YM2NMB.js";import"./NYLEG34F.js";import{D as $,E as y,G as l,I as g,h as C,i as r,o as x,r as L}from"./WQPH2FQF.js";import"./CXHSOU2D.js";export default $arcgis.t(([,{a:d,b:b,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{:host{display:block}:host .instant-apps-language-translator-item{display:flex}:host .instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}:host .instant-apps-language-translator-item__section--last-item{border-bottom:none}:host .instant-apps-language-translator-item__section--selected{background-color:#f1faff}:host .instant-apps-language-translator-item__section:first-child{margin-right:1%}:host .instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}:host .instant-apps-language-translator-item__ui-location-items{display:flex}:host .instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}:host .instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}:host .instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}:host .instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}:host .instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}:host .instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-action{--calcite-ui-icon-color: var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}:host(.instant-apps-language-translator--last-item) .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},v=class extends y{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===b.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===b.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};T("instant-apps-language-translator-item",v);return v},a,b)
@@ -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.0-next.20251008.1 */
4
- import{a as O}from"./BPE3B3PQ.js";import{A as H,C as M,D as F,d as B,e as L}from"./HMQXESJA.js";import{b as U}from"./Q6YM2NMB.js";import"./NARHDIR6.js";import"./NYLEG34F.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./WQPH2FQF.js";import"./CXHSOU2D.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
@@ -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.0-next.20251008.1 */
4
- import{b as v,c as S}from"./CWPY45T3.js";import{b as d}from"./5H4AMHXY.js";import{a as _}from"./HY46BCFR.js";import{k as b,l as y}from"./TWAOBOD6.js";import{a as m}from"./3FTPCQ44.js";import"./NARHDIR6.js";import"./NYLEG34F.js";import{b as g}from"./U5IFXOY7.js";import{C as n,D as o,E as u,G as f,H as r,I as c,h as p,i,o as a}from"./WQPH2FQF.js";import"./CXHSOU2D.js";var $=p`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.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);--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%}`,h=class extends u{constructor(){super(),this.solutionsCount=0,this.sortType="relevance",this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=m({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=n(),this._solutionsFilterPanelRef=n(),this._authContextConsumer=d({context:S,subscribe:!0}),this._isMobileContextConsumer=d({context:v,subscribe:!0,callback:e=>this.isMobile=e}),this.filterRemoved=a(),this.solutionsAllLoaded=a(),this.sortTypeChanged=a()}static{this.properties={appConfig:1,solutionsCount:9,sortType:1,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=$}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(([,s])=>s===e.industry)?.[0]:void 0,l=e.domain?Object.entries(y).find(([,s])=>s===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=l||"",e.value=l||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)}loaded(){this.solutionsAllLoaded.emit()}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??c} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override z-index-1"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</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=${f(this.filterOpen?"background-override":"filter background-override")} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100" @applyFilter=${this._filterApplied} ${o(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=${this._filterApplied} ${o(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel .agoSolutionsGroupId=${this.appConfig.primarySolutionsGroupId} .enterpriseSolutionsGroupId=${this.appConfig.agoBasedEnterpriseSolutionsGroupId} .locale=${this.appConfig.locale||"en"} .orgUrl=${this.appConfig.portalURL} @cardsFetched=${this._updateSolutionCount} .portalUrl=${this.appConfig.portalURL} .sortType=${this.sortType} style=${r(e)} @searchTermSet=${t=>this._solutionsFilterPanelRef.value.changeSearchFilter(t.detail,!1)} @sortTypeSet=${t=>this.sortType=t.detail} ${o(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){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}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByNew,sortType:"new"},{displayValue:this._translations.sortByUpdated,sortType:"updated"}];return this._authContextConsumer.value.IsSignedIn&&e.push({displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}),i`<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(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??c}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<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}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this.sortTypeChanged.emit(this.sortType),this._allSolutionsPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e,t){if(t==="industry")this._filters.categories=[];else{let l=this._filters.categories.filter(s=>s.displayValue!==e&&s.type!==t);this._filters.categories=l}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(e.detail){let t=e.detail;"displayValue"in e.detail?this._filters.categories.push(e.detail):Array.isArray(e.detail)&&e.detail.length>0&&(e.detail.length>=2&&(t=[e.detail[e.detail.length-1]]),this._filters.categories=e.detail),"searchTerm"in t&&(this._filters.searchTerm=t.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};g("solutions-all-shell",h);export{h as SolutionsAllShell};