@esri/solutions-components 1.0.0-next.20250530.1 → 1.0.0-next.20250603

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 (393) hide show
  1. package/dist/cdn/{FHVWZYRK.js → 2A4GEMAW.js} +2 -2
  2. package/dist/cdn/{JM6ORLVQ.js → 2FAWIR6P.js} +2 -2
  3. package/dist/cdn/{CMOLOAHQ.js → 2UN6IWSF.js} +2 -2
  4. package/dist/cdn/{472AWOX3.js → 2VM7OA5E.js} +1 -1
  5. package/dist/cdn/{3EVL4T45.js → 2ZA57CGC.js} +2 -2
  6. package/dist/cdn/{UZC6O522.js → 33FSCQFR.js} +2 -2
  7. package/dist/cdn/{MYGSYGYU.js → 33K737QJ.js} +2 -2
  8. package/dist/cdn/{223GEOHY.js → 366RGXYU.js} +2 -2
  9. package/dist/cdn/{BEBIPBJB.js → 37XXJM5S.js} +1 -1
  10. package/dist/cdn/{6ZIUZPW6.js → 3AUAAUJV.js} +2 -2
  11. package/dist/cdn/{XHQDXY4H.js → 3CMDAXPK.js} +2 -2
  12. package/dist/cdn/3FBV55H2.js +18 -0
  13. package/dist/cdn/{PHA5TYOC.js → 3FNKOWZ6.js} +1 -1
  14. package/dist/cdn/{2T7OWYJF.js → 3J7INGHN.js} +1 -1
  15. package/dist/cdn/{I5YXI6G2.js → 3MFVOQAG.js} +2 -2
  16. package/dist/cdn/{XZBB2UEX.js → 3QLFODAB.js} +1 -1
  17. package/dist/cdn/{7D7PABFH.js → 44H7S4RI.js} +2 -2
  18. package/dist/cdn/{VHCT5ETZ.js → 4A3IVB2K.js} +1 -1
  19. package/dist/cdn/{5LMXTWC2.js → 4CFJ2SMT.js} +2 -2
  20. package/dist/cdn/{H77B36RA.js → 4FJS36XM.js} +2 -2
  21. package/dist/cdn/{USUJ3LC6.js → 4GDXQTTJ.js} +2 -2
  22. package/dist/cdn/{2JM5ZUYC.js → 4GVXF3RJ.js} +2 -2
  23. package/dist/cdn/{ILUBVWJF.js → 4HXEQA7V.js} +1 -1
  24. package/dist/cdn/{YY23O533.js → 4N7K4EPV.js} +1 -1
  25. package/dist/cdn/{HCVBMJG5.js → 4N7Y4SLD.js} +2 -2
  26. package/dist/cdn/{5T6A2NT3.js → 4NEYX376.js} +2 -2
  27. package/dist/cdn/{2ED5S63G.js → 4VW6QB4P.js} +2 -2
  28. package/dist/cdn/{7P23QXUP.js → 4ZO64GTY.js} +2 -2
  29. package/dist/cdn/{KCN6JCXH.js → 52AYXYEN.js} +2 -2
  30. package/dist/cdn/{HQ4JF5OI.js → 5756YADX.js} +2 -2
  31. package/dist/cdn/{JAG5YFJB.js → 57BGJBOO.js} +2 -2
  32. package/dist/cdn/{6KYFPVWD.js → 5GKR6FQH.js} +1 -1
  33. package/dist/cdn/{2C2446YO.js → 5JNNNRPL.js} +2 -2
  34. package/dist/cdn/{P6B7MWVF.js → 5JUK3RD2.js} +2 -2
  35. package/dist/cdn/{EUKMNMGH.js → 5L7SETEA.js} +2 -2
  36. package/dist/cdn/{5A7G5CA4.js → 5PURYCNE.js} +2 -2
  37. package/dist/cdn/{UWYX3KLQ.js → 5PY2QCXV.js} +2 -2
  38. package/dist/cdn/{Z42LHLHR.js → 5PZG4WZ2.js} +1 -1
  39. package/dist/cdn/{XLMYFJTK.js → 5U3O5R7Y.js} +2 -2
  40. package/dist/cdn/{FPPXUL5B.js → 5UT6LXX2.js} +2 -2
  41. package/dist/cdn/{DZSY5JZN.js → 5X5QWLK4.js} +2 -2
  42. package/dist/cdn/{CH5PRHPR.js → 5ZXK637K.js} +2 -2
  43. package/dist/cdn/{AAQNZMHM.js → 625KI7RI.js} +2 -2
  44. package/dist/cdn/{U5GNKKAT.js → 6BNB663M.js} +2 -2
  45. package/dist/cdn/{PND2W5YW.js → 6EAMLBZU.js} +2 -2
  46. package/dist/cdn/{EL4X5ULJ.js → 6GMUYDHZ.js} +2 -2
  47. package/dist/cdn/{RVQUWOMM.js → 6GZFUPXS.js} +1 -1
  48. package/dist/cdn/{CTUHVTSA.js → 6LE4JC6W.js} +2 -2
  49. package/dist/cdn/{UY5WXQ65.js → 6O7FQOIX.js} +1 -1
  50. package/dist/cdn/{YMHHSIXK.js → 6R5LTHVO.js} +2 -2
  51. package/dist/cdn/{QF5QELVM.js → 6VGQW5MK.js} +2 -2
  52. package/dist/cdn/{6BYYEA3R.js → 6VSNZOZV.js} +2 -2
  53. package/dist/cdn/{I5VSPGGJ.js → 6Y7X5HKR.js} +2 -2
  54. package/dist/cdn/{5DFDVK6H.js → 72374WTO.js} +2 -2
  55. package/dist/cdn/{RSMTUN7I.js → 74JXQPXY.js} +2 -2
  56. package/dist/cdn/{CQFA3WBO.js → 75V45OM3.js} +2 -2
  57. package/dist/cdn/{VPRU3HQD.js → 7UK3LDOL.js} +2 -2
  58. package/dist/cdn/{GE3L6RLR.js → 7UUANWXQ.js} +2 -2
  59. package/dist/cdn/{C34H6SGK.js → 7XDQ6QJZ.js} +1 -1
  60. package/dist/cdn/{HYIN2EAD.js → A24PAMGW.js} +2 -2
  61. package/dist/cdn/{6M5LLBFV.js → A6BPCOYC.js} +2 -2
  62. package/dist/cdn/{2B4ODL4I.js → A6HBKPQC.js} +1 -1
  63. package/dist/cdn/{HQW4WYSH.js → A6LXL735.js} +2 -2
  64. package/dist/cdn/{MWA7BHLK.js → ABLJTPNB.js} +2 -2
  65. package/dist/cdn/{ZFWMGQUB.js → AEWLEC5R.js} +2 -2
  66. package/dist/cdn/{LATOYW5P.js → AIJ5IYXI.js} +1 -1
  67. package/dist/cdn/{RY37AQKX.js → AMYCKO4M.js} +2 -2
  68. package/dist/cdn/{KQCFHFAG.js → APRZLZCN.js} +2 -2
  69. package/dist/cdn/{XCCD5RBC.js → APZSVZBW.js} +2 -2
  70. package/dist/cdn/{YR5E3HFV.js → AQYHVXUQ.js} +2 -2
  71. package/dist/cdn/{V3NJ7RMG.js → ARGDR2B4.js} +1 -1
  72. package/dist/cdn/{R7OODGTN.js → ASKMOKLW.js} +2 -2
  73. package/dist/cdn/{O5IG7QMW.js → ATDAOWND.js} +2 -2
  74. package/dist/cdn/{7PDUKDDV.js → AV45F7BZ.js} +2 -2
  75. package/dist/cdn/AXFC7FMV.js +18 -0
  76. package/dist/cdn/{FDZTWT7F.js → BA6IXACI.js} +2 -2
  77. package/dist/cdn/{SGGIVA63.js → BDT7Z5VR.js} +1 -1
  78. package/dist/cdn/{EK4MS2HQ.js → BEOJ6WGN.js} +2 -2
  79. package/dist/cdn/{NNRPVDMT.js → BGXUK5SF.js} +2 -2
  80. package/dist/cdn/{VKCASX3G.js → BKUY276R.js} +2 -2
  81. package/dist/cdn/{GWV77TVF.js → BQTXWTTW.js} +2 -2
  82. package/dist/cdn/{5S33W4IV.js → BTBLSPFB.js} +2 -2
  83. package/dist/cdn/{JTDXHRQI.js → BTV6ZEWW.js} +2 -2
  84. package/dist/cdn/{3GNSS25V.js → BUVWZH45.js} +2 -2
  85. package/dist/cdn/{AX3FGYBT.js → BZDTBACE.js} +2 -2
  86. package/dist/cdn/BZJZ6IXS.js +18 -0
  87. package/dist/cdn/{MDHH56JU.js → C57X3EHF.js} +2 -2
  88. package/dist/cdn/{QSCPIFBP.js → C7LCT6L6.js} +2 -2
  89. package/dist/cdn/{TTJLCKXQ.js → CC4YYOYD.js} +2 -2
  90. package/dist/cdn/{Z3QNUQDB.js → CGOBCP3P.js} +2 -2
  91. package/dist/cdn/{VN7EOIEM.js → CI4LQLVW.js} +2 -2
  92. package/dist/cdn/{NTHWDWQ4.js → CNKJYGTH.js} +2 -2
  93. package/dist/cdn/{CCKIOTSJ.js → CSZGFTFE.js} +1 -1
  94. package/dist/cdn/{M6XUGB2Z.js → CTIVVKPV.js} +2 -2
  95. package/dist/cdn/{JFKJRB56.js → DBDPNXPQ.js} +2 -2
  96. package/dist/cdn/{F3IRPQCO.js → DBR5OOXL.js} +2 -2
  97. package/dist/cdn/{HITNOOU3.js → DFKIBEIZ.js} +2 -2
  98. package/dist/cdn/{QU3EEVJP.js → DHYY26PS.js} +2 -2
  99. package/dist/cdn/{OVK3TD4M.js → DLY245BW.js} +2 -2
  100. package/dist/cdn/{YB3XRPJ5.js → DPWTZQFE.js} +2 -2
  101. package/dist/cdn/{6DT74H27.js → DTXUMQ6N.js} +2 -2
  102. package/dist/cdn/{GJKEPLSZ.js → DUMZWQHJ.js} +1 -1
  103. package/dist/cdn/{XZEDAG2T.js → DWO237TU.js} +2 -2
  104. package/dist/cdn/{UZ7Z2JVT.js → E7CHZ6T4.js} +1 -1
  105. package/dist/cdn/{QMT7LNSC.js → EG6MMGUU.js} +2 -2
  106. package/dist/cdn/{SAQTFWRS.js → EHLYUUVS.js} +2 -2
  107. package/dist/cdn/EN7UO6LR.js +4 -0
  108. package/dist/cdn/{24TZCC7K.js → ET6AHSSP.js} +2 -2
  109. package/dist/cdn/{H3O4ORNM.js → EUPMJ7XB.js} +2 -2
  110. package/dist/cdn/{73DTRGE3.js → EXON27GM.js} +2 -2
  111. package/dist/cdn/{TIPFSDZA.js → F2J5Y7E5.js} +2 -2
  112. package/dist/cdn/{BGVLMLWE.js → F3X2BLQJ.js} +2 -2
  113. package/dist/cdn/{TWSV65O2.js → F4DJRFSB.js} +2 -2
  114. package/dist/cdn/{ORPALJYI.js → F7WITYQU.js} +2 -2
  115. package/dist/cdn/{YUAPYYIK.js → FMHPOGCM.js} +2 -2
  116. package/dist/cdn/{VF44ZDU6.js → FQ5JTH4I.js} +2 -2
  117. package/dist/cdn/{RRKWVYF6.js → FSBIFQHD.js} +2 -2
  118. package/dist/cdn/G5JN5E37.js +4 -0
  119. package/dist/cdn/{ON477UD5.js → GIVVHLJ5.js} +2 -2
  120. package/dist/cdn/{SGUBT5JB.js → GPQOLN4J.js} +2 -2
  121. package/dist/cdn/{VE4I5REF.js → GRCGJF6L.js} +1 -1
  122. package/dist/cdn/{OPHPZAWR.js → H542B5JM.js} +2 -2
  123. package/dist/cdn/{FZXH5UDA.js → H6ETAJI7.js} +2 -2
  124. package/dist/cdn/{TQM2UAMN.js → HAAZRTY4.js} +2 -2
  125. package/dist/cdn/{D6EOKX53.js → HCXLUG62.js} +2 -2
  126. package/dist/cdn/{WSDY2CHI.js → HGZ2ZRG2.js} +1 -1
  127. package/dist/cdn/HID27YYE.js +4 -0
  128. package/dist/cdn/{A5KMT3LM.js → HNMWLQ4P.js} +2 -2
  129. package/dist/cdn/{MHOAA6P3.js → HP47KQIL.js} +2 -2
  130. package/dist/cdn/{CBQHTAYP.js → HQMCVYLV.js} +2 -2
  131. package/dist/cdn/{OSW5BFUP.js → HQR4DBRY.js} +2 -2
  132. package/dist/cdn/{GDZS5JMN.js → HZZSNBS3.js} +2 -2
  133. package/dist/cdn/{EXXZSWW2.js → I65GKBFK.js} +2 -2
  134. package/dist/cdn/{3VKOIUB3.js → IH7CEDCW.js} +2 -2
  135. package/dist/cdn/{LWP7WX74.js → IHNKHDTN.js} +1 -1
  136. package/dist/cdn/{UE3MOFNO.js → IINUYE7O.js} +2 -2
  137. package/dist/cdn/{JQEVQ7FX.js → IMRODQTR.js} +2 -2
  138. package/dist/cdn/{P4QZUNYY.js → ISDGBZLI.js} +2 -2
  139. package/dist/cdn/{MNA6JCMZ.js → ISGD7DRK.js} +2 -2
  140. package/dist/cdn/{AFD4RBBU.js → IV5W2LR4.js} +2 -2
  141. package/dist/cdn/{64FZOXAN.js → J57JECBB.js} +2 -2
  142. package/dist/cdn/{BD737FGF.js → JDRWWKDW.js} +2 -2
  143. package/dist/cdn/{VMWRKCHU.js → JGJJH7WF.js} +2 -2
  144. package/dist/cdn/{WBJLCNZG.js → JOMS47IX.js} +2 -2
  145. package/dist/cdn/{7CR6HYTL.js → JSM2S2QS.js} +2 -2
  146. package/dist/cdn/{GJWN4WP3.js → JYGCMVNR.js} +2 -2
  147. package/dist/cdn/{EMCOKOZ5.js → K2VGV4UZ.js} +2 -2
  148. package/dist/cdn/{DRGQGDS6.js → K3SJYM4F.js} +2 -2
  149. package/dist/cdn/{O2HIRP5H.js → KAWZEU6O.js} +2 -2
  150. package/dist/cdn/{OPPO4362.js → KFM7WUAQ.js} +2 -2
  151. package/dist/cdn/{NEMP2EEG.js → KL7DRDW2.js} +2 -2
  152. package/dist/cdn/{QCU33RPV.js → KNCDLA4E.js} +1 -1
  153. package/dist/cdn/{RC47QK6Z.js → KRV3SETB.js} +2 -2
  154. package/dist/cdn/{HMGYITJ2.js → KSDOE35B.js} +2 -2
  155. package/dist/cdn/{7TZWE6K3.js → KW7ESGLJ.js} +2 -2
  156. package/dist/cdn/{QUVQBXCE.js → KWZCQ3VD.js} +1 -1
  157. package/dist/cdn/{WAQJ4IC3.js → KXEMWZO6.js} +2 -2
  158. package/dist/cdn/{L4KM5BWJ.js → L4ISV5RK.js} +2 -2
  159. package/dist/cdn/{T2TH26PQ.js → L6CX44Z5.js} +2 -2
  160. package/dist/cdn/LA6STTUP.js +18 -0
  161. package/dist/cdn/{YUQ2VNA6.js → LCECO72T.js} +2 -2
  162. package/dist/cdn/{NTASDALK.js → LCQZYUYU.js} +2 -2
  163. package/dist/cdn/{4TE3RTYX.js → LDHWWP3O.js} +2 -2
  164. package/dist/cdn/{ES6XKTKK.js → LLCIDIID.js} +1 -1
  165. package/dist/cdn/{OF5XRF7X.js → LQRRCB3C.js} +2 -2
  166. package/dist/cdn/{F7SKZ7TX.js → LR47QHYS.js} +2 -2
  167. package/dist/cdn/{6FUII4JI.js → LVIZMINF.js} +2 -2
  168. package/dist/cdn/{VVQFUKSX.js → LXPHCBM5.js} +2 -2
  169. package/dist/cdn/{RCFE6H7G.js → LXS2AJEK.js} +2 -2
  170. package/dist/cdn/{EDTDPGLP.js → LYFNBASL.js} +2 -2
  171. package/dist/cdn/{VFHITJHF.js → M26MNGCL.js} +2 -2
  172. package/dist/cdn/{55EBYUZN.js → M5WEVKK2.js} +2 -2
  173. package/dist/cdn/{C556IKNJ.js → M7ITS5EC.js} +1 -1
  174. package/dist/cdn/{V2CTNIEN.js → M7TM6DL5.js} +2 -2
  175. package/dist/cdn/{PDWNCQED.js → MBKEEFO3.js} +2 -2
  176. package/dist/cdn/{7LTABIRE.js → MEW36LMS.js} +2 -2
  177. package/dist/cdn/{77VHGJGG.js → MTAFSOZF.js} +1 -1
  178. package/dist/cdn/{F45IOLFK.js → MZ3C3PLC.js} +2 -2
  179. package/dist/cdn/{AOPVDS2B.js → N2TNRWJF.js} +2 -2
  180. package/dist/cdn/{CPBYDRAF.js → NB2AKH3A.js} +2 -2
  181. package/dist/cdn/NCNFBZEY.js +4 -0
  182. package/dist/cdn/{MCM7XWTF.js → NJS2CKEO.js} +2 -2
  183. package/dist/cdn/{X6MD346Y.js → NKM5PHRC.js} +2 -2
  184. package/dist/cdn/{NIXMWDPM.js → NNZZATKY.js} +1 -1
  185. package/dist/cdn/{DA5DY7HY.js → NQ4ICIBR.js} +1 -1
  186. package/dist/cdn/{GMHH44W3.js → NWZYZHBH.js} +2 -2
  187. package/dist/cdn/{UCRJGUPR.js → NZC7ZEDD.js} +2 -2
  188. package/dist/cdn/{UQ6BMBWB.js → OHOSKCFF.js} +2 -2
  189. package/dist/cdn/{C3P3IFUU.js → OOS7Q5BR.js} +2 -2
  190. package/dist/cdn/{VZJ4LWYJ.js → OPSLTU2D.js} +2 -2
  191. package/dist/cdn/{MKROWF52.js → ORS7WW2L.js} +2 -2
  192. package/dist/cdn/{GZU2CPZN.js → OXLCWOZZ.js} +1 -1
  193. package/dist/cdn/{3J33WXHY.js → OZM5FWRV.js} +2 -2
  194. package/dist/cdn/{NBHU4HTV.js → PHD2JCWF.js} +2 -2
  195. package/dist/cdn/{JSIYTPMP.js → PLHROWIR.js} +2 -2
  196. package/dist/cdn/{W6GET7ZB.js → POKUL5TH.js} +2 -2
  197. package/dist/cdn/{IDBD7LSX.js → PRAQJCBD.js} +1 -1
  198. package/dist/cdn/{BMXZA6UO.js → PWEVKIZK.js} +2 -2
  199. package/dist/cdn/{O5STABPN.js → Q56UGEXW.js} +3 -3
  200. package/dist/cdn/{45VAALBN.js → Q5NAOGAD.js} +2 -2
  201. package/dist/cdn/{2TFAMRO4.js → QH2NM2LV.js} +2 -2
  202. package/dist/cdn/{HAQYF5US.js → QNCDHG6M.js} +2 -2
  203. package/dist/cdn/{QEWSNHU7.js → QSLPNYME.js} +2 -2
  204. package/dist/cdn/{T4BAASGD.js → QUD76AE3.js} +2 -2
  205. package/dist/cdn/{TP3QX5HT.js → QXSB5XMK.js} +2 -2
  206. package/dist/cdn/QY23GFSQ.js +18 -0
  207. package/dist/cdn/{GUTIVTWX.js → QY45MM6H.js} +2 -2
  208. package/dist/cdn/{6XR6SHED.js → QZX4UFCY.js} +2 -2
  209. package/dist/cdn/{OONRY2LS.js → R53AHPX5.js} +2 -2
  210. package/dist/cdn/{7NWNTAMW.js → R6NTO3Q6.js} +2 -2
  211. package/dist/cdn/{ZXPEMYN2.js → RFHDRFGS.js} +2 -2
  212. package/dist/cdn/RFWDAEX2.js +4 -0
  213. package/dist/cdn/{I5SZYEIS.js → RGCRUPHX.js} +2 -2
  214. package/dist/cdn/{KLKHZZWM.js → RHGYSJQA.js} +2 -2
  215. package/dist/cdn/{F56VXVXX.js → RVHAU3CH.js} +2 -2
  216. package/dist/cdn/{JKNNOYXC.js → RWFF5YID.js} +2 -2
  217. package/dist/cdn/{BV76MPA5.js → RWRLALYY.js} +1 -1
  218. package/dist/cdn/{NNQEWRZP.js → S4TXVKLA.js} +2 -2
  219. package/dist/cdn/{SLLAIEW4.js → SAR7MN33.js} +2 -2
  220. package/dist/cdn/{CCBFE5GN.js → SAZR5JKX.js} +2 -2
  221. package/dist/cdn/{JI5ZRG7H.js → SDRAN3OH.js} +2 -2
  222. package/dist/cdn/{VGOCUCWJ.js → SG7ASNOB.js} +2 -2
  223. package/dist/cdn/{W6QIPNCT.js → SH3K2KFX.js} +2 -2
  224. package/dist/cdn/{CXJ53YNZ.js → SIQSKU2H.js} +2 -2
  225. package/dist/cdn/{WS4WNRNQ.js → SJTUSB4R.js} +2 -2
  226. package/dist/cdn/{YF65GC7S.js → SZFRG5K6.js} +2 -2
  227. package/dist/cdn/TALVCF4P.js +4 -0
  228. package/dist/cdn/{UFW2PO2K.js → THS6LBCN.js} +2 -2
  229. package/dist/cdn/{BOKYBROP.js → TMHRPUNK.js} +2 -2
  230. package/dist/cdn/{DV3SVW2J.js → TN5EFH2C.js} +2 -2
  231. package/dist/cdn/{MVQ6IP26.js → TOKE63N3.js} +2 -2
  232. package/dist/cdn/TQMRSAFA.js +4 -0
  233. package/dist/cdn/{N33BUUYD.js → TUAWE5EN.js} +2 -2
  234. package/dist/cdn/{RX6Y3JHB.js → TUCFY7YQ.js} +2 -2
  235. package/dist/cdn/{3YMTKEK5.js → TUHWQGYN.js} +1 -1
  236. package/dist/cdn/{46KNGUML.js → TV65JGDX.js} +2 -2
  237. package/dist/cdn/{ZKX2RDI2.js → U4GLVCNY.js} +2 -2
  238. package/dist/cdn/{NUFMCKHA.js → UHUD34X4.js} +2 -2
  239. package/dist/cdn/{IRHPLBFA.js → URYZV6SO.js} +2 -2
  240. package/dist/cdn/{J3RU5GJE.js → UUR3FD45.js} +2 -2
  241. package/dist/cdn/UWKI6HOQ.js +4 -0
  242. package/dist/cdn/{2ZIEEWZM.js → UWWBX26U.js} +2 -2
  243. package/dist/cdn/{LSMRI35A.js → V22D7OG6.js} +2 -2
  244. package/dist/cdn/{KK5SXYNF.js → V25OBM3C.js} +2 -2
  245. package/dist/cdn/{BVIFPMNY.js → VBK4PPCQ.js} +2 -2
  246. package/dist/cdn/{RHQK4LTS.js → VCDZZS27.js} +2 -2
  247. package/dist/cdn/{EJS4EUMP.js → VEQOPFAV.js} +2 -2
  248. package/dist/cdn/{FNI2QU5Z.js → VG3BBGRI.js} +2 -2
  249. package/dist/cdn/{NLJSCFKM.js → VG7H22YB.js} +2 -2
  250. package/dist/cdn/{GV3IWFPF.js → VNTYBTCD.js} +1 -1
  251. package/dist/cdn/{4NUVQZAI.js → W2CO36SV.js} +1 -1
  252. package/dist/cdn/{WSUH3PG3.js → W56TSBOM.js} +2 -2
  253. package/dist/cdn/{XVDOUKNJ.js → WDA64WDT.js} +1 -1
  254. package/dist/cdn/{Y52LUZET.js → WLKBA7CG.js} +4 -4
  255. package/dist/cdn/{RWFMDK27.js → WPNPWQ6R.js} +2 -2
  256. package/dist/cdn/{VLHN4DFG.js → WZJ3BDMJ.js} +2 -2
  257. package/dist/cdn/{NS4YKFI7.js → XBKSHO76.js} +1 -1
  258. package/dist/cdn/{JN5YR3C5.js → XEIWNXWX.js} +2 -2
  259. package/dist/cdn/{7BQXCVHW.js → XGOYCHBF.js} +2 -2
  260. package/dist/cdn/{KXIA4444.js → XPAOEXYI.js} +2 -2
  261. package/dist/cdn/{DIYKH756.js → XXG6OZIV.js} +2 -2
  262. package/dist/cdn/{WQSGEAXH.js → XY2CJESI.js} +2 -2
  263. package/dist/cdn/{K7LCWOS7.js → XZGQVKSJ.js} +2 -2
  264. package/dist/cdn/YCQOF3LL.js +18 -0
  265. package/dist/cdn/{OWDWZHMV.js → YEMJYN23.js} +2 -2
  266. package/dist/cdn/{4J4NUK33.js → YGZJNXB4.js} +2 -2
  267. package/dist/cdn/{DTXY6OOO.js → YKBIMKAF.js} +2 -2
  268. package/dist/cdn/{RTFLMETG.js → YOSKFWVD.js} +1 -1
  269. package/dist/cdn/{FAND47WD.js → YT5XHWKF.js} +2 -2
  270. package/dist/cdn/{I5QBLE4N.js → Z5DFQP25.js} +2 -2
  271. package/dist/cdn/{P5R5UYXR.js → ZA5OWP4Z.js} +2 -2
  272. package/dist/cdn/{DP5KDHDS.js → ZCGJANKZ.js} +1 -1
  273. package/dist/cdn/{WO34BPRA.js → ZE3BYAS5.js} +2 -2
  274. package/dist/cdn/{YO2OX52L.js → ZRXETQUW.js} +2 -2
  275. package/dist/cdn/{VIJEHZLK.js → ZSUMA456.js} +2 -2
  276. package/dist/cdn/{MLZ4RTHG.js → ZXH6RGBE.js} +2 -2
  277. package/dist/cdn/index.js +2 -2
  278. package/dist/chunks/Auth.js +1 -1
  279. package/dist/chunks/cardFetchingUtils.js +1 -1
  280. package/dist/chunks/common.js +1 -1
  281. package/dist/chunks/deployAppContexts.js +1 -1
  282. package/dist/chunks/downloadUtils.js +1 -1
  283. package/dist/chunks/index.js +1 -1
  284. package/dist/chunks/interfaces.js +1 -1
  285. package/dist/chunks/loadModules.js +1 -1
  286. package/dist/chunks/mapViewUtils.js +1 -1
  287. package/dist/chunks/pciUtils.js +1 -1
  288. package/dist/chunks/popupUtils.js +1 -1
  289. package/dist/chunks/publicNotificationStore.js +1 -1
  290. package/dist/chunks/queryUtils.js +1 -1
  291. package/dist/chunks/runtime.js +1 -1
  292. package/dist/chunks/solution-store.js +1 -1
  293. package/dist/chunks/templates.js +1 -1
  294. package/dist/chunks/useT9n.js +1 -1
  295. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  296. package/dist/components/basemap-gallery/customElement.js +1 -1
  297. package/dist/components/buffer-tools/customElement.js +1 -1
  298. package/dist/components/card-manager/customElement.js +1 -1
  299. package/dist/components/consent-manager/customElement.js +1 -1
  300. package/dist/components/create-feature/customElement.js +1 -1
  301. package/dist/components/create-related-feature/customElement.js +1 -1
  302. package/dist/components/crowdsource-manager/customElement.js +1 -1
  303. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  304. package/dist/components/deduct-calculator/customElement.js +1 -1
  305. package/dist/components/delete-button/customElement.js +1 -1
  306. package/dist/components/delete-dialog/customElement.js +1 -1
  307. package/dist/components/edit-card/customElement.d.ts +6 -0
  308. package/dist/components/edit-card/customElement.js +21 -27
  309. package/dist/components/feature-details/customElement.js +1 -1
  310. package/dist/components/feature-list/customElement.js +1 -1
  311. package/dist/components/field-selection/customElement.js +78 -63
  312. package/dist/components/floor-filter/customElement.js +1 -1
  313. package/dist/components/info-card/customElement.js +21 -18
  314. package/dist/components/json-editor/customElement.js +1 -1
  315. package/dist/components/layer-list/customElement.js +1 -1
  316. package/dist/components/layer-table/customElement.d.ts +2 -0
  317. package/dist/components/layer-table/customElement.js +106 -80
  318. package/dist/components/map-card/customElement.js +34 -31
  319. package/dist/components/map-card/index.d.ts +3 -1
  320. package/dist/components/map-card/index.js +3 -1
  321. package/dist/components/map-draw-tools/customElement.js +1 -1
  322. package/dist/components/map-fullscreen/customElement.js +1 -1
  323. package/dist/components/map-layer-picker/customElement.js +18 -15
  324. package/dist/components/map-legend/customElement.js +1 -1
  325. package/dist/components/map-picker/customElement.js +2 -2
  326. package/dist/components/map-search/customElement.js +1 -1
  327. package/dist/components/map-select-tools/customElement.js +1 -1
  328. package/dist/components/map-tools/customElement.js +1 -1
  329. package/dist/components/pci-calculator/customElement.js +1 -1
  330. package/dist/components/pdf-download/customElement.js +1 -1
  331. package/dist/components/public-notification/customElement.js +1 -1
  332. package/dist/components/refine-selection/customElement.js +1 -1
  333. package/dist/components/selection-tool/customElement.js +1 -1
  334. package/dist/components/solution-article-card/customElement.js +1 -1
  335. package/dist/components/solution-configuration/customElement.js +1 -1
  336. package/dist/components/solution-configure-panel/customElement.js +1 -1
  337. package/dist/components/solution-configure-titles/customElement.js +1 -1
  338. package/dist/components/solution-contents/customElement.js +1 -1
  339. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  340. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  341. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  342. package/dist/components/solution-deployed-card/customElement.js +1 -1
  343. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  344. package/dist/components/solution-details-card/customElement.js +1 -1
  345. package/dist/components/solution-details-panel/customElement.js +1 -1
  346. package/dist/components/solution-item/customElement.js +1 -1
  347. package/dist/components/solution-item-accordion/customElement.js +1 -1
  348. package/dist/components/solution-item-details/customElement.js +1 -1
  349. package/dist/components/solution-item-icon/customElement.js +1 -1
  350. package/dist/components/solution-item-sharing/customElement.js +1 -1
  351. package/dist/components/solution-items-diagram/customElement.js +1 -1
  352. package/dist/components/solution-organization-variables/customElement.js +1 -1
  353. package/dist/components/solution-resource-item/customElement.js +1 -1
  354. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  355. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  356. package/dist/components/solution-template-data/customElement.js +1 -1
  357. package/dist/components/solution-variables/customElement.js +1 -1
  358. package/dist/components/solutions-all-panel/customElement.js +1 -1
  359. package/dist/components/solutions-all-shell/customElement.js +1 -1
  360. package/dist/components/solutions-article-panel/customElement.js +1 -1
  361. package/dist/components/solutions-articles/customElement.js +1 -1
  362. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  363. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  364. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  365. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  366. package/dist/components/spatial-ref/customElement.js +1 -1
  367. package/dist/components/store-manager/customElement.js +1 -1
  368. package/dist/docs/api.json +46 -1
  369. package/dist/docs/docs.json +43 -1
  370. package/dist/docs/vscode.html-custom-data.json +6 -1
  371. package/dist/docs/web-types.json +25 -2
  372. package/dist/index.d.ts +1 -0
  373. package/dist/index.js +1 -1
  374. package/dist/loader.js +2 -2
  375. package/dist/types/lumina.d.ts +2 -1
  376. package/dist/types/preact.d.ts +2 -1
  377. package/dist/types/react.d.ts +2 -1
  378. package/dist/types/stencil.d.ts +2 -1
  379. package/package.json +1 -1
  380. package/dist/cdn/2AEJNC2Y.js +0 -4
  381. package/dist/cdn/2BATVN26.js +0 -18
  382. package/dist/cdn/2N6IKQAJ.js +0 -4
  383. package/dist/cdn/6Z5XKLIH.js +0 -4
  384. package/dist/cdn/CZCNKDL6.js +0 -4
  385. package/dist/cdn/DVMPKT5N.js +0 -4
  386. package/dist/cdn/GH3PRS32.js +0 -18
  387. package/dist/cdn/GXKAH7DD.js +0 -18
  388. package/dist/cdn/HTW2BPA3.js +0 -18
  389. package/dist/cdn/IDRORHF7.js +0 -18
  390. package/dist/cdn/L2QQ7XWU.js +0 -4
  391. package/dist/cdn/N3A5PMYA.js +0 -4
  392. package/dist/cdn/PRILEYGG.js +0 -4
  393. package/dist/cdn/UWFHS56N.js +0 -18
@@ -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.20250530.1 */
3
+ v1.0.0-next.20250603 */
4
4
  function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w as b};
@@ -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.20250530.1 */
4
- import{a as s}from"./AX3FGYBT.js";import"./QF5QELVM.js";import"./GJKEPLSZ.js";import"./XZBB2UEX.js";import"./2B4ODL4I.js";import{a as i,b as a}from"./5LMXTWC2.js";import"./CQFA3WBO.js";import"./6ZIUZPW6.js";import{a as o}from"./OPHPZAWR.js";import{a as r}from"./UFW2PO2K.js";import"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./2T7OWYJF.js";import"./ILUBVWJF.js";import"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};
3
+ v1.0.0-next.20250603 */
4
+ import{a as s}from"./BZDTBACE.js";import"./6VGQW5MK.js";import"./DUMZWQHJ.js";import"./3QLFODAB.js";import"./A6HBKPQC.js";import{a as i,b as a}from"./4CFJ2SMT.js";import"./75V45OM3.js";import"./3AUAAUJV.js";import{a as o}from"./H542B5JM.js";import{a as r}from"./THS6LBCN.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./3J7INGHN.js";import"./4HXEQA7V.js";import"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};
@@ -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.20250530.1 */
4
- import{a as e}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import{a as t}from"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
3
+ v1.0.0-next.20250603 */
4
+ import{a as e}from"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import{a as t}from"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
@@ -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.20250530.1 */
4
- import{a as c}from"./TP3QX5HT.js";import{D as l,G as r,I as n,c as a,d as e,q as s}from"./RTFLMETG.js";import"./GZU2CPZN.js";var d=a`@layer{/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{a as c}from"./QXSB5XMK.js";import{D as l,G as r,I as n,c as a,d as e,q as s}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var d=a`@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.20250530.1 */
4
- import{a as s}from"./WO34BPRA.js";import{a as l,b as p}from"./ES6XKTKK.js";import"./NBHU4HTV.js";import{b as m}from"./DA5DY7HY.js";import{a}from"./ILUBVWJF.js";import"./GZU2CPZN.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
3
+ v1.0.0-next.20250603 */
4
+ import{a as s}from"./ZE3BYAS5.js";import{a as l,b as p}from"./LLCIDIID.js";import"./PHD2JCWF.js";import{b as m}from"./NQ4ICIBR.js";import{a}from"./4HXEQA7V.js";import"./OXLCWOZZ.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
@@ -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.20250530.1 */
4
- import a from"./WAQJ4IC3.js";import{a as y,c as f}from"./4NUVQZAI.js";import"./C3P3IFUU.js";import"./7P23QXUP.js";import"./XZBB2UEX.js";import"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./ILUBVWJF.js";import{j as g,k as m,n as r}from"./6KYFPVWD.js";import{a as p}from"./TP3QX5HT.js";import{C as i,D as c,G as d,I as u,c as n,d as s,e as l,o as h}from"./RTFLMETG.js";import"./GZU2CPZN.js";export default $arcgis.t(([{b:a,c:_}])=>{var x=n`/** @license
3
+ v1.0.0-next.20250603 */
4
+ import a from"./KXEMWZO6.js";import{a as y,c as f}from"./W2CO36SV.js";import"./OOS7Q5BR.js";import"./4ZO64GTY.js";import"./3QLFODAB.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./4HXEQA7V.js";import{j as g,k as m,n as r}from"./5GKR6FQH.js";import{a as p}from"./QXSB5XMK.js";import{C as i,D as c,G as d,I as u,c as n,d as s,e as l,o as h}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";export default $arcgis.t(([{b:a,c:_}])=>{var x=n`/** @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.20250530.1 */
4
- import"./GZU2CPZN.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.0.0-next.20250603 */
4
+ import"./OXLCWOZZ.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as e}from"./NNRPVDMT.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.0.0-next.20250603 */
4
+ import{a as e}from"./BGXUK5SF.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
@@ -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.20250530.1 */
4
- import{a as V}from"./QEWSNHU7.js";import{a as s}from"./ES6XKTKK.js";import{a as k}from"./VE4I5REF.js";import{b as x}from"./YY23O533.js";import{d as H,e as X,g as z,h as Q}from"./3VKOIUB3.js";import{a as h,c as N,f as P,g as T,h as B,i as C,j as J,l as R,m as w}from"./DZSY5JZN.js";import{a as U,b as M,d as I}from"./7P23QXUP.js";import"./2ED5S63G.js";import"./UY5WXQ65.js";import"./QCU33RPV.js";import{a as S,b as c,c as u,d as L,e as E,f as K}from"./XLMYFJTK.js";import"./RVQUWOMM.js";import{d as G}from"./QF5QELVM.js";import"./GJKEPLSZ.js";import{a as m}from"./XZBB2UEX.js";import"./2B4ODL4I.js";import"./CQFA3WBO.js";import"./6ZIUZPW6.js";import{f as O,h as j}from"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./2T7OWYJF.js";import{a as d}from"./ILUBVWJF.js";import"./SGGIVA63.js";import"./GZU2CPZN.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var pe=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function $(e){return pe.test(e)}var ce=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},me=async(e,t,o)=>{let r=m(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},ue=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},Y=async(e,t)=>{let o=await ce(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await ue(e.id,t):await me(e.id,e.schedule,t)},W=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=H();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function Z(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=X(e.item,t);let i=N(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:V("content",t.id),thumbnail:i,contentEditUrl:B(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=$(t.url)?fe(e.item,r,o):ge(e.item,r,o),r.server){t.serverQueryCapability=u(c.QUERY,r.server),t.serverExtractCapability=u(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function fe(e,t,o){let r=q(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=u(c.QUERY,t.server),a.serverExtractCapability=u(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function ge(e,t,o){let r=q(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function q(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function ee(e,t,o){let a=new w(v()).storeToEntity(e,{});return Z(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],oe=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function re(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function ae(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(){return oe.map(e=>({type:"dynamic",format:e}))}function ne(e,t){let o=[],r={createReplica:()=>{o=re(t)},paging:()=>{o=se()},fgdb:()=>{o=ie()},exportImage:()=>{o=ae(t)}};return r[e]&&r[e](),o}function de(e){let t=E(e),o=ne(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,p)=>{i.push({key:`additionalResource::${p}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(g=>!a.formats.find(f=>f.key===g.key)),p=a.formats.filter(g=>i.find(f=>f.key===g.key));return{flowType:t,formats:[...p,...l]}}return{flowType:t,formats:i}}var ye={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ht(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,m(ye));return a=await z(a,t),r.storeToEntity(a,{})}async function St(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),p=S(e)&&n!=="createReplica";if(K(e)&&n&&l&&!p){let y=m(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let f=await Q(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(u(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),le={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:le}),F.server=_}else F.server=y}return W(t,e.access)&&(b(e._forceUpdate,[!0])&&await J(o.id,t),delete e._forceUpdate,await Y(e,t)),ee(f,t,F)}async function Pt(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function Tt(e,t){var o;let r=m(e);delete r.downloadFormats;let a=m(r);if(E(a)&&e.downloadFormats){let n=de(a),l=e.downloadFormats.map(p=>{let{label:g}=p;return k(p,["label"])});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=(o=e.location)===null||o===void 0?void 0:o.extent,a}export{ht as createContent,Pt as deleteContent,Tt as editorToContent,St as updateContent};
3
+ v1.0.0-next.20250603 */
4
+ import{a as V}from"./QSLPNYME.js";import{a as s}from"./LLCIDIID.js";import{a as k}from"./GRCGJF6L.js";import{b as x}from"./4N7K4EPV.js";import{d as H,e as X,g as z,h as Q}from"./IH7CEDCW.js";import{a as h,c as N,f as P,g as T,h as B,i as C,j as J,l as R,m as w}from"./5X5QWLK4.js";import{a as U,b as M,d as I}from"./4ZO64GTY.js";import"./4VW6QB4P.js";import"./6O7FQOIX.js";import"./KNCDLA4E.js";import{a as S,b as c,c as u,d as L,e as E,f as K}from"./5U3O5R7Y.js";import"./6GZFUPXS.js";import{d as G}from"./6VGQW5MK.js";import"./DUMZWQHJ.js";import{a as m}from"./3QLFODAB.js";import"./A6HBKPQC.js";import"./75V45OM3.js";import"./3AUAAUJV.js";import{f as O,h as j}from"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./3J7INGHN.js";import{a as d}from"./4HXEQA7V.js";import"./BDT7Z5VR.js";import"./OXLCWOZZ.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var pe=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function $(e){return pe.test(e)}var ce=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},me=async(e,t,o)=>{let r=m(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},ue=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},Y=async(e,t)=>{let o=await ce(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await ue(e.id,t):await me(e.id,e.schedule,t)},W=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=H();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function Z(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=X(e.item,t);let i=N(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:V("content",t.id),thumbnail:i,contentEditUrl:B(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=$(t.url)?fe(e.item,r,o):ge(e.item,r,o),r.server){t.serverQueryCapability=u(c.QUERY,r.server),t.serverExtractCapability=u(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function fe(e,t,o){let r=q(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=u(c.QUERY,t.server),a.serverExtractCapability=u(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function ge(e,t,o){let r=q(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function q(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function ee(e,t,o){let a=new w(v()).storeToEntity(e,{});return Z(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],oe=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function re(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function ae(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(){return oe.map(e=>({type:"dynamic",format:e}))}function ne(e,t){let o=[],r={createReplica:()=>{o=re(t)},paging:()=>{o=se()},fgdb:()=>{o=ie()},exportImage:()=>{o=ae(t)}};return r[e]&&r[e](),o}function de(e){let t=E(e),o=ne(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,p)=>{i.push({key:`additionalResource::${p}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(g=>!a.formats.find(f=>f.key===g.key)),p=a.formats.filter(g=>i.find(f=>f.key===g.key));return{flowType:t,formats:[...p,...l]}}return{flowType:t,formats:i}}var ye={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ht(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,m(ye));return a=await z(a,t),r.storeToEntity(a,{})}async function St(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),p=S(e)&&n!=="createReplica";if(K(e)&&n&&l&&!p){let y=m(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let f=await Q(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(u(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),le={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:le}),F.server=_}else F.server=y}return W(t,e.access)&&(b(e._forceUpdate,[!0])&&await J(o.id,t),delete e._forceUpdate,await Y(e,t)),ee(f,t,F)}async function Pt(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function Tt(e,t){var o;let r=m(e);delete r.downloadFormats;let a=m(r);if(E(a)&&e.downloadFormats){let n=de(a),l=e.downloadFormats.map(p=>{let{label:g}=p;return k(p,["label"])});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=(o=e.location)===null||o===void 0?void 0:o.extent,a}export{ht as createContent,Pt as deleteContent,Tt as editorToContent,St as updateContent};
@@ -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.20250530.1 */
4
- import"./GZU2CPZN.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/isDiscussable",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.20250603 */
4
+ import"./OXLCWOZZ.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/isDiscussable",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};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250603 */
4
+ import{a,b}from"./AQYHVXUQ.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -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.20250530.1 */
4
- import{k as a}from"./OWDWZHMV.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
3
+ v1.0.0-next.20250603 */
4
+ import{k as a}from"./YEMJYN23.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g 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.20250530.1 */
4
- import{a as f,c as g,e as I}from"./WBJLCNZG.js";import"./6KYFPVWD.js";import"./3YMTKEK5.js";import{a as w,b as c}from"./CCKIOTSJ.js";import{a as u}from"./TP3QX5HT.js";import{D as m,I as L,c as p,d as r,o as h,q as d}from"./RTFLMETG.js";import"./GZU2CPZN.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{a as f,c as g,e as I}from"./JOMS47IX.js";import"./5GKR6FQH.js";import"./TUHWQGYN.js";import{a as w,b as c}from"./CSZGFTFE.js";import{a as u}from"./QXSB5XMK.js";import{D as m,I as L,c as p,d as r,o as h,q as d}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as r,b as c}from"./R7OODGTN.js";import{b as h}from"./CCKIOTSJ.js";import{D as n,I as l,c as i,d as s,o as a}from"./RTFLMETG.js";import"./GZU2CPZN.js";var d=i`/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{a as r,b as c}from"./ASKMOKLW.js";import{b as h}from"./CSZGFTFE.js";import{D as n,I as l,c as i,d as s,o as a}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var d=i`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{d as g}from"./WBJLCNZG.js";import"./6KYFPVWD.js";import{b as m}from"./3YMTKEK5.js";import{a as d,b as p}from"./R7OODGTN.js";import{a as u}from"./TP3QX5HT.js";import{D as c,I as h,c as n,d as i,o as a,q as l}from"./RTFLMETG.js";import"./GZU2CPZN.js";var f=n`@layer{/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{d as g}from"./JOMS47IX.js";import"./5GKR6FQH.js";import{b as m}from"./TUHWQGYN.js";import{a as d,b as p}from"./ASKMOKLW.js";import{a as u}from"./QXSB5XMK.js";import{D as c,I as h,c as n,d as i,o as a,q as l}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var f=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250603 */
4
+ import{a as O}from"./4N7K4EPV.js";import{d as _}from"./KNCDLA4E.js";import{a as l,d as p}from"./3QLFODAB.js";import"./4HXEQA7V.js";import"./OXLCWOZZ.js";function C(e,a){let i=[];return O(e,(t,c)=>(c.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let c=q(a),r,u,s,m,d;switch(c){case"stat":s=import("./VEQOPFAV.js"),m={"hub:card:stat":()=>import("./SAR7MN33.js")}[a],await Promise.all([s,m()]).then(async([f,o])=>{let{MetricSchema:n}=f;r=l(n),u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(d=o.buildDefaults(e,i,t))});break;case"follow":s=import("./LQRRCB3C.js"),m={"hub:card:follow":()=>import("./HCXLUG62.js")}[a],await Promise.all([s,m()]).then(([f,o])=>{let{FollowSchema:n}=f;r=l(n),u=o.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./DBDPNXPQ.js"),m=import("./UHUD34X4.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:c}=a;t.maxLength=_(c);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:c}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let c=a.split(":")[1],r,u,s;switch(c){case"site":let{getSiteSchema:m}=await import("./APRZLZCN.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./HQMCVYLV.js"),"hub:site:create":()=>import("./XGOYCHBF.js"),"hub:site:followers":()=>import("./HNMWLQ4P.js"),"hub:site:discussions":()=>import("./URYZV6SO.js"),"hub:site:settings":()=>import("./3MFVOQAG.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./WZJ3BDMJ.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./S4TXVKLA.js"),"hub:discussion:create":()=>import("./5PY2QCXV.js"),"hub:discussion:settings":()=>import("./LXS2AJEK.js"),"hub:discussion:settings:discussions":()=>import("./ZA5OWP4Z.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./HID27YYE.js");r=l(f);let o=await{"hub:channel:edit":()=>import("./I65GKBFK.js"),"hub:channel:create":()=>import("./NCNFBZEY.js")}[a]();u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(s=await o.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./TALVCF4P.js");r=l(n);let v=await{"hub:project:edit":()=>import("./2ZA57CGC.js"),"hub:project:create":()=>import("./F7WITYQU.js"),"hub:project:create2":()=>import("./FQ5JTH4I.js"),"hub:project:metrics":()=>import("./5L7SETEA.js"),"hub:project:settings":()=>import("./H6ETAJI7.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./UWKI6HOQ.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./QH2NM2LV.js"),"hub:initiative:create":()=>import("./KAWZEU6O.js"),"hub:initiative:create2":()=>import("./Q5NAOGAD.js"),"hub:initiative:metrics":()=>import("./JGJJH7WF.js"),"hub:initiative:associations":()=>import("./LVIZMINF.js"),"hub:initiative:settings":()=>import("./SH3K2KFX.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./TV65JGDX.js");r=l(I);let D=await{"hub:page:edit":()=>import("./6EAMLBZU.js"),"hub:page:create":()=>import("./M26MNGCL.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./6R5LTHVO.js");r=l(K);let U=await{"hub:content:edit":()=>import("./LXPHCBM5.js"),"hub:content:discussions":()=>import("./EXON27GM.js"),"hub:content:settings":()=>import("./VG3BBGRI.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./BTBLSPFB.js");r=l(y);let k=await{"hub:template:edit":()=>import("./MBKEEFO3.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./RFWDAEX2.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./XEIWNXWX.js"),"hub:group:create:association":()=>import("./NJS2CKEO.js"),"hub:group:create:view":()=>import("./LDHWWP3O.js"),"hub:group:create:edit":()=>import("./N2TNRWJF.js"),"hub:group:create":()=>import("./ISDGBZLI.js"),"hub:group:edit":()=>import("./LR47QHYS.js"),"hub:group:settings":()=>import("./U4GLVCNY.js"),"hub:group:discussions":()=>import("./SZFRG5K6.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./2UN6IWSF.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./LYFNBASL.js"),"hub:survey:settings":()=>import("./UUR3FD45.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./EN7UO6LR.js"),"hub:event:edit":()=>import("./DPWTZQFE.js"),"hub:event:registrants":()=>import("./RFHDRFGS.js")}[a](),H=await{"hub:event:create":()=>import("./EHLYUUVS.js"),"hub:event:edit":()=>import("./F2J5Y7E5.js"),"hub:event:registrants":()=>import("./M5WEVKK2.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./FSBIFQHD.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./6GMUYDHZ.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./KFM7WUAQ.js");r=l(N);let P=await{"hub:user:settings":()=>import("./V25OBM3C.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -1,4 +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.20250530.1 */
4
- import{a as u,e as h}from"./NTASDALK.js";import{a}from"./P6B7MWVF.js";import"./NIXMWDPM.js";import"./C3P3IFUU.js";import"./7P23QXUP.js";import"./XZBB2UEX.js";import"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./ILUBVWJF.js";import"./6KYFPVWD.js";import{D as i,I as l,o,q as n}from"./RTFLMETG.js";import"./GZU2CPZN.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.0.0-next.20250603 */
4
+ import{a as u,e as h}from"./LCQZYUYU.js";import{a}from"./5JUK3RD2.js";import"./NNZZATKY.js";import"./OOS7Q5BR.js";import"./4ZO64GTY.js";import"./3QLFODAB.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./4HXEQA7V.js";import"./5GKR6FQH.js";import{D as i,I as l,o,q as n}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
@@ -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.20250530.1 */
4
- import{a as e}from"./NNRPVDMT.js";import{b as t,g as s,m as i}from"./C556IKNJ.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
3
+ v1.0.0-next.20250603 */
4
+ import{a as e}from"./BGXUK5SF.js";import{b as t,g as s,m as i}from"./M7ITS5EC.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
@@ -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.20250530.1 */
3
+ v1.0.0-next.20250603 */
4
4
  async function q(t,e){let r=[],n=t?t.map(o=>b(o,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(o=>{r=[...r,...o||[]]}),r}async function m(t,e,r,n,o,a){let s=e.capabilities?.query.maxRecordCount||1e3,y=0;t.length===0&&(t=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=t.slice(y,s),o&&(c.outSpatialReference=o),a){let d=e.fields.map(i=>i.name.toLowerCase());c.outFields=a.filter(i=>d.indexOf(i.toLowerCase())>-1)}let f=await e.queryFeatures(c);r=r.concat(f.features);let l=t.slice(s,t.length);return l.length>0?m(l,e,r,n,o,a):Promise.resolve(r)}async function g(t,e){let r=e.globalIdField;if(!r)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=t.map(o=>`${r} = '${o}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(t,e,r,n){let o=e.capabilities?.query.maxRecordCount||1e3,a=e.createQuery();a.start=t,a.num=o,a.geometry=r;let s=await e.queryFeatures(a);return n[e.id]=n[e.id].concat(s.features),s.exceededTransferLimit?p(t+=o,e,r,n):Promise.resolve(n)}async function w(t,e){let r=e.createQuery();return r.objectIds=t,e.queryExtent(r)}function F(t,e){return[...u(t,"polygon",e),...u(t,"polyline",e),...u(t,"point",e)]}function u(t,e,r){let n=t?.filter(o=>o.type===e)||[];return n.length<=1?n:[r.union(n)]}async function b(t,e){let r=e.createQuery();return r.spatialRelationship="intersects",r.geometry=t,e.queryObjectIds(r)}export{q as a,m as b,g as c,p as d,w as e,F as f};
@@ -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.20250530.1 */
4
- import{a,b}from"./SGUBT5JB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.0.0-next.20250603 */
4
+ import{a,b}from"./GPQOLN4J.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";export{a as PageEditorTypes,b as PageSchema};
@@ -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.20250530.1 */
4
- import{a as s}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";var c=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]});export{c as buildUiSchema};
3
+ v1.0.0-next.20250603 */
4
+ import{a as s}from"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";var c=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]});export{c 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.20250530.1 */
4
- import{a as o}from"./RC47QK6Z.js";import"./NBHU4HTV.js";import{a as n}from"./OPHPZAWR.js";import{a as s}from"./UFW2PO2K.js";import"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./2T7OWYJF.js";import"./ILUBVWJF.js";import{a}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.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.20250603 */
4
+ import{a as o}from"./KRV3SETB.js";import"./PHD2JCWF.js";import{a as n}from"./H542B5JM.js";import{a as s}from"./THS6LBCN.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./3J7INGHN.js";import"./4HXEQA7V.js";import{a}from"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.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.20250530.1 */
4
- import"./GZU2CPZN.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.20250603 */
4
+ import"./OXLCWOZZ.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.20250530.1 */
4
- import{a as t}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.0.0-next.20250603 */
4
+ import{a as t}from"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250603 */
4
+ import{a,b}from"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -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.20250530.1 */
4
- import{b as d}from"./R7OODGTN.js";import{D as c,E as l,I as h,c as o,d as a,o as r}from"./RTFLMETG.js";import"./GZU2CPZN.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends c{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${l(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${d(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};h("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
3
+ v1.0.0-next.20250603 */
4
+ import{b as d}from"./ASKMOKLW.js";import{D as c,E as l,I as h,c as o,d as a,o as r}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends c{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${l(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${d(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};h("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
@@ -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.20250530.1 */
4
- import{a as O}from"./TTJLCKXQ.js";import{a as D}from"./HQ4JF5OI.js";import{h as N,i as b}from"./PHA5TYOC.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
3
+ v1.0.0-next.20250603 */
4
+ import{a as O}from"./CC4YYOYD.js";import{a as D}from"./5756YADX.js";import{h as N,i as b}from"./3FNKOWZ6.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
@@ -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.20250530.1 */
4
- import{a}from"./UY5WXQ65.js";import{a as d}from"./GJKEPLSZ.js";import{m as b,n as m}from"./OWDWZHMV.js";import"./DA5DY7HY.js";import{a as l}from"./ILUBVWJF.js";import{a as i}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
3
+ v1.0.0-next.20250603 */
4
+ import{a}from"./6O7FQOIX.js";import{a as d}from"./DUMZWQHJ.js";import{m as b,n as m}from"./YEMJYN23.js";import"./NQ4ICIBR.js";import{a as l}from"./4HXEQA7V.js";import{a as i}from"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};