@esri/solutions-components 1.0.4 → 1.0.6

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/{YA3SBEXZ.js → 22SEAIC6.js} +2 -2
  2. package/dist/cdn/{PKEJXERE.js → 26THV7PU.js} +2 -2
  3. package/dist/cdn/{U75KCBUY.js → 2A54WJLL.js} +2 -2
  4. package/dist/cdn/{2CQ66JGS.js → 2ACF42ZR.js} +2 -2
  5. package/dist/cdn/{EQQAWMKP.js → 2C7UE46M.js} +1 -1
  6. package/dist/cdn/{X6NXSOAM.js → 2CLEIN6Y.js} +2 -2
  7. package/dist/cdn/{TA7HLGDD.js → 2CO6LGS3.js} +2 -2
  8. package/dist/cdn/{ERJCAGCH.js → 2ESDNOLP.js} +2 -2
  9. package/dist/cdn/{7W5RZY7N.js → 2IVXEYYO.js} +2 -2
  10. package/dist/cdn/{YF5TQNZI.js → 2NJLBLNN.js} +2 -2
  11. package/dist/cdn/{FMIGRU3V.js → 2T6B7XX3.js} +3 -3
  12. package/dist/cdn/{2N3SSEWE.js → 2TLMYAKF.js} +2 -2
  13. package/dist/cdn/{KPNSWPLU.js → 2URV24QB.js} +2 -2
  14. package/dist/cdn/{QFODTZZX.js → 2WMXCGJ6.js} +2 -2
  15. package/dist/cdn/{55MHSSEJ.js → 2XQB5N5F.js} +2 -2
  16. package/dist/cdn/3MOEHDA6.js +18 -0
  17. package/dist/cdn/{A7ABJL6C.js → 3QP57WZY.js} +2 -2
  18. package/dist/cdn/{H3QBALK4.js → 3RW2NBPF.js} +2 -2
  19. package/dist/cdn/{S7TD37PA.js → 3SJSHFDQ.js} +2 -2
  20. package/dist/cdn/{CBMM32W4.js → 3VN45O3V.js} +2 -2
  21. package/dist/cdn/{4V3EN7XG.js → 3XGPYKD3.js} +2 -2
  22. package/dist/cdn/{DDOXQYTI.js → 46LGQEFB.js} +2 -2
  23. package/dist/cdn/{5GCZQ47Q.js → 47HUGK47.js} +2 -2
  24. package/dist/cdn/{WNOY5N4R.js → 4ASSBQRJ.js} +1 -1
  25. package/dist/cdn/{B5TR3333.js → 4CVEF3SI.js} +2 -2
  26. package/dist/cdn/{SK6BPGF7.js → 4JAS7M3U.js} +4 -4
  27. package/dist/cdn/{2UH456LC.js → 4OXHTSNR.js} +1 -1
  28. package/dist/cdn/{3CQVKR4G.js → 4SEEFYPD.js} +1 -1
  29. package/dist/cdn/{YXM7GNWW.js → 4YK53WB6.js} +2 -2
  30. package/dist/cdn/{NCLWZM55.js → 547GZYOP.js} +2 -2
  31. package/dist/cdn/{GAV3AXFW.js → 55NQUWEY.js} +2 -2
  32. package/dist/cdn/{UJSAFWWD.js → 5AW5NLLI.js} +2 -2
  33. package/dist/cdn/{DVIQ73JS.js → 5BK4CWOX.js} +2 -2
  34. package/dist/cdn/{3PGLZBWX.js → 5DAI66LT.js} +2 -2
  35. package/dist/cdn/{JSML77IB.js → 5M5TLNGP.js} +1 -1
  36. package/dist/cdn/{MFRHP354.js → 5MXFQYLE.js} +2 -2
  37. package/dist/cdn/{GPR4I62X.js → 5S66UFIB.js} +2 -2
  38. package/dist/cdn/5YO5OS74.js +4 -0
  39. package/dist/cdn/{Y2GJJZVT.js → 62WQV5YC.js} +2 -2
  40. package/dist/cdn/{ATGDZI46.js → 6424ZLL7.js} +2 -2
  41. package/dist/cdn/{RNVECRCO.js → 65HTNVVT.js} +2 -2
  42. package/dist/cdn/{755YFLK2.js → 6AJKPURT.js} +2 -2
  43. package/dist/cdn/{42AUJGFJ.js → 6CG6AANG.js} +2 -2
  44. package/dist/cdn/6IIAYEYM.js +18 -0
  45. package/dist/cdn/{5ZUU5HU5.js → 7BU5DV4Q.js} +2 -2
  46. package/dist/cdn/{PY6UCRJ4.js → 7CNMLAFT.js} +2 -2
  47. package/dist/cdn/{2IQPFNPX.js → 7DOQHPCH.js} +2 -2
  48. package/dist/cdn/{ACYYQPGH.js → 7H3KZPHJ.js} +2 -2
  49. package/dist/cdn/{AI6YM633.js → 7I736LZK.js} +2 -2
  50. package/dist/cdn/{ZQUJEICA.js → 7ME4UIGX.js} +2 -2
  51. package/dist/cdn/{VY7KRQYG.js → 7MOURTYJ.js} +2 -2
  52. package/dist/cdn/{WS42HFTU.js → 7YYOJP6L.js} +2 -2
  53. package/dist/cdn/{EOWZY5KN.js → A3WJQEV7.js} +1 -1
  54. package/dist/cdn/A57HOD63.js +18 -0
  55. package/dist/cdn/{M4VW4GKI.js → AB3FQQCW.js} +2 -2
  56. package/dist/cdn/ALV3VZWM.js +18 -0
  57. package/dist/cdn/{KEC5BNS2.js → AMVC3HZO.js} +2 -2
  58. package/dist/cdn/{DHOIKSPR.js → AVVTO725.js} +2 -2
  59. package/dist/cdn/B6GTZILX.js +383 -0
  60. package/dist/cdn/{SISGIM4G.js → B7B7CVVL.js} +2 -2
  61. package/dist/cdn/BIFHOJDA.js +4 -0
  62. package/dist/cdn/{NT3MKX5U.js → BIVE3ZGY.js} +2 -2
  63. package/dist/cdn/{MIBMXAW4.js → BJ6DOG6H.js} +2 -2
  64. package/dist/cdn/{ZVSLAQ5X.js → BLS4G62F.js} +2 -2
  65. package/dist/cdn/{PEPBVRCK.js → BNYADJK7.js} +3 -3
  66. package/dist/cdn/{BII4KR4A.js → BVZ2O4L5.js} +2 -2
  67. package/dist/cdn/{W3Z2KVM3.js → BYJRAAEE.js} +1 -1
  68. package/dist/cdn/{6M3KYJDD.js → CHYWNBKA.js} +2 -2
  69. package/dist/cdn/{DLQHSRI3.js → CMN7YBVU.js} +2 -2
  70. package/dist/cdn/{XZQRI4EN.js → CNAEZ5PG.js} +1 -1
  71. package/dist/cdn/{6DXOCCZA.js → CPO6UAZQ.js} +1 -1
  72. package/dist/cdn/{X63ISSA7.js → D2EREVL4.js} +2 -2
  73. package/dist/cdn/{KJROYCIQ.js → D5OHP7NT.js} +2 -2
  74. package/dist/cdn/{N7IUWXAA.js → D6XX6KWD.js} +2 -2
  75. package/dist/cdn/{ZEFYE6IH.js → DAJFINWG.js} +2 -2
  76. package/dist/cdn/{MQWLMWGB.js → DUJNFEQ6.js} +2 -2
  77. package/dist/cdn/{DGN4U6I6.js → EAA2PB5H.js} +2 -2
  78. package/dist/cdn/{PQ75UOOH.js → ECMZSRUN.js} +2 -2
  79. package/dist/cdn/{5QPBHI6N.js → EFBCF4LP.js} +2 -2
  80. package/dist/cdn/{O5G3N4I4.js → EJEJMEGK.js} +2 -2
  81. package/dist/cdn/{F7N2K2CB.js → EKVRW3FM.js} +2 -2
  82. package/dist/cdn/{NNED4X6O.js → ESBUX6NR.js} +2 -2
  83. package/dist/cdn/{NDWOAOHX.js → ESYYQOPE.js} +1 -1
  84. package/dist/cdn/{O42JTMA4.js → EXGOSSST.js} +2 -2
  85. package/dist/cdn/{O27D4YVO.js → EXPAYLFV.js} +2 -2
  86. package/dist/cdn/{5KH5K5HP.js → EZ4U6AGL.js} +2 -2
  87. package/dist/cdn/{7UJMLOZS.js → F243JFYJ.js} +2 -2
  88. package/dist/cdn/{CSQMTZUS.js → F2QHZOXB.js} +2 -2
  89. package/dist/cdn/FH3SI764.js +294 -0
  90. package/dist/cdn/{IQE4M5WS.js → FHIBMCQA.js} +2 -2
  91. package/dist/cdn/{NZJDAUCM.js → FIDPLPEF.js} +2 -2
  92. package/dist/cdn/{QT25SZ3S.js → FV3U3YJ6.js} +2 -2
  93. package/dist/cdn/{DJ4ET7YE.js → G6EIQMVR.js} +2 -2
  94. package/dist/cdn/{MICSEU5B.js → GDYIFL6J.js} +2 -2
  95. package/dist/cdn/{GDUFF5HE.js → GGI3REJL.js} +2 -2
  96. package/dist/cdn/{XURZ7NUD.js → GHXC6C2C.js} +4 -4
  97. package/dist/cdn/{EUZPXNNK.js → GO42R2CK.js} +1 -1
  98. package/dist/cdn/{CIWLUKBJ.js → GZEJGYES.js} +2 -2
  99. package/dist/cdn/HGXPDXCR.js +18 -0
  100. package/dist/cdn/{LEPX2J3T.js → HJIGIFOQ.js} +2 -2
  101. package/dist/cdn/{AQOENSWY.js → HQIAA5ZR.js} +1 -1
  102. package/dist/cdn/{UK42NUMO.js → HUCFHRHI.js} +2 -2
  103. package/dist/cdn/{CH7DLGUP.js → HVATWN37.js} +1 -1
  104. package/dist/cdn/{5OKQHKMQ.js → HYALTA6M.js} +2 -2
  105. package/dist/cdn/{EQ3E3UVU.js → I2VKZ5OH.js} +2 -2
  106. package/dist/cdn/{TZTD5Q2B.js → I657I5LG.js} +2 -2
  107. package/dist/cdn/I65O4DPY.js +18 -0
  108. package/dist/cdn/{PPCFTYMM.js → IBB2E74R.js} +2 -2
  109. package/dist/cdn/{62OBHD7N.js → IEAQX2G7.js} +2 -2
  110. package/dist/cdn/{QVEKZTHX.js → IHZQS7G5.js} +2 -2
  111. package/dist/cdn/{WB2FCUBE.js → IPYR6HZK.js} +2 -2
  112. package/dist/cdn/{C3OFPO6W.js → IRV3QYFT.js} +2 -2
  113. package/dist/cdn/{XIWW264L.js → IWNKMVAS.js} +2 -2
  114. package/dist/cdn/{JWLGFVVC.js → IY23MDOC.js} +2 -2
  115. package/dist/cdn/{P5WUMEFT.js → J64IOAQO.js} +2 -2
  116. package/dist/cdn/{SU5YNWLR.js → J6ENWA7R.js} +2 -2
  117. package/dist/cdn/{3VRCHULS.js → JAO6QZJO.js} +2 -2
  118. package/dist/cdn/{2XKHAKJH.js → JFYTC7KL.js} +2 -2
  119. package/dist/cdn/{WT2FKAP6.js → JKJC7XFT.js} +2 -2
  120. package/dist/cdn/{QH63BAVO.js → JKX35XOC.js} +2 -2
  121. package/dist/cdn/{S3O4R37V.js → JNUBPQVQ.js} +2 -2
  122. package/dist/cdn/{EK6E5RV4.js → JRU7OOCQ.js} +2 -2
  123. package/dist/cdn/{Y7FST2QV.js → JTAN45P3.js} +2 -2
  124. package/dist/cdn/{MEIVZYDH.js → JTKT3XWL.js} +2 -2
  125. package/dist/cdn/{SQA4Z3HQ.js → K3SH7RK6.js} +2 -2
  126. package/dist/cdn/{HPVZXEFN.js → KCFSZOBX.js} +1 -1
  127. package/dist/cdn/{H4R7X2AK.js → KDP6FDXS.js} +2 -2
  128. package/dist/cdn/{7KJZVI5W.js → KOI7FBWC.js} +2 -2
  129. package/dist/cdn/{FFIBCVX2.js → KOWTHDEB.js} +2 -2
  130. package/dist/cdn/{45R5CD5E.js → KURSJGVA.js} +2 -2
  131. package/dist/cdn/{AROCXE5W.js → KV5PYIUB.js} +2 -2
  132. package/dist/cdn/L3LGCXHS.js +4 -0
  133. package/dist/cdn/L4MTDEUA.js +18 -0
  134. package/dist/cdn/{QENLODCT.js → LA3N6LZH.js} +2 -2
  135. package/dist/cdn/LBZLGIWD.js +18 -0
  136. package/dist/cdn/{DSZ5WOHN.js → LGOLEOFG.js} +2 -2
  137. package/dist/cdn/{V46NQTOH.js → LHXHL3RB.js} +2 -2
  138. package/dist/cdn/LJSLZOAW.js +4 -0
  139. package/dist/cdn/{WGL2BCUM.js → LJV6DE44.js} +2 -2
  140. package/dist/cdn/{MN5Q6VKW.js → LKBUXCMF.js} +2 -2
  141. package/dist/cdn/{NF47PQ7Q.js → LOL2WTGD.js} +2 -2
  142. package/dist/cdn/{5FTGQPO5.js → LOVLAODG.js} +2 -2
  143. package/dist/cdn/{46Z6LRFP.js → LP4BQM2H.js} +2 -2
  144. package/dist/cdn/{TW6H3Y5C.js → LVAZCCYX.js} +2 -2
  145. package/dist/cdn/{4P2ED5MG.js → M3F2PRVV.js} +2 -2
  146. package/dist/cdn/{UFT52UFX.js → M3ZMKHJ2.js} +2 -2
  147. package/dist/cdn/{M6I7SCR3.js → MI37N43V.js} +2 -2
  148. package/dist/cdn/{ORKHRXHB.js → MNPZD4I5.js} +2 -2
  149. package/dist/cdn/{NGN4GJ7L.js → MSGDDP7Y.js} +2 -2
  150. package/dist/cdn/{AK2IOGVT.js → MXCKPU23.js} +1 -1
  151. package/dist/cdn/{PEHGGHQ4.js → N5K33ZZT.js} +2 -2
  152. package/dist/cdn/{I74ECT7N.js → N65S4NHY.js} +2 -2
  153. package/dist/cdn/{CFXL3A27.js → N7ACGWAI.js} +2 -2
  154. package/dist/cdn/{L6PPOZ6H.js → NCSI6ZKY.js} +2 -2
  155. package/dist/cdn/{ZTWWXPZM.js → NCYI3FJ4.js} +2 -2
  156. package/dist/cdn/{DBZRC2CE.js → NGDTJRWQ.js} +2 -2
  157. package/dist/cdn/{THC2GZPK.js → NJBDDFNX.js} +1 -1
  158. package/dist/cdn/{73W26K5Q.js → NNO7ZI7X.js} +2 -2
  159. package/dist/cdn/{R2IVNBNU.js → NP7OH2ZI.js} +2 -2
  160. package/dist/cdn/{525IK7S3.js → NRUKSPT4.js} +2 -2
  161. package/dist/cdn/{O6DAQEXK.js → NSCQHAM7.js} +2 -2
  162. package/dist/cdn/{PTLSOJ2V.js → NZ42ZTHT.js} +2 -2
  163. package/dist/cdn/O5OQYVQ3.js +18 -0
  164. package/dist/cdn/{DYEFEHAR.js → O6X34RFQ.js} +11 -11
  165. package/dist/cdn/{AD654KDS.js → OMFYWQSY.js} +2 -2
  166. package/dist/cdn/{6QIO3AQD.js → OTBZT6CE.js} +2 -2
  167. package/dist/cdn/{XZRHSLHF.js → OTQ4RPLU.js} +1 -1
  168. package/dist/cdn/{I7AMZQNZ.js → OUA6OKHZ.js} +2 -2
  169. package/dist/cdn/{PMRPPUOG.js → P27R335T.js} +1 -1
  170. package/dist/cdn/{XKQGFDT5.js → P3YZSASH.js} +2 -2
  171. package/dist/cdn/{GGCVMVWS.js → P473G3UD.js} +2 -2
  172. package/dist/cdn/{X6LWFUFK.js → P7J4L36T.js} +1 -1
  173. package/dist/cdn/{EI2SLBFR.js → PAPULN5H.js} +2 -2
  174. package/dist/cdn/{FTC6GK32.js → PEW7EK74.js} +2 -2
  175. package/dist/cdn/{KC4KCTUH.js → PKBDH7MF.js} +2 -2
  176. package/dist/cdn/{ZFQ2JKAE.js → PNHNT6BL.js} +2 -2
  177. package/dist/cdn/{XXJ2SGBR.js → PVPNQBWZ.js} +2 -2
  178. package/dist/cdn/{A6ZN7UQQ.js → PXPVE3JE.js} +2 -2
  179. package/dist/cdn/{QPJLKOGU.js → Q2VYZCZY.js} +1 -1
  180. package/dist/cdn/{PSP2EVIP.js → Q2YCPZOX.js} +2 -2
  181. package/dist/cdn/Q6HRIABM.js +18 -0
  182. package/dist/cdn/{WRG6UGAU.js → Q6U6FUMJ.js} +2 -2
  183. package/dist/cdn/{GOMTEPFA.js → QCT6FXMR.js} +1 -1
  184. package/dist/cdn/QD76ALH3.js +18 -0
  185. package/dist/cdn/{7XD5FYQH.js → QMREQGH3.js} +2 -2
  186. package/dist/cdn/QP35PXG2.js +18 -0
  187. package/dist/cdn/{ADQGTHIK.js → QR6JZJTO.js} +2 -2
  188. package/dist/cdn/{7M4VGKUT.js → QRBQ5KHF.js} +2 -2
  189. package/dist/cdn/QSOTGUOZ.js +4 -0
  190. package/dist/cdn/{JSCLICIM.js → QZIAEDXM.js} +1 -1
  191. package/dist/cdn/{2QFAL42J.js → R5YJMFXC.js} +2 -2
  192. package/dist/cdn/{Q4EXL46G.js → RGTPM7HZ.js} +2 -2
  193. package/dist/cdn/{3KRHILOK.js → ROJGI2W3.js} +1 -1
  194. package/dist/cdn/{D2RRQ3X4.js → RRMHR2HB.js} +2 -2
  195. package/dist/cdn/{ENKVILKY.js → RV65ILJG.js} +2 -2
  196. package/dist/cdn/{H57ZKHJ4.js → RZUGSVMP.js} +1 -1
  197. package/dist/cdn/{NM3XHUXJ.js → S7NFYQWB.js} +1 -1
  198. package/dist/cdn/{D22VRCQZ.js → SEVP5RIV.js} +2 -2
  199. package/dist/cdn/{GJGBNYWB.js → SIUHVSRB.js} +3 -3
  200. package/dist/cdn/{CUKJYJQY.js → SM2GUROD.js} +1 -1
  201. package/dist/cdn/{VCK56OWN.js → STUHZQEZ.js} +1 -1
  202. package/dist/cdn/{CJOWQ5NE.js → SVFIF3T3.js} +2 -2
  203. package/dist/cdn/SXP3TCP2.js +4 -0
  204. package/dist/cdn/{CHBTCIMS.js → SXZVPSYN.js} +2 -2
  205. package/dist/cdn/{JYVM54WT.js → SZDHEJ35.js} +2 -2
  206. package/dist/cdn/T3WZ5RIH.js +4 -0
  207. package/dist/cdn/{SM2ZGXN2.js → T5JHR5GE.js} +2 -2
  208. package/dist/cdn/{T2MYK67I.js → T6ZDTQ2A.js} +2 -2
  209. package/dist/cdn/{7DEMXTPR.js → TGWWWSMN.js} +2 -2
  210. package/dist/cdn/{ROGVNZHG.js → THIMASMK.js} +2 -2
  211. package/dist/cdn/{4RUO65YZ.js → TTOMCAES.js} +1 -1
  212. package/dist/cdn/{NXZAIYZX.js → TWADDFKI.js} +2 -2
  213. package/dist/cdn/{YOTDGZIS.js → TY5HNZTA.js} +2 -2
  214. package/dist/cdn/{A3ZMYVXL.js → U4QKTJ5K.js} +2 -2
  215. package/dist/cdn/{DNSJZC4P.js → U4WC6C2F.js} +2 -2
  216. package/dist/cdn/UASHMMAZ.js +4 -0
  217. package/dist/cdn/{TIJ35HYZ.js → UDLYWYW6.js} +2 -2
  218. package/dist/cdn/{Z7DOTE4W.js → UESCD5AB.js} +2 -2
  219. package/dist/cdn/{NZ6L23VR.js → UI236QD6.js} +2 -2
  220. package/dist/cdn/{P3ZGSTRY.js → UKYKTZWK.js} +2 -2
  221. package/dist/cdn/{SN7Y4QIQ.js → UMSXHNKH.js} +1 -1
  222. package/dist/cdn/{7WWEF64M.js → UR4O5D7C.js} +2 -2
  223. package/dist/cdn/{WMRXZUG4.js → UUCDGMFW.js} +2 -2
  224. package/dist/cdn/{OHWF5VUN.js → UV2M2RAL.js} +1 -1
  225. package/dist/cdn/{MGAAWVDA.js → UWXNPHTE.js} +1 -1
  226. package/dist/cdn/V434XRYU.js +4 -0
  227. package/dist/cdn/{XE2T5GMW.js → V73IDRPZ.js} +2 -2
  228. package/dist/cdn/{2MCXJEIU.js → VA7UARYI.js} +1 -1
  229. package/dist/cdn/{EKX5RPAU.js → VBSXEYLV.js} +2 -2
  230. package/dist/cdn/{TPLOAFHX.js → VHDIRVUR.js} +2 -2
  231. package/dist/cdn/{3PNCQZNB.js → VOHSJZCI.js} +2 -2
  232. package/dist/cdn/{Z2BS6PDT.js → VP2MDCXM.js} +2 -2
  233. package/dist/cdn/{UHGKM2WA.js → VPHAMFNI.js} +2 -2
  234. package/dist/cdn/{3M5E2W6J.js → VQ65EGUC.js} +2 -2
  235. package/dist/cdn/{WG5YJAJK.js → VVGYJHF7.js} +2 -2
  236. package/dist/cdn/{UYA6RFIA.js → VW6GSY2U.js} +2 -2
  237. package/dist/cdn/{YEE23JC2.js → WAPUSBNS.js} +2 -2
  238. package/dist/cdn/{3HVOQ754.js → WE2YJ72U.js} +2 -2
  239. package/dist/cdn/{KYNAJJDV.js → WH6W2UP3.js} +2 -2
  240. package/dist/cdn/{B5XYDLJB.js → WIDXS23Z.js} +2 -2
  241. package/dist/cdn/WLSDNFCT.js +18 -0
  242. package/dist/cdn/{GCOXBUN5.js → WLSI7POK.js} +1 -1
  243. package/dist/cdn/{KK3QWOG2.js → WPAFQXGE.js} +2 -2
  244. package/dist/cdn/{3HR3VX4I.js → WPVYE7FE.js} +2 -2
  245. package/dist/cdn/{EFKYF4YS.js → WQF5CITX.js} +2 -2
  246. package/dist/cdn/{3O2FMCDB.js → WSCCQ5U4.js} +1 -1
  247. package/dist/cdn/{CWSLTV67.js → WV5BUD4Z.js} +2 -2
  248. package/dist/cdn/{VRFHYYVR.js → X6L4PHXI.js} +2 -2
  249. package/dist/cdn/{IEEVFYKM.js → X6YLW36Y.js} +1 -1
  250. package/dist/cdn/X7KYTABF.js +4 -0
  251. package/dist/cdn/{77SH6QGE.js → XAAGW7YF.js} +2 -2
  252. package/dist/cdn/{GPO4L446.js → XCEE3SEK.js} +2 -2
  253. package/dist/cdn/{XTADI7OE.js → XDZ5DDWA.js} +2 -2
  254. package/dist/cdn/{5YJKRSII.js → XGGAVQTC.js} +2 -2
  255. package/dist/cdn/{UZQC4ZVD.js → XLXUXKG6.js} +2 -2
  256. package/dist/cdn/XNPZJ7V4.js +18 -0
  257. package/dist/cdn/{W7DEAFBS.js → XOCETJCR.js} +2 -2
  258. package/dist/cdn/{UJN2FPCY.js → XORA7HCU.js} +2 -2
  259. package/dist/cdn/{ST5DNJ5A.js → XR3GB5SE.js} +1 -1
  260. package/dist/cdn/{3MTECQIQ.js → XW6O3WSI.js} +2 -2
  261. package/dist/cdn/{5GEHFK5G.js → XXU7NGZI.js} +2 -2
  262. package/dist/cdn/{4QEWKLNG.js → Y4CRJWJF.js} +2 -2
  263. package/dist/cdn/{HOQDPNYX.js → Y4RVCE5F.js} +2 -2
  264. package/dist/cdn/{HZDGJLAD.js → Y5TEYKUG.js} +2 -2
  265. package/dist/cdn/{R4JBNSHM.js → Y6FNQ642.js} +2 -2
  266. package/dist/cdn/YBIF6TAJ.js +20 -0
  267. package/dist/cdn/{KNBDWSMQ.js → YIO2CSY3.js} +2 -2
  268. package/dist/cdn/{MFHU7RCE.js → YM6G3EU3.js} +2 -2
  269. package/dist/cdn/{UBNEDJDQ.js → YQ4UFRN4.js} +2 -2
  270. package/dist/cdn/{DC2E55EL.js → YQE7AUFT.js} +2 -2
  271. package/dist/cdn/YRBPGBT5.js +18 -0
  272. package/dist/cdn/{PEJAYVXV.js → YSIFIKOE.js} +2 -2
  273. package/dist/cdn/{A7PIN73K.js → YUWAB65A.js} +2 -2
  274. package/dist/cdn/{72A2Y2EQ.js → YVJDVYGA.js} +1 -1
  275. package/dist/cdn/YWZCXS4Z.js +18 -0
  276. package/dist/cdn/{Z2J6R7BH.js → YZCZUMV2.js} +1 -1
  277. package/dist/cdn/{J2SERNA3.js → Z5RJQBZY.js} +1 -1
  278. package/dist/cdn/{TFCVVUA3.js → ZDKRS7QS.js} +2 -2
  279. package/dist/cdn/{QLVKQU3N.js → ZETWXE6M.js} +2 -2
  280. package/dist/cdn/{MN4AZD42.js → ZS2IQNQO.js} +2 -2
  281. package/dist/cdn/ZTVPU2LX.js +4 -0
  282. package/dist/cdn/{MEARRFPL.js → ZWW6ZGXP.js} +2 -2
  283. package/dist/cdn/{UD6VCHUK.js → ZWYST46E.js} +2 -2
  284. package/dist/cdn/{LFX2BV5P.js → ZZ4UGIDE.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"./Z7DOTE4W.js";import{D as p,c as a,d as l,f as c,n,y as d}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var y=a`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`,r=class extends d{constructor(){super(...arguments),this.linkType="item",this.listSelectionMode="none",this.templateInfos=[],this.typeKeywords=[],this._sortedTemplateInfos=[],this._translations=h({name:"solution-item-accordion",blocking:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=n(),this.solutionItemSelect=n(),this.solutionTypeHover=n()}static{this.properties={linkType:1,listSelectionMode:1,templateInfos:0,typeKeywords:0,_sortedTemplateInfos:16,_translations:16}}static{this.styles=y}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(e=>{e.selected&&(e.selected=!1,(e.parentElement?.parentElement).expanded=!1)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates()}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return l`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return l`<calcite-accordion-item .description=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return l`<calcite-list label selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){let t=this.typeKeywords.includes("Deployed")&&e.url,i=this.linkType==="action";return l`<calcite-list-item id=${e.id??c} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0}),t&&!i&&window.open(e.url,"_blank")}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${t&&!i?"underline":""}`}>${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${t&&i?l`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),m=this._sortOrder.indexOf(o);return s-m})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}};p("solution-item-accordion",r);export{r as SolutionItemAccordion};
@@ -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 o,b as l}from"./3O2FMCDB.js";import{a as r,c as t,d,e as c,f as p}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var g;(function(n){n.TopLeft="top-left",n.TopCenter="top-center",n.TopRight="top-right",n.CenterLeft="center-left",n.Center="center",n.CenterRight="center-right",n.BottomLeft="bottom-left",n.BottomCenter="bottom-center",n.BottomRight="bottom-right"})(g||(g={}));var _=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;justify-content:center;width:100%;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:0.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}",h=_,a={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",removePadding:"instant-apps-landing-page__remove-padding",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},m=class{constructor(n){r(this,n),this.landingPageOpen=p(this,"landingPageOpen",7),this.landingPageClose=p(this,"landingPageClose",7),this._sanitizer=new l({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=g.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.enableSignIn=void 0,this.portal=void 0,this.oauthappid=void 0}emitToggleEvent(){this.open?this.landingPageOpen.emit():this.landingPageClose.emit()}async componentWillRender(){await this.checkEnableSignIn()}render(){let n=this.renderLandingPageContent();return t(d,{key:"8d2f9b0895fcd2f570d645fd5dbab3aaff9e9a45"},n)}renderLandingPageContent(){let n=this.open?"":this.disableTransition?` ${a.closedNoTransition}`:` ${a.closed}`,e=this.getAlignmentClass(),i=this.disableTransition?` ${a.removeTransition}`:"",s=this.getContentStyle();return t("div",{style:s,class:`${a.BASE}${e}${n}${i}`},t("div",{class:a.backgroundAction},t("slot",{name:"background-action"})),t("div",{class:a.contentContainer},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),this.renderEntryButtonContainer())}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():t("div",{class:a.buttonContainer},this.renderEntryButton(),t("slot",{name:"secondary-action"}))}renderLandingPageSignIn(){return t("instant-apps-sign-in",{type:"landingPage",landingPage:!0,portal:this.portal,oauthappid:this.oauthappid,closeLandingPage:this.closeLandingPage.bind(this)})}renderIconImage(){return this.iconImage?t("img",{class:`${a.iconImage}${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return t("h1",{class:a.titleText},this.titleText)}renderSubtitleText(){return t("span",{class:a.subtitleText},this.subtitleText)}renderDescriptionText(){return t("p",{class:a.descriptionText,innerHTML:this._sanitizer?.sanitize(this.descriptionText)??""})}renderEntryButton(){return t("calcite-button",{class:a.entryButton,onClick:this.closeLandingPage.bind(this),scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText?this.entryButtonText:"Enter")}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${a.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:n}=this,{s:e,m:i,l:s}=a.iconImageScale;return n==="l"?s:n==="s"?e:i}getContentStyle(){let n=o(this.fontFamily);return this.backgroundImageSrc?{fontFamily:n,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:n}}async checkEnableSignIn(){await new Promise(n=>{if(this.enableSignIn){let e=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;e!=null&&((Date.now()-e)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}n(null)})}get el(){return c(this)}static get watchers(){return{open:["emitToggleEvent"]}}};m.style=h;export{m as instant_apps_landing_page};
@@ -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 b from"./W7DEAFBS.js";import{b as w}from"./YPFDFW4X.js";import a from"./TPLOAFHX.js";import{a as y,c as C}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{k as m,l as g,m as _,p as o}from"./GAV3AXFW.js";import{a as p}from"./Z7DOTE4W.js";import{B as d,D as u,c as l,d as s,e as n,n as h,x as r,y as c}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";export default $arcgis.t(([,{a:i,b:f}])=>{var x=l`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}.display-flex{display:flex}.flex-direction-column{flex-direction:column}`,a=class extends c{constructor(){super(),this.authContextConsumer=r({context:C,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="created",this.userSessionContextConsumer=r({context:y,subscribe:!0}),this.cards=[],this._showDeleteCompleteAlert=!1,this._translations=p({name:"solutions-deployed-panel",blocking:!0}),this._allCards=[],this._agoTerms=o,this._baseAgoTerms=o,this._categories=[],this._delay=!1,this._isOrgAdmin=!1,this._owner=_.OWNER,this._sortField="created",this._sortOrder="desc",this.deployedCardsFetched=h(),this.listenOn(window,"solutionDeleted",this.reload)}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=x}reload(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(e){console.error("Error getting deployed solutions:",e)}})()},500),this._showDeleteCompleteAlert=!0}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async load(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),this._isOrgAdmin=w(this.authContextConsumer.value),await this._getDeployedSolutions()}render(){return s`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this.userSessionContextConsumer.value.username||this.checkDeletePermissions()} .deployedDate=${e.created} .description=${e.snippet} .heading=${e.title} itemId=${e.id??d} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} .card=${e}></solution-deployed-card>`):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}async _getDeployedSolutions(){let e=await f(this.authContextConsumer.value,this.userSessionContextConsumer.value,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this.cards=e?.cards??[],e?.relatedSolutions&&(this._relatedSolutions=e.relatedSolutions,console.log(this._relatedSolutions)),this.deployedCardsFetched.emit(this.cards.length)}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${n`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let S=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${S}`]}else this._categories=[`/Categories/${t}`];e.type==="owner"&&(this._owner=e.value),this._getDeployedSolutions()}else e.type==="owner"&&(this._owner=e.value,this._getDeployedSolutions())}_getDomainValue(e){return g[e]}_getIndustryValue(e){return e==="AEC"?"AEC":m[e]}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this.authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}};u("solutions-deployed-panel",a);return a},a,b)
@@ -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,b}from"./3PGLZBWX.js";import"./QENLODCT.js";import"./CUKJYJQY.js";import"./YA3SBEXZ.js";import"./MGAAWVDA.js";import"./CH7DLGUP.js";import"./4RUO65YZ.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{A as r,B as b,C as g,D as y,E as P,F as S,G as k,H as w,s as f,t as m,u,v as l,w as p,x as d,y as O,z as x}from"./GAV3AXFW.js";function K(s,a,n){let t=s.templates.map(i=>i.type),e=[];e.push(m),t.indexOf("Group")>=0&&(e.push(u),e.push(r)),t.indexOf("Feature Service")>=0&&e.push(p);let o=t.indexOf("Feed")>-1;o&&e.push(d);let c=t.indexOf("Big Data Analytic")>-1;c&&e.push(l);let h=t.indexOf("Real Time Analytic")>-1;h&&e.push(x),(o||c||h)&&e.push(k),t.indexOf("Workflow")>-1&&(e.push(u),e.push(p),e.push(r),e.push(w)),t.indexOf("Geoprocessing Service")>-1&&(e.push(O),n.IsEnterprisePortal&&e.push(g));let A=s.templates.reduce((i,T)=>i.concat(T.item.typeKeywords||[]),[]);return G(e,A,n),I(e,a),E(e,s),e}function E(s,a){a.templates.some(n=>n.type==="Group"&&n.item?.membershipAccess==="collaboration")&&s.push(f)}function G(s,a,n){let t=v(n),e=B(n);["Location Tracking View"].some(o=>a.indexOf(o)>-1)&&(!t&&!e?s.push(y):t&&!e?s.push(P):!t&&e&&s.push(S))}function I(s,a){["HubPremium"].some(n=>a.indexOf(n)>-1)&&s.push(b)}function v(s){let a=s.PortalUserSubset;return a?.role==="org_admin"&&!a?.hasOwnProperty("roleId")}function B(s){return s.PortalSubset?.locationTrackingEnabled||!1}export{K as a,v as b};
@@ -1,369 +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}from"./JSCLICIM.js";import{e as F}from"./RNVECRCO.js";import{c as T,n as I,t as L,z as M}from"./AK2IOGVT.js";import"./J2SERNA3.js";import{a as R,c as l,d as D,e as A,f as B}from"./DVIQ73JS.js";import"./4RUO65YZ.js";function nt(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),s=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(s),e&&(n.href=e),s.href=t,s.href}var st=(()=>{let t=0,e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function m(t){let e=[];for(let i=0,n=t.length;i<n;i++)e.push(t[i]);return e}var f=null;function q(t={}){return f||(t.includeStyleProperties?(f=t.includeStyleProperties,f):(f=m(window.getComputedStyle(document.documentElement)),f))}function x(t,e){let n=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return n?parseFloat(n.replace("px","")):0}function rt(t){let e=x(t,"border-left-width"),i=x(t,"border-right-width");return t.clientWidth+e+i}function at(t){let e=x(t,"border-top-width"),i=x(t,"border-bottom-width");return t.clientHeight+e+i}function G(t,e={}){let i=e.width||rt(t),n=e.height||at(t);return{width:i,height:n}}function ot(){let t,e;try{e=process}catch{}let i=e&&e.env?e.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}var d=16384;function pt(t){(t.width>d||t.height>d)&&(t.width>d&&t.height>d?t.width>t.height?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d):t.width>d?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d))}function v(t){return new Promise((e,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>e(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=t})}async function lt(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function ct(t,e,i){let n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),r=document.createElementNS(n,"foreignObject");return s.setAttribute("width",`${e}`),s.setAttribute("height",`${i}`),s.setAttribute("viewBox",`0 0 ${e} ${i}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),s.appendChild(r),r.appendChild(t),lt(s)}var h=(t,e)=>{if(t instanceof e)return!0;let i=Object.getPrototypeOf(t);return i===null?!1:i.constructor.name===e.name||h(i,e)};function ht(t){let e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function dt(t,e){return q(e).map(i=>{let n=t.getPropertyValue(i),s=t.getPropertyPriority(i);return`${i}: ${n}${s?" !important":""};`}).join(" ")}function ut(t,e,i,n){let s=`.${t}:${e}`,r=i.cssText?ht(i):dt(i,n);return document.createTextNode(`${s}{${r}}`)}function H(t,e,i,n){let s=window.getComputedStyle(t,i),r=s.getPropertyValue("content");if(r===""||r==="none")return;let a=st();try{e.className=`${e.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(ut(a,i,s,n)),e.appendChild(o)}function gt(t,e,i){H(t,e,":before",i),H(t,e,":after",i)}var $="application/font-woff",W="image/jpeg",mt={woff:$,woff2:$,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:W,jpeg:W,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ft(t){let e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function P(t){let e=ft(t).toLowerCase();return mt[e]||""}function wt(t){return t.split(/,/)[1]}function S(t){return t.search(/^(data:)/)!==-1}function K(t,e){return`data:${e};base64,${t}`}async function J(t,e,i){let n=await fetch(t,e);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let s=await n.blob();return new Promise((r,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{r(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(s)})}var _={};function xt(t,e,i){let n=t.replace(/\?.*/,"");return i&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?`[${e}]${n}`:n}async function k(t,e,i){let n=xt(t,e,i.includeQueryParams);if(_[n]!=null)return _[n];i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let s;try{let r=await J(t,i.fetchRequestInit,({res:a,result:o})=>(e||(e=a.headers.get("Content-Type")||""),wt(o)));s=K(r,e)}catch(r){s=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;r&&(a=typeof r=="string"?r:r.message),a&&console.warn(a)}return _[n]=s,s}async function vt(t){let e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):v(e)}async function yt(t,e){if(t.currentSrc){let r=document.createElement("canvas"),a=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,a?.drawImage(t,0,0,r.width,r.height);let o=r.toDataURL();return v(o)}let i=t.poster,n=P(i),s=await k(i,n,e);return v(s)}async function bt(t,e){var i;try{if(!((i=t?.contentDocument)===null||i===void 0)&&i.body)return await y(t.contentDocument.body,e,!0)}catch{}return t.cloneNode(!1)}async function Et(t,e){return h(t,HTMLCanvasElement)?vt(t):h(t,HTMLVideoElement)?yt(t,e):h(t,HTMLIFrameElement)?bt(t,e):t.cloneNode(X(t))}var _t=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",X=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function Ct(t,e,i){var n,s;if(X(e))return e;let r=[];return _t(t)&&t.assignedNodes?r=m(t.assignedNodes()):h(t,HTMLIFrameElement)&&(!((n=t.contentDocument)===null||n===void 0)&&n.body)?r=m(t.contentDocument.body.childNodes):r=m(((s=t.shadowRoot)!==null&&s!==void 0?s:t).childNodes),r.length===0||h(t,HTMLVideoElement)||await r.reduce((a,o)=>a.then(()=>y(o,i)).then(p=>{p&&e.appendChild(p)}),Promise.resolve()),e}function St(t,e,i){let n=e.style;if(!n)return;let s=window.getComputedStyle(t);s.cssText?(n.cssText=s.cssText,n.transformOrigin=s.transformOrigin):q(i).forEach(r=>{let a=s.getPropertyValue(r);r==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),h(t,HTMLIFrameElement)&&r==="display"&&a==="inline"&&(a="block"),r==="d"&&e.getAttribute("d")&&(a=`path(${e.getAttribute("d")})`),n.setProperty(r,a,s.getPropertyPriority(r))})}function Pt(t,e){h(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),h(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function kt(t,e){if(h(t,HTMLSelectElement)){let i=e,n=Array.from(i.children).find(s=>t.value===s.getAttribute("value"));n&&n.setAttribute("selected","")}}function Tt(t,e,i){return h(e,Element)&&(St(t,e,i),gt(t,e,i),Pt(t,e),kt(t,e)),e}async function It(t,e){let i=t.querySelectorAll?t.querySelectorAll("use"):[];if(i.length===0)return t;let n={};for(let r=0;r<i.length;r++){let o=i[r].getAttribute("xlink:href");if(o){let p=t.querySelector(o),u=document.querySelector(o);!p&&u&&!n[o]&&(n[o]=await y(u,e,!0))}}let s=Object.values(n);if(s.length){let r="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg");a.setAttribute("xmlns",r),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(r,"defs");a.appendChild(o);for(let p=0;p<s.length;p++)o.appendChild(s[p]);t.appendChild(a)}return t}async function y(t,e,i){return!i&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(n=>Et(n,e)).then(n=>Ct(t,n,e)).then(n=>Tt(t,n,e)).then(n=>It(n,e))}var Q=/url\((['"]?)([^'"]+?)\1\)/g,Lt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Mt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Ft(t){let e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function Rt(t){let e=[];return t.replace(Q,(i,n,s)=>(e.push(s),i)),e.filter(i=>!S(i))}async function Dt(t,e,i,n,s){try{let r=i?nt(e,i):e,a=P(e),o;if(s){let p=await s(r);o=K(p,a)}else o=await k(r,a,n);return t.replace(Ft(e),`$1${o}$3`)}catch{}return t}function At(t,{preferredFontFormat:e}){return e?t.replace(Mt,i=>{for(;;){let[n,,s]=Lt.exec(i)||[];if(!s)return"";if(s===e)return`src: ${n};`}}):t}function Y(t){return t.search(Q)!==-1}async function Z(t,e,i){if(!Y(t))return t;let n=At(t,i);return Rt(n).reduce((r,a)=>r.then(o=>Dt(o,a,e,i)),Promise.resolve(n))}async function w(t,e,i){var n;let s=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue(t);if(s){let r=await Z(s,null,i);return e.style.setProperty(t,r,e.style.getPropertyPriority(t)),!0}return!1}async function Bt(t,e){await w("background",t,e)||await w("background-image",t,e),await w("mask",t,e)||await w("-webkit-mask",t,e)||await w("mask-image",t,e)||await w("-webkit-mask-image",t,e)}async function Ht(t,e){let i=h(t,HTMLImageElement);if(!(i&&!S(t.src))&&!(h(t,SVGImageElement)&&!S(t.href.baseVal)))return;let n=i?t.src:t.href.baseVal,s=await k(n,P(n),e);await new Promise((r,a)=>{t.onload=r,t.onerror=e.onImageErrorHandler?(...p)=>{try{r(e.onImageErrorHandler(...p))}catch(u){a(u)}}:a;let o=t;o.decode&&(o.decode=r),o.loading==="lazy"&&(o.loading="eager"),i?(t.srcset="",t.src=s):t.href.baseVal=s})}async function $t(t,e){let n=m(t.childNodes).map(s=>N(s,e));await Promise.all(n).then(()=>t)}async function N(t,e){h(t,Element)&&(await Bt(t,e),await Ht(t,e),await $t(t,e))}function Wt(t,e){let{style:i}=t;e.backgroundColor&&(i.backgroundColor=e.backgroundColor),e.width&&(i.width=`${e.width}px`),e.height&&(i.height=`${e.height}px`);let n=e.style;return n!=null&&Object.keys(n).forEach(s=>{i[s]=n[s]}),t}var O={};async function V(t){let e=O[t];if(e!=null)return e;let n=await(await fetch(t)).text();return e={url:t,cssText:n},O[t]=e,e}async function U(t,e){let i=t.cssText,n=/url\(["']?([^"')]+)["']?\)/g,r=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),J(o,e.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(r).then(()=>i)}function z(t){if(t==null)return[];let e=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=t.replace(i,""),s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=s.exec(n);if(p===null)break;e.push(p[0])}n=n.replace(s,"");let r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=r.exec(n);if(p===null){if(p=o.exec(n),p===null)break;r.lastIndex=o.lastIndex}else o.lastIndex=r.lastIndex;e.push(p[0])}return e}async function Ot(t,e){let i=[],n=[];return t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach((r,a)=>{if(r.type===CSSRule.IMPORT_RULE){let o=a+1,p=r.href,u=V(p).then(g=>U(g,e)).then(g=>z(g).forEach(b=>{try{s.insertRule(b,b.startsWith("@import")?o+=1:s.cssRules.length)}catch(it){console.error("Error inserting rule from remote css",{rule:b,error:it})}})).catch(g=>{console.error("Error loading remote css",g.toString())});n.push(u)}})}catch(r){let a=t.find(o=>o.href==null)||document.styleSheets[0];s.href!=null&&n.push(V(s.href).then(o=>U(o,e)).then(o=>z(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",r)}}),Promise.all(n).then(()=>(t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach(r=>{i.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${s.href}`,r)}}),i))}function Vt(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Y(e.style.getPropertyValue("src")))}async function Ut(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=m(t.ownerDocument.styleSheets),n=await Ot(i,e);return Vt(n)}function tt(t){return t.trim().replace(/["']/g,"")}function zt(t){let e=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(r=>{e.add(tt(r))}),Array.from(n.children).forEach(r=>{r instanceof HTMLElement&&i(r)})}return i(t),e}async function jt(t,e){let i=await Ut(t,e),n=zt(t);return(await Promise.all(i.filter(r=>n.has(tt(r.style.fontFamily))).map(r=>{let a=r.parentStyleSheet?r.parentStyleSheet.href:null;return Z(r.cssText,a,e)}))).join(`
5
- `)}async function qt(t,e){let i=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await jt(t,e);if(i){let n=document.createElement("style"),s=document.createTextNode(i);n.appendChild(s),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}async function Gt(t,e={}){let{width:i,height:n}=G(t,e),s=await y(t,e,!0);return await qt(s,e),await N(s,e),Wt(s,e),await ct(s,i,n)}async function et(t,e={}){let{width:i,height:n}=G(t,e),s=await Gt(t,e),r=await v(s),a=document.createElement("canvas"),o=a.getContext("2d"),p=e.pixelRatio||ot(),u=e.canvasWidth||i,g=e.canvasHeight||n;return a.width=u*p,a.height=g*p,e.skipAutoScale||pt(a),a.style.width=`${u}`,a.style.height=`${g}`,e.backgroundColor&&(o.fillStyle=e.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(r,0,0,a.width,a.height),a}async function Kt(t,e={}){return(await et(t,e)).toDataURL()}async function j(t,e={}){return(await et(t,e)).toDataURL("image/jpeg",e.quality||1)}var Jt=`
6
- @media print {
7
- @page {
8
- size: Portrait;
9
- margin: .25in;
10
- }
11
-
12
- html, body {
13
- padding: 0;
14
- margin: 0;
15
- height: 100%;
16
- width: 100%;
17
- }
18
-
19
- body > *:not(.instant-apps-export-print) { display: none; }
20
- }
21
-
22
- * {
23
- -webkit-print-color-adjust: exact;
24
- color-adjust: exact;
25
- }
26
-
27
-
28
- .instant-apps-export-print {
29
- position: absolute;
30
- z-index: -999;
31
- color: #323232 !important;
32
- --esri-calcite-mode-name: "light";
33
- }
34
-
35
- .instant-apps-export-print__pdf {
36
- height: 100%;
37
- width: 100%;
38
- display: grid;
39
- gap: 24px;
40
- grid-auto-flow: row;
41
- }
42
-
43
- .instant-apps-export-print__img {
44
- display: grid;
45
- width: auto;
46
- }
47
-
48
- .instant-apps-export-print__img--extra-content {
49
- grid-template-columns: 2fr minmax(0, 325px);
50
- }
51
-
52
- .instant-apps-export-print, .instant-apps-export-print * {
53
- box-sizing: border-box;
54
- }
55
-
56
- .instant-apps-export-print__view-section {
57
- height: 100%;
58
- }
59
-
60
- .instant-apps-export-print__view-container {
61
- height: 100%;
62
- width: 100%;
63
- display: flex;
64
- justify-content: center;
65
- }
66
-
67
- .instant-apps-export-print__img .instant-apps-export-print__view-container {
68
- grid-row: 1;
69
- grid-column: 1;
70
- }
71
-
72
- .instant-apps-export-print__view-wrapper {
73
- height: fit-content;
74
- width: fit-content;
75
- position: relative;
76
- display: flex;
77
- flex-direction: column;
78
- overflow: hidden;
79
- }
80
-
81
- .instant-apps-export-print__pdf .instant-apps-export-print__view-wrapper {
82
- border: 2pt solid #323232;
83
- }
84
-
85
- .instant-apps-export-print__img .instant-apps-export-print__view-wrapper {
86
- border: 1pt solid #323232;
87
- }
88
-
89
- .instant-apps-export-print__view {
90
- object-fit: contain;
91
- }
92
-
93
- .instant-apps-export-print__extra-container {
94
- grid-row: 1 / span 2;
95
- grid-column: 2;
96
- }
97
-
98
- .instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {
99
- display: block;
100
- }
101
-
102
- .instant-apps-export-print__popup-container {
103
- height: min-content;
104
- max-width: 325px;
105
- display: none;
106
- color: #323232;
107
- background: #fff;
108
- break-inside: avoid;
109
- }
110
-
111
- .instant-apps-export-print__pdf .instant-apps-export-print__popup-container {
112
- border: 1pt solid #323232;
113
- }
114
-
115
- .instant-apps-export-print__img .instant-apps-export-print__popup-container {
116
- grid-row: 1 / span 2;
117
- grid-column: 2;
118
- }
119
-
120
- .instant-apps-export-print__popup-title {
121
- border-bottom: 1pt solid #323232;
122
- }
123
-
124
- .instant-apps-export-print__popup-content {
125
- background: #fff;
126
- padding-top: 8pt;
127
- }
128
-
129
- .instant-apps-export-print__popup-content .esri-feature-media__chart {
130
- background: #fff;
131
- }
132
-
133
- .instant-apps-export-print__legend-container {
134
- height: min-content;
135
- background: #fff;
136
- overflow: unset;
137
- }
138
-
139
- .instant-apps-export-print__img .instant-apps-export-print__legend-container {
140
- margin: 14px;
141
- grid-row: 2;
142
- grid-column: 1;
143
- }
144
-
145
- .esri-legend--card, .esri-legend--card__service-content {
146
- flex-flow: row wrap;
147
- }
148
-
149
- .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {
150
- background: #fff;
151
- color: #323232;
152
- }
153
-
154
- .instant-apps-export-print__popup-content *, .instant-apps-export-print__img .esri-feature.esri-widget * {
155
- color: #323232;
156
- }
157
-
158
- .instant-apps-export-print .esri-widget__heading {
159
- margin: 4pt 7pt;
160
- padding: 0;
161
- color: #323232;
162
- }
163
-
164
- .instant-apps-export-print .esri-legend__ramp-label:before {
165
- border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);
166
- }
167
-
168
- .instant-apps-export-print .esri-legend--card__section {
169
- padding: 6pt;
170
- min-width: unset;
171
- }
172
-
173
- .instant-apps-export-print .esri-legend--card__color-ramp-container > .esri-legend--card__ramp-label {
174
- height: 25px;
175
- line-height: 25px;
176
- }
177
-
178
- .instant-apps-export-print .esri-legend--card__color-ramp-container .esri-legend--card__interval-separators-container {
179
- position: unset;
180
- transform: unset;
181
- text-align: center;
182
- }
183
-
184
- .instant-apps-export-print .esri-legend--card__section:first-child {
185
- border-left: none;
186
- }
187
-
188
- .instant-apps-export-print .esri-legend--card__service {
189
- border: none;
190
- flex: 0 1 auto;
191
- break-inside: avoid;
192
- }
193
-
194
- .instant-apps-export-print .esri-legend--card {
195
- border: none;
196
- gap: 6pt 12pt;
197
- }
198
-
199
- .instant-apps-export-print .esri-legend--card:not(:first-child),
200
- .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {
201
- display: none;
202
- }
203
-
204
- .instant-apps-export-print .esri-legend--card__service-caption-container {
205
- height: unset;
206
- padding: 0;
207
- border-bottom: none;
208
- }
209
-
210
- .instant-apps-export-print .esri-legend--card__service-caption-text {
211
- padding-bottom: 4px;
212
- }
213
-
214
- .instant-apps-export-print__compass-container {
215
- position: absolute;
216
- top: 65px;
217
- left: 15px;
218
- background: #fff;
219
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
220
- --calcite-ui-icon-color: #000;
221
- border-radius: 50%;
222
- height: fit-content;
223
- }
224
-
225
- .instant-apps-export-print__compass-container .esri-compass {
226
- background: #fff;
227
- }
228
-
229
- .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {
230
- color: #000;
231
- }
232
-
233
- .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {
234
- background: #fff;
235
- }
236
-
237
- .instant-apps-export-print__scale-bar-container {
238
- width: 100%;
239
- position: absolute;
240
- bottom: 15px;
241
- margin: 0 15px;
242
- }
243
-
244
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
245
- color: #323232;
246
- font-size: 10px;
247
- padding: 0 4px;
248
- }
249
-
250
- .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
251
- height: 10px;
252
- padding: 0 2px;
253
- line-height: 11px;
254
- }
255
-
256
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
257
- display: none;
258
- }
259
-
260
- .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
261
- align-items: center;
262
- }
263
-
264
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
265
- background-color: rgba(255, 255, 255, 0.66);
266
- }
267
-
268
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {
269
- width: var(--instant-apps-scale-bar-top) !important;
270
- border-bottom: 2px solid #323232;
271
- }
272
-
273
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
274
- width: var(--instant-apps-scale-bar-bottom) !important;
275
- border-top: 2px solid #323232;
276
- }
277
-
278
- .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
279
- position: unset;
280
- margin: 0 2px;
281
- background-color: rgba(255, 255, 255, 0.66);
282
- height: 10px;
283
- display: flex;
284
- align-items: center;
285
- }
286
-
287
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
288
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,
289
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,
290
- .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {
291
- background-color: #323232;
292
- border-right: 2px solid #323232;
293
- }
294
-
295
- .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {
296
- display: none;
297
- }
298
-
299
- .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {
300
- width: 100%!important;
301
- }
302
-
303
- .instant-apps-export-print__popup-content .esri-popup__content {
304
- margin: 0;
305
- }
306
-
307
- .instant-apps-export-print__content-container {
308
- display: flex;
309
- gap: 24px;
310
- break-inside: avoid;
311
- break-before: auto;
312
- }`,Xt=`
313
- .screenshot-preview.hide, .hide {
314
- display: none;
315
- }
316
-
317
- .screenshot-cursor {
318
- cursor: crosshair;
319
- }
320
-
321
- .relative {
322
- position: relative;
323
- }
324
-
325
- #screenshot-mask {
326
- position: absolute;
327
- background: var(--instant-apps-screenshot-mask-background);
328
- border: var(--instant-apps-screenshot-mask-border);
329
- }
330
-
331
- .screenshot-preview {
332
- display: flex;
333
- align-items: center;
334
- justify-content: center;
335
- position: absolute;
336
- top: 0;
337
- left: 0;
338
- right: 0;
339
- bottom: 0;
340
- text-align: center;
341
- background-color: rgba(0, 0, 0, 0.75);
342
- }
343
-
344
- .screenshot-preview * {
345
- box-sizing: border-box;
346
- }
347
-
348
- .screenshot-img-container img {
349
- max-height: 75%;
350
- max-width: 75%;
351
- object-fit: contain;
352
- box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);
353
- margin-bottom: 0.5em;
354
- }
355
-
356
- .screenshot-img-container {
357
- height: 100%;
358
- width: 100%;
359
- overflow-y: auto;
360
- margin-bottom: 8px;
361
- display: flex;
362
- flex-flow: column;
363
- align-items: center;
364
- justify-content: center;
365
- }
366
-
367
- .screenshot-img-container calcite-button {
368
- margin: 5px;
369
- }`,Qt=":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-button-text-dark-hover-color:#fff}.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 .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.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 .instant-apps-export__set-map-area{--calcite-color-brand-hover:#fff}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.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}",Yt=Qt,c={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",setMapArea:"instant-apps-export__set-map-area",print:{pdfBase:"instant-apps-export-print instant-apps-export-print__pdf",imgBase:"instant-apps-export-print instant-apps-export-print__img",imgExtraContent:"instant-apps-export-print__img--extra-content",contentContainer:"instant-apps-export-print__content-container",extraContainer:"instant-apps-export-print__extra-container",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",viewSection:"instant-apps-export-print__view-section",viewWrapper:"instant-apps-export-print__view-wrapper"}},C="instant-app-export-drag",Zt=class{constructor(t){R(this,t),this.exportOutputUpdated=B(this,"exportOutputUpdated",7),this.fileTypes=["PDF","JPG","PNG"],this.output=void 0,this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.extraContent=void 0,this.extraContentLabel=void 0,this.headerTitle="",this.logoImage="",this.logoAltText=void 0,this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.view=void 0,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.defaultFileType="PDF",this.baseClass=c.baseLight,this.exportIsLoading=void 0,this.messages=void 0,this.selectedFileType=void 0}watchIncludeMap(t){t&&this.updateLegend()}watchView(){this.handleIncludePopup()}async componentWillLoad(){this.selectedFileType=this.defaultFileType,this.pdfIncludeMap=this.includeMap,this.baseClass=E(this.el)==="dark"?c.baseDark:c.baseLight,await F(this),await this.initializeModules()}componentDidLoad(){this.printEl&&(this.printContainerEl?.prepend(this.printEl),this.handleIncludePopup())}async initializeModules(){let t=await M();this.handles=await T(),this.reactiveUtils=t}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel(),e=this.renderCompass();return l(D,{key:"4ed537ea8895e4b2682a02ef093efef2d6e70a48"},l("div",{key:"8f2ad547a15550ac9cee967ecd5a55cc78d9e62c",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t,l("div",{key:"99e7230f966e7c6b68fc646841755c163436a063",class:c.hidden},e)))}renderPopover(){let t=this.renderPanel();return[l("calcite-popover",{referenceElement:"export-popover-btn",label:this.messages?.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e},t),l("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.showHeaderTitle?this.renderTitle():null,e=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,this.selectedFileType!=="PDF"&&!this.showExtraContentInImg):null,i=this.showIncludeMap?this.renderSwitch("includeMap",void 0,this.selectedFileType!=="PDF"):null,n=this.includeMap?this.renderMapOptions():null,s=this.includeFileFormat?this.renderSelectFileType():null,r=this.selectedFileType==="PDF"?this.renderPrint():this.renderImg(),a=this.mode==="inline"?c.inlineContainer:c.popoverContainer;return l("div",{class:a},t,e,i,n,s,this.includeMap?l("calcite-button",{class:c.setMapArea,appearance:"transparent",width:"full",onClick:this.setMapAreaOnClick.bind(this,!0),disabled:this.exportIsLoading},this.messages?.setMapArea):null,l("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},this.selectedFileType==="PDF"?this.messages?.export:this.messages?.preview),r)}renderTitle(){return l("calcite-label",null,this.messages?.title,l("calcite-input",{value:this.headerTitle,onCalciteInputInput:this.updateHeaderTitle.bind(this)}))}renderSwitch(t,e,i){let s=this[t],r=t,a=e||this.messages?.[r];return l("calcite-label",{layout:"inline-space-between"},a,l("calcite-switch",{checked:s,value:t,onCalciteSwitchChange:this.optionOnChange.bind(this),disabled:i}))}renderSelectFileType(){return l("calcite-label",null,this.messages?.fileType,l("calcite-select",{label:"",onCalciteSelectChange:this.handleSelectFileType.bind(this)},this.fileTypes.map(t=>l("calcite-option",{value:t,selected:t===this.selectedFileType},t))))}renderMapOptions(){let t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return l("div",null,t,e)}renderPrint(){let t=this.includeMap?this.renderPrintMap():null,e=this.renderExtraContent(),i=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,n=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return l("div",{ref:s=>this.printContainerEl=s},l("div",{class:c.print.pdfBase,ref:s=>this.printEl=s},t,i,l("div",{class:c.print.contentContainer},n,e)))}renderPrintMap(){return l("div",{class:c.print.viewContainer,ref:t=>this.viewContainerEl=t},l("div",{class:c.print.viewWrapper,ref:t=>this.viewWrapperEl=t},this.headerTitle?l("instant-apps-header",{logoImage:this.logoImage,logoImageAltText:this.logoAltText,logoScale:"s",titleText:this.headerTitle,backgroundColor:"#fff",textColor:"#323232"}):null,l("img",{class:c.print.view,ref:t=>this.viewEl=t}),l("div",{class:c.print.scaleBarContainer,ref:t=>this.scaleBarContainerEl=t})))}renderLegend(){return l("div",{class:c.print.legendContainer,ref:t=>this.legendContainerEl=t})}renderCompass(){return l("div",{class:c.print.compassContainer,ref:t=>this.compassContainerEl=t})}renderPopup(){return l("div",{class:c.print.popupContainer,ref:t=>this.popupContainerEl=t},l("div",{ref:t=>this.popupTitleEl=t,class:c.print.popupTitle}),l("div",{ref:t=>this.popupContentEl=t,class:c.print.popupContent}))}renderExtraContent(){return l("div",{class:c.print.extraContainer,id:"export-content",ref:t=>this.extraContainerEl=t})}renderImg(){let t=this.includeMap?this.renderPrintMap():null,e=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,i;return this.includeMap&&this.showIncludePopup?i=this.renderPopup():this.showExtraContentInImg&&this.extraContent&&this.includeExtraContent&&(i=this.renderExtraContent()),l("div",{ref:n=>this.printContainerEl=n},l("div",{class:c.print.imgBase,ref:n=>this.printEl=n},t,e,i))}optionOnChange(t){let e=t.target,{checked:i,value:n}=e;this[n]=i,this.updateExportOutput()}updateHeaderTitle(t){let e=t.target;this.headerTitle=e.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl&&this.compassContainerEl&&!this.viewWrapperEl.contains(this.compassContainerEl)&&this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),this.popoverEl&&(this.popoverEl.open=!1)}async exportPreviewOnClick(){this.selectedFileType==="PDF"?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl&&this.compassContainerEl&&!this.viewWrapperEl.contains(this.compassContainerEl)&&this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),this.popoverEl&&(this.popoverEl.open=!1)}exportImg(){if(this.resetPopupVisibility(),!this.dataUrl)return;let t=document.createElement("a");t.id="download-link",t.href=this.dataUrl;let e=this.headerTitle??document.title,i=this.selectedFileType?.toLowerCase()??"jpg";t.download=`${e}.${i}`,t.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){this.view?(this.addPrintStyling(),this.printEl&&document.body.prepend(this.printEl),this.handleExtraContent(),this.includeMap?(this.updateScaleBar(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):this.popoverEl&&(this.popoverEl.open=!1)}addPrintStyling(){this.printStyleEl||(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=Jt,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.selectedFileType==="PDF"&&(this.exportIsLoading=!1),this.setupViewPrintElements()},1500)}handleExtraContent(){if(!this.printEl)return;let t=this.printEl.querySelector("#export-content");if(t){t.innerHTML="";let e=this.extraContent&&this.includeExtraContent,i=this.selectedFileType!=="PDF"&&this.showExtraContentInImg&&e;this.printEl.classList.toggle(c.print.imgExtraContent,i),e?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&this.selectedFileType!=="PDF"&&!this.includeExtraContent&&this.printEl.classList.toggle(c.print.imgExtraContent,!1)}resetPrintContent(){if(!this.view||!this.printEl)return;this.screenshot=null,this.printContainerEl?.prepend(this.printEl),this.printStyleEl?.remove(),this.tmpPopupTitleEl?.remove(),this.printStyleEl=void 0;let t=this.printEl.querySelector("#export-content");t&&(t.innerHTML="")}async updatePopupToPrint(){if(!this.view||!this.popupContainerEl||!this.printEl)return;this.popupContainerEl.style.display=this.includePopup&&this.view?.popup?.visible?"block":"none",this.checkPopupOpen();let t=this.includePopup&&(this.view?.popup?.visible||this.popupHiddenByMapArea)&&this.view?.popup?.selectedFeature;if(this.printEl.classList.toggle(c.print.imgExtraContent,this.selectedFileType!=="PDF"&&!!t),t){let e=document.createElement(`h${this.view?.popup?.headingLevel??2}`);e.innerHTML=this.view?.popup?.title??"",e.className="esri-widget__heading esri-popup__header-title",this.popupTitleEl?(this.popupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupTitleEl.innerHTML="",this.popupTitleEl.prepend(e)):(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(e),this.tmpPopupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupContainerEl.prepend(this.tmpPopupTitleEl))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(this.view)if(this.handleLegendSetup(),this.selectedFileType==="PDF"){let t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1e3)}else this.convertToImage()}async convertToImage(){if(!this.printEl)return;let t={backgroundColor:"#FFF",skipFonts:!0},e="";try{this.selectedFileType==="JPG"?e=await j(this.printEl,t):e=await Kt(this.printEl,t)}catch{this.logoImage=void 0;let i=500;await new Promise(n=>setTimeout(n,i)),e=await j(this.printEl,t)}finally{this.handleGetImage(e)}}handleGetImage(t){this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){if(this.showIncludeLegend&&this.view&&this.includeMap&&this.legendContainerEl){let t=this.legend&&this.legend.activeLayerInfos?.length>0;this.legendContainerEl.style.display=this.includeLegend&&t?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){if(!this.handles||!this.reactiveUtils||!this.view||!this.showIncludePopup)return;let t="includePopup";this.handles.remove(t),this.reactiveUtils.whenOnce(()=>this.view?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>this.view?.popup?.visible===!0,e=>{this.settingMapArea||(this.includePopup=e)}),t)})}handleLegendCreation(){if(this.view&&this.showIncludeLegend&&this.legendContainerEl){let t=this.view.map,e=this.legend?.view?.map;t?.portalItem?.id&&t?.portalItem?.id===e?.portalItem?.id||this.updateLegend()}}updateLegend(){this.view?.when(async t=>{if(this.legend&&(this.legend.destroy(),this.legend=null),this.legendContainerEl){this.legendContainerEl.innerHTML="";let e=document.createElement("div");this.legendContainerEl.append(e),this.legend=await L({container:e,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})}})}handleCompassCreation(){if(this.view&&this.compassContainerEl){let t=this.view.map,e=this.compass?.view?.map;t?.portalItem?.id===e?.portalItem?.id||this.updateCompass()}}updateCompass(){this.view?.when(async t=>{this.compass&&(this.compass.destroy(),this.compass=null);let e=document.createElement("div");this.compassContainerEl?.append(e),this.compass=await I({container:e,view:t})})}updateScaleBar(){if(this.scaleBarContainerEl&&this.view&&(this.scaleBarContainerEl.innerHTML="",this.showScaleBar)){let e=this.view?.ui?.getComponents()?.find(({container:i})=>i?.className?.includes("esri-scale-bar"));e?.container&&typeof e.container!="string"&&this.scaleBarContainerEl.append(e.container.cloneNode(!0))}}async viewScreenshot(){if(this.view&&this.includeMap&&(this.screenshot||(this.scaleBarContainerEl?.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:this.view.width*2,height:this.view.height*2})),this.handleScaleBarSize(),this.viewEl&&this.viewWrapperEl)){let{height:t,width:e}=this.screenshot.data;t>e?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.selectedFileType==="PDF"&&this.printEl&&(this.printEl.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl&&(this.viewEl.style.height="100%",this.viewEl.style.width=""),this.viewWrapperEl&&(this.viewWrapperEl.style.height="100%",this.viewWrapperEl.style.width="fit-content")}setMaxWidthOnViewContainer(){this.printEl&&(this.printEl.style.gridTemplateRows=""),this.viewEl&&(this.viewEl.style.width="100%",this.viewEl.style.height=""),this.viewWrapperEl&&(this.viewWrapperEl.style.height="fit-content",this.viewWrapperEl.style.width="100%")}checkPopupOpen(){if(this.view){let e=this.view?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(e&&this.popupContentEl){let i=e.querySelectorAll("canvas");this.popupContentEl.innerHTML="",this.popupContentEl.append(e.cloneNode(!0));let n=this.popupContentEl.querySelectorAll("canvas");i.forEach((s,r)=>{let a=s.toDataURL(),o=document.createElement("img");o.src=a;let p=s.getAttribute("style");p&&o.setAttribute("style",p);let u=n[r];u&&(u.replaceWith(o),E(this.el)==="dark"&&o.parentElement?.parentElement&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))})}}}createScreenshot(){if(this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img");let t=document.createElement("div"),e=document.createElement("calcite-button"),i=document.createElement("calcite-button");e.innerHTML=this.selectedFileType==="PDF"?this.messages?.export:this.messages?.downloadImage,i.innerHTML=this.messages?.returnToMap,i.appearance="outline-fill",e.onclick=this.exportPreviewOnClick.bind(this),i.onclick=this.screenshotReturn.bind(this),t.append(i,e),this.screenshotImgContainer.append(this.screenshotImg,t),this.screenshotPreview.append(this.screenshotImgContainer),this.view?.container?.append(this.screenshotPreview)}}createMaskDiv(){this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML=Xt,this.view?.container?.append(this.screenshotStyle),this.view?.container?.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){if(this.view){if(this.settingMapArea=!0,t&&this.view?.popup?.visible){this.popupHiddenByMapArea=!0;let e=this.view?.popup?.container;e&&(e.style.display="none")}this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view?.container?.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",e=>{this.view&&(e.stopPropagation(),e.action!=="end"?this.updateMaskSize(e):this.maskScreenshot())}),C)}}updateMaskSize(t){if(this.view){let e=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),i=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),n=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),s=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:e,y:n,width:i-e,height:s-n},this.setMaskPosition(this.area)}}maskScreenshot(){if(this.view&&this.area){this.view.removeHandles(C);let t=this.area.height,e=this.area.width;if(this.showScaleBar){let s=this.view.width>1e3&&this.view.width*.75<e;this.scaleBarContainerEl?.classList.toggle("instant-apps-export-print__scale-bar-container--position",s)}this.view.takeScreenshot({area:this.area,width:e*2,height:t*2,format:"jpg"}).then(i=>{this.screenshot=i,this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null),this.selectedFileType==="PDF"?(this.showPreview(i?.dataUrl),this.resetPopupVisibility()):(this.viewWrapperEl&&this.compassContainerEl&&!this.viewWrapperEl.contains(this.compassContainerEl)&&this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),this.popoverEl&&(this.popoverEl.open=!1))})}}setMaskPosition(t){this.maskDivEl&&(t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove())}clamp(t,e,i){return t<e?e:t>i?i:t}showPreview(t){t&&(this.screenshotPreview?.classList.remove("hide"),this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){if(this.showScaleBar&&this.view?.type==="2d"&&this.scaleBarContainerEl){let t=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--top"),e=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(t,"top"),this.setScaleBarWidth(e,"bottom")}}setScaleBarWidth(t,e){if(t&&this.screenshot){let i=this.screenshot.data.width/2,r=Number(t.style.width.replace("px",""))/i*100;this.scaleBarContainerEl?.style.setProperty(`--instant-apps-scale-bar-${e}`,`${r}%`)}}removeScreenshotElements(){this.view?.removeHandles(C),this.screenshotPreview?.remove(),this.screenshotStyle?.remove()}resetPopupVisibility(){if(this.view&&this.settingMapArea&&this.popupHiddenByMapArea){let t=this.view?.popup?.container;t&&(t.style.display="")}this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){let e=t.target;this.selectedFileType=e.value,this.selectedFileType==="PDF"?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}get el(){return A(this)}static get watchers(){return{includeMap:["watchIncludeMap"],view:["watchView"]}}};Zt.style=Yt;export{Zt as instant_apps_export};
@@ -1,12 +0,0 @@
1
- /// <reference types="../../index.d.ts" />
2
- import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
3
- import { ITemplateInfo } from '../../utils/interfaces';
4
-
5
- export declare class SolutionDeployingPanel extends LitElement {
6
- /** The solution that will be deployed */
7
- solutionItem: ITemplateInfo | undefined;
8
- /** Closes the panel */
9
- close(): void;
10
- /** Confirm cancel the deployment */
11
- confirmCancel(): void;
12
- }