@esri/solutions-components 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/dist/cdn/{NZJDAUCM.js → 22F7LFMG.js} +2 -2
  2. package/dist/cdn/{EKX5RPAU.js → 25FEJN5O.js} +2 -2
  3. package/dist/cdn/{RNVECRCO.js → 25JM7WUJ.js} +2 -2
  4. package/dist/cdn/{62OBHD7N.js → 2A6DDRTH.js} +2 -2
  5. package/dist/cdn/{O42JTMA4.js → 2BDPGGKC.js} +2 -2
  6. package/dist/cdn/{Y2GJJZVT.js → 2IRIOH44.js} +2 -2
  7. package/dist/cdn/{GPR4I62X.js → 2LVUHNL4.js} +2 -2
  8. package/dist/cdn/{B5TR3333.js → 2QFMILDU.js} +2 -2
  9. package/dist/cdn/{7KJZVI5W.js → 2RWXUIPE.js} +2 -2
  10. package/dist/cdn/2TT2EKLS.js +4 -0
  11. package/dist/cdn/{3KRHILOK.js → 2VXYY4NW.js} +1 -1
  12. package/dist/cdn/{DHOIKSPR.js → 33UPFZYZ.js} +2 -2
  13. package/dist/cdn/{3HR3VX4I.js → 34BPQSHF.js} +2 -2
  14. package/dist/cdn/{O5G3N4I4.js → 35ZVLYI7.js} +2 -2
  15. package/dist/cdn/36RPCHBW.js +18 -0
  16. package/dist/cdn/{V46NQTOH.js → 3IMXMLFS.js} +2 -2
  17. package/dist/cdn/3LJQBCLM.js +18 -0
  18. package/dist/cdn/{UZQC4ZVD.js → 3RLVYGV7.js} +2 -2
  19. package/dist/cdn/{JSML77IB.js → 43R5NRNV.js} +1 -1
  20. package/dist/cdn/{EOWZY5KN.js → 4527TPFQ.js} +1 -1
  21. package/dist/cdn/4HAO722I.js +4 -0
  22. package/dist/cdn/{NXZAIYZX.js → 4J5HYMPQ.js} +2 -2
  23. package/dist/cdn/{WB2FCUBE.js → 4SF42JCK.js} +2 -2
  24. package/dist/cdn/{XXJ2SGBR.js → 4UCCOTIL.js} +2 -2
  25. package/dist/cdn/{FTC6GK32.js → 4ULTYKHN.js} +2 -2
  26. package/dist/cdn/56FAI7QX.js +18 -0
  27. package/dist/cdn/{MIBMXAW4.js → 5CGYAFLG.js} +2 -2
  28. package/dist/cdn/{CSQMTZUS.js → 5JHZFHQW.js} +2 -2
  29. package/dist/cdn/{X63ISSA7.js → 5JYWXCER.js} +2 -2
  30. package/dist/cdn/{MN4AZD42.js → 5K5LGI4X.js} +2 -2
  31. package/dist/cdn/{HOQDPNYX.js → 5LOTR4DW.js} +2 -2
  32. package/dist/cdn/{P3ZGSTRY.js → 5QHONC74.js} +2 -2
  33. package/dist/cdn/5S2FZKYO.js +18 -0
  34. package/dist/cdn/{5KH5K5HP.js → 5TRSWX6M.js} +2 -2
  35. package/dist/cdn/{PSP2EVIP.js → 5WAZGRRD.js} +2 -2
  36. package/dist/cdn/{3HVOQ754.js → 5WNLR3DS.js} +2 -2
  37. package/dist/cdn/{UD6VCHUK.js → 64ETTMNQ.js} +2 -2
  38. package/dist/cdn/{EUZPXNNK.js → 65NNPWV7.js} +1 -1
  39. package/dist/cdn/6LUI2X3G.js +18 -0
  40. package/dist/cdn/{N7IUWXAA.js → 6N7ZWEZT.js} +2 -2
  41. package/dist/cdn/{2UH456LC.js → 6U4PV22I.js} +1 -1
  42. package/dist/cdn/{GCOXBUN5.js → 6XYUDJQ2.js} +1 -1
  43. package/dist/cdn/{C3OFPO6W.js → 7244YR36.js} +2 -2
  44. package/dist/cdn/{KNBDWSMQ.js → 76DZHGT4.js} +2 -2
  45. package/dist/cdn/{GAV3AXFW.js → 76JQ5L7D.js} +2 -2
  46. package/dist/cdn/{MEIVZYDH.js → 7ATYJT4O.js} +2 -2
  47. package/dist/cdn/{NDWOAOHX.js → 7B2MAX64.js} +1 -1
  48. package/dist/cdn/{O6DAQEXK.js → 7M5YUYGE.js} +2 -2
  49. package/dist/cdn/{EFKYF4YS.js → 7NDRZHL6.js} +2 -2
  50. package/dist/cdn/{CUKJYJQY.js → 7NMV3XFP.js} +1 -1
  51. package/dist/cdn/{IEEVFYKM.js → 7OEQCUDV.js} +1 -1
  52. package/dist/cdn/{PY6UCRJ4.js → 7OZSPB2F.js} +2 -2
  53. package/dist/cdn/{A3ZMYVXL.js → 7WZE34BF.js} +2 -2
  54. package/dist/cdn/{6M3KYJDD.js → 7YFBO4YO.js} +2 -2
  55. package/dist/cdn/{YXM7GNWW.js → A4L4EUDH.js} +2 -2
  56. package/dist/cdn/{DYEFEHAR.js → AC7K2P6S.js} +11 -11
  57. package/dist/cdn/{NZ6L23VR.js → AGGLKLN3.js} +2 -2
  58. package/dist/cdn/{3VRCHULS.js → AHHA6SMZ.js} +2 -2
  59. package/dist/cdn/{GGCVMVWS.js → AOOQAYSR.js} +2 -2
  60. package/dist/cdn/{7W5RZY7N.js → AQZ3QIKE.js} +2 -2
  61. package/dist/cdn/{XZQRI4EN.js → AXDYNDWC.js} +1 -1
  62. package/dist/cdn/{TFCVVUA3.js → AYBHICHM.js} +2 -2
  63. package/dist/cdn/{YF5TQNZI.js → AYDTR35F.js} +2 -2
  64. package/dist/cdn/AYND4SCK.js +4 -0
  65. package/dist/cdn/{7M4VGKUT.js → B2AAEHPJ.js} +2 -2
  66. package/dist/cdn/{M6I7SCR3.js → B4PHULG7.js} +2 -2
  67. package/dist/cdn/B5754CLI.js +4 -0
  68. package/dist/cdn/{3PNCQZNB.js → BRSXWNGO.js} +2 -2
  69. package/dist/cdn/{A6ZN7UQQ.js → C6WPV722.js} +2 -2
  70. package/dist/cdn/{SK6BPGF7.js → CBITJT5D.js} +4 -4
  71. package/dist/cdn/CDBDE4TC.js +18 -0
  72. package/dist/cdn/{F7N2K2CB.js → CFPXLHXR.js} +2 -2
  73. package/dist/cdn/{UHGKM2WA.js → CGZZGJLP.js} +2 -2
  74. package/dist/cdn/{DJ4ET7YE.js → CJFK6TKW.js} +2 -2
  75. package/dist/cdn/CXN63GPC.js +18 -0
  76. package/dist/cdn/{HPVZXEFN.js → CXOHKJLR.js} +1 -1
  77. package/dist/cdn/{UBNEDJDQ.js → CYHKUA3T.js} +2 -2
  78. package/dist/cdn/{H3QBALK4.js → D2SOXDMW.js} +2 -2
  79. package/dist/cdn/{SU5YNWLR.js → D2UIHI5N.js} +2 -2
  80. package/dist/cdn/D2XDABCT.js +20 -0
  81. package/dist/cdn/{ST5DNJ5A.js → D3RXCR6Q.js} +1 -1
  82. package/dist/cdn/{TIJ35HYZ.js → DC2VXLYA.js} +2 -2
  83. package/dist/cdn/{DBZRC2CE.js → DCYHSAL2.js} +2 -2
  84. package/dist/cdn/{S3O4R37V.js → DHVPMGLT.js} +2 -2
  85. package/dist/cdn/{U75KCBUY.js → DO5IRX2P.js} +2 -2
  86. package/dist/cdn/DP2E5JFM.js +4 -0
  87. package/dist/cdn/DSA7P4FN.js +18 -0
  88. package/dist/cdn/{7WWEF64M.js → DZ75SULS.js} +2 -2
  89. package/dist/cdn/{DNSJZC4P.js → E4626BS2.js} +2 -2
  90. package/dist/cdn/{NNED4X6O.js → EEECQWVR.js} +2 -2
  91. package/dist/cdn/{ADQGTHIK.js → EHUPQ5JP.js} +2 -2
  92. package/dist/cdn/{TZTD5Q2B.js → EJ7VKYZG.js} +2 -2
  93. package/dist/cdn/{NT3MKX5U.js → EL5KWKMD.js} +2 -2
  94. package/dist/cdn/{7UJMLOZS.js → EPYFVSXR.js} +2 -2
  95. package/dist/cdn/{MFRHP354.js → EV22N3KD.js} +2 -2
  96. package/dist/cdn/{GDUFF5HE.js → EW3T5VLB.js} +2 -2
  97. package/dist/cdn/{XTADI7OE.js → EX6HJQ4X.js} +2 -2
  98. package/dist/cdn/{MFHU7RCE.js → FDNO4BVO.js} +2 -2
  99. package/dist/cdn/{2IQPFNPX.js → FFJCM7BG.js} +2 -2
  100. package/dist/cdn/{ZQUJEICA.js → FKCBARKI.js} +2 -2
  101. package/dist/cdn/{XURZ7NUD.js → FLX4QZPY.js} +4 -4
  102. package/dist/cdn/{4QEWKLNG.js → FQTZU3Z2.js} +2 -2
  103. package/dist/cdn/{UFT52UFX.js → FZV7IALP.js} +2 -2
  104. package/dist/cdn/{EK6E5RV4.js → G2PAP4HL.js} +2 -2
  105. package/dist/cdn/{Q4EXL46G.js → G56M322A.js} +2 -2
  106. package/dist/cdn/{ROGVNZHG.js → G7LK4PDL.js} +2 -2
  107. package/dist/cdn/{FMIGRU3V.js → GE2KFI4B.js} +3 -3
  108. package/dist/cdn/{T2MYK67I.js → GFTGPFHL.js} +2 -2
  109. package/dist/cdn/{CFXL3A27.js → GFTMWJE2.js} +2 -2
  110. package/dist/cdn/{3M5E2W6J.js → GGBJCIO7.js} +2 -2
  111. package/dist/cdn/{QFODTZZX.js → GJ2UG6YP.js} +2 -2
  112. package/dist/cdn/{2N3SSEWE.js → GKBVNMEW.js} +2 -2
  113. package/dist/cdn/{ORKHRXHB.js → GUN44VYU.js} +2 -2
  114. package/dist/cdn/{OHWF5VUN.js → H36GDFY7.js} +1 -1
  115. package/dist/cdn/{P5WUMEFT.js → H3C4GIDZ.js} +2 -2
  116. package/dist/cdn/{J2SERNA3.js → H3FM5UM6.js} +1 -1
  117. package/dist/cdn/{VRFHYYVR.js → H4HFWY3H.js} +2 -2
  118. package/dist/cdn/{CHBTCIMS.js → H72WOGJ7.js} +2 -2
  119. package/dist/cdn/{I74ECT7N.js → HCCTS5WV.js} +2 -2
  120. package/dist/cdn/{VCK56OWN.js → HKKUMEH5.js} +1 -1
  121. package/dist/cdn/{UK42NUMO.js → HM7EBFPG.js} +2 -2
  122. package/dist/cdn/{AD654KDS.js → HNUCWI6T.js} +2 -2
  123. package/dist/cdn/{VY7KRQYG.js → HOTDMMJJ.js} +2 -2
  124. package/dist/cdn/{PKEJXERE.js → HPUAGDRV.js} +2 -2
  125. package/dist/cdn/{WNOY5N4R.js → HR2HFJXC.js} +1 -1
  126. package/dist/cdn/HRBMV6MS.js +18 -0
  127. package/dist/cdn/HZILY6RQ.js +18 -0
  128. package/dist/cdn/{A7PIN73K.js → I3SHQQXU.js} +2 -2
  129. package/dist/cdn/{Z2J6R7BH.js → I3ZD6IV4.js} +1 -1
  130. package/dist/cdn/{3PGLZBWX.js → IAHPQU5I.js} +2 -2
  131. package/dist/cdn/{CH7DLGUP.js → IFPYTV3R.js} +1 -1
  132. package/dist/cdn/{5FTGQPO5.js → IHQISHAM.js} +2 -2
  133. package/dist/cdn/{6QIO3AQD.js → IMFE25FS.js} +2 -2
  134. package/dist/cdn/IMYZB3YV.js +18 -0
  135. package/dist/cdn/{B5XYDLJB.js → IPXTSW43.js} +2 -2
  136. package/dist/cdn/{WG5YJAJK.js → IREZCPC5.js} +2 -2
  137. package/dist/cdn/{KC4KCTUH.js → IS4CHLDX.js} +2 -2
  138. package/dist/cdn/{DDOXQYTI.js → IVWP7URA.js} +2 -2
  139. package/dist/cdn/{DLQHSRI3.js → J252EEIH.js} +2 -2
  140. package/dist/cdn/{TPLOAFHX.js → JAMFZUE3.js} +2 -2
  141. package/dist/cdn/{UYA6RFIA.js → JJJAHCRO.js} +2 -2
  142. package/dist/cdn/{KEC5BNS2.js → JMMD7YBL.js} +2 -2
  143. package/dist/cdn/{JWLGFVVC.js → JOWT5YJ4.js} +2 -2
  144. package/dist/cdn/{5YJKRSII.js → JRMGFAZK.js} +2 -2
  145. package/dist/cdn/{PEHGGHQ4.js → JUVS4QTT.js} +2 -2
  146. package/dist/cdn/JYDRZHOB.js +4 -0
  147. package/dist/cdn/{MN5Q6VKW.js → KJOPUX6H.js} +2 -2
  148. package/dist/cdn/{YOTDGZIS.js → KQIW24JY.js} +2 -2
  149. package/dist/cdn/{ENKVILKY.js → KQPN7NFG.js} +2 -2
  150. package/dist/cdn/{PEPBVRCK.js → KUFJAMWI.js} +3 -3
  151. package/dist/cdn/{5QPBHI6N.js → LG2N3IDQ.js} +2 -2
  152. package/dist/cdn/{NM3XHUXJ.js → LIXHHHMQ.js} +1 -1
  153. package/dist/cdn/{KPNSWPLU.js → LUCYOE4G.js} +2 -2
  154. package/dist/cdn/{6DXOCCZA.js → M35TRRGF.js} +1 -1
  155. package/dist/cdn/{X6NXSOAM.js → M3L66GKK.js} +2 -2
  156. package/dist/cdn/{UJSAFWWD.js → M4VZ4CMY.js} +2 -2
  157. package/dist/cdn/{UJN2FPCY.js → M6GEH5RY.js} +2 -2
  158. package/dist/cdn/{EQQAWMKP.js → M7HD332R.js} +1 -1
  159. package/dist/cdn/{GOMTEPFA.js → MK7N6OTA.js} +1 -1
  160. package/dist/cdn/{DVIQ73JS.js → ML3FDA7I.js} +2 -2
  161. package/dist/cdn/{WRG6UGAU.js → MO5VIHBL.js} +2 -2
  162. package/dist/cdn/{3CQVKR4G.js → MTDAXKJA.js} +1 -1
  163. package/dist/cdn/{XE2T5GMW.js → MURI73WZ.js} +2 -2
  164. package/dist/cdn/{2XKHAKJH.js → MVAWCLJQ.js} +2 -2
  165. package/dist/cdn/N54CIKSY.js +4 -0
  166. package/dist/cdn/{4V3EN7XG.js → N5MNRNS4.js} +2 -2
  167. package/dist/cdn/{CBMM32W4.js → NNNUOKAQ.js} +2 -2
  168. package/dist/cdn/{PQ75UOOH.js → NTJ65ON3.js} +2 -2
  169. package/dist/cdn/NTSPFMPN.js +18 -0
  170. package/dist/cdn/{IQE4M5WS.js → O4U6ZUNI.js} +2 -2
  171. package/dist/cdn/{PPCFTYMM.js → ODVL6BLS.js} +2 -2
  172. package/dist/cdn/{2MCXJEIU.js → OG4FHSPI.js} +1 -1
  173. package/dist/cdn/{EI2SLBFR.js → OGRHFK6Y.js} +2 -2
  174. package/dist/cdn/{W7DEAFBS.js → ONL3NL26.js} +2 -2
  175. package/dist/cdn/{755YFLK2.js → OORGXTFY.js} +2 -2
  176. package/dist/cdn/{5GEHFK5G.js → OOX6G6UE.js} +2 -2
  177. package/dist/cdn/{ZFQ2JKAE.js → OQJGVRY2.js} +2 -2
  178. package/dist/cdn/{FFIBCVX2.js → OTYGSW7W.js} +2 -2
  179. package/dist/cdn/{ZEFYE6IH.js → OZWDP6Y7.js} +2 -2
  180. package/dist/cdn/{SQA4Z3HQ.js → PGB7D5V5.js} +2 -2
  181. package/dist/cdn/{H4R7X2AK.js → PJSBBGLJ.js} +2 -2
  182. package/dist/cdn/{ATGDZI46.js → PKKVL46F.js} +2 -2
  183. package/dist/cdn/{AI6YM633.js → PLTCACVO.js} +2 -2
  184. package/dist/cdn/{ZTWWXPZM.js → PNZFKJGE.js} +2 -2
  185. package/dist/cdn/PP6K5WOA.js +4 -0
  186. package/dist/cdn/{5GCZQ47Q.js → PSUWSWTK.js} +2 -2
  187. package/dist/cdn/{GJGBNYWB.js → PWM7PIST.js} +3 -3
  188. package/dist/cdn/{DC2E55EL.js → Q5QONQ6T.js} +2 -2
  189. package/dist/cdn/{PMRPPUOG.js → Q66CZJP6.js} +1 -1
  190. package/dist/cdn/{3O2FMCDB.js → QBIXFYYE.js} +1 -1
  191. package/dist/cdn/{PTLSOJ2V.js → QH2LKILS.js} +2 -2
  192. package/dist/cdn/{WGL2BCUM.js → QNXFXUZA.js} +2 -2
  193. package/dist/cdn/{AK2IOGVT.js → QP26HSVE.js} +1 -1
  194. package/dist/cdn/{QENLODCT.js → QQPQDFEM.js} +2 -2
  195. package/dist/cdn/{ERJCAGCH.js → QU55HNGY.js} +2 -2
  196. package/dist/cdn/{WMRXZUG4.js → QUCDVIOQ.js} +2 -2
  197. package/dist/cdn/{SISGIM4G.js → QVLJY52I.js} +2 -2
  198. package/dist/cdn/{HZDGJLAD.js → QYU6USHT.js} +2 -2
  199. package/dist/cdn/{5ZUU5HU5.js → QZAU4Z6W.js} +2 -2
  200. package/dist/cdn/{CJOWQ5NE.js → R5UFCXCH.js} +2 -2
  201. package/dist/cdn/{THC2GZPK.js → RC3IVWI3.js} +1 -1
  202. package/dist/cdn/{R4JBNSHM.js → RCDWSNVF.js} +2 -2
  203. package/dist/cdn/{MICSEU5B.js → RIQFARZP.js} +2 -2
  204. package/dist/cdn/{NCLWZM55.js → RMU2WXMJ.js} +2 -2
  205. package/dist/cdn/{5OKQHKMQ.js → RVTHLBJL.js} +2 -2
  206. package/dist/cdn/{KJROYCIQ.js → RWQELBMY.js} +2 -2
  207. package/dist/cdn/{L6PPOZ6H.js → RYQCNLW7.js} +2 -2
  208. package/dist/cdn/{SM2ZGXN2.js → S3AWAGTI.js} +2 -2
  209. package/dist/cdn/{R2IVNBNU.js → S5TXHJGZ.js} +2 -2
  210. package/dist/cdn/{NGN4GJ7L.js → S6GQFWK7.js} +2 -2
  211. package/dist/cdn/{525IK7S3.js → SBX54Z43.js} +2 -2
  212. package/dist/cdn/SCOCPPIV.js +383 -0
  213. package/dist/cdn/{PEJAYVXV.js → SH3RI2GK.js} +2 -2
  214. package/dist/cdn/{D22VRCQZ.js → SHWG5PCG.js} +2 -2
  215. package/dist/cdn/{TA7HLGDD.js → SMY4IACN.js} +2 -2
  216. package/dist/cdn/{DGN4U6I6.js → SUSAZ65X.js} +2 -2
  217. package/dist/cdn/{JYVM54WT.js → T6PMIZLP.js} +2 -2
  218. package/dist/cdn/{Z7DOTE4W.js → TA3ZXQAF.js} +2 -2
  219. package/dist/cdn/TBU33TUJ.js +18 -0
  220. package/dist/cdn/{W3Z2KVM3.js → TENNMXGF.js} +1 -1
  221. package/dist/cdn/{QVEKZTHX.js → TIUXVXYM.js} +2 -2
  222. package/dist/cdn/{M4VW4GKI.js → TKDGIQNC.js} +2 -2
  223. package/dist/cdn/{Z2BS6PDT.js → TNEFDIIG.js} +2 -2
  224. package/dist/cdn/{BII4KR4A.js → TTDNDVCB.js} +2 -2
  225. package/dist/cdn/{7XD5FYQH.js → TVGUICDI.js} +2 -2
  226. package/dist/cdn/{2QFAL42J.js → TXB56MNF.js} +2 -2
  227. package/dist/cdn/{QT25SZ3S.js → TYVJSPBM.js} +2 -2
  228. package/dist/cdn/{72A2Y2EQ.js → U4LWP3KK.js} +1 -1
  229. package/dist/cdn/{QPJLKOGU.js → UCI3QQAA.js} +1 -1
  230. package/dist/cdn/{XIWW264L.js → UDYWBQQB.js} +2 -2
  231. package/dist/cdn/UISRG6AV.js +18 -0
  232. package/dist/cdn/{4RUO65YZ.js → UITEOOYI.js} +1 -1
  233. package/dist/cdn/{LFX2BV5P.js → UMIQ4XRZ.js} +2 -2
  234. package/dist/cdn/{3MTECQIQ.js → UR7ODANG.js} +2 -2
  235. package/dist/cdn/{LEPX2J3T.js → UUY24OGE.js} +2 -2
  236. package/dist/cdn/{55MHSSEJ.js → UVRRN3AM.js} +2 -2
  237. package/dist/cdn/UZTSBHXN.js +294 -0
  238. package/dist/cdn/{S7TD37PA.js → V3XFBVJ2.js} +2 -2
  239. package/dist/cdn/VCL4EPUN.js +18 -0
  240. package/dist/cdn/VH4DOQZ4.js +4 -0
  241. package/dist/cdn/{EQ3E3UVU.js → VIRNYXF5.js} +2 -2
  242. package/dist/cdn/{YEE23JC2.js → VJF6Y7HU.js} +2 -2
  243. package/dist/cdn/{I7AMZQNZ.js → VLNWSZVR.js} +2 -2
  244. package/dist/cdn/{CIWLUKBJ.js → VOFDMTBC.js} +2 -2
  245. package/dist/cdn/{A7ABJL6C.js → VTS75E4I.js} +2 -2
  246. package/dist/cdn/{QH63BAVO.js → VUZA56M3.js} +2 -2
  247. package/dist/cdn/{ZVSLAQ5X.js → VXJY4QCS.js} +2 -2
  248. package/dist/cdn/{JSCLICIM.js → W3GV4JXP.js} +1 -1
  249. package/dist/cdn/{WT2FKAP6.js → W7HZRPHM.js} +2 -2
  250. package/dist/cdn/{7DEMXTPR.js → W7Z3ORQY.js} +2 -2
  251. package/dist/cdn/{YA3SBEXZ.js → WBAN3UIC.js} +2 -2
  252. package/dist/cdn/{CWSLTV67.js → WBRXMEMP.js} +2 -2
  253. package/dist/cdn/{46Z6LRFP.js → WCEUO2OS.js} +2 -2
  254. package/dist/cdn/{QLVKQU3N.js → WCVUN6XF.js} +2 -2
  255. package/dist/cdn/{Y7FST2QV.js → WFUAPKTB.js} +2 -2
  256. package/dist/cdn/{MEARRFPL.js → WIE3EFBI.js} +2 -2
  257. package/dist/cdn/{XZRHSLHF.js → WIVOL6CT.js} +1 -1
  258. package/dist/cdn/WN54HJON.js +4 -0
  259. package/dist/cdn/{XKQGFDT5.js → WNFUARBO.js} +2 -2
  260. package/dist/cdn/{X6LWFUFK.js → WQKEPPJH.js} +1 -1
  261. package/dist/cdn/{KYNAJJDV.js → WV2ZROZJ.js} +2 -2
  262. package/dist/cdn/{AQOENSWY.js → WZ764LLN.js} +1 -1
  263. package/dist/cdn/{KK3QWOG2.js → WZYGUEIV.js} +2 -2
  264. package/dist/cdn/{77SH6QGE.js → XFANWHPY.js} +2 -2
  265. package/dist/cdn/{WS42HFTU.js → XFM3FD2A.js} +2 -2
  266. package/dist/cdn/{2CQ66JGS.js → XK7SWBXE.js} +2 -2
  267. package/dist/cdn/{H57ZKHJ4.js → XU3KAISP.js} +1 -1
  268. package/dist/cdn/{4P2ED5MG.js → XXM424DO.js} +2 -2
  269. package/dist/cdn/{TW6H3Y5C.js → XYGVP2FK.js} +2 -2
  270. package/dist/cdn/{AROCXE5W.js → YC7HMH6M.js} +2 -2
  271. package/dist/cdn/{NF47PQ7Q.js → YEFAWRXP.js} +2 -2
  272. package/dist/cdn/YMUVFR3U.js +18 -0
  273. package/dist/cdn/{O27D4YVO.js → YQFYU4G2.js} +2 -2
  274. package/dist/cdn/YXHSDCRJ.js +4 -0
  275. package/dist/cdn/{MGAAWVDA.js → Z3XBAPZC.js} +1 -1
  276. package/dist/cdn/{MQWLMWGB.js → Z4FNCV4E.js} +2 -2
  277. package/dist/cdn/{SN7Y4QIQ.js → Z4WD3SG2.js} +1 -1
  278. package/dist/cdn/{GPO4L446.js → ZEPG4DE3.js} +2 -2
  279. package/dist/cdn/{ACYYQPGH.js → ZLTHON4G.js} +2 -2
  280. package/dist/cdn/{73W26K5Q.js → ZLU7K6TK.js} +2 -2
  281. package/dist/cdn/{45R5CD5E.js → ZRLT4TEH.js} +2 -2
  282. package/dist/cdn/{42AUJGFJ.js → ZUQZHS53.js} +2 -2
  283. package/dist/cdn/{D2RRQ3X4.js → ZV3QGDX6.js} +2 -2
  284. package/dist/cdn/{DSZ5WOHN.js → ZY74MRCW.js} +2 -2
  285. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  287. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  288. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  289. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  290. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  291. package/dist/cdn/assets/solution-deployed-card/t9n/messages.en.json +1 -1
  292. package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -1
  293. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  294. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  295. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  297. package/dist/cdn/index.js +2 -2
  298. package/dist/cdn/main.css +1 -1
  299. package/dist/chunks/Auth.js +1 -1
  300. package/dist/chunks/appConfig.js +1 -1
  301. package/dist/chunks/cardFetchingUtils.js +3 -3
  302. package/dist/chunks/common.js +1 -1
  303. package/dist/chunks/deployAppContexts.js +1 -1
  304. package/dist/chunks/downloadUtils.js +1 -1
  305. package/dist/chunks/helpers.js +6 -6
  306. package/dist/chunks/index.js +1 -1
  307. package/dist/chunks/interfaces.js +23 -23
  308. package/dist/chunks/loadModules.js +1 -1
  309. package/dist/chunks/mapViewUtils.js +6 -6
  310. package/dist/chunks/pciUtils.js +1 -1
  311. package/dist/chunks/popupUtils.js +1 -1
  312. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  313. package/dist/chunks/privilegeUtils.js +143 -28
  314. package/dist/chunks/publicNotificationStore.js +1 -1
  315. package/dist/chunks/queryUtils.js +1 -1
  316. package/dist/chunks/runtime.js +1 -1
  317. package/dist/chunks/solution-store.js +4 -4
  318. package/dist/chunks/templates.js +1 -1
  319. package/dist/chunks/useT9n.js +1 -1
  320. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  321. package/dist/components/basemap-gallery/customElement.js +1 -1
  322. package/dist/components/buffer-tools/customElement.js +1 -1
  323. package/dist/components/card-manager/customElement.js +1 -1
  324. package/dist/components/consent-manager/customElement.js +1 -1
  325. package/dist/components/create-feature/customElement.js +1 -1
  326. package/dist/components/create-related-feature/customElement.js +1 -1
  327. package/dist/components/crowdsource-manager/customElement.js +4 -4
  328. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  329. package/dist/components/deduct-calculator/customElement.js +1 -1
  330. package/dist/components/delete-button/customElement.js +1 -1
  331. package/dist/components/delete-dialog/customElement.js +1 -1
  332. package/dist/components/edit-card/customElement.js +1 -1
  333. package/dist/components/feature-details/customElement.js +1 -1
  334. package/dist/components/feature-list/customElement.js +1 -1
  335. package/dist/components/field-selection/customElement.js +1 -1
  336. package/dist/components/floor-filter/customElement.js +1 -1
  337. package/dist/components/info-card/customElement.js +1 -1
  338. package/dist/components/json-editor/customElement.js +1 -1
  339. package/dist/components/layer-list/customElement.js +1 -1
  340. package/dist/components/layer-table/customElement.js +2 -2
  341. package/dist/components/map-card/customElement.js +2 -2
  342. package/dist/components/map-draw-tools/customElement.js +2 -2
  343. package/dist/components/map-fullscreen/customElement.js +1 -1
  344. package/dist/components/map-layer-picker/customElement.js +1 -1
  345. package/dist/components/map-legend/customElement.js +1 -1
  346. package/dist/components/map-picker/customElement.js +1 -1
  347. package/dist/components/map-search/customElement.js +1 -1
  348. package/dist/components/map-select-tools/customElement.js +2 -2
  349. package/dist/components/map-tools/customElement.js +1 -1
  350. package/dist/components/pci-calculator/customElement.js +1 -1
  351. package/dist/components/pdf-download/customElement.js +1 -1
  352. package/dist/components/public-notification/customElement.js +2 -2
  353. package/dist/components/refine-selection/customElement.js +2 -2
  354. package/dist/components/selection-tool/customElement.js +1 -1
  355. package/dist/components/solution-article-card/customElement.js +1 -1
  356. package/dist/components/solution-configuration/customElement.js +1 -1
  357. package/dist/components/solution-configure-dialog/customElement.d.ts +11 -0
  358. package/dist/components/solution-configure-dialog/customElement.js +78 -30
  359. package/dist/components/solution-configure-dialog/index.d.ts +6 -0
  360. package/dist/components/solution-configure-dialog/index.js +6 -0
  361. package/dist/components/solution-configure-titles/customElement.d.ts +5 -1
  362. package/dist/components/solution-configure-titles/customElement.js +22 -19
  363. package/dist/components/solution-contents/customElement.js +1 -1
  364. package/dist/components/solution-delete-dialog/customElement.d.ts +5 -0
  365. package/dist/components/solution-delete-dialog/customElement.js +66 -42
  366. package/dist/components/solution-deploy-dialog/customElement.d.ts +7 -2
  367. package/dist/components/solution-deploy-dialog/customElement.js +83 -113
  368. package/dist/components/solution-deployed-card/customElement.d.ts +11 -0
  369. package/dist/components/solution-deployed-card/customElement.js +45 -29
  370. package/dist/components/solution-deployed-card/index.d.ts +1 -1
  371. package/dist/components/solution-deployed-card/index.js +1 -1
  372. package/dist/components/solution-deploying-dialog/customElement.d.ts +24 -0
  373. package/dist/components/solution-deploying-dialog/customElement.js +71 -0
  374. package/dist/components/solution-details-card/customElement.js +2 -2
  375. package/dist/components/solution-details-panel/customElement.d.ts +1 -1
  376. package/dist/components/solution-details-panel/customElement.js +167 -76
  377. package/dist/components/solution-details-panel/index.d.ts +6 -0
  378. package/dist/components/solution-details-panel/index.js +6 -0
  379. package/dist/components/solution-item/customElement.js +1 -1
  380. package/dist/components/solution-item-accordion/customElement.d.ts +8 -6
  381. package/dist/components/solution-item-accordion/customElement.js +19 -11
  382. package/dist/components/solution-item-accordion/index.d.ts +1 -0
  383. package/dist/components/solution-item-accordion/index.js +1 -0
  384. package/dist/components/solution-item-details/customElement.js +1 -1
  385. package/dist/components/solution-item-diagram/customElement.d.ts +0 -1
  386. package/dist/components/solution-item-diagram/customElement.js +63 -66
  387. package/dist/components/solution-item-icon/customElement.d.ts +1 -1
  388. package/dist/components/solution-item-icon/customElement.js +1 -1
  389. package/dist/components/solution-item-sharing/customElement.js +1 -1
  390. package/dist/components/solution-organization-variables/customElement.js +1 -1
  391. package/dist/components/solution-resource-item/customElement.js +2 -2
  392. package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -5
  393. package/dist/components/solution-snapshot-gallery/customElement.js +14 -14
  394. package/dist/components/solution-spatial-ref/customElement.js +14 -14
  395. package/dist/components/solution-template-data/customElement.js +1 -1
  396. package/dist/components/solution-variables/customElement.js +1 -1
  397. package/dist/components/solutions-all-panel/customElement.js +35 -102
  398. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  399. package/dist/components/solutions-all-shell/customElement.js +23 -41
  400. package/dist/components/solutions-article-panel/customElement.js +1 -1
  401. package/dist/components/solutions-articles/customElement.js +11 -14
  402. package/dist/components/solutions-articles-shell/customElement.js +13 -16
  403. package/dist/components/solutions-deployed-panel/customElement.d.ts +9 -8
  404. package/dist/components/solutions-deployed-panel/customElement.js +39 -26
  405. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -1
  406. package/dist/components/solutions-deployed-shell/customElement.js +23 -41
  407. package/dist/components/solutions-filter-panel/customElement.js +16 -19
  408. package/dist/components/spatial-ref/customElement.js +1 -1
  409. package/dist/components/store-manager/customElement.js +1 -1
  410. package/dist/docs/api.json +328 -65
  411. package/dist/docs/docs.json +318 -56
  412. package/dist/docs/vscode.html-custom-data.json +26 -10
  413. package/dist/docs/web-types.json +103 -31
  414. package/dist/index.d.ts +18 -4
  415. package/dist/index.js +1 -1
  416. package/dist/loader.js +8 -8
  417. package/dist/types/lumina.d.ts +10 -9
  418. package/dist/types/preact.d.ts +11 -10
  419. package/dist/types/react.d.ts +12 -11
  420. package/dist/types/stencil.d.ts +10 -9
  421. package/dist/utils/interfaces.d.ts +10 -0
  422. package/dist/utils/privilegeUtils.d.ts +7 -0
  423. package/package.json +1 -1
  424. package/dist/cdn/22U6FEYE.js +0 -18
  425. package/dist/cdn/3FJRQN27.js +0 -18
  426. package/dist/cdn/4QGW7XLZ.js +0 -18
  427. package/dist/cdn/5Q2JJCFF.js +0 -4
  428. package/dist/cdn/67776ZSV.js +0 -18
  429. package/dist/cdn/7GJVOL2K.js +0 -4
  430. package/dist/cdn/BRT757S3.js +0 -18
  431. package/dist/cdn/C5C4KHG2.js +0 -4
  432. package/dist/cdn/CKQRWDEZ.js +0 -18
  433. package/dist/cdn/EPWZGWQJ.js +0 -4
  434. package/dist/cdn/F2MMZAMU.js +0 -18
  435. package/dist/cdn/JUWCTKXD.js +0 -4
  436. package/dist/cdn/KLCMDGZK.js +0 -289
  437. package/dist/cdn/LCT3NQOR.js +0 -18
  438. package/dist/cdn/M53O7AL7.js +0 -18
  439. package/dist/cdn/MA6BHO3S.js +0 -4
  440. package/dist/cdn/MALVFH5T.js +0 -20
  441. package/dist/cdn/NJB5H6NT.js +0 -4
  442. package/dist/cdn/NK6VN5CV.js +0 -18
  443. package/dist/cdn/OBGLJ4AM.js +0 -18
  444. package/dist/cdn/TNZETMBZ.js +0 -18
  445. package/dist/cdn/WAN4LQ52.js +0 -18
  446. package/dist/cdn/WRLRDSID.js +0 -18
  447. package/dist/cdn/X57FB3KD.js +0 -18
  448. package/dist/cdn/XV4GT4PM.js +0 -4
  449. package/dist/cdn/YHIK3V5C.js +0 -18
  450. package/dist/cdn/YI47D7GW.js +0 -4
  451. package/dist/cdn/YPFDFW4X.js +0 -4
  452. package/dist/cdn/Z3NILA3R.js +0 -369
  453. package/dist/components/solution-deploying-panel/customElement.d.ts +0 -12
  454. package/dist/components/solution-deploying-panel/customElement.js +0 -77
  455. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.en.json +0 -0
  456. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.json +0 -0
  457. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.d.ts +0 -0
  458. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.js +0 -0
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as h}from"./WMRXZUG4.js";import{a as p}from"./OHWF5VUN.js";import"./XURZ7NUD.js";import"./Y2GJJZVT.js";import"./Z2J6R7BH.js";import"./MICSEU5B.js";import"./2N3SSEWE.js";import"./5FTGQPO5.js";import"./PMRPPUOG.js";import"./3KRHILOK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import{a,b as o}from"./ZEFYE6IH.js";import{a as d}from"./Z7DOTE4W.js";import{B as t,D as c,c as s,d as i,x as n,y as r}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var g=s`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-card{width:295px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:var(--calcite-color-text-inverse)}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-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%}.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}.deployed-icon-override{--calcite-icon-color: 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-bold{font-weight:700}.font-weight-normal{font-weight:400}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{line-height:2.5rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}`,l=class extends r{constructor(){super(...arguments),this.allowDelete=!1,this.deployedDate="",this.description="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.userSessionContextConsumer=n({context:p,subscribe:!0}),this._isConfigureOpen=!1,this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.templateInfoGraph=[],this._translations=d({name:"solution-deployed-card",blocking:!0}),this._deleteDialogRef=a(),this._diagramDialogRef=a()}static{this.properties={allowDelete:5,card:0,deployedDate:1,description:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,userSessionContextConsumer:32,_isConfigureOpen:16,_isDeleteOpen:16,_isDiagramOpen:16,templateInfoGraph:16,_translations:16}}static{this.styles=g}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}render(){return i`<div><calcite-card .label=${this.description} @click=${this._cardSelected}>${this._getImage()}${this._getHeader()}<p slot=description>${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()}<solution-configure-dialog .card=${this.card} .cardRef=${this.el} @solutionConfigureDialogClose=${()=>{this._isConfigureOpen=!1}} .open=${this._isConfigureOpen}></solution-configure-dialog></div>`}_getImage(){let e=this.userSessionContextConsumer.value;return i`<div class="card-image-wrap" slot=thumbnail><img class="thumbnail card-image" alt=${this.heading??t} src=${`${this.thumbnail}&token=${e?.token}`}><div class="hover-text">${this._translations.configure}</div></div>`}_getHeader(){return i`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between>${this.heading}</calcite-label><calcite-icon class="icon-brand-color" icon=refresh id=solution-update-available-icon @click=${this._updateAvailable} scale=s></calcite-icon><calcite-tooltip placement=bottom reference-element=solution-update-available-icon>${this._translations.updateAvailable}</calcite-tooltip></div>`}_getOwnerLabel(){return i`<calcite-label class="font-weight-bold padding-end-1-2" layout=inline>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return i`<div class="display-flex align-items-center"><calcite-icon class="deployed-icon-override padding-end-1-2" icon=projects scale=s></calcite-icon><calcite-label class="deployed-label-override">${this._translations.deployedDate.replace("{{date}}",this.deployedDate)}</calcite-label></div>`}_getConfigureButton(){return i`<calcite-split-button appearance=outline @click=${e=>e.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.configure??t} width=full><calcite-dropdown-group selection-mode=none><calcite-dropdown-item icon-start=model @click=${this._viewDiagram}>${this._translations.viewDiagram}</calcite-dropdown-item><calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails}>${this._translations.viewItemDetails}</calcite-dropdown-item>${this.allowDelete&&i`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group></calcite-split-button>`}_renderDeleteDialog(){return i`<solution-delete-dialog .card=${this.card} .open=${this._isDeleteOpen} @dialogOpen=${e=>{this._isDeleteOpen=e.detail}} ${o(this._deleteDialogRef)}></solution-delete-dialog>`}_renderDiagramDialog(){return i`<calcite-dialog class="dialog-y-size dialog-x-size" heading id modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled resizable scale=l width=l ${o(this._diagramDialogRef)}><solution-item-diagram .templateInfoGraph=${this.templateInfoGraph}></solution-item-diagram></calcite-dialog>`}_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(),alert("_viewDocumentation")}_viewItemDetails(e){e.stopPropagation(),alert("_viewItemDetails")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation(),alert("_openUserProfile")}_updateAvailable(e){e.stopPropagation(),alert("_updateAvailable")}async _processTemplates(e){return await h(e.id,this.userSessionContextConsumer.value)}};c("solution-deployed-card",l);export{l as SolutionDeployedCard};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./I74ECT7N.js";import"./DC2E55EL.js";import"./EKX5RPAU.js";import{C as Ce,E as ke,c as Re,z as Se}from"./AK2IOGVT.js";import{a as Me,c as g,e as Ee,h as ce}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.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 r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{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:0.875rem;--instant-apps-interactive-legend-info-font-size:0.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}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{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)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{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){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--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",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),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,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
@@ -1,289 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as f}from"./JSCLICIM.js";import{e as b}from"./RNVECRCO.js";import{c as u,n as g,t as _,z as x}from"./AK2IOGVT.js";import"./J2SERNA3.js";import{a as m,c as a,d as w,e as v,f as y}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var k=`
5
- @media print {
6
- @page {
7
- size: Portrait;
8
- margin: .25in;
9
- }
10
-
11
- html, body {
12
- padding: 0;
13
- margin: 0;
14
- height: 100%;
15
- width: 100%;
16
- }
17
-
18
- body > *:not(.instant-apps-export-print) { display: none; }
19
- }
20
-
21
- * {
22
- -webkit-print-color-adjust: exact;
23
- color-adjust: exact;
24
- }
25
-
26
- instant-apps-header {
27
- height: 50px;
28
- display: block;
29
- }
30
-
31
-
32
- .instant-apps-export-print {
33
- z-index: -999;
34
- color: #323232 !important;
35
- display: grid;
36
- grid-auto-flow: row;
37
- --esri-calcite-mode-name: "light";
38
- position: absolute;
39
- }
40
-
41
- .instant-apps-export-print__view-header {
42
- background: #fff;
43
- }
44
-
45
- .instant-apps-export-print__view-header h1 {
46
- font-size: 16px;
47
- font-weight: 500;
48
- color: #323232;
49
- margin: 6px;
50
- }
51
-
52
- .instant-apps-export-print__views-container {
53
- height: 100%;
54
- width: 100%;
55
- display: flex;
56
- flex-direction: column;
57
- }
58
-
59
- .instant-apps-export-print__view-content:first-child {
60
- page-break-before: unset;
61
- }
62
-
63
- .instant-apps-export-print__view-content {
64
- height: 100%;
65
- display: flex;
66
- flex-direction: column;
67
- gap: 32px;
68
- page-break-before: always;
69
- }
70
-
71
- .instant-apps-export-print, .instant-apps-export-print * {
72
- box-sizing: border-box;
73
- }
74
-
75
- .instant-apps-export-print__view-section {
76
- height: 100%;
77
- }
78
-
79
- .instant-apps-export-print__view-container {
80
- height: 100%;
81
- width: 100%;
82
- break-inside: avoid;
83
- }
84
-
85
- .instant-apps-export-print__view-wrapper {
86
- height: fit-content;
87
- width: min-content;
88
- position: relative;
89
- display: flex;
90
- flex-direction: column;
91
- border: 2pt solid #323232;
92
- overflow: hidden;
93
- }
94
-
95
- .instant-apps-export-print__view {
96
- max-height: 60vh;
97
- max-width: calc(100vw - .25in);
98
- object-fit: contain;
99
- }
100
-
101
- .instant-apps-export-print__popup-container {
102
- height: min-content;
103
- max-width: 350px;
104
- display: none;
105
- color: #323232;
106
- background: #fff;
107
- border: 1pt solid #323232;
108
- break-inside: avoid;
109
- }
110
-
111
- .instant-apps-export-print__popup-title {
112
- border-bottom: 1pt solid #323232;
113
- }
114
-
115
- .instant-apps-export-print__popup-content {
116
- background: #fff;
117
- padding-top: 8pt;
118
- }
119
-
120
- .instant-apps-export-print__popup-content .esri-feature-media__chart {
121
- background: #fff;
122
- }
123
-
124
- .instant-apps-export-print__legend-container {
125
- height: min-content;
126
- background: #fff;
127
- overflow: unset;
128
- }
129
-
130
- .esri-legend--card, .esri-legend--card__service-content {
131
- flex-flow: row wrap;
132
- }
133
-
134
- .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {
135
- background: #fff;
136
- color: #323232;
137
- }
138
-
139
- .instant-apps-export-print__popup-content * {
140
- color: #323232;
141
- }
142
-
143
- .instant-apps-export-print .esri-widget__heading {
144
- margin: 2pt 7pt;
145
- padding: 0;
146
- color: #323232;
147
- }
148
-
149
- .instant-apps-export-print .esri-legend__ramp-label:before {
150
- border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);
151
- }
152
-
153
- .instant-apps-export-print .esri-legend--card__section {
154
- padding: 4pt 0 4pt;
155
- min-width: unset;
156
- border-left: none;
157
- }
158
-
159
- .instant-apps-export-print .esri-legend--card__section:first-child {
160
- border-left: none;
161
- }
162
-
163
- .instant-apps-export-print .esri-legend--card__service {
164
- border: none;
165
- flex: 0 1 auto;
166
- break-inside: avoid;
167
- }
168
-
169
- .instant-apps-export-print .esri-legend--card {
170
- border: none;
171
- gap: 6pt 12pt;
172
- }
173
-
174
- .instant-apps-export-print .esri-legend--card:not(:first-child),
175
- .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {
176
- display: none;
177
- }
178
-
179
- .instant-apps-export-print .esri-legend--card__service-caption-container {
180
- height: unset;
181
- padding: 0;
182
- border-bottom: none;
183
- }
184
-
185
- .instant-apps-export-print .esri-legend--card__service-caption-text {
186
- padding-bottom: 4px;
187
- }
188
-
189
- .instant-apps-export-print__compass-container {
190
- position: absolute;
191
- top: 65px;
192
- left: 15px;
193
- background: #fff;
194
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
195
- --calcite-ui-icon-color: #000;
196
- border-radius: 50%;
197
- height: fit-content;
198
- }
199
-
200
- .instant-apps-export-print__compass-container .esri-compass {
201
- background: #fff;
202
- }
203
-
204
- .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {
205
- color: #000;
206
- }
207
-
208
- .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {
209
- background: #fff;
210
- }
211
-
212
- .instant-apps-export-print__scale-bar-container {
213
- width: 100%;
214
- position: absolute;
215
- bottom: 15px;
216
- margin: 0 15px;
217
- }
218
-
219
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
220
- color: #323232;
221
- font-size: 10px;
222
- padding: 0 4px;
223
- }
224
-
225
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {
226
- height: 16px;
227
- overflow: hidden;
228
- }
229
-
230
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {
231
- bottom: 1px;
232
- }
233
-
234
- .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
235
- height: 10px;
236
- padding: 0 2px;
237
- line-height: 11px;
238
- }
239
-
240
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
241
- display: none;
242
- }
243
-
244
- .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
245
- align-items: center;
246
- }
247
-
248
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
249
- background-color: rgba(255, 255, 255, 0.66);
250
- }
251
-
252
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {
253
- width: var(--instant-apps-scale-bar-top) !important;
254
- border-bottom: 2px solid #323232;
255
- }
256
-
257
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
258
- width: var(--instant-apps-scale-bar-bottom) !important;
259
- border-top: 2px solid #323232;
260
- }
261
-
262
- .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
263
- position: unset;
264
- margin: 0 2px;
265
- background-color: rgba(255, 255, 255, 0.66);
266
- height: 10px;
267
- display: flex;
268
- align-items: center;
269
- }
270
-
271
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
272
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,
273
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,
274
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {
275
- background-color: #323232;
276
- border-right: 2px solid #323232;
277
- }
278
-
279
- .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {
280
- display: none;
281
- }
282
-
283
- .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {
284
- width: 100%!important;
285
- }
286
-
287
- .instant-apps-export-print__popup-content .esri-popup__content {
288
- margin: 0;
289
- }`,S=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover:#fff}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}",P=S,o={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",hidden:"instant-apps-export__visually-hidden",print:{base:"instant-apps-export-print",legendContainer:"instant-apps-export-print__legend-container",compassContainer:"instant-apps-export-print__compass-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewsContainer:"instant-apps-export-print__views-container",viewSection:"instant-apps-export-print__view-section",viewWrapper:"instant-apps-export-print__view-wrapper",viewContent:"instant-apps-export-print__view-content",viewHeader:"instant-apps-export-print__view-header"}},I=class{constructor(t){m(this,t),this.exportOutputUpdated=y(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=o.baseLight,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(t){t&&this.exportViews?.forEach(({view:e},n)=>{if(!this.printEl)return;let i=this.printEl.querySelector(`#legend-${n}`);i!=null&&this.updateLegend(e,n,i)})}watchView(){this.exportViews?.forEach(({view:t},e)=>{this.handleIncludePopup(t,e)})}async componentWillLoad(){this.baseClass=f(this.el)==="dark"?o.baseDark:o.baseLight,await b(this),await this.initializeModules()}componentDidLoad(){this.printEl&&(this.printContainerEl?.prepend(this.printEl),this.exportViews?.forEach(({view:t},e)=>{this.handleIncludePopup(t,e)}))}componentDidUpdate(){this.exportViews?.forEach(({view:t},e)=>{if(!this.printEl)return;let n=this.printEl.querySelector(`#legend-${e}`);this.updateLegend(t,e,n)})}async initializeModules(){let t=await x();return this.handles=await u(),this.reactiveUtils=t,await Promise.resolve(!0)}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(w,{key:"9d15cda5065a8d645908cdcc46ef150f9c850c16"},a("div",{key:"beb4f074cc400ecf89068419018a2ab3e2a42911",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t))}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"export-popover-btn",label:this.messages?.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e},t),a("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:this.messages?.exportBtn,text:this.messages?.exportBtn})]}renderPanel(){let t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,n=this.renderPrint(),i=this.mode==="inline"?o.inlineContainer:o.popoverContainer;return a("div",{class:i},t,e,a("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},this.messages?.export),n)}renderSwitch(t,e){let i=this[t],r=t,p=e||this.messages?.[r];return a("calcite-label",{layout:"inline-space-between"},p,a("calcite-switch",{checked:i,value:t,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){let t=this.showIncludeHeader?this.renderSwitch("includeHeader"):null,e=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return a("div",null,t,e,n)}renderPrint(){return a("div",{ref:t=>this.printContainerEl=t},a("div",{class:o.print.base,ref:t=>this.printEl=t},a("div",{class:o.print.viewsContainer},this.exportViews?.map(({title:t,view:e},n)=>{let i=e.map?.portalItem?.id,r=this.includeMap?this.renderPrintMap(t,n):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(n):null,s=this.includeMap&&this.showIncludePopup?this.renderPopup(n):null;return a("div",{key:i??"",id:`print-${n}`,class:o.print.viewContent},r,p,s)}))))}renderPrintMap(t,e){return a("div",{id:`view-container-${e}`,class:o.print.viewContainer},a("div",{id:`view-wrapper-${e}`,class:o.print.viewWrapper},this.includeHeader&&t?a("div",{class:o.print.viewHeader},a("h1",null,t)):null,a("img",{id:`view-${e}`,class:o.print.view}),a("div",{id:`scale-bar-container-${e}`,class:o.print.scaleBarContainer})))}renderLegend(t){return a("div",{id:`legend-${t}`,class:o.print.legendContainer})}renderCompass(t){return a("div",{id:`compass-${t}`,class:o.print.compassContainer})}renderPopup(t){return a("div",{id:`popup-${t}`,class:o.print.popupContainer},a("div",{id:`popup-title-${t}`,class:o.print.popupTitle}),a("div",{id:`popup-content-${t}`,class:o.print.popupContent}))}optionOnChange(t){let e=t.target,{checked:n,value:i}=e;this[i]=n,this.updateExportOutput()}async exportOnClick(){await this.beforeExport(),this.exportViews?.length?(this.addPrintStyling(),this.printEl&&document.body.prepend(this.printEl),this.exportViews.forEach(({view:t},e)=>{this.handleViewExportOnClick(t,e)}),this.handleImgLoaded()):this.popoverEl!=null&&(this.popoverEl.open=!1)}async handleViewExportOnClick(t,e){this.includeMap&&(this.updateScaleBar(t,e),this.updatePopupToPrint(t,e),this.viewScreenshot(t,e),this.handleLegendSetup(e))}addPrintStyling(){this.printStyleEl==null&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=k,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()},1500)}resetPrintContent(){this.printEl&&(this.printContainerEl?.prepend(this.printEl),this.printStyleEl?.remove(),this.printStyleEl=void 0)}async updatePopupToPrint(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#popup-${e}`);if(n!=null&&(n.style.display=this.includePopup&&t?.popup?.visible?"block":"none",this.checkPopupOpen(t,e)),t?.popup?.visible&&t?.popup?.selectedFeature!=null){let i=document.createElement(`h${t?.popup?.headingLevel??2}`);i.innerHTML=t?.popup?.title??"",i.className="esri-widget__heading esri-popup__header-title";let r=this.printEl.querySelector(`#popup-title-${e}`);r!=null&&(r.style.display=t?.popup?.title?"block":"none",r.innerHTML="",r.prepend(i))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){let t=document.title;window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1500)}handleLegendSetup(t){if(!this.printEl)return;let e=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&this.includeMap&&e){let n=this.legends[t],i=n!=null&&n.activeLayerInfos?.length>0;e.style.display=this.includeLegend&&i?"block":"none"}}handleWidgetCreation(){this.includeMap&&this.exportViews?.forEach(({view:t},e)=>{this.handleLegendCreation(t,e)})}handleIncludePopup(t,e){if(!(!this.handles||!this.reactiveUtils||!t||!this.showIncludePopup)&&this.showIncludePopup){let n=`includePopup-${e}`;this.handles?.remove(n),this.reactiveUtils.whenOnce(()=>t?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>!!t?.popup?.visible,i=>{this.includePopup=i}),n)})}}handleLegendCreation(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#legend-${e}`);if(this.showIncludeLegend&&n!=null){let i=t.map,p=this.legends[e]?.view?.map;i?.portalItem?.id!=null&&i?.portalItem?.id===p?.portalItem?.id||this.updateLegend(t,e,n)}}async updateLegend(t,e,n){t?.when(async i=>{if(this.legends[e]==null&&n!=null){n.innerHTML="";let r=document.createElement("div");n.append(r),this.legends[e]=await _({id:`legend-widget-${e}`,container:r,view:i,style:{type:"card",layout:"side-by-side"}})}})}handleCompassCreation(t,e){if(!this.compassContainerEl)return;let n=this.compassContainerEl.querySelector(`#compass-${e}`);if(n!=null){let i=t.map,p=this.compasses[e]?.view?.map;i?.portalItem?.id===p?.portalItem?.id||this.updateCompass(t,e,n)}}updateCompass(t,e,n){t?.when(async i=>{let r=document.createElement("div");n!=null&&(n.append(r),this.compasses[e]=await g({id:`compass-widget-${e}`,container:r,view:i}))})}updateScaleBar(t,e){if(!this.printEl)return;let n=this.printEl.querySelector(`#scale-bar-container-${e}`);if(n&&t!=null&&(n.innerHTML="",this.showScaleBar)){let r=t?.ui?.getComponents()?.find(({container:p})=>p?.className?.includes("esri-scale-bar"));r?.container!=null&&typeof r.container!="string"&&n.append(r.container.cloneNode(!0))}}async viewScreenshot(t,e){if(!this.printEl||!this.includeMap)return;let n=1e3,i=this.printEl.querySelector(`#scale-bar-container-${e}`);i?.classList.toggle("instant-apps-export-print__scale-bar-container--position",t.width>n);let r=await t.takeScreenshot({width:t.width*2,height:t.height*2});this.handleScaleBarSize(t,r,i);let p=this.printEl.querySelector(`#view-${e}`);r!=null&&p!=null&&(p.src=r.dataUrl)}checkPopupOpen(t,e){if(!this.printEl)return;let i=t?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(i!=null){let r=i.querySelectorAll("canvas"),p=this.printEl.querySelector(`#popup-content-${e}`);if(p==null)return;p.innerHTML="",p.append(i.cloneNode(!0));let s=p.querySelectorAll("canvas");r.forEach((l,E)=>{let C=l.toDataURL(),c=document.createElement("img");c.src=C;let d=l.getAttribute("style");d&&c.setAttribute("style",d);let h=s[E];h!=null&&(h.replaceWith(c),document.querySelector("link[href*='esri/themes/dark/main.css']")&&c.parentElement?.parentElement!=null&&(c.parentElement.style.background="#242424",c.parentElement.parentElement.style.background="#242424"))})}}handleScaleBarSize(t,e,n){if(this.showScaleBar&&t?.type==="2d"&&n!=null){let i=n.querySelector(".esri-scale-bar__line--top"),r=n.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(e,n,i,"top"),this.setScaleBarWidth(e,n,r,"bottom")}}setScaleBarWidth(t,e,n,i){if(n!=null&&t!=null){let r=t.data.width/2,l=Number(n.style.width.replace("px",""))/r*100;e?.style.setProperty(`--instant-apps-scale-bar-${i}`,`${l}%`)}}get el(){return v(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};I.style=P;export{I as instant_apps_export_views};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import"./XZQRI4EN.js";import e from"./2QFAL42J.js";import{a as x,b as a,c as C,d as w,e as d}from"./SN7Y4QIQ.js";import{a as m,b as _,c as v}from"./OHWF5VUN.js";import"./XURZ7NUD.js";import"./Y2GJJZVT.js";import"./Z2J6R7BH.js";import"./MICSEU5B.js";import"./2N3SSEWE.js";import"./5FTGQPO5.js";import"./PMRPPUOG.js";import"./3KRHILOK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import{a as y,b}from"./ZEFYE6IH.js";import{a as g}from"./Z7DOTE4W.js";import{A as o,B as c,D as f,c as h,d as i,n,w as l,y as u}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";export default $arcgis.t(([S])=>{var k=h`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.display-flex{display:flex}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:.5rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}`,p=class extends u{constructor(){super(),this.solutionsCount=0,this.sortType="created",this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=g({name:"solutions-deployed-shell",blocking:!0}),this._solutionsDeployedPanelRef=y(),this._authContextProvider=l({context:v}),this._isMobileContextProvider=l({context:_}),this._userSessionContextProvider=l({context:m}),this.filterRemoved=n(),this.tokenRefreshed=n(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={solutionsCount:9,sortType:1,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=k}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){let e=new S(x,a,d);await e.init(),e.SignedIn||e.signIn(),this._authContextProvider.setValue(e),e.RestUserSession&&this._userSessionContextProvider.setValue(e.RestUserSession)}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab" icon-start=${e??c} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="header-override background-override"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"block"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${o(e)}><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${o(e)} position=start><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-deployed-panel .agoSolutionsGroupId=${C} .enterpriseSolutionsGroupId=${w} .locale=${d} .orgUrl=${a} @deployedCardsFetched=${this._updateSolutionCount} .portalUrl=${a} .sortType=${this.sortType} style=${o(e)} ${b(this._solutionsDeployedPanelRef)}></solutions-deployed-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByDateDeployed,sortType:"created"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??c}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"created":t=this._translations.sortByDateDeployed;break;case"relevance":t=this._translations.sortByRelevance;break;case"title":t=this._translations.sortByTitle;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._solutionsDeployedPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){let t=this.filters.filter(s=>s.displayValue===e);this.filters=this.filters.filter(s=>s.displayValue!==e),this._solutionsDeployedPanelRef.value?.searchSolutions(),t.length>0&&this.filterRemoved.emit(t[0])}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._solutionsDeployedPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._solutionsDeployedPanelRef.value?.searchSolutions())}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let s=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let r=await t?.refreshSession();if(r){this._userSessionContextProvider.setValue(r);let $=r?.token??"";this.tokenRefreshed.emit($)}},s)}}};f("solutions-deployed-shell",p);return p},e)
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as A}from"./YPFDFW4X.js";import d from"./ZQUJEICA.js";import c from"./2QFAL42J.js";import{a as M}from"./MALVFH5T.js";import a from"./TPLOAFHX.js";import{a as C,b as T,e as I}from"./SN7Y4QIQ.js";import{a as k,b as L,c as P}from"./OHWF5VUN.js";import{G as h,I as b,J as S,oa as R}from"./XURZ7NUD.js";import"./Y2GJJZVT.js";import"./Z2J6R7BH.js";import"./MICSEU5B.js";import"./2N3SSEWE.js";import"./5FTGQPO5.js";import"./PMRPPUOG.js";import"./3KRHILOK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import{k as $}from"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import"./GAV3AXFW.js";import{a as _,b as g}from"./ZEFYE6IH.js";import{a as x}from"./Z7DOTE4W.js";import{B as p,D as w,c as y,d as s,n as m,w as u,y as f,z as n}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";export default $arcgis.t(([,E,{b:H,c:D}])=>{var O=y`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:1px;border-bottom-style:solid}.row-margin-2{margin-inline-start:2rem;margin-inline-end:2rem}calcite-label{--calcite-label-margin-bottom: 0px}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-end-2{padding-inline-end:2rem}.align-self-center{align-self:center}.align-items-center{align-items:center}.width-330{width:330px}.card-group{overflow:hidden;padding:.5rem}calcite-card{width:400px}@media (max-width: 800px){calcite-card{width:calc(50% - .5rem)}}@media (max-width: 400px){calcite-card{width:100%}}.max-height-240{max-height:240px}.max-height-300{max-height:300px}.scrollable-section{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.scrollable-section::-webkit-scrollbar{display:none}.display-none{display:none}.cursor-pointer{cursor:pointer}`,v=class extends f{constructor(){super(),this.open=!1,this._hideScreenshotsScroll=!1,this._hideYouMayAlsoLikeScroll=!1,this.isMobile=!1,this._templates=[],this._translations=x({name:"solution-details-panel",blocking:!0}),this._allCards=[],this._authContextProvider=u({context:P}),this._configureLearnMore="",this._customDeploymentMappings={},this._isMobileContextProvider=u({context:L}),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._screenshotsBaseHeight=240,this._screenshotsElement=_(),this._userOptions=[],this._userSessionContextProvider=u({context:k}),this._youMayAlsoLikeElement=_(),this._youMayAlsoLikeBaseHeight=300,this.templatesFetched=m(),this.itemPropertiesFetched=m(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched)}static{this.properties={card:0,open:5,_hideScreenshotsScroll:16,_hideYouMayAlsoLikeScroll:16,isMobile:16,_itemProperties:16,_templates:16,_translations:16}}static{this.styles=O}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this.listenOn(this._mediaQuery,"change",this._mediaQueryChange)}async load(){let e=new E(C,T,I);await e.init(),e.SignedIn||e.signIn(),this._authContextProvider.setValue(e),e.RestUserSession&&this._userSessionContextProvider.setValue(e.RestUserSession)}loaded(){this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="border-bottom row-margin-2 padding-bottom-1",t=this._getRelatedArticles(),i=this._getYouMayAlsoLikeCards();return s`<calcite-panel><div class=${`${e} padding-top-1`}>${this._getSolutionRow()}</div><div class=${n(e)}>${this._getScreenshotsRow()}</div><div class=${n(e)}>${this._getDescriptionRow()}</div><div class=${n(e)}>${this._getRequirementsRow()}</div><div class=${n(e)}>${this._getInformationProductsRow()}</div><div class=${n(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?s`<div class=${n(e)}>${this._getRelatedArticlesRow(t)}</div>`:""}${i.length>0?s`<div class=${n(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}</calcite-panel>`}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=330"),t=this._itemProperties?.demoURL||"";return s`<div class=" display-flex flex-direction-row"><div class="padding-end-2"><img alt=${this.card?.title??p} class="width-330" src=${e??p}></div><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row"><h3 class="padding-end-1"><calcite-label scale=l>${this.card?.title}</calcite-label></h3><calcite-chip class="align-self-center" kind=brand .label=${this._translations.new} scale=s>${this._translations.new}</calcite-chip></div><span>${this.card?.snippet}</span><div class="display-flex flex-direction-row padding-top-1"><calcite-button class="padding-end-1" icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._deploy()}>${this._translations.deploy}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=video @click=${()=>this._openUrl(t)}>${this._translations.watchDemo}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=share @click=${()=>this._share()}>${this._translations.share}</calcite-button></div></div></div>`}_getScreenshotsRow(){let e=this._hideScreenshotsScroll?"display-none":"";return s`<calcite-panel><div class="display-flex flex-direction-column">${this._getHeader(this._translations.screenshots)}<div class="scrollable-section max-height-240" @scroll=${()=>this._onScreenshotsScroll()} ${g(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${e}`} icon=arrow-down kind=inverse @click=${()=>{this._scrollSubsection(this._screenshotsBaseHeight,this._screenshotsElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div></calcite-panel>`}_getScreenshots(){let e=this._itemProperties?.preview||[];return s`<calcite-card-group class="card-group" .label=${this._translations.screenshots}>${e.map(t=>this.card?.id?s`<calcite-card class="cursor-pointer" .label=${t.alt} @click=${()=>this._openScreenshotGallery(t)}><img alt=${t.alt??p} slot=thumbnail src=${D(this.card.id||"",t.name,this._authContextProvider.value)??p}></calcite-card>`:"")}</calcite-card-group>`}_openScreenshotGallery(e){let t=this._getDialog("solutionSnapshotGallery","solution-snapshot-gallery");t.auth=this._authContextProvider.value,t.itemProperties=this._itemProperties,t.screenshot=e,t.open=!0}_scrollSubsection(e,t){let i=t.scrollHeight,l=t.scrollTop;e<=l&&(e=l+e),t.scrollTop=i>e?e:i}_getDescriptionRow(){return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.description)}<p .innerHTML=${this.card?.description??""}></p><div class="display-flex flex-direction-row">${this.card?.learnMoreUrl?s`<calcite-link class="padding-end-2" icon-end=share @click=${()=>{this._openUrl(this.card?.learnMoreUrl||"")}}>${this._translations.learnHowtoUse}</calcite-link>`:""}${this._itemProperties?.dataDictionaryURL?s`<calcite-link icon-end=share @click=${()=>{this._openUrl(this._itemProperties?.dataDictionaryURL||"")}}>${this._translations.dataDictionary}</calcite-link>`:""}</div></div>`}_getRequirementsRow(){let e=this._getRequirements();return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.requirements)}<span>${this.card?.title?this._translations.requirementsSubText.replace("{{solutionTitle}}",this.card.title):""}</span>${e.map(t=>s`<div class="display-flex flex-direction-row padding-top-1-2"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t}</calcite-label></div>`)}</div>`}_getRequirements(){return this._itemProperties?.requirements||[]}_getInformationProductsRow(){return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.informationProducts)}<span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(e=>s`<calcite-table-row><calcite-table-cell>${e.item}</calcite-table-cell><calcite-table-cell>${e.description}</calcite-table-cell><calcite-table-cell>${e.userType}</calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.releaseNotes)}<span>${this._translations.releaseNotesSubText}</span><calcite-table bordered caption class="padding-top-1">${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div>`}_getReleaseNotesTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(e=>s`<calcite-table-row><calcite-table-cell>${e.version}</calcite-table-cell><calcite-table-cell alignment=end>${e.description.map(t=>s`<div class="display-flex flex-direction-row"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t.note}</calcite-label></div>`)}</calcite-table-cell></calcite-table-row>`)}_getRelatedArticlesRow(e){return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.relatedArticles)}<div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),s`<solution-article-card></solution-article-card>`})}</div></div>`}_getRelatedArticles(){return[]}_getYouMayAlsoLikeRow(e){let t=this._hideYouMayAlsoLikeScroll?"display-none":"";return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.youMayAlsoLike)}<div class="scrollable-section max-height-300" @scroll=${()=>this._onYouMayAlsoLikeScroll()} ${g(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row "><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map(i=>s`<solution-details-card .card=${i}></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} icon=arrow-down kind=inverse @click=${()=>{this._scrollSubsection(this._youMayAlsoLikeBaseHeight,this._youMayAlsoLikeElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getHeader(e){return s`<h3><calcite-label scale=l>${e}</calcite-label></h3>`}_deploy(){let e=this._getDialog("solutionDeployDialog","solution-deploy-dialog");e.open=!0}_getDialog(e,t){let i=document.getElementById(e),l=!1;return i||(i=document.createElement(t),i.id=e,l=!0),i.card=this.card,l&&document.body.appendChild(i),i}_openUrl(e){window.open(e,"_blank")}_share(){alert("Share need to look at this more. I believe instant apps social share requires mapView")}async _detailsCardSelected(e){this.card=e.detail,this._onResize(),await this._getItemData()}async _getItemData(){let e=this._userSessionContextProvider.value,t=await R(this.card.id,e),i=await $(this.card.id,e);this._itemProperties=i.properties,this.itemPropertiesFetched.emit(this._itemProperties);let l=A(t,this.card.typeKeywords,this._authContextProvider.value);this._privileges=e.username?l:[],console.log(this._privileges),(t.params?this.formatParams(t.params):Promise.resolve([])).then(r=>{this._userOptions=r,console.log(this._userOptions)}),this._templates=t.templates,this.templatesFetched.emit(t.templates)}formatParams(e){let t=this._userSessionContextProvider.value,i=[],l=e?Object.keys(e):[],r={id:"",props:[],accordionDisplay:!1};if(l.length>0){let o=[];return l.forEach(d=>{let c=e[d];c.valueType&&c.valueType.toLowerCase()==="itemid"&&o.push(this._findExistingItem(d,"Feature Service",t.username||""))}),Promise.all(o).then(d=>{let c={};return d.forEach(a=>{if(a.query&&a.results&&a.results.length>0){let U=a.query.split(" ")[0].replace("typekeywords:source-","");c[U]={resultId:a.results[0].id,response:a.results[0]}}}),l.forEach(a=>{if(a==="serviceLearnMore"){this._configureLearnMore=e[a],alert(this._configureLearnMore),delete e[a];return}e[a].enterpriseIDMapping&&(this._customDeploymentMappings[a]=e[a].enterpriseIDMapping),r.id=a,c[a]&&(e[a].existingItemId=c[a].resultId,this.updateUserProp(e[a],c[a].response)),this.updateOption(e[a],r,a)}),i.push(r),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let l=this._userSessionContextProvider.value;return M(`typekeywords:source-${e} type:${t} owner:${i}`,l)}updateUserProp(e,t){let i=e.itemType.toLowerCase()==="feature service",l=new RegExp(i?this._regexFsUrl:e.itemType,"i"),r=b(t,i?"url":"type","")||"",o=r!==""&&l.test(r);return e.responseValue=o?r:"",e.name=o&&h(t,"name")||"",e.title=o&&h(t,"title")||"",e.itemType=o?h(t,"type"):e.itemType,e.validId=o,e.itemUrl=H(t.id,this._authContextProvider.value),o}updateOption(e,t,i){let l=e.default||"",r=typeof l,o=l.toString();this._setFeatureServiceProps(e);let d=this.getValidation(e,o);t.props.push({id:i,outType:r,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:o,default:o,srSearchText:o,autoSelect:o!=="",...d,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&S(e,"attributes.required","true")}getValidation(e,t){let i="",l=h(e,"validation.message")||"",r=!0;return h(e,"attributes.required")==="true"&&(i=b(e,"validation.expression","\\S{1,}"),r=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,l=this._translations.configure.invalidID),{valid:r,validation:{expression:i,message:l}}}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._hideScreenshotsScroll=(this._screenshotsElement.value?.scrollHeight||0)<=this._screenshotsBaseHeight+2,this._hideYouMayAlsoLikeScroll=(this._youMayAlsoLikeElement.value?.scrollHeight||0)<=this._youMayAlsoLikeBaseHeight+2}_onScreenshotsScroll(){let e=(this._screenshotsElement.value?.scrollTop||0)+this._screenshotsBaseHeight;e===this._screenshotsElement.value?.scrollHeight&&!this._hideScreenshotsScroll?this._hideScreenshotsScroll=!0:e<(this._screenshotsElement.value?.scrollHeight||0)&&(this._hideScreenshotsScroll=!1)}_onYouMayAlsoLikeScroll(){let e=(this._youMayAlsoLikeElement.value?.scrollTop||0)+this._youMayAlsoLikeBaseHeight;e===this._youMayAlsoLikeElement.value?.scrollHeight&&!this._hideYouMayAlsoLikeScroll?this._hideYouMayAlsoLikeScroll=!0:e<(this._youMayAlsoLikeElement.value?.scrollHeight||0)&&(this._hideYouMayAlsoLikeScroll=!1)}};w("solution-details-panel",v);return v},a,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a}from"./L6PPOZ6H.js";import"./EUZPXNNK.js";import"./SISGIM4G.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import"./4RUO65YZ.js";export{a as buildUiSchema};