@esri/solutions-components 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/dist/cdn/{YA3SBEXZ.js → 22SEAIC6.js} +2 -2
  2. package/dist/cdn/{PKEJXERE.js → 26THV7PU.js} +2 -2
  3. package/dist/cdn/{U75KCBUY.js → 2A54WJLL.js} +2 -2
  4. package/dist/cdn/{2CQ66JGS.js → 2ACF42ZR.js} +2 -2
  5. package/dist/cdn/{EQQAWMKP.js → 2C7UE46M.js} +1 -1
  6. package/dist/cdn/{X6NXSOAM.js → 2CLEIN6Y.js} +2 -2
  7. package/dist/cdn/{TA7HLGDD.js → 2CO6LGS3.js} +2 -2
  8. package/dist/cdn/{ERJCAGCH.js → 2ESDNOLP.js} +2 -2
  9. package/dist/cdn/{7W5RZY7N.js → 2IVXEYYO.js} +2 -2
  10. package/dist/cdn/{YF5TQNZI.js → 2NJLBLNN.js} +2 -2
  11. package/dist/cdn/{FMIGRU3V.js → 2T6B7XX3.js} +3 -3
  12. package/dist/cdn/{2N3SSEWE.js → 2TLMYAKF.js} +2 -2
  13. package/dist/cdn/{KPNSWPLU.js → 2URV24QB.js} +2 -2
  14. package/dist/cdn/{QFODTZZX.js → 2WMXCGJ6.js} +2 -2
  15. package/dist/cdn/{55MHSSEJ.js → 2XQB5N5F.js} +2 -2
  16. package/dist/cdn/3MOEHDA6.js +18 -0
  17. package/dist/cdn/{A7ABJL6C.js → 3QP57WZY.js} +2 -2
  18. package/dist/cdn/{H3QBALK4.js → 3RW2NBPF.js} +2 -2
  19. package/dist/cdn/{S7TD37PA.js → 3SJSHFDQ.js} +2 -2
  20. package/dist/cdn/{CBMM32W4.js → 3VN45O3V.js} +2 -2
  21. package/dist/cdn/{4V3EN7XG.js → 3XGPYKD3.js} +2 -2
  22. package/dist/cdn/{DDOXQYTI.js → 46LGQEFB.js} +2 -2
  23. package/dist/cdn/{5GCZQ47Q.js → 47HUGK47.js} +2 -2
  24. package/dist/cdn/{WNOY5N4R.js → 4ASSBQRJ.js} +1 -1
  25. package/dist/cdn/{B5TR3333.js → 4CVEF3SI.js} +2 -2
  26. package/dist/cdn/{SK6BPGF7.js → 4JAS7M3U.js} +4 -4
  27. package/dist/cdn/{2UH456LC.js → 4OXHTSNR.js} +1 -1
  28. package/dist/cdn/{3CQVKR4G.js → 4SEEFYPD.js} +1 -1
  29. package/dist/cdn/{YXM7GNWW.js → 4YK53WB6.js} +2 -2
  30. package/dist/cdn/{NCLWZM55.js → 547GZYOP.js} +2 -2
  31. package/dist/cdn/{GAV3AXFW.js → 55NQUWEY.js} +2 -2
  32. package/dist/cdn/{UJSAFWWD.js → 5AW5NLLI.js} +2 -2
  33. package/dist/cdn/{DVIQ73JS.js → 5BK4CWOX.js} +2 -2
  34. package/dist/cdn/{3PGLZBWX.js → 5DAI66LT.js} +2 -2
  35. package/dist/cdn/{JSML77IB.js → 5M5TLNGP.js} +1 -1
  36. package/dist/cdn/{MFRHP354.js → 5MXFQYLE.js} +2 -2
  37. package/dist/cdn/{GPR4I62X.js → 5S66UFIB.js} +2 -2
  38. package/dist/cdn/5YO5OS74.js +4 -0
  39. package/dist/cdn/{Y2GJJZVT.js → 62WQV5YC.js} +2 -2
  40. package/dist/cdn/{ATGDZI46.js → 6424ZLL7.js} +2 -2
  41. package/dist/cdn/{RNVECRCO.js → 65HTNVVT.js} +2 -2
  42. package/dist/cdn/{755YFLK2.js → 6AJKPURT.js} +2 -2
  43. package/dist/cdn/{42AUJGFJ.js → 6CG6AANG.js} +2 -2
  44. package/dist/cdn/6IIAYEYM.js +18 -0
  45. package/dist/cdn/{5ZUU5HU5.js → 7BU5DV4Q.js} +2 -2
  46. package/dist/cdn/{PY6UCRJ4.js → 7CNMLAFT.js} +2 -2
  47. package/dist/cdn/{2IQPFNPX.js → 7DOQHPCH.js} +2 -2
  48. package/dist/cdn/{ACYYQPGH.js → 7H3KZPHJ.js} +2 -2
  49. package/dist/cdn/{AI6YM633.js → 7I736LZK.js} +2 -2
  50. package/dist/cdn/{ZQUJEICA.js → 7ME4UIGX.js} +2 -2
  51. package/dist/cdn/{VY7KRQYG.js → 7MOURTYJ.js} +2 -2
  52. package/dist/cdn/{WS42HFTU.js → 7YYOJP6L.js} +2 -2
  53. package/dist/cdn/{EOWZY5KN.js → A3WJQEV7.js} +1 -1
  54. package/dist/cdn/A57HOD63.js +18 -0
  55. package/dist/cdn/{M4VW4GKI.js → AB3FQQCW.js} +2 -2
  56. package/dist/cdn/ALV3VZWM.js +18 -0
  57. package/dist/cdn/{KEC5BNS2.js → AMVC3HZO.js} +2 -2
  58. package/dist/cdn/{DHOIKSPR.js → AVVTO725.js} +2 -2
  59. package/dist/cdn/B6GTZILX.js +383 -0
  60. package/dist/cdn/{SISGIM4G.js → B7B7CVVL.js} +2 -2
  61. package/dist/cdn/BIFHOJDA.js +4 -0
  62. package/dist/cdn/{NT3MKX5U.js → BIVE3ZGY.js} +2 -2
  63. package/dist/cdn/{MIBMXAW4.js → BJ6DOG6H.js} +2 -2
  64. package/dist/cdn/{ZVSLAQ5X.js → BLS4G62F.js} +2 -2
  65. package/dist/cdn/{PEPBVRCK.js → BNYADJK7.js} +3 -3
  66. package/dist/cdn/{BII4KR4A.js → BVZ2O4L5.js} +2 -2
  67. package/dist/cdn/{W3Z2KVM3.js → BYJRAAEE.js} +1 -1
  68. package/dist/cdn/{6M3KYJDD.js → CHYWNBKA.js} +2 -2
  69. package/dist/cdn/{DLQHSRI3.js → CMN7YBVU.js} +2 -2
  70. package/dist/cdn/{XZQRI4EN.js → CNAEZ5PG.js} +1 -1
  71. package/dist/cdn/{6DXOCCZA.js → CPO6UAZQ.js} +1 -1
  72. package/dist/cdn/{X63ISSA7.js → D2EREVL4.js} +2 -2
  73. package/dist/cdn/{KJROYCIQ.js → D5OHP7NT.js} +2 -2
  74. package/dist/cdn/{N7IUWXAA.js → D6XX6KWD.js} +2 -2
  75. package/dist/cdn/{ZEFYE6IH.js → DAJFINWG.js} +2 -2
  76. package/dist/cdn/{MQWLMWGB.js → DUJNFEQ6.js} +2 -2
  77. package/dist/cdn/{DGN4U6I6.js → EAA2PB5H.js} +2 -2
  78. package/dist/cdn/{PQ75UOOH.js → ECMZSRUN.js} +2 -2
  79. package/dist/cdn/{5QPBHI6N.js → EFBCF4LP.js} +2 -2
  80. package/dist/cdn/{O5G3N4I4.js → EJEJMEGK.js} +2 -2
  81. package/dist/cdn/{F7N2K2CB.js → EKVRW3FM.js} +2 -2
  82. package/dist/cdn/{NNED4X6O.js → ESBUX6NR.js} +2 -2
  83. package/dist/cdn/{NDWOAOHX.js → ESYYQOPE.js} +1 -1
  84. package/dist/cdn/{O42JTMA4.js → EXGOSSST.js} +2 -2
  85. package/dist/cdn/{O27D4YVO.js → EXPAYLFV.js} +2 -2
  86. package/dist/cdn/{5KH5K5HP.js → EZ4U6AGL.js} +2 -2
  87. package/dist/cdn/{7UJMLOZS.js → F243JFYJ.js} +2 -2
  88. package/dist/cdn/{CSQMTZUS.js → F2QHZOXB.js} +2 -2
  89. package/dist/cdn/FH3SI764.js +294 -0
  90. package/dist/cdn/{IQE4M5WS.js → FHIBMCQA.js} +2 -2
  91. package/dist/cdn/{NZJDAUCM.js → FIDPLPEF.js} +2 -2
  92. package/dist/cdn/{QT25SZ3S.js → FV3U3YJ6.js} +2 -2
  93. package/dist/cdn/{DJ4ET7YE.js → G6EIQMVR.js} +2 -2
  94. package/dist/cdn/{MICSEU5B.js → GDYIFL6J.js} +2 -2
  95. package/dist/cdn/{GDUFF5HE.js → GGI3REJL.js} +2 -2
  96. package/dist/cdn/{XURZ7NUD.js → GHXC6C2C.js} +4 -4
  97. package/dist/cdn/{EUZPXNNK.js → GO42R2CK.js} +1 -1
  98. package/dist/cdn/{CIWLUKBJ.js → GZEJGYES.js} +2 -2
  99. package/dist/cdn/HGXPDXCR.js +18 -0
  100. package/dist/cdn/{LEPX2J3T.js → HJIGIFOQ.js} +2 -2
  101. package/dist/cdn/{AQOENSWY.js → HQIAA5ZR.js} +1 -1
  102. package/dist/cdn/{UK42NUMO.js → HUCFHRHI.js} +2 -2
  103. package/dist/cdn/{CH7DLGUP.js → HVATWN37.js} +1 -1
  104. package/dist/cdn/{5OKQHKMQ.js → HYALTA6M.js} +2 -2
  105. package/dist/cdn/{EQ3E3UVU.js → I2VKZ5OH.js} +2 -2
  106. package/dist/cdn/{TZTD5Q2B.js → I657I5LG.js} +2 -2
  107. package/dist/cdn/I65O4DPY.js +18 -0
  108. package/dist/cdn/{PPCFTYMM.js → IBB2E74R.js} +2 -2
  109. package/dist/cdn/{62OBHD7N.js → IEAQX2G7.js} +2 -2
  110. package/dist/cdn/{QVEKZTHX.js → IHZQS7G5.js} +2 -2
  111. package/dist/cdn/{WB2FCUBE.js → IPYR6HZK.js} +2 -2
  112. package/dist/cdn/{C3OFPO6W.js → IRV3QYFT.js} +2 -2
  113. package/dist/cdn/{XIWW264L.js → IWNKMVAS.js} +2 -2
  114. package/dist/cdn/{JWLGFVVC.js → IY23MDOC.js} +2 -2
  115. package/dist/cdn/{P5WUMEFT.js → J64IOAQO.js} +2 -2
  116. package/dist/cdn/{SU5YNWLR.js → J6ENWA7R.js} +2 -2
  117. package/dist/cdn/{3VRCHULS.js → JAO6QZJO.js} +2 -2
  118. package/dist/cdn/{2XKHAKJH.js → JFYTC7KL.js} +2 -2
  119. package/dist/cdn/{WT2FKAP6.js → JKJC7XFT.js} +2 -2
  120. package/dist/cdn/{QH63BAVO.js → JKX35XOC.js} +2 -2
  121. package/dist/cdn/{S3O4R37V.js → JNUBPQVQ.js} +2 -2
  122. package/dist/cdn/{EK6E5RV4.js → JRU7OOCQ.js} +2 -2
  123. package/dist/cdn/{Y7FST2QV.js → JTAN45P3.js} +2 -2
  124. package/dist/cdn/{MEIVZYDH.js → JTKT3XWL.js} +2 -2
  125. package/dist/cdn/{SQA4Z3HQ.js → K3SH7RK6.js} +2 -2
  126. package/dist/cdn/{HPVZXEFN.js → KCFSZOBX.js} +1 -1
  127. package/dist/cdn/{H4R7X2AK.js → KDP6FDXS.js} +2 -2
  128. package/dist/cdn/{7KJZVI5W.js → KOI7FBWC.js} +2 -2
  129. package/dist/cdn/{FFIBCVX2.js → KOWTHDEB.js} +2 -2
  130. package/dist/cdn/{45R5CD5E.js → KURSJGVA.js} +2 -2
  131. package/dist/cdn/{AROCXE5W.js → KV5PYIUB.js} +2 -2
  132. package/dist/cdn/L3LGCXHS.js +4 -0
  133. package/dist/cdn/L4MTDEUA.js +18 -0
  134. package/dist/cdn/{QENLODCT.js → LA3N6LZH.js} +2 -2
  135. package/dist/cdn/LBZLGIWD.js +18 -0
  136. package/dist/cdn/{DSZ5WOHN.js → LGOLEOFG.js} +2 -2
  137. package/dist/cdn/{V46NQTOH.js → LHXHL3RB.js} +2 -2
  138. package/dist/cdn/LJSLZOAW.js +4 -0
  139. package/dist/cdn/{WGL2BCUM.js → LJV6DE44.js} +2 -2
  140. package/dist/cdn/{MN5Q6VKW.js → LKBUXCMF.js} +2 -2
  141. package/dist/cdn/{NF47PQ7Q.js → LOL2WTGD.js} +2 -2
  142. package/dist/cdn/{5FTGQPO5.js → LOVLAODG.js} +2 -2
  143. package/dist/cdn/{46Z6LRFP.js → LP4BQM2H.js} +2 -2
  144. package/dist/cdn/{TW6H3Y5C.js → LVAZCCYX.js} +2 -2
  145. package/dist/cdn/{4P2ED5MG.js → M3F2PRVV.js} +2 -2
  146. package/dist/cdn/{UFT52UFX.js → M3ZMKHJ2.js} +2 -2
  147. package/dist/cdn/{M6I7SCR3.js → MI37N43V.js} +2 -2
  148. package/dist/cdn/{ORKHRXHB.js → MNPZD4I5.js} +2 -2
  149. package/dist/cdn/{NGN4GJ7L.js → MSGDDP7Y.js} +2 -2
  150. package/dist/cdn/{AK2IOGVT.js → MXCKPU23.js} +1 -1
  151. package/dist/cdn/{PEHGGHQ4.js → N5K33ZZT.js} +2 -2
  152. package/dist/cdn/{I74ECT7N.js → N65S4NHY.js} +2 -2
  153. package/dist/cdn/{CFXL3A27.js → N7ACGWAI.js} +2 -2
  154. package/dist/cdn/{L6PPOZ6H.js → NCSI6ZKY.js} +2 -2
  155. package/dist/cdn/{ZTWWXPZM.js → NCYI3FJ4.js} +2 -2
  156. package/dist/cdn/{DBZRC2CE.js → NGDTJRWQ.js} +2 -2
  157. package/dist/cdn/{THC2GZPK.js → NJBDDFNX.js} +1 -1
  158. package/dist/cdn/{73W26K5Q.js → NNO7ZI7X.js} +2 -2
  159. package/dist/cdn/{R2IVNBNU.js → NP7OH2ZI.js} +2 -2
  160. package/dist/cdn/{525IK7S3.js → NRUKSPT4.js} +2 -2
  161. package/dist/cdn/{O6DAQEXK.js → NSCQHAM7.js} +2 -2
  162. package/dist/cdn/{PTLSOJ2V.js → NZ42ZTHT.js} +2 -2
  163. package/dist/cdn/O5OQYVQ3.js +18 -0
  164. package/dist/cdn/{DYEFEHAR.js → O6X34RFQ.js} +11 -11
  165. package/dist/cdn/{AD654KDS.js → OMFYWQSY.js} +2 -2
  166. package/dist/cdn/{6QIO3AQD.js → OTBZT6CE.js} +2 -2
  167. package/dist/cdn/{XZRHSLHF.js → OTQ4RPLU.js} +1 -1
  168. package/dist/cdn/{I7AMZQNZ.js → OUA6OKHZ.js} +2 -2
  169. package/dist/cdn/{PMRPPUOG.js → P27R335T.js} +1 -1
  170. package/dist/cdn/{XKQGFDT5.js → P3YZSASH.js} +2 -2
  171. package/dist/cdn/{GGCVMVWS.js → P473G3UD.js} +2 -2
  172. package/dist/cdn/{X6LWFUFK.js → P7J4L36T.js} +1 -1
  173. package/dist/cdn/{EI2SLBFR.js → PAPULN5H.js} +2 -2
  174. package/dist/cdn/{FTC6GK32.js → PEW7EK74.js} +2 -2
  175. package/dist/cdn/{KC4KCTUH.js → PKBDH7MF.js} +2 -2
  176. package/dist/cdn/{ZFQ2JKAE.js → PNHNT6BL.js} +2 -2
  177. package/dist/cdn/{XXJ2SGBR.js → PVPNQBWZ.js} +2 -2
  178. package/dist/cdn/{A6ZN7UQQ.js → PXPVE3JE.js} +2 -2
  179. package/dist/cdn/{QPJLKOGU.js → Q2VYZCZY.js} +1 -1
  180. package/dist/cdn/{PSP2EVIP.js → Q2YCPZOX.js} +2 -2
  181. package/dist/cdn/Q6HRIABM.js +18 -0
  182. package/dist/cdn/{WRG6UGAU.js → Q6U6FUMJ.js} +2 -2
  183. package/dist/cdn/{GOMTEPFA.js → QCT6FXMR.js} +1 -1
  184. package/dist/cdn/QD76ALH3.js +18 -0
  185. package/dist/cdn/{7XD5FYQH.js → QMREQGH3.js} +2 -2
  186. package/dist/cdn/QP35PXG2.js +18 -0
  187. package/dist/cdn/{ADQGTHIK.js → QR6JZJTO.js} +2 -2
  188. package/dist/cdn/{7M4VGKUT.js → QRBQ5KHF.js} +2 -2
  189. package/dist/cdn/QSOTGUOZ.js +4 -0
  190. package/dist/cdn/{JSCLICIM.js → QZIAEDXM.js} +1 -1
  191. package/dist/cdn/{2QFAL42J.js → R5YJMFXC.js} +2 -2
  192. package/dist/cdn/{Q4EXL46G.js → RGTPM7HZ.js} +2 -2
  193. package/dist/cdn/{3KRHILOK.js → ROJGI2W3.js} +1 -1
  194. package/dist/cdn/{D2RRQ3X4.js → RRMHR2HB.js} +2 -2
  195. package/dist/cdn/{ENKVILKY.js → RV65ILJG.js} +2 -2
  196. package/dist/cdn/{H57ZKHJ4.js → RZUGSVMP.js} +1 -1
  197. package/dist/cdn/{NM3XHUXJ.js → S7NFYQWB.js} +1 -1
  198. package/dist/cdn/{D22VRCQZ.js → SEVP5RIV.js} +2 -2
  199. package/dist/cdn/{GJGBNYWB.js → SIUHVSRB.js} +3 -3
  200. package/dist/cdn/{CUKJYJQY.js → SM2GUROD.js} +1 -1
  201. package/dist/cdn/{VCK56OWN.js → STUHZQEZ.js} +1 -1
  202. package/dist/cdn/{CJOWQ5NE.js → SVFIF3T3.js} +2 -2
  203. package/dist/cdn/SXP3TCP2.js +4 -0
  204. package/dist/cdn/{CHBTCIMS.js → SXZVPSYN.js} +2 -2
  205. package/dist/cdn/{JYVM54WT.js → SZDHEJ35.js} +2 -2
  206. package/dist/cdn/T3WZ5RIH.js +4 -0
  207. package/dist/cdn/{SM2ZGXN2.js → T5JHR5GE.js} +2 -2
  208. package/dist/cdn/{T2MYK67I.js → T6ZDTQ2A.js} +2 -2
  209. package/dist/cdn/{7DEMXTPR.js → TGWWWSMN.js} +2 -2
  210. package/dist/cdn/{ROGVNZHG.js → THIMASMK.js} +2 -2
  211. package/dist/cdn/{4RUO65YZ.js → TTOMCAES.js} +1 -1
  212. package/dist/cdn/{NXZAIYZX.js → TWADDFKI.js} +2 -2
  213. package/dist/cdn/{YOTDGZIS.js → TY5HNZTA.js} +2 -2
  214. package/dist/cdn/{A3ZMYVXL.js → U4QKTJ5K.js} +2 -2
  215. package/dist/cdn/{DNSJZC4P.js → U4WC6C2F.js} +2 -2
  216. package/dist/cdn/UASHMMAZ.js +4 -0
  217. package/dist/cdn/{TIJ35HYZ.js → UDLYWYW6.js} +2 -2
  218. package/dist/cdn/{Z7DOTE4W.js → UESCD5AB.js} +2 -2
  219. package/dist/cdn/{NZ6L23VR.js → UI236QD6.js} +2 -2
  220. package/dist/cdn/{P3ZGSTRY.js → UKYKTZWK.js} +2 -2
  221. package/dist/cdn/{SN7Y4QIQ.js → UMSXHNKH.js} +1 -1
  222. package/dist/cdn/{7WWEF64M.js → UR4O5D7C.js} +2 -2
  223. package/dist/cdn/{WMRXZUG4.js → UUCDGMFW.js} +2 -2
  224. package/dist/cdn/{OHWF5VUN.js → UV2M2RAL.js} +1 -1
  225. package/dist/cdn/{MGAAWVDA.js → UWXNPHTE.js} +1 -1
  226. package/dist/cdn/V434XRYU.js +4 -0
  227. package/dist/cdn/{XE2T5GMW.js → V73IDRPZ.js} +2 -2
  228. package/dist/cdn/{2MCXJEIU.js → VA7UARYI.js} +1 -1
  229. package/dist/cdn/{EKX5RPAU.js → VBSXEYLV.js} +2 -2
  230. package/dist/cdn/{TPLOAFHX.js → VHDIRVUR.js} +2 -2
  231. package/dist/cdn/{3PNCQZNB.js → VOHSJZCI.js} +2 -2
  232. package/dist/cdn/{Z2BS6PDT.js → VP2MDCXM.js} +2 -2
  233. package/dist/cdn/{UHGKM2WA.js → VPHAMFNI.js} +2 -2
  234. package/dist/cdn/{3M5E2W6J.js → VQ65EGUC.js} +2 -2
  235. package/dist/cdn/{WG5YJAJK.js → VVGYJHF7.js} +2 -2
  236. package/dist/cdn/{UYA6RFIA.js → VW6GSY2U.js} +2 -2
  237. package/dist/cdn/{YEE23JC2.js → WAPUSBNS.js} +2 -2
  238. package/dist/cdn/{3HVOQ754.js → WE2YJ72U.js} +2 -2
  239. package/dist/cdn/{KYNAJJDV.js → WH6W2UP3.js} +2 -2
  240. package/dist/cdn/{B5XYDLJB.js → WIDXS23Z.js} +2 -2
  241. package/dist/cdn/WLSDNFCT.js +18 -0
  242. package/dist/cdn/{GCOXBUN5.js → WLSI7POK.js} +1 -1
  243. package/dist/cdn/{KK3QWOG2.js → WPAFQXGE.js} +2 -2
  244. package/dist/cdn/{3HR3VX4I.js → WPVYE7FE.js} +2 -2
  245. package/dist/cdn/{EFKYF4YS.js → WQF5CITX.js} +2 -2
  246. package/dist/cdn/{3O2FMCDB.js → WSCCQ5U4.js} +1 -1
  247. package/dist/cdn/{CWSLTV67.js → WV5BUD4Z.js} +2 -2
  248. package/dist/cdn/{VRFHYYVR.js → X6L4PHXI.js} +2 -2
  249. package/dist/cdn/{IEEVFYKM.js → X6YLW36Y.js} +1 -1
  250. package/dist/cdn/X7KYTABF.js +4 -0
  251. package/dist/cdn/{77SH6QGE.js → XAAGW7YF.js} +2 -2
  252. package/dist/cdn/{GPO4L446.js → XCEE3SEK.js} +2 -2
  253. package/dist/cdn/{XTADI7OE.js → XDZ5DDWA.js} +2 -2
  254. package/dist/cdn/{5YJKRSII.js → XGGAVQTC.js} +2 -2
  255. package/dist/cdn/{UZQC4ZVD.js → XLXUXKG6.js} +2 -2
  256. package/dist/cdn/XNPZJ7V4.js +18 -0
  257. package/dist/cdn/{W7DEAFBS.js → XOCETJCR.js} +2 -2
  258. package/dist/cdn/{UJN2FPCY.js → XORA7HCU.js} +2 -2
  259. package/dist/cdn/{ST5DNJ5A.js → XR3GB5SE.js} +1 -1
  260. package/dist/cdn/{3MTECQIQ.js → XW6O3WSI.js} +2 -2
  261. package/dist/cdn/{5GEHFK5G.js → XXU7NGZI.js} +2 -2
  262. package/dist/cdn/{4QEWKLNG.js → Y4CRJWJF.js} +2 -2
  263. package/dist/cdn/{HOQDPNYX.js → Y4RVCE5F.js} +2 -2
  264. package/dist/cdn/{HZDGJLAD.js → Y5TEYKUG.js} +2 -2
  265. package/dist/cdn/{R4JBNSHM.js → Y6FNQ642.js} +2 -2
  266. package/dist/cdn/YBIF6TAJ.js +20 -0
  267. package/dist/cdn/{KNBDWSMQ.js → YIO2CSY3.js} +2 -2
  268. package/dist/cdn/{MFHU7RCE.js → YM6G3EU3.js} +2 -2
  269. package/dist/cdn/{UBNEDJDQ.js → YQ4UFRN4.js} +2 -2
  270. package/dist/cdn/{DC2E55EL.js → YQE7AUFT.js} +2 -2
  271. package/dist/cdn/YRBPGBT5.js +18 -0
  272. package/dist/cdn/{PEJAYVXV.js → YSIFIKOE.js} +2 -2
  273. package/dist/cdn/{A7PIN73K.js → YUWAB65A.js} +2 -2
  274. package/dist/cdn/{72A2Y2EQ.js → YVJDVYGA.js} +1 -1
  275. package/dist/cdn/YWZCXS4Z.js +18 -0
  276. package/dist/cdn/{Z2J6R7BH.js → YZCZUMV2.js} +1 -1
  277. package/dist/cdn/{J2SERNA3.js → Z5RJQBZY.js} +1 -1
  278. package/dist/cdn/{TFCVVUA3.js → ZDKRS7QS.js} +2 -2
  279. package/dist/cdn/{QLVKQU3N.js → ZETWXE6M.js} +2 -2
  280. package/dist/cdn/{MN4AZD42.js → ZS2IQNQO.js} +2 -2
  281. package/dist/cdn/ZTVPU2LX.js +4 -0
  282. package/dist/cdn/{MEARRFPL.js → ZWW6ZGXP.js} +2 -2
  283. package/dist/cdn/{UD6VCHUK.js → ZWYST46E.js} +2 -2
  284. package/dist/cdn/{LFX2BV5P.js → ZZ4UGIDE.js} +2 -2
  285. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  287. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  288. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  289. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  290. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  291. package/dist/cdn/assets/solution-deployed-card/t9n/messages.en.json +1 -1
  292. package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -1
  293. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  294. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  295. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  297. package/dist/cdn/index.js +2 -2
  298. package/dist/cdn/main.css +1 -1
  299. package/dist/chunks/Auth.js +1 -1
  300. package/dist/chunks/appConfig.js +1 -1
  301. package/dist/chunks/cardFetchingUtils.js +3 -3
  302. package/dist/chunks/common.js +1 -1
  303. package/dist/chunks/deployAppContexts.js +1 -1
  304. package/dist/chunks/downloadUtils.js +1 -1
  305. package/dist/chunks/helpers.js +6 -6
  306. package/dist/chunks/index.js +1 -1
  307. package/dist/chunks/interfaces.js +23 -23
  308. package/dist/chunks/loadModules.js +1 -1
  309. package/dist/chunks/mapViewUtils.js +6 -6
  310. package/dist/chunks/pciUtils.js +1 -1
  311. package/dist/chunks/popupUtils.js +1 -1
  312. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  313. package/dist/chunks/privilegeUtils.js +143 -28
  314. package/dist/chunks/publicNotificationStore.js +1 -1
  315. package/dist/chunks/queryUtils.js +1 -1
  316. package/dist/chunks/runtime.js +1 -1
  317. package/dist/chunks/solution-store.js +4 -4
  318. package/dist/chunks/templates.js +1 -1
  319. package/dist/chunks/useT9n.js +1 -1
  320. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  321. package/dist/components/basemap-gallery/customElement.js +1 -1
  322. package/dist/components/buffer-tools/customElement.js +1 -1
  323. package/dist/components/card-manager/customElement.js +1 -1
  324. package/dist/components/consent-manager/customElement.js +1 -1
  325. package/dist/components/create-feature/customElement.js +1 -1
  326. package/dist/components/create-related-feature/customElement.js +1 -1
  327. package/dist/components/crowdsource-manager/customElement.js +4 -4
  328. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  329. package/dist/components/deduct-calculator/customElement.js +1 -1
  330. package/dist/components/delete-button/customElement.js +1 -1
  331. package/dist/components/delete-dialog/customElement.js +1 -1
  332. package/dist/components/edit-card/customElement.js +1 -1
  333. package/dist/components/feature-details/customElement.js +1 -1
  334. package/dist/components/feature-list/customElement.js +1 -1
  335. package/dist/components/field-selection/customElement.js +1 -1
  336. package/dist/components/floor-filter/customElement.js +1 -1
  337. package/dist/components/info-card/customElement.js +1 -1
  338. package/dist/components/json-editor/customElement.js +1 -1
  339. package/dist/components/layer-list/customElement.js +1 -1
  340. package/dist/components/layer-table/customElement.js +2 -2
  341. package/dist/components/map-card/customElement.js +2 -2
  342. package/dist/components/map-draw-tools/customElement.js +2 -2
  343. package/dist/components/map-fullscreen/customElement.js +1 -1
  344. package/dist/components/map-layer-picker/customElement.js +1 -1
  345. package/dist/components/map-legend/customElement.js +1 -1
  346. package/dist/components/map-picker/customElement.js +1 -1
  347. package/dist/components/map-search/customElement.js +1 -1
  348. package/dist/components/map-select-tools/customElement.js +2 -2
  349. package/dist/components/map-tools/customElement.js +1 -1
  350. package/dist/components/pci-calculator/customElement.js +1 -1
  351. package/dist/components/pdf-download/customElement.js +1 -1
  352. package/dist/components/public-notification/customElement.js +2 -2
  353. package/dist/components/refine-selection/customElement.js +2 -2
  354. package/dist/components/selection-tool/customElement.js +1 -1
  355. package/dist/components/solution-article-card/customElement.js +1 -1
  356. package/dist/components/solution-configuration/customElement.js +1 -1
  357. package/dist/components/solution-configure-dialog/customElement.d.ts +11 -0
  358. package/dist/components/solution-configure-dialog/customElement.js +78 -30
  359. package/dist/components/solution-configure-dialog/index.d.ts +6 -0
  360. package/dist/components/solution-configure-dialog/index.js +6 -0
  361. package/dist/components/solution-configure-titles/customElement.d.ts +5 -1
  362. package/dist/components/solution-configure-titles/customElement.js +22 -19
  363. package/dist/components/solution-contents/customElement.js +1 -1
  364. package/dist/components/solution-delete-dialog/customElement.d.ts +5 -0
  365. package/dist/components/solution-delete-dialog/customElement.js +66 -42
  366. package/dist/components/solution-deploy-dialog/customElement.d.ts +7 -2
  367. package/dist/components/solution-deploy-dialog/customElement.js +83 -113
  368. package/dist/components/solution-deployed-card/customElement.d.ts +11 -0
  369. package/dist/components/solution-deployed-card/customElement.js +45 -29
  370. package/dist/components/solution-deployed-card/index.d.ts +1 -1
  371. package/dist/components/solution-deployed-card/index.js +1 -1
  372. package/dist/components/solution-deploying-dialog/customElement.d.ts +24 -0
  373. package/dist/components/solution-deploying-dialog/customElement.js +71 -0
  374. package/dist/components/solution-details-card/customElement.js +2 -2
  375. package/dist/components/solution-details-panel/customElement.d.ts +1 -1
  376. package/dist/components/solution-details-panel/customElement.js +167 -76
  377. package/dist/components/solution-details-panel/index.d.ts +6 -0
  378. package/dist/components/solution-details-panel/index.js +6 -0
  379. package/dist/components/solution-item/customElement.js +1 -1
  380. package/dist/components/solution-item-accordion/customElement.d.ts +8 -6
  381. package/dist/components/solution-item-accordion/customElement.js +19 -11
  382. package/dist/components/solution-item-accordion/index.d.ts +1 -0
  383. package/dist/components/solution-item-accordion/index.js +1 -0
  384. package/dist/components/solution-item-details/customElement.js +1 -1
  385. package/dist/components/solution-item-diagram/customElement.d.ts +0 -1
  386. package/dist/components/solution-item-diagram/customElement.js +63 -66
  387. package/dist/components/solution-item-icon/customElement.d.ts +1 -1
  388. package/dist/components/solution-item-icon/customElement.js +1 -1
  389. package/dist/components/solution-item-sharing/customElement.js +1 -1
  390. package/dist/components/solution-organization-variables/customElement.js +1 -1
  391. package/dist/components/solution-resource-item/customElement.js +2 -2
  392. package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -5
  393. package/dist/components/solution-snapshot-gallery/customElement.js +14 -14
  394. package/dist/components/solution-spatial-ref/customElement.js +14 -14
  395. package/dist/components/solution-template-data/customElement.js +1 -1
  396. package/dist/components/solution-variables/customElement.js +1 -1
  397. package/dist/components/solutions-all-panel/customElement.js +35 -102
  398. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  399. package/dist/components/solutions-all-shell/customElement.js +23 -41
  400. package/dist/components/solutions-article-panel/customElement.js +1 -1
  401. package/dist/components/solutions-articles/customElement.js +11 -14
  402. package/dist/components/solutions-articles-shell/customElement.js +13 -16
  403. package/dist/components/solutions-deployed-panel/customElement.d.ts +9 -8
  404. package/dist/components/solutions-deployed-panel/customElement.js +39 -26
  405. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -1
  406. package/dist/components/solutions-deployed-shell/customElement.js +23 -41
  407. package/dist/components/solutions-filter-panel/customElement.js +16 -19
  408. package/dist/components/spatial-ref/customElement.js +1 -1
  409. package/dist/components/store-manager/customElement.js +1 -1
  410. package/dist/docs/api.json +328 -65
  411. package/dist/docs/docs.json +318 -56
  412. package/dist/docs/vscode.html-custom-data.json +26 -10
  413. package/dist/docs/web-types.json +103 -31
  414. package/dist/index.d.ts +18 -4
  415. package/dist/index.js +1 -1
  416. package/dist/loader.js +8 -8
  417. package/dist/types/lumina.d.ts +10 -9
  418. package/dist/types/preact.d.ts +11 -10
  419. package/dist/types/react.d.ts +12 -11
  420. package/dist/types/stencil.d.ts +10 -9
  421. package/dist/utils/interfaces.d.ts +10 -0
  422. package/dist/utils/privilegeUtils.d.ts +7 -0
  423. package/package.json +1 -1
  424. package/dist/cdn/22U6FEYE.js +0 -18
  425. package/dist/cdn/3FJRQN27.js +0 -18
  426. package/dist/cdn/4QGW7XLZ.js +0 -18
  427. package/dist/cdn/5Q2JJCFF.js +0 -4
  428. package/dist/cdn/67776ZSV.js +0 -18
  429. package/dist/cdn/7GJVOL2K.js +0 -4
  430. package/dist/cdn/BRT757S3.js +0 -18
  431. package/dist/cdn/C5C4KHG2.js +0 -4
  432. package/dist/cdn/CKQRWDEZ.js +0 -18
  433. package/dist/cdn/EPWZGWQJ.js +0 -4
  434. package/dist/cdn/F2MMZAMU.js +0 -18
  435. package/dist/cdn/JUWCTKXD.js +0 -4
  436. package/dist/cdn/KLCMDGZK.js +0 -289
  437. package/dist/cdn/LCT3NQOR.js +0 -18
  438. package/dist/cdn/M53O7AL7.js +0 -18
  439. package/dist/cdn/MA6BHO3S.js +0 -4
  440. package/dist/cdn/MALVFH5T.js +0 -20
  441. package/dist/cdn/NJB5H6NT.js +0 -4
  442. package/dist/cdn/NK6VN5CV.js +0 -18
  443. package/dist/cdn/OBGLJ4AM.js +0 -18
  444. package/dist/cdn/TNZETMBZ.js +0 -18
  445. package/dist/cdn/WAN4LQ52.js +0 -18
  446. package/dist/cdn/WRLRDSID.js +0 -18
  447. package/dist/cdn/X57FB3KD.js +0 -18
  448. package/dist/cdn/XV4GT4PM.js +0 -4
  449. package/dist/cdn/YHIK3V5C.js +0 -18
  450. package/dist/cdn/YI47D7GW.js +0 -4
  451. package/dist/cdn/YPFDFW4X.js +0 -4
  452. package/dist/cdn/Z3NILA3R.js +0 -369
  453. package/dist/components/solution-deploying-panel/customElement.d.ts +0 -12
  454. package/dist/components/solution-deploying-panel/customElement.js +0 -77
  455. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.en.json +0 -0
  456. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.json +0 -0
  457. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.d.ts +0 -0
  458. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.js +0 -0
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as w}from"./A7PIN73K.js";import"./WNOY5N4R.js";import{c as R,h as O,i as V}from"./LFX2BV5P.js";import{d as n,e as h,g as $}from"./GAV3AXFW.js";import{d as x}from"./AQOENSWY.js";import{a as g,b as _}from"./ZEFYE6IH.js";import{a as E}from"./Z7DOTE4W.js";import{D as L,c as I,d as p,n as m,p as k,y as v}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var A=I`@layer{/** @license
3
+ v1.0.6 */
4
+ import{a as w}from"./YUWAB65A.js";import"./4ASSBQRJ.js";import{c as R,h as O,i as V}from"./ZZ4UGIDE.js";import{d as n,e as h,g as $}from"./55NQUWEY.js";import{d as E}from"./HQIAA5ZR.js";import{a as g,b as _}from"./DAJFINWG.js";import{a as x}from"./UESCD5AB.js";import{D as L,c as I,d as p,n as m,p as k,y as v}from"./XR3GB5SE.js";import"./TTOMCAES.js";var A=I`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as w}from"./A7PIN73K.js";import"./WNOY5N4R.js";import{c as R,h as O,i a
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.div-visible{display:inherit}.div-not-visible{display:none!important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=rtl] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:Avenir Next,Helvetica Neue,Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}.esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:700}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom: 0}.padding-start-1-2{padding-inline-start:.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,u=class extends v{constructor(){super(...arguments),this.enabledLayerIds=[],this.selectionSets=[],this._translations=E({name:"refine-selection",blocking:!0}),this._selectionMode=n.ADD,this._addEnabled=!0,this._drawTools=g(),this._refineSets=[],this._enabledLayerIds=[],this._layerPicker=g(),this._featuresCollection={},this.selectionLoadingChange=m(),this.selectionSetsChanged=m()}static{this.properties={addresseeLayer:0,enabledLayerIds:0,mapView:0,selectionSets:0,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,_translations:16,_selectionMode:16,_refineLayer:16}}static{this.styles=A}static{this.shadowRootOptions=k}async load(){this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){let e=this._enabledLayerIds.length>1?"display-block":"display-none";return p`<div class=${`${e} padding-top-sides-1`}><div class="display-flex"><calcite-label class="font-bold width-full label-margin-0"><div class="display-flex">${this._translations.inputLayer}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=refine-input-layer scale=s></calcite-icon></div><map-layer-picker .enabledLayerIds=${this._enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>{this._layerSelectionChange(t)}} .selectedIds=${this._refineLayer?[this._refineLayer.layer.id]:[]} ${_(this._layerPicker)}></map-layer-picker></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=refine-input-layer><span class="tooltip-message">${this._translations.inputLayerTip}</span></calcite-popover></div></div><div class="padding-1"><div class="padding-bottom-1"><calcite-segmented-control class="w-100" width=full><calcite-segmented-control-item .checked=${this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(n.ADD)} .value=${n.ADD}><span class="font-weight-500">${this._translations.add}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${!this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(n.REMOVE)} .value=${n.REMOVE}><span class="font-weight-500">${this._translations.remove}</span></calcite-segmented-control-item></calcite-segmented-control></div><div><map-draw-tools active .drawMode=${$.REFINE} .mapView=${this.mapView} @drawRedo=${()=>this._redo()} @drawUndo=${()=>this._undo()} @sketchGraphicsChange=${this._sketchGraphicsChanged} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} .redoEnabled=${this._refineSelectionSet?.redoStack&&this._refineSelectionSet.redoStack.length>0} .undoEnabled=${this._refineSelectionSet?.undoStack&&this._refineSelectionSet.undoStack.length>0} ${_(this._drawTools)}></map-draw-tools></div><br>${p`<calcite-list class="list-border" label>${this._getRefineSelectionSetList()}</calcite-list>`}</div>`}_layerSelectionChange(e){let t=e.detail[0];this._setRefineSet(t)}_setSelectionMode(e){this._selectionMode=e}_sketchGraphicsChanged(e){let t=e.detail?.graphics[0].geometry;this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce((e,t)=>{let i=t?.layerView?.layer.id;return i&&e.indexOf(i)<0?e.push(i):t.workflowType===h.REFINE&&Object.keys(t.refineInfos).forEach(s=>{e.indexOf(s)<0&&e.push(s)}),e},[])}async _setRefineSet(e){this.selectionSets.some(t=>t.workflowType===h.REFINE?(this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(e)>-1):!1)||await this._initRefineSet(e,this._refineSelectionSet),this._refineSelectionSet&&(this._refineLayer=this._refineSelectionSet.refineInfos[e].layerView)}async _initRefineSet(e,t){let i={};i[e]={addIds:[],removeIds:[],layerView:this.mapView&&await R(this.mapView,e)},t?t.refineInfos={...t.refineInfos,...i}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:h.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:i,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.undoStack&&this._refineSelectionSet.undoStack.pop();e&&this._refineSelectionSet.redoStack&&this._updateIds(e.ids,e.mode===n.ADD?n.REMOVE:n.ADD,this._refineSelectionSet.redoStack,e.layerView)}}_redo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.redoStack&&this._refineSelectionSet.redoStack.pop();e&&this._refineSelectionSet.undoStack&&this._updateIds(e.ids,e.mode===n.ADD?n.REMOVE:n.ADD,this._refineSelectionSet.undoStack,e.layerView)}}_getRefineSelectionSetList(){let e=this._getTotal(this.selectionSets),t;this.selectionSets.some(c=>c.workflowType===h.REFINE?(t=c,!0):!1);let i=0,s=0;t?.refineInfos&&Object.keys(t.refineInfos).forEach(c=>{i+=t.refineInfos[c].addIds.length,s+=t.refineInfos[c].removeIds.length});let l=this._translations.featuresAdded,S=this._translations.featuresRemoved,d=this._translations.totalSelected;return[p`<calcite-list-item .label=${l.replace("{{n}}",i.toString())}></calcite-list-item>`,p`<calcite-list-item .label=${S.replace("{{n}}",s.toString())}></calcite-list-item>`,p`<calcite-list-item .label=${d.replace("{{n}}",e.toString())}></calcite-list-item>`]}_getTotal(e){let t=V(e);return Object.keys(t).reduce((i,s)=>{let l=t[s];return i+=l.ids.length,i},0)}async _selectFeatures(e){if(this.selectionLoadingChange.emit(!0),this._refineLayer){this._featuresCollection[this._refineLayer?.layer.id]=[];let t=await x(0,this._refineLayer?.layer,e,this._featuresCollection);this.selectionLoadingChange.emit(!1);let i=[];Object.keys(t).forEach(l=>{l===this._refineLayer?.layer.id&&(i=i.concat(t[l]))});let s=Array.isArray(i)?i.map(l=>l.attributes[l?.layer?.objectIdField]):[];this._refineSelectionSet?.undoStack&&await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.value&&this._drawTools.value.clear()}}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await O(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(e,t,i,s){let l=!1,S=this._refineSelectionSet?.refineInfos,d=s.layer.id,c={};c[d]={addIds:[],removeIds:[],layerView:s};let a=S&&Object.keys(S).indexOf(d)>-1?S[d]:c[d];if(t===n.ADD)a.addIds=[...new Set([...e,...a.addIds])],a.addIds.length>0&&i.push({ids:e,mode:t,layerView:s}),a.removeIds.length>0&&(a.removeIds=a.removeIds.filter(y=>e.indexOf(y)<0));else{let y=this.selectionSets.reduce((r,o)=>(e.forEach(f=>{o.workflowType!==h.REFINE?o.selectedIds.indexOf(f)>-1&&r.push(f):Object.keys(o.refineInfos).some(D=>{let b=o.refineInfos[D];return b.layerView.layer.id===s.layer.id&&b.addIds.indexOf(f)>-1?(r.push(f),!0):!1})}),r),[]);a.removeIds=[...new Set([...y,...a.removeIds])],a.addIds=a.addIds.filter(r=>y.indexOf(r)<0),a.removeIds.length>0&&i.push({ids:y,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce((r,o)=>(o.workflowType!==h.REFINE&&o.layerView.layer.id===s.layer.id?(o.selectedIds=o.selectedIds.filter(f=>a.removeIds.indexOf(f)<0),o.selectedIds.length>0?r.push(o):l=!0):r.push(o),r),[])}this._refineSelectionSet&&(this._refineSelectionSet.refineInfos[d]=a),this.selectionSets=[...this.selectionSets],l&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}};L("refine-selection",u);export{u as RefineSelection};
18
+ */:host{display:block}.div-visible{display:inherit}.div-not-visible{display:none!important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=rtl] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:Avenir Next,Helvetica Neue,Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}.esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:700}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom: 0}.padding-start-1-2{padding-inline-start:.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,u=class extends v{constructor(){super(...arguments),this.enabledLayerIds=[],this.selectionSets=[],this._translations=x({name:"refine-selection",blocking:!0}),this._selectionMode=n.ADD,this._addEnabled=!0,this._drawTools=g(),this._refineSets=[],this._enabledLayerIds=[],this._layerPicker=g(),this._featuresCollection={},this.selectionLoadingChange=m(),this.selectionSetsChanged=m()}static{this.properties={addresseeLayer:0,enabledLayerIds:0,mapView:0,selectionSets:0,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,_translations:16,_selectionMode:16,_refineLayer:16}}static{this.styles=A}static{this.shadowRootOptions=k}async load(){this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){let e=this._enabledLayerIds.length>1?"display-block":"display-none";return p`<div class=${`${e} padding-top-sides-1`}><div class="display-flex"><calcite-label class="font-bold width-full label-margin-0"><div class="display-flex">${this._translations.inputLayer}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=refine-input-layer scale=s></calcite-icon></div><map-layer-picker .enabledLayerIds=${this._enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>{this._layerSelectionChange(t)}} .selectedIds=${this._refineLayer?[this._refineLayer.layer.id]:[]} ${_(this._layerPicker)}></map-layer-picker></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=refine-input-layer><span class="tooltip-message">${this._translations.inputLayerTip}</span></calcite-popover></div></div><div class="padding-1"><div class="padding-bottom-1"><calcite-segmented-control class="w-100" width=full><calcite-segmented-control-item .checked=${this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(n.ADD)} .value=${n.ADD}><span class="font-weight-500">${this._translations.add}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${!this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(n.REMOVE)} .value=${n.REMOVE}><span class="font-weight-500">${this._translations.remove}</span></calcite-segmented-control-item></calcite-segmented-control></div><div><map-draw-tools active .drawMode=${$.REFINE} .mapView=${this.mapView} @drawRedo=${()=>this._redo()} @drawUndo=${()=>this._undo()} @sketchGraphicsChange=${this._sketchGraphicsChanged} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} .redoEnabled=${this._refineSelectionSet?.redoStack&&this._refineSelectionSet.redoStack.length>0} .undoEnabled=${this._refineSelectionSet?.undoStack&&this._refineSelectionSet.undoStack.length>0} ${_(this._drawTools)}></map-draw-tools></div><br>${p`<calcite-list class="list-border" label>${this._getRefineSelectionSetList()}</calcite-list>`}</div>`}_layerSelectionChange(e){let t=e.detail[0];this._setRefineSet(t)}_setSelectionMode(e){this._selectionMode=e}_sketchGraphicsChanged(e){let t=e.detail?.graphics[0].geometry;this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce((e,t)=>{let i=t?.layerView?.layer.id;return i&&e.indexOf(i)<0?e.push(i):t.workflowType===h.REFINE&&Object.keys(t.refineInfos).forEach(s=>{e.indexOf(s)<0&&e.push(s)}),e},[])}async _setRefineSet(e){this.selectionSets.some(t=>t.workflowType===h.REFINE?(this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(e)>-1):!1)||await this._initRefineSet(e,this._refineSelectionSet),this._refineSelectionSet&&(this._refineLayer=this._refineSelectionSet.refineInfos[e].layerView)}async _initRefineSet(e,t){let i={};i[e]={addIds:[],removeIds:[],layerView:this.mapView&&await R(this.mapView,e)},t?t.refineInfos={...t.refineInfos,...i}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:h.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:i,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.undoStack&&this._refineSelectionSet.undoStack.pop();e&&this._refineSelectionSet.redoStack&&this._updateIds(e.ids,e.mode===n.ADD?n.REMOVE:n.ADD,this._refineSelectionSet.redoStack,e.layerView)}}_redo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.redoStack&&this._refineSelectionSet.redoStack.pop();e&&this._refineSelectionSet.undoStack&&this._updateIds(e.ids,e.mode===n.ADD?n.REMOVE:n.ADD,this._refineSelectionSet.undoStack,e.layerView)}}_getRefineSelectionSetList(){let e=this._getTotal(this.selectionSets),t;this.selectionSets.some(c=>c.workflowType===h.REFINE?(t=c,!0):!1);let i=0,s=0;t?.refineInfos&&Object.keys(t.refineInfos).forEach(c=>{i+=t.refineInfos[c].addIds.length,s+=t.refineInfos[c].removeIds.length});let l=this._translations.featuresAdded,S=this._translations.featuresRemoved,d=this._translations.totalSelected;return[p`<calcite-list-item .label=${l.replace("{{n}}",i.toString())}></calcite-list-item>`,p`<calcite-list-item .label=${S.replace("{{n}}",s.toString())}></calcite-list-item>`,p`<calcite-list-item .label=${d.replace("{{n}}",e.toString())}></calcite-list-item>`]}_getTotal(e){let t=V(e);return Object.keys(t).reduce((i,s)=>{let l=t[s];return i+=l.ids.length,i},0)}async _selectFeatures(e){if(this.selectionLoadingChange.emit(!0),this._refineLayer){this._featuresCollection[this._refineLayer?.layer.id]=[];let t=await E(0,this._refineLayer?.layer,e,this._featuresCollection);this.selectionLoadingChange.emit(!1);let i=[];Object.keys(t).forEach(l=>{l===this._refineLayer?.layer.id&&(i=i.concat(t[l]))});let s=Array.isArray(i)?i.map(l=>l.attributes[l?.layer?.objectIdField]):[];this._refineSelectionSet?.undoStack&&await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.value&&this._drawTools.value.clear()}}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await O(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(e,t,i,s){let l=!1,S=this._refineSelectionSet?.refineInfos,d=s.layer.id,c={};c[d]={addIds:[],removeIds:[],layerView:s};let a=S&&Object.keys(S).indexOf(d)>-1?S[d]:c[d];if(t===n.ADD)a.addIds=[...new Set([...e,...a.addIds])],a.addIds.length>0&&i.push({ids:e,mode:t,layerView:s}),a.removeIds.length>0&&(a.removeIds=a.removeIds.filter(y=>e.indexOf(y)<0));else{let y=this.selectionSets.reduce((r,o)=>(e.forEach(f=>{o.workflowType!==h.REFINE?o.selectedIds.indexOf(f)>-1&&r.push(f):Object.keys(o.refineInfos).some(D=>{let b=o.refineInfos[D];return b.layerView.layer.id===s.layer.id&&b.addIds.indexOf(f)>-1?(r.push(f),!0):!1})}),r),[]);a.removeIds=[...new Set([...y,...a.removeIds])],a.addIds=a.addIds.filter(r=>y.indexOf(r)<0),a.removeIds.length>0&&i.push({ids:y,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce((r,o)=>(o.workflowType!==h.REFINE&&o.layerView.layer.id===s.layer.id?(o.selectedIds=o.selectedIds.filter(f=>a.removeIds.indexOf(f)<0),o.selectedIds.length>0?r.push(o):l=!0):r.push(o),r),[])}this._refineSelectionSet&&(this._refineSelectionSet.refineInfos[d]=a),this.selectionSets=[...this.selectionSets],l&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}};L("refine-selection",u);export{u as RefineSelection};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as S}from"./5FTGQPO5.js";import{b as d,c as g,i as y,j as N}from"./T2MYK67I.js";import{a as I}from"./GOMTEPFA.js";import{a as M,e as E,f as T,g as F}from"./NNED4X6O.js";import{a as $,b as R}from"./7W5RZY7N.js";import{d as l,e as p,f as c}from"./7M4VGKUT.js";import{a as A}from"./XZRHSLHF.js";import{a as x}from"./2UH456LC.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
3
+ v1.0.6 */
4
+ import{a as S}from"./LOVLAODG.js";import{b as d,c as g,i as y,j as N}from"./T6ZDTQ2A.js";import{a as I}from"./QCT6FXMR.js";import{a as M,e as E,f as T,g as F}from"./ESBUX6NR.js";import{a as $,b as R}from"./2IVXEYYO.js";import{d as l,e as p,f as c}from"./QRBQ5KHF.js";import{a as A}from"./OTQ4RPLU.js";import{a as x}from"./4OXHTSNR.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import"./4RUO65YZ.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.0.6 */
4
+ import"./TTOMCAES.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import"./4RUO65YZ.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.0.6 */
4
+ import"./TTOMCAES.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as t}from"./JWLGFVVC.js";import"./W3Z2KVM3.js";import"./XKQGFDT5.js";import"./QPJLKOGU.js";import"./XE2T5GMW.js";import"./UHGKM2WA.js";import"./PEHGGHQ4.js";import"./ZFQ2JKAE.js";import"./3MTECQIQ.js";import"./UYA6RFIA.js";import"./R4JBNSHM.js";import"./KNBDWSMQ.js";import{a as r}from"./VCK56OWN.js";import"./CHBTCIMS.js";import"./IEEVFYKM.js";import"./3PGLZBWX.js";import"./7KJZVI5W.js";import"./QENLODCT.js";import"./CUKJYJQY.js";import"./VRFHYYVR.js";import"./YA3SBEXZ.js";import"./MGAAWVDA.js";import"./CH7DLGUP.js";import"./4RUO65YZ.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
3
+ v1.0.6 */
4
+ import{a as t}from"./IY23MDOC.js";import"./BYJRAAEE.js";import"./P3YZSASH.js";import"./Q2VYZCZY.js";import"./V73IDRPZ.js";import"./VPHAMFNI.js";import"./N5K33ZZT.js";import"./PNHNT6BL.js";import"./XW6O3WSI.js";import"./VW6GSY2U.js";import"./Y6FNQ642.js";import"./YIO2CSY3.js";import{a as r}from"./STUHZQEZ.js";import"./SXZVPSYN.js";import"./X6YLW36Y.js";import"./5DAI66LT.js";import"./KOI7FBWC.js";import"./LA3N6LZH.js";import"./SM2GUROD.js";import"./X6L4PHXI.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.6 */
4
+ import{a as l,b as c}from"./DAJFINWG.js";import{a as r}from"./UESCD5AB.js";import{D as s,c as o,d as t,y as a}from"./XR3GB5SE.js";import"./TTOMCAES.js";var d=o`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.panel-bg-white{--calcite-panel-background-color: var(--calcite-color-foreground-1)}`,n=class extends a{constructor(){super(...arguments),this.deploymentProgress=0,this.open=!1,this._isInCancelConfirmation=!1,this._showCancelConfirmation=!1,this._translations=r({name:"solution-deploying-dialog",blocking:!0}),this._deployingDialogRef=l()}static{this.properties={card:0,deploymentProgress:9,open:5,_isInCancelConfirmation:16,_showCancelConfirmation:16,_translations:16}}static{this.styles=d}close(){this._showCancelConfirmation=!1;let e=this._deployingDialogRef.value;e&&(e.open=!1),this.open=!1}confirmCancel(){if(this._isInCancelConfirmation)this.close();else{let e=this._deployingDialogRef.value;e&&(e.open=!0,e.closeDisabled=!0,this._isInCancelConfirmation=!0),this._showCancelConfirmation=!0}}async load(){}render(){return t`<calcite-dialog .heading=${this._translations.title.replace("{{solution}}",this.card?.title??"")} modal .open=${this.open} @calciteDialogBeforeClose=${e=>{e.preventDefault()}} outside-close-disabled ${c(this._deployingDialogRef)}>${this._showCancelConfirmation?this.renderCancelModal():t`<calcite-panel class="panel-bg-white"><calcite-loader .label=${this._translations.deploymentInProgress} scale=l .text=${this._translations.deploymentInProgress} type=determinate-value .value=${this.deploymentProgress}></calcite-loader><calcite-carousel autoplay .label=${this._translations.newsAndFeatures} arrow-type=inline>${this.renderCarouselItems()}</calcite-carousel><calcite-button appearance=outline @click=${this.confirmCancel} slot=footer-end>${this._translations.cancel}</calcite-button></calcite-panel>`}</calcite-dialog>`}renderCarouselItems(){let e=[],h=this._translations.carousel;for(let[i,p]of Object.entries(h))e.push(t`<calcite-carousel-item .label=${i}><calcite-label layout=inline>${i==="stockMessage1"&&t`<calcite-icon icon=workflow-diagram></calcite-icon>`||""}${i==="stockMessage2"&&t`<calcite-icon icon=trash></calcite-icon>`||""}${p}</calcite-label></calcite-carousel-item>`);return e}renderCancelModal(){return t`<calcite-panel class="panel-bg-white">${this._translations.deploymentCancelMessage}<calcite-button kind=brand @click=${()=>{let e=this._deployingDialogRef.value;e&&(e.closeDisabled=!1),this._isInCancelConfirmation=!1,this._showCancelConfirmation=!1}} slot=footer-end>${this._translations.continueDeployment}</calcite-button><calcite-button appearance=outline @click=${this.confirmCancel} slot=footer-end>${this._translations.cancelDeploymentButton}</calcite-button></calcite-panel>`}};s("solution-deploying-dialog",n);export{n as SolutionDeployingDialog};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as i}from"./DHOIKSPR.js";import"./WNOY5N4R.js";import"./XURZ7NUD.js";import"./Y2GJJZVT.js";import"./Z2J6R7BH.js";import"./MICSEU5B.js";import"./2N3SSEWE.js";import"./5FTGQPO5.js";import"./PMRPPUOG.js";import"./3KRHILOK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import"./GAV3AXFW.js";import{a as m}from"./Z7DOTE4W.js";import{D as u,c as r,d as h,f as c,p as d,y as p,z as a}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var g=r`@layer{/** @license
3
+ v1.0.6 */
4
+ import{a as i}from"./AVVTO725.js";import"./4ASSBQRJ.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import"./55NQUWEY.js";import{a as m}from"./UESCD5AB.js";import{D as u,c as r,d as h,f as c,p as d,y as p,z as a}from"./XR3GB5SE.js";import"./TTOMCAES.js";var g=r`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{e as w}from"./LFX2BV5P.js";import"./GAV3AXFW.js";import"./AQOENSWY.js";import{a as p,b as g}from"./ZEFYE6IH.js";import{b as m}from"./6DXOCCZA.js";import{a as _}from"./Z7DOTE4W.js";import{D as c,c as h,d as o,n as s,p as d,y as l,z as n}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var f=h`@layer{/** @license
3
+ v1.0.6 */
4
+ import{e as w}from"./ZZ4UGIDE.js";import"./55NQUWEY.js";import"./HQIAA5ZR.js";import{a as p,b as g}from"./DAJFINWG.js";import{b as m}from"./CPO6UAZQ.js";import{a as _}from"./UESCD5AB.js";import{D as c,c as h,d as o,n as s,p as d,y as l,z as n}from"./XR3GB5SE.js";import"./TTOMCAES.js";var f=h`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{s as i}from"./AK2IOGVT.js";import{a as l,c as s,d as c,e as r}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var d=":host{display:block}",h=d,f="floating",C="instant-apps-control-panel",m="border-bottom: 1px solid var(--calcite-color-border-3)",p="components",_=`[slot="${p}"]`,x=class{constructor(t){l(this,t),this.components=[],this.view=void 0}async componentWillLoad(){this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return s(c,{key:"da3ae85d12780699ce3a9172b89f9900122d5065"},s("slot",{key:"a3bf08049e83ce0c59e58214302d9409c6208e3c",name:p}))}_handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(e,o)=>{let n=e.content;e.isExpand&&(n=await this._getExpand(e),e.expandIcon&&(n.expandIcon=e.expandIcon),e.collapseTooltip&&(n.collapseTooltip=e.collapseTooltip),e.expandTooltip&&(n.expandTooltip=e.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),o!==this.components.length-1&&(n.container.style=m)}}async _getExpand(t){let{view:e}=this,{content:o,focusTrapDisabled:n}=t,a=t?.expanded??!1;return await i({content:o,view:e,expanded:a,mode:f,group:C,focusTrapDisabled:!!n})}_getComponentsNode(){let t=_;return this.el.querySelector(t)}_resetUI(t){if(t.children.length>0){let{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return r(this)}};x.style=h;export{x as instant_apps_control_panel};
3
+ v1.0.6 */
4
+ import{s as i}from"./MXCKPU23.js";import{a as l,c as s,d as c,e as r}from"./5BK4CWOX.js";import"./TTOMCAES.js";var d=":host{display:block}",h=d,f="floating",C="instant-apps-control-panel",m="border-bottom: 1px solid var(--calcite-color-border-3)",p="components",_=`[slot="${p}"]`,x=class{constructor(t){l(this,t),this.components=[],this.view=void 0}async componentWillLoad(){this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return s(c,{key:"da3ae85d12780699ce3a9172b89f9900122d5065"},s("slot",{key:"a3bf08049e83ce0c59e58214302d9409c6208e3c",name:p}))}_handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(e,o)=>{let n=e.content;e.isExpand&&(n=await this._getExpand(e),e.expandIcon&&(n.expandIcon=e.expandIcon),e.collapseTooltip&&(n.collapseTooltip=e.collapseTooltip),e.expandTooltip&&(n.expandTooltip=e.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),o!==this.components.length-1&&(n.container.style=m)}}async _getExpand(t){let{view:e}=this,{content:o,focusTrapDisabled:n}=t,a=t?.expanded??!1;return await i({content:o,view:e,expanded:a,mode:f,group:C,focusTrapDisabled:!!n})}_getComponentsNode(){let t=_;return this.el.querySelector(t)}_resetUI(t){if(t.children.length>0){let{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return r(this)}};x.style=h;export{x as instant_apps_control_panel};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as p,b as l}from"./ZEFYE6IH.js";import{a as f}from"./Z7DOTE4W.js";import{A as m,D as b,c as h,d as a,n as r,y as c,z as n}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var g=h`/** @license
3
+ v1.0.6 */
4
+ import{a as p,b as l}from"./DAJFINWG.js";import{a as f}from"./UESCD5AB.js";import{A as m,D as b,c as h,d as a,n as r,y as c,z as n}from"./XR3GB5SE.js";import"./TTOMCAES.js";var g=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import"./4RUO65YZ.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
3
+ v1.0.6 */
4
+ import"./TTOMCAES.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as d}from"./3HR3VX4I.js";import{a as u,b as t,c as h}from"./H57ZKHJ4.js";import"./JYVM54WT.js";import{a as w}from"./2UH456LC.js";import"./4RUO65YZ.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
3
+ v1.0.6 */
4
+ import{a as d}from"./WPVYE7FE.js";import{a as u,b as t,c as h}from"./RZUGSVMP.js";import"./SZDHEJ35.js";import{a as w}from"./4OXHTSNR.js";import"./TTOMCAES.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a,b}from"./UHGKM2WA.js";import"./YA3SBEXZ.js";import"./MGAAWVDA.js";import"./CH7DLGUP.js";import"./4RUO65YZ.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.0.6 */
4
+ import{a,b}from"./VPHAMFNI.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as PageEditorTypes,b as PageSchema};
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
3
+ v1.0.6 */
4
4
  var y={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},we="app",Re=Object.defineProperty,xe=(e,t)=>{for(var o in t)Re(e,o,{get:t[o],enumerable:!0})},Se="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml",_e=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},q=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),X="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{};w.HTMLElement;var N={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},ke=e=>Promise.resolve(e),j=!1,G=[],ie=[],Ee=(e,t)=>o=>{e.push(o),j||(j=!0,t&&N.$flags$&4?K(D):N.raf(D))},J=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){I(o)}e.length=0},D=()=>{J(G),J(ie),(j=G.length>0)&&N.raf(D)},K=e=>ke().then(e),Ce=Ee(ie,!0),Le=e=>e!=null&&e!==void 0,$e=e=>(e=typeof e,e==="object"||e==="function"),Ae=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Oe={};xe(Oe,{err:()=>ce,map:()=>Fe,ok:()=>U,unwrap:()=>Me,unwrapErr:()=>Pe});var U=e=>({isOk:!0,isErr:!1,value:e}),ce=e=>({isOk:!1,isErr:!0,value:e});function Fe(e,t){if(e.isOk){let o=t(e.value);return o instanceof Promise?o.then(n=>U(n)):U(o)}if(e.isErr){let o=e.value;return ce(o)}throw"should never get here"}var Me=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},de=e=>{let t=ee(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&fe(t,e.tagName).forEach(n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(De(n,Q(n),!1).length?n.hidden=!0:n.hidden=!1)});let o=0;for(o=0;o<t.length;o++){let n=t[o];n.nodeType===1&&ee(n,"childNodes").length&&de(n)}},je=e=>{let t=[];for(let o=0;o<e.length;o++){let n=e[o]["s-nr"]||void 0;n&&n.isConnected&&t.push(n)}return t};function fe(e,t,o){let n=0,s=[],l;for(;n<e.length;n++)l=e[n],l["s-sr"]&&(!t||l["s-hn"]===t)&&o===void 0&&s.push(l),s=[...s,...fe(l.childNodes,t,o)];return s}var De=(e,t,o=!0)=>{let n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let s=e;for(;s=s.nextSibling;)Q(s)===t&&(o||!s["s-sr"])&&n.push(s);return n},Z=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Q=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;let t=o=>function(n){let s=[],l=this["s-sn"];n?.flatten&&console.error(`
5
5
  Flattening is not supported for Stencil non-shadow slots.
6
6
  You can use \`.childNodes\` to nested slot fallback content.
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as t}from"./XZRHSLHF.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.0.6 */
4
+ import{a as t}from"./OTQ4RPLU.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};