@esri/solutions-components 5.1.0-next.27 → 5.1.0-next.29

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 (188) hide show
  1. package/dist/cdn/{OC2DD3AB.js → 2A2QZOUU.js} +1 -1
  2. package/dist/cdn/{N7OY2PSZ.js → 2P2JRBNM.js} +1 -1
  3. package/dist/cdn/{4DFGN2VE.js → 2TDD4AWX.js} +1 -1
  4. package/dist/cdn/3GCRHDDW.js +12 -0
  5. package/dist/cdn/{7DHQVMKX.js → 3KSR7IOU.js} +1 -1
  6. package/dist/cdn/{S423P2GA.js → 3YQ3LN5J.js} +1 -1
  7. package/dist/cdn/4ALX6WAT.js +67 -0
  8. package/dist/cdn/{V5PIAPEA.js → 4ANWYTKX.js} +1 -1
  9. package/dist/cdn/{GJFVHF5H.js → 4YJEQSFO.js} +1 -1
  10. package/dist/cdn/{U4MNIZYO.js → 52CBI24T.js} +1 -1
  11. package/dist/cdn/{6G7RA3PN.js → 5BAV55JO.js} +1 -1
  12. package/dist/cdn/{6UXP2Q63.js → 5V7A6E22.js} +1 -1
  13. package/dist/cdn/{QMD2WK5F.js → 6KOKLS2W.js} +1 -1
  14. package/dist/cdn/{FXHBHZKG.js → 6LRELQFJ.js} +1 -1
  15. package/dist/cdn/{K5JYHCQ7.js → 6O7SXEOR.js} +1 -1
  16. package/dist/cdn/{TP5EQUBD.js → 6SBFYKDO.js} +1 -1
  17. package/dist/cdn/{MFJF6OXL.js → 7ATJP4H7.js} +1 -1
  18. package/dist/cdn/{FFDZB5TW.js → 7WMPOI2D.js} +1 -1
  19. package/dist/cdn/{ZCGIQK3H.js → A3MPUIYQ.js} +1 -1
  20. package/dist/cdn/{ASTBVDA3.js → A75LOABR.js} +1 -1
  21. package/dist/cdn/{F7DLM4RF.js → AGK4AXFX.js} +1 -1
  22. package/dist/cdn/{57DOBXD6.js → AM2DV5FK.js} +1 -1
  23. package/dist/cdn/{EDVUYJ5Q.js → AQX4LQLD.js} +1 -1
  24. package/dist/cdn/{R3KUBISH.js → BDENYZEG.js} +1 -1
  25. package/dist/cdn/{4NALIU6Y.js → BFC3V3IE.js} +1 -1
  26. package/dist/cdn/{MWVSVTGT.js → BGT55URG.js} +1 -1
  27. package/dist/cdn/{NZS3YVIT.js → BQ5WKU6S.js} +1 -1
  28. package/dist/cdn/{2B6VLP3A.js → BUN734I7.js} +1 -1
  29. package/dist/cdn/C22EGSM6.js +2 -0
  30. package/dist/cdn/{K7XOFXRK.js → CDV7UUL5.js} +1 -1
  31. package/dist/cdn/{GTYMKTZ5.js → CK3SL2CS.js} +1 -1
  32. package/dist/cdn/{DJFFGBHM.js → CLSXOECQ.js} +1 -1
  33. package/dist/cdn/{T2WSMUVL.js → CS4IGHMC.js} +1 -1
  34. package/dist/cdn/{JCDM3IJE.js → CUY7MQY5.js} +1 -1
  35. package/dist/cdn/{EBU4JF4W.js → CY4C4VZP.js} +1 -1
  36. package/dist/cdn/{PUCQJ7PY.js → DBNF3MJK.js} +1 -1
  37. package/dist/cdn/{DLBZRD4H.js → DPD6UBKD.js} +1 -1
  38. package/dist/cdn/{QQSP7HQH.js → DQ5R2B4O.js} +1 -1
  39. package/dist/cdn/DXDMHIVX.js +354 -0
  40. package/dist/cdn/DZUNDKKH.js +2 -0
  41. package/dist/cdn/{ZDQANIMG.js → E4UKEVGP.js} +1 -1
  42. package/dist/cdn/{P65BBQ5T.js → E5VUML6C.js} +1 -1
  43. package/dist/cdn/{P4FX4W2X.js → E6WWQDDM.js} +1 -1
  44. package/dist/cdn/{D4QQZVLI.js → EJAZTI6O.js} +1 -1
  45. package/dist/cdn/EKVDYGK2.js +2 -0
  46. package/dist/cdn/EPQ6J23O.js +7 -0
  47. package/dist/cdn/{IMPGTDMV.js → EQURPCQ2.js} +1 -1
  48. package/dist/cdn/{QRF52VT2.js → ES2A5CVY.js} +1 -1
  49. package/dist/cdn/{RNTJMF4O.js → ESCJK6LO.js} +1 -1
  50. package/dist/cdn/{P4KZ6OZF.js → F2JKSZOE.js} +1 -1
  51. package/dist/cdn/F2YGRNTN.js +2 -0
  52. package/dist/cdn/{UF67SSGX.js → FEMACR5Y.js} +1 -1
  53. package/dist/cdn/{XC7LLCVS.js → FG6ODB3X.js} +1 -1
  54. package/dist/cdn/{NDUAEC62.js → FLLZBDVI.js} +1 -1
  55. package/dist/cdn/{N2KU5PYY.js → FLQFNPOP.js} +1 -1
  56. package/dist/cdn/{SENL26AU.js → FOFNYI3V.js} +1 -1
  57. package/dist/cdn/{UY2AFOXQ.js → FRE445LD.js} +1 -1
  58. package/dist/cdn/{UQ3MLIHV.js → FXMBXQQ6.js} +1 -1
  59. package/dist/cdn/{RTG3SBDS.js → G4FOQX6X.js} +1 -1
  60. package/dist/cdn/{PJH3H7LZ.js → G5YR3YZQ.js} +1 -1
  61. package/dist/cdn/{OMURSGFL.js → GAACGZBE.js} +1 -1
  62. package/dist/cdn/{VDEFBT2N.js → GFW4PBUK.js} +1 -1
  63. package/dist/cdn/{I5PBBAVM.js → GJ6WYTEI.js} +1 -1
  64. package/dist/cdn/{QNNQGJS4.js → GLRPUU2V.js} +1 -1
  65. package/dist/cdn/{IKN5RLJ4.js → GNVWXRLD.js} +1 -1
  66. package/dist/cdn/{GTD4LCLX.js → GSD2HOIM.js} +1 -1
  67. package/dist/cdn/{NGCFEPQE.js → GSF5ZZMH.js} +2 -2
  68. package/dist/cdn/GV3BOKA2.js +40 -0
  69. package/dist/cdn/HAET3BAD.js +2 -0
  70. package/dist/cdn/{HGEF25RL.js → HMAS7ECI.js} +1 -1
  71. package/dist/cdn/HOVTBV7I.js +2 -0
  72. package/dist/cdn/{USM62FP5.js → HXRAPCP2.js} +3 -3
  73. package/dist/cdn/INWDOVSJ.js +2 -0
  74. package/dist/cdn/IR6AJOBB.js +2 -0
  75. package/dist/cdn/{AKDP6MCB.js → IUFEMLQM.js} +1 -1
  76. package/dist/cdn/{KRFYU445.js → IXXKN5ZI.js} +1 -1
  77. package/dist/cdn/{2H7KJUZG.js → J5J64URI.js} +1 -1
  78. package/dist/cdn/{AA7X6GKH.js → JA3R6YUV.js} +1 -1
  79. package/dist/cdn/{LDHJGX5G.js → JEQXVAQH.js} +1 -1
  80. package/dist/cdn/{EC6NYTSJ.js → JMDRBVRT.js} +1 -1
  81. package/dist/cdn/{36HEIJAI.js → JNRZGJ5J.js} +1 -1
  82. package/dist/cdn/{ATVUAP2X.js → JTAEOL7D.js} +1 -1
  83. package/dist/cdn/{NYUVCFEV.js → JULHW7T3.js} +1 -1
  84. package/dist/cdn/{N2ROUAUM.js → JXSSMPRV.js} +1 -1
  85. package/dist/cdn/JZHP22BA.js +2 -0
  86. package/dist/cdn/{JK75TUSP.js → K2OB67JG.js} +1 -1
  87. package/dist/cdn/K6H5LUII.js +2 -0
  88. package/dist/cdn/KN36REDP.js +2 -0
  89. package/dist/cdn/{NDGFJPG7.js → L3K3F72T.js} +1 -1
  90. package/dist/cdn/{OMIISLTG.js → L5QICWBS.js} +1 -1
  91. package/dist/cdn/{JYLXH6OM.js → L6QPBIO3.js} +1 -1
  92. package/dist/cdn/{LCWLPXAF.js → LACS4WAI.js} +1 -1
  93. package/dist/cdn/{SXD7ZWLW.js → LDO52PG7.js} +1 -1
  94. package/dist/cdn/{NLTK53B2.js → LVQAS4DN.js} +1 -1
  95. package/dist/cdn/{4GZBBPZQ.js → M7GCQN63.js} +1 -1
  96. package/dist/cdn/{GN6MDWLZ.js → MDFVVTRI.js} +1 -1
  97. package/dist/cdn/{DUMMIXPH.js → MLHG5N53.js} +1 -1
  98. package/dist/cdn/{XYFIAJPT.js → MMQLDIE7.js} +1 -1
  99. package/dist/cdn/{RF7NG5JX.js → NC7PVSBB.js} +1 -1
  100. package/dist/cdn/NFRTFOHF.js +2 -0
  101. package/dist/cdn/{POE2XE6Y.js → NIFRYAFS.js} +1 -1
  102. package/dist/cdn/NNOZ6KRO.js +21 -0
  103. package/dist/cdn/{ACF2RXCB.js → NUYS5PGC.js} +1 -1
  104. package/dist/cdn/{ULCILXSA.js → ODZNJZG5.js} +1 -1
  105. package/dist/cdn/{FRWN4Q5V.js → OFAJCXB4.js} +1 -1
  106. package/dist/cdn/{JLYGSQEC.js → OUHPCCIT.js} +1 -1
  107. package/dist/cdn/{LPNQJBCN.js → PWAT4NDG.js} +1 -1
  108. package/dist/cdn/{XVRRQMOP.js → Q2IHGYKB.js} +1 -1
  109. package/dist/cdn/{XTUL7OCR.js → QKETH7B7.js} +1 -1
  110. package/dist/cdn/{LD2NUKM3.js → QXGDMWPW.js} +1 -1
  111. package/dist/cdn/RBVTHO3G.js +2 -0
  112. package/dist/cdn/{57JYZYF5.js → RP36BC5U.js} +1 -1
  113. package/dist/cdn/{BEGKM3ZM.js → RQ2LHC5I.js} +1 -1
  114. package/dist/cdn/{J33ST6ZG.js → RVKS24LF.js} +1 -1
  115. package/dist/cdn/{3AQ7U2PF.js → SDJWXDEO.js} +1 -1
  116. package/dist/cdn/{VRE7NUZ2.js → SEKKCZV5.js} +1 -1
  117. package/dist/cdn/{7YIQXDUF.js → THSRTNBE.js} +1 -1
  118. package/dist/cdn/{SZRONHSX.js → TLJX3G56.js} +1 -1
  119. package/dist/cdn/{NWTG35WX.js → TOU5OHUQ.js} +1 -1
  120. package/dist/cdn/{NNCQFR7K.js → UCQAWNYS.js} +1 -1
  121. package/dist/cdn/{5KD4GK7Y.js → UEJPBHBF.js} +1 -1
  122. package/dist/cdn/{RTPXDRZ7.js → UNA43DT6.js} +1 -1
  123. package/dist/cdn/{27G6RESZ.js → UQ575IJB.js} +1 -1
  124. package/dist/cdn/{YMOLIY64.js → UV7PVDIQ.js} +1 -1
  125. package/dist/cdn/{DZLVEIWW.js → VLY57LH7.js} +1 -1
  126. package/dist/cdn/{G5MDCRT6.js → VYZIBDWY.js} +1 -1
  127. package/dist/cdn/{DIDOZ4J6.js → WH2NFOMH.js} +5 -5
  128. package/dist/cdn/{DQ4POWIJ.js → WQTF5JT3.js} +1 -1
  129. package/dist/cdn/WUVRAE6I.js +2 -0
  130. package/dist/cdn/{7ZMHT4SH.js → WYEVMPYJ.js} +1 -1
  131. package/dist/cdn/X7AHXETC.js +2 -0
  132. package/dist/cdn/{5PUFVAJH.js → XAMESELG.js} +1 -1
  133. package/dist/cdn/XEC2PGQN.js +2 -0
  134. package/dist/cdn/XSNGR44R.js +2 -0
  135. package/dist/cdn/YEVXOYLE.js +2 -0
  136. package/dist/cdn/YMM72TGB.js +2 -0
  137. package/dist/cdn/{E57JPXDR.js → YXIY7D32.js} +1 -1
  138. package/dist/cdn/Z2IT4SME.js +2 -0
  139. package/dist/cdn/{FZ7WJ3YG.js → Z576IK7H.js} +1 -1
  140. package/dist/cdn/{QI5LXFA7.js → ZBRNLRN2.js} +1 -1
  141. package/dist/cdn/{CWEEG5MA.js → ZJZBSHOM.js} +1 -1
  142. package/dist/cdn/{NM3YBQUM.js → ZLMQHBVI.js} +1 -1
  143. package/dist/cdn/{SIUUQBL4.js → ZLNJRKMA.js} +1 -1
  144. package/dist/cdn/index.js +1 -1
  145. package/dist/chunks/_commonjsHelpers.js +7 -0
  146. package/dist/chunks/explorer-prompts.js +43 -0
  147. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  148. package/dist/chunks/solutions_assistant_description.js +15 -0
  149. package/dist/chunks/solutions_assistant_prompts.js +70 -0
  150. package/dist/chunks/solutions_explorer_description.js +24 -0
  151. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -80
  152. package/dist/components/arcgis-solutions-assistant/customElement.js +49063 -1511
  153. package/dist/components/arcgis-solutions-assistant/index.js +3 -6
  154. package/dist/components/consent-manager/customElement.js +154 -156
  155. package/dist/components/create-feature/customElement.js +1 -1
  156. package/dist/components/solution-details-panel/customElement.js +1 -1
  157. package/dist/docs/api.json +1 -1
  158. package/dist/docs/docs.json +1 -1
  159. package/dist/docs/vscode.html-custom-data.json +1 -1
  160. package/dist/docs/web-types.json +1 -1
  161. package/dist/loader.js +1 -1
  162. package/dist/solutions-components_commit.txt +8 -5
  163. package/dist/types/lumina.d.ts +1 -1
  164. package/dist/types/preact.d.ts +1 -1
  165. package/dist/types/react.d.ts +1 -1
  166. package/dist/types/stencil.d.ts +1 -1
  167. package/package.json +2 -1
  168. package/dist/cdn/45ZS4SG7.js +0 -2
  169. package/dist/cdn/7J2VRW7S.js +0 -2
  170. package/dist/cdn/ALB3HUJ2.js +0 -2
  171. package/dist/cdn/BPSXSDMN.js +0 -2
  172. package/dist/cdn/DIKAKOU5.js +0 -2
  173. package/dist/cdn/EGFXSDFS.js +0 -2
  174. package/dist/cdn/EIVJQY2S.js +0 -2
  175. package/dist/cdn/HBPD3T7H.js +0 -2
  176. package/dist/cdn/ITULTY6G.js +0 -2
  177. package/dist/cdn/KWCJDOZU.js +0 -2
  178. package/dist/cdn/QZ3GHISD.js +0 -2
  179. package/dist/cdn/STEJOS7Q.js +0 -2
  180. package/dist/cdn/TRJ6EQRD.js +0 -2
  181. package/dist/cdn/U3LEZXNT.js +0 -2
  182. package/dist/cdn/UYYMXFYQ.js +0 -2
  183. package/dist/cdn/V3S3BZEP.js +0 -2
  184. package/dist/cdn/VLZNUN6G.js +0 -174
  185. package/dist/cdn/WMPUJYLT.js +0 -2
  186. package/dist/cdn/XBR2PGVO.js +0 -7
  187. package/dist/cdn/XCILPMDZ.js +0 -2
  188. package/dist/cdn/XTDFTH5X.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as m}from"./NM3YBQUM.js";import{b as d}from"./EGFXSDFS.js";import"./DIKAKOU5.js";import"./S423P2GA.js";import{F as g,G as h,H as u,J as t,h as p,i,l as e}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([b,o,f])=>{var I=p`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var( --instant-apps-landing-page-entry-button-color );--calcite-color-brand-press: var( --instant-apps-landing-page-entry-button-color );min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width:767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},r=class extends u{constructor(){super(...arguments),this._messages=m({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=g(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){this.portal==null||this.oauthappid==null||(this.info=new f({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),o.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await b.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user)))}async signIn(){this.setSignInLocalStorage(),await o.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),o.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await o.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(a.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",s=this.showIndicator?a.indicator:"",c=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(s)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${c??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(s)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${c??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${h(this.signInPopover)}><div class=${t(a.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(l=>i`<calcite-action scale=s @click=${_=>{l.onClick(_),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${l.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",s=this.type==="navigation"?a.SignInBtn:"";return i`<calcite-button class=${t(s)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(a.buttonContainer)}><calcite-button class=${t(a.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(a.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",r);return r},"core/reactiveUtils","identity/IdentityManager","identity/OAuthInfo")
2
+ import{a as m}from"./ZLMQHBVI.js";import{b as d}from"./C22EGSM6.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import{E as g,F as h,G as u,I as t,h as p,i,l as e}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([b,o,f])=>{var I=p`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var( --instant-apps-landing-page-entry-button-color );--calcite-color-brand-press: var( --instant-apps-landing-page-entry-button-color );min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width:767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},r=class extends u{constructor(){super(...arguments),this._messages=m({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=g(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){this.portal==null||this.oauthappid==null||(this.info=new f({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),o.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await b.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user)))}async signIn(){this.setSignInLocalStorage(),await o.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),o.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await o.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(a.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",s=this.showIndicator?a.indicator:"",c=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(s)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${c??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(s)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${c??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${h(this.signInPopover)}><div class=${t(a.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(l=>i`<calcite-action scale=s @click=${_=>{l.onClick(_),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${l.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",s=this.type==="navigation"?a.SignInBtn:"";return i`<calcite-button class=${t(s)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(a.buttonContainer)}><calcite-button class=${t(a.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(a.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",r);return r},"core/reactiveUtils","identity/IdentityManager","identity/OAuthInfo")
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"./NDUAEC62.js";import{v as e}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./VLZNUN6G.js"),"_translations:,open,serverRoot,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./JLYGSQEC.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./57JYZYF5.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./XBR2PGVO.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./NGCFEPQE.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("./KWCJDOZU.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./RF7NG5JX.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("./NYUVCFEV.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("./JYLXH6OM.js")],"delete-button":[()=>import("./XVRRQMOP.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./UF67SSGX.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./UY2AFOXQ.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./JCDM3IJE.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./GTD4LCLX.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./QRF52VT2.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./HGEF25RL.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./NWTG35WX.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./BEGKM3ZM.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./GTYMKTZ5.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("./DQ4POWIJ.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./FRWN4Q5V.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("./QI5LXFA7.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./AKDP6MCB.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./LPNQJBCN.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./PJH3H7LZ.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("./XYFIAJPT.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./N2KU5PYY.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./RTPXDRZ7.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./T2WSMUVL.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("./JK75TUSP.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("./7YIQXDUF.js")],"pdf-download":[()=>import("./RNTJMF4O.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./NDGFJPG7.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("./V3S3BZEP.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ULCILXSA.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./CWEEG5MA.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./U4MNIZYO.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./STEJOS7Q.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./GJFVHF5H.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./4GZBBPZQ.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./UYYMXFYQ.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./P65BBQ5T.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./BPSXSDMN.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./45ZS4SG7.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./F7DLM4RF.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./J33ST6ZG.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./RTG3SBDS.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./EBU4JF4W.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./2B6VLP3A.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("./V5PIAPEA.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./EC6NYTSJ.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./I5PBBAVM.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./EIVJQY2S.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./OMIISLTG.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./QNNQGJS4.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./4DFGN2VE.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./ITULTY6G.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./GN6MDWLZ.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./EDVUYJ5Q.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./PUCQJ7PY.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-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"./FLLZBDVI.js";import{u as e}from"./F2JKSZOE.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./DXDMHIVX.js"),"_translations:,open,userFirstName"],"buffer-tools":[()=>import("./OUHPCCIT.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./RP36BC5U.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./EPQ6J23O.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./GSF5ZZMH.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("./Z2IT4SME.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./NC7PVSBB.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("./JULHW7T3.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("./L6QPBIO3.js")],"delete-button":[()=>import("./Q2IHGYKB.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./FEMACR5Y.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./FRE445LD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./CUY7MQY5.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./GSD2HOIM.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./ES2A5CVY.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./HMAS7ECI.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./TOU5OHUQ.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./RQ2LHC5I.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./CK3SL2CS.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("./WQTF5JT3.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./OFAJCXB4.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("./ZBRNLRN2.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./IUFEMLQM.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./PWAT4NDG.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./G5YR3YZQ.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("./MMQLDIE7.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./FLQFNPOP.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./UNA43DT6.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./CS4IGHMC.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("./K2OB67JG.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("./THSRTNBE.js")],"pdf-download":[()=>import("./ESCJK6LO.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./L3K3F72T.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("./F2YGRNTN.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ODZNJZG5.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./ZJZBSHOM.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./52CBI24T.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./L5QICWBS.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./4YJEQSFO.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./M7GCQN63.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./XSNGR44R.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./E5VUML6C.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./YEVXOYLE.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./NFRTFOHF.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./AGK4AXFX.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./RVKS24LF.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./G4FOQX6X.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./2TDD4AWX.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./BUN734I7.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("./4ANWYTKX.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./JMDRBVRT.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./GJ6WYTEI.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./DZUNDKKH.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./RBVTHO3G.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./GLRPUU2V.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./CY4C4VZP.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./IR6AJOBB.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./MDFVVTRI.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./AQX4LQLD.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./DBNF3MJK.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-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)
@@ -0,0 +1,7 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ function e(t) {
3
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
4
+ }
5
+ export {
6
+ e as g
7
+ };
@@ -0,0 +1,43 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ const n = `# ArcGIS Solutions Builder\r
3
+ \r
4
+ You are an ArcGIS Solutions Builder assistant.\r
5
+ \r
6
+ ## You are given:\r
7
+ \r
8
+ \r
9
+ ## Your task\r
10
+ \r
11
+ Recognize if user mentions one of the known templates:\r
12
+ \r
13
+ field inspections\r
14
+ spatial data management\r
15
+ points of interest (POI)\r
16
+ If yes, ask a follow-up question with explicit options and detail capture.\r
17
+ \r
18
+ Output structured JSON payload representing:\r
19
+ \r
20
+ intent\r
21
+ chosen template\r
22
+ inspection target\r
23
+ specific inspect-for details\r
24
+ next actions\r
25
+ \r
26
+ detect template intent and run a human-in-the-loop selection flow.\r
27
+ Output must be valid JSON with keys: intent, template, inspectDetails, nextAction.\r
28
+ If uncertain, respond with intent="clarify_request" and include questions.\r
29
+ \r
30
+ User prompt dynamic\r
31
+ \r
32
+ User query: "{user_text}"\r
33
+ \r
34
+ Known templates:\r
35
+ 1. field inspections\r
36
+ 2. spatial data management\r
37
+ 3. points of interest\r
38
+ \r
39
+ Do not use natural language prose response.\r
40
+ Always return exactly one JSON object.`;
41
+ export {
42
+ n as default
43
+ };
@@ -299,7 +299,7 @@ class x extends y {
299
299
  return o`<div><calcite-navigation>${this._getHeading()}${this._isMobile ? this._getDropdown() : this._getMenu()}${this._isMobile ? "" : this._getSignInOut()}</calcite-navigation><div class="border" slot=header></div>${!this._isMobile && this._getSubHeading() || ""}</div>`;
300
300
  }
301
301
  updated(e) {
302
- e.has("_isMobile") && e.get("_isMobile") !== void 0 && this.activateMenuItem(this._activeTab, !0);
302
+ e.has("_isMobile") && e.get("_isMobile") !== void 0 && this.activateMenuItem(this._activeTab, !1);
303
303
  }
304
304
  _getSignInOut() {
305
305
  return this._authentication?.IsSignedIn ? o`<div slot=user>${this._getUserAvatar()}</div>` : o`<calcite-menu label slot=content-end><calcite-menu-item label @click=${this._handleSignIn} @keydown=${(e) => c(e, () => this._handleSignIn(e))} .text=${this._translations.signIn}></calcite-menu-item></calcite-menu>`;
@@ -0,0 +1,15 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ const t = `- **assistant** — Answers general questions about the ArcGIS Solutions Assistant and its capabilities.\r
3
+ \r
4
+ Use this agent when the user asks:\r
5
+ - "Who are you?" / "What is this?"\r
6
+ - "What can you do?" / "What can I ask?"\r
7
+ - "How does this work?"\r
8
+ - Questions that don't fit other specialized agents\r
9
+ \r
10
+ _Example: "What can you help me with?"_\r
11
+ _Example: "Tell me about the Solutions Assistant"_\r
12
+ _Example: "What agents are available?"_`;
13
+ export {
14
+ t as default
15
+ };
@@ -0,0 +1,70 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ const n = `# ArcGIS Solutions Assistant\r
3
+ \r
4
+ You are the **ArcGIS Solutions Assistant** - a helpful guide for users working with ArcGIS Solutions.\r
5
+ \r
6
+ ## Your Identity\r
7
+ \r
8
+ You are the front desk assistant for the ArcGIS Solutions platform. Your role is to:\r
9
+ - Introduce yourself and explain what you can help with\r
10
+ - Answer questions about the Solutions Assistant's capabilities\r
11
+ - Route users to the appropriate specialized agents when needed\r
12
+ - Handle questions that don't fit other agents' domains\r
13
+ \r
14
+ ## Available Specialized Agents\r
15
+ \r
16
+ The Solutions Assistant has specialized agents to help with specific tasks:\r
17
+ \r
18
+ 1. **Explorer Agent** - Helps users discover and explore ArcGIS Solutions\r
19
+ - Searches solution documentation\r
20
+ - Answers questions about what solutions are available\r
21
+ - Provides information about solution capabilities and use cases\r
22
+ - Example: "What solutions can help me with emergency management?"\r
23
+ \r
24
+ 2. **Builder Agent** (Coming soon) - Helps users build and deploy ArcGIS Solutions\r
25
+ - Guides through solution templates\r
26
+ - Assists with solution configuration and deployment\r
27
+ - Example: "Help me set up a field inspection solution"\r
28
+ \r
29
+ ## When to Handle Questions Yourself\r
30
+ \r
31
+ You should directly answer questions like:\r
32
+ - "Who are you?" or "What is this?"\r
33
+ - "What can you do?" or "What can I ask?"\r
34
+ - "How does the Solutions Assistant work?"\r
35
+ - Questions not supported by other agents\r
36
+ - General inquiries about ArcGIS Solutions at a high level\r
37
+ \r
38
+ ## When to Redirect\r
39
+ \r
40
+ For specific questions about:\r
41
+ - Finding or learning about specific solutions → Tell them about the **Explorer Agent**\r
42
+ - Building or deploying solutions → Tell them about the **Builder Agent**\r
43
+ \r
44
+ ## Response Guidelines\r
45
+ \r
46
+ - Be friendly, concise, and helpful\r
47
+ - Use bullet points for lists\r
48
+ - When explaining capabilities, mention the specialized agents by name\r
49
+ - If a question is unclear, ask for clarification\r
50
+ - Keep responses focused and actionable\r
51
+ \r
52
+ ## Example Responses\r
53
+ \r
54
+ **User: "Who are you?"**\r
55
+ Response: "I'm the **ArcGIS Solutions Assistant**! I help you work with ArcGIS Solutions. I have specialized agents to help you:\r
56
+ - **Explore** solutions and find the right one for your needs\r
57
+ - **Build** and deploy solutions (coming soon)\r
58
+ \r
59
+ How can I help you today?"\r
60
+ \r
61
+ **User: "What can you help me with?"**\r
62
+ Response: "I can help you:\r
63
+ - Discover ArcGIS Solutions for your specific needs (via the Explorer Agent)\r
64
+ - Learn about solution capabilities and features\r
65
+ - Get guidance on building solutions (coming soon via the Builder Agent)\r
66
+ \r
67
+ What would you like to know about ArcGIS Solutions?"`;
68
+ export {
69
+ n as default
70
+ };
@@ -0,0 +1,24 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ const e = `- **explorer** — Helps users discover and explore ArcGIS Solutions using official documentation.\r
3
+ \r
4
+ This agent can:\r
5
+ - Recommend existing solutions based on user needs\r
6
+ - Answer general questions about ArcGIS Solutions\r
7
+ - Provide specific guidance on how to use and configure solutions\r
8
+ - Search and retrieve information from ArcGIS Solutions documentation\r
9
+ \r
10
+ The explorer agent leverages the ArcGIS Documentation assistant with the Solutions persona through the doc-ai-assistant skill framework.\r
11
+ \r
12
+ Use this agent when the user asks:\r
13
+ - "What solutions can help me with emergency management?"\r
14
+ - "How do I configure the Crowdsource Manager solution?"\r
15
+ - "Show me solutions for public engagement"\r
16
+ - "Tell me about the Parcel Drafter solution"\r
17
+ - Questions about solution capabilities, features, or deployment\r
18
+ \r
19
+ _Example: "What solutions are available for field data collection?"_\r
20
+ _Example: "How do I set up a solution for tracking infrastructure?"_\r
21
+ _Example: "What can the Election Polling Places solution do?"_`;
22
+ export {
23
+ e as default
24
+ };
@@ -72,94 +72,15 @@ export abstract class ArcgisSolutionsAssistant extends LitElement {
72
72
  * @default false
73
73
  */
74
74
  accessor open: boolean;
75
- /**
76
- * Define the AI server to access
77
- *
78
- * @default 'https://aiservices-beta.arcgis.com'
79
- */
80
- accessor serverRoot: string;
81
75
  /**
82
76
  * First name of user for personal approach
83
77
  *
84
78
  * @default ''
85
79
  */
86
80
  accessor userFirstName: string;
87
- /**
88
- * Submits a query to the AI Assitant based on what is in the input textarea.
89
- * If there is an exisitng conversation, the conversation id is also sent along.
90
- *
91
- * @param inputValue - The request to send to the assistant
92
- */
93
- handleSendMessage(inputValue: string): Promise<void>;
94
- /**
95
- * Calls the AI (polling) until there is no additional requests.
96
- * Along the way id there is a message or context, process and show.
97
- * If it is solution question, start off a new request to Doc Assistant.
98
- *
99
- * @param response - stores the conversation and inquiry id
100
- * @param requestURL - AI server to request
101
- */
102
- loopRequest(response: ConversationResponse, requestURL: string): Promise<void>;
103
- /**
104
- * Request sent to the AI server via fetch.
105
- * ALong the way id there is a message or context, process and show.
106
- *
107
- * @param requestInfo - the request object to send to the server
108
- * @param requestURL - AI server to request
109
- */
110
- requestAIServer(requestInfo: unknown, requestURL: string): Promise<ConversationResponse>;
111
- /** Resets the message history and clears the chat window. */
112
- resetChat(): void;
113
81
  /** Emitted on demand when cards are fetched */
114
82
  readonly closeAssistant: import("@arcgis/lumina").TargetedEvent<this, boolean>;
115
83
  readonly "@eventTypes": {
116
84
  closeAssistant: ArcgisSolutionsAssistant["closeAssistant"]["detail"];
117
85
  };
118
- }
119
-
120
- export type ConversationResponse = {
121
- conversationId: string;
122
- inquiryId: string;
123
- sequenceNumber: number;
124
- message?: string | null;
125
- context?: ConversationContext;
126
- hasMore: boolean;
127
- };
128
-
129
- export type ConversationContext = {
130
- kind: string;
131
- author?: AuthorType;
132
- intent?: IntentType;
133
- results?: SuggestedSolutions[] | DocAssistantResultContext[] | unknown[];
134
- };
135
-
136
- export type SuggestedSolutions = {
137
- id: string;
138
- title: string;
139
- snippet: string;
140
- thumbnail: string;
141
- };
142
-
143
- export type DocAssistantResultContext = {
144
- reply: string;
145
- ref: DocAssistantResultRef[];
146
- followupQuestions: string[];
147
- status: DocAssistantResultStatus;
148
- };
149
-
150
- export type DocAssistantResultRef = {
151
- url: string;
152
- title: string;
153
- score: number;
154
- product: string;
155
- productMatch: boolean;
156
- };
157
-
158
- export type DocAssistantResultStatus = {
159
- currentStatusMessage: string;
160
- currentStatusStep: number;
161
- };
162
-
163
- export type IntentType = "Recommend solution" | "Solution question" | "Other" | "Error";
164
-
165
- export type AuthorType = "human" | "ai" | "system";
86
+ }