@esri/solutions-components 1.1.0-next.20251001.1 → 1.1.0-next.20251007

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 (559) hide show
  1. package/dist/cdn/{NW6RXSQC.js → 2AZCARTQ.js} +2 -2
  2. package/dist/cdn/2D6HJBXC.js +4 -0
  3. package/dist/cdn/{5QDFSQJO.js → 2DGFIZ2I.js} +2 -2
  4. package/dist/cdn/{F3ZUI5T7.js → 2DSW6XTR.js} +2 -2
  5. package/dist/cdn/{RZRMSPUG.js → 2IE4DIB2.js} +4 -4
  6. package/dist/cdn/{WT44E4WB.js → 2JLIN4A5.js} +2 -2
  7. package/dist/cdn/{6C3L2DZO.js → 2QTCOEHJ.js} +2 -2
  8. package/dist/cdn/{NZW5I4ME.js → 2QXNMQKP.js} +2 -2
  9. package/dist/cdn/{BH4V7GBG.js → 2U3DF6YZ.js} +2 -2
  10. package/dist/cdn/{7KE3RMPB.js → 2VKLD4IL.js} +2 -2
  11. package/dist/cdn/{YRUKQBWR.js → 2WUZ5AWP.js} +2 -2
  12. package/dist/cdn/{LJNC3CQ4.js → 3AE5CIEW.js} +2 -2
  13. package/dist/cdn/{RGB3EFOD.js → 3Q7NXF5W.js} +1 -1
  14. package/dist/cdn/{IUMZOPCZ.js → 3SWFP7GE.js} +2 -2
  15. package/dist/cdn/{D45QIGUI.js → 43IN6KPS.js} +2 -2
  16. package/dist/cdn/{P6VJL3SQ.js → 44QLJBVZ.js} +2 -2
  17. package/dist/cdn/{56WFFMLM.js → 47GF2SJ2.js} +2 -2
  18. package/dist/cdn/{YQ5VJU2U.js → 4AMDJJTG.js} +2 -2
  19. package/dist/cdn/{T6YHOTFI.js → 4AYDOLMC.js} +2 -2
  20. package/dist/cdn/{6N3KGRET.js → 4FXA7VKS.js} +2 -2
  21. package/dist/cdn/{44YJQ3Z7.js → 4FYNXGMO.js} +1 -1
  22. package/dist/cdn/{JBWJKX6R.js → 4KNF77QE.js} +2 -2
  23. package/dist/cdn/{VLEMGKLD.js → 4KSWM4IU.js} +1 -1
  24. package/dist/cdn/{IXKMX4TL.js → 4P2UVZOP.js} +2 -2
  25. package/dist/cdn/{6EHWSG37.js → 4PTHWJYE.js} +2 -2
  26. package/dist/cdn/{U6K7QTEN.js → 4SKANYNT.js} +2 -2
  27. package/dist/cdn/{UJKEHSSJ.js → 4SZS6G6P.js} +2 -2
  28. package/dist/cdn/{7YURZN2L.js → 552IHKX7.js} +2 -2
  29. package/dist/cdn/{CNDP7JNB.js → 57TOCQVV.js} +2 -2
  30. package/dist/cdn/{CE5P6QNM.js → 5EBIVKX5.js} +2 -2
  31. package/dist/cdn/{XJUPEAQ5.js → 5F5MRFGZ.js} +2 -2
  32. package/dist/cdn/{XU2USBFY.js → 5MLYUIJV.js} +2 -2
  33. package/dist/cdn/{EKTQJHJC.js → 5OCVXO44.js} +2 -2
  34. package/dist/cdn/{J24EZC35.js → 5R4OBI65.js} +2 -2
  35. package/dist/cdn/{5Z4MFGB2.js → 5UEORPAW.js} +2 -2
  36. package/dist/cdn/5XKCPGRG.js +18 -0
  37. package/dist/cdn/{X3I27DCJ.js → 62NQBYE5.js} +2 -2
  38. package/dist/cdn/{WL4HZ56C.js → 6A2YLWRH.js} +2 -2
  39. package/dist/cdn/{NJPPUFFR.js → 6E3RVZJ4.js} +1 -1
  40. package/dist/cdn/{PZKE7HQT.js → 6NIL5WRG.js} +2 -2
  41. package/dist/cdn/{HRJCLLXN.js → 6PE6EXBN.js} +2 -2
  42. package/dist/cdn/{Y5IPQLDH.js → 6VB2IJI6.js} +1 -1
  43. package/dist/cdn/{F3IFJUMZ.js → 6YKBF3PU.js} +2 -2
  44. package/dist/cdn/{B5HXNRNU.js → 724RZCUJ.js} +2 -2
  45. package/dist/cdn/{3NPCU2LT.js → 74VOYCCN.js} +2 -2
  46. package/dist/cdn/{FAYOSJHL.js → 7C73YP73.js} +2 -2
  47. package/dist/cdn/{CSL3GOVE.js → 7CXOISFN.js} +1 -1
  48. package/dist/cdn/{DDZGCU7E.js → 7I3HYIAM.js} +2 -2
  49. package/dist/cdn/{FXOZ65PA.js → 7ND4XYZX.js} +2 -2
  50. package/dist/cdn/{NUEDPTPH.js → 7O3U25RG.js} +2 -2
  51. package/dist/cdn/{46762KZU.js → 7PFJ3YB2.js} +2 -2
  52. package/dist/cdn/{A6QCOM2P.js → 7YL6B3NW.js} +2 -2
  53. package/dist/cdn/A2YPGMU7.js +4 -0
  54. package/dist/cdn/{3V4VKE7V.js → A7MIYW46.js} +2 -2
  55. package/dist/cdn/{7OHK4L2N.js → AAYPYRT2.js} +2 -2
  56. package/dist/cdn/{IUJF7M7E.js → AAZAJXP2.js} +2 -2
  57. package/dist/cdn/{25PXWPED.js → ACKJ6HLJ.js} +2 -2
  58. package/dist/cdn/{FKGTOFJU.js → AKP7UG5M.js} +2 -2
  59. package/dist/cdn/AST3Y6YC.js +18 -0
  60. package/dist/cdn/{AFXENE56.js → AXHOADYB.js} +2 -2
  61. package/dist/cdn/{APT2GQ3E.js → AXOXQ3L7.js} +2 -2
  62. package/dist/cdn/{HRWRCQKJ.js → B2SSZL6Z.js} +2 -2
  63. package/dist/cdn/{R4XUHQKF.js → B4Y6PC7M.js} +2 -2
  64. package/dist/cdn/{P4LWYJGK.js → BAT23MAG.js} +1 -1
  65. package/dist/cdn/{TAWCEX4E.js → BD7NNCQC.js} +2 -2
  66. package/dist/cdn/{GXJDDICF.js → BDMZ6MAE.js} +2 -2
  67. package/dist/cdn/{QMKOWA5L.js → BGVSICH4.js} +1 -1
  68. package/dist/cdn/{3LFZ5T7A.js → BKC4PUJC.js} +2 -2
  69. package/dist/cdn/{VGQMQMW2.js → BLLH45ZM.js} +2 -2
  70. package/dist/cdn/{OW2VVRPH.js → BLNKUEHQ.js} +1 -1
  71. package/dist/cdn/{TN6FNGRG.js → BMVUH4BD.js} +2 -2
  72. package/dist/cdn/{FEU2BADY.js → BQMNOKC6.js} +2 -2
  73. package/dist/cdn/{XULLRYLK.js → BREEDTFR.js} +2 -2
  74. package/dist/cdn/{7DWRUYAH.js → BWDUQNHO.js} +2 -2
  75. package/dist/cdn/{WPGCC72Z.js → BXE4FJZI.js} +2 -2
  76. package/dist/cdn/{PKDOLQ7V.js → C5MINTS6.js} +2 -2
  77. package/dist/cdn/{RWIQOF3I.js → CBHX4NKW.js} +2 -2
  78. package/dist/cdn/{MJKJX3HD.js → CDAD7BAI.js} +2 -2
  79. package/dist/cdn/CFXGE6YO.js +18 -0
  80. package/dist/cdn/{QV37GJYO.js → CK4F52TP.js} +2 -2
  81. package/dist/cdn/{2JLIDK4F.js → CNRCMRFR.js} +2 -2
  82. package/dist/cdn/{YWMGE5L2.js → CNTUKHXQ.js} +2 -2
  83. package/dist/cdn/{4HUGCC22.js → CVMBXKS3.js} +2 -2
  84. package/dist/cdn/{IX57U3VX.js → CYTHT4IX.js} +1 -1
  85. package/dist/cdn/{RAMU6EDK.js → CZD47EV7.js} +1 -1
  86. package/dist/cdn/{2Q7W3K2U.js → D6A7FOI5.js} +2 -2
  87. package/dist/cdn/{SLRIN2EE.js → DEYL3KKC.js} +2 -2
  88. package/dist/cdn/{IXSWZX3Z.js → DFMOUEOY.js} +2 -2
  89. package/dist/cdn/DKWP73ZB.js +18 -0
  90. package/dist/cdn/{UNY6ZPBO.js → DLPWOS2S.js} +2 -2
  91. package/dist/cdn/{PF74RPRR.js → DMV2AUFK.js} +2 -2
  92. package/dist/cdn/{NBOMJONT.js → E2BU666U.js} +2 -2
  93. package/dist/cdn/{SVUWQBJ3.js → E54PKNPS.js} +2 -2
  94. package/dist/cdn/{VO725MXM.js → EASJMMIP.js} +2 -2
  95. package/dist/cdn/{UQPYI4YU.js → EE43NZUC.js} +2 -2
  96. package/dist/cdn/{R4UPDI2V.js → EH5HZMS6.js} +2 -2
  97. package/dist/cdn/{5KM3OQ45.js → EHHDW5VC.js} +2 -2
  98. package/dist/cdn/{S4SB5HEM.js → EKV3AXY4.js} +1 -1
  99. package/dist/cdn/{JY3JOOER.js → ELNAGE56.js} +2 -2
  100. package/dist/cdn/{F2SBQZXY.js → ELV7WOWP.js} +2 -2
  101. package/dist/cdn/{JN6MPXCJ.js → EMKALPKM.js} +2 -2
  102. package/dist/cdn/{OYFTOJO5.js → EP4UGUEJ.js} +2 -2
  103. package/dist/cdn/{O3IYQZS4.js → EQRPJTSO.js} +2 -2
  104. package/dist/cdn/{TPTWXLY5.js → EW77BRVK.js} +1 -1
  105. package/dist/cdn/{RSRNKFJB.js → EX2HZYXJ.js} +2 -2
  106. package/dist/cdn/{CUDC5ZC7.js → F3CTFVF3.js} +2 -2
  107. package/dist/cdn/{XXQBIMTA.js → F43I52D6.js} +2 -2
  108. package/dist/cdn/{AFO27NTW.js → F4X5QO7H.js} +2 -2
  109. package/dist/cdn/{ETU34LXS.js → F55DVFGV.js} +2 -2
  110. package/dist/cdn/F7NK2ZDC.js +18 -0
  111. package/dist/cdn/{3SVM2RHB.js → FCEPATIT.js} +2 -2
  112. package/dist/cdn/{EZY6IHIO.js → FCTVPKTW.js} +2 -2
  113. package/dist/cdn/{T3TTYN47.js → FDYYIPGA.js} +2 -2
  114. package/dist/cdn/{4U2MELLO.js → FLBZR6QM.js} +2 -2
  115. package/dist/cdn/{K4MN47BN.js → FPAZPLYR.js} +2 -2
  116. package/dist/cdn/{VX5NJVMO.js → FSOQTW3R.js} +2 -2
  117. package/dist/cdn/{5MJ2X7WW.js → FTQ25G6S.js} +11 -11
  118. package/dist/cdn/{ABW4FZ4A.js → FV7PDAAZ.js} +2 -2
  119. package/dist/cdn/{JIGAUQSV.js → FYEINK5S.js} +2 -2
  120. package/dist/cdn/{E2XUVMWF.js → FYQCB2K2.js} +2 -2
  121. package/dist/cdn/{ONWRZL4D.js → FZ2AHQWZ.js} +2 -2
  122. package/dist/cdn/FZEGBYLU.js +18 -0
  123. package/dist/cdn/{IT423KGN.js → GB7MQFMY.js} +2 -2
  124. package/dist/cdn/{UUQJFS5C.js → GK73RAPL.js} +2 -2
  125. package/dist/cdn/{VPDB3Z3Z.js → GPJSSBQP.js} +2 -2
  126. package/dist/cdn/{4HPGRAZN.js → GSLNNZC3.js} +2 -2
  127. package/dist/cdn/{ZZQSJXAH.js → GVD6DTFG.js} +2 -2
  128. package/dist/cdn/{6KPQJMWZ.js → GXRV7RM3.js} +2 -2
  129. package/dist/cdn/{53CTPJ7L.js → GYX34AVR.js} +2 -2
  130. package/dist/cdn/{LABCPCJ5.js → H2O2MNSM.js} +3 -3
  131. package/dist/cdn/{IAGYOESJ.js → HHWLPZBQ.js} +1 -1
  132. package/dist/cdn/HML532KH.js +4 -0
  133. package/dist/cdn/{EG6O4RGD.js → HMPAG3DM.js} +2 -2
  134. package/dist/cdn/{RWQTCZS7.js → HS7QACIV.js} +2 -2
  135. package/dist/cdn/{OCBVKLSL.js → HWIHOVWP.js} +1 -1
  136. package/dist/cdn/{T4VXASQ3.js → I4KZ4IWL.js} +1 -1
  137. package/dist/cdn/{2AEYT5EN.js → I5CZOAWC.js} +2 -2
  138. package/dist/cdn/{HIZLEBSM.js → I6ICK7T2.js} +1 -1
  139. package/dist/cdn/{UDPIYAP4.js → I7NYLB6M.js} +2 -2
  140. package/dist/cdn/{6OEHSLBL.js → I7OLLWYU.js} +2 -2
  141. package/dist/cdn/{MOHNOCW5.js → ICUPL3P5.js} +2 -2
  142. package/dist/cdn/{3QSTJB4G.js → IIZYYA4Y.js} +2 -2
  143. package/dist/cdn/ILRFSKWK.js +4 -0
  144. package/dist/cdn/{3Y3QLPOF.js → IT53LSQJ.js} +1 -1
  145. package/dist/cdn/{FIBLCYVI.js → IUFITMZP.js} +1 -1
  146. package/dist/cdn/{HMOI5PBK.js → IUNSTTVD.js} +2 -2
  147. package/dist/cdn/{TJBFLJQE.js → IWXUAUTV.js} +1 -1
  148. package/dist/cdn/{73DLCY4H.js → IXFIDBVV.js} +2 -2
  149. package/dist/cdn/{L3FLIUCT.js → IXL7MCZO.js} +2 -2
  150. package/dist/cdn/{NYNK6MDG.js → IZYSIC5H.js} +2 -2
  151. package/dist/cdn/JAJO3XWS.js +4 -0
  152. package/dist/cdn/{X2FKAGGD.js → JCOW7FQV.js} +2 -2
  153. package/dist/cdn/{2HZNWLFR.js → JFD6YYKC.js} +2 -2
  154. package/dist/cdn/{4OHW6OFA.js → JFHBX5VG.js} +2 -2
  155. package/dist/cdn/{5LCTRIUC.js → JGSUEUPR.js} +2 -2
  156. package/dist/cdn/{5IUMTQEP.js → JJFAXRVR.js} +2 -2
  157. package/dist/cdn/{KZZQAKAW.js → JKI3NFEX.js} +2 -2
  158. package/dist/cdn/{P735ARVZ.js → JLFITN4X.js} +2 -2
  159. package/dist/cdn/{GI43YZFO.js → JM7CE7BU.js} +2 -2
  160. package/dist/cdn/{UZCZ4YQJ.js → JMOWBDNJ.js} +1 -1
  161. package/dist/cdn/{GCLQJCPJ.js → JN3EG3ZT.js} +2 -2
  162. package/dist/cdn/{VOJ5I2DI.js → JN7MS6OE.js} +2 -2
  163. package/dist/cdn/{ULYWSYT3.js → JNN7O65D.js} +2 -2
  164. package/dist/cdn/{6RW5X6U7.js → JOHYSRVH.js} +2 -2
  165. package/dist/cdn/{PJ5GIMQ3.js → JTQIHMUV.js} +2 -2
  166. package/dist/cdn/{K2XE5PCL.js → JUOGVLUN.js} +2 -2
  167. package/dist/cdn/{KY6VYS63.js → JUW3C22A.js} +2 -2
  168. package/dist/cdn/{I77ESG6W.js → K3CKPBR4.js} +1 -1
  169. package/dist/cdn/{YZEMFOML.js → KCJXM2WD.js} +2 -2
  170. package/dist/cdn/{EQYKIFSR.js → KFDMXZNX.js} +2 -2
  171. package/dist/cdn/KFHQ56GV.js +4 -0
  172. package/dist/cdn/{TPBX5AGW.js → KMRBYQO7.js} +2 -2
  173. package/dist/cdn/{G4K6QJKG.js → KS5KSXZN.js} +2 -2
  174. package/dist/cdn/{N6KHEEH3.js → L3D5DBDG.js} +2 -2
  175. package/dist/cdn/{MJTZKZWX.js → L6KEE7CO.js} +2 -2
  176. package/dist/cdn/{RMJKDDFJ.js → L7OVTNBC.js} +2 -2
  177. package/dist/cdn/{2RWVFEFA.js → LEK4SKDC.js} +2 -2
  178. package/dist/cdn/{ORRNGEPB.js → LI6UY3BW.js} +2 -2
  179. package/dist/cdn/{TGUYC6XA.js → LK2M24LA.js} +2 -2
  180. package/dist/cdn/{WO7RS6VM.js → LKLS7OZC.js} +2 -2
  181. package/dist/cdn/{LHLEEXVK.js → LMYIKSSZ.js} +2 -2
  182. package/dist/cdn/{ZTNPPZFF.js → LP4CKVU6.js} +2 -2
  183. package/dist/cdn/{KHMHCKSH.js → LQRN2ZYE.js} +2 -2
  184. package/dist/cdn/{PNJABFHT.js → LQZH56WC.js} +2 -2
  185. package/dist/cdn/{4OITS6OK.js → LRCHFOUM.js} +2 -2
  186. package/dist/cdn/{AADAYMT6.js → LTO6H6S4.js} +2 -2
  187. package/dist/cdn/{4PNMPCYE.js → LTO6ZYWH.js} +1 -1
  188. package/dist/cdn/{RY2EWQB3.js → LVYJOWFJ.js} +2 -2
  189. package/dist/cdn/{NF5FJFX4.js → LWTAHQMO.js} +2 -2
  190. package/dist/cdn/{FBWQBY27.js → LZON5NIK.js} +1 -1
  191. package/dist/cdn/{G7TIHPPP.js → M3TQIYRO.js} +2 -2
  192. package/dist/cdn/{H3JE25P4.js → M6JYAAPC.js} +2 -2
  193. package/dist/cdn/{EMPCYNVL.js → MATQ5XDV.js} +2 -2
  194. package/dist/cdn/{KSRDVGLI.js → MDXTMYXB.js} +1 -1
  195. package/dist/cdn/{Y7XPQ7UZ.js → MFCKBJNG.js} +2 -2
  196. package/dist/cdn/MGTW76LA.js +18 -0
  197. package/dist/cdn/{BUZUCGC5.js → MNSINQHA.js} +2 -2
  198. package/dist/cdn/{M7M7RR3S.js → MP7U4YJC.js} +2 -2
  199. package/dist/cdn/{26NPWR4E.js → MRVFLAQW.js} +1 -1
  200. package/dist/cdn/{54UCJPI6.js → MUBJP6SD.js} +2 -2
  201. package/dist/cdn/{OPY4Z2YE.js → MUT7LU6P.js} +2 -2
  202. package/dist/cdn/N2655EZT.js +4 -0
  203. package/dist/cdn/{3ED2DZVC.js → N34QDFSE.js} +2 -2
  204. package/dist/cdn/{AAHYGMQT.js → N3JFMD3Z.js} +2 -2
  205. package/dist/cdn/{MGYPSDR4.js → N5GDMYKC.js} +2 -2
  206. package/dist/cdn/{GGNR6VWM.js → N7BBRC6U.js} +1 -1
  207. package/dist/cdn/{QOUQNYHD.js → N7BF6BJU.js} +2 -2
  208. package/dist/cdn/{J232BJHR.js → NFUTJQ6G.js} +2 -2
  209. package/dist/cdn/{MEFB22VX.js → NH6ZOURV.js} +2 -2
  210. package/dist/cdn/{6H2IV23Z.js → NIRDZTE6.js} +2 -2
  211. package/dist/cdn/{ZVGL7CJA.js → NJFED6J6.js} +2 -2
  212. package/dist/cdn/{TYQY5U2V.js → NJXLJG26.js} +2 -2
  213. package/dist/cdn/{VRU3BP4W.js → NLQWW2KP.js} +2 -2
  214. package/dist/cdn/NNTXZQRZ.js +379 -0
  215. package/dist/cdn/{Y26VV5TR.js → NPYBNSXS.js} +2 -2
  216. package/dist/cdn/{WRGYCJSM.js → NQWWWUFD.js} +1 -1
  217. package/dist/cdn/{UBQIWDJ6.js → NT4MLHOA.js} +2 -2
  218. package/dist/cdn/{MPXO4HWB.js → NVFUKPQC.js} +2 -2
  219. package/dist/cdn/{KPJDZ6GB.js → O3PEQLZQ.js} +2 -2
  220. package/dist/cdn/{4DK5FO5H.js → OD3DDRK2.js} +2 -2
  221. package/dist/cdn/{CPNGZCYJ.js → OG3R45SQ.js} +2 -2
  222. package/dist/cdn/{4ZBYX6KG.js → OHVE5E6B.js} +3 -3
  223. package/dist/cdn/{SOB6MDSE.js → OMTBC3UI.js} +2 -2
  224. package/dist/cdn/{76KBCKGN.js → OQJZEYEF.js} +2 -2
  225. package/dist/cdn/{XHVAPJYJ.js → ORVXY4O3.js} +2 -2
  226. package/dist/cdn/{4QAIRZLC.js → OUTJXFMV.js} +2 -2
  227. package/dist/cdn/{ND2IK3J4.js → OXGQ2TFX.js} +2 -2
  228. package/dist/cdn/{Z22QJBZP.js → P3MAJXHM.js} +2 -2
  229. package/dist/cdn/{PNA7VJ2E.js → PHH3PQEX.js} +2 -2
  230. package/dist/cdn/{K5NA7NZG.js → PN5SJVDO.js} +2 -2
  231. package/dist/cdn/{QNL73AJ7.js → PVUL25OE.js} +2 -2
  232. package/dist/cdn/Q7MFBOXJ.js +18 -0
  233. package/dist/cdn/{I57F65R3.js → QDU3LTAL.js} +1 -1
  234. package/dist/cdn/{U7QJL6RJ.js → QGDM34WJ.js} +2 -2
  235. package/dist/cdn/{DWJ66BPI.js → QOLVMCBA.js} +1 -1
  236. package/dist/cdn/{U3CWV2X3.js → QOY37WXW.js} +2 -2
  237. package/dist/cdn/{VUVGVTFD.js → QQR6XRGE.js} +2 -2
  238. package/dist/cdn/QULVZRVY.js +4 -0
  239. package/dist/cdn/{IOCEGFZ6.js → QXZRXM75.js} +2 -2
  240. package/dist/cdn/{32Z322VO.js → QZGBZQBD.js} +2 -2
  241. package/dist/cdn/{LAFNLEAQ.js → R4DMQKY5.js} +2 -2
  242. package/dist/cdn/{X3WZALYF.js → R4MJXBDO.js} +1 -1
  243. package/dist/cdn/R7HVAULO.js +4 -0
  244. package/dist/cdn/RD5GHVVI.js +18 -0
  245. package/dist/cdn/{YU2HWCG6.js → RF62BZRX.js} +2 -2
  246. package/dist/cdn/{JXDRM6IS.js → RFBX4UEA.js} +2 -2
  247. package/dist/cdn/{GOXCTX5F.js → RIAK55ZE.js} +2 -2
  248. package/dist/cdn/{TYYJ3744.js → RM2LIIIT.js} +2 -2
  249. package/dist/cdn/{DAHGIWLP.js → RMV2E5QX.js} +1 -1
  250. package/dist/cdn/{MAHTOZQZ.js → RNNWRYA6.js} +2 -2
  251. package/dist/cdn/{WLO6G3ZI.js → ROGD6PQR.js} +2 -2
  252. package/dist/cdn/{Z6B3WHSU.js → RQNPHKAR.js} +2 -2
  253. package/dist/cdn/{OPKGZD32.js → RRIYSYSG.js} +2 -2
  254. package/dist/cdn/{QO3MRL5D.js → RYLCCGYQ.js} +1 -1
  255. package/dist/cdn/{UZ7BFM3X.js → RYNRXDG4.js} +2 -2
  256. package/dist/cdn/{RH2ESQUL.js → S3DZVORH.js} +2 -2
  257. package/dist/cdn/{RPMJNS7Y.js → S62BKUL2.js} +1 -1
  258. package/dist/cdn/{B622V4H4.js → SBJECNAA.js} +2 -2
  259. package/dist/cdn/{CXEFCT7U.js → SBY3SKOO.js} +2 -2
  260. package/dist/cdn/{BR2KYFVU.js → SLJBKYCZ.js} +2 -2
  261. package/dist/cdn/{DX2KWXQH.js → T2PBTRJS.js} +2 -2
  262. package/dist/cdn/{YG6LBR5J.js → T3MQFEWY.js} +2 -2
  263. package/dist/cdn/{H7CEQ3X7.js → T6IO3EIO.js} +2 -2
  264. package/dist/cdn/{ERQ5BYWY.js → TA2EK6T7.js} +2 -2
  265. package/dist/cdn/{RGWPAFYJ.js → TAEUWCES.js} +2 -2
  266. package/dist/cdn/{7WP5CYWM.js → TASKYDNG.js} +2 -2
  267. package/dist/cdn/{MRA34GVV.js → TCCDGCGW.js} +2 -2
  268. package/dist/cdn/{RFWYMUFZ.js → TF735JBT.js} +2 -2
  269. package/dist/cdn/{XUPJRKEU.js → TFYB2NTT.js} +2 -2
  270. package/dist/cdn/{744WKL4B.js → TH3X3X2I.js} +2 -2
  271. package/dist/cdn/{35U56JIN.js → THKAOBGP.js} +2 -2
  272. package/dist/cdn/{NJ5MKRTM.js → TMC7ITEQ.js} +2 -2
  273. package/dist/cdn/{PWQW6QGN.js → TRVXTU3X.js} +2 -2
  274. package/dist/cdn/{2GNEM4WI.js → TSNRAO3A.js} +2 -2
  275. package/dist/cdn/TTOD54DS.js +4 -0
  276. package/dist/cdn/{BAOWCOIZ.js → U3JDZKXZ.js} +2 -2
  277. package/dist/cdn/{G6EY2AO6.js → U7WE2Z7A.js} +2 -2
  278. package/dist/cdn/{YYMQ6Q6V.js → UE3LQPYK.js} +2 -2
  279. package/dist/cdn/{GWPDPRKQ.js → UEAFCV7D.js} +2 -2
  280. package/dist/cdn/{2K3QGCHY.js → UONZCNUI.js} +2 -2
  281. package/dist/cdn/{7HHMPR7G.js → UTWWI3OJ.js} +2 -2
  282. package/dist/cdn/{JSPYOTYK.js → UWJF44VS.js} +2 -2
  283. package/dist/cdn/{OAFKCPGA.js → UWRYA7O5.js} +2 -2
  284. package/dist/cdn/{VXL6UU32.js → V22EOT5F.js} +2 -2
  285. package/dist/cdn/{AL7BYUFL.js → V6YG4AUN.js} +1 -1
  286. package/dist/cdn/{D65MWXTY.js → VBVNASGD.js} +2 -2
  287. package/dist/cdn/{YMYLX5KE.js → VEF3UNRW.js} +2 -2
  288. package/dist/cdn/{VNKIBY73.js → VI4HY6R4.js} +2 -2
  289. package/dist/cdn/{MWYML6WY.js → VJFYA5FL.js} +2 -2
  290. package/dist/cdn/{IZ4Q2NCE.js → VKS462PY.js} +2 -2
  291. package/dist/cdn/VZVGIZK3.js +18 -0
  292. package/dist/cdn/{QUAPDTN4.js → W3T35GGA.js} +1 -1
  293. package/dist/cdn/{HHMWLNDM.js → W7I6VIPW.js} +2 -2
  294. package/dist/cdn/{Y6HBFOGB.js → WC36YPV6.js} +2 -2
  295. package/dist/cdn/{ER5T5IBK.js → WCFKEAUZ.js} +2 -2
  296. package/dist/cdn/{RPGDZFQK.js → WDCL4ZKI.js} +2 -2
  297. package/dist/cdn/{2JDXYIOQ.js → WIRDBZL6.js} +2 -2
  298. package/dist/cdn/{2UQPZ6NH.js → WJNHOH6L.js} +2 -2
  299. package/dist/cdn/{6UPBHSJU.js → WNKXFWQB.js} +3 -3
  300. package/dist/cdn/{CMRHHLTA.js → WO2PPITE.js} +2 -2
  301. package/dist/cdn/{4ZR3MSNA.js → WPDIZJFV.js} +2 -2
  302. package/dist/cdn/{WXP7MVWM.js → WXJSXARO.js} +2 -2
  303. package/dist/cdn/{WBMDIJ7H.js → WZWHYIY6.js} +1 -1
  304. package/dist/cdn/{XRRMKBZC.js → X2OE5IJ7.js} +2 -2
  305. package/dist/cdn/{4YJ6A7NH.js → X6OAQ3ZM.js} +2 -2
  306. package/dist/cdn/{GSD3LFSU.js → XDCP7UKX.js} +2 -2
  307. package/dist/cdn/{DADS3G2A.js → XHHTWE2A.js} +2 -2
  308. package/dist/cdn/{NCOAP2MV.js → XLL3XQZK.js} +2 -2
  309. package/dist/cdn/{4OT2FGEK.js → XO2DRFBA.js} +1 -1
  310. package/dist/cdn/{BMP6JBUC.js → XP5L3PQ7.js} +2 -2
  311. package/dist/cdn/{ZB72I7DY.js → XV6T6WXW.js} +2 -2
  312. package/dist/cdn/{UMXSJGTY.js → XXAXGA6T.js} +2 -2
  313. package/dist/cdn/{BGEKENEW.js → XYTLVBPS.js} +2 -2
  314. package/dist/cdn/{5KJ43LT2.js → Y6AAHDG7.js} +2 -2
  315. package/dist/cdn/{MZPGTHXU.js → Y6RANQUU.js} +2 -2
  316. package/dist/cdn/{Z4SZ3T5Q.js → YBH23QNV.js} +2 -2
  317. package/dist/cdn/{KIJPQQ52.js → YBYPXRZ4.js} +2 -2
  318. package/dist/cdn/{NG6NUOP3.js → YGMKDCD5.js} +2 -2
  319. package/dist/cdn/{AUTDUGL2.js → YHMXVXND.js} +2 -2
  320. package/dist/cdn/{BMI4372L.js → YJYMJBBE.js} +2 -2
  321. package/dist/cdn/{H6U7EXWQ.js → YN4G6JAG.js} +2 -2
  322. package/dist/cdn/{SMWON25K.js → YVS3ZHMD.js} +2 -2
  323. package/dist/cdn/{YXK7Y3D3.js → YW3FYUGE.js} +2 -2
  324. package/dist/cdn/{FW7R3WPQ.js → YWAQR3AZ.js} +2 -2
  325. package/dist/cdn/{HICZARO2.js → YWQ54Y2X.js} +2 -2
  326. package/dist/cdn/{DGZQ4PDA.js → Z23B54QX.js} +2 -2
  327. package/dist/cdn/{KWDBAHJD.js → Z27W4IIG.js} +2 -2
  328. package/dist/cdn/{3B4GHGN7.js → Z3H3C4GI.js} +2 -2
  329. package/dist/cdn/{ZNNLHOXB.js → Z5Z6E4RN.js} +2 -2
  330. package/dist/cdn/{QDBHOCPI.js → ZB2JHEUH.js} +2 -2
  331. package/dist/cdn/{3EXVFSPL.js → ZCHDFFZT.js} +2 -2
  332. package/dist/cdn/{AYBNUKF2.js → ZGIPZ5JM.js} +2 -2
  333. package/dist/cdn/{KR3B36T2.js → ZHHO3JI4.js} +2 -2
  334. package/dist/cdn/{4W77FHNW.js → ZKDDBMF4.js} +3 -3
  335. package/dist/cdn/{KDMWAUZS.js → ZM5H24GH.js} +2 -2
  336. package/dist/cdn/{I6Y47RXA.js → ZMZFEE2N.js} +2 -2
  337. package/dist/cdn/{Q7Z6TSJO.js → ZQ4ZO3HK.js} +2 -2
  338. package/dist/cdn/{AG7WZVG3.js → ZRYDIP3B.js} +2 -2
  339. package/dist/cdn/{QPZTJWXP.js → ZS5DDGRG.js} +2 -2
  340. package/dist/cdn/{U4ZMYHFB.js → ZSKHTLM5.js} +1 -1
  341. package/dist/cdn/{LPQD7HOP.js → ZXKECFB4.js} +2 -2
  342. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ar.json +1 -0
  343. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.bg.json +1 -0
  344. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.bs.json +1 -0
  345. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ca.json +1 -0
  346. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.cs.json +1 -0
  347. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.da.json +1 -0
  348. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.de.json +1 -1
  349. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.el.json +1 -0
  350. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ar.json +1 -0
  352. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_bg.json +1 -0
  353. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_bs.json +1 -0
  354. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ca.json +1 -0
  355. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_cs.json +1 -0
  356. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_da.json +1 -0
  357. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_de.json +1 -0
  358. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_el.json +1 -0
  359. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_es.json +1 -0
  360. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_et.json +1 -0
  361. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_fi.json +1 -0
  362. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_fr.json +1 -0
  363. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_he.json +1 -0
  364. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_hr.json +1 -0
  365. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_hu.json +1 -0
  366. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_id.json +1 -0
  367. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_it.json +1 -0
  368. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ja.json +1 -0
  369. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ko.json +1 -0
  370. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_lt.json +1 -0
  371. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_lv.json +1 -0
  372. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_nl.json +1 -0
  373. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_no.json +1 -0
  374. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pl.json +1 -0
  375. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pt-BR.json +1 -0
  376. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pt-PT.json +1 -0
  377. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ro.json +1 -0
  378. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ru.json +1 -0
  379. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sk.json +1 -0
  380. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sl.json +1 -0
  381. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sr.json +1 -0
  382. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sv.json +1 -0
  383. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_th.json +1 -0
  384. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_tr.json +1 -0
  385. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_uk.json +1 -0
  386. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_vi.json +1 -0
  387. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-CN.json +1 -0
  388. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-HK.json +1 -0
  389. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-TW.json +1 -0
  390. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.es.json +1 -0
  391. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.et.json +1 -0
  392. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.fi.json +1 -0
  393. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.fr.json +1 -0
  394. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.he.json +1 -1
  395. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.hr.json +1 -0
  396. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.hu.json +1 -0
  397. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.id.json +1 -0
  398. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.it.json +1 -0
  399. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ja.json +1 -0
  400. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  401. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ko.json +1 -0
  402. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.lt.json +1 -0
  403. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.lv.json +1 -0
  404. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.nl.json +1 -0
  405. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.no.json +1 -0
  406. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pl.json +1 -0
  407. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pt-BR.json +1 -0
  408. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pt-PT.json +1 -0
  409. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ro.json +1 -0
  410. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ru.json +1 -0
  411. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sk.json +1 -0
  412. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sl.json +1 -0
  413. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sr.json +1 -0
  414. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sv.json +1 -0
  415. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.th.json +1 -0
  416. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.tr.json +1 -0
  417. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.uk.json +1 -0
  418. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.vi.json +1 -0
  419. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-CN.json +1 -0
  420. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-HK.json +1 -0
  421. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-TW.json +1 -0
  422. package/dist/cdn/index.js +2 -2
  423. package/dist/chunks/Auth.js +1 -1
  424. package/dist/chunks/CardsFetcher.js +1 -1
  425. package/dist/chunks/appConfig.js +1 -1
  426. package/dist/chunks/cardFetchingUtils.js +1 -1
  427. package/dist/chunks/cardsHelpers.js +1 -1
  428. package/dist/chunks/common.js +1 -1
  429. package/dist/chunks/deployAppContexts.js +1 -1
  430. package/dist/chunks/downloadUtils.js +1 -1
  431. package/dist/chunks/getItemIcon.js +1 -1
  432. package/dist/chunks/helpers.js +1 -1
  433. package/dist/chunks/interfaces.js +1 -1
  434. package/dist/chunks/loadModules.js +1 -1
  435. package/dist/chunks/mapViewUtils.js +1 -1
  436. package/dist/chunks/pciUtils.js +1 -1
  437. package/dist/chunks/popupUtils.js +1 -1
  438. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  439. package/dist/chunks/privilegeUtils.js +1 -1
  440. package/dist/chunks/publicNotificationContext.js +1 -1
  441. package/dist/chunks/queryUtils.js +1 -1
  442. package/dist/chunks/runtime.js +1 -1
  443. package/dist/chunks/solution-store.js +1 -1
  444. package/dist/chunks/templates.js +1 -1
  445. package/dist/chunks/useT9n.js +1 -1
  446. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  447. package/dist/components/basemap-gallery/customElement.js +1 -1
  448. package/dist/components/buffer-tools/customElement.js +8 -8
  449. package/dist/components/card-manager/customElement.js +1 -1
  450. package/dist/components/consent-manager/customElement.js +1 -1
  451. package/dist/components/create-feature/customElement.js +1 -1
  452. package/dist/components/create-related-feature/customElement.js +1 -1
  453. package/dist/components/crowdsource-manager/customElement.js +11 -11
  454. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  455. package/dist/components/deduct-calculator/customElement.js +1 -1
  456. package/dist/components/delete-button/customElement.js +1 -1
  457. package/dist/components/delete-dialog/customElement.js +1 -1
  458. package/dist/components/edit-card/customElement.js +1 -1
  459. package/dist/components/feature-details/customElement.js +1 -1
  460. package/dist/components/feature-list/customElement.js +1 -1
  461. package/dist/components/field-selection/customElement.js +91 -78
  462. package/dist/components/floor-filter/customElement.js +1 -1
  463. package/dist/components/info-card/customElement.js +1 -1
  464. package/dist/components/json-editor/customElement.js +1 -1
  465. package/dist/components/layer-list/customElement.js +1 -1
  466. package/dist/components/layer-table/customElement.d.ts +2 -0
  467. package/dist/components/layer-table/customElement.js +17 -14
  468. package/dist/components/map-card/customElement.js +1 -1
  469. package/dist/components/map-draw-tools/customElement.js +34 -30
  470. package/dist/components/map-fullscreen/customElement.js +1 -1
  471. package/dist/components/map-layer-picker/customElement.js +1 -1
  472. package/dist/components/map-legend/customElement.js +1 -1
  473. package/dist/components/map-picker/customElement.js +1 -1
  474. package/dist/components/map-search/customElement.js +1 -1
  475. package/dist/components/map-select-tools/customElement.js +11 -11
  476. package/dist/components/map-tools/customElement.js +1 -1
  477. package/dist/components/pci-calculator/customElement.js +1 -1
  478. package/dist/components/pdf-download/customElement.js +1 -1
  479. package/dist/components/public-notification/customElement.js +15 -15
  480. package/dist/components/refine-selection/customElement.d.ts +1 -0
  481. package/dist/components/refine-selection/customElement.js +44 -41
  482. package/dist/components/selection-tool/customElement.js +1 -1
  483. package/dist/components/solution-article-card/customElement.js +1 -1
  484. package/dist/components/solution-configuration/customElement.js +1 -1
  485. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  486. package/dist/components/solution-configure-titles/customElement.js +1 -1
  487. package/dist/components/solution-contents/customElement.js +1 -1
  488. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  489. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  490. package/dist/components/solution-deployed-card/customElement.js +1 -1
  491. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  492. package/dist/components/solution-details-card/customElement.js +1 -1
  493. package/dist/components/solution-details-panel/customElement.js +1 -1
  494. package/dist/components/solution-item/customElement.js +1 -1
  495. package/dist/components/solution-item-accordion/customElement.js +1 -1
  496. package/dist/components/solution-item-details/customElement.js +1 -1
  497. package/dist/components/solution-item-diagram/customElement.js +1 -1
  498. package/dist/components/solution-item-icon/customElement.js +1 -1
  499. package/dist/components/solution-item-sharing/customElement.js +1 -1
  500. package/dist/components/solution-organization-variables/customElement.js +1 -1
  501. package/dist/components/solution-resource-item/customElement.js +1 -1
  502. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  503. package/dist/components/solution-social-share/customElement.js +1 -1
  504. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  505. package/dist/components/solution-template-data/customElement.js +1 -1
  506. package/dist/components/solution-variables/customElement.js +1 -1
  507. package/dist/components/solutions-all-panel/customElement.js +1 -1
  508. package/dist/components/solutions-all-shell/customElement.d.ts +1 -1
  509. package/dist/components/solutions-all-shell/customElement.js +32 -29
  510. package/dist/components/solutions-article-panel/customElement.js +1 -1
  511. package/dist/components/solutions-articles/customElement.js +1 -1
  512. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  513. package/dist/components/solutions-deploy-app/customElement.js +9 -9
  514. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +7 -0
  515. package/dist/components/solutions-deploy-app-nav/customElement.js +35 -19
  516. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +1 -1
  517. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  518. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  519. package/dist/components/solutions-deployed-shell/customElement.js +15 -15
  520. package/dist/components/solutions-filter-panel/customElement.d.ts +2 -8
  521. package/dist/components/solutions-filter-panel/customElement.js +1 -2
  522. package/dist/components/spatial-ref/customElement.js +1 -1
  523. package/dist/components/store-manager/customElement.js +1 -1
  524. package/dist/docs/api.json +69 -4
  525. package/dist/docs/docs.json +54 -5
  526. package/dist/docs/vscode.html-custom-data.json +21 -2
  527. package/dist/docs/web-types.json +34 -5
  528. package/dist/index.d.ts +1 -0
  529. package/dist/index.js +1 -1
  530. package/dist/loader.js +2 -2
  531. package/dist/types/lumina.d.ts +2 -1
  532. package/dist/types/preact.d.ts +2 -1
  533. package/dist/types/preact10.d.ts +2 -1
  534. package/dist/types/react.d.ts +2 -1
  535. package/dist/types/stencil.d.ts +2 -1
  536. package/dist/utils/interfaces.d.ts +5 -1
  537. package/package.json +20 -20
  538. package/dist/cdn/2H3FU2GQ.js +0 -18
  539. package/dist/cdn/35VKC3HF.js +0 -379
  540. package/dist/cdn/6ORJSITR.js +0 -18
  541. package/dist/cdn/7F7YUDXX.js +0 -18
  542. package/dist/cdn/A63FRN4O.js +0 -4
  543. package/dist/cdn/AY3NI2XG.js +0 -18
  544. package/dist/cdn/BF4SQYSX.js +0 -4
  545. package/dist/cdn/CJHZDB77.js +0 -18
  546. package/dist/cdn/EPLKFX3U.js +0 -4
  547. package/dist/cdn/EYHYE6X7.js +0 -18
  548. package/dist/cdn/GVL6QMUW.js +0 -4
  549. package/dist/cdn/HQUIPGF2.js +0 -18
  550. package/dist/cdn/LIJIFUOI.js +0 -4
  551. package/dist/cdn/NKKFCOFL.js +0 -4
  552. package/dist/cdn/Q4KBZO4C.js +0 -18
  553. package/dist/cdn/SHUMQDMA.js +0 -4
  554. package/dist/cdn/SLWXIRRI.js +0 -4
  555. package/dist/cdn/SP2IBQRM.js +0 -18
  556. package/dist/cdn/UORXW6T2.js +0 -18
  557. package/dist/cdn/YT3PSVK7.js +0 -4
  558. package/dist/cdn/ZA4VTCHB.js +0 -4
  559. package/dist/solutions-components_commit.txt +0 -10
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as D}from"./Y5IPQLDH.js";import{a as P}from"./5Z4MFGB2.js";import{a as C,d as I}from"./RZRMSPUG.js";import"./F3ZUI5T7.js";import"./2JLIDK4F.js";import"./TPTWXLY5.js";import"./J232BJHR.js";import"./JBWJKX6R.js";import"./AADAYMT6.js";import"./AL7BYUFL.js";import"./VLEMGKLD.js";import"./KWDBAHJD.js";import"./RAMU6EDK.js";import"./QMKOWA5L.js";import"./OW2VVRPH.js";import"./WO7RS6VM.js";import"./Z6B3WHSU.js";import"./MOHNOCW5.js";import"./I77ESG6W.js";import"./GGNR6VWM.js";import"./VGQMQMW2.js";import"./I57F65R3.js";import"./FBWQBY27.js";import"./3Y3QLPOF.js";import"./QUAPDTN4.js";import{g as E,j as T}from"./RY2EWQB3.js";import{c as l,e as r,f as c}from"./IX57U3VX.js";import"./T4VXASQ3.js";import{b as x}from"./QO3MRL5D.js";import{a as L}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as $,c as k}from"./R4UPDI2V.js";import{C as d,D as p,E as v,G as h,h as f,i as n,l as g,o as y,p as S,r as w}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var V=f`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block;--calcite-input-message-spacing-value: 0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00a0ff}.info-message{justify-content:center;display:grid}.font-bold{font-weight:700}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:.5rem}.float-right{float:right}.float-right[dir=rtl],.float-left{float:left}.float-left[dir=rtl]{float:right}.margin-top-0{margin-block-start:0!important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=rtl]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom: 0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3: var(--calcite-color-brand);--calcite-color-foreground-2: var(--calcite-color-brand-hover);--calcite-color-text-1: var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,u=class extends S{constructor(){super(),this.managedLayers={},this.managedTables=[],this.highlightHandles=[]}removeHandles(){this.highlightHandles.forEach(e=>{e?.remove()}),this.highlightHandles=[]}},b=class extends v{constructor(){super(),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=!1,this.defaultBufferDistance=0,this.defaultBufferUnit="feet",this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureHighlightEnabled=!1,this.noResultText="",this.initialNotice="",this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=c.PDF,this._fetchingData=!1,this._isMobile=!1,this._numDuplicates=0,this._pageType=l.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=L({name:"public-notification",blocking:!0}),this._downloadTools=d(),this._onboardingImageUrl="",this._popupsEnabled=!1,this._removeDuplicates=d(),this._selectTools=d(),this._titleElement=d(),this._titleValue=void 0,this._numSelected=0,this._pnStateContextProvider=P({context:D}),this.searchConfigurationChange=y(),this.listenOn(window,"selectionSetsChanged",this.selectionSetsChanged),this._pnState=new u,this._pnStateContextProvider.setValue(this._pnState)}static{this.properties={addresseeLayerIds:0,bufferColor:1,bufferOutlineColor:1,customLabelEnabled:5,defaultBufferDistance:9,defaultBufferUnit:1,defaultExportTitle:1,defaultNumLabelsPerPage:9,enableLayerFeatures:5,enableLayerFeaturesOnLoad:5,enableSearchDistance:5,enableSearchDistanceOnLoad:5,enableSketchTools:5,featureEffect:0,featureHighlightEnabled:5,mapView:0,noResultText:1,initialNotice:1,searchConfiguration:0,selectionLayerIds:0,showRefineSelection:5,showSearchSettings:5,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,_exportGraphics:16,_addMap:16,_addResults:16,_addTitle:16,_downloadActive:16,_exportType:16,_fetchingData:16,_isMobile:16,_numDuplicates:16,_pageType:16,_saveEnabled:16,_selectionSets:16,_translations:16}}static{this.styles=V}static{this.shadowRootOptions=w}willUpdate(e){e.has("mapView")&&this.mapView&&this.mapViewWatchHandler(this.mapView),e.has("searchConfiguration")&&this.searchConfiguration&&this.watchSearchConfigurationHandler(this.searchConfiguration,e.get("searchConfiguration")),e.has("sketchLineSymbol")&&this.sketchLineSymbolWatchHandler(this.sketchLineSymbol,e.get("sketchLineSymbol")),e.has("sketchPointSymbol")&&this.sketchPointSymbolWatchHandler(this.sketchPointSymbol,e.get("sketchPointSymbol")),e.has("sketchPolygonSymbol")&&this.sketchPolygonSymbolWatchHandler(this.sketchPolygonSymbol,e.get("sketchPolygonSymbol")),e.has("_pageType")&&(this.hasUpdated||this._pageType!==l.LIST)&&this.pageTypeWatchHandler(this._pageType,e.get("_pageType"))}async mapViewWatchHandler(e){e?.popup&&(this._popupsEnabled=e?.popupEnabled),this.searchConfiguration&&this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(e,t){let i=JSON.stringify(e);this.mapView&&(i!==JSON.stringify(t)||i&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(i),this._searchConfiguration&&this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setLineSymbol(e)}async sketchPointSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setPointSymbol(e)}async sketchPolygonSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setPolygonSymbol(e)}async pageTypeWatchHandler(e,t){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=e!==l.LIST?!1:this._popupsEnabled),e===l.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),(t===l.SELECT||t===l.REFINE)&&await this._clearSelection(),t===l.EXPORT&&this._removeExportGraphics(),e!==l.SELECT)return this._highlightFeatures()}selectionSetsChanged(e){this._selectionSets=[...e.detail]}connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 600px)"),this.listenOn(this._mediaQuery,"change",e=>this._setIsMobile(e))}async load(){await this._initModules(),this._initSymbols(),this._onboardingImageUrl=k("assets/public-notification/images/onboarding.png")}render(){let e=this._isMobile?"footer":"header";return n`<calcite-shell><calcite-action-bar class="border-bottom-1 action-bar-size" expand-disabled layout=horizontal slot=${e}>${this._getActionGroup("list-check",l.LIST,this._translations.myLists)}${this.showRefineSelection?this._getActionGroup("test-data",l.REFINE,this._translations.refineSelection):null}${this._getActionGroup("export",l.EXPORT,this._translations.export)}</calcite-action-bar>${this._getPage(this._pageType)}</calcite-shell>`}loaded(){this.searchConfiguration&&this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){super.disconnectedCallback()}async _initModules(){let[e,t,i]=await x(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=e,this._jsonUtils=t,this.Graphic=i}_initSearchConfiguration(e){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=e,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(e){let t=e?.type==="simple-line";this.sketchLineSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(e){let t=e?.type==="simple-marker";this.sketchPointSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(e){let t=e?.type==="simple-fill";this.sketchPolygonSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(e){this._isMobile=e.matches}_getActionGroup(e,t,i){let s=this.showRefineSelection?"w-1-3":"w-1-2";return n`<calcite-action-group class=${h(s)} layout=horizontal><div class="background-override"><calcite-action .active=${this._pageType===t} alignment=center class="width-full height-full" .icon=${e} id=${e??g} @click=${()=>{this._setPageType(t)}} text></calcite-action></div><calcite-tooltip label placement=bottom .referenceElement=${e}><span>${i}</span></calcite-tooltip></calcite-action-group>`}_setPageType(e){this._pageType=e}_getPage(e){let t;switch(e){case l.LIST:t=this._getListPage();break;case l.SELECT:t=this._getSelectPage();break;case l.EXPORT:t=this._getExportPage();break;case l.REFINE:t=this._getRefinePage();break}return t}_getListPage(){let e=this._hasSelections(),t=e?this._translations.listHasSetsTip:this.initialNotice!==""?this.initialNotice:this._translations.selectLayerAndAdd;return n`<calcite-panel>${this._getLabel(this._translations.myLists)}${this._getNotice(t||"","padding-sides-1 padding-bottom-1","word-wrap-anywhere")}${e?this._getSelectionSetList():this._getOnboardingImage()}<div class="display-flex padding-1"><calcite-button @click=${()=>{this._setPageType(l.SELECT)}} width=full><span class="font-weight-500">${this._translations.add}</span></calcite-button></div></calcite-panel>`}_getOnboardingImage(){return n`<div class="display-flex padding-sides-1"><img class="img-container" role=presentation src=${this._onboardingImageUrl??g}></div>`}_getSelectionSetList(){return n`<div class="padding-top-1-2 padding-bottom-1-2"><calcite-list class="list-border margin-sides-1" label>${this._selectionSets.reduce((e,t,i)=>{let s=this._getSelectionSetIds(t),a=!0;return t.workflowType===r.REFINE&&(a=Object.keys(t.refineInfos).reduce((o,_)=>{let m=t.refineInfos[_];return o+=m.addIds.length+m.removeIds.length,o},0)>0),a&&e.push(n`<calcite-list-item .label=${t.label} @click=${()=>this.mapView&&this._gotoSelection(t,this.mapView)}><div slot=content><div class="list-label">${t.label}</div><div class="list-description">${t?.layerView?.layer.title}</div><div class="list-description">${this._translations.selectedFeatures.replace("{{n}}",s.length.toString())}</div></div>${this._getAction(!0,"pencil","",o=>this._openSelection(t,o),!1,"actions-end")}${this._getAction(!0,"x","",o=>this._deleteSelection(i,o),!1,"actions-end")}</calcite-list-item>`),e},[])}</calcite-list></div>`}_getSelectionSetIds(e){return e.workflowType!==r.REFINE?e.selectedIds:Object.keys(e.refineInfos).reduce((t,i)=>[...t,...e.refineInfos[i].addIds],[])}_hasSelections(e=!1){let t=[],i=this._selectionSets.some(s=>s.workflowType===r.REFINE?(t=this._getSelectionSetIds(s),!0):!1);return e&&i?t.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){let e=this._getExportInfos(),t=this.mapView?.map&&await C(this.mapView.map,e),i=t&&I(t);return t&&i?t.length-i.length:0}_getExportInfos(){return this._selectionSets.reduce((e,t)=>{if(t.download)if(t.workflowType!==r.REFINE&&t?.layerView){let i=t.layerView.layer.id;i!==void 0&&this._updateIds(i,t.layerView,t.selectedIds,e)}else Object.keys(t.refineInfos).forEach(i=>{let s=t.refineInfos[i];s.addIds.length>0&&this._updateIds(i,s.layerView,s.addIds,e)});return e},{})}_updateIds(e,t,i,s){return s[e]?s[e].ids=s[e].ids.concat(i):s[e]={layerView:t,ids:i},s}_getSelectPage(){let e=this._translations.selectSearchTip;return n`<calcite-panel>${this._getLabel(this._translations?.stepTwoFull,!0)}${this._getNotice(e,"padding-1","word-wrap-anywhere")}<div><map-select-tools .bufferColor=${this.bufferColor} .bufferOutlineColor=${this.bufferOutlineColor} class="font-bold" .customLabelEnabled=${this.customLabelEnabled} .defaultBufferDistance=${this.defaultBufferDistance} .defaultBufferUnit=${this.defaultBufferUnit} .enableLayerFeatures=${this.enableLayerFeatures} .enableLayerFeaturesOnLoad=${this.enableLayerFeaturesOnLoad} .enableSearchDistance=${this.enableSearchDistance} .enableSearchDistanceOnLoad=${this.enableSearchDistanceOnLoad} .enableSketchTools=${this.enableSketchTools} .enabledLayerIds=${this.addresseeLayerIds} .isUpdate=${!!this._activeSelection} .mapView=${this.mapView} .noResultText=${this.noResultText} @selectionSetChange=${this._updateForSelection} .searchConfiguration=${this._searchConfiguration} .searchDistanceEnabled=${this.enableSearchDistanceOnLoad} .selectionLayerIds=${this.selectionLayerIds} .selectionSet=${this._activeSelection} .sketchLineSymbol=${this.sketchLineSymbol} .sketchPointSymbol=${this.sketchPointSymbol} .sketchPolygonSymbol=${this.sketchPolygonSymbol} .useLayerFeaturesEnabled=${this.enableLayerFeaturesOnLoad} ${p(this._selectTools)}></map-select-tools></div>${this._getPageNavButtons(this._translations.done,this._numSelected===0,()=>{this._saveSelection()},this._translations.cancel,!1,()=>{this._home()})}</calcite-panel>`}_getExportPage(){let e=this._hasSelections(this.showRefineSelection),t=this._numDuplicates>0?"display-block":"display-none";return n`<calcite-panel><div>${this._getLabel(this._translations.export,!1)}${e?n`<div>${this._getNotice(this._translations.exportTip,"padding-sides-1")}${this._getLabel(this._translations.exportListsLabel)}${this._getExportSelectionLists()}<div class=${`padding-sides-1 ${t}`}><div class="display-flex"><calcite-label layout=inline><calcite-checkbox ${p(this._removeDuplicates)}></calcite-checkbox><div class="display-flex">${this._translations.removeDuplicate}<div class="info-message padding-start-1-2"><calcite-input-message class="info-blue margin-top-0" scale=m>${` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`}</calcite-input-message></div></div></calcite-label><calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=remove-duplicates-icon scale=s></calcite-icon></div><calcite-popover closable label overlay-positioning=fixed reference-element=remove-duplicates-icon><span class="tooltip-message">${this._translations.duplicatesTip}</span></calcite-popover></div><div class="border-bottom"></div><div class="padding-top-sides-1"><calcite-segmented-control class="w-100" @calciteSegmentedControlChange=${this._exportTypeChange} width=full><calcite-segmented-control-item .checked=${this._exportType===c.PDF} class="w-50 end-border" .value=${c.PDF}><span class="font-weight-500">${this._translations.pdf}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${this._exportType===c.CSV} class="w-50" .value=${c.CSV}><span class="font-weight-500">${this._translations.csv}</span></calcite-segmented-control-item></calcite-segmented-control></div><div class="padding-bottom-1">${this._getExportOptions()}</div><div class="padding-1 display-flex"><calcite-button .disabled=${!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults} .loading=${this._fetchingData} @click=${()=>void this._export()} width=full><span class="font-weight-500">${this._translations.export}</span></calcite-button></div></div>`:this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")}</div></calcite-panel>`}_exportTypeChange(e){this._exportType=e.target.value}_getExportOptions(){let e=this._exportType===c.PDF?"display-block":"display-none",t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",a=this._addResults?"":"display-none";return n`<div class=${h(e)}>${this._getLabel(this._translations.pdfOptions,!0)}<div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addResults} @calciteCheckboxChange=${()=>this._addResults=!this._addResults}></calcite-checkbox>${this._translations.addResults}</calcite-label></div><div class=${`padding-top-sides-1 ${a}`}><calcite-label class="label-margin-0">${this._translations.selectPDFLabelOption}</calcite-label></div><div class=${`padding-sides-1 ${a}`}><pdf-download .defaultNumLabelsPerPage=${Number.parseInt(this.defaultNumLabelsPerPage.toString(),10)} .disabled=${!this._downloadActive} ${p(this._downloadTools)}></pdf-download></div><div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addTitle} @calciteCheckboxChange=${()=>this._addTitle=!this._addTitle}></calcite-checkbox>${this._translations.title}</calcite-label></div><div class=${h(t)}>${this._getLabel(this._translations.title,!0,"")}<calcite-input-text class="padding-sides-1" @calciteInputTextInput=${()=>this._changeTitle()} .placeholder=${this._translations.titlePlaceholder} .value=${s} ${p(this._titleElement)}></calcite-input-text></div><div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addMap} @calciteCheckboxChange=${()=>this._handleAddMapChange()}></calcite-checkbox>${this._translations.includeMap}</calcite-label></div><div class=${`padding-top-sides-1 ${i}`}><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._exportGraphics} @calciteCheckboxChange=${()=>this._handleExportGraphicsChange()}></calcite-checkbox>${this._translations.listGraphics}</calcite-label><calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=list-graphics-icon scale=s></calcite-icon><calcite-popover closable label overlay-positioning=fixed reference-element=list-graphics-icon><span class="tooltip-message">${this._translations.listGraphicsTip}</span></calcite-popover></div></div>`}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(e){let t,i=this._pnStateContextProvider.value;return Object.keys(i.managedLayers).some(s=>{let a=this.mapView?.map.layers.findIndex(o=>o.title===s);return i.managedLayers[s]===e&&a!==void 0?(t=this.mapView?.map.layers.getItemAt(a),!0):!1}),t}_updateExportGraphics(e=!1){(e||!this._exportGraphics||!this._addMap)&&this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){let e=this._getManagedLayer("sketch"),t=this._getManagedLayer("buffer");e&&e.graphics.removeAll(),t&&t.graphics.removeAll()}_addExportGraphics(){let e=this._getManagedLayer("sketch"),t=this._getManagedLayer("buffer");this._selectionSets.forEach(i=>{if(i.download&&(e&&i.sketchGraphic&&e.graphics.add(i.sketchGraphic),t)){let s={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},a=this.Graphic&&new this.Graphic({geometry:i.buffer,symbol:s});a&&t.graphics.add(a)}})}_getRefinePage(){let e=this._hasSelections();return n`<calcite-panel>${this._getLabel(this._translations.refineSelection)}${e?n`<div>${this._getNotice(this._translations.refineTip,"padding-sides-1")}<refine-selection .enabledLayerIds=${this.selectionLayerIds} .mapView=${this.mapView} .selectionSets=${this._selectionSets} .sketchLineSymbol=${this.sketchLineSymbol} .sketchPointSymbol=${this.sketchPointSymbol} .sketchPolygonSymbol=${this.sketchPolygonSymbol} .bufferColor=${this.bufferColor} .bufferOutlineColor=${this.bufferOutlineColor} .defaultBufferDistance=${this.defaultBufferDistance} .defaultBufferUnit=${this.defaultBufferUnit} .enableSearchDistance=${this.enableSearchDistance} .enableSearchDistanceOnLoad=${this.enableSearchDistanceOnLoad} .searchDistanceEnabled=${this.enableSearchDistanceOnLoad}></refine-selection></div>`:this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1")}</calcite-panel>`}_getPageNavButtons(e,t,i,s,a,o){return n`<div class="padding-bottom-1"><div class="display-flex padding-top-sides-1"><calcite-button .disabled=${t} @click=${i} width=full><span class="font-weight-500">${e}</span></calcite-button></div><div class="display-flex padding-top-1-2 padding-sides-1"><calcite-button appearance=outline .disabled=${a} @click=${o} width=full><span class="font-weight-500">${s}</span></calcite-button></div></div>`}_changeTitle(){this._titleElement.value?.value&&(this._titleValue=this._titleElement.value.value||"")}_getNotice(e,t="padding-1",i=""){return n`<calcite-notice class=${h(t)} icon=lightbulb kind=success open><div class=${h(i)} slot=message>${e}</div></calcite-notice>`}_getLabel(e,t=!1,i="font-bold"){return i+=t?" label-margin-0":"",n`<div class=padding-top-sides-1><calcite-label class=${h(i)}>${e}</calcite-label></div>`}_getExportSelectionLists(){return this._selectionSets.reduce((e,t)=>{let i=this._getSelectionSetIds(t),s=t.workflowType!==r.REFINE||i.length>0;return!this._downloadActive&&t.download&&s&&(this._downloadActive=!0),s&&e.push(n`<div class="display-flex padding-sides-1 padding-bottom-1"><calcite-checkbox .checked=${t.download} class="align-center" @calciteCheckboxChange=${()=>{this._toggleDownload(t.id)}}></calcite-checkbox><calcite-list class="list-border margin-start-1-2 width-full" id=download-list label><calcite-list-item .disabled=${!t.download} .label=${t.label} @click=${()=>{this._toggleDownload(t.id)}}><div slot=content><div class="list-label">${t.label}</div><div class="list-description">${t?.layerView?.layer.title}</div><div class="list-description">${this._translations.selectedFeatures.replace("{{n}}",i.length.toString())}</div></div></calcite-list-item></calcite-list></div>`),e},[])||n`<div></div>`}async _toggleDownload(e){let t=!1;this._selectionSets=this._selectionSets.map(i=>(i.download=i.id===e?!i.download:i.download,t=i.download?!0:t,i)),this._updateExportGraphics(!0),this._downloadActive=t,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){let e=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===c.PDF){let t="";this._addMap&&this.mapView&&(t=(await this.mapView.takeScreenshot({width:1500,height:2e3}))?.dataUrl),this._fetchingData=!0,this._downloadTools.value&&this._removeDuplicates.value&&this.mapView?.map&&await this._downloadTools.value.downloadPDF(this.mapView.map,e,this._removeDuplicates.value.checked,this._addTitle&&this._titleElement.value?this._titleElement.value.value:"",t),this._fetchingData=!1}this._exportType===c.CSV&&(this._fetchingData=!0,this._downloadTools.value&&this.mapView?.map&&await this._downloadTools.value.downloadCSV(this.mapView.map,e,this._removeDuplicates.value?.checked||!1),this._fetchingData=!1)}_getSelectionIdsAndViews(e,t=!1){return(t?e.filter(i=>i.download):e).reduce((i,s)=>{if(s.workflowType===r.REFINE)Object.keys(s.refineInfos).forEach(a=>{let o=s.refineInfos[a];if(o.addIds){let _=o.layerView.layer.id;i=this._updateExportInfos(i,_,s.label,o.addIds,o.layerView)}});else{let a=s?.layerView?.layer.id;a!==void 0&&s.layerView&&(i=this._updateExportInfos(i,a,s.label,s.selectedIds,s.layerView))}return i},{})}_updateExportInfos(e,t,i,s,a){return t&&Object.keys(e).indexOf(t)>-1?(e[t].ids=[...new Set([...e[t].ids,...s])],e[t].selectionSetNames.push(i)):t&&(e[t]={ids:s,layerView:a,selectionSetNames:[i]}),e}_getAction(e,t,i,s,a=!1,o=""){return n`<calcite-action .disabled=${!e} .icon=${t} icon-flip-rtl .indicator=${a} @click=${s} slot=${o??g} .text=${i}></calcite-action>`}_updateForSelection(e){this._numSelected=e.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(l.LIST)}async _saveSelection(){let e=await this._selectTools.value?.getSelection();if(e){let t=this._selectTools.value?.isUpdate;this._selectionSets=t?this._selectionSets.map(i=>i.id===e.id?e:i):[...this._selectionSets,e]}return this._home()}async _clearSelection(){await this._selectTools.value?.clearSelection(),this._numSelected=0,this._activeSelection=void 0}async _deleteSelection(e,t){return t.stopPropagation(),this._selectionSets=this._selectionSets.filter((i,s)=>s!==e?i:!1),this._highlightFeatures()}_gotoSelection(e,t){e.selectedIds&&e.layerView&&T(e.selectedIds,e.layerView,t,this.featureHighlightEnabled,this.featureEffect)}_openSelection(e,t){t.stopPropagation(),this._activeSelection=e,this._pageType=e.workflowType===r.REFINE?l.REFINE:l.SELECT}async _highlightFeatures(){let e=this._pnStateContextProvider.value;this._clearHighlight();let t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===l.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){let a=t[i[s]];if(a.layerView&&this.mapView){let o=await E(a.ids,a.layerView,this.mapView);e.highlightHandles.push(o)}}}_checkPopups(){typeof this._popupsEnabled!="boolean"&&(this._popupsEnabled=!!this.mapView?.popupEnabled)}_clearHighlight(){let e=this._pnStateContextProvider.value;e&&e.highlightHandles&&e.removeHandles()}};$("public-notification",b);export{u as PNStateController,b as PublicNotification};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a,b}from"./KHMHCKSH.js";import"./NJ5MKRTM.js";import"./J24EZC35.js";import"./CSL3GOVE.js";import"./OCBVKLSL.js";import"./44YJQ3Z7.js";import"./TJBFLJQE.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as D}from"./Y5IPQLDH.js";import{b as F}from"./5Z4MFGB2.js";import{c as y,g as T,j as $}from"./RY2EWQB3.js";import{e as d}from"./IX57U3VX.js";import{a as k,d as E,f as O}from"./T4VXASQ3.js";import{b as G}from"./QO3MRL5D.js";import{a as I}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as V}from"./R4UPDI2V.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as c,o as L,r as S}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var N=w`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem"!important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:.5rem}.padding-end-1-2{padding-inline-end:.5rem}.icon{--calcite-color-icon-color: var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,g=class extends v{constructor(){super(),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=!1,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.noResultText="",this.selectionLayerIds=[],this.searchDistanceEnabled=!1,this.useLayerFeaturesEnabled=!1,this._numSelected=0,this._searchTerm="",this._selectionLoading=!1,this._translations=I({name:"map-select-tools",blocking:!0}),this._bufferTools=u(),this._drawTools=u(),this._labelName=u(),this._pnContextConsumer=F({context:D,subscribe:!0}),this._selectLayers=[],this._searchElement=u(),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.selectionSetChange=L(),this.listenOn(window,"searchConfigurationChange",this.searchConfigurationChangeChanged),this.listenOn(window,"distanceChanged",this.distanceChanged),this.listenOn(window,"unitChanged",this.unitChanged)}static{this.properties={bufferColor:1,bufferOutlineColor:1,customLabelEnabled:5,enabledLayerIds:0,enableLayerFeatures:5,enableLayerFeaturesOnLoad:5,enableSearchDistance:5,enableSearchDistanceOnLoad:5,enableSketchTools:5,defaultBufferDistance:9,defaultBufferUnit:1,geometries:0,isUpdate:5,layerViews:0,mapView:0,noResultText:1,searchConfiguration:0,selectionSet:0,selectionLayerIds:0,selectLayerView:0,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,searchDistanceEnabled:5,useLayerFeaturesEnabled:5,_numSelected:16,_searchTerm:16,_selectionLoading:16,_translations:16}}static{this.styles=N}static{this.shadowRootOptions=S}willUpdate(e){e.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.watchGeometriesHandler(this.geometries,e.get("geometries")),e.has("mapView")&&this.mapView&&this.mapViewWatchHandler(this.mapView,e.get("mapView")),e.has("searchConfiguration")&&this.searchConfiguration&&this.watchSearchConfigurationHandler(this.searchConfiguration,e.get("searchConfiguration"))}async watchGeometriesHandler(e,t){if(e!==t&&e.length>0)return this._highlightWithOIDsOrGeoms()}async mapViewWatchHandler(e,t){e&&e!==t&&await this._init()}async watchSearchConfigurationHandler(e,t){JSON.stringify(e)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate&&this.selectionSet?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.value?.distance,download:!0,unit:this._bufferTools.value?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this.searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this.useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(e){this.searchConfiguration=e.detail}async distanceChanged(e){await this._distanceChanged(e.detail)}async unitChanged(e){e.detail.newValue!==e.detail.oldValue&&(this._unit=e.detail.newValue,await this._updateLabel())}async load(){await this._initModules()}async loaded(){await this._init()}render(){let e=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return c`${this._getMapLayerPicker()}<div class="border-bottom"></div><div class="padding-top-sides-1"><div class="search-widget" ${p(this._searchElement)}></div><div class=${_(t)}><map-draw-tools active class=${_(e)} .editGraphicsEnabled=${!this.useLayerFeaturesEnabled} .graphics=${this._graphics} .mapView=${this.mapView} @sketchGraphicsChange=${s=>void this._sketchGraphicsChanged(s)} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} ${p(this._drawTools)}></map-draw-tools></div>${this.enableSearchDistance?this._getBufferOptions():void 0}${this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0}${this._getNumSelected()}</div><div class="border-bottom"></div>${this._getNameInput()}`}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);let e=this.searchDistanceEnabled?"search-distance":"div-not-visible",t=typeof this.selectionSet?.distance=="number"?this.selectionSet.distance:this.defaultBufferDistance;return c`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.searchDistance}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=search-distance-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=search-distance-icon><span class="tooltip-message">${this._translations.useSearchDistanceTootip}</span></calcite-popover><calcite-switch .checked=${this.searchDistanceEnabled} @calciteSwitchChange=${()=>this.searchDistanceEnabled=!this.searchDistanceEnabled}></calcite-switch></div><div class=${_(e)}><buffer-tools .disabled=${!this.searchDistanceEnabled} .distance=${t} .geometries=${this.geometries} @bufferComplete=${s=>void this._bufferComplete(s)} .unit=${this.selectionSet?.unit||this.defaultBufferUnit} ${p(this._bufferTools)}></buffer-tools></div></div>`}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this.useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);let e=this.useLayerFeaturesEnabled?"div-visible":"div-not-visible";return c`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.useLayerFeatures}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=use-layer-features-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=use-layer-features-icon><span class="tooltip-message">${this._translations.useLayerFeaturesTooltip}</span></calcite-popover><calcite-switch .checked=${this.useLayerFeaturesEnabled} @calciteSwitchChange=${()=>{this._useLayerFeaturesEnabledChanged()}}></calcite-switch></div><div class=${`${e} padding-top-1`}><map-layer-picker .enabledLayerIds=${this.selectionLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>{this._layerSelectionChange(t)}} .selectedIds=${this.layerViews.map(t=>t.layer.id)}></map-layer-picker></div></div>`}_getNumSelected(){let e=this._translations._lang==="en"?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return c`<div class="padding-top-1 padding-bottom-1" style=${C({"align-items":"end",display:"flex"})}>${this._selectionLoading?c`<div><calcite-loader class="info-blue padding-end-1-2" inline .label=${e||""} scale=m type=indeterminate></calcite-loader></div>`:c`<calcite-icon class="info-blue padding-end-1-2" icon=feature-layer scale=s></calcite-icon>`}<calcite-input-message class="info-blue" scale=m>${this._selectionLoading?e:this.noResultText&&this._numSelected===0?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())}</calcite-input-message></div>`}_getNameInput(){let e=this.customLabelEnabled?"":"display-none";return c`<div class=${`padding-sides-1 padding-top-1 ${e}`}><calcite-label class="font-bold">${this._translations.listName}<calcite-input @input=${()=>{this._selectionLabel=this._labelName.value?this._labelName.value.value:""}} .placeholder=${this._translations.listNamePlaceholder} .value=${this._selectionLabel||""} ${p(this._labelName)}></calcite-input></calcite-label></div>`}_getMapLayerPicker(){let e=this.selectionSet?.layerView?.layer.id;return c`<div class="display-flex padding-sides-1 padding-bottom-1"><calcite-label class="font-bold width-full label-margin-0">${this._translations.inputLayer}<map-layer-picker .enabledLayerIds=${this.enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>void this._inputLayerSelectionChange(t)} .selectedIds=${this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet&&e!==void 0?[e]:[]}></map-layer-picker></calcite-label></div>`}async _initModules(){let[e,t,s,i,a,l]=await G(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this._esriRequest=e,this.GraphicsLayer=t,this.Graphic=s,this.Search=i,this._geometryEngine=a,this.FeatureLayer=l}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs||[],this.searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this.useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.reduce((e,t)=>{let s=t.type==="point"?this.sketchPointSymbol:t.type==="polyline"?this.sketchLineSymbol:this.sketchPolygonSymbol;return this.Graphic&&e.push(new this.Graphic({geometry:t,symbol:s})),e},[]),this._selectionLabel=this.selectionSet?.label,this.useLayerFeaturesEnabled||await this._drawTools.value?.updateGraphics(),this.selectionSet.layerView&&this.mapView&&await $(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement.value){let e=this.searchConfiguration&&this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement.value,searchTerm:this._searchTerm,...e};this._searchWidget?(this._searchWidget.view=this.mapView,this._searchWidget.searchTerm=this._searchTerm):this._searchWidget=this.Search&&new this.Search(t),this._searchWidget&&(this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.viewModel.addHandles(this._searchWidget.on("search-clear",()=>{let s=this._searchClearLabel();this._searchResult?.name&&this._clearResults(!1,s)})),this._searchWidget.viewModel.addHandles(this._searchWidget.on("select-result",s=>{this._selectResult(s.result)})),await this._searchWidget.when(()=>{this._searchWidget&&(this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&this.searchConfiguration.allPlaceholder.toLowerCase()!=="find address or place"?this.searchConfiguration.allPlaceholder:this._translations.placeholder)}))}}async _selectResult(e){if(e){this._searchResult=e;let t=e.feature,s=t?.layer,i=this.selectLayerView?.layer,a=Number(t?.getObjectId()),l;s?.sourceJSON?.isView&&s.url&&(l=await this._getViewSourceUrl(s.url));let r;i?.sourceJSON?.isView&&i.url&&(r=await this._getViewSourceUrl(i.url));let o=s?.url?.toLowerCase(),n=l?.toLowerCase(),h=i?.url?.toLowerCase(),m=r?.toLowerCase(),b=o&&h&&(o===h||o===m||n===h||n===m)&&!Number.isNaN(a),x=b?[a]:void 0;this._workflowType=d.SEARCH,this._updateLabel();let f=[e.feature];this._updateSelection(f,b,x),this._drawTools.value&&(this._drawTools.value.graphics=f),this._searchWidget?.resultGraphic&&(this._searchWidget.resultGraphic.visible=!1)}else{let t=this._searchClearLabel();this._clearResults(!1,t)}}async _getViewSourceUrl(e){let t="",s=`${e}/sources?f=json`;try{let i=this._esriRequest&&await this._esriRequest(s,{query:{f:"json"}});i?.data?.services?.length===1&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value&&this._labelName.value.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(e,t){let s=e?.sources;return s&&s?.length>0?(e={...e,includeDefaultSources:!1},s.forEach(i=>{if(i.hasOwnProperty("layer")){let a=i,l=a.layer?.id,r=l?t.map?.findLayerById(l):null,o=a?.layer?.url;r&&a?a.layer=r:o&&this.FeatureLayer&&(a.layer=new this.FeatureLayer(o))}}),s?.forEach(i=>{if(i.hasOwnProperty("locator")){let a=i;if(a?.name==="ArcGIS World Geocoding Service"){let l=a.outFields||["Addr_type","Match_addr","StAddr","City"];a.outFields=l,a.singleLineFieldName="SingleLine"}a.url=a.url,delete a.url}})):e={...e,includeDefaultSources:!0},e}_initGraphicsLayer(){let e=this._pnContextConsumer.value,t=this._translations.bufferLayer;if(this.mapView){let s=this.mapView.map.layers.findIndex(i=>i.title===t);if(s>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(s);else if(this._bufferGraphicsLayer=this.GraphicsLayer&&new this.GraphicsLayer({title:t,listMode:"hide"}),this._bufferGraphicsLayer){e.managedLayers[t]="buffer";let i=this.mapView.map.layers.findIndex(a=>a.title===this._translations.sketchLayer);i>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,i):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(e,t=!1){let s=e.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this.useLayerFeaturesEnabled?d.SELECT:d.SKETCH,this._workflowType===d.SKETCH&&this._drawTools.value&&await this._drawTools.value.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this.useLayerFeaturesEnabled&&!t){let i=Array.isArray(s)?s.map(a=>a.geometry):this.geometries;await this._selectLayerFeatures(i[0])}else{let i=s.reduce((l,r)=>(r?.layer?.objectIdField?l.push(Number(r.attributes[r.layer.objectIdField])):r.getObjectId&&l.push(Number(r.getObjectId())),l),[]),a=e.detail.useOIDs&&i.length>0;this._updateSelection(s,a,i),a&&await this._highlightFeatures(i)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs&&this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(e){let t=this._pnContextConsumer.value;if(t.removeHandles(),e.length>0&&this.selectLayerView&&this.mapView){let s=await T(e,this.selectLayerView,this.mapView);t.highlightHandles.push(s)}this._numSelected=e.length,this.selectionSetChange.emit(e.length)}async _selectFeatures(e){this._selectionLoading=!0,this._selectedIds=this.selectLayerView&&await k(e,this.selectLayerView.layer)||[],this._selectionLoading=!1,this._drawTools.value&&(this._drawTools.value.graphics=this._graphics),await this._highlightFeatures(this._selectedIds)}async _bufferComplete(e){this._bufferGeometry=Array.isArray(e.detail)?e.detail[0]:e.detail;let t=this._bufferTools.value&&Number(this._bufferTools.value.distance),s=0;if(this._bufferGeometry){let i={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},a=this.Graphic&&new this.Graphic({geometry:this._bufferGeometry,symbol:i});this._bufferGraphicsLayer&&a&&this.mapView&&(this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(a),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(a.geometry?.extent)),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(e){let t=this._geometryEngine&&O(e,this._geometryEngine);return t?this._selectFeatures(t):Promise.resolve()}async _clearResults(e=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value&&(this._labelName.value.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),e&&this._searchWidget&&this._clearSearchWidget(),this._pnContextConsumer.value.removeHandles(),this._drawTools.value?.clear&&(this._graphics=[],await this._drawTools.value.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget?.clear(),this._searchResult=void 0}_updateSelection(e,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(e)?e.reduce((i,a)=>(a.geometry&&i.push(a.geometry),i),[]):this.geometries,this._graphics=e}async _updateLabel(){if(this.enableSearchDistance){let e=this._translations.sketch&&this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._translations.select&&this._selectionLabel.indexOf(this._translations.select)>-1,s=this._selectionLabel.indexOf(this._searchResult?.name)>-1,i=this._workflowType===d.SEARCH?this._searchResult?.name:this._workflowType===d.SELECT?this._translations.select:this._translations.sketch,a=!this._unit&&this._bufferTools.value?this._bufferTools.value.unit:this._unit,l=this._bufferTools.value&&a&&await this._bufferTools.value.getTranslatedUnit(a),r=Number.isNaN(Number(this._distance))&&this._bufferTools.value?this._bufferTools.value.distance:this._distance;this._selectionLabel=e||t||s||!this._selectionLabel?`${i} ${r} ${l}`:this._selectionLabel,this._labelName.value&&(this._labelName.value.value=this._selectionLabel)}}async _layerSelectionChange(e){if(Array.isArray(e.detail)&&e.detail.length>0){let t=e.detail.reduce((s,i)=>(this.mapView&&s.push(y(this.mapView,i)),s),[]);return Promise.all(t).then(s=>{this.layerViews=s.reduce((i,a)=>(a&&i.push(a),i),[]),this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})})}}async _inputLayerSelectionChange(e){let t=e?.detail?.length>0?e.detail[0]:"";(!this.selectLayerView||t!==this.selectLayerView.layer.id)&&(this.selectLayerView=this.mapView&&await y(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(e){e.newValue!==e.oldValue&&(this._distance=e.newValue,await this._updateLabel())}async _selectLayerFeatures(e){this._selectionLoading=!0;let t=this.layerViews.map(s=>(this._featuresCollection[s.layer.id]=[],E(0,s.layer,e,this._featuresCollection)));return Promise.all(t).then(async s=>{this._selectionLoading=!1;let i=[];s.forEach(n=>{Object.keys(n).forEach(h=>{i=i.concat(n[h])})});let a=!1;i.forEach(n=>{let h=n.geometry;n.symbol=h&&h.type==="point"?this.sketchPointSymbol:h&&h.type==="polyline"?this.sketchLineSymbol:h&&h.type==="polygon"?this.sketchPolygonSymbol:void 0,a=n?.layer?.hasOwnProperty("objectIdField")||n.hasOwnProperty("getObjectId")});let l=this.layerViews[0].layer,r=this.selectLayerView?.layer,o=a&&l.url===r?.url&&r?.layerId===l.layerId;await this._sketchGraphicsChanged({detail:{graphics:i,useOIDs:o}},!0)})}_useLayerFeaturesEnabledChanged(){this.useLayerFeaturesEnabled=!this.useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}};V("map-select-tools",g);export{g as MapSelectTools};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as t}from"./XRRMKBZC.js";import{s as e}from"./KSRDVGLI.js";var o=e(t,{"instant-apps-app-error":[()=>import("./VOJ5I2DI.js"),";clearErrorMessage"],"instant-apps-app-guide":[()=>import("./H6U7EXWQ.js"),"data:,header"],"instant-apps-buffer":[()=>import("./WXP7MVWM.js").then(m=>m.default.then(e=>({InstantAppsBuffer:e}))),"bufferColor,bufferDistance,bufferGraphicSymbol:,bufferInputStep,bufferLayer:,bufferMaxDistance,bufferMinDistance,bufferOutlineColor,bufferOutlineWidth,bufferStyle,bufferUnit,disabled,geodesicBufferEnabled,inputGraphics:,readyToBuffer:,view:;clearBufferLayer,setFocus"],"instant-apps-control-panel":[()=>import("./LJNC3CQ4.js"),"components:,view:"],"instant-apps-create":[()=>import("./NF5FJFX4.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./35VKC3HF.js"),"allowedFileTypes:,beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./2GNEM4WI.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./LPQD7HOP.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./7YURZN2L.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./YMYLX5KE.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./2HZNWLFR.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./FAYOSJHL.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./U3CWV2X3.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./ETU34LXS.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./FXOZ65PA.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./CE5P6QNM.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./SMWON25K.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./Z4SZ3T5Q.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./N6KHEEH3.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./76KBCKGN.js"),"view:"],"instant-apps-landing-page":[()=>import("./32Z322VO.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./QV37GJYO.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./U6K7QTEN.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./JSPYOTYK.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-item":[()=>import("./IOCEGFZ6.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./U7QJL6RJ.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./SOB6MDSE.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./46762KZU.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./KY6VYS63.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./MPXO4HWB.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./RSRNKFJB.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./KR3B36T2.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./IXSWZX3Z.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./A63FRN4O.js"),"closeBehavior,closeButtonDisabled,confirmationText,content,isConfirmed:,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./TGUYC6XA.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{o as a};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{b as c}from"./QO3MRL5D.js";import{a as u}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as o}from"./R4UPDI2V.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var m=n`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.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(e){e.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.geometriesWatchHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.disabledWatchHandler(),e.has("_translations")&&this._defineTranslations()}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(e){return this._units||await this._defineTranslations(),this._units?this._units[e]:""}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[e,t]=await c(["esri/geometry/operators/geodesicBufferOperator","esri/geometry/operators/bufferOperator"]);this._geodesicBufferOperator=e,this._bufferOperator=t}_getUnits(){return this._units?Object.keys(this._units).map(e=>this._units?i`<calcite-option .label=${this._units[e]} .selected=${this.unit===e} .value=${e}></calcite-option>`:void 0):void 0}_setDistance(e){let t=Number.parseInt(e.target.value,10);this.distance!==t&&t>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:t}),this.distance=t,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(e){this.unitChanged.emit({oldValue:this.unit,newValue:e}),this.unit=e,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 e=this.geometries[0].spatialReference,t=this.geometries,d=e.isWGS84||e.isWebMercator?this._geodesicBufferOperator.executeMany(t,[this.distance],{union:this.unionResults,unit:this.unit}):this._bufferOperator.executeMany(t,[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(e,t){switch(e){case"_setUnit":return this._setUnit(t);case"_setDistance":return this._setDistance(t)}return null}};o("buffer-tools",a);export{a as BufferTools};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{b as e,e as r}from"./CPNGZCYJ.js";import"./RPMJNS7Y.js";import"./P4LWYJGK.js";import"./25PXWPED.js";import{c as t}from"./4OT2FGEK.js";import"./AADAYMT6.js";import"./HIZLEBSM.js";import"./KWDBAHJD.js";import"./RAMU6EDK.js";import"./QMKOWA5L.js";import"./OW2VVRPH.js";import"./Z6B3WHSU.js";import"./MOHNOCW5.js";import"./I77ESG6W.js";import"./VGQMQMW2.js";import"./I57F65R3.js";import"./FBWQBY27.js";import"./TJBFLJQE.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a}from"./Z22QJBZP.js";import"./HIZLEBSM.js";import"./APT2GQ3E.js";import"./GGNR6VWM.js";import"./VGQMQMW2.js";import"./I57F65R3.js";import"./FBWQBY27.js";import"./TJBFLJQE.js";export{a as buildUiSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as G}from"./Y5IPQLDH.js";import{b as R}from"./5Z4MFGB2.js";import{c as b,h as V,i as O}from"./RY2EWQB3.js";import{d as l,e as f,g as D}from"./IX57U3VX.js";import{d as C}from"./T4VXASQ3.js";import{b as x}from"./QO3MRL5D.js";import{a as $}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as E}from"./R4UPDI2V.js";import{C as S,D as _,E as L,G as k,h as I,i as h,o as u,r as v}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var T=I`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.div-visible{display:inherit}.div-not-visible{display:none!important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=rtl] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:Avenir Next,Helvetica Neue,Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}.esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:700}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom: 0}.padding-start-1-2{padding-inline-start:.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,w=class extends L{constructor(){super(),this.enabledLayerIds=[],this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.searchDistanceEnabled=!1,this.selectionSets=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.geometries=[],this._translations=$({name:"refine-selection",blocking:!0}),this._selectionMode=l.ADD,this._addEnabled=!0,this._drawTools=S(),this._refineSets=[],this._enabledLayerIds=[],this._layerPicker=S(),this._featuresCollection={},this._pnContextConsumer=R({context:G,subscribe:!0}),this._bufferTools=S(),this.selectionLoadingChange=u(),this.selectionSetsChanged=u(),this.listenOn(window,"distanceChanged",this.distanceChanged),this.listenOn(window,"unitChanged",this.unitChanged)}static{this.properties={addresseeLayer:0,enabledLayerIds:0,enableSearchDistance:5,enableSearchDistanceOnLoad:5,mapView:0,searchDistanceEnabled:5,selectionSets:0,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,defaultBufferUnit:1,bufferColor:1,bufferOutlineColor:1,defaultBufferDistance:9,geometries:0,_translations:16,_selectionMode:16,_refineLayer:16}}static{this.styles=T}static{this.shadowRootOptions=v}async distanceChanged(e){e.detail.newValue!==e.detail.oldValue&&this._refineSelectionSet&&(this._refineSelectionSet.distance=e.detail.newValue)}async unitChanged(e){e.detail.newValue!==e.detail.oldValue&&this._refineSelectionSet&&(this._refineSelectionSet.unit=e.detail.newValue)}async load(){await this._initModules(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}async loaded(){await this._init()}render(){let e=this._enabledLayerIds.length>1?"display-block":"display-none";return h`<div class=${`${e} padding-top-sides-1`}><div class="display-flex"><calcite-label class="font-bold width-full label-margin-0"><div class="display-flex">${this._translations.inputLayer}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=refine-input-layer scale=s></calcite-icon></div><map-layer-picker .enabledLayerIds=${this._enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${i=>{this._layerSelectionChange(i)}} .selectedIds=${this._refineLayer?[this._refineLayer.layer.id]:[]} ${_(this._layerPicker)}></map-layer-picker></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=refine-input-layer><span class="tooltip-message">${this._translations.inputLayerTip}</span></calcite-popover></div></div><div class="padding-1"><div class="padding-bottom-1"><calcite-segmented-control class="w-100" width=full><calcite-segmented-control-item .checked=${this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(l.ADD)} .value=${l.ADD}><span class="font-weight-500">${this._translations.add}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${!this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(l.REMOVE)} .value=${l.REMOVE}><span class="font-weight-500">${this._translations.remove}</span></calcite-segmented-control-item></calcite-segmented-control></div><div><map-draw-tools active .drawMode=${D.REFINE} .mapView=${this.mapView} @drawRedo=${()=>this._redo()} @drawUndo=${()=>this._undo()} @sketchGraphicsChange=${this._sketchGraphicsChanged} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} .redoEnabled=${this._refineSelectionSet?.redoStack&&this._refineSelectionSet.redoStack.length>0} .undoEnabled=${this._refineSelectionSet?.undoStack&&this._refineSelectionSet.undoStack.length>0} ${_(this._drawTools)}></map-draw-tools></div>${this.enableSearchDistance?this._getBufferOptions():void 0}<br>${h`<calcite-list class="list-border" label>${this._getRefineSelectionSetList()}</calcite-list>`}</div>`}async _initModules(){let[e,i]=await x(["esri/layers/GraphicsLayer","esri/Graphic"]);this.GraphicsLayer=e,this.Graphic=i}async _init(){this._initGraphicsLayer()}_initGraphicsLayer(){let e=this._translations.bufferLayer;if(this.mapView){let i=this.mapView.map.layers.findIndex(t=>t.title===e);if(i>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(i);else if(this._bufferGraphicsLayer=this.GraphicsLayer&&new this.GraphicsLayer({title:e,listMode:"hide"}),this._bufferGraphicsLayer){let t=this.mapView.map.layers.findIndex(s=>s.title===this._translations.sketchLayer);t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}_layerSelectionChange(e){let i=e.detail[0];this._setRefineSet(i)}_setSelectionMode(e){this._selectionMode=e}_sketchGraphicsChanged(e){let i=(e.detail?.graphics[0]).geometry;this.geometries=[i],this._selectFeatures(i)}_getEnabledLayerIds(){return this.selectionSets.reduce((e,i)=>{let t=i?.layerView?.layer.id;return t&&e.indexOf(t)<0?e.push(t):i.workflowType===f.REFINE&&Object.keys(i.refineInfos).forEach(s=>{e.indexOf(s)<0&&e.push(s)}),e},[])}async _setRefineSet(e){this.selectionSets.some(i=>i.workflowType===f.REFINE?(this._refineSelectionSet=i,Object.keys(i.refineInfos).indexOf(e)>-1):!1)||await this._initRefineSet(e,this._refineSelectionSet),this._refineSelectionSet&&(this._refineLayer=this._refineSelectionSet.refineInfos[e].layerView)}async _initRefineSet(e,i){let t={};t[e]={addIds:[],removeIds:[],layerView:this.mapView&&await b(this.mapView,e)},i?i.refineInfos={...i.refineInfos,...t}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:this.mapView&&await b(this.mapView,e),geometries:[],graphics:[],selectLayers:[],workflowType:f.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:t,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.undoStack&&this._refineSelectionSet.undoStack.pop();e&&this._refineSelectionSet.redoStack&&this._updateIds(e.ids,e.mode===l.ADD?l.REMOVE:l.ADD,this._refineSelectionSet.redoStack,e.layerView)}}_redo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.redoStack&&this._refineSelectionSet.redoStack.pop();e&&this._refineSelectionSet.undoStack&&this._updateIds(e.ids,e.mode===l.ADD?l.REMOVE:l.ADD,this._refineSelectionSet.undoStack,e.layerView)}}_getBufferOptions(){this.enableSearchDistanceOnLoad&&this._refineSelectionSet&&(this._refineSelectionSet.searchDistanceEnabled=!0,this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);let e=this._refineSelectionSet?.searchDistanceEnabled?"search-distance":"div-not-visible";return h`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.searchDistance}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=search-distance-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=search-distance-icon><span class="tooltip-message">${this._translations.useSearchDistanceTootip}</span></calcite-popover><calcite-switch .checked=${this._refineSelectionSet?.searchDistanceEnabled} @calciteSwitchChange=${()=>{this.searchDistanceEnabled=!this.searchDistanceEnabled,this._refineSelectionSet&&(this._refineSelectionSet.searchDistanceEnabled=this.searchDistanceEnabled)}}></calcite-switch></div><div class=${k(e)}><buffer-tools .disabled=${!this.searchDistanceEnabled} .distance=${this._refineSelectionSet?.distance||this.defaultBufferDistance} .geometries=${this.geometries} @bufferComplete=${i=>void this._bufferComplete(i)} .unit=${this._refineSelectionSet?.unit||this.defaultBufferUnit} ${_(this._bufferTools)}></buffer-tools></div></div>`}async _bufferComplete(e){if(this._bufferGeometry=Array.isArray(e.detail)?e.detail[0]:e.detail,this._bufferGeometry){let i={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},t=this.Graphic&&new this.Graphic({geometry:this._bufferGeometry,symbol:i});this._bufferGraphicsLayer&&t&&this.mapView&&(this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(t),await this._selectFeatures(this._bufferGeometry))}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll()}_getRefineSelectionSetList(){let e=this._getTotal(this.selectionSets),i;this.selectionSets.some(c=>c.workflowType===f.REFINE?(i=c,!0):!1);let t=0,s=0;i?.refineInfos&&Object.keys(i.refineInfos).forEach(c=>{t+=i.refineInfos[c].addIds.length,s+=i.refineInfos[c].removeIds.length});let a=this._translations.featuresAdded,y=this._translations.featuresRemoved,d=this._translations.totalSelected;return[h`<calcite-list-item .label=${a.replace("{{n}}",t.toString())}></calcite-list-item>`,h`<calcite-list-item .label=${y.replace("{{n}}",s.toString())}></calcite-list-item>`,h`<calcite-list-item .label=${d.replace("{{n}}",e.toString())}></calcite-list-item>`]}_getTotal(e){let i=O(e);return Object.keys(i).reduce((t,s)=>{let a=i[s];return t+=a.ids.length,t},0)}async _selectFeatures(e){if(this.selectionLoadingChange.emit(!0),this._refineLayer){this._featuresCollection[this._refineLayer?.layer.id]=[];let i=await C(0,this._refineLayer?.layer,e,this._featuresCollection);this.selectionLoadingChange.emit(!1);let t=[];Object.keys(i).forEach(a=>{a===this._refineLayer?.layer.id&&(t=t.concat(i[a]))});let s=Array.isArray(t)?t.map(a=>a.attributes[a?.layer?.objectIdField]):[];this._refineSelectionSet?.undoStack&&await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._bufferGraphicsLayer&&this._refineSelectionSet&&this._refineSelectionSet.distance>0&&(await new Promise(a=>setTimeout(a,1e3)),this._bufferGraphicsLayer.removeAll()),this.geometries=[],this._drawTools.value&&this._drawTools.value.clear()}}async _highlightFeatures(){let e=this._pnContextConsumer.value;e.removeHandles(),e.highlightHandles=await V(this.selectionSets)}async _updateIds(e,i,t,s){let a=!1,y=this._refineSelectionSet?.refineInfos,d=s.layer.id,c={};c[d]={addIds:[],removeIds:[],layerView:s};let n=y&&Object.keys(y).indexOf(d)>-1?y[d]:c[d];if(i===l.ADD)n.addIds=[...new Set([...e,...n.addIds])],n.addIds.length>0&&t.push({ids:e,mode:i,layerView:s}),n.removeIds.length>0&&(n.removeIds=n.removeIds.filter(m=>e.indexOf(m)<0));else{let m=this.selectionSets.reduce((o,r)=>(e.forEach(p=>{r.workflowType!==f.REFINE?r.selectedIds.indexOf(p)>-1&&o.push(p):Object.keys(r.refineInfos).some(A=>{let g=r.refineInfos[A];return g.layerView.layer.id===s.layer.id&&g.addIds.indexOf(p)>-1?(o.push(p),!0):!1})}),o),[]);n.removeIds=[...new Set([...m,...n.removeIds])],n.addIds=n.addIds.filter(o=>m.indexOf(o)<0),n.removeIds.length>0&&t.push({ids:m,mode:i,layerView:s}),this.selectionSets=this.selectionSets.reduce((o,r)=>(r.workflowType!==f.REFINE&&r.layerView.layer.id===s.layer.id?(r.selectedIds=r.selectedIds.filter(p=>n.removeIds.indexOf(p)<0),r.selectedIds.length>0?o.push(r):a=!0):o.push(r),o),[])}this._refineSelectionSet&&(this._refineSelectionSet.refineInfos[d]=n),this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}};E("refine-selection",w);export{w as RefineSelection};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as O}from"./TPTWXLY5.js";import{e as _}from"./VLEMGKLD.js";import{a as l,f as p}from"./QMKOWA5L.js";import"./I57F65R3.js";import"./TJBFLJQE.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./3NPCU2LT.js"),m={"hub:card:stat":()=>import("./6EHWSG37.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./ORRNGEPB.js"),m={"hub:card:follow":()=>import("./4HPGRAZN.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./ZZQSJXAH.js"),m=import("./OPY4Z2YE.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./OYFTOJO5.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./HMOI5PBK.js"),"hub:site:create":()=>import("./MAHTOZQZ.js"),"hub:site:followers":()=>import("./EZY6IHIO.js"),"hub:site:discussions":()=>import("./MGYPSDR4.js"),"hub:site:settings":()=>import("./PF74RPRR.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./UBQIWDJ6.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./3QSTJB4G.js"),"hub:discussion:create":()=>import("./JXDRM6IS.js"),"hub:discussion:settings":()=>import("./JIGAUQSV.js"),"hub:discussion:settings:discussions":()=>import("./R4XUHQKF.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./SLWXIRRI.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./UNY6ZPBO.js"),"hub:channel:create":()=>import("./NKKFCOFL.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./EPLKFX3U.js");r=l(n);let v=await{"hub:project:edit":()=>import("./T6YHOTFI.js"),"hub:project:create":()=>import("./EKTQJHJC.js"),"hub:project:create2":()=>import("./M7M7RR3S.js"),"hub:project:metrics":()=>import("./T3TTYN47.js"),"hub:project:settings":()=>import("./F2SBQZXY.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./YT3PSVK7.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./DGZQ4PDA.js"),"hub:initiative:create":()=>import("./RH2ESQUL.js"),"hub:initiative:create2":()=>import("./PWQW6QGN.js"),"hub:initiative:metrics":()=>import("./QPZTJWXP.js"),"hub:initiative:associations":()=>import("./AFO27NTW.js"),"hub:initiative:settings":()=>import("./QOUQNYHD.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./73DLCY4H.js");r=l(I);let D=await{"hub:page:edit":()=>import("./5IUMTQEP.js"),"hub:page:create":()=>import("./FEU2BADY.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./G7TIHPPP.js");r=l(K);let U=await{"hub:content:edit":()=>import("./CUDC5ZC7.js"),"hub:content:discussions":()=>import("./IUJF7M7E.js"),"hub:content:settings":()=>import("./D65MWXTY.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./XULLRYLK.js");r=l(y);let k=await{"hub:template:edit":()=>import("./UQPYI4YU.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./ZA4VTCHB.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./4YJ6A7NH.js"),"hub:group:create:association":()=>import("./GOXCTX5F.js"),"hub:group:create:view":()=>import("./B622V4H4.js"),"hub:group:create:edit":()=>import("./LHLEEXVK.js"),"hub:group:create":()=>import("./GSD3LFSU.js"),"hub:group:edit":()=>import("./YXK7Y3D3.js"),"hub:group:settings":()=>import("./AUTDUGL2.js"),"hub:group:discussions":()=>import("./PKDOLQ7V.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./6H2IV23Z.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./EMPCYNVL.js"),"hub:survey:settings":()=>import("./D45QIGUI.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./BF4SQYSX.js"),"hub:event:edit":()=>import("./OAFKCPGA.js"),"hub:event:registrants":()=>import("./4U2MELLO.js")}[a](),H=await{"hub:event:create":()=>import("./PJ5GIMQ3.js"),"hub:event:edit":()=>import("./UUQJFS5C.js"),"hub:event:registrants":()=>import("./BH4V7GBG.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./5LCTRIUC.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./HHMWLNDM.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./BUZUCGC5.js");r=l(N);let P=await{"hub:user:settings":()=>import("./Y26VV5TR.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a,b}from"./GI43YZFO.js";import"./FBWQBY27.js";import"./TJBFLJQE.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as h}from"./5KJ43LT2.js";import{k as m}from"./IX57U3VX.js";import{a as A}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as I}from"./R4UPDI2V.js";import{E as F,h as S,i as l,o as y}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var T=S`/** @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
- */.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.border-color{--calcite-block-border-color: #00000000}`;var N={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},R=Object.keys(m).reduce((u,t)=>{let e=t;return u[e]=N[e]??[],u},{}),E=class extends F{constructor(){super(),this.hideIndustryFilter=!1,this.isAIsettingEnabled=!1,this._activeFilterSettings={categories:[],isOwnerMySolutions:!0,searchTerm:""},this._translations=A({name:"solutions-filter-panel",blocking:!0}),this.applyFilter=y(),this._handleFilterRemoved=t=>{let e=t.detail;Array.isArray(e)&&(this._activeFilterSettings={...this._activeFilterSettings,categories:[...e]})},this.listenOn(window,"filterRemoved",this._handleFilterRemoved)}static{this.properties={hideIndustryFilter:5,isAIsettingEnabled:5,_activeFilterSettings:16,_translations:16}}static{this.styles=T}changeIndustryFilter(t,e,o,d){if(t!==""||e!==""){let c=[];e!==""?c=[{displayValue:m[t],type:"industry",value:t,industry:t,domain:""},{displayValue:o,type:"domain",value:e,industry:t,domain:e}]:c=[{displayValue:o,type:e!==""?"domain":"industry",value:e!==""?e:t,industry:t,domain:e}],this._activeFilterSettings={...this._activeFilterSettings,categories:[...c]},d&&this.applyFilter.emit(c)}else{let c={displayValue:o,type:"industry",value:t,industry:t,domain:e};this._activeFilterSettings={...this._activeFilterSettings,categories:[c]},d&&this.applyFilter.emit(c)}}changeSearchFilter(t,e){this._activeFilterSettings={...this._activeFilterSettings,searchTerm:t},e&&this.applyFilter.emit({searchTerm:t})}clearFilters(){this.changeIndustryFilter("","",""),this.changeSearchFilter(""),this.applyFilter.emit(null)}render(){return l`<calcite-panel description .heading=${this._translations.findSolutions}><calcite-action icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action><calcite-input-text class="width-full" clearable icon=search @keyup=${t=>{let e=t.target;t.key==="Enter"?this.changeSearchFilter(e.value,!0):this.changeSearchFilter(e.value,e.value.length>=3||e.value.length===0)}} @blur=${t=>{let e=t.target;this.changeSearchFilter(e.value,!0)}} .placeholder=${this._translations.search.solutions} slot=content-top .value=${this._activeFilterSettings.searchTerm}></calcite-input-text><calcite-block-group .label=${this._translations.filters}>${!this.hideIndustryFilter&&this.renderIndustryBlock()||""}</calcite-block-group>${this.isAIsettingEnabled&&l`<calcite-button icon-start=speech-bubbles label="Solutions Assistant" round scale=l slot=footer-start></calcite-button>`||""}</calcite-panel>`}renderIndustryBlock(){let t=(i,a)=>this._activeFilterSettings.categories.some(s=>s.industry===i&&(s.domain??"")===a),e=i=>this._activeFilterSettings.categories.some(a=>a.industry===i&&(a.domain??"")===""),o=(i,a)=>a.length>0&&(e(i)||this._activeFilterSettings.categories.some(s=>s.industry===i&&!!s.domain&&a.includes(s.domain))),d=(i,a)=>a.map(s=>{let n=Object.keys(this._translations.industriesDomain).find(p=>p.toUpperCase()===s.toUpperCase()),r=n&&n in this._translations.industriesDomain?this._translations.industriesDomain[n]:s;return t(i,s)?h(s,l`<calcite-tree-item .label=${r} @click=${()=>this.changeIndustryFilter(i,s,r,!0)} selected>${r}</calcite-tree-item>`):h(s,l`<calcite-tree-item .label=${r} @click=${()=>this.changeIndustryFilter(i,s,r,!0)}>${r}</calcite-tree-item>`)}),c=Object.entries(R).map(([i,a])=>{let s=Object.keys(this._translations.industries).find(b=>b.toUpperCase()===i.toUpperCase()),n=s&&s in this._translations.industries?this._translations.industries[s]:i,r=a,p=e(i),g=o(i,r);return p?h(i,l`<calcite-tree-item .label=${n} @click=${()=>this.changeIndustryFilter(i,"",n,!0)} selected .expanded=${g?!0:void 0}>${n}${r.length>0&&l`<calcite-tree slot=children selection-mode=multiple>${d(i,r)}</calcite-tree>`||""}</calcite-tree-item>`):h(i,l`<calcite-tree-item .label=${n} @click=${()=>this.changeIndustryFilter(i,"",n,!0)} .expanded=${g?!0:void 0}>${n}${r.length>0&&l`<calcite-tree slot=children selection-mode=multiple>${d(i,r)}</calcite-tree>`||""}</calcite-tree-item>`)});return l`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-tree selection-mode=single-persist>${c}</calcite-tree></calcite-block>`}};I("solutions-filter-panel",E);export{E as SolutionsFilterPanel};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{b as A}from"./RZRMSPUG.js";import"./F3ZUI5T7.js";import"./2JLIDK4F.js";import"./TPTWXLY5.js";import"./J232BJHR.js";import"./JBWJKX6R.js";import"./AADAYMT6.js";import"./AL7BYUFL.js";import"./VLEMGKLD.js";import"./KWDBAHJD.js";import"./RAMU6EDK.js";import"./QMKOWA5L.js";import"./OW2VVRPH.js";import"./WO7RS6VM.js";import"./Z6B3WHSU.js";import"./MOHNOCW5.js";import"./I77ESG6W.js";import"./GGNR6VWM.js";import"./VGQMQMW2.js";import"./I57F65R3.js";import"./FBWQBY27.js";import"./3Y3QLPOF.js";import{a as C}from"./GVL6QMUW.js";import"./QUAPDTN4.js";import"./XRRMKBZC.js";import{c as F,d as O,j as m}from"./RY2EWQB3.js";import{j as b}from"./IX57U3VX.js";import{c as S}from"./T4VXASQ3.js";import{b as E}from"./QO3MRL5D.js";import{a as x}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as v}from"./R4UPDI2V.js";import{C as u,D as g,E as T,G as f,h as w,i as o,l as c,o as p,r as I}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var H=w`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,y=class extends T{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._hideTable=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=x({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.featureSelectionChange=p(),this.toggleFilter=p(),this.showDelete=p(),this.relatedRecordToggled=p(),this.editMultipleFeatures=p(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_hideTable:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){if(this._hideTable=!1,this._fetchingData=!0,!this._layer){this._fetchingData=!1,this._hideTable=!0;return}try{await this._layer.when(),this._definitionExpression=this._layer.definitionExpression||"",this._floorField=this._layer.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl()}catch(e){console.error(e),this._hideTable=!0}finally{this._fetchingData=!1}}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async setColumnOrder(e){this._setColumnTemplates(e)}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,n=this.mapView.allLayerViews.toArray(),h;n.some(async r=>r.layer.title===l?.title&&r.layer.type==="feature"?(h=r,this.mapView&&await m([i],h,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._size=0,this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData||this._hideTable?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${n&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${h=>void this._searchTextChanged(h)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}updated(){this._table&&this.updateRelatedAttachmentColumns()}async _initModules(){let[e,t,i,s]=await E(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),n=this._featuresEmpty(),h=this.featureSelectionMode==="single",r=this.enableCSV;if(this._relatedFeatureTable){let _=await this._queryRelatedFeatures();r=_&&Object.keys(_).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:n,toolTip:this._translations.selectAll}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:n,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),r&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:n,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,n,h){let r=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${r} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${n} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,h)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,relatedRecordsEnabled:!0,attachmentsEnabled:!0,highlightEnabled:!1,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._layerEditHandle=s.on("edits",async()=>{await new Promise(a=>setTimeout(a,50)),await this._refresh(!0)}),this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0,this._layerEditHandle&&this._layerEditHandle.remove();let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}_setColumnTemplates(e){this._table&&e&&(this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:e}))}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),n=this._table?.highlightIds.indexOf(l);n&&n<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.highlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let n=await this._queryRelatedFeatures(),h=[];n&&n[l]?.features&&(n[l].features.forEach(r=>{r.attributes&&h.push(r.attributes[e.objectIdField])}),i=h.length>0?h:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,n)=>{if(!n.hidden){let h=n?.name||n?.fieldName;h&&l.push(h.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(n=>n.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(e){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let t=this._getSelectedLayer(this.selectedRelatedIds);if(t&&this.relatedRecordToggled.emit(t),!e){let i=this._getSelectedIds();this.featureSelectionChange.emit(i)}}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await m(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s;this.mapInfo?.layerOptions?.layers.some(r=>r.id===e?(s=r,!0):!1);let a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(r=>r.fieldName));let n=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(r=>s?.fields&&s.fields.indexOf(r)>-1):l.length>0?l:void 0,h;return t&&(h=t.reduce((r,d)=>{let _={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&r.push(_):l.length>0?l.indexOf(d.name)>-1&&r.push(_):r.push(_),r},[])),h?n?h?.sort(this._sortFields.bind(this,n)):h:[]}updateRelatedAttachmentColumns(){let e;this.mapInfo?.layerOptions?.layers.some(h=>h.id===this._layer?.id?(e=h,!0):!1);let t=this.hasAttachmentsEnabled(this._layer),i=!0,s=e?.fieldOrder||[],a=s.some(h=>h?.name==="attachments"),l=s.filter(h=>typeof h=="object"&&h.name?.startsWith("related:")).map(h=>h.name.split("related:")[1]),n=(e?.extraFields||[]).map(h=>h.startsWith("related:")?h.split("related:")[1]:h);e?.extraFields&&(t=!!(a&&n.includes("attachments")&&this.hasAttachmentsEnabled(this._layer)),i=l.length>0,this._table?.columns.forEach(h=>{h.fieldName.startsWith("EsriFeatureTableRelationshipColumn")&&(h.hidden=!n.includes(h.effectiveLabel))})),this._table.relatedRecordsEnabled=i,this._table.attachmentsEnabled=t}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};v("layer-table",y);export{y as LayerTable};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a,b}from"./NW6RXSQC.js";import"./NJ5MKRTM.js";import"./J24EZC35.js";import"./CSL3GOVE.js";import"./OCBVKLSL.js";import"./44YJQ3Z7.js";import"./TJBFLJQE.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a,b}from"./H7CEQ3X7.js";import"./OCBVKLSL.js";import"./TJBFLJQE.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -1,10 +0,0 @@
1
- Built 10/01/2025 15:22:54.23
2
- develop
3
- commit b1a837307b833a2b132409b0769a2df2fe0c2033
4
- Merge: 6969025da a02880656
5
- Author: Mike Tschudi <mtschudi@esri.com>
6
- Date: Wed Oct 1 15:12:03 2025 -0700
7
-
8
- Merge pull request #1686 from Esri/enh/global-nav
9
-
10
- Added ArcGIS Solutions link