@esri/solutions-components 1.0.0-next.20250509 → 1.0.0-next.20250513.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. package/dist/cdn/{FARMWJ24.js → 23YKBWAC.js} +2 -2
  2. package/dist/cdn/{NLDJFYI7.js → 246GABX4.js} +2 -2
  3. package/dist/cdn/{S5633QFW.js → 2BYLFULE.js} +2 -2
  4. package/dist/cdn/{BGWVAQHN.js → 2DDJ2AFS.js} +2 -2
  5. package/dist/cdn/{3YWY5IJP.js → 2JBJHRHU.js} +2 -2
  6. package/dist/cdn/{XDCTTW2D.js → 2K3MMRXW.js} +2 -2
  7. package/dist/cdn/{55Q3UBSS.js → 2SMSSXCB.js} +2 -2
  8. package/dist/cdn/{UCYU2ZVX.js → 2T3QIT6S.js} +2 -2
  9. package/dist/cdn/2VM36EOG.js +4 -0
  10. package/dist/cdn/{YL5AS7IP.js → 36KGPYQP.js} +2 -2
  11. package/dist/cdn/{LXGUGDHR.js → 3CR3QCZT.js} +2 -2
  12. package/dist/cdn/{435C2RXR.js → 3HOUIYSB.js} +2 -2
  13. package/dist/cdn/{MEXCWFXO.js → 3MPH6U6A.js} +2 -2
  14. package/dist/cdn/{T5ZHBVTX.js → 3O5NME66.js} +1 -1
  15. package/dist/cdn/3QDSK6LK.js +18 -0
  16. package/dist/cdn/{ICLRLVVJ.js → 3SIKQBUD.js} +2 -2
  17. package/dist/cdn/{TXGHJPP2.js → 3TOH77TX.js} +2 -2
  18. package/dist/cdn/{TEJLYLG3.js → 3TUJ4JJ5.js} +2 -2
  19. package/dist/cdn/{7XWBWQ4G.js → 3ZAAVHR2.js} +2 -2
  20. package/dist/cdn/{YNA4CMIX.js → 44RAERGT.js} +2 -2
  21. package/dist/cdn/{6N4IY6RI.js → 47DEY33Q.js} +2 -2
  22. package/dist/cdn/{N5C5RKHD.js → 47XOSUMG.js} +2 -2
  23. package/dist/cdn/{Y5WPDAVU.js → 4AGFHRFX.js} +2 -2
  24. package/dist/cdn/{LKUFS2W4.js → 4DOBOTOA.js} +2 -2
  25. package/dist/cdn/{ZKLPV256.js → 4I2ETJ5R.js} +1 -1
  26. package/dist/cdn/4IU5MAMG.js +4 -0
  27. package/dist/cdn/{PKFNJGIN.js → 4JQ3EMVS.js} +2 -2
  28. package/dist/cdn/{SCPTYDM4.js → 4OCR3H4M.js} +2 -2
  29. package/dist/cdn/{5ORSO5QA.js → 4SXLUGVC.js} +2 -2
  30. package/dist/cdn/4T5G7D3M.js +18 -0
  31. package/dist/cdn/{BQTDT2CQ.js → 4WY233D6.js} +2 -2
  32. package/dist/cdn/{MMZK7VDY.js → 524EKBTA.js} +2 -2
  33. package/dist/cdn/{PULSXLXV.js → 52BCWQEA.js} +2 -2
  34. package/dist/cdn/52MJSDMV.js +18 -0
  35. package/dist/cdn/{OFJCPV4F.js → 5GGF35L5.js} +2 -2
  36. package/dist/cdn/{SDDCOLSE.js → 5O34KXSF.js} +2 -2
  37. package/dist/cdn/{QV3YJHLC.js → 5Z7R3XOW.js} +1 -1
  38. package/dist/cdn/{PRM3M7W3.js → 65GRV5ZI.js} +2 -2
  39. package/dist/cdn/{4AB2653C.js → 66TACLFN.js} +2 -2
  40. package/dist/cdn/{7VLWDHRA.js → 67LEPSGW.js} +2 -2
  41. package/dist/cdn/{GZ5DMBN5.js → 6CYK6BB7.js} +1 -1
  42. package/dist/cdn/{EUPHXLZZ.js → 6HKXUI6P.js} +2 -2
  43. package/dist/cdn/{YV2KVYYD.js → 6JLMDDJ5.js} +2 -2
  44. package/dist/cdn/{XGZPINBJ.js → 6YQEXU32.js} +2 -2
  45. package/dist/cdn/{XW5NNESC.js → 743KENLL.js} +2 -2
  46. package/dist/cdn/{XXMXWRAP.js → 74BFRFR6.js} +4 -4
  47. package/dist/cdn/{XRAHMMYT.js → 74OAFWYK.js} +2 -2
  48. package/dist/cdn/{T24JMSJB.js → 762BKOZV.js} +2 -2
  49. package/dist/cdn/{7K7DN72W.js → 7BAB326V.js} +2 -2
  50. package/dist/cdn/{7UIUIVMT.js → 7EV7MOH7.js} +2 -2
  51. package/dist/cdn/7NJWTG5Q.js +18 -0
  52. package/dist/cdn/{U25OTDOD.js → 7POMEGOT.js} +2 -2
  53. package/dist/cdn/{V2TJSNNS.js → 7QIW3X3J.js} +2 -2
  54. package/dist/cdn/{AW6GVVCK.js → 7TXDKHSR.js} +2 -2
  55. package/dist/cdn/{MESJIE5F.js → 7TZTFXYB.js} +2 -2
  56. package/dist/cdn/{62J73NXR.js → 7ZWQ5RIA.js} +2 -2
  57. package/dist/cdn/{BY4EXEJG.js → AEJKH2N4.js} +2 -2
  58. package/dist/cdn/{4OGYUVGQ.js → AFRKXBZK.js} +2 -2
  59. package/dist/cdn/ANP7AZFG.js +18 -0
  60. package/dist/cdn/{E3HGKBP3.js → ARKBNGKH.js} +2 -2
  61. package/dist/cdn/{ECVA54TZ.js → ARTYQZHE.js} +1 -1
  62. package/dist/cdn/{FQOV67VE.js → AVRXN4UR.js} +2 -2
  63. package/dist/cdn/{N5VOILQX.js → AWLITXKE.js} +2 -2
  64. package/dist/cdn/{OHY2KQUC.js → AZKYXX53.js} +1 -1
  65. package/dist/cdn/{AXQXIZC6.js → B6EMT5VV.js} +2 -2
  66. package/dist/cdn/{4BCMHRMT.js → B7XFXDPR.js} +1 -1
  67. package/dist/cdn/{B4HJBJTA.js → BCWHIGGF.js} +2 -2
  68. package/dist/cdn/{J4DDOYKZ.js → BEUU4V47.js} +2 -2
  69. package/dist/cdn/{BOJK6ZXD.js → BK4S3RXL.js} +2 -2
  70. package/dist/cdn/{L5MZYQWZ.js → BMFQADY6.js} +2 -2
  71. package/dist/cdn/{2X42FQPI.js → BMT45QOY.js} +2 -2
  72. package/dist/cdn/{M4AI76NV.js → BRP2ZFTA.js} +2 -2
  73. package/dist/cdn/{CMUYK6L5.js → BS6MCVLT.js} +2 -2
  74. package/dist/cdn/{FXITJZAV.js → BTPTRXRA.js} +2 -2
  75. package/dist/cdn/{OT3XINKN.js → BVZUGCOI.js} +2 -2
  76. package/dist/cdn/{HT5EDB5V.js → BWXM7YAS.js} +2 -2
  77. package/dist/cdn/{67Y5XRJR.js → C3QQO3JT.js} +2 -2
  78. package/dist/cdn/{KBTESCN4.js → C3XQ4X7S.js} +2 -2
  79. package/dist/cdn/{GWMI7SRU.js → C5KZI572.js} +2 -2
  80. package/dist/cdn/{HRXRBE4J.js → CBESNLSQ.js} +2 -2
  81. package/dist/cdn/{CN4P5DTP.js → CCTVQ7J6.js} +2 -2
  82. package/dist/cdn/{PNBUAOL6.js → CLOM3LFK.js} +2 -2
  83. package/dist/cdn/{MHO2Y7KN.js → CT7VEZDK.js} +2 -2
  84. package/dist/cdn/{FSQQ2APB.js → CXYY2U43.js} +2 -2
  85. package/dist/cdn/{HLQ3GGP4.js → D2LLTH6P.js} +2 -2
  86. package/dist/cdn/{6QAU4NYR.js → D6E3WEYR.js} +3 -3
  87. package/dist/cdn/{JDI4Y7XL.js → DADLOUNZ.js} +2 -2
  88. package/dist/cdn/{2452KO7J.js → DHRLL7NQ.js} +2 -2
  89. package/dist/cdn/DJLABPFC.js +18 -0
  90. package/dist/cdn/{NL5SZJG7.js → DKBSVQN3.js} +2 -2
  91. package/dist/cdn/{RZODPKW4.js → DNUOMN67.js} +1 -1
  92. package/dist/cdn/{A6DMHYOF.js → DOSGDH3U.js} +2 -2
  93. package/dist/cdn/{FPGTD47W.js → DPO6UDKC.js} +2 -2
  94. package/dist/cdn/{XHNH4HWU.js → DQEAYFAF.js} +2 -2
  95. package/dist/cdn/{4DMLN7C7.js → DUMJIXV7.js} +1 -1
  96. package/dist/cdn/{4FGMEAIW.js → DVK7WGWJ.js} +1 -1
  97. package/dist/cdn/{XDHR67UO.js → DX2VURSL.js} +2 -2
  98. package/dist/cdn/DXOLFQBJ.js +4 -0
  99. package/dist/cdn/{HBOTGKBU.js → DYDTMS5A.js} +2 -2
  100. package/dist/cdn/{PIIFPRWS.js → E5J3LXUI.js} +2 -2
  101. package/dist/cdn/{VPXUKOUC.js → EKWMSR5N.js} +2 -2
  102. package/dist/cdn/{BCXBJG72.js → ELHHO2HG.js} +1 -1
  103. package/dist/cdn/{YJF3FQQW.js → EMLYWNKX.js} +2 -2
  104. package/dist/cdn/EQ7BO6C2.js +4 -0
  105. package/dist/cdn/{YZON6FQX.js → F2TP7D3Z.js} +1 -1
  106. package/dist/cdn/{C5NISEHO.js → F4CZ5GDH.js} +2 -2
  107. package/dist/cdn/{VDIZRWGH.js → F4S54KIN.js} +2 -2
  108. package/dist/cdn/{2Q5FUL4Y.js → F7TRMIZC.js} +2 -2
  109. package/dist/cdn/{VAQQRDFO.js → FGM64GKL.js} +1 -1
  110. package/dist/cdn/{MNNNZZVI.js → FN3PUVIO.js} +2 -2
  111. package/dist/cdn/{XRNUZ7HG.js → FQA6EV3F.js} +2 -2
  112. package/dist/cdn/FQQPKFKR.js +18 -0
  113. package/dist/cdn/{3K5XH7WO.js → FW3OFREF.js} +1 -1
  114. package/dist/cdn/{DGJOUZR5.js → GD5M2FA3.js} +1 -1
  115. package/dist/cdn/{LDD3KF7W.js → GMYAKEAU.js} +2 -2
  116. package/dist/cdn/{UB2OSPCQ.js → GU775YRY.js} +1 -1
  117. package/dist/cdn/{HIYSQGTK.js → H2XZ5TPS.js} +2 -2
  118. package/dist/cdn/{K7L3LTTD.js → HDVUMH4E.js} +1 -1
  119. package/dist/cdn/{35P6UDSV.js → HFGSRQ53.js} +2 -2
  120. package/dist/cdn/{J7OFNHJE.js → HGJHBG4H.js} +2 -2
  121. package/dist/cdn/{WVHATRWG.js → HQTPWCRI.js} +2 -2
  122. package/dist/cdn/{7XULXHRZ.js → HTFV4B6M.js} +2 -2
  123. package/dist/cdn/{BB4YELWP.js → IA5UUSGD.js} +2 -2
  124. package/dist/cdn/{P52HFT2R.js → IBDM4N5B.js} +2 -2
  125. package/dist/cdn/{4Y7P3RAH.js → ICNH5LLB.js} +2 -2
  126. package/dist/cdn/{WN3VAL43.js → ICTNZMXC.js} +1 -1
  127. package/dist/cdn/{R2HY3OH6.js → IEEDUG7D.js} +2 -2
  128. package/dist/cdn/{VM5WBDOI.js → IFS2FCRW.js} +2 -2
  129. package/dist/cdn/{JUNJFTAF.js → IQBIY4LU.js} +2 -2
  130. package/dist/cdn/{LPXJI3PA.js → IXYPSCHA.js} +2 -2
  131. package/dist/cdn/{RA4WYINA.js → J2AOE72O.js} +2 -2
  132. package/dist/cdn/{WO4T5EBB.js → JADH56DH.js} +2 -2
  133. package/dist/cdn/{J4VSSVNP.js → JAXLR4NG.js} +1 -1
  134. package/dist/cdn/{VPZT2JZV.js → JC5GPNKP.js} +2 -2
  135. package/dist/cdn/{36OJB33V.js → JKV6HJNN.js} +2 -2
  136. package/dist/cdn/{6KKLCZH2.js → JMWKZJCV.js} +2 -2
  137. package/dist/cdn/{WD2QCZTO.js → JO3TGX3S.js} +2 -2
  138. package/dist/cdn/{OPAFHR65.js → JQFYSHOL.js} +2 -2
  139. package/dist/cdn/{Z7PAFRTZ.js → JYBRQYQO.js} +2 -2
  140. package/dist/cdn/{CIN3SN7W.js → KAOZRVHT.js} +2 -2
  141. package/dist/cdn/KAP76DTH.js +4 -0
  142. package/dist/cdn/{U4IEKG5J.js → KBP3WSLN.js} +2 -2
  143. package/dist/cdn/{MLSL5LI5.js → KD4M5XSM.js} +2 -2
  144. package/dist/cdn/{R3UCIE4U.js → KDUEXCFJ.js} +1 -1
  145. package/dist/cdn/{GNY77HPF.js → KJUPNH26.js} +1 -1
  146. package/dist/cdn/{3WEGW5NC.js → KN3DG5N5.js} +2 -2
  147. package/dist/cdn/{7Q3MQPSX.js → KRLBHVWO.js} +2 -2
  148. package/dist/cdn/{UQD4DDWQ.js → KXKPHNIN.js} +2 -2
  149. package/dist/cdn/{JBUFFKQ4.js → L3CECNF2.js} +1 -1
  150. package/dist/cdn/L6ZKECRD.js +18 -0
  151. package/dist/cdn/{6EY4X2IO.js → LHQQTERG.js} +2 -2
  152. package/dist/cdn/{RJVJXKOB.js → LIY7L5HY.js} +2 -2
  153. package/dist/cdn/{S5WNRS3W.js → LJHTCGCE.js} +2 -2
  154. package/dist/cdn/{VFZGCM33.js → LJVAXK4D.js} +2 -2
  155. package/dist/cdn/LYF2DSS7.js +4 -0
  156. package/dist/cdn/{DMGLXTNG.js → M2IPXBJW.js} +2 -2
  157. package/dist/cdn/{4YNV3LL5.js → M2TI7O6U.js} +2 -2
  158. package/dist/cdn/{VY6VKUBS.js → M5IOEAD5.js} +2 -2
  159. package/dist/cdn/{5Y63RNHU.js → M7SGJ27H.js} +2 -2
  160. package/dist/cdn/MCBLASJ3.js +4 -0
  161. package/dist/cdn/{C6X2ECYU.js → MM4GYF2M.js} +2 -2
  162. package/dist/cdn/{D2Y2VYAA.js → MM73SXGN.js} +2 -2
  163. package/dist/cdn/{CPEOHMBH.js → MQYS3NXM.js} +2 -2
  164. package/dist/cdn/{RICWFBVP.js → MUVB5RUT.js} +2 -2
  165. package/dist/cdn/{EHYAB5QQ.js → MWVT5VTF.js} +2 -2
  166. package/dist/cdn/{7UEK3DXM.js → MYWEE66N.js} +2 -2
  167. package/dist/cdn/{6JI5OXDD.js → N7YKFWHI.js} +2 -2
  168. package/dist/cdn/{T5R3QU6B.js → NERPCGAI.js} +2 -2
  169. package/dist/cdn/{HVVFJDSU.js → NJJU4T5L.js} +2 -2
  170. package/dist/cdn/{EVSAWS5V.js → NLJKG426.js} +2 -2
  171. package/dist/cdn/{6YD2XRHQ.js → NMQL6RPI.js} +2 -2
  172. package/dist/cdn/{ZSPCCQU2.js → NRIFWRSL.js} +2 -2
  173. package/dist/cdn/{BIRQOSZD.js → NTLHACLF.js} +2 -2
  174. package/dist/cdn/{CQFOO7QD.js → NUCM6ABX.js} +3 -3
  175. package/dist/cdn/{INDFSGPY.js → NYYKUTZ2.js} +2 -2
  176. package/dist/cdn/{RCSNQFCR.js → OJ6AH4AP.js} +2 -2
  177. package/dist/cdn/{ICETJ5L7.js → OOKZNHYN.js} +1 -1
  178. package/dist/cdn/{IML67XC5.js → OWP2RUTT.js} +2 -2
  179. package/dist/cdn/{WRRMV4PI.js → OXFWSAQC.js} +2 -2
  180. package/dist/cdn/{UTMLE3SN.js → P3NUNSXP.js} +2 -2
  181. package/dist/cdn/{H2PYJODK.js → P5SS2UTJ.js} +2 -2
  182. package/dist/cdn/{SBBAYIA5.js → PCLM5T4X.js} +2 -2
  183. package/dist/cdn/{OBYUVAOE.js → PFQ3QFCX.js} +2 -2
  184. package/dist/cdn/{CD2S6EUP.js → PHNR5GQ7.js} +2 -2
  185. package/dist/cdn/{BKTDSQ5E.js → PKRP2ZND.js} +2 -2
  186. package/dist/cdn/{USCS7ZOZ.js → PW2VRRCC.js} +2 -2
  187. package/dist/cdn/PWU7JUQ7.js +4 -0
  188. package/dist/cdn/{2SNN45WE.js → Q3SDKCO5.js} +1 -1
  189. package/dist/cdn/Q4LK4Y27.js +18 -0
  190. package/dist/cdn/{SNDF7YMU.js → Q7ODV6KG.js} +2 -2
  191. package/dist/cdn/{BIOS2V5G.js → QCY5Q4DC.js} +2 -2
  192. package/dist/cdn/{SJ2L7I4D.js → QIQDU5TD.js} +2 -2
  193. package/dist/cdn/QKA6L5H2.js +18 -0
  194. package/dist/cdn/{KPRSMUMQ.js → QKEAWMVG.js} +2 -2
  195. package/dist/cdn/{CHZ5YCRR.js → QMDSZ7FM.js} +2 -2
  196. package/dist/cdn/{LZCG3PUX.js → QMZEUTLX.js} +1 -1
  197. package/dist/cdn/{WFKJMOI2.js → QN47PAEX.js} +2 -2
  198. package/dist/cdn/{IJWNOINQ.js → QQ5XIIVB.js} +2 -2
  199. package/dist/cdn/{2VIYUPNY.js → QRQDRKIY.js} +2 -2
  200. package/dist/cdn/{D73KUPSF.js → QUP6DAHI.js} +2 -2
  201. package/dist/cdn/{5EH5ABNA.js → R2H5RSJ2.js} +1 -1
  202. package/dist/cdn/{YZGAFNYP.js → R2JFZODC.js} +2 -2
  203. package/dist/cdn/{HEFARXFW.js → RBCCFTZL.js} +2 -2
  204. package/dist/cdn/{7KQNE4LS.js → RK2A2EVN.js} +2 -2
  205. package/dist/cdn/{UPR4UPDN.js → RKMNK4LY.js} +2 -2
  206. package/dist/cdn/{4TKVQNTQ.js → RWUIYZW7.js} +3 -3
  207. package/dist/cdn/{ITBKHXR7.js → SCZ6RNHE.js} +1 -1
  208. package/dist/cdn/{JH6EUNS3.js → SFM44CFT.js} +2 -2
  209. package/dist/cdn/{G466QX4L.js → SHCFADDZ.js} +1 -1
  210. package/dist/cdn/{X4BR4G2Q.js → SMHCAJLS.js} +2 -2
  211. package/dist/cdn/{424PZHQ5.js → SOTTOWSO.js} +2 -2
  212. package/dist/cdn/{JZMP2SNN.js → SPDLS67W.js} +2 -2
  213. package/dist/cdn/{RJDRQW52.js → SYY2ZMAO.js} +2 -2
  214. package/dist/cdn/{HIIYUUEW.js → T2ZDNBN5.js} +2 -2
  215. package/dist/cdn/{C2KBDSIZ.js → TASEETLT.js} +1 -1
  216. package/dist/cdn/{TYTGBM6D.js → TGKBXQFJ.js} +1 -1
  217. package/dist/cdn/{RQF4KGJG.js → TGPT6425.js} +2 -2
  218. package/dist/cdn/{25QPPKFI.js → THV6PWO2.js} +2 -2
  219. package/dist/cdn/{EOR6FMKC.js → TVA5RLDT.js} +2 -2
  220. package/dist/cdn/{27QJLMW3.js → TWXMTERQ.js} +2 -2
  221. package/dist/cdn/{PUYHWBNK.js → U2VNJ7F6.js} +2 -2
  222. package/dist/cdn/{OVDKGSOB.js → U5CODQHI.js} +2 -2
  223. package/dist/cdn/{5G5LFIDR.js → U7PVKGZW.js} +2 -2
  224. package/dist/cdn/{RV3Y5Y43.js → UBMZTDIG.js} +2 -2
  225. package/dist/cdn/{ZJMDC5EX.js → UCLIEM25.js} +2 -2
  226. package/dist/cdn/{SAK5E7EM.js → UFMXTBV5.js} +2 -2
  227. package/dist/cdn/{NLKCNLQB.js → UFXHNUVA.js} +2 -2
  228. package/dist/cdn/{ARPKSGRG.js → UIY6JQVD.js} +2 -2
  229. package/dist/cdn/{SHTM5TBH.js → UNKRKQGZ.js} +2 -2
  230. package/dist/cdn/{KAPZF4E2.js → UVWG3C2B.js} +1 -1
  231. package/dist/cdn/{ZX2WVODB.js → UZT7DBX5.js} +2 -2
  232. package/dist/cdn/{6EA3DB3O.js → UZURAIZS.js} +2 -2
  233. package/dist/cdn/{M7ALE6KV.js → V4OFJDAH.js} +2 -2
  234. package/dist/cdn/{LECLO3XE.js → V66DC2RZ.js} +2 -2
  235. package/dist/cdn/{FBXVZ63D.js → V7IFHU6D.js} +2 -2
  236. package/dist/cdn/{JEOWOFGV.js → VBBBC5BC.js} +2 -2
  237. package/dist/cdn/{IKUXIIBQ.js → VCPH6BNX.js} +2 -2
  238. package/dist/cdn/{BPEEKBR7.js → VEH7MCF4.js} +2 -2
  239. package/dist/cdn/{7HCBMOJG.js → VQRIVYMR.js} +2 -2
  240. package/dist/cdn/{EFTUD2CV.js → VRSOFLBM.js} +2 -2
  241. package/dist/cdn/VSY4FDGY.js +18 -0
  242. package/dist/cdn/{HZSTATBW.js → W2BBALTD.js} +2 -2
  243. package/dist/cdn/{7RMNWPCQ.js → W4CDQBTA.js} +2 -2
  244. package/dist/cdn/{F5K2FGR2.js → WKEGSNNF.js} +1 -1
  245. package/dist/cdn/WTQ7BZT3.js +18 -0
  246. package/dist/cdn/{DWRH76JT.js → X4VJZ3Q6.js} +2 -2
  247. package/dist/cdn/{5X6XSS3G.js → XCC7EMQO.js} +2 -2
  248. package/dist/cdn/XFRJGRQ2.js +4 -0
  249. package/dist/cdn/{XQMS45RU.js → XKATHJUA.js} +2 -2
  250. package/dist/cdn/{2LIN3EFP.js → XPNMHAKP.js} +2 -2
  251. package/dist/cdn/{OSPYIY3S.js → XQ3FJCBS.js} +2 -2
  252. package/dist/cdn/{J5DECLUT.js → XQXPNULI.js} +1 -1
  253. package/dist/cdn/{Z4ZMVS45.js → XT4NY5DN.js} +2 -2
  254. package/dist/cdn/{47I7OHHF.js → XXMZR5G3.js} +1 -1
  255. package/dist/cdn/{J3AZ36S3.js → Y62AFNGV.js} +2 -2
  256. package/dist/cdn/{WMI6SFI3.js → Y7GXXND2.js} +2 -2
  257. package/dist/cdn/{Y4CROHYY.js → YC5MPBUM.js} +2 -2
  258. package/dist/cdn/{IM7QQB4B.js → YCUSWAJ3.js} +2 -2
  259. package/dist/cdn/{Z6MML6SM.js → YDZXBSPS.js} +1 -1
  260. package/dist/cdn/{KAET4R4I.js → YFTV5FQP.js} +1 -1
  261. package/dist/cdn/{SVZ6DPGA.js → YNV6UHCS.js} +2 -2
  262. package/dist/cdn/{AZHIE3R7.js → YT2UVLBQ.js} +2 -2
  263. package/dist/cdn/{3TUZLPWH.js → YZDPVYVB.js} +2 -2
  264. package/dist/cdn/{N75HIPXS.js → YZSZKD4O.js} +1 -1
  265. package/dist/cdn/ZAFJT72F.js +4 -0
  266. package/dist/cdn/{PBDY4N37.js → ZBD6UXKS.js} +2 -2
  267. package/dist/cdn/{V3V45HIT.js → ZBZY2YEI.js} +2 -2
  268. package/dist/cdn/{FLPPIESF.js → ZHA5K55V.js} +2 -2
  269. package/dist/cdn/{7L3RVANR.js → ZHW2F3VO.js} +2 -2
  270. package/dist/cdn/{TPTCOLFA.js → ZOFTKF6J.js} +2 -2
  271. package/dist/cdn/{5EZJ2DME.js → ZZV2JD2S.js} +2 -2
  272. package/dist/cdn/assets/selection-tool/t9n/messages.en.json +1 -0
  273. package/dist/cdn/assets/selection-tool/t9n/messages.json +1 -0
  274. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -0
  275. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -0
  276. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -0
  277. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -0
  278. package/dist/cdn/index.js +2 -2
  279. package/dist/chunks/common.js +1 -1
  280. package/dist/chunks/downloadUtils.js +1 -1
  281. package/dist/chunks/index.js +313 -405
  282. package/dist/chunks/interfaces.js +1 -1
  283. package/dist/chunks/loadModules.js +1 -1
  284. package/dist/chunks/mapViewUtils.js +19 -15
  285. package/dist/chunks/pciUtils.js +1 -1
  286. package/dist/chunks/popupUtils.js +1 -1
  287. package/dist/chunks/publicNotificationStore.js +1 -1
  288. package/dist/chunks/queryUtils.js +1 -1
  289. package/dist/chunks/runtime.js +1 -1
  290. package/dist/chunks/solution-store.js +1 -1
  291. package/dist/chunks/templates.js +1 -1
  292. package/dist/chunks/useT9n.js +1 -1
  293. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
  294. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  295. package/dist/components/basemap-gallery/customElement.js +1 -1
  296. package/dist/components/buffer-tools/customElement.js +1 -1
  297. package/dist/components/card-manager/customElement.d.ts +8 -5
  298. package/dist/components/card-manager/customElement.js +24 -20
  299. package/dist/components/consent-manager/customElement.js +1 -1
  300. package/dist/components/create-feature/customElement.d.ts +3 -3
  301. package/dist/components/create-feature/customElement.js +1 -1
  302. package/dist/components/create-related-feature/customElement.d.ts +2 -2
  303. package/dist/components/create-related-feature/customElement.js +1 -1
  304. package/dist/components/crowdsource-manager/customElement.d.ts +14 -2
  305. package/dist/components/crowdsource-manager/customElement.js +51 -43
  306. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  307. package/dist/components/deduct-calculator/customElement.js +1 -1
  308. package/dist/components/delete-button/customElement.js +1 -1
  309. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  310. package/dist/components/delete-dialog/customElement.js +9 -9
  311. package/dist/components/edit-card/customElement.d.ts +2 -2
  312. package/dist/components/edit-card/customElement.js +14 -11
  313. package/dist/components/feature-details/customElement.d.ts +2 -2
  314. package/dist/components/feature-details/customElement.js +1 -1
  315. package/dist/components/feature-list/customElement.js +1 -1
  316. package/dist/components/field-selection/customElement.js +3 -3
  317. package/dist/components/floor-filter/customElement.js +1 -1
  318. package/dist/components/info-card/customElement.d.ts +2 -2
  319. package/dist/components/info-card/customElement.js +1 -1
  320. package/dist/components/json-editor/customElement.js +1 -1
  321. package/dist/components/layer-list/customElement.js +1 -1
  322. package/dist/components/layer-table/customElement.d.ts +12 -2
  323. package/dist/components/layer-table/customElement.js +267 -148
  324. package/dist/components/layer-table/index.d.ts +3 -2
  325. package/dist/components/layer-table/index.js +3 -2
  326. package/dist/components/map-card/customElement.d.ts +10 -4
  327. package/dist/components/map-card/customElement.js +16 -16
  328. package/dist/components/map-draw-tools/customElement.d.ts +2 -2
  329. package/dist/components/map-draw-tools/customElement.js +1 -1
  330. package/dist/components/map-fullscreen/customElement.js +1 -1
  331. package/dist/components/map-layer-picker/customElement.d.ts +2 -2
  332. package/dist/components/map-layer-picker/customElement.js +14 -14
  333. package/dist/components/map-legend/customElement.js +1 -1
  334. package/dist/components/map-picker/customElement.js +3 -3
  335. package/dist/components/map-search/customElement.js +1 -1
  336. package/dist/components/map-select-tools/customElement.js +1 -1
  337. package/dist/components/map-tools/customElement.d.ts +13 -1
  338. package/dist/components/map-tools/customElement.js +25 -18
  339. package/dist/components/map-tools/index.d.ts +1 -0
  340. package/dist/components/map-tools/index.js +1 -0
  341. package/dist/components/pci-calculator/customElement.js +1 -1
  342. package/dist/components/pdf-download/customElement.js +1 -1
  343. package/dist/components/public-notification/customElement.js +1 -1
  344. package/dist/components/refine-selection/customElement.js +1 -1
  345. package/dist/components/selection-tool/customElement.d.ts +33 -0
  346. package/dist/components/selection-tool/customElement.js +96 -0
  347. package/dist/components/selection-tool/index.d.ts +1 -0
  348. package/dist/components/selection-tool/index.js +1 -0
  349. package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.d.ts +1 -1
  350. package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.js +5 -5
  351. package/dist/components/solution-configuration/customElement.js +1 -1
  352. package/dist/components/solution-configure-panel/customElement.js +1 -1
  353. package/dist/components/solution-configure-titles/customElement.js +1 -1
  354. package/dist/components/solution-contents/customElement.js +1 -1
  355. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  356. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  357. package/dist/components/solution-deploy-panel/customElement.d.ts +5 -0
  358. package/dist/components/solution-deploy-panel/customElement.js +44 -0
  359. package/dist/components/solution-deploy-panel/index.d.ts +2 -0
  360. package/dist/components/solution-deploy-panel/index.js +2 -0
  361. package/dist/components/solution-deployed-card/customElement.js +1 -1
  362. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  363. package/dist/components/solution-details-card/customElement.js +1 -1
  364. package/dist/components/solution-details-panel/customElement.js +1 -1
  365. package/dist/components/solution-item/customElement.js +1 -1
  366. package/dist/components/solution-item-accordion/customElement.js +1 -1
  367. package/dist/components/solution-item-details/customElement.js +1 -1
  368. package/dist/components/solution-item-icon/customElement.js +1 -1
  369. package/dist/components/solution-item-sharing/customElement.js +1 -1
  370. package/dist/components/solution-items-diagram/customElement.js +1 -1
  371. package/dist/components/solution-organization-variables/customElement.js +1 -1
  372. package/dist/components/solution-resource-item/customElement.js +1 -1
  373. package/dist/components/solution-snapshot-gallery/customElement.d.ts +5 -0
  374. package/dist/components/solution-snapshot-gallery/customElement.js +44 -0
  375. package/dist/components/solution-snapshot-gallery/index.d.ts +2 -0
  376. package/dist/components/solution-snapshot-gallery/index.js +2 -0
  377. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  378. package/dist/components/solution-template-data/customElement.js +1 -1
  379. package/dist/components/solution-variables/customElement.js +1 -1
  380. package/dist/components/solutions-all-panel/customElement.js +1 -1
  381. package/dist/components/solutions-all-shell/customElement.js +1 -1
  382. package/dist/components/solutions-article-panel/customElement.js +1 -1
  383. package/dist/components/solutions-articles/customElement.js +1 -1
  384. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  385. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  386. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  387. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  388. package/dist/components/spatial-ref/customElement.js +1 -1
  389. package/dist/components/store-manager/customElement.js +1 -1
  390. package/dist/docs/api.json +681 -119
  391. package/dist/docs/docs.json +653 -149
  392. package/dist/docs/vscode.html-custom-data.json +86 -17
  393. package/dist/docs/web-types.json +280 -93
  394. package/dist/index.d.ts +34 -3
  395. package/dist/index.js +1 -1
  396. package/dist/loader.js +14 -11
  397. package/dist/main.css +1 -1
  398. package/dist/types/lumina.d.ts +27 -9
  399. package/dist/types/preact.d.ts +31 -10
  400. package/dist/types/react.d.ts +35 -11
  401. package/dist/types/stencil.d.ts +27 -9
  402. package/dist/utils/mapViewUtils.d.ts +3 -3
  403. package/package.json +2 -2
  404. package/dist/cdn/264VRGT4.js +0 -4
  405. package/dist/cdn/2C7P2WBD.js +0 -18
  406. package/dist/cdn/2M24VYGB.js +0 -4
  407. package/dist/cdn/5AYUBL2S.js +0 -4
  408. package/dist/cdn/6ZWGS275.js +0 -18
  409. package/dist/cdn/7LZNQGFF.js +0 -4
  410. package/dist/cdn/ACRINRWW.js +0 -4
  411. package/dist/cdn/C5QHLRUF.js +0 -18
  412. package/dist/cdn/F44IFVB6.js +0 -18
  413. package/dist/cdn/ILUCOTQH.js +0 -18
  414. package/dist/cdn/LXIX3TNH.js +0 -4
  415. package/dist/cdn/N7WXVV7Y.js +0 -18
  416. package/dist/cdn/O2WO5RGW.js +0 -4
  417. package/dist/cdn/U4SNCZZB.js +0 -4
  418. package/dist/cdn/WSILAYSC.js +0 -18
  419. package/dist/cdn/XG3QLQ4I.js +0 -18
  420. package/dist/cdn/XZCQWFF2.js +0 -4
  421. package/dist/cdn/ZSNDJE3R.js +0 -8
  422. package/dist/cdn/ZWSG3QNV.js +0 -18
  423. /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.en.json +0 -0
  424. /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.json +0 -0
  425. /package/dist/components/{solution-arcticle-card → solution-article-card}/index.d.ts +0 -0
  426. /package/dist/components/{solution-arcticle-card → solution-article-card}/index.js +0 -0
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as h}from"./NLKCNLQB.js";import{a as x}from"./VDIZRWGH.js";import{e as v}from"./SAK5E7EM.js";import{c as w,h as I,i as T,k as p,l as u,x as E,z as S}from"./F5K2FGR2.js";import"./Z6MML6SM.js";import{a as _,c as s,d as C,e as b}from"./HIIYUUEW.js";import"./OHY2KQUC.js";var{state:t,onChange:L}=x({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",y=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await S();this.reactiveUtils=e,this.handles=await w()}catch{}}async init(e){e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let a=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(a,n),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,a=o=>n?.find(({id:f})=>o===f),m=i.map(({id:o})=>a(o)).map(async o=>await e.whenLayerView(o));return await Promise.all(m)}generateTimeInfoItems(e,i){return[...i].map(a=>{let l=e.find(({layer:m})=>m.id===a.id);return this.generateTimeInfoItem(l,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:a,timeIntervalValue:l}){let f=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:l??1,rangeStart:new Date(n),rangeEnd:new Date(a),timeExtent:f,previousTimeExtent:null}}async initTimeSlider(e,i){let n=async a=>(t.timeSlider=await E(a),t.autoPlay&&t.timeSlider.play(),void await Promise.resolve());if(i){let a=await this.getTimeSliderConfig(e,i);await n(a)}else{let a=t?.timeInfoItems?.[0];if(!a)return;t.selectedTimeInfoItem=a;let l=await this.getTimeSliderConfig(e);await n(l)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){L("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let a=t.view?.map?.widgets?.timeSlider,l={...n,fullTimeExtent:a?.fullTimeExtent,timeExtent:a?.currentTimeExtent};return a?.stopInterval?.unit&&a?.stopInterval?.value&&(l.stops={interval:await u({unit:a?.stopInterval?.unit,value:a?.stopInterval?.value})}),l}else{let[{timeExtent:a,rangeStart:l,rangeEnd:m,unit:o,timeIntervalValue:f}]=t.timeInfoItems;return{...n,fullTimeExtent:a,timeExtent:await p({start:l,end:m}),stops:{interval:await u({unit:o,value:f})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await p({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await I({filter:{timeExtent:i},includedEffect:await h(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await h(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await T({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){let a=n??await p({start:e,end:i});return await Promise.resolve(a)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await u({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},d=new y,M=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}",F=M,c={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},D=class{constructor(r){_(this,r),this.messages=void 0,this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){t.timeInfoConfigItems=this.timeInfoConfigItems,await d.init(this.timeSliderRef)}async updateFilterMode(){t.filterMode=this.filterMode}async updateTimeSliderConfig(){t.timeSliderConfig=this.timeSliderConfig,await d.init(this.timeSliderRef)}async updateAutoPlay(){t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop())}async componentWillLoad(){try{t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode),await v(this)}catch{}}async componentDidLoad(){try{await d.init(this.timeSliderRef)}catch{}finally{t.loading=!1}}disconnectedcallback(){d.destroy()}render(){return s(C,{key:"c994735c86c7bb3edeadf623a15c565960637f23"},this._renderBase())}_renderBase(){return s("div",{class:`${c.base}${this.view.type!=="2d"?c.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),s("div",{key:"time-slider",ref:r=>{r&&(this.timeSliderRef=r)}}))}_renderLoader(){return t.loading&&s("div",null,s("div",{class:c.background}),s("div",{class:c.loadingContainer},s("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let r=t.selectedTimeInfoItem?.layerView?.layer?.title;return s("span",{class:c.layerTitle},r)}_renderDropdown(){return t.selectedTimeInfoItem&&s("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return s("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},d.getLabel(t.selectedTimeInfoItem))}_renderDropdownItems(){return t.timeInfoItems.map(r=>this._renderDropdownItem(r))}_renderDropdownItem(r){let e=t.selectedTimeInfoItem?.layerView?.layer?.id,i=r?.layerView?.layer?.id;return s("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>d.updateSelectedTimeInfoItem(r),selected:e===i},d.getLabel(r))}get el(){return b(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};D.style=F;export{D as instant_apps_time_filter};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as h}from"./UFXHNUVA.js";import{a as x}from"./F4S54KIN.js";import{e as v}from"./UFMXTBV5.js";import{c as w,h as I,i as T,k as p,l as u,x as E,z as S}from"./WKEGSNNF.js";import"./YDZXBSPS.js";import{a as _,c as s,d as C,e as b}from"./T2ZDNBN5.js";import"./AZKYXX53.js";var{state:t,onChange:L}=x({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",y=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await S();this.reactiveUtils=e,this.handles=await w()}catch{}}async init(e){e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let a=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(a,n),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,a=o=>n?.find(({id:f})=>o===f),m=i.map(({id:o})=>a(o)).map(async o=>await e.whenLayerView(o));return await Promise.all(m)}generateTimeInfoItems(e,i){return[...i].map(a=>{let l=e.find(({layer:m})=>m.id===a.id);return this.generateTimeInfoItem(l,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:a,timeIntervalValue:l}){let f=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:l??1,rangeStart:new Date(n),rangeEnd:new Date(a),timeExtent:f,previousTimeExtent:null}}async initTimeSlider(e,i){let n=async a=>(t.timeSlider=await E(a),t.autoPlay&&t.timeSlider.play(),void await Promise.resolve());if(i){let a=await this.getTimeSliderConfig(e,i);await n(a)}else{let a=t?.timeInfoItems?.[0];if(!a)return;t.selectedTimeInfoItem=a;let l=await this.getTimeSliderConfig(e);await n(l)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){L("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let a=t.view?.map?.widgets?.timeSlider,l={...n,fullTimeExtent:a?.fullTimeExtent,timeExtent:a?.currentTimeExtent};return a?.stopInterval?.unit&&a?.stopInterval?.value&&(l.stops={interval:await u({unit:a?.stopInterval?.unit,value:a?.stopInterval?.value})}),l}else{let[{timeExtent:a,rangeStart:l,rangeEnd:m,unit:o,timeIntervalValue:f}]=t.timeInfoItems;return{...n,fullTimeExtent:a,timeExtent:await p({start:l,end:m}),stops:{interval:await u({unit:o,value:f})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await p({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await I({filter:{timeExtent:i},includedEffect:await h(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await h(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await T({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){let a=n??await p({start:e,end:i});return await Promise.resolve(a)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await u({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},d=new y,M=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}",F=M,c={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},D=class{constructor(r){_(this,r),this.messages=void 0,this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){t.timeInfoConfigItems=this.timeInfoConfigItems,await d.init(this.timeSliderRef)}async updateFilterMode(){t.filterMode=this.filterMode}async updateTimeSliderConfig(){t.timeSliderConfig=this.timeSliderConfig,await d.init(this.timeSliderRef)}async updateAutoPlay(){t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop())}async componentWillLoad(){try{t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode),await v(this)}catch{}}async componentDidLoad(){try{await d.init(this.timeSliderRef)}catch{}finally{t.loading=!1}}disconnectedcallback(){d.destroy()}render(){return s(C,{key:"c994735c86c7bb3edeadf623a15c565960637f23"},this._renderBase())}_renderBase(){return s("div",{class:`${c.base}${this.view.type!=="2d"?c.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),s("div",{key:"time-slider",ref:r=>{r&&(this.timeSliderRef=r)}}))}_renderLoader(){return t.loading&&s("div",null,s("div",{class:c.background}),s("div",{class:c.loadingContainer},s("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let r=t.selectedTimeInfoItem?.layerView?.layer?.title;return s("span",{class:c.layerTitle},r)}_renderDropdown(){return t.selectedTimeInfoItem&&s("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return s("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},d.getLabel(t.selectedTimeInfoItem))}_renderDropdownItems(){return t.timeInfoItems.map(r=>this._renderDropdownItem(r))}_renderDropdownItem(r){let e=t.selectedTimeInfoItem?.layerView?.layer?.id,i=r?.layerView?.layer?.id;return s("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>d.updateSelectedTimeInfoItem(r),selected:e===i},d.getLabel(r))}get el(){return b(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};D.style=F;export{D as instant_apps_time_filter};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250513.1 */
4
+ import{d as g}from"./2VM36EOG.js";import"./GD5M2FA3.js";import{b as m}from"./TASEETLT.js";import{a as d,b as p}from"./B6EMT5VV.js";import{a as u}from"./66TACLFN.js";import{B as h,c as n,d as i,n as a,q as l,w as c}from"./NUCM6ABX.js";import"./AZKYXX53.js";var f=n`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block!important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static!important}.z-index-500{z-index:500!important}card-manager{display:block}}`,r=class extends c{constructor(){super(),this.customInfoText="",this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=!1,this.zoomAndScrollToSelected=!1,this.selectedFeaturesIds=[],this.enableCreateFeatures=!0,this.selectingFeatureFromMap=!1,this._cardLoading=!1,this._graphics=[],this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=u({name:"card-manager",blocking:!0}),this._isFeatureCreated=!1,this._createFeature=d(),this.createWorkFlowStarted=a(),this.backFromCreateWorkFlow=a(),this.featureOrRecordSubmitted=a(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled)}static{this.properties={customInfoText:1,enableEditGeometry:5,enableSnapping:5,isMobile:5,layerOrTable:0,mapView:0,zoomAndScrollToSelected:5,selectedFeaturesIds:0,enableCreateFeatures:5,selectingFeatureFromMap:5,_cardLoading:16,_graphics:16,_showCreateFeatureComponent:16,_showSubmitBtn:16,_translations:16}}static{this.styles=f}static{this.shadowRootOptions=l}async featureSelectionChange(e){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();let t=e.detail;this._graphics=await this._getFeaturesByIds(t)}async layerSelectionChange(e){this._showCreateFeatureComponent&&this._backFromCreateFeature();let t=e.detail[0];this.layerOrTable=this.mapView?await g(this.mapView,t):void 0}async relatedRecordToggled(e){let t=e.detail;this.layerOrTable=t}async load(){this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){let e=this._graphics?.length>0?"":"display-none",t=this._graphics?.length===0&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",o=this.layerOrTable?.isTable,b=o?this._translations.createRecord:this._translations.createFeature,w=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,F=this.enableCreateFeatures&&this.layerOrTable?.capabilities?.operations?.supportsAdd,_=!this.layerOrTable;return i`<div class="overflow-auto height-full"><calcite-shell class=${`position-relative ${e}`}><div class="position-static z-index-500 height-full"><info-card .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphics=${this._graphics} .isLoading=${this._cardLoading} .isMobile=${this.isMobile} .mapView=${this.mapView} position=relative show-close-btn></info-card></div></calcite-shell><calcite-shell class=${`position-relative ${s}`}><calcite-panel><div class=padding-1><calcite-notice .icon=${this.selectingFeatureFromMap?"map":"table"} icon-flip-rtl open><div slot=message>${w}</div></calcite-notice></div>${!this.isMobile&&F&&i`<calcite-button .disabled=${_} @click=${()=>this._createFeatureBtnClicked()} slot=footer width=full>${o?this._translations.createRecord:this._translations.createFeature}</calcite-button>`||""}</calcite-panel></calcite-shell><calcite-shell class=${`position-relative ${t}`}><calcite-flow-item selected><calcite-panel .heading=${b}><calcite-action class="back-button hydrated" icon=chevron-left @click=${this._backFromCreateFeature} scale=s slot=header-actions-start text></calcite-action>${this.getEditorComponent()}${this._showSubmitBtn&&i`<calcite-button appearance=solid class="footer-top-button footer-button" @click=${()=>this._createFeature.value&&void this._createFeature.value.submit()} slot=footer width=full>${this._translations.create}</calcite-button>`||""}</calcite-panel></calcite-flow-item></calcite-shell></div>`}getEditorComponent(){return i`<div>${this._showCreateFeatureComponent&&i`<create-feature customize-submit .enableSnapping=${this.enableSnapping&&this.enableCreateFeatures} .mapView=${this.mapView} @drawComplete=${()=>{this._showSubmitBtn=!0}} @editingAttachment=${e=>{this._showSubmitBtn=!e.detail}} @progressStatus=${()=>{setTimeout(()=>{this._isFeatureCreated=!1},2e3)}} @success=${this._featureCreated} .selectedLayerId=${this.layerOrTable?.id} ${p(this._createFeature)}></create-feature>`||""}</div>`}async _getFeaturesByIds(e){return(e.length>0&&this.layerOrTable&&this.mapView?await m(e,this.layerOrTable,[],!0,this.mapView?.spatialReference):[]).sort((t,s)=>e.indexOf(Number(t.getObjectId()))-e.indexOf(Number(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature.value&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout(()=>{this._showCreateFeatureComponent=!0},50)}};h("card-manager",r);export{r as CardManager};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as o}from"./YJF3FQQW.js";import"./OFJCPV4F.js";import{a as n,b as s}from"./NLDJFYI7.js";import"./FXITJZAV.js";import"./ECVA54TZ.js";import"./KAET4R4I.js";import"./2SNN45WE.js";import{a}from"./RA4WYINA.js";import"./BCXBJG72.js";import"./6YD2XRHQ.js";import"./K7L3LTTD.js";import"./ZX2WVODB.js";import"./BIOS2V5G.js";import"./ARPKSGRG.js";import"./J4DDOYKZ.js";import"./AW6GVVCK.js";import"./WFKJMOI2.js";import"./HLQ3GGP4.js";import"./HVVFJDSU.js";import"./4FGMEAIW.js";import"./62J73NXR.js";import"./G466QX4L.js";import"./MNNNZZVI.js";import"./Z7PAFRTZ.js";import"./UQD4DDWQ.js";import"./YZON6FQX.js";import"./424PZHQ5.js";import"./LKUFS2W4.js";import"./LZCG3PUX.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b as buildUiSchema};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as o}from"./EMLYWNKX.js";import"./5GGF35L5.js";import{a as n,b as s}from"./246GABX4.js";import"./BTPTRXRA.js";import"./ARTYQZHE.js";import"./YFTV5FQP.js";import"./Q3SDKCO5.js";import{a}from"./J2AOE72O.js";import"./ELHHO2HG.js";import"./NMQL6RPI.js";import"./HDVUMH4E.js";import"./UZT7DBX5.js";import"./QCY5Q4DC.js";import"./UIY6JQVD.js";import"./BEUU4V47.js";import"./7TXDKHSR.js";import"./QN47PAEX.js";import"./D2LLTH6P.js";import"./NJJU4T5L.js";import"./DVK7WGWJ.js";import"./7ZWQ5RIA.js";import"./SHCFADDZ.js";import"./FN3PUVIO.js";import"./JYBRQYQO.js";import"./KXKPHNIN.js";import"./F2TP7D3Z.js";import"./SOTTOWSO.js";import"./4DOBOTOA.js";import"./QMZEUTLX.js";import"./R2H5RSJ2.js";import"./AZKYXX53.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as G}from"./E3HGKBP3.js";import{b as K,f as P,m as _,n as U,o as L}from"./2452KO7J.js";import"./BGWVAQHN.js";import"./U25OTDOD.js";import"./WN3VAL43.js";import"./VFZGCM33.js";import"./ICETJ5L7.js";import{a as j}from"./GNY77HPF.js";import"./TYTGBM6D.js";import"./25QPPKFI.js";import"./H2PYJODK.js";import{j as S}from"./FXITJZAV.js";import"./ECVA54TZ.js";import"./KAET4R4I.js";import"./2SNN45WE.js";import{b}from"./4FGMEAIW.js";import{a as c,b as p}from"./G466QX4L.js";import"./OHY2KQUC.js";function x(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,r)=>[...t,{entityKey:r,storeKey:r}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function g(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function v(e,t){let{url:r,method:a,data:n}=e,{mode:o,cache:i,credentials:d}=t,{headers:m,params:E}=le(e,t),s=`${ce(t.hubApiUrl)}${r}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:o};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:A,status:re}=y;if(y.ok)return y.json();let oe=await y.json();throw new I(A,s,re,JSON.stringify(oe.message))}function ce(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function le(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:a}}var I=class extends Error{constructor(t,r,a,n){super(t),this.status=a,this.url=r,this.error=n}};var k;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(k||(k={}));var M;(function(e){e.asc="asc",e.desc="desc"})(M||(M={}));var H;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(H||(H={}));var B;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(B||(B={}));var V;(function(e){e.csv="csv",e.json="json"})(V||(V={}));var $;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})($||($={}));var Z;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(Z||(Z={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var F;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(F||(F={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var q;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(q||(q={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var W=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var J=(e,t,r)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},r),z=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),Q=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var X=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function Y(e){return e.token=await g(e),W(e.data,e)}async function ee(e){return e.token=await g(e),J(e.eventId,e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e)}function C(e){return[K(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function R(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function ne(e){var t;let r=P("event",C(e));return{self:r,siteRelative:r,siteRelativeEntityType:P("event"),workspaceRelative:G("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:R()}}function ae(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function ie(e){return e.token=await g(e),Q(e.data,e)}async function se(e){return e.token=await g(e),X(e.registrationId,e)}function N(){let e=b();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function O(){let{startDateTime:e,endDateTime:t}=b();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends _{storeToEntity(t,r){var a,n,o,i,d,m,E,D;let s=L(t,r,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((o=t.onlineMeeting)===null||o===void 0)&&o.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:A})=>({entityId:y,entityType:A})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.links=ne(t),s.slug=C(t),s.thumbnailUrl||(s.thumbnailUrl=R()),s.view={showMap:!!t.location},s.location=ae(t),s}entityToStore(t,r){let a=j(t),n=U(a,r,this.mappings),o=a.access;return o==="shared"?n.access=f.PRIVATE:n.access=o.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function w(e,t,r){let a=e.filter(({entityId:o})=>t.includes(o)),n=t.filter(o=>!a.find(({entityId:i})=>i===o));if(n.length){let{results:o}=await S({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:r.authentication}),i=o.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function nt(e,t){let r=Object.assign(Object.assign({},N()),e);r.endDate=r.startDate;let a=new h(x()),n=a.entityToStore(r,O()),o=await w(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:o,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await Y(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function at(e,t){var r,a;let n=Object.assign(Object.assign({},N()),e),o=new h(x()),i=o.entityToStore(n,O()),d=await w(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((r=i.description)===null||r===void 0?void 0:r.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await ee(Object.assign({eventId:i.id,data:m},t)),o.storeToEntity(i,{})}async function it(e,t){await te(Object.assign({eventId:e},t))}function st(e,t){return ie(Object.assign({data:e},t))}async function rt(e,t){await se(Object.assign({registrationId:e},t))}export{nt as createHubEvent,st as createHubEventRegistration,it as deleteHubEvent,rt as deleteHubEventRegistration,at as updateHubEvent};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as G}from"./ARKBNGKH.js";import{b as K,f as P,m as _,n as U,o as L}from"./DHRLL7NQ.js";import"./2DDJ2AFS.js";import"./7POMEGOT.js";import"./ICTNZMXC.js";import"./LJVAXK4D.js";import"./OOKZNHYN.js";import{a as j}from"./KJUPNH26.js";import"./TGKBXQFJ.js";import"./THV6PWO2.js";import"./P5SS2UTJ.js";import{j as S}from"./BTPTRXRA.js";import"./ARTYQZHE.js";import"./YFTV5FQP.js";import"./Q3SDKCO5.js";import{b}from"./DVK7WGWJ.js";import{a as c,b as p}from"./SHCFADDZ.js";import"./AZKYXX53.js";function x(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,r)=>[...t,{entityKey:r,storeKey:r}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function g(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function v(e,t){let{url:r,method:a,data:n}=e,{mode:o,cache:i,credentials:d}=t,{headers:m,params:E}=le(e,t),s=`${ce(t.hubApiUrl)}${r}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:o};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:A,status:re}=y;if(y.ok)return y.json();let oe=await y.json();throw new I(A,s,re,JSON.stringify(oe.message))}function ce(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function le(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:a}}var I=class extends Error{constructor(t,r,a,n){super(t),this.status=a,this.url=r,this.error=n}};var k;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(k||(k={}));var M;(function(e){e.asc="asc",e.desc="desc"})(M||(M={}));var H;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(H||(H={}));var B;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(B||(B={}));var V;(function(e){e.csv="csv",e.json="json"})(V||(V={}));var $;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})($||($={}));var Z;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(Z||(Z={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var F;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(F||(F={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var q;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(q||(q={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var W=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var J=(e,t,r)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},r),z=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),Q=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var X=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function Y(e){return e.token=await g(e),W(e.data,e)}async function ee(e){return e.token=await g(e),J(e.eventId,e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e)}function C(e){return[K(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function R(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function ne(e){var t;let r=P("event",C(e));return{self:r,siteRelative:r,siteRelativeEntityType:P("event"),workspaceRelative:G("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:R()}}function ae(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function ie(e){return e.token=await g(e),Q(e.data,e)}async function se(e){return e.token=await g(e),X(e.registrationId,e)}function N(){let e=b();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function O(){let{startDateTime:e,endDateTime:t}=b();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends _{storeToEntity(t,r){var a,n,o,i,d,m,E,D;let s=L(t,r,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((o=t.onlineMeeting)===null||o===void 0)&&o.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:A})=>({entityId:y,entityType:A})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.links=ne(t),s.slug=C(t),s.thumbnailUrl||(s.thumbnailUrl=R()),s.view={showMap:!!t.location},s.location=ae(t),s}entityToStore(t,r){let a=j(t),n=U(a,r,this.mappings),o=a.access;return o==="shared"?n.access=f.PRIVATE:n.access=o.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function w(e,t,r){let a=e.filter(({entityId:o})=>t.includes(o)),n=t.filter(o=>!a.find(({entityId:i})=>i===o));if(n.length){let{results:o}=await S({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:r.authentication}),i=o.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function nt(e,t){let r=Object.assign(Object.assign({},N()),e);r.endDate=r.startDate;let a=new h(x()),n=a.entityToStore(r,O()),o=await w(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:o,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await Y(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function at(e,t){var r,a;let n=Object.assign(Object.assign({},N()),e),o=new h(x()),i=o.entityToStore(n,O()),d=await w(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((r=i.description)===null||r===void 0?void 0:r.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await ee(Object.assign({eventId:i.id,data:m},t)),o.storeToEntity(i,{})}async function it(e,t){await te(Object.assign({eventId:e},t))}function st(e,t){return ie(Object.assign({data:e},t))}async function rt(e,t){await se(Object.assign({registrationId:e},t))}export{nt as createHubEvent,st as createHubEventRegistration,it as deleteHubEvent,rt as deleteHubEventRegistration,at as updateHubEvent};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{b as m}from"./U25OTDOD.js";import{a as f}from"./VFZGCM33.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
3
+ v1.0.0-next.20250513.1 */
4
+ import{b as m}from"./7POMEGOT.js";import{a as f}from"./LJVAXK4D.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250513.1 */
4
+ import{e as w}from"./2VM36EOG.js";import"./GD5M2FA3.js";import"./TASEETLT.js";import{a as p,b as g}from"./B6EMT5VV.js";import{b as m}from"./4I2ETJ5R.js";import{a as _}from"./66TACLFN.js";import{B as c,c as h,d as o,n as s,q as d,w as l,x as n}from"./NUCM6ABX.js";import"./AZKYXX53.js";var u=h`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0}.padding-sides-bottom-1{padding:0 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative!important;width:100%!important;background-color:var(--calcite-color-foreground-1)!important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1)!important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.position-absolute{position:absolute;inset:0;overflow:auto}.esri-editor__panel-content{padding-block:10px!important}}`,r=class extends l{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphicIndex=0,this.graphics=[],this.open=!1,this._editorLoading=!1,this._translations=_({name:"edit-card",blocking:!0}),this._editContainer=p(),this._editControlElements=[],this._editingDisabled="",this._shouldClose=!1,this.closeEdit=s(),this.editorInitialized=s(),this.editsComplete=s(),this.refreshGraphics=s(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphicIndex:9,graphics:0,mapView:0,open:5,_editorLoading:16,_translations:16}}static{this.styles=u}static{this.shadowRootOptions=d}async graphicsWatchHandler(){this.graphics.length===0&&this.open&&await this._closeEdit(!0)}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async mapChanged(){this.open&&await this._closeEdit(!1)}async load(){await this._initModules()}willUpdate(t){if(t.has("graphics")&&this.graphicsWatchHandler(),t.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openWatchHandler(this.open),this.graphics?.length>0&&this.graphics[0]?.layer){this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove();let i=this._layer.type==="subtype-sublayer"?this._layer.parent:this._layer;this._layerEditHandle=i.on("edits",()=>{setTimeout(()=>{this.editsComplete.emit()},50)})}}render(){let t=this.graphics?.length>0&&this.graphics[0]?!this.graphics[0].layer.editingEnabled:!0,i=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return o`<div class="position-absolute">${t?o`<calcite-notice kind=warning open slot=content-top width=full><div slot=message>${this._translations.enableEditing}</div></calcite-notice>`:void 0}<div class="position-absolute"><div class=${n(i)} id=feature-form ${g(this._editContainer)}></div><calcite-loader class=${n(a)} label scale=s></calcite-loader></div></div>`}async _initModules(){let[t,i]=await m(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();let t=document.createElement("div"),i=await w(this.mapView),a=this.enableSnapping&&this.enableEditGeometry,f=i.map(e=>({layer:e,geometryUpdatesEnabled:this.enableEditGeometry}));this._editor=this.Editor&&new this.Editor({view:this.mapView,layerInfos:f,visibleElements:{flow:!0,settingsMenu:a,sketch:!1,snappingControls:a},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils?.when(()=>this._editor?.viewModel.state==="adding-attachment"||this._editor?.viewModel.state==="editing-attachment"||this._editor?.viewModel.state==="creating-features",()=>{this._shouldClose=!1}),this._activeWorkflowHandle=this.reactiveUtils?.watch(()=>this._editor?.viewModel.activeWorkflow?.activeWorkflow,e=>{(e?.type==="update-table-record"||e?.type==="create-features")&&(this._shouldClose=!1),(!e?.type&&!e?.hasPendingEdits&&!this._editor?.activeWorkflow||!this._editor?.activeWorkflow?.started)&&(this.open=!1)}),this.enableSnapping||t.classList.add("hide-editor-toolbar"),this._editContainer.value&&this._editContainer.value.appendChild(t),this._editor&&this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this.enableSnapping&&((this.mapView?.ui.view).grid=null),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor?.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}};c("edit-card",r);export{r as EditCard};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as e}from"./2SNN45WE.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as e}from"./Q3SDKCO5.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import"./OHY2KQUC.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.0.0-next.20250513.1 */
4
+ import"./AZKYXX53.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513.1 */
4
4
  function u(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as P}from"./ZSNDJE3R.js";import{b as n,c as g,d as m,e as d,f as I,g as S,i as b,j as F,k as y,l as v,m as R,n as w,o as T}from"./LECLO3XE.js";import{b as o,h as _}from"./DGJOUZR5.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as P}from"./MCBLASJ3.js";import{b as n,c as g,d as m,e as d,f as I,g as S,i as b,j as F,k as y,l as v,m as R,n as w,o as T}from"./V66DC2RZ.js";import{b as o,h as _}from"./GD5M2FA3.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{C as O,a as y,b as E,g as b,h as C,i as m,j as u,k as _,l as f,m as v,o as P}from"./CQFOO7QD.js";var w=e=>(...a)=>{let t=u(),r=new e(...a),o=r.exports;m(t.at(-1));let s=r.component.manager;s._markExports(r,o),r.watchExports(n=>s._markExports(r,n)),_(r);let i=[r.component,...t].reverse();return v(i,n=>n===void 0?void 0:k(r,n,o),o)};function k(e,{host:a,key:t,isReactive:r},o){let s=a,i=s[t]!==e.exports,n=s[t]!==o,c=o!==e.exports;if(i&&!n&&c&&(s[t]=e.exports),a===e.component){if(r){let p=e.component.manager;n&&p._markExports(e,s[t]),e.onUpdate(h=>{if(h.has(t)){let x=s[t];x!==e.exports&&p._markExports(e,x)}})}e.assignedProperty=r?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{s[t]!==e.exports&&(d?f(()=>{s[t]=e.exports}):s[t]=e.exports)})}var V=e=>A(void 0,e);var g=class extends P{constructor(a,t){super(a);let r=this.exports;try{C(this.component);let o=t(this.component,this),s=this.exports!==r;if(b(o)){s||this.setProvisionalExports(o);let i=o.then(n=>{this.exports=n,super.catchUpLifecycle()}).catch(n=>{this._ready.reject(n),console.error(n)});this.onLoad(async()=>await i)}else(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},A=w(g);var L=e=>(a={})=>V((t,r)=>{let o=y(t.el),s={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},i=t;r.onLifecycle(()=>E(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};r.exports=p;let h=l.componentLabel;typeof h=="string"&&"label"in t&&t.label==null&&(t.label??=h),n(i.messageOverrides)},a.name));function n(c){let l=r.exports,d=l._original??l,p=N(d,c);c&&(p._original=d),r.exports=p}return"messageOverrides"in i&&r.onUpdate(c=>{c.has("messageOverrides")&&n(i.messageOverrides)}),a.blocking?(r.setProvisionalExports(s,!1),r.ready):s});function N(e,a){if(!a)return e;let t={...e};return Object.entries(a).forEach(([r,o])=>{typeof o=="object"?t[r]=N(e[r],o):t[r]=o??e[r]}),t}var re=L(O);export{re as a};
3
+ v1.0.0-next.20250513.1 */
4
+ import{C as O,a as y,b as E,g as b,h as C,i as m,j as u,k as _,l as f,m as v,o as P}from"./NUCM6ABX.js";var w=e=>(...a)=>{let t=u(),r=new e(...a),o=r.exports;m(t.at(-1));let s=r.component.manager;s._markExports(r,o),r.watchExports(n=>s._markExports(r,n)),_(r);let i=[r.component,...t].reverse();return v(i,n=>n===void 0?void 0:k(r,n,o),o)};function k(e,{host:a,key:t,isReactive:r},o){let s=a,i=s[t]!==e.exports,n=s[t]!==o,c=o!==e.exports;if(i&&!n&&c&&(s[t]=e.exports),a===e.component){if(r){let p=e.component.manager;n&&p._markExports(e,s[t]),e.onUpdate(h=>{if(h.has(t)){let x=s[t];x!==e.exports&&p._markExports(e,x)}})}e.assignedProperty=r?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{s[t]!==e.exports&&(d?f(()=>{s[t]=e.exports}):s[t]=e.exports)})}var V=e=>A(void 0,e);var g=class extends P{constructor(a,t){super(a);let r=this.exports;try{C(this.component);let o=t(this.component,this),s=this.exports!==r;if(b(o)){s||this.setProvisionalExports(o);let i=o.then(n=>{this.exports=n,super.catchUpLifecycle()}).catch(n=>{this._ready.reject(n),console.error(n)});this.onLoad(async()=>await i)}else(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},A=w(g);var L=e=>(a={})=>V((t,r)=>{let o=y(t.el),s={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},i=t;r.onLifecycle(()=>E(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};r.exports=p;let h=l.componentLabel;typeof h=="string"&&"label"in t&&t.label==null&&(t.label??=h),n(i.messageOverrides)},a.name));function n(c){let l=r.exports,d=l._original??l,p=N(d,c);c&&(p._original=d),r.exports=p}return"messageOverrides"in i&&r.onUpdate(c=>{c.has("messageOverrides")&&n(i.messageOverrides)}),a.blocking?(r.setProvisionalExports(s,!1),r.ready):s});function N(e,a){if(!a)return e;let t={...e};return Object.entries(a).forEach(([r,o])=>{typeof o=="object"?t[r]=N(e[r],o):t[r]=o??e[r]}),t}var re=L(O);export{re as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{e as o}from"./SAK5E7EM.js";import"./F5K2FGR2.js";import"./Z6MML6SM.js";import{a as n,c as t,d as r,e as i}from"./HIIYUUEW.js";import"./OHY2KQUC.js";var c=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}",l=c,h={content:"instant-apps-keyboard-shortcuts__content"},d=class{constructor(s){n(this,s),this.messages=void 0,this.view=void 0}render(){let s=this?.view?.type==="2d"||!this?.view?this._getMapViewCommands():this._getSceneViewCommands(),a=this._isMacLike()?"Option":"Alt";return t(r,{key:"84f9106dc025e1e2f72b3877c07f4f518f114451"},t("calcite-block",{key:"25201b23d1d74d25678b324db2d9ba8a19b65fe1",open:!0,class:h.content,heading:this?.messages?.generalShortcuts?.label},t("table",{key:"3eda56857013107bb19470f47b12c7a2296c6c51"},this.renderTableHeader(),t("tr",{key:"432311f662920cdc42f15f5d70b3ef9b93844cd0"},t("td",{key:"389c393270a40a0e9c7e0976d67a29154aa7b082"},`${a} + M`),t("td",{key:"e375dc8f8d69e75e20db9387d41dc2bd80862e06"},this?.messages?.generalShortcuts?.title))),t("calcite-label",{key:"5e770d6232fba18fb9a8bf64eadd713a417ec465"},this?.messages?.generalShortcuts?.title),t("table",{key:"6a16dbd6d987507dc024da5248ee3a4c5591fc7f"},this.renderTableHeader(),s.map(e=>t("tr",null,t("td",null,e.alias),t("td",null,e.title))))))}componentDidLoad(){o(this)}renderTableHeader(){return this?.messages?t("tr",null,t("th",null,this?.messages?.generalShortcuts.shortcut),t("th",null,this?.messages?.generalShortcuts.action)):null}_getMapViewCommands(){let s=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this?.messages.mapShortcuts.N,show:s},{alias:"A",title:this?.messages.mapShortcuts.A,show:s},{alias:"D",title:this?.messages.mapShortcuts.D,show:s},{alias:"+",title:this?.messages.mapShortcuts.plus,show:!0},{alias:"-",title:this?.messages.mapShortcuts.minus,show:!0}]:[];return this?.messages?a?.filter(e=>e.show):[]}_getSceneViewCommands(){let s=this.view?.type==="3d"&&this.view.viewingMode==="global",a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!!s},{alias:"P",title:this?.messages.sceneShortcuts.P,show:!0},{alias:"N",title:this?.messages.sceneShortcuts.N,show:!0},{alias:"W",title:this?.messages.sceneShortcuts.W,show:!0},{alias:"A",title:this?.messages.sceneShortcuts.A,show:!0},{alias:"D",title:this?.messages.sceneShortcuts.D,show:!0},{alias:"S",title:this?.messages.sceneShortcuts.S,show:!0},{alias:"J",title:this?.messages.sceneShortcuts.globalCommands.J,show:!!s},{alias:"U",title:this?.messages.sceneShortcuts.globalCommands.U,show:!!s}]:[];return this?.messages?a?.filter(e=>e.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}get el(){return i(this)}};d.style=l;export{d as instant_apps_keyboard_shortcuts};
3
+ v1.0.0-next.20250513.1 */
4
+ import{e as o}from"./UFMXTBV5.js";import"./WKEGSNNF.js";import"./YDZXBSPS.js";import{a as n,c as t,d as r,e as i}from"./T2ZDNBN5.js";import"./AZKYXX53.js";var c=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}",l=c,h={content:"instant-apps-keyboard-shortcuts__content"},d=class{constructor(s){n(this,s),this.messages=void 0,this.view=void 0}render(){let s=this?.view?.type==="2d"||!this?.view?this._getMapViewCommands():this._getSceneViewCommands(),a=this._isMacLike()?"Option":"Alt";return t(r,{key:"84f9106dc025e1e2f72b3877c07f4f518f114451"},t("calcite-block",{key:"25201b23d1d74d25678b324db2d9ba8a19b65fe1",open:!0,class:h.content,heading:this?.messages?.generalShortcuts?.label},t("table",{key:"3eda56857013107bb19470f47b12c7a2296c6c51"},this.renderTableHeader(),t("tr",{key:"432311f662920cdc42f15f5d70b3ef9b93844cd0"},t("td",{key:"389c393270a40a0e9c7e0976d67a29154aa7b082"},`${a} + M`),t("td",{key:"e375dc8f8d69e75e20db9387d41dc2bd80862e06"},this?.messages?.generalShortcuts?.title))),t("calcite-label",{key:"5e770d6232fba18fb9a8bf64eadd713a417ec465"},this?.messages?.generalShortcuts?.title),t("table",{key:"6a16dbd6d987507dc024da5248ee3a4c5591fc7f"},this.renderTableHeader(),s.map(e=>t("tr",null,t("td",null,e.alias),t("td",null,e.title))))))}componentDidLoad(){o(this)}renderTableHeader(){return this?.messages?t("tr",null,t("th",null,this?.messages?.generalShortcuts.shortcut),t("th",null,this?.messages?.generalShortcuts.action)):null}_getMapViewCommands(){let s=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this?.messages.mapShortcuts.N,show:s},{alias:"A",title:this?.messages.mapShortcuts.A,show:s},{alias:"D",title:this?.messages.mapShortcuts.D,show:s},{alias:"+",title:this?.messages.mapShortcuts.plus,show:!0},{alias:"-",title:this?.messages.mapShortcuts.minus,show:!0}]:[];return this?.messages?a?.filter(e=>e.show):[]}_getSceneViewCommands(){let s=this.view?.type==="3d"&&this.view.viewingMode==="global",a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!!s},{alias:"P",title:this?.messages.sceneShortcuts.P,show:!0},{alias:"N",title:this?.messages.sceneShortcuts.N,show:!0},{alias:"W",title:this?.messages.sceneShortcuts.W,show:!0},{alias:"A",title:this?.messages.sceneShortcuts.A,show:!0},{alias:"D",title:this?.messages.sceneShortcuts.D,show:!0},{alias:"S",title:this?.messages.sceneShortcuts.S,show:!0},{alias:"J",title:this?.messages.sceneShortcuts.globalCommands.J,show:!!s},{alias:"U",title:this?.messages.sceneShortcuts.globalCommands.U,show:!!s}]:[];return this?.messages?a?.filter(e=>e.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}get el(){return i(this)}};d.style=l;export{d as instant_apps_keyboard_shortcuts};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513.1 */
4
4
  function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as r}from"./4AB2653C.js";import{B as n,c as t,d as i,q as s,w as o}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as r}from"./66TACLFN.js";import{B as n,c as t,d as i,q as s,w as o}from"./NUCM6ABX.js";import"./AZKYXX53.js";var a=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as d}from"./N5C5RKHD.js";import{a as n}from"./4BCMHRMT.js";import{a as m}from"./FSQQ2APB.js";import"./VFZGCM33.js";import"./ICETJ5L7.js";import"./GNY77HPF.js";import"./TYTGBM6D.js";import{a as s,b as p}from"./WO4T5EBB.js";import"./25QPPKFI.js";import"./H2PYJODK.js";import{a as i,b as o}from"./NLDJFYI7.js";import"./FXITJZAV.js";import"./ECVA54TZ.js";import"./KAET4R4I.js";import"./2SNN45WE.js";import{a}from"./RA4WYINA.js";import"./BCXBJG72.js";import"./6YD2XRHQ.js";import"./K7L3LTTD.js";import"./ZX2WVODB.js";import"./BIOS2V5G.js";import"./ARPKSGRG.js";import"./J4DDOYKZ.js";import"./AW6GVVCK.js";import"./WFKJMOI2.js";import"./HLQ3GGP4.js";import"./HVVFJDSU.js";import"./4FGMEAIW.js";import"./62J73NXR.js";import"./G466QX4L.js";import"./MNNNZZVI.js";import"./Z7PAFRTZ.js";import"./UQD4DDWQ.js";import"./YZON6FQX.js";import"./424PZHQ5.js";import"./LKUFS2W4.js";import"./LZCG3PUX.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";var K=async(e,t,l)=>{var r;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:d((r=t.view)===null||r===void 0?void 0:r.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`},helperText:{labelKey:`${e}.fields.featuredImage.helperText`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await p(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.searchDiscoverability.label`,elements:[n(e),...await i(e,l),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...m(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions)]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]}};export{K as buildUiSchema};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as d}from"./47XOSUMG.js";import{a as n}from"./B7XFXDPR.js";import{a as m}from"./CXYY2U43.js";import"./LJVAXK4D.js";import"./OOKZNHYN.js";import"./KJUPNH26.js";import"./TGKBXQFJ.js";import{a as s,b as p}from"./JADH56DH.js";import"./THV6PWO2.js";import"./P5SS2UTJ.js";import{a as i,b as o}from"./246GABX4.js";import"./BTPTRXRA.js";import"./ARTYQZHE.js";import"./YFTV5FQP.js";import"./Q3SDKCO5.js";import{a}from"./J2AOE72O.js";import"./ELHHO2HG.js";import"./NMQL6RPI.js";import"./HDVUMH4E.js";import"./UZT7DBX5.js";import"./QCY5Q4DC.js";import"./UIY6JQVD.js";import"./BEUU4V47.js";import"./7TXDKHSR.js";import"./QN47PAEX.js";import"./D2LLTH6P.js";import"./NJJU4T5L.js";import"./DVK7WGWJ.js";import"./7ZWQ5RIA.js";import"./SHCFADDZ.js";import"./FN3PUVIO.js";import"./JYBRQYQO.js";import"./KXKPHNIN.js";import"./F2TP7D3Z.js";import"./SOTTOWSO.js";import"./4DOBOTOA.js";import"./QMZEUTLX.js";import"./R2H5RSJ2.js";import"./AZKYXX53.js";var K=async(e,t,l)=>{var r;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:d((r=t.view)===null||r===void 0?void 0:r.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`},helperText:{labelKey:`${e}.fields.featuredImage.helperText`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await p(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.searchDiscoverability.label`,elements:[n(e),...await i(e,l),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...m(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions)]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]}};export{K as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as e}from"./VPXUKOUC.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as e}from"./EKWMSR5N.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as m}from"./IJWNOINQ.js";import"./XXMXWRAP.js";import"./LECLO3XE.js";import"./BGWVAQHN.js";import"./GNY77HPF.js";import"./FXITJZAV.js";import"./ECVA54TZ.js";import"./2SNN45WE.js";import"./J4VSSVNP.js";import"./C2KBDSIZ.js";import{b}from"./ZKLPV256.js";import{a as w}from"./4AB2653C.js";import{B as f,c as d,d as i,f as p,n as a,q as u,w as _,x as n,y as g}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var F=d`@layer{/** @license
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as m}from"./QQ5XIIVB.js";import"./74BFRFR6.js";import"./V66DC2RZ.js";import"./2DDJ2AFS.js";import"./KJUPNH26.js";import"./BTPTRXRA.js";import"./ARTYQZHE.js";import"./Q3SDKCO5.js";import"./JAXLR4NG.js";import"./TASEETLT.js";import{b}from"./4I2ETJ5R.js";import{a as w}from"./66TACLFN.js";import{B as f,c as d,d as i,f as p,n as a,q as u,w as _,x as n,y as g}from"./NUCM6ABX.js";import"./AZKYXX53.js";var F=d`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");