@esri/solutions-components 5.0.4 → 5.1.0-next.10

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 (500) hide show
  1. package/dist/cdn/{BKFF52SE.js → 26K4UTAF.js} +2 -2
  2. package/dist/cdn/{BDHWPAV7.js → 2B76QZR7.js} +1 -1
  3. package/dist/cdn/{AZLBLZFA.js → 2BJD5X34.js} +2 -2
  4. package/dist/cdn/{7HNG37OT.js → 2BTU374O.js} +2 -2
  5. package/dist/cdn/{25XM6BTJ.js → 2CFQ6EQE.js} +2 -2
  6. package/dist/cdn/{24S5LVU5.js → 2D6XDWYA.js} +1 -1
  7. package/dist/cdn/{ZCYLNZXT.js → 2H3VIDNQ.js} +2 -2
  8. package/dist/cdn/2L7O5T7N.js +2 -0
  9. package/dist/cdn/{3JKE3JHG.js → 2RBKFT3Q.js} +2 -2
  10. package/dist/cdn/{ZHXH4C3E.js → 2TR3Y7HD.js} +2 -2
  11. package/dist/cdn/{BE7WFZ3U.js → 2W6HTIBW.js} +2 -2
  12. package/dist/cdn/{ZB4IUY3Y.js → 32EJUXLB.js} +2 -2
  13. package/dist/cdn/{ALST4M6H.js → 35HRMJUI.js} +2 -2
  14. package/dist/cdn/{GPP5RTWG.js → 36HEIJAI.js} +2 -2
  15. package/dist/cdn/3AQ7U2PF.js +2 -0
  16. package/dist/cdn/{I6WL7LDB.js → 3BWIMFV4.js} +2 -2
  17. package/dist/cdn/{GIR2TCZX.js → 3E6HSVYO.js} +2 -2
  18. package/dist/cdn/{TKZAMPEI.js → 3FMOO3PJ.js} +2 -2
  19. package/dist/cdn/{7JPODSG7.js → 3HALRHHO.js} +2 -2
  20. package/dist/cdn/{CARAKOX7.js → 3I5UIOSI.js} +2 -2
  21. package/dist/cdn/{7FMLZNDR.js → 3IHLJADI.js} +2 -2
  22. package/dist/cdn/3JF5JLS4.js +2 -0
  23. package/dist/cdn/{77NDVP55.js → 3KGOZXJN.js} +1 -1
  24. package/dist/cdn/{Z6G5PBUQ.js → 3KXMYZCU.js} +1 -1
  25. package/dist/cdn/3OQ24P5P.js +2 -0
  26. package/dist/cdn/{4WT6JN3M.js → 3P3PF3BO.js} +2 -2
  27. package/dist/cdn/3PT5ULE3.js +2 -0
  28. package/dist/cdn/3SRDS4KQ.js +2 -0
  29. package/dist/cdn/{IE2UXHBC.js → 3T3GPK27.js} +2 -2
  30. package/dist/cdn/3TYPFWRB.js +2 -0
  31. package/dist/cdn/{IXWRLPCY.js → 3XVYTVMS.js} +2 -2
  32. package/dist/cdn/42736UND.js +2 -0
  33. package/dist/cdn/43LVFNMF.js +2 -0
  34. package/dist/cdn/{TYX345MZ.js → 45M33Q5G.js} +1 -1
  35. package/dist/cdn/45ZS4SG7.js +2 -0
  36. package/dist/cdn/{MPJ5N4H3.js → 4FBEUQIB.js} +4 -4
  37. package/dist/cdn/4HFHJOS3.js +2 -0
  38. package/dist/cdn/{LXECWNUK.js → 4HGP3Y4K.js} +2 -2
  39. package/dist/cdn/{SIUGRN4Q.js → 4JXVKICV.js} +2 -2
  40. package/dist/cdn/{Q5LUK5CM.js → 4NMQFFJ5.js} +2 -2
  41. package/dist/cdn/{SFG2REQW.js → 4UBLWDFJ.js} +2 -2
  42. package/dist/cdn/{G2FGKUNI.js → 4VFE4GPI.js} +7 -7
  43. package/dist/cdn/{HHZZ77DA.js → 5326HZ74.js} +2 -2
  44. package/dist/cdn/{L26O3GTC.js → 57JYZYF5.js} +2 -2
  45. package/dist/cdn/{VWYHHUNT.js → 5EBHORLK.js} +2 -2
  46. package/dist/cdn/{EAV7DUA3.js → 5KD4GK7Y.js} +2 -2
  47. package/dist/cdn/{ZEIK7CNV.js → 5QCBD6ZZ.js} +2 -2
  48. package/dist/cdn/{RKYWXTWC.js → 5S3WZLB5.js} +2 -2
  49. package/dist/cdn/{EFSJWL7S.js → 5UQRM2YJ.js} +2 -2
  50. package/dist/cdn/{GUBQMCIJ.js → 5ZVSYUD7.js} +2 -2
  51. package/dist/cdn/67NTSS6S.js +2 -0
  52. package/dist/cdn/{SSUMO4HY.js → 6AFP7DRB.js} +1 -1
  53. package/dist/cdn/{ALLEVCNE.js → 6XELM7OM.js} +2 -2
  54. package/dist/cdn/{2IHQU2FX.js → 73AX72WY.js} +2 -2
  55. package/dist/cdn/73O55ZBJ.js +2 -0
  56. package/dist/cdn/{2GLDLUFW.js → 743J5TBS.js} +2 -2
  57. package/dist/cdn/{EOQK7DI3.js → 7CXQ3R3O.js} +2 -2
  58. package/dist/cdn/{F7KJCNKP.js → 7DVOR4SY.js} +2 -2
  59. package/dist/cdn/{NXSDX5AO.js → 7GNDNQTX.js} +2 -2
  60. package/dist/cdn/{AW26PIUT.js → 7GPGKDLH.js} +2 -2
  61. package/dist/cdn/{M2WIDRQF.js → 7JEVFHRJ.js} +2 -2
  62. package/dist/cdn/{PMVR62GY.js → 7KEONOFN.js} +2 -2
  63. package/dist/cdn/7SIPKCWY.js +2 -0
  64. package/dist/cdn/{FG5PNP6V.js → 7Y32UJS4.js} +2 -2
  65. package/dist/cdn/{36QZL2SP.js → 7YIQXDUF.js} +2 -2
  66. package/dist/cdn/{XRDO4BZF.js → A3BERGNY.js} +1 -1
  67. package/dist/cdn/{4T7P5RXF.js → AA7X6GKH.js} +2 -2
  68. package/dist/cdn/{K6PYLL2U.js → ABTC2V7J.js} +2 -2
  69. package/dist/cdn/{R3FWVDEQ.js → ADR7DVCB.js} +2 -2
  70. package/dist/cdn/{VGDY2UVX.js → AI3I2TOG.js} +2 -2
  71. package/dist/cdn/{EB2LK6CL.js → AJY7XD7A.js} +2 -2
  72. package/dist/cdn/{UV3U3JVV.js → AKDP6MCB.js} +2 -2
  73. package/dist/cdn/{A2E5XWW7.js → AM5URNYD.js} +2 -2
  74. package/dist/cdn/{SBNXRFNA.js → ANX2J4ID.js} +2 -2
  75. package/dist/cdn/{VXYVQILF.js → AVNCYWKK.js} +2 -2
  76. package/dist/cdn/{LL5C4DHP.js → B3R52L7H.js} +2 -2
  77. package/dist/cdn/{2ZUQERRA.js → B44OQSYO.js} +2 -2
  78. package/dist/cdn/{CJ6YLPLY.js → B6IICRWD.js} +2 -2
  79. package/dist/cdn/B7J5RZIJ.js +2 -0
  80. package/dist/cdn/BDXIKPLU.js +2 -0
  81. package/dist/cdn/{UB33RJV2.js → BEGKM3ZM.js} +2 -2
  82. package/dist/cdn/BFXJESYN.js +2 -0
  83. package/dist/cdn/{5LVXNG25.js → BIRAQCVT.js} +2 -2
  84. package/dist/cdn/{NGBSDZLF.js → BJ6JU4AF.js} +2 -2
  85. package/dist/cdn/{X5H73PHG.js → BJMJWUHS.js} +2 -2
  86. package/dist/cdn/{M5DPXDBG.js → BJMKDP4O.js} +2 -2
  87. package/dist/cdn/BM666UZR.js +2 -0
  88. package/dist/cdn/{F5JVSWT6.js → BMJN3MIR.js} +2 -2
  89. package/dist/cdn/{I5ELWFZQ.js → BPAYAR53.js} +2 -2
  90. package/dist/cdn/BPOWO72Z.js +2 -0
  91. package/dist/cdn/{P6EFQ7D3.js → BPVYL3DJ.js} +2 -2
  92. package/dist/cdn/{BEBRRD25.js → C75PU7NQ.js} +2 -2
  93. package/dist/cdn/CEKMYC3I.js +2 -0
  94. package/dist/cdn/{KDIUYXBA.js → CEP54NLT.js} +2 -2
  95. package/dist/cdn/CEZMBNEQ.js +2 -0
  96. package/dist/cdn/CF35YGUK.js +2 -0
  97. package/dist/cdn/{2U5KW3B4.js → CI7CDZL3.js} +2 -2
  98. package/dist/cdn/{HKW5AVF7.js → CPMMNWOL.js} +2 -2
  99. package/dist/cdn/{HX6GS6CN.js → CSW2JRVE.js} +2 -2
  100. package/dist/cdn/CZJPS7CF.js +2 -0
  101. package/dist/cdn/{BJQOXAOG.js → CZKXDUOH.js} +2 -2
  102. package/dist/cdn/{XYWNICC6.js → D3WYLHYH.js} +2 -2
  103. package/dist/cdn/{MIVLE4LM.js → DBHZRNFR.js} +2 -2
  104. package/dist/cdn/{J27ONLZA.js → DIDOZ4J6.js} +2 -2
  105. package/dist/cdn/{36I27Q5R.js → DIKAKOU5.js} +2 -2
  106. package/dist/cdn/{3G4RHRXD.js → DKB6JTUF.js} +2 -2
  107. package/dist/cdn/{OEJAW72H.js → DKD2EGQP.js} +1 -1
  108. package/dist/cdn/{PZ4L77M5.js → DLBZRD4H.js} +2 -2
  109. package/dist/cdn/{3UVV2MNJ.js → DQ4POWIJ.js} +2 -2
  110. package/dist/cdn/DWAYOC2L.js +2 -0
  111. package/dist/cdn/DZB3263I.js +2 -0
  112. package/dist/cdn/{PEHE5MUC.js → E7HQ4JJ2.js} +2 -2
  113. package/dist/cdn/{6Z3UOQ5W.js → E7W2OZL3.js} +2 -2
  114. package/dist/cdn/ELD2UQO4.js +2 -0
  115. package/dist/cdn/{TWDX3YCN.js → EWCIPKTH.js} +4 -4
  116. package/dist/cdn/{6F4IEBM2.js → EXMZUQW5.js} +2 -2
  117. package/dist/cdn/EYBEUSBG.js +2 -0
  118. package/dist/cdn/{NSWVC2JI.js → EYXOOK3V.js} +2 -2
  119. package/dist/cdn/{5IWB7DXV.js → F346YHSU.js} +2 -2
  120. package/dist/cdn/{Q6BBU3QG.js → F372CSCW.js} +2 -2
  121. package/dist/cdn/{6ICBHPK3.js → FDO2JBGW.js} +2 -2
  122. package/dist/cdn/{5UWT66A7.js → FES7B3SJ.js} +1 -1
  123. package/dist/cdn/FGS4PYIE.js +2 -0
  124. package/dist/cdn/FJAJKPL6.js +2 -0
  125. package/dist/cdn/{TUP3HPO4.js → FKCIW6NV.js} +1 -1
  126. package/dist/cdn/{TSKD22JZ.js → FTMEQQF5.js} +2 -2
  127. package/dist/cdn/{XJPOVJV7.js → G2ME4BAQ.js} +2 -2
  128. package/dist/cdn/{DNV5POS3.js → G7XCRE3X.js} +2 -2
  129. package/dist/cdn/{HWF26RTC.js → GEKZO6V7.js} +2 -2
  130. package/dist/cdn/{CKHU23WZ.js → GTDHYS64.js} +3 -3
  131. package/dist/cdn/{FA2N7NJ3.js → GYPII3T6.js} +2 -2
  132. package/dist/cdn/{EABNUBBA.js → H3LJVYII.js} +2 -2
  133. package/dist/cdn/{OLYK2OEO.js → HBJZGW4L.js} +2 -2
  134. package/dist/cdn/{6MZ227J7.js → HBPD3T7H.js} +2 -2
  135. package/dist/cdn/{JE7L7M3J.js → HBQN25RR.js} +2 -2
  136. package/dist/cdn/HDRMSU3L.js +2 -0
  137. package/dist/cdn/{UVKZG44C.js → HJ4N3RZN.js} +2 -2
  138. package/dist/cdn/{ATL4ZT4D.js → HMB3LHBC.js} +2 -2
  139. package/dist/cdn/{WN6TFOUO.js → HPQPI754.js} +2 -2
  140. package/dist/cdn/{N5EFFELR.js → HUF4HX5R.js} +2 -2
  141. package/dist/cdn/{TOZPZ6OI.js → HYB5LBMY.js} +2 -2
  142. package/dist/cdn/HZ6P3WVH.js +2 -0
  143. package/dist/cdn/{OL43C4CR.js → I3D5WRYZ.js} +2 -2
  144. package/dist/cdn/{BEXT4QVO.js → I4PUORX4.js} +2 -2
  145. package/dist/cdn/{JAWSHLB7.js → IO5DIUTT.js} +2 -2
  146. package/dist/cdn/ITRKZRX7.js +2 -0
  147. package/dist/cdn/{TTKCR26F.js → J33ST6ZG.js} +2 -2
  148. package/dist/cdn/{H4AJJYCF.js → J5VTBFGR.js} +2 -2
  149. package/dist/cdn/JALU4653.js +2 -0
  150. package/dist/cdn/{LNLMLBWQ.js → JBGQX4DF.js} +2 -2
  151. package/dist/cdn/{JUYO2EM6.js → JDVVMD4S.js} +2 -2
  152. package/dist/cdn/JE4LGN6P.js +2 -0
  153. package/dist/cdn/JGU6J5IA.js +2 -0
  154. package/dist/cdn/{NRATHJBP.js → JK75TUSP.js} +2 -2
  155. package/dist/cdn/JLQYLRUP.js +2 -0
  156. package/dist/cdn/{YPV5332T.js → JLYGSQEC.js} +2 -2
  157. package/dist/cdn/{ANDQB6ZP.js → JMU5KKZH.js} +2 -2
  158. package/dist/cdn/{CGLFPVBM.js → JUUVYK2H.js} +1 -1
  159. package/dist/cdn/{WMVQZ4HU.js → JUXXPW6I.js} +2 -2
  160. package/dist/cdn/{575KOORD.js → JYLXH6OM.js} +2 -2
  161. package/dist/cdn/{NOJRPDSW.js → JYM2MD3W.js} +2 -2
  162. package/dist/cdn/K344PR7N.js +2 -0
  163. package/dist/cdn/{D6DFW6PG.js → K5ZIHTQC.js} +2 -2
  164. package/dist/cdn/{DTPCOAOD.js → KD46EE7M.js} +2 -2
  165. package/dist/cdn/{SR2ITR24.js → KDE2RXEH.js} +2 -2
  166. package/dist/cdn/{P5ERFKR2.js → KGUELU4O.js} +1 -1
  167. package/dist/cdn/KHHT54BU.js +2 -0
  168. package/dist/cdn/KNSFKF4Q.js +2 -0
  169. package/dist/cdn/{3HUY3T5F.js → KOIDWEP3.js} +1 -1
  170. package/dist/cdn/{FLZ7YBCU.js → KPBEUIQV.js} +2 -2
  171. package/dist/cdn/{FBTE4S2U.js → KSXW3QKP.js} +2 -2
  172. package/dist/cdn/{JK6XUSIM.js → KU62OLRE.js} +2 -2
  173. package/dist/cdn/{JOQDD4HN.js → KV4JOMXV.js} +2 -2
  174. package/dist/cdn/{CPLUG3BV.js → KWCJDOZU.js} +2 -2
  175. package/dist/cdn/{3JPTG46S.js → KXT52OBS.js} +2 -2
  176. package/dist/cdn/{CTGQWEIJ.js → KZFMPHCV.js} +2 -2
  177. package/dist/cdn/{VU3T4WSA.js → LDQDYCD2.js} +2 -2
  178. package/dist/cdn/LF3HQQMS.js +2 -0
  179. package/dist/cdn/LI4CAGAZ.js +2 -0
  180. package/dist/cdn/{6WJBGNHC.js → LI7Q44Z6.js} +2 -2
  181. package/dist/cdn/{47FTIK4Y.js → LNLCO244.js} +2 -2
  182. package/dist/cdn/{J3QMHA2M.js → LPBP7CBN.js} +2 -2
  183. package/dist/cdn/{CLYSXX7Q.js → LPJHRY3Y.js} +2 -2
  184. package/dist/cdn/{ETSHZHZS.js → LPNQJBCN.js} +2 -2
  185. package/dist/cdn/LR6VDEBR.js +2 -0
  186. package/dist/cdn/{Q4DIJ6T2.js → LWUSGNUB.js} +2 -2
  187. package/dist/cdn/{IM46JKRI.js → M536RNIN.js} +1 -1
  188. package/dist/cdn/{M2MQGWLQ.js → M7GWNGTJ.js} +2 -2
  189. package/dist/cdn/{CKFJWPZN.js → M7YK4K5M.js} +2 -2
  190. package/dist/cdn/{YM3BZKEU.js → MHD543E6.js} +2 -2
  191. package/dist/cdn/{T5HS6V2W.js → MPGXSCG5.js} +2 -2
  192. package/dist/cdn/MQ7BT7PK.js +2 -0
  193. package/dist/cdn/{S2PMV5XN.js → MS4ASDJL.js} +2 -2
  194. package/dist/cdn/{FCH5GFNF.js → MWFCDDBC.js} +2 -2
  195. package/dist/cdn/{ZLJ3XH23.js → MZ3QZD4K.js} +2 -2
  196. package/dist/cdn/{BYAI75EW.js → MZDSTI7I.js} +2 -2
  197. package/dist/cdn/{MJDCNHGI.js → MZLEP53S.js} +2 -2
  198. package/dist/cdn/{35D5FZVV.js → N72IW5CX.js} +1 -1
  199. package/dist/cdn/{T5V6AS7W.js → N7HJKCUK.js} +2 -2
  200. package/dist/cdn/{UGC66GAG.js → N7OY2PSZ.js} +2 -2
  201. package/dist/cdn/{2J63S2O5.js → NA7S3IMW.js} +2 -2
  202. package/dist/cdn/{NVE7K4AP.js → NC34DM4N.js} +2 -2
  203. package/dist/cdn/NDUAEC62.js +2 -0
  204. package/dist/cdn/{OCJK42MK.js → NEKIHEPY.js} +2 -2
  205. package/dist/cdn/{V3GUZ2LX.js → NFOSWP5Q.js} +1 -1
  206. package/dist/cdn/{JJV3O6VQ.js → NH5526ON.js} +2 -2
  207. package/dist/cdn/{FZ5LAVZL.js → NIUMAAOQ.js} +2 -2
  208. package/dist/cdn/NL67WU77.js +2 -0
  209. package/dist/cdn/{G6KHKVTN.js → NLTK53B2.js} +2 -2
  210. package/dist/cdn/{PW4CSQIB.js → NOIG2A4U.js} +2 -2
  211. package/dist/cdn/{KE5Q4DJK.js → NOIGF6Y3.js} +1 -1
  212. package/dist/cdn/{OCUMDT2M.js → NPZQAHW4.js} +2 -2
  213. package/dist/cdn/{FWFPID2C.js → NSITJP7B.js} +2 -2
  214. package/dist/cdn/{AC7TIBAL.js → ONLHK7DM.js} +1 -1
  215. package/dist/cdn/{XUYQ4JOW.js → OQFRVQQZ.js} +2 -2
  216. package/dist/cdn/{P5YTFAF2.js → OQWMBY4L.js} +1 -1
  217. package/dist/cdn/OVKFYACI.js +2 -0
  218. package/dist/cdn/{QCX5HMBY.js → OYQYXNHJ.js} +2 -2
  219. package/dist/cdn/{ZY5NKP3F.js → P2YLMWCT.js} +2 -2
  220. package/dist/cdn/P4FX4W2X.js +2 -0
  221. package/dist/cdn/{46DQNAMV.js → P4KZ6OZF.js} +1 -1
  222. package/dist/cdn/{TENMD3MI.js → P6IYN2TS.js} +2 -2
  223. package/dist/cdn/{2VXVCSRO.js → PFKPNZ5Q.js} +2 -2
  224. package/dist/cdn/{KYMCG3FE.js → PFLQDK3I.js} +2 -2
  225. package/dist/cdn/{PIUY4D7H.js → PGSLA765.js} +1 -1
  226. package/dist/cdn/{6WWPIVBS.js → PJ5ORVU5.js} +2 -2
  227. package/dist/cdn/{R7OZWCO2.js → PJH3H7LZ.js} +2 -2
  228. package/dist/cdn/PYBOC3DB.js +2 -0
  229. package/dist/cdn/{EXKRUCSY.js → PZOAAAVI.js} +2 -2
  230. package/dist/cdn/{YPECXIRO.js → Q5T633MH.js} +2 -2
  231. package/dist/cdn/Q7AXKKIB.js +2 -0
  232. package/dist/cdn/{SXBDS4RI.js → QAVXLETM.js} +2 -2
  233. package/dist/cdn/QHG54NVK.js +2 -0
  234. package/dist/cdn/{5SDYG5ZM.js → QHYG6C3L.js} +2 -2
  235. package/dist/cdn/{FYYI54CE.js → QI5LXFA7.js} +2 -2
  236. package/dist/cdn/{OR4HXHSY.js → QPIMTXPL.js} +1 -1
  237. package/dist/cdn/{KX6WPQ3G.js → QWRM254M.js} +2 -2
  238. package/dist/cdn/{FIGCRZGS.js → R3TKXDOE.js} +2 -2
  239. package/dist/cdn/{ZBTAMROU.js → RDXJFHLV.js} +2 -2
  240. package/dist/cdn/{NR37JYZZ.js → REOO5ZGK.js} +2 -2
  241. package/dist/cdn/{G3KEPG5G.js → RKMY6VWP.js} +2 -2
  242. package/dist/cdn/{W4UTR6WU.js → RNAN4RW6.js} +1 -1
  243. package/dist/cdn/{ZZQ73LQE.js → RTPXDRZ7.js} +2 -2
  244. package/dist/cdn/{ETK7NEDZ.js → RTUAITMO.js} +2 -2
  245. package/dist/cdn/{GDPFKW75.js → S423P2GA.js} +2 -2
  246. package/dist/cdn/{CUJCDLHI.js → SBEC53RV.js} +2 -2
  247. package/dist/cdn/{ASTWNDH6.js → SC5EOUVT.js} +2 -2
  248. package/dist/cdn/{LLCJDTO5.js → SEDPMCMZ.js} +2 -2
  249. package/dist/cdn/{HQK5RHHT.js → SNXCUFG4.js} +1 -1
  250. package/dist/cdn/SOIGVOGA.js +2 -0
  251. package/dist/cdn/{KR3JPJKA.js → SSO3AN4U.js} +2 -2
  252. package/dist/cdn/{KAOZIOH3.js → SZRONHSX.js} +2 -2
  253. package/dist/cdn/{HKHZ3AIP.js → T2FOSTMH.js} +2 -2
  254. package/dist/cdn/{OZIXJ6HO.js → T2WSMUVL.js} +2 -2
  255. package/dist/cdn/{M3G2IY5Z.js → T3JHAFWW.js} +2 -2
  256. package/dist/cdn/{VWVSKAHO.js → T537IZUH.js} +2 -2
  257. package/dist/cdn/{LR227DHR.js → T745GPG3.js} +2 -2
  258. package/dist/cdn/{JM5FJEHU.js → TAYHORLE.js} +2 -2
  259. package/dist/cdn/TBQQ6OPX.js +2 -0
  260. package/dist/cdn/{AOBFPJ2R.js → TEHBW75B.js} +1 -1
  261. package/dist/cdn/{5ISRU637.js → TER4MTK6.js} +2 -2
  262. package/dist/cdn/{V5CYGH43.js → TH52564W.js} +2 -2
  263. package/dist/cdn/{3ABQO2AZ.js → THKPPH7G.js} +2 -2
  264. package/dist/cdn/{UKRALD6X.js → TT5Y2WZP.js} +2 -2
  265. package/dist/cdn/{EQUAUHBX.js → TTODV2R4.js} +2 -2
  266. package/dist/cdn/{M726IWD4.js → TU5GZK4M.js} +2 -2
  267. package/dist/cdn/{2D64QMHC.js → TUGKPWRB.js} +2 -2
  268. package/dist/cdn/{XUYE3J6Z.js → TVCG3ZCH.js} +2 -2
  269. package/dist/cdn/{ANWP5NRZ.js → TXLUSSRB.js} +2 -2
  270. package/dist/cdn/TZ73WV5T.js +2 -0
  271. package/dist/cdn/TZHUM4R4.js +2 -0
  272. package/dist/cdn/{HYA473XA.js → TZL2746B.js} +2 -2
  273. package/dist/cdn/{6IHZQH4I.js → U6ALIHIC.js} +2 -2
  274. package/dist/cdn/U6NFJYPT.js +2 -0
  275. package/dist/cdn/UAQ3H67J.js +2 -0
  276. package/dist/cdn/{WXXNQFVO.js → UDGR2GC5.js} +2 -2
  277. package/dist/cdn/{5QZHZP3H.js → UF67SSGX.js} +2 -2
  278. package/dist/cdn/{EFQUL4VM.js → UFFI5UIO.js} +2 -2
  279. package/dist/cdn/{BY2L5NGQ.js → UFJWRZWQ.js} +2 -2
  280. package/dist/cdn/{LFDALA2A.js → UH4IH4MC.js} +2 -2
  281. package/dist/cdn/{PBS3CYBZ.js → UK4O67GV.js} +2 -2
  282. package/dist/cdn/{MBISQ27L.js → UKXDAOCN.js} +2 -2
  283. package/dist/cdn/{N3WEX2WW.js → ULCILXSA.js} +2 -2
  284. package/dist/cdn/ULU7JTHR.js +2 -0
  285. package/dist/cdn/UM2FREW7.js +2 -0
  286. package/dist/cdn/{MQF26HKA.js → US5FON7D.js} +1 -1
  287. package/dist/cdn/{NF6YUHUT.js → UVHM4PU5.js} +2 -2
  288. package/dist/cdn/VCGFT6NM.js +2 -0
  289. package/dist/cdn/VDEFBT2N.js +2 -0
  290. package/dist/cdn/{CKZTDRHJ.js → VIWNXKUP.js} +2 -2
  291. package/dist/cdn/{HV4LZMLU.js → VJEG4LOG.js} +2 -2
  292. package/dist/cdn/{FFP225M5.js → VPTZV5YV.js} +2 -2
  293. package/dist/cdn/{G4VIPBRX.js → VVZAS55G.js} +1 -1
  294. package/dist/cdn/{TVQ63GRO.js → VXMIT5WR.js} +2 -2
  295. package/dist/cdn/{3L4JPZ3K.js → VZPEYWYR.js} +2 -2
  296. package/dist/cdn/{BJQKJFRD.js → W2ZZLJGQ.js} +2 -2
  297. package/dist/cdn/{SE7GHLP3.js → W5V64SBG.js} +2 -2
  298. package/dist/cdn/{HK5YELY5.js → WCPWYPN2.js} +2 -2
  299. package/dist/cdn/{2ZVVMMWR.js → WFB4USZL.js} +2 -2
  300. package/dist/cdn/{QJJXVRMV.js → WGO4EVOV.js} +1 -1
  301. package/dist/cdn/{RTZ7K25B.js → WHXMHZL4.js} +2 -2
  302. package/dist/cdn/WIC2XPT4.js +2 -0
  303. package/dist/cdn/{V3FKFUZ4.js → WNI44LDP.js} +2 -2
  304. package/dist/cdn/{ZBVNECHG.js → X4LKJTY5.js} +2 -2
  305. package/dist/cdn/XAFSYKI2.js +2 -0
  306. package/dist/cdn/{PO4PTHS6.js → XBR2PGVO.js} +2 -2
  307. package/dist/cdn/XG3T3NF3.js +2 -0
  308. package/dist/cdn/{4WIRUOFC.js → XGFCUKM7.js} +2 -2
  309. package/dist/cdn/{TAGYBODZ.js → XIUYW7RN.js} +2 -2
  310. package/dist/cdn/{2KD4GOO2.js → XK6Q5TUT.js} +2 -2
  311. package/dist/cdn/XNH7HCKE.js +2 -0
  312. package/dist/cdn/{WBU2DP34.js → XPIAEAK5.js} +2 -2
  313. package/dist/cdn/XTEP3QJL.js +2 -0
  314. package/dist/cdn/{RVR6SP4R.js → XVRRQMOP.js} +2 -2
  315. package/dist/cdn/{A2UP6ODV.js → XXQKFENH.js} +2 -2
  316. package/dist/cdn/{SVY3DB6Z.js → XYFIAJPT.js} +2 -2
  317. package/dist/cdn/{4XDFHBIJ.js → XYOCI4UP.js} +2 -2
  318. package/dist/cdn/{WKMAPRRW.js → YF26KIY5.js} +1 -1
  319. package/dist/cdn/YG7D2NB5.js +2 -0
  320. package/dist/cdn/{RQPLQUKO.js → YIQVAISO.js} +2 -2
  321. package/dist/cdn/YJMAWMEK.js +2 -0
  322. package/dist/cdn/{FJNVO5GH.js → YMETU3CL.js} +2 -2
  323. package/dist/cdn/{W3KIZXX6.js → YMWYAWT6.js} +2 -2
  324. package/dist/cdn/YRRONGG3.js +2 -0
  325. package/dist/cdn/{QZMPOJBZ.js → YTK4IGLJ.js} +2 -2
  326. package/dist/cdn/{X4JADDMR.js → YUPT4BTA.js} +2 -2
  327. package/dist/cdn/{UUYUTETH.js → YVNP437O.js} +1 -1
  328. package/dist/cdn/{LDNQ56OK.js → Z4F2NZOT.js} +1 -1
  329. package/dist/cdn/ZC3SWVD4.js +2 -0
  330. package/dist/cdn/{UPHYUDLT.js → ZCU2WWVN.js} +1 -1
  331. package/dist/cdn/{ZQ37ZZNF.js → ZDGVCOLK.js} +2 -2
  332. package/dist/cdn/{FH77AHR5.js → ZDMOQS37.js} +2 -2
  333. package/dist/cdn/{SMB2UTWO.js → ZF724O2R.js} +2 -2
  334. package/dist/cdn/{WEZ3CVMJ.js → ZIAMLGUC.js} +2 -2
  335. package/dist/cdn/{CKD45FGQ.js → ZIVKAX4G.js} +1 -1
  336. package/dist/cdn/{6HN6YFLK.js → ZMNHA5KF.js} +2 -2
  337. package/dist/cdn/{IHZXAACO.js → ZSHMK5VX.js} +2 -2
  338. package/dist/cdn/{63QNMEU5.js → ZYRNI524.js} +2 -2
  339. package/dist/cdn/index.js +2 -2
  340. package/dist/chunks/Auth.js +1 -1
  341. package/dist/chunks/cardFetchingUtils.js +14 -14
  342. package/dist/chunks/cardsHelpers.js +1 -1
  343. package/dist/chunks/deployAppContexts.js +9 -0
  344. package/dist/chunks/downloadUtils.js +1 -1
  345. package/dist/chunks/getItemIcon.js +1 -1
  346. package/dist/chunks/getRelatedInfos.js +1 -1
  347. package/dist/chunks/interfaces.js +142 -145
  348. package/dist/chunks/mapViewUtils.js +1 -1
  349. package/dist/chunks/pciUtils.js +1 -1
  350. package/dist/chunks/popupUtils.js +1 -1
  351. package/dist/chunks/publicNotificationContext.js +1 -1
  352. package/dist/chunks/queryUtils.js +1 -1
  353. package/dist/chunks/runtime.js +2 -2
  354. package/dist/chunks/solution-deploy-dialog.js +11 -10
  355. package/dist/chunks/solutions-deploy-app-nav.js +7 -6
  356. package/dist/chunks/useT9n.js +1 -1
  357. package/dist/components/arcgis-solutions-assistant/customElement.js +28 -27
  358. package/dist/components/buffer-tools/customElement.js +1 -1
  359. package/dist/components/card-manager/customElement.js +1 -1
  360. package/dist/components/consent-manager/customElement.js +1 -1
  361. package/dist/components/create-feature/customElement.js +2 -2
  362. package/dist/components/create-related-feature/customElement.js +1 -1
  363. package/dist/components/crowdsource-manager/customElement.js +1 -1
  364. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  365. package/dist/components/deduct-calculator/customElement.js +1 -1
  366. package/dist/components/delete-button/customElement.js +1 -1
  367. package/dist/components/delete-dialog/customElement.js +1 -1
  368. package/dist/components/edit-card/customElement.js +1 -1
  369. package/dist/components/feature-details/customElement.js +1 -1
  370. package/dist/components/feature-list/customElement.js +1 -1
  371. package/dist/components/field-selection/customElement.js +1 -1
  372. package/dist/components/info-card/customElement.js +1 -1
  373. package/dist/components/layer-list/customElement.js +1 -1
  374. package/dist/components/layer-list-widget/customElement.js +1 -1
  375. package/dist/components/layer-table/customElement.js +1 -1
  376. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  377. package/dist/components/map-card/customElement.js +1 -1
  378. package/dist/components/map-draw-tools/customElement.js +1 -1
  379. package/dist/components/map-floor-filter/customElement.js +1 -1
  380. package/dist/components/map-fullscreen/customElement.js +1 -1
  381. package/dist/components/map-layer-picker/customElement.js +1 -1
  382. package/dist/components/map-legend/customElement.js +1 -1
  383. package/dist/components/map-picker/customElement.js +1 -1
  384. package/dist/components/map-search/customElement.js +1 -1
  385. package/dist/components/map-select-tools/customElement.js +1 -1
  386. package/dist/components/map-tools/customElement.js +1 -1
  387. package/dist/components/pci-calculator/customElement.js +1 -1
  388. package/dist/components/pdf-download/customElement.js +1 -1
  389. package/dist/components/public-notification/customElement.js +1 -1
  390. package/dist/components/refine-selection/customElement.js +1 -1
  391. package/dist/components/selection-tool/customElement.js +1 -1
  392. package/dist/components/solution-configure-titles/customElement.js +6 -5
  393. package/dist/components/solution-delete-dialog/customElement.js +46 -36
  394. package/dist/components/solution-deploy-dialog/customElement.js +5 -4
  395. package/dist/components/solution-deployed-card/customElement.js +4 -3
  396. package/dist/components/solution-deployed-card-panel/customElement.js +8 -7
  397. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  398. package/dist/components/solution-details-card/customElement.js +3 -2
  399. package/dist/components/solution-details-panel/customElement.js +31 -30
  400. package/dist/components/solution-item-accordion/customElement.js +30 -22
  401. package/dist/components/solution-item-diagram/customElement.js +1 -1
  402. package/dist/components/solution-item-diagram/utils/solutionGraph.d.ts +1 -0
  403. package/dist/components/solution-item-icon/customElement.js +1 -1
  404. package/dist/components/solution-resource-card/customElement.js +8 -7
  405. package/dist/components/solution-snapshot-gallery/customElement.js +10 -9
  406. package/dist/components/solution-social-share/customElement.js +3 -2
  407. package/dist/components/solution-user-avatar/customElement.js +13 -12
  408. package/dist/components/solutions-all-panel/customElement.js +12 -11
  409. package/dist/components/solutions-all-shell/customElement.js +3 -2
  410. package/dist/components/solutions-deploy-app/customElement.js +12 -11
  411. package/dist/components/solutions-deploy-app-nav/customElement.js +4 -3
  412. package/dist/components/solutions-deployed-panel/customElement.js +3 -2
  413. package/dist/components/solutions-deployed-shell/customElement.js +3 -2
  414. package/dist/components/solutions-filter-panel/customElement.d.ts +1 -4
  415. package/dist/components/solutions-filter-panel/customElement.js +13 -14
  416. package/dist/components/solutions-resources-section/customElement.js +1 -1
  417. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  418. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -2
  419. package/dist/components/solutions-searchsort-toolbar/customElement.js +8 -7
  420. package/dist/docs/api.json +1 -1
  421. package/dist/docs/docs.json +1 -1
  422. package/dist/docs/vscode.html-custom-data.json +1 -1
  423. package/dist/docs/web-types.json +1 -1
  424. package/dist/index.js +1 -1
  425. package/dist/loader.js +1 -1
  426. package/dist/solutions-components_commit.txt +5 -5
  427. package/dist/types/lumina.d.ts +0 -1
  428. package/dist/types/preact.d.ts +0 -1
  429. package/dist/types/react.d.ts +0 -1
  430. package/dist/types/stencil.d.ts +0 -1
  431. package/dist/utils/interfaces.d.ts +1 -1
  432. package/package.json +5 -5
  433. package/dist/cdn/2GBXQUSA.js +0 -2
  434. package/dist/cdn/32MFUKXF.js +0 -2
  435. package/dist/cdn/32ZJRLO4.js +0 -2
  436. package/dist/cdn/36RS4TYI.js +0 -2
  437. package/dist/cdn/3NGW3KDI.js +0 -2
  438. package/dist/cdn/3ZOEAKII.js +0 -2
  439. package/dist/cdn/44QGF64X.js +0 -2
  440. package/dist/cdn/4WNB4SNS.js +0 -2
  441. package/dist/cdn/5BJNTWVY.js +0 -2
  442. package/dist/cdn/5JJMGPOW.js +0 -2
  443. package/dist/cdn/5SWGGS6Z.js +0 -2
  444. package/dist/cdn/643OMX6D.js +0 -2
  445. package/dist/cdn/7M6F64KQ.js +0 -2
  446. package/dist/cdn/7PXJRQHT.js +0 -2
  447. package/dist/cdn/AFNUHTXR.js +0 -2
  448. package/dist/cdn/AXGMN3DZ.js +0 -2
  449. package/dist/cdn/AZKJO6MZ.js +0 -2
  450. package/dist/cdn/CJ3RCG23.js +0 -2
  451. package/dist/cdn/CS224C6F.js +0 -2
  452. package/dist/cdn/DCOGVHCK.js +0 -2
  453. package/dist/cdn/DQY6HKSD.js +0 -2
  454. package/dist/cdn/DUY4QVV5.js +0 -2
  455. package/dist/cdn/F7DGHROD.js +0 -2
  456. package/dist/cdn/FOQDGMBU.js +0 -2
  457. package/dist/cdn/G235DVXM.js +0 -2
  458. package/dist/cdn/GCYLODHA.js +0 -2
  459. package/dist/cdn/GKBTOBYA.js +0 -2
  460. package/dist/cdn/HVZTHZYK.js +0 -2
  461. package/dist/cdn/HW7HHHMK.js +0 -2
  462. package/dist/cdn/IB4U627P.js +0 -2
  463. package/dist/cdn/IGM6M6VG.js +0 -2
  464. package/dist/cdn/IHGHHRTQ.js +0 -2
  465. package/dist/cdn/IWBYP44R.js +0 -2
  466. package/dist/cdn/JG5BJDJK.js +0 -2
  467. package/dist/cdn/KCABC3XV.js +0 -2
  468. package/dist/cdn/L65LKW2L.js +0 -2
  469. package/dist/cdn/LCHT2SYR.js +0 -2
  470. package/dist/cdn/LLYTIOG4.js +0 -2
  471. package/dist/cdn/M27UHZEK.js +0 -2
  472. package/dist/cdn/M5MQY5WC.js +0 -2
  473. package/dist/cdn/MCGO7GQL.js +0 -2
  474. package/dist/cdn/N2D6RJ3H.js +0 -2
  475. package/dist/cdn/NNF53M5N.js +0 -2
  476. package/dist/cdn/O24ZIQLV.js +0 -2
  477. package/dist/cdn/OBMP2HIH.js +0 -2
  478. package/dist/cdn/OXUKEA5J.js +0 -2
  479. package/dist/cdn/P3DGGTC5.js +0 -2
  480. package/dist/cdn/PAEHHWIA.js +0 -2
  481. package/dist/cdn/QOM6K67N.js +0 -2
  482. package/dist/cdn/R2KIT5QB.js +0 -2
  483. package/dist/cdn/RAWUKGQG.js +0 -2
  484. package/dist/cdn/RORBHQJC.js +0 -2
  485. package/dist/cdn/S6EMQP4I.js +0 -2
  486. package/dist/cdn/SOFUFWLC.js +0 -2
  487. package/dist/cdn/SXF342EH.js +0 -2
  488. package/dist/cdn/UDP357ZS.js +0 -2
  489. package/dist/cdn/UT4XKLC4.js +0 -2
  490. package/dist/cdn/V7HBTLA3.js +0 -2
  491. package/dist/cdn/VN6ZA46R.js +0 -2
  492. package/dist/cdn/VPSUD6VW.js +0 -2
  493. package/dist/cdn/VW2776MR.js +0 -2
  494. package/dist/cdn/VWAPNMSS.js +0 -2
  495. package/dist/cdn/WDDMJBPJ.js +0 -2
  496. package/dist/cdn/WPAMUSBR.js +0 -2
  497. package/dist/cdn/YA5DNYPF.js +0 -2
  498. package/dist/cdn/YEY4KEHA.js +0 -2
  499. package/dist/cdn/YQELD2ZV.js +0 -2
  500. package/dist/cdn/ZRDBHNKL.js +0 -2
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import b from"./G6KHKVTN.js";import a from"./GPP5RTWG.js";import{a as _}from"./4T7P5RXF.js";import{b as y}from"./JM5FJEHU.js";import"./GDPFKW75.js";import{G as $,H as T,J as l,L as g,h as C,i as r,r as x,u as L}from"./46DQNAMV.js";import"./OR4HXHSY.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import b from"./NLTK53B2.js";import a from"./36HEIJAI.js";import{a as _}from"./AA7X6GKH.js";import{b as y}from"./TAYHORLE.js";import"./S423P2GA.js";import{G as $,H as T,J as l,L as g,h as C,i as r,r as x,u as L}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{b as p}from"./JM5FJEHU.js";import{H as a,h as i,i as n,u as r}from"./46DQNAMV.js";import"./OR4HXHSY.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{b as p}from"./TAYHORLE.js";import{H as a,h as i,i as n,u as r}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{a as m}from"./77NDVP55.js";import{a as f}from"./XJPOVJV7.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{a as m}from"./3KGOZXJN.js";import{a as f}from"./G2ME4BAQ.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{b as m}from"./HW7HHHMK.js";import{F as h,G as n,H as d,h as s,i as o,r as i}from"./46DQNAMV.js";import"./OR4HXHSY.js";export default $arcgis.t(([f,l])=>{var c=s`:host{display:block}`,r=class extends d{constructor(){super(...arguments),this.enabled=!1,this._floorFilterElement=h(),this.facilityChanged=i(),this.levelChanged=i(),this.siteChanged=i()}static{this.properties={enabled:5,floorFilterWidget:0,mapView:0}}static{this.styles=c}willUpdate(t){t.has("mapView")&&this.mapViewWatchHandler(),t.has("enabled")&&this.enabledWatchHandler()}async mapViewWatchHandler(){this.mapView&&await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?this.mapView&&await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}render(){return o`<div ${n(this._floorFilterElement)}></div>`}async loaded(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement.value&&this._floorFilterElement.value.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement&&(this._floorFilterElement.value=document.createElement("div"))}async _initFloorFilter(t){let a=t?.map;a&&await a.when(()=>{t&&this.enabled&&a?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new f({container:this._floorFilterElement.value,view:t}),this._facilityHandle?.remove(),this._facilityHandle=l?.watch(()=>this.floorFilterWidget?.facility,e=>{e&&this.facilityChanged.emit(e)}),this._levelHandle?.remove(),this._levelHandle=l.watch(()=>this.floorFilterWidget?.level,e=>{e&&this.levelChanged.emit(e)}),this._siteHandle?.remove(),this._siteHandle=l.watch(()=>this.floorFilterWidget?.site,e=>{e&&this.siteChanged.emit(e)}))})}};m("map-floor-filter",r);return r},"widgets/FloorFilter","core/reactiveUtils")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{b as m}from"./NDUAEC62.js";import{F as h,G as n,H as d,h as s,i as o,r as i}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([f,l])=>{var c=s`:host{display:block}`,r=class extends d{constructor(){super(...arguments),this.enabled=!1,this._floorFilterElement=h(),this.facilityChanged=i(),this.levelChanged=i(),this.siteChanged=i()}static{this.properties={enabled:5,floorFilterWidget:0,mapView:0}}static{this.styles=c}willUpdate(t){t.has("mapView")&&this.mapViewWatchHandler(),t.has("enabled")&&this.enabledWatchHandler()}async mapViewWatchHandler(){this.mapView&&await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?this.mapView&&await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}render(){return o`<div ${n(this._floorFilterElement)}></div>`}async loaded(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement.value&&this._floorFilterElement.value.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement&&(this._floorFilterElement.value=document.createElement("div"))}async _initFloorFilter(t){let a=t?.map;a&&await a.when(()=>{t&&this.enabled&&a?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new f({container:this._floorFilterElement.value,view:t}),this._facilityHandle?.remove(),this._facilityHandle=l?.watch(()=>this.floorFilterWidget?.facility,e=>{e&&this.facilityChanged.emit(e)}),this._levelHandle?.remove(),this._levelHandle=l.watch(()=>this.floorFilterWidget?.level,e=>{e&&this.levelChanged.emit(e)}),this._siteHandle?.remove(),this._siteHandle=l.watch(()=>this.floorFilterWidget?.site,e=>{e&&this.siteChanged.emit(e)}))})}};m("map-floor-filter",r);return r},"widgets/FloorFilter","core/reactiveUtils")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{a as l}from"./BKFF52SE.js";import"./TKZAMPEI.js";import"./5JJMGPOW.js";import"./TYX345MZ.js";import{a as t}from"./OCJK42MK.js";import"./MBISQ27L.js";import"./XYWNICC6.js";import"./T5HS6V2W.js";import"./UKRALD6X.js";import"./LNLMLBWQ.js";import"./P5YTFAF2.js";import"./YM3BZKEU.js";import"./35D5FZVV.js";import"./HQK5RHHT.js";import"./ZQ37ZZNF.js";import"./5UWT66A7.js";import"./SFG2REQW.js";import"./CUJCDLHI.js";import"./VU3T4WSA.js";import"./W4UTR6WU.js";import"./SE7GHLP3.js";import"./EQUAUHBX.js";import"./YEY4KEHA.js";import"./X5H73PHG.js";import"./OCUMDT2M.js";import"./TUP3HPO4.js";import"./WKMAPRRW.js";import"./OR4HXHSY.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{a as l}from"./26K4UTAF.js";import"./3FMOO3PJ.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import{a as t}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{a as m}from"./GCYLODHA.js";import{a as p}from"./TSKD22JZ.js";import"./XJPOVJV7.js";import"./LDNQ56OK.js";import"./3HUY3T5F.js";import"./Z6G5PBUQ.js";import{a,b as n}from"./BJQOXAOG.js";import"./ASTWNDH6.js";import"./J3QMHA2M.js";import"./TKZAMPEI.js";import{a as r}from"./3G4RHRXD.js";import{a as s}from"./F7KJCNKP.js";import"./2IHQU2FX.js";import"./CGLFPVBM.js";import"./OEJAW72H.js";import"./5JJMGPOW.js";import"./TYX345MZ.js";import{a as i}from"./OCJK42MK.js";import"./MBISQ27L.js";import"./XYWNICC6.js";import"./T5HS6V2W.js";import"./UKRALD6X.js";import"./LNLMLBWQ.js";import"./P5YTFAF2.js";import"./YM3BZKEU.js";import"./35D5FZVV.js";import"./HQK5RHHT.js";import"./ZQ37ZZNF.js";import"./5UWT66A7.js";import"./SFG2REQW.js";import"./CUJCDLHI.js";import"./VU3T4WSA.js";import"./W4UTR6WU.js";import"./SE7GHLP3.js";import"./EQUAUHBX.js";import"./YEY4KEHA.js";import"./X5H73PHG.js";import"./OCUMDT2M.js";import"./TUP3HPO4.js";import"./WKMAPRRW.js";import"./OR4HXHSY.js";var g=async(e,t,l)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{a as m}from"./KNSFKF4Q.js";import{a as p}from"./FTMEQQF5.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import{a,b as n}from"./CZKXDUOH.js";import"./SC5EOUVT.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import{a as r}from"./DKB6JTUF.js";import{a as s}from"./7DVOR4SY.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import{a as i}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var g=async(e,t,l)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import"./OR4HXHSY.js";var e="Sie verf\xFCgen nicht \xFCber gen\xFCgend Credits, um diesen Vorgang auszuf\xFChren. Wenden Sie sich an den ArcGIS-Systemadministrator.",r="Dieses Werkzeug wurde \xFCber ein Notebook ver\xF6ffentlicht. Zugriff auf ArcGIS\xA0Notebooks ist in Ihrer Organisation blockiert. Wenden Sie sich an den Administrator, um die Einstellung anzupassen.",n="${ dataPath } darf nicht ${ additionalProperty } aufweisen.",i="${ dataPath } muss mit einem der folgenden Schemas \xFCbereinstimmen: ${ schemaOptions }.",a="Speichern Sie die Karte erneut.",t="Credit-Sch\xE4tzung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und lassen Sie die Credits erneut sch\xE4tzen.",s="Bei Ausf\xFChrung der Analyse ist ein Fehler aufgetreten.",l="${ dataPath } muss einem der folgenden zul\xE4ssigen Werte entsprechen: ${ allowedValues }.",o="Fehler beim Speichern des Analyseverlaufs",d="Der Verlaufsspeicher ist voll. Entfernen Sie einige Elemente aus dem Analyseverlauf, und speichern Sie erneut.",h="Der Service-Name enth\xE4lt mindestens ein ung\xFCltiges Zeichen.",c="Das Speichern des tempor\xE4ren Layers als gehosteten Feature-Layer wurde nicht abgeschlossen.",u="Die folgenden Berechtigungen sind f\xFCr die Ausf\xFChrung dieses Werkzeugs erforderlich: ${ privileges }. <calcite-link href='${docLink}' target='_blank'>Weitere Informationen</calcite-link>",m="Fehler beim Abrufen der Schl\xFCsseleigenschaften.",g="Fehler beim Laden des Layers.",f="Layer ist nicht verf\xFCgbar.",S="${ dataPath } darf nicht mehr als ${ limit } Elemente enthalten.",b="Fehler beim Speichern des Modells. Versuchen Sie noch einmal zu speichern.",y="${ dataPath } darf nicht weniger als ${ limit } Elemente enthalten.",E="${ dataPath } darf nicht k\xFCrzer als ${ limit } Zeichen sein.",p="Das Modellelement konnte nicht geladen werden. Stellen Sie sicher, dass das Modell vorhanden ist und Ihnen entsprechende Zugriffsberechtigungen gew\xE4hrt wurden.",F="Fehler beim Abschlie\xDFen der Anforderung.",k="Sie sind nicht berechtigt, dieses Werkzeug auszuf\xFChren. <calcite-link target='_blank' href='${ docLink }'>Weitere Informationen</calcite-link>",v="Fehler beim Anmelden beim Portal.",P="Fehler beim Lesen der Eingabedaten.",L="${ dataPath } fehlt eine Eigenschaft mit dem Namen ${ missingProperty }.",I="Ein Ergebnis-Layer mit diesem Namen ist bereits vorhanden. Ergebnis-Layer m\xFCssen innerhalb der Organisation \xFCber einen eindeutigen Namen verf\xFCgen. Verwenden Sie einen anderen Namen.",$="Der Ausgabename enth\xE4lt mindestens ein ung\xFCltiges Zeichen. <calcite-link href='${docLink}' target='_blank'>Weitere Informationen</calcite-link>",A="Beim Ver\xF6ffentlichen des tempor\xE4ren Layers als gehosteten Layer ist ein Fehler aufgetreten, da mindestens ein Feld ung\xFCltig ist. F\xFChren Sie das Werkzeug erneut aus, um einen Layer mit g\xFCltigen Feldern zu erstellen.",N="Auftrags\xFCbermittlung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und f\xFChren Sie die Analyse erneut aus.",z="${ dataPath } muss mindestens ein Zeichen enthalten, bei dem es sich nicht um ein Leerstellenzeichen handelt.",w={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:n,anyOfValues:i,cannotWriteToItemResource:a,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:h,hostedFeatureServicePublishDidNotComplete:c,insufficientPermissions:u,keyPropertiesError:m,layerLoadFailure:g,layerUnavailable:f,maxItems:S,mbFailedToSave:b,minItems:y,minLength:E,modelNotFound:p,networkError:F,noPermissionToAccessTool:k,portalLoadError:v,queryFeaturesError:P,requiredProperty:L,serviceNameExistsError:I,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:A,toolValidationError:N,whiteSpacePattern:z};export{e as InsufficientCreditsError,r as accessBlocked,n as additionalProperty,i as anyOfValues,a as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,h as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,u as insufficientPermissions,m as keyPropertiesError,g as layerLoadFailure,f as layerUnavailable,S as maxItems,b as mbFailedToSave,y as minItems,E as minLength,p as modelNotFound,F as networkError,k as noPermissionToAccessTool,v as portalLoadError,P as queryFeaturesError,L as requiredProperty,I as serviceNameExistsError,$ as specialCharactersInServiceNameError,A as temporaryLayerFieldsError,N as toolValidationError,z as whiteSpacePattern};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import"./QPIMTXPL.js";var e="Sie verf\xFCgen nicht \xFCber gen\xFCgend Credits, um diesen Vorgang auszuf\xFChren. Wenden Sie sich an den ArcGIS-Systemadministrator.",r="Dieses Werkzeug wurde \xFCber ein Notebook ver\xF6ffentlicht. Zugriff auf ArcGIS\xA0Notebooks ist in Ihrer Organisation blockiert. Wenden Sie sich an den Administrator, um die Einstellung anzupassen.",n="${ dataPath } darf nicht ${ additionalProperty } aufweisen.",i="${ dataPath } muss mit einem der folgenden Schemas \xFCbereinstimmen: ${ schemaOptions }.",a="Speichern Sie die Karte erneut.",t="Credit-Sch\xE4tzung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und lassen Sie die Credits erneut sch\xE4tzen.",s="Bei Ausf\xFChrung der Analyse ist ein Fehler aufgetreten.",l="${ dataPath } muss einem der folgenden zul\xE4ssigen Werte entsprechen: ${ allowedValues }.",o="Fehler beim Speichern des Analyseverlaufs",d="Der Verlaufsspeicher ist voll. Entfernen Sie einige Elemente aus dem Analyseverlauf, und speichern Sie erneut.",h="Der Service-Name enth\xE4lt mindestens ein ung\xFCltiges Zeichen.",c="Das Speichern des tempor\xE4ren Layers als gehosteten Feature-Layer wurde nicht abgeschlossen.",u="Die folgenden Berechtigungen sind f\xFCr die Ausf\xFChrung dieses Werkzeugs erforderlich: ${ privileges }. <calcite-link href='${docLink}' target='_blank'>Weitere Informationen</calcite-link>",m="Fehler beim Abrufen der Schl\xFCsseleigenschaften.",g="Fehler beim Laden des Layers.",f="Layer ist nicht verf\xFCgbar.",S="${ dataPath } darf nicht mehr als ${ limit } Elemente enthalten.",b="Fehler beim Speichern des Modells. Versuchen Sie noch einmal zu speichern.",y="${ dataPath } darf nicht weniger als ${ limit } Elemente enthalten.",E="${ dataPath } darf nicht k\xFCrzer als ${ limit } Zeichen sein.",p="Das Modellelement konnte nicht geladen werden. Stellen Sie sicher, dass das Modell vorhanden ist und Ihnen entsprechende Zugriffsberechtigungen gew\xE4hrt wurden.",F="Fehler beim Abschlie\xDFen der Anforderung.",k="Sie sind nicht berechtigt, dieses Werkzeug auszuf\xFChren. <calcite-link target='_blank' href='${ docLink }'>Weitere Informationen</calcite-link>",v="Fehler beim Anmelden beim Portal.",P="Fehler beim Lesen der Eingabedaten.",L="${ dataPath } fehlt eine Eigenschaft mit dem Namen ${ missingProperty }.",I="Ein Ergebnis-Layer mit diesem Namen ist bereits vorhanden. Ergebnis-Layer m\xFCssen innerhalb der Organisation \xFCber einen eindeutigen Namen verf\xFCgen. Verwenden Sie einen anderen Namen.",$="Der Ausgabename enth\xE4lt mindestens ein ung\xFCltiges Zeichen. <calcite-link href='${docLink}' target='_blank'>Weitere Informationen</calcite-link>",A="Beim Ver\xF6ffentlichen des tempor\xE4ren Layers als gehosteten Layer ist ein Fehler aufgetreten, da mindestens ein Feld ung\xFCltig ist. F\xFChren Sie das Werkzeug erneut aus, um einen Layer mit g\xFCltigen Feldern zu erstellen.",N="Auftrags\xFCbermittlung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und f\xFChren Sie die Analyse erneut aus.",z="${ dataPath } muss mindestens ein Zeichen enthalten, bei dem es sich nicht um ein Leerstellenzeichen handelt.",w={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:n,anyOfValues:i,cannotWriteToItemResource:a,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:h,hostedFeatureServicePublishDidNotComplete:c,insufficientPermissions:u,keyPropertiesError:m,layerLoadFailure:g,layerUnavailable:f,maxItems:S,mbFailedToSave:b,minItems:y,minLength:E,modelNotFound:p,networkError:F,noPermissionToAccessTool:k,portalLoadError:v,queryFeaturesError:P,requiredProperty:L,serviceNameExistsError:I,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:A,toolValidationError:N,whiteSpacePattern:z};export{e as InsufficientCreditsError,r as accessBlocked,n as additionalProperty,i as anyOfValues,a as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,h as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,u as insufficientPermissions,m as keyPropertiesError,g as layerLoadFailure,f as layerUnavailable,S as maxItems,b as mbFailedToSave,y as minItems,E as minLength,p as modelNotFound,F as networkError,k as noPermissionToAccessTool,v as portalLoadError,P as queryFeaturesError,L as requiredProperty,I as serviceNameExistsError,$ as specialCharactersInServiceNameError,A as temporaryLayerFieldsError,N as toolValidationError,z as whiteSpacePattern};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{a as S}from"./WPAMUSBR.js";import{b as d,c as g,i as y,j as N}from"./XJPOVJV7.js";import{a as I}from"./3HUY3T5F.js";import{a as M,e as E,f as T,g as F}from"./J3QMHA2M.js";import{a as $,b as R}from"./2IHQU2FX.js";import{d as l,e as p,f as c}from"./CGLFPVBM.js";import{a as A}from"./OEJAW72H.js";import{a as x}from"./TYX345MZ.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
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{a as S}from"./BDXIKPLU.js";import{b as d,c as g,i as y,j as N}from"./G2ME4BAQ.js";import{a as I}from"./KOIDWEP3.js";import{a as M,e as E,f as T,g as F}from"./LPBP7CBN.js";import{a as $,b as R}from"./73AX72WY.js";import{d as l,e as p,f as c}from"./JUUVYK2H.js";import{a as A}from"./DKD2EGQP.js";import{a as x}from"./45M33Q5G.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};