@esri/solutions-components 5.1.0-next.88 → 5.1.0-next.89

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 (279) hide show
  1. package/dist/cdn/{5IIGQVJO.js → 26K4UTAF.js} +1 -1
  2. package/dist/cdn/{UWU7WKT4.js → 2AO55DUN.js} +1 -1
  3. package/dist/cdn/2HUG6L4M.js +2 -0
  4. package/dist/cdn/{5MAO5XLB.js → 2PM224B6.js} +1 -1
  5. package/dist/cdn/{O5CIRNTW.js → 32YZXXMV.js} +1 -1
  6. package/dist/cdn/{X7GJCPNX.js → 34EUIYLN.js} +1 -1
  7. package/dist/cdn/{GF4QELNV.js → 3FMOO3PJ.js} +1 -1
  8. package/dist/cdn/{YKB6256M.js → 3IHLJADI.js} +1 -1
  9. package/dist/cdn/{76PFFHQQ.js → 3JGLETSR.js} +1 -1
  10. package/dist/cdn/3PT5ULE3.js +2 -0
  11. package/dist/cdn/{ZUM2PBNR.js → 3RUGNS6K.js} +1 -1
  12. package/dist/cdn/{AJZDBHB6.js → 45M33Q5G.js} +1 -1
  13. package/dist/cdn/{5O53T3SW.js → 4HFHJOS3.js} +1 -1
  14. package/dist/cdn/{MH4GMDK7.js → 4J3ETN35.js} +1 -1
  15. package/dist/cdn/{LXI55MKX.js → 4LXH3MTT.js} +1 -1
  16. package/dist/cdn/{Y4WHK65W.js → 4QJK4LPR.js} +1 -1
  17. package/dist/cdn/{QMPT2LSN.js → 4ZKGHGGU.js} +1 -1
  18. package/dist/cdn/{MOK7GNOH.js → 55PTISQ7.js} +1 -1
  19. package/dist/cdn/{ATWINUVK.js → 5A7H4LVR.js} +1 -1
  20. package/dist/cdn/{A4NILC27.js → 5ADMCIGY.js} +1 -1
  21. package/dist/cdn/{GURBVBZQ.js → 5AVH2R6T.js} +1 -1
  22. package/dist/cdn/{RJ35WJNP.js → 5CW67X4G.js} +1 -1
  23. package/dist/cdn/{UNJV2PKC.js → 5EBHORLK.js} +1 -1
  24. package/dist/cdn/{2LBDG4TO.js → 5EYS2CH4.js} +1 -1
  25. package/dist/cdn/{ZV6TCDGB.js → 5JLXNBOA.js} +1 -1
  26. package/dist/cdn/{IZT3JCS7.js → 5NPISZEN.js} +1 -1
  27. package/dist/cdn/{QX5WB6H3.js → 5RTR3NSC.js} +1 -1
  28. package/dist/cdn/{BQVD2BBH.js → 64Y5CQSL.js} +1 -1
  29. package/dist/cdn/6DCCVJMZ.js +2 -0
  30. package/dist/cdn/{J5GPIJHD.js → 6IIMJC5D.js} +1 -1
  31. package/dist/cdn/{JNREEHT7.js → 6MP2RVUK.js} +1 -1
  32. package/dist/cdn/{JR5GBFT2.js → 6O3XSKQY.js} +1 -1
  33. package/dist/cdn/{HJJK5IEH.js → 6PFEFNQM.js} +1 -1
  34. package/dist/cdn/{GQ4DWI5G.js → 6WQK4DHL.js} +1 -1
  35. package/dist/cdn/{BSBNPUTI.js → 6XELM7OM.js} +1 -1
  36. package/dist/cdn/{DV6MFL2N.js → 73YLLTLN.js} +1 -1
  37. package/dist/cdn/{LRZBOUPX.js → 74PV6PZ3.js} +1 -1
  38. package/dist/cdn/{6SADY7KT.js → 76APML4N.js} +1 -1
  39. package/dist/cdn/{VRSBUIGV.js → 7CJQI7VH.js} +1 -1
  40. package/dist/cdn/{KG6FSDWT.js → 7EF5FK2O.js} +1 -1
  41. package/dist/cdn/{QLOWHDGX.js → 7JEVFHRJ.js} +1 -1
  42. package/dist/cdn/{C4IFGE7P.js → 7TCHZME4.js} +1 -1
  43. package/dist/cdn/A7PEA2YP.js +2 -0
  44. package/dist/cdn/{6RTR35JT.js → AFZETCUL.js} +1 -1
  45. package/dist/cdn/AIQEYNZE.js +2 -0
  46. package/dist/cdn/{FFMJQJUP.js → AL2DDBXW.js} +1 -1
  47. package/dist/cdn/{YFXSWGXE.js → ALSK2SPM.js} +1 -1
  48. package/dist/cdn/{EUPJV6QI.js → AM5URNYD.js} +1 -1
  49. package/dist/cdn/{JCQ5JRVZ.js → B67TTSQO.js} +1 -1
  50. package/dist/cdn/{5G5LMAT4.js → B7AQR2UD.js} +1 -1
  51. package/dist/cdn/BBNWDMCK.js +2 -0
  52. package/dist/cdn/{JBNWEBAG.js → BMBNSJZQ.js} +1 -1
  53. package/dist/cdn/BRQJSGIX.js +2 -0
  54. package/dist/cdn/{3OCYAA4P.js → BU5PIAGS.js} +1 -1
  55. package/dist/cdn/{CR7KUQQF.js → BVWAUO73.js} +1 -1
  56. package/dist/cdn/{FEQDFENU.js → C3ZGM4K7.js} +1 -1
  57. package/dist/cdn/{SMNWKCWR.js → CZKXDUOH.js} +1 -1
  58. package/dist/cdn/{RQRAFBVO.js → DJOOB7YP.js} +1 -1
  59. package/dist/cdn/DLH53PYM.js +7 -0
  60. package/dist/cdn/{ZJ3PH44C.js → DQWJUYMM.js} +1 -1
  61. package/dist/cdn/{ERCI6HI5.js → DUZ4KXB3.js} +1 -1
  62. package/dist/cdn/{QK5IXICV.js → DWEIHGFT.js} +1 -1
  63. package/dist/cdn/{Y3CYPNEY.js → EBRCBPEM.js} +1 -1
  64. package/dist/cdn/{B3BR2NG5.js → ELD2UQO4.js} +1 -1
  65. package/dist/cdn/{TMYE7YBP.js → ELPH6EFW.js} +1 -1
  66. package/dist/cdn/{JUCL7I6N.js → ET32EBBO.js} +3 -3
  67. package/dist/cdn/{I33PCNP7.js → FGWGYIBZ.js} +1 -1
  68. package/dist/cdn/{TJNO7ZMF.js → FMHXFW3E.js} +1 -1
  69. package/dist/cdn/{I53PAKKW.js → FN2NSVLO.js} +1 -1
  70. package/dist/cdn/{AZ4JB3M3.js → GEXLEGOL.js} +1 -1
  71. package/dist/cdn/{NPUZIHVP.js → GM772Z5U.js} +1 -1
  72. package/dist/cdn/H5E6ISYP.js +4 -0
  73. package/dist/cdn/{5MVIKBSS.js → H5TWIMN3.js} +1 -1
  74. package/dist/cdn/{SPUZEM7P.js → HKVSZTWH.js} +1 -1
  75. package/dist/cdn/{JUWJNZMD.js → HMKJYAVE.js} +1 -1
  76. package/dist/cdn/{3MEDCOT3.js → HNVWONX2.js} +1 -1
  77. package/dist/cdn/{6TCJ2NKA.js → HOLASUOX.js} +1 -1
  78. package/dist/cdn/I33B45EZ.js +2 -0
  79. package/dist/cdn/{SNR6ZHKZ.js → I6H42GYO.js} +1 -1
  80. package/dist/cdn/{UOGOGQ2H.js → IV4U4XB5.js} +1 -1
  81. package/dist/cdn/{E7Y745EK.js → J5FYHTE4.js} +1 -1
  82. package/dist/cdn/J75MHJID.js +4 -0
  83. package/dist/cdn/{XRZHHEBP.js → J7IFAEYK.js} +1 -1
  84. package/dist/cdn/{3PUFU3VY.js → JC5EXPFH.js} +1 -1
  85. package/dist/cdn/{D66IBZZA.js → JDVVMD4S.js} +1 -1
  86. package/dist/cdn/{A73LPATI.js → JDX6K42U.js} +132 -149
  87. package/dist/cdn/{3FOUGCWY.js → JMU5KKZH.js} +1 -1
  88. package/dist/cdn/{XYG3Z7ZY.js → JWGDDEVT.js} +1 -1
  89. package/dist/cdn/JZ472WDS.js +2 -0
  90. package/dist/cdn/{7UVBIBQS.js → K3DQKY7V.js} +1 -1
  91. package/dist/cdn/K6PW4IX6.js +2 -0
  92. package/dist/cdn/{63QOJNSI.js → KCEVE53E.js} +1 -1
  93. package/dist/cdn/{5Z43RSKO.js → KEZAVYJU.js} +1 -1
  94. package/dist/cdn/{3OLSNMWN.js → KHHT54BU.js} +1 -1
  95. package/dist/cdn/{JSJYFWT6.js → KIUBUHVM.js} +1 -1
  96. package/dist/cdn/{E4GB5Z4R.js → KOHVDHPZ.js} +1 -1
  97. package/dist/cdn/{LRRFLTS7.js → L33BENH7.js} +1 -1
  98. package/dist/cdn/{SGK4AMN6.js → L342GSW5.js} +1 -1
  99. package/dist/cdn/{L6QVMYXE.js → LCERYSRG.js} +1 -1
  100. package/dist/cdn/{QKKYYRVF.js → LCPWL74J.js} +1 -1
  101. package/dist/cdn/{N2XIWSCG.js → LDK4C3VJ.js} +1 -1
  102. package/dist/cdn/{SNE4DYFB.js → LNLCO244.js} +1 -1
  103. package/dist/cdn/{N2KSPEVT.js → LPBP7CBN.js} +1 -1
  104. package/dist/cdn/{KP3AJBAI.js → LPJHRY3Y.js} +1 -1
  105. package/dist/cdn/{FUAPM3ST.js → LVOTTNTF.js} +1 -1
  106. package/dist/cdn/{CQIP3CFN.js → M6HNHWAM.js} +1 -6
  107. package/dist/cdn/{BWTT7T3L.js → MBBG3S5B.js} +1 -1
  108. package/dist/cdn/{ULZKT76M.js → MKHDEHCO.js} +1 -1
  109. package/dist/cdn/{K5MMGZY2.js → MPJRP2QO.js} +1 -1
  110. package/dist/cdn/{AGMFVUEV.js → MVGX2AGG.js} +1 -1
  111. package/dist/cdn/{URLISIUW.js → MVYIHKFK.js} +1 -1
  112. package/dist/cdn/{D5Y4JMF7.js → MZY3G7B5.js} +1 -1
  113. package/dist/cdn/{JZUDCYGF.js → N3F6RUT6.js} +1 -1
  114. package/dist/cdn/{LCWGF752.js → NBQ5MMHE.js} +1 -1
  115. package/dist/cdn/{SNBTGG5B.js → NH5526ON.js} +1 -1
  116. package/dist/cdn/{OR5M4R6K.js → NP7POZTI.js} +1 -1
  117. package/dist/cdn/{ZDTDI643.js → NPOHA56R.js} +1 -1
  118. package/dist/cdn/NSJAGP7T.js +18 -0
  119. package/dist/cdn/NSKVOAA7.js +2 -0
  120. package/dist/cdn/{6GSCRFFW.js → NUD23X7L.js} +1 -1
  121. package/dist/cdn/NV3RC3FX.js +2 -0
  122. package/dist/cdn/{Q2WAWIFY.js → O2L7DY23.js} +1 -1
  123. package/dist/cdn/{WUJQ6R2U.js → O3O4EPB6.js} +1 -1
  124. package/dist/cdn/{N7CI3FRD.js → O4E54ZIL.js} +1 -1
  125. package/dist/cdn/{SQVN3YNK.js → OBKT6Y6H.js} +1 -1
  126. package/dist/cdn/{JM44ZPIE.js → OIRNHTN3.js} +1 -1
  127. package/dist/cdn/{MYPJ63EE.js → OPWB5U5Y.js} +1 -1
  128. package/dist/cdn/OV4IBBDL.js +2 -0
  129. package/dist/cdn/{C5AR5K23.js → P2YLMWCT.js} +1 -1
  130. package/dist/cdn/{ECFYA6DN.js → PAMG6BC2.js} +1 -1
  131. package/dist/cdn/{3S5XSBME.js → PHIGRQ7V.js} +1 -1
  132. package/dist/cdn/PP2SFAFD.js +2 -0
  133. package/dist/cdn/PRXFYNIG.js +19 -0
  134. package/dist/cdn/{HT55AVL4.js → QAMVNRII.js} +1 -1
  135. package/dist/cdn/{QX742MCD.js → QO2RC46D.js} +1 -1
  136. package/dist/cdn/{J72FZDMP.js → QPNIPE5H.js} +1 -1
  137. package/dist/cdn/{23CGFV6D.js → QQN472YW.js} +1 -1
  138. package/dist/cdn/QSBVJLYZ.js +2 -0
  139. package/dist/cdn/QYDGCI2P.js +2 -0
  140. package/dist/cdn/{SCZI2MJN.js → QZRJRLYA.js} +1 -1
  141. package/dist/cdn/R3TKXDOE.js +6 -0
  142. package/dist/cdn/{HO5JGUUI.js → R67EKKSL.js} +1 -1
  143. package/dist/cdn/{EWUZF57U.js → RIM6ODUZ.js} +1 -1
  144. package/dist/cdn/{TMSMQA7C.js → RJFWIPOY.js} +1 -1
  145. package/dist/cdn/{FDQE4EO7.js → RKBDZ7GR.js} +1 -1
  146. package/dist/cdn/{TW7HOOK6.js → ROKVOX7R.js} +1 -1
  147. package/dist/cdn/{XZ65OHYC.js → RUZVGWHQ.js} +1 -1
  148. package/dist/cdn/{ACINVVFD.js → RWGEJGAH.js} +1 -1
  149. package/dist/cdn/{SHAQ3O3Z.js → RX7HKQ7Y.js} +1 -1
  150. package/dist/cdn/{C5QZMZX7.js → S7MMEM3H.js} +1 -1
  151. package/dist/cdn/{QUWHB36D.js → SB3EADQF.js} +1 -1
  152. package/dist/cdn/{BXNDQ2JH.js → SBTQKPQR.js} +1 -1
  153. package/dist/cdn/{CGFMGQ3A.js → SFM524YL.js} +1 -1
  154. package/dist/cdn/{HWOOHVH5.js → SGBMDDAS.js} +1 -1
  155. package/dist/cdn/{XV7A4KNT.js → SUK3BLEW.js} +1 -1
  156. package/dist/cdn/{JTIMMQ6K.js → SWAMKTGK.js} +1 -1
  157. package/dist/cdn/SWWDYNJE.js +2 -0
  158. package/dist/cdn/SXVCHOTK.js +79 -0
  159. package/dist/cdn/{LR57LX6P.js → TILX2YPV.js} +1 -1
  160. package/dist/cdn/{JFJRHOAG.js → TM3CBSWO.js} +1 -1
  161. package/dist/cdn/{CGZDUJRA.js → TMKYG3QB.js} +1 -1
  162. package/dist/cdn/{NLOASWJ3.js → UDBUSMCV.js} +1 -1
  163. package/dist/cdn/{V52O7WYV.js → UDGR2GC5.js} +1 -1
  164. package/dist/cdn/{XY65IFHL.js → UHVJUD6J.js} +1 -1
  165. package/dist/cdn/{7D5KMJGC.js → UJLDLGTN.js} +1 -1
  166. package/dist/cdn/{MCZXYUMV.js → ULTK7DMM.js} +1 -1
  167. package/dist/cdn/{GIANH6D4.js → UYYYSJL4.js} +1 -1
  168. package/dist/cdn/V3YTRV33.js +2 -0
  169. package/dist/cdn/{WOBPKAC2.js → VHOYM5MD.js} +1 -1
  170. package/dist/cdn/{KXGN75L6.js → VPDMT4CY.js} +1 -1
  171. package/dist/cdn/{AUNFZODL.js → VWPOKKOE.js} +1 -1
  172. package/dist/cdn/{RU3J7KVD.js → W6E3DYEQ.js} +1 -1
  173. package/dist/cdn/{DPSP2HYG.js → WAW43L2Y.js} +1 -1
  174. package/dist/cdn/WDHXTOWG.js +102 -0
  175. package/dist/cdn/{AE4OV2XZ.js → WEAC3FS7.js} +2 -2
  176. package/dist/cdn/{G3CCK7KY.js → WHS5LXKB.js} +1 -1
  177. package/dist/cdn/{XMOI3PP6.js → WLXO44M4.js} +1 -1
  178. package/dist/cdn/WQGGCG6M.js +2 -0
  179. package/dist/cdn/{C2CJFQ6Q.js → WSPAWPSL.js} +1 -1
  180. package/dist/cdn/{MGAKD4WY.js → WUM5AKBT.js} +1 -1
  181. package/dist/cdn/WVZM6LEZ.js +2 -0
  182. package/dist/cdn/{2HIYREV6.js → X25OZSS4.js} +1 -1
  183. package/dist/cdn/{R4CW26PN.js → X5EABWHE.js} +1 -1
  184. package/dist/cdn/{PX2KKGLQ.js → XN2JVOOR.js} +1 -1
  185. package/dist/cdn/{GWSB6X4X.js → XPIAEAK5.js} +1 -1
  186. package/dist/cdn/{CQRK2NYK.js → XVXOCPOT.js} +1 -1
  187. package/dist/cdn/{X26QOEYN.js → XXQKFENH.js} +1 -1
  188. package/dist/cdn/{RLHHGWT4.js → XXT542UR.js} +1 -1
  189. package/dist/cdn/{RH47YGDG.js → Y2ORH4QJ.js} +1 -1
  190. package/dist/cdn/{CKNELMMH.js → YHACLWMU.js} +1 -1
  191. package/dist/cdn/{TFINIJHF.js → YKQDHR27.js} +1 -1
  192. package/dist/cdn/{U727H4NV.js → YN7SGJOG.js} +1 -1
  193. package/dist/cdn/{FWWWKZLH.js → YOAGUXW6.js} +1 -1
  194. package/dist/cdn/{IPIK53AM.js → ZBET72YB.js} +1 -1
  195. package/dist/cdn/{DVXR45DO.js → ZDLTST3A.js} +1 -1
  196. package/dist/cdn/{U3ZZOP55.js → ZKELOWSS.js} +1 -1
  197. package/dist/cdn/ZONXYZVU.js +2 -0
  198. package/dist/cdn/{BXOH6SN4.js → ZR4T2HGR.js} +1 -1
  199. package/dist/cdn/{2LV7NQMM.js → ZYCAAXQF.js} +1 -1
  200. package/dist/cdn/{TJDAE43J.js → ZYRNI524.js} +1 -1
  201. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  202. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  203. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  204. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  205. package/dist/cdn/index.js +1 -1
  206. package/dist/chunks/description.js +1 -6
  207. package/dist/chunks/designSolution.js +105 -0
  208. package/dist/chunks/findExistingSolution.js +22 -0
  209. package/dist/chunks/get-portal-url.js +345 -0
  210. package/dist/chunks/initialAssessment.js +82 -0
  211. package/dist/chunks/solution-deploy-dialog.js +7 -17
  212. package/dist/chunks/updateDesign.js +5 -0
  213. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +16 -38
  214. package/dist/components/arcgis-solutions-assistant/customElement.js +10205 -10519
  215. package/dist/components/consent-manager/customElement.js +638 -609
  216. package/dist/components/solution-builder-assistant/customElement.d.ts +12 -2
  217. package/dist/components/solution-builder-assistant/customElement.js +87 -87
  218. package/dist/components/solution-builder-assistant/index.js +0 -4
  219. package/dist/components/solution-deploy-dialog/index.js +0 -1
  220. package/dist/components/solutions-deploy-app/customElement.d.ts +7 -0
  221. package/dist/components/solutions-deploy-app/customElement.js +346 -27
  222. package/dist/docs/api.json +1 -1
  223. package/dist/docs/docs.json +1 -1
  224. package/dist/docs/vscode.html-custom-data.json +1 -1
  225. package/dist/docs/web-types.json +1 -1
  226. package/dist/loader.js +2 -2
  227. package/dist/solutions-components_commit.txt +7 -7
  228. package/dist/types/lumina.d.ts +2 -2
  229. package/dist/types/preact.d.ts +2 -2
  230. package/dist/types/react.d.ts +2 -2
  231. package/dist/types/stencil.d.ts +2 -2
  232. package/dist/utils/interfaces.d.ts +1 -0
  233. package/package.json +25 -24
  234. package/dist/cdn/46C7TV4N.js +0 -10
  235. package/dist/cdn/4TL66G66.js +0 -9
  236. package/dist/cdn/67YHFNNT.js +0 -2
  237. package/dist/cdn/7FKMQ3QO.js +0 -2
  238. package/dist/cdn/AODE5TBO.js +0 -2
  239. package/dist/cdn/B4Y2UZHO.js +0 -2
  240. package/dist/cdn/BDKWDKBM.js +0 -7
  241. package/dist/cdn/CIG6UPFZ.js +0 -35
  242. package/dist/cdn/D4VZQUOX.js +0 -2
  243. package/dist/cdn/EJQKVRSG.js +0 -2
  244. package/dist/cdn/HE2XAIDT.js +0 -4
  245. package/dist/cdn/HQE4ABPK.js +0 -53
  246. package/dist/cdn/IRRMUFW7.js +0 -2
  247. package/dist/cdn/IVFBBPSY.js +0 -2
  248. package/dist/cdn/JAITP34E.js +0 -2
  249. package/dist/cdn/JSXNTE4I.js +0 -2
  250. package/dist/cdn/KNGBLBV7.js +0 -2
  251. package/dist/cdn/KQBIVJ7H.js +0 -36
  252. package/dist/cdn/LYDP7VMM.js +0 -2
  253. package/dist/cdn/MRGCC5C4.js +0 -4
  254. package/dist/cdn/NTOQES4U.js +0 -41
  255. package/dist/cdn/NUVTCMAW.js +0 -9
  256. package/dist/cdn/NYWSGPCD.js +0 -18
  257. package/dist/cdn/O3G7OWBQ.js +0 -164
  258. package/dist/cdn/OFM2G4BH.js +0 -2
  259. package/dist/cdn/QHHYNSCP.js +0 -2
  260. package/dist/cdn/RF2W2PD4.js +0 -7
  261. package/dist/cdn/RYETW3AF.js +0 -6
  262. package/dist/cdn/SY5KYHF4.js +0 -2
  263. package/dist/cdn/TV7TG34E.js +0 -2
  264. package/dist/cdn/WFHPQFNH.js +0 -2
  265. package/dist/cdn/WROPXUSZ.js +0 -2
  266. package/dist/cdn/X7ZFLHUP.js +0 -2
  267. package/dist/cdn/XFG55QXT.js +0 -2
  268. package/dist/cdn/YSLCWEDP.js +0 -2
  269. package/dist/chunks/create_design_prompt.js +0 -5
  270. package/dist/chunks/create_user_query.js +0 -12
  271. package/dist/chunks/extract-template.js +0 -44
  272. package/dist/chunks/extract-use-case.js +0 -38
  273. package/dist/chunks/get.js +0 -387
  274. package/dist/chunks/matching_solution_prompt.js +0 -12
  275. package/dist/chunks/prompts.js +0 -13
  276. package/dist/chunks/review_use_case_prompt.js +0 -10
  277. package/dist/chunks/system_prompt.js +0 -167
  278. package/dist/chunks/valid_tempates.js +0 -39
  279. package/dist/chunks/workflow_1_step_4.js +0 -56
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import{b as g}from"./JSJYFWT6.js";import{E as c,F as p,G as m,h as u,i as n,q as h,t as _}from"./MRGCC5C4.js";import"./QPIMTXPL.js";export default $arcgis.t(([C,F,,{f:b}])=>{var f=u`@layer{:host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1)!important;background-color:var(--calcite-color-surface-2)!important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}}`,k=class extends m{constructor(){super(...arguments),this.enableSnapping=!1,this.graphics=[],this.showUserImageInCommentsList=!1,this.showFullCommentTitle=!0,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=[],this._updating=!1,this._infoCard=c(),this._commentsList=c(),this._likeField="",this._dislikeField="",this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this.relatedTableId="",this.loadingStatus=h(),this.commentClick=h(),this.commentSelect=h(),this.addComment=h(),this.likeOrDislikeClicked=h(),this.featureSelectionChange=h()}static{this.properties={enableSnapping:5,mapView:0,graphics:0,reportingOptions:0,layerItemsHash:0,showUserImageInCommentsList:5,showFullCommentTitle:5,_likeFieldAvailable:16,_likeCount:16,_disLikeCount:16,_dislikeFieldAvailable:16,_commentsAvailable:16,_isLikeBtnClicked:16,_isDislikeBtnClicked:16,_relatedFeaturesOIDs:16,_updating:16}}static{this.styles=f}static{this.shadowRootOptions=_}willUpdate(i){i.has("graphics")&&this.graphicsWatchHandler()}async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(i){i&&await this.getCompleteGraphic(i),await this.processComments(),i&&this.isLikeDislikeConfigured(i.layer)?this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.value&&this._infoCard.value.back()}async next(){this._infoCard.value&&this._infoCard.value.next()}async toggleListView(){this._infoCard.value&&this._infoCard.value.toggleListView()}async load(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){let i=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return n`<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this.graphics} .mapView=${this.mapView} @selectionChanged=${e=>{this.featureSelectionChange.emit(e.detail)}} position=relative ${p(this._infoCard)}></info-card>${(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&n`<div class="buttons-container">${this._commentsAvailable&&n`<calcite-button appearance=transparent icon-end=speech-bubble kind=neutral @click=${()=>{this.addComment.emit()}} scale=m>${this._relatedFeaturesOIDs.length}</calcite-button>`||""}${this._likeFieldAvailable&&n`<calcite-button appearance=transparent icon-end=thumbs-up .kind=${this._isLikeBtnClicked?"brand":"neutral"} .loading=${this._updating} @click=${this.onLikeButtonClick} scale=m>${this._likeCount??this._selectedGraphic?.attributes[this._likeField]??0}</calcite-button>`||""}${this._dislikeFieldAvailable&&n`<calcite-button appearance=transparent icon-end=thumbs-down .kind=${this._isDislikeBtnClicked?"brand":"neutral"} .loading=${this._updating} @click=${this.onDislikeButtonClick} scale=m>${this._disLikeCount??this._selectedGraphic?.attributes[this._dislikeField]??0}</calcite-button>`||""}</div>`||""}${this.relatedTableId&&this._commentsAvailable&&n`<feature-list class="height-full" .mapView=${this.mapView} @featureClick=${()=>{this.commentClick.emit()}} @featureSelect=${e=>{this.commentSelect.emit(e.detail)}} page-size=5 .selectedLayerId=${this.relatedTableId} .showFullTitle=${this.showFullCommentTitle} .showUserImageInList=${this.showUserImageInCommentsList} text-size=small .whereClause=${i} ${p(this._commentsList)}></feature-list>`||""}</calcite-panel>`}async getCompleteGraphic(i){if(i){let e=i.layer,t=e.createQuery(),l=Number(i.getObjectId());if(!Number.isNaN(l)){t.objectIds=[l];let s=await e.queryFeatures(t);this._selectedGraphic=s.features[0]}}}async processComments(){let i=this._selectedGraphic?.layer;if(this.reportingOptions&&this.reportingOptions[i.id]&&this.reportingOptions[i.id].comment&&i?.relationships&&i.relationships?.length>0){let e=this.mapView&&await b(this.mapView),t=null,l=null;if(i?.relationships?.some(s=>{let a=e?.filter(r=>i.url===r.url&&r.layerId===s.relatedTableId);return a&&a.length>0?(t=a[0],l=s.id,!0):!1}),this.relatedTableId=t?.id??"",this.relatedTableId){let s=this._selectedGraphic?.attributes[i?.objectIdField],a=new F({objectIds:[s],outFields:["*"],relationshipId:l}),r=a&&await i.queryRelatedFeatures(a).catch(d=>{console.error(d)}),o=[];r&&r[s]&&r[s].features.forEach(d=>{o.push(d.attributes[t.objectIdField])}),this._relatedFeaturesOIDs=o,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(i){let e=!1,t=!1;if(this.reportingOptions&&i&&this.reportingOptions[i.id]){if(!this.reportingOptions[i.id].like&&!this.reportingOptions[i.id].dislike)return!1;let l=this.reportingOptions[i.id].likeField,s=this.reportingOptions[i.id].dislikeField;if(!l&&!s)return!1;i.fields.forEach(a=>{this._validFieldTypes.indexOf(a.type)>-1&&this.layerItemsHash&&this.reportingOptions&&this.layerItemsHash[i.id].supportsUpdate&&(a.name===l&&this.reportingOptions[i.id].like?e=!0:a.name===s&&this.reportingOptions[i.id].dislike&&(t=!0))})}return e||t}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;let i=this._selectedGraphic?.layer;if(this.reportingOptions&&i&&this.reportingOptions[i?.id]){if(this._likeField=this.reportingOptions[i.id].likeField||"",this._dislikeField=this.reportingOptions[i.id].dislikeField||"",!this._likeField&&!this._dislikeField)return;i.fields.forEach(e=>{this._validFieldTypes.indexOf(e.type)>-1&&this.layerItemsHash&&this.reportingOptions&&this.layerItemsHash[i.id].supportsUpdate&&(e.name===this._likeField&&this.reportingOptions[i.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic?.attributes[e.name]||0):e.name===this._dislikeField&&this.reportingOptions[i.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic?.attributes[e.name]||0))}),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this._selectedGraphic?.layer&&this.reportingOptions&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this._selectedGraphic?.layer&&this.reportingOptions&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(i,e){let t={},l=this._selectedGraphic?.layer;this._updating=!0;let s=this._selectedGraphic;if(s){s.attributes[i]=Number(s.attributes[i])+(e?1:-1),t[l.objectIdField]=s.attributes[l.objectIdField],t[i]=s.attributes[i];let a=new C;if(a){a.attributes=t;let r={updateFeatures:[a]};await l.applyEdits(r).then(()=>{this._selectedGraphic=s,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()},o=>{this._updating=!1,console.log(o)})}}}getFromLocalStorage(){let i=this._selectedGraphic?.layer&&this._selectedGraphic.layer.id,e=i?.toString()&&localStorage[i];if(e){let t=JSON.parse(e).filter(l=>l.id===this._selectedGraphic?.getObjectId());t.length>0&&(this._isLikeBtnClicked=t[0].like,this._isDislikeBtnClicked=t[0].dislike)}}setInLocalStorage(){let i=this._selectedGraphic?.layer&&this._selectedGraphic.layer.id,e=i?.toString()&&localStorage[i],t=[];if(e){t=JSON.parse(e);let l=t.findIndex(s=>s.id===this._selectedGraphic?.getObjectId());l>=0&&t.splice(l,1)}t.push({id:this._selectedGraphic?.getObjectId(),like:this._isLikeBtnClicked&&this._likeCount!==0,dislike:this._isDislikeBtnClicked&&this._disLikeCount!==0}),i?.toString()&&localStorage.setItem(i.toString(),JSON.stringify(t))}};g("feature-details",k);return k},"Graphic","rest/support/RelationshipQuery",a,b)
2
+ import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import{b as g}from"./KIUBUHVM.js";import{E as c,F as p,G as m,h as u,i as n,q as h,t as _}from"./H5E6ISYP.js";import"./QPIMTXPL.js";export default $arcgis.t(([C,F,,{f:b}])=>{var f=u`@layer{:host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1)!important;background-color:var(--calcite-color-surface-2)!important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}}`,k=class extends m{constructor(){super(...arguments),this.enableSnapping=!1,this.graphics=[],this.showUserImageInCommentsList=!1,this.showFullCommentTitle=!0,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=[],this._updating=!1,this._infoCard=c(),this._commentsList=c(),this._likeField="",this._dislikeField="",this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this.relatedTableId="",this.loadingStatus=h(),this.commentClick=h(),this.commentSelect=h(),this.addComment=h(),this.likeOrDislikeClicked=h(),this.featureSelectionChange=h()}static{this.properties={enableSnapping:5,mapView:0,graphics:0,reportingOptions:0,layerItemsHash:0,showUserImageInCommentsList:5,showFullCommentTitle:5,_likeFieldAvailable:16,_likeCount:16,_disLikeCount:16,_dislikeFieldAvailable:16,_commentsAvailable:16,_isLikeBtnClicked:16,_isDislikeBtnClicked:16,_relatedFeaturesOIDs:16,_updating:16}}static{this.styles=f}static{this.shadowRootOptions=_}willUpdate(i){i.has("graphics")&&this.graphicsWatchHandler()}async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(i){i&&await this.getCompleteGraphic(i),await this.processComments(),i&&this.isLikeDislikeConfigured(i.layer)?this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.value&&this._infoCard.value.back()}async next(){this._infoCard.value&&this._infoCard.value.next()}async toggleListView(){this._infoCard.value&&this._infoCard.value.toggleListView()}async load(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){let i=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return n`<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this.graphics} .mapView=${this.mapView} @selectionChanged=${e=>{this.featureSelectionChange.emit(e.detail)}} position=relative ${p(this._infoCard)}></info-card>${(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&n`<div class="buttons-container">${this._commentsAvailable&&n`<calcite-button appearance=transparent icon-end=speech-bubble kind=neutral @click=${()=>{this.addComment.emit()}} scale=m>${this._relatedFeaturesOIDs.length}</calcite-button>`||""}${this._likeFieldAvailable&&n`<calcite-button appearance=transparent icon-end=thumbs-up .kind=${this._isLikeBtnClicked?"brand":"neutral"} .loading=${this._updating} @click=${this.onLikeButtonClick} scale=m>${this._likeCount??this._selectedGraphic?.attributes[this._likeField]??0}</calcite-button>`||""}${this._dislikeFieldAvailable&&n`<calcite-button appearance=transparent icon-end=thumbs-down .kind=${this._isDislikeBtnClicked?"brand":"neutral"} .loading=${this._updating} @click=${this.onDislikeButtonClick} scale=m>${this._disLikeCount??this._selectedGraphic?.attributes[this._dislikeField]??0}</calcite-button>`||""}</div>`||""}${this.relatedTableId&&this._commentsAvailable&&n`<feature-list class="height-full" .mapView=${this.mapView} @featureClick=${()=>{this.commentClick.emit()}} @featureSelect=${e=>{this.commentSelect.emit(e.detail)}} page-size=5 .selectedLayerId=${this.relatedTableId} .showFullTitle=${this.showFullCommentTitle} .showUserImageInList=${this.showUserImageInCommentsList} text-size=small .whereClause=${i} ${p(this._commentsList)}></feature-list>`||""}</calcite-panel>`}async getCompleteGraphic(i){if(i){let e=i.layer,t=e.createQuery(),l=Number(i.getObjectId());if(!Number.isNaN(l)){t.objectIds=[l];let s=await e.queryFeatures(t);this._selectedGraphic=s.features[0]}}}async processComments(){let i=this._selectedGraphic?.layer;if(this.reportingOptions&&this.reportingOptions[i.id]&&this.reportingOptions[i.id].comment&&i?.relationships&&i.relationships?.length>0){let e=this.mapView&&await b(this.mapView),t=null,l=null;if(i?.relationships?.some(s=>{let a=e?.filter(r=>i.url===r.url&&r.layerId===s.relatedTableId);return a&&a.length>0?(t=a[0],l=s.id,!0):!1}),this.relatedTableId=t?.id??"",this.relatedTableId){let s=this._selectedGraphic?.attributes[i?.objectIdField],a=new F({objectIds:[s],outFields:["*"],relationshipId:l}),r=a&&await i.queryRelatedFeatures(a).catch(d=>{console.error(d)}),o=[];r&&r[s]&&r[s].features.forEach(d=>{o.push(d.attributes[t.objectIdField])}),this._relatedFeaturesOIDs=o,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(i){let e=!1,t=!1;if(this.reportingOptions&&i&&this.reportingOptions[i.id]){if(!this.reportingOptions[i.id].like&&!this.reportingOptions[i.id].dislike)return!1;let l=this.reportingOptions[i.id].likeField,s=this.reportingOptions[i.id].dislikeField;if(!l&&!s)return!1;i.fields.forEach(a=>{this._validFieldTypes.indexOf(a.type)>-1&&this.layerItemsHash&&this.reportingOptions&&this.layerItemsHash[i.id].supportsUpdate&&(a.name===l&&this.reportingOptions[i.id].like?e=!0:a.name===s&&this.reportingOptions[i.id].dislike&&(t=!0))})}return e||t}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;let i=this._selectedGraphic?.layer;if(this.reportingOptions&&i&&this.reportingOptions[i?.id]){if(this._likeField=this.reportingOptions[i.id].likeField||"",this._dislikeField=this.reportingOptions[i.id].dislikeField||"",!this._likeField&&!this._dislikeField)return;i.fields.forEach(e=>{this._validFieldTypes.indexOf(e.type)>-1&&this.layerItemsHash&&this.reportingOptions&&this.layerItemsHash[i.id].supportsUpdate&&(e.name===this._likeField&&this.reportingOptions[i.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic?.attributes[e.name]||0):e.name===this._dislikeField&&this.reportingOptions[i.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic?.attributes[e.name]||0))}),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this._selectedGraphic?.layer&&this.reportingOptions&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this._selectedGraphic?.layer&&this.reportingOptions&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(i,e){let t={},l=this._selectedGraphic?.layer;this._updating=!0;let s=this._selectedGraphic;if(s){s.attributes[i]=Number(s.attributes[i])+(e?1:-1),t[l.objectIdField]=s.attributes[l.objectIdField],t[i]=s.attributes[i];let a=new C;if(a){a.attributes=t;let r={updateFeatures:[a]};await l.applyEdits(r).then(()=>{this._selectedGraphic=s,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()},o=>{this._updating=!1,console.log(o)})}}}getFromLocalStorage(){let i=this._selectedGraphic?.layer&&this._selectedGraphic.layer.id,e=i?.toString()&&localStorage[i];if(e){let t=JSON.parse(e).filter(l=>l.id===this._selectedGraphic?.getObjectId());t.length>0&&(this._isLikeBtnClicked=t[0].like,this._isDislikeBtnClicked=t[0].dislike)}}setInLocalStorage(){let i=this._selectedGraphic?.layer&&this._selectedGraphic.layer.id,e=i?.toString()&&localStorage[i],t=[];if(e){t=JSON.parse(e);let l=t.findIndex(s=>s.id===this._selectedGraphic?.getObjectId());l>=0&&t.splice(l,1)}t.push({id:this._selectedGraphic?.getObjectId(),like:this._isLikeBtnClicked&&this._likeCount!==0,dislike:this._isDislikeBtnClicked&&this._disLikeCount!==0}),i?.toString()&&localStorage.setItem(i.toString(),JSON.stringify(t))}};g("feature-details",k);return k},"Graphic","rest/support/RelationshipQuery",a,b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{b as y}from"./2B4SGB3I.js";import{b as u}from"./TFINIJHF.js";import{a as m}from"./HO5JGUUI.js";import{b as h}from"./JSJYFWT6.js";import{G as p,h as c,i as n,l as d,q as l}from"./MRGCC5C4.js";var g=c`:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}calcite-chip{--calcite-chip-icon-color: var(--calcite-color-brand)}`,r=class extends p{constructor(){super(...arguments),this.itemRelationshipDependencies=[],this.linkType="item",this.listSelectionMode="none",this.reuseWarning="",this.templateInfos=[],this.typeKeywords=[],this._canDeletePermission=!1,this._sortedTemplateInfos=[],this._translations=m({name:"solution-item-accordion",blocking:!0}),this._configContextConsumer=u({context:y,subscribe:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=l(),this.solutionItemSelect=l(),this.solutionTypeHover=l()}static{this.properties={itemRelationshipDependencies:0,linkType:1,listSelectionMode:1,reuseWarning:1,templateInfos:0,typeKeywords:0,_canDeletePermission:16,_sortedTemplateInfos:16,_translations:16}}static{this.styles=g}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(e=!1){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.selected&&(t.selected=!1),e&&(t.parentElement?.parentElement).expanded&&((t.parentElement?.parentElement).expanded=!1)})}async expandItemById(e){this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&((t.parentElement?.parentElement).expanded=!0)})}async expandFirstItem(){let e=this.el?.shadowRoot?.querySelectorAll("calcite-list-item");e?.length&&((e[0].parentElement?.parentElement).expanded=!0)}async expandItems(e){this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{e.indexOf(t.id)>-1&&((t.parentElement?.parentElement).expanded=!0)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async selectFirstItem(){let e=this.el?.shadowRoot?.querySelectorAll("calcite-list-item");e?.length&&(e[0].selected=!0,(e[0].parentElement?.parentElement).expanded=!0)}async selectItems(e){this.listSelectionMode==="multiple"&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{e.indexOf(t.id)>-1&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates(),this._canDeletePermission=(this._configContextConsumer.value?.authentication?.CanDeleteSolution&&this._configContextConsumer.value?.authentication?.CanUpdateSolution)??!1}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return n`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return n`<calcite-accordion-item .heading=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return n`<calcite-list .label=${this._translations.solutionsTemplates} selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){let t=this.typeKeywords.includes("Deployed")&&e.url,i=this.linkType==="action",o=this._configContextConsumer.value?.userSession?.username??null,s=this.itemRelationshipDependencies.some(a=>a===e.id);return n`<calcite-list-item id=${e.id??d} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0}),t&&!i&&window.open(e.url,"_blank")}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${t&&!i?"underline":""}`}>${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${s?this.reuseWarning&&this._getWarningChip(this.reuseWarning):e.owner!==o&&!this._canDeletePermission&&this._getWarningChip(this._translations?.differentOwnerDeleteWarning||"")}${t&&i?n`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),a=this._sortOrder.indexOf(o);return s-a})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}_getWarningChip(e){return n`<calcite-chip icon=information kind=neutral .label=${e} scale=s slot=actions-end>${e}</calcite-chip>`}};h("solution-item-accordion",r);export{r as a};
2
+ import{b as y}from"./2B4SGB3I.js";import{b as u}from"./YKQDHR27.js";import{a as m}from"./R67EKKSL.js";import{b as h}from"./KIUBUHVM.js";import{G as p,h as c,i as n,l as d,q as l}from"./H5E6ISYP.js";var g=c`:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}calcite-chip{--calcite-chip-icon-color: var(--calcite-color-brand)}`,r=class extends p{constructor(){super(...arguments),this.itemRelationshipDependencies=[],this.linkType="item",this.listSelectionMode="none",this.reuseWarning="",this.templateInfos=[],this.typeKeywords=[],this._canDeletePermission=!1,this._sortedTemplateInfos=[],this._translations=m({name:"solution-item-accordion",blocking:!0}),this._configContextConsumer=u({context:y,subscribe:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=l(),this.solutionItemSelect=l(),this.solutionTypeHover=l()}static{this.properties={itemRelationshipDependencies:0,linkType:1,listSelectionMode:1,reuseWarning:1,templateInfos:0,typeKeywords:0,_canDeletePermission:16,_sortedTemplateInfos:16,_translations:16}}static{this.styles=g}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(e=!1){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.selected&&(t.selected=!1),e&&(t.parentElement?.parentElement).expanded&&((t.parentElement?.parentElement).expanded=!1)})}async expandItemById(e){this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&((t.parentElement?.parentElement).expanded=!0)})}async expandFirstItem(){let e=this.el?.shadowRoot?.querySelectorAll("calcite-list-item");e?.length&&((e[0].parentElement?.parentElement).expanded=!0)}async expandItems(e){this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{e.indexOf(t.id)>-1&&((t.parentElement?.parentElement).expanded=!0)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async selectFirstItem(){let e=this.el?.shadowRoot?.querySelectorAll("calcite-list-item");e?.length&&(e[0].selected=!0,(e[0].parentElement?.parentElement).expanded=!0)}async selectItems(e){this.listSelectionMode==="multiple"&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{e.indexOf(t.id)>-1&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates(),this._canDeletePermission=(this._configContextConsumer.value?.authentication?.CanDeleteSolution&&this._configContextConsumer.value?.authentication?.CanUpdateSolution)??!1}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return n`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return n`<calcite-accordion-item .heading=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return n`<calcite-list .label=${this._translations.solutionsTemplates} selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){let t=this.typeKeywords.includes("Deployed")&&e.url,i=this.linkType==="action",o=this._configContextConsumer.value?.userSession?.username??null,s=this.itemRelationshipDependencies.some(a=>a===e.id);return n`<calcite-list-item id=${e.id??d} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0}),t&&!i&&window.open(e.url,"_blank")}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${t&&!i?"underline":""}`}>${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${s?this.reuseWarning&&this._getWarningChip(this.reuseWarning):e.owner!==o&&!this._canDeletePermission&&this._getWarningChip(this._translations?.differentOwnerDeleteWarning||"")}${t&&i?n`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),a=this._sortOrder.indexOf(o);return s-a})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}_getWarningChip(e){return n`<calcite-chip icon=information kind=neutral .label=${e} scale=s slot=actions-end>${e}</calcite-chip>`}};h("solution-item-accordion",r);export{r as a};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{b as n}from"./JSJYFWT6.js";import{E as m,F as r,G as o,h as t,i as p}from"./MRGCC5C4.js";import"./QPIMTXPL.js";export default $arcgis.t(([l,h])=>{var d=t`.display-block{display:block}`,s=class extends o{constructor(){super(...arguments),this._basemapElement=m()}static{this.properties={mapView:0,basemapConfig:0,basemapWidget:0}}static{this.styles=d}willUpdate(a){a.has("basemapConfig")&&this.basemapConfigWatchHandler(),a.has("mapView")&&this.mapViewWatchHandler()}async basemapConfigWatchHandler(){if(this.basemapWidget?.source){let a=this.basemapWidget?.source;a.query=this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,await a.refresh()}}async mapViewWatchHandler(){this.mapView!==void 0&&await this.mapView.when(()=>{this._initBaseMapGallery(this.mapView)})}render(){return p`<div class="display-block" ${r(this._basemapElement)}></div>`}loaded(){this.mapView&&this.mapViewWatchHandler()}async _initBaseMapGallery(a){if(a){let e=new h({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?i=>i?.portalItem?.id&&this.basemapConfig?!this.basemapConfig.basemapIdsToFilter.includes(i?.portalItem?.id):!0:()=>!0});await e.refresh(),this.basemapWidget?(this.basemapWidget.view=a,this.basemapWidget.source=e):this.basemapWidget=new l({container:this._basemapElement.value,view:a,source:e})}}};n("map-basemap-gallery",s);return s},"widgets/BasemapGallery","widgets/BasemapGallery/support/PortalBasemapsSource")
2
+ import{b as n}from"./KIUBUHVM.js";import{E as m,F as r,G as o,h as t,i as p}from"./H5E6ISYP.js";import"./QPIMTXPL.js";export default $arcgis.t(([l,h])=>{var d=t`.display-block{display:block}`,s=class extends o{constructor(){super(...arguments),this._basemapElement=m()}static{this.properties={mapView:0,basemapConfig:0,basemapWidget:0}}static{this.styles=d}willUpdate(a){a.has("basemapConfig")&&this.basemapConfigWatchHandler(),a.has("mapView")&&this.mapViewWatchHandler()}async basemapConfigWatchHandler(){if(this.basemapWidget?.source){let a=this.basemapWidget?.source;a.query=this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,await a.refresh()}}async mapViewWatchHandler(){this.mapView!==void 0&&await this.mapView.when(()=>{this._initBaseMapGallery(this.mapView)})}render(){return p`<div class="display-block" ${r(this._basemapElement)}></div>`}loaded(){this.mapView&&this.mapViewWatchHandler()}async _initBaseMapGallery(a){if(a){let e=new h({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?i=>i?.portalItem?.id&&this.basemapConfig?!this.basemapConfig.basemapIdsToFilter.includes(i?.portalItem?.id):!0:()=>!0});await e.refresh(),this.basemapWidget?(this.basemapWidget.view=a,this.basemapWidget.source=e):this.basemapWidget=new l({container:this._basemapElement.value,view:a,source:e})}}};n("map-basemap-gallery",s);return s},"widgets/BasemapGallery","widgets/BasemapGallery/support/PortalBasemapsSource")
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as u}from"./HO5JGUUI.js";import"./CR7KUQQF.js";import"./7UVBIBQS.js";import{b as f}from"./JSJYFWT6.js";import{E as l,F as n,G as m,I as d,J as b,h as c,i as a,q as p}from"./MRGCC5C4.js";import"./QPIMTXPL.js";var _=c`:host{display:block;--solutions-theme-foreground-color: var(--calcite-color-surface-2);width:100%}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-bottom-width:1px!important;border-width:0px}.border-bottom-2{border-bottom-width:2px!important;border-width:0px}.border-solid{border-style:solid;border-color:var(--calcite-color-border-3)}.border-left-right{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-surface-1);z-index:1000}.display-none{display:none}.adjusted-height{max-height:calc(100% - 68px);overflow-y:auto}.position-absolute{position:absolute}.position-relative{position:relative}.popover-map-list{overflow:auto;width:250px}.max-width-200{max-width:200px}.min-width-150{min-width:150px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}`,h=class extends m{constructor(){super(),this.mapInfos=[],this.isMapLayout=!1,this.showMapListInPopover=!1,this.referenceElement="",this.selectedWebMapId="",this._mapListExpanded=!1,this._isValidWebMap=!0,this._translations=u({name:"map-picker",blocking:!0}),this._list=l(),this._loadedId="",this._skipEditCheck=!1,this._popover=l(),this._mapPickerButton=l(),this.beforeMapInfoChange=p(),this.mapInfoChange=p(),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={mapInfos:0,isMapLayout:5,height:9,showMapListInPopover:5,referenceElement:1,selectedWebMapId:1,_mapListExpanded:16,_isValidWebMap:16,_translations:16}}static{this.styles=_}willUpdate(t){t.has("mapInfos")&&this.hasUpdated&&this.mapInfosWatchHandler(this.mapInfos,t.get("mapInfos")),t.has("selectedWebMapId")&&this.hasUpdated&&this.selectedWebMapIdWatchHandler(this.selectedWebMapId)}_webMapInfoWatchHandler(t,e){t&&JSON.stringify(t)!==JSON.stringify(e)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async mapInfosWatchHandler(t,e){if(t&&JSON.stringify(t)!==JSON.stringify(e)){let i=this._getWebMapInfo();this._webMapSelected(i)}}async selectedWebMapIdWatchHandler(t){this._loadedId=t}async setMapByID(t,e=!1){this._skipEditCheck=e;let i=this.mapInfos?.filter(s=>s.id===t);t&&i?.length>0&&this._webMapSelected(i[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}async mapChanged(t){let e=t.detail.isValid;this._isValidWebMap=e}render(){return a`${!this.showMapListInPopover&&this._getToolbar()||""}${this.showMapListInPopover?this._getMapListPopover():this._getMapNameList(this._mapListExpanded)}`}loaded(){let t=this._getWebMapInfo();t&&this._webMapSelected(t)}_getMapPicker(){let t="map-picker-expand-toggle",e=this._mapListExpanded?"chevron-up":"chevron-down",i=this.isMapLayout?"":"position-absolute",s=this.isMapLayout?"max-width-200":"width-full",r=this._isValidWebMap?"map":"exclamation-mark-triangle";return a`<div class=${d(s)}><calcite-button alignment=icon-end-space-between appearance=transparent class=${`width-full height-full ${i}`} .iconEnd=${e} .iconStart=${r} id=${t} kind=neutral @click=${()=>this._chooseMap()} width=full ${n(this._mapPickerButton)}>${this._getWebMapInfo().name}</calcite-button><calcite-tooltip placement=bottom .referenceElement=${t}><span>${this._translations.switchMap}</span></calcite-tooltip></div>`}_getToolbar(){let t=this.isMapLayout?"border-bottom-1":"border-bottom-2",e=this.isMapLayout?"":"position-relative";return a`<div class=${`display-flex border-left-right ${e}`}><calcite-action-bar class=${`border-solid action-bar-size overflow-hidden ${t}`} expand-disabled layout=horizontal slot=header>${this._getMapPicker()}${this._updateMapPickerIconColor()}</calcite-action-bar></div>`}_updateMapPickerIconColor(){this._mapPickerButton.value?.componentOnReady().then(()=>{let t=this._mapPickerButton.value?.shadowRoot?.lastChild,e=null;if(t&&t instanceof HTMLElement){let i=t.getElementsByClassName("icon icon--start");i.length>0&&(e=i[0])}e&&(this._isValidWebMap?e.style.setProperty("color","var(--calcite-color-text-1)"):e.style.setProperty("color","var(--calcite-color-status-danger)"))})}_getMapNameList(t){let e=this.showMapListInPopover?"position-relative":"position-absolute",i=this.isMapLayout?"max-width-200 min-width-150":"width-full",s=this.isMapLayout?"border-bottom-1":"border-bottom-2",r=t?`map-list border-solid ${s} adjusted-height ${i} ${e}`:"display-none";return a`<div class=${d(r)}><calcite-list id=mapList label selection-appearance=border selection-mode=single-persist ${n(this._list)}>${this.mapInfos.map(o=>a`<calcite-list-item .label=${o.name} @click=${()=>this._webMapSelected(o)} .selected=${o.id===this._loadedId} .value=${o.id}></calcite-list-item>`)}</calcite-list></div>`}_getMapListPopover(){let t=this.height&&this.height>0&&this.showMapListInPopover?{"max-height":`${this.height.toString()}px`}:{};return a`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} ${n(this._popover)}><div style=${b(t)} class=popover-map-list>${this._getMapNameList(!0)}</div></calcite-popover>`}_getWebMapInfo(){let t=this.mapInfos.find(e=>this.selectedWebMapId===e.id);if(!t&&this.mapInfos.length>0&&(t=this.mapInfos[0]),!t)throw new Error("No valid web map info available");return t}_webMapSelected(t){let e=this._loadedId;this._loadedId=t.id;let i=!1;this._skipEditCheck?i=!0:this.beforeMapInfoChange.emit({currentId:e,mapInfo:t,ref:this.el}).defaultPrevented||(i=!0),i&&(this._webMapInfoWatchHandler(t,this._webMapInfo),this._webMapInfo=t),this._popover.value&&(this._popover.value.open=!1),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}};f("map-picker",h);export{h as MapPicker};
2
+ import{a as u}from"./R67EKKSL.js";import"./BVWAUO73.js";import"./K3DQKY7V.js";import{b as f}from"./KIUBUHVM.js";import{E as l,F as n,G as m,I as d,J as b,h as c,i as a,q as p}from"./H5E6ISYP.js";import"./QPIMTXPL.js";var _=c`:host{display:block;--solutions-theme-foreground-color: var(--calcite-color-surface-2);width:100%}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-bottom-width:1px!important;border-width:0px}.border-bottom-2{border-bottom-width:2px!important;border-width:0px}.border-solid{border-style:solid;border-color:var(--calcite-color-border-3)}.border-left-right{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-surface-1);z-index:1000}.display-none{display:none}.adjusted-height{max-height:calc(100% - 68px);overflow-y:auto}.position-absolute{position:absolute}.position-relative{position:relative}.popover-map-list{overflow:auto;width:250px}.max-width-200{max-width:200px}.min-width-150{min-width:150px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}`,h=class extends m{constructor(){super(),this.mapInfos=[],this.isMapLayout=!1,this.showMapListInPopover=!1,this.referenceElement="",this.selectedWebMapId="",this._mapListExpanded=!1,this._isValidWebMap=!0,this._translations=u({name:"map-picker",blocking:!0}),this._list=l(),this._loadedId="",this._skipEditCheck=!1,this._popover=l(),this._mapPickerButton=l(),this.beforeMapInfoChange=p(),this.mapInfoChange=p(),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={mapInfos:0,isMapLayout:5,height:9,showMapListInPopover:5,referenceElement:1,selectedWebMapId:1,_mapListExpanded:16,_isValidWebMap:16,_translations:16}}static{this.styles=_}willUpdate(t){t.has("mapInfos")&&this.hasUpdated&&this.mapInfosWatchHandler(this.mapInfos,t.get("mapInfos")),t.has("selectedWebMapId")&&this.hasUpdated&&this.selectedWebMapIdWatchHandler(this.selectedWebMapId)}_webMapInfoWatchHandler(t,e){t&&JSON.stringify(t)!==JSON.stringify(e)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async mapInfosWatchHandler(t,e){if(t&&JSON.stringify(t)!==JSON.stringify(e)){let i=this._getWebMapInfo();this._webMapSelected(i)}}async selectedWebMapIdWatchHandler(t){this._loadedId=t}async setMapByID(t,e=!1){this._skipEditCheck=e;let i=this.mapInfos?.filter(s=>s.id===t);t&&i?.length>0&&this._webMapSelected(i[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}async mapChanged(t){let e=t.detail.isValid;this._isValidWebMap=e}render(){return a`${!this.showMapListInPopover&&this._getToolbar()||""}${this.showMapListInPopover?this._getMapListPopover():this._getMapNameList(this._mapListExpanded)}`}loaded(){let t=this._getWebMapInfo();t&&this._webMapSelected(t)}_getMapPicker(){let t="map-picker-expand-toggle",e=this._mapListExpanded?"chevron-up":"chevron-down",i=this.isMapLayout?"":"position-absolute",s=this.isMapLayout?"max-width-200":"width-full",r=this._isValidWebMap?"map":"exclamation-mark-triangle";return a`<div class=${d(s)}><calcite-button alignment=icon-end-space-between appearance=transparent class=${`width-full height-full ${i}`} .iconEnd=${e} .iconStart=${r} id=${t} kind=neutral @click=${()=>this._chooseMap()} width=full ${n(this._mapPickerButton)}>${this._getWebMapInfo().name}</calcite-button><calcite-tooltip placement=bottom .referenceElement=${t}><span>${this._translations.switchMap}</span></calcite-tooltip></div>`}_getToolbar(){let t=this.isMapLayout?"border-bottom-1":"border-bottom-2",e=this.isMapLayout?"":"position-relative";return a`<div class=${`display-flex border-left-right ${e}`}><calcite-action-bar class=${`border-solid action-bar-size overflow-hidden ${t}`} expand-disabled layout=horizontal slot=header>${this._getMapPicker()}${this._updateMapPickerIconColor()}</calcite-action-bar></div>`}_updateMapPickerIconColor(){this._mapPickerButton.value?.componentOnReady().then(()=>{let t=this._mapPickerButton.value?.shadowRoot?.lastChild,e=null;if(t&&t instanceof HTMLElement){let i=t.getElementsByClassName("icon icon--start");i.length>0&&(e=i[0])}e&&(this._isValidWebMap?e.style.setProperty("color","var(--calcite-color-text-1)"):e.style.setProperty("color","var(--calcite-color-status-danger)"))})}_getMapNameList(t){let e=this.showMapListInPopover?"position-relative":"position-absolute",i=this.isMapLayout?"max-width-200 min-width-150":"width-full",s=this.isMapLayout?"border-bottom-1":"border-bottom-2",r=t?`map-list border-solid ${s} adjusted-height ${i} ${e}`:"display-none";return a`<div class=${d(r)}><calcite-list id=mapList label selection-appearance=border selection-mode=single-persist ${n(this._list)}>${this.mapInfos.map(o=>a`<calcite-list-item .label=${o.name} @click=${()=>this._webMapSelected(o)} .selected=${o.id===this._loadedId} .value=${o.id}></calcite-list-item>`)}</calcite-list></div>`}_getMapListPopover(){let t=this.height&&this.height>0&&this.showMapListInPopover?{"max-height":`${this.height.toString()}px`}:{};return a`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} ${n(this._popover)}><div style=${b(t)} class=popover-map-list>${this._getMapNameList(!0)}</div></calcite-popover>`}_getWebMapInfo(){let t=this.mapInfos.find(e=>this.selectedWebMapId===e.id);if(!t&&this.mapInfos.length>0&&(t=this.mapInfos[0]),!t)throw new Error("No valid web map info available");return t}_webMapSelected(t){let e=this._loadedId;this._loadedId=t.id;let i=!1;this._skipEditCheck?i=!0:this.beforeMapInfoChange.emit({currentId:e,mapInfo:t,ref:this.el}).defaultPrevented||(i=!0),i&&(this._webMapInfoWatchHandler(t,this._webMapInfo),this._webMapInfo=t),this._popover.value&&(this._popover.value.open=!1),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}};f("map-picker",h);export{h as MapPicker};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ function B(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function k(t,s){var o={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&s.indexOf(e)<0&&(o[e]=t[e]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,e=Object.getOwnPropertySymbols(t);a<e.length;a++)s.indexOf(e[a])<0&&Object.prototype.propertyIsEnumerable.call(t,e[a])&&(o[e[a]]=t[e[a]]);return o}function C(t){return Object.keys(t).some(s=>{let o=t[s];if(!o)return!1;switch(o&&o.toParam&&(o=o.toParam()),o.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function j(t){let s={};return Object.keys(t).forEach(o=>{var e,a;let n=t[o];if(n&&n.toParam&&(n=n.toParam()),!n&&n!==0&&typeof n!="boolean"&&typeof n!="string")return;let r=n.constructor.name,c;switch(r){case"Array":let u=(a=(e=n[0])===null||e===void 0?void 0:e.constructor)===null||a===void 0?void 0:a.name;c=u==="Array"?n:u==="Object"?JSON.stringify(n):n.join(",");break;case"Object":c=JSON.stringify(n);break;case"Date":c=n.valueOf();break;case"Function":c=null;break;case"Boolean":c=n+"";break;default:c=n;break}(c||c===0||typeof c=="string"||Array.isArray(c))&&(s[o]=c)}),s}function A(t,s){return Array.isArray(s)&&s[0]&&Array.isArray(s[0])?s.map(o=>A(t,o)).join("&"):encodeURIComponent(t)+"="+encodeURIComponent(s)}function N(t){let s=j(t);return Object.keys(s).map(o=>A(o,s[o])).join("&")}var I=globalThis.FormData;function U(t,s){let o=C(t)||s,e=j(t);if(o){let a=new I;return Object.keys(e).forEach(n=>{if(typeof Blob<"u"&&e[n]instanceof Blob){let r=e.fileName||e[n].name||n;a.append(n,e[n],r)}else a.append(n,e[n])}),a}else return N(t)}var g=class extends Error{constructor(s,o,e,a,n){super(s);let r=new.target.prototype;Object.setPrototypeOf(this,r),s=s||"UNKNOWN_ERROR",o=o||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=o==="UNKNOWN_ERROR_CODE"?s:`${o}: ${s}`,this.originalMessage=s,this.code=o,this.response=e,this.url=a,this.options=n}},v={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},R="ARCGIS_REST_JS_NO_CORS";globalThis[R]||(globalThis[R]=Object.assign({},v));var l=globalThis[R];function x(t){let s=new URL(t);t=s.origin+s.pathname,s.search.includes("f=json")&&(t+="?f=json");let o=s.origin;return l.pendingNoCorsRequests[o]||(l.pendingNoCorsRequests[o]=fetch(t,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(e=>{l.noCorsDomains.indexOf(o)===-1&&l.noCorsDomains.push(o),l.crossOriginNoCorsDomains[o.toLowerCase()]=Date.now(),delete l.pendingNoCorsRequests[o]}).catch(e=>(delete l.pendingNoCorsRequests[o],Promise.reject(new Error(`no-cors request to ${o} failed`))))),l.pendingNoCorsRequests[o]}function q(t){t.forEach(s=>{s=s.toLowerCase(),/^https?:\/\//.test(s)?w(s):(w("http://"+s),w("https://"+s))})}function w(t){let s=new URL(t).origin;l.noCorsDomains.indexOf(s)===-1&&l.noCorsDomains.push(s)}function E(t){let s=!1;if(l.noCorsDomains.length){let o=new URL(t).origin.toLowerCase();s=l.noCorsDomains.some(e=>o.includes(e))}return s}function G(t){let s=!1;if(E(t)){let o=new URL(t).origin.toLowerCase(),e=l.crossOriginNoCorsDomains[o]||0;Date.now()-60*6e4>e&&(s=!0)}return s}function L(t){console&&console.warn&&console.warn.apply(console,[t])}function W(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function $(t,s){var o;if(!s&&!window||!t)return!1;{s=s||window;let e=(o=s.location)===null||o===void 0?void 0:o.origin;return t.startsWith(e)}}var K="@esri/arcgis-rest-js";function M(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var O=class extends g{constructor(s="AUTHENTICATION_ERROR",o="AUTHENTICATION_ERROR_CODE",e,a,n){super(s,o,e,a,n),this.name="ArcGISAuthError",this.message=o==="AUTHENTICATION_ERROR_CODE"?s:`${o}: ${s}`;let r=new.target.prototype;Object.setPrototypeOf(this,r)}retry(s,o=1){let e=0,a=(n,r)=>{e=e+1,s(this.url,this.options).then(c=>{let u=Object.assign(Object.assign({},this.options),{authentication:c});return S(this.url,u)}).then(c=>{n(c)}).catch(c=>{c.name==="ArcGISAuthError"&&e<o?a(n,r):c.name===this.name&&c.message===this.message&&e>=o?r(this):r(c)})};return new Promise((n,r)=>{a(n,r)})}};function J(t,s,o,e,a){if(t.code>=400){let{message:n,code:r}=t;throw new g(n,r,t,s,e)}if(t.error){let{message:n,code:r,messageCode:c}=t.error,u=c||r||"UNKNOWN_ERROR_CODE";throw r===498||r===499?a||new O(n,u,t,s,e):new g(n,u,t,s,e)}if(t.status==="failed"||t.status==="failure"){let n,r="UNKNOWN_ERROR_CODE";try{n=JSON.parse(t.statusMessage).message,r=JSON.parse(t.statusMessage).code}catch{n=t.statusMessage||t.message}throw new g(n,r,t,s,e)}return t}function S(t,s){let o=M(),e=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},o),s),{params:Object.assign(Object.assign({},o.params),s.params),headers:Object.assign(Object.assign({},o.headers),s.headers)}),{httpMethod:a,rawResponse:n}=e,r=Object.assign({f:"json"},e.params),c=null,u={method:a,signal:e.signal,credentials:e.credentials||"same-origin"};E(t)&&(u.credentials="include"),e.headers&&e.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let p;if(typeof e.authentication=="string"){let i=e.authentication;p={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(i)},!e.authentication.startsWith("AAPK")&&!e.authentication.startsWith("AAPT")&&!e.authentication.startsWith("AATK")&&!e.authentication.startsWith("AAST")&&!e.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(L("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else p=e.authentication;let _=t,b=!1;typeof window<"u"&&(b=$(t));let P=!b&&G(t);e.headers&&e.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let T=Promise.resolve();return P&&(u.credentials="include",T=x(t)),T.then(()=>p?p.getToken(t).catch(i=>(i.url=t,i.options=e,c=i,Promise.resolve(""))):Promise.resolve("")).then(i=>{i.length&&(r.token=i),p&&p.getDomainCredentials&&(u.credentials=p.getDomainCredentials(t));let h={};if(u.method==="GET"){r.token&&e.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${r.token}`,delete r.token);let f=N(r),m=f===""?t:`${t}?${f}`;e.maxUrlLength&&m.length>e.maxUrlLength||!e.maxUrlLength&&m.length>2e3||r.token&&e.hideToken?(u.method="POST",i.length&&e.hideToken&&(r.token=i,delete h["X-Esri-Authorization"])):t=m}let d=new RegExp("/items/.+/updateResources").test(t);return u.method==="POST"&&(u.body=U(r,d)),u.headers=Object.assign(Object.assign({},h),e.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=K),!C(r)&&!d&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(t,u):W().then(({fetch:f})=>f(t,u))}).then(i=>{if(!i.ok)return i.json().then(h=>{let{status:d,statusText:f}=i,{message:m,details:y}=h.error,D=`${m}. ${y?y.join(" "):""}`.trim();throw new g(D,`HTTP ${d} ${f}`,h,t,e)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:d,statusText:f}=i;throw new g(f,`HTTP ${d}`,i,t,e)});if(n)return console.warn("rawResponse option is deprecated and will be removed in ArcGIS REST JS v5.0."),i;switch(r.f){case"json":return i.json();case"geojson":return i.json();case"html":return i.text();case"text":return i.text();default:return i.blob()}}).then(i=>{if((r.f==="json"||r.f==="geojson")&&!n){let h=J(i,_,r,e,c);if(i&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(t)&&Array.isArray(i.authorizedCrossOriginNoCorsDomains)&&q(i.authorizedCrossOriginNoCorsDomains),c){let d=t.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];e.authentication.federatedServers[d]={token:[],expires:new Date(Date.now()+86400*1e3)},c=null}return h}else return i})}function z(t,s={params:{f:"json"}}){let{request:o}=s,e=k(s,["request"]);return o?o(t,e):S(t,e).catch(a=>a instanceof O&&s.authentication&&typeof s.authentication!="string"&&s.authentication.canRefresh&&s.authentication.refreshCredentials?a.retry(()=>s.authentication.refreshCredentials(),1):Promise.reject(a))}function H(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}function F(t={}){return t.portal?H(t.portal):t.authentication&&typeof t.authentication!="string"?t.authentication.portal:"https://www.arcgis.com/sharing/rest"}export{B as a,k as b,L as c,z as d,F as e};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as y}from"./SH72A5PB.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import{a as s,b as p}from"./SMNWKCWR.js";import"./SC5EOUVT.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import{a as n}from"./DKB6JTUF.js";import{a}from"./3WKKIXVT.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import{a as l}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import{a as t,b as r}from"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
2
+ import{a as y}from"./SH72A5PB.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import{a as s,b as p}from"./CZKXDUOH.js";import"./SC5EOUVT.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import{a as n}from"./DKB6JTUF.js";import{a}from"./3WKKIXVT.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import{a as l}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import{a as t,b as r}from"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{ka as c,ob as p}from"./HE2XAIDT.js";import{u as d}from"./XQQ52NKX.js";var V=250,g=new Set(["add","all","alter","and","any","as","asc","backup","between","by","case","check","column","constraint","create","database","date","default","delete","desc","distinct","drop","exec","exists","foreign","from","full","group","having","in","index","inner","insert","into","is","join","key","left","like","limit","not","null","on","or","order","outer","primary","procedure","right","rownum","select","set","table","top","truncate","union","unique","update","values","view","where"]),w=new Set(["objectid","globalid","created_date","created_user","last_edited_date","last_edited_user","fid","shape","shape_length","shape_area"]),x=/[\u{1F600}-\u{1F64F}\u{1F300}-\u{1F5FF}\u{1F680}-\u{1F6FF}\u{1F1E0}-\u{1F1FF}\u{2600}-\u{26FF}\u{2700}-\u{27BF}\u{1F900}-\u{1F9FF}\u{1F018}-\u{1F270}\u{238C}-\u{2454}\u{20D0}-\u{20FF}\u{FE0F}]/u;function l(e){return!e||e.trim().length===0}function s(e){return e.length>V}function n(e,r){return x.test(e)?!0:r==="item"?/[><~`$^+=|]/u.test(e):/[/<>]/u.test(e)}async function b(e,r){let t=r,a=await t.getUsername(),y={q:new d().match(e).in("title").and().match(a).in("owner"),filter:"type:Solution",authentication:t},h=(await p(y)).results.map(i=>i.title),{folders:m}=await c(t),f=m.map(i=>i.title),o=[...h,...f].map(i=>i.trim().toLowerCase()),u=e.toLowerCase(),F=o.filter(i=>i===u),T=o.filter(i=>i.startsWith(u));return{conflictingNames:F,similiarNames:T}}async function C(e,r,t=!1){return l(e)?{isValid:!1,errorType:"empty"}:s(e)?{isValid:!1,errorType:"exceed-length"}:n(e,"folder")||n(e,"item")?{isValid:!1,errorType:"special-character"}:!t&&r&&(await b(e.trim(),r)).conflictingNames.length>0?{isValid:!1,errorType:"not-unique"}:{isValid:!0,errorType:null}}function v(e){return l(e)?{isValid:!1,errorType:"empty"}:s(e)?{isValid:!1,errorType:"exceed-length"}:n(e,"item")?{isValid:!1,errorType:"special-character"}:{isValid:!0,errorType:null}}function L(e,r,t=!1){if(e.length>r)return{isValid:!1,errorType:"exceed-length"};let a=[];return e.includes("<")&&a.push("<"),e.includes(">")&&a.push(">"),!t&&e.includes("/")&&a.push("/"),a.length>0?{isValid:!1,errorType:"special-character"}:{isValid:!0,errorType:null}}function k(e){return l(e)?{isValid:!1,errorType:"empty"}:s(e)?{isValid:!1,errorType:"exceed-length"}:{isValid:!0,errorType:null}}function S(e,r=[]){return l(e)?{isValid:!1,errorType:"empty"}:/^[a-zA-Z][a-zA-Z0-9_]*$/.test(e)?e.length>31?{isValid:!1,errorType:"exceed-length"}:g.has(e.toLowerCase())?{isValid:!1,errorType:"sql-keyword"}:w.has(e.toLowerCase())?{isValid:!1,errorType:"system-field"}:r.includes(e.toLowerCase())?{isValid:!1,errorType:"duplicate-field"}:{isValid:!0,errorType:null}:{isValid:!1,errorType:"invalid-format"}}function q(e){return e<1||e>4e3?{isValid:!1,errorType:"out-of-range"}:{isValid:!0,errorType:null}}function A(e,r,t=!1){return t?{isValid:!0,errorType:null}:e.trim().length===0?{isValid:!1,errorType:"empty"}:e.length>r?{isValid:!1,errorType:"exceed-length"}:{isValid:!0,errorType:null}}export{b as a,C as b,v as c,L as d,k as e,S as f,q as g,A as h};
2
+ import{ka as c,ob as p}from"./J75MHJID.js";import{u as d}from"./XQQ52NKX.js";var V=250,g=new Set(["add","all","alter","and","any","as","asc","backup","between","by","case","check","column","constraint","create","database","date","default","delete","desc","distinct","drop","exec","exists","foreign","from","full","group","having","in","index","inner","insert","into","is","join","key","left","like","limit","not","null","on","or","order","outer","primary","procedure","right","rownum","select","set","table","top","truncate","union","unique","update","values","view","where"]),w=new Set(["objectid","globalid","created_date","created_user","last_edited_date","last_edited_user","fid","shape","shape_length","shape_area"]),x=/[\u{1F600}-\u{1F64F}\u{1F300}-\u{1F5FF}\u{1F680}-\u{1F6FF}\u{1F1E0}-\u{1F1FF}\u{2600}-\u{26FF}\u{2700}-\u{27BF}\u{1F900}-\u{1F9FF}\u{1F018}-\u{1F270}\u{238C}-\u{2454}\u{20D0}-\u{20FF}\u{FE0F}]/u;function l(e){return!e||e.trim().length===0}function s(e){return e.length>V}function n(e,r){return x.test(e)?!0:r==="item"?/[><~`$^+=|]/u.test(e):/[/<>]/u.test(e)}async function b(e,r){let t=r,a=await t.getUsername(),y={q:new d().match(e).in("title").and().match(a).in("owner"),filter:"type:Solution",authentication:t},h=(await p(y)).results.map(i=>i.title),{folders:m}=await c(t),f=m.map(i=>i.title),o=[...h,...f].map(i=>i.trim().toLowerCase()),u=e.toLowerCase(),F=o.filter(i=>i===u),T=o.filter(i=>i.startsWith(u));return{conflictingNames:F,similiarNames:T}}async function C(e,r,t=!1){return l(e)?{isValid:!1,errorType:"empty"}:s(e)?{isValid:!1,errorType:"exceed-length"}:n(e,"folder")||n(e,"item")?{isValid:!1,errorType:"special-character"}:!t&&r&&(await b(e.trim(),r)).conflictingNames.length>0?{isValid:!1,errorType:"not-unique"}:{isValid:!0,errorType:null}}function v(e){return l(e)?{isValid:!1,errorType:"empty"}:s(e)?{isValid:!1,errorType:"exceed-length"}:n(e,"item")?{isValid:!1,errorType:"special-character"}:{isValid:!0,errorType:null}}function L(e,r,t=!1){if(e.length>r)return{isValid:!1,errorType:"exceed-length"};let a=[];return e.includes("<")&&a.push("<"),e.includes(">")&&a.push(">"),!t&&e.includes("/")&&a.push("/"),a.length>0?{isValid:!1,errorType:"special-character"}:{isValid:!0,errorType:null}}function k(e){return l(e)?{isValid:!1,errorType:"empty"}:s(e)?{isValid:!1,errorType:"exceed-length"}:{isValid:!0,errorType:null}}function S(e,r=[]){return l(e)?{isValid:!1,errorType:"empty"}:/^[a-zA-Z][a-zA-Z0-9_]*$/.test(e)?e.length>31?{isValid:!1,errorType:"exceed-length"}:g.has(e.toLowerCase())?{isValid:!1,errorType:"sql-keyword"}:w.has(e.toLowerCase())?{isValid:!1,errorType:"system-field"}:r.includes(e.toLowerCase())?{isValid:!1,errorType:"duplicate-field"}:{isValid:!0,errorType:null}:{isValid:!1,errorType:"invalid-format"}}function q(e){return e<1||e>4e3?{isValid:!1,errorType:"out-of-range"}:{isValid:!0,errorType:null}}function A(e,r,t=!1){return t?{isValid:!0,errorType:null}:e.trim().length===0?{isValid:!1,errorType:"empty"}:e.length>r?{isValid:!1,errorType:"exceed-length"}:{isValid:!0,errorType:null}}export{b as a,C as b,v as c,L as d,k as e,S as f,q as g,A as h};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as i}from"./5O53T3SW.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
2
+ import{a as i}from"./4HFHJOS3.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"Executing Solutions Builder Agent...","builderAgentUnderstanding":"Understanding your request...","builderAgentReviewingUseCase":"Reviewing the use case...","builderAgentSearching":"Searching for existing solutions...","builderAgentFindingMatch":"Finding matching solution...","builderAgentCreatingDesign":"Creating a solution design...","builderAgentValidating":"Validating the solution design...","explorerAgentSearching":"Searching ArcGIS Solutions documentation...","explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"builderMessages":{"newConversationStarted":"New conversation started.","undoDesignChange":"Undid the last solution design change.","redoDesignChange":"Redid the last undone change.","cancelledMessage":"Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with.","selectTemplatePrompt":"Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution.","describeWorkflowPrompt":"What kind of workflow are you looking to support? Share a brief description of what the solution should help with.","buildTemplateSolution":"It looks like you would like to build a {{template}} solution.","needUseCaseForTemplate":"Next we need to understand the use case for the {{template}} solution.","provideUseCaseDetails":"Please provide more details about the use case.","existingSolutionMatch":"We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution?","existingTemplateMatch":"We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution?","designUpdated":"I updated the solution design for you.","designCreated":"I created an initial solution design for you.","iteratePrompt":"The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed."},"betaTag":"Beta","defaultStartUpMessage":"Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs.","defaultFollowUpQuestions":{"roadwayAssets":"Can you help me inspect roadway assets?","publicSafety":"What solutions support public safety agencies?","howToDeploy":"How do I deploy a solution?","buildOwnSolution":"I want to build my own solution."},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant.","tooltips":{"close":"Close","likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send","solutionBuilder":"Solution builder","toggleSolutionBuilder":"Toggle solution builder panel"},"viewSolutionInApp":"View solution"}
1
+ {"agentProgress":{"explorerAgentSearching":"Searching ArcGIS Solutions documentation...","explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"builderMessages":{"understandingRequest":"Understanding your request...","selectTemplatePrompt":"This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish.","searchingExistingSolutions":"Searching for existing solutions...","existingSolutionMatch":"We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution?","creatingDesign":"Generating solution design...","updatingDesign":"Updating solution design...","applyChangeFailed":"I wasn't able to apply that change. The design was not modified. Please try rephrasing your request."},"betaTag":"Beta","defaultStartUpMessage":"Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs.","defaultFollowUpQuestions":{"roadwayAssets":"Can you help me inspect roadway assets?","publicSafety":"What solutions support public safety agencies?","howToDeploy":"How do I deploy a solution?","buildOwnSolution":"I want to build my own solution."},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant.","tooltips":{"close":"Close","likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send","solutionBuilder":"Solution builder","toggleSolutionBuilder":"Toggle solution builder panel"},"viewSolutionInApp":"View solution"}
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"Executing Solutions Builder Agent...","builderAgentUnderstanding":"Understanding your request...","builderAgentReviewingUseCase":"Reviewing the use case...","builderAgentSearching":"Searching for existing solutions...","builderAgentFindingMatch":"Finding matching solution...","builderAgentCreatingDesign":"Creating a solution design...","builderAgentValidating":"Validating the solution design...","explorerAgentSearching":"Searching ArcGIS Solutions documentation...","explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"builderMessages":{"newConversationStarted":"New conversation started.","undoDesignChange":"Undid the last solution design change.","redoDesignChange":"Redid the last undone change.","cancelledMessage":"Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with.","selectTemplatePrompt":"Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution.","describeWorkflowPrompt":"What kind of workflow are you looking to support? Share a brief description of what the solution should help with.","buildTemplateSolution":"It looks like you would like to build a {{template}} solution.","needUseCaseForTemplate":"Next we need to understand the use case for the {{template}} solution.","provideUseCaseDetails":"Please provide more details about the use case.","existingSolutionMatch":"We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution?","existingTemplateMatch":"We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution?","designUpdated":"I updated the solution design for you.","designCreated":"I created an initial solution design for you.","iteratePrompt":"The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed."},"betaTag":"Beta","defaultStartUpMessage":"Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs.","defaultFollowUpQuestions":{"roadwayAssets":"Can you help me inspect roadway assets?","publicSafety":"What solutions support public safety agencies?","howToDeploy":"How do I deploy a solution?","buildOwnSolution":"I want to build my own solution."},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant.","tooltips":{"close":"Close","likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send","solutionBuilder":"Solution builder","toggleSolutionBuilder":"Toggle solution builder panel"},"viewSolutionInApp":"View solution"}
1
+ {"agentProgress":{"explorerAgentSearching":"Searching ArcGIS Solutions documentation...","explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"builderMessages":{"understandingRequest":"Understanding your request...","selectTemplatePrompt":"This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish.","searchingExistingSolutions":"Searching for existing solutions...","existingSolutionMatch":"We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution?","creatingDesign":"Generating solution design...","updatingDesign":"Updating solution design...","applyChangeFailed":"I wasn't able to apply that change. The design was not modified. Please try rephrasing your request."},"betaTag":"Beta","defaultStartUpMessage":"Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs.","defaultFollowUpQuestions":{"roadwayAssets":"Can you help me inspect roadway assets?","publicSafety":"What solutions support public safety agencies?","howToDeploy":"How do I deploy a solution?","buildOwnSolution":"I want to build my own solution."},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant.","tooltips":{"close":"Close","likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send","solutionBuilder":"Solution builder","toggleSolutionBuilder":"Toggle solution builder panel"},"viewSolutionInApp":"View solution"}
@@ -1 +1 @@
1
- {"headerTitle":"Solution builder","noticeMessage":"Generated with AI by the ArcGIS Solutions assistant (beta)","draft":"Draft","undo":"Undo","redo":"Redo","hideBuilder":"Hide","name":"Name","namePlaceholder":"Solution name","solutionNameErrorBlank":"The solution name cannot be empty.","solutionNameErrorLength":"The solution name is too long.","solutionNameErrorSpecialCharacter":"The solution name contains a special character which is not allowed.","description":"Description","solutionDescriptionPlaceholder":"Solution description","descriptionErrorLength":"The solution description is too long.","descriptionErrorSpecialCharacter":"The solution description contains a special character which is not allowed.","deploy":"Deploy","viewDiagram":"View Diagram","openHelp":"Open Help","discard":"Discard","contents":"Contents","featureLayer":"Feature Layer","solutionContentItems":"Solution content items","edit":"Edit","editItemContent":"Edit item content","title":"Title","titlePlaceholder":"Enter title","itemTitleErrorBlank":"The title cannot be empty.","itemTitleErrorLength":"The title is too long.","itemTitleErrorSpecialCharacter":"The title contains a special character which is not allowed.","descriptionPlaceholder":"Enter description","itemDescriptionErrorLength":"The description is too long.","itemDescriptionErrorSpecialCharacter":"The description contains a special character which is not allowed.","apply":"Apply","close":"Close","solutionThumbnail":"Solution thumbnail","layer":"Layer","addLayer":"Add layer","layerNamePlaceholder":"Enter layer name","layerNameErrorBlank":"The layer name cannot be empty.","layerNameErrorLength":"The layer name is too long.","layerNameErrorSpecialCharacter":"The layer name contains a special character which is not allowed.","type":"Type","pointLayer":"Point layer","lineLayer":"Line layer","polygonLayer":"Polygon layer","tableLayer":"Table","layerDescriptionPlaceholder":"Enter layer description","layerDescriptionErrorLength":"The layer description is too long.","layerDescriptionErrorSpecialCharacter":"The layer description contains a special character which is not allowed.","fields":"Fields","displayName":"Display name","displayNamePlaceholder":"Enter display name","displayNameErrorBlank":"The display name cannot be empty.","displayNameErrorLength":"The display name is too long.","fieldName":"Field name","fieldNamePlaceholder":"Enter field name","fieldNameErrorBlank":"The field name cannot be empty.","fieldNameErrorInvalidChars":"Must begin with a letter and can only contain letters, numbers, and '_'.","fieldNameErrorLength":"Field name length should be less than or equal to 31 characters.","fieldNameErrorExists":"The field name cannot be the same as an existing field name.","fieldNameErrorSQLKeyword":"The field name cannot be the same as an SQL keyword.","fieldNameErrorSystemField":"The field name cannot be the same as a system field name.","fieldDescription":"Field description","fieldDescriptionPlaceholder":"Enter field description","fieldDescriptionErrorLength":"The field description is too long.","fieldDescriptionErrorSpecialCharacter":"The field description contains a special character which is not allowed.","domain":"Domain","addField":"Add field","systemFieldsNote":"System fields will also be included and cannot be customized:","requiredFieldNote":"This field is required in this solution and cannot be deleted.","requiredFieldTooltip":"This field is required in this solution.","done":"Done","removeLayer":"Remove layer","delete":"Delete","stringType":"String","integerType":"Integer","doubleType":"Double","dateType":"Date","guidType":"GUID","length":"Length","lengthErrorOutOfRange":"The value is out of range.","domainValuePlaceholder":"Enter value","domainValueErrorEmpty":"Value cannot be empty.","domainValueErrorExceedsLength":"Value cannot exceed the field length."}
1
+ {"headerTitle":"Solution builder","noticeMessage":"Generated with AI by the ArcGIS Solutions assistant (beta)","draft":"Draft","undo":"Undo","redo":"Redo","hideBuilder":"Hide","name":"Name","namePlaceholder":"Solution name","solutionNameErrorBlank":"The solution name cannot be empty.","solutionNameErrorLength":"The solution name is too long.","solutionNameErrorSpecialCharacter":"The solution name contains a special character which is not allowed.","description":"Description","solutionDescriptionPlaceholder":"Solution description","descriptionErrorLength":"The solution description is too long.","descriptionErrorSpecialCharacter":"The solution description contains a special character which is not allowed.","deploy":"Deploy","viewDiagram":"View Diagram","openHelp":"Open Help","discard":"Discard","contents":"Contents","featureLayer":"Feature Layer","customizeLayer":"Customize layer","solutionContentItems":"Solution content items","edit":"Edit","editItemContent":"Edit item content","title":"Title","titlePlaceholder":"Enter title","itemTitleErrorBlank":"The title cannot be empty.","itemTitleErrorLength":"The title is too long.","itemTitleErrorSpecialCharacter":"The title contains a special character which is not allowed.","descriptionPlaceholder":"Enter description","itemDescriptionErrorLength":"The description is too long.","itemDescriptionErrorSpecialCharacter":"The description contains a special character which is not allowed.","apply":"Apply","close":"Close","cancel":"Cancel","solutionThumbnail":"Solution thumbnail","selectLayer":"Select layer","layerProperties":"Layer properties","addLayer":"Add layer","layerNamePlaceholder":"Enter layer name","layerNameErrorBlank":"The layer name cannot be empty.","layerNameErrorLength":"The layer name is too long.","layerNameErrorSpecialCharacter":"The layer name contains a special character which is not allowed.","type":"Type","pointLayer":"Point layer","lineLayer":"Line layer","polygonLayer":"Polygon layer","tableLayer":"Table","layerDescriptionPlaceholder":"Enter layer description","layerDescriptionErrorLength":"The layer description is too long.","layerDescriptionErrorSpecialCharacter":"The layer description contains a special character which is not allowed.","fields":"Fields","displayName":"Display name","displayNamePlaceholder":"Enter display name","displayNameErrorBlank":"The display name cannot be empty.","displayNameErrorLength":"The display name is too long.","fieldName":"Field name","fieldNamePlaceholder":"Enter field name","fieldNameErrorBlank":"The field name cannot be empty.","fieldNameErrorInvalidChars":"Must begin with a letter and can only contain letters, numbers, and '_'.","fieldNameErrorLength":"Field name length should be less than or equal to 31 characters.","fieldNameErrorExists":"The field name cannot be the same as an existing field name.","fieldNameErrorSQLKeyword":"The field name cannot be the same as an SQL keyword.","fieldNameErrorSystemField":"The field name cannot be the same as a system field name.","fieldDescription":"Field description","fieldDescriptionPlaceholder":"Enter field description","fieldDescriptionErrorLength":"The field description is too long.","fieldDescriptionErrorSpecialCharacter":"The field description contains a special character which is not allowed.","domainValues":"List of values","addDomainValue":"Add value","domain":"Domain","addField":"Add field","systemFieldsNote":"System fields will also be included and cannot be customized:","requiredFieldNote":"This field is required in this solution and cannot be deleted.","requiredFieldTooltip":"This field is required in this solution.","done":"Done","removeLayer":"Remove layer","delete":"Delete","stringType":"String","integerType":"Integer","doubleType":"Double","dateType":"Date","guidType":"GUID","length":"Length","lengthErrorOutOfRange":"The value is out of range.","domainValuePlaceholder":"Enter value","domainValueErrorEmpty":"Value cannot be empty.","domainValueErrorExceedsLength":"Value cannot exceed the field length."}
@@ -1 +1 @@
1
- {"headerTitle":"Solution builder","noticeMessage":"Generated with AI by the ArcGIS Solutions assistant (beta)","draft":"Draft","undo":"Undo","redo":"Redo","hideBuilder":"Hide","name":"Name","namePlaceholder":"Solution name","solutionNameErrorBlank":"The solution name cannot be empty.","solutionNameErrorLength":"The solution name is too long.","solutionNameErrorSpecialCharacter":"The solution name contains a special character which is not allowed.","description":"Description","solutionDescriptionPlaceholder":"Solution description","descriptionErrorLength":"The solution description is too long.","descriptionErrorSpecialCharacter":"The solution description contains a special character which is not allowed.","deploy":"Deploy","viewDiagram":"View Diagram","openHelp":"Open Help","discard":"Discard","contents":"Contents","featureLayer":"Feature Layer","solutionContentItems":"Solution content items","edit":"Edit","editItemContent":"Edit item content","title":"Title","titlePlaceholder":"Enter title","itemTitleErrorBlank":"The title cannot be empty.","itemTitleErrorLength":"The title is too long.","itemTitleErrorSpecialCharacter":"The title contains a special character which is not allowed.","descriptionPlaceholder":"Enter description","itemDescriptionErrorLength":"The description is too long.","itemDescriptionErrorSpecialCharacter":"The description contains a special character which is not allowed.","apply":"Apply","close":"Close","solutionThumbnail":"Solution thumbnail","layer":"Layer","addLayer":"Add layer","layerNamePlaceholder":"Enter layer name","layerNameErrorBlank":"The layer name cannot be empty.","layerNameErrorLength":"The layer name is too long.","layerNameErrorSpecialCharacter":"The layer name contains a special character which is not allowed.","type":"Type","pointLayer":"Point layer","lineLayer":"Line layer","polygonLayer":"Polygon layer","tableLayer":"Table","layerDescriptionPlaceholder":"Enter layer description","layerDescriptionErrorLength":"The layer description is too long.","layerDescriptionErrorSpecialCharacter":"The layer description contains a special character which is not allowed.","fields":"Fields","displayName":"Display name","displayNamePlaceholder":"Enter display name","displayNameErrorBlank":"The display name cannot be empty.","displayNameErrorLength":"The display name is too long.","fieldName":"Field name","fieldNamePlaceholder":"Enter field name","fieldNameErrorBlank":"The field name cannot be empty.","fieldNameErrorInvalidChars":"Must begin with a letter and can only contain letters, numbers, and '_'.","fieldNameErrorLength":"Field name length should be less than or equal to 31 characters.","fieldNameErrorExists":"The field name cannot be the same as an existing field name.","fieldNameErrorSQLKeyword":"The field name cannot be the same as an SQL keyword.","fieldNameErrorSystemField":"The field name cannot be the same as a system field name.","fieldDescription":"Field description","fieldDescriptionPlaceholder":"Enter field description","fieldDescriptionErrorLength":"The field description is too long.","fieldDescriptionErrorSpecialCharacter":"The field description contains a special character which is not allowed.","domain":"Domain","addField":"Add field","systemFieldsNote":"System fields will also be included and cannot be customized:","requiredFieldNote":"This field is required in this solution and cannot be deleted.","requiredFieldTooltip":"This field is required in this solution.","done":"Done","removeLayer":"Remove layer","delete":"Delete","stringType":"String","integerType":"Integer","doubleType":"Double","dateType":"Date","guidType":"GUID","length":"Length","lengthErrorOutOfRange":"The value is out of range.","domainValuePlaceholder":"Enter value","domainValueErrorEmpty":"Value cannot be empty.","domainValueErrorExceedsLength":"Value cannot exceed the field length."}
1
+ {"headerTitle":"Solution builder","noticeMessage":"Generated with AI by the ArcGIS Solutions assistant (beta)","draft":"Draft","undo":"Undo","redo":"Redo","hideBuilder":"Hide","name":"Name","namePlaceholder":"Solution name","solutionNameErrorBlank":"The solution name cannot be empty.","solutionNameErrorLength":"The solution name is too long.","solutionNameErrorSpecialCharacter":"The solution name contains a special character which is not allowed.","description":"Description","solutionDescriptionPlaceholder":"Solution description","descriptionErrorLength":"The solution description is too long.","descriptionErrorSpecialCharacter":"The solution description contains a special character which is not allowed.","deploy":"Deploy","viewDiagram":"View Diagram","openHelp":"Open Help","discard":"Discard","contents":"Contents","featureLayer":"Feature Layer","customizeLayer":"Customize layer","solutionContentItems":"Solution content items","edit":"Edit","editItemContent":"Edit item content","title":"Title","titlePlaceholder":"Enter title","itemTitleErrorBlank":"The title cannot be empty.","itemTitleErrorLength":"The title is too long.","itemTitleErrorSpecialCharacter":"The title contains a special character which is not allowed.","descriptionPlaceholder":"Enter description","itemDescriptionErrorLength":"The description is too long.","itemDescriptionErrorSpecialCharacter":"The description contains a special character which is not allowed.","apply":"Apply","close":"Close","cancel":"Cancel","solutionThumbnail":"Solution thumbnail","selectLayer":"Select layer","layerProperties":"Layer properties","addLayer":"Add layer","layerNamePlaceholder":"Enter layer name","layerNameErrorBlank":"The layer name cannot be empty.","layerNameErrorLength":"The layer name is too long.","layerNameErrorSpecialCharacter":"The layer name contains a special character which is not allowed.","type":"Type","pointLayer":"Point layer","lineLayer":"Line layer","polygonLayer":"Polygon layer","tableLayer":"Table","layerDescriptionPlaceholder":"Enter layer description","layerDescriptionErrorLength":"The layer description is too long.","layerDescriptionErrorSpecialCharacter":"The layer description contains a special character which is not allowed.","fields":"Fields","displayName":"Display name","displayNamePlaceholder":"Enter display name","displayNameErrorBlank":"The display name cannot be empty.","displayNameErrorLength":"The display name is too long.","fieldName":"Field name","fieldNamePlaceholder":"Enter field name","fieldNameErrorBlank":"The field name cannot be empty.","fieldNameErrorInvalidChars":"Must begin with a letter and can only contain letters, numbers, and '_'.","fieldNameErrorLength":"Field name length should be less than or equal to 31 characters.","fieldNameErrorExists":"The field name cannot be the same as an existing field name.","fieldNameErrorSQLKeyword":"The field name cannot be the same as an SQL keyword.","fieldNameErrorSystemField":"The field name cannot be the same as a system field name.","fieldDescription":"Field description","fieldDescriptionPlaceholder":"Enter field description","fieldDescriptionErrorLength":"The field description is too long.","fieldDescriptionErrorSpecialCharacter":"The field description contains a special character which is not allowed.","domainValues":"List of values","addDomainValue":"Add value","domain":"Domain","addField":"Add field","systemFieldsNote":"System fields will also be included and cannot be customized:","requiredFieldNote":"This field is required in this solution and cannot be deleted.","requiredFieldTooltip":"This field is required in this solution.","done":"Done","removeLayer":"Remove layer","delete":"Delete","stringType":"String","integerType":"Integer","doubleType":"Double","dateType":"Date","guidType":"GUID","length":"Length","lengthErrorOutOfRange":"The value is out of range.","domainValuePlaceholder":"Enter value","domainValueErrorEmpty":"Value cannot be empty.","domainValueErrorExceedsLength":"Value cannot exceed the field length."}
package/dist/cdn/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a}from"./JSJYFWT6.js";import{u as e}from"./MRGCC5C4.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./A73LPATI.js"),"_translations:,builderVisible,open,userFirstName"],"buffer-tools":[()=>import("./BWTT7T3L.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./ZJ3PH44C.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./RF2W2PD4.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./SCZI2MJN.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./JNREEHT7.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./Y4WHK65W.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./6SADY7KT.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./FEQDFENU.js")],"delete-button":[()=>import("./KG6FSDWT.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./Q2WAWIFY.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./URLISIUW.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./FWWWKZLH.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./L6QVMYXE.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./RQRAFBVO.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./7D5KMJGC.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./3MEDCOT3.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./JUWJNZMD.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./EJQKVRSG.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./DVXR45DO.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./KXGN75L6.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./GQ4DWI5G.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./76PFFHQQ.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./J5GPIJHD.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./RU3J7KVD.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./HT55AVL4.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./U3ZZOP55.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./E7Y745EK.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./JM44ZPIE.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./X7GJCPNX.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./ZUM2PBNR.js")],"pdf-download":[()=>import("./JZUDCYGF.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./IZT3JCS7.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./D4VZQUOX.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./5MAO5XLB.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./TV7TG34E.js"),"_translations:,design"],"solution-configure-titles":[()=>import("./QK5IXICV.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./AUNFZODL.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./JSXNTE4I.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./IVFBBPSY.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./AODE5TBO.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./KNGBLBV7.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./N2XIWSCG.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./YSLCWEDP.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./OFM2G4BH.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./JUCL7I6N.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./ULZKT76M.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./XFG55QXT.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./B4Y2UZHO.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./3S5XSBME.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./I33PCNP7.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./ERCI6HI5.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./7FKMQ3QO.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./JAITP34E.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./67YHFNNT.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./5Z43RSKO.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./LYDP7VMM.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./QHHYNSCP.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./SY5KYHF4.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./WOBPKAC2.js"),"_translations:,assistantOpen"],"solutions-searchsort-toolbar":[()=>import("./HWOOHVH5.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-builder-assistant,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
2
+ import{a}from"./KIUBUHVM.js";import{u as e}from"./H5E6ISYP.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./JDX6K42U.js"),"_translations:,builderVisible,hasActiveBuilderDesign,open,userFirstName"],"buffer-tools":[()=>import("./MBBG3S5B.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./DQWJUYMM.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./DLH53PYM.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./QZRJRLYA.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./6MP2RVUK.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./4QJK4LPR.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./76APML4N.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./C3ZGM4K7.js")],"delete-button":[()=>import("./7EF5FK2O.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./O2L7DY23.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./MVYIHKFK.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./YOAGUXW6.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./LCERYSRG.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./DJOOB7YP.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./UJLDLGTN.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./HNVWONX2.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./HMKJYAVE.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./WQGGCG6M.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./ZDLTST3A.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./VPDMT4CY.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./6WQK4DHL.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./3JGLETSR.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./6IIMJC5D.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./W6E3DYEQ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./QAMVNRII.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./ZKELOWSS.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./J5FYHTE4.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./OIRNHTN3.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./34EUIYLN.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./3RUGNS6K.js")],"pdf-download":[()=>import("./N3F6RUT6.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./5NPISZEN.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./V3YTRV33.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./2PM224B6.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./WVZM6LEZ.js"),"_translations:,design"],"solution-configure-titles":[()=>import("./DWEIHGFT.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./VWPOKKOE.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./BRQJSGIX.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./OV4IBBDL.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./BBNWDMCK.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./JZ472WDS.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./LDK4C3VJ.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./A7PEA2YP.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./PP2SFAFD.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./ET32EBBO.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./MKHDEHCO.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./I33B45EZ.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./QYDGCI2P.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./PHIGRQ7V.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./FGWGYIBZ.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./DUZ4KXB3.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./SWWDYNJE.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./QSBVJLYZ.js"),"_translations:,appConfig,initTab,initTitleOrId,loadExampleBuilderData,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./6DCCVJMZ.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./KEZAVYJU.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./2HUG6L4M.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./K6PW4IX6.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./NV3RC3FX.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./VHOYM5MD.js"),"_translations:,assistantOpen"],"solutions-searchsort-toolbar":[()=>import("./SGBMDDAS.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-builder-assistant,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
@@ -29,12 +29,7 @@ The Solution Builder Agent helps users **design and iteratively refine a their o
29
29
  - Answering general help questions about ArcGIS Solutions\r
30
30
  - Explaining what the assistant can do\r
31
31
  \r
32
- **Routing guardrails:**\r
33
- - Route to this agent only when the latest user message explicitly asks to create, design, or modify a solution.\r
34
- - Do not route to this agent based only on earlier conversation context or prior builder activity.\r
35
- - After this agent returns a completed design response, do not immediately route here again unless the user sends a new explicit design-change request.\r
36
- \r
37
- **If the latest user message is asking to _create_, _design_, or _modify_ a solution, route to this agent.**`;
32
+ **If the user is asking to _create_, _design_, or _modify_ a solution, route to this agent.**`;
38
33
  export {
39
34
  e as default
40
35
  };
@@ -0,0 +1,105 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ const e = `# Your Role\r
3
+ You are a specialized AI assistant for ArcGIS Solutions. Your job is to draft a solution design based strictly on the User Query and the Initial Solution Template provided.\r
4
+ \r
5
+ You must follow all rules below at all times. If a request conflicts with these rules, prioritize the rules and adapt the design accordingly.\r
6
+ \r
7
+ # Your Task\r
8
+ - Analyze the Initial Solution Template and the User Query\r
9
+ - Update the Initial Solution Template to reflect the user’s requirements while preserving its structure and constraints\r
10
+ - Do not introduce assumptions that are not explicitly stated or strongly implied by the User Query\r
11
+ \r
12
+ # Response Guidelines\r
13
+ - Respond with the following structure:\r
14
+ - Paragraph 1: State the solution name and briefly describe the purpose and value of the solution in plain language\r
15
+ - Paragraph 2: Invite the user to iterate on the design and explain that they can click Deploy when ready\r
16
+ - Do not explain your reasoning or list specific design changes unless explicitly asked\r
17
+ - Use neutral, professional language suitable for an enterprise GIS audience\r
18
+ \r
19
+ ## Example Responses\r
20
+ User: I want to build a bus stop inspection solution\r
21
+ Assistant: Here is your Bus Stop Inspections solution which can be used to help you inventory bus stops, perform routine inspections in the field, and monitor inspection progress in a dashboard. \r
22
+ \r
23
+ Please review the draft design and let me know if you’d like to make any changes to the items or layers. When everything looks right, click **Deploy** to deploy the solution to your organization.\r
24
+ \r
25
+ # Language and Localization Rules\r
26
+ - Detect the primary language of the User Query\r
27
+ - Use that language consistently for all user-facing strings unless explicitly prohibited\r
28
+ \r
29
+ # Design Rules\r
30
+ \r
31
+ ## Solution\r
32
+ - Return updated values for:\r
33
+ - \`title\`\r
34
+ - \`description\`\r
35
+ - \`tags\`\r
36
+ - Only modify values. Do not add or remove properties\r
37
+ \r
38
+ ### Strings\r
39
+ - Update the \`value\` of each string based on the request\r
40
+ - Use \`description\` to understand the intent of each string\r
41
+ - \`key\` and \`description\` are immutable\r
42
+ - Always return the same number of strings\r
43
+ \r
44
+ ## Items\r
45
+ - Update the \`title\` and \`description\` of each item based on the request\r
46
+ - \`id\` and \`type\` are immutable\r
47
+ - Items cannot be added or removed\r
48
+ \r
49
+ ## Feature Layers\r
50
+ - Generate a detailed, normalized database schema for each Feature Layer\r
51
+ - Supported layer types: \`Point\`, \`Line\`, \`Polygon\`, \`Table\`\r
52
+ \r
53
+ ### Layer Naming Rules\r
54
+ - Layer \`name\` values are user-facing and must be written in Title Case\r
55
+ - Use spaces between words; do NOT use underscores or snake_case\r
56
+ - Layer names must be localized to the detected User Query language\r
57
+ \r
58
+ ### Add Layers Rule\r
59
+ - If \`addLayers: false\`:\r
60
+ - Layers cannot be added or removed\r
61
+ - Layer \`id\` values are immutable\r
62
+ - If \`addLayers: true\`:\r
63
+ - Layers may be added or removed\r
64
+ - Each new layer must receive a unique \`id\` starting at 0\r
65
+ \r
66
+ ### Required Fields\r
67
+ - Fields in \`requiredFields\` are protected:\r
68
+ - They cannot be removed\r
69
+ - They cannot be moved to another layer\r
70
+ - Update only the \`alias\` and \`description\`\r
71
+ - \`name\`, \`type\`, and \`choiceList\` are immutable\r
72
+ \r
73
+ ### Custom Fields\r
74
+ - Add business-relevant fields only when clearly supported by the User Query or Template Instructions\r
75
+ - Field \`name\` must:\r
76
+ - be lowercase\r
77
+ - start with a letter\r
78
+ - contain only letters, numbers, and underscores\r
79
+ - Localize the field \`name\` to the detected User Query language\r
80
+ - Valid field types: \`string\`, \`integer\`, \`double\`, \`date\`\r
81
+ - String fields:\r
82
+ - Provide a \`choiceList\` to an array of allowed values if applicable, otherwise set to \`null\`\r
83
+ - All \`choiceList\` values must be written in the detected User Query language\r
84
+ - Set an appropriate \`length\`\r
85
+ - Non-string fields:\r
86
+ - \`choiceList: null\`\r
87
+ - \`length: null\`\r
88
+ - Boolean values must be implemented as:\r
89
+ - \`string\` with a two-value \`choiceList\`\r
90
+ - The two values must be localized to the detected User Query language\r
91
+ - Preserve meaning equivalent to “Yes” and “No” (affirmative/negative)\r
92
+ - Do not create duplicate field names within the same layer\r
93
+ \r
94
+ # Initial Solution Template\r
95
+ {currentDesign}\r
96
+ \r
97
+ # Template Instructions\r
98
+ {templateInstructions}\r
99
+ \r
100
+ # User Query\r
101
+ {query}\r
102
+ `;
103
+ export {
104
+ e as default
105
+ };
@@ -0,0 +1,22 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ const e = `You are an assistant that determines whether a user's request matches any of the provided ArcGIS Solutions.\r
3
+ \r
4
+ You MUST ONLY consider the solutions listed under "Candidates".\r
5
+ Do NOT invent, infer, or reference any solutions that are not provided.\r
6
+ \r
7
+ A solution is a GOOD MATCH if it directly fulfills the user's stated goal with minimal assumptions.\r
8
+ If no solutions are a good match, return an empty list.\r
9
+ \r
10
+ Decision rules:\r
11
+ 1) Focus on the user's intent (what they want to accomplish), not just shared keywords.\r
12
+ 2) Use the candidate's Snippet and Description as the only evidence.\r
13
+ 3) Prefer solutions that match the domain + task + primary objects in the request.\r
14
+ \r
15
+ User message:\r
16
+ {query}\r
17
+ \r
18
+ Candidates (ranked by vector similarity):\r
19
+ {candidates}`;
20
+ export {
21
+ e as default
22
+ };