@esri/solutions-components 1.0.0-next.20250618 → 1.0.0-next.20250623

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 (734) hide show
  1. package/dist/cdn/{IRYLEP5E.js → 22P43VO7.js} +2 -2
  2. package/dist/cdn/{ZJJOMQAI.js → 24UWX6TP.js} +2 -2
  3. package/dist/cdn/{SHWVKFYE.js → 2P7REDDK.js} +2 -2
  4. package/dist/cdn/{BXQJDMPG.js → 2QBIXWDP.js} +2 -2
  5. package/dist/cdn/{PEJJRGU6.js → 2U567VGU.js} +2 -2
  6. package/dist/cdn/{I42ZIETY.js → 3BBXMHOQ.js} +2 -2
  7. package/dist/cdn/{LNKNTWPS.js → 3BLJFQNC.js} +2 -2
  8. package/dist/cdn/{RYDUEVW4.js → 3EDJOQER.js} +2 -2
  9. package/dist/cdn/{C63JBRL7.js → 3GCOFEWA.js} +2 -2
  10. package/dist/cdn/{ML4HH2XO.js → 3RCSEW37.js} +2 -2
  11. package/dist/cdn/3TNIRE5C.js +18 -0
  12. package/dist/cdn/{A4TDLONO.js → 3TPRN77W.js} +2 -2
  13. package/dist/cdn/{BOSCZ675.js → 3UXKAF2H.js} +2 -2
  14. package/dist/cdn/{SJT6JTUS.js → 3ZK2KRQW.js} +2 -2
  15. package/dist/cdn/{ZSXYETQI.js → 42ZHF2HE.js} +2 -2
  16. package/dist/cdn/{STLC6O54.js → 44KDHP5P.js} +2 -2
  17. package/dist/cdn/{RTUHEWZ2.js → 47ULGPYB.js} +2 -2
  18. package/dist/cdn/{ZQQTCO2U.js → 4BY4CJM7.js} +2 -2
  19. package/dist/cdn/{I3FMSIRV.js → 4F7ELK6O.js} +2 -2
  20. package/dist/cdn/{WGZW544H.js → 4NX2JZZ6.js} +2 -2
  21. package/dist/cdn/{ULFGT4R7.js → 4YWQ7U43.js} +2 -2
  22. package/dist/cdn/{INYQWKVM.js → 557QFLCB.js} +2 -2
  23. package/dist/cdn/{GGASZ5GX.js → 5A3QS7CA.js} +2 -2
  24. package/dist/cdn/{5CJ5UXZE.js → 5COPPB4N.js} +2 -2
  25. package/dist/cdn/{EQREWO2C.js → 5OMSDGWG.js} +2 -2
  26. package/dist/cdn/{2XEZFUUZ.js → 667TZ6GF.js} +2 -2
  27. package/dist/cdn/{DRFV4N6J.js → 67625TTO.js} +1 -1
  28. package/dist/cdn/{JZSLUW6H.js → 6BMDZLSL.js} +1 -1
  29. package/dist/cdn/6FIWOMM6.js +4 -0
  30. package/dist/cdn/{BAPCWA5D.js → 6I6V4XPD.js} +1 -1
  31. package/dist/cdn/{TQZKMCLT.js → 6PPIHU64.js} +2 -2
  32. package/dist/cdn/{W4RLT3O3.js → 6YCECILW.js} +2 -2
  33. package/dist/cdn/{GXE3T5ME.js → 72DQ3ETR.js} +2 -2
  34. package/dist/cdn/{HCQWDC5Y.js → 7B2AZ7R2.js} +2 -2
  35. package/dist/cdn/{3K2M3ZJ7.js → 7CV6YJ4X.js} +2 -2
  36. package/dist/cdn/{DEMETEO5.js → 7FLZ75CE.js} +2 -2
  37. package/dist/cdn/{JLQQYQLO.js → 7FW2E443.js} +1 -1
  38. package/dist/cdn/{5S6RNUPL.js → 7HB3CYHC.js} +1 -1
  39. package/dist/cdn/{BFY7IDVP.js → 7HNOOAJF.js} +2 -2
  40. package/dist/cdn/{GKUP7YBW.js → 7MNDBX3N.js} +2 -2
  41. package/dist/cdn/{GH4AB7FC.js → 7S2SQULN.js} +2 -2
  42. package/dist/cdn/{5XE5QQBN.js → 7SP3JV67.js} +1 -1
  43. package/dist/cdn/{WMXABBDN.js → 7YPMNAQW.js} +1 -1
  44. package/dist/cdn/{HR52TSAG.js → A4UEGUOI.js} +2 -2
  45. package/dist/cdn/{GUAZDGXF.js → A6E5LNUS.js} +2 -2
  46. package/dist/cdn/{EAXBLKRL.js → A7ODGNJ5.js} +2 -2
  47. package/dist/cdn/{WLFEE6M6.js → ABFFIPZI.js} +2 -2
  48. package/dist/cdn/{4SH5J6QB.js → AGNYO5NN.js} +2 -2
  49. package/dist/cdn/{B455LJUS.js → AXEPEBX2.js} +2 -2
  50. package/dist/cdn/{RNCHLAHC.js → AZT34SS5.js} +1 -1
  51. package/dist/cdn/{SLMYC2BZ.js → B23CHB5L.js} +2 -2
  52. package/dist/cdn/{UDYGXKHM.js → B3BHXIAJ.js} +2 -2
  53. package/dist/cdn/{3IVUXC6K.js → BELTJBBP.js} +2 -2
  54. package/dist/cdn/{JJUGJ2NQ.js → BFHZHYV7.js} +2 -2
  55. package/dist/cdn/{MIGXPLDO.js → BL3LAHSH.js} +2 -2
  56. package/dist/cdn/{ONVDNXC7.js → BPLCFWCS.js} +1 -1
  57. package/dist/cdn/{EI7IFIR5.js → BQ5YXWHO.js} +2 -2
  58. package/dist/cdn/{QMUCWJBP.js → BUZTO5KI.js} +2 -2
  59. package/dist/cdn/{NL35B74B.js → BVIK4NG7.js} +2 -2
  60. package/dist/cdn/{ODI4ESEW.js → BWFAFVTV.js} +1 -1
  61. package/dist/cdn/{7GMUS2LS.js → C2CSN6FZ.js} +1 -1
  62. package/dist/cdn/{NEDXNA46.js → C4JHUMJZ.js} +2 -2
  63. package/dist/cdn/{ND56OQM6.js → C6SEQOGV.js} +2 -2
  64. package/dist/cdn/{H7KRIZYY.js → CCG6HDX3.js} +2 -2
  65. package/dist/cdn/{DIBSSNLF.js → CDLBGK6Z.js} +2 -2
  66. package/dist/cdn/{GPWOBF4O.js → CEI5GTHA.js} +2 -2
  67. package/dist/cdn/CFTPKEEX.js +89 -0
  68. package/dist/cdn/{PTQDMYK2.js → CJVN2TJS.js} +1 -1
  69. package/dist/cdn/{VED422NC.js → CK7OLQUJ.js} +2 -2
  70. package/dist/cdn/{374THQEK.js → CLY2LQJ7.js} +2 -2
  71. package/dist/cdn/{DNTD5DIN.js → CT2DS5C5.js} +2 -2
  72. package/dist/cdn/{UTVZOV34.js → CVZ4YBRE.js} +2 -2
  73. package/dist/cdn/{4JOV276H.js → CXGZKBC3.js} +2 -2
  74. package/dist/cdn/{6XWKSRVY.js → CYR3T5WK.js} +2 -2
  75. package/dist/cdn/{AFZHAYZU.js → D5ZMKHVZ.js} +4 -4
  76. package/dist/cdn/{ISHMKYCT.js → DB6GDFU3.js} +2 -2
  77. package/dist/cdn/{3NFWFQKJ.js → DKLZGDVT.js} +2 -2
  78. package/dist/cdn/{SVHKJM4Z.js → DKVEQBWX.js} +2 -2
  79. package/dist/cdn/{ACNKDAEK.js → DOFM5HD6.js} +2 -2
  80. package/dist/cdn/{DQFV5W24.js → E35CJ7XJ.js} +2 -2
  81. package/dist/cdn/{ZLGDVCWF.js → E42BT2UT.js} +2 -2
  82. package/dist/cdn/{PZXL5JWK.js → E4LK2YXE.js} +2 -2
  83. package/dist/cdn/{DGX3VNBF.js → E7TRIWDT.js} +2 -2
  84. package/dist/cdn/{44HGIWYU.js → EA5T3ZAJ.js} +2 -2
  85. package/dist/cdn/{H3LTFVD3.js → EGTACDCQ.js} +2 -2
  86. package/dist/cdn/{ZRX5NPWE.js → EILX6MQW.js} +2 -2
  87. package/dist/cdn/{C3NFGCVR.js → EIY6FLRW.js} +2 -2
  88. package/dist/cdn/{KWW7BGHU.js → EME2LY4O.js} +2 -2
  89. package/dist/cdn/{RAWSWD7G.js → EUVI36TI.js} +1 -1
  90. package/dist/cdn/{SQW3C6SV.js → EZZLMB4X.js} +2 -2
  91. package/dist/cdn/{CNUSPWTX.js → F3W4JSQE.js} +2 -2
  92. package/dist/cdn/{AM6U5KXG.js → F75K7J4Q.js} +2 -2
  93. package/dist/cdn/{6YBZSHGK.js → F7ZC7T4X.js} +2 -2
  94. package/dist/cdn/{BRZVBJCV.js → FEUPLOPU.js} +2 -2
  95. package/dist/cdn/{MCNJCP36.js → FFQJU2V5.js} +1 -1
  96. package/dist/cdn/{4VAXISBH.js → FHBRZBBQ.js} +2 -2
  97. package/dist/cdn/{YPJNVXLV.js → FL5HOIO2.js} +2 -2
  98. package/dist/cdn/{UPNQ6TPG.js → FRMAQPZS.js} +2 -2
  99. package/dist/cdn/{LES5OEWI.js → FRZJWFO2.js} +2 -2
  100. package/dist/cdn/{55D7LERM.js → FYMYLZKQ.js} +2 -2
  101. package/dist/cdn/{BYLNGYZM.js → G2CRI3HI.js} +2 -2
  102. package/dist/cdn/{F5A3JXRF.js → G7KQYN3M.js} +2 -2
  103. package/dist/cdn/{YN2RPACQ.js → GA4DUE6T.js} +2 -2
  104. package/dist/cdn/{BUOXTJUP.js → GAQV7YGC.js} +2 -2
  105. package/dist/cdn/{V23K3N7V.js → GBODKP3A.js} +2 -2
  106. package/dist/cdn/{PWYGDLAO.js → GCWS62KV.js} +2 -2
  107. package/dist/cdn/{U6BMGUYM.js → GECB7XB3.js} +2 -2
  108. package/dist/cdn/{W6NQLDGV.js → GH2UPKCI.js} +2 -2
  109. package/dist/cdn/{3VJ4OJBR.js → GHGKK3CH.js} +1 -1
  110. package/dist/cdn/{4K5SMLME.js → GHUCQMWM.js} +2 -2
  111. package/dist/cdn/GQBAHH2L.js +4 -0
  112. package/dist/cdn/{2FGKASUU.js → GUYA7OSD.js} +2 -2
  113. package/dist/cdn/{SUG4ZWOX.js → HC5KL6M5.js} +2 -2
  114. package/dist/cdn/{44R4RRIN.js → HJJ7QGPS.js} +2 -2
  115. package/dist/cdn/{JVSLJLHC.js → HN7AVN23.js} +2 -2
  116. package/dist/cdn/{2MR4I2BY.js → HP4W4KDJ.js} +2 -2
  117. package/dist/cdn/{2TVUME4P.js → HRKK2RN7.js} +2 -2
  118. package/dist/cdn/{5FQ3LHYT.js → HY7WBH4Y.js} +2 -2
  119. package/dist/cdn/{74YGVXNR.js → I5KCXSTA.js} +2 -2
  120. package/dist/cdn/{L7ILT6B2.js → IIAJ3FXH.js} +2 -2
  121. package/dist/cdn/{ZYS5MFJN.js → IIFZUXCW.js} +2 -2
  122. package/dist/cdn/INCUZCR2.js +4 -0
  123. package/dist/cdn/{JQ3EXPCH.js → IONDFFQ2.js} +2 -2
  124. package/dist/cdn/{ENXXOCBV.js → IP6B2WDL.js} +2 -2
  125. package/dist/cdn/{3UJWF2O4.js → J2JICNEQ.js} +2 -2
  126. package/dist/cdn/{BCBHVM7D.js → JF2H7IOR.js} +1 -1
  127. package/dist/cdn/{GJ7VFIAL.js → JGF5QRPV.js} +2 -2
  128. package/dist/cdn/{6V6EVZXQ.js → JQONQSK4.js} +2 -2
  129. package/dist/cdn/{AUFISDUF.js → K3GQOW75.js} +2 -2
  130. package/dist/cdn/{TBF3A2JM.js → KAVJHZA3.js} +2 -2
  131. package/dist/cdn/{T4G7UDTD.js → KHGWKXTO.js} +2 -2
  132. package/dist/cdn/{OXLLAXGS.js → KTWVZXWG.js} +2 -2
  133. package/dist/cdn/KWUXJZ4U.js +18 -0
  134. package/dist/cdn/{DWJVRI4L.js → L33QRYZS.js} +2 -2
  135. package/dist/cdn/L3SQYQFL.js +4 -0
  136. package/dist/cdn/{NBZYGS2Y.js → L5J5RMW3.js} +2 -2
  137. package/dist/cdn/{5NR4JSYD.js → LB6HR25Y.js} +1 -1
  138. package/dist/cdn/{7XTAIDC7.js → LIPG5L6R.js} +2 -2
  139. package/dist/cdn/{DKDDSSZO.js → LN76EWLU.js} +1 -1
  140. package/dist/cdn/{SOSQZMAV.js → LNDLJOIE.js} +2 -2
  141. package/dist/cdn/{ND5MBWWM.js → LOI6YJAA.js} +2 -2
  142. package/dist/cdn/{3TMTXONC.js → LRJRAHXF.js} +2 -2
  143. package/dist/cdn/{I7DZRYJ4.js → LWB4R2IK.js} +2 -2
  144. package/dist/cdn/{6EDK7AMA.js → LXLKGGXS.js} +2 -2
  145. package/dist/cdn/{RFO7GXOU.js → M2GNMXHV.js} +1 -1
  146. package/dist/cdn/{NOEB4RRW.js → M3H6G26K.js} +3 -3
  147. package/dist/cdn/{OEPIVYUB.js → M6DEGK3A.js} +2 -2
  148. package/dist/cdn/{SEDBVNWJ.js → M7AHR77N.js} +2 -2
  149. package/dist/cdn/{ZXOCAHX5.js → MAA4IBX4.js} +2 -2
  150. package/dist/cdn/{GQZJXEOJ.js → MBTMEXGV.js} +2 -2
  151. package/dist/cdn/MDQL7YHS.js +4 -0
  152. package/dist/cdn/{I223WFEJ.js → MHLISDNL.js} +2 -2
  153. package/dist/cdn/{UPKWDR5L.js → MIJF4IAK.js} +2 -2
  154. package/dist/cdn/{FWHLFA72.js → MLUOU7R6.js} +2 -2
  155. package/dist/cdn/{IWMOD5XS.js → MOXPIXHY.js} +1 -1
  156. package/dist/cdn/{HDN3HX4F.js → MSYQ3DTT.js} +4 -4
  157. package/dist/cdn/{NKC3NX4V.js → MTXAIDLY.js} +2 -2
  158. package/dist/cdn/{WTKAMWU5.js → MVS6LSDW.js} +2 -2
  159. package/dist/cdn/{HE52H5T7.js → MY7QR23T.js} +2 -2
  160. package/dist/cdn/{HS44A7DV.js → N4UOPV7Y.js} +2 -2
  161. package/dist/cdn/{PXVQ4MS7.js → N5SRAD2M.js} +1 -1
  162. package/dist/cdn/{WAEKIWCS.js → N6445PSV.js} +2 -2
  163. package/dist/cdn/{NLQHFP2V.js → NHHMUN4R.js} +2 -2
  164. package/dist/cdn/{WHS25D4U.js → NLPMANRC.js} +2 -2
  165. package/dist/cdn/{7WZU2DWQ.js → NOC7BIF2.js} +2 -2
  166. package/dist/cdn/{25FHC6WS.js → NQU46G4H.js} +2 -2
  167. package/dist/cdn/{EQ6HIJ73.js → NTN55JWJ.js} +1 -1
  168. package/dist/cdn/{O4P2M4CZ.js → NVGAKN3D.js} +2 -2
  169. package/dist/cdn/{33FARYS4.js → NXGL56Q4.js} +2 -2
  170. package/dist/cdn/{TNT7W35H.js → O74B4HIC.js} +2 -2
  171. package/dist/cdn/{F2YS2KUB.js → O7T5U6KF.js} +2 -2
  172. package/dist/cdn/{2VYLMG7R.js → OAOS4ZIR.js} +2 -2
  173. package/dist/cdn/{AIU4AH74.js → OFOOFDLM.js} +2 -2
  174. package/dist/cdn/{KM37RWWT.js → OLNPSFNP.js} +1 -1
  175. package/dist/cdn/{EQAAMDKN.js → OOBVWWU5.js} +2 -2
  176. package/dist/cdn/{KPRXODCN.js → OTP76AFM.js} +1 -1
  177. package/dist/cdn/{OTWYBSQC.js → OUC7Y2MM.js} +2 -2
  178. package/dist/cdn/{SCAFPUFM.js → OXISLKJ3.js} +2 -2
  179. package/dist/cdn/OYQBVE3D.js +18 -0
  180. package/dist/cdn/{KNYCOY2Y.js → OZVXS3W4.js} +2 -2
  181. package/dist/cdn/{XZJE3HMV.js → P25FGB5B.js} +1 -1
  182. package/dist/cdn/{MEXVBPZO.js → PBTBD6VR.js} +2 -2
  183. package/dist/cdn/{6FURXZTX.js → PE5HS46T.js} +2 -2
  184. package/dist/cdn/{M3AWJV2X.js → PGCRMSZW.js} +2 -2
  185. package/dist/cdn/{4N5SFTZS.js → PJHSDBJI.js} +1 -1
  186. package/dist/cdn/{FXD5UJQZ.js → PPO7R7XD.js} +2 -2
  187. package/dist/cdn/{TWFPTVX7.js → PQQOH6C6.js} +2 -2
  188. package/dist/cdn/{W3NB425M.js → PUI3WTP2.js} +2 -2
  189. package/dist/cdn/{EU2AABK5.js → Q57AGAVB.js} +2 -2
  190. package/dist/cdn/{YZSSPKU4.js → QBO4BYBV.js} +2 -2
  191. package/dist/cdn/{FBYRFPWQ.js → QBSZATXE.js} +1 -1
  192. package/dist/cdn/{24QKZMCL.js → QCGK7DPH.js} +2 -2
  193. package/dist/cdn/{TAMNRSJC.js → QCIMV4RH.js} +1 -1
  194. package/dist/cdn/{REYE7QSP.js → QERY67GU.js} +2 -2
  195. package/dist/cdn/{TZ6WSXOI.js → QFMY752G.js} +2 -2
  196. package/dist/cdn/{JSZS4YMI.js → QMD4QM54.js} +2 -2
  197. package/dist/cdn/{5NPT5B76.js → QPGYCAHU.js} +2 -2
  198. package/dist/cdn/{F4OUREFO.js → QPGZHVHD.js} +2 -2
  199. package/dist/cdn/{BNFPGA7K.js → QQ5OOCCM.js} +2 -2
  200. package/dist/cdn/{L3GNYUZS.js → QS3LWY6A.js} +2 -2
  201. package/dist/cdn/{VGHIMU7N.js → QUKDKDTB.js} +2 -2
  202. package/dist/cdn/{BMAKHKN7.js → QUN2EFBL.js} +2 -2
  203. package/dist/cdn/{FMKTLZLW.js → QUX4IIVB.js} +2 -2
  204. package/dist/cdn/{TTJCLLYP.js → QW57LRAI.js} +2 -2
  205. package/dist/cdn/{6EXPZYAN.js → R3FACCWV.js} +2 -2
  206. package/dist/cdn/{D4VNGPET.js → R7RMLDFT.js} +2 -2
  207. package/dist/cdn/{2WLDVDNI.js → RFCPNJLD.js} +2 -2
  208. package/dist/cdn/{H5NYMCNF.js → RK7SEZWK.js} +1 -1
  209. package/dist/cdn/{V44QI423.js → RSKDVNF2.js} +2 -2
  210. package/dist/cdn/{5JQOX6HV.js → RSLSNASB.js} +2 -2
  211. package/dist/cdn/{D4Z5SEOU.js → RZLCYYF7.js} +2 -2
  212. package/dist/cdn/{2PNCS4ES.js → SHDFP62J.js} +2 -2
  213. package/dist/cdn/SMD6DHSZ.js +4 -0
  214. package/dist/cdn/{7XTA2OC4.js → SNIWPT26.js} +2 -2
  215. package/dist/cdn/{YXJHWCOM.js → SPHX5TD7.js} +2 -2
  216. package/dist/cdn/{RKVT7IG3.js → SQ5ORY7B.js} +1 -1
  217. package/dist/cdn/{FI7JBBNV.js → SQOYIC3S.js} +2 -2
  218. package/dist/cdn/{C2U5I6SG.js → STEAYSG2.js} +2 -2
  219. package/dist/cdn/SW6MRYZK.js +18 -0
  220. package/dist/cdn/{6SAVY66F.js → T3BNNVGE.js} +1 -1
  221. package/dist/cdn/{PLXLQ3CQ.js → T6PBNCP5.js} +2 -2
  222. package/dist/cdn/{JHMQASWG.js → T6QTFXMX.js} +2 -2
  223. package/dist/cdn/{CHG7NEXI.js → TBXBQGOD.js} +2 -2
  224. package/dist/cdn/{4PQZIN5W.js → TEXE6RKM.js} +2 -2
  225. package/dist/cdn/{NZZDCUMO.js → TIYVVUTR.js} +2 -2
  226. package/dist/cdn/{XXZWFBWQ.js → TKLKJ4FU.js} +2 -2
  227. package/dist/cdn/{D2UQQP3J.js → U2DAHKOK.js} +1 -1
  228. package/dist/cdn/{LOXXCK32.js → U6YNCU7Q.js} +2 -2
  229. package/dist/cdn/{UQSOC5MG.js → UER5MEYT.js} +2 -2
  230. package/dist/cdn/{CXFSUXVU.js → UGHVL53A.js} +1 -1
  231. package/dist/cdn/{ORUFW7OP.js → ULVHPBXX.js} +2 -2
  232. package/dist/cdn/{N4N2PUAH.js → UNT5CJRN.js} +2 -2
  233. package/dist/cdn/{ABBIOVTY.js → US3XFPGX.js} +2 -2
  234. package/dist/cdn/{UBJU2THW.js → USL4QTWT.js} +2 -2
  235. package/dist/cdn/{J646NFBU.js → UTCEQY33.js} +2 -2
  236. package/dist/cdn/{YY6IVALJ.js → UTN75OQB.js} +2 -2
  237. package/dist/cdn/UV4YR6X6.js +4 -0
  238. package/dist/cdn/{Y43ESBMM.js → UVD5E6HI.js} +2 -2
  239. package/dist/cdn/{V4RAUR7Y.js → UZOKFYTW.js} +2 -2
  240. package/dist/cdn/{SOI2KF4J.js → V55YIAKZ.js} +1 -1
  241. package/dist/cdn/{7PM3GU7K.js → VGFEXHW7.js} +2 -2
  242. package/dist/cdn/VJO7RQBS.js +4 -0
  243. package/dist/cdn/{PHNTRSWP.js → VKMEAGVS.js} +2 -2
  244. package/dist/cdn/{CWJEUFSX.js → VLXKSJY5.js} +2 -2
  245. package/dist/cdn/{VHUYPEZN.js → VNAPQVLM.js} +2 -2
  246. package/dist/cdn/{MIIAMCI3.js → VOIAQN2E.js} +2 -2
  247. package/dist/cdn/{YCPBEFQ6.js → VPEO2Q4J.js} +1 -1
  248. package/dist/cdn/{ZD3B5CQI.js → VQMSN52L.js} +2 -2
  249. package/dist/cdn/{FNC6JCNV.js → VS53IXEC.js} +2 -2
  250. package/dist/cdn/{ZKWRIM7W.js → VSXMAOPI.js} +2 -2
  251. package/dist/cdn/VVBMRLMX.js +4 -0
  252. package/dist/cdn/{Z2JYQSV7.js → VYUXJLFU.js} +1 -1
  253. package/dist/cdn/{Q4XPLYRK.js → W3M4XLN4.js} +2 -2
  254. package/dist/cdn/{QDCFIPUZ.js → W46YS22D.js} +2 -2
  255. package/dist/cdn/{VTIGVKIS.js → W5AS4BP3.js} +2 -2
  256. package/dist/cdn/{N2LVCOS2.js → WFC6QJH2.js} +2 -2
  257. package/dist/cdn/{BX7KWN5V.js → WHR74CMQ.js} +2 -2
  258. package/dist/cdn/{52DERCIP.js → WHVORWJN.js} +2 -2
  259. package/dist/cdn/{FCGCC64A.js → WJJEMN37.js} +1 -1
  260. package/dist/cdn/{RC3Q3RXK.js → WKDIYJHS.js} +1 -1
  261. package/dist/cdn/{Y6PI7UZQ.js → WP6TBFL4.js} +1 -1
  262. package/dist/cdn/{YGV3NAYM.js → WPPZ22VY.js} +2 -2
  263. package/dist/cdn/{4EDJBRS2.js → WTGKQEWC.js} +1 -1
  264. package/dist/cdn/{GK64B4Y5.js → X3ACNAG7.js} +1 -1
  265. package/dist/cdn/{C6KHQNY4.js → X75UTGDT.js} +2 -2
  266. package/dist/cdn/{CA46MKTG.js → XBIIOOSU.js} +2 -2
  267. package/dist/cdn/{CPPGUGUJ.js → XBPN363J.js} +2 -2
  268. package/dist/cdn/{ZGCTEB2Y.js → XHHI3YJD.js} +2 -2
  269. package/dist/cdn/{VU7QI6OD.js → XHMBWMDB.js} +2 -2
  270. package/dist/cdn/{L7UWX4OU.js → XJYYAXC5.js} +1 -1
  271. package/dist/cdn/{IOQRMBVE.js → XRXVJGDZ.js} +2 -2
  272. package/dist/cdn/{LE3S7LTK.js → Y3U7BM2C.js} +2 -2
  273. package/dist/cdn/{LOKBQU54.js → YEJ2LXND.js} +2 -2
  274. package/dist/cdn/{VSIFE3SH.js → YEZQBSDN.js} +2 -2
  275. package/dist/cdn/{PEHYETIA.js → YRAUHXAH.js} +2 -2
  276. package/dist/cdn/{EWJGPFTB.js → ZDNSSFT7.js} +2 -2
  277. package/dist/cdn/{C6VO4ZTH.js → ZEI7MQ2T.js} +1 -1
  278. package/dist/cdn/{2244Y2MO.js → ZFWKV2U2.js} +2 -2
  279. package/dist/cdn/{LKVPVDSP.js → ZLLHG64J.js} +2 -2
  280. package/dist/cdn/{WFISTQRC.js → ZLX6GEY5.js} +2 -2
  281. package/dist/cdn/{VZ726QB2.js → ZQKD6CGQ.js} +2 -2
  282. package/dist/cdn/{5FC4XKJM.js → ZRTQB2FT.js} +2 -2
  283. package/dist/cdn/{WUT2ZZ3H.js → ZYAIM3E6.js} +2 -2
  284. package/dist/cdn/{RLKPDTX4.js → ZYEKV2AH.js} +1 -1
  285. package/dist/cdn/assets/consent-manager/t9n/messages.ar.json +1 -1
  286. package/dist/cdn/assets/feature-list/t9n/messages.ar.json +1 -1
  287. package/dist/cdn/assets/feature-list/t9n/messages.bg.json +1 -1
  288. package/dist/cdn/assets/feature-list/t9n/messages.bs.json +1 -1
  289. package/dist/cdn/assets/feature-list/t9n/messages.ca.json +1 -1
  290. package/dist/cdn/assets/feature-list/t9n/messages.cs.json +1 -1
  291. package/dist/cdn/assets/feature-list/t9n/messages.da.json +1 -1
  292. package/dist/cdn/assets/feature-list/t9n/messages.de.json +1 -1
  293. package/dist/cdn/assets/feature-list/t9n/messages.el.json +1 -1
  294. package/dist/cdn/assets/feature-list/t9n/messages.es.json +1 -1
  295. package/dist/cdn/assets/feature-list/t9n/messages.et.json +1 -1
  296. package/dist/cdn/assets/feature-list/t9n/messages.fi.json +1 -1
  297. package/dist/cdn/assets/feature-list/t9n/messages.fr.json +1 -1
  298. package/dist/cdn/assets/feature-list/t9n/messages.he.json +1 -1
  299. package/dist/cdn/assets/feature-list/t9n/messages.hr.json +1 -1
  300. package/dist/cdn/assets/feature-list/t9n/messages.hu.json +1 -1
  301. package/dist/cdn/assets/feature-list/t9n/messages.id.json +1 -1
  302. package/dist/cdn/assets/feature-list/t9n/messages.it.json +1 -1
  303. package/dist/cdn/assets/feature-list/t9n/messages.ja.json +1 -1
  304. package/dist/cdn/assets/feature-list/t9n/messages.ko.json +1 -1
  305. package/dist/cdn/assets/feature-list/t9n/messages.lt.json +1 -1
  306. package/dist/cdn/assets/feature-list/t9n/messages.lv.json +1 -1
  307. package/dist/cdn/assets/feature-list/t9n/messages.nl.json +1 -1
  308. package/dist/cdn/assets/feature-list/t9n/messages.no.json +1 -1
  309. package/dist/cdn/assets/feature-list/t9n/messages.pl.json +1 -1
  310. package/dist/cdn/assets/feature-list/t9n/messages.pt-BR.json +1 -1
  311. package/dist/cdn/assets/feature-list/t9n/messages.pt-PT.json +1 -1
  312. package/dist/cdn/assets/feature-list/t9n/messages.ro.json +1 -1
  313. package/dist/cdn/assets/feature-list/t9n/messages.ru.json +1 -1
  314. package/dist/cdn/assets/feature-list/t9n/messages.sk.json +1 -1
  315. package/dist/cdn/assets/feature-list/t9n/messages.sl.json +1 -1
  316. package/dist/cdn/assets/feature-list/t9n/messages.sr.json +1 -1
  317. package/dist/cdn/assets/feature-list/t9n/messages.sv.json +1 -1
  318. package/dist/cdn/assets/feature-list/t9n/messages.th.json +1 -1
  319. package/dist/cdn/assets/feature-list/t9n/messages.tr.json +1 -1
  320. package/dist/cdn/assets/feature-list/t9n/messages.uk.json +1 -1
  321. package/dist/cdn/assets/feature-list/t9n/messages.vi.json +1 -1
  322. package/dist/cdn/assets/feature-list/t9n/messages.zh-CN.json +1 -1
  323. package/dist/cdn/assets/feature-list/t9n/messages.zh-HK.json +1 -1
  324. package/dist/cdn/assets/feature-list/t9n/messages.zh-TW.json +1 -1
  325. package/dist/cdn/assets/layer-list/t9n/messages.ar.json +1 -1
  326. package/dist/cdn/assets/layer-list/t9n/messages.bg.json +1 -1
  327. package/dist/cdn/assets/layer-list/t9n/messages.bs.json +1 -1
  328. package/dist/cdn/assets/layer-list/t9n/messages.ca.json +1 -1
  329. package/dist/cdn/assets/layer-list/t9n/messages.cs.json +1 -1
  330. package/dist/cdn/assets/layer-list/t9n/messages.da.json +1 -1
  331. package/dist/cdn/assets/layer-list/t9n/messages.de.json +1 -1
  332. package/dist/cdn/assets/layer-list/t9n/messages.el.json +1 -1
  333. package/dist/cdn/assets/layer-list/t9n/messages.es.json +1 -1
  334. package/dist/cdn/assets/layer-list/t9n/messages.et.json +1 -1
  335. package/dist/cdn/assets/layer-list/t9n/messages.fi.json +1 -1
  336. package/dist/cdn/assets/layer-list/t9n/messages.fr.json +1 -1
  337. package/dist/cdn/assets/layer-list/t9n/messages.he.json +1 -1
  338. package/dist/cdn/assets/layer-list/t9n/messages.hr.json +1 -1
  339. package/dist/cdn/assets/layer-list/t9n/messages.hu.json +1 -1
  340. package/dist/cdn/assets/layer-list/t9n/messages.id.json +1 -1
  341. package/dist/cdn/assets/layer-list/t9n/messages.it.json +1 -1
  342. package/dist/cdn/assets/layer-list/t9n/messages.ja.json +1 -1
  343. package/dist/cdn/assets/layer-list/t9n/messages.ko.json +1 -1
  344. package/dist/cdn/assets/layer-list/t9n/messages.lt.json +1 -1
  345. package/dist/cdn/assets/layer-list/t9n/messages.lv.json +1 -1
  346. package/dist/cdn/assets/layer-list/t9n/messages.nl.json +1 -1
  347. package/dist/cdn/assets/layer-list/t9n/messages.no.json +1 -1
  348. package/dist/cdn/assets/layer-list/t9n/messages.pl.json +1 -1
  349. package/dist/cdn/assets/layer-list/t9n/messages.pt-BR.json +1 -1
  350. package/dist/cdn/assets/layer-list/t9n/messages.pt-PT.json +1 -1
  351. package/dist/cdn/assets/layer-list/t9n/messages.ro.json +1 -1
  352. package/dist/cdn/assets/layer-list/t9n/messages.ru.json +1 -1
  353. package/dist/cdn/assets/layer-list/t9n/messages.sk.json +1 -1
  354. package/dist/cdn/assets/layer-list/t9n/messages.sl.json +1 -1
  355. package/dist/cdn/assets/layer-list/t9n/messages.sr.json +1 -1
  356. package/dist/cdn/assets/layer-list/t9n/messages.sv.json +1 -1
  357. package/dist/cdn/assets/layer-list/t9n/messages.th.json +1 -1
  358. package/dist/cdn/assets/layer-list/t9n/messages.tr.json +1 -1
  359. package/dist/cdn/assets/layer-list/t9n/messages.uk.json +1 -1
  360. package/dist/cdn/assets/layer-list/t9n/messages.vi.json +1 -1
  361. package/dist/cdn/assets/layer-list/t9n/messages.zh-CN.json +1 -1
  362. package/dist/cdn/assets/layer-list/t9n/messages.zh-HK.json +1 -1
  363. package/dist/cdn/assets/layer-list/t9n/messages.zh-TW.json +1 -1
  364. package/dist/cdn/assets/layer-table/t9n/messages.ar.json +1 -1
  365. package/dist/cdn/assets/layer-table/t9n/messages.bg.json +1 -1
  366. package/dist/cdn/assets/layer-table/t9n/messages.bs.json +1 -1
  367. package/dist/cdn/assets/layer-table/t9n/messages.ca.json +1 -1
  368. package/dist/cdn/assets/layer-table/t9n/messages.cs.json +1 -1
  369. package/dist/cdn/assets/layer-table/t9n/messages.da.json +1 -1
  370. package/dist/cdn/assets/layer-table/t9n/messages.de.json +1 -1
  371. package/dist/cdn/assets/layer-table/t9n/messages.el.json +1 -1
  372. package/dist/cdn/assets/layer-table/t9n/messages.es.json +1 -1
  373. package/dist/cdn/assets/layer-table/t9n/messages.et.json +1 -1
  374. package/dist/cdn/assets/layer-table/t9n/messages.fi.json +1 -1
  375. package/dist/cdn/assets/layer-table/t9n/messages.fr.json +1 -1
  376. package/dist/cdn/assets/layer-table/t9n/messages.he.json +1 -1
  377. package/dist/cdn/assets/layer-table/t9n/messages.hr.json +1 -1
  378. package/dist/cdn/assets/layer-table/t9n/messages.hu.json +1 -1
  379. package/dist/cdn/assets/layer-table/t9n/messages.id.json +1 -1
  380. package/dist/cdn/assets/layer-table/t9n/messages.it.json +1 -1
  381. package/dist/cdn/assets/layer-table/t9n/messages.ja.json +1 -1
  382. package/dist/cdn/assets/layer-table/t9n/messages.ko.json +1 -1
  383. package/dist/cdn/assets/layer-table/t9n/messages.lt.json +1 -1
  384. package/dist/cdn/assets/layer-table/t9n/messages.lv.json +1 -1
  385. package/dist/cdn/assets/layer-table/t9n/messages.nl.json +1 -1
  386. package/dist/cdn/assets/layer-table/t9n/messages.no.json +1 -1
  387. package/dist/cdn/assets/layer-table/t9n/messages.pl.json +1 -1
  388. package/dist/cdn/assets/layer-table/t9n/messages.pt-BR.json +1 -1
  389. package/dist/cdn/assets/layer-table/t9n/messages.pt-PT.json +1 -1
  390. package/dist/cdn/assets/layer-table/t9n/messages.ro.json +1 -1
  391. package/dist/cdn/assets/layer-table/t9n/messages.ru.json +1 -1
  392. package/dist/cdn/assets/layer-table/t9n/messages.sk.json +1 -1
  393. package/dist/cdn/assets/layer-table/t9n/messages.sl.json +1 -1
  394. package/dist/cdn/assets/layer-table/t9n/messages.sr.json +1 -1
  395. package/dist/cdn/assets/layer-table/t9n/messages.sv.json +1 -1
  396. package/dist/cdn/assets/layer-table/t9n/messages.th.json +1 -1
  397. package/dist/cdn/assets/layer-table/t9n/messages.tr.json +1 -1
  398. package/dist/cdn/assets/layer-table/t9n/messages.uk.json +1 -1
  399. package/dist/cdn/assets/layer-table/t9n/messages.vi.json +1 -1
  400. package/dist/cdn/assets/layer-table/t9n/messages.zh-CN.json +1 -1
  401. package/dist/cdn/assets/layer-table/t9n/messages.zh-HK.json +1 -1
  402. package/dist/cdn/assets/layer-table/t9n/messages.zh-TW.json +1 -1
  403. package/dist/cdn/assets/map-card/t9n/messages.ar.json +1 -1
  404. package/dist/cdn/assets/map-card/t9n/messages.bg.json +1 -1
  405. package/dist/cdn/assets/map-card/t9n/messages.bs.json +1 -1
  406. package/dist/cdn/assets/map-card/t9n/messages.ca.json +1 -1
  407. package/dist/cdn/assets/map-card/t9n/messages.cs.json +1 -1
  408. package/dist/cdn/assets/map-card/t9n/messages.da.json +1 -1
  409. package/dist/cdn/assets/map-card/t9n/messages.de.json +1 -1
  410. package/dist/cdn/assets/map-card/t9n/messages.el.json +1 -1
  411. package/dist/cdn/assets/map-card/t9n/messages.es.json +1 -1
  412. package/dist/cdn/assets/map-card/t9n/messages.et.json +1 -1
  413. package/dist/cdn/assets/map-card/t9n/messages.fi.json +1 -1
  414. package/dist/cdn/assets/map-card/t9n/messages.fr.json +1 -1
  415. package/dist/cdn/assets/map-card/t9n/messages.he.json +1 -1
  416. package/dist/cdn/assets/map-card/t9n/messages.hr.json +1 -1
  417. package/dist/cdn/assets/map-card/t9n/messages.hu.json +1 -1
  418. package/dist/cdn/assets/map-card/t9n/messages.id.json +1 -1
  419. package/dist/cdn/assets/map-card/t9n/messages.it.json +1 -1
  420. package/dist/cdn/assets/map-card/t9n/messages.ja.json +1 -1
  421. package/dist/cdn/assets/map-card/t9n/messages.ko.json +1 -1
  422. package/dist/cdn/assets/map-card/t9n/messages.lt.json +1 -1
  423. package/dist/cdn/assets/map-card/t9n/messages.lv.json +1 -1
  424. package/dist/cdn/assets/map-card/t9n/messages.nl.json +1 -1
  425. package/dist/cdn/assets/map-card/t9n/messages.no.json +1 -1
  426. package/dist/cdn/assets/map-card/t9n/messages.pl.json +1 -1
  427. package/dist/cdn/assets/map-card/t9n/messages.pt-BR.json +1 -1
  428. package/dist/cdn/assets/map-card/t9n/messages.pt-PT.json +1 -1
  429. package/dist/cdn/assets/map-card/t9n/messages.ro.json +1 -1
  430. package/dist/cdn/assets/map-card/t9n/messages.ru.json +1 -1
  431. package/dist/cdn/assets/map-card/t9n/messages.sk.json +1 -1
  432. package/dist/cdn/assets/map-card/t9n/messages.sl.json +1 -1
  433. package/dist/cdn/assets/map-card/t9n/messages.sr.json +1 -1
  434. package/dist/cdn/assets/map-card/t9n/messages.sv.json +1 -1
  435. package/dist/cdn/assets/map-card/t9n/messages.th.json +1 -1
  436. package/dist/cdn/assets/map-card/t9n/messages.tr.json +1 -1
  437. package/dist/cdn/assets/map-card/t9n/messages.uk.json +1 -1
  438. package/dist/cdn/assets/map-card/t9n/messages.vi.json +1 -1
  439. package/dist/cdn/assets/map-card/t9n/messages.zh-CN.json +1 -1
  440. package/dist/cdn/assets/map-card/t9n/messages.zh-HK.json +1 -1
  441. package/dist/cdn/assets/map-card/t9n/messages.zh-TW.json +1 -1
  442. package/dist/cdn/assets/solution-item-diagram/item-icons/360vr16.svg +1 -0
  443. package/dist/cdn/assets/solution-item-diagram/item-icons/3dobjecttileslayer16.svg +1 -0
  444. package/dist/cdn/assets/solution-item-diagram/item-icons/3dtileslayerpackage16.svg +1 -0
  445. package/dist/cdn/assets/solution-item-diagram/item-icons/addindesktop16.svg +1 -0
  446. package/dist/cdn/assets/solution-item-diagram/item-icons/apacheparquet16.svg +1 -0
  447. package/dist/cdn/assets/solution-item-diagram/item-icons/apps16.svg +1 -0
  448. package/dist/cdn/assets/solution-item-diagram/item-icons/appsgray16.svg +1 -0
  449. package/dist/cdn/assets/solution-item-diagram/item-icons/bigdataanalytics16.svg +69 -0
  450. package/dist/cdn/assets/solution-item-diagram/item-icons/cad16.svg +1 -0
  451. package/dist/cdn/assets/solution-item-diagram/item-icons/catalog16.svg +1 -0
  452. package/dist/cdn/assets/solution-item-diagram/item-icons/classificationschema16.svg +1 -0
  453. package/dist/cdn/assets/solution-item-diagram/item-icons/classifierdefinition16.svg +1 -0
  454. package/dist/cdn/assets/solution-item-diagram/item-icons/codeSnippet16.svg +1 -0
  455. package/dist/cdn/assets/solution-item-diagram/item-icons/csv16.svg +1 -0
  456. package/dist/cdn/assets/solution-item-diagram/item-icons/csvcollection16.svg +1 -0
  457. package/dist/cdn/assets/solution-item-diagram/item-icons/dashboard16.svg +1 -0
  458. package/dist/cdn/assets/solution-item-diagram/item-icons/data16.svg +1 -0
  459. package/dist/cdn/assets/solution-item-diagram/item-icons/dataengineeringmodel16.svg +12 -0
  460. package/dist/cdn/assets/solution-item-diagram/item-icons/dataengineeringworkbook16.svg +5 -0
  461. package/dist/cdn/assets/solution-item-diagram/item-icons/datafiles16.svg +1 -0
  462. package/dist/cdn/assets/solution-item-diagram/item-icons/datafilesgray16.svg +1 -0
  463. package/dist/cdn/assets/solution-item-diagram/item-icons/datapipeline16.svg +1 -0
  464. package/dist/cdn/assets/solution-item-diagram/item-icons/datastore16.svg +1 -0
  465. package/dist/cdn/assets/solution-item-diagram/item-icons/datastorecollection16.svg +1 -0
  466. package/dist/cdn/assets/solution-item-diagram/item-icons/deeplearningpackage16.svg +1 -0
  467. package/dist/cdn/assets/solution-item-diagram/item-icons/deeplearningproject16.svg +1 -0
  468. package/dist/cdn/assets/solution-item-diagram/item-icons/desktopstyle16.svg +1 -0
  469. package/dist/cdn/assets/solution-item-diagram/item-icons/dictionarystyle16.svg +1 -0
  470. package/dist/cdn/assets/solution-item-diagram/item-icons/elevationlayer16.svg +1 -0
  471. package/dist/cdn/assets/solution-item-diagram/item-icons/excaliburimageryproject16.svg +1 -0
  472. package/dist/cdn/assets/solution-item-diagram/item-icons/excel16.svg +1 -0
  473. package/dist/cdn/assets/solution-item-diagram/item-icons/experiencebuilder16.svg +15 -0
  474. package/dist/cdn/assets/solution-item-diagram/item-icons/experiencebuilderwidget16.svg +1 -0
  475. package/dist/cdn/assets/solution-item-diagram/item-icons/experiencebuilderwidgetpackage16.svg +1 -0
  476. package/dist/cdn/assets/solution-item-diagram/item-icons/features16.svg +1 -0
  477. package/dist/cdn/assets/solution-item-diagram/item-icons/featureshosted16.svg +1 -0
  478. package/dist/cdn/assets/solution-item-diagram/item-icons/feed16.svg +126 -0
  479. package/dist/cdn/assets/solution-item-diagram/item-icons/geocodeservice16.svg +1 -0
  480. package/dist/cdn/assets/solution-item-diagram/item-icons/geodataservice16.svg +1 -0
  481. package/dist/cdn/assets/solution-item-diagram/item-icons/geopackage16.svg +1 -0
  482. package/dist/cdn/assets/solution-item-diagram/item-icons/geoprocessingmodel16.svg +1 -0
  483. package/dist/cdn/assets/solution-item-diagram/item-icons/group16.png +0 -0
  484. package/dist/cdn/assets/solution-item-diagram/item-icons/hubevent16.svg +1 -0
  485. package/dist/cdn/assets/solution-item-diagram/item-icons/hubinitiative16.svg +1 -0
  486. package/dist/cdn/assets/solution-item-diagram/item-icons/hubinitiativetemplate16.svg +1 -0
  487. package/dist/cdn/assets/solution-item-diagram/item-icons/hubpage16.svg +1 -0
  488. package/dist/cdn/assets/solution-item-diagram/item-icons/hubproject16.svg +1 -0
  489. package/dist/cdn/assets/solution-item-diagram/item-icons/hubsite16.svg +1 -0
  490. package/dist/cdn/assets/solution-item-diagram/item-icons/image16.svg +1 -0
  491. package/dist/cdn/assets/solution-item-diagram/item-icons/imagecollection16.svg +1 -0
  492. package/dist/cdn/assets/solution-item-diagram/item-icons/imagery16.svg +1 -0
  493. package/dist/cdn/assets/solution-item-diagram/item-icons/indoorpositioningdataservice16.svg +1 -0
  494. package/dist/cdn/assets/solution-item-diagram/item-icons/insightsmodel16.svg +1 -0
  495. package/dist/cdn/assets/solution-item-diagram/item-icons/insightspage16.svg +1 -0
  496. package/dist/cdn/assets/solution-item-diagram/item-icons/insightsscript16.svg +12 -0
  497. package/dist/cdn/assets/solution-item-diagram/item-icons/insightstheme16.svg +1 -0
  498. package/dist/cdn/assets/solution-item-diagram/item-icons/insightsworkbookpackage16.svg +15 -0
  499. package/dist/cdn/assets/solution-item-diagram/item-icons/instantapps16.svg +68 -0
  500. package/dist/cdn/assets/solution-item-diagram/item-icons/integratedmeshtileslayer16.svg +1 -0
  501. package/dist/cdn/assets/solution-item-diagram/item-icons/investigation16.svg +1 -0
  502. package/dist/cdn/assets/solution-item-diagram/item-icons/kernelgatewayconnection16.svg +15 -0
  503. package/dist/cdn/assets/solution-item-diagram/item-icons/key16.svg +1 -0
  504. package/dist/cdn/assets/solution-item-diagram/item-icons/kml16.svg +1 -0
  505. package/dist/cdn/assets/solution-item-diagram/item-icons/knowledgegraph16.svg +1 -0
  506. package/dist/cdn/assets/solution-item-diagram/item-icons/knowledgegraphlayer16.svg +1 -0
  507. package/dist/cdn/assets/solution-item-diagram/item-icons/knowledgestudio16.svg +1 -0
  508. package/dist/cdn/assets/solution-item-diagram/item-icons/layergroup16.svg +1 -0
  509. package/dist/cdn/assets/solution-item-diagram/item-icons/layergroup2d16.svg +1 -0
  510. package/dist/cdn/assets/solution-item-diagram/item-icons/layergroup3d16.svg +1 -0
  511. package/dist/cdn/assets/solution-item-diagram/item-icons/layers16.svg +1 -0
  512. package/dist/cdn/assets/solution-item-diagram/item-icons/layersfeatures16.svg +1 -0
  513. package/dist/cdn/assets/solution-item-diagram/item-icons/layersfeatureshosted16.svg +1 -0
  514. package/dist/cdn/assets/solution-item-diagram/item-icons/layersgray16.svg +1 -0
  515. package/dist/cdn/assets/solution-item-diagram/item-icons/linkchart16.svg +44 -0
  516. package/dist/cdn/assets/solution-item-diagram/item-icons/livestreamvideolayer16.svg +1 -0
  517. package/dist/cdn/assets/solution-item-diagram/item-icons/mapimages16.svg +1 -0
  518. package/dist/cdn/assets/solution-item-diagram/item-icons/maps16.svg +1 -0
  519. package/dist/cdn/assets/solution-item-diagram/item-icons/mapsgray16.svg +1 -0
  520. package/dist/cdn/assets/solution-item-diagram/item-icons/maptiles16.svg +1 -0
  521. package/dist/cdn/assets/solution-item-diagram/item-icons/marketplace16.svg +1 -0
  522. package/dist/cdn/assets/solution-item-diagram/item-icons/markup16.svg +1 -0
  523. package/dist/cdn/assets/solution-item-diagram/item-icons/medialayer16.svg +1 -0
  524. package/dist/cdn/assets/solution-item-diagram/item-icons/mediaservice16.svg +1 -0
  525. package/dist/cdn/assets/solution-item-diagram/item-icons/mission16.svg +1 -0
  526. package/dist/cdn/assets/solution-item-diagram/item-icons/missionreport16.svg +1 -0
  527. package/dist/cdn/assets/solution-item-diagram/item-icons/mobilescenepackage16.svg +1 -0
  528. package/dist/cdn/assets/solution-item-diagram/item-icons/nativeapp16.svg +3 -0
  529. package/dist/cdn/assets/solution-item-diagram/item-icons/nativeappinstaller16.svg +15 -0
  530. package/dist/cdn/assets/solution-item-diagram/item-icons/notebook16.svg +11 -0
  531. package/dist/cdn/assets/solution-item-diagram/item-icons/notebookcodesnippets16.svg +3 -0
  532. package/dist/cdn/assets/solution-item-diagram/item-icons/orthomappingproject16.svg +1 -0
  533. package/dist/cdn/assets/solution-item-diagram/item-icons/orthomappingtemplate16.svg +1 -0
  534. package/dist/cdn/assets/solution-item-diagram/item-icons/pdf16.svg +1 -0
  535. package/dist/cdn/assets/solution-item-diagram/item-icons/powerpoint16.svg +1 -0
  536. package/dist/cdn/assets/solution-item-diagram/item-icons/premiumcontent16.svg +1 -0
  537. package/dist/cdn/assets/solution-item-diagram/item-icons/premiumcredits16.svg +1 -0
  538. package/dist/cdn/assets/solution-item-diagram/item-icons/premiumitem16.svg +1 -0
  539. package/dist/cdn/assets/solution-item-diagram/item-icons/propresentation16.svg +1 -0
  540. package/dist/cdn/assets/solution-item-diagram/item-icons/proproject16.svg +41 -0
  541. package/dist/cdn/assets/solution-item-diagram/item-icons/proreport16.svg +47 -0
  542. package/dist/cdn/assets/solution-item-diagram/item-icons/quickcaptureproject16.svg +1 -0
  543. package/dist/cdn/assets/solution-item-diagram/item-icons/rasterprocessingtemplate16.svg +1 -0
  544. package/dist/cdn/assets/solution-item-diagram/item-icons/realitymappingproject16.svg +1 -0
  545. package/dist/cdn/assets/solution-item-diagram/item-icons/realtimeanalytics16.svg +61 -0
  546. package/dist/cdn/assets/solution-item-diagram/item-icons/relationaldatabaseconnection16.svg +1 -0
  547. package/dist/cdn/assets/solution-item-diagram/item-icons/report16.svg +1 -0
  548. package/dist/cdn/assets/solution-item-diagram/item-icons/reporttemplate16.svg +1 -0
  549. package/dist/cdn/assets/solution-item-diagram/item-icons/routelayer16.svg +1 -0
  550. package/dist/cdn/assets/solution-item-diagram/item-icons/scenepackage16.svg +1 -0
  551. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayer16.svg +1 -0
  552. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayerbuilding16.svg +85 -0
  553. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayerline16.svg +1 -0
  554. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayermesh16.svg +1 -0
  555. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayermultipatch16.svg +1 -0
  556. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayerpoint16.svg +1 -0
  557. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayerpointcloud16.svg +1 -0
  558. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayerpolygon16.svg +1 -0
  559. package/dist/cdn/assets/solution-item-diagram/item-icons/sceneweblayervoxel16.svg +1 -0
  560. package/dist/cdn/assets/solution-item-diagram/item-icons/shapefile16.svg +1 -0
  561. package/dist/cdn/assets/solution-item-diagram/item-icons/solutions16.svg +1 -0
  562. package/dist/cdn/assets/solution-item-diagram/item-icons/spatiotemporal16.svg +1 -0
  563. package/dist/cdn/assets/solution-item-diagram/item-icons/spatiotemporaltable16.svg +1 -0
  564. package/dist/cdn/assets/solution-item-diagram/item-icons/sqlite16.svg +1 -0
  565. package/dist/cdn/assets/solution-item-diagram/item-icons/statisticaldatacollection16.svg +1 -0
  566. package/dist/cdn/assets/solution-item-diagram/item-icons/storymap16.svg +1 -0
  567. package/dist/cdn/assets/solution-item-diagram/item-icons/storymapbriefing16.svg +1 -0
  568. package/dist/cdn/assets/solution-item-diagram/item-icons/storymapcollection16.svg +1 -0
  569. package/dist/cdn/assets/solution-item-diagram/item-icons/storymapstemplate16.svg +1 -0
  570. package/dist/cdn/assets/solution-item-diagram/item-icons/storymaptheme16.svg +1 -0
  571. package/dist/cdn/assets/solution-item-diagram/item-icons/streamlayer16.svg +1 -0
  572. package/dist/cdn/assets/solution-item-diagram/item-icons/style16.svg +1 -0
  573. package/dist/cdn/assets/solution-item-diagram/item-icons/suitabilitymodel16.svg +1 -0
  574. package/dist/cdn/assets/solution-item-diagram/item-icons/survey123addin16.svg +1 -0
  575. package/dist/cdn/assets/solution-item-diagram/item-icons/survey16.svg +1 -0
  576. package/dist/cdn/assets/solution-item-diagram/item-icons/table16.svg +1 -0
  577. package/dist/cdn/assets/solution-item-diagram/item-icons/taskfile16.svg +1 -0
  578. package/dist/cdn/assets/solution-item-diagram/item-icons/tiledimagerylayer16.svg +1 -0
  579. package/dist/cdn/assets/solution-item-diagram/item-icons/tilepackage16.svg +1 -0
  580. package/dist/cdn/assets/solution-item-diagram/item-icons/tool16.svg +1 -0
  581. package/dist/cdn/assets/solution-item-diagram/item-icons/toolsgray16.svg +1 -0
  582. package/dist/cdn/assets/solution-item-diagram/item-icons/urbanmodel16.svg +120 -0
  583. package/dist/cdn/assets/solution-item-diagram/item-icons/urbanproject16.svg +5 -0
  584. package/dist/cdn/assets/solution-item-diagram/item-icons/utilitynetwork16.svg +1 -0
  585. package/dist/cdn/assets/solution-item-diagram/item-icons/vectortile16.svg +1 -0
  586. package/dist/cdn/assets/solution-item-diagram/item-icons/vectortilefile16.svg +1 -0
  587. package/dist/cdn/assets/solution-item-diagram/item-icons/vectortilepackage16.svg +1 -0
  588. package/dist/cdn/assets/solution-item-diagram/item-icons/webexperiencetemplate16.svg +19 -0
  589. package/dist/cdn/assets/solution-item-diagram/item-icons/websceneglobal16.svg +1 -0
  590. package/dist/cdn/assets/solution-item-diagram/item-icons/webscenelocal16.svg +1 -0
  591. package/dist/cdn/assets/solution-item-diagram/item-icons/wfsogcoptions16.svg +1 -0
  592. package/dist/cdn/assets/solution-item-diagram/item-icons/word16.svg +1 -0
  593. package/dist/cdn/assets/solution-item-diagram/item-icons/workbook16.svg +1 -0
  594. package/dist/cdn/assets/solution-item-diagram/item-icons/workflow16.svg +1 -0
  595. package/dist/cdn/assets/solution-item-diagram/t9n/messages.en.json +1 -0
  596. package/dist/cdn/assets/solution-item-diagram/t9n/messages.json +1 -0
  597. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
  598. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
  599. package/dist/cdn/index.js +2 -2
  600. package/dist/cdn/main.css +1 -1
  601. package/dist/chunks/Auth.js +1 -1
  602. package/dist/chunks/appConfig.js +1 -1
  603. package/dist/chunks/cardFetchingUtils.js +1 -1
  604. package/dist/chunks/common.js +1 -1
  605. package/dist/chunks/deployAppContexts.js +1 -1
  606. package/dist/chunks/downloadUtils.js +1 -1
  607. package/dist/chunks/helpers.js +1 -1
  608. package/dist/chunks/index.js +1 -1
  609. package/dist/chunks/interfaces.js +1 -1
  610. package/dist/chunks/loadModules.js +1 -1
  611. package/dist/chunks/mapViewUtils.js +1 -1
  612. package/dist/chunks/pciUtils.js +1 -1
  613. package/dist/chunks/popupUtils.js +1 -1
  614. package/dist/chunks/privilegeUtils.js +1 -1
  615. package/dist/chunks/publicNotificationStore.js +1 -1
  616. package/dist/chunks/queryUtils.js +1 -1
  617. package/dist/chunks/runtime.js +1 -1
  618. package/dist/chunks/solution-store.js +1 -1
  619. package/dist/chunks/templates.js +1 -1
  620. package/dist/chunks/useT9n.js +1 -1
  621. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  622. package/dist/components/basemap-gallery/customElement.js +1 -1
  623. package/dist/components/buffer-tools/customElement.js +1 -1
  624. package/dist/components/card-manager/customElement.js +1 -1
  625. package/dist/components/consent-manager/customElement.js +1 -1
  626. package/dist/components/create-feature/customElement.d.ts +6 -0
  627. package/dist/components/create-feature/customElement.js +12 -11
  628. package/dist/components/create-related-feature/customElement.js +1 -1
  629. package/dist/components/crowdsource-manager/customElement.js +1 -1
  630. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  631. package/dist/components/deduct-calculator/customElement.js +1 -1
  632. package/dist/components/delete-button/customElement.js +1 -1
  633. package/dist/components/delete-dialog/customElement.js +1 -1
  634. package/dist/components/edit-card/customElement.js +1 -1
  635. package/dist/components/feature-details/customElement.js +1 -1
  636. package/dist/components/feature-list/customElement.js +1 -1
  637. package/dist/components/field-selection/customElement.js +1 -1
  638. package/dist/components/floor-filter/customElement.js +1 -1
  639. package/dist/components/info-card/customElement.js +1 -1
  640. package/dist/components/json-editor/customElement.js +1 -1
  641. package/dist/components/layer-list/customElement.js +1 -1
  642. package/dist/components/layer-table/customElement.js +6 -3
  643. package/dist/components/map-card/customElement.js +1 -1
  644. package/dist/components/map-draw-tools/customElement.js +1 -1
  645. package/dist/components/map-fullscreen/customElement.js +1 -1
  646. package/dist/components/map-layer-picker/customElement.js +1 -1
  647. package/dist/components/map-legend/customElement.js +1 -1
  648. package/dist/components/map-picker/customElement.js +1 -1
  649. package/dist/components/map-search/customElement.js +1 -1
  650. package/dist/components/map-select-tools/customElement.js +1 -1
  651. package/dist/components/map-tools/customElement.js +1 -1
  652. package/dist/components/pci-calculator/customElement.js +1 -1
  653. package/dist/components/pdf-download/customElement.js +1 -1
  654. package/dist/components/public-notification/customElement.js +1 -1
  655. package/dist/components/refine-selection/customElement.js +1 -1
  656. package/dist/components/selection-tool/customElement.js +1 -1
  657. package/dist/components/solution-article-card/customElement.js +1 -1
  658. package/dist/components/solution-configuration/customElement.js +1 -1
  659. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  660. package/dist/components/solution-configure-titles/customElement.js +1 -1
  661. package/dist/components/solution-contents/customElement.js +1 -1
  662. package/dist/components/solution-delete-dialog/customElement.js +22 -22
  663. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  664. package/dist/components/solution-deployed-card/customElement.d.ts +1 -0
  665. package/dist/components/solution-deployed-card/customElement.js +85 -26
  666. package/dist/components/solution-deployed-card/index.d.ts +2 -0
  667. package/dist/components/solution-deployed-card/index.js +2 -0
  668. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  669. package/dist/components/solution-details-card/customElement.js +1 -1
  670. package/dist/components/solution-details-panel/customElement.js +1 -1
  671. package/dist/components/solution-item/customElement.js +1 -1
  672. package/dist/components/solution-item-accordion/customElement.js +1 -1
  673. package/dist/components/solution-item-details/customElement.js +1 -1
  674. package/dist/components/solution-item-diagram/customElement.d.ts +9 -0
  675. package/dist/components/solution-item-diagram/customElement.js +918 -0
  676. package/dist/components/solution-item-diagram/index.d.ts +4 -0
  677. package/dist/components/solution-item-diagram/index.js +4 -0
  678. package/dist/components/solution-item-diagram/utils/SolutionDisplay.d.ts +122 -0
  679. package/dist/components/solution-item-diagram/utils/getItemIcon.d.ts +26 -0
  680. package/dist/components/solution-item-diagram/utils/prepareDataForSolutionDisplay.d.ts +27 -0
  681. package/dist/components/solution-item-diagram/utils/solutionGraph.d.ts +125 -0
  682. package/dist/components/solution-item-icon/customElement.js +1 -1
  683. package/dist/components/solution-item-sharing/customElement.js +1 -1
  684. package/dist/components/solution-organization-variables/customElement.js +1 -1
  685. package/dist/components/solution-resource-item/customElement.js +1 -1
  686. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  687. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  688. package/dist/components/solution-template-data/customElement.js +1 -1
  689. package/dist/components/solution-variables/customElement.js +1 -1
  690. package/dist/components/solutions-all-panel/customElement.js +1 -1
  691. package/dist/components/solutions-all-shell/customElement.js +1 -1
  692. package/dist/components/solutions-article-panel/customElement.js +1 -1
  693. package/dist/components/solutions-articles/customElement.js +1 -1
  694. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  695. package/dist/components/solutions-deployed-panel/customElement.d.ts +2 -0
  696. package/dist/components/solutions-deployed-panel/customElement.js +35 -22
  697. package/dist/components/solutions-deployed-panel/index.d.ts +1 -0
  698. package/dist/components/solutions-deployed-panel/index.js +1 -0
  699. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  700. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  701. package/dist/components/spatial-ref/customElement.js +1 -1
  702. package/dist/components/store-manager/customElement.js +1 -1
  703. package/dist/docs/api.json +126 -63
  704. package/dist/docs/docs.json +126 -59
  705. package/dist/docs/vscode.html-custom-data.json +12 -7
  706. package/dist/docs/web-types.json +31 -12
  707. package/dist/index.d.ts +5 -5
  708. package/dist/index.js +1 -1
  709. package/dist/loader.js +4 -4
  710. package/dist/types/lumina.d.ts +6 -6
  711. package/dist/types/preact.d.ts +7 -7
  712. package/dist/types/react.d.ts +8 -8
  713. package/dist/types/stencil.d.ts +6 -6
  714. package/package.json +3 -1
  715. package/dist/cdn/3WZDTHDA.js +0 -4
  716. package/dist/cdn/6BZNU2TA.js +0 -4
  717. package/dist/cdn/DGMUEXX5.js +0 -4
  718. package/dist/cdn/GYB5EHKN.js +0 -4
  719. package/dist/cdn/KTQP6SYQ.js +0 -4
  720. package/dist/cdn/LUUUOSAV.js +0 -4
  721. package/dist/cdn/NUITK3CM.js +0 -4
  722. package/dist/cdn/PQ3QQ2DX.js +0 -18
  723. package/dist/cdn/QW5IVKR3.js +0 -18
  724. package/dist/cdn/RJTFNQCX.js +0 -4
  725. package/dist/cdn/RNAXM3HG.js +0 -18
  726. package/dist/cdn/TQDMQEZW.js +0 -18
  727. package/dist/cdn/XSFAEVZR.js +0 -4
  728. package/dist/cdn/Z4L3MA4P.js +0 -18
  729. package/dist/cdn/assets/solution-items-diagram/t9n/messages.en.json +0 -1
  730. package/dist/cdn/assets/solution-items-diagram/t9n/messages.json +0 -1
  731. package/dist/components/solution-items-diagram/customElement.d.ts +0 -5
  732. package/dist/components/solution-items-diagram/customElement.js +0 -44
  733. package/dist/components/solution-items-diagram/index.d.ts +0 -2
  734. package/dist/components/solution-items-diagram/index.js +0 -2
@@ -0,0 +1,18 @@
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.20250623 */
4
+ import{d as w,e as L}from"./E7TRIWDT.js";import"./7YPMNAQW.js";import"./XJYYAXC5.js";import{a as c,b as p}from"./B3BHXIAJ.js";import{b}from"./WTGKQEWC.js";import{a as V}from"./USL4QTWT.js";import{D as v,c as y,d as l,n as h,p as f,y as M,z as m}from"./QCIMV4RH.js";import"./LN76EWLU.js";var S=y`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this.popupEnabled=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=V({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=c(),this._isSubmitBtnClicked=!1,this._mapViewContainer=c(),this._searchDiv=c(),this._guidingMessageRefNode=c(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,popupEnabled:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}this.reportingAreaMessage&&this._guidingMessageRefNode.value?.children[0]&&(this._guidingMessageRefNode.value.children[0].style.margin="0px")}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${p(this._calciteNotice)}><div slot=message .innerHTML=${d??""} ${p(this._guidingMessageRefNode)}></div></calcite-notice>`||""}<calcite-loader class=${m(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${m(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${p(this._searchDiv)}></div>`||""}<div class=${m(s)} ${p(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await b(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center,popupEnabled:this.popupEnabled}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t)this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements();else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,g=[...d];if(g.push(r),n.type==="feature"&&this.FormTemplate){let _=n,E=new this.FormTemplate({title:_?.formTemplate?.title,description:_?.formTemplate?.description,elements:g,expressionInfos:[a].concat(o)});n.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{a as r}from"./UBJU2THW.js";import{D as o,c as t,d as i,p as s,y as n}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250623 */
4
+ import{a as r}from"./USL4QTWT.js";import{D as o,c as t,d as i,p as s,y as n}from"./QCIMV4RH.js";import"./LN76EWLU.js";var a=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
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.20250623 */
4
+ import{a,b}from"./CVZ4YBRE.js";import"./M6DEGK3A.js";import"./OTP76AFM.js";import"./UER5MEYT.js";import"./P25FGB5B.js";import"./7FW2E443.js";import"./LN76EWLU.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{D as h,c as n,d as s,f as c,n as l,p as o,y as d}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var p=n`@layer{/** @license
3
+ v1.0.0-next.20250623 */
4
+ import{D as h,c as n,d as s,f as c,n as l,p as o,y as d}from"./QCIMV4RH.js";import"./LN76EWLU.js";var p=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
3
+ v1.0.0-next.20250623 */
4
4
  var t="cannotDiscuss";export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{a as m}from"./NKC3NX4V.js";import{a as p}from"./HR52TSAG.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import{a,b as n}from"./GQZJXEOJ.js";import"./4SH5J6QB.js";import"./FNC6JCNV.js";import{a as r}from"./HE52H5T7.js";import{a as s}from"./EI7IFIR5.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./H5NYMCNF.js";import"./ODI4ESEW.js";import{a as i}from"./6FURXZTX.js";import"./DRFV4N6J.js";import"./C6KHQNY4.js";import"./CXFSUXVU.js";import"./74YGVXNR.js";import"./PHNTRSWP.js";import"./CPPGUGUJ.js";import"./VTIGVKIS.js";import"./GUAZDGXF.js";import"./6YBZSHGK.js";import"./ND56OQM6.js";import"./XXZWFBWQ.js";import"./JZSLUW6H.js";import"./ZYS5MFJN.js";import"./RFO7GXOU.js";import"./UTVZOV34.js";import"./5JQOX6HV.js";import"./OEPIVYUB.js";import"./KPRXODCN.js";import"./TNT7W35H.js";import"./UQSOC5MG.js";import"./XZJE3HMV.js";import"./JLQQYQLO.js";import"./DKDDSSZO.js";var g=async(e,t,l)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
3
+ v1.0.0-next.20250623 */
4
+ import{a as m}from"./MTXAIDLY.js";import{a as p}from"./A4UEGUOI.js";import"./OAOS4ZIR.js";import"./JF2H7IOR.js";import"./SQ5ORY7B.js";import"./U2DAHKOK.js";import{a,b as n}from"./MBTMEXGV.js";import"./AGNYO5NN.js";import"./VS53IXEC.js";import{a as r}from"./MY7QR23T.js";import{a as s}from"./BQ5YXWHO.js";import"./ABFFIPZI.js";import"./ZEI7MQ2T.js";import"./RK7SEZWK.js";import"./BWFAFVTV.js";import{a as i}from"./PE5HS46T.js";import"./67625TTO.js";import"./X75UTGDT.js";import"./UGHVL53A.js";import"./I5KCXSTA.js";import"./VKMEAGVS.js";import"./XBPN363J.js";import"./W5AS4BP3.js";import"./A6E5LNUS.js";import"./F7ZC7T4X.js";import"./C6SEQOGV.js";import"./TKLKJ4FU.js";import"./6BMDZLSL.js";import"./IIFZUXCW.js";import"./M2GNMXHV.js";import"./CVZ4YBRE.js";import"./RSLSNASB.js";import"./M6DEGK3A.js";import"./OTP76AFM.js";import"./O74B4HIC.js";import"./UER5MEYT.js";import"./P25FGB5B.js";import"./7FW2E443.js";import"./LN76EWLU.js";var g=async(e,t,l)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
3
+ v1.0.0-next.20250623 */
4
4
  var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')}),n=a=>b=>{var c=a[b];if(c)return c();throw new Error("Module not found in bundle: "+b)};var o=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),p=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var q=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d,q as e};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{a as i}from"./DGMUEXX5.js";import"./5S6RNUPL.js";import"./AFZHAYZU.js";import"./IRYLEP5E.js";import"./6SAVY66F.js";import"./ZSXYETQI.js";import"./ML4HH2XO.js";import"./44HGIWYU.js";import"./Z2JYQSV7.js";import"./GK64B4Y5.js";import"./YCPBEFQ6.js";import"./SLMYC2BZ.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import"./FNC6JCNV.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./H5NYMCNF.js";import"./ODI4ESEW.js";import"./WMXABBDN.js";import{a as m}from"./UBJU2THW.js";import{D as u,c as r,d as h,f as c,p as d,y as p,z as a}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var g=r`@layer{/** @license
3
+ v1.0.0-next.20250623 */
4
+ import{a as i}from"./SMD6DHSZ.js";import"./7HB3CYHC.js";import"./D5ZMKHVZ.js";import"./22P43VO7.js";import"./T3BNNVGE.js";import"./42ZHF2HE.js";import"./3RCSEW37.js";import"./EA5T3ZAJ.js";import"./VYUXJLFU.js";import"./X3ACNAG7.js";import"./VPEO2Q4J.js";import"./B23CHB5L.js";import"./OAOS4ZIR.js";import"./JF2H7IOR.js";import"./SQ5ORY7B.js";import"./U2DAHKOK.js";import"./VS53IXEC.js";import"./ABFFIPZI.js";import"./ZEI7MQ2T.js";import"./RK7SEZWK.js";import"./BWFAFVTV.js";import"./7YPMNAQW.js";import{a as m}from"./USL4QTWT.js";import{D as u,c as r,d as h,f as c,p as d,y as p,z as a}from"./QCIMV4RH.js";import"./LN76EWLU.js";var g=r`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{a as n}from"./J646NFBU.js";import{b as I,c as b,d as v}from"./ENXXOCBV.js";import{a as i}from"./DGMUEXX5.js";import"./5S6RNUPL.js";import"./AFZHAYZU.js";import"./IRYLEP5E.js";import"./6SAVY66F.js";import"./ZSXYETQI.js";import"./ML4HH2XO.js";import"./44HGIWYU.js";import"./Z2JYQSV7.js";import"./GK64B4Y5.js";import"./YCPBEFQ6.js";import"./SLMYC2BZ.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import"./FNC6JCNV.js";import"./WLFEE6M6.js";import{g as a}from"./C6VO4ZTH.js";import"./H5NYMCNF.js";import"./ODI4ESEW.js";import"./WMXABBDN.js";import{a as f,b as _}from"./UDYGXKHM.js";import{a as g}from"./UBJU2THW.js";import{D as m,c,d as o,f as r,p as u,y as d,z as p}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var y=c`@layer{/** @license
3
+ v1.0.0-next.20250623 */
4
+ import{a as n}from"./UTCEQY33.js";import{b as I,c as b,d as v}from"./IP6B2WDL.js";import{a as i}from"./SMD6DHSZ.js";import"./7HB3CYHC.js";import"./D5ZMKHVZ.js";import"./22P43VO7.js";import"./T3BNNVGE.js";import"./42ZHF2HE.js";import"./3RCSEW37.js";import"./EA5T3ZAJ.js";import"./VYUXJLFU.js";import"./X3ACNAG7.js";import"./VPEO2Q4J.js";import"./B23CHB5L.js";import"./OAOS4ZIR.js";import"./JF2H7IOR.js";import"./SQ5ORY7B.js";import"./U2DAHKOK.js";import"./VS53IXEC.js";import"./ABFFIPZI.js";import{g as a}from"./ZEI7MQ2T.js";import"./RK7SEZWK.js";import"./BWFAFVTV.js";import"./7YPMNAQW.js";import{a as f,b as _}from"./B3BHXIAJ.js";import{a as g}from"./USL4QTWT.js";import{D as m,c,d as o,f as r,p as u,y as d,z as p}from"./QCIMV4RH.js";import"./LN76EWLU.js";var y=c`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{y as h}from"./AFZHAYZU.js";import{g as n}from"./C6VO4ZTH.js";export default $arcgis.t(([l,u,c])=>{var p=class{constructor(t,r,e){this._credential=null,this._locale="en",this._portalSubset=null,this._isEnterprise=!1,this._portalUserSubset=null,this._clientId=t,this._locale=e,this._portalUrl=r,this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:r;let s=new u({appId:t,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});l.registerOAuthInfos([s]),this._portal=new c({url:this._portalUrl})}async init(){try{await this._init()}catch{this.destroy()}return this}async _init(){this._credential=await l.checkSignInStatus(this._portalUrl+"/sharing");try{let t=await l.checkAppAccess(this._portalUrl,this._clientId);(typeof t.valid<"u"&&!t.valid||t.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}catch{window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl,portalUrl:this._portal.url,urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&(this._portalSubset.workflowURL=await h(this._portal.restUrl,this.RestUserSession||new n({}))),this._portal.user?.roleId&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}get SignedIn(){return this._credential!==null}get Credential(){return this._credential}get Portal(){return this._portal}get PortalUrl(){return this._portalUrl}get PortalSubset(){return this._portalSubset}get PortalUserSubset(){return this._portalUserSubset}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserCulture(){return this._portalUserSubset&&this._portalUserSubset.culture||""}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get IsEnterprisePortal(){return this._isEnterprise}get RestUserSession(){let t=this.Credential;if(!t)return null;let r={server:this.PortalUrl,hasPortal:this.IsEnterprisePortal,hasServer:this.IsEnterprisePortal},e=n.fromCredential(t,r);return e.clientId=this._credential._oAuthCred?.appId,e._refreshToken=this._credential._oAuthCred?.refreshToken,e}refreshSession(){let t=this.RestUserSession;return t?t.exchangeRefreshToken():null}signIn(t=""){l.setOAuthRedirectionHandler(r=>{let e=r.authorizeParams.redirect_uri;if(t.length>0){let s=e.split("?"),i=s[0],a="";if(s[1]){let o=new URLSearchParams(s[1]);o.append("signInParam",t),a="?"+o.toString()}r.authorizeParams.redirect_uri=i+a}window.location.href=r.authorizeUrl+"?"+this._objectToQuery(r.authorizeParams)}),l.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(()=>{window.location.reload()})}signOut(){let t="https://"+this._portalSubset?.hostName;window.location.hostname===this._portalSubset?.hostName?t+="/index.html":this._portalSubset?.urlKey&&window.location.hostname.indexOf(this._portalSubset?.urlKey)>-1?t=window.location.origin+"/home/index.html":t=this._portalUrl+"/home",this.signOutAndRedirect(t)}signOutAndRedirect(t){let r=`${this._portalSubset?.restUrl??this._portalUrl+"/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(t)}`;this.destroy(),window.location.replace(r)}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,l.destroyCredentials()}_getOrgUrl(t,r,e){return r&&e?window.location.protocol+"//"+r.toLowerCase()+"."+e:t}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,r){return t?r&&typeof r=="function"?Object.keys(t).map(e=>encodeURIComponent(e)+"="+encodeURIComponent(r(e,t[e]))).join("&"):Object.keys(t).map(e=>{let s=t[e];if(s==null)return"";let i=encodeURIComponent(e)+"=",a=r&&r[e];return a?i+encodeURIComponent(a(s)):Array.isArray(s)?s.map(o=>this._isSerializable(o)?i+encodeURIComponent(JSON.stringify(o)):i+encodeURIComponent(o)).join("&"):this._isSerializable(s)?i+encodeURIComponent(JSON.stringify(s)):i+encodeURIComponent(s)}).filter(e=>e).join("&"):""}};return p},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
3
+ v1.0.0-next.20250623 */
4
+ import{z as h}from"./D5ZMKHVZ.js";import{g as n}from"./ZEI7MQ2T.js";export default $arcgis.t(([l,u,c])=>{var p=class{constructor(t,r,e){this._credential=null,this._locale="en",this._portalSubset=null,this._isEnterprise=!1,this._portalUserSubset=null,this._clientId=t,this._locale=e,this._portalUrl=r,this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:r;let s=new u({appId:t,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});l.registerOAuthInfos([s]),this._portal=new c({url:this._portalUrl})}async init(){try{await this._init()}catch{this.destroy()}return this}async _init(){this._credential=await l.checkSignInStatus(this._portalUrl+"/sharing");try{let t=await l.checkAppAccess(this._portalUrl,this._clientId);(typeof t.valid<"u"&&!t.valid||t.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}catch{window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl,portalUrl:this._portal.url,urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&(this._portalSubset.workflowURL=await h(this._portal.restUrl,this.RestUserSession||new n({}))),this._portal.user?.roleId&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}get SignedIn(){return this._credential!==null}get Credential(){return this._credential}get Portal(){return this._portal}get PortalUrl(){return this._portalUrl}get PortalSubset(){return this._portalSubset}get PortalUserSubset(){return this._portalUserSubset}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserCulture(){return this._portalUserSubset&&this._portalUserSubset.culture||""}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get IsEnterprisePortal(){return this._isEnterprise}get RestUserSession(){let t=this.Credential;if(!t)return null;let r={server:this.PortalUrl,hasPortal:this.IsEnterprisePortal,hasServer:this.IsEnterprisePortal},e=n.fromCredential(t,r);return e.clientId=this._credential._oAuthCred?.appId,e._refreshToken=this._credential._oAuthCred?.refreshToken,e}refreshSession(){let t=this.RestUserSession;return t?t.exchangeRefreshToken():null}signIn(t=""){l.setOAuthRedirectionHandler(r=>{let e=r.authorizeParams.redirect_uri;if(t.length>0){let s=e.split("?"),i=s[0],a="";if(s[1]){let o=new URLSearchParams(s[1]);o.append("signInParam",t),a="?"+o.toString()}r.authorizeParams.redirect_uri=i+a}window.location.href=r.authorizeUrl+"?"+this._objectToQuery(r.authorizeParams)}),l.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(()=>{window.location.reload()})}signOut(){let t="https://"+this._portalSubset?.hostName;window.location.hostname===this._portalSubset?.hostName?t+="/index.html":this._portalSubset?.urlKey&&window.location.hostname.indexOf(this._portalSubset?.urlKey)>-1?t=window.location.origin+"/home/index.html":t=this._portalUrl+"/home",this.signOutAndRedirect(t)}signOutAndRedirect(t){let r=`${this._portalSubset?.restUrl??this._portalUrl+"/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(t)}`;this.destroy(),window.location.replace(r)}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,l.destroyCredentials()}_getOrgUrl(t,r,e){return r&&e?window.location.protocol+"//"+r.toLowerCase()+"."+e:t}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,r){return t?r&&typeof r=="function"?Object.keys(t).map(e=>encodeURIComponent(e)+"="+encodeURIComponent(r(e,t[e]))).join("&"):Object.keys(t).map(e=>{let s=t[e];if(s==null)return"";let i=encodeURIComponent(e)+"=",a=r&&r[e];return a?i+encodeURIComponent(a(s)):Array.isArray(s)?s.map(o=>this._isSerializable(o)?i+encodeURIComponent(JSON.stringify(o)):i+encodeURIComponent(o)).join("&"):this._isSerializable(s)?i+encodeURIComponent(JSON.stringify(s)):i+encodeURIComponent(s)}).filter(e=>e).join("&"):""}};return p},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{a as b}from"./DGMUEXX5.js";import"./5S6RNUPL.js";import"./AFZHAYZU.js";import"./IRYLEP5E.js";import"./6SAVY66F.js";import"./ZSXYETQI.js";import"./ML4HH2XO.js";import"./44HGIWYU.js";import"./Z2JYQSV7.js";import"./GK64B4Y5.js";import"./YCPBEFQ6.js";import"./SLMYC2BZ.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import"./FNC6JCNV.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./H5NYMCNF.js";import"./ODI4ESEW.js";import"./WMXABBDN.js";import{a as r}from"./UBJU2THW.js";import{A as e,D as c,c as o,d as a,f as i,p as l,y as n}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var h=o`@layer{/** @license
3
+ v1.0.0-next.20250623 */
4
+ import{a as b}from"./SMD6DHSZ.js";import"./7HB3CYHC.js";import"./D5ZMKHVZ.js";import"./22P43VO7.js";import"./T3BNNVGE.js";import"./42ZHF2HE.js";import"./3RCSEW37.js";import"./EA5T3ZAJ.js";import"./VYUXJLFU.js";import"./X3ACNAG7.js";import"./VPEO2Q4J.js";import"./B23CHB5L.js";import"./OAOS4ZIR.js";import"./JF2H7IOR.js";import"./SQ5ORY7B.js";import"./U2DAHKOK.js";import"./VS53IXEC.js";import"./ABFFIPZI.js";import"./ZEI7MQ2T.js";import"./RK7SEZWK.js";import"./BWFAFVTV.js";import"./7YPMNAQW.js";import{a as r}from"./USL4QTWT.js";import{A as e,D as c,c as o,d as a,f as i,p as l,y as n}from"./QCIMV4RH.js";import"./LN76EWLU.js";var h=o`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import"./DKDDSSZO.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.0.0-next.20250623 */
4
+ import"./LN76EWLU.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
3
+ v1.0.0-next.20250623 */
4
4
  var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import"./FCGCC64A.js";import{b as A}from"./HDN3HX4F.js";import"./AFZHAYZU.js";import"./IRYLEP5E.js";import"./6SAVY66F.js";import"./ZSXYETQI.js";import"./ML4HH2XO.js";import"./44HGIWYU.js";import"./Z2JYQSV7.js";import"./GK64B4Y5.js";import"./YCPBEFQ6.js";import"./SLMYC2BZ.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import"./FNC6JCNV.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./H5NYMCNF.js";import"./ODI4ESEW.js";import"./ONVDNXC7.js";import{a as C}from"./JQ3EXPCH.js";import"./GGASZ5GX.js";import{c as F,d as O,j as y}from"./DGX3VNBF.js";import{j as b}from"./WMXABBDN.js";import{c as S}from"./L7UWX4OU.js";import{a as u,b as g}from"./UDYGXKHM.js";import{b as x}from"./4EDJBRS2.js";import{a as E}from"./UBJU2THW.js";import{D as T,c as w,d as o,f as c,n as p,p as I,y as v,z as f}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var H=w`@layer{/** @license
3
+ v1.0.0-next.20250623 */
4
+ import"./C2CSN6FZ.js";import{b as A}from"./MSYQ3DTT.js";import"./D5ZMKHVZ.js";import"./22P43VO7.js";import"./T3BNNVGE.js";import"./42ZHF2HE.js";import"./3RCSEW37.js";import"./EA5T3ZAJ.js";import"./VYUXJLFU.js";import"./X3ACNAG7.js";import"./VPEO2Q4J.js";import"./B23CHB5L.js";import"./OAOS4ZIR.js";import"./JF2H7IOR.js";import"./SQ5ORY7B.js";import"./U2DAHKOK.js";import"./VS53IXEC.js";import"./ABFFIPZI.js";import"./ZEI7MQ2T.js";import"./RK7SEZWK.js";import"./BWFAFVTV.js";import"./BPLCFWCS.js";import{a as C}from"./IONDFFQ2.js";import"./5A3QS7CA.js";import{c as F,d as O,j as y}from"./E7TRIWDT.js";import{j as b}from"./7YPMNAQW.js";import{c as S}from"./XJYYAXC5.js";import{a as u,b as g}from"./B3BHXIAJ.js";import{b as x}from"./WTGKQEWC.js";import{a as E}from"./USL4QTWT.js";import{D as T,c as w,d as o,f as c,n as p,p as I,y as v,z as f}from"./QCIMV4RH.js";import"./LN76EWLU.js";var H=w`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import"./FCGCC64A.js";import{b as A}from"./HDN3HX4F.js";import"./AFZHAYZU.js";im
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,m=class extends v{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.featureSelectionChange=p(),this.toggleFilter=p(),this.showDelete=p(),this.relatedRecordToggled=p(),this.editMultipleFeatures=p(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){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._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,h=this.mapView.allLayerViews.toArray(),r;h.some(async n=>n.layer.title===l?.title&&n.layer.type==="feature"?(r=n,this.mapView&&await y([i],r,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",h=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${h&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${r=>void this._searchTextChanged(r)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getSelectedIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getSelectedIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),h=this._featuresEmpty(),r=this.featureSelectionMode==="single",n=this.enableCSV;if(this._relatedFeatureTable){let _=await this._queryRelatedFeatures();n=_&&Object.keys(_).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!r&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:h,toolTip:this._translations.selectAll}),!r&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:h,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),n&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:h,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,h,r){let n=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${n} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,r)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,relatedRecordsEnabled:!0,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:this.hasAttachmentsEnabled(this._layer),visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,i.attachmentsEnabled=this.hasAttachmentsEnabled(s),i.relatedRecordsEnabled=!0,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleOnChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0;let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._table.attachmentsEnabled=this.hasAttachmentsEnabled(this._layer),this._table.relatedRecordsEnabled=!0,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(l);h&&h<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.rowHighlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let h=await this._queryRelatedFeatures(),r=[];h&&h[l]?.features&&(h[l].features.forEach(n=>{n.attributes&&r.push(n.attributes[e.objectIdField])}),i=r.length>0?r:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,h)=>{if(!h.hidden){let r=h?.name||h?.fieldName;r&&l.push(r.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(h=>h.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){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 _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await y(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s;this.mapInfo?.layerOptions?.layers.some(n=>n.id===e?(s=n,!0):!1);let a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(n=>n.fieldName));let h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(n=>s?.fields&&s.fields.indexOf(n)>-1):l.length>0?l:void 0,r;return t&&(r=t.reduce((n,d)=>{let _={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&n.push(_):l.length>0?l.indexOf(d.name)>-1&&n.push(_):n.push(_),n},[])),r?h?r?.sort(this._sortFields.bind(this,h)):r:[]}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};T("layer-table",m);export{m as LayerTable};
18
+ */:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,m=class extends v{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.featureSelectionChange=p(),this.toggleFilter=p(),this.showDelete=p(),this.relatedRecordToggled=p(),this.editMultipleFeatures=p(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){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._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,h=this.mapView.allLayerViews.toArray(),r;h.some(async n=>n.layer.title===l?.title&&n.layer.type==="feature"?(r=n,this.mapView&&await y([i],r,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",h=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${h&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${r=>void this._searchTextChanged(r)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getSelectedIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getSelectedIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),h=this._featuresEmpty(),r=this.featureSelectionMode==="single",n=this.enableCSV;if(this._relatedFeatureTable){let _=await this._queryRelatedFeatures();n=_&&Object.keys(_).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!r&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:h,toolTip:this._translations.selectAll}),!r&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:h,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),n&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:h,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,h,r){let n=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${n} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,r)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,relatedRecordsEnabled:!0,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:this.hasAttachmentsEnabled(this._layer),visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,i.attachmentsEnabled=this.hasAttachmentsEnabled(s),i.relatedRecordsEnabled=!0,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0;let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._table.attachmentsEnabled=this.hasAttachmentsEnabled(this._layer),this._table.relatedRecordsEnabled=!0,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(l);h&&h<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.rowHighlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let h=await this._queryRelatedFeatures(),r=[];h&&h[l]?.features&&(h[l].features.forEach(n=>{n.attributes&&r.push(n.attributes[e.objectIdField])}),i=r.length>0?r:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,h)=>{if(!h.hidden){let r=h?.name||h?.fieldName;r&&l.push(r.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(h=>h.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){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 _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await y(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s;this.mapInfo?.layerOptions?.layers.some(n=>n.id===e?(s=n,!0):!1);let a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(n=>n.fieldName));let h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(n=>s?.fields&&s.fields.indexOf(n)>-1):l.length>0?l:void 0,r;return t&&(r=t.reduce((n,d)=>{let _={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&n.push(_):l.length>0?l.indexOf(d.name)>-1&&n.push(_):n.push(_),n},[])),r?h?r?.sort(this._sortFields.bind(this,h)):r:[]}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};T("layer-table",m);export{m as LayerTable};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{b as e}from"./KPRXODCN.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
3
+ v1.0.0-next.20250623 */
4
+ import{b as e}from"./OTP76AFM.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250618 */
4
- import{a as s}from"./HR52TSAG.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import{a as i,b as a}from"./GQZJXEOJ.js";import"./4SH5J6QB.js";import"./FNC6JCNV.js";import{a as o}from"./HE52H5T7.js";import{a as r}from"./EI7IFIR5.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./H5NYMCNF.js";import"./ODI4ESEW.js";import"./6FURXZTX.js";import"./DRFV4N6J.js";import"./C6KHQNY4.js";import"./CXFSUXVU.js";import"./74YGVXNR.js";import"./PHNTRSWP.js";import"./CPPGUGUJ.js";import"./VTIGVKIS.js";import"./GUAZDGXF.js";import"./6YBZSHGK.js";import"./ND56OQM6.js";import"./XXZWFBWQ.js";import"./JZSLUW6H.js";import"./ZYS5MFJN.js";import"./RFO7GXOU.js";import"./UTVZOV34.js";import"./5JQOX6HV.js";import"./OEPIVYUB.js";import"./KPRXODCN.js";import"./TNT7W35H.js";import"./UQSOC5MG.js";import"./XZJE3HMV.js";import"./JLQQYQLO.js";import"./DKDDSSZO.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};
3
+ v1.0.0-next.20250623 */
4
+ import{a as s}from"./A4UEGUOI.js";import"./OAOS4ZIR.js";import"./JF2H7IOR.js";import"./SQ5ORY7B.js";import"./U2DAHKOK.js";import{a as i,b as a}from"./MBTMEXGV.js";import"./AGNYO5NN.js";import"./VS53IXEC.js";import{a as o}from"./MY7QR23T.js";import{a as r}from"./BQ5YXWHO.js";import"./ABFFIPZI.js";import"./ZEI7MQ2T.js";import"./RK7SEZWK.js";import"./BWFAFVTV.js";import"./PE5HS46T.js";import"./67625TTO.js";import"./X75UTGDT.js";import"./UGHVL53A.js";import"./I5KCXSTA.js";import"./VKMEAGVS.js";import"./XBPN363J.js";import"./W5AS4BP3.js";import"./A6E5LNUS.js";import"./F7ZC7T4X.js";import"./C6SEQOGV.js";import"./TKLKJ4FU.js";import"./6BMDZLSL.js";import"./IIFZUXCW.js";import"./M2GNMXHV.js";import"./CVZ4YBRE.js";import"./RSLSNASB.js";import"./M6DEGK3A.js";import"./OTP76AFM.js";import"./O74B4HIC.js";import"./UER5MEYT.js";import"./P25FGB5B.js";import"./7FW2E443.js";import"./LN76EWLU.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};