@esri/solutions-components 1.1.0-next.20250911.2 → 1.1.0-next.20250912

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 (569) hide show
  1. package/dist/cdn/{HWRTCJII.js → 22NHS44H.js} +2 -2
  2. package/dist/cdn/{3QPGK5W4.js → 2BTNXE5E.js} +2 -2
  3. package/dist/cdn/{HF4ZVPTQ.js → 2EZ3B6NW.js} +2 -2
  4. package/dist/cdn/{LZXSNZEG.js → 2FADKSFN.js} +2 -2
  5. package/dist/cdn/{UN5RJRL2.js → 2KLEPLUJ.js} +2 -2
  6. package/dist/cdn/{FMNW55YT.js → 2QWUHGUS.js} +2 -2
  7. package/dist/cdn/{B44OKJQC.js → 2TOTJ3E3.js} +2 -2
  8. package/dist/cdn/{UMX3ZFNX.js → 36I3XVQC.js} +2 -2
  9. package/dist/cdn/{NRRM4ZKX.js → 3Y3VAH7V.js} +2 -2
  10. package/dist/cdn/{LEA72LQK.js → 3Y73YYVM.js} +2 -2
  11. package/dist/cdn/{UL4K3TEK.js → 3ZQNMHSZ.js} +2 -2
  12. package/dist/cdn/{R6YCPKFS.js → 45GY5P5T.js} +2 -2
  13. package/dist/cdn/{SJVWZRHI.js → 4FM3MEKL.js} +2 -2
  14. package/dist/cdn/{JOJEPUUR.js → 4JT3EQZH.js} +2 -2
  15. package/dist/cdn/{HVQVHADU.js → 4NBS5SFD.js} +2 -2
  16. package/dist/cdn/{4WZM547K.js → 4S3C5FBV.js} +2 -2
  17. package/dist/cdn/{AIB25UJ5.js → 4T3GJUMG.js} +2 -2
  18. package/dist/cdn/{E5LWTUJM.js → 4THALZKF.js} +2 -2
  19. package/dist/cdn/{QZ5TADRQ.js → 4UT73IUO.js} +2 -2
  20. package/dist/cdn/{4NZC636H.js → 4WB4U3XP.js} +2 -2
  21. package/dist/cdn/{5W2FD4M5.js → 4YLAWAFP.js} +3 -3
  22. package/dist/cdn/{5PWMGYZG.js → 5BN3G24G.js} +1 -1
  23. package/dist/cdn/{LPL2LQ5B.js → 5C7G3GDI.js} +2 -2
  24. package/dist/cdn/{HK6RVKL5.js → 5GBPIBZP.js} +2 -2
  25. package/dist/cdn/{XKVQI6NZ.js → 5LWYRHCS.js} +2 -2
  26. package/dist/cdn/{652RXIXT.js → 5SADS5RA.js} +2 -2
  27. package/dist/cdn/{NBSBX63J.js → 5SJ56ZOZ.js} +2 -2
  28. package/dist/cdn/{LVIAV5QR.js → 5V3THDCW.js} +2 -2
  29. package/dist/cdn/{423XDLXY.js → 5YTRJSY3.js} +2 -2
  30. package/dist/cdn/{EVH6ZOGW.js → 63PUU7NX.js} +2 -2
  31. package/dist/cdn/{BU6CLZMJ.js → 64GW7HN7.js} +1 -1
  32. package/dist/cdn/{YX6ITC3Y.js → 6FKGI7RL.js} +2 -2
  33. package/dist/cdn/{SXRWHCQ4.js → 6HSB6WFX.js} +2 -2
  34. package/dist/cdn/{YMU6CVCY.js → 6IWWZQTS.js} +2 -2
  35. package/dist/cdn/{2GQADZED.js → 6SGFKF4K.js} +2 -2
  36. package/dist/cdn/{2L7PEA7U.js → 6X4Y5O36.js} +1 -1
  37. package/dist/cdn/{CF4XXPBR.js → 6Y2AUOBG.js} +2 -2
  38. package/dist/cdn/{U5FOT3KO.js → 736SKUVC.js} +2 -2
  39. package/dist/cdn/{EYWF2YAH.js → 75QHKBJ5.js} +2 -2
  40. package/dist/cdn/{GUDOYAJ4.js → 7B76HT6Q.js} +2 -2
  41. package/dist/cdn/{GBL74D5O.js → 7BXH4PIA.js} +2 -2
  42. package/dist/cdn/{HASJRYAV.js → 7CRQFG3W.js} +2 -2
  43. package/dist/cdn/{7B2LY6UV.js → 7DFD6TOA.js} +2 -2
  44. package/dist/cdn/{6AGEFCYB.js → 7E4RAL6T.js} +2 -2
  45. package/dist/cdn/{7MKK4E56.js → 7IPAKACD.js} +2 -2
  46. package/dist/cdn/{NRZOM7WH.js → 7JWJB34R.js} +2 -2
  47. package/dist/cdn/{AD4A4N4U.js → 7KBPMKIU.js} +2 -2
  48. package/dist/cdn/{DHLILBFE.js → 7QQ3DHLG.js} +2 -2
  49. package/dist/cdn/{6JIZ4XBP.js → 7VOCAQW6.js} +2 -2
  50. package/dist/cdn/{ZAQCMLF4.js → 7X7LYSOA.js} +2 -2
  51. package/dist/cdn/7XQ2KFXH.js +4 -0
  52. package/dist/cdn/{XMEJ6JVV.js → 7YJ7S7H3.js} +2 -2
  53. package/dist/cdn/{SJMKD3XJ.js → 7YPKXERY.js} +1 -1
  54. package/dist/cdn/{KE7B6EJ7.js → 7ZQPVXMS.js} +2 -2
  55. package/dist/cdn/{534QDBAQ.js → A7PPNASV.js} +2 -2
  56. package/dist/cdn/{YU573OZL.js → AB6HYXOD.js} +2 -2
  57. package/dist/cdn/{S4TIHVZI.js → ACJUTSLT.js} +2 -2
  58. package/dist/cdn/{L6ZAMSWA.js → ADVKMSGS.js} +2 -2
  59. package/dist/cdn/AFKENLH2.js +18 -0
  60. package/dist/cdn/{RX7FCRXL.js → AKVYWBY5.js} +2 -2
  61. package/dist/cdn/{2RMZE6TC.js → AMVIKLW2.js} +2 -2
  62. package/dist/cdn/{JCX7NDVY.js → AUU7NVPF.js} +2 -2
  63. package/dist/cdn/AZ67O6EA.js +18 -0
  64. package/dist/cdn/{SSJKYZYV.js → B4A5WIXX.js} +2 -2
  65. package/dist/cdn/{XXDDHD56.js → BBDXG4ZX.js} +2 -2
  66. package/dist/cdn/{PTTXJVNC.js → BBEYEW2M.js} +2 -2
  67. package/dist/cdn/{R6UKAFVG.js → BBX266QQ.js} +2 -2
  68. package/dist/cdn/{OQS7FURR.js → BEV4ZOLO.js} +2 -2
  69. package/dist/cdn/{AXK7QP5J.js → BHGKUVGN.js} +2 -2
  70. package/dist/cdn/{4WAESXJG.js → BKGJPNLJ.js} +2 -2
  71. package/dist/cdn/{PL2XGMQD.js → BRUDPTBE.js} +2 -2
  72. package/dist/cdn/{G763EUK4.js → BVB4QQRU.js} +3 -3
  73. package/dist/cdn/{3QUP66X5.js → C3NWFZS2.js} +2 -2
  74. package/dist/cdn/{7L4FXHUD.js → CF66RRXJ.js} +2 -2
  75. package/dist/cdn/{RSXSF7MJ.js → CGPSMMN3.js} +2 -2
  76. package/dist/cdn/{5V2TKTC3.js → CPKYYPVQ.js} +2 -2
  77. package/dist/cdn/{IOLMZX66.js → CVP6JG6Z.js} +2 -2
  78. package/dist/cdn/{MEZPIRT2.js → CW3JTNMY.js} +2 -2
  79. package/dist/cdn/{NTTQO4LF.js → D72MPDUR.js} +2 -2
  80. package/dist/cdn/D7NN4CGJ.js +4 -0
  81. package/dist/cdn/{MP2SEKNA.js → DBEPEYEY.js} +2 -2
  82. package/dist/cdn/DEL45LFD.js +4 -0
  83. package/dist/cdn/{ZGOLN2TZ.js → DK4H7THY.js} +2 -2
  84. package/dist/cdn/{R5S5NMIA.js → DNQAGLCG.js} +2 -2
  85. package/dist/cdn/{PCSVUFBN.js → DQ3ELJCK.js} +2 -2
  86. package/dist/cdn/{OF2TUOXE.js → DRUQLY33.js} +3 -3
  87. package/dist/cdn/{YAQDLWIH.js → DSU3UNRD.js} +2 -2
  88. package/dist/cdn/{ZF42G2JC.js → DTHPIOV7.js} +2 -2
  89. package/dist/cdn/DUYAXDCX.js +18 -0
  90. package/dist/cdn/{PRSEXVB4.js → DVGEFY2T.js} +2 -2
  91. package/dist/cdn/{U7CERHPP.js → DVJT2H4P.js} +6 -6
  92. package/dist/cdn/{BWJW6NOF.js → E4TJMKQE.js} +2 -2
  93. package/dist/cdn/{AR7S42BQ.js → E6LFU77X.js} +2 -2
  94. package/dist/cdn/{DG6M3ZU4.js → E7N3MN5B.js} +2 -2
  95. package/dist/cdn/{5F6FAGVF.js → EA5U4NZR.js} +2 -2
  96. package/dist/cdn/{FN75WUH2.js → EAJJXWYI.js} +2 -2
  97. package/dist/cdn/{2BTYUMLK.js → EBCLHIX4.js} +2 -2
  98. package/dist/cdn/{KQXXZPWB.js → EHPYMQPA.js} +1 -1
  99. package/dist/cdn/{X63Q5IVG.js → EIEAYHGM.js} +2 -2
  100. package/dist/cdn/{V3AZDL3Q.js → EKAM55TY.js} +2 -2
  101. package/dist/cdn/{SI2RCG3D.js → EOEG3U2H.js} +2 -2
  102. package/dist/cdn/{EIJFIHHL.js → EOREJCZG.js} +2 -2
  103. package/dist/cdn/{2DBFWM3J.js → ER7ZFU6X.js} +2 -2
  104. package/dist/cdn/{AWMWRRNB.js → ESWWFOAB.js} +2 -2
  105. package/dist/cdn/{WG2RTAQY.js → F6AXCS3G.js} +2 -2
  106. package/dist/cdn/{YDEVYMZ2.js → F6SJQYK2.js} +1 -1
  107. package/dist/cdn/{BGUPQWXL.js → FAICAYXY.js} +1 -1
  108. package/dist/cdn/{6HEFYILX.js → FAN4TIEW.js} +1 -1
  109. package/dist/cdn/{SNRZBSNS.js → FIA4I6YM.js} +2 -2
  110. package/dist/cdn/{WF3JXYL3.js → FIEQPNBQ.js} +2 -2
  111. package/dist/cdn/{OWZPVOBY.js → FNQA4XRU.js} +1 -1
  112. package/dist/cdn/{7F3GV2VG.js → FPYNQT4G.js} +2 -2
  113. package/dist/cdn/{RKCK7RBY.js → FUOFENR5.js} +2 -2
  114. package/dist/cdn/{7NH4HSMI.js → FVOKZKUP.js} +2 -2
  115. package/dist/cdn/{MW3KDKSA.js → FVTYMUC6.js} +2 -2
  116. package/dist/cdn/{DGQPGBON.js → FYTVEK3E.js} +2 -2
  117. package/dist/cdn/{4GLVTBLS.js → FZ25LBIW.js} +2 -2
  118. package/dist/cdn/{DSTSUTNU.js → G4CGZF42.js} +2 -2
  119. package/dist/cdn/{B3TNANEX.js → GA6QSRQK.js} +2 -2
  120. package/dist/cdn/{KLRHMKZS.js → GGUHKKOB.js} +2 -2
  121. package/dist/cdn/{K7M5CHTQ.js → GI2MWQGR.js} +1 -1
  122. package/dist/cdn/{VP7WLWWE.js → GIRXHUEO.js} +3 -3
  123. package/dist/cdn/{P4OEWYQH.js → GSBQHEWB.js} +2 -2
  124. package/dist/cdn/{YKFCUCEU.js → GU4JVRBJ.js} +2 -2
  125. package/dist/cdn/{LOYE4TGK.js → GUFFPOLF.js} +2 -2
  126. package/dist/cdn/{JWBPC5LQ.js → GWNBLUBZ.js} +2 -2
  127. package/dist/cdn/{AWZ2L6P4.js → GXQ3W7XY.js} +2 -2
  128. package/dist/cdn/{WFZT3XAI.js → GZBZNA6S.js} +2 -2
  129. package/dist/cdn/{SCVZQMZ5.js → GZI4ZO7D.js} +2 -2
  130. package/dist/cdn/{C7LU5E2N.js → H2MQDCE5.js} +2 -2
  131. package/dist/cdn/{AS4N6LTM.js → H2Q4LLBT.js} +2 -2
  132. package/dist/cdn/{YLSDC4BQ.js → H3VFZQEE.js} +2 -2
  133. package/dist/cdn/{ZHBZCVEI.js → HALOKDRQ.js} +2 -2
  134. package/dist/cdn/{IF7UHJAR.js → HH3PXRPH.js} +1 -1
  135. package/dist/cdn/{JU4FWB4Y.js → HK7HP64C.js} +2 -2
  136. package/dist/cdn/{ZFMWIEGQ.js → HMN3YVEG.js} +1 -1
  137. package/dist/cdn/{ZVEIDXJX.js → HQYAU6FI.js} +2 -2
  138. package/dist/cdn/{QOAI6EA2.js → HRR6TK2F.js} +2 -2
  139. package/dist/cdn/{O724AAAL.js → HVSSPMAF.js} +1 -1
  140. package/dist/cdn/{NLAFKJ2E.js → HZNM5O4N.js} +2 -2
  141. package/dist/cdn/{7EYIHL3E.js → IJ3MMFCI.js} +2 -2
  142. package/dist/cdn/{ET7BFDTD.js → IRZFW6LQ.js} +1 -1
  143. package/dist/cdn/{W57M64Z5.js → IV2XVHOG.js} +2 -2
  144. package/dist/cdn/IVIIR22L.js +4 -0
  145. package/dist/cdn/{GGUV3WL7.js → J3OVUIXL.js} +2 -2
  146. package/dist/cdn/{FUJF2Z35.js → J3YTI6XE.js} +2 -2
  147. package/dist/cdn/{XTWIZPJI.js → JHJY7OAV.js} +2 -2
  148. package/dist/cdn/{CTUSQXMB.js → JJZDDJ47.js} +2 -2
  149. package/dist/cdn/{5MDH25UU.js → JKV54XCC.js} +1 -1
  150. package/dist/cdn/{UQFPIFA7.js → JLNJ3WZX.js} +2 -2
  151. package/dist/cdn/JNJEXLVV.js +4 -0
  152. package/dist/cdn/{LXTE5TEF.js → JNOF2OWL.js} +2 -2
  153. package/dist/cdn/{X4FO5WY5.js → JOCYM5CR.js} +2 -2
  154. package/dist/cdn/{FVW6IAZX.js → JTMIZ77S.js} +2 -2
  155. package/dist/cdn/{6EAV5JJ4.js → JY777NZN.js} +2 -2
  156. package/dist/cdn/{2C7SCE4V.js → JYEAMIYY.js} +2 -2
  157. package/dist/cdn/K2UIOHIB.js +4 -0
  158. package/dist/cdn/K3FDIGWM.js +4 -0
  159. package/dist/cdn/{OFLFBFEA.js → KA5TX7WG.js} +2 -2
  160. package/dist/cdn/{4G6R7HJV.js → KBKIL32T.js} +2 -2
  161. package/dist/cdn/{J2RSNIGV.js → KIB4QCMF.js} +2 -2
  162. package/dist/cdn/{7JJ55RBG.js → KMODBXK2.js} +2 -2
  163. package/dist/cdn/{NFIBYZAV.js → KOJ5RMMY.js} +2 -2
  164. package/dist/cdn/{O6UST32T.js → KOLDWQCD.js} +2 -2
  165. package/dist/cdn/{KNPOCWWF.js → KRZNPHDE.js} +2 -2
  166. package/dist/cdn/{RYE2NS44.js → KWCW33YI.js} +1 -1
  167. package/dist/cdn/{SCY6BW5I.js → KYHFLAUO.js} +2 -2
  168. package/dist/cdn/{XEB4CP6T.js → KYWUHOR3.js} +2 -2
  169. package/dist/cdn/{QGW2FJDB.js → KZN645S3.js} +2 -2
  170. package/dist/cdn/{QZLIH56L.js → L2G2B77M.js} +2 -2
  171. package/dist/cdn/{ZYLLH7BH.js → L5PYE2FI.js} +2 -2
  172. package/dist/cdn/{TD3XU55Q.js → L7INMJXZ.js} +1 -1
  173. package/dist/cdn/{YH5LZKSP.js → LBP43MQ6.js} +1 -1
  174. package/dist/cdn/{KJVRMIBD.js → LGRFJTPU.js} +2 -2
  175. package/dist/cdn/{Y52HMXKU.js → LIGXWQA2.js} +2 -2
  176. package/dist/cdn/{SCMDZPD5.js → LJ5JNIIG.js} +2 -2
  177. package/dist/cdn/{OKIDHS5M.js → LLCPSWPE.js} +2 -2
  178. package/dist/cdn/{JQJTOKRA.js → LNBCZ5HJ.js} +2 -2
  179. package/dist/cdn/{EXUFMUTQ.js → LSCHTTTQ.js} +2 -2
  180. package/dist/cdn/{P7YRW4KH.js → LSOCKX4S.js} +2 -2
  181. package/dist/cdn/{S4SYUQWF.js → LW6YJGZO.js} +2 -2
  182. package/dist/cdn/{BE4VGAQ6.js → LWNF2QWG.js} +2 -2
  183. package/dist/cdn/{IABTIHGI.js → M3P2NAX6.js} +2 -2
  184. package/dist/cdn/{M33KJNWN.js → MDGBZAHP.js} +2 -2
  185. package/dist/cdn/{625F6UTS.js → MH6Z2VRR.js} +2 -2
  186. package/dist/cdn/{4Q57777R.js → MJ4XJN7M.js} +1 -1
  187. package/dist/cdn/{IYIXMAGT.js → MM5ESRQ5.js} +2 -2
  188. package/dist/cdn/{V5WZRUNS.js → MR3RCMKN.js} +2 -2
  189. package/dist/cdn/{M7CHTU5E.js → MXTMJ2VV.js} +2 -2
  190. package/dist/cdn/{GB6MUB2B.js → MZHE5XEH.js} +2 -2
  191. package/dist/cdn/{LSBH2RQL.js → MZYH35AQ.js} +2 -2
  192. package/dist/cdn/{SW6PCDQR.js → N2C7AXIX.js} +2 -2
  193. package/dist/cdn/{ZMNVUH2F.js → N2XRLJAG.js} +2 -2
  194. package/dist/cdn/{VNIUIIFM.js → N4YLRLD7.js} +2 -2
  195. package/dist/cdn/{TCFCLE53.js → N5UOXTC4.js} +2 -2
  196. package/dist/cdn/{XGGTGACU.js → N6EPWKMS.js} +2 -2
  197. package/dist/cdn/{MRIJEWVG.js → N6K6TCGJ.js} +2 -2
  198. package/dist/cdn/{C5X2ZRMN.js → N7C3LETR.js} +2 -2
  199. package/dist/cdn/{S3T6DKUX.js → N7WLNRYY.js} +2 -2
  200. package/dist/cdn/{GUZFVIC6.js → NCRYOMBL.js} +2 -2
  201. package/dist/cdn/{HM7C4ICO.js → NEUG37HQ.js} +2 -2
  202. package/dist/cdn/{MCPYVHWV.js → NFAJNT2D.js} +2 -2
  203. package/dist/cdn/{V7R32KZG.js → NFANCV5U.js} +1 -1
  204. package/dist/cdn/{YVSHOV3G.js → NFQDTPG5.js} +3 -3
  205. package/dist/cdn/{TEVDJQRA.js → NFTPD6FN.js} +1 -1
  206. package/dist/cdn/{4EIOWWRF.js → NJIJX36O.js} +2 -2
  207. package/dist/cdn/{DTLIRFON.js → NQBYOAM2.js} +2 -2
  208. package/dist/cdn/{4FXTY4UZ.js → NR4JQXSI.js} +1 -1
  209. package/dist/cdn/{O5SXHKPM.js → NWPCFSF2.js} +2 -2
  210. package/dist/cdn/{F2BWJE75.js → NZSNBU4F.js} +2 -2
  211. package/dist/cdn/{4LG3PE5J.js → OA5RHTML.js} +1 -1
  212. package/dist/cdn/{YPTI53FA.js → OCICPG4K.js} +2 -2
  213. package/dist/cdn/{PEFVFAUS.js → OESAI56N.js} +2 -2
  214. package/dist/cdn/{DJIVAYXP.js → OH4GGL3L.js} +4 -4
  215. package/dist/cdn/{VQ5K2ZRH.js → OP7ETUIC.js} +2 -2
  216. package/dist/cdn/{VKWASFD4.js → OTWGJFBW.js} +2 -2
  217. package/dist/cdn/{4XEBKLU2.js → OXKT3KOC.js} +2 -2
  218. package/dist/cdn/{3VW7GINP.js → OXLDC3MO.js} +2 -2
  219. package/dist/cdn/{XCAWHB7I.js → P27PCPFE.js} +1 -1
  220. package/dist/cdn/{3H2ONS2E.js → P3LB5MOJ.js} +2 -2
  221. package/dist/cdn/P6WYHICU.js +4 -0
  222. package/dist/cdn/{GWPT2ICC.js → PBBHSHEB.js} +2 -2
  223. package/dist/cdn/PBUD7XAX.js +18 -0
  224. package/dist/cdn/{IVUTQ2WB.js → PGHMNNXU.js} +2 -2
  225. package/dist/cdn/{HGB2ZKH5.js → PJQQN64C.js} +1 -1
  226. package/dist/cdn/{SHYRK7HE.js → PLWLLMA4.js} +1 -1
  227. package/dist/cdn/{5FYALSB7.js → PNIEPK5E.js} +2 -2
  228. package/dist/cdn/{Y4M5C6YU.js → PP2UZNKA.js} +2 -2
  229. package/dist/cdn/{UJRSZU3W.js → PWTJDEOO.js} +2 -2
  230. package/dist/cdn/{23T25PXM.js → PZYSY6A6.js} +2 -2
  231. package/dist/cdn/{A7KL7OUO.js → Q2UDMSEM.js} +2 -2
  232. package/dist/cdn/QBVY5MLK.js +4 -0
  233. package/dist/cdn/{HAGL5MC2.js → QE7VCOQU.js} +2 -2
  234. package/dist/cdn/{HF2OV5H6.js → QFE5D42Y.js} +2 -2
  235. package/dist/cdn/{XXR767KI.js → QFWD3SUV.js} +1 -1
  236. package/dist/cdn/{6D4HQ7M2.js → QGUEVXAO.js} +1 -1
  237. package/dist/cdn/{AYKWMJXC.js → QHYU3REE.js} +2 -2
  238. package/dist/cdn/{UQY4RWWT.js → QKTOP2WE.js} +2 -2
  239. package/dist/cdn/{J7O5VJDT.js → QMXL3OUJ.js} +1 -1
  240. package/dist/cdn/{JYVVTI7Y.js → QPHQ4EGC.js} +2 -2
  241. package/dist/cdn/{6G2PI2MU.js → QZEJT5X5.js} +2 -2
  242. package/dist/cdn/{HAG4JRWN.js → R4YKJT6I.js} +2 -2
  243. package/dist/cdn/{YCRRPNZJ.js → R64ROPHB.js} +2 -2
  244. package/dist/cdn/{QZ5JMA34.js → R7DP7XBV.js} +2 -2
  245. package/dist/cdn/{MNG4ZG3D.js → RAFLK4YA.js} +2 -2
  246. package/dist/cdn/{BGLA6JTF.js → RANTD6SP.js} +1 -1
  247. package/dist/cdn/{BHPA7WHD.js → RMS7TGJG.js} +2 -2
  248. package/dist/cdn/{ZC2BQBII.js → RMTMXUZ3.js} +2 -2
  249. package/dist/cdn/{A7UXYWNK.js → RNPBRLOJ.js} +2 -2
  250. package/dist/cdn/RNWSMEJ5.js +18 -0
  251. package/dist/cdn/{ST2OKDZ4.js → RQZR3OQY.js} +2 -2
  252. package/dist/cdn/{TGO42WNV.js → RZ6BBTVI.js} +2 -2
  253. package/dist/cdn/{YZU3OLOE.js → S2ZUB6RK.js} +2 -2
  254. package/dist/cdn/{ND2PYDKI.js → S73UPA5J.js} +1 -1
  255. package/dist/cdn/{MNBSCGTH.js → S7FIE2NC.js} +2 -2
  256. package/dist/cdn/{VUPSMPY2.js → SA4ETBXV.js} +2 -2
  257. package/dist/cdn/{XLVGX5QG.js → SBODRLD5.js} +2 -2
  258. package/dist/cdn/{V3SHEJRF.js → SBONKG7V.js} +2 -2
  259. package/dist/cdn/{PRO5YTTB.js → SGYHA7EM.js} +2 -2
  260. package/dist/cdn/{FDUGCC34.js → SH7RGXFE.js} +2 -2
  261. package/dist/cdn/{TJDQLK7G.js → SIYIB7F4.js} +2 -2
  262. package/dist/cdn/{L5UT6SUW.js → SPALROTD.js} +1 -1
  263. package/dist/cdn/{3V7CDAW4.js → SVC6VTFC.js} +2 -2
  264. package/dist/cdn/{QLKWPXJR.js → SVH2W7CC.js} +2 -2
  265. package/dist/cdn/{NEJI5QW6.js → SY3TQELH.js} +2 -2
  266. package/dist/cdn/{7QDQDNIG.js → SYLSRQZ3.js} +2 -2
  267. package/dist/cdn/T5O3WHR3.js +18 -0
  268. package/dist/cdn/{IAH236ZP.js → T624VC3R.js} +2 -2
  269. package/dist/cdn/{N3EJWHNC.js → TBGFTTBK.js} +2 -2
  270. package/dist/cdn/{FQIN5IN3.js → TCOHF4RJ.js} +2 -2
  271. package/dist/cdn/{SPZFZLTC.js → TFYKYB6M.js} +1 -1
  272. package/dist/cdn/{TCOUPEPD.js → TQ3T4PNM.js} +2 -2
  273. package/dist/cdn/{LOFOYFYB.js → TTBUF52P.js} +2 -2
  274. package/dist/cdn/{4FKMIMIE.js → TY4UTVRW.js} +1 -1
  275. package/dist/cdn/{DUIBMXZM.js → TZB4F2OT.js} +2 -2
  276. package/dist/cdn/{5IUFSIDX.js → U564T7N7.js} +2 -2
  277. package/dist/cdn/{CC2IBTVB.js → U5ZQ5MC6.js} +1 -1
  278. package/dist/cdn/{KVUHCDCE.js → UBWOJDQP.js} +2 -2
  279. package/dist/cdn/{WSRA6XTH.js → UG22S3XR.js} +1 -1
  280. package/dist/cdn/UIFQUSC7.js +4 -0
  281. package/dist/cdn/{K4IX2BB7.js → UJ4IYUID.js} +2 -2
  282. package/dist/cdn/{5EMTFT4K.js → UKL5GIEW.js} +2 -2
  283. package/dist/cdn/{LYTMNBSS.js → UNRKLW2N.js} +2 -2
  284. package/dist/cdn/{RH5HB2BT.js → USW7JQLF.js} +2 -2
  285. package/dist/cdn/{ZHIF66KC.js → UUBQWD6O.js} +2 -2
  286. package/dist/cdn/{OB4UZUS3.js → UXCCY2OW.js} +2 -2
  287. package/dist/cdn/{KWNHBLCT.js → UYTS76LR.js} +2 -2
  288. package/dist/cdn/{Y435VSDF.js → V32AVSYA.js} +2 -2
  289. package/dist/cdn/{ECCUBDV6.js → V4NHBHGB.js} +2 -2
  290. package/dist/cdn/{EHOYB4HE.js → VFKHFSTM.js} +2 -2
  291. package/dist/cdn/{ATB53ZKP.js → VL2S4QLX.js} +2 -2
  292. package/dist/cdn/{DWTJ4XUX.js → VS4SZDCB.js} +2 -2
  293. package/dist/cdn/{L36IZTJY.js → VUTWXMTS.js} +2 -2
  294. package/dist/cdn/{46TLWAGR.js → VYNRPCPD.js} +2 -2
  295. package/dist/cdn/{JRCPPBWZ.js → W3IU2UYU.js} +2 -2
  296. package/dist/cdn/{IDITN77F.js → W5TR47I4.js} +1 -1
  297. package/dist/cdn/{YIW2NPTV.js → W62PXKPO.js} +2 -2
  298. package/dist/cdn/{SFDBXOOG.js → W7BIRLPE.js} +2 -2
  299. package/dist/cdn/{VSN3MCJF.js → W7LCSF2U.js} +2 -2
  300. package/dist/cdn/{ZZ6EPPLQ.js → WADEJTFW.js} +2 -2
  301. package/dist/cdn/{RUUJR35M.js → WBH2HJ6U.js} +1 -1
  302. package/dist/cdn/{2NFSMO4K.js → WEL2BELQ.js} +2 -2
  303. package/dist/cdn/{VJR7P6BV.js → WEVVTUML.js} +2 -2
  304. package/dist/cdn/WI4EY6NX.js +4 -0
  305. package/dist/cdn/{SIOGNWC6.js → WI5JUSJA.js} +2 -2
  306. package/dist/cdn/{DIPB3EE3.js → WNEBRTSQ.js} +2 -2
  307. package/dist/cdn/{ZEDQ72KB.js → WRFDQZW2.js} +2 -2
  308. package/dist/cdn/{ZTZWSNFW.js → WSITM52D.js} +2 -2
  309. package/dist/cdn/WU6NQE2T.js +4 -0
  310. package/dist/cdn/{S4J4KHRF.js → WUMGPEDF.js} +2 -2
  311. package/dist/cdn/{DBLPNJCC.js → WXN2OK4O.js} +2 -2
  312. package/dist/cdn/{PFRBRXPQ.js → WYXCP7DB.js} +2 -2
  313. package/dist/cdn/{WRBC72YE.js → X36PJ3UU.js} +2 -2
  314. package/dist/cdn/{OZYNCKYO.js → X3BIFSYP.js} +2 -2
  315. package/dist/cdn/{3QT7BIV3.js → X3TDFGM7.js} +2 -2
  316. package/dist/cdn/{NXOVSG5D.js → XHLYUCAX.js} +2 -2
  317. package/dist/cdn/{PYTMYLTL.js → XHXUP3IT.js} +2 -2
  318. package/dist/cdn/{YMO5WE7P.js → XIDEPZ2F.js} +2 -2
  319. package/dist/cdn/{KGCOTPXS.js → XNW7NMBB.js} +2 -2
  320. package/dist/cdn/{QQGMGBKF.js → XVR355PR.js} +1 -1
  321. package/dist/cdn/{AWMXLOE7.js → XX76RB6E.js} +2 -2
  322. package/dist/cdn/{A7EIQKXY.js → Y56RVBHY.js} +2 -2
  323. package/dist/cdn/{L3QYFMKB.js → YANJVROW.js} +2 -2
  324. package/dist/cdn/{VCF5ECOP.js → YAWCM4GL.js} +2 -2
  325. package/dist/cdn/{AJIMU7O4.js → YLPOOAML.js} +2 -2
  326. package/dist/cdn/{FH4WJC25.js → YLRRM4KK.js} +2 -2
  327. package/dist/cdn/{M5DODFXN.js → YP35GEEP.js} +1 -1
  328. package/dist/cdn/{FLYG2DDR.js → YPLCL5UV.js} +2 -2
  329. package/dist/cdn/{GQCWPPLN.js → YW3BVJM6.js} +2 -2
  330. package/dist/cdn/{7F63WMPE.js → YWDOUSHD.js} +2 -2
  331. package/dist/cdn/{DVAGFDDK.js → ZDU63MEL.js} +2 -2
  332. package/dist/cdn/{ARM3EG66.js → ZEJN6UXJ.js} +2 -2
  333. package/dist/cdn/{GAI6NOBN.js → ZGKA7TIZ.js} +2 -2
  334. package/dist/cdn/{NHGKXIPR.js → ZHYQGZ3Z.js} +2 -2
  335. package/dist/cdn/{P4ODMYQB.js → ZLDXIKM2.js} +2 -2
  336. package/dist/cdn/{DRDHC6JP.js → ZMLRWCTT.js} +2 -2
  337. package/dist/cdn/{X377VEMR.js → ZN72M6JO.js} +2 -2
  338. package/dist/cdn/{5YLPXC3Y.js → ZTLTSSLD.js} +2 -2
  339. package/dist/cdn/{VNPSHP4E.js → ZVKWIHK6.js} +2 -2
  340. package/dist/cdn/{QO6TTYYN.js → ZYHDFN4A.js} +2 -2
  341. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ar.json +1 -1
  342. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bg.json +1 -1
  343. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bs.json +1 -1
  344. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ca.json +1 -1
  345. package/dist/cdn/assets/solution-deployed-card/t9n/messages.cs.json +1 -1
  346. package/dist/cdn/assets/solution-deployed-card/t9n/messages.da.json +1 -1
  347. package/dist/cdn/assets/solution-deployed-card/t9n/messages.de.json +1 -1
  348. package/dist/cdn/assets/solution-deployed-card/t9n/messages.el.json +1 -1
  349. package/dist/cdn/assets/solution-deployed-card/t9n/messages.es.json +1 -1
  350. package/dist/cdn/assets/solution-deployed-card/t9n/messages.et.json +1 -1
  351. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fi.json +1 -1
  352. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fr.json +1 -1
  353. package/dist/cdn/assets/solution-deployed-card/t9n/messages.he.json +1 -1
  354. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hr.json +1 -1
  355. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hu.json +1 -1
  356. package/dist/cdn/assets/solution-deployed-card/t9n/messages.id.json +1 -1
  357. package/dist/cdn/assets/solution-deployed-card/t9n/messages.it.json +1 -1
  358. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ja.json +1 -1
  359. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ko.json +1 -1
  360. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lt.json +1 -1
  361. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lv.json +1 -1
  362. package/dist/cdn/assets/solution-deployed-card/t9n/messages.nl.json +1 -1
  363. package/dist/cdn/assets/solution-deployed-card/t9n/messages.no.json +1 -1
  364. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pl.json +1 -1
  365. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-BR.json +1 -1
  366. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-PT.json +1 -1
  367. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ro.json +1 -1
  368. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ru.json +1 -1
  369. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sk.json +1 -1
  370. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sl.json +1 -1
  371. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sr.json +1 -1
  372. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sv.json +1 -1
  373. package/dist/cdn/assets/solution-deployed-card/t9n/messages.th.json +1 -1
  374. package/dist/cdn/assets/solution-deployed-card/t9n/messages.tr.json +1 -1
  375. package/dist/cdn/assets/solution-deployed-card/t9n/messages.uk.json +1 -1
  376. package/dist/cdn/assets/solution-deployed-card/t9n/messages.vi.json +1 -1
  377. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-CN.json +1 -1
  378. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-HK.json +1 -1
  379. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-TW.json +1 -1
  380. package/dist/cdn/index.js +2 -2
  381. package/dist/chunks/Auth.js +1 -1
  382. package/dist/chunks/CardsFetcher.js +1 -1
  383. package/dist/chunks/appConfig.js +1 -1
  384. package/dist/chunks/cardFetchingUtils.js +1 -1
  385. package/dist/chunks/cardsHelpers.js +1 -1
  386. package/dist/chunks/common.js +1 -1
  387. package/dist/chunks/deployAppContexts.js +1 -1
  388. package/dist/chunks/downloadUtils.js +1 -1
  389. package/dist/chunks/getItemIcon.js +1 -1
  390. package/dist/chunks/helpers.js +1 -1
  391. package/dist/chunks/interfaces.js +1 -1
  392. package/dist/chunks/loadModules.js +1 -1
  393. package/dist/chunks/mapViewUtils.js +1 -1
  394. package/dist/chunks/pciUtils.js +1 -1
  395. package/dist/chunks/popupUtils.js +1 -1
  396. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  397. package/dist/chunks/privilegeUtils.js +1 -1
  398. package/dist/chunks/publicNotificationContext.js +1 -1
  399. package/dist/chunks/queryUtils.js +1 -1
  400. package/dist/chunks/runtime.js +1 -1
  401. package/dist/chunks/solution-store.js +318 -321
  402. package/dist/chunks/templates.js +1 -1
  403. package/dist/chunks/useT9n.js +1 -1
  404. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +0 -1
  405. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  406. package/dist/components/basemap-gallery/customElement.d.ts +0 -7
  407. package/dist/components/basemap-gallery/customElement.js +1 -1
  408. package/dist/components/buffer-tools/customElement.d.ts +0 -45
  409. package/dist/components/buffer-tools/customElement.js +1 -1
  410. package/dist/components/card-manager/customElement.d.ts +0 -49
  411. package/dist/components/card-manager/customElement.js +1 -1
  412. package/dist/components/consent-manager/customElement.d.ts +0 -33
  413. package/dist/components/consent-manager/customElement.js +1 -1
  414. package/dist/components/create-feature/customElement.d.ts +0 -98
  415. package/dist/components/create-feature/customElement.js +1 -1
  416. package/dist/components/create-related-feature/customElement.d.ts +0 -24
  417. package/dist/components/create-related-feature/customElement.js +1 -1
  418. package/dist/components/crowdsource-manager/customElement.d.ts +0 -191
  419. package/dist/components/crowdsource-manager/customElement.js +1 -1
  420. package/dist/components/crowdsource-reporter/customElement.d.ts +0 -183
  421. package/dist/components/crowdsource-reporter/customElement.js +48 -48
  422. package/dist/components/deduct-calculator/customElement.d.ts +0 -1
  423. package/dist/components/deduct-calculator/customElement.js +1 -1
  424. package/dist/components/delete-button/customElement.d.ts +0 -25
  425. package/dist/components/delete-button/customElement.js +1 -1
  426. package/dist/components/delete-dialog/customElement.d.ts +0 -9
  427. package/dist/components/delete-dialog/customElement.js +1 -1
  428. package/dist/components/edit-card/customElement.d.ts +0 -34
  429. package/dist/components/edit-card/customElement.js +1 -1
  430. package/dist/components/feature-details/customElement.d.ts +0 -33
  431. package/dist/components/feature-details/customElement.js +1 -1
  432. package/dist/components/feature-list/customElement.d.ts +0 -77
  433. package/dist/components/feature-list/customElement.js +101 -90
  434. package/dist/components/field-selection/customElement.d.ts +0 -3
  435. package/dist/components/field-selection/customElement.js +64 -98
  436. package/dist/components/floor-filter/customElement.d.ts +0 -14
  437. package/dist/components/floor-filter/customElement.js +1 -1
  438. package/dist/components/info-card/customElement.d.ts +0 -64
  439. package/dist/components/info-card/customElement.js +5 -2
  440. package/dist/components/json-editor/customElement.d.ts +0 -49
  441. package/dist/components/json-editor/customElement.js +1 -1
  442. package/dist/components/layer-list/customElement.d.ts +0 -32
  443. package/dist/components/layer-list/customElement.js +8 -5
  444. package/dist/components/layer-table/customElement.d.ts +0 -98
  445. package/dist/components/layer-table/customElement.js +1 -2
  446. package/dist/components/map-card/customElement.d.ts +0 -155
  447. package/dist/components/map-card/customElement.js +1 -1
  448. package/dist/components/map-draw-tools/customElement.d.ts +0 -47
  449. package/dist/components/map-draw-tools/customElement.js +1 -1
  450. package/dist/components/map-fullscreen/customElement.d.ts +0 -3
  451. package/dist/components/map-fullscreen/customElement.js +1 -1
  452. package/dist/components/map-layer-picker/customElement.d.ts +0 -84
  453. package/dist/components/map-layer-picker/customElement.js +3 -3
  454. package/dist/components/map-legend/customElement.d.ts +0 -6
  455. package/dist/components/map-legend/customElement.js +1 -1
  456. package/dist/components/map-picker/customElement.d.ts +0 -30
  457. package/dist/components/map-picker/customElement.js +1 -1
  458. package/dist/components/map-search/customElement.d.ts +0 -19
  459. package/dist/components/map-search/customElement.js +1 -1
  460. package/dist/components/map-select-tools/customElement.d.ts +0 -83
  461. package/dist/components/map-select-tools/customElement.js +1 -1
  462. package/dist/components/map-tools/customElement.d.ts +0 -113
  463. package/dist/components/map-tools/customElement.js +1 -1
  464. package/dist/components/pci-calculator/customElement.js +1 -1
  465. package/dist/components/pdf-download/customElement.d.ts +0 -25
  466. package/dist/components/pdf-download/customElement.js +1 -1
  467. package/dist/components/public-notification/customElement.d.ts +0 -113
  468. package/dist/components/public-notification/customElement.js +1 -1
  469. package/dist/components/refine-selection/customElement.d.ts +0 -12
  470. package/dist/components/refine-selection/customElement.js +1 -1
  471. package/dist/components/selection-tool/customElement.d.ts +0 -14
  472. package/dist/components/selection-tool/customElement.js +1 -1
  473. package/dist/components/solution-article-card/customElement.d.ts +0 -26
  474. package/dist/components/solution-article-card/customElement.js +1 -1
  475. package/dist/components/solution-configuration/customElement.d.ts +0 -12
  476. package/dist/components/solution-configuration/customElement.js +1 -1
  477. package/dist/components/solution-configure-dialog/customElement.d.ts +0 -17
  478. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  479. package/dist/components/solution-configure-titles/customElement.d.ts +0 -9
  480. package/dist/components/solution-configure-titles/customElement.js +1 -1
  481. package/dist/components/solution-contents/customElement.d.ts +0 -14
  482. package/dist/components/solution-contents/customElement.js +1 -1
  483. package/dist/components/solution-delete-dialog/customElement.d.ts +0 -15
  484. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  485. package/dist/components/solution-deploy-dialog/customElement.d.ts +0 -22
  486. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  487. package/dist/components/solution-deployed-card/customElement.d.ts +0 -26
  488. package/dist/components/solution-deployed-card/customElement.js +1 -1
  489. package/dist/components/solution-deploying-dialog/customElement.d.ts +0 -15
  490. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  491. package/dist/components/solution-details-card/customElement.d.ts +0 -2
  492. package/dist/components/solution-details-card/customElement.js +1 -1
  493. package/dist/components/solution-details-panel/customElement.d.ts +0 -4
  494. package/dist/components/solution-details-panel/customElement.js +22 -19
  495. package/dist/components/solution-item/customElement.d.ts +0 -16
  496. package/dist/components/solution-item/customElement.js +1 -1
  497. package/dist/components/solution-item-accordion/customElement.d.ts +0 -36
  498. package/dist/components/solution-item-accordion/customElement.js +1 -1
  499. package/dist/components/solution-item-details/customElement.d.ts +0 -5
  500. package/dist/components/solution-item-details/customElement.js +1 -1
  501. package/dist/components/solution-item-diagram/customElement.d.ts +0 -2
  502. package/dist/components/solution-item-diagram/customElement.js +1 -1
  503. package/dist/components/solution-item-icon/customElement.d.ts +0 -11
  504. package/dist/components/solution-item-icon/customElement.js +1 -1
  505. package/dist/components/solution-item-sharing/customElement.d.ts +0 -5
  506. package/dist/components/solution-item-sharing/customElement.js +1 -1
  507. package/dist/components/solution-organization-variables/customElement.d.ts +0 -5
  508. package/dist/components/solution-organization-variables/customElement.js +1 -1
  509. package/dist/components/solution-resource-item/customElement.d.ts +0 -7
  510. package/dist/components/solution-resource-item/customElement.js +1 -1
  511. package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -8
  512. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  513. package/dist/components/solution-social-share/customElement.d.ts +0 -92
  514. package/dist/components/solution-social-share/customElement.js +1 -1
  515. package/dist/components/solution-spatial-ref/customElement.d.ts +0 -20
  516. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  517. package/dist/components/solution-template-data/customElement.d.ts +0 -22
  518. package/dist/components/solution-template-data/customElement.js +1 -1
  519. package/dist/components/solution-variables/customElement.d.ts +0 -5
  520. package/dist/components/solution-variables/customElement.js +1 -1
  521. package/dist/components/solutions-all-panel/customElement.d.ts +0 -37
  522. package/dist/components/solutions-all-panel/customElement.js +38 -34
  523. package/dist/components/solutions-all-shell/customElement.d.ts +0 -13
  524. package/dist/components/solutions-all-shell/customElement.js +23 -20
  525. package/dist/components/solutions-article-panel/customElement.d.ts +0 -10
  526. package/dist/components/solutions-article-panel/customElement.js +1 -1
  527. package/dist/components/solutions-articles/customElement.d.ts +0 -1
  528. package/dist/components/solutions-articles/customElement.js +1 -1
  529. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  530. package/dist/components/solutions-deploy-app/customElement.d.ts +0 -37
  531. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  532. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +0 -35
  533. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  534. package/dist/components/solutions-deployed-panel/customElement.d.ts +0 -38
  535. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  536. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -13
  537. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  538. package/dist/components/solutions-filter-panel/customElement.d.ts +0 -26
  539. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  540. package/dist/components/spatial-ref/customElement.d.ts +0 -29
  541. package/dist/components/spatial-ref/customElement.js +1 -1
  542. package/dist/components/store-manager/customElement.d.ts +0 -12
  543. package/dist/components/store-manager/customElement.js +1 -1
  544. package/dist/docs/api.json +2 -2
  545. package/dist/docs/docs.json +2 -2
  546. package/dist/docs/web-types.json +1 -1
  547. package/dist/index.js +1 -1
  548. package/dist/loader.js +1 -1
  549. package/dist/utils/interfaces.d.ts +1 -0
  550. package/package.json +1 -2
  551. package/dist/cdn/35OG34DW.js +0 -4
  552. package/dist/cdn/7L2K4CTR.js +0 -4
  553. package/dist/cdn/ELLO2MAY.js +0 -5
  554. package/dist/cdn/FOKWC4YX.js +0 -4
  555. package/dist/cdn/HXWR5OEJ.js +0 -18
  556. package/dist/cdn/IYPM2CF6.js +0 -4
  557. package/dist/cdn/J67LB5D3.js +0 -4
  558. package/dist/cdn/L3LZPYIH.js +0 -18
  559. package/dist/cdn/NG3RIAIG.js +0 -4
  560. package/dist/cdn/NQA4IZWB.js +0 -18
  561. package/dist/cdn/OHH4JYRI.js +0 -18
  562. package/dist/cdn/PEYOKBZS.js +0 -4
  563. package/dist/cdn/QJ4JOKJB.js +0 -4
  564. package/dist/cdn/VNWH6JZ2.js +0 -4
  565. package/dist/cdn/WD4HSNVO.js +0 -18
  566. package/dist/cdn/WEQSM7IC.js +0 -4
  567. package/dist/cdn/XIMVS4MY.js +0 -3
  568. package/dist/cdn/ZE2ISXNN.js +0 -4
  569. package/dist/cdn/ZJ7VEBUB.js +0 -18
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as E}from"./PEYOKBZS.js";import"./6JIZ4XBP.js";import{a as S,c as m,d as c,e as _,f,g as x}from"./SCY6BW5I.js";import"./4LG3PE5J.js";import{b as C}from"./6HEFYILX.js";import{b as $}from"./5MDH25UU.js";import{a as v}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as I}from"./LZXSNZEG.js";import{C as n,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var P=y`@layer{/** @license
3
+ v1.1.0-next.20250912 */
4
+ import{a as E}from"./QBVY5MLK.js";import"./7VOCAQW6.js";import{a as S,c as m,d,e as _,f,g as x}from"./KYHFLAUO.js";import"./OA5RHTML.js";import{b as C}from"./FAN4TIEW.js";import{b as $}from"./JKV54XCC.js";import{a as v}from"./ZTLTSSLD.js";import"./N7C3LETR.js";import"./22NHS44H.js";import{b as I}from"./2FADKSFN.js";import{C as c,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./XVR355PR.js";import"./PLWLLMA4.js";var V=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as E}from"./PEYOKBZS.js";import"./6JIZ4XBP.js";import{a as S,c as m,d a
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;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,g=class extends F{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=v({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=n(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=n(),this._featureList=n(),this._selectedRelatedFeature=[],this._layerList=n(),this._createRelatedFeature=n(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=n(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=n(),this._commentSubmittedAlertNode=n(),this._sortPopoverNode=n(),this.togglePanel=b(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=P}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await c(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await $(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await c(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return l`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await c(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],h=!1;t.results.length>0&&t.results.forEach(d=>{d.type==="graphic"&&i.push(d.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),h=a.length>0);let r=s.concat(a);if(r.length>0){this.mapView.popupEnabled=!0;let d={features:r,location:e.mapPoint,updateLocationEnabled:!h};await this.mapView.openPopup(d)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i=this._mapImageryLayersId.map(async h=>{let r=this.mapView&&await c(this.mapView,h);if(r?.url&&t)return await this.identify?.identify(r.url,t)}),s=await Promise.all(i),a=[];return s.forEach(h=>{h.results.forEach(r=>{let d=Object.keys(r.feature.attributes).map(w=>({fieldName:w,label:w}));r.feature.popupTemplate={title:r.layerName,content:[{type:"fields",fieldInfos:d}]},a.push(r.feature)})}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await S(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await c(this.mapView,this.layerId);if(e){let t=this.mapView&&await C([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await c(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let h=s.expressions?.find(r=>r.id===a.id);h!=null&&(a.name=h.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
18
+ */:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,g=class extends F{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=v({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=c(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=c(),this._featureList=c(),this._selectedRelatedFeature=[],this._layerList=c(),this._createRelatedFeature=c(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=c(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=c(),this._commentSubmittedAlertNode=c(),this._sortPopoverNode=c(),this.togglePanel=b(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=V}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await $(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return l`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await d(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],n=!1;t.results.length>0&&t.results.forEach(r=>{r.type==="graphic"&&i.push(r.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),n=a.length>0);let h=s.concat(a);if(h.length>0){this.mapView.popupEnabled=!0;let r={features:h,location:e.mapPoint,updateLocationEnabled:!n};await this.mapView.openPopup(r)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i,s=[];for(let n of this._mapImageryLayersId){let h=this.mapView&&await d(this.mapView,n);if(h?.url&&t)try{let r=await this.identify?.identify(h.url,t);if(r?.results?.length){s=r.results,i=h;break}}catch(r){console.error(r)}}let a=[];return s.forEach(n=>{let h=n.layerId,r=i?.sublayers?.items.find(P=>P.id===h),w=r?.popupTemplate;r?.popupEnabled&&w&&(n.feature.popupTemplate=w,a.push(n.feature))}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await S(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await C([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&t.popupEnabled&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let n=s.expressions?.find(h=>h.id===a.id);n!=null&&(a.name=n.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import"./SHYRK7HE.js";var l=async(e,t,r)=>{let o=t.orgUrlKey;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.siteUrl.label`,options:{requiredHelperText:{labelKey:`${e}.sections.defaultRequiredHelperText`}},elements:[{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:o,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]},{type:"Section",labelKey:`${e}.sections.privacy.label`,elements:[{scope:"/properties/telemetry/properties/consentNotice",type:"Control",options:{control:"arcgis-privacy-config"}}]}]}};export{l as buildUiSchema};
3
+ v1.1.0-next.20250912 */
4
+ import"./PLWLLMA4.js";var l=async(e,t,r)=>{let o=t.orgUrlKey;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.siteUrl.label`,options:{requiredHelperText:{labelKey:`${e}.sections.defaultRequiredHelperText`}},elements:[{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:o,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]},{type:"Section",labelKey:`${e}.sections.privacy.label`,elements:[{scope:"/properties/telemetry/properties/consentNotice",type:"Control",options:{control:"arcgis-privacy-config"}}]}]}};export{l as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{o as u,p as v,q as _,r as p,v as g,w as C}from"./BGUPQWXL.js";import{b as h}from"./6JIZ4XBP.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
3
+ v1.1.0-next.20250912 */
4
+ import{o as u,p as v,q as _,r as p,v as g,w as C}from"./FAICAYXY.js";import{b as h}from"./7VOCAQW6.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./XVR355PR.js";import"./PLWLLMA4.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import"./SHYRK7HE.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
3
+ v1.1.0-next.20250912 */
4
+ import"./PLWLLMA4.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as y}from"./AWZ2L6P4.js";import"./ZF42G2JC.js";import"./ET7BFDTD.js";import"./IDITN77F.js";import"./BGLA6JTF.js";import{a as s,b as p}from"./X4FO5WY5.js";import"./YMU6CVCY.js";import"./5F6FAGVF.js";import"./NFIBYZAV.js";import{a as n}from"./EHOYB4HE.js";import{a}from"./DUIBMXZM.js";import"./ZZ6EPPLQ.js";import"./CC2IBTVB.js";import"./6D4HQ7M2.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import{a as l}from"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import{a as t,b as r}from"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.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"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
3
+ v1.1.0-next.20250912 */
4
+ import{a as y}from"./GXQ3W7XY.js";import"./DTHPIOV7.js";import"./IRZFW6LQ.js";import"./W5TR47I4.js";import"./RANTD6SP.js";import{a as s,b as p}from"./JOCYM5CR.js";import"./6IWWZQTS.js";import"./EA5U4NZR.js";import"./KOJ5RMMY.js";import{a as n}from"./VFKHFSTM.js";import{a}from"./TZB4F2OT.js";import"./WADEJTFW.js";import"./U5ZQ5MC6.js";import"./QGUEVXAO.js";import"./BBEYEW2M.js";import"./LBP43MQ6.js";import{a as l}from"./2QWUHGUS.js";import"./EAJJXWYI.js";import"./6X4Y5O36.js";import"./OXLDC3MO.js";import{a as t,b as r}from"./HH3PXRPH.js";import"./7YPKXERY.js";import"./VL2S4QLX.js";import"./HMN3YVEG.js";import"./5V3THDCW.js";import"./N5UOXTC4.js";import"./W7BIRLPE.js";import"./4THALZKF.js";import"./KRZNPHDE.js";import"./FPYNQT4G.js";import"./QHYU3REE.js";import"./TCOHF4RJ.js";import"./LJ5JNIIG.js";import"./HK7HP64C.js";import"./6SGFKF4K.js";import"./SIYIB7F4.js";import"./TFYKYB6M.js";import"./MJ4XJN7M.js";import"./PJQQN64C.js";import"./PLWLLMA4.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.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"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};