@esri/solutions-components 1.1.2 → 1.1.4

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 (1010) hide show
  1. package/dist/cdn/23TGVNDT.js +18 -0
  2. package/dist/cdn/23ZZGLY2.js +4 -0
  3. package/dist/cdn/26APWI43.js +4 -0
  4. package/dist/cdn/26RD3PS2.js +4 -0
  5. package/dist/cdn/2BD3W5YF.js +4 -0
  6. package/dist/cdn/2BFOTQ6T.js +4 -0
  7. package/dist/cdn/2JIJ3PUL.js +5 -0
  8. package/dist/cdn/2KC7A44G.js +4 -0
  9. package/dist/cdn/2KRAHU3A.js +4 -0
  10. package/dist/cdn/2MCZSCMM.js +4 -0
  11. package/dist/cdn/2OFLAJMD.js +4 -0
  12. package/dist/cdn/2PF32KNA.js +4 -0
  13. package/dist/cdn/2TEHAFXZ.js +8 -0
  14. package/dist/cdn/2UD2JW6W.js +4 -0
  15. package/dist/cdn/34TH75YO.js +4 -0
  16. package/dist/cdn/35H4QXX3.js +4 -0
  17. package/dist/cdn/37H772BX.js +4 -0
  18. package/dist/cdn/3GUT3PQC.js +4 -0
  19. package/dist/cdn/3UHCAXWM.js +18 -0
  20. package/dist/cdn/42SQB2UV.js +4 -0
  21. package/dist/cdn/432NJDW7.js +4 -0
  22. package/dist/cdn/43PWS362.js +4 -0
  23. package/dist/cdn/4AFTBIQP.js +4 -0
  24. package/dist/cdn/4AJRDF43.js +18 -0
  25. package/dist/cdn/4JK4PIWF.js +4 -0
  26. package/dist/cdn/4LWLQBET.js +4 -0
  27. package/dist/cdn/4RHBTX4E.js +4 -0
  28. package/dist/cdn/4T7TU3LN.js +18 -0
  29. package/dist/cdn/4UZVBLR5.js +4 -0
  30. package/dist/cdn/4VQKM4WR.js +4 -0
  31. package/dist/cdn/4WESUM52.js +4 -0
  32. package/dist/cdn/4ZLBQ6D4.js +4 -0
  33. package/dist/cdn/4ZTHBEAN.js +4 -0
  34. package/dist/cdn/55LJV5DD.js +18 -0
  35. package/dist/cdn/56XBTT4O.js +4 -0
  36. package/dist/cdn/5ATO43XI.js +18 -0
  37. package/dist/cdn/5CJWMOL3.js +82 -0
  38. package/dist/cdn/5H5FZQQM.js +18 -0
  39. package/dist/cdn/5NJMTGSP.js +4 -0
  40. package/dist/cdn/5Q3767V4.js +4 -0
  41. package/dist/cdn/5RZG2Z6U.js +4 -0
  42. package/dist/cdn/5YRDMRWZ.js +4 -0
  43. package/dist/cdn/642TLBFZ.js +4 -0
  44. package/dist/cdn/6H2DI4QV.js +294 -0
  45. package/dist/cdn/6HLCOA2J.js +18 -0
  46. package/dist/cdn/6RKS45HC.js +4 -0
  47. package/dist/cdn/6X22FJS6.js +4 -0
  48. package/dist/cdn/6ZYP4HST.js +4 -0
  49. package/dist/cdn/7FNGCPHX.js +4 -0
  50. package/dist/cdn/7JHLTQPN.js +4 -0
  51. package/dist/cdn/7OMNOQ7U.js +21 -0
  52. package/dist/cdn/7UE74F3P.js +4 -0
  53. package/dist/cdn/7X7FF24S.js +4 -0
  54. package/dist/cdn/7ZYRFEY7.js +4 -0
  55. package/dist/cdn/A3CB7ASF.js +4 -0
  56. package/dist/cdn/A3Z5YQFM.js +4 -0
  57. package/dist/cdn/A4LRNV24.js +4 -0
  58. package/dist/cdn/AEKQAS23.js +4 -0
  59. package/dist/cdn/AEMFHUT3.js +4 -0
  60. package/dist/cdn/AHGBBFKK.js +89 -0
  61. package/dist/cdn/AJXG7IX5.js +4 -0
  62. package/dist/cdn/ALLC54AT.js +8 -0
  63. package/dist/cdn/AME2N5R6.js +4 -0
  64. package/dist/cdn/AMRA27LM.js +4 -0
  65. package/dist/cdn/AMTMX3BW.js +4 -0
  66. package/dist/cdn/ARGB7QOI.js +4 -0
  67. package/dist/cdn/ASCQB3WJ.js +18 -0
  68. package/dist/cdn/AVKNWJMU.js +4 -0
  69. package/dist/cdn/AWZPPOTN.js +4 -0
  70. package/dist/cdn/AYYWI4A3.js +4 -0
  71. package/dist/cdn/AZ3MBQZV.js +4 -0
  72. package/dist/cdn/AZYTSIFB.js +4 -0
  73. package/dist/cdn/B5YUOXDN.js +4 -0
  74. package/dist/cdn/BATYSOVB.js +18 -0
  75. package/dist/cdn/BBUKCBZH.js +4 -0
  76. package/dist/cdn/BE7RCTIW.js +4 -0
  77. package/dist/cdn/BEKDBEOP.js +4 -0
  78. package/dist/cdn/BFSYEFJF.js +4 -0
  79. package/dist/cdn/BGUOHLDS.js +4 -0
  80. package/dist/cdn/BJW5LXLH.js +18 -0
  81. package/dist/cdn/BLTZZN2S.js +4 -0
  82. package/dist/cdn/BNBQO7AY.js +4 -0
  83. package/dist/cdn/BOWAWB4X.js +4 -0
  84. package/dist/cdn/BQZGOJ7O.js +4 -0
  85. package/dist/cdn/BS7PISQQ.js +4 -0
  86. package/dist/cdn/BU6B533Y.js +4 -0
  87. package/dist/cdn/C23DNOM4.js +18 -0
  88. package/dist/cdn/C5233EHR.js +4 -0
  89. package/dist/cdn/C76FP4MR.js +4 -0
  90. package/dist/cdn/CAHFCE4T.js +4 -0
  91. package/dist/cdn/CCDB7WQC.js +4 -0
  92. package/dist/cdn/CDVDTOES.js +4 -0
  93. package/dist/cdn/CGZBTZJR.js +4 -0
  94. package/dist/cdn/CHDLTXQ4.js +4 -0
  95. package/dist/cdn/CKPGSBU3.js +4 -0
  96. package/dist/cdn/CLJPTIVQ.js +18 -0
  97. package/dist/cdn/CND6NAR6.js +18 -0
  98. package/dist/cdn/CO7NHF75.js +4 -0
  99. package/dist/cdn/CPNGY255.js +4 -0
  100. package/dist/cdn/CSIRFAU6.js +4 -0
  101. package/dist/cdn/CT7ABHK2.js +4 -0
  102. package/dist/cdn/CVM23Z3W.js +4 -0
  103. package/dist/cdn/CW75KMEC.js +18 -0
  104. package/dist/cdn/CWHNOFME.js +4 -0
  105. package/dist/cdn/CYTR3HPD.js +18 -0
  106. package/dist/cdn/D56T5IN2.js +4 -0
  107. package/dist/cdn/D5XPA4NF.js +4 -0
  108. package/dist/cdn/DAACTUXD.js +4 -0
  109. package/dist/cdn/DFIJIF4I.js +4 -0
  110. package/dist/cdn/DOCE3G4U.js +18 -0
  111. package/dist/cdn/DP4TDB7X.js +4 -0
  112. package/dist/cdn/DYKLK7SE.js +4 -0
  113. package/dist/cdn/DZHQD6XA.js +4 -0
  114. package/dist/cdn/EDUHM55V.js +4 -0
  115. package/dist/cdn/EFMP72GE.js +4 -0
  116. package/dist/cdn/EFXWPDM6.js +4 -0
  117. package/dist/cdn/ENQBSPO5.js +18 -0
  118. package/dist/cdn/ERLXDIUS.js +4 -0
  119. package/dist/cdn/ESFGGYTR.js +4 -0
  120. package/dist/cdn/EU36FEVM.js +4 -0
  121. package/dist/cdn/EW6KAVCF.js +4 -0
  122. package/dist/cdn/EZNXFGZK.js +18 -0
  123. package/dist/cdn/F55B5BNY.js +4 -0
  124. package/dist/cdn/F623IGPX.js +4 -0
  125. package/dist/cdn/F7BLCQ4K.js +4 -0
  126. package/dist/cdn/F7GNLKUF.js +4 -0
  127. package/dist/cdn/FAIXLWVI.js +4 -0
  128. package/dist/cdn/FBLRDUIQ.js +4 -0
  129. package/dist/cdn/FC6IKY2W.js +4 -0
  130. package/dist/cdn/FDGW2TGF.js +4 -0
  131. package/dist/cdn/FGUII2EP.js +4 -0
  132. package/dist/cdn/FLRWOPU6.js +4 -0
  133. package/dist/cdn/FNCUTBX7.js +4 -0
  134. package/dist/cdn/FNXB73R7.js +4 -0
  135. package/dist/cdn/FSBYBBAR.js +4 -0
  136. package/dist/cdn/FZZ64EU7.js +4 -0
  137. package/dist/cdn/G2YLNGCI.js +4 -0
  138. package/dist/cdn/G5GGYFR7.js +4 -0
  139. package/dist/cdn/GAIF3U4K.js +4 -0
  140. package/dist/cdn/GE4VUR2S.js +4 -0
  141. package/dist/cdn/GFTWHNVR.js +20 -0
  142. package/dist/cdn/GILNSHEK.js +4 -0
  143. package/dist/cdn/GKPJSKC5.js +4 -0
  144. package/dist/cdn/GKQNL5AY.js +4 -0
  145. package/dist/cdn/GLAMS6KT.js +4 -0
  146. package/dist/cdn/GRGB44ZC.js +18 -0
  147. package/dist/cdn/GSWDAF7B.js +4 -0
  148. package/dist/cdn/GWMD5UNN.js +18 -0
  149. package/dist/cdn/GXDKEOCW.js +4 -0
  150. package/dist/cdn/GZ26EW7P.js +4 -0
  151. package/dist/cdn/GZCFCVWF.js +4 -0
  152. package/dist/cdn/GZF6LAN2.js +4 -0
  153. package/dist/cdn/GZGJXMQF.js +4 -0
  154. package/dist/cdn/GZPGG7RQ.js +4 -0
  155. package/dist/cdn/H2MXX7QX.js +4 -0
  156. package/dist/cdn/H6TOIC3H.js +4 -0
  157. package/dist/cdn/HAV76SHY.js +18 -0
  158. package/dist/cdn/HB35K7EJ.js +4 -0
  159. package/dist/cdn/HJ7NVYR7.js +18 -0
  160. package/dist/cdn/HL4DPJUK.js +4 -0
  161. package/dist/cdn/HN6IYS37.js +4 -0
  162. package/dist/cdn/HPKB6T3A.js +4 -0
  163. package/dist/cdn/HRMQHYLD.js +5 -0
  164. package/dist/cdn/HY422JHS.js +4 -0
  165. package/dist/cdn/I27E56PQ.js +4 -0
  166. package/dist/cdn/I2EDD3VI.js +18 -0
  167. package/dist/cdn/I73TU25U.js +4 -0
  168. package/dist/cdn/IFKIUWVZ.js +4 -0
  169. package/dist/cdn/IFO37FNO.js +4 -0
  170. package/dist/cdn/IJD2AMEM.js +4 -0
  171. package/dist/cdn/ILIP26MD.js +4 -0
  172. package/dist/cdn/IPRPAA72.js +6 -0
  173. package/dist/cdn/IQU3AOVC.js +19 -0
  174. package/dist/cdn/IUVFHVNJ.js +4 -0
  175. package/dist/cdn/IY2WYTE7.js +4 -0
  176. package/dist/cdn/J425E2LA.js +4 -0
  177. package/dist/cdn/J5A6CFMG.js +4 -0
  178. package/dist/cdn/J5UADYNK.js +29 -0
  179. package/dist/cdn/JMI6ELYN.js +4 -0
  180. package/dist/cdn/JR2ALUWD.js +18 -0
  181. package/dist/cdn/JVH5EVFM.js +4 -0
  182. package/dist/cdn/JW3A3AEJ.js +18 -0
  183. package/dist/cdn/JWJZMQQB.js +4 -0
  184. package/dist/cdn/JXF5ZDU3.js +4 -0
  185. package/dist/cdn/JYWHUF5Y.js +4 -0
  186. package/dist/cdn/JZ33N4OT.js +4 -0
  187. package/dist/cdn/KBQL7WYT.js +18 -0
  188. package/dist/cdn/KCVL34ZO.js +4 -0
  189. package/dist/cdn/KD6FTCWQ.js +4 -0
  190. package/dist/cdn/KVWH2WJX.js +4 -0
  191. package/dist/cdn/LCY63BRS.js +18 -0
  192. package/dist/cdn/LEOKXG3G.js +4 -0
  193. package/dist/cdn/LFLGSFUG.js +4 -0
  194. package/dist/cdn/LGEMJU6L.js +18 -0
  195. package/dist/cdn/LGR4ZJLK.js +18 -0
  196. package/dist/cdn/LPX6FY5M.js +4 -0
  197. package/dist/cdn/LR7LKOIM.js +25 -0
  198. package/dist/cdn/LU7IE2XC.js +4 -0
  199. package/dist/cdn/LZBPDHCZ.js +4 -0
  200. package/dist/cdn/MAWXGZOQ.js +4 -0
  201. package/dist/cdn/MBMSJWWT.js +18 -0
  202. package/dist/cdn/MGI27N6Z.js +4 -0
  203. package/dist/cdn/ML7RDHJK.js +4 -0
  204. package/dist/cdn/MOO5HUTK.js +4 -0
  205. package/dist/cdn/MQURQKFM.js +4 -0
  206. package/dist/cdn/MX4IW5YN.js +4 -0
  207. package/dist/cdn/MZJFQAPA.js +4 -0
  208. package/dist/cdn/N43VXMCI.js +4 -0
  209. package/dist/cdn/N6YIMQMF.js +4 -0
  210. package/dist/cdn/N7KG6TLQ.js +4 -0
  211. package/dist/cdn/NEHD7BWS.js +4 -0
  212. package/dist/cdn/NMCQMLLM.js +4 -0
  213. package/dist/cdn/NPDND32J.js +4 -0
  214. package/dist/cdn/NVJDDGAX.js +4 -0
  215. package/dist/cdn/NYIMVG6I.js +4 -0
  216. package/dist/cdn/O3KT4DDI.js +4 -0
  217. package/dist/cdn/O42KNPRU.js +4 -0
  218. package/dist/cdn/OC4LXNQP.js +19 -0
  219. package/dist/cdn/OF2LVTY5.js +4 -0
  220. package/dist/cdn/OMVONFJ5.js +4 -0
  221. package/dist/cdn/OT3PGUNJ.js +18 -0
  222. package/dist/cdn/OVKQ7TBK.js +4 -0
  223. package/dist/cdn/OVSHX34W.js +4 -0
  224. package/dist/cdn/OWRNLUAM.js +4 -0
  225. package/dist/cdn/P5EZ7TAW.js +18 -0
  226. package/dist/cdn/PBYEPN4U.js +4 -0
  227. package/dist/cdn/PG6P7PAY.js +4 -0
  228. package/dist/cdn/PHPBVYAN.js +4 -0
  229. package/dist/cdn/PHVURERU.js +4 -0
  230. package/dist/cdn/PJV6EGV6.js +18 -0
  231. package/dist/cdn/PREOVEW5.js +4 -0
  232. package/dist/cdn/PSKXBFNJ.js +4 -0
  233. package/dist/cdn/PTMZ4JVP.js +4 -0
  234. package/dist/cdn/Q7CROOM3.js +18 -0
  235. package/dist/cdn/QCIKLF3J.js +18 -0
  236. package/dist/cdn/QEZD2RKR.js +4 -0
  237. package/dist/cdn/QHESJJYD.js +4 -0
  238. package/dist/cdn/QHPKAKUU.js +18 -0
  239. package/dist/cdn/QK7BUSQS.js +4 -0
  240. package/dist/cdn/QK7PQ3CA.js +18 -0
  241. package/dist/cdn/QNSEGUHW.js +4 -0
  242. package/dist/cdn/QVIM3F2B.js +4 -0
  243. package/dist/cdn/QW4O42N2.js +4 -0
  244. package/dist/cdn/RAVRHF3Y.js +18 -0
  245. package/dist/cdn/REYRBAER.js +4 -0
  246. package/dist/cdn/RF2OPXXP.js +4 -0
  247. package/dist/cdn/RMWUCFHB.js +4 -0
  248. package/dist/cdn/RPUGAOID.js +4 -0
  249. package/dist/cdn/RYIKOVC4.js +4 -0
  250. package/dist/cdn/S2UELZDS.js +18 -0
  251. package/dist/cdn/S7BA22Z5.js +4 -0
  252. package/dist/cdn/S7NA5UUY.js +18 -0
  253. package/dist/cdn/SBXXDOKG.js +4 -0
  254. package/dist/cdn/SGIHH4DD.js +18 -0
  255. package/dist/cdn/SMQE63G2.js +4 -0
  256. package/dist/cdn/SQCBTMSG.js +8 -0
  257. package/dist/cdn/SQWENXE7.js +9 -0
  258. package/dist/cdn/SUDZEHPR.js +4 -0
  259. package/dist/cdn/SV5GC3GK.js +18 -0
  260. package/dist/cdn/T4NISNVO.js +4 -0
  261. package/dist/cdn/T5T7GCVV.js +4 -0
  262. package/dist/cdn/TBFX3EVD.js +4 -0
  263. package/dist/cdn/TBL7BIV7.js +4 -0
  264. package/dist/cdn/TH2LQVXB.js +18 -0
  265. package/dist/cdn/TKTNS4QT.js +4 -0
  266. package/dist/cdn/TNUUEL6P.js +18 -0
  267. package/dist/cdn/TO6VYOOK.js +4 -0
  268. package/dist/cdn/TRDAVDVV.js +4 -0
  269. package/dist/cdn/TSHEHQMQ.js +4 -0
  270. package/dist/cdn/TTCJV5HS.js +18 -0
  271. package/dist/cdn/TTJFLDHP.js +18 -0
  272. package/dist/cdn/TYMMEDNB.js +4 -0
  273. package/dist/cdn/TZCZPG5X.js +4 -0
  274. package/dist/cdn/TZV7I7OA.js +18 -0
  275. package/dist/cdn/U22L3RI5.js +19 -0
  276. package/dist/cdn/U3LQ6PH3.js +4 -0
  277. package/dist/cdn/UBTZZR25.js +4 -0
  278. package/dist/cdn/UC7ZG7S3.js +4 -0
  279. package/dist/cdn/UNXAQV3E.js +4 -0
  280. package/dist/cdn/UO7HYYBG.js +4 -0
  281. package/dist/cdn/UOW7X5K6.js +4 -0
  282. package/dist/cdn/UREMM23E.js +4 -0
  283. package/dist/cdn/URGLXCMP.js +4 -0
  284. package/dist/cdn/UTVAGL7O.js +4 -0
  285. package/dist/cdn/UTYWKZWI.js +18 -0
  286. package/dist/cdn/UVP3QEXZ.js +18 -0
  287. package/dist/cdn/UXATKH5S.js +18 -0
  288. package/dist/cdn/V2SGK6W7.js +4 -0
  289. package/dist/cdn/V2SI23ZA.js +18 -0
  290. package/dist/cdn/V3S6TB66.js +4 -0
  291. package/dist/cdn/V4HOSOVM.js +4 -0
  292. package/dist/cdn/V7SZH2RC.js +4 -0
  293. package/dist/cdn/VAJPAOUI.js +4 -0
  294. package/dist/cdn/VDDRSCWE.js +4 -0
  295. package/dist/cdn/VDXJT6KX.js +4 -0
  296. package/dist/cdn/VEWASZJB.js +4 -0
  297. package/dist/cdn/VIH7GETV.js +4 -0
  298. package/dist/cdn/VMJTYN3P.js +4 -0
  299. package/dist/cdn/VNMNXAVQ.js +18 -0
  300. package/dist/cdn/VRU7IM5G.js +4 -0
  301. package/dist/cdn/VY6LOXWH.js +4 -0
  302. package/dist/cdn/VZG7PYDY.js +4 -0
  303. package/dist/cdn/W2U332RR.js +18 -0
  304. package/dist/cdn/W3S4K3XB.js +4 -0
  305. package/dist/cdn/W75JNTGT.js +18 -0
  306. package/dist/cdn/W7S3KRZJ.js +4 -0
  307. package/dist/cdn/WJZXBWVM.js +18 -0
  308. package/dist/cdn/WKK3GS5R.js +4 -0
  309. package/dist/cdn/WKYYGS7X.js +4 -0
  310. package/dist/cdn/WNVKL67O.js +4 -0
  311. package/dist/cdn/WPHV7YFJ.js +4 -0
  312. package/dist/cdn/WPUWPBLC.js +4 -0
  313. package/dist/cdn/WTVUV6X4.js +4 -0
  314. package/dist/cdn/WTWNLOAO.js +6 -0
  315. package/dist/cdn/WUDA7K22.js +4 -0
  316. package/dist/cdn/WVOMDGDW.js +4 -0
  317. package/dist/cdn/WYZM42EH.js +18 -0
  318. package/dist/cdn/X7F7A7RU.js +18 -0
  319. package/dist/cdn/XCHD5XOJ.js +4 -0
  320. package/dist/cdn/XDU754Y3.js +18 -0
  321. package/dist/cdn/XHI4A5HF.js +4 -0
  322. package/dist/cdn/XJOSHL6G.js +4 -0
  323. package/dist/cdn/XPXK6WN7.js +4 -0
  324. package/dist/cdn/XQW5OF3W.js +4 -0
  325. package/dist/cdn/XRQ5EWWN.js +4 -0
  326. package/dist/cdn/XZPAWADO.js +18 -0
  327. package/dist/cdn/Y2BHCBN2.js +4 -0
  328. package/dist/cdn/Y6LWGXAH.js +18 -0
  329. package/dist/cdn/Y6XTLVDJ.js +9 -0
  330. package/dist/cdn/YA36R2QR.js +4 -0
  331. package/dist/cdn/YDTQ22TO.js +18 -0
  332. package/dist/cdn/YJO3OCFG.js +4 -0
  333. package/dist/cdn/YOKFSPW5.js +4 -0
  334. package/dist/cdn/YV22TPLV.js +18 -0
  335. package/dist/cdn/YVKX627B.js +4 -0
  336. package/dist/cdn/Z42ZJZHJ.js +4 -0
  337. package/dist/cdn/Z6NHNS5M.js +385 -0
  338. package/dist/cdn/Z7Q2HPG7.js +4 -0
  339. package/dist/cdn/ZAGFS5XW.js +4 -0
  340. package/dist/cdn/ZPUYJ7B5.js +18 -0
  341. package/dist/cdn/ZQ5UFA6J.js +4 -0
  342. package/dist/cdn/ZWEGUQZQ.js +4 -0
  343. package/dist/cdn/ZZZ5IXTY.js +18 -0
  344. package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -0
  349. package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -0
  350. package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
  352. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
  353. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
  354. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  355. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  356. package/dist/cdn/index.js +2 -2
  357. package/dist/cdn/main.css +1 -1
  358. package/dist/chunks/Auth.js +14 -14
  359. package/dist/chunks/CardsFetcher.js +1 -1
  360. package/dist/chunks/appConfig.js +1 -1
  361. package/dist/chunks/cardFetchingUtils.js +1 -1
  362. package/dist/chunks/cardsHelpers.js +1 -1
  363. package/dist/chunks/common.js +1 -1
  364. package/dist/chunks/deployAppContexts.js +1 -1
  365. package/dist/chunks/downloadUtils.js +1 -1
  366. package/dist/chunks/getItemIcon.js +1 -1
  367. package/dist/chunks/helpers.js +30 -25
  368. package/dist/chunks/interfaces.js +1 -1
  369. package/dist/chunks/loadModules.js +1 -1
  370. package/dist/chunks/mapViewUtils.js +1 -1
  371. package/dist/chunks/pciUtils.js +1 -1
  372. package/dist/chunks/popupUtils.js +1 -1
  373. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  374. package/dist/chunks/privilegeUtils.js +1 -1
  375. package/dist/chunks/publicNotificationContext.js +1 -1
  376. package/dist/chunks/queryUtils.js +1 -1
  377. package/dist/chunks/runtime.js +1 -1
  378. package/dist/chunks/solution-store.js +1 -1
  379. package/dist/chunks/templates.js +1 -1
  380. package/dist/chunks/useT9n.js +1 -1
  381. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  382. package/dist/components/basemap-gallery/customElement.js +1 -1
  383. package/dist/components/buffer-tools/customElement.js +1 -1
  384. package/dist/components/card-manager/customElement.js +1 -1
  385. package/dist/components/consent-manager/customElement.js +1 -1
  386. package/dist/components/create-feature/customElement.js +1 -1
  387. package/dist/components/create-related-feature/customElement.js +1 -1
  388. package/dist/components/crowdsource-manager/customElement.js +1 -1
  389. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  390. package/dist/components/deduct-calculator/customElement.js +1 -1
  391. package/dist/components/delete-button/customElement.js +1 -1
  392. package/dist/components/delete-dialog/customElement.js +1 -1
  393. package/dist/components/edit-card/customElement.js +1 -1
  394. package/dist/components/feature-details/customElement.js +1 -1
  395. package/dist/components/feature-list/customElement.js +1 -1
  396. package/dist/components/field-selection/customElement.js +1 -1
  397. package/dist/components/floor-filter/customElement.js +1 -1
  398. package/dist/components/info-card/customElement.js +1 -1
  399. package/dist/components/json-editor/customElement.js +1 -1
  400. package/dist/components/layer-list/customElement.js +1 -1
  401. package/dist/components/layer-table/customElement.js +16 -17
  402. package/dist/components/map-card/customElement.js +14 -15
  403. package/dist/components/map-draw-tools/customElement.js +1 -1
  404. package/dist/components/map-fullscreen/customElement.js +1 -1
  405. package/dist/components/map-layer-picker/customElement.d.ts +6 -0
  406. package/dist/components/map-layer-picker/customElement.js +25 -19
  407. package/dist/components/map-legend/customElement.js +1 -1
  408. package/dist/components/map-picker/customElement.js +1 -1
  409. package/dist/components/map-search/customElement.js +1 -1
  410. package/dist/components/map-select-tools/customElement.js +1 -1
  411. package/dist/components/map-tools/customElement.js +1 -1
  412. package/dist/components/pci-calculator/customElement.js +1 -1
  413. package/dist/components/pdf-download/customElement.js +1 -1
  414. package/dist/components/public-notification/customElement.js +1 -1
  415. package/dist/components/refine-selection/customElement.js +1 -1
  416. package/dist/components/selection-tool/customElement.js +1 -1
  417. package/dist/components/solution-configuration/customElement.js +1 -1
  418. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  419. package/dist/components/solution-configure-titles/customElement.js +1 -1
  420. package/dist/components/solution-contents/customElement.js +1 -1
  421. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  422. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  423. package/dist/components/solution-deployed-card/customElement.js +1 -1
  424. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  425. package/dist/components/solution-details-card/customElement.js +6 -6
  426. package/dist/components/solution-details-panel/customElement.js +27 -30
  427. package/dist/components/solution-details-panel/index.d.ts +1 -1
  428. package/dist/components/solution-details-panel/index.js +1 -1
  429. package/dist/components/solution-item/customElement.js +1 -1
  430. package/dist/components/solution-item-accordion/customElement.js +1 -1
  431. package/dist/components/solution-item-details/customElement.js +1 -1
  432. package/dist/components/solution-item-diagram/customElement.js +1 -1
  433. package/dist/components/solution-item-icon/customElement.js +1 -1
  434. package/dist/components/solution-item-sharing/customElement.js +1 -1
  435. package/dist/components/solution-organization-variables/customElement.js +1 -1
  436. package/dist/components/solution-resource-card/customElement.d.ts +37 -0
  437. package/dist/components/solution-resource-card/customElement.js +49 -0
  438. package/dist/components/solution-resource-item/customElement.js +1 -1
  439. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  440. package/dist/components/solution-social-share/customElement.js +1 -1
  441. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  442. package/dist/components/solution-template-data/customElement.js +1 -1
  443. package/dist/components/solution-variables/customElement.js +1 -1
  444. package/dist/components/solutions-all-panel/customElement.d.ts +2 -2
  445. package/dist/components/solutions-all-panel/customElement.js +5 -2
  446. package/dist/components/solutions-all-shell/customElement.js +25 -20
  447. package/dist/components/solutions-deploy-app/customElement.js +18 -18
  448. package/dist/components/solutions-deploy-app/index.d.ts +1 -1
  449. package/dist/components/solutions-deploy-app/index.js +1 -1
  450. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -0
  451. package/dist/components/solutions-deploy-app-nav/customElement.js +47 -26
  452. package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
  453. package/dist/components/solutions-deploy-app-nav/index.js +4 -1
  454. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  455. package/dist/components/solutions-deployed-panel/customElement.d.ts +2 -2
  456. package/dist/components/solutions-deployed-panel/customElement.js +9 -6
  457. package/dist/components/solutions-deployed-shell/customElement.js +5 -5
  458. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  459. package/dist/components/solutions-filter-panel/customElement.js +21 -21
  460. package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
  461. package/dist/components/solutions-resource-panel/customElement.js +43 -0
  462. package/dist/components/solutions-resources/customElement.d.ts +7 -0
  463. package/dist/components/solutions-resources/customElement.js +80 -0
  464. package/dist/components/solutions-resources/index.d.ts +11 -0
  465. package/dist/components/solutions-resources/index.js +11 -0
  466. package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
  467. package/dist/components/solutions-resources-shell/customElement.js +43 -0
  468. package/dist/components/solutions-resources-shell/index.d.ts +5 -0
  469. package/dist/components/solutions-resources-shell/index.js +5 -0
  470. package/dist/components/solutions-searchsort-toolbar/customElement.js +5 -2
  471. package/dist/components/spatial-ref/customElement.js +1 -1
  472. package/dist/components/store-manager/customElement.js +1 -1
  473. package/dist/docs/api.json +669 -568
  474. package/dist/docs/docs.json +631 -546
  475. package/dist/docs/vscode.html-custom-data.json +85 -75
  476. package/dist/docs/web-types.json +214 -188
  477. package/dist/index.d.ts +49 -49
  478. package/dist/index.js +1 -1
  479. package/dist/loader.js +8 -8
  480. package/dist/types/lumina.d.ts +25 -25
  481. package/dist/types/preact.d.ts +29 -29
  482. package/dist/types/preact10.d.ts +33 -33
  483. package/dist/types/react.d.ts +33 -33
  484. package/dist/types/stencil.d.ts +25 -25
  485. package/dist/utils/helpers.d.ts +8 -1
  486. package/dist/utils/interfaces.d.ts +6 -2
  487. package/package.json +1 -1
  488. package/dist/cdn/23IRBL5F.js +0 -18
  489. package/dist/cdn/2BG54SQT.js +0 -18
  490. package/dist/cdn/2NNSKNYF.js +0 -4
  491. package/dist/cdn/2PCYWVDT.js +0 -4
  492. package/dist/cdn/2SPXLWJO.js +0 -4
  493. package/dist/cdn/2TPODPFQ.js +0 -4
  494. package/dist/cdn/2TSN3PFX.js +0 -385
  495. package/dist/cdn/2X27XYSX.js +0 -4
  496. package/dist/cdn/2YJKIAGN.js +0 -18
  497. package/dist/cdn/2Z3MNBH3.js +0 -4
  498. package/dist/cdn/3AIKEAXO.js +0 -25
  499. package/dist/cdn/3CXAQKWJ.js +0 -18
  500. package/dist/cdn/3D6XZSQQ.js +0 -4
  501. package/dist/cdn/3NOB3U76.js +0 -4
  502. package/dist/cdn/3Q67Q7SB.js +0 -4
  503. package/dist/cdn/3V7OTVXH.js +0 -18
  504. package/dist/cdn/46CVQ75Q.js +0 -4
  505. package/dist/cdn/4ATJSWKM.js +0 -18
  506. package/dist/cdn/4CQTDBOU.js +0 -4
  507. package/dist/cdn/4HHR7PZR.js +0 -4
  508. package/dist/cdn/4KTBRCKI.js +0 -18
  509. package/dist/cdn/4LC4KY4J.js +0 -18
  510. package/dist/cdn/4RFYINXZ.js +0 -18
  511. package/dist/cdn/4S5VXIST.js +0 -18
  512. package/dist/cdn/4VNLVOPL.js +0 -4
  513. package/dist/cdn/4WXC25SR.js +0 -19
  514. package/dist/cdn/52W3R4RL.js +0 -4
  515. package/dist/cdn/52YHWBMR.js +0 -4
  516. package/dist/cdn/54DZZUSQ.js +0 -4
  517. package/dist/cdn/56BEAQZV.js +0 -4
  518. package/dist/cdn/56F5USQF.js +0 -4
  519. package/dist/cdn/57D4BUE5.js +0 -4
  520. package/dist/cdn/5AT5TJIP.js +0 -4
  521. package/dist/cdn/5ES6SYN7.js +0 -4
  522. package/dist/cdn/5HDRNMQJ.js +0 -4
  523. package/dist/cdn/5L5QLMGU.js +0 -18
  524. package/dist/cdn/5MR2SW5F.js +0 -4
  525. package/dist/cdn/5OTGWJLM.js +0 -4
  526. package/dist/cdn/5SL47RKJ.js +0 -4
  527. package/dist/cdn/5SPE3LHH.js +0 -4
  528. package/dist/cdn/623KYN7N.js +0 -18
  529. package/dist/cdn/65O4PRAV.js +0 -4
  530. package/dist/cdn/6LCAW5ML.js +0 -4
  531. package/dist/cdn/6QBHMCGQ.js +0 -4
  532. package/dist/cdn/6S7UIEGR.js +0 -18
  533. package/dist/cdn/6SKVVL25.js +0 -4
  534. package/dist/cdn/6TLN7QJA.js +0 -4
  535. package/dist/cdn/6UG5WDWV.js +0 -4
  536. package/dist/cdn/6XOYHC7J.js +0 -4
  537. package/dist/cdn/76VH62DU.js +0 -4
  538. package/dist/cdn/77DDT2NZ.js +0 -18
  539. package/dist/cdn/7JQBDEYQ.js +0 -4
  540. package/dist/cdn/7LGPOI25.js +0 -4
  541. package/dist/cdn/7MR2GERG.js +0 -4
  542. package/dist/cdn/7MU53L6J.js +0 -4
  543. package/dist/cdn/7QLTAN6E.js +0 -4
  544. package/dist/cdn/7SQLFBYH.js +0 -4
  545. package/dist/cdn/7SVO5H2S.js +0 -18
  546. package/dist/cdn/7SW2TDGW.js +0 -20
  547. package/dist/cdn/A2YLMAEB.js +0 -4
  548. package/dist/cdn/A5SRIAVS.js +0 -18
  549. package/dist/cdn/AD4DWMVS.js +0 -4
  550. package/dist/cdn/AJ4JBY3E.js +0 -4
  551. package/dist/cdn/AKNFGCOO.js +0 -4
  552. package/dist/cdn/ALPBERVX.js +0 -4
  553. package/dist/cdn/AQCUMS2V.js +0 -4
  554. package/dist/cdn/AQYGK2BV.js +0 -4
  555. package/dist/cdn/AUZAHXSQ.js +0 -4
  556. package/dist/cdn/AWBHRN6T.js +0 -4
  557. package/dist/cdn/AWV7PNON.js +0 -4
  558. package/dist/cdn/AWYME7F7.js +0 -4
  559. package/dist/cdn/AXAW5ILZ.js +0 -18
  560. package/dist/cdn/B6OALUXR.js +0 -4
  561. package/dist/cdn/BBQYN3N7.js +0 -4
  562. package/dist/cdn/BDEGFKHR.js +0 -4
  563. package/dist/cdn/BFPWVVHF.js +0 -4
  564. package/dist/cdn/BFZS6QRQ.js +0 -18
  565. package/dist/cdn/BJQAP3O2.js +0 -4
  566. package/dist/cdn/BMSCYDPC.js +0 -4
  567. package/dist/cdn/BOOF3NBM.js +0 -4
  568. package/dist/cdn/BQIRDUCX.js +0 -4
  569. package/dist/cdn/BSKFNFRN.js +0 -4
  570. package/dist/cdn/BTK7H2UX.js +0 -18
  571. package/dist/cdn/BVKE6BFN.js +0 -4
  572. package/dist/cdn/C3RJP556.js +0 -6
  573. package/dist/cdn/C72XLEL7.js +0 -4
  574. package/dist/cdn/CBGO2YBX.js +0 -4
  575. package/dist/cdn/CBVSJH3I.js +0 -18
  576. package/dist/cdn/CD46MAFQ.js +0 -4
  577. package/dist/cdn/CD4VLBIG.js +0 -4
  578. package/dist/cdn/CEKBH7TV.js +0 -4
  579. package/dist/cdn/CEORPQJR.js +0 -4
  580. package/dist/cdn/CIVTXV63.js +0 -4
  581. package/dist/cdn/CWP75JYL.js +0 -18
  582. package/dist/cdn/CZRJGD6M.js +0 -4
  583. package/dist/cdn/D2BNLIR4.js +0 -4
  584. package/dist/cdn/D33EIGNT.js +0 -4
  585. package/dist/cdn/DADQEBSP.js +0 -4
  586. package/dist/cdn/DCM6XZAR.js +0 -4
  587. package/dist/cdn/DDBL2HDT.js +0 -4
  588. package/dist/cdn/DE3YUG4H.js +0 -4
  589. package/dist/cdn/DHMSET7H.js +0 -4
  590. package/dist/cdn/DOX3JTNJ.js +0 -4
  591. package/dist/cdn/DOZB6DFJ.js +0 -4
  592. package/dist/cdn/DRUIQVWC.js +0 -4
  593. package/dist/cdn/DV3WDXZ7.js +0 -4
  594. package/dist/cdn/DZI3NZZS.js +0 -18
  595. package/dist/cdn/EEBZHKDM.js +0 -8
  596. package/dist/cdn/EGOHOQ75.js +0 -4
  597. package/dist/cdn/EHUHNBX5.js +0 -4
  598. package/dist/cdn/ELHKOYWS.js +0 -4
  599. package/dist/cdn/ENIYIB7V.js +0 -18
  600. package/dist/cdn/EPZ7O3EU.js +0 -4
  601. package/dist/cdn/EQFPI3FP.js +0 -4
  602. package/dist/cdn/ES5BMMHS.js +0 -4
  603. package/dist/cdn/ESCVJT5H.js +0 -4
  604. package/dist/cdn/EY67YJ3O.js +0 -4
  605. package/dist/cdn/FBIVVIPK.js +0 -9
  606. package/dist/cdn/FCX66S7M.js +0 -4
  607. package/dist/cdn/FHWM6U56.js +0 -4
  608. package/dist/cdn/FNFLIMK4.js +0 -4
  609. package/dist/cdn/FPMQYHKA.js +0 -18
  610. package/dist/cdn/FQ4OKLWN.js +0 -4
  611. package/dist/cdn/FRQXGBUS.js +0 -4
  612. package/dist/cdn/FRUFK6VO.js +0 -4
  613. package/dist/cdn/FTXGL447.js +0 -18
  614. package/dist/cdn/G2I5HABN.js +0 -4
  615. package/dist/cdn/G2Z7STGZ.js +0 -4
  616. package/dist/cdn/G4YRJUBG.js +0 -18
  617. package/dist/cdn/GCTPCYBJ.js +0 -8
  618. package/dist/cdn/GD4QMW4I.js +0 -4
  619. package/dist/cdn/GF5KUEBW.js +0 -4
  620. package/dist/cdn/GKH6SK5J.js +0 -4
  621. package/dist/cdn/GLO46OKK.js +0 -4
  622. package/dist/cdn/GMIPLZOK.js +0 -18
  623. package/dist/cdn/GPTGQ7YV.js +0 -18
  624. package/dist/cdn/GQSDM4R7.js +0 -4
  625. package/dist/cdn/GUT2FDGN.js +0 -4
  626. package/dist/cdn/GV62Y43A.js +0 -4
  627. package/dist/cdn/GX3BMYNP.js +0 -4
  628. package/dist/cdn/GYQVTQNA.js +0 -4
  629. package/dist/cdn/H2CI7OUX.js +0 -18
  630. package/dist/cdn/H6HF6HSD.js +0 -4
  631. package/dist/cdn/H7VJRQAW.js +0 -4
  632. package/dist/cdn/HAZITU6Q.js +0 -4
  633. package/dist/cdn/HBUDH3U6.js +0 -4
  634. package/dist/cdn/HDRPW73J.js +0 -18
  635. package/dist/cdn/HEBJZ2UQ.js +0 -18
  636. package/dist/cdn/HKJUYDHF.js +0 -4
  637. package/dist/cdn/HKY6SY7D.js +0 -4
  638. package/dist/cdn/HOP2FWBH.js +0 -18
  639. package/dist/cdn/HPI4FZPC.js +0 -18
  640. package/dist/cdn/HQVMLALO.js +0 -18
  641. package/dist/cdn/HRLLJHAS.js +0 -4
  642. package/dist/cdn/HSNA2TI3.js +0 -4
  643. package/dist/cdn/HUCMZEDU.js +0 -4
  644. package/dist/cdn/HUOOT4GV.js +0 -19
  645. package/dist/cdn/HX72RMB7.js +0 -5
  646. package/dist/cdn/HXCAD5K5.js +0 -4
  647. package/dist/cdn/HYIFXLL5.js +0 -4
  648. package/dist/cdn/HZLUYQD7.js +0 -4
  649. package/dist/cdn/I5MORTV6.js +0 -4
  650. package/dist/cdn/I66U7ET6.js +0 -4
  651. package/dist/cdn/IE3XKNUU.js +0 -4
  652. package/dist/cdn/IH5CADVW.js +0 -4
  653. package/dist/cdn/IIMUYPMO.js +0 -18
  654. package/dist/cdn/IJNJBT7T.js +0 -18
  655. package/dist/cdn/IMQR7CXF.js +0 -4
  656. package/dist/cdn/IMXNLCKH.js +0 -18
  657. package/dist/cdn/IQVE6W6Y.js +0 -4
  658. package/dist/cdn/IRHKLM6Z.js +0 -4
  659. package/dist/cdn/J33QV26U.js +0 -4
  660. package/dist/cdn/J6F3J2Q6.js +0 -18
  661. package/dist/cdn/JB5YQ3CN.js +0 -4
  662. package/dist/cdn/JCAPW2PV.js +0 -18
  663. package/dist/cdn/JKGMH4J5.js +0 -4
  664. package/dist/cdn/JN5XM3AT.js +0 -4
  665. package/dist/cdn/JRUXKUE3.js +0 -4
  666. package/dist/cdn/JZXBOMMZ.js +0 -4
  667. package/dist/cdn/KC24JR4A.js +0 -4
  668. package/dist/cdn/KDWK7NRY.js +0 -18
  669. package/dist/cdn/KERDLSZH.js +0 -4
  670. package/dist/cdn/KR7ZU66F.js +0 -18
  671. package/dist/cdn/KTHJ4VRR.js +0 -4
  672. package/dist/cdn/LDFEZP62.js +0 -4
  673. package/dist/cdn/LGYZHAI4.js +0 -4
  674. package/dist/cdn/LN54IQWS.js +0 -4
  675. package/dist/cdn/LNTE2YQ6.js +0 -18
  676. package/dist/cdn/LOKI5I7L.js +0 -4
  677. package/dist/cdn/LOLBOPYH.js +0 -4
  678. package/dist/cdn/LTSBVHHD.js +0 -4
  679. package/dist/cdn/LW3YV4M2.js +0 -4
  680. package/dist/cdn/LWU5XFP4.js +0 -4
  681. package/dist/cdn/LXFYLAHF.js +0 -4
  682. package/dist/cdn/LXMUEGOO.js +0 -9
  683. package/dist/cdn/LYLKQ45A.js +0 -4
  684. package/dist/cdn/M2L26H4Z.js +0 -4
  685. package/dist/cdn/MAFZV4UM.js +0 -4
  686. package/dist/cdn/MBF3EUPM.js +0 -4
  687. package/dist/cdn/MDL7NF2I.js +0 -4
  688. package/dist/cdn/MIJ52CTW.js +0 -4
  689. package/dist/cdn/MO5DXYLP.js +0 -4
  690. package/dist/cdn/MSUAXEZP.js +0 -4
  691. package/dist/cdn/MUZWUHB6.js +0 -4
  692. package/dist/cdn/MVZNCHUV.js +0 -4
  693. package/dist/cdn/MW5CGGVU.js +0 -4
  694. package/dist/cdn/MXOYXNB4.js +0 -4
  695. package/dist/cdn/NAV7MYUI.js +0 -4
  696. package/dist/cdn/NBT5QLPO.js +0 -4
  697. package/dist/cdn/NBTALLIF.js +0 -4
  698. package/dist/cdn/NBW47T6S.js +0 -4
  699. package/dist/cdn/NGDFUBVG.js +0 -6
  700. package/dist/cdn/NKGKBATM.js +0 -4
  701. package/dist/cdn/NSRTVCII.js +0 -4
  702. package/dist/cdn/NV3PO22N.js +0 -4
  703. package/dist/cdn/O3VQFZ3Z.js +0 -4
  704. package/dist/cdn/O4MSW7YU.js +0 -18
  705. package/dist/cdn/ODOM2KDI.js +0 -4
  706. package/dist/cdn/OL34ZYRL.js +0 -4
  707. package/dist/cdn/OOPF4GJM.js +0 -18
  708. package/dist/cdn/OR63XKHD.js +0 -18
  709. package/dist/cdn/OSKD73JO.js +0 -4
  710. package/dist/cdn/OSPMSWIL.js +0 -4
  711. package/dist/cdn/OY53JN5E.js +0 -18
  712. package/dist/cdn/OYZGMLSA.js +0 -18
  713. package/dist/cdn/P7LLQPML.js +0 -4
  714. package/dist/cdn/PCMVKKEJ.js +0 -4
  715. package/dist/cdn/PI7FQ7L6.js +0 -4
  716. package/dist/cdn/PKCH4S3D.js +0 -4
  717. package/dist/cdn/PODGSK2R.js +0 -4
  718. package/dist/cdn/PPRAWJ2S.js +0 -82
  719. package/dist/cdn/PR5LDTTA.js +0 -4
  720. package/dist/cdn/PRLO77AT.js +0 -4
  721. package/dist/cdn/PTROR6FA.js +0 -4
  722. package/dist/cdn/Q2PF3RGD.js +0 -4
  723. package/dist/cdn/Q5RZXHBC.js +0 -4
  724. package/dist/cdn/Q7XKQTSB.js +0 -29
  725. package/dist/cdn/QA44KCLS.js +0 -21
  726. package/dist/cdn/QC4PNSX4.js +0 -4
  727. package/dist/cdn/QG2MAKZO.js +0 -89
  728. package/dist/cdn/QJFIQKTM.js +0 -18
  729. package/dist/cdn/QJFO73DP.js +0 -4
  730. package/dist/cdn/QJRRAYAE.js +0 -18
  731. package/dist/cdn/QJSXBPEC.js +0 -4
  732. package/dist/cdn/QKMXHBVJ.js +0 -4
  733. package/dist/cdn/QSQJSM3O.js +0 -18
  734. package/dist/cdn/R2D3W4KP.js +0 -4
  735. package/dist/cdn/R5S6AVJ2.js +0 -4
  736. package/dist/cdn/RC3M6OYO.js +0 -18
  737. package/dist/cdn/RDQHY6XC.js +0 -4
  738. package/dist/cdn/RIVQ5IKO.js +0 -4
  739. package/dist/cdn/RP3IBJUX.js +0 -4
  740. package/dist/cdn/RQSJTZA3.js +0 -4
  741. package/dist/cdn/RTKZDB23.js +0 -4
  742. package/dist/cdn/SA7UFUQH.js +0 -4
  743. package/dist/cdn/SIOIWWJS.js +0 -4
  744. package/dist/cdn/SRLF2FFI.js +0 -4
  745. package/dist/cdn/SRRYBFQR.js +0 -4
  746. package/dist/cdn/SWSTQ6IK.js +0 -4
  747. package/dist/cdn/SXCMOFR2.js +0 -4
  748. package/dist/cdn/SXDHIKYQ.js +0 -8
  749. package/dist/cdn/SZ4MNX2Y.js +0 -4
  750. package/dist/cdn/T2YBAYAQ.js +0 -4
  751. package/dist/cdn/TEXTVYR5.js +0 -4
  752. package/dist/cdn/TGCFM7NB.js +0 -4
  753. package/dist/cdn/THCDH2C7.js +0 -18
  754. package/dist/cdn/TPVBZJZ3.js +0 -4
  755. package/dist/cdn/TQ4AHDWR.js +0 -4
  756. package/dist/cdn/TRYF7AHT.js +0 -4
  757. package/dist/cdn/U4IWP4JS.js +0 -4
  758. package/dist/cdn/U4RWFIG7.js +0 -4
  759. package/dist/cdn/U4TVHDBS.js +0 -18
  760. package/dist/cdn/UB7R344I.js +0 -4
  761. package/dist/cdn/UC6BRLFU.js +0 -4
  762. package/dist/cdn/UDMGJJ2R.js +0 -4
  763. package/dist/cdn/UKMB2MXN.js +0 -18
  764. package/dist/cdn/UMHBVDVZ.js +0 -4
  765. package/dist/cdn/UN7RXMMP.js +0 -4
  766. package/dist/cdn/UNBB5ILE.js +0 -4
  767. package/dist/cdn/UOBW4X3G.js +0 -4
  768. package/dist/cdn/UOKZMNT4.js +0 -4
  769. package/dist/cdn/UPEGEW7Y.js +0 -4
  770. package/dist/cdn/UQMZINRC.js +0 -4
  771. package/dist/cdn/UQXXXPST.js +0 -4
  772. package/dist/cdn/UTPRTU5R.js +0 -4
  773. package/dist/cdn/UUSA5NAZ.js +0 -4
  774. package/dist/cdn/UUVWV7UY.js +0 -18
  775. package/dist/cdn/UUZDYC3J.js +0 -4
  776. package/dist/cdn/UWHVRT6G.js +0 -18
  777. package/dist/cdn/UXGY5MYQ.js +0 -4
  778. package/dist/cdn/UXZ5Q6KA.js +0 -4
  779. package/dist/cdn/UYHOMAD5.js +0 -4
  780. package/dist/cdn/UZMTPRP5.js +0 -4
  781. package/dist/cdn/V4BMTWGU.js +0 -4
  782. package/dist/cdn/V5VD2VNR.js +0 -294
  783. package/dist/cdn/VAL2SJOM.js +0 -4
  784. package/dist/cdn/VCYRSDYS.js +0 -4
  785. package/dist/cdn/VDBTV44L.js +0 -4
  786. package/dist/cdn/VDO2G3KJ.js +0 -4
  787. package/dist/cdn/VDPD373C.js +0 -4
  788. package/dist/cdn/VIAYFIIF.js +0 -4
  789. package/dist/cdn/VJOMTPB6.js +0 -4
  790. package/dist/cdn/VMXZ6QEC.js +0 -18
  791. package/dist/cdn/VOFERCBL.js +0 -18
  792. package/dist/cdn/VON5LFYC.js +0 -4
  793. package/dist/cdn/VRUSOROS.js +0 -4
  794. package/dist/cdn/VT6BSI7M.js +0 -4
  795. package/dist/cdn/VUDTWZ6S.js +0 -4
  796. package/dist/cdn/VXZZHQOR.js +0 -4
  797. package/dist/cdn/VYL5GQJJ.js +0 -18
  798. package/dist/cdn/W2OWW2KK.js +0 -4
  799. package/dist/cdn/WBKVVBEW.js +0 -4
  800. package/dist/cdn/WCA4MTBT.js +0 -18
  801. package/dist/cdn/WCEXT5V3.js +0 -4
  802. package/dist/cdn/WEE2GK4X.js +0 -18
  803. package/dist/cdn/WGKEN6KZ.js +0 -4
  804. package/dist/cdn/WLVI4UZX.js +0 -4
  805. package/dist/cdn/WMISCC5A.js +0 -4
  806. package/dist/cdn/WPJSV2F5.js +0 -4
  807. package/dist/cdn/WRY74OLQ.js +0 -4
  808. package/dist/cdn/X3JYPDB3.js +0 -4
  809. package/dist/cdn/XALSX54V.js +0 -19
  810. package/dist/cdn/XFFSGMQM.js +0 -4
  811. package/dist/cdn/XGCOB2WB.js +0 -4
  812. package/dist/cdn/XJWO2VWT.js +0 -18
  813. package/dist/cdn/XKSMKJKC.js +0 -4
  814. package/dist/cdn/XOFA6EHO.js +0 -4
  815. package/dist/cdn/XZJXTTWM.js +0 -18
  816. package/dist/cdn/Y3LUWNH6.js +0 -4
  817. package/dist/cdn/Y3PZZL73.js +0 -4
  818. package/dist/cdn/Y55AAFJG.js +0 -4
  819. package/dist/cdn/Y6UXZU6F.js +0 -4
  820. package/dist/cdn/YGPLVBPY.js +0 -4
  821. package/dist/cdn/YKXQPUZE.js +0 -4
  822. package/dist/cdn/YPTLSCLI.js +0 -4
  823. package/dist/cdn/YQKRAZFZ.js +0 -4
  824. package/dist/cdn/YSP7FBQ7.js +0 -5
  825. package/dist/cdn/YVUWCUQ5.js +0 -4
  826. package/dist/cdn/ZF7EIUJK.js +0 -4
  827. package/dist/cdn/ZJDQWSA7.js +0 -4
  828. package/dist/cdn/ZSJ6IAKN.js +0 -18
  829. package/dist/cdn/ZWHWHHWW.js +0 -4
  830. package/dist/cdn/ZZ4AZSZG.js +0 -18
  831. package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +0 -1
  832. package/dist/cdn/assets/solution-article-card/t9n/messages.json +0 -1
  833. package/dist/components/solution-article-card/customElement.d.ts +0 -37
  834. package/dist/components/solution-article-card/customElement.js +0 -49
  835. package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
  836. package/dist/components/solutions-article-panel/customElement.js +0 -43
  837. package/dist/components/solutions-articles/customElement.d.ts +0 -7
  838. package/dist/components/solutions-articles/customElement.js +0 -79
  839. package/dist/components/solutions-articles/index.d.ts +0 -11
  840. package/dist/components/solutions-articles/index.js +0 -11
  841. package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
  842. package/dist/components/solutions-articles-shell/customElement.js +0 -43
  843. package/dist/components/solutions-articles-shell/index.d.ts +0 -5
  844. package/dist/components/solutions-articles-shell/index.js +0 -5
  845. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
  846. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
  847. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
  848. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
  849. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
  850. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
  851. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
  852. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
  853. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
  854. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
  855. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
  856. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
  857. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
  858. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
  859. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
  860. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
  861. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
  862. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
  863. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
  864. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
  865. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
  866. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
  867. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
  868. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
  869. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
  870. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
  871. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
  872. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
  873. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
  874. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
  875. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
  876. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
  877. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
  878. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
  879. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
  880. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
  881. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
  882. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
  883. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
  884. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
  885. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
  886. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
  887. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
  888. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
  889. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
  890. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
  891. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
  892. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
  893. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
  894. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
  895. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
  896. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
  897. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
  898. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
  899. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
  900. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
  901. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
  902. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
  903. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
  904. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
  905. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
  906. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
  907. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
  908. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
  909. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
  910. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
  911. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
  912. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
  913. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
  914. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
  915. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
  916. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
  917. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
  918. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
  919. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
  920. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
  921. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
  922. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
  923. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
  924. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
  925. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
  926. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
  927. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
  928. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
  929. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
  930. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
  931. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
  932. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
  933. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.en.json +0 -0
  934. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
  935. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
  936. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
  937. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
  938. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
  939. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
  940. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
  941. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
  942. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
  943. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
  944. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.json +0 -0
  945. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
  946. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
  947. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
  948. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
  949. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
  950. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
  951. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
  952. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
  953. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
  954. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
  955. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
  956. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
  957. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
  958. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
  959. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
  960. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
  961. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
  962. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
  963. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
  964. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
  965. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
  966. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
  967. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
  968. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
  969. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
  970. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
  971. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
  972. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
  973. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
  974. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
  975. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
  976. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
  977. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
  978. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
  979. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
  980. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
  981. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
  982. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
  983. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
  984. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
  985. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
  986. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
  987. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
  988. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
  989. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
  990. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
  991. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
  992. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
  993. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
  994. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
  995. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
  996. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
  997. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
  998. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
  999. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
  1000. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
  1001. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
  1002. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
  1003. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
  1004. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
  1005. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
  1006. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
  1007. /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
  1008. /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
  1009. /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
  1010. /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.js +0 -0
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{a as r}from"./FCX66S7M.js";import"./NGDFUBVG.js";import"./ELHKOYWS.js";import"./AD4DWMVS.js";import"./NV3PO22N.js";import"./6XOYHC7J.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import"./2X27XYSX.js";import{a as d}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as p}from"./RIVQ5IKO.js";import{E as l,h,i as n,l as a}from"./C3RJP556.js";import"./PR5LDTTA.js";var g=h`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{@apply block;}.container-border{@apply p-4;}.icon-text{@apply truncate;}`,o=class extends l{constructor(){super(...arguments),this.groupId="",this._translations=d({name:"solution-item-sharing",blocking:!0}),this.sharing=[]}static{this.properties={groupId:3,_translations:16,sharing:16}}static{this.styles=g}willUpdate(e){e.has("groupId")&&(this.hasUpdated||this.groupId!=="")&&this.itemIdWatchHandler()}itemIdWatchHandler(){let e=r.getItemInfo(this.groupId);this.sharing=e?.groupDetails||[]}render(){return n`<div class="container-border"><calcite-label>${this._translations.groupInfo}</calcite-label>${this._renderItems(this.sharing)}</div>`}async getShareInfo(){return this.sharing}_renderItems(e){return e&&e.length>0?e.map(t=>n`<calcite-label layout=inline><calcite-switch .checked=${t.shareItem} id=${t.id??a} name=setting @calciteSwitchChange=${this._updateItem} scale=m value=enabled></calcite-switch><solution-item-icon .type=${t.type} .typeKeywords=${t.typeKeywords}></solution-item-icon><span class="icon-text" title=${t.title??a}>${t.title}</span></calcite-label>`):null}_updateItem(e){let t=e.target.id;this.sharing=this.sharing.map(s=>{if(s.id===t){s.shareItem=e.target.checked;let i=r.getItemInfo(t);if(i){if(s.shareItem)i.groups?i.groups.indexOf(this.groupId)<0&&i.groups.push(this.groupId):i.groups=[this.groupId];else if(i.groups){let c=i.groups.indexOf(this.groupId);c>-1&&i.groups.splice(c,1)}r.setItemInfo(i)}}return s})}};p("solution-item-sharing",o);export{o as SolutionItemSharing};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import g from"./AQYGK2BV.js";import e from"./OSKD73JO.js";import"./KERDLSZH.js";import c from"./UQMZINRC.js";import{a as d}from"./54DZZUSQ.js";import{a as b}from"./4CQTDBOU.js";import"./HYIFXLL5.js";import{b as x}from"./GKH6SK5J.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{E as u,G as p,I as f,h as _,i as a,o as h}from"./C3RJP556.js";import"./PR5LDTTA.js";export default $arcgis.t(([,{a:r,b:g},{e:$,h:w,j:T,k:z,l:E,r:C,s:m,u:v}])=>{var k=_`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-left:20px}:host .instant-apps-interactive-legend__layer-caption--compact{--instant-apps-interactive-legend-ui-padding: 5px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;justify-content:flex-end;width:100%}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container .instant-apps-interactive-legend__show-all-btn{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:.75rem;padding-inline-start:20px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__zoom-to-btn{--calcite-icon-color: var(--calcite-ui-brand);--calcite-color-transparent-hover: transparent}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;font-size:.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}:host .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host:dir(rtl) .esri-legend__layer-caption calcite-action{margin-left:unset;margin-right:20px}`,s={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},y=class extends u{constructor(){super(...arguments),this._messages=b({name:"instant-apps-interactive-legend",blocking:!0}),this.expanded=!0,this.legendLayerExpandUpdated=h(),this.showAllSelected=h()}static{this.properties={legendvm:0,activeLayerInfo:0,layer:0,titleText:1,legendElementIndex:9,zoomTo:5,isInteractive:5,legendElement:0,expanded:5}}static{this.styles=k}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdated.emit(),(this.activeLayerInfo?.legendElements?.filter(e=>e.type==="relationship-ramp")).length>0&&g.set("relationshipRampExpandStates",{...r.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=$(this.layer),i=m(e,this.legendElement);E(e,this.legendvm.view,i)}}handleShowAll(){return()=>{let e=()=>{let t=z(n,this.legendElement.title);v({intLegendLayerData:t,layerId:this.layer.id})},i=()=>{let t=T(n);v({intLegendLayerData:t,layerId:this.layer.id})},n=r.data?.[this.layer?.id];if(m(n,this.legendElement)){e();return}i(),this.showAllSelected.emit()}}render(){let e=C(this.activeLayerInfo),i=w(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:n}=this,t=g.get("compact"),o=t?` ${s.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText?a`<span class=${p(s.layerCaptionText)} title=${this.titleText??f}>${this.titleText}</span>`:null,c=this.isInteractive||i?this.renderLegendElementCaptionControls():"";return a`<div class=${`${s.layerCaption}${o}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${n?this._messages.collapse:this._messages.expand} .label=${n?this._messages.collapse:this._messages.expand} scale=s></calcite-action>${t?[l,c]:[c,l]}</div>`}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${s.layerCaptionBtnContainerNoText}`;return d("layer-caption-btn-container",a`<div class=${`${s.layerCaptionBtnContainer}${e}`}>${this.renderShowAllZoomToButtons()}</div>`)}renderShowAllZoomToButtons(){return g.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="zoomToCompact",o=this.zoomTo&&[a`<calcite-action id=${t} class=${p(s.zoomTo)} @click=${this.handleZoomTo()} .icon=${"magnifying-glass-plus"} appearance=transparent scale=s .text=${this._messages.zoomTo}></calcite-action>`,a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"",l=n?a`<button @click=${this.handleShowAll()} class=${p(s.showAll)}>${this._messages.showAll}</button>`:null;return[o,l]}renderButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="showAll",o="zoomTo",l=n&&[d("show-all-button",a`<calcite-button id=${t} .label=${this._messages.showAll} @click=${this.handleShowAll()} .iconStart=${"list-check-all"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.showAll}>${this._messages.showAll}</calcite-tooltip>`]||"",c=this.zoomTo&&[d("zoom-to-button",a`<calcite-button id=${o} .label=${this._messages.zoomTo} @click=${this.handleZoomTo()} .iconStart=${"magnifying-glass-plus"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${o} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"";return[l,c]}};x("instant-apps-interactive-legend-legend-element-caption",y);return y},c,e,g)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{a}from"./ODOM2KDI.js";import{a as l,b as r}from"./5MR2SW5F.js";import"./D2BNLIR4.js";import"./CD46MAFQ.js";import{d as i}from"./3NOB3U76.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import{a as t}from"./U4IWP4JS.js";import"./2SPXLWJO.js";import"./2Z3MNBH3.js";import"./NBTALLIF.js";import"./KC24JR4A.js";import"./PKCH4S3D.js";import"./QC4PNSX4.js";import"./G2Z7STGZ.js";import"./A2YLMAEB.js";import"./W2OWW2KK.js";import"./6UG5WDWV.js";import"./JRUXKUE3.js";import"./YGPLVBPY.js";import"./7MU53L6J.js";import"./TPVBZJZ3.js";import"./Y55AAFJG.js";import"./Q2PF3RGD.js";import"./46CVQ75Q.js";import"./AUZAHXSQ.js";import"./XKSMKJKC.js";import"./5AT5TJIP.js";import"./2TPODPFQ.js";import"./3Q67Q7SB.js";import"./PR5LDTTA.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,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,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{d as s}from"./3NOB3U76.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import"./PR5LDTTA.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a as buildUiSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{a as t}from"./I66U7ET6.js";import{a}from"./MSUAXEZP.js";import{b as o}from"./A2YLMAEB.js";var m=async(e,l,s)=>{let r={label:`{{${e}.sections.group.picker.facets.label:translate}}`,key:"groups",display:"single-select",operation:"OR",options:[{label:`{{${e}.sections.group.picker.facets.myGroups.label:translate}}`,key:"my-group",selected:!0,predicates:[{owner:s.currentUser.username,typekeywords:{not:t}}]},{label:`{{${e}.sections.group.picker.facets.myOrganization.label:translate}}`,key:"my-organization",selected:!1,predicates:[{orgid:s.currentUser.orgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}]};return s.communityOrgId&&r.options.push({label:`{{${e}.sections.group.picker.facets.myCommunity.label:translate}}`,key:"my-community",selected:!1,predicates:[{orgid:s.communityOrgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}),{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{headerTag:"h3"},elements:[{labelKey:`${e}.fields.name.label`,type:"Control",scope:"/properties/name",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.channelNameRequiredError`,allowShowBeforeInteract:!0}]}}]},{type:"Section",labelKey:`${e}.sections.settings.label`,options:{headerTag:"h3"},elements:[{type:"Control",scope:"/properties/allowAsAnonymous",labelKey:`${e}.fields.allowAsAnonymous.label`,options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.allowAsAnonymous.helperText`}}},{type:"Control",scope:"/properties/blockWords",label:"Blocked words",labelKey:`${e}.fields.blockWords.label`,options:{control:"hub-field-input-input",type:"textarea",helperText:{labelKey:`${e}.fields.blockWords.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.blockWords.formatError`}]}}]},{type:"Section",labelKey:`${e}.sections.permissions.label`,options:{headerTag:"h3"},elements:[{type:"Section",labelKey:`${e}.sections.public.label`,options:{headerTag:"h4"},elements:[{type:"Control",scope:"/properties/publicConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"anonymous",description:`{{${e}.fields.public.anonymous.description:translate}}`,label:`{{${e}.fields.public.anonymous.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`]},{roleType:"authenticated",description:`{{${e}.fields.public.authenticated.description:translate}}`,label:`{{${e}.fields.public.authenticated.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.organization.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/orgConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"member",description:`{{${e}.fields.organization.member.description:translate}}`,label:`{{${e}.fields.organization.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.organization.admin.description:translate}}`,label:`{{${e}.fields.organization.admin.label:translate}}`,disabled:!0,permissionLabels:[`{{${e}.sections.permissions.options.owner:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.group.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/groupConfigs",options:{control:"hub-field-permissions",actions:[{label:`{{${e}.sections.group.picker.button:translate}}`,type:"add",options:{label:`{{${e}.sections.group.picker.title:translate}}`,entityType:"group",catalogs:[a(e,"allGroups","group",{user:s.currentUser})],facets:[r],defaultValues:{member:o,admin:o}}},{ariaLabel:`{{${e}.sections.group.remove.button:translate}}`,buttonStyle:"outline",buttonKind:"neutral",type:"remove",icon:"x"}],roles:[{roleType:"member",description:`{{${e}.fields.group.member.description:translate}}`,label:`{{${e}.fields.group.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.group.admin.description:translate}}`,label:`{{${e}.fields.group.admin.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`,`{{${e}.sections.permissions.options.manage:translate}}`]}]}}]}]}]}};export{m as a};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{a as E}from"./I5MORTV6.js";import"./GKH6SK5J.js";import{a as S,c as m,d,e as _,f,g as x}from"./BOOF3NBM.js";import"./2X27XYSX.js";import{b as C}from"./4VNLVOPL.js";import{b as $}from"./DCM6XZAR.js";import{a as v}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as I}from"./RIVQ5IKO.js";import{C as c,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./C3RJP556.js";import"./PR5LDTTA.js";var V=y`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,g=class extends F{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=v({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=c(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=c(),this._featureList=c(),this._selectedRelatedFeature=[],this._layerList=c(),this._createRelatedFeature=c(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=c(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=c(),this._commentSubmittedAlertNode=c(),this._sortPopoverNode=c(),this.togglePanel=b(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=V}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await $(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return l`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await d(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],n=!1;t.results.length>0&&t.results.forEach(r=>{r.type==="graphic"&&i.push(r.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),n=a.length>0);let h=s.concat(a);if(h.length>0){this.mapView.popupEnabled=!0;let r={features:h,location:e.mapPoint,updateLocationEnabled:!n};await this.mapView.openPopup(r)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i,s=[];for(let n of this._mapImageryLayersId){let h=this.mapView&&await d(this.mapView,n);if(h?.url&&t)try{let r=await this.identify?.identify(h.url,t);if(r?.results?.length){s=r.results,i=h;break}}catch(r){console.error(r)}}let a=[];return s.forEach(n=>{let h=n.layerId,r=i?.sublayers?.items.find(P=>P.id===h),w=r?.popupTemplate;r?.popupEnabled&&w&&(n.feature.popupTemplate=w,a.push(n.feature))}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await S(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await C([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&t.popupEnabled&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let n=s.expressions?.find(h=>h.id===a.id);n!=null&&(a.name=n.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{a as C}from"./SIOIWWJS.js";import{a as v,b as E,p as y}from"./C3RJP556.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{e as l}from"./2X27XYSX.js";import{e as c}from"./4VNLVOPL.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{a as p}from"./UXZ5Q6KA.js";import{a as n}from"./ODOM2KDI.js";import"./DDBL2HDT.js";import{a as r,b as i}from"./5MR2SW5F.js";import"./D2BNLIR4.js";import"./CD46MAFQ.js";import{d as a}from"./3NOB3U76.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import{a as t}from"./U4IWP4JS.js";import"./2SPXLWJO.js";import"./2Z3MNBH3.js";import"./NBTALLIF.js";import"./KC24JR4A.js";import"./PKCH4S3D.js";import"./QC4PNSX4.js";import"./G2Z7STGZ.js";import"./A2YLMAEB.js";import"./W2OWW2KK.js";import"./6UG5WDWV.js";import"./JRUXKUE3.js";import"./YGPLVBPY.js";import"./7MU53L6J.js";import"./TPVBZJZ3.js";import"./Y55AAFJG.js";import"./Q2PF3RGD.js";import"./46CVQ75Q.js";import"./AUZAHXSQ.js";import"./XKSMKJKC.js";import"./5AT5TJIP.js";import"./2TPODPFQ.js";import"./3Q67Q7SB.js";import"./PR5LDTTA.js";var h=async(e,s,o)=>{var l;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,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,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},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"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:p((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.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",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:n(o.currentUser.groups),disabled:!a("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h as buildUiSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- var E;(function(r){r.ASC="ASC",r.DESC="DESC"})(E||(E={}));var A;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(A||(A={}));var n;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(n||(n={}));var e;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(e||(e={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var _;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(_||(_={}));var N;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(N||(N={}));var p;(function(r){r.POST="post"})(p||(p={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var D;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(D||(D={}));var I;(function(r){r.CSV="csv",r.JSON="json"})(I||(I={}));var u;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(u||(u={}));var O;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(O||(O={}));var a;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(a||(a={}));var i;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(i||(i={}));var R;(function(r){r.CHANNEL_ACL="channelAcl"})(R||(R={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var v;(function(r){r.ADMIN="admin",r.MEMBER="member"})(v||(v={}));var f;(function(r){r.CONTENT="content"})(f||(f={}));export{I as a,u as b,R as c,U as d,v as e,f};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{b as A}from"./PPRAWJ2S.js";import"./NGDFUBVG.js";import"./ELHKOYWS.js";import"./AD4DWMVS.js";import"./NV3PO22N.js";import"./6XOYHC7J.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import"./MAFZV4UM.js";import{a as C}from"./I5MORTV6.js";import"./YSP7FBQ7.js";import"./GKH6SK5J.js";import{c as F,d as O,j as y}from"./BOOF3NBM.js";import{j as b}from"./2X27XYSX.js";import{c as S}from"./4VNLVOPL.js";import{b as x}from"./DCM6XZAR.js";import{a as E}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as v}from"./RIVQ5IKO.js";import{C as u,D as g,E as T,G as f,h as w,i as o,l as c,o as _,r as I}from"./C3RJP556.js";import"./PR5LDTTA.js";var H=w`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,m=class extends T{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._hideTable=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.columnReorder=_(),this.featureSelectionChange=_(),this.toggleFilter=_(),this.showDelete=_(),this.relatedRecordToggled=_(),this.editMultipleFeatures=_(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_hideTable:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(t=>t.id)||[];let e=this.mapInfo?.layerOptions?.configLayerOrder;this._enabledLayerIds=e?this._enabledLayerIds.sort((t,i)=>e.indexOf(t)-e.indexOf(i)):this._enabledLayerIds,this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){if(this._hideTable=!1,this._fetchingData=!0,!this._layer){this._fetchingData=!1,this._hideTable=!0;return}try{await this._layer.when(),this._definitionExpression=this._layer.definitionExpression||"",this._floorField=this._layer.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl()}catch(e){console.error(e),this._hideTable=!0}finally{this._fetchingData=!1}}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async setColumnOrder(e){this._setColumnTemplates(e)}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,h=this.mapView.allLayerViews.toArray(),n;h.some(async r=>r.layer.title===l?.title&&r.layer.type==="feature"?(n=r,this.mapView&&await y([i],n,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._size=0,this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData||this._hideTable?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",h=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${h&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${n=>void this._searchTextChanged(n)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}updated(){this._table&&this.updateRelatedAttachmentColumns()}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getLayerOption(e){let t;return this.mapInfo?.layerOptions?.layers.some(i=>i.id===e?(t=i,!0):!1),t}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table,s=this._getLayerOption(t?.id||"");return o`<div class="display-flex" slot=${e??c}><field-selection .configExtraFields=${s?.extraFields} .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),h=this._featuresEmpty(),n=this.featureSelectionMode==="single",r=this.enableCSV;if(this._relatedFeatureTable){let p=await this._queryRelatedFeatures();r=p&&Object.keys(p).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!n&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:h,toolTip:this._translations.selectAll}),!n&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:h,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),r&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:h,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,h,n){let r=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${r} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,n)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,relatedRecordsEnabled:!0,attachmentsEnabled:!0,highlightEnabled:!1,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this._table?.viewModel.addHandles(this._table.on("column-reorder",this._handleColumnReorder.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._layerEditHandle=s.on("edits",async()=>{await new Promise(a=>setTimeout(a,50)),await this._refresh(!0)}),this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0,this._layerEditHandle&&this._layerEditHandle.remove();let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}_handleColumnReorder(){this.columnReorder.emit()}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}_setColumnTemplates(e){this._table&&e&&(this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:e}))}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(l);h&&h<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.highlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let h=await this._queryRelatedFeatures(),n=[];h&&h[l]?.features&&(h[l].features.forEach(r=>{r.attributes&&n.push(r.attributes[e.objectIdField])}),i=n.length>0?n:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,h)=>{if(!h.hidden){let n=h?.name||h?.fieldName;n&&l.push(n.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(h=>h.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(e){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let t=this._getSelectedLayer(this.selectedRelatedIds);if(t&&this.relatedRecordToggled.emit(t),!e){let i=this._getSelectedIds();this.featureSelectionChange.emit(i)}}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await y(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s=this._getLayerOption(e),a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(r=>r.fieldName));let h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(r=>s?.fields&&s.fields.indexOf(r)>-1):l.length>0?l:void 0,n;return t&&(n=t.reduce((r,d)=>{let p={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&r.push(p):l.length>0?l.indexOf(d.name)>-1&&r.push(p):r.push(p),r},[])),n?h?n?.sort(this._sortFields.bind(this,h)):n:[]}updateRelatedAttachmentColumns(){let e=this._getLayerOption(this._layer?.id||""),t=this.hasAttachmentsEnabled(this._layer),i=!0,s="attachments",a=(e?.extraFields||[]).reduce((h,n)=>(n.startsWith("related:")?h.related.push(n.split("related:")[1]):h.extra.push(n),h),{related:[],extra:[]}),l=a.extra.some(h=>h.toLowerCase()===s);a&&(t=l&&t,i=a.related.length>0,this._table?.columns.forEach(h=>{h.fieldName.startsWith("EsriFeatureTableRelationshipColumn")&&(h.hidden=!a.related.includes(h.effectiveLabel)),h.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")&&(h.hidden=!a.extra.some(n=>n.toLowerCase()===h.effectiveLabel.toLowerCase()))})),this._table.relatedRecordsEnabled=i,this._table.attachmentsEnabled=t}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};v("layer-table",m);export{m as LayerTable};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A as b};
@@ -1,6 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},I=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var j=Symbol.for("controller"),ue=o=>typeof o=="object"&&o!==null&&(j in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),as=o=>typeof o?.then=="function";var k,O=o=>{k!==o&&(k=o,queueMicrotask(()=>k===o?k=void 0:0))},H=o=>k,w=[],Rt=o=>{if(o===void 0){w=[];return}let t=w.indexOf(o);w=t===-1?[...w,o]:w.slice(0,t+1),queueMicrotask(()=>w=[])},Mt=()=>w,L,cs=o=>{L!==o&&(L=o,queueMicrotask(()=>L===o?L=void 0:0))},fe=()=>{let o=L;return L=void 0,o},It=async(o,t)=>{let e=Y(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},kt=async o=>{let t=Y(o);return await t.ready,t},Y=o=>{let e=H().manager.X(o);if(e!==void 0)return e;if(ue(o))return o;let s=fe();if(s!==void 0)return s},Q=!1,ls=o=>{Q=!0;try{return o()}finally{Q=!1}};var Z=globalThis,X=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),jt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ut)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(X&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&jt.set(e,t))}return t}toString(){return this.cssText}},Ht=o=>new z(typeof o=="string"?o:o+"",void 0,ut),me=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new z(e,o,ut)},zt=(o,t)=>{if(X)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Z.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},ft=X?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Ht(e)})(o):o;var{is:ye,defineProperty:ge,getOwnPropertyDescriptor:ve,getOwnPropertyNames:Ee,getOwnPropertySymbols:$e,getPrototypeOf:be}=Object,et=globalThis,Vt=et.trustedTypes,_e=Vt?Vt.emptyScript:"",Ae=et.reactiveElementPolyfillSupport,V=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?_e:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},B=(o,t)=>!ye(o,t),Bt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:B};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Bt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&ge(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=ve(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Bt}static _$Ei(){if(this.hasOwnProperty(V("elementProperties")))return;let t=be(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(V("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(V("properties"))){let e=this.properties,s=[...Ee(e),...$e(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(ft(r))}else t!==void 0&&e.push(ft(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return zt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:tt;this._$Em=r;let a=n.fromAttribute(e,i.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??B)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[V("elementProperties")]=new Map,b[V("finalized")]=new Map,Ae?.({ReactiveElement:b}),(et.reactiveElementVersions??=[]).push("2.1.1");var yt=globalThis,st=yt.trustedTypes,Wt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,gt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,vt="?"+_,Ce=`<${vt}>`,P=document,F=()=>P.createComment(""),q=o=>o===null||typeof o!="object"&&typeof o!="function",Et=Array.isArray,Qt=o=>Et(o)||typeof o?.[Symbol.iterator]=="function",mt=`[
5
- \f\r]`,W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,qt=/>/g,T=RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Kt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,$t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ms=$t(1),ys=$t(2),gs=$t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Jt=new WeakMap,S=P.createTreeWalker(P,129);function Zt(o,t){if(!Et(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Xt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=W;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===W?u[1]==="!--"?n=Ft:u[1]!==void 0?n=qt:u[2]!==void 0?(Yt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=T):u[3]!==void 0&&(n=T):n===T?u[0]===">"?(n=r??W,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?T:u[3]==='"'?Kt:Gt):n===Kt||n===Gt?n=T:n===Ft||n===qt?n=W:(n=T,r=void 0);let g=n===T&&o[a+1].startsWith("/>")?" ":"";i+=n===W?c+Ce:h>=0?(s.push(l),c.slice(0,h)+gt+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Zt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},G=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Xt(t,e);if(this.el=o.createElement(l,s),S.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=S.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(gt)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?rt:C[1]==="?"?it:C[1]==="@"?nt:x}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Yt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=st?st.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],F()),S.nextNode(),c.push({type:2,index:++i});r.append(h[y],F())}}}else if(r.nodeType===8)if(r.data===vt)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=P.createElement("template");return s.innerHTML=t,s}};function N(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=q(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=N(o,r._$AS(o,t.values),r,s)),t}var ot=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??P).importNode(e,!0);S.currentNode=r;let i=S.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new R(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new at(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=S.nextNode(),n++)}return S.currentNode=P,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),q(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&q(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=G.createElement(Zt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new ot(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new G(t)),e}k(t){Et(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(F()),this.O(F()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},x=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=N(this,t,e,0),n=!q(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=N(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!q(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends x{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},it=class extends x{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends x{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=N(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}},te={M:gt,P:_,A:vt,C:1,L:Xt,R:ot,D:Qt,V:N,I:R,H:x,N:it,U:nt,B:rt,F:at},we=yt.litHtmlPolyfillSupport;we?.(G,R),(yt.litHtmlVersions??=[]).push("3.3.1");var bt=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new R(t.insertBefore(F(),i),i,void 0,e??{})}return r._$AI(o),r};var _t=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,_t.litElementHydrateSupport?.({LitElement:A});var Oe=_t.litElementPolyfillSupport;Oe?.({LitElement:A});(_t.litElementVersions??=[]).push("4.2.1");var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ee=(o,t)=>{let e=t>Te?Se:t/Pe,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Te=4e3,Se=2e3,Pe=4;var Ne=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},xe=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},De=(o=[H(),...Mt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Ne(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){xe(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ue=(o="",t={},e=H())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&De(void 0,r=>o=r.key,s),s},Le=Ue.bind(null,""),re;re=j;var At=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[re]=!0,this.#a=[];let e=this,s=t??H(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=oe(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Rt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?oe(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return O(this.#i),It}get useRef(){return O(this.#i),kt}get useRefSync(){return O(this.#i),Y}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await I(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(I)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(se,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(se,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){O(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function se(o){p(o,void 0,this)}var ie=At,oe=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(Re,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Re=/[A-Z]+(?![a-z])|[A-Z]/gu;var Is="randomUUID"in crypto;var Ot=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function St(){}var ke=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(je):void 0,C=g?.map(([U])=>U),D=class extends wt{static{this.observedAttributes=g?.map(([,U])=>U).filter(U=>U!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},lt=Object.defineProperty,je=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},He=globalThis.HTMLElement??St,wt=class extends He{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ot(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Ve(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(ze,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ze([o,t]){this[o]=t}var Ve=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Be}=te;var ht=o=>o.strings===void 0,ne=()=>document.createComment(""),Gs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ne(),r),n=s.insertBefore(ne(),r);e=new Be(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Ks=(o,t,e=o)=>(o._$AI(t,e),o),We={},ae=(o,t=We)=>o._$AH=t,Js=o=>o._$AH,Qs=o=>{o._$AR(),o._$AA.remove()};var Fe=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ae(o),t}});var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},ce=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Ke(t)}};function qe(o){this._$AN!==void 0?(dt(this),this._$AM=o,ce(this)):this._$AM=o}function Ge(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)J(s[i],!1),dt(s[i]);else s!=null&&(J(s,!1),dt(s));else J(this,o)}var Ke=o=>{o.type==m.CHILD&&(o._$AP??=Ge,o._$AQ??=qe)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ce(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var uo=()=>new Nt,Nt=class{},Pt=new WeakMap,xt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var le=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var he="important",Qe=" !"+he,de=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Qe);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?he:""):e[s]=r}}return f}});var Dt=class extends ie{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Ut in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ut} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),O(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=ee(t,is)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},is=1e3,Ut="autoDestroyDisabled",pe=class o extends A{constructor(){super(),this.M=[],this.manager=new Dt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=St,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??B,n={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!Q&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Tt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Ot(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(I(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Ut)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(j in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var nr=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var ar=o=>typeof o=="object"&&o!=null?le(o):o,cr=o=>typeof o=="object"&&o!=null?de(o):o;var Lt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},lr=E(Lt);var hr=d;export{as as a,O as b,H as c,Rt as d,Mt as e,cs as f,ls as g,me as h,ms as i,ys as j,f as k,d as l,xe as m,De as n,Le as o,At as p,ie as q,Tt as r,ke as s,m as t,E as u,v,Gs as w,Ks as x,ae as y,Js as z,Qs as A,Fe as B,uo as C,xt as D,pe as E,nr as F,ar as G,cr as H,hr as I};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import"./PR5LDTTA.js";var e="Du har inte tillr\xE4ckligt m\xE5nga krediter f\xF6r att utf\xF6ra den h\xE4r \xE5tg\xE4rden. Kontakta din ArcGIS-systemadministrat\xF6r f\xF6r att f\xE5 hj\xE4lp.",a="Det h\xE4r verktyget har publicerats fr\xE5n en notebook. \xC5tkomst till ArcGIS Notebooks \xE4r blockerad f\xF6r din organisation. Kontakta din administrat\xF6r f\xF6r att justera inst\xE4llningen.",t="${ dataPath } f\xE5r inte inneh\xE5lla ${ additionalProperty }.",r="${ dataPath } m\xE5ste matcha schemat f\xF6r n\xE5gon av dessa: ${ schemaOptions }.",i="F\xF6rs\xF6k att spara kartan igen.",n="Kreditber\xE4kningen misslyckades. Skrolla ner, \xE5tg\xE4rda felen och ber\xE4kna krediterna igen.",s="Ett fel uppstod n\xE4r analysen k\xF6rdes.",l="${ dataPath } m\xE5ste vara lika med ett av dessa till\xE5tna v\xE4rden: ${ allowedValues }.",o="Det gick inte att spara analyshistoriken",d="Historiklagringen \xE4r full. Ta bort n\xE5gra objekt fr\xE5n analyshistoriken och f\xF6rs\xF6k att spara igen.",g="Tj\xE4nstnamnet inneh\xE5ller ett eller flera ogiltiga tecken.",m="Lagring av det tillf\xE4lliga lagret som ett driftat geoobjektlager slutf\xF6rdes inte.",k="Det gick inte att h\xE4mta nyckelegenskaper.",c="Det gick inte att l\xE4sa in lagret.",f="Lagret \xE4r inte tillg\xE4ngligt.",h="${ dataPath } f\xE5r inte ha fler \xE4n ${ limit } objekt.",u="Ett fel uppstod n\xE4r modellen sparades. F\xF6rs\xF6k att spara igen.",p="${ dataPath } f\xE5r inte ha f\xE4rre \xE4n ${ limit } objekt.",y="${ dataPath } f\xE5r inte vara kortare \xE4n ${ limit } tecken.",v="Kunde inte l\xE4sa in modellobjektet. Kontrollera att modellen finns och att \xE5tkomstbeh\xF6righet har beviljats.",b="Det gick inte att slutf\xF6ra f\xF6rfr\xE5gan.",E="Du saknar beh\xF6righet att k\xF6ra det h\xE4r verktyget. <calcite-link target='_blank' href='${ docLink }'>L\xE4s mer</calcite-link>",P="Det gick inte att logga in p\xE5 portalen.",S="Det gick inte att l\xE4sa indata.",$="${ dataPath } saknar egenskapen ${ missingProperty }.",F="Det finns redan ett resultatlager med det h\xE4r namnet. Resultatlager m\xE5ste ha unika namn i hela organisationen. Anv\xE4nd ett annat namn.",I="Utdatanamnet inneh\xE5ller ett eller flera ogiltiga tecken. <a href='${docLink}' target='_blank'>L\xE4s mer.</a>",L="Publicering av det tillf\xE4lliga lagret som ett driftat geoobjektlager misslyckades p\xE5 grund av ett eller flera ogiltiga f\xE4lt. K\xF6r verktyget igen f\xF6r att skapa ett lager med giltiga f\xE4lt.",T="Jobbinl\xE4mningen misslyckades. Skrolla ner, \xE5tg\xE4rda felen och k\xF6r analysen igen.",D="${ dataPath } m\xE5ste ha minst ett tecken som inte \xE4r ett blanksteg.",j={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:i,creditEstimationError:n,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:g,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:c,layerUnavailable:f,maxItems:h,mbFailedToSave:u,minItems:p,minLength:y,modelNotFound:v,networkError:b,noPermissionToAccessTool:E,portalLoadError:P,queryFeaturesError:S,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:D};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,i as cannotWriteToItemResource,n as creditEstimationError,j as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,g as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,c as layerLoadFailure,f as layerUnavailable,h as maxItems,u as mbFailedToSave,p as minItems,y as minLength,v as modelNotFound,b as networkError,E as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,D as whiteSpacePattern};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.2 */
4
- import{a as x}from"./FQ4OKLWN.js";import{a as h}from"./YSP7FBQ7.js";import{b as m}from"./GKH6SK5J.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./C3RJP556.js";import"./PR5LDTTA.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage.bind(this)}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};