@esri/solutions-components 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (460) hide show
  1. package/dist/cdn/{TTOLHIJV.js → 22F7LFMG.js} +2 -2
  2. package/dist/cdn/{KU6NIERJ.js → 25FEJN5O.js} +2 -2
  3. package/dist/cdn/{3U5MCBML.js → 25JM7WUJ.js} +2 -2
  4. package/dist/cdn/{Y4V6VBRL.js → 2A6DDRTH.js} +2 -2
  5. package/dist/cdn/{OHVFUCPD.js → 2BDPGGKC.js} +2 -2
  6. package/dist/cdn/{TSUZDZYM.js → 2IRIOH44.js} +2 -2
  7. package/dist/cdn/{SCRDPL23.js → 2LVUHNL4.js} +2 -2
  8. package/dist/cdn/{XRFRTU7J.js → 2QFMILDU.js} +2 -2
  9. package/dist/cdn/{GTEHENBQ.js → 2RWXUIPE.js} +2 -2
  10. package/dist/cdn/2TT2EKLS.js +4 -0
  11. package/dist/cdn/{J5Z6XBH5.js → 2VXYY4NW.js} +1 -1
  12. package/dist/cdn/{T7OXALTG.js → 33UPFZYZ.js} +2 -2
  13. package/dist/cdn/{IP5TND75.js → 34BPQSHF.js} +2 -2
  14. package/dist/cdn/{GGXBJUNZ.js → 35ZVLYI7.js} +2 -2
  15. package/dist/cdn/36RPCHBW.js +18 -0
  16. package/dist/cdn/{AD4OROQI.js → 3IMXMLFS.js} +2 -2
  17. package/dist/cdn/3LJQBCLM.js +18 -0
  18. package/dist/cdn/{KJDCKGFK.js → 3RLVYGV7.js} +2 -2
  19. package/dist/cdn/{IAGXR3NP.js → 43R5NRNV.js} +1 -1
  20. package/dist/cdn/{6IAXNX3E.js → 4527TPFQ.js} +1 -1
  21. package/dist/cdn/4HAO722I.js +4 -0
  22. package/dist/cdn/{4L6E3M5G.js → 4J5HYMPQ.js} +2 -2
  23. package/dist/cdn/{KJ5OTXP6.js → 4SF42JCK.js} +2 -2
  24. package/dist/cdn/{HYI5EZI4.js → 4UCCOTIL.js} +2 -2
  25. package/dist/cdn/{C23KGGFI.js → 4ULTYKHN.js} +2 -2
  26. package/dist/cdn/56FAI7QX.js +18 -0
  27. package/dist/cdn/{3RYX2KRP.js → 5CGYAFLG.js} +2 -2
  28. package/dist/cdn/{UY2ZBEHZ.js → 5JHZFHQW.js} +2 -2
  29. package/dist/cdn/{VJOELFDU.js → 5JYWXCER.js} +2 -2
  30. package/dist/cdn/{KDL2CC6G.js → 5K5LGI4X.js} +2 -2
  31. package/dist/cdn/{NMDV24RB.js → 5LOTR4DW.js} +2 -2
  32. package/dist/cdn/{OCMNVWI4.js → 5QHONC74.js} +2 -2
  33. package/dist/cdn/5S2FZKYO.js +18 -0
  34. package/dist/cdn/{HYZDGSVF.js → 5TRSWX6M.js} +2 -2
  35. package/dist/cdn/{FL6PET5V.js → 5WAZGRRD.js} +2 -2
  36. package/dist/cdn/{GTFFXKQ2.js → 5WNLR3DS.js} +2 -2
  37. package/dist/cdn/{G4JWUXWW.js → 64ETTMNQ.js} +2 -2
  38. package/dist/cdn/{6DFZGD4Y.js → 65NNPWV7.js} +1 -1
  39. package/dist/cdn/6LUI2X3G.js +18 -0
  40. package/dist/cdn/{7SATBHPG.js → 6N7ZWEZT.js} +2 -2
  41. package/dist/cdn/{Z5LX6R34.js → 6U4PV22I.js} +1 -1
  42. package/dist/cdn/{S4E4IPBZ.js → 6XYUDJQ2.js} +1 -1
  43. package/dist/cdn/{JVJODSGL.js → 7244YR36.js} +2 -2
  44. package/dist/cdn/{UYOJLBLJ.js → 76DZHGT4.js} +2 -2
  45. package/dist/cdn/{YAAW6QK6.js → 76JQ5L7D.js} +2 -2
  46. package/dist/cdn/{M5R3XZG4.js → 7ATYJT4O.js} +2 -2
  47. package/dist/cdn/{DDZUXMVO.js → 7B2MAX64.js} +1 -1
  48. package/dist/cdn/{ESRPIZDO.js → 7M5YUYGE.js} +2 -2
  49. package/dist/cdn/{SWMF2YA5.js → 7NDRZHL6.js} +2 -2
  50. package/dist/cdn/{JFDXJGIJ.js → 7NMV3XFP.js} +1 -1
  51. package/dist/cdn/{GKSL27GK.js → 7OEQCUDV.js} +1 -1
  52. package/dist/cdn/{N372V6ZZ.js → 7OZSPB2F.js} +2 -2
  53. package/dist/cdn/{EFQOQ4XM.js → 7WZE34BF.js} +2 -2
  54. package/dist/cdn/{EQDEFLKQ.js → 7YFBO4YO.js} +2 -2
  55. package/dist/cdn/{T4OHAC5G.js → A4L4EUDH.js} +2 -2
  56. package/dist/cdn/{BR63TLFP.js → AC7K2P6S.js} +11 -11
  57. package/dist/cdn/{XUYTRG7D.js → AGGLKLN3.js} +2 -2
  58. package/dist/cdn/{V2V2PODO.js → AHHA6SMZ.js} +2 -2
  59. package/dist/cdn/{LN6SBKS6.js → AOOQAYSR.js} +2 -2
  60. package/dist/cdn/{RIVVWLOA.js → AQZ3QIKE.js} +2 -2
  61. package/dist/cdn/{TI3IPN2K.js → AXDYNDWC.js} +1 -1
  62. package/dist/cdn/{C4OSLESX.js → AYBHICHM.js} +2 -2
  63. package/dist/cdn/{54VXW2B6.js → AYDTR35F.js} +2 -2
  64. package/dist/cdn/AYND4SCK.js +4 -0
  65. package/dist/cdn/{SYSMKBTI.js → B2AAEHPJ.js} +2 -2
  66. package/dist/cdn/{D33LMOKH.js → B4PHULG7.js} +2 -2
  67. package/dist/cdn/B5754CLI.js +4 -0
  68. package/dist/cdn/{JGYXU6MT.js → BRSXWNGO.js} +2 -2
  69. package/dist/cdn/{VLQOV3NQ.js → C6WPV722.js} +2 -2
  70. package/dist/cdn/{JDBACJRP.js → CBITJT5D.js} +4 -4
  71. package/dist/cdn/CDBDE4TC.js +18 -0
  72. package/dist/cdn/{NCB45ISZ.js → CFPXLHXR.js} +2 -2
  73. package/dist/cdn/{QA65PTZZ.js → CGZZGJLP.js} +2 -2
  74. package/dist/cdn/{QIQSY5XY.js → CJFK6TKW.js} +2 -2
  75. package/dist/cdn/CXN63GPC.js +18 -0
  76. package/dist/cdn/{LVGWOKF7.js → CXOHKJLR.js} +1 -1
  77. package/dist/cdn/{G5TN4YYX.js → CYHKUA3T.js} +2 -2
  78. package/dist/cdn/{IU5ETFJQ.js → D2SOXDMW.js} +2 -2
  79. package/dist/cdn/{FCK3OBGA.js → D2UIHI5N.js} +2 -2
  80. package/dist/cdn/D2XDABCT.js +20 -0
  81. package/dist/cdn/{QSBF5CAO.js → D3RXCR6Q.js} +1 -1
  82. package/dist/cdn/{KUJTRCCI.js → DC2VXLYA.js} +2 -2
  83. package/dist/cdn/{KLABUUYY.js → DCYHSAL2.js} +2 -2
  84. package/dist/cdn/{DYAASCEQ.js → DHVPMGLT.js} +2 -2
  85. package/dist/cdn/{XNBFYXGC.js → DO5IRX2P.js} +2 -2
  86. package/dist/cdn/DP2E5JFM.js +4 -0
  87. package/dist/cdn/DSA7P4FN.js +18 -0
  88. package/dist/cdn/{RM45AKVD.js → DZ75SULS.js} +2 -2
  89. package/dist/cdn/{IYR7CWGB.js → E4626BS2.js} +2 -2
  90. package/dist/cdn/{FP7ZUAH6.js → EEECQWVR.js} +2 -2
  91. package/dist/cdn/{FSH3VY4W.js → EHUPQ5JP.js} +2 -2
  92. package/dist/cdn/{TJMDZV66.js → EJ7VKYZG.js} +2 -2
  93. package/dist/cdn/{EV4XJGO3.js → EL5KWKMD.js} +2 -2
  94. package/dist/cdn/{3O5UNJZ5.js → EPYFVSXR.js} +2 -2
  95. package/dist/cdn/{NIIZBG5D.js → EV22N3KD.js} +2 -2
  96. package/dist/cdn/{FGYAYTAY.js → EW3T5VLB.js} +2 -2
  97. package/dist/cdn/{IYVUU2KK.js → EX6HJQ4X.js} +2 -2
  98. package/dist/cdn/{EL2ASFX3.js → FDNO4BVO.js} +2 -2
  99. package/dist/cdn/{CM4AL2I7.js → FFJCM7BG.js} +2 -2
  100. package/dist/cdn/{XX3BIAK6.js → FKCBARKI.js} +2 -2
  101. package/dist/cdn/{U3K7MHYO.js → FLX4QZPY.js} +4 -4
  102. package/dist/cdn/{RC5OYDLU.js → FQTZU3Z2.js} +2 -2
  103. package/dist/cdn/{2KV5NHCA.js → FZV7IALP.js} +2 -2
  104. package/dist/cdn/{DP4UK5MF.js → G2PAP4HL.js} +2 -2
  105. package/dist/cdn/{YEGN6TNL.js → G56M322A.js} +2 -2
  106. package/dist/cdn/{UIZ5RNY5.js → G7LK4PDL.js} +2 -2
  107. package/dist/cdn/{ZVCG3MTM.js → GE2KFI4B.js} +3 -3
  108. package/dist/cdn/{WFX5NIY6.js → GFTGPFHL.js} +2 -2
  109. package/dist/cdn/{PLA5JT3G.js → GFTMWJE2.js} +2 -2
  110. package/dist/cdn/{M5UPX2J7.js → GGBJCIO7.js} +2 -2
  111. package/dist/cdn/{LIGPP436.js → GJ2UG6YP.js} +2 -2
  112. package/dist/cdn/{QLVDQY5R.js → GKBVNMEW.js} +2 -2
  113. package/dist/cdn/{6FHHBRRB.js → GUN44VYU.js} +2 -2
  114. package/dist/cdn/{23KPU4GQ.js → H36GDFY7.js} +1 -1
  115. package/dist/cdn/{BEQE76XU.js → H3C4GIDZ.js} +2 -2
  116. package/dist/cdn/{ICTEUNHA.js → H3FM5UM6.js} +1 -1
  117. package/dist/cdn/{AHAZLVQ4.js → H4HFWY3H.js} +2 -2
  118. package/dist/cdn/{ERJKLBV2.js → H72WOGJ7.js} +2 -2
  119. package/dist/cdn/{MGVUU433.js → HCCTS5WV.js} +2 -2
  120. package/dist/cdn/{HQGW6OLO.js → HKKUMEH5.js} +1 -1
  121. package/dist/cdn/{DLYWKQDY.js → HM7EBFPG.js} +2 -2
  122. package/dist/cdn/{JI7QBF2J.js → HNUCWI6T.js} +2 -2
  123. package/dist/cdn/{XIXNUDIE.js → HOTDMMJJ.js} +2 -2
  124. package/dist/cdn/{EFD7INAF.js → HPUAGDRV.js} +2 -2
  125. package/dist/cdn/{FNWEYQDD.js → HR2HFJXC.js} +1 -1
  126. package/dist/cdn/HRBMV6MS.js +18 -0
  127. package/dist/cdn/HZILY6RQ.js +18 -0
  128. package/dist/cdn/{FJMY5BVP.js → I3SHQQXU.js} +2 -2
  129. package/dist/cdn/{VS4BFKL3.js → I3ZD6IV4.js} +1 -1
  130. package/dist/cdn/{NNUFXWGF.js → IAHPQU5I.js} +2 -2
  131. package/dist/cdn/{6BX7KLOB.js → IFPYTV3R.js} +1 -1
  132. package/dist/cdn/{7XCWAN5G.js → IHQISHAM.js} +2 -2
  133. package/dist/cdn/{A4H6OMJ4.js → IMFE25FS.js} +2 -2
  134. package/dist/cdn/IMYZB3YV.js +18 -0
  135. package/dist/cdn/{UDOULYDC.js → IPXTSW43.js} +2 -2
  136. package/dist/cdn/{OF36TDKR.js → IREZCPC5.js} +2 -2
  137. package/dist/cdn/{ZIBNROWW.js → IS4CHLDX.js} +2 -2
  138. package/dist/cdn/{JZNSQN5C.js → IVWP7URA.js} +2 -2
  139. package/dist/cdn/{T3FQL6TN.js → J252EEIH.js} +2 -2
  140. package/dist/cdn/{TFH7GJUO.js → JAMFZUE3.js} +2 -2
  141. package/dist/cdn/{LHUMSMJ6.js → JJJAHCRO.js} +2 -2
  142. package/dist/cdn/{5VTF2S3V.js → JMMD7YBL.js} +2 -2
  143. package/dist/cdn/{25MVNDYY.js → JOWT5YJ4.js} +2 -2
  144. package/dist/cdn/{2MGMAN6M.js → JRMGFAZK.js} +2 -2
  145. package/dist/cdn/{OHTIVF6F.js → JUVS4QTT.js} +2 -2
  146. package/dist/cdn/JYDRZHOB.js +4 -0
  147. package/dist/cdn/{NUUEBECA.js → KJOPUX6H.js} +2 -2
  148. package/dist/cdn/{YDXJCA4W.js → KQIW24JY.js} +2 -2
  149. package/dist/cdn/{EKILMPMP.js → KQPN7NFG.js} +2 -2
  150. package/dist/cdn/{4PHIBFBK.js → KUFJAMWI.js} +3 -3
  151. package/dist/cdn/{FX4GM76R.js → LG2N3IDQ.js} +2 -2
  152. package/dist/cdn/{6GCYWKFS.js → LIXHHHMQ.js} +1 -1
  153. package/dist/cdn/{HZQ2DNC7.js → LUCYOE4G.js} +2 -2
  154. package/dist/cdn/{UCX6I6GZ.js → M35TRRGF.js} +1 -1
  155. package/dist/cdn/{6EP36Y7F.js → M3L66GKK.js} +2 -2
  156. package/dist/cdn/{RMNBDS6F.js → M4VZ4CMY.js} +2 -2
  157. package/dist/cdn/{FSDJA4MR.js → M6GEH5RY.js} +2 -2
  158. package/dist/cdn/{IZG3VEFG.js → M7HD332R.js} +1 -1
  159. package/dist/cdn/{EYRRGEDQ.js → MK7N6OTA.js} +1 -1
  160. package/dist/cdn/{QEC76CAD.js → ML3FDA7I.js} +2 -2
  161. package/dist/cdn/{PKYOZYLI.js → MO5VIHBL.js} +2 -2
  162. package/dist/cdn/{A7TRZP7N.js → MTDAXKJA.js} +1 -1
  163. package/dist/cdn/{662JMFYU.js → MURI73WZ.js} +2 -2
  164. package/dist/cdn/{YYRFIXIU.js → MVAWCLJQ.js} +2 -2
  165. package/dist/cdn/N54CIKSY.js +4 -0
  166. package/dist/cdn/{ZJO4B77W.js → N5MNRNS4.js} +2 -2
  167. package/dist/cdn/{LPDDFOTY.js → NNNUOKAQ.js} +2 -2
  168. package/dist/cdn/{ZSTVKND7.js → NTJ65ON3.js} +3 -3
  169. package/dist/cdn/NTSPFMPN.js +18 -0
  170. package/dist/cdn/{3WBD7HCV.js → O4U6ZUNI.js} +2 -2
  171. package/dist/cdn/{NUECMUNR.js → ODVL6BLS.js} +2 -2
  172. package/dist/cdn/{7ANMAQXN.js → OG4FHSPI.js} +1 -1
  173. package/dist/cdn/{2F4XUH2B.js → OGRHFK6Y.js} +2 -2
  174. package/dist/cdn/{EOIHR5PX.js → ONL3NL26.js} +2 -2
  175. package/dist/cdn/{Y4H3CA2O.js → OORGXTFY.js} +2 -2
  176. package/dist/cdn/{QSMNEUAM.js → OOX6G6UE.js} +2 -2
  177. package/dist/cdn/{HUHLOYKI.js → OQJGVRY2.js} +2 -2
  178. package/dist/cdn/{KQTQK4OJ.js → OTYGSW7W.js} +2 -2
  179. package/dist/cdn/{XPXOPI63.js → OZWDP6Y7.js} +2 -2
  180. package/dist/cdn/{EXLYOLGD.js → PGB7D5V5.js} +2 -2
  181. package/dist/cdn/{XNRVLUGL.js → PJSBBGLJ.js} +2 -2
  182. package/dist/cdn/{JMGTSAK6.js → PKKVL46F.js} +2 -2
  183. package/dist/cdn/{B34U6ISQ.js → PLTCACVO.js} +2 -2
  184. package/dist/cdn/{UEYWAQCQ.js → PNZFKJGE.js} +2 -2
  185. package/dist/cdn/PP6K5WOA.js +4 -0
  186. package/dist/cdn/{COF6OUJT.js → PSUWSWTK.js} +2 -2
  187. package/dist/cdn/{BJDRPNDP.js → PWM7PIST.js} +3 -3
  188. package/dist/cdn/{QQUJHAOI.js → Q5QONQ6T.js} +2 -2
  189. package/dist/cdn/{JMQV4UK4.js → Q66CZJP6.js} +1 -1
  190. package/dist/cdn/{JZUBI6LB.js → QBIXFYYE.js} +1 -1
  191. package/dist/cdn/{5FB3DI4G.js → QH2LKILS.js} +2 -2
  192. package/dist/cdn/{6ILYUU4G.js → QNXFXUZA.js} +2 -2
  193. package/dist/cdn/{ZWTSIAER.js → QP26HSVE.js} +1 -1
  194. package/dist/cdn/{2S6VPY6M.js → QQPQDFEM.js} +2 -2
  195. package/dist/cdn/{OIKCCXRR.js → QU55HNGY.js} +2 -2
  196. package/dist/cdn/{S7NHJP4N.js → QUCDVIOQ.js} +2 -2
  197. package/dist/cdn/{7CDY7L44.js → QVLJY52I.js} +2 -2
  198. package/dist/cdn/{PVTQGF36.js → QYU6USHT.js} +2 -2
  199. package/dist/cdn/{SJO75TT4.js → QZAU4Z6W.js} +2 -2
  200. package/dist/cdn/{V2FHJSTQ.js → R5UFCXCH.js} +2 -2
  201. package/dist/cdn/{O2PJYMGL.js → RC3IVWI3.js} +1 -1
  202. package/dist/cdn/{FAZP4TDB.js → RCDWSNVF.js} +2 -2
  203. package/dist/cdn/{RRF3ACRD.js → RIQFARZP.js} +2 -2
  204. package/dist/cdn/{ZMWBSBOD.js → RMU2WXMJ.js} +2 -2
  205. package/dist/cdn/{SXUAMVZO.js → RVTHLBJL.js} +2 -2
  206. package/dist/cdn/{HWGQUCPH.js → RWQELBMY.js} +2 -2
  207. package/dist/cdn/{RCCJWWIB.js → RYQCNLW7.js} +2 -2
  208. package/dist/cdn/{ENWJIRTW.js → S3AWAGTI.js} +2 -2
  209. package/dist/cdn/{JIYQEZGV.js → S5TXHJGZ.js} +2 -2
  210. package/dist/cdn/{JEJY27MQ.js → S6GQFWK7.js} +2 -2
  211. package/dist/cdn/{ZMPOAOPQ.js → SBX54Z43.js} +2 -2
  212. package/dist/cdn/SCOCPPIV.js +383 -0
  213. package/dist/cdn/{OA6N3UPU.js → SH3RI2GK.js} +2 -2
  214. package/dist/cdn/{5Y3YCWRM.js → SHWG5PCG.js} +2 -2
  215. package/dist/cdn/{SUWPBAZX.js → SMY4IACN.js} +2 -2
  216. package/dist/cdn/{TJ4EAB2X.js → SUSAZ65X.js} +2 -2
  217. package/dist/cdn/{ASBGMXK6.js → T6PMIZLP.js} +2 -2
  218. package/dist/cdn/{LN5LFFQL.js → TA3ZXQAF.js} +2 -2
  219. package/dist/cdn/TBU33TUJ.js +18 -0
  220. package/dist/cdn/{2JUQQJOQ.js → TENNMXGF.js} +1 -1
  221. package/dist/cdn/{YXUJQUV6.js → TIUXVXYM.js} +2 -2
  222. package/dist/cdn/{3K2JVPRP.js → TKDGIQNC.js} +2 -2
  223. package/dist/cdn/{SSP7KXPL.js → TNEFDIIG.js} +2 -2
  224. package/dist/cdn/TTDNDVCB.js +4 -0
  225. package/dist/cdn/{BT6EYE4X.js → TVGUICDI.js} +2 -2
  226. package/dist/cdn/{UKWTBSYT.js → TXB56MNF.js} +2 -2
  227. package/dist/cdn/{IKXIA6DX.js → TYVJSPBM.js} +2 -2
  228. package/dist/cdn/{B75MQOOF.js → U4LWP3KK.js} +1 -1
  229. package/dist/cdn/{RHHKJQMD.js → UCI3QQAA.js} +1 -1
  230. package/dist/cdn/{WCEI4GB5.js → UDYWBQQB.js} +2 -2
  231. package/dist/cdn/UISRG6AV.js +18 -0
  232. package/dist/cdn/{K6A5BZGW.js → UITEOOYI.js} +1 -1
  233. package/dist/cdn/{NZJICJCJ.js → UMIQ4XRZ.js} +2 -2
  234. package/dist/cdn/{5QYTBWNM.js → UR7ODANG.js} +2 -2
  235. package/dist/cdn/{R47YRNRP.js → UUY24OGE.js} +2 -2
  236. package/dist/cdn/{T5PIC2NF.js → UVRRN3AM.js} +2 -2
  237. package/dist/cdn/UZTSBHXN.js +294 -0
  238. package/dist/cdn/{HE4HDKLZ.js → V3XFBVJ2.js} +2 -2
  239. package/dist/cdn/VCL4EPUN.js +18 -0
  240. package/dist/cdn/VH4DOQZ4.js +4 -0
  241. package/dist/cdn/{6XG23GK2.js → VIRNYXF5.js} +2 -2
  242. package/dist/cdn/{42D6SGED.js → VJF6Y7HU.js} +2 -2
  243. package/dist/cdn/{JFAFRMBB.js → VLNWSZVR.js} +2 -2
  244. package/dist/cdn/{NPHCFVY5.js → VOFDMTBC.js} +2 -2
  245. package/dist/cdn/{ETUG5HUX.js → VTS75E4I.js} +2 -2
  246. package/dist/cdn/{6TTGY74E.js → VUZA56M3.js} +2 -2
  247. package/dist/cdn/{WMIMNCJL.js → VXJY4QCS.js} +2 -2
  248. package/dist/cdn/{NRBFWIU7.js → W3GV4JXP.js} +1 -1
  249. package/dist/cdn/{ND6B7H5G.js → W7HZRPHM.js} +2 -2
  250. package/dist/cdn/{QDY6ZNGH.js → W7Z3ORQY.js} +2 -2
  251. package/dist/cdn/{IGM6T5LG.js → WBAN3UIC.js} +2 -2
  252. package/dist/cdn/WBRXMEMP.js +4 -0
  253. package/dist/cdn/{U4FYJZJP.js → WCEUO2OS.js} +2 -2
  254. package/dist/cdn/{USL5VVU7.js → WCVUN6XF.js} +2 -2
  255. package/dist/cdn/{XUHIMDFC.js → WFUAPKTB.js} +2 -2
  256. package/dist/cdn/{MKX2QKK2.js → WIE3EFBI.js} +2 -2
  257. package/dist/cdn/{M7HTAQHD.js → WIVOL6CT.js} +1 -1
  258. package/dist/cdn/WN54HJON.js +4 -0
  259. package/dist/cdn/{IGGGIS6G.js → WNFUARBO.js} +2 -2
  260. package/dist/cdn/{OVCAOTN3.js → WQKEPPJH.js} +1 -1
  261. package/dist/cdn/{EGOHB7G6.js → WV2ZROZJ.js} +2 -2
  262. package/dist/cdn/{CDJIJD2S.js → WZ764LLN.js} +1 -1
  263. package/dist/cdn/{PRIAU7QU.js → WZYGUEIV.js} +2 -2
  264. package/dist/cdn/{67BKTI47.js → XFANWHPY.js} +2 -2
  265. package/dist/cdn/{BGK6GNQ2.js → XFM3FD2A.js} +2 -2
  266. package/dist/cdn/{X6CICXR6.js → XK7SWBXE.js} +2 -2
  267. package/dist/cdn/{62ZWA6O7.js → XU3KAISP.js} +1 -1
  268. package/dist/cdn/{6QV3LFXT.js → XXM424DO.js} +2 -2
  269. package/dist/cdn/{GNONOVEA.js → XYGVP2FK.js} +2 -2
  270. package/dist/cdn/{KQRJJTQ5.js → YC7HMH6M.js} +2 -2
  271. package/dist/cdn/{JGLFDJFF.js → YEFAWRXP.js} +2 -2
  272. package/dist/cdn/YMUVFR3U.js +18 -0
  273. package/dist/cdn/{U3NZPNKZ.js → YQFYU4G2.js} +2 -2
  274. package/dist/cdn/YXHSDCRJ.js +4 -0
  275. package/dist/cdn/{SL2K7YIF.js → Z3XBAPZC.js} +1 -1
  276. package/dist/cdn/{H5NKKY63.js → Z4FNCV4E.js} +2 -2
  277. package/dist/cdn/{WOW7ES6W.js → Z4WD3SG2.js} +1 -1
  278. package/dist/cdn/{ZA5MIGE2.js → ZEPG4DE3.js} +2 -2
  279. package/dist/cdn/{YBKACDGP.js → ZLTHON4G.js} +2 -2
  280. package/dist/cdn/{I75QXGU6.js → ZLU7K6TK.js} +2 -2
  281. package/dist/cdn/{757B2YT4.js → ZRLT4TEH.js} +2 -2
  282. package/dist/cdn/{FR3CBOZY.js → ZUQZHS53.js} +2 -2
  283. package/dist/cdn/{BK4BKQMD.js → ZV3QGDX6.js} +2 -2
  284. package/dist/cdn/{BQIN6I6Z.js → ZY74MRCW.js} +2 -2
  285. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  287. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  288. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  289. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  290. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  291. package/dist/cdn/assets/solution-deployed-card/t9n/messages.en.json +1 -1
  292. package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -1
  293. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  294. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  295. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  297. package/dist/cdn/index.js +2 -2
  298. package/dist/cdn/main.css +1 -1
  299. package/dist/chunks/Auth.js +1 -1
  300. package/dist/chunks/appConfig.js +1 -1
  301. package/dist/chunks/cardFetchingUtils.js +3 -3
  302. package/dist/chunks/common.js +1 -1
  303. package/dist/chunks/deployAppContexts.js +1 -1
  304. package/dist/chunks/downloadUtils.js +1 -1
  305. package/dist/chunks/helpers.js +6 -6
  306. package/dist/chunks/index.js +1 -1
  307. package/dist/chunks/interfaces.js +23 -23
  308. package/dist/chunks/loadModules.js +1 -1
  309. package/dist/chunks/mapViewUtils.js +6 -6
  310. package/dist/chunks/pciUtils.js +1 -1
  311. package/dist/chunks/popupUtils.js +1 -1
  312. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  313. package/dist/chunks/privilegeUtils.js +143 -28
  314. package/dist/chunks/publicNotificationStore.js +1 -1
  315. package/dist/chunks/queryUtils.js +1 -1
  316. package/dist/chunks/runtime.js +1 -1
  317. package/dist/chunks/solution-store.js +4 -4
  318. package/dist/chunks/templates.js +1 -1
  319. package/dist/chunks/useT9n.js +1 -1
  320. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  321. package/dist/components/basemap-gallery/customElement.js +1 -1
  322. package/dist/components/buffer-tools/customElement.js +1 -1
  323. package/dist/components/card-manager/customElement.js +1 -1
  324. package/dist/components/consent-manager/customElement.js +1 -1
  325. package/dist/components/create-feature/customElement.js +1 -1
  326. package/dist/components/create-related-feature/customElement.js +1 -1
  327. package/dist/components/crowdsource-manager/customElement.js +4 -4
  328. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  329. package/dist/components/deduct-calculator/customElement.js +1 -1
  330. package/dist/components/delete-button/customElement.js +1 -1
  331. package/dist/components/delete-dialog/customElement.js +1 -1
  332. package/dist/components/edit-card/customElement.js +1 -1
  333. package/dist/components/feature-details/customElement.js +1 -1
  334. package/dist/components/feature-list/customElement.js +50 -50
  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/26CFA6NB.js +0 -289
  425. package/dist/cdn/2H7MTCHN.js +0 -18
  426. package/dist/cdn/2TLBO4KI.js +0 -18
  427. package/dist/cdn/36DIJFDW.js +0 -18
  428. package/dist/cdn/374EIYTN.js +0 -18
  429. package/dist/cdn/5JPHH76I.js +0 -4
  430. package/dist/cdn/7QEYVLH4.js +0 -20
  431. package/dist/cdn/7VB4EGOH.js +0 -18
  432. package/dist/cdn/AGKANRB2.js +0 -4
  433. package/dist/cdn/B6P5GUKS.js +0 -18
  434. package/dist/cdn/CYFSOW6X.js +0 -18
  435. package/dist/cdn/DT6LXM6J.js +0 -4
  436. package/dist/cdn/E5MMH3QZ.js +0 -18
  437. package/dist/cdn/F4YYWP73.js +0 -18
  438. package/dist/cdn/F7LDLM6P.js +0 -4
  439. package/dist/cdn/FJG2Y4MT.js +0 -18
  440. package/dist/cdn/I2QMTG55.js +0 -4
  441. package/dist/cdn/KJL5HNOR.js +0 -4
  442. package/dist/cdn/KJOKXQZU.js +0 -18
  443. package/dist/cdn/L36YOWRK.js +0 -4
  444. package/dist/cdn/METZPEKO.js +0 -18
  445. package/dist/cdn/MMLZ4JEL.js +0 -4
  446. package/dist/cdn/OW7UYJ4J.js +0 -4
  447. package/dist/cdn/PQAE7N6I.js +0 -4
  448. package/dist/cdn/QZN2ALHA.js +0 -4
  449. package/dist/cdn/T3TRA4FC.js +0 -369
  450. package/dist/cdn/T6ANMRE3.js +0 -18
  451. package/dist/cdn/UYB7XUC7.js +0 -18
  452. package/dist/cdn/X24JTDBX.js +0 -18
  453. package/dist/cdn/YGDA57Y2.js +0 -18
  454. package/dist/cdn/Z4655QBA.js +0 -4
  455. package/dist/components/solution-deploying-panel/customElement.d.ts +0 -12
  456. package/dist/components/solution-deploying-panel/customElement.js +0 -77
  457. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.en.json +0 -0
  458. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.json +0 -0
  459. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.d.ts +0 -0
  460. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.js +0 -0
@@ -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.3 */
4
- import{a as E}from"./NRBFWIU7.js";import{e as F}from"./3U5MCBML.js";import{c as T,n as I,t as L,z as M}from"./ZWTSIAER.js";import"./ICTEUNHA.js";import{a as R,c as l,d as D,e as A,f as B}from"./QEC76CAD.js";import"./K6A5BZGW.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,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.3 */
4
- import"./6GCYWKFS.js";import e from"./UKWTBSYT.js";import{a as S,b as o,c as x,d as C,e as d}from"./WOW7ES6W.js";import{a as _,b as v,c as w}from"./23KPU4GQ.js";import"./U3K7MHYO.js";import"./TSUZDZYM.js";import"./VS4BFKL3.js";import"./RRF3ACRD.js";import"./QLVDQY5R.js";import"./7XCWAN5G.js";import"./JMQV4UK4.js";import"./J5Z6XBH5.js";import"./WFX5NIY6.js";import"./7ANMAQXN.js";import"./EYRRGEDQ.js";import"./OVCAOTN3.js";import"./FP7ZUAH6.js";import"./JIYQEZGV.js";import"./RIVVWLOA.js";import{g as b}from"./SYSMKBTI.js";import"./M7HTAQHD.js";import"./ASBGMXK6.js";import"./Z5LX6R34.js";import"./RHHKJQMD.js";import{a as g,b as m}from"./XPXOPI63.js";import{a as y}from"./LN5LFFQL.js";import{A as a,B as c,D as f,c as h,d as i,n,w as l,y as u}from"./QSBF5CAO.js";import"./K6A5BZGW.js";export default $arcgis.t(([k])=>{var P=h`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.display-flex{display:flex}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:.5rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}`,p=class extends u{constructor(){super(),this.solutionsCount=0,this.sortType="numviews",this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=y({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=g(),this._authContextProvider=l({context:w}),this._isMobileContextProvider=l({context:v}),this._userSessionContextProvider=l({context:_}),this.filterRemoved=n(),this.tokenRefreshed=n(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={solutionsCount:9,sortType:1,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=P}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}connectedCallback(){super.connectedCallback();let e=new b({username:"",password:""});this._userSessionContextProvider.setValue(e),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){let e=new k(S,o,d);await e.init(),e.SignedIn||e.signIn(),this._authContextProvider.setValue(e),e.RestUserSession&&this._userSessionContextProvider.setValue(e.RestUserSession)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab" icon-start=${e??c} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="header-override background-override"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"block"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${a(e)}><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${a(e)} position=start><solutions-filter-panel is-all-solutions @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel .agoSolutionsGroupId=${x} .enterpriseSolutionsGroupId=${C} .locale=${d} .orgUrl=${o} @cardsFetched=${this._updateSolutionCount} .portalUrl=${o} .sortType=${this.sortType} style=${a(e)} ${m(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByMostPopular,sortType:"numviews"},{displayValue:this._translations.sortByNew,sortType:"new"},{displayValue:this._translations.sortByUpdated,sortType:"updated"},{displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??c}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"numviews":t=this._translations.sortByMostPopular;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._allSolutionsPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){let t=this.filters.filter(s=>s.displayValue===e);this.filters=this.filters.filter(s=>s.displayValue!==e),this._allSolutionsPanelRef.value?.searchSolutions(),t.length>0&&this.filterRemoved.emit(t[0])}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._allSolutionsPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._allSolutionsPanelRef.value?.searchSolutions())}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let s=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let r=await t?.refreshSession();if(r){this._userSessionContextProvider.setValue(r);let $=r?.token??"";this.tokenRefreshed.emit($)}},s)}}};f("solutions-all-shell",p);return p},e)
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as p}from"./LN5LFFQL.js";import{B as a,D as d,c as o,d as t,n as r,y as l,z as n}from"./QSBF5CAO.js";import"./K6A5BZGW.js";var m=o`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-card{width:220px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:var(--calcite-color-text-inverse)}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}.chip-updated{--calcite-chip-icon-color: var(--calcite-ui-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}`,s=class extends l{constructor(){super(...arguments),this._translations=p({name:"solution-details-card",blocking:!0}),this.detailsCardSelected=r()}static{this.properties={card:0,_translations:16}}static{this.styles=m}render(){let e=this.card,h=e.chip==="updated"?"chip-updated":this.card.chip==="deployed"?"chip-deployed":"",c="solution-details-card-chip",i=e.chip==="updated"?this._translations.updated:this._translations.deployed;return t`<div><calcite-card .label=${e.snippet} @click=${this._cardSelected}><div class="card-image-wrap" slot=thumbnail><img class="thumbnail card-image" alt=${e.title??a} src=${e.thumbnailUrl??a}><div class="hover-text">${this._translations.viewDetails}</div></div><span slot=heading>${e.title}</span><p slot=description>${e.snippet}</p>${e.chip!=="none"?t`<div slot=footer-end><calcite-chip class=${n(h)} .icon=${e.chip==="updated"?"mega-phone":"check-circle"} id=${c} .label=${i} .value=${i} scale=s></calcite-chip><calcite-tooltip .referenceElement=${c}><span>${i}</span></calcite-tooltip></div>`:void 0}<div slot=footer-start></div></calcite-card></div>`}_cardSelected(){this.detailsCardSelected.emit(this.card)}};d("solution-details-card",s);export{s as SolutionDetailsCard};
@@ -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.3 */
4
- import{a as D}from"./S7NHJP4N.js";import{a as _,c as b}from"./23KPU4GQ.js";import{Sb as g}from"./U3K7MHYO.js";import"./TSUZDZYM.js";import"./VS4BFKL3.js";import"./RRF3ACRD.js";import"./QLVDQY5R.js";import"./7XCWAN5G.js";import"./JMQV4UK4.js";import"./J5Z6XBH5.js";import"./WFX5NIY6.js";import"./7ANMAQXN.js";import"./EYRRGEDQ.js";import"./OVCAOTN3.js";import"./FP7ZUAH6.js";import"./JIYQEZGV.js";import"./RIVVWLOA.js";import"./SYSMKBTI.js";import"./M7HTAQHD.js";import"./ASBGMXK6.js";import"./Z5LX6R34.js";import"./RHHKJQMD.js";import{a as m}from"./LN5LFFQL.js";import{B as p,D as u,c,d as t,n as l,p as h,x as a,y as d}from"./QSBF5CAO.js";import"./K6A5BZGW.js";var C=c`@layer{/** @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
- */.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}}`,n=class extends d{constructor(){super(...arguments),this.authContextConsumer=a({context:b,subscribe:!0}),this.open=!1,this.userSessionContextConsumer=a({context:_,subscribe:!0}),this._deletePercentage=0,this._isDeleteInProgress=!1,this._showDeleteError=!1,this._templates=[],this._translations=m({name:"solution-delete-dialog",blocking:!0}),this.dialogOpen=l(),this.solutionDeleted=l()}static{this.properties={authContextConsumer:0,card:0,open:5,userSessionContextConsumer:0,_deletePercentage:16,_isDeleteInProgress:16,_showDeleteError:16,_templates:16,_translations:16}}static{this.styles=C}static{this.shadowRootOptions=h}close(){this._isDeleteInProgress&&this.solutionDeleted.emit(!0),this._showDeleteError=!1,this._isDeleteInProgress=!1,this.open=!1,this.dialogOpen.emit(!1)}delete(){if(this._isDeleteInProgress=!0,this.card){let i=[{itemName:this.card.title,itemType:"Solution",owner:this.card.owner,modified:this.card.modified}],f={progressCallback:s=>{this._deletePercentage=Math.round(s)}};g(this.card.id,this.userSessionContextConsumer.value,f).then(s=>{console.log(s);let r=s[1],o;r?o=r.items.map(e=>({itemName:e.title,itemType:e.type,owner:e.owner,modified:e.modified})):o=i,o.length===0?(this.solutionDeleted.emit(!0),this._isDeleteInProgress=!1,this.open=!1):this.card?this._processTemplates(this.card).then(e=>{this._templates=e,this._showDeleteError=!0,this._isDeleteInProgress=!1}):(this._showDeleteError=!0,this._isDeleteInProgress=!1)})}}async load(){this.card&&(this._templates=await this._processTemplates(this.card))}render(){return t`<calcite-dialog class="panel-bg-color" close-disabled .heading=${this._translations.title.replace("{{solution}}",this.card?.title??"")} id=${this._translations.title.replace("{{solution}}",this.card?.title??"")??p} modal .open=${this.open} outside-close-disabled @calciteDialogClose=${()=>{this.open=!1,this.dialogOpen.emit(!1)}}>${this._isDeleteInProgress?t`<calcite-loader .label=${this._translations.deleteInProgress} scale=l .text=${this._translations.deleteInProgress} type=determinate-value .value=${this._deletePercentage}></calcite-loader>`:t`<calcite-label layout=inline>${this._translations.deletionNote}<calcite-chip .label=${this._translations.deletionCount.replace("{{count}}",this.card?.title??"")}>${this._templates.length>1?this._translations.deletionCountMultiple.replace("{{count}}",this._templates.length.toString()):this._translations.deletionCount.replace("{{count}}",this._templates.length.toString())}</calcite-chip></calcite-label><solution-item-accordion .templateInfos=${this._templates}></solution-item-accordion><calcite-button appearance=outline @click=${this.close} slot=footer-end>${this._translations.buttonCancel}</calcite-button><calcite-button @click=${()=>{this.delete()}} slot=footer-end kind=danger>${this._translations.buttonDelete}</calcite-button>${this._showDeleteError&&t`<calcite-alert icon=exclamation-mark-triangle kind=danger .label=${this._translations.failedToDelete} @calciteAlertClose=${()=>{this._showDeleteError=!1}} open><div slot=message>${this._translations.failedToDelete}</div></calcite-alert>`||""}`}</calcite-dialog>`}async _processTemplates(i){return await D(i.id,this.userSessionContextConsumer.value)}};u("solution-delete-dialog",n);export{n as SolutionDeleteDialog};
@@ -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.3 */
4
- import{a as r}from"./LN5LFFQL.js";import{B as l,D as c,c as o,d as t,p as a,y as s}from"./QSBF5CAO.js";import"./K6A5BZGW.js";var p=o`@layer{/** @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
- */.panel-bg-white{--calcite-panel-background-color: var(--calcite-color-foreground-1)}}`,n=class extends s{constructor(){super(...arguments),this.solutionItem=void 0,this._isInCancelConfirmation=!1,this._showCancelConfirmation=!1,this._translations=r({name:"solution-deploying-panel",blocking:!0})}static{this.properties={solutionItem:0,_isInCancelConfirmation:16,_showCancelConfirmation:16,_translations:16}}static{this.styles=p}static{this.shadowRootOptions=a}close(){this._showCancelConfirmation=!1;let e=this._getDialogObject();e&&(e.open=!1)}confirmCancel(){if(this._isInCancelConfirmation)this.close();else{let e=this._getDialogObject();e&&(e.open=!0,e.closeDisabled=!0,this._isInCancelConfirmation=!0),this._showCancelConfirmation=!0}}async load(){}render(){return t`<calcite-dialog .heading=${this._translations.title.replace("{{solution}}",this.solutionItem?.title??"")} id=${this._translations.title.replace("{{solution}}",this.solutionItem?.title??"")??l} modal open @calciteDialogBeforeClose=${e=>{e.preventDefault(),this.confirmCancel()}} outside-close-disabled>${this._showCancelConfirmation?this.renderCancelModal():t`<calcite-panel class="panel-bg-white"><calcite-loader .label=${this._translations.deploymentInProgress} scale=l .text=${this._translations.deploymentInProgress} type=determinate-value value=75></calcite-loader><calcite-carousel autoplay .label=${this._translations.newsAndFeatures} arrow-type=inline>${this.renderCarouselItems()}</calcite-carousel><calcite-button appearance=outline @click=${this.confirmCancel} slot=footer-end>${this._translations.cancel}</calcite-button></calcite-panel>`}</calcite-dialog>`}renderCarouselItems(){let e=[],h=this._translations.carousel;for(let[i,u]of Object.entries(h))e.push(t`<calcite-carousel-item .label=${i}><calcite-label layout=inline>${i==="stockMessage1"&&t`<calcite-icon icon=workflow-diagram></calcite-icon>`||""}${i==="stockMessage2"&&t`<calcite-icon icon=trash></calcite-icon>`||""}${u}</calcite-label></calcite-carousel-item>`);return e}renderCancelModal(){return t`<calcite-panel class="panel-bg-white">${this._translations.deploymentCancelMessage}<calcite-button kind=brand @click=${()=>{let e=this._getDialogObject();e&&(e.closeDisabled=!1),this._isInCancelConfirmation=!1,this._showCancelConfirmation=!1}} slot=footer-end>${this._translations.continueDeployment}</calcite-button><calcite-button appearance=outline @click=${this.confirmCancel} slot=footer-end>${this._translations.cancelDeploymentButton}</calcite-button></calcite-panel>`}_getDialogObject(){let e=this._translations.title.replace("{{solution}}",this.solutionItem?.title??"");return document.getElementById(e)}};c("solution-deploying-panel",n);export{n as SolutionDeployingPanel};
@@ -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.3 */
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"./YAAW6QK6.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,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
- }