@esri/solutions-components 5.1.0-next.6 → 5.1.0-next.61

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 (401) hide show
  1. package/dist/cdn/2GS5DXMX.js +2 -0
  2. package/dist/cdn/{N7OY2PSZ.js → 2P2JRBNM.js} +1 -1
  3. package/dist/cdn/{YDNB3Z7B.js → 2RONXQ22.js} +1 -1
  4. package/dist/cdn/{7MXJCE2J.js → 2ZZTL5B6.js} +1 -1
  5. package/dist/cdn/{QLXOOL5D.js → 3KVDFRXD.js} +1 -1
  6. package/dist/cdn/{V74VHTFF.js → 3NPTCTYW.js} +1 -1
  7. package/dist/cdn/{S423P2GA.js → 3YQ3LN5J.js} +1 -1
  8. package/dist/cdn/4652XKVL.js +2 -0
  9. package/dist/cdn/4Y4JREZI.js +2 -0
  10. package/dist/cdn/{HPFJPSEL.js → 5F3VPVCO.js} +1 -1
  11. package/dist/cdn/5PIM2BOZ.js +2 -0
  12. package/dist/cdn/5TB2UXTT.js +2 -0
  13. package/dist/cdn/{RSZTDUO6.js → 5WA4SX7C.js} +1 -1
  14. package/dist/cdn/{ZPFYLUCJ.js → 76H55K5C.js} +1 -1
  15. package/dist/cdn/7QUV7YG7.js +10 -0
  16. package/dist/cdn/7ZN2BMYK.js +2 -0
  17. package/dist/cdn/{B4UETHGF.js → A5UYHQB2.js} +1 -1
  18. package/dist/cdn/A6HMNEQC.js +2 -0
  19. package/dist/cdn/ANWADKOZ.js +2 -0
  20. package/dist/cdn/BDCGPJPJ.js +2 -0
  21. package/dist/cdn/BDENYZEG.js +2 -0
  22. package/dist/cdn/BFKX5BLC.js +2 -0
  23. package/dist/cdn/{YGZRQS2J.js → BK7LW2RY.js} +1 -1
  24. package/dist/cdn/BMOMM64K.js +21 -0
  25. package/dist/cdn/CF6JSZPY.js +2 -0
  26. package/dist/cdn/CLF2PJYC.js +2 -0
  27. package/dist/cdn/{QXFTJVUF.js → CPKTXSK2.js} +1 -1
  28. package/dist/cdn/{T2WSMUVL.js → CS4IGHMC.js} +1 -1
  29. package/dist/cdn/CUY7MQY5.js +2 -0
  30. package/dist/cdn/{VFSI5MUK.js → CWGUKAP6.js} +1 -1
  31. package/dist/cdn/{3NR3CDWD.js → DBTVSVZ4.js} +1 -1
  32. package/dist/cdn/{32VP7W5E.js → DHPY2J5M.js} +1 -1
  33. package/dist/cdn/DIUHLPYD.js +2 -0
  34. package/dist/cdn/DJTOZZZA.js +25 -0
  35. package/dist/cdn/{DLBZRD4H.js → DPD6UBKD.js} +1 -1
  36. package/dist/cdn/DYJGZIDV.js +2 -0
  37. package/dist/cdn/DYXBSCAV.js +2 -0
  38. package/dist/cdn/{XQISEL3T.js → E4OCTDX7.js} +1 -1
  39. package/dist/cdn/E5GNE67Z.js +2 -0
  40. package/dist/cdn/{P4FX4W2X.js → E6WWQDDM.js} +1 -1
  41. package/dist/cdn/EPQ6J23O.js +7 -0
  42. package/dist/cdn/EZJOMREQ.js +2 -0
  43. package/dist/cdn/{P4KZ6OZF.js → F2JKSZOE.js} +1 -1
  44. package/dist/cdn/F2YGRNTN.js +2 -0
  45. package/dist/cdn/{UF67SSGX.js → FEMACR5Y.js} +1 -1
  46. package/dist/cdn/{NDUAEC62.js → FLLZBDVI.js} +1 -1
  47. package/dist/cdn/FLQFNPOP.js +2 -0
  48. package/dist/cdn/FLRIF3C7.js +2 -0
  49. package/dist/cdn/FOFNYI3V.js +3 -0
  50. package/dist/cdn/FRE445LD.js +2 -0
  51. package/dist/cdn/{PJH3H7LZ.js → G5YR3YZQ.js} +1 -1
  52. package/dist/cdn/GBTCFOFN.js +2 -0
  53. package/dist/cdn/GEVYIM3T.js +2 -0
  54. package/dist/cdn/GFW4PBUK.js +2 -0
  55. package/dist/cdn/{4ZEHQ3GR.js → GMXGHUZO.js} +1 -1
  56. package/dist/cdn/GQWWZGLF.js +2 -0
  57. package/dist/cdn/GRBH2MOX.js +2 -0
  58. package/dist/cdn/{GTDHYS64.js → GSF5ZZMH.js} +2 -2
  59. package/dist/cdn/GV3BOKA2.js +40 -0
  60. package/dist/cdn/H2PJ6QZT.js +2 -0
  61. package/dist/cdn/HAET3BAD.js +2 -0
  62. package/dist/cdn/{UOEDG3M3.js → HBQN25RR.js} +1 -1
  63. package/dist/cdn/{4ABITSEM.js → HR2BNQ7E.js} +1 -1
  64. package/dist/cdn/HUJNR7CU.js +2 -0
  65. package/dist/cdn/I7OSCIKL.js +2 -0
  66. package/dist/cdn/{P2BP2CM5.js → IDPLUOO5.js} +1 -1
  67. package/dist/cdn/IMN5BMIM.js +2 -0
  68. package/dist/cdn/INWDOVSJ.js +2 -0
  69. package/dist/cdn/IU6ZANQW.js +2 -0
  70. package/dist/cdn/{AKDP6MCB.js → IUFEMLQM.js} +1 -1
  71. package/dist/cdn/{RGH3Z5QC.js → J6V42VCC.js} +1 -1
  72. package/dist/cdn/{AA7X6GKH.js → JA3R6YUV.js} +1 -1
  73. package/dist/cdn/JMO7ZFWL.js +26 -0
  74. package/dist/cdn/{36HEIJAI.js → JNRZGJ5J.js} +1 -1
  75. package/dist/cdn/{T7REUAY2.js → JQC3RZ7L.js} +1 -1
  76. package/dist/cdn/{5WJS5U7G.js → JR4Z5BZE.js} +1 -1
  77. package/dist/cdn/JSI6JODX.js +50 -0
  78. package/dist/cdn/JZHP22BA.js +2 -0
  79. package/dist/cdn/{JK75TUSP.js → K2OB67JG.js} +1 -1
  80. package/dist/cdn/{NYCJKKYN.js → K7MOOHAF.js} +1 -1
  81. package/dist/cdn/K7VYU2IJ.js +2 -0
  82. package/dist/cdn/KN36REDP.js +2 -0
  83. package/dist/cdn/{D7AEFBST.js → KRWRWUTJ.js} +1 -1
  84. package/dist/cdn/KXQ6EA36.js +2 -0
  85. package/dist/cdn/{JYLXH6OM.js → L6QPBIO3.js} +1 -1
  86. package/dist/cdn/{SLC22JQP.js → LCBVGEFC.js} +1 -1
  87. package/dist/cdn/{NLTK53B2.js → LVQAS4DN.js} +1 -1
  88. package/dist/cdn/{P5XWXDR2.js → MACN5YNL.js} +1 -1
  89. package/dist/cdn/MAUD35WR.js +2 -0
  90. package/dist/cdn/{XYFIAJPT.js → MMQLDIE7.js} +1 -1
  91. package/dist/cdn/{OAS6T2VR.js → MR5KWNL4.js} +1 -1
  92. package/dist/cdn/N3EAHFBX.js +2 -0
  93. package/dist/cdn/NFRTFOHF.js +2 -0
  94. package/dist/cdn/NH3ESMSN.js +2 -0
  95. package/dist/cdn/NNOZ6KRO.js +21 -0
  96. package/dist/cdn/{MCFH5JBU.js → NV4NQJDM.js} +1 -1
  97. package/dist/cdn/O3A436MI.js +2 -0
  98. package/dist/cdn/{VDMAJ6AS.js → O4JG6O2G.js} +1 -1
  99. package/dist/cdn/{ULCILXSA.js → ODZNJZG5.js} +1 -1
  100. package/dist/cdn/{M3ESEITD.js → OGUIHXDV.js} +1 -1
  101. package/dist/cdn/ONSABHYA.js +2 -0
  102. package/dist/cdn/{JLYGSQEC.js → OUHPCCIT.js} +1 -1
  103. package/dist/cdn/{3VJ4LKR5.js → P7UNMJ5A.js} +1 -1
  104. package/dist/cdn/POJOSFXX.js +2 -0
  105. package/dist/cdn/PQIJUUY3.js +2 -0
  106. package/dist/cdn/PTWSYW3E.js +359 -0
  107. package/dist/cdn/{LPNQJBCN.js → PWAT4NDG.js} +1 -1
  108. package/dist/cdn/{RYD5JSIK.js → PWSIKCAF.js} +1 -1
  109. package/dist/cdn/{CVC5BYCF.js → PYOUOZUM.js} +1 -1
  110. package/dist/cdn/{XVRRQMOP.js → Q2IHGYKB.js} +1 -1
  111. package/dist/cdn/QHG54NVK.js +2 -0
  112. package/dist/cdn/QSUXQICI.js +2 -0
  113. package/dist/cdn/{57JYZYF5.js → RP36BC5U.js} +1 -1
  114. package/dist/cdn/{BEGKM3ZM.js → RQ2LHC5I.js} +1 -1
  115. package/dist/cdn/{J33ST6ZG.js → RVKS24LF.js} +1 -1
  116. package/dist/cdn/{3AQ7U2PF.js → SDJWXDEO.js} +1 -1
  117. package/dist/cdn/{C63QDNA2.js → SLIB2OEC.js} +1 -1
  118. package/dist/cdn/{R4P3ACBL.js → T2CGPA2B.js} +1 -1
  119. package/dist/cdn/TE6O5EAX.js +10 -0
  120. package/dist/cdn/{7YIQXDUF.js → THSRTNBE.js} +1 -1
  121. package/dist/cdn/{SZRONHSX.js → TLJX3G56.js} +1 -1
  122. package/dist/cdn/{VZPEYWYR.js → TOU5OHUQ.js} +1 -1
  123. package/dist/cdn/{B5RWUGHH.js → TYS6ZZ3Q.js} +1 -1
  124. package/dist/cdn/U4EZHJYT.js +2 -0
  125. package/dist/cdn/{SI3DJJCC.js → U5CKJBMT.js} +1 -1
  126. package/dist/cdn/{5KD4GK7Y.js → UEJPBHBF.js} +1 -1
  127. package/dist/cdn/{Q2FDKRDQ.js → UHZMX2M6.js} +1 -1
  128. package/dist/cdn/UJ5NRADN.js +2 -0
  129. package/dist/cdn/{RTPXDRZ7.js → UNA43DT6.js} +1 -1
  130. package/dist/cdn/UQTAX7HB.js +2 -0
  131. package/dist/cdn/{M3KJFMBN.js → V2QTKEQV.js} +1 -1
  132. package/dist/cdn/V66MBBFA.js +2 -0
  133. package/dist/cdn/{MB5ER7VL.js → VE3KTNQS.js} +1 -1
  134. package/dist/cdn/{DXZ6JQQ3.js → VEFYE24S.js} +1 -1
  135. package/dist/cdn/{DIDOZ4J6.js → WH2NFOMH.js} +5 -5
  136. package/dist/cdn/{DQ4POWIJ.js → WQTF5JT3.js} +1 -1
  137. package/dist/cdn/{KXAY6N2R.js → WX7KEAVK.js} +1 -1
  138. package/dist/cdn/{UIVSGAJR.js → WYEPAWQO.js} +1 -1
  139. package/dist/cdn/XFKZOLUD.js +2 -0
  140. package/dist/cdn/XSNGR44R.js +2 -0
  141. package/dist/cdn/{P642ZIKQ.js → Y2VQNMT4.js} +1 -1
  142. package/dist/cdn/{HIMUNCZ6.js → YBUQ5RAC.js} +3 -3
  143. package/dist/cdn/YNERGBJG.js +2 -0
  144. package/dist/cdn/Z2IT4SME.js +2 -0
  145. package/dist/cdn/{QI5LXFA7.js → ZBRNLRN2.js} +1 -1
  146. package/dist/cdn/ZMQ6KCYQ.js +2 -0
  147. package/dist/cdn/ZSJ55A7H.js +2 -0
  148. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  149. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  150. package/dist/cdn/assets/create-feature/t9n/messages.ar.json +1 -1
  151. package/dist/cdn/assets/create-feature/t9n/messages.bg.json +1 -1
  152. package/dist/cdn/assets/create-feature/t9n/messages.bs.json +1 -1
  153. package/dist/cdn/assets/create-feature/t9n/messages.ca.json +1 -1
  154. package/dist/cdn/assets/create-feature/t9n/messages.cs.json +1 -1
  155. package/dist/cdn/assets/create-feature/t9n/messages.da.json +1 -1
  156. package/dist/cdn/assets/create-feature/t9n/messages.de.json +1 -1
  157. package/dist/cdn/assets/create-feature/t9n/messages.el.json +1 -1
  158. package/dist/cdn/assets/create-feature/t9n/messages.es.json +1 -1
  159. package/dist/cdn/assets/create-feature/t9n/messages.et.json +1 -1
  160. package/dist/cdn/assets/create-feature/t9n/messages.fi.json +1 -1
  161. package/dist/cdn/assets/create-feature/t9n/messages.fr.json +1 -1
  162. package/dist/cdn/assets/create-feature/t9n/messages.he.json +1 -1
  163. package/dist/cdn/assets/create-feature/t9n/messages.hr.json +1 -1
  164. package/dist/cdn/assets/create-feature/t9n/messages.hu.json +1 -1
  165. package/dist/cdn/assets/create-feature/t9n/messages.id.json +1 -1
  166. package/dist/cdn/assets/create-feature/t9n/messages.it.json +1 -1
  167. package/dist/cdn/assets/create-feature/t9n/messages.ja.json +1 -1
  168. package/dist/cdn/assets/create-feature/t9n/messages.ko.json +1 -1
  169. package/dist/cdn/assets/create-feature/t9n/messages.lt.json +1 -1
  170. package/dist/cdn/assets/create-feature/t9n/messages.lv.json +1 -1
  171. package/dist/cdn/assets/create-feature/t9n/messages.nl.json +1 -1
  172. package/dist/cdn/assets/create-feature/t9n/messages.no.json +1 -1
  173. package/dist/cdn/assets/create-feature/t9n/messages.pl.json +1 -1
  174. package/dist/cdn/assets/create-feature/t9n/messages.pt-BR.json +1 -1
  175. package/dist/cdn/assets/create-feature/t9n/messages.pt-PT.json +1 -1
  176. package/dist/cdn/assets/create-feature/t9n/messages.ro.json +1 -1
  177. package/dist/cdn/assets/create-feature/t9n/messages.ru.json +1 -1
  178. package/dist/cdn/assets/create-feature/t9n/messages.sk.json +1 -1
  179. package/dist/cdn/assets/create-feature/t9n/messages.sl.json +1 -1
  180. package/dist/cdn/assets/create-feature/t9n/messages.sr.json +1 -1
  181. package/dist/cdn/assets/create-feature/t9n/messages.sv.json +1 -1
  182. package/dist/cdn/assets/create-feature/t9n/messages.th.json +1 -1
  183. package/dist/cdn/assets/create-feature/t9n/messages.tr.json +1 -1
  184. package/dist/cdn/assets/create-feature/t9n/messages.uk.json +1 -1
  185. package/dist/cdn/assets/create-feature/t9n/messages.vi.json +1 -1
  186. package/dist/cdn/assets/create-feature/t9n/messages.zh-CN.json +1 -1
  187. package/dist/cdn/assets/create-feature/t9n/messages.zh-HK.json +1 -1
  188. package/dist/cdn/assets/create-feature/t9n/messages.zh-TW.json +1 -1
  189. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ar.json +1 -1
  190. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bg.json +1 -1
  191. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bs.json +1 -1
  192. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ca.json +1 -1
  193. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.cs.json +1 -1
  194. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.da.json +1 -1
  195. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.de.json +1 -1
  196. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.el.json +1 -1
  197. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.es.json +1 -1
  198. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.et.json +1 -1
  199. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
  200. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
  201. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.he.json +1 -1
  202. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hr.json +1 -1
  203. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hu.json +1 -1
  204. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.id.json +1 -1
  205. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.it.json +1 -1
  206. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
  207. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ko.json +1 -1
  208. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lt.json +1 -1
  209. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lv.json +1 -1
  210. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
  211. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.no.json +1 -1
  212. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pl.json +1 -1
  213. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-BR.json +1 -1
  214. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-PT.json +1 -1
  215. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ro.json +1 -1
  216. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ru.json +1 -1
  217. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
  218. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sl.json +1 -1
  219. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sr.json +1 -1
  220. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sv.json +1 -1
  221. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.th.json +1 -1
  222. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
  223. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.uk.json +1 -1
  224. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.vi.json +1 -1
  225. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-CN.json +1 -1
  226. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-HK.json +1 -1
  227. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-TW.json +1 -1
  228. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ar.json +1 -1
  229. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bg.json +1 -1
  230. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bs.json +1 -1
  231. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ca.json +1 -1
  232. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.cs.json +1 -1
  233. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.da.json +1 -1
  234. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.de.json +1 -1
  235. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.el.json +1 -1
  236. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.es.json +1 -1
  237. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.et.json +1 -1
  238. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fi.json +1 -1
  239. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fr.json +1 -1
  240. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.he.json +1 -1
  241. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hr.json +1 -1
  242. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hu.json +1 -1
  243. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.id.json +1 -1
  244. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.it.json +1 -1
  245. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ja.json +1 -1
  246. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ko.json +1 -1
  247. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lt.json +1 -1
  248. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lv.json +1 -1
  249. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.nl.json +1 -1
  250. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.no.json +1 -1
  251. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pl.json +1 -1
  252. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-BR.json +1 -1
  253. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-PT.json +1 -1
  254. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ro.json +1 -1
  255. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ru.json +1 -1
  256. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sk.json +1 -1
  257. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sl.json +1 -1
  258. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sr.json +1 -1
  259. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sv.json +1 -1
  260. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.th.json +1 -1
  261. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.tr.json +1 -1
  262. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.uk.json +1 -1
  263. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.vi.json +1 -1
  264. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-CN.json +1 -1
  265. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-HK.json +1 -1
  266. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-TW.json +1 -1
  267. package/dist/cdn/index.js +1 -1
  268. package/dist/chunks/Auth.js +89 -67
  269. package/dist/chunks/_commonjsHelpers.js +7 -0
  270. package/dist/chunks/cardFetchingUtils.js +15 -15
  271. package/dist/chunks/cardsHelpers.js +5 -5
  272. package/dist/chunks/deployAppContexts.js +9 -0
  273. package/dist/chunks/explorer-prompts.js +43 -0
  274. package/dist/chunks/getRelatedInfos.js +1 -1
  275. package/dist/chunks/{interfaces.js → helpers.js} +235 -226
  276. package/dist/chunks/solution-deploy-dialog.js +39 -52
  277. package/dist/chunks/solutions-deploy-app-nav.js +105 -79
  278. package/dist/chunks/solutions_assistant_description.js +28 -0
  279. package/dist/chunks/solutions_assistant_prompts.js +29 -0
  280. package/dist/chunks/solutions_builder_description.js +13 -0
  281. package/dist/chunks/solutions_builder_prompts.js +13 -0
  282. package/dist/chunks/solutions_explorer_description.js +24 -0
  283. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +15 -80
  284. package/dist/components/arcgis-solutions-assistant/customElement.js +49351 -1538
  285. package/dist/components/arcgis-solutions-assistant/index.js +3 -6
  286. package/dist/components/consent-manager/customElement.js +157 -159
  287. package/dist/components/create-feature/customElement.js +2 -2
  288. package/dist/components/crowdsource-manager/customElement.js +3 -3
  289. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  290. package/dist/components/edit-card/customElement.js +4 -4
  291. package/dist/components/feature-details/customElement.js +1 -1
  292. package/dist/components/feature-list/customElement.js +1 -1
  293. package/dist/components/info-card/customElement.js +1 -1
  294. package/dist/components/layer-list/customElement.js +1 -1
  295. package/dist/components/layer-table/customElement.js +3 -3
  296. package/dist/components/map-card/customElement.js +6 -6
  297. package/dist/components/map-picker/customElement.js +1 -1
  298. package/dist/components/public-notification/customElement.js +25 -18
  299. package/dist/components/refine-selection/customElement.js +1 -1
  300. package/dist/components/solution-configure-titles/customElement.js +5 -4
  301. package/dist/components/solution-delete-dialog/customElement.js +47 -37
  302. package/dist/components/solution-deploy-dialog/customElement.js +4 -3
  303. package/dist/components/solution-deployed-card/customElement.js +3 -2
  304. package/dist/components/solution-deployed-card-panel/customElement.js +12 -11
  305. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  306. package/dist/components/solution-details-card/customElement.js +2 -1
  307. package/dist/components/solution-details-panel/customElement.js +101 -99
  308. package/dist/components/solution-item-accordion/customElement.js +29 -21
  309. package/dist/components/solution-item-diagram/customElement.js +1 -1
  310. package/dist/components/solution-item-diagram/utils/solutionGraph.d.ts +1 -0
  311. package/dist/components/solution-resource-card/customElement.js +7 -6
  312. package/dist/components/solution-snapshot-gallery/customElement.js +5 -4
  313. package/dist/components/solution-social-share/customElement.js +37 -36
  314. package/dist/components/solution-user-avatar/customElement.js +12 -11
  315. package/dist/components/solutions-all-panel/customElement.js +17 -13
  316. package/dist/components/solutions-all-shell/customElement.js +3 -2
  317. package/dist/components/solutions-deploy-app/customElement.js +16 -14
  318. package/dist/components/solutions-deploy-app-nav/customElement.js +4 -3
  319. package/dist/components/solutions-deployed-panel/customElement.js +3 -2
  320. package/dist/components/solutions-deployed-shell/customElement.js +7 -6
  321. package/dist/components/solutions-filter-panel/customElement.d.ts +4 -1
  322. package/dist/components/solutions-filter-panel/customElement.js +45 -36
  323. package/dist/components/solutions-resources-shell/customElement.js +38 -38
  324. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -2
  325. package/dist/components/solutions-searchsort-toolbar/customElement.js +7 -6
  326. package/dist/docs/api.json +1 -1
  327. package/dist/docs/docs.json +1 -1
  328. package/dist/docs/vscode.html-custom-data.json +1 -1
  329. package/dist/docs/web-types.json +1 -1
  330. package/dist/index.js +1 -1
  331. package/dist/loader.js +1 -1
  332. package/dist/solutions-components_commit.txt +8 -5
  333. package/dist/types/lumina.d.ts +2 -1
  334. package/dist/types/preact.d.ts +2 -1
  335. package/dist/types/react.d.ts +2 -1
  336. package/dist/types/stencil.d.ts +2 -1
  337. package/dist/utils/Auth.d.ts +9 -1
  338. package/dist/utils/interfaces.d.ts +11 -12
  339. package/package.json +2 -1
  340. package/dist/cdn/2P34QGRO.js +0 -2
  341. package/dist/cdn/3JF5JLS4.js +0 -2
  342. package/dist/cdn/3R5VOUDP.js +0 -2
  343. package/dist/cdn/3YP4IHTR.js +0 -2
  344. package/dist/cdn/42KJMFQR.js +0 -2
  345. package/dist/cdn/4VFF7AI4.js +0 -2
  346. package/dist/cdn/5EKT4E6L.js +0 -2
  347. package/dist/cdn/6M3LFKC2.js +0 -2
  348. package/dist/cdn/6TOLIJU5.js +0 -2
  349. package/dist/cdn/7KSFAVG3.js +0 -2
  350. package/dist/cdn/B4AIK4OP.js +0 -2
  351. package/dist/cdn/BDDH5UZP.js +0 -2
  352. package/dist/cdn/C4SG4U2R.js +0 -21
  353. package/dist/cdn/CCENFN7F.js +0 -2
  354. package/dist/cdn/CPMMNWOL.js +0 -3
  355. package/dist/cdn/CTVJXR44.js +0 -2
  356. package/dist/cdn/DADQNPO4.js +0 -2
  357. package/dist/cdn/DIKAKOU5.js +0 -2
  358. package/dist/cdn/DWUKLLEC.js +0 -2
  359. package/dist/cdn/EITUC67W.js +0 -2
  360. package/dist/cdn/F24FJKDG.js +0 -2
  361. package/dist/cdn/GGPVFOLN.js +0 -2
  362. package/dist/cdn/HBPD3T7H.js +0 -2
  363. package/dist/cdn/HL7P3CHI.js +0 -2
  364. package/dist/cdn/J5VTBFGR.js +0 -2
  365. package/dist/cdn/JTUQKBFR.js +0 -2
  366. package/dist/cdn/KAEV4RME.js +0 -50
  367. package/dist/cdn/KJMVCXRW.js +0 -2
  368. package/dist/cdn/KWCJDOZU.js +0 -2
  369. package/dist/cdn/LI4CAGAZ.js +0 -2
  370. package/dist/cdn/MSSLXF7R.js +0 -2
  371. package/dist/cdn/MUM5SE3F.js +0 -2
  372. package/dist/cdn/MXWRV4QM.js +0 -2
  373. package/dist/cdn/NIUMAAOQ.js +0 -2
  374. package/dist/cdn/OEFCWMHM.js +0 -2
  375. package/dist/cdn/OSPT7DNE.js +0 -2
  376. package/dist/cdn/OYQYXNHJ.js +0 -2
  377. package/dist/cdn/P4GNCZ6F.js +0 -2
  378. package/dist/cdn/PHWLCAZ4.js +0 -2
  379. package/dist/cdn/PJ4ERPMV.js +0 -2
  380. package/dist/cdn/QXRWIAR3.js +0 -7
  381. package/dist/cdn/RKMY6VWP.js +0 -2
  382. package/dist/cdn/RSTX3J6D.js +0 -2
  383. package/dist/cdn/SBEXUIYT.js +0 -2
  384. package/dist/cdn/SE7R7GJQ.js +0 -2
  385. package/dist/cdn/SGRKAUHN.js +0 -2
  386. package/dist/cdn/SOFOUNGU.js +0 -2
  387. package/dist/cdn/SSWZX5KE.js +0 -2
  388. package/dist/cdn/TEXGFAKJ.js +0 -2
  389. package/dist/cdn/TG5Z36QU.js +0 -2
  390. package/dist/cdn/UFI4ZJNJ.js +0 -2
  391. package/dist/cdn/UUNDSSCA.js +0 -2
  392. package/dist/cdn/VGCXEINY.js +0 -2
  393. package/dist/cdn/VJEG4LOG.js +0 -2
  394. package/dist/cdn/VTXVM7WH.js +0 -2
  395. package/dist/cdn/VVNSX3BS.js +0 -2
  396. package/dist/cdn/WVC3NULO.js +0 -2
  397. package/dist/cdn/XB2BJKRI.js +0 -2
  398. package/dist/cdn/XFB4UFWT.js +0 -2
  399. package/dist/cdn/XZXTFYPU.js +0 -174
  400. package/dist/cdn/YWSV24KI.js +0 -2
  401. package/dist/cdn/ZKQHD6X2.js +0 -2
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import e from"./BK7LW2RY.js";import d from"./CPKTXSK2.js";import b from"./A6HMNEQC.js";import{b as w}from"./QHG54NVK.js";import{b as f}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as v}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as S}from"./FLLZBDVI.js";import{G as C,h as m,i as a,j as y,q as c}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([{H:A,K:D,j:x,k:T,n:b,o:h,q:u},{c:E},{a:_,b:I}])=>{var O=m`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-md) var(--calcite-spacing-md)}solution-details-card{width:calc(25% - .6rem)}@media(max-width:1234px){solution-details-card{width:calc(33.333% - .6rem)}}@media(max-width:1010px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:800px){.card-group{padding-left:0;padding-right:0}solution-details-card{width:calc(33.33% - .6rem)}}@media(max-width:680px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:440px){solution-details-card{width:calc(100% - .75rem)}}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.margin-top-half{margin-top:.5rem}.margin-top-1{margin-top:1rem}.no-solutions-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}`,L=5,g=class extends C{constructor(){super(),this.sortType="relevance",this._cards=[],this._isLoading=!0,this._modifiedCheckTry=0,this._translations=v({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${h}`,this._allCards=[],this._baseAgoTerms=h,this._categories=[],this._configContextConsumer=f({context:w,subscribe:!0,callback:async t=>{t&&(this._isDisconnectedEnvironment?this._isLoading=!1:await this._loadUpdateProcedures())}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this.cardsFetched=c(),this.allCardsFetched=c(),this.searchTermSet=c(),this.sortTypeSet=c(),this.detailsCardSelected=c(),this._handleOpenAssistant=()=>{this._telemetry?.logEvent({category:u.ASSISTANT,action:"Open"}),window.dispatchEvent(new CustomEvent("openAssistant"))},this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=L,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=L,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",t=>{t.detail&&t.detail.scope==="all-solutions"&&(this.sortType=t.detail.sortType,this._telemetry?.logEvent({category:u.ALL_SOLUTIONS,action:"Sort",dimensions:[A(t.detail.sortType)]}),this.sortType==="suggested"&&this._deployedSolutions?.cards.length===0?this._getDeployedSolutions().then(()=>{this.searchSolutions(t.detail)}):this.searchSolutions(t.detail))}),this.listenOn(window,"solutionIDFromAssistant",t=>{this._lookupSolutionById(t.detail)})}static{this.properties={sortType:1,_cards:16,_isLoading:16,_modifiedCheckTry:16,_translations:16}}static{this.styles=O}get _isEnterprise(){return this._configContextConsumer.value?.isEnterprise}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextConsumer.value?.isEnterprise===!0&&this._configContextConsumer.value?.authentication?.CanSearchArcGISOnline===!1}async searchSolutions(t){this._isDisconnectedEnvironment||(t?"searchTerm"in t?this._textSearch(t.searchTerm):"sortType"in t?this._sortCards(t):Array.isArray(t)&&this._filterCards(t):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions())}async setSearchOptions(t){t&&("searchTerm"in t&&(this._textSearch(t.searchTerm),this.searchTermSet.emit({searchTerm:t.searchTerm,scope:"all-solutions"})),"sortType"in t&&(this._sortCards(t),this.sortTypeSet.emit({sortType:t.sortType,scope:"all-solutions"})))}render(){let t=this._configContextConsumer.value?.authentication?.IsSignedIn&&this._configContextConsumer.value?.authentication?.CanUseAI;return this._isDisconnectedEnvironment?a`<div class="no-solutions">${this._getMeridianSearch()}<div class="no-solutions-prompt"><div class="text-center leader-1 warning-text trailer-1"><div>${this._translations.disconnectedEnvironment}</div></div></div></div>`:this._isLoading||this._cards.length?a`<calcite-panel>${this._isLoading?a`<calcite-loader id=solutions-all-panel-loader .label=${this._translations.fetchingSolutions}></calcite-loader>`:a`<calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group>`}</calcite-panel>`:a`<div class="no-solutions">${this._getMeridianSearch()}<div class="no-solutions-prompt"><div class="text-center leader-1 warning-text trailer-1"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${!this._isEnterprise&&t?this._translations.assistantHelp:this._translations.changeSearchTerm}</div></div>${!this._isEnterprise&&t&&a`<calcite-button appearance=outline icon-start=speech-bubbles @click=${this._handleOpenAssistant} @keydown=${e=>D(e,()=>this._handleOpenAssistant())} scale=l>${this._translations.askAssistant}</calcite-button>`||""}</div></div>`}_renderCards(){return this._cards.map(t=>a`<solution-details-card .card=${t}></solution-details-card>`)}async _getSolutions(){if(this._isDisconnectedEnvironment)return this._isLoading=!1,[];if(this._configContextConsumer.value){this._isLoading=!0,this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let t=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},this._configContextConsumer.value?.primarySolutionsGroupId,this._configContextConsumer.value?.agoBasedEnterpriseSolutionsGroupId,this._configContextConsumer.value?.userSession,this._configContextConsumer.value?.isEnterprise,this._abortController.signal,{num:1e3});this._abortController=void 0;let e=t?.cards.length?t.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),e.sort((l,d)=>l.categories.includes(s)&&!d.categories.includes(s)?-1:!l.categories.includes(s)&&d.categories.includes(s)?1:l.categories.includes(s)&&d.categories.includes(s)?l.categories.length-d.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of e){let r=s.get(i.deployCommonId),n=Number(i.deployVersion);(!r||n>r)&&s.set(i.deployCommonId,n)}let l=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),d=new Set(l.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!d.has(i))),e.sort((i,r)=>{let n=this._relatedSolutions.has(i.deployCommonId),p=this._relatedSolutions.has(r.deployCommonId);return n&&!p?-1:!n&&p?1:0})}let o=e.map(s=>{let l=s.categories.indexOf("/Categories/New Release")>-1,d=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s));let n=[];return l?n.push("new"):d&&n.push("updated"),i&&r&&n.push("deployed"),s.chips=n.length>0?n:void 0,s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&t?.cards&&(this._allCards=t?.cards,this._deployedSolutions&&(this._relatedSolutions=E(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),this._isLoading=!1,o}else return this._isLoading=!1,[]}async _loadUpdateProcedures(){if(this._isDisconnectedEnvironment){this._isLoading=!1;return}this._isLoading=!0;let t=this._configContextConsumer.value;this._cardsFetcher=new _(t.locale,t.orgUrl,t.portalURL),this._cardsFetcherDeployed=new _(t.locale,t.orgUrl,t.portalURL),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards),this._isLoading=!1}async _getDeployedSolutions(){let t=this._configContextConsumer.value.authentication,e=this._configContextConsumer.value.userSession;if(t&&e&&t.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let o=await I(t,e,this._cardsFetcher,this._cardsFetcherDeployed,b,"created",this._sortOrder,void 0,this._categories,void 0,this._abortControllerDeployed.signal);if(this._abortControllerDeployed=void 0,o){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===o?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=o}}}_getMeridianSearch(){return a`<div><svg viewBox="0 0 64 64" width=140 height=140 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${y`<path d="M60.217 54.937l-15.77-15.77-1.414 1.415-3.801-3.8a19.94 19.94 0 1 0-2.451 2.45l3.802 3.802-1.413 1.415 15.767 15.767a1.739 1.739 0 0 0 2.459 0l2.82-2.821a1.742 1.742 0 0 0 0-2.458zM4.9 24A19.1 19.1 0 1 1 24 43.1 19.121 19.121 0 0 1 4.9 24zm32.474 14.693q.69-.63 1.32-1.32l3.774 3.775-1.32 1.32zM59.65 56.83l-2.82 2.82a.97.97 0 0 1-1.327 0L40.3 44.45l4.145-4.15L59.65 55.501a.939.939 0 0 1 0 1.328zM22.343 9.62l.097.795q-.31.038-.619.086a13.635 13.635 0 0 0-11.353 11.775l-.026.217-.795-.084.026-.228a14.44 14.44 0 0 1 12.022-12.47c.215-.034.431-.064.648-.09z" />`}</svg></div>`}_textSearch(t){this._agoTerms=this._baseAgoTerms+` ${t}`}_sortCards(t){let e=t.sortType;this._getSuggested=!1,this._sortOrder="desc",e==="suggested"?this._getSuggested=!0:e==="new"?this._sortField="relevance":e==="relevance"||e==="title"?(e==="title"&&(this._sortOrder="asc"),this._sortField=e):e==="updated"&&(this._sortField="relevance"),this.sortType=e}_filterCards(t){this._categories=[],t.forEach(e=>{if(e.industry){let o=this._getIndustryValue(e.industry);if(e.domain){let s=this._getDomainValue(e.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(t){return T[t]}_getIndustryValue(t){return t==="AEC"?"AEC":x[t]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(t){return!!this._deployedSolutions?.cards?.some(e=>e?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(t)))}_isLatestVersion(t){let e=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(t.deployCommonId)));return!(e&&e.length>0&&e[0].deployVersion!==t.deployVersion)}_lookupSolutionById(t){let e=this._allCards.filter(o=>o.deployCommonId===t);e.length>0&&this.detailsCardSelected.emit(e[0])}};S("solutions-all-panel",g);return g},b,d,e)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import c from"./HIMUNCZ6.js";import"./US5FON7D.js";import"./VVZAS55G.js";import"./UOEDG3M3.js";import a from"./YVNP437O.js";import{a as d}from"./3AQ7U2PF.js";import"./DIKAKOU5.js";import"./S423P2GA.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as g}from"./NDUAEC62.js";import{F as p,G as o,H as b,h as n,i as r}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{b:P,c:m}])=>{var c=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],u=Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"})),y=n`:host{display:block}`,s=class extends b{constructor(){super(...arguments),this.disabled=!1,this._translations=d({name:"pdf-download",blocking:!0}),this._labelInfoElement=p()}static{this.properties={defaultNumLabelsPerPage:9,disabled:5,_translations:16}}static{this.styles=y}async downloadCSV(a,e,l,t=!0){return P(a,e,!0,l,t)}async downloadPDF(a,e,l=!1,t="",i=""){let h=this._labelInfoElement.value?this._labelInfoElement.value.selectedOption?.value:"";return m(a,e,h,l,t,i)}render(){return r`<calcite-select .disabled=${this.disabled} label ${o(this._labelInfoElement)}>${this._renderOptions()}</calcite-select>`}_getLabelSizeText(a){let e=a.descriptionPDF.labelsPerPageDisplay,l=a.descriptionPDF.labelWidthDisplay+" x "+a.descriptionPDF.labelHeightDisplay;return this._translations.pdfLabel?this._translations.pdfLabel.replace("{{n}}",e).replace("{{labelSize}}",l):""}_renderOptions(){let a=u;return(a.default||a).sort((e,l)=>{let t=Number.parseInt(e.descriptionPDF.labelsPerPageDisplay,10),i=Number.parseInt(l.descriptionPDF.labelsPerPageDisplay,10);return t<i?-1:t>i?1:0}).map((e,l)=>{let t=!1;return(this.defaultNumLabelsPerPage?Number.parseInt(e.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:l===0)&&(t=!0),r`<calcite-option .selected=${t} .value=${e}>${this._getLabelSizeText(e)}</calcite-option>`})}};g("pdf-download",s);return s},a,c)
2
+ import c from"./YBUQ5RAC.js";import"./US5FON7D.js";import"./VVZAS55G.js";import"./HBQN25RR.js";import a from"./YVNP437O.js";import{a as d}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as g}from"./FLLZBDVI.js";import{E as p,F as o,G as b,h as n,i as r}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{b:P,c:m}])=>{var c=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],u=Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"})),y=n`:host{display:block}`,s=class extends b{constructor(){super(...arguments),this.disabled=!1,this._translations=d({name:"pdf-download",blocking:!0}),this._labelInfoElement=p()}static{this.properties={defaultNumLabelsPerPage:9,disabled:5,_translations:16}}static{this.styles=y}async downloadCSV(a,e,l,t=!0){return P(a,e,!0,l,t)}async downloadPDF(a,e,l=!1,t="",i=""){let h=this._labelInfoElement.value?this._labelInfoElement.value.selectedOption?.value:"";return m(a,e,h,l,t,i)}render(){return r`<calcite-select .disabled=${this.disabled} label ${o(this._labelInfoElement)}>${this._renderOptions()}</calcite-select>`}_getLabelSizeText(a){let e=a.descriptionPDF.labelsPerPageDisplay,l=a.descriptionPDF.labelWidthDisplay+" x "+a.descriptionPDF.labelHeightDisplay;return this._translations.pdfLabel?this._translations.pdfLabel.replace("{{n}}",e).replace("{{labelSize}}",l):""}_renderOptions(){let a=u;return(a.default||a).sort((e,l)=>{let t=Number.parseInt(e.descriptionPDF.labelsPerPageDisplay,10),i=Number.parseInt(l.descriptionPDF.labelsPerPageDisplay,10);return t<i?-1:t>i?1:0}).map((e,l)=>{let t=!1;return(this.defaultNumLabelsPerPage?Number.parseInt(e.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:l===0)&&(t=!0),r`<calcite-option .selected=${t} .value=${e}>${this._getLabelSizeText(e)}</calcite-option>`})}};g("pdf-download",s);return s},a,c)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import{b as l}from"./NDUAEC62.js";import{H as c,h as o,r as s,u as r}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([p,m,,{c:h}])=>{var d=o`@layer{:host{display:block;pointer-events:all!important}}`,a=class extends c{constructor(){super(...arguments),this.selectedLayerId="",this.tool="rectangle",this.drawingComplete=s(),this.featuresSelected=s()}static{this.properties={mapView:0,selectedLayerId:1,tool:1}}static{this.styles=d}static{this.shadowRootOptions=r}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSketchViewModel()})}async toggleSelectionTool(e,t){if(this._graphicsLayer?.removeAll(),this._selectionTool?.state==="active"&&this._selectionTool.cancel(),t){let i=e??this.tool;this._selectionTool?.create(i)}}async loaded(){await this.init()}render(){return""}async init(){this.mapView&&this._initSketchViewModel()}_initSketchViewModel(){this._graphicsLayer=new p({listMode:"hide"}),this._selectionTool=new m({layer:this._graphicsLayer,view:this.mapView}),this._selectionTool&&this._selectionTool.on("create",e=>{if(e.state==="complete"){this.drawingComplete.emit();let t=e.graphic?.geometry;t&&this._selectFeatures(t),this._graphicsLayer&&this._graphicsLayer.removeAll()}}),this.mapView?.map&&this._graphicsLayer&&this.mapView.map.layers.add(this._graphicsLayer)}async _selectFeatures(e){let t=this.mapView&&await h(this.mapView,this.selectedLayerId);try{let i={geometry:e},n=t&&await t.queryObjectIds(i);this.featuresSelected.emit(n)}catch(i){console.error("Error selecting features:",i)}}};l("selection-tool",a);return a},"layers/GraphicsLayer","widgets/Sketch/SketchViewModel",a,b)
2
+ import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import{b as l}from"./FLLZBDVI.js";import{G as c,h as o,q as s,t as r}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([p,m,,{c:h}])=>{var d=o`@layer{:host{display:block;pointer-events:all!important}}`,a=class extends c{constructor(){super(...arguments),this.selectedLayerId="",this.tool="rectangle",this.drawingComplete=s(),this.featuresSelected=s()}static{this.properties={mapView:0,selectedLayerId:1,tool:1}}static{this.styles=d}static{this.shadowRootOptions=r}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSketchViewModel()})}async toggleSelectionTool(e,t){if(this._graphicsLayer?.removeAll(),this._selectionTool?.state==="active"&&this._selectionTool.cancel(),t){let i=e??this.tool;this._selectionTool?.create(i)}}async loaded(){await this.init()}render(){return""}async init(){this.mapView&&this._initSketchViewModel()}_initSketchViewModel(){this._graphicsLayer=new p({listMode:"hide"}),this._selectionTool=new m({layer:this._graphicsLayer,view:this.mapView}),this._selectionTool&&this._selectionTool.on("create",e=>{if(e.state==="complete"){this.drawingComplete.emit();let t=e.graphic?.geometry;t&&this._selectFeatures(t),this._graphicsLayer&&this._graphicsLayer.removeAll()}}),this.mapView?.map&&this._graphicsLayer&&this.mapView.map.layers.add(this._graphicsLayer)}async _selectFeatures(e){let t=this.mapView&&await h(this.mapView,this.selectedLayerId);try{let i={geometry:e},n=t&&await t.queryObjectIds(i);this.featuresSelected.emit(n)}catch(i){console.error("Error selecting features:",i)}}};l("selection-tool",a);return a},"layers/GraphicsLayer","widgets/Sketch/SketchViewModel",a,b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import i from"./5KD4GK7Y.js";import h from"./P4FX4W2X.js";import e from"./KGUELU4O.js";import c from"./36HEIJAI.js";import{a as d}from"./AA7X6GKH.js";import{a as $}from"./SLC22JQP.js";import{b}from"./JTUQKBFR.js";import"./DIKAKOU5.js";import"./S423P2GA.js";import{H as f,J as p,L as x,h as u,i as a,r as g}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,{a:r,b:h},{e:w,h:T,j:z,k:E,l:C,r:k,s:m,u:v}])=>{var A=u`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-color--selected: var( --calcite-color-text-2 );--instant-apps-interactive-legend-secondary-background-color: var( --calcite-color-background );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-legend__layer-caption calcite-action{margin-left:20px}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .instant-apps-interactive-legend__layer-caption--compact{--instant-apps-interactive-legend-ui-padding: 5px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;justify-content:flex-end;width:100%}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container .instant-apps-interactive-legend__show-all-btn{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-color-brand);font-weight:var(--calcite-font-weight-medium);font-size:.75rem;padding-inline-start:20px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__zoom-to-btn{--calcite-icon-color: var(--calcite-color-brand);--calcite-color-transparent-hover: transparent}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;font-size:.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}:host .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host:dir(rtl) .esri-legend__layer-caption calcite-action{margin-left:unset;margin-right:20px}`,y={ZoomTo:"magnifying-glass-plus",ShowAll:"list-check-all"},o={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},_=class extends f{constructor(){super(...arguments),this._messages=$({name:"instant-apps-interactive-legend",blocking:!0}),this.expanded=!0,this.legendLayerExpandUpdated=g(),this.showAllSelected=g()}static{this.properties={legendvm:0,activeLayerInfo:0,layer:0,titleText:1,legendElementIndex:9,zoomTo:5,isInteractive:5,legendElement:0,expanded:5}}static{this.styles=A}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdated.emit(),(this.activeLayerInfo?.legendElements?.filter(e=>e.type==="relationship-ramp")).length>0&&h.set("relationshipRampExpandStates",{...r.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=w(this.layer),i=m(e,this.legendElement);C(e,this.legendvm.view,i)}}handleShowAll(){return()=>{let e=()=>{let t=E(n,this.legendElement.title);v({intLegendLayerData:t,layerId:this.layer.id})},i=()=>{let t=z(n);v({intLegendLayerData:t,layerId:this.layer.id})},n=r.data?.[this.layer?.id];if(m(n,this.legendElement)){e();return}i(),this.showAllSelected.emit()}}render(){let e=k(this.activeLayerInfo),i=T(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:n}=this,t=h.get("compact"),s=t?` ${o.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText?a`<span class=${p(o.layerCaptionText)} title=${this.titleText??x}>${this.titleText}</span>`:null,c=this.isInteractive||i?this.renderLegendElementCaptionControls():"";return a`<div class=${`${o.layerCaption}${s}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${n?this._messages.collapse:this._messages.expand} .label=${n?this._messages.collapse:this._messages.expand} scale=s></calcite-action>${t?[l,c]:[c,l]}</div>`}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${o.layerCaptionBtnContainerNoText}`;return d("layer-caption-btn-container",a`<div class=${`${o.layerCaptionBtnContainer}${e}`}>${this.renderShowAllZoomToButtons()}</div>`)}renderShowAllZoomToButtons(){return h.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="zoomToCompact",s=this.zoomTo&&[a`<calcite-action id=${t} class=${p(o.zoomTo)} @click=${this.handleZoomTo()} .icon=${y.ZoomTo} appearance=transparent scale=s .text=${this._messages.zoomTo}></calcite-action>`,a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"",l=n?a`<button @click=${this.handleShowAll()} class=${p(o.showAll)}>${this._messages.showAll}</button>`:null;return[s,l]}renderButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="showAll",s="zoomTo",l=n&&[d("show-all-button",a`<calcite-button id=${t} .label=${this._messages.showAll} @click=${this.handleShowAll()} .iconStart=${y.ShowAll} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.showAll}>${this._messages.showAll}</calcite-tooltip>`]||"",c=this.zoomTo&&[d("zoom-to-button",a`<calcite-button id=${s} .label=${this._messages.zoomTo} @click=${this.handleZoomTo()} .iconStart=${y.ZoomTo} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${s} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"";return[l,c]}};b("instant-apps-interactive-legend-legend-element-caption",_);return _},c,e,h,i)
2
+ import i from"./UEJPBHBF.js";import h from"./E6WWQDDM.js";import e from"./KGUELU4O.js";import c from"./JNRZGJ5J.js";import{a as d}from"./JA3R6YUV.js";import{a as $}from"./LCBVGEFC.js";import{b}from"./GEVYIM3T.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import{G as f,I as p,K as x,h as u,i as a,q as g}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,{a:r,b:h},{e:w,h:T,j:z,k:E,l:C,r:k,s:m,u:v}])=>{var A=u`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-color--selected: var( --calcite-color-text-2 );--instant-apps-interactive-legend-secondary-background-color: var( --calcite-color-background );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-legend__layer-caption calcite-action{margin-left:20px}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .instant-apps-interactive-legend__layer-caption--compact{--instant-apps-interactive-legend-ui-padding: 5px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;justify-content:flex-end;width:100%}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container .instant-apps-interactive-legend__show-all-btn{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-color-brand);font-weight:var(--calcite-font-weight-medium);font-size:.75rem;padding-inline-start:20px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__zoom-to-btn{--calcite-icon-color: var(--calcite-color-brand);--calcite-color-transparent-hover: transparent}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;font-size:.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}:host .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host:dir(rtl) .esri-legend__layer-caption calcite-action{margin-left:unset;margin-right:20px}`,y={ZoomTo:"magnifying-glass-plus",ShowAll:"list-check-all"},o={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},_=class extends f{constructor(){super(...arguments),this._messages=$({name:"instant-apps-interactive-legend",blocking:!0}),this.expanded=!0,this.legendLayerExpandUpdated=g(),this.showAllSelected=g()}static{this.properties={legendvm:0,activeLayerInfo:0,layer:0,titleText:1,legendElementIndex:9,zoomTo:5,isInteractive:5,legendElement:0,expanded:5}}static{this.styles=A}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdated.emit(),(this.activeLayerInfo?.legendElements?.filter(e=>e.type==="relationship-ramp")).length>0&&h.set("relationshipRampExpandStates",{...r.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=w(this.layer),i=m(e,this.legendElement);C(e,this.legendvm.view,i)}}handleShowAll(){return()=>{let e=()=>{let t=E(n,this.legendElement.title);v({intLegendLayerData:t,layerId:this.layer.id})},i=()=>{let t=z(n);v({intLegendLayerData:t,layerId:this.layer.id})},n=r.data?.[this.layer?.id];if(m(n,this.legendElement)){e();return}i(),this.showAllSelected.emit()}}render(){let e=k(this.activeLayerInfo),i=T(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:n}=this,t=h.get("compact"),s=t?` ${o.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText?a`<span class=${p(o.layerCaptionText)} title=${this.titleText??x}>${this.titleText}</span>`:null,c=this.isInteractive||i?this.renderLegendElementCaptionControls():"";return a`<div class=${`${o.layerCaption}${s}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${n?this._messages.collapse:this._messages.expand} .label=${n?this._messages.collapse:this._messages.expand} scale=s></calcite-action>${t?[l,c]:[c,l]}</div>`}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${o.layerCaptionBtnContainerNoText}`;return d("layer-caption-btn-container",a`<div class=${`${o.layerCaptionBtnContainer}${e}`}>${this.renderShowAllZoomToButtons()}</div>`)}renderShowAllZoomToButtons(){return h.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="zoomToCompact",s=this.zoomTo&&[a`<calcite-action id=${t} class=${p(o.zoomTo)} @click=${this.handleZoomTo()} .icon=${y.ZoomTo} appearance=transparent scale=s .text=${this._messages.zoomTo}></calcite-action>`,a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"",l=n?a`<button @click=${this.handleShowAll()} class=${p(o.showAll)}>${this._messages.showAll}</button>`:null;return[s,l]}renderButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="showAll",s="zoomTo",l=n&&[d("show-all-button",a`<calcite-button id=${t} .label=${this._messages.showAll} @click=${this.handleShowAll()} .iconStart=${y.ShowAll} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.showAll}>${this._messages.showAll}</calcite-tooltip>`]||"",c=this.zoomTo&&[d("zoom-to-button",a`<calcite-button id=${s} .label=${this._messages.zoomTo} @click=${this.handleZoomTo()} .iconStart=${y.ZoomTo} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${s} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"";return[l,c]}};b("instant-apps-interactive-legend-legend-element-caption",_);return _},c,e,h,i)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import b from"./CPKTXSK2.js";import a from"./A6HMNEQC.js";import{b as g}from"./QHG54NVK.js";import{b as f}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as u}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as m}from"./FLLZBDVI.js";import{G as h,I as p,K as o,h as n,i as t,q as d}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([{K:x,q:b},{f:v}])=>{var S=n`calcite-card{height:100%;padding-bottom:2px;border:2px solid transparent;transition:border-color .1s ease;box-sizing:border-box}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border-color:var(--calcite-color-brand);cursor:pointer}.chip-status{--calcite-chip-icon-color: var(--calcite-color-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:1.2rem}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:.5rem;margin-bottom:.7rem}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}a{text-decoration:none;color:inherit;outline:0;padding:0;margin:0;display:inherit;height:100%}`,l=class extends h{constructor(){super(...arguments),this.referrerSolutionId="",this.referrerSolutionTitle="",this.referrerSolutionVersion="",this.source="all-solutions",this._translations=u({name:"solution-details-card",blocking:!0}),this._configContextConsumer=f({context:g,subscribe:!0}),this.detailsCardSelected=d()}static{this.properties={card:0,referrerSolutionId:1,referrerSolutionTitle:1,referrerSolutionVersion:1,source:1,_translations:16}}static{this.styles=S}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}render(){let e=v(this.card.title);return t`<a href=${e??o} @click=${this._anchorClick} tabindex=-1 .title=${`${this._translations.arcgisSolutions} | ${this.card.title}`}>${this._renderCard()}</a>`}_anchorClick(e){e.preventDefault()}_cardSelected(){if(this.source==="you-may-also-like"){let e=[this.referrerSolutionTitle,this.referrerSolutionId,this.referrerSolutionVersion,this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""];this._telemetry?.logEvent({category:b.SOLUTION_DETAILS,action:"Related Solution",dimensions:e})}this.detailsCardSelected.emit(this.card)}_renderChips(e){let r=e.includes("deployed"),y=e.filter(i=>i!=="deployed"),a=[];return y.forEach(i=>{let $="chip-status",c=`solution-details-card-chip-${i}`,_=i==="new"?"star":"mega-phone",s=i==="new"?this._translations.newSolution:this._translations.updated;a.push(t`<calcite-chip class=${p($)} .icon=${_} id=${c??o} .label=${s} .value=${s} scale=s></calcite-chip><calcite-tooltip .referenceElement=${c}><span>${s}</span></calcite-tooltip>`)}),r&&a.push(t`<calcite-chip class="chip-deployed" icon=check-circle id=solution-details-card-chip-deployed .label=${this._translations.deployed} .value=${this._translations.deployed} scale=s></calcite-chip><calcite-tooltip reference-element=solution-details-card-chip-deployed><span>${this._translations.deployed}</span></calcite-tooltip>`),a}_renderCard(){let e=this.card;return t`<calcite-card .label=${e.snippet} @click=${this._cardSelected} @keydown=${r=>x(r,()=>this._cardSelected())}><div class="card-image-wrap" slot=thumbnail><img alt=${e.title??o} class="thumbnail card-image" src=${e.thumbnailUrl??o}><div class="hover-text">${this._translations.viewDetails}</div></div><calcite-label slot=heading class="header-line-height" scale=l>${e.title}</calcite-label><p slot=description class="font-color-text-2 font-line-height font-size-size--1">${e.snippet}</p>${e.chips&&e.chips.length>0?t`<div slot=footer-end style="display: flex; gap: 0.5rem; justify-content: flex-end;">${this._renderChips(e.chips)}</div>`:void 0}<div slot=footer-start></div></calcite-card>`}};m("solution-details-card",l);return l},a,b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as o}from"./3AQ7U2PF.js";import"./DIKAKOU5.js";import"./S423P2GA.js";import{b as d}from"./NDUAEC62.js";import{F as r,G as c,H as u,h as l,i as s,r as a}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([i,h])=>{var f=l`:host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}`,n=class extends u{constructor(){super(...arguments),this.appearance="text",this.distance=0,this.geometries=[],this.max=0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=o({name:"buffer-tools",blocking:!0}),this._unitElement=r(),this.bufferComplete=a(),this.distanceChanged=a(),this.unitChanged=a()}static{this.properties={appearance:1,distance:9,geometries:0,max:9,min:9,sliderTicks:9,unionResults:5,unit:1,disabled:5,_translations:16,_units:16}}static{this.styles=f}willUpdate(t){t.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.geometriesWatchHandler(),t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.disabledWatchHandler(),t.has("_translations")&&this._defineTranslations(),t.has("unit")&&this.hasUpdated&&this._setUnit(this.unit),t.has("distance")&&this.hasUpdated&&this._setDistance({target:{value:this.distance}})}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units?this._units[t]:""}render(){return this.appearance==="text"?this._getTextBoxDisplay():this._getSliderDisplay()}async _defineTranslations(){this._units={feet:this._translations.feet||"Feet",meters:this._translations.meters||"Meters",miles:this._translations.miles||"Miles",kilometers:this._translations.kilometers||"Kilometers"}}_getUnits(){return this._units?Object.keys(this._units).map(t=>this._units?s`<calcite-option .label=${this._units[t]} .selected=${this.unit===t} .value=${t}></calcite-option>`:void 0):void 0}_setDistance(t){let e=Number.parseInt(t.target.value,10);this.distance!==e&&e>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:e}),this.distance=e,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout(async()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0&&i&&h){i.isLoaded()||await i.load();let t=this.geometries[0].spatialReference,e=this.geometries,m=t.isWGS84||t.isWebMercator?i.executeMany(e,[this.distance],{union:this.unionResults,unit:this.unit}):h.executeMany(e,[this.distance],{unit:this.unit,union:this.unionResults});this.bufferComplete.emit(m)}},400))}_getTextBoxDisplay(){return s`<div class="c-container"><calcite-input class="padding-end-1 w-50" .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} number-button-type=vertical @calciteInputInput=${this._setDistance} placeholder=0 type=number .value=${this.distance?this.distance.toString():void 0}></calcite-input><calcite-select class="flex-1 w-50" label=label @calciteSelectChange=${()=>{this._unitElement?.value&&this._setUnit(this._unitElement?.value.value)}} ${c(this._unitElement)}>${this._getUnits()}</calcite-select></div>`}_getSliderDisplay(){return s`<div><calcite-slider label-handles .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} .ticks=${this.sliderTicks}></calcite-slider></div>`}_testAccess(t,e){switch(t){case"_setUnit":return this._setUnit(e);case"_setDistance":return this._setDistance(e)}return null}};d("buffer-tools",n);return n},"geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator")
2
+ import{a as o}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import{b as d}from"./FLLZBDVI.js";import{E as r,F as c,G as u,h as l,i as s,q as a}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([i,h])=>{var f=l`:host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}`,n=class extends u{constructor(){super(...arguments),this.appearance="text",this.distance=0,this.geometries=[],this.max=0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=o({name:"buffer-tools",blocking:!0}),this._unitElement=r(),this.bufferComplete=a(),this.distanceChanged=a(),this.unitChanged=a()}static{this.properties={appearance:1,distance:9,geometries:0,max:9,min:9,sliderTicks:9,unionResults:5,unit:1,disabled:5,_translations:16,_units:16}}static{this.styles=f}willUpdate(t){t.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.geometriesWatchHandler(),t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.disabledWatchHandler(),t.has("_translations")&&this._defineTranslations(),t.has("unit")&&this.hasUpdated&&this._setUnit(this.unit),t.has("distance")&&this.hasUpdated&&this._setDistance({target:{value:this.distance}})}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units?this._units[t]:""}render(){return this.appearance==="text"?this._getTextBoxDisplay():this._getSliderDisplay()}async _defineTranslations(){this._units={feet:this._translations.feet||"Feet",meters:this._translations.meters||"Meters",miles:this._translations.miles||"Miles",kilometers:this._translations.kilometers||"Kilometers"}}_getUnits(){return this._units?Object.keys(this._units).map(t=>this._units?s`<calcite-option .label=${this._units[t]} .selected=${this.unit===t} .value=${t}></calcite-option>`:void 0):void 0}_setDistance(t){let e=Number.parseInt(t.target.value,10);this.distance!==e&&e>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:e}),this.distance=e,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout(async()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0&&i&&h){i.isLoaded()||await i.load();let t=this.geometries[0].spatialReference,e=this.geometries,m=t.isWGS84||t.isWebMercator?i.executeMany(e,[this.distance],{union:this.unionResults,unit:this.unit}):h.executeMany(e,[this.distance],{unit:this.unit,union:this.unionResults});this.bufferComplete.emit(m)}},400))}_getTextBoxDisplay(){return s`<div class="c-container"><calcite-input class="padding-end-1 w-50" .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} number-button-type=vertical @calciteInputInput=${this._setDistance} placeholder=0 type=number .value=${this.distance?this.distance.toString():void 0}></calcite-input><calcite-select class="flex-1 w-50" label=label @calciteSelectChange=${()=>{this._unitElement?.value&&this._setUnit(this._unitElement?.value.value)}} ${c(this._unitElement)}>${this._getUnits()}</calcite-select></div>`}_getSliderDisplay(){return s`<div><calcite-slider label-handles .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} .ticks=${this.sliderTicks}></calcite-slider></div>`}_testAccess(t,e){switch(t){case"_setUnit":return this._setUnit(e);case"_setDistance":return this._setDistance(e)}return null}};d("buffer-tools",n);return n},"geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator")
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{b as i}from"./JTUQKBFR.js";import{H as s,h as l,i as t}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";var u=l`:host{display:block}`,a=class extends s{constructor(){super(...arguments),this.disabled=!1}static{this.properties={selectedValue:3,disabled:7,labels:0}}static{this.styles=u}get _radioButtonData(){return[{label:this.labels.selectFeature,value:"select-feature"},{label:this.labels.drawGraphic,value:"draw-graphic"},{label:this.labels.searchLocation,value:"search-location"}]}render(){let r=this.labels.title,o=this.labels.groupName;return t`<calcite-label>${r}</calcite-label><calcite-radio-button-group .name=${o} .disabled=${this.disabled} layout=vertical>${this._radioButtonData.map(({label:c,value:e})=>t`<calcite-radio-button .value=${e} .labelText=${c} .checked=${this.selectedValue===e}></calcite-radio-button>`)}</calcite-radio-button-group>`}};i("instant-apps-buffer-input-radiogroup",a);export{a as InstantAppsBufferInputRadiogroup};
2
+ import{b as i}from"./GEVYIM3T.js";import{G as s,h as l,i as t}from"./F2JKSZOE.js";import"./QPIMTXPL.js";var u=l`:host{display:block}`,a=class extends s{constructor(){super(...arguments),this.disabled=!1}static{this.properties={selectedValue:3,disabled:7,labels:0}}static{this.styles=u}get _radioButtonData(){return[{label:this.labels.selectFeature,value:"select-feature"},{label:this.labels.drawGraphic,value:"draw-graphic"},{label:this.labels.searchLocation,value:"search-location"}]}render(){let r=this.labels.title,o=this.labels.groupName;return t`<calcite-label>${r}</calcite-label><calcite-radio-button-group .name=${o} .disabled=${this.disabled} layout=vertical>${this._radioButtonData.map(({label:c,value:e})=>t`<calcite-radio-button .value=${e} .labelText=${c} .checked=${this.selectedValue===e}></calcite-radio-button>`)}</calcite-radio-button-group>`}};i("instant-apps-buffer-input-radiogroup",a);export{a as InstantAppsBufferInputRadiogroup};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import f from"./UEJPBHBF.js";import e from"./E6WWQDDM.js";import b from"./KGUELU4O.js";import a from"./JNRZGJ5J.js";import{a as p}from"./LCBVGEFC.js";import{b as l}from"./GEVYIM3T.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import{G as o,I as d,K as c,h as s,i as t,q as r}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,{b:h},{i:g,t:v}])=>{var x=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: 500;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .instant-apps-interactive-legend__header--compact .esri-widget__heading{font-size:.9rem}:host .esri-widget__heading{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},a=class extends o{constructor(){super(...arguments),this._messages=p({name:"instant-apps-interactive-legend"}),this.isChild=!1,this.expanded=!0,this.layerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=x}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=g(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages?.collapse:this._messages?.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",_=h.get("compact")?` ${e.compact}`:"";return t`<header class=${`${e.interacitveLegendHeader} ${v(this.el)}${_}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i??""} .label=${i} scale=s></calcite-action><span><span class=${d(e.headerActionContainer)}><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};l("instant-apps-interactive-legend-layer-element-caption",a);return a},a,b,e,f)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import c from"./BK7LW2RY.js";import b from"./CPKTXSK2.js";import a from"./A6HMNEQC.js";import{b as v}from"./QHG54NVK.js";import{b as C}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as w}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as f}from"./FLLZBDVI.js";import{E as u,F as d,G as y,K as g,h as p,i as r,j as _,q as l}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([{H:T,n:c,q:n,r:x},,{a:h,b:b}])=>{var D=p`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`,S=5,m=class extends y{constructor(){super(),this.sortType="created",this._cards=[],this._cardsFetching=!1,this._modifiedCheckTry=0,this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._deletedSolutionName="",this._translations=w({name:"solutions-deployed-panel",blocking:!0}),this._agoTerms=c,this._allCards=[],this._baseAgoTerms=c,this._categories=[],this._mainPanelRef=u(),this._panelFixed=!1,this._configContextConsumer=C({context:v,subscribe:!0,callback:async e=>{e&&(this._initCardsFetchers(),await this._getDeployedSolutions())}}),this._delay=!1,this._owner="My solutions",this._sortField="created",this._sortOrder="desc",this.deployedCardsFetched=l(),this.searchTermSet=l(),this.sortTypeSet=l(),this.listenOn(window,"solutionDeleted",e=>{this._modifiedCheckTry=S,this.reload(e.detail.showAlert,e.detail.refreshSolutionsTimeout,e.detail.solutionTitle)}),this.listenOn(window,"solutionConfigureDialogClose",e=>{e.detail&&this.reload(!1,!1)}),this.listenOn(window,"deployProgressEnd",e=>{this._modifiedCheckTry=S,this._refreshAfterDeploy(e.detail)}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(this.sortType=e.detail.sortType,this._telemetry?.logEvent({category:n.DEPLOYMENTS,action:"Sort",dimensions:[T(e.detail.sortType)]}),this.searchSolutions(e.detail))}),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(e.detail.logSearchTelemetry&&e.detail.option?.searchTerm?this._telemetry?.logEvent({category:n.DEPLOYMENTS,action:"Search",dimensions:[e.detail.option.searchTerm]}):this.searchSolutions(e.detail.option))})}static{this.properties={sortType:1,_cards:16,_cardsFetching:16,_modifiedCheckTry:16,_newId:16,_refs:16,_showDeleteCompleteAlert:16,_deletedSolutionName:16,_translations:16}}static{this.styles=D}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async reload(e=!0,t=!0,s){this._initCardsFetchers(),e&&(this._showDeleteCompleteAlert=!0,this._deletedSolutionName=s||this._translations.solution),t?setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(i){console.error("Error getting deployed solutions:",i)}})()},500):await this._getDeployedSolutions()}async searchSolutions(e){if(e){if("searchTerm"in e&&this._setSearchTerm(e.searchTerm||""),"sortType"in e&&this._setSortOptions(e),Object.keys(e).indexOf("type")>-1){let t=e;this._owner=t.value,this._telemetry?.logEvent({category:n.DEPLOYMENTS,action:"Filter",dimensions:[t.value==="My solutions"?"My content":"Organization"]})}if(Object.keys(e).indexOf("filter")>-1){let t=e;this._owner=t.filter===x.ORG?"My organization's solutions":"My solutions"}}else this._agoTerms=this._baseAgoTerms,this._clearFilterCategories();await this._getDeployedSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._setSearchTerm(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"deployments"})),"sortType"in e&&(this._setSortOptions(e),this.sortTypeSet.emit({sortType:e.sortType,scope:"deployments"})))}updated(){this._fixPanelContentWrapperFocus()}_fixPanelContentWrapperFocus(){if(!this._panelFixed&&this._mainPanelRef.value){let e=this._mainPanelRef.value;e.componentOnReady?.().then(()=>{if(e.shadowRoot){let t=e.shadowRoot.querySelector(".content-wrapper");t&&(t.tabIndex=-1,this._panelFixed=!0,this._setupPanelObserver())}}).catch(()=>{this._panelFixed=!0})}}_setupPanelObserver(){if(this._panelObserver)return;this._panelObserver=new MutationObserver(t=>{t.forEach(s=>{if(s.type==="attributes"&&s.attributeName==="tabindex"){let i=s.target;i.classList.contains("content-wrapper")&&i.tabIndex===0&&(i.tabIndex=-1)}})});let e=this._mainPanelRef.value;if(e?.shadowRoot){let t=e.shadowRoot.querySelector(".content-wrapper");t&&this._panelObserver.observe(t,{attributes:!0,attributeFilter:["tabindex"]})}}disconnectedCallback(){super.disconnectedCallback(),this._panelObserver?.disconnect()}render(){return this._cardsFetching?r`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>`:this._cards.length?r`<calcite-panel ${d(this._mainPanelRef)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete.replace("{{solutionName}}",this._deletedSolutionName)} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete.replace("{{solutionName}}",this._deletedSolutionName)}</div></calcite-alert></calcite-panel>`:r`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${this._translations.noSolutionsInstruction}</div></div></div>`}_initCardsFetchers(){if(this._configContextConsumer.value){let e=this._configContextConsumer.value;this._cardsFetcher=new h(e.locale,e.orgUrl,e.portalURL),this._cardsFetcherDeployed=new h(e.locale,e.orgUrl,e.portalURL)}}_renderCards(){return this._refs={},this._cards.map(e=>r`<solution-deployed-card .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id??g} .itemId=${e.id} .owner=${this._owner==="My solutions"?"":e.owner} .thumbnail=${e.thumbnailUrl} ${d(this._handleRefs)}></solution-deployed-card>`)}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){let e=this._configContextConsumer.value.authentication;if(e.IsSignedIn){this._abortController?(this._abortController.abort("redundant request"),this._abortController=new AbortController):this._abortController=new AbortController,this._cardsFetching=!0;try{let t=await b(e,this._configContextConsumer.value.userSession,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._abortController.signal,this._owner);this._abortController=void 0,this._modifiedCheckTry>0&&(this._cards?.length===t?.cards?.length?(this._modifiedCheckTry--,this._getDeployedSolutions()):this._modifiedCheckTry=0),this._cards=t?.cards??[],this.deployedCardsFetched.emit(this._cards.length),this._cardsFetching=!1}catch(t){t.message!=="redundant request"&&console.warn(t)}}}_getSolutionsBriefcase(){return r`<div><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${_`<path d="M10.723 54.9h6.409a7.896 7.896 0 0 0 13.736 0h23.896a4.137 4.137 0 0 0 4.136-4.136l-.004-32.446a3.222 3.222 0 0 0-3.217-3.219l-10.779.064V9.836A3.741 3.741 0 0 0 41.163 6.1H23.837A3.741 3.741 0 0 0 20.1 9.836l.067 5.264-10.8.004A3.275 3.275 0 0 0 6.1 18.37L6.096 26a.893.893 0 0 0 .263.636.907.907 0 0 0 .638.263l5.902-.014.013-5.985 38.781.01a.407.407 0 0 1 .407.407l.008 22.925a2.858 2.858 0 0 1-2.857 2.858H30.868a7.896 7.896 0 0 0-13.736 0H12.9v-5.2a.801.801 0 0 0-.8-.8H6.9a.801.801 0 0 0-.8.8l-.001 8.375a4.59 4.59 0 0 0 1.353 3.27 4.658 4.658 0 0 0 3.27 1.355zM6.9 41.9h5.2v6h5.51l.112-.213a7.098 7.098 0 0 1 12.556 0l.113.213h18.86a3.683 3.683 0 0 0 2.587-1.071 3.635 3.635 0 0 0 1.071-2.587L52.9 21.317a1.208 1.208 0 0 0-1.207-1.207l-38.867-.01a.714.714 0 0 0-.714.712l-.011 5.275-5.106.012.001.4-.1-.499.003-7.628a2.471 2.471 0 0 1 2.468-2.469l10.8-.003a.734.734 0 0 0 .733-.733v-5.33A2.94 2.94 0 0 1 23.837 6.9h17.326A2.94 2.94 0 0 1 44.1 9.836v5.327a.734.734 0 0 0 .733.733l10.846.003a2.421 2.421 0 0 1 2.417 2.419l.004 32.446a3.337 3.337 0 0 1-3.336 3.336H30.39l-.113.213a7.098 7.098 0 0 1-12.556 0l-.113-.213h-6.886a3.85 3.85 0 0 1-2.704-1.12 3.796 3.796 0 0 1-1.12-2.705zm17.1 13a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm10-6a7.918 7.918 0 0 0 7.349-5h4.818a.734.734 0 0 0 .733-.733v-4.334a.734.734 0 0 0-.733-.733h-4.818a7.9 7.9 0 0 0-14.698 0H5.833a.734.734 0 0 0-.733.733v4.334a.734.734 0 0 0 .733.733h20.818a7.918 7.918 0 0 0 7.349 5zm-28.167-10h21.378l.095-.266a7.1 7.1 0 0 1 13.388 0l.095.266 5.31-.066.068 4.266h-5.378l-.095.266a7.1 7.1 0 0 1-13.388 0l-.095-.266-21.31.066zM34 37.9a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm5.658-20.8H25.342a1.244 1.244 0 0 0-1.242 1.242V15.9h16.8v-4.558a1.244 1.244 0 0 0-1.242-1.242zm.442 5H24.9v-3.758a.443.443 0 0 1 .442-.442h14.316a.443.443 0 0 1 .442.442z" />`}</svg></div>`}_setSearchTerm(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_setSortOptions(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_clearFilterCategories(){this._categories=[]}async _refreshAfterDeploy(e){if(e){this._newId=e;let t=10,s=500;for(let a=0;a<t&&(await this._getDeployedSolutions(),!this._cards.some(o=>o.id===e));a++)a<t-1&&await new Promise(o=>setTimeout(o,s));await this.updateComplete;let i=10,F=100;for(let a=0;a<i;a++){if(this._refs[e]){let o=this._cards.find(O=>O.id===e);window.dispatchEvent(new CustomEvent("deployedCardReady",{detail:{card:o,cardRef:this._refs[e]}})),this._newId="";return}await new Promise(o=>setTimeout(o,F)),await this.updateComplete}console.warn(`Failed to find ref for newly deployed solution after all retries: ${e}`),window.dispatchEvent(new CustomEvent("deploymentCompletedWithoutNav",{detail:{solutionId:e}})),this._newId=""}}};f("solutions-deployed-panel",m);return m},a,b,c)