@esri/solutions-components 1.1.0-next.20251010 → 1.1.0-next.20251015

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 (501) hide show
  1. package/dist/cdn/{XIF3BPGO.js → 22OSTVBI.js} +2 -2
  2. package/dist/cdn/{Z2GEQSTV.js → 24TYMSZR.js} +2 -2
  3. package/dist/cdn/{LAU2O4C6.js → 2AZTT77Q.js} +1 -1
  4. package/dist/cdn/{2O65G77L.js → 2FDHTTBU.js} +2 -2
  5. package/dist/cdn/{N5RAXM4M.js → 2GLAKDPI.js} +2 -2
  6. package/dist/cdn/{FW7XNF7K.js → 2JD5UTGZ.js} +2 -2
  7. package/dist/cdn/{BJWCV4XE.js → 2JPL6BVV.js} +2 -2
  8. package/dist/cdn/{TUPSNUMV.js → 2K6LMBH5.js} +2 -2
  9. package/dist/cdn/{55D4ZKBZ.js → 2KH36L57.js} +1 -1
  10. package/dist/cdn/{H35PVI3Z.js → 2O47TYV4.js} +2 -2
  11. package/dist/cdn/{PJNCK32J.js → 2ODS32UA.js} +1 -1
  12. package/dist/cdn/2QTLOHGS.js +4 -0
  13. package/dist/cdn/{DZ5QJEFF.js → 2V4G3WZ2.js} +2 -2
  14. package/dist/cdn/{PWJSYK5F.js → 3455W2QX.js} +2 -2
  15. package/dist/cdn/{ENMBNW2P.js → 3BBUMDES.js} +2 -2
  16. package/dist/cdn/{6XCSXPWE.js → 3CU6TN67.js} +2 -2
  17. package/dist/cdn/{TVQKQN6S.js → 3DWNGAUA.js} +2 -2
  18. package/dist/cdn/{BIB4XVIA.js → 3GZWZSFH.js} +2 -2
  19. package/dist/cdn/{JCTWVVGH.js → 3HIOWR4W.js} +2 -2
  20. package/dist/cdn/{TVNBTGP4.js → 3I6ALJO6.js} +2 -2
  21. package/dist/cdn/{32OMUI2K.js → 3Q3IPERH.js} +2 -2
  22. package/dist/cdn/{463WIRP4.js → 3RPM42IQ.js} +2 -2
  23. package/dist/cdn/3RQJ7CCZ.js +18 -0
  24. package/dist/cdn/3SAP7526.js +18 -0
  25. package/dist/cdn/{4X4PDJXI.js → 3WY63H7O.js} +2 -2
  26. package/dist/cdn/{7GS7VZFL.js → 3XQTXZ5S.js} +2 -2
  27. package/dist/cdn/{THS7JE5G.js → 3ZC2RGOR.js} +2 -2
  28. package/dist/cdn/{UPTV2SBQ.js → 436WRDLB.js} +2 -2
  29. package/dist/cdn/{F5F4Q6HL.js → 4D6MRPLS.js} +2 -2
  30. package/dist/cdn/{OQ3XEZFY.js → 4DHND2RR.js} +2 -2
  31. package/dist/cdn/{VPXQ4WQE.js → 4HOR4TNE.js} +2 -2
  32. package/dist/cdn/{QYC2YEHE.js → 4J47N725.js} +2 -2
  33. package/dist/cdn/{S53PQ4WR.js → 4OXIZQ5A.js} +2 -2
  34. package/dist/cdn/{MLMGOUJR.js → 4PQKAXUB.js} +2 -2
  35. package/dist/cdn/{I4EFAQ66.js → 4QXGEP6K.js} +2 -2
  36. package/dist/cdn/{AEJMX4G6.js → 4RWUZIBI.js} +2 -2
  37. package/dist/cdn/{SRC4YIBD.js → 4T2MIIGO.js} +2 -2
  38. package/dist/cdn/{XOEK6ZCL.js → 4VLOXACY.js} +2 -2
  39. package/dist/cdn/{S3PTJT6N.js → 53BT4JPD.js} +2 -2
  40. package/dist/cdn/{AQ4DAFFG.js → 55QDKERG.js} +2 -2
  41. package/dist/cdn/{2YZTA3PI.js → 563F6IRC.js} +3 -3
  42. package/dist/cdn/5KXF46D2.js +18 -0
  43. package/dist/cdn/{AFPPVJPV.js → 5L2BDAW2.js} +2 -2
  44. package/dist/cdn/{ID2OG7SL.js → 5MQIU2EF.js} +2 -2
  45. package/dist/cdn/{67YSSFYI.js → 5NQRDUV4.js} +2 -2
  46. package/dist/cdn/{I7EZUZ63.js → 5QCGKNOG.js} +2 -2
  47. package/dist/cdn/{ZKPYENZZ.js → 5TIB2IQL.js} +2 -2
  48. package/dist/cdn/{REKQYXEK.js → 64DJDBI7.js} +2 -2
  49. package/dist/cdn/{HVHPGBPU.js → 67H4ATRI.js} +2 -2
  50. package/dist/cdn/{XRRODSMI.js → 6AKYEPXM.js} +1 -1
  51. package/dist/cdn/{ONO5CKRU.js → 6E5E463Z.js} +1 -1
  52. package/dist/cdn/{2YMQ5XGG.js → 6E6Z3Z6F.js} +2 -2
  53. package/dist/cdn/{VEB2V2GQ.js → 6NEFR4VZ.js} +2 -2
  54. package/dist/cdn/{ZF3XYGW5.js → 6QPXTZT5.js} +2 -2
  55. package/dist/cdn/{WQRXQCSC.js → 6UUOXTQV.js} +2 -2
  56. package/dist/cdn/{IHULBHNY.js → 6WD3OWDK.js} +2 -2
  57. package/dist/cdn/{WCA7LK6Q.js → 6WGAYEL3.js} +2 -2
  58. package/dist/cdn/6ZZKQXLW.js +18 -0
  59. package/dist/cdn/7CMSFVPI.js +4 -0
  60. package/dist/cdn/{QT5ITQ4K.js → 7DRVPBOA.js} +2 -2
  61. package/dist/cdn/{LAIAA7BP.js → 7EHOML6L.js} +2 -2
  62. package/dist/cdn/{AJ4NQ6PS.js → 7EO77LPB.js} +2 -2
  63. package/dist/cdn/{CCDO2B5T.js → 7HYDMACA.js} +2 -2
  64. package/dist/cdn/{RWO2U6P5.js → 7I2UZMDM.js} +2 -2
  65. package/dist/cdn/{NBTAP6ZU.js → 7Q7YJNBZ.js} +2 -2
  66. package/dist/cdn/{2MSYDJDM.js → 7U7GUOHV.js} +2 -2
  67. package/dist/cdn/{LPRSPCZ4.js → 7UOJGH3I.js} +2 -2
  68. package/dist/cdn/{L3RAXLLM.js → 7VGDYIEN.js} +2 -2
  69. package/dist/cdn/{KAO4XIYV.js → 7YLDQRFG.js} +2 -2
  70. package/dist/cdn/{LAVFGEBQ.js → A3PIJKHT.js} +2 -2
  71. package/dist/cdn/{HKT4A4HQ.js → A5WCPRUK.js} +2 -2
  72. package/dist/cdn/{2FDCLMK2.js → ABVSMXHI.js} +2 -2
  73. package/dist/cdn/{LLFZRKD2.js → AJWPQJKO.js} +2 -2
  74. package/dist/cdn/{Y5IGWSMN.js → AKE65QMR.js} +1 -1
  75. package/dist/cdn/ANITJDCE.js +18 -0
  76. package/dist/cdn/{AVC6ZR7L.js → AO4KGDKM.js} +2 -2
  77. package/dist/cdn/{V45VM6MB.js → APSFYF5B.js} +1 -1
  78. package/dist/cdn/{66O6QFYQ.js → ATXCK2IU.js} +2 -2
  79. package/dist/cdn/{HTTHAERC.js → AVVHEGQN.js} +2 -2
  80. package/dist/cdn/{KUNVNA33.js → B2TLWFDN.js} +2 -2
  81. package/dist/cdn/{T6HJXZG7.js → B6RXHCY4.js} +2 -2
  82. package/dist/cdn/{HQ2V5OGQ.js → B7TZTDLF.js} +2 -2
  83. package/dist/cdn/{455QGLQO.js → BJ6HCUCN.js} +1 -1
  84. package/dist/cdn/{OWC2L46U.js → BMPNDHKB.js} +2 -2
  85. package/dist/cdn/{ULH2KSG6.js → BOOXNCBB.js} +2 -2
  86. package/dist/cdn/{VJAYFW5F.js → BQJSY4MC.js} +2 -2
  87. package/dist/cdn/{CSIUKBTW.js → BVCGYHJH.js} +2 -2
  88. package/dist/cdn/{4HGRKO4R.js → BWED2YYT.js} +2 -2
  89. package/dist/cdn/{Z2YSCIB7.js → C26CNB4R.js} +2 -2
  90. package/dist/cdn/C376DS3S.js +4 -0
  91. package/dist/cdn/{E2A5G5TL.js → C5O7RS6Z.js} +2 -2
  92. package/dist/cdn/{SBGSU6PU.js → C5X5HA45.js} +2 -2
  93. package/dist/cdn/{AW2CJNSQ.js → CACUAY57.js} +2 -2
  94. package/dist/cdn/{42WSVM7G.js → CD6GGYMB.js} +2 -2
  95. package/dist/cdn/{GU6IG3YB.js → CFTJE337.js} +1 -1
  96. package/dist/cdn/{27Y3NWRZ.js → CIVOWJYR.js} +2 -2
  97. package/dist/cdn/{JWDB72PL.js → CKB3S5U4.js} +2 -2
  98. package/dist/cdn/{KD2JMMMY.js → CMJXYUC2.js} +1 -1
  99. package/dist/cdn/{PIXTNLTP.js → CQTGDI4L.js} +2 -2
  100. package/dist/cdn/{Q7DLAQOV.js → CSMAKHYH.js} +2 -2
  101. package/dist/cdn/{ZGYC37RV.js → D2L6IBMW.js} +3 -2
  102. package/dist/cdn/{3RMFZDFL.js → D2SOIFTY.js} +2 -2
  103. package/dist/cdn/{WDZJDCUZ.js → D3B6FDP2.js} +2 -2
  104. package/dist/cdn/{PTPPRH5Q.js → DCBNHUZV.js} +2 -2
  105. package/dist/cdn/DEJIKEQ3.js +4 -0
  106. package/dist/cdn/{X4GEOUK4.js → DL6S6VLD.js} +2 -2
  107. package/dist/cdn/DMBF2DS2.js +4 -0
  108. package/dist/cdn/{DNUAHHGE.js → DNEIPLZU.js} +2 -2
  109. package/dist/cdn/{NBQEIMYL.js → DOBAZYV6.js} +2 -2
  110. package/dist/cdn/DTOUOKY5.js +18 -0
  111. package/dist/cdn/{2R3IRLFX.js → DYFUDA73.js} +2 -2
  112. package/dist/cdn/{LILEIAOV.js → E3XNKGRP.js} +2 -2
  113. package/dist/cdn/{QEUWT73Y.js → E5RBQTNH.js} +2 -2
  114. package/dist/cdn/{RBFGYWKV.js → E6M46JNV.js} +2 -2
  115. package/dist/cdn/{M4O4LHJX.js → ECPP42MD.js} +2 -2
  116. package/dist/cdn/{YZRM5RNJ.js → EESP547K.js} +2 -2
  117. package/dist/cdn/EF2D5LOZ.js +4 -0
  118. package/dist/cdn/{IL5EJWNT.js → EIM3QCMO.js} +2 -2
  119. package/dist/cdn/{5GX2UQ2N.js → EM2TZBMA.js} +4 -4
  120. package/dist/cdn/{LOP3QND5.js → EQSVXPKZ.js} +2 -2
  121. package/dist/cdn/{YFOAYZ7H.js → ESAW32DY.js} +2 -2
  122. package/dist/cdn/{YUHF3AKU.js → EVYCFDWO.js} +2 -2
  123. package/dist/cdn/{OTFO4WHS.js → EYRZR5WG.js} +1 -1
  124. package/dist/cdn/{HNT33VRV.js → F5V66G7E.js} +2 -2
  125. package/dist/cdn/{FTFLEM2X.js → FARTJ5UY.js} +1 -1
  126. package/dist/cdn/{6TGRNBC5.js → FHFWCGVH.js} +2 -2
  127. package/dist/cdn/{3HBTLSUP.js → FI4OOHH6.js} +2 -2
  128. package/dist/cdn/FJUPP7CO.js +18 -0
  129. package/dist/cdn/{PSWJUGHA.js → FKIN3DOH.js} +2 -2
  130. package/dist/cdn/{3XD2YSQF.js → FTBS4UPP.js} +2 -2
  131. package/dist/cdn/{GLHTKKE7.js → FTDZIEYQ.js} +2 -2
  132. package/dist/cdn/{OKGCIDUB.js → FXKKXEZA.js} +2 -2
  133. package/dist/cdn/{RS25C5YH.js → FYT77UVP.js} +1 -1
  134. package/dist/cdn/{RM6ESPC6.js → G2Z3YHRP.js} +2 -2
  135. package/dist/cdn/{3Q7ZQFR6.js → G3DM2EW2.js} +2 -2
  136. package/dist/cdn/GA7CX47U.js +18 -0
  137. package/dist/cdn/{RTZGV2XJ.js → GBJ5QP2L.js} +2 -2
  138. package/dist/cdn/{MIBZ6YN2.js → GESAM4SD.js} +2 -2
  139. package/dist/cdn/{4EVCJVEN.js → GGRNVQ4D.js} +2 -2
  140. package/dist/cdn/{LHAGAIMX.js → GGZGAFOG.js} +2 -2
  141. package/dist/cdn/{7MNOJQ2L.js → GHKKR73R.js} +2 -2
  142. package/dist/cdn/{TYWGZ2E4.js → GIH4VEIZ.js} +2 -2
  143. package/dist/cdn/{75PGFVCQ.js → GMW6PBEO.js} +1 -1
  144. package/dist/cdn/{COJ5DJOV.js → GQMQ6XAB.js} +2 -2
  145. package/dist/cdn/{EFWMDPZ4.js → GX7OBSUT.js} +2 -2
  146. package/dist/cdn/{AKSQQ7JN.js → H663WO73.js} +2 -2
  147. package/dist/cdn/{LEH4EJPV.js → HEY2MHYL.js} +1 -1
  148. package/dist/cdn/{AVB65JR7.js → HJOCSO2Y.js} +2 -2
  149. package/dist/cdn/{BCITBBXA.js → HJQCUBEO.js} +2 -2
  150. package/dist/cdn/{RUUUN3JG.js → HK67P3E3.js} +2 -2
  151. package/dist/cdn/{5OGYJJ7C.js → HKDABQVA.js} +2 -2
  152. package/dist/cdn/{YFUCD5LV.js → HMCXMRML.js} +2 -2
  153. package/dist/cdn/{BHA3EQJN.js → HMM4TRUV.js} +2 -2
  154. package/dist/cdn/{J2RIW2FG.js → HMNVV6X6.js} +2 -2
  155. package/dist/cdn/{W57UT2YJ.js → HNYCXG4D.js} +2 -2
  156. package/dist/cdn/{ADD24STC.js → HOEKQZLD.js} +2 -2
  157. package/dist/cdn/{GVBLYLJK.js → HU5YYKVZ.js} +2 -2
  158. package/dist/cdn/{7GB7VU4O.js → I7WRGP52.js} +2 -2
  159. package/dist/cdn/{H6I4AMQ6.js → ICXXZM6J.js} +2 -2
  160. package/dist/cdn/{5UJ7KPR4.js → IDEGADLH.js} +2 -2
  161. package/dist/cdn/{TWNIP5HU.js → IHDXSHOP.js} +2 -2
  162. package/dist/cdn/{J2LCMYZ3.js → IHJCOKEC.js} +2 -2
  163. package/dist/cdn/{J3K53EBK.js → INC33LQG.js} +2 -2
  164. package/dist/cdn/{FT6BKS4B.js → INIADHDQ.js} +2 -2
  165. package/dist/cdn/{TYKODBD3.js → IOR7KTGI.js} +2 -2
  166. package/dist/cdn/{VRFGZWJ2.js → IQ7NIKVL.js} +2 -2
  167. package/dist/cdn/{6BMSU3XV.js → IR7Q2YM5.js} +2 -2
  168. package/dist/cdn/{25QBA4NR.js → IUEDXCGK.js} +2 -2
  169. package/dist/cdn/{H67S7FDO.js → IZV72OZ5.js} +2 -2
  170. package/dist/cdn/JBKHCKZX.js +18 -0
  171. package/dist/cdn/{CBR6KSVN.js → JBZJQGN5.js} +1 -1
  172. package/dist/cdn/{AO27KWXO.js → JIK4Q746.js} +1 -1
  173. package/dist/cdn/{XR7AI5FY.js → JN3PWHYP.js} +2 -2
  174. package/dist/cdn/{SDDIFZQ7.js → JSRPQ56Q.js} +2 -2
  175. package/dist/cdn/{ZPTLSESQ.js → JTQOLVH2.js} +2 -2
  176. package/dist/cdn/{VAJHBP6V.js → JWXSMME2.js} +2 -2
  177. package/dist/cdn/{4PUNI4BE.js → K7AMIFM4.js} +2 -2
  178. package/dist/cdn/{S4HMLKCK.js → KCBNQYFG.js} +2 -2
  179. package/dist/cdn/{AHNVIDQP.js → KGG3UA33.js} +2 -2
  180. package/dist/cdn/{5RQM2YVQ.js → KHTLIDM2.js} +2 -2
  181. package/dist/cdn/{2DPQ2B44.js → KKWB4GDE.js} +2 -2
  182. package/dist/cdn/{2CMXI42C.js → KLJTVCJM.js} +2 -2
  183. package/dist/cdn/{GDDICTBB.js → KN4NXNU5.js} +2 -2
  184. package/dist/cdn/{KHW4JZXH.js → KOOXI24P.js} +1 -1
  185. package/dist/cdn/{CLMC5WTO.js → KOZHPCSN.js} +1 -1
  186. package/dist/cdn/{YT5T4K44.js → KP4UOWPE.js} +2 -2
  187. package/dist/cdn/{ROQFCS7S.js → KTAMUWOO.js} +2 -2
  188. package/dist/cdn/{U74HOSJO.js → KTD3VSAN.js} +2 -2
  189. package/dist/cdn/{ZVLGMU5X.js → KTX3AH4M.js} +2 -2
  190. package/dist/cdn/{SOS5Q6DN.js → L2EZ64ZA.js} +2 -2
  191. package/dist/cdn/{PVKV75MU.js → L5SZCPBG.js} +2 -2
  192. package/dist/cdn/{PIZV7OMM.js → L75OVRLU.js} +2 -2
  193. package/dist/cdn/{IRW3VHJR.js → LC7SRBVD.js} +2 -2
  194. package/dist/cdn/LOYSGN2I.js +4 -0
  195. package/dist/cdn/{JITG34US.js → LRFK22FS.js} +2 -2
  196. package/dist/cdn/{6ELQLKBQ.js → LT7YPVZE.js} +2 -2
  197. package/dist/cdn/{RPJ7NIN2.js → M3Z5BXVG.js} +2 -2
  198. package/dist/cdn/{DTX6B6G4.js → MA4L4WTG.js} +2 -2
  199. package/dist/cdn/{LG3IYZWV.js → MA7WYC4V.js} +2 -2
  200. package/dist/cdn/{ZWCI7OX5.js → MFAQAHTE.js} +1 -1
  201. package/dist/cdn/{HSFVG4T4.js → MG5DOYZE.js} +2 -2
  202. package/dist/cdn/{NT43I5T6.js → MXDCUXB3.js} +2 -2
  203. package/dist/cdn/{ZP2TYRS7.js → N3YWMQCC.js} +1 -1
  204. package/dist/cdn/{IZBKM4GA.js → N4TFD5EN.js} +2 -2
  205. package/dist/cdn/{FYUGMNXU.js → NA53RIHE.js} +2 -2
  206. package/dist/cdn/{RE56EL3J.js → ND73E2C6.js} +2 -2
  207. package/dist/cdn/{D3UXQLZ4.js → NDMX5IWZ.js} +2 -2
  208. package/dist/cdn/{L2OGS276.js → NFDYRDN4.js} +2 -2
  209. package/dist/cdn/{VISCZK24.js → NFGSRGU7.js} +1 -1
  210. package/dist/cdn/{VAU3FWJH.js → NH4CPF45.js} +2 -2
  211. package/dist/cdn/{GOUXXKT5.js → NH5DITEI.js} +2 -2
  212. package/dist/cdn/{C753X2DD.js → NHDUHLTC.js} +3 -3
  213. package/dist/cdn/{KQX7XO25.js → NKLAUEXS.js} +2 -2
  214. package/dist/cdn/{AJQW2EII.js → NLRI3ZQW.js} +2 -2
  215. package/dist/cdn/{CAOGVM5R.js → NNQ4C4LH.js} +1 -1
  216. package/dist/cdn/{NJVT2AOU.js → NOYMF5C7.js} +1 -1
  217. package/dist/cdn/{ECGHXKLY.js → NRTTJXYW.js} +2 -2
  218. package/dist/cdn/{QZZNMIOU.js → NXSJTCZE.js} +2 -2
  219. package/dist/cdn/{NHXTECOK.js → NYAGZJPI.js} +2 -2
  220. package/dist/cdn/{ERNJAQCN.js → NYWEBPN2.js} +2 -2
  221. package/dist/cdn/{HO27U7H4.js → O2KAV45F.js} +1 -1
  222. package/dist/cdn/{P6CELV2X.js → O7RZJPDT.js} +2 -2
  223. package/dist/cdn/{6XQDG2XB.js → OISVL6RH.js} +2 -2
  224. package/dist/cdn/{JEDDJH3Y.js → OOKJKNCP.js} +2 -2
  225. package/dist/cdn/{TIMYIBW5.js → P2JANG5L.js} +1 -1
  226. package/dist/cdn/{ZULH7YWV.js → P76DWPRQ.js} +2 -2
  227. package/dist/cdn/{XPGPVB6T.js → PEQMTLYB.js} +2 -2
  228. package/dist/cdn/{BKAZCE7B.js → PFC776ZU.js} +2 -2
  229. package/dist/cdn/PHDSV2KO.js +18 -0
  230. package/dist/cdn/{OQUCPT2W.js → PI62K42J.js} +2 -2
  231. package/dist/cdn/{XO7T7LGW.js → Q22NWNX7.js} +2 -2
  232. package/dist/cdn/{33EP4QFI.js → Q5AWTSD2.js} +2 -2
  233. package/dist/cdn/{R62ZHQXB.js → Q5WT254T.js} +2 -2
  234. package/dist/cdn/{MNBE2ZAF.js → QGKOWXUX.js} +2 -2
  235. package/dist/cdn/{2U3AH3SF.js → QM3MV2WO.js} +2 -2
  236. package/dist/cdn/QOFINT3H.js +4 -0
  237. package/dist/cdn/{2V4KC7JW.js → QOKUFMLM.js} +2 -2
  238. package/dist/cdn/{KEQWEGCA.js → QUFTSYUG.js} +2 -2
  239. package/dist/cdn/QV7EN475.js +4 -0
  240. package/dist/cdn/{TRHA4BWU.js → QWUYQK6T.js} +2 -2
  241. package/dist/cdn/{L7FFNPTW.js → RFKORGVC.js} +2 -2
  242. package/dist/cdn/{KBGGCVOD.js → RHDUM7J6.js} +1 -1
  243. package/dist/cdn/{LJ4TGDWQ.js → ROW3Q22Z.js} +2 -2
  244. package/dist/cdn/RQRCKQIE.js +18 -0
  245. package/dist/cdn/{2BFCAB2O.js → RUD53N67.js} +2 -2
  246. package/dist/cdn/{I5U55G63.js → RWAP35QK.js} +1 -1
  247. package/dist/cdn/{E6SRRVTI.js → S3AJ6U4N.js} +2 -2
  248. package/dist/cdn/{JBTU37SQ.js → SEJ7ZXOW.js} +2 -2
  249. package/dist/cdn/{5T5XB25T.js → SJHJIEXC.js} +2 -2
  250. package/dist/cdn/{VP6RSMIG.js → SKPQRR3X.js} +2 -2
  251. package/dist/cdn/{RGRSABER.js → SMJ4DE43.js} +2 -2
  252. package/dist/cdn/{YVDYCJ5I.js → SOHURSJL.js} +2 -2
  253. package/dist/cdn/{JLOSAU7F.js → SPLJRNFQ.js} +1 -1
  254. package/dist/cdn/{W5CZMOJ7.js → SXUGU4A7.js} +1 -1
  255. package/dist/cdn/{HJ3BYRHK.js → SYZFYPJH.js} +2 -2
  256. package/dist/cdn/{BYHO2LBV.js → SZOHW5LO.js} +2 -2
  257. package/dist/cdn/{UZ76SFG6.js → SZW3WE6P.js} +2 -2
  258. package/dist/cdn/{OKQHAQFW.js → T2MSPE67.js} +2 -2
  259. package/dist/cdn/TFKBTW6N.js +18 -0
  260. package/dist/cdn/{6PI2OPS4.js → TI5473KL.js} +2 -2
  261. package/dist/cdn/{Y2JEWL3T.js → TINDIKXJ.js} +1 -1
  262. package/dist/cdn/{L57ZNDUD.js → TLY4SCKI.js} +2 -2
  263. package/dist/cdn/{HSD4JMAL.js → TNPF3WCY.js} +2 -2
  264. package/dist/cdn/{2WNJ3X5Q.js → TPMBBNHZ.js} +2 -2
  265. package/dist/cdn/{LRBDTWXL.js → TQFYWFLX.js} +2 -2
  266. package/dist/cdn/{AHLDNOFJ.js → TSDOGYCT.js} +2 -2
  267. package/dist/cdn/{VPPZQP75.js → TSF2OBF2.js} +2 -2
  268. package/dist/cdn/{GQWHCV6R.js → TSZVCZI5.js} +1 -1
  269. package/dist/cdn/{LE5BPCXU.js → U26AGIBO.js} +2 -2
  270. package/dist/cdn/{CO4YEOHC.js → U32PNVXH.js} +2 -2
  271. package/dist/cdn/{2O3XDMGT.js → U37RTFCS.js} +2 -2
  272. package/dist/cdn/{7SMZG2Q2.js → UFFG3BO2.js} +2 -2
  273. package/dist/cdn/{NRYLCAJE.js → UMEJ5EB6.js} +2 -2
  274. package/dist/cdn/UMOX4HW4.js +5 -0
  275. package/dist/cdn/{2NGFJIPW.js → UN5Y7PQQ.js} +2 -2
  276. package/dist/cdn/{MVEQJ7Y5.js → UY4AZSYY.js} +2 -2
  277. package/dist/cdn/{VM3OR4YU.js → UYNR4PM2.js} +2 -2
  278. package/dist/cdn/{KTLYXGNH.js → UYVOQEJI.js} +2 -2
  279. package/dist/cdn/{ADDCC7CS.js → V3TL3QUY.js} +1 -1
  280. package/dist/cdn/{4C77TINB.js → V3ZRAZPZ.js} +2 -2
  281. package/dist/cdn/{B6Q3LZBW.js → V6DTMLJW.js} +2 -2
  282. package/dist/cdn/{5BMDOHTV.js → VCCI45G4.js} +2 -2
  283. package/dist/cdn/{ZKVOMSIB.js → VEDNEQ6L.js} +2 -2
  284. package/dist/cdn/{LW3XRBFP.js → VIQNQ2BF.js} +2 -2
  285. package/dist/cdn/{DM3SXGXE.js → VOOFZBN4.js} +2 -2
  286. package/dist/cdn/{Z3TEJBYX.js → VQ7NCLSQ.js} +2 -2
  287. package/dist/cdn/{2TRXNEJ5.js → VQHDQ3FM.js} +2 -2
  288. package/dist/cdn/{MLBDCIVW.js → VQZ7PKLG.js} +2 -2
  289. package/dist/cdn/{T7CWJEIH.js → VSLXYJNQ.js} +2 -2
  290. package/dist/cdn/{XI4JWB7G.js → VT2F564G.js} +2 -2
  291. package/dist/cdn/{QXXLJSYK.js → VTR3E2UC.js} +2 -2
  292. package/dist/cdn/{2WSDTDUC.js → VVSI5HZH.js} +2 -2
  293. package/dist/cdn/{WLC3EH42.js → VWY4XLFF.js} +2 -2
  294. package/dist/cdn/{CWM7DKDH.js → VZ32DB6K.js} +2 -2
  295. package/dist/cdn/{KDQDX63H.js → W7CXGF5O.js} +2 -2
  296. package/dist/cdn/{BYDKUR4C.js → WDMQTJTY.js} +2 -2
  297. package/dist/cdn/{O6TZ66V7.js → WE7WRF7D.js} +2 -2
  298. package/dist/cdn/{4BHIKZVY.js → WERUCJ7K.js} +2 -2
  299. package/dist/cdn/{S5YUPQQG.js → WHE2B2CP.js} +2 -2
  300. package/dist/cdn/{YATQWZVW.js → WKPYIEOP.js} +2 -2
  301. package/dist/cdn/{T4ZXHQ6Q.js → WMCGZEBA.js} +2 -2
  302. package/dist/cdn/{YAQR7RXF.js → WNCKATER.js} +2 -2
  303. package/dist/cdn/{ZEQNF33D.js → WOX63RAP.js} +1 -1
  304. package/dist/cdn/{HDFGKJKA.js → WQ4GN3VW.js} +2 -2
  305. package/dist/cdn/{XYUHJOUM.js → WQNVPOFW.js} +2 -2
  306. package/dist/cdn/{ZWG2NCJH.js → WQYQRTPK.js} +2 -2
  307. package/dist/cdn/{7HX3NS6O.js → WSKHIXP3.js} +2 -2
  308. package/dist/cdn/{4UMMWUP7.js → WV7ZJY5J.js} +2 -2
  309. package/dist/cdn/{UBO7PGV5.js → WW4MKC7D.js} +2 -2
  310. package/dist/cdn/{G7VQUHHB.js → WZJ6BQ6R.js} +2 -2
  311. package/dist/cdn/{EW3JG3OO.js → X26E5U2M.js} +2 -2
  312. package/dist/cdn/{VE2BNDPB.js → X37EEUTC.js} +2 -2
  313. package/dist/cdn/{3UWOXDMN.js → X5JWAHMT.js} +2 -2
  314. package/dist/cdn/{ULWRQDPB.js → XBHLLRUV.js} +1 -1
  315. package/dist/cdn/{FNY7HE4R.js → XCAZFEWA.js} +1 -1
  316. package/dist/cdn/XLF4NLQH.js +18 -0
  317. package/dist/cdn/{CCEAUDUC.js → XP5FNKPS.js} +2 -2
  318. package/dist/cdn/{ZHQUETTH.js → XR5DXKS5.js} +2 -2
  319. package/dist/cdn/{B4BHCNMG.js → XUQNQ3TH.js} +2 -2
  320. package/dist/cdn/{HEKB7UMJ.js → XVNFTLSL.js} +2 -2
  321. package/dist/cdn/XWWP25D7.js +18 -0
  322. package/dist/cdn/{NZSNWUBF.js → Y2MUTBIW.js} +1 -1
  323. package/dist/cdn/{BSHPEOJO.js → Y32U4RZL.js} +2 -2
  324. package/dist/cdn/{ECYMUVEU.js → Y3QMF7CP.js} +2 -2
  325. package/dist/cdn/Y4LHDS45.js +9 -0
  326. package/dist/cdn/{SILPUMLV.js → Y6BNTK2R.js} +2 -2
  327. package/dist/cdn/{35E775T4.js → Y76ZAGYK.js} +2 -2
  328. package/dist/cdn/{IGRH2K6T.js → YCGCGLZ3.js} +1 -1
  329. package/dist/cdn/{DPOSATX6.js → YHY2WF3L.js} +2 -2
  330. package/dist/cdn/{SMBHMRHL.js → YISCR7SQ.js} +2 -2
  331. package/dist/cdn/{5PVFJ62L.js → YME5B6IV.js} +2 -2
  332. package/dist/cdn/YWGL35ER.js +4 -0
  333. package/dist/cdn/{GCNZ2C44.js → YYAAM23E.js} +2 -2
  334. package/dist/cdn/{36KYI5LH.js → Z2CZSE55.js} +2 -2
  335. package/dist/cdn/{NHKWESC7.js → ZBK2OIYQ.js} +2 -2
  336. package/dist/cdn/{3SIQSXCE.js → ZCA45OX3.js} +2 -2
  337. package/dist/cdn/{6EMVPBUS.js → ZFINVU5V.js} +1 -1
  338. package/dist/cdn/{WUNRTPVE.js → ZIFC2GSS.js} +2 -2
  339. package/dist/cdn/ZLUOUE7M.js +4 -0
  340. package/dist/cdn/{CVHZPAJ2.js → ZMJJZVLF.js} +2 -2
  341. package/dist/cdn/{2NANUVHV.js → ZOCBAOJE.js} +2 -2
  342. package/dist/cdn/ZPFNMSYO.js +4 -0
  343. package/dist/cdn/{KPP3D3TO.js → ZU3D5VUY.js} +2 -2
  344. package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.en.json +1 -0
  345. package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.json +1 -0
  346. package/dist/cdn/index.js +2 -2
  347. package/dist/cdn/main.css +1 -1
  348. package/dist/chunks/Auth.js +1 -1
  349. package/dist/chunks/CardsFetcher.js +1 -1
  350. package/dist/chunks/appConfig.js +1 -1
  351. package/dist/chunks/cardFetchingUtils.js +1 -1
  352. package/dist/chunks/cardsHelpers.js +1 -1
  353. package/dist/chunks/common.js +1 -1
  354. package/dist/chunks/deployAppContexts.js +1 -1
  355. package/dist/chunks/downloadUtils.js +1 -1
  356. package/dist/chunks/getItemIcon.js +1 -1
  357. package/dist/chunks/helpers.js +1 -1
  358. package/dist/chunks/interfaces.js +1 -1
  359. package/dist/chunks/loadModules.js +1 -1
  360. package/dist/chunks/mapViewUtils.js +1 -1
  361. package/dist/chunks/pciUtils.js +1 -1
  362. package/dist/chunks/popupUtils.js +1 -1
  363. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  364. package/dist/chunks/privilegeUtils.js +1 -1
  365. package/dist/chunks/publicNotificationContext.js +1 -1
  366. package/dist/chunks/queryUtils.js +1 -1
  367. package/dist/chunks/runtime.js +1 -1
  368. package/dist/chunks/solution-store.js +1 -1
  369. package/dist/chunks/templates.js +1 -1
  370. package/dist/chunks/useT9n.js +1 -1
  371. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  372. package/dist/components/basemap-gallery/customElement.js +1 -1
  373. package/dist/components/buffer-tools/customElement.js +1 -1
  374. package/dist/components/card-manager/customElement.js +1 -1
  375. package/dist/components/consent-manager/customElement.js +1 -1
  376. package/dist/components/create-feature/customElement.js +2 -2
  377. package/dist/components/create-related-feature/customElement.js +1 -1
  378. package/dist/components/crowdsource-manager/customElement.js +1 -1
  379. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  380. package/dist/components/deduct-calculator/customElement.js +1 -1
  381. package/dist/components/delete-button/customElement.js +1 -1
  382. package/dist/components/delete-dialog/customElement.js +1 -1
  383. package/dist/components/edit-card/customElement.js +2 -2
  384. package/dist/components/feature-details/customElement.js +1 -1
  385. package/dist/components/feature-list/customElement.js +1 -1
  386. package/dist/components/field-selection/customElement.js +1 -1
  387. package/dist/components/floor-filter/customElement.js +1 -1
  388. package/dist/components/info-card/customElement.js +1 -1
  389. package/dist/components/json-editor/customElement.js +1 -1
  390. package/dist/components/layer-list/customElement.js +1 -1
  391. package/dist/components/layer-table/customElement.js +1 -1
  392. package/dist/components/map-card/customElement.js +2 -2
  393. package/dist/components/map-draw-tools/customElement.js +1 -1
  394. package/dist/components/map-fullscreen/customElement.js +1 -1
  395. package/dist/components/map-layer-picker/customElement.js +1 -1
  396. package/dist/components/map-legend/customElement.js +1 -1
  397. package/dist/components/map-picker/customElement.js +1 -1
  398. package/dist/components/map-search/customElement.js +1 -1
  399. package/dist/components/map-select-tools/customElement.js +1 -1
  400. package/dist/components/map-tools/customElement.js +1 -1
  401. package/dist/components/pci-calculator/customElement.js +1 -1
  402. package/dist/components/pdf-download/customElement.js +1 -1
  403. package/dist/components/public-notification/customElement.js +1 -1
  404. package/dist/components/refine-selection/customElement.js +1 -1
  405. package/dist/components/selection-tool/customElement.js +1 -1
  406. package/dist/components/solution-article-card/customElement.js +1 -1
  407. package/dist/components/solution-configuration/customElement.js +1 -1
  408. package/dist/components/solution-configure-dialog/customElement.js +2 -2
  409. package/dist/components/solution-configure-titles/customElement.js +1 -1
  410. package/dist/components/solution-contents/customElement.js +1 -1
  411. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  412. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  413. package/dist/components/solution-deployed-card/customElement.js +2 -2
  414. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  415. package/dist/components/solution-details-card/customElement.js +2 -2
  416. package/dist/components/solution-details-panel/customElement.js +61 -53
  417. package/dist/components/solution-details-panel/index.d.ts +3 -0
  418. package/dist/components/solution-details-panel/index.js +3 -0
  419. package/dist/components/solution-item/customElement.js +1 -1
  420. package/dist/components/solution-item-accordion/customElement.js +1 -1
  421. package/dist/components/solution-item-details/customElement.js +1 -1
  422. package/dist/components/solution-item-diagram/customElement.js +1 -1
  423. package/dist/components/solution-item-icon/customElement.js +1 -1
  424. package/dist/components/solution-item-sharing/customElement.js +1 -1
  425. package/dist/components/solution-organization-variables/customElement.js +1 -1
  426. package/dist/components/solution-resource-item/customElement.js +1 -1
  427. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  428. package/dist/components/solution-social-share/customElement.js +1 -1
  429. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  430. package/dist/components/solution-template-data/customElement.js +1 -1
  431. package/dist/components/solution-variables/customElement.js +1 -1
  432. package/dist/components/solutions-all-panel/customElement.d.ts +0 -2
  433. package/dist/components/solutions-all-panel/customElement.js +10 -8
  434. package/dist/components/solutions-all-shell/customElement.d.ts +1 -9
  435. package/dist/components/solutions-all-shell/customElement.js +52 -95
  436. package/dist/components/solutions-all-shell/index.d.ts +0 -3
  437. package/dist/components/solutions-all-shell/index.js +0 -3
  438. package/dist/components/solutions-article-panel/customElement.js +1 -1
  439. package/dist/components/solutions-articles/customElement.js +1 -1
  440. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  441. package/dist/components/solutions-deploy-app/customElement.js +37 -37
  442. package/dist/components/solutions-deploy-app/index.d.ts +1 -0
  443. package/dist/components/solutions-deploy-app/index.js +1 -0
  444. package/dist/components/solutions-deploy-app-nav/customElement.js +2 -2
  445. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  446. package/dist/components/solutions-deployed-panel/customElement.js +12 -8
  447. package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -9
  448. package/dist/components/solutions-deployed-shell/customElement.js +22 -72
  449. package/dist/components/solutions-deployed-shell/index.d.ts +0 -4
  450. package/dist/components/solutions-deployed-shell/index.js +0 -4
  451. package/dist/components/solutions-filter-panel/customElement.d.ts +0 -7
  452. package/dist/components/solutions-filter-panel/customElement.js +43 -56
  453. package/dist/components/solutions-filter-panel/index.d.ts +0 -1
  454. package/dist/components/solutions-filter-panel/index.js +0 -1
  455. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +58 -0
  456. package/dist/components/solutions-searchsort-toolbar/customElement.js +143 -0
  457. package/dist/components/solutions-searchsort-toolbar/index.d.ts +6 -0
  458. package/dist/components/solutions-searchsort-toolbar/index.js +6 -0
  459. package/dist/components/spatial-ref/customElement.js +1 -1
  460. package/dist/components/store-manager/customElement.js +1 -1
  461. package/dist/docs/api.json +328 -292
  462. package/dist/docs/docs.json +277 -169
  463. package/dist/docs/vscode.html-custom-data.json +46 -41
  464. package/dist/docs/web-types.json +101 -75
  465. package/dist/index.d.ts +20 -3
  466. package/dist/index.js +1 -1
  467. package/dist/loader.js +5 -4
  468. package/dist/types/lumina.d.ts +9 -5
  469. package/dist/types/preact.d.ts +10 -5
  470. package/dist/types/preact10.d.ts +11 -5
  471. package/dist/types/react.d.ts +11 -5
  472. package/dist/types/stencil.d.ts +9 -5
  473. package/dist/utils/interfaces.d.ts +2 -2
  474. package/package.json +1 -1
  475. package/dist/cdn/2MSPFEFE.js +0 -18
  476. package/dist/cdn/2PDT2F6R.js +0 -18
  477. package/dist/cdn/3MZB4QRU.js +0 -18
  478. package/dist/cdn/3POYD4ZP.js +0 -4
  479. package/dist/cdn/5K4XUIFH.js +0 -18
  480. package/dist/cdn/6AB7E2OF.js +0 -18
  481. package/dist/cdn/7Z3YMVGP.js +0 -4
  482. package/dist/cdn/B2HXUTF2.js +0 -18
  483. package/dist/cdn/EFCJL7VM.js +0 -4
  484. package/dist/cdn/FJAKES4K.js +0 -9
  485. package/dist/cdn/I67LETYM.js +0 -4
  486. package/dist/cdn/LGYZZRR2.js +0 -4
  487. package/dist/cdn/OVRB7IJA.js +0 -4
  488. package/dist/cdn/PN2WXU4R.js +0 -4
  489. package/dist/cdn/Q745CTFN.js +0 -18
  490. package/dist/cdn/QO5AJ3X4.js +0 -4
  491. package/dist/cdn/QQYP5BFX.js +0 -18
  492. package/dist/cdn/RE544TB4.js +0 -18
  493. package/dist/cdn/SXCO6SVG.js +0 -4
  494. package/dist/cdn/T24HTKPD.js +0 -5
  495. package/dist/cdn/TP3WAZGO.js +0 -18
  496. package/dist/cdn/UJICK23Y.js +0 -18
  497. package/dist/cdn/ULJUKK7A.js +0 -18
  498. package/dist/cdn/UREURCZB.js +0 -4
  499. package/dist/cdn/VVEHDEIK.js +0 -4
  500. package/dist/cdn/VXJNMDNA.js +0 -18
  501. package/dist/cdn/XDFZ5TE5.js +0 -4
@@ -69,6 +69,7 @@ import type { SolutionsDeployedFilterPanel } from "../components/solutions-deplo
69
69
  import type { SolutionsDeployedPanel } from "../components/solutions-deployed-panel";
70
70
  import type { SolutionsDeployedShell } from "../components/solutions-deployed-shell";
71
71
  import type { SolutionsFilterPanel } from "../components/solutions-filter-panel";
72
+ import type { SolutionsSearchSortToolbar } from "../components/solutions-searchsort-toolbar";
72
73
  import type { SpatialRef } from "../components/spatial-ref";
73
74
  import type { StoreManager } from "../components/store-manager";
74
75
  import type { HTMLProps } from 'react';
@@ -356,13 +357,11 @@ interface ReactSolutionsAllPanel extends Partial<Pick<SolutionsAllPanel, 'agoSol
356
357
  onallCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["allCardsFetched"]>;
357
358
  oncardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["cardsFetched"]>;
358
359
  onsearchTermSet?: EventHandler<HTMLSolutionsAllPanelElement["searchTermSet"]>;
359
- onsortTypeSet?: EventHandler<HTMLSolutionsAllPanelElement["sortTypeSet"]>;
360
360
  }
361
361
 
362
- interface ReactSolutionsAllShell extends Partial<Pick<SolutionsAllShell, 'appConfig' | 'solutionsCount' | 'sortType'>>, HTMLProps<HTMLSolutionsAllShellElement> {
362
+ interface ReactSolutionsAllShell extends Partial<Pick<SolutionsAllShell, 'appConfig' | 'solutionsCount'>>, HTMLProps<HTMLSolutionsAllShellElement> {
363
363
  onfilterRemoved?: EventHandler<HTMLSolutionsAllShellElement["filterRemoved"]>;
364
364
  onsolutionsAllLoaded?: EventHandler<HTMLSolutionsAllShellElement["solutionsAllLoaded"]>;
365
- onsortTypeChanged?: EventHandler<HTMLSolutionsAllShellElement["sortTypeChanged"]>;
366
365
  }
367
366
 
368
367
  interface ReactSolutionsArticlePanel extends Partial<Pick<SolutionsArticlePanel, 'heading' | 'href'>>, HTMLProps<HTMLSolutionsArticlePanelElement> {
@@ -393,9 +392,8 @@ interface ReactSolutionsDeployedPanel extends Partial<Pick<SolutionsDeployedPane
393
392
  ondeployedSearchTermSet?: EventHandler<HTMLSolutionsDeployedPanelElement["deployedSearchTermSet"]>;
394
393
  }
395
394
 
396
- interface ReactSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShell, 'appConfig' | 'solutionsCount' | 'sortType'>>, HTMLProps<HTMLSolutionsDeployedShellElement> {
395
+ interface ReactSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShell, 'appConfig' | 'solutionsCount'>>, HTMLProps<HTMLSolutionsDeployedShellElement> {
397
396
  onfilterRemoved?: EventHandler<HTMLSolutionsDeployedShellElement["filterRemoved"]>;
398
- onsortTypeChanged?: EventHandler<HTMLSolutionsDeployedShellElement["sortTypeChanged"]>;
399
397
  ontokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
400
398
  }
401
399
 
@@ -403,6 +401,11 @@ interface ReactSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel, '
403
401
  onapplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
404
402
  }
405
403
 
404
+ interface ReactSolutionsSearchsortToolbar extends Partial<Pick<SolutionsSearchSortToolbar, 'defaultSortType' | 'isAllSolutions' | 'isMobile' | 'scope'>>, HTMLProps<HTMLSolutionsSearchsortToolbarElement> {
405
+ onsearchChanged?: EventHandler<HTMLSolutionsSearchsortToolbarElement["searchChanged"]>;
406
+ onsortTypeChanged?: EventHandler<HTMLSolutionsSearchsortToolbarElement["sortTypeChanged"]>;
407
+ }
408
+
406
409
  interface ReactSpatialRef extends Partial<Pick<SpatialRef, 'defaultWkid' | 'disabled' | 'value'>>, HTMLProps<HTMLSpatialRefElement> {
407
410
  onspatialReferenceChange?: EventHandler<HTMLSpatialRefElement["spatialReferenceChange"]>;
408
411
  }
@@ -484,6 +487,7 @@ declare module "react" {
484
487
  "solutions-deployed-panel": ReactSolutionsDeployedPanel;
485
488
  "solutions-deployed-shell": ReactSolutionsDeployedShell;
486
489
  "solutions-filter-panel": ReactSolutionsFilterPanel;
490
+ "solutions-searchsort-toolbar": ReactSolutionsSearchsortToolbar;
487
491
  "spatial-ref": ReactSpatialRef;
488
492
  "store-manager": ReactStoreManager;
489
493
  }
@@ -562,6 +566,7 @@ declare module "react/jsx-runtime" {
562
566
  "solutions-deployed-panel": ReactSolutionsDeployedPanel;
563
567
  "solutions-deployed-shell": ReactSolutionsDeployedShell;
564
568
  "solutions-filter-panel": ReactSolutionsFilterPanel;
569
+ "solutions-searchsort-toolbar": ReactSolutionsSearchsortToolbar;
565
570
  "spatial-ref": ReactSpatialRef;
566
571
  "store-manager": ReactStoreManager;
567
572
  }
@@ -640,6 +645,7 @@ declare module "react/jsx-dev-runtime" {
640
645
  "solutions-deployed-panel": ReactSolutionsDeployedPanel;
641
646
  "solutions-deployed-shell": ReactSolutionsDeployedShell;
642
647
  "solutions-filter-panel": ReactSolutionsFilterPanel;
648
+ "solutions-searchsort-toolbar": ReactSolutionsSearchsortToolbar;
643
649
  "spatial-ref": ReactSpatialRef;
644
650
  "store-manager": ReactStoreManager;
645
651
  }
@@ -69,6 +69,7 @@ import type { SolutionsDeployedFilterPanel } from "../components/solutions-deplo
69
69
  import type { SolutionsDeployedPanel } from "../components/solutions-deployed-panel";
70
70
  import type { SolutionsDeployedShell } from "../components/solutions-deployed-shell";
71
71
  import type { SolutionsFilterPanel } from "../components/solutions-filter-panel";
72
+ import type { SolutionsSearchSortToolbar } from "../components/solutions-searchsort-toolbar";
72
73
  import type { SpatialRef } from "../components/spatial-ref";
73
74
  import type { StoreManager } from "../components/store-manager";
74
75
  import { JSXBase as StencilJsx } from "@stencil/core/internal";
@@ -356,13 +357,11 @@ interface StencilSolutionsAllPanel extends Partial<Pick<SolutionsAllPanel, 'agoS
356
357
  onAllCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["allCardsFetched"]>;
357
358
  onCardsFetched?: EventHandler<HTMLSolutionsAllPanelElement["cardsFetched"]>;
358
359
  onSearchTermSet?: EventHandler<HTMLSolutionsAllPanelElement["searchTermSet"]>;
359
- onSortTypeSet?: EventHandler<HTMLSolutionsAllPanelElement["sortTypeSet"]>;
360
360
  }
361
361
 
362
- interface StencilSolutionsAllShell extends Partial<Pick<SolutionsAllShell, 'appConfig' | 'solutionsCount' | 'sortType'>>, StencilJsx.HTMLAttributes<HTMLSolutionsAllShellElement> {
362
+ interface StencilSolutionsAllShell extends Partial<Pick<SolutionsAllShell, 'appConfig' | 'solutionsCount'>>, StencilJsx.HTMLAttributes<HTMLSolutionsAllShellElement> {
363
363
  onFilterRemoved?: EventHandler<HTMLSolutionsAllShellElement["filterRemoved"]>;
364
364
  onSolutionsAllLoaded?: EventHandler<HTMLSolutionsAllShellElement["solutionsAllLoaded"]>;
365
- onSortTypeChanged?: EventHandler<HTMLSolutionsAllShellElement["sortTypeChanged"]>;
366
365
  }
367
366
 
368
367
  interface StencilSolutionsArticlePanel extends Partial<Pick<SolutionsArticlePanel, 'heading' | 'href'>>, StencilJsx.HTMLAttributes<HTMLSolutionsArticlePanelElement> {
@@ -393,9 +392,8 @@ interface StencilSolutionsDeployedPanel extends Partial<Pick<SolutionsDeployedPa
393
392
  onDeployedSearchTermSet?: EventHandler<HTMLSolutionsDeployedPanelElement["deployedSearchTermSet"]>;
394
393
  }
395
394
 
396
- interface StencilSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShell, 'appConfig' | 'solutionsCount' | 'sortType'>>, StencilJsx.HTMLAttributes<HTMLSolutionsDeployedShellElement> {
395
+ interface StencilSolutionsDeployedShell extends Partial<Pick<SolutionsDeployedShell, 'appConfig' | 'solutionsCount'>>, StencilJsx.HTMLAttributes<HTMLSolutionsDeployedShellElement> {
397
396
  onFilterRemoved?: EventHandler<HTMLSolutionsDeployedShellElement["filterRemoved"]>;
398
- onSortTypeChanged?: EventHandler<HTMLSolutionsDeployedShellElement["sortTypeChanged"]>;
399
397
  onTokenRefreshed?: EventHandler<HTMLSolutionsDeployedShellElement["tokenRefreshed"]>;
400
398
  }
401
399
 
@@ -403,6 +401,11 @@ interface StencilSolutionsFilterPanel extends Partial<Pick<SolutionsFilterPanel,
403
401
  onApplyFilter?: EventHandler<HTMLSolutionsFilterPanelElement["applyFilter"]>;
404
402
  }
405
403
 
404
+ interface StencilSolutionsSearchsortToolbar extends Partial<Pick<SolutionsSearchSortToolbar, 'defaultSortType' | 'isAllSolutions' | 'isMobile' | 'scope'>>, StencilJsx.HTMLAttributes<HTMLSolutionsSearchsortToolbarElement> {
405
+ onSearchChanged?: EventHandler<HTMLSolutionsSearchsortToolbarElement["searchChanged"]>;
406
+ onSortTypeChanged?: EventHandler<HTMLSolutionsSearchsortToolbarElement["sortTypeChanged"]>;
407
+ }
408
+
406
409
  interface StencilSpatialRef extends Partial<Pick<SpatialRef, 'defaultWkid' | 'disabled' | 'value'>>, StencilJsx.HTMLAttributes<HTMLSpatialRefElement> {
407
410
  onSpatialReferenceChange?: EventHandler<HTMLSpatialRefElement["spatialReferenceChange"]>;
408
411
  }
@@ -482,6 +485,7 @@ interface ExposedElements {
482
485
  "solutions-deployed-panel": StencilSolutionsDeployedPanel;
483
486
  "solutions-deployed-shell": StencilSolutionsDeployedShell;
484
487
  "solutions-filter-panel": StencilSolutionsFilterPanel;
488
+ "solutions-searchsort-toolbar": StencilSolutionsSearchsortToolbar;
485
489
  "spatial-ref": StencilSpatialRef;
486
490
  "store-manager": StencilStoreManager;
487
491
  }
@@ -582,8 +582,8 @@ export interface IFilterOption {
582
582
  industry?: string;
583
583
  }
584
584
  export interface IFilterSetting {
585
- categories: IFilterOption[];
586
- searchTerm: string;
585
+ categories?: IFilterOption[];
586
+ searchTerm?: string;
587
587
  }
588
588
  export interface ISearchOption {
589
589
  searchTerm: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "1.1.0-next.20251010",
3
+ "version": "1.1.0-next.20251015",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251010 */
4
- import{a as u}from"./RGRSABER.js";import{a as g,c as m}from"./HO27U7H4.js";import{b as l}from"./H67S7FDO.js";import"./VAU3FWJH.js";import"./67YSSFYI.js";import"./ONO5CKRU.js";import"./J3K53EBK.js";import"./ERNJAQCN.js";import"./NHKWESC7.js";import"./W5CZMOJ7.js";import"./KBGGCVOD.js";import"./DPOSATX6.js";import"./55D4ZKBZ.js";import"./ZWCI7OX5.js";import"./CBR6KSVN.js";import"./SOS5Q6DN.js";import"./7HX3NS6O.js";import"./PWJSYK5F.js";import"./NJVT2AOU.js";import"./455QGLQO.js";import"./D3UXQLZ4.js";import"./KD2JMMMY.js";import"./RS25C5YH.js";import{a as p}from"./4BHIKZVY.js";import"./6ELQLKBQ.js";import"./W57UT2YJ.js";import{b as h}from"./YFUCD5LV.js";import{C as o,D as s,E as d,I as i,h as r,i as t,j as c}from"./ADDCC7CS.js";import"./ZEQNF33D.js";var f=r`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-card{width:295px;height:100%;padding-bottom:2px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:1.2rem}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: 0px}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:.5rem}.padding-bottom-1-2{padding-bottom:.5rem}.display-flex{display:flex}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:.5rem;margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}.cursor-default{cursor:default}`,n=class extends d{constructor(){super(...arguments),this.allowDelete=!1,this.deployedDate="",this.description="",this.diagramKey="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.templateInfos=[],this._isConfigureOpen=!1,this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.templateInfoGraph=[],this._configureTitlesOpen=!1,this._translations=p({name:"solution-deployed-card",blocking:!0}),this._authContextConsumer=l({context:m,subscribe:!0}),this._configureDialogRef=o(),this._deleteDialogRef=o(),this._diagramDialogRef=o(),this._userSessionContextConsumer=l({context:g,subscribe:!0})}static{this.properties={allowDelete:5,card:0,deployedDate:1,description:1,diagramKey:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,templateInfos:0,cardRef:0,_isConfigureOpen:16,_isDeleteOpen:16,_isDiagramOpen:16,templateInfoGraph:16,_configureTitlesOpen:16,_translations:16}}static{this.styles=f}async renderConfigureDialog(e){this._cardSelected(),this._configureDialogRef.value&&(this._configureDialogRef.value.showSuccessAlert=e)}async renderDeleteDialog(){return this._isDeleteOpen=!0,this._renderDeleteDialog(),this._deleteDialogRef.value}async renderDiagramDialog(e){return this._isDiagramOpen=!0,await this._viewDiagram(e),await this._renderDiagramDialog(),this._diagramDialogRef.value}async getTemplates(){return this._processTemplates(this.card)}willUpdate(e){e.has("card")&&this._processTemplates(this.card).then(a=>{this.templateInfos=a})}render(){return t`<calcite-card .label=${this.description} @click=${this._cardSelected}>${this._getImage()}${this._getHeader()}<p slot=description class="font-color-text-2 font-line-height font-size-size--1">${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${this._getOwnerLabel()}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureDialog()}${this._renderConfigureTitlesDialog()}`}_getImage(){let e=this._userSessionContextConsumer.value;return t`<div class="card-image-wrap" slot=thumbnail><img class="thumbnail card-image" alt=${this.heading??i} src=${`${this.thumbnail}&token=${e?.token}`}><div class="hover-text">${this._translations.openSolution}</div></div>`}_getHeader(){return t`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`}_getOwnerLabel(){return t`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return t`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${c`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}",this.deployedDate)}</calcite-label></div>`}_getConfigureButton(){return t`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution??i} dropdown-label=${this._translations.moreActions??i} kind=neutral @calciteSplitButtonPrimaryClick=${()=>{this._isConfigureOpen=!0}} @click=${e=>e.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution??i} width=full><calcite-dropdown-group selection-mode=none><calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=model @click=${this._viewDiagram}>${this._translations.viewDiagram}</calcite-dropdown-item><calcite-dropdown-item icon-start=edit-attributes @click=${()=>{this._configureTitlesOpen=!0}}>${this._translations.renameItems}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails}>${this._translations.viewItemDetails}</calcite-dropdown-item>${this.allowDelete&&t`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group></calcite-split-button>`}_renderDeleteDialog(){return this._isDeleteOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${e=>{this._isDeleteOpen=e.detail}} .open=${this._isDeleteOpen} ${s(this._deleteDialogRef)}></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?t`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")??i} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled resizable scale=l width=l ${s(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}_renderConfigureDialog(){return t`<solution-configure-dialog .card=${this.card} .cardRef=${this.el} @solutionConfigureDialogClose=${()=>{this._isConfigureOpen=!1}} .open=${this._isConfigureOpen} ${s(this._configureDialogRef)}></solution-configure-dialog>`}_renderConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${()=>{this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this._processTemplates(this.card).then(e=>{this.templateInfos=e})}} .open=${this._configureTitlesOpen} .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_cardSelected(){this._isConfigureOpen=!0}async _viewDiagram(e){e.stopPropagation(),this.card&&(this.templateInfoGraph=await this._processTemplates(this.card),this._isDiagramOpen=!0)}_viewDocumentation(e){e.stopPropagation(),window.open(this.card.learnMoreUrl,"_blank")}_viewItemDetails(e){e.stopPropagation(),window.open(this.card.itemUrl,"_blank")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation();let a=this._authContextConsumer.value?.PortalSubset?.orgUrl;a&&window.open(`${a}/home/user.html?user=${this.owner}`,"_blank")}async _processTemplates(e){return await u(e.id,this._userSessionContextConsumer.value)}};h("solution-deployed-card",n);export{n as SolutionDeployedCard};
@@ -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.20251010 */
4
- import{a as h}from"./AQ4DAFFG.js";import{k as m}from"./IGRH2K6T.js";import{a as A}from"./4BHIKZVY.js";import"./6ELQLKBQ.js";import"./W57UT2YJ.js";import{b as I}from"./YFUCD5LV.js";import{E as F,h as S,i as n,o as y}from"./ADDCC7CS.js";import"./ZEQNF33D.js";var T=S`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.border-color{--calcite-block-border-color: #00000000}`;var N={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},R=Object.keys(m).reduce((u,t)=>{let e=t;return u[e]=N[e]??[],u},{}),E=class extends F{constructor(){super(),this.hideIndustryFilter=!1,this.isAIsettingEnabled=!1,this._activeFilterSettings={categories:[],searchTerm:""},this._translations=A({name:"solutions-filter-panel",blocking:!0}),this.applyFilter=y(),this._handleFilterRemoved=t=>{let e=t.detail;Array.isArray(e)&&(this._activeFilterSettings={...this._activeFilterSettings,categories:[...e]})},this.listenOn(window,"filterRemoved",this._handleFilterRemoved)}static{this.properties={hideIndustryFilter:5,isAIsettingEnabled:5,_activeFilterSettings:16,_translations:16}}static{this.styles=T}changeIndustryFilter(t,e,o,d){if(t!==""||e!==""){let c=[];e!==""?c=[{displayValue:m[t],type:"industry",value:t,industry:t,domain:""},{displayValue:o,type:"domain",value:e,industry:t,domain:e}]:c=[{displayValue:o,type:e!==""?"domain":"industry",value:e!==""?e:t,industry:t,domain:e}],this._activeFilterSettings={...this._activeFilterSettings,categories:[...c]},d&&this.applyFilter.emit(c)}else{let c={displayValue:o,type:"industry",value:t,industry:t,domain:e};this._activeFilterSettings={...this._activeFilterSettings,categories:[c]},d&&this.applyFilter.emit(c)}}changeSearchFilter(t,e){this._activeFilterSettings={...this._activeFilterSettings,searchTerm:t},e&&this.applyFilter.emit({searchTerm:t})}clearFilters(){this.changeIndustryFilter("","",""),this.changeSearchFilter(""),this.applyFilter.emit(null)}render(){return n`<calcite-panel description .heading=${this._translations.findSolutions}><calcite-action icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action><calcite-input-text class="width-full" clearable icon=search @keyup=${t=>{let e=t.target;t.key==="Enter"?this.changeSearchFilter(e.value,!0):this.changeSearchFilter(e.value,e.value.length>=3||e.value.length===0)}} @blur=${t=>{let e=t.target;this.changeSearchFilter(e.value,!0)}} .placeholder=${this._translations.search.solutions} slot=content-top .value=${this._activeFilterSettings.searchTerm}></calcite-input-text><calcite-block-group .label=${this._translations.filters}>${!this.hideIndustryFilter&&this.renderIndustryBlock()||""}</calcite-block-group>${this.isAIsettingEnabled&&n`<calcite-button icon-start=speech-bubbles label="Solutions Assistant" round scale=l slot=footer-start></calcite-button>`||""}</calcite-panel>`}renderIndustryBlock(){let t=(i,a)=>this._activeFilterSettings.categories.some(s=>s.industry===i&&(s.domain??"")===a),e=i=>this._activeFilterSettings.categories.some(a=>a.industry===i&&(a.domain??"")===""),o=(i,a)=>a.length>0&&(e(i)||this._activeFilterSettings.categories.some(s=>s.industry===i&&!!s.domain&&a.includes(s.domain))),d=(i,a)=>a.map(s=>{let l=Object.keys(this._translations.industriesDomain).find(p=>p.toUpperCase()===s.toUpperCase()),r=l&&l in this._translations.industriesDomain?this._translations.industriesDomain[l]:s;return t(i,s)?h(s,n`<calcite-tree-item .label=${r} @click=${()=>this.changeIndustryFilter(i,s,r,!0)} selected>${r}</calcite-tree-item>`):h(s,n`<calcite-tree-item .label=${r} @click=${()=>this.changeIndustryFilter(i,s,r,!0)}>${r}</calcite-tree-item>`)}),c=Object.entries(R).map(([i,a])=>{let s=Object.keys(this._translations.industries).find(b=>b.toUpperCase()===i.toUpperCase()),l=s&&s in this._translations.industries?this._translations.industries[s]:i,r=a,p=e(i),g=o(i,r);return p?h(i,n`<calcite-tree-item .label=${l} @click=${()=>this.changeIndustryFilter(i,"",l,!0)} selected .expanded=${g?!0:void 0}>${l}${r.length>0&&n`<calcite-tree slot=children selection-mode=multiple>${d(i,r)}</calcite-tree>`||""}</calcite-tree-item>`):h(i,n`<calcite-tree-item .label=${l} @click=${()=>this.changeIndustryFilter(i,"",l,!0)} .expanded=${g?!0:void 0}>${l}${r.length>0&&n`<calcite-tree slot=children selection-mode=multiple>${d(i,r)}</calcite-tree>`||""}</calcite-tree-item>`)});return n`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-tree selection-mode=single-persist>${c}</calcite-tree></calcite-block>`}};I("solutions-filter-panel",E);export{E as SolutionsFilterPanel};
@@ -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.20251010 */
4
- import j from"./DTX6B6G4.js";import i from"./UBO7PGV5.js";import e from"./YATQWZVW.js";import{b as w}from"./O6TZ66V7.js";import b from"./2CMXI42C.js";import{a as y,c as f}from"./HO27U7H4.js";import{b as l}from"./H67S7FDO.js";import"./VAU3FWJH.js";import"./67YSSFYI.js";import"./ONO5CKRU.js";import"./J3K53EBK.js";import"./ERNJAQCN.js";import"./NHKWESC7.js";import"./W5CZMOJ7.js";import"./KBGGCVOD.js";import"./DPOSATX6.js";import"./55D4ZKBZ.js";import"./ZWCI7OX5.js";import"./CBR6KSVN.js";import"./SOS5Q6DN.js";import"./7HX3NS6O.js";import"./PWJSYK5F.js";import"./NJVT2AOU.js";import"./455QGLQO.js";import"./D3UXQLZ4.js";import"./KD2JMMMY.js";import"./RS25C5YH.js";import{m as g,o as a}from"./IGRH2K6T.js";import{a as u}from"./4BHIKZVY.js";import"./6ELQLKBQ.js";import"./W57UT2YJ.js";import{b as m}from"./YFUCD5LV.js";import{D as p,E as _,G as o,h,i as s,j as d,l as c,o as r}from"./ADDCC7CS.js";import"./ZEQNF33D.js";export default $arcgis.t(([,,i,C])=>{var v=h`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}`,S=5,n=class extends _{constructor(){super(),this.agoSolutionsGroupId="",this.diagramKey="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="created",this._cards=[],this._cardsFetching=!1,this._modifiedCheckTry=0,this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._translations=u({name:"solutions-deployed-panel",blocking:!0}),this._agoTerms=a,this._allCards=[],this._authContextConsumer=l({context:f,subscribe:!0}),this._baseAgoTerms=a,this._categories=[],this._delay=!1,this._isOrgAdmin=!1,this._owner=g.OWNER,this._sortField="created",this._sortOrder="desc",this._userSessionContextConsumer=l({context:y,subscribe:!0}),this.deployedCardsFetched=r(),this.deployedSearchTermSet=r(),this.listenOn(window,"solutionDeleted",e=>{this._modifiedCheckTry=S,this.reload(e.detail.showAlert,e.detail.refreshSolutionsTimeout)}),this.listenOn(window,"solutionConfigureDialogClose",e=>{e.detail&&this.reload(!1,!1)}),this.listenOn(window,"deployProgressEnd",e=>{this._modifiedCheckTry=S,this._refresh(e)})}static{this.properties={agoSolutionsGroupId:1,diagramKey:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,_cards:16,_cardsFetching:16,_modifiedCheckTry:16,_newId:16,_refs:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=v}async reload(e=!0,t=!0){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),e&&(this._showDeleteCompleteAlert=!0),t?setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(x){console.error("Error getting deployed solutions:",x)}})()},500):await this._getDeployedSolutions()}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):e.type==="owner"&&(this._owner=e.value):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.deployedSearchTermSet.emit(e.searchTerm)),"sortType"in e&&this._sortCards(e))}async load(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),this._isOrgAdmin=w(this._authContextConsumer.value),await this._getDeployedSolutions()}render(){let e=this._cardsFetching?"":"display-none",t=this._cardsFetching?"display-none":"";return s`<h1><calcite-loader class=${o(e)} .label=${this._translations.fetchingDeployedSolutions}></calcite-loader><calcite-panel class=${o(t)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel></h1>`}updated(e){e.has("_refs")&&this._newId&&Object.keys(this._refs).indexOf(this._newId)>-1&&(this._refs[this._newId].renderConfigureDialog(!0),this._newId="")}_renderCards(){return this._cards.length?(this._refs={},this._cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this._userSessionContextConsumer.value.username||this.checkDeletePermissions()} .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this.diagramKey} .heading=${e.title} id=${e.id??c} .itemId=${e.id} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} ${p(this._handleRefs)}></solution-deployed-card>`)):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){this._cardsFetching=!0;let e=await C(this._authContextConsumer.value,this._userSessionContextConsumer.value,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this._modifiedCheckTry>0&&(this._cards.length===e?.cards.length?(this._modifiedCheckTry--,this._getDeployedSolutions()):this._modifiedCheckTry=0),this._cards=e?.cards??[],this.deployedCardsFetched.emit(this._cards.length),this._cardsFetching=!1}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${d`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this._authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}async _refresh(e){let t=e.detail;t&&(this._newId=t,await this._getDeployedSolutions())}};m("solutions-deployed-panel",n);return n},b,e,i,j)
@@ -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.20251010 */
4
- import{a as O}from"./ONO5CKRU.js";import{e as _}from"./KBGGCVOD.js";import{a as l,f as p}from"./ZWCI7OX5.js";import"./KD2JMMMY.js";import"./ZEQNF33D.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./H6I4AMQ6.js"),m={"hub:card:stat":()=>import("./ADD24STC.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./PIZV7OMM.js"),m={"hub:card:follow":()=>import("./QEUWT73Y.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./4C77TINB.js"),m=import("./XYUHJOUM.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./YAQR7RXF.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./BYDKUR4C.js"),"hub:site:create":()=>import("./JITG34US.js"),"hub:site:followers":()=>import("./VE2BNDPB.js"),"hub:site:discussions":()=>import("./3Q7ZQFR6.js"),"hub:site:settings":()=>import("./FT6BKS4B.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./4PUNI4BE.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./HJ3BYRHK.js"),"hub:discussion:create":()=>import("./ZVLGMU5X.js"),"hub:discussion:settings":()=>import("./VPPZQP75.js"),"hub:discussion:settings:discussions":()=>import("./AJQW2EII.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./UREURCZB.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./WDZJDCUZ.js"),"hub:channel:create":()=>import("./7Z3YMVGP.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./I67LETYM.js");r=l(n);let v=await{"hub:project:edit":()=>import("./3UWOXDMN.js"),"hub:project:create":()=>import("./4UMMWUP7.js"),"hub:project:create2":()=>import("./LE5BPCXU.js"),"hub:project:metrics":()=>import("./RWO2U6P5.js"),"hub:project:settings":()=>import("./BCITBBXA.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./VVEHDEIK.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./MLMGOUJR.js"),"hub:initiative:create":()=>import("./S53PQ4WR.js"),"hub:initiative:create2":()=>import("./AVB65JR7.js"),"hub:initiative:metrics":()=>import("./FYUGMNXU.js"),"hub:initiative:associations":()=>import("./HSFVG4T4.js"),"hub:initiative:settings":()=>import("./2DPQ2B44.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./IHULBHNY.js");r=l(I);let D=await{"hub:page:edit":()=>import("./TYKODBD3.js"),"hub:page:create":()=>import("./AFPPVJPV.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./5RQM2YVQ.js");r=l(K);let U=await{"hub:content:edit":()=>import("./BIB4XVIA.js"),"hub:content:discussions":()=>import("./VPXQ4WQE.js"),"hub:content:settings":()=>import("./2MSYDJDM.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./LHAGAIMX.js");r=l(y);let k=await{"hub:template:edit":()=>import("./KEQWEGCA.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./QO5AJ3X4.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./2WNJ3X5Q.js"),"hub:group:create:association":()=>import("./YVDYCJ5I.js"),"hub:group:create:view":()=>import("./AW2CJNSQ.js"),"hub:group:create:edit":()=>import("./R62ZHQXB.js"),"hub:group:create":()=>import("./VP6RSMIG.js"),"hub:group:edit":()=>import("./HTTHAERC.js"),"hub:group:settings":()=>import("./DZ5QJEFF.js"),"hub:group:discussions":()=>import("./TUPSNUMV.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./2O3XDMGT.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./RM6ESPC6.js"),"hub:survey:settings":()=>import("./PTPPRH5Q.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./OVRB7IJA.js"),"hub:event:edit":()=>import("./HNT33VRV.js"),"hub:event:registrants":()=>import("./TYWGZ2E4.js")}[a](),H=await{"hub:event:create":()=>import("./Z2GEQSTV.js"),"hub:event:edit":()=>import("./E2A5G5TL.js"),"hub:event:registrants":()=>import("./RPJ7NIN2.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./KTLYXGNH.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./RBFGYWKV.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./NBTAP6ZU.js");r=l(N);let P=await{"hub:user:settings":()=>import("./ROQFCS7S.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251010 */
4
- import b from"./YATQWZVW.js";import a from"./2CMXI42C.js";import"./VAU3FWJH.js";import"./67YSSFYI.js";import"./ONO5CKRU.js";import"./J3K53EBK.js";import"./ERNJAQCN.js";import"./NHKWESC7.js";import"./W5CZMOJ7.js";import"./KBGGCVOD.js";import"./DPOSATX6.js";import"./55D4ZKBZ.js";import"./ZWCI7OX5.js";import"./CBR6KSVN.js";import"./SOS5Q6DN.js";import"./7HX3NS6O.js";import"./PWJSYK5F.js";import"./NJVT2AOU.js";import"./455QGLQO.js";import"./D3UXQLZ4.js";import"./KD2JMMMY.js";import"./RS25C5YH.js";import"./IGRH2K6T.js";import{a as h}from"./4BHIKZVY.js";import"./6ELQLKBQ.js";import"./W57UT2YJ.js";import{b as d}from"./YFUCD5LV.js";import{E as l,G as n,I as i,h as c,i as t,o as r}from"./ADDCC7CS.js";import"./ZEQNF33D.js";export default $arcgis.t(([,{e:p}])=>{var u=c`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-card{width:240px;height:100%;padding-bottom:2px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}.chip-status{--calcite-chip-icon-color: var(--calcite-ui-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:1.2rem}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:.5rem;margin-bottom:.7rem}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}a{text-decoration:none;color:inherit;outline:0;padding:0;margin:0;display:inherit;height:100%}`,s=class extends l{constructor(){super(...arguments),this._translations=h({name:"solution-details-card",blocking:!0}),this.detailsCardSelected=r()}static{this.properties={card:0,_translations:16}}static{this.styles=u}render(){let e=p(this.card.title);return console.warn("TODO update string after R3 release"),t`<a href=${e??i} @click=${this._anchorClick} .title=${`${this.card.title} - ArcGIS Solutions`}>${this._renderCard()}</a>`}_anchorClick(e){e.preventDefault()}_cardSelected(){this.detailsCardSelected.emit(this.card)}_renderCard(){let e=this.card,m=e.chip==="new"||e.chip==="updated"?"chip-status":this.card.chip==="deployed"?"chip-deployed":"",o="solution-details-card-chip",a=e.chip==="new"?this._translations.newSolution:e.chip==="updated"?this._translations.updated:this._translations.deployed;return t`<calcite-card .label=${e.snippet} @click=${this._cardSelected}><div class="card-image-wrap" slot=thumbnail><img alt=${e.title??i} class="thumbnail card-image" src=${e.thumbnailUrl??i}><div class="hover-text">${this._translations.viewDetails}</div></div><calcite-label slot=heading class="header-line-height" scale=l>${e.title}</calcite-label><p slot=description class="font-color-text-2 font-line-height font-size-size--1">${e.snippet}</p>${e.chip!=="none"?t`<div slot=footer-end><calcite-chip class=${n(m)} .icon=${e.chip==="updated"||e.chip==="new"?"mega-phone":"check-circle"} id=${o} .label=${a} .value=${a} scale=s></calcite-chip><calcite-tooltip .referenceElement=${o}><span>${a}</span></calcite-tooltip></div>`:void 0}<div slot=footer-start></div></calcite-card>`}};d("solution-details-card",s);return s},a,b)
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251010 */
4
- import{c as m}from"./HO27U7H4.js";import{b as g}from"./H67S7FDO.js";import{a as u}from"./4BHIKZVY.js";import"./6ELQLKBQ.js";import"./W57UT2YJ.js";import{b as p}from"./YFUCD5LV.js";import{C as s,E as h,h as c,i as t,o as d}from"./ADDCC7CS.js";import"./ZEQNF33D.js";var b=c`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.minor-card{width:16%}.center{justify-content:center;align-items:center}.align-self-center{align-self:center}.font-weight-semibold{font-weight:var(--calcite-font-weight-semibold)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.icon-color{color:var(--calcite-color-text-3)}.font-weight-normal{font-weight:var(--calcite-font-weight-normal)}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.no-space{--calcite-label-margin-bottom: 0px}.font-color{color:red}.padding-end-1-2{padding-inline-end:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.edit-button-position{position:absolute;right:1rem}html[dir=rtl] .edit-button-position{position:absolute;left:1rem}.max-width-35{max-width:35vw}.large-card{width:49%}.btn-center{width:100%;display:grid;place-items:center}.width-full{width:100%}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.width-400{width:400px}.width-450{width:450px}.padding-3-4{padding:.75rem}.margin-0{margin:0}.calcite-internal-dialog-content-padding-override{--calcite-internal-dialog-content-padding: 0px}.background-color-2{background-color:var(--calcite-color-foreground-2)}.card-group-padding,.solution-content-padding{padding:1rem}@media (max-width: 1240px){.large-card{width:48%}}.error-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.button-flex{display:flex;flex-wrap:wrap}.label-override{--calcite-label-margin-bottom: 0px}.icon-size-override{height:48px;width:48px}`,l=165,o=class extends h{constructor(){super(...arguments),this.open=!1,this.showSuccessAlert=!1,this.templateInfos=[],this._configureTitlesOpen=!1,this._deleteDialogOpen=!1,this._displayClass="",this._isNameConflict=!1,this._invalidNameMessage="",this._showFailedAlert=!1,this._showItemUpdateLoading=!1,this._translations=u({name:"solution-configure-dialog",blocking:!0}),this._authContextConsumer=g({context:m,subscribe:!0}),this._editSummaryPopoverRef=s(),this._editNamePopoverRef=s(),this._solutionSnippetUpdated=!1,this._solutionTitleUpdated=!1,this.solutionConfigureDialogClose=d()}static{this.properties={card:0,cardRef:1,open:5,showSuccessAlert:5,templateInfos:0,_configureTitlesOpen:16,_deleteDialogOpen:16,_displayClass:16,_isNameConflict:16,_invalidNameMessage:16,_showFailedAlert:16,_showItemUpdateLoading:16,_translations:16}}static{this.styles=b}updated(e){if(e.has("open")){let i=e.get("open");this.open&&!i&&this.cardRef.getTemplates().then(a=>{this.templateInfos=a})}}render(){return t`<div>${this.templateInfos.length>0&&t`<calcite-dialog class=${`${this._displayClass} calcite-internal-dialog-content-padding-override`} .heading=${this.card?.title} modal @calciteDialogClose=${()=>{this.open=!1,this.solutionConfigureDialogClose.emit(this._solutionSnippetUpdated||this._solutionTitleUpdated),this._cleanupPanel(),this.card=void 0,this.templateInfos=[],this.showSuccessAlert=!1}} .open=${this.open} outside-close-disabled width=l><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row card-group-padding background-color-2"><calcite-card-group .label=${this._translations.reviewAndConfigureSolution}>${this._getStartHereCard()}${this._getDiagramCard()}${this._getSolutionCard()}${this._getSolutionVersionCard()}</calcite-card-group></div>${this._getSolutionContents()}</div><div slot=footer-start></div><calcite-button appearance=outline @click=${this._close} slot=footer-end>${this._translations.closeTheDialog}</calcite-button><div slot=alerts>${this._getSuccessAlert()}${this._getFailedAlert()}</div></calcite-dialog>`||""}${this.templateInfos.length>0&&this._getConfigureTitlesDialog()||""}${this.templateInfos.length>0&&this._getDeleteDialog()||""}</div>`}_getConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${()=>{this._displayClass="",this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this.templateInfos=await this.cardRef.getTemplates()}} .open=${this._configureTitlesOpen} .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_getFailedAlert(){let e=this._failedType==="snippet"?this._translations.failedToUpdateSnippet:this._failedType==="title"?this._translations.failedToUpdateTitle:this._failedType==="titles"?this._translations.failedToUpdateTitles:void 0;return this._showFailedAlert&&e?t`<calcite-alert auto-close icon=exclamation-mark-triangle kind=danger .label=${e} @calciteAlertClose=${()=>{this._showFailedAlert=!1}} .open=${this._showFailedAlert}><div slot=message>${e}</div></calcite-alert>`:""}_getSuccessAlert(){return this.showSuccessAlert?t`<calcite-alert auto-close icon=check-circle kind=success .label=${this.card?.title||""} @calciteAlertClose=${()=>{this.showSuccessAlert=!1}} .open=${this.showSuccessAlert}><div slot=message>${this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title||"")}</div></calcite-alert>`:""}_getDiagramCard(){return this._getBasicCard(this._translations.diagramOfTheSolution,this._translations.diagramSubText,"model",this._translations.viewTheDiagram,"outline",this._openDiagram,void 0)}async _openDiagram(e){this._displayClass="display-none";let i=await this.cardRef.renderDiagramDialog(e);i&&this.listenOn(i,"calciteDialogBeforeClose",()=>{this._displayClass=""})}_getStartHereCard(){return this._getBasicCard(this._translations.solutionDocumentation,this._translations.docSubText,"file-text",this._translations.openInNewTab,"solid",this._learnMore)}_learnMore(){window.open(this.card.learnMoreUrl,"_blank")}_getSolutionVersionCard(){return this._getBasicCard(this._translations.solutionVersion,"","check-shield",void 0,void 0,void 0,this.card?.deployVersion??"")}_getBasicCard(e,i,a,n,f,_,r){return t`<calcite-card class="minor-card font-size-override"><calcite-label class="font-weight-medium label-override" layout=inline scale=l slot=heading>${e}</calcite-label><div class="display-flex center"><div class="display-flex flex-direction-column center"><calcite-icon class="icon-color icon-size-override" .icon=${a} scale=l></calcite-icon>${r?t`<span class="font-weight-medium">${r}</span>`:""}<p class="font-weight-medium">${i}</p></div></div>${n?t`<div class="btn-center" slot=footer-start><calcite-button .appearance=${f} kind=brand @click=${_}>${n}</calcite-button></div>`:""}</calcite-card>`}_getSolutionCard(){let e="configure-show-full-summary",i=this.card?.snippet,a="";return this.card?.snippet&&this.card?.snippet.length>l&&(i=this.card?.snippet.substring(0,l)+"... ",a=t`<calcite-link id=${e}>${this._translations.showMoreSummary}</calcite-link>`),t`<calcite-card class="large-card font-size-override"><calcite-label class="font-weight-medium label-override" layout=inline scale=l slot=heading>${this._translations.aboutYourSolution}</calcite-label><div class="display-flex flex-direction-column"><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionName}</calcite-label><span class="font-weight-medium width-full align-self-start">${this.card?.title}</span></div><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionSummary}</calcite-label><span class="font-weight-medium width-full align-self-center">${i}${a}</span></div><div class="display-flex"><calcite-label class="font-weight-medium no-space padding-end-1" layout=inline>${this._translations.aboutYourSolutionOwner}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.card?.owner}</calcite-link></calcite-label><div class="display-flex"><calcite-label class="no-space icon-color" layout=inline><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this.card?.created}</calcite-label></div></div></div><div slot=footer-start class="button-flex"><calcite-button appearance=outline class="padding-end-1" icon-end=launch kind=brand @click=${this._showItemDetails}>${this._translations.itemDetails}</calcite-button><calcite-button appearance=outline icon-start=trash kind=brand @click=${this._deleteSolution} slot=footer-end>${this._translations.deleteSolution}</calcite-button></div>${this.card?.snippet&&this.card?.snippet.length>l&&this._getSummaryPopover(e)||""}</calcite-card>`}_getSolutionContents(){return t`<div class="solution-content-padding"><calcite-label class="font-weight-medium" layout=inline scale=l>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}<calcite-button appearance=transparent icon-start=edit-attributes kind=brand @click=${()=>{this._configureTitlesOpen=!0,this._displayClass="display-none"}}>${this._translations.updateTitles}</calcite-button></calcite-label><solution-item-accordion list-selection-mode=single .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion></div>`}_getDeleteDialog(){return this._deleteDialogOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleted=${this._close} @solutionDeleteDialogBeforeClose=${()=>{this._displayClass="",this._deleteDialogOpen=!1}} .open=${this._deleteDialogOpen}></solution-delete-dialog>`:""}async _deleteSolution(){this._displayClass="display-none",this._deleteDialogOpen=!0}_showItemDetails(){window.open(this.card.itemUrl,"_blank")}_openUserProfile(e){e.stopPropagation();let i=this._authContextConsumer.value?.PortalSubset?.orgUrl;i&&window.open(`${i}/home/user.html`,"_blank")}_getSummaryPopover(e){return t`<calcite-popover closable heading label overlay-positioning=fixed .referenceElement=${e}><div class="padding-3-4 margin-0 width-400">${this.card?.snippet}</div></calcite-popover>`}_close(){this.open=!1}_cleanupPanel(){this._editSummaryPopoverRef.value?.open&&(this._editSummaryPopoverRef.value.open=!1),this._editNamePopoverRef.value?.open&&(this._editNamePopoverRef.value.open=!1)}};p("solution-configure-dialog",o);export{o as SolutionConfigureDialog};
@@ -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.20251010 */
4
- import{a}from"./NHXTECOK.js";import"./TIMYIBW5.js";import"./B6Q3LZBW.js";import"./455QGLQO.js";import"./D3UXQLZ4.js";import"./KD2JMMMY.js";import"./RS25C5YH.js";import"./ZEQNF33D.js";export{a as buildUiSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251010 */
4
- import c from"./UBO7PGV5.js";import b from"./YATQWZVW.js";import{b as R}from"./LEH4EJPV.js";import a from"./2CMXI42C.js";import{a as I,b as k,c as A,d as P}from"./HO27U7H4.js";import{a as u}from"./H67S7FDO.js";import{Bb as w}from"./VAU3FWJH.js";import"./67YSSFYI.js";import"./ONO5CKRU.js";import"./J3K53EBK.js";import"./ERNJAQCN.js";import"./NHKWESC7.js";import"./W5CZMOJ7.js";import"./KBGGCVOD.js";import"./DPOSATX6.js";import"./55D4ZKBZ.js";import"./ZWCI7OX5.js";import"./CBR6KSVN.js";import"./SOS5Q6DN.js";import"./7HX3NS6O.js";import"./PWJSYK5F.js";import{g as d}from"./NJVT2AOU.js";import"./455QGLQO.js";import"./D3UXQLZ4.js";import"./KD2JMMMY.js";import"./RS25C5YH.js";import{p as C,q as U}from"./IGRH2K6T.js";import{a as v}from"./4BHIKZVY.js";import"./6ELQLKBQ.js";import"./W57UT2YJ.js";import{b as T}from"./YFUCD5LV.js";import{C as l,D as r,E as f,G as m,h as S,i as p,o as _}from"./ADDCC7CS.js";import"./ZEQNF33D.js";export default $arcgis.t(([h,E,N,,{f:x,g:L},O])=>{var b=class{constructor(e,t,s){this._credential=null,this._isEnterprise=!1,this._locale="en",this._portalSubset=null,this._portalUserSubset=null,this._clientId=e??"",this._locale=s??"en",this._portalUrl=t??"https://www.arcgis.com",this._portalRestUrl=this._portalUrl+"/sharing/rest",this._credential=h.findCredential(this._portalRestUrl),this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:this._portalUrl}get Credential(){return this._credential}get IsEnterprisePortal(){return this._isEnterprise}get IsSignedIn(){return!!this._credential}get Portal(){return this._portal}get PortalSubset(){return this._portalSubset}get PortalUrl(){return this._portalUrl}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserSubset(){return this._portalUserSubset}get PortalUserPrivileges(){let e=[];return this._portalUserSubset?.privileges&&(e=this._portalUserSubset.privileges),e}get RestUserSession(){let e=h.findServerInfo(this._portalRestUrl),t=this._credential?d.fromCredential(this._credential,e):new d({});return t.portal=this.PortalSubset?.restUrl?this.PortalSubset?.restUrl:t.portal,t.clientId=this._credential?._oAuthCred?.appId,t._refreshToken=this._credential?._oAuthCred?.refreshToken,t}async initialize(){try{await this._init()}catch{this.destroy()}return this}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,h.destroyCredentials()}async signIn(e=""){h.setOAuthRedirectionHandler(t=>{let s=t.authorizeParams.redirect_uri;if(e.length>0){let i=s.split("?"),a=i[0],o="";if(i[1]){let n=new URLSearchParams(i[1]);n.append("signInParam",e),o="?"+n.toString()}t.authorizeParams.redirect_uri=a+o}window.location.href=t.authorizeUrl+"?"+this._objectToQuery(t.authorizeParams)}),await h.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(t=>{t&&window.location.reload()})}signOut(){this.destroy(),window.location.reload()}refreshSession(){let e=this.RestUserSession;return!e||!this.IsSignedIn?null:e.exchangeRefreshToken()}_getOrgUrl(e,t,s){return t&&s?window.location.protocol+"//"+t.toLowerCase()+"."+s:e}async _init(){let e=new E({appId:this._clientId,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});h.registerOAuthInfos([e]);try{let t=await h.checkAppAccess(this._portalUrl,this._clientId);(typeof t.valid<"u"&&!t.valid||t.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`),this._credential=t.credential}catch(t){if(t.name==="identity-manager:not-authenticated")return this;this.destroy(),window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal=new N({url:this._portalUrl}),this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl??"",portalUrl:this._portal.url??"",urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&this._portalSubset&&(this._portalSubset.workflowURL=await w(this._portal.restUrl,this.RestUserSession||new d({}))),this._portal?.user?.roleId&&this._portalUserSubset&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}_isSerializable(e){return e&&typeof e=="object"&&"toJSON"in e&&typeof e.toJSON=="function"}_objectToQuery(e,t){return e?t&&typeof t=="function"?Object.keys(e).map(s=>encodeURIComponent(s)+"="+encodeURIComponent(t(s,e[s]))).join("&"):Object.keys(e).map(s=>{let i=e[s];if(i==null)return"";let a=encodeURIComponent(s)+"=",o=t&&t[s];return o?a+encodeURIComponent(o(i)):Array.isArray(i)?i.map(n=>this._isSerializable(n)?a+encodeURIComponent(JSON.stringify(n)):a+encodeURIComponent(n)).join("&"):this._isSerializable(i)?a+encodeURIComponent(JSON.stringify(i)):a+encodeURIComponent(i)}).filter(s=>s).join("&"):""}};var Q=S`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.back-color-override-details{background-color:var(--calcite-color-foreground-1)}calcite-tabs{background-color:var(--calcite-color-foreground-1)}.display-none{display:none}.shell-container{width:1440px;display:block;max-width:96vw;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tabs{--calcite-color-focus: transparent;height:100%}`,y=class extends f{constructor(){super(),this.locale="",this.orgUrl="",this.portalUrl="",this.primarySolutionsGroupId="",this.sortType="relevance",this.useLocalAppConfig=!1,this._isLoaded=!1,this.isMobile=!1,this._translations=v({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${C} OR ${U}`,this._allCards=[],this._allShell=l(),this._allTab=l(),this._allTabTitle=l(),this._articlesTab=l(),this._articlesTabTitle=l(),this._authContextProvider=u({context:A}),this.authentication=void 0,this._categories=[],this._delay=!1,this._detailsShell=l(),this._detailsTab=l(),this._detailsTabTitle=l(),this._getSuggested=!1,this._isMobileContextProvider=u({context:k}),this._localDebugContextProvider=u({context:P}),this._mySolutionsShell=l(),this._mySolutionsTab=l(),this._mySolutionsTabTitle=l(),this._sortField="relevance",this._sortOrder="desc",this._userSessionContextProvider=u({context:I}),this.deployAppTabSelected=_(),this.detailsCardSelected=_(),this.tokenRefreshed=_(),this.listenOn(window,"solutionsAllLoaded",this._solutionsAllLoaded),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployProgressEnd",this._deployProgressEnd),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,locale:1,orgUrl:1,portalUrl:1,primarySolutionsGroupId:1,sortType:1,useLocalAppConfig:5,_isLoaded:16,isMobile:16,_translations:16}}static{this.styles=Q}selectTab(e,t){let s=this._getDefaultSearchOptions(t);switch(console.log(s),e.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,s&&this._allShell.value?.searchSolutions(s);break;case"articles":this._articlesTab.value.selected=!0,this._articlesTabTitle.value.selected=!0;break;case"details":if(this._allCards){let i=x(this._allCards,e.tabTitleOrId);i=i||L(this._allCards,e.tabTitleOrId),i?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(i)):(this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,this._setActiveTab("all-solutions"))}break;case"my-deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,s&&this._mySolutionsShell.value?.searchSolutions(s);break}this._blurTabs()}async connectedCallback(){super.connectedCallback();let e=new d({username:"",password:""});this._userSessionContextProvider.setValue(e),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig?(this.appConfig=R,this.primarySolutionsGroupId=this.appConfig.primarySolutionsGroupId,this.orgUrl=this.appConfig.orgUrl,this.locale=this.appConfig.locale,this.portalUrl=this.appConfig.portalURL,this._localDebugContextProvider.setValue(!0)):(this.primarySolutionsGroupId=this.appConfig.primarySolutionsGroupId,this._localDebugContextProvider.setValue(!1)),this._cardsFetcher=new O(this.locale,this.orgUrl,this.portalUrl),this.authentication||(this.appConfig.authentication?this.authentication=this.appConfig.authentication:(this.authentication=new b(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this.authentication.initialize(),this.authentication.IsSignedIn||this.authentication.signIn())),this._authContextProvider.setValue(this.authentication),this.authentication.RestUserSession&&this._userSessionContextProvider.setValue(this.authentication.RestUserSession),this._setRefreshInterval(),await this._getSolutions()}loaded(){this._handleTabs()}render(){let e=this._isLoaded?"display-none":"",t=this._isLoaded?"":"display-none";return p`<calcite-loader class=${m(e)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${m(t)} scale=l><calcite-tab-nav class="shell-container" slot=title-group><calcite-tab-title @calciteTabsActivate=${()=>this._setActiveTab("all-solutions")} ${r(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title>${this.authentication?.IsSignedIn?p`<calcite-tab-title @calciteTabsActivate=${()=>this._setActiveTab("my-deployments")} ${r(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title>`:""}<calcite-tab-title @calciteTabsActivate=${()=>this._setActiveTab("articles")} ${r(this._articlesTabTitle)}>${this._translations.solutionArticles}</calcite-tab-title><calcite-tab-title class="display-none" @calciteTabsActivate=${()=>this._setActiveTab("details")} ${r(this._detailsTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override" selected ${r(this._allTab)}><solutions-all-shell .appConfig=${this.appConfig} class="shell-container height-100" ${r(this._allShell)}></solutions-all-shell></calcite-tab>${this.authentication?.IsSignedIn?p`<calcite-tab class="back-color-override" ${r(this._mySolutionsTab)}><solutions-deployed-shell .appConfig=${this.appConfig} class="shell-container height-100" ${r(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab>`:""}<calcite-tab class="back-color-override" ${r(this._articlesTab)}><solutions-articles-shell class="shell-container height-100"></solutions-articles-shell></calcite-tab><calcite-tab class="back-color-override-details" ${r(this._detailsTab)}><solution-details-panel class="shell-container height-100" ${r(this._detailsShell)}></solution-details-panel></calcite-tab></calcite-tabs>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_handleTabs(){document.body.addEventListener("keydown",function(e){e.key=="Tab"||e.key=="Shift "||e.key=="Enter"?document.querySelector("calcite-tabs")?.style.setProperty("--calcite-color-focus","var(--calcite-color-brand)"):document.querySelector("calcite-tabs")?.style.setProperty("--calcite-color-focus","transparent")}),document.body.addEventListener("click",function(){document.querySelector("calcite-tabs")?.style.setProperty("--calcite-color-focus","transparent")})}_setActiveTab(e){this.deployAppTabSelected.emit(e)}_solutionsAllLoaded(){this._isLoaded=!0}_detailsCardSelected(){this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0}_deployProgressEnd(){this._mySolutionsTabTitle.value.selected=!0,this._mySolutionsTab.value.selected=!0}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.primarySolutionsGroupId,"",this._userSessionContextProvider.value,{num:1e3});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this._allCards}_blurTabs(){this._allTabTitle.value?.blur(),this._articlesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_setRefreshInterval(){let e=this._userSessionContextProvider?.value,t=this._authContextProvider?.value;if(e&&e.tokenDuration&&t?.IsSignedIn){let s=e.tokenDuration*.9;setInterval(async()=>{let i=await t?.refreshSession();if(i){this._userSessionContextProvider.setValue(i);let a=i?.token??"";this.tokenRefreshed.emit(a)}},s)}}_getDefaultSearchOptions(e){let t;if(e){let s=e.domain,i=e.industry,a=e.offerType,o=e.searchTerm,n="",c=e.sortField,g=e.owner;t=s||i?{type:s?"domain":i?"industry":""}:void 0,s&&(t=t?{...t,domain:s}:{domain:s}),i&&(t=t?{...t,industry:i}:{industry:i}),o&&(t=t?{...t,searchTerm:o}:{searchTerm:o}),t&&(t={...t,displayValue:n}),c&&(t=t?{...t,sortType:c}:{sortType:c}),a&&(c=a.toLowerCase(),t=t?{...t,sortType:c}:{sortType:c}),g&&(t=t?{...t,owner:g}:{owner:g})}return t}};T("solutions-deploy-app",y);return y},"identity/IdentityManager","identity/OAuthInfo","portal/Portal",a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251010 */
4
- import e from"./VM3OR4YU.js";import b from"./PIXTNLTP.js";import"./GVBLYLJK.js";import a from"./OQ3XEZFY.js";import{a as c}from"./AQ4DAFFG.js";import{a as v}from"./AVC6ZR7L.js";import{c as f,t as w,u,y,z as L}from"./ZP2TYRS7.js";import{b as p}from"./LAIAA7BP.js";import"./6ELQLKBQ.js";import"./W57UT2YJ.js";import{C as d,D as m,E as g,G as o,h as l,i as r}from"./ADDCC7CS.js";import"./ZEQNF33D.js";export default $arcgis.t(([,{b:C},{t:_}])=>{var I=l`:host{display:block;height:100%}:host .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},h=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.ref=d(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await f(),this.reactiveUtils=e,this.widget=await y({});let t=await w({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},i=await u(a);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}render(){let{base:e,component:t,widget:s,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,s,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(_(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${m(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,a=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};p("instant-apps-interactive-legend",h);return h},a,b,e)
@@ -1,9 +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.20251010 */
4
- import c from"./PIXTNLTP.js";import{a as x}from"./GVBLYLJK.js";import a from"./OQ3XEZFY.js";import{a as D}from"./AQ4DAFFG.js";import{a as F}from"./AVC6ZR7L.js";import{E as R,h as N,i as L}from"./ZP2TYRS7.js";import{b as E}from"./LAIAA7BP.js";import"./6ELQLKBQ.js";import"./W57UT2YJ.js";import{D as g,E as $,G as H,h as I,i as b}from"./ADDCC7CS.js";import"./ZEQNF33D.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=F({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
- rect:hover {
6
- cursor: pointer;
7
- opacity: 0.8;
8
- }
9
- `,e?.appendChild(t)}}setRelationshipRampRef(e){e&&(this.relationshipRamp=e,this.applyRelationshipRampInteractivity(),this.applyRelationshipRampSvgAriaAttributes())}render(){return b`<div ${g(this.addCSS)}><span id=${V} class=${H(Z.instructionalText)}>${this._messages?.relationship?.instructionalText}</span>${this.renderRelationshipRamp()}</div>`}renderRelationshipRamp(){let e=(this.activeLayerInfo?.layer).renderer,t=this.symbolUtils.renderRelationshipRampPreviewHTML(e)?.outerHTML;return D("relationship-ramp-diamond",b`<div .innerHTML=${t??""} ${g(this.setRelationshipRampRef)}></div>`)}};E("instant-apps-interactive-legend-relationship",C);return C},a,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251010 */
4
- import{a,b}from"./REKQYXEK.js";import"./5UJ7KPR4.js";import"./ECYMUVEU.js";import"./ULWRQDPB.js";import"./I5U55G63.js";import"./6EMVPBUS.js";import"./ZEQNF33D.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -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.20251010 */
4
- import c from"./VM3OR4YU.js";import b from"./PIXTNLTP.js";import"./GVBLYLJK.js";import a from"./OQ3XEZFY.js";import{a as K}from"./AQ4DAFFG.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./ZP2TYRS7.js";import{b as Se}from"./LAIAA7BP.js";import"./W57UT2YJ.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./ADDCC7CS.js";import{b as st,d as lt}from"./ZEQNF33D.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251010 */
4
- import{a,b}from"./RTZGV2XJ.js";import"./XRRODSMI.js";import"./CCEAUDUC.js";import"./GU6IG3YB.js";import"./I5U55G63.js";import"./ZEQNF33D.js";export{a as EventEditorTypes,b as buildSchema};