@esri/solutions-components 1.0.0-next.20250521.1 → 1.0.0-next.20250527.1

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 (423) hide show
  1. package/dist/{components/solutions-all-shell/assets → assets/config}/appConfig.json.d.ts +2 -2
  2. package/dist/cdn/{GJSNSMV5.js → 235HMCGP.js} +2 -2
  3. package/dist/cdn/{PZXLUUWJ.js → 27MRQWJF.js} +2 -2
  4. package/dist/cdn/{BZPPRNYK.js → 2B3Q4HD7.js} +2 -2
  5. package/dist/cdn/{DEXEV3CF.js → 2CBB2HLP.js} +2 -2
  6. package/dist/cdn/{7SPIT3JA.js → 2G5DQFP5.js} +2 -2
  7. package/dist/cdn/{MHYB5WW2.js → 2I7ZIAPF.js} +2 -2
  8. package/dist/cdn/{5D4SFQMX.js → 2JENJJ5Q.js} +2 -2
  9. package/dist/cdn/{DRFVJJFB.js → 2SCRBCST.js} +2 -2
  10. package/dist/cdn/{5SI2WE3S.js → 2SPBK2JC.js} +2 -2
  11. package/dist/cdn/2UBHX74M.js +18 -0
  12. package/dist/cdn/{OUGZWNO6.js → 2W7UVH23.js} +1 -1
  13. package/dist/cdn/{F3UYT636.js → 2WWZLR6Z.js} +2 -2
  14. package/dist/cdn/{VOD7YR56.js → 34ECDRMG.js} +2 -2
  15. package/dist/cdn/{NMDVSB55.js → 3BGUPUE3.js} +1 -1
  16. package/dist/cdn/{SZ6XDDRS.js → 3GWL7ZZR.js} +2 -2
  17. package/dist/cdn/{LAKS4FFK.js → 3KJASSVN.js} +2 -2
  18. package/dist/cdn/{VOJ7ETXL.js → 3Y2Q5QFM.js} +2 -2
  19. package/dist/cdn/44KWOYXI.js +4 -0
  20. package/dist/cdn/{HGEH7RJP.js → 462NEOXQ.js} +2 -2
  21. package/dist/cdn/{TMKXDITO.js → 47E56IWZ.js} +2 -2
  22. package/dist/cdn/{Y7AFN6OI.js → 4C3SN7HO.js} +2 -2
  23. package/dist/cdn/{XI2LPQ33.js → 4CXASUGF.js} +2 -2
  24. package/dist/cdn/4RKFDO7V.js +4 -0
  25. package/dist/cdn/{2PCAQBP3.js → 563I6KBO.js} +2 -2
  26. package/dist/cdn/{OT7ZKWCQ.js → 5646UVWD.js} +2 -2
  27. package/dist/cdn/{AAX2HQKV.js → 5ELHQQNT.js} +1 -1
  28. package/dist/cdn/{BXNKGYEI.js → 5M5CVIKP.js} +2 -2
  29. package/dist/cdn/{6Z2DWNPT.js → 5MIMVQY5.js} +1 -1
  30. package/dist/cdn/{CZDA3M6G.js → 5TBGB7YZ.js} +2 -2
  31. package/dist/cdn/{SYQ76GDV.js → 5TVQZ22P.js} +2 -2
  32. package/dist/cdn/{5VKMQKEK.js → 5YQ6I5EF.js} +1 -1
  33. package/dist/cdn/{ILY2OKMX.js → 65YPUCQG.js} +2 -2
  34. package/dist/cdn/{MUWBCKCV.js → 6F7EVZA2.js} +2 -2
  35. package/dist/cdn/{VSAXW4LJ.js → 6LY4PJLC.js} +2 -2
  36. package/dist/cdn/{TJDY5JFR.js → 6NFR7DWF.js} +2 -2
  37. package/dist/cdn/{KMDWJ4IU.js → 6Q6EWBBX.js} +2 -2
  38. package/dist/cdn/{LYRXJGDC.js → 6XL744QT.js} +2 -2
  39. package/dist/cdn/{ND6EAOAK.js → 72MDJVHR.js} +1 -1
  40. package/dist/cdn/{EF5JUDMP.js → 7APZ4O46.js} +2 -2
  41. package/dist/cdn/{XLIFIZT4.js → 7L34ACJ2.js} +1 -1
  42. package/dist/cdn/{VUZSRYII.js → 7T46C2WO.js} +2 -2
  43. package/dist/cdn/{7XECJH7Y.js → A42EXUKX.js} +1 -1
  44. package/dist/cdn/{NFAFQG7O.js → AAG5K33X.js} +2 -2
  45. package/dist/cdn/{A62HEPRS.js → ABK3KAVX.js} +2 -2
  46. package/dist/cdn/{B73J3DHK.js → AFMCTYMF.js} +2 -2
  47. package/dist/cdn/{TETTY42T.js → AIWKSKOS.js} +2 -2
  48. package/dist/cdn/{FDHX3KKE.js → AKIVXNOI.js} +2 -2
  49. package/dist/cdn/{2WHMOJKI.js → ASS7W7EF.js} +2 -2
  50. package/dist/cdn/{SWLJRRGU.js → AUJ4ZHP4.js} +2 -2
  51. package/dist/cdn/{ZMAGZDYI.js → AW2RDITX.js} +2 -2
  52. package/dist/cdn/{57TFREKC.js → AZ3OMUAO.js} +1 -1
  53. package/dist/cdn/{MBYLGI4U.js → BFX54VT3.js} +1 -1
  54. package/dist/cdn/{YLZ235UH.js → BGTACCYE.js} +2 -2
  55. package/dist/cdn/{B42KRM6Z.js → BKXP4PYE.js} +2 -2
  56. package/dist/cdn/{DNJH5UNS.js → BNMMRZMR.js} +1 -1
  57. package/dist/cdn/{3ZWTRRJN.js → BRGMMR6T.js} +1 -1
  58. package/dist/cdn/{ANGBSTZ3.js → BRZEMXNZ.js} +2 -2
  59. package/dist/cdn/BTH73JNS.js +4 -0
  60. package/dist/cdn/{TQT42IK7.js → BYBUA3SD.js} +1 -1
  61. package/dist/cdn/{BPTAOEJG.js → C2E5NBKB.js} +2 -2
  62. package/dist/cdn/{ELCX7XI2.js → CBUD7IB5.js} +2 -2
  63. package/dist/cdn/{57KCCA45.js → CCZ4QXEQ.js} +2 -2
  64. package/dist/cdn/{SB2ETAD7.js → CFSLUNQ7.js} +2 -2
  65. package/dist/cdn/{QCNZF3NJ.js → CNIE4S7A.js} +2 -2
  66. package/dist/cdn/{GJWFJRKH.js → D73WKPMQ.js} +2 -2
  67. package/dist/cdn/{24525IFF.js → DCEBLW5N.js} +2 -2
  68. package/dist/cdn/{YPZY5T64.js → DCOPVWLY.js} +2 -2
  69. package/dist/cdn/{F5UQ42HE.js → DF5QXKGH.js} +2 -2
  70. package/dist/cdn/{7WQVJT5F.js → DGNNFON4.js} +2 -2
  71. package/dist/cdn/{BFH5SO2L.js → DMPGY2CP.js} +1 -1
  72. package/dist/cdn/{4SKIALSW.js → DS7T3C76.js} +2 -2
  73. package/dist/cdn/{HDBFFEBB.js → DSUJM7KE.js} +2 -2
  74. package/dist/cdn/{WY3BALDA.js → DUW2CBFP.js} +2 -2
  75. package/dist/cdn/{3MEA5DUO.js → DZR5OU2Z.js} +2 -2
  76. package/dist/cdn/{AJMDPQVN.js → E2K4YXFY.js} +2 -2
  77. package/dist/cdn/{EVND7CLX.js → E7Z2VNGZ.js} +2 -2
  78. package/dist/cdn/{KF632BTH.js → EEZVGG7J.js} +2 -2
  79. package/dist/cdn/{DW5MNUDP.js → EIJGEZ3R.js} +1 -1
  80. package/dist/cdn/{JZPIPYHU.js → EJNMBFZU.js} +2 -2
  81. package/dist/cdn/{YZ45SJNV.js → EQYKWRWC.js} +2 -2
  82. package/dist/cdn/{2IN6EBD2.js → ERRVLDZR.js} +2 -2
  83. package/dist/cdn/{K47GFZZC.js → EUEDSIGE.js} +2 -2
  84. package/dist/cdn/{3BFU2N33.js → EY5KJVGY.js} +2 -2
  85. package/dist/cdn/F3SICAQV.js +8 -0
  86. package/dist/cdn/FDO6F6OD.js +18 -0
  87. package/dist/cdn/FHG3CDRP.js +4 -0
  88. package/dist/cdn/{NPHHJYBH.js → FHPVFDBQ.js} +2 -2
  89. package/dist/cdn/{EPSCUZ73.js → FM4LJPL6.js} +2 -2
  90. package/dist/cdn/{76ALAXVV.js → FNS5B3MH.js} +2 -2
  91. package/dist/cdn/{ZTVEA5RF.js → FTU72FJP.js} +1 -1
  92. package/dist/cdn/FTZVWKBM.js +18 -0
  93. package/dist/cdn/{L64TRNGF.js → G7O5ZQAS.js} +2 -2
  94. package/dist/cdn/{BJ2EZS3Z.js → GGUXZIFJ.js} +2 -2
  95. package/dist/cdn/{THVVAYVQ.js → GOHGYRVC.js} +2 -2
  96. package/dist/cdn/{7CKL36AK.js → GVYKKXOF.js} +1 -1
  97. package/dist/cdn/{WCEJDYKE.js → GX7IKAB3.js} +2 -2
  98. package/dist/cdn/{3OQDT2PX.js → GXDIQYY2.js} +2 -2
  99. package/dist/cdn/{EV7HBUTQ.js → GZOFO77D.js} +2 -2
  100. package/dist/cdn/{Z2Z7VXON.js → H2NMQTHO.js} +2 -2
  101. package/dist/cdn/{XRQCOVSZ.js → HEU5ADOI.js} +2 -2
  102. package/dist/cdn/{WXAL7UR7.js → HHBX6OJB.js} +2 -2
  103. package/dist/cdn/{G4WDN3WM.js → HK7LGCJZ.js} +2 -2
  104. package/dist/cdn/{6FO4Q3E6.js → HL27PBID.js} +2 -2
  105. package/dist/cdn/{ETE327MH.js → HM3CN2LF.js} +1 -1
  106. package/dist/cdn/HOBO4ZBX.js +18 -0
  107. package/dist/cdn/{XPISGP4X.js → HPUHAFAJ.js} +2 -2
  108. package/dist/cdn/{AEA2NSI4.js → HZY6CHAU.js} +2 -2
  109. package/dist/cdn/IHWO6477.js +4 -0
  110. package/dist/cdn/{HYXJ3R6E.js → IPINIAHE.js} +2 -2
  111. package/dist/cdn/IPPAEITK.js +18 -0
  112. package/dist/cdn/{ZG5TZZOJ.js → IS6FZQDO.js} +2 -2
  113. package/dist/cdn/{TX5LUCPB.js → IYDQFMAO.js} +2 -2
  114. package/dist/cdn/{UVSVC3WI.js → IYWM6PGT.js} +2 -2
  115. package/dist/cdn/{2N36AAZW.js → J2OGB6WD.js} +2 -2
  116. package/dist/cdn/{KZLVAEI2.js → J7HFP2SN.js} +2 -2
  117. package/dist/cdn/JCYSJLP3.js +4 -0
  118. package/dist/cdn/{YVCCBY5A.js → JF6NRNBV.js} +2 -2
  119. package/dist/cdn/{UVB3QATU.js → JGMZYU54.js} +2 -2
  120. package/dist/cdn/{JUWEYEWN.js → JJ7NWRPI.js} +2 -2
  121. package/dist/cdn/{3ZX46XLT.js → JO3IHRR7.js} +2 -2
  122. package/dist/cdn/{TG55KKIP.js → JPPXUPM6.js} +2 -2
  123. package/dist/cdn/{H3LE6IXK.js → JWXQ3ZOM.js} +2 -2
  124. package/dist/cdn/{LA6C6JAO.js → JY5VS7K2.js} +2 -2
  125. package/dist/cdn/{3QSJRZNT.js → K32Q3OHF.js} +2 -2
  126. package/dist/cdn/{ZG3PPQ55.js → K3OXWSA7.js} +2 -2
  127. package/dist/cdn/{OFNMFDPR.js → K3UY4EFA.js} +1 -1
  128. package/dist/cdn/{JUK6YN7M.js → K54ZYQZT.js} +2 -2
  129. package/dist/cdn/{MCVVXWUA.js → K77Y37K5.js} +2 -2
  130. package/dist/cdn/{J77NMDV5.js → KGLXLAY3.js} +1 -1
  131. package/dist/cdn/{BWYEDUZX.js → KMEQX57W.js} +2 -2
  132. package/dist/cdn/{RBNUMIQJ.js → KZ6GOXIR.js} +2 -2
  133. package/dist/cdn/{UKJQTCNY.js → L4A3TP42.js} +2 -2
  134. package/dist/cdn/{CE3PZUP3.js → L7V6N63X.js} +1 -1
  135. package/dist/cdn/LG5JARXR.js +4 -0
  136. package/dist/cdn/{CFSCFQIJ.js → LIOV5Z2T.js} +2 -2
  137. package/dist/cdn/{NNCVEOOC.js → LJ3WFFB2.js} +2 -2
  138. package/dist/cdn/{WGNTLBNS.js → LSGWT4PB.js} +2 -2
  139. package/dist/cdn/LU62UIKJ.js +4 -0
  140. package/dist/cdn/{HXJN6FVT.js → LUS4XGFV.js} +2 -2
  141. package/dist/cdn/{CKIF7ITD.js → LWII4SFH.js} +2 -2
  142. package/dist/cdn/{V2N5MGKX.js → LWT5ZPS5.js} +2 -2
  143. package/dist/cdn/M2JNL3YZ.js +5 -0
  144. package/dist/cdn/{POK67CCI.js → M3NHYVE5.js} +2 -2
  145. package/dist/cdn/M4SLCXFR.js +4 -0
  146. package/dist/cdn/{QHW6LKVE.js → M5PZM6MR.js} +2 -2
  147. package/dist/cdn/{2TGWW2EE.js → M6OYWH72.js} +2 -2
  148. package/dist/cdn/{TV6MVRLN.js → MCYHMQTR.js} +2 -2
  149. package/dist/cdn/{XFVJUICD.js → MKILC4CS.js} +2 -2
  150. package/dist/cdn/{MSJNBWKG.js → MMSYI6GH.js} +1 -1
  151. package/dist/cdn/{POZF7VFZ.js → MNIQAXS4.js} +1 -1
  152. package/dist/cdn/{GPUC2YAZ.js → MO6ELGZS.js} +1 -1
  153. package/dist/cdn/{PF6ZRQJ2.js → MWYXGDMB.js} +2 -2
  154. package/dist/cdn/{SHGCXAGA.js → NAICN42V.js} +2 -2
  155. package/dist/cdn/{NNWPGIM6.js → NF5LHYAO.js} +2 -2
  156. package/dist/cdn/{XM7J7FRK.js → NG43RYFN.js} +2 -2
  157. package/dist/cdn/{R7URESQA.js → NP3DZUOG.js} +2 -2
  158. package/dist/cdn/{UHGVCTXE.js → NSTT2IOP.js} +2 -2
  159. package/dist/cdn/{ASDGPISP.js → NUYU2UBS.js} +2 -2
  160. package/dist/cdn/{W7FRKETT.js → O4DKV6WM.js} +2 -2
  161. package/dist/cdn/{EQREHHBY.js → OBISJL4B.js} +2 -2
  162. package/dist/cdn/{U3MG73BI.js → OBQ5ECDX.js} +2 -2
  163. package/dist/cdn/{V6FMWC6D.js → OGAB72G7.js} +2 -2
  164. package/dist/cdn/OIDBNRLF.js +18 -0
  165. package/dist/cdn/{O5AVB7EE.js → OM7V7IHH.js} +2 -2
  166. package/dist/cdn/{FOESISXO.js → OOWZZIWB.js} +2 -2
  167. package/dist/cdn/{UXHI6HKV.js → OUIN7APR.js} +2 -2
  168. package/dist/cdn/{KU62FCLR.js → OVEGZJHW.js} +2 -2
  169. package/dist/cdn/{53ZP5E2V.js → OX5DEXZX.js} +2 -2
  170. package/dist/cdn/{CQDNZU4P.js → P67BXX6L.js} +2 -2
  171. package/dist/cdn/{U6ZZFZ5O.js → P6FYDYAK.js} +2 -2
  172. package/dist/cdn/{KOI3XUTI.js → P7U5QF6I.js} +2 -2
  173. package/dist/cdn/{23YJ5GOE.js → PALTMKJB.js} +2 -2
  174. package/dist/cdn/{NWN7Y7AR.js → PDHB7K5V.js} +2 -2
  175. package/dist/cdn/{FJEXAORI.js → PETX35OI.js} +2 -2
  176. package/dist/cdn/{NSEF4U3D.js → PNF3ZUSB.js} +2 -2
  177. package/dist/cdn/{2ECBDDEM.js → PRQU6X7H.js} +2 -2
  178. package/dist/cdn/{T2AD4OLC.js → PU3J4MZ3.js} +2 -2
  179. package/dist/cdn/PVJCHRCH.js +4 -0
  180. package/dist/cdn/{KFA5XB23.js → Q5X2S4MD.js} +1 -1
  181. package/dist/cdn/{NPBGB25Y.js → Q5ZQOFB2.js} +2 -2
  182. package/dist/cdn/{LRH5JW4Y.js → QDZSCCYH.js} +2 -2
  183. package/dist/cdn/{3QD6OQGN.js → QMAKEUC2.js} +2 -2
  184. package/dist/cdn/{YJEMF2Z6.js → QML66ZJW.js} +2 -2
  185. package/dist/cdn/{ZNZZHZ2Q.js → QTDIQRHK.js} +2 -2
  186. package/dist/cdn/{ON5Q5T5J.js → R4O6DVY6.js} +2 -2
  187. package/dist/cdn/{M3BZTOYS.js → R7E7P3BW.js} +2 -2
  188. package/dist/cdn/{AZ5AUWSV.js → R7FDRHLT.js} +2 -2
  189. package/dist/cdn/RMITVNXV.js +4 -0
  190. package/dist/cdn/{KH2BTRXI.js → ROI7GMNK.js} +1 -1
  191. package/dist/cdn/{JA2BLSMQ.js → RP7K3LJT.js} +2 -2
  192. package/dist/cdn/{HTVK2NSG.js → RQN5FKM7.js} +2 -2
  193. package/dist/cdn/{FFUCQ7IU.js → RS4LILZG.js} +2 -2
  194. package/dist/cdn/{DK32RK5U.js → RSJCSZWF.js} +1 -1
  195. package/dist/cdn/{KETFCI2P.js → RTKXKSUC.js} +2 -2
  196. package/dist/cdn/{UENHZJI6.js → RTT5SBQJ.js} +2 -2
  197. package/dist/cdn/{MV3DKW2Y.js → RUC3STWU.js} +2 -2
  198. package/dist/cdn/{2Z7AL4WY.js → S2O7NNWL.js} +2 -2
  199. package/dist/cdn/{GRBGQ3CY.js → S2W3JVOQ.js} +2 -2
  200. package/dist/cdn/{IGELH7BW.js → S3CJI2RF.js} +1 -1
  201. package/dist/cdn/{WYW6UPKP.js → SF6257JR.js} +1 -1
  202. package/dist/cdn/{6YGV5ZHN.js → SKHIZ4QA.js} +2 -2
  203. package/dist/cdn/{YP5ARNCZ.js → SMEMKVDF.js} +2 -2
  204. package/dist/cdn/{E2ACXLVV.js → SP7LJ3CU.js} +2 -2
  205. package/dist/cdn/{QP5IG75V.js → SQOKNHQQ.js} +2 -2
  206. package/dist/cdn/{Z3Z7UPMU.js → SQVXPJDM.js} +1 -1
  207. package/dist/cdn/{TLBQLRUA.js → STTUGNU7.js} +2 -2
  208. package/dist/cdn/{ODMUEFOT.js → SZGXZADB.js} +2 -2
  209. package/dist/cdn/{HRNJ6PPS.js → T5YBVEAU.js} +2 -2
  210. package/dist/cdn/{7BW7YOBF.js → TKPHO475.js} +2 -2
  211. package/dist/cdn/{CW6CCZ73.js → TM2VJ6VT.js} +2 -2
  212. package/dist/cdn/{KQ3XW3HT.js → TOWUBB5U.js} +2 -2
  213. package/dist/cdn/{25ZSQ4Y4.js → TPK7LVDB.js} +2 -2
  214. package/dist/cdn/{HAIBENUV.js → TVNGRZHA.js} +2 -2
  215. package/dist/cdn/{NG5O4EF2.js → TVWOFQVC.js} +2 -2
  216. package/dist/cdn/{NLAAOG7K.js → U2FJYTYH.js} +2 -2
  217. package/dist/cdn/{M4EOHQP3.js → U2VKBVBV.js} +2 -2
  218. package/dist/cdn/{QW25OYIP.js → U2ZT36OX.js} +2 -2
  219. package/dist/cdn/{JNJU5SA4.js → U6CTX64Y.js} +2 -2
  220. package/dist/cdn/UBBZOJAY.js +4 -0
  221. package/dist/cdn/{OQ2OHE4S.js → UFTXRN5O.js} +2 -2
  222. package/dist/cdn/{LREJHPPN.js → UFUUQSDI.js} +2 -2
  223. package/dist/cdn/{SWD5EGIW.js → UGDH6OHK.js} +1 -1
  224. package/dist/cdn/{DIR7QOWJ.js → UKSNIHPE.js} +2 -2
  225. package/dist/cdn/{6XL3O76R.js → UOCFZXCI.js} +2 -2
  226. package/dist/cdn/{NARZWJOL.js → UQQ7WIIG.js} +1 -1
  227. package/dist/cdn/{4W3OTNVQ.js → UQQLSZLW.js} +2 -2
  228. package/dist/cdn/{PSTNEQMA.js → UWTU3QFZ.js} +2 -2
  229. package/dist/cdn/{JYB6HV7M.js → UWZF6TGQ.js} +2 -2
  230. package/dist/cdn/{BRBPMYFG.js → V5TS3XKZ.js} +2 -2
  231. package/dist/cdn/{TLP53ZXS.js → VA5AX3JY.js} +2 -2
  232. package/dist/cdn/{45JWP6I3.js → VC55K7FD.js} +2 -2
  233. package/dist/cdn/{CGBW4C56.js → VEYCZIDH.js} +2 -2
  234. package/dist/cdn/{NZFOFQFK.js → VFC3KWOY.js} +2 -2
  235. package/dist/cdn/{73ZW6AZO.js → VHAKVCYG.js} +2 -2
  236. package/dist/cdn/{ZRDVHXEL.js → VHGLIJMI.js} +2 -2
  237. package/dist/cdn/{QJNE3P25.js → VJ5NWA7C.js} +2 -2
  238. package/dist/cdn/{4FV35CZ2.js → VLP6DDYE.js} +4 -4
  239. package/dist/cdn/{ME35VNVL.js → VLURIFFB.js} +2 -2
  240. package/dist/cdn/{4I5HWIEN.js → VNHRV4W2.js} +2 -2
  241. package/dist/cdn/{MW5Q3YCW.js → VVZJNJ36.js} +2 -2
  242. package/dist/cdn/{JY42QHUW.js → VWINHHXS.js} +2 -2
  243. package/dist/cdn/VYN2OV3J.js +4 -0
  244. package/dist/cdn/{W47KT5GG.js → W74YB7LO.js} +2 -2
  245. package/dist/cdn/{BEGVEBJJ.js → WK6KWLP7.js} +2 -2
  246. package/dist/cdn/{ANZR4N6V.js → WKWVZYU2.js} +2 -2
  247. package/dist/cdn/{HRTSR2SE.js → WMVWR4TI.js} +1 -1
  248. package/dist/cdn/{EMXWEQBM.js → WRLGEWRN.js} +1 -1
  249. package/dist/cdn/{VD6PGA3P.js → WSTFKNIK.js} +2 -2
  250. package/dist/cdn/{PFAB7BY6.js → WW6QSBNO.js} +2 -2
  251. package/dist/cdn/{2OTIFQIN.js → X34MWL2J.js} +2 -2
  252. package/dist/cdn/X3KFABXY.js +4 -0
  253. package/dist/cdn/{UZCXGQDN.js → X3OZJPGV.js} +2 -2
  254. package/dist/cdn/{RFHVHPG4.js → XAIHFHBP.js} +2 -2
  255. package/dist/cdn/{3YDR5TNM.js → XBMRPDNE.js} +2 -2
  256. package/dist/cdn/{VDWURYIO.js → XCH4UNRZ.js} +2 -2
  257. package/dist/cdn/{34ISDA3J.js → XGKEI55O.js} +2 -2
  258. package/dist/cdn/{FQH25K2H.js → XOEQRL52.js} +2 -2
  259. package/dist/cdn/{7DG3DSPE.js → Y2H34EQP.js} +2 -2
  260. package/dist/cdn/{ZUSH4SCO.js → Y2TULO3A.js} +2 -2
  261. package/dist/cdn/{R6U7AID6.js → Y2VUFZUV.js} +1 -1
  262. package/dist/cdn/{DIELHCE6.js → Y3FQP4NF.js} +2 -2
  263. package/dist/cdn/{ODRDYVBD.js → YSOIAQKF.js} +2 -2
  264. package/dist/cdn/{T6VGLWYO.js → YVIZHCBF.js} +2 -2
  265. package/dist/cdn/{YNVH5WOM.js → YYROVQF2.js} +1 -1
  266. package/dist/cdn/{EYCGOAQV.js → YZ4LCVJ7.js} +2 -2
  267. package/dist/cdn/{4NZAMBEG.js → Z2KZ6VY2.js} +2 -2
  268. package/dist/cdn/{EC5BCFOV.js → ZADW6QWU.js} +2 -2
  269. package/dist/cdn/{GGFHUOLW.js → ZFEYSYS5.js} +2 -2
  270. package/dist/cdn/{FHZLYB2S.js → ZFS6FBQX.js} +2 -2
  271. package/dist/cdn/{LGJZ53IQ.js → ZGTCOKGY.js} +2 -2
  272. package/dist/cdn/{ZVNQTPA6.js → ZJID6JNT.js} +3 -3
  273. package/dist/cdn/{UTA3GVUF.js → ZMPNHGIE.js} +2 -2
  274. package/dist/cdn/{L5RFIDWK.js → ZRRRCRK3.js} +2 -2
  275. package/dist/cdn/ZTFR55FL.js +18 -0
  276. package/dist/cdn/{IHYLQW3P.js → ZUNKV2EF.js} +1 -1
  277. package/dist/cdn/{7VOV57VQ.js → ZXQJLGRP.js} +4 -4
  278. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -1
  279. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -1
  280. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
  281. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
  282. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.en.json +1 -1
  283. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.json +1 -1
  284. package/dist/cdn/index.js +2 -2
  285. package/dist/chunks/Auth.js +249 -0
  286. package/dist/chunks/cardFetchingUtils.js +476 -0
  287. package/dist/chunks/common.js +1 -1
  288. package/dist/chunks/deployAppContexts.js +1 -1
  289. package/dist/chunks/downloadUtils.js +1 -1
  290. package/dist/chunks/index.js +405 -313
  291. package/dist/chunks/interfaces.js +21 -17
  292. package/dist/chunks/loadModules.js +1 -1
  293. package/dist/chunks/mapViewUtils.js +1 -1
  294. package/dist/chunks/pciUtils.js +1 -1
  295. package/dist/chunks/popupUtils.js +1 -1
  296. package/dist/chunks/publicNotificationStore.js +1 -1
  297. package/dist/chunks/queryUtils.js +1 -1
  298. package/dist/chunks/runtime.js +1 -1
  299. package/dist/chunks/solution-store.js +1 -1
  300. package/dist/chunks/templates.js +1 -1
  301. package/dist/chunks/useT9n.js +1 -1
  302. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  303. package/dist/components/basemap-gallery/customElement.js +1 -1
  304. package/dist/components/buffer-tools/customElement.js +1 -1
  305. package/dist/components/card-manager/customElement.js +1 -1
  306. package/dist/components/consent-manager/customElement.js +3 -3
  307. package/dist/components/create-feature/customElement.js +1 -1
  308. package/dist/components/create-related-feature/customElement.js +1 -1
  309. package/dist/components/crowdsource-manager/customElement.js +10 -10
  310. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  311. package/dist/components/deduct-calculator/customElement.js +1 -1
  312. package/dist/components/delete-button/customElement.js +1 -1
  313. package/dist/components/delete-dialog/customElement.js +1 -1
  314. package/dist/components/edit-card/customElement.js +1 -1
  315. package/dist/components/feature-details/customElement.js +1 -1
  316. package/dist/components/feature-list/customElement.js +1 -1
  317. package/dist/components/field-selection/customElement.js +1 -1
  318. package/dist/components/floor-filter/customElement.js +1 -1
  319. package/dist/components/info-card/customElement.js +1 -1
  320. package/dist/components/json-editor/customElement.js +1 -1
  321. package/dist/components/layer-list/customElement.js +1 -1
  322. package/dist/components/layer-table/customElement.d.ts +0 -6
  323. package/dist/components/layer-table/customElement.js +47 -57
  324. package/dist/components/layer-table/index.d.ts +0 -2
  325. package/dist/components/layer-table/index.js +0 -2
  326. package/dist/components/map-card/customElement.js +1 -1
  327. package/dist/components/map-draw-tools/customElement.js +2 -2
  328. package/dist/components/map-fullscreen/customElement.js +1 -1
  329. package/dist/components/map-layer-picker/customElement.js +1 -1
  330. package/dist/components/map-legend/customElement.js +1 -1
  331. package/dist/components/map-picker/customElement.js +1 -1
  332. package/dist/components/map-search/customElement.js +1 -1
  333. package/dist/components/map-select-tools/customElement.js +1 -1
  334. package/dist/components/map-tools/customElement.js +1 -1
  335. package/dist/components/pci-calculator/customElement.js +1 -1
  336. package/dist/components/pdf-download/customElement.js +1 -1
  337. package/dist/components/public-notification/customElement.js +14 -14
  338. package/dist/components/refine-selection/customElement.js +2 -2
  339. package/dist/components/selection-tool/customElement.js +1 -1
  340. package/dist/components/solution-article-card/customElement.js +1 -1
  341. package/dist/components/solution-configuration/customElement.js +1 -1
  342. package/dist/components/solution-configure-panel/customElement.js +1 -1
  343. package/dist/components/solution-configure-titles/customElement.js +1 -1
  344. package/dist/components/solution-contents/customElement.js +1 -1
  345. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  346. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  347. package/dist/components/solution-deploy-panel/customElement.d.ts +12 -0
  348. package/dist/components/solution-deploy-panel/customElement.js +44 -16
  349. package/dist/components/solution-deploy-panel/index.d.ts +10 -0
  350. package/dist/components/solution-deploy-panel/index.js +10 -0
  351. package/dist/components/solution-deployed-card/customElement.js +1 -1
  352. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  353. package/dist/components/solution-details-card/customElement.js +1 -1
  354. package/dist/components/solution-details-panel/customElement.js +1 -1
  355. package/dist/components/solution-item/customElement.js +1 -1
  356. package/dist/components/solution-item-accordion/customElement.js +1 -1
  357. package/dist/components/solution-item-details/customElement.js +1 -1
  358. package/dist/components/solution-item-icon/customElement.js +1 -1
  359. package/dist/components/solution-item-sharing/customElement.js +1 -1
  360. package/dist/components/solution-items-diagram/customElement.js +1 -1
  361. package/dist/components/solution-organization-variables/customElement.js +1 -1
  362. package/dist/components/solution-resource-item/customElement.js +1 -1
  363. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  364. package/dist/components/solution-spatial-ref/customElement.js +2 -2
  365. package/dist/components/solution-template-data/customElement.js +1 -1
  366. package/dist/components/solution-variables/customElement.js +1 -1
  367. package/dist/components/solutions-all-panel/customElement.d.ts +2 -3
  368. package/dist/components/solutions-all-panel/customElement.js +84 -521
  369. package/dist/components/solutions-all-shell/customElement.d.ts +1 -0
  370. package/dist/components/solutions-all-shell/customElement.js +29 -24
  371. package/dist/components/solutions-article-panel/customElement.js +1 -1
  372. package/dist/components/solutions-articles/customElement.js +1 -1
  373. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  374. package/dist/components/solutions-deployed-panel/customElement.d.ts +54 -0
  375. package/dist/components/solutions-deployed-panel/customElement.js +66 -17
  376. package/dist/components/solutions-deployed-panel/index.d.ts +2 -0
  377. package/dist/components/solutions-deployed-panel/index.js +2 -0
  378. package/dist/components/solutions-deployed-shell/customElement.d.ts +19 -0
  379. package/dist/components/solutions-deployed-shell/customElement.js +111 -17
  380. package/dist/components/solutions-deployed-shell/index.d.ts +10 -0
  381. package/dist/components/solutions-deployed-shell/index.js +10 -0
  382. package/dist/components/solutions-filter-panel/customElement.js +2 -2
  383. package/dist/components/spatial-ref/customElement.js +1 -1
  384. package/dist/components/store-manager/customElement.js +1 -1
  385. package/dist/docs/api.json +662 -97
  386. package/dist/docs/docs.json +504 -38
  387. package/dist/docs/vscode.html-custom-data.json +105 -12
  388. package/dist/docs/web-types.json +207 -31
  389. package/dist/index.d.ts +31 -2
  390. package/dist/index.js +1 -1
  391. package/dist/loader.js +5 -5
  392. package/dist/types/lumina.d.ts +7 -4
  393. package/dist/types/preact.d.ts +7 -4
  394. package/dist/types/react.d.ts +7 -4
  395. package/dist/types/stencil.d.ts +7 -4
  396. package/dist/utils/CardsFetcher.d.ts +5 -22
  397. package/dist/utils/cardFetchingUtils.d.ts +24 -0
  398. package/dist/utils/cardsHelpers.d.ts +2 -47
  399. package/dist/utils/helpers.d.ts +1 -21
  400. package/dist/utils/interfaces.d.ts +94 -1
  401. package/package.json +148 -147
  402. package/dist/cdn/3QIZTD4O.js +0 -4
  403. package/dist/cdn/7RN23NYN.js +0 -18
  404. package/dist/cdn/BEOKELUC.js +0 -4
  405. package/dist/cdn/BJFZKZXY.js +0 -4
  406. package/dist/cdn/G36LLGTJ.js +0 -4
  407. package/dist/cdn/H7LNTTBF.js +0 -4
  408. package/dist/cdn/HJNIOQBX.js +0 -4
  409. package/dist/cdn/HNLKT2BY.js +0 -4
  410. package/dist/cdn/HR7NBZ23.js +0 -18
  411. package/dist/cdn/I5FXIJHX.js +0 -4
  412. package/dist/cdn/IY54OHHB.js +0 -18
  413. package/dist/cdn/KONO75BP.js +0 -4
  414. package/dist/cdn/L4DGTHZ5.js +0 -5
  415. package/dist/cdn/LGMP6U2I.js +0 -4
  416. package/dist/cdn/MXFGKNUJ.js +0 -4
  417. package/dist/cdn/RKPAK25A.js +0 -18
  418. package/dist/cdn/U7SYT67J.js +0 -4
  419. package/dist/cdn/VDRSRH6X.js +0 -18
  420. package/dist/cdn/WU3WC633.js +0 -18
  421. package/dist/cdn/Y7RZLFOV.js +0 -4
  422. package/dist/cdn/ZVQ7AOB6.js +0 -18
  423. package/dist/cdn/assets/solutions-all-shell/appConfig.json +0 -1
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as o}from"./HJNIOQBX.js";import{a as l,c as t,d as r,e as d,f as p}from"./A62HEPRS.js";import"./GPUC2YAZ.js";var g;(function(n){n.TopLeft="top-left",n.TopCenter="top-center",n.TopRight="top-right",n.CenterLeft="center-left",n.Center="center",n.CenterRight="center-right",n.BottomLeft="bottom-left",n.BottomCenter="bottom-center",n.BottomRight="bottom-right"})(g||(g={}));var c=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:0.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}",_=c,a={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",removePadding:"instant-apps-landing-page__remove-padding",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},h=class{constructor(n){l(this,n),this.landingPageOpen=p(this,"landingPageOpen",7),this.landingPageClose=p(this,"landingPageClose",7),this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=g.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.enableSignIn=void 0,this.portal=void 0,this.oauthappid=void 0}emitToggleEvent(){this.open?this.landingPageOpen.emit():this.landingPageClose.emit()}async componentWillRender(){await this.checkEnableSignIn()}render(){let n=this.renderLandingPageContent();return t(r,{key:"c2fa402a6f88acae71a849e2373046ddc27ddf77"},n)}renderLandingPageContent(){let n=this.open?"":this.disableTransition?` ${a.closedNoTransition}`:` ${a.closed}`,e=this.getAlignmentClass(),i=this.disableTransition?` ${a.removeTransition}`:"",s=this.getContentStyle();return t("div",{style:s,class:`${a.BASE}${e}${n}${i}`},t("div",{class:a.backgroundAction},t("slot",{name:"background-action"})),t("div",{class:a.contentContainer},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),this.renderEntryButtonContainer())}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():t("div",{class:a.buttonContainer},this.renderEntryButton(),t("slot",{name:"secondary-action"}))}renderLandingPageSignIn(){return t("instant-apps-sign-in",{type:"landingPage",landingPage:!0,portal:this.portal,oauthappid:this.oauthappid,closeLandingPage:this.closeLandingPage.bind(this)})}renderIconImage(){return this.iconImage?t("img",{class:`${a.iconImage}${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return t("h1",{class:a.titleText},this.titleText)}renderSubtitleText(){return t("span",{class:a.subtitleText},this.subtitleText)}renderDescriptionText(){return t("p",{class:a.descriptionText},this.descriptionText)}renderEntryButton(){return t("calcite-button",{class:a.entryButton,onClick:this.closeLandingPage.bind(this),scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText?this.entryButtonText:"Enter")}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${a.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:n}=this,{s:e,m:i,l:s}=a.iconImageScale;return n==="l"?s:n==="s"?e:i}getContentStyle(){let n=o(this.fontFamily);return this.backgroundImageSrc?{fontFamily:n,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:n}}async checkEnableSignIn(){await new Promise(n=>{if(this.enableSignIn){let e=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;e!=null&&((Date.now()-e)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}n(null)})}get el(){return d(this)}static get watchers(){return{open:["emitToggleEvent"]}}};h.style=_;export{h as instant_apps_landing_page};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a,b}from"./UVB3QATU.js";import"./WYW6UPKP.js";import"./GPUC2YAZ.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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import"./BFH5SO2L.js";import{b as C}from"./4FV35CZ2.js";import"./7VOV57VQ.js";import"./ZUSH4SCO.js";import"./POZF7VFZ.js";import"./UKJQTCNY.js";import"./ETE327MH.js";import"./TQT42IK7.js";import"./ZTVEA5RF.js";import{a as O}from"./GJWFJRKH.js";import"./A62HEPRS.js";import{c as F,d as S,j as b}from"./OQ2OHE4S.js";import"./ODMUEFOT.js";import{c as E}from"./XLIFIZT4.js";import{a as f,b as _}from"./F5UQ42HE.js";import{b as x}from"./MSJNBWKG.js";import{a as T}from"./EYCGOAQV.js";import{D as I,E as p,I as v,c as m,d,g as o,o as c,q as w}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var $=m`@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{--calcite-label-margin-bottom: 0px}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{--calcite-label-text-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 I{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.createFilterModal=!0,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=T({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=f(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=f(),this._toolbar=f(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this.featureSelectionChange=c(),this.toggleFilter=c(),this.showDelete=c(),this.relatedRecordToggled=c(),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),O(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,createFilterModal:5,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_filterOpen:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=$}static{this.shadowRootOptions=w}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._table&&this._resetColumnTemplates()}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(){this._fetchingData=!0,await this._layer?.when(async()=>{this._definitionExpression=this._layer?.definitionExpression||"",this._floorField=this._layer?.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),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 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,r=this.mapView.allLayerViews.toArray(),h;r.some(async n=>n.layer.title===l?.title&&n.layer.type==="feature"?(h=n,this.mapView&&await b([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._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?"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",r=this._canShowFullTextSearch();return this._validateActiveActions(),d`<div><calcite-scrim class=${p(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&&d`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${r&&d`<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??o} type=search></calcite-input></div>`||""}<calcite-loader class=${p(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${p(e)} ${_(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:d`<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>${this.createFilterModal&&this._filterModal()||""}</div>`}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length&&t){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t?.indexOf(this._searchExpression)>-1?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("{{fields}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return d`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??o}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex 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 d`<div class="display-flex" slot=${e??o}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return d`<div class=${"height-51-px width-full display-flex"} slot=${e??o} ${_(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return d`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??o} 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)),e),[])}_validateEnabledActions(){let e=this._featuresSelected(),t=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,i=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(s=>{s&&i.indexOf(s.icon)>-1&&(s.disabled=s.icon==="pencil"?!t:!e)})}_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._featuresSelected(),t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable;this.selectedIds.length>1&&this._layer?.capabilities?.operations.supportsUpdate;let i=!this.mapHidden&&!t,s=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),a=this._featuresEmpty(),l=this.featureSelectionMode==="single",r=this.enableCSV;if(this._relatedFeatureTable){let n=await this._queryRelatedFeatures();r=n&&Object.keys(n).length>0}let h=[];s&&h.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1}),i&&h.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e}),this._deleteEnabled&&h.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0}),h.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e}),this._relatedFeatureTable||h.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e}),!l&&!this._relatedFeatureTable&&h.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:a}),!l&&!this._relatedFeatureTable&&h.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:a}),h.push({active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1}),r&&h.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:a}),this._toolInfos=[...h]}_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}}_featuresSelected(){return this._relatedFeatureTable?this._relatedFeatureTable.highlightIds.items.length>0:this.selectedIds.length>0}_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,r){let h=this._layer===void 0?!0:l;return d`<calcite-action .active=${e} appearance=solid .disabled=${h} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${r} @click=${a} text text-enabled><div class="display-flex"><calcite-label class="label-override padding-start-1-4">${s}</calcite-label></div></calcite-action>`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&d`<div id=${this._getId(e)??o}><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} ${_(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._shareNode.value&&(this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return document.getElementById(t)?d`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`:void 0}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return d`<div class="display-flex" id=${this._getId(e)??o}>${d`<calcite-action appearance=solid .disabled=${a} id=${e??o} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><calcite-label class="label-override padding-start-1-4 danger-label-color">${t}</calcite-label></calcite-action>`}${this._getToolTip("bottom",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,relatedRecordsEnabled:!0,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:!0,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 s={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(s)}if(this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let s=i.layer.popupTemplate?.fieldInfos||i.layer.fields,a=this._getColumnTemplates(i.layer.id,s);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:a})}i.highlightIds.on("change",s=>{this._handleOnChange(s)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0;let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}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._featuresSelected()?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||this._layer.fields,t=this._getColumnTemplates(this._layer.id,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)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos||this._layer.fields,t=this._getColumnTemplates(this._layer.id,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._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 E(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(){this._editEnabled=!!(this._layer?.editingEnabled&&this._layer?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(this._layer?.editingEnabled&&this._layer?.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)}))}_filterModal(){return d`<calcite-dialog class="filter-content-space" .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s>${this.mapView&&d`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>this._filterList?.value?.filterCount&&void this._handleFilterUpdate(this._filterList?.value?.filterCount>0)} .view=${this.mapView} ${_(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}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._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}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()),r=this._table?.highlightIds.indexOf(l);r&&r<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()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){let e=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[],this._filterList.value&&(this._filterList.value.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter(t=>t.expressions.filter(i=>i.active).length>0).length>0)}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.rowHighlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let r=await this._queryRelatedFeatures(),h=[];r&&r[l]?.features&&(r[l].features.forEach(n=>{n.attributes&&h.push(n.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,r)=>{if(!r.hidden){let h=r?.name||r?.fieldName;h&&l.push(h.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await C(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(r=>r.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(){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let e=this._getSelectedLayer(this.selectedRelatedIds);e&&this.relatedRecordToggled.emit(e);let t=this._getSelectedIds();this.featureSelectionChange.emit(t)}}_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 _zoom(){this._layer&&this.mapView&&await b(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;let i=this.mapView&&await S(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){let i;this.mapInfo?.layerOptions?.layers.some(h=>h.id===e?(i=h,!0):!1);let s=this._layer?.attributeTableTemplate?.elements,a=[];s?.length>0&&this.honorMapFieldSettings&&(a=s.map(h=>h.fieldName));let l=i?.fields&&i?.fieldOrder?i.fieldOrder.filter(h=>i?.fields&&i.fields.indexOf(h)>-1):a.length>0?a:void 0,r;return t&&(r=t.reduce((h,n)=>{let A="fieldName"in n?n.fieldName:n.name,H="label"in n?n.label:n.alias,g="label"in n?n.label:n.name,u={type:"field",fieldName:A,label:H,menuConfig:this._getMenuConfig(g||"")};return i&&i?.fields?i.fields.indexOf(g||"")>-1&&h.push(u):a.length>0?a.indexOf(g)>-1&&h.push(u):h.push(u),h},[])),r?l?r?.sort(this._sortFields.bind(this,l)):r:[]}_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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{b as y,e as g,k as h}from"./SYQ76GDV.js";import{b as s,c as f}from"./OFNMFDPR.js";import{a as i}from"./POZF7VFZ.js";import{b as c}from"./HAIBENUV.js";import{b as m,e as p,f as a,g as d,k as l}from"./UKJQTCNY.js";function M(e,t){return f(y(e),t,4)}function U(e,t){let r=e.filter(o=>!o.startsWith(`${s}|`));return r.push([s,t].join("|")),r}async function b(e,t){if(!e.slug)return[];let o={filter:`typekeywords:"${e.slug.startsWith(`${s}|`)?e.slug:[s,e.slug].join("|")}"`};t.authentication?o.authentication=t.authentication:t.portal&&(o.portal=t.portal),e.exclude&&(o.q=`NOT id:${e.exclude}`);try{return(await l(o)).results}catch(n){throw n}}function w(e,t,r=0){let o=r?[e.slug,r].join("-"):e.slug;return b({slug:o,exclude:e.existingId},t).then(n=>n.length?w(e,t,r+1):o).catch(n=>{throw Error(`Error in getUniqueSlug ${n}`)})}function u(e){return e.params=Object.assign(Object.assign({},e.params),j(e.item)),e}function j(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return p(u(e[0]))}function K(...e){return m(u(e[0]))}var S={location:"location.json"};function z(){let e=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs"],r=Object.keys(S),o=[];return e.forEach(n=>{o.push({entityKey:n,storeKey:`item.${n}`})}),t.forEach(n=>{o.push({entityKey:n,storeKey:`data.${n}`})}),r.forEach(n=>{o.push({entityKey:n,storeKey:`resources.${n}`})}),o.push({entityKey:"slug",storeKey:"item.properties.slug"}),o.push({entityKey:"summary",storeKey:"item.snippet"}),o.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),o.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),o.push({entityKey:"name",storeKey:"item.title"}),o.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),o.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),o.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),o}function J(e,t){return t.createdDate=new Date(e.created),t.createdDateSource="item.created",t.updatedDate=new Date(e.modified),t.updatedDateSource="item.modified",t.location=t.location||g(e),t.isDiscussable=h(e),t}function I(e,t){return Promise.all([a(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function O(e,t){let r=i(e.item);r.data=i(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let o=await x(Object.assign({item:r},t));return I(o.id,t)}function Q(e,t){let r=i(e.item);r.data=i(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),E(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let o=Object.assign({item:r},t);return K(o).then(()=>r.data?I(r.id,t):a(r.id,t).then(n=>({item:n})))}function E(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{M as a,U as b,w as c,z as d,J as e,I as f,O as g,Q as h};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as r}from"./EYCGOAQV.js";import{D as o,I as n,c as t,d as i,q as s}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var a=t`@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
- */}`,e=class extends o{constructor(){super(...arguments),this._translations=r({name:"solution-deploy-panel",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=s}render(){return i`<calcite-dialog></calcite-dialog>`}};n("solution-deploy-panel",e);export{e as SolutionDeployPanel};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as W,c as j}from"./57TFREKC.js";import{b as L,d as G,e as K,k as $,l as P,n as B,o as z,v as H}from"./7VOV57VQ.js";import"./ZUSH4SCO.js";import"./POZF7VFZ.js";import"./UKJQTCNY.js";import{e as v}from"./ETE327MH.js";import"./TQT42IK7.js";import{j as k,k as M,l as n,m as p}from"./ODMUEFOT.js";import{a as V}from"./EYCGOAQV.js";import{C as w,D as q,G as N,I as R,c as x,d as u,e as E,o as D}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";export default $arcgis.t(([])=>{var ie=x`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`;function Y(s,e){let t=[];return s.forEach(r=>{e.has(r.id)&&t.push(r)}),t}function d(s,e,t){if(e<1||s.length<e)return{cards:[],paging:{start:e,num:0,nextStart:-1,total:s.length}};let r=Math.min(e+t,s.length+1),i=r<s.length?r:-1;return{cards:s.slice(e-1,r-1),paging:{start:e,num:r-e,nextStart:i,total:s.length}}}function ae(s,e){let t=ne(s);return oe(t,e)}function oe(s,e){let t=[];return e.forEach(r=>{let i=X(r);i&&s.indexOf(i)>=0&&r.relatedSolutions&&(t=t.concat(r.relatedSolutions))}),new Set(t)}function X(s){let e="solutionid-",t=s.typeKeywords.filter(i=>i.startsWith(e)),r=null;return Array.isArray(t)&&t.length>0&&(r=t[0].substring(e.length)),r}function ne(s){let e=[];return s.forEach(t=>{let r=X(t);r&&e.push(r)}),e=Array.from(new Set(e)),e}function _(s,e,t){let r,i=t==="asc"?1:-1;switch(e){case"created":r=(a,o)=>i*(a.createdMs<o.createdMs?-1:a.createdMs>o.createdMs?1:0);break;case"numviews":r=(a,o)=>i*(a.numViews<o.numViews?-1:a.numViews>o.numViews?1:0);break;case"title":r=(a,o)=>i*(a.title.toLowerCase()<o.title.toLowerCase()?-1:a.title.toLowerCase()>o.title.toLowerCase()?1:0);break;default:r=()=>0;break}return s.sort(r),s}function le(s){return s?H(s,{}).then(e=>Promise.resolve(!!e)):Promise.resolve(!1)}function ce(s){if(s){let e=s.trim();return e?"<div>"+e+"</div>":""}else return""}function Z(s){let e="",t="?";return s.forEach(r=>{r.k&&r.v&&(e+=t+r.k+"="+r.v,t="&")}),e}function he(s,e,t,r){let i="";return e?i=r+"/sharing/rest/content/items/"+s+"/info/"+e+Z([{k:"w",v:"400"}]):i=t,i}function J(s,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(s)}function Q(s,e){let t="";return s.some(r=>r.startsWith(e)?(t=r.substring(e.length),!0):!1),t}var C=class{constructor(e,t,r){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=t,this.portalUrl=r,this.anonAgolSession=new v({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(t=>t.id!==e)}requestAvailableSolutionCards(e,t,r,i,a,o){let g=a?.start?a.start:1,m=a?.num?a.num:24,ee=this.portalUrl+"/sharing/rest",te=this.agolPortalUrl+"/sharing/rest",re=this.anonAgolSession,A=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==A||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:A,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=_(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let l;if(o&&o.size>0){let c=Y(this.cardCache,o);l=d(c,g,m)}else l=d(this.cardCache,g,m);return Promise.resolve(l)}let U={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},f=[];if(t){let l=i||new v({});f.push(P(t,e.q,l,U,ee))}return r&&f.push(P(r,e.q,re,U,te)),Promise.allSettled(f).then(l=>{let c=[];l.forEach((h,se)=>{let I=!!t&&se===0;if(h.status==="fulfilled"){let F=h.value,S="",b=!1;I?S=this.portalUrl:(S=this.agolPortalUrl,b=!0),F.results.forEach(T=>{T.sourcePortalUrl=S,T.knownToBePublicSource=b}),c.push(F)}else if(h.status==="rejected")throw new Error(I?h.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=_(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let y;if(o&&o.size>0){let h=Y(this.cardCache,o);y=d(h,g,m)}else y=d(this.cardCache,g,m);return Promise.resolve(y)}).catch(l=>Promise.reject(new Error(l.message)))}requestDeployedSolutionCards(e,t){let r=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=_(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=d(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let i={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:t,portal:r,categories:e?.categories?JSON.stringify(e.categories):""};return $(i).then(a=>{this.cardCache=this.getCardsFromResponse(a);let o=d(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(t=>JSON.stringify(Array.isArray(t)?t:[t])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?G(e.results).map(t=>{let r={id:t.id,title:t.title,snippet:t.snippet||"",description:t.description||"",url:t.url||"",itemUrl:this.orgUrl+"/home/item.html"+Z([{k:"id",v:t.id}])||"",thumbnailFilename:t.thumbnail,thumbnailUrl:he(t.id,t.thumbnail,this.cMissingImageDataURI,t.sourcePortalUrl?t.sourcePortalUrl:this.portalUrl),tryitUrl:t.url||"",typeKeywords:t.typeKeywords,learnMoreUrl:t.properties?.learnMoreUrl||"",createdMs:t.created,created:J(t.created,this.locale),modified:J(t.modified,this.locale),numViews:t.numViews,tags:t.tags,categories:t.groupCategories&&t.groupCategories.length>0?t.groupCategories:t.categories||[],licenseInfo:ce(t.licenseInfo),deployCommonId:Q(t.typeKeywords||[],"solutionid-"),deployVersion:Q(t.typeKeywords||[],"solutionversion-"),canDelete:t.created>16183314e5,canDeploy:(t.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(t.id,t.properties?.preview,t.sourcePortalUrl?t.sourcePortalUrl:this.portalUrl),sourcePortalUrl:t.sourcePortalUrl||"",knownToBePublicSource:t.knownToBePublicSource||!1,waitId:"",relatedSolutions:K(t,"properties.relatedSolutions")||[]};return r.deployCommonId!==""&&r.deployVersion!==""?r:null}).filter(t=>t!=null):[]}mergeResponses(e){let t=0;e.forEach(i=>t+=i.total);let r=[];return e.forEach(i=>r=r.concat(i.results)),{query:e[0].query,start:1,num:t,nextStart:-1,total:t,results:r}}preparePreviewImageUrls(e,t,r){return t?t.map(i=>(i.format==="image"&&(i.name=r+"/sharing/rest/content/items/"+e+"/resources/"+i.name),i)):[]}};async function de(s,e,t){let r=t;return s&&(s?.IsEnterprisePortal&&await pe("",e)&&r.push(n.NOTEBOOK),await le(e)?t.push(n.VELOCITY):s?.PortalUserPrivileges&&[p.VELOCITYFEEDS,p.VELOCITYBIGDATA,p.VELOCITYREALTIME].forEach(i=>{let a=t.indexOf(i)||-1;a!==-1&&t.splice(a,1)}),r=r.concat(ue(Ce(s),fe(s))),r=r.concat(ge(s)),r=r.concat(await me(s))),Promise.resolve(r)}function ue(s,e){let t=[];return s&&e?t=[n.TRACKINGADMINANDTRACKING,n.TRACKINGADMIN,n.TRACKING]:s&&!e?t=[n.TRACKINGADMIN]:!s&&e&&(t=[n.TRACKING]),t}function ge(s){return ye(s)?[n.HUBPREMIUM]:[]}async function me(s){let e=await z(s?.RestUserSession);return await B(e,s?.RestUserSession)?[n.WORKFLOW]:[]}async function pe(s,e){let t=s+"/sharing/rest",r={authentication:e,portal:t,params:{f:"json"}};return L(`${t}/portals/self/servers`,r).then(i=>i?.servers?.find(a=>a.serverFunction.indexOf("NotebookServer")>-1),i=>(console.error(i),!1))}function Ce(s){let e=s?.PortalUserSubset;return e?.role==="org_admin"&&!e?.hasOwnProperty("roleId")}function fe(s){return s?.PortalSubset?.locationTrackingEnabled||!1}function ye(s){return s?.PortalSubset?.hubPremiumEnabled||!1}var O=class extends q{constructor(){super(...arguments),this.authContextConsumer=w({context:j,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="numviews",this.userSessionContextConsumer=w({context:W,subscribe:!0}),this.cards=[],this._translations=V({name:"solutions-all-panel",blocking:!0}),this._agoTerms="(typekeywords:Solution,Template) OR (typekeywords:Solution,Display Only)",this._allCards=[],this._baseAgoTerms="(typekeywords:Solution,Template)",this._categories=[],this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="numviews",this._sortOrder="desc",this._userPrivileges=[],this.cardsFetched=D()}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_translations:16}}static{this.styles=ie}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this.cards=await this._getSolutions()}async load(){this._cardsFetcher=new C(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new C(this.locale,this.orgUrl,this.portalUrl),this.cards=await this._getSolutions(),await this._getDeployedSolutions(),this._userPrivileges=await this._getUserPrivileges(),console.log(this._userPrivileges)}render(){return u`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>u`<solution-details-card .chip=${e.chip} .description=${e.description} .heading=${e.heading} itemId=${e.itemId??N} .thumbnail=${e.thumbnail}></solution-details-card>`):u`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.agoSolutionsGroupId,"",this.userSessionContextConsumer.value,{num:1e3}),t="/Categories/New Release",r=e?.cards.length?e.cards:[];this.sortType==="new"&&r.sort((a,o)=>a.categories.includes(t)&&!o.categories.includes(t)?-1:!a.categories.includes(t)&&o.categories.includes(t)?1:a.categories.includes(t)&&o.categories.includes(t)?a.categories.length-o.categories.length:0);let i=r.map(a=>({chip:a.categories.indexOf(t)>-1?"updated":"none",description:a.snippet,heading:a.title,itemId:a.id,thumbnail:a.thumbnailUrl}));return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this.cardsFetched.emit(i.length),i}async _getDeployedSolutions(){if(this.authContextConsumer.value?.SignedIn){let e={q:"((typekeywords:Solution,Deployed,'ArcGIS Solution') OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))",filter:"type:Solution",sortField:"created",sortOrder:"desc",delay:!1,categories:[]};e.q+=this.getOrgAndOwnerQueryPart(this.authContextConsumer.value),await this.requestDeployedSolutionCards(e)}}getOrgAndOwnerQueryPart(e){let t="",r=e.PortalUserOrg,i=e.PortalUserName;return r&&(t+=" orgid:"+r),i&&(t+=" owner:"+i),t}requestDeployedSolutionCards(e){return this._cardsFetcherDeployed.requestDeployedSolutionCards(e,this.userSessionContextConsumer.value).then(t=>{this._relatedSolutions=ae(t.cards,this._allCards),console.log(this._relatedSolutions)},t=>{console.error(t.toString())})}async _getUserPrivileges(){let e=[],t=this.authContextConsumer.value,r=this.userSessionContextConsumer.value;return r&&t&&(e=t.PortalUserPrivileges?await de(t,r,t?.PortalUserPrivileges):[]),e}_getSolutionsBriefcase(){return u`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${E`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":(t==="relevance"||t==="title"||t==="numviews")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let r=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${r}`]}else this._categories=[`/Categories/${t}`];this._getSolutions()}}_getDomainValue(e){return M[e]}_getIndustryValue(e){return e==="AEC"?"AEC":k[e]}_clearFilterCategories(){this._categories=[]}};R("solutions-all-panel",O);return O},"intl")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a,b}from"./ON5Q5T5J.js";import"./KFA5XB23.js";import"./TMKXDITO.js";import"./7CKL36AK.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";export{a as EventEditorTypes,b as buildSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as I}from"./GJWFJRKH.js";import"./A62HEPRS.js";import{d as C}from"./OQ2OHE4S.js";import{a as s}from"./ODMUEFOT.js";import"./XLIFIZT4.js";import{a as h,b as r}from"./F5UQ42HE.js";import{a as x}from"./EYCGOAQV.js";import{D as $,E as m,F as v,I as L,c as g,d as l,g as w,o as b,q as y}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var F=g`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-50{position:absolute;inset:50px 0 0}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}}`,_=class extends ${constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.enableSelectionTool=!0,this.featureSelectionMode="multiple",this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=x({name:"crowdsource-manager",blocking:!0}),this._layoutMode=s.GRID,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._deleteIds=[],this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._layerTable=h(),this._shouldSetMapView=!1,this._layerExpressions=[],this._filterList=h(),this._mapCard=h(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=b(),this.showCoverPage=b(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"idsFound",this.idsFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),I(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,enableSelectionTool:5,featureSelectionMode:1,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16,_deleteIds:16}}static{this.styles=F}static{this.shadowRootOptions=y}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.value&&this._layerTable.value.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),await this._mapChange?.mapView.when(async()=>{await this._setMapView()})}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await C(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async idsFound(e){this._layerIds=e.detail.layerIds}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}load(){this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"";return l`<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){let i="";switch(e){case s.HORIZONTAL:i=t?"chevrons-up":"chevrons-down";break;case s.VERTICAL:i=t?"chevrons-left":"chevrons-right";break;case s.GRID:i=t?"chevrons-left":"chevrons-right";break}return i}_getMapSizeClass(e,t,i){let a="";switch(e){case s.HORIZONTAL:a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case s.GRID:a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case s.VERTICAL:a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case s.HORIZONTAL:i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case s.GRID:i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case s.VERTICAL:i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e===s.HORIZONTAL?"":"display-flex",o=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class="floating-container" @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class="floating-container" @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return l`<div class=${`${a} overflow-hidden z-index-1`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode===s.HORIZONTAL&&(!this._isMobile||e)?"":"adjusted-height-50",o=this.defaultWebmap&&this.defaultLayer,n=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,d=["home","legend","search","fullscreen","basemap","floorfilter","selectiontool"],p=["map-picker","map-layer-picker"];return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${o?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSelectionTool=${n} .enableShare=${this.enableShare} enable-single-expand .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this.mapInfos?.filter(c=>c.visible!==!1)} map-widgets-index=0 map-widgets-position=top-left mobile-map-widgets-position=top-right map-widgets-size=m .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .mapToolsOrder=${d} .mobileToolsOrder=${p} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",o=this.mapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",n=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${o} ${n}`} style=${v({"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this.mapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .enableEditGeometry=${this?._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${this._layer} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=this._layer?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .showSketchWidgets=${this._layer?.geometryType!=="point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",o=this.appLayout==="tableView",n=i&&this._isMobile?"visibility-hidden":a?"display-none":"",d=a?"height-full width-full z-index-0":"display-none",p=this._getTableSizeClass(e,t),c=e===s.HORIZONTAL?"horizontal":"vertical",T=e===s.HORIZONTAL?"header":"panel-start",u=this.defaultWebmap&&this.defaultLayer,f=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,S=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(M=>Number.parseInt(M,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${p} border-bottom`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${c} slot=${T??w}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${n}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${u?f:void 0} .defaultLayerId=${u?this.defaultLayer:""} .defaultOid=${u&&!f?S:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${o} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${r(this._layerTable)}></layer-table></div><div class=${m(d)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,o="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action class="toggle-node" .icon=${i} id=${o} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${o}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${m(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0;return l`<calcite-dialog class="filter-content-space" .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>void this._updateFilter()} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[],this._layerExpressions.filter(t=>t.expressions.filter(i=>i.active).length>0).length>0}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this.appLayout="splitView"):(this._layer?.isTable&&(this.appLayout="tableView"),this._isMobile=!1),this._layoutMode=this._isMobile?s.HORIZONTAL:s.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this.mapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};L("crowdsource-manager",_);export{_ as CrowdsourceManager};
@@ -1 +0,0 @@
1
- {"appId":"ABCDEFGHIJKLMNOP","portalURL":"https://www.arcgis.com","primarySolutionsGroupId":"966b251241bb4e3bb9ee3f2b92921aa5","agoBasedEnterpriseSolutionsGroupId":"1d3a7ed66deb47269beea05ff9afd4c1","consoleMessageLevel":1,"cookiesFirstUseVar":"solutions-deployment-first-use","isRTL":false,"locale":"","forceTrackingEnv":"dev","trackingEnabled":true,"telemetry":{"name":"solution-deployment-app","version":"1.0","dev":{"amazon":{"userPoolID":"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef","app":{"id":"7e2fd97553644e5f99b1129fbcee3c2e"}}},"qa":{"amazon":{"userPoolID":"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef","app":{"id":"a3beba911bd14847ada5c9ffed2a2111"}}},"prod":{"amazon":{"userPoolID":"us-east-1:8c41b2dc-7563-403d-ba64-673b103debce","app":{"id":"35a920e0e7f84680be076e57dd5cb728"}}}}}