@esri/solutions-components 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (499) hide show
  1. package/dist/cdn/{SMQE63G2.js → 2C2YUOLH.js} +2 -2
  2. package/dist/cdn/{MX4IW5YN.js → 2DCQYFBB.js} +2 -2
  3. package/dist/cdn/{2KC7A44G.js → 2E4RD2X7.js} +2 -2
  4. package/dist/cdn/{GZPGG7RQ.js → 2ME5AFG6.js} +2 -2
  5. package/dist/cdn/{F7BLCQ4K.js → 2PQDAK2K.js} +2 -2
  6. package/dist/cdn/{G2YLNGCI.js → 2PQFYQTM.js} +2 -2
  7. package/dist/cdn/{UBTZZR25.js → 35YMNKN7.js} +2 -2
  8. package/dist/cdn/{UVP3QEXZ.js → 3BL7G7XQ.js} +2 -2
  9. package/dist/cdn/{N6YIMQMF.js → 3G2FSEP4.js} +2 -2
  10. package/dist/cdn/{4VQKM4WR.js → 3GWQY4PS.js} +2 -2
  11. package/dist/cdn/{OWRNLUAM.js → 3I5HOJHY.js} +2 -2
  12. package/dist/cdn/{YJO3OCFG.js → 3JE66ZGM.js} +2 -2
  13. package/dist/cdn/{ZQ5UFA6J.js → 3JJFCPWE.js} +1 -1
  14. package/dist/cdn/{UREMM23E.js → 3LB6QRGI.js} +2 -2
  15. package/dist/cdn/{TRDAVDVV.js → 3N66IKUB.js} +2 -2
  16. package/dist/cdn/{UNXAQV3E.js → 3NJFBYP7.js} +2 -2
  17. package/dist/cdn/{DP4TDB7X.js → 3TVSXXWC.js} +2 -2
  18. package/dist/cdn/3VMHZC76.js +18 -0
  19. package/dist/cdn/{5ATO43XI.js → 3YQ5GA52.js} +3 -3
  20. package/dist/cdn/{5YRDMRWZ.js → 3ZA6SUHX.js} +2 -2
  21. package/dist/cdn/{UOW7X5K6.js → 42CDJOAG.js} +2 -2
  22. package/dist/cdn/{DFIJIF4I.js → 462W4TZ3.js} +1 -1
  23. package/dist/cdn/{EU36FEVM.js → 4A2PDSET.js} +2 -2
  24. package/dist/cdn/{BQZGOJ7O.js → 4BY7RVQ6.js} +2 -2
  25. package/dist/cdn/{RPUGAOID.js → 4EUZGKKC.js} +2 -2
  26. package/dist/cdn/{CND6NAR6.js → 4IRYB6TU.js} +2 -2
  27. package/dist/cdn/{IPRPAA72.js → 4LZ24JLH.js} +2 -2
  28. package/dist/cdn/{TSHEHQMQ.js → 4M355TO2.js} +2 -2
  29. package/dist/cdn/{WPUWPBLC.js → 4MGR2VZY.js} +2 -2
  30. package/dist/cdn/{IY2WYTE7.js → 4NN4SBF3.js} +2 -2
  31. package/dist/cdn/{Z7Q2HPG7.js → 4PPPEP2D.js} +2 -2
  32. package/dist/cdn/{T5T7GCVV.js → 4UKLSZZH.js} +2 -2
  33. package/dist/cdn/4V4FGNHO.js +18 -0
  34. package/dist/cdn/{BOWAWB4X.js → 4ZHZK26G.js} +2 -2
  35. package/dist/cdn/{J5UADYNK.js → 53LXS2J5.js} +2 -2
  36. package/dist/cdn/{GZ26EW7P.js → 55UJGQ5T.js} +2 -2
  37. package/dist/cdn/{KD6FTCWQ.js → 56PAV2GW.js} +1 -1
  38. package/dist/cdn/{ML7RDHJK.js → 5FZ4QAHO.js} +2 -2
  39. package/dist/cdn/{LPX6FY5M.js → 5GVYMAX2.js} +2 -2
  40. package/dist/cdn/{X7F7A7RU.js → 5HUVZF4J.js} +2 -2
  41. package/dist/cdn/{RAVRHF3Y.js → 5X3NIR3F.js} +2 -2
  42. package/dist/cdn/{SQWENXE7.js → 5Y4P32WK.js} +2 -2
  43. package/dist/cdn/{JWJZMQQB.js → 5ZPFAL43.js} +2 -2
  44. package/dist/cdn/{KBQL7WYT.js → 65KCCSCM.js} +2 -2
  45. package/dist/cdn/{TZCZPG5X.js → 66BALOE7.js} +2 -2
  46. package/dist/cdn/{4T7TU3LN.js → 6D2FDEC7.js} +2 -2
  47. package/dist/cdn/{2BFOTQ6T.js → 6HINBBYY.js} +2 -2
  48. package/dist/cdn/{UC7ZG7S3.js → 6JE42A26.js} +2 -2
  49. package/dist/cdn/{BLTZZN2S.js → 6JKRMJTG.js} +1 -1
  50. package/dist/cdn/{U22L3RI5.js → 6LL65GG4.js} +2 -2
  51. package/dist/cdn/{4JK4PIWF.js → 6QLD4RZA.js} +1 -1
  52. package/dist/cdn/{HL4DPJUK.js → 6SR62O3L.js} +2 -2
  53. package/dist/cdn/{4RHBTX4E.js → 6Y36Z3VD.js} +2 -2
  54. package/dist/cdn/6ZX57Y2E.js +4 -0
  55. package/dist/cdn/{VRU7IM5G.js → 7CCWACTT.js} +2 -2
  56. package/dist/cdn/{MAWXGZOQ.js → 7ITJCGWV.js} +2 -2
  57. package/dist/cdn/{4ZLBQ6D4.js → 7LNZ6SY4.js} +2 -2
  58. package/dist/cdn/{AJXG7IX5.js → 7OJFHNND.js} +2 -2
  59. package/dist/cdn/{ZAGFS5XW.js → 7OK6AMVL.js} +2 -2
  60. package/dist/cdn/{PREOVEW5.js → A3Q7GREJ.js} +2 -2
  61. package/dist/cdn/{V3S6TB66.js → A6LMQW4G.js} +2 -2
  62. package/dist/cdn/{FDGW2TGF.js → AA5T27UA.js} +2 -2
  63. package/dist/cdn/{4UZVBLR5.js → AD53R4UT.js} +2 -2
  64. package/dist/cdn/{TH2LQVXB.js → ADYEQUS5.js} +2 -2
  65. package/dist/cdn/AGCS637B.js +4 -0
  66. package/dist/cdn/{DYKLK7SE.js → AITESDOH.js} +2 -2
  67. package/dist/cdn/{GXDKEOCW.js → AKNB5K45.js} +2 -2
  68. package/dist/cdn/{IQU3AOVC.js → ALPIMORP.js} +2 -2
  69. package/dist/cdn/{QHPKAKUU.js → AM6R2I4D.js} +3 -3
  70. package/dist/cdn/{WJZXBWVM.js → ARYNEQL7.js} +3 -3
  71. package/dist/cdn/{GRGB44ZC.js → AVFSW3TW.js} +2 -2
  72. package/dist/cdn/{DAACTUXD.js → AXBSU3HJ.js} +2 -2
  73. package/dist/cdn/{GKQNL5AY.js → B5UH25LU.js} +2 -2
  74. package/dist/cdn/{V7SZH2RC.js → BB5ZN34L.js} +2 -2
  75. package/dist/cdn/{QVIM3F2B.js → BDWA4NT7.js} +2 -2
  76. package/dist/cdn/{CDVDTOES.js → BFN553OS.js} +2 -2
  77. package/dist/cdn/{4AFTBIQP.js → BHH5NNUU.js} +2 -2
  78. package/dist/cdn/{23ZZGLY2.js → BIT53VHC.js} +2 -2
  79. package/dist/cdn/{I2EDD3VI.js → BLVMQ2ZJ.js} +3 -3
  80. package/dist/cdn/{IFO37FNO.js → BMSVXQYR.js} +2 -2
  81. package/dist/cdn/{BBUKCBZH.js → BTASWR67.js} +2 -2
  82. package/dist/cdn/{HPKB6T3A.js → BUTBZOLQ.js} +2 -2
  83. package/dist/cdn/{J5A6CFMG.js → BXDXSN7S.js} +2 -2
  84. package/dist/cdn/BZZ2NKN7.js +4 -0
  85. package/dist/cdn/{GLAMS6KT.js → C2L75ML6.js} +2 -2
  86. package/dist/cdn/{JVH5EVFM.js → CHMBU7ZZ.js} +2 -2
  87. package/dist/cdn/{GSWDAF7B.js → CJXMS7YJ.js} +2 -2
  88. package/dist/cdn/{2JIJ3PUL.js → CPS5G7LV.js} +2 -2
  89. package/dist/cdn/{TZV7I7OA.js → CR5PKZ4W.js} +2 -2
  90. package/dist/cdn/{O42KNPRU.js → CYTWYR7X.js} +2 -2
  91. package/dist/cdn/{Z6NHNS5M.js → CZTW3CID.js} +2 -2
  92. package/dist/cdn/{OMVONFJ5.js → D6GRAJKG.js} +2 -2
  93. package/dist/cdn/{ILIP26MD.js → DASAW3AM.js} +2 -2
  94. package/dist/cdn/{WUDA7K22.js → DCTIOG7M.js} +1 -1
  95. package/dist/cdn/{WKYYGS7X.js → DEYWKS7E.js} +2 -2
  96. package/dist/cdn/{5H5FZQQM.js → DFDISZAD.js} +2 -2
  97. package/dist/cdn/{QW4O42N2.js → DFQJCG5D.js} +2 -2
  98. package/dist/cdn/{U3LQ6PH3.js → DGWMURIB.js} +2 -2
  99. package/dist/cdn/{CO7NHF75.js → DH47CO66.js} +1 -1
  100. package/dist/cdn/{MOO5HUTK.js → DHGCOXVG.js} +1 -1
  101. package/dist/cdn/{CLJPTIVQ.js → DKMGPEMO.js} +2 -2
  102. package/dist/cdn/{5RZG2Z6U.js → DOEOHOU6.js} +2 -2
  103. package/dist/cdn/{AYYWI4A3.js → DS4CIOKP.js} +2 -2
  104. package/dist/cdn/{55LJV5DD.js → DV3MAPII.js} +2 -2
  105. package/dist/cdn/{BNBQO7AY.js → DZWMPNPF.js} +2 -2
  106. package/dist/cdn/{IFKIUWVZ.js → E6WEKFDH.js} +2 -2
  107. package/dist/cdn/{WPHV7YFJ.js → EDAOFXZZ.js} +1 -1
  108. package/dist/cdn/{H2MXX7QX.js → EHBEDCBN.js} +2 -2
  109. package/dist/cdn/{PJV6EGV6.js → EJUJDS6X.js} +3 -3
  110. package/dist/cdn/{TTCJV5HS.js → EMAMN44B.js} +2 -2
  111. package/dist/cdn/{OC4LXNQP.js → EQKFP6G5.js} +3 -3
  112. package/dist/cdn/{GZF6LAN2.js → EVXTOWTJ.js} +1 -1
  113. package/dist/cdn/{Y6XTLVDJ.js → EWC7XR6K.js} +2 -2
  114. package/dist/cdn/{FBLRDUIQ.js → EY44JFRF.js} +2 -2
  115. package/dist/cdn/{RF2OPXXP.js → EY4JC25Z.js} +2 -2
  116. package/dist/cdn/{GWMD5UNN.js → EYJTKSHW.js} +3 -3
  117. package/dist/cdn/{ENQBSPO5.js → EZEI2XVT.js} +3 -3
  118. package/dist/cdn/{OVSHX34W.js → F2OBR3YZ.js} +2 -2
  119. package/dist/cdn/F5S2PMDU.js +18 -0
  120. package/dist/cdn/{GKPJSKC5.js → FBC2PSH6.js} +2 -2
  121. package/dist/cdn/{JMI6ELYN.js → FBSR6LVS.js} +2 -2
  122. package/dist/cdn/{SUDZEHPR.js → FEMMFUE7.js} +2 -2
  123. package/dist/cdn/{LFLGSFUG.js → FHSAJCRI.js} +1 -1
  124. package/dist/cdn/FKQWGBQ6.js +18 -0
  125. package/dist/cdn/{ALLC54AT.js → FOXWWTGP.js} +2 -2
  126. package/dist/cdn/{EFXWPDM6.js → FUYDFHFY.js} +2 -2
  127. package/dist/cdn/{W7S3KRZJ.js → FXATR6VT.js} +1 -1
  128. package/dist/cdn/{SQCBTMSG.js → FXID4LBF.js} +2 -2
  129. package/dist/cdn/{CYTR3HPD.js → FYOSNG4O.js} +2 -2
  130. package/dist/cdn/{I27E56PQ.js → FZWZ4COT.js} +2 -2
  131. package/dist/cdn/G2SO3VA3.js +18 -0
  132. package/dist/cdn/{TYMMEDNB.js → G5YDAD5J.js} +2 -2
  133. package/dist/cdn/{D5XPA4NF.js → GCUKUGYL.js} +2 -2
  134. package/dist/cdn/{TO6VYOOK.js → GIYQCD77.js} +2 -2
  135. package/dist/cdn/{S7BA22Z5.js → GR5W2JRK.js} +1 -1
  136. package/dist/cdn/{GZCFCVWF.js → GY3Q55UV.js} +2 -2
  137. package/dist/cdn/{VNMNXAVQ.js → GYTTH3QM.js} +3 -3
  138. package/dist/cdn/{PSKXBFNJ.js → H3RQQVHV.js} +2 -2
  139. package/dist/cdn/{W75JNTGT.js → H4R6RBSR.js} +2 -2
  140. package/dist/cdn/{VAJPAOUI.js → HAXFVOBD.js} +2 -2
  141. package/dist/cdn/{VDXJT6KX.js → HFGXGOML.js} +2 -2
  142. package/dist/cdn/{IJD2AMEM.js → HFTLCY67.js} +1 -1
  143. package/dist/cdn/{HB35K7EJ.js → HJ4CBAOI.js} +1 -1
  144. package/dist/cdn/{FSBYBBAR.js → HJAQTCS6.js} +1 -1
  145. package/dist/cdn/{6H2DI4QV.js → HNYRXGO4.js} +2 -2
  146. package/dist/cdn/{EW6KAVCF.js → HPTION7V.js} +2 -2
  147. package/dist/cdn/{GAIF3U4K.js → HS3HXJAE.js} +2 -2
  148. package/dist/cdn/{AZ3MBQZV.js → HXGSRCIU.js} +2 -2
  149. package/dist/cdn/{23TGVNDT.js → IAABYYHR.js} +3 -3
  150. package/dist/cdn/{JZ33N4OT.js → IHONVMMQ.js} +2 -2
  151. package/dist/cdn/{A3CB7ASF.js → IN4GUM3K.js} +1 -1
  152. package/dist/cdn/{UTVAGL7O.js → INGJSHOC.js} +2 -2
  153. package/dist/cdn/{7JHLTQPN.js → INVWKXP4.js} +2 -2
  154. package/dist/cdn/{FC6IKY2W.js → IPRVH4RI.js} +2 -2
  155. package/dist/cdn/IQO52XQI.js +4 -0
  156. package/dist/cdn/{UTYWKZWI.js → IT2BGFCD.js} +2 -2
  157. package/dist/cdn/{S2UELZDS.js → IWN5SZ6F.js} +2 -2
  158. package/dist/cdn/{YV22TPLV.js → IWYNMFCO.js} +2 -2
  159. package/dist/cdn/{LCY63BRS.js → IYNSYD6A.js} +2 -2
  160. package/dist/cdn/{V2SGK6W7.js → J3GYQQE6.js} +2 -2
  161. package/dist/cdn/{C76FP4MR.js → J3PGCQNO.js} +2 -2
  162. package/dist/cdn/{HN6IYS37.js → J4CEND6E.js} +2 -2
  163. package/dist/cdn/{S7NA5UUY.js → JE4Y5P6H.js} +2 -2
  164. package/dist/cdn/JFV4L2BS.js +18 -0
  165. package/dist/cdn/{6RKS45HC.js → JKT3GWJQ.js} +2 -2
  166. package/dist/cdn/JM7G4MEF.js +4 -0
  167. package/dist/cdn/{LEOKXG3G.js → JMHCQCEV.js} +1 -1
  168. package/dist/cdn/{C5233EHR.js → JO7JZRYA.js} +2 -2
  169. package/dist/cdn/{SBXXDOKG.js → JQLSAJAY.js} +2 -2
  170. package/dist/cdn/{ZWEGUQZQ.js → JUHUWE6N.js} +2 -2
  171. package/dist/cdn/{AWZPPOTN.js → K54VMEGQ.js} +2 -2
  172. package/dist/cdn/{7ZYRFEY7.js → KKJYUEQV.js} +2 -2
  173. package/dist/cdn/{2MCZSCMM.js → KZLP7P6V.js} +2 -2
  174. package/dist/cdn/{OT3PGUNJ.js → L6QRRVEI.js} +2 -2
  175. package/dist/cdn/{AVKNWJMU.js → L6S6YTH3.js} +2 -2
  176. package/dist/cdn/{IUVFHVNJ.js → L7HOMDZU.js} +2 -2
  177. package/dist/cdn/{MZJFQAPA.js → LAOJHBJU.js} +2 -2
  178. package/dist/cdn/{BATYSOVB.js → LBI35WMC.js} +2 -2
  179. package/dist/cdn/{2KRAHU3A.js → LCFNGDXM.js} +2 -2
  180. package/dist/cdn/LDGJRLE3.js +18 -0
  181. package/dist/cdn/{YDTQ22TO.js → LJXUWLDL.js} +2 -2
  182. package/dist/cdn/{GILNSHEK.js → LOSISHU3.js} +2 -2
  183. package/dist/cdn/{P5EZ7TAW.js → LSSYIGV3.js} +3 -3
  184. package/dist/cdn/{REYRBAER.js → LYD27ORL.js} +2 -2
  185. package/dist/cdn/{FGUII2EP.js → M2CS4EMN.js} +2 -2
  186. package/dist/cdn/{WTVUV6X4.js → M4ISN42P.js} +2 -2
  187. package/dist/cdn/{J425E2LA.js → M4NZ7ACL.js} +2 -2
  188. package/dist/cdn/{MQURQKFM.js → MBGFUZAJ.js} +2 -2
  189. package/dist/cdn/{6ZYP4HST.js → MBQWZGFR.js} +1 -1
  190. package/dist/cdn/{QEZD2RKR.js → MCF6S7SI.js} +2 -2
  191. package/dist/cdn/{QNSEGUHW.js → MD4GFP2I.js} +2 -2
  192. package/dist/cdn/{EZNXFGZK.js → MDXIELV5.js} +3 -3
  193. package/dist/cdn/{BEKDBEOP.js → MIAM4WSN.js} +2 -2
  194. package/dist/cdn/{CKPGSBU3.js → MLPHTVAZ.js} +2 -2
  195. package/dist/cdn/{GZGJXMQF.js → MM6ALYAZ.js} +2 -2
  196. package/dist/cdn/{4LWLQBET.js → MME3KBVR.js} +2 -2
  197. package/dist/cdn/{DZHQD6XA.js → MNEYQVPV.js} +2 -2
  198. package/dist/cdn/{CT7ABHK2.js → MQ4D3TAQ.js} +2 -2
  199. package/dist/cdn/{V4HOSOVM.js → MQD27EL6.js} +1 -1
  200. package/dist/cdn/{PBYEPN4U.js → MV45U2M4.js} +2 -2
  201. package/dist/cdn/{UO7HYYBG.js → MWJGZ3GM.js} +1 -1
  202. package/dist/cdn/{2TEHAFXZ.js → MWWNUJMG.js} +2 -2
  203. package/dist/cdn/{26APWI43.js → MYAFAQEX.js} +2 -2
  204. package/dist/cdn/{KVWH2WJX.js → N2VUT2CM.js} +2 -2
  205. package/dist/cdn/{VDDRSCWE.js → N66UCV4O.js} +2 -2
  206. package/dist/cdn/{4ZTHBEAN.js → N7ACVHXU.js} +2 -2
  207. package/dist/cdn/NB52BCP7.js +4 -0
  208. package/dist/cdn/{CPNGY255.js → NIH454OI.js} +2 -2
  209. package/dist/cdn/{RYIKOVC4.js → NJTTWM2O.js} +2 -2
  210. package/dist/cdn/{AHGBBFKK.js → NLSPE5NE.js} +2 -2
  211. package/dist/cdn/{T4NISNVO.js → NO34BS3Y.js} +2 -2
  212. package/dist/cdn/{TBL7BIV7.js → NOAD3FB4.js} +2 -2
  213. package/dist/cdn/{NMCQMLLM.js → NONG5KLI.js} +2 -2
  214. package/dist/cdn/{YVKX627B.js → NS3JF257.js} +2 -2
  215. package/dist/cdn/{LGR4ZJLK.js → NUY2Z2SB.js} +2 -2
  216. package/dist/cdn/{B5YUOXDN.js → O3CHJ5GR.js} +2 -2
  217. package/dist/cdn/{FAIXLWVI.js → O3ZLPXJL.js} +2 -2
  218. package/dist/cdn/{XJOSHL6G.js → OBJATNQT.js} +2 -2
  219. package/dist/cdn/{56XBTT4O.js → OCG4AVVF.js} +2 -2
  220. package/dist/cdn/{Z42ZJZHJ.js → OI4GE5AO.js} +2 -2
  221. package/dist/cdn/{BJW5LXLH.js → OPMYWOFX.js} +2 -2
  222. package/dist/cdn/{WNVKL67O.js → OQINWQHN.js} +2 -2
  223. package/dist/cdn/{XZPAWADO.js → OQKZ3XHU.js} +3 -3
  224. package/dist/cdn/{VZG7PYDY.js → ORDACAET.js} +2 -2
  225. package/dist/cdn/ORMNGKPR.js +18 -0
  226. package/dist/cdn/{5CJWMOL3.js → OSMUWE33.js} +4 -4
  227. package/dist/cdn/{XDU754Y3.js → OVW3UKZG.js} +2 -2
  228. package/dist/cdn/{NPDND32J.js → OYM7PRZW.js} +1 -1
  229. package/dist/cdn/{WKK3GS5R.js → P55ATIMI.js} +2 -2
  230. package/dist/cdn/{PHVURERU.js → P5MUHJOV.js} +2 -2
  231. package/dist/cdn/{XPXK6WN7.js → PAPCUPJA.js} +2 -2
  232. package/dist/cdn/{6HLCOA2J.js → PFFQPOXY.js} +3 -3
  233. package/dist/cdn/{6X22FJS6.js → PG5OHQ7C.js} +2 -2
  234. package/dist/cdn/{TBFX3EVD.js → PH3GJLXH.js} +2 -2
  235. package/dist/cdn/{5Q3767V4.js → PJZ4SPKQ.js} +2 -2
  236. package/dist/cdn/{OVKQ7TBK.js → PLKRFEVD.js} +2 -2
  237. package/dist/cdn/{XRQ5EWWN.js → PNN2Q75K.js} +2 -2
  238. package/dist/cdn/{W2U332RR.js → PRN73PNP.js} +2 -2
  239. package/dist/cdn/{HRMQHYLD.js → PWOXB7VX.js} +1 -1
  240. package/dist/cdn/{TNUUEL6P.js → Q2HZGMSC.js} +2 -2
  241. package/dist/cdn/{42SQB2UV.js → QBOMJSQQ.js} +2 -2
  242. package/dist/cdn/QEJIS5UR.js +4 -0
  243. package/dist/cdn/{LR7LKOIM.js → QGF7ZFJN.js} +2 -2
  244. package/dist/cdn/{ESFGGYTR.js → QGKPU7KR.js} +2 -2
  245. package/dist/cdn/QIXQVRBK.js +18 -0
  246. package/dist/cdn/{CWHNOFME.js → QWVCH4SD.js} +2 -2
  247. package/dist/cdn/{JYWHUF5Y.js → R43OR7W5.js} +2 -2
  248. package/dist/cdn/{WTWNLOAO.js → R4MIR22R.js} +1 -1
  249. package/dist/cdn/{34TH75YO.js → R6COI5BF.js} +2 -2
  250. package/dist/cdn/{OF2LVTY5.js → RB5YEX2Z.js} +2 -2
  251. package/dist/cdn/{KCVL34ZO.js → RBV7YLCJ.js} +2 -2
  252. package/dist/cdn/{BGUOHLDS.js → RCEIWCOF.js} +2 -2
  253. package/dist/cdn/{26RD3PS2.js → RDATT53Q.js} +2 -2
  254. package/dist/cdn/{5NJMTGSP.js → RDI7ZMKQ.js} +1 -1
  255. package/dist/cdn/{35H4QXX3.js → RG3CO4VX.js} +1 -1
  256. package/dist/cdn/{AEMFHUT3.js → RLHKPRUD.js} +2 -2
  257. package/dist/cdn/{TKTNS4QT.js → RRUNAIZ6.js} +2 -2
  258. package/dist/cdn/{D56T5IN2.js → RYDCMXAK.js} +2 -2
  259. package/dist/cdn/{RMWUCFHB.js → RZDZPK7T.js} +2 -2
  260. package/dist/cdn/{XHI4A5HF.js → S2TWQ4CP.js} +2 -2
  261. package/dist/cdn/{VIH7GETV.js → S44CBZC3.js} +2 -2
  262. package/dist/cdn/{VEWASZJB.js → S5JGRR7J.js} +2 -2
  263. package/dist/cdn/{CAHFCE4T.js → SB75RNE4.js} +2 -2
  264. package/dist/cdn/{N7KG6TLQ.js → SBT5QK3G.js} +2 -2
  265. package/dist/cdn/{37H772BX.js → SFJULDEM.js} +2 -2
  266. package/dist/cdn/{WVOMDGDW.js → SITOCVPD.js} +2 -2
  267. package/dist/cdn/{VY6LOXWH.js → SJIPL5ND.js} +1 -1
  268. package/dist/cdn/{BU6B533Y.js → SLEP5FPP.js} +2 -2
  269. package/dist/cdn/{7X7FF24S.js → SM3QZXOO.js} +1 -1
  270. package/dist/cdn/{H6TOIC3H.js → SPWZIAIS.js} +2 -2
  271. package/dist/cdn/{PHPBVYAN.js → SRZEDXVZ.js} +2 -2
  272. package/dist/cdn/{AMTMX3BW.js → T4JMND5P.js} +2 -2
  273. package/dist/cdn/{EDUHM55V.js → T6NTJXMA.js} +2 -2
  274. package/dist/cdn/{GE4VUR2S.js → T6S7BM5U.js} +2 -2
  275. package/dist/cdn/TD3IDPA7.js +4 -0
  276. package/dist/cdn/{ZPUYJ7B5.js → TEI5U73N.js} +3 -3
  277. package/dist/cdn/{JW3A3AEJ.js → TFDVKBSL.js} +2 -2
  278. package/dist/cdn/{NVJDDGAX.js → TKJKLDLJ.js} +2 -2
  279. package/dist/cdn/{A4LRNV24.js → TM22XK2S.js} +2 -2
  280. package/dist/cdn/{BS7PISQQ.js → TRG2M7TD.js} +2 -2
  281. package/dist/cdn/{CHDLTXQ4.js → TSE4T2RO.js} +2 -2
  282. package/dist/cdn/{2BD3W5YF.js → U7VDTXKM.js} +1 -1
  283. package/dist/cdn/{ARGB7QOI.js → UCM5SJBM.js} +1 -1
  284. package/dist/cdn/{7OMNOQ7U.js → UDBSTG6M.js} +3 -3
  285. package/dist/cdn/{AEKQAS23.js → UH72XJFE.js} +2 -2
  286. package/dist/cdn/{QK7BUSQS.js → UHMAXMMA.js} +2 -2
  287. package/dist/cdn/{2OFLAJMD.js → US6JIWX6.js} +2 -2
  288. package/dist/cdn/{AME2N5R6.js → UTIBE4GW.js} +2 -2
  289. package/dist/cdn/{URGLXCMP.js → UUI2EKSS.js} +2 -2
  290. package/dist/cdn/{XCHD5XOJ.js → UVXT5MFM.js} +2 -2
  291. package/dist/cdn/{FZZ64EU7.js → UY4DZODA.js} +2 -2
  292. package/dist/cdn/{AZYTSIFB.js → UYRBQI24.js} +2 -2
  293. package/dist/cdn/{4WESUM52.js → V4OWJV6O.js} +2 -2
  294. package/dist/cdn/{JR2ALUWD.js → V5OTK5GF.js} +2 -2
  295. package/dist/cdn/{FLRWOPU6.js → V7CY4CCG.js} +2 -2
  296. package/dist/cdn/{F7GNLKUF.js → VBUY7UZD.js} +2 -2
  297. package/dist/cdn/{I73TU25U.js → VKCWXM4P.js} +2 -2
  298. package/dist/cdn/{QK7PQ3CA.js → VNLXAJ6K.js} +2 -2
  299. package/dist/cdn/{432NJDW7.js → VSX6NU7T.js} +2 -2
  300. package/dist/cdn/{C23DNOM4.js → VXVLX7HU.js} +2 -2
  301. package/dist/cdn/{SGIHH4DD.js → W2AQFMX6.js} +3 -3
  302. package/dist/cdn/{BFSYEFJF.js → W3FLI2DJ.js} +1 -1
  303. package/dist/cdn/{NYIMVG6I.js → W4W2KD2Z.js} +2 -2
  304. package/dist/cdn/{FNXB73R7.js → WAKNLU4H.js} +2 -2
  305. package/dist/cdn/{ZZZ5IXTY.js → WHBCGNOV.js} +2 -2
  306. package/dist/cdn/{Y2BHCBN2.js → WHX66U6W.js} +2 -2
  307. package/dist/cdn/{YA36R2QR.js → WK7M23ZV.js} +2 -2
  308. package/dist/cdn/{F55B5BNY.js → WLNT25ZL.js} +1 -1
  309. package/dist/cdn/{GFTWHNVR.js → WRZVIHB2.js} +2 -2
  310. package/dist/cdn/{NEHD7BWS.js → WSVBZSJV.js} +1 -1
  311. package/dist/cdn/{N43VXMCI.js → WV5CYPT4.js} +2 -2
  312. package/dist/cdn/{A3Z5YQFM.js → WVZOAXTK.js} +2 -2
  313. package/dist/cdn/{EFMP72GE.js → WYZY5MEG.js} +1 -1
  314. package/dist/cdn/{FNCUTBX7.js → X2HMOVDC.js} +1 -1
  315. package/dist/cdn/{PG6P7PAY.js → X3IFM44Z.js} +2 -2
  316. package/dist/cdn/{AMRA27LM.js → X7Q7WOAP.js} +2 -2
  317. package/dist/cdn/{UXATKH5S.js → XCEVRWR2.js} +2 -2
  318. package/dist/cdn/{CVM23Z3W.js → XCI5GOCP.js} +2 -2
  319. package/dist/cdn/{BE7RCTIW.js → XF4Y7YWD.js} +2 -2
  320. package/dist/cdn/{3GUT3PQC.js → XJ4TOB2R.js} +1 -1
  321. package/dist/cdn/{43PWS362.js → XJJLFFTP.js} +2 -2
  322. package/dist/cdn/{642TLBFZ.js → XLOESN2G.js} +1 -1
  323. package/dist/cdn/{7FNGCPHX.js → XSDSXIZG.js} +2 -2
  324. package/dist/cdn/{CGZBTZJR.js → Y56EPUPH.js} +2 -2
  325. package/dist/cdn/{XQW5OF3W.js → Y6DBN623.js} +2 -2
  326. package/dist/cdn/{JXF5ZDU3.js → Y6GBF64F.js} +2 -2
  327. package/dist/cdn/{MGI27N6Z.js → YFHVP5OF.js} +1 -1
  328. package/dist/cdn/{TTJFLDHP.js → YIDOMZG4.js} +2 -2
  329. package/dist/cdn/{CCDB7WQC.js → YNY5DID2.js} +2 -2
  330. package/dist/cdn/YTDVJSJX.js +18 -0
  331. package/dist/cdn/{ERLXDIUS.js → YV47DKV7.js} +2 -2
  332. package/dist/cdn/{YOKFSPW5.js → Z3SZUCLO.js} +2 -2
  333. package/dist/cdn/{7UE74F3P.js → Z4CHNTUR.js} +2 -2
  334. package/dist/cdn/{SV5GC3GK.js → Z7DYXKP6.js} +2 -2
  335. package/dist/cdn/{QHESJJYD.js → ZADKZYIV.js} +1 -1
  336. package/dist/cdn/{V2SI23ZA.js → ZDSUTEMS.js} +3 -3
  337. package/dist/cdn/{2PF32KNA.js → ZFBF24KI.js} +2 -2
  338. package/dist/cdn/{LU7IE2XC.js → ZIRG4OIM.js} +2 -2
  339. package/dist/cdn/{O3KT4DDI.js → ZNYW4F3Z.js} +2 -2
  340. package/dist/cdn/{HAV76SHY.js → ZPKXYV6G.js} +2 -2
  341. package/dist/cdn/ZPQEOXHC.js +18 -0
  342. package/dist/cdn/ZQ4VMSJQ.js +18 -0
  343. package/dist/cdn/{HY422JHS.js → ZZOCPA5X.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
  346. package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  349. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  350. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  352. package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -1
  353. package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -1
  354. package/dist/cdn/index.js +2 -2
  355. package/dist/chunks/Auth.js +1 -1
  356. package/dist/chunks/CardsFetcher.js +1 -1
  357. package/dist/chunks/appConfig.js +1 -1
  358. package/dist/chunks/cardFetchingUtils.js +1 -1
  359. package/dist/chunks/cardsHelpers.js +1 -1
  360. package/dist/chunks/common.js +1 -1
  361. package/dist/chunks/deployAppContexts.js +1 -1
  362. package/dist/chunks/downloadUtils.js +1 -1
  363. package/dist/chunks/getItemIcon.js +1 -1
  364. package/dist/chunks/helpers.js +1 -1
  365. package/dist/chunks/interfaces.js +1 -1
  366. package/dist/chunks/loadModules.js +1 -1
  367. package/dist/chunks/mapViewUtils.js +1 -1
  368. package/dist/chunks/pciUtils.js +1 -1
  369. package/dist/chunks/popupUtils.js +1 -1
  370. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  371. package/dist/chunks/privilegeUtils.js +1 -1
  372. package/dist/chunks/publicNotificationContext.js +1 -1
  373. package/dist/chunks/queryUtils.js +1 -1
  374. package/dist/chunks/runtime.js +1 -1
  375. package/dist/chunks/solution-store.js +1 -1
  376. package/dist/chunks/templates.js +1 -1
  377. package/dist/chunks/useT9n.js +1 -1
  378. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +117 -9
  379. package/dist/components/arcgis-solutions-assistant/customElement.js +243 -63
  380. package/dist/components/arcgis-solutions-assistant/index.d.ts +5 -5
  381. package/dist/components/arcgis-solutions-assistant/index.js +5 -5
  382. package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +6 -0
  383. package/dist/components/basemap-gallery/customElement.js +1 -1
  384. package/dist/components/buffer-tools/customElement.js +1 -1
  385. package/dist/components/card-manager/customElement.js +1 -1
  386. package/dist/components/consent-manager/customElement.js +1 -1
  387. package/dist/components/create-feature/customElement.js +1 -1
  388. package/dist/components/create-related-feature/customElement.js +1 -1
  389. package/dist/components/crowdsource-manager/customElement.js +1 -1
  390. package/dist/components/crowdsource-reporter/customElement.js +3 -3
  391. package/dist/components/deduct-calculator/customElement.js +1 -1
  392. package/dist/components/delete-button/customElement.js +1 -1
  393. package/dist/components/delete-dialog/customElement.js +1 -1
  394. package/dist/components/edit-card/customElement.js +1 -1
  395. package/dist/components/feature-details/customElement.js +1 -1
  396. package/dist/components/feature-list/customElement.js +1 -1
  397. package/dist/components/field-selection/customElement.js +1 -1
  398. package/dist/components/floor-filter/customElement.js +1 -1
  399. package/dist/components/info-card/customElement.js +1 -1
  400. package/dist/components/json-editor/customElement.js +1 -1
  401. package/dist/components/layer-list/customElement.js +1 -1
  402. package/dist/components/layer-table/customElement.js +1 -1
  403. package/dist/components/map-card/customElement.js +1 -1
  404. package/dist/components/map-draw-tools/customElement.js +1 -1
  405. package/dist/components/map-fullscreen/customElement.js +1 -1
  406. package/dist/components/map-layer-picker/customElement.js +1 -1
  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 +22 -19
  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 +1 -1
  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 +2 -2
  426. package/dist/components/solution-details-panel/customElement.js +16 -16
  427. package/dist/components/solution-item/customElement.js +1 -1
  428. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  429. package/dist/components/solution-item-accordion/customElement.js +13 -9
  430. package/dist/components/solution-item-details/customElement.js +1 -1
  431. package/dist/components/solution-item-diagram/customElement.js +1 -1
  432. package/dist/components/solution-item-icon/customElement.js +1 -1
  433. package/dist/components/solution-item-sharing/customElement.js +1 -1
  434. package/dist/components/solution-organization-variables/customElement.js +1 -1
  435. package/dist/components/solution-resource-card/customElement.js +1 -1
  436. package/dist/components/solution-resource-item/customElement.js +1 -1
  437. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  438. package/dist/components/solution-social-share/customElement.js +1 -1
  439. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  440. package/dist/components/solution-template-data/customElement.js +1 -1
  441. package/dist/components/solution-variables/customElement.js +1 -1
  442. package/dist/components/solutions-all-panel/customElement.d.ts +2 -0
  443. package/dist/components/solutions-all-panel/customElement.js +48 -40
  444. package/dist/components/solutions-all-panel/index.d.ts +1 -0
  445. package/dist/components/solutions-all-panel/index.js +1 -0
  446. package/dist/components/solutions-all-shell/customElement.js +28 -25
  447. package/dist/components/solutions-deploy-app/customElement.js +16 -16
  448. package/dist/components/solutions-deploy-app-nav/customElement.js +20 -20
  449. package/dist/components/solutions-deploy-app-nav/index.d.ts +1 -1
  450. package/dist/components/solutions-deploy-app-nav/index.js +1 -1
  451. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  452. package/dist/components/solutions-deployed-panel/customElement.js +7 -7
  453. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  454. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  455. package/dist/components/solutions-filter-panel/customElement.js +74 -57
  456. package/dist/components/solutions-filter-panel/index.d.ts +1 -0
  457. package/dist/components/solutions-filter-panel/index.js +1 -0
  458. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  459. package/dist/components/solutions-resources/customElement.js +77 -38
  460. package/dist/components/solutions-resources/index.d.ts +2 -1
  461. package/dist/components/solutions-resources/index.js +2 -1
  462. package/dist/components/solutions-resources-shell/customElement.js +12 -12
  463. package/dist/components/solutions-searchsort-toolbar/customElement.js +31 -29
  464. package/dist/components/spatial-ref/customElement.js +1 -1
  465. package/dist/components/store-manager/customElement.js +1 -1
  466. package/dist/docs/api.json +352 -32
  467. package/dist/docs/docs.json +328 -23
  468. package/dist/docs/vscode.html-custom-data.json +27 -5
  469. package/dist/docs/web-types.json +83 -17
  470. package/dist/index.d.ts +2 -1
  471. package/dist/index.js +1 -1
  472. package/dist/loader.js +4 -4
  473. package/dist/types/lumina.d.ts +4 -3
  474. package/dist/types/preact.d.ts +4 -3
  475. package/dist/types/preact10.d.ts +4 -3
  476. package/dist/types/react.d.ts +4 -3
  477. package/dist/types/stencil.d.ts +4 -3
  478. package/dist/utils/interfaces.d.ts +7 -2
  479. package/package.json +1 -1
  480. package/dist/cdn/2UD2JW6W.js +0 -4
  481. package/dist/cdn/3UHCAXWM.js +0 -18
  482. package/dist/cdn/4AJRDF43.js +0 -18
  483. package/dist/cdn/ASCQB3WJ.js +0 -18
  484. package/dist/cdn/CSIRFAU6.js +0 -4
  485. package/dist/cdn/CW75KMEC.js +0 -18
  486. package/dist/cdn/DOCE3G4U.js +0 -18
  487. package/dist/cdn/F623IGPX.js +0 -4
  488. package/dist/cdn/G5GGYFR7.js +0 -4
  489. package/dist/cdn/HJ7NVYR7.js +0 -18
  490. package/dist/cdn/LGEMJU6L.js +0 -18
  491. package/dist/cdn/LZBPDHCZ.js +0 -4
  492. package/dist/cdn/MBMSJWWT.js +0 -18
  493. package/dist/cdn/PTMZ4JVP.js +0 -4
  494. package/dist/cdn/Q7CROOM3.js +0 -18
  495. package/dist/cdn/QCIKLF3J.js +0 -18
  496. package/dist/cdn/VMJTYN3P.js +0 -4
  497. package/dist/cdn/W3S4K3XB.js +0 -4
  498. package/dist/cdn/WYZM42EH.js +0 -18
  499. package/dist/cdn/Y6LWGXAH.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
3
+ v1.1.5 */
4
4
  var e=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(e||{}),o=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(o||{}),E=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(E||{}),t=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(t||{});var i=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(i||{}),n=(a=>(a.CSV="CSV",a.PDF="PDF",a))(n||{}),r=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(r||{}),I="{{params.wkid||",N="}}",u=500,l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{});var T=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(T||{}),R=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKINGBASE="solutions:locationtracking",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(R||{});var S='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',s="(typekeywords:Solution,Template)",c="(typekeywords:Solution,Display Only)",C="portal:user:addExternalMembersToGroup",O="portal:user:createItem",p="portal:user:createGroup",L="portal:publisher:publishBigDataAnalytics",D="portal:publisher:publishFeatures",d="portal:publisher:publishFeeds",P="portal:publisher:publishServerGPServices",m="portal:publisher:publishRealTimeAnalytics",b="portal:user:shareToGroup",g="solutions:hubPremium",G="solutions:notebook",M="solutions:locationtracking:admin:tracking",h="solutions:locationtracking:tracking",F="solutions:locationtracking:admin",k="solutions:velocity",y="solutions:workflowManager",H=250;export{e as a,o as b,E as c,t as d,i as e,n as f,r as g,I as h,N as i,u as j,l as k,A as l,T as m,R as n,S as o,s as p,c as q,C as r,O as s,p as t,L as u,D as v,d as w,P as x,m as y,b as z,g as A,G as B,M as C,h as D,F as E,k as F,y as G,H};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import c from"./GSWDAF7B.js";import{a as x}from"./GKQNL5AY.js";import a from"./C76FP4MR.js";import{a as N}from"./CVM23Z3W.js";import{a as D}from"./FC6IKY2W.js";import{E as k,h as R,i as L}from"./F55B5BNY.js";import{b as F}from"./AZYTSIFB.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./WTWNLOAO.js";import"./6ZYP4HST.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),U=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(h)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?B(e,t):s===3?G(e,t):s===4?q(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===j?this.twoClassAttributes(a,t,s):i===O?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case j:return W;case O:return X;case Q:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
3
+ v1.1.5 */
4
+ import c from"./CJXMS7YJ.js";import{a as x}from"./B5UH25LU.js";import a from"./J3PGCQNO.js";import{a as N}from"./XCI5GOCP.js";import{a as D}from"./IPRVH4RI.js";import{E as k,h as R,i as L}from"./WLNT25ZL.js";import{b as F}from"./UYRBQI24.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./R4MIR22R.js";import"./MBQWZGFR.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),U=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(h)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?B(e,t):s===3?G(e,t):s===4?q(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===j?this.twoClassAttributes(a,t,s):i===O?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case j:return W;case O:return X;case Q:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import"./6ZYP4HST.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.1.5 */
4
+ import"./MBQWZGFR.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import"./6ZYP4HST.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.1.5 */
4
+ import"./MBQWZGFR.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{b as c}from"./BFSYEFJF.js";import{a as u}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as o}from"./NMCQMLLM.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var m=n`/** @license
3
+ v1.1.5 */
4
+ import{b as u}from"./W3FLI2DJ.js";import{a as c}from"./T6NTJXMA.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{b as o}from"./NONG5KLI.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./R4MIR22R.js";import"./MBQWZGFR.js";var m=n`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{b as c}from"./BFSYEFJF.js";import{a as u}from"./EDUHM55V.js";import"./PBY
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}`,a=class extends l{constructor(){super(...arguments),this.appearance="text",this.distance=0,this.geometries=[],this.max=0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=u({name:"buffer-tools",blocking:!0}),this._unitElement=r(),this.bufferComplete=s(),this.distanceChanged=s(),this.unitChanged=s()}static{this.properties={appearance:1,distance:9,geometries:0,max:9,min:9,sliderTicks:9,unionResults:5,unit:1,disabled:5,_translations:16,_units:16}}static{this.styles=m}willUpdate(t){t.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.geometriesWatchHandler(),t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.disabledWatchHandler(),t.has("_translations")&&this._defineTranslations(),t.has("unit")&&this.hasUpdated&&this._setUnit(this.unit),t.has("distance")&&this.hasUpdated&&this._setDistance({target:{value:this.distance}})}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units?this._units[t]:""}async load(){await this._initModules()}render(){return this.appearance==="text"?this._getTextBoxDisplay():this._getSliderDisplay()}async _defineTranslations(){this._units={feet:this._translations.feet||"Feet",meters:this._translations.meters||"Meters",miles:this._translations.miles||"Miles",kilometers:this._translations.kilometers||"Kilometers"}}async _initModules(){let[t,e]=await c(["esri/geometry/operators/geodesicBufferOperator","esri/geometry/operators/bufferOperator"]);this._geodesicBufferOperator=t,this._bufferOperator=e}_getUnits(){return this._units?Object.keys(this._units).map(t=>this._units?i`<calcite-option .label=${this._units[t]} .selected=${this.unit===t} .value=${t}></calcite-option>`:void 0):void 0}_setDistance(t){let e=Number.parseInt(t.target.value,10);this.distance!==e&&e>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:e}),this.distance=e,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout(async()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0&&this._geodesicBufferOperator&&this._bufferOperator){this._geodesicBufferOperator.isLoaded()||await this._geodesicBufferOperator.load();let t=this.geometries[0].spatialReference,e=this.geometries,d=t.isWGS84||t.isWebMercator?this._geodesicBufferOperator.executeMany(e,[this.distance],{union:this.unionResults,unit:this.unit}):this._bufferOperator.executeMany(e,[this.distance],{unit:this.unit,union:this.unionResults});this.bufferComplete.emit(d)}},400))}_getTextBoxDisplay(){return i`<div class="c-container"><calcite-input class="padding-end-1 w-50" .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} number-button-type=vertical @calciteInputInput=${this._setDistance} placeholder=0 type=number .value=${this.distance?this.distance.toString():void 0}></calcite-input><calcite-select class="flex-1 w-50" label=label @calciteSelectChange=${()=>{this._unitElement?.value&&this._setUnit(this._unitElement?.value.value)}} ${h(this._unitElement)}>${this._getUnits()}</calcite-select></div>`}_getSliderDisplay(){return i`<div><calcite-slider label-handles .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} .ticks=${this.sliderTicks}></calcite-slider></div>`}_testAccess(t,e){switch(t){case"_setUnit":return this._setUnit(e);case"_setDistance":return this._setDistance(e)}return null}};o("buffer-tools",a);export{a as BufferTools};
18
+ */:host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}`,a=class extends l{constructor(){super(...arguments),this.appearance="text",this.distance=0,this.geometries=[],this.max=0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=c({name:"buffer-tools",blocking:!0}),this._unitElement=r(),this.bufferComplete=s(),this.distanceChanged=s(),this.unitChanged=s()}static{this.properties={appearance:1,distance:9,geometries:0,max:9,min:9,sliderTicks:9,unionResults:5,unit:1,disabled:5,_translations:16,_units:16}}static{this.styles=m}willUpdate(t){t.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.geometriesWatchHandler(),t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.disabledWatchHandler(),t.has("_translations")&&this._defineTranslations(),t.has("unit")&&this.hasUpdated&&this._setUnit(this.unit),t.has("distance")&&this.hasUpdated&&this._setDistance({target:{value:this.distance}})}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units?this._units[t]:""}async load(){await this._initModules()}render(){return this.appearance==="text"?this._getTextBoxDisplay():this._getSliderDisplay()}async _defineTranslations(){this._units={feet:this._translations.feet||"Feet",meters:this._translations.meters||"Meters",miles:this._translations.miles||"Miles",kilometers:this._translations.kilometers||"Kilometers"}}async _initModules(){let[t,e]=await u(["esri/geometry/operators/geodesicBufferOperator","esri/geometry/operators/bufferOperator"]);this._geodesicBufferOperator=t,this._bufferOperator=e}_getUnits(){return this._units?Object.keys(this._units).map(t=>this._units?i`<calcite-option .label=${this._units[t]} .selected=${this.unit===t} .value=${t}></calcite-option>`:void 0):void 0}_setDistance(t){let e=Number.parseInt(t.target.value,10);this.distance!==e&&e>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:e}),this.distance=e,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout(async()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0&&this._geodesicBufferOperator&&this._bufferOperator){this._geodesicBufferOperator.isLoaded()||await this._geodesicBufferOperator.load();let t=this.geometries[0].spatialReference,e=this.geometries,d=t.isWGS84||t.isWebMercator?this._geodesicBufferOperator.executeMany(e,[this.distance],{union:this.unionResults,unit:this.unit}):this._bufferOperator.executeMany(e,[this.distance],{unit:this.unit,union:this.unionResults});this.bufferComplete.emit(d)}},400))}_getTextBoxDisplay(){return i`<div class="c-container"><calcite-input class="padding-end-1 w-50" .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} number-button-type=vertical @calciteInputInput=${this._setDistance} placeholder=0 type=number .value=${this.distance?this.distance.toString():void 0}></calcite-input><calcite-select class="flex-1 w-50" label=label @calciteSelectChange=${()=>{this._unitElement?.value&&this._setUnit(this._unitElement?.value.value)}} ${h(this._unitElement)}>${this._getUnits()}</calcite-select></div>`}_getSliderDisplay(){return i`<div><calcite-slider label-handles .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} .ticks=${this.sliderTicks}></calcite-slider></div>`}_testAccess(t,e){switch(t){case"_setUnit":return this._setUnit(e);case"_setDistance":return this._setDistance(e)}return null}};o("buffer-tools",a);export{a as BufferTools};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{d as w,e as L}from"./CCDB7WQC.js";import"./GZF6LAN2.js";import"./UO7HYYBG.js";import{b}from"./BFSYEFJF.js";import{a as V}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as v}from"./NMCQMLLM.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var S=y`@layer{/** @license
3
+ v1.1.5 */
4
+ import{d as w,e as L}from"./YNY5DID2.js";import"./EVXTOWTJ.js";import"./MWJGZ3GM.js";import{b as V}from"./W3FLI2DJ.js";import{a as b}from"./T6NTJXMA.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{b as v}from"./NONG5KLI.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./R4MIR22R.js";import"./MBQWZGFR.js";var S=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{d as w,e as L}from"./CCDB7WQC.js";import"./GZF6LAN2.js";import"./UO7HYYBG
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width:600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this.popupEnabled=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=V({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=c(),this._isSubmitBtnClicked=!1,this._mapViewContainer=c(),this._searchDiv=c(),this._guidingMessageRefNode=c(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,popupEnabled:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}this.reportingAreaMessage&&this._guidingMessageRefNode.value?.children[0]&&(this._guidingMessageRefNode.value.children[0].style.margin="0px")}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${p(this._calciteNotice)}><div slot=message .innerHTML=${d??""} ${p(this._guidingMessageRefNode)}></div></calcite-notice>`||""}<calcite-loader class=${m(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${m(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${p(this._searchDiv)}></div>`||""}<div class=${m(s)} ${p(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await b(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center,popupEnabled:this.popupEnabled}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t){let a=t.clone(),r=this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t).clone();this._editor.viewModel.sketchViewModel.addGraphic(r),this._editor.viewModel.sketchViewModel.emit("create",{graphic:r,state:"complete",toolEventInfo:null,type:"create"}),this._editor.viewModel.sketchViewModel.update(a),this.hideEditorsElements()}else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,_=[...d];if(_.push(r),n.type==="feature"&&this.FormTemplate){let g=n,E=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:_,expressionInfos:[a].concat(o)});n.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
18
+ */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width:600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this.popupEnabled=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=c(),this._isSubmitBtnClicked=!1,this._mapViewContainer=c(),this._searchDiv=c(),this._guidingMessageRefNode=c(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,popupEnabled:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}this.reportingAreaMessage&&this._guidingMessageRefNode.value?.children[0]&&(this._guidingMessageRefNode.value.children[0].style.margin="0px")}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${p(this._calciteNotice)}><div slot=message .innerHTML=${d??""} ${p(this._guidingMessageRefNode)}></div></calcite-notice>`||""}<calcite-loader class=${m(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${m(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${p(this._searchDiv)}></div>`||""}<div class=${m(s)} ${p(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await V(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center,popupEnabled:this.popupEnabled}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t){let a=t.clone(),r=this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t).clone();this._editor.viewModel.sketchViewModel.addGraphic(r),this._editor.viewModel.sketchViewModel.emit("create",{graphic:r,state:"complete",toolEventInfo:null,type:"create"}),this._editor.viewModel.sketchViewModel.update(a),this.hideEditorsElements()}else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,_=[...d];if(_.push(r),n.type==="feature"&&this.FormTemplate){let g=n,E=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:_,expressionInfos:[a].concat(o)});n.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{l as c}from"./CHDLTXQ4.js";import{a as o}from"./7X7FF24S.js";import{a as n}from"./IJD2AMEM.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
3
+ v1.1.5 */
4
+ import{l as c}from"./TSE4T2RO.js";import{a as o}from"./SM3QZXOO.js";import{a as n}from"./HFTLCY67.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
@@ -0,0 +1,18 @@
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.5 */
4
+ import g from"./FUYDFHFY.js";import e from"./RB5YEX2Z.js";import d from"./N2VUT2CM.js";import{a as b,c as I,d as A}from"./UCM5SJBM.js";import a from"./LYD27ORL.js";import{b as h}from"./A6LMQW4G.js";import"./4LZ24JLH.js";import"./E6WEKFDH.js";import"./XJ4TOB2R.js";import"./HS3HXJAE.js";import"./R6COI5BF.js";import"./2DCQYFBB.js";import"./EDAOFXZZ.js";import"./XLOESN2G.js";import"./TSE4T2RO.js";import"./3JJFCPWE.js";import"./462W4TZ3.js";import"./DHGCOXVG.js";import"./SPWZIAIS.js";import"./5FZ4QAHO.js";import"./3GWQY4PS.js";import"./HJAQTCS6.js";import"./6JKRMJTG.js";import"./4M355TO2.js";import"./SM3QZXOO.js";import"./IN4GUM3K.js";import{k as w,l as T,o as v,p as u,q as x}from"./EVXTOWTJ.js";import{a as f}from"./T6NTJXMA.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{b as S}from"./NONG5KLI.js";import{E as C,h as m,i as l,j as y,o as c}from"./R4MIR22R.js";import"./MBQWZGFR.js";export default $arcgis.t(([,{c:L},g,F])=>{var V=m`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,O=5,_=class extends C{constructor(){super(),this.sortType="relevance",this._cards=[],this._isLoading=!0,this._modifiedCheckTry=0,this._translations=f({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${u} OR ${x}`,this._allCards=[],this._authContextConsumer=h({context:I,subscribe:!0}),this._baseAgoTerms=u,this._categories=[],this._configContextConsumer=h({context:A,subscribe:!0,callback:async e=>{e&&await this._loadUpdateProcedures()}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this._userSessionContextConsumer=h({context:b,subscribe:!0}),this.cardsFetched=c(),this.allCardsFetched=c(),this.searchTermSet=c(),this.detailsCardSelected=c(),this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=O,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=O,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))}),this.listenOn(window,"solutionIDFromAssistant",e=>{this._lookupSolutionById(e.detail)})}static{this.properties={sortType:1,_cards:16,_isLoading:16,_modifiedCheckTry:16,_translations:16}}static{this.styles=V}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"all-solutions"})),"sortType"in e&&this._sortCards(e))}render(){return l`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this._isLoading?l`<calcite-loader id=solutions-all-panel-loader .label=${this._translations.fetchingSolutions}></calcite-loader>`:this._cards.length?this._cards.map(e=>l`<solution-details-card .card=${e}></solution-details-card>`):l`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){if(this._configContextConsumer.value){this._isLoading=!0;let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this._configContextConsumer.value?.primarySolutionsGroupId,"",this._userSessionContextConsumer.value,{num:1e3}),t=e?.cards.length?e.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),t.sort((a,n)=>a.categories.includes(s)&&!n.categories.includes(s)?-1:!a.categories.includes(s)&&n.categories.includes(s)?1:a.categories.includes(s)&&n.categories.includes(s)?a.categories.length-n.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of t){let r=s.get(i.deployCommonId),d=Number(i.deployVersion);(!r||d>r)&&s.set(i.deployCommonId,d)}let a=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),n=new Set(a.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!n.has(i))),t.sort((i,r)=>{let d=this._relatedSolutions.has(i.deployCommonId),p=this._relatedSolutions.has(r.deployCommonId);return d&&!p?-1:!d&&p?1:0})}let o=t.map(s=>{let a=s.categories.indexOf("/Categories/New Release")>-1,n=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;return this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s)),s.chip=a?"new":n?"updated":i&&r?"deployed":"none",s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards,this._deployedSolutions&&(this._relatedSolutions=L(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),this._isLoading=!1,o}else return this._isLoading=!1,[]}async _loadUpdateProcedures(){this._isLoading=!0;let e=this._configContextConsumer.value;this._cardsFetcher=new g(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new g(e.locale,e.orgUrl,e.portalUrl),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards),this._isLoading=!1}async _getDeployedSolutions(){let e=this._authContextConsumer.value,t=this._userSessionContextConsumer.value;if(e&&t&&e.IsSignedIn){let o=await F(e,t,this._cardsFetcher,this._cardsFetcherDeployed,v,"created");if(o){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===o?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=o}}}_getSolutionsBriefcase(){return l`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${y`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):t==="updated"&&(this._sortField="relevance"),this.sortType=t}_filterCards(e){this._categories=[],e.forEach(t=>{if(t.industry){let o=this._getIndustryValue(t.industry);if(t.domain){let s=this._getDomainValue(t.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(e){return T[e]}_getIndustryValue(e){return e==="AEC"?"AEC":w[e]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(e){return!!this._deployedSolutions?.cards?.some(t=>t?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(e)))}_isLatestVersion(e){let t=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(e.deployCommonId)));return!(t&&t.length>0&&t[0].deployVersion!==e.deployVersion)}_lookupSolutionById(e){let t=this._cards.filter(o=>o.typeKeywords.includes(e));t.length>0&&this.detailsCardSelected.emit(t[0])}};S("solutions-all-panel",_);return _},a,d,e,g)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import"./6ZYP4HST.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
3
+ v1.1.5 */
4
+ import"./MBQWZGFR.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{b as c}from"./BLTZZN2S.js";import{a as b}from"./TSHEHQMQ.js";import{a as u}from"./7X7FF24S.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
3
+ v1.1.5 */
4
+ import{b as c}from"./6JKRMJTG.js";import{a as b}from"./4M355TO2.js";import{a as u}from"./SM3QZXOO.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a as n}from"./S7BA22Z5.js";import{a as s}from"./2PF32KNA.js";import"./CHDLTXQ4.js";import"./ZQ5UFA6J.js";import"./DFIJIF4I.js";import"./MOO5HUTK.js";import{a as r,b as i}from"./BEKDBEOP.js";import"./EW6KAVCF.js";import"./H6TOIC3H.js";import"./ML7RDHJK.js";import{a as o}from"./GXDKEOCW.js";import{a}from"./YOKFSPW5.js";import"./4VQKM4WR.js";import"./FSBYBBAR.js";import"./BLTZZN2S.js";import"./TSHEHQMQ.js";import"./7X7FF24S.js";import"./23ZZGLY2.js";import"./NVJDDGAX.js";import"./PHPBVYAN.js";import"./W7S3KRZJ.js";import"./YVKX627B.js";import"./2BD3W5YF.js";import"./MGI27N6Z.js";import"./KCVL34ZO.js";import"./A3CB7ASF.js";import"./QVIM3F2B.js";import"./4LWLQBET.js";import"./AZ3MBQZV.js";import"./CGZBTZJR.js";import"./BNBQO7AY.js";import"./VIH7GETV.js";import"./XPXK6WN7.js";import"./4RHBTX4E.js";import"./TRDAVDVV.js";import"./J425E2LA.js";import"./56XBTT4O.js";import"./IJD2AMEM.js";import"./CO7NHF75.js";import"./QHESJJYD.js";import"./6ZYP4HST.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.1.5 */
4
+ import{a as n}from"./GR5W2JRK.js";import{a as s}from"./ZFBF24KI.js";import"./TSE4T2RO.js";import"./3JJFCPWE.js";import"./462W4TZ3.js";import"./DHGCOXVG.js";import{a as r,b as i}from"./MIAM4WSN.js";import"./HPTION7V.js";import"./SPWZIAIS.js";import"./5FZ4QAHO.js";import{a as o}from"./AKNB5K45.js";import{a}from"./Z3SZUCLO.js";import"./3GWQY4PS.js";import"./HJAQTCS6.js";import"./6JKRMJTG.js";import"./4M355TO2.js";import"./SM3QZXOO.js";import"./BIT53VHC.js";import"./TKJKLDLJ.js";import"./SRZEDXVZ.js";import"./FXATR6VT.js";import"./NS3JF257.js";import"./U7VDTXKM.js";import"./YFHVP5OF.js";import"./RBV7YLCJ.js";import"./IN4GUM3K.js";import"./BDWA4NT7.js";import"./MME3KBVR.js";import"./HXGSRCIU.js";import"./Y56EPUPH.js";import"./DZWMPNPF.js";import"./S44CBZC3.js";import"./PAPCUPJA.js";import"./6Y36Z3VD.js";import"./3N66IKUB.js";import"./M4NZ7ACL.js";import"./OCG4AVVF.js";import"./HFTLCY67.js";import"./DH47CO66.js";import"./ZADKZYIV.js";import"./MBQWZGFR.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
3
+ v1.1.5 */
4
4
  var o={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"};export{o as a};
@@ -0,0 +1,18 @@
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.5 */
4
+ import k from"./FUYDFHFY.js";import j from"./RB5YEX2Z.js";import e from"./N2VUT2CM.js";import{b as w}from"./QBOMJSQQ.js";import{a as y,c as f,d as C}from"./UCM5SJBM.js";import b from"./LYD27ORL.js";import{b as i}from"./A6LMQW4G.js";import"./4LZ24JLH.js";import"./E6WEKFDH.js";import"./XJ4TOB2R.js";import"./HS3HXJAE.js";import"./R6COI5BF.js";import"./2DCQYFBB.js";import"./EDAOFXZZ.js";import"./XLOESN2G.js";import"./TSE4T2RO.js";import"./3JJFCPWE.js";import"./462W4TZ3.js";import"./DHGCOXVG.js";import"./SPWZIAIS.js";import"./5FZ4QAHO.js";import"./3GWQY4PS.js";import"./HJAQTCS6.js";import"./6JKRMJTG.js";import"./4M355TO2.js";import"./SM3QZXOO.js";import"./IN4GUM3K.js";import{m as g,o as a}from"./EVXTOWTJ.js";import{a as u}from"./T6NTJXMA.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{b as p}from"./NONG5KLI.js";import{D as _,E as m,G as o,h,i as s,j as c,l as d,o as r}from"./R4MIR22R.js";import"./MBQWZGFR.js";export default $arcgis.t(([,,n,x])=>{var v=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
+ */calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}`,T=5,l=class extends m{constructor(){super(),this.sortType="created",this._cards=[],this._cardsFetching=!1,this._modifiedCheckTry=0,this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._translations=u({name:"solutions-deployed-panel",blocking:!0}),this._agoTerms=a,this._allCards=[],this._authContextConsumer=i({context:f,subscribe:!0}),this._baseAgoTerms=a,this._categories=[],this._configContextConsumer=i({context:C,subscribe:!0,callback:async e=>{e&&(this._initCardsFetchers(),this._isOrgAdmin=w(this._authContextConsumer.value),await this._getDeployedSolutions())}}),this._delay=!1,this._isOrgAdmin=!1,this._owner=g.OWNER,this._sortField="created",this._sortOrder="desc",this._userSessionContextConsumer=i({context:y,subscribe:!0}),this.deployedCardsFetched=r(),this.searchTermSet=r(),this.listenOn(window,"solutionDeleted",e=>{this._modifiedCheckTry=T,this.reload(e.detail.showAlert,e.detail.refreshSolutionsTimeout)}),this.listenOn(window,"solutionConfigureDialogClose",e=>{e.detail&&this.reload(!1,!1)}),this.listenOn(window,"deployProgressEnd",e=>{this._modifiedCheckTry=T,this._refresh(e)}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))}),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="deployments"&&this.searchSolutions(e.detail.option)})}static{this.properties={sortType:1,_cards:16,_cardsFetching:16,_modifiedCheckTry:16,_newId:16,_refs:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=v}async reload(e=!0,t=!0){this._initCardsFetchers(),e&&(this._showDeleteCompleteAlert=!0),t?setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(S){console.error("Error getting deployed solutions:",S)}})()},500):await this._getDeployedSolutions()}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):e.type==="owner"&&(this._owner=e.value):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"deployments"})),"sortType"in e&&this._sortCards(e))}render(){let e=this._cardsFetching?"":"display-none",t=this._cardsFetching?"display-none":"";return s`<h1><calcite-loader class=${o(e)} .label=${this._translations.fetchingDeployedSolutions}></calcite-loader><calcite-panel class=${o(t)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel></h1>`}updated(e){e.has("_refs")&&this._newId&&Object.keys(this._refs).indexOf(this._newId)>-1&&(this._refs[this._newId].renderConfigureDialog(!0),this._newId="")}_initCardsFetchers(){if(this._configContextConsumer.value){let e=this._configContextConsumer.value;this._cardsFetcher=new n(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new n(e.locale,e.orgUrl,e.portalUrl)}}_renderCards(){return this._cards.length?(this._refs={},this._cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this._userSessionContextConsumer.value.username||this.checkDeletePermissions()} .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id??d} .itemId=${e.id} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} ${_(this._handleRefs)}></solution-deployed-card>`)):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){let e=this._authContextConsumer.value||this._configContextConsumer.value?.authentication;if(e.IsSignedIn){this._cardsFetching=!0;let t=await x(e,this._userSessionContextConsumer.value||this._configContextConsumer.value?.userSession,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this._modifiedCheckTry>0&&(this._cards.length===t?.cards.length?(this._modifiedCheckTry--,this._getDeployedSolutions()):this._modifiedCheckTry=0),this._cards=t?.cards??[],this.deployedCardsFetched.emit(this._cards.length),this._cardsFetching=!1}}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${c`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this._authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}async _refresh(e){let t=e.detail;t&&(this._newId=t,await this._getDeployedSolutions())}};p("solutions-deployed-panel",l);return l},b,e,j,k)