@esri/solutions-components 5.1.0-next.6 → 5.1.0-next.60
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.
- package/dist/cdn/2GS5DXMX.js +2 -0
- package/dist/cdn/{N7OY2PSZ.js → 2P2JRBNM.js} +1 -1
- package/dist/cdn/{YDNB3Z7B.js → 2RONXQ22.js} +1 -1
- package/dist/cdn/{7MXJCE2J.js → 2ZZTL5B6.js} +1 -1
- package/dist/cdn/{QLXOOL5D.js → 3KVDFRXD.js} +1 -1
- package/dist/cdn/{V74VHTFF.js → 3NPTCTYW.js} +1 -1
- package/dist/cdn/{S423P2GA.js → 3YQ3LN5J.js} +1 -1
- package/dist/cdn/4652XKVL.js +2 -0
- package/dist/cdn/4Y4JREZI.js +2 -0
- package/dist/cdn/{HPFJPSEL.js → 5F3VPVCO.js} +1 -1
- package/dist/cdn/5PIM2BOZ.js +2 -0
- package/dist/cdn/5TB2UXTT.js +2 -0
- package/dist/cdn/{RSZTDUO6.js → 5WA4SX7C.js} +1 -1
- package/dist/cdn/{ZPFYLUCJ.js → 76H55K5C.js} +1 -1
- package/dist/cdn/7QUV7YG7.js +10 -0
- package/dist/cdn/7ZN2BMYK.js +2 -0
- package/dist/cdn/{B4UETHGF.js → A5UYHQB2.js} +1 -1
- package/dist/cdn/A6HMNEQC.js +2 -0
- package/dist/cdn/ANWADKOZ.js +2 -0
- package/dist/cdn/BDCGPJPJ.js +2 -0
- package/dist/cdn/BDENYZEG.js +2 -0
- package/dist/cdn/BFKX5BLC.js +2 -0
- package/dist/cdn/{YGZRQS2J.js → BK7LW2RY.js} +1 -1
- package/dist/cdn/BMOMM64K.js +21 -0
- package/dist/cdn/CF6JSZPY.js +2 -0
- package/dist/cdn/CLF2PJYC.js +2 -0
- package/dist/cdn/{QXFTJVUF.js → CPKTXSK2.js} +1 -1
- package/dist/cdn/{T2WSMUVL.js → CS4IGHMC.js} +1 -1
- package/dist/cdn/CUY7MQY5.js +2 -0
- package/dist/cdn/{VFSI5MUK.js → CWGUKAP6.js} +1 -1
- package/dist/cdn/{3NR3CDWD.js → DBTVSVZ4.js} +1 -1
- package/dist/cdn/{32VP7W5E.js → DHPY2J5M.js} +1 -1
- package/dist/cdn/DIUHLPYD.js +2 -0
- package/dist/cdn/DJTOZZZA.js +25 -0
- package/dist/cdn/{DLBZRD4H.js → DPD6UBKD.js} +1 -1
- package/dist/cdn/DYJGZIDV.js +2 -0
- package/dist/cdn/DYXBSCAV.js +2 -0
- package/dist/cdn/{XQISEL3T.js → E4OCTDX7.js} +1 -1
- package/dist/cdn/E5GNE67Z.js +2 -0
- package/dist/cdn/{P4FX4W2X.js → E6WWQDDM.js} +1 -1
- package/dist/cdn/EPQ6J23O.js +7 -0
- package/dist/cdn/EZJOMREQ.js +2 -0
- package/dist/cdn/{P4KZ6OZF.js → F2JKSZOE.js} +1 -1
- package/dist/cdn/F2YGRNTN.js +2 -0
- package/dist/cdn/{UF67SSGX.js → FEMACR5Y.js} +1 -1
- package/dist/cdn/{NDUAEC62.js → FLLZBDVI.js} +1 -1
- package/dist/cdn/FLQFNPOP.js +2 -0
- package/dist/cdn/FLRIF3C7.js +2 -0
- package/dist/cdn/FOFNYI3V.js +3 -0
- package/dist/cdn/FRE445LD.js +2 -0
- package/dist/cdn/{PJH3H7LZ.js → G5YR3YZQ.js} +1 -1
- package/dist/cdn/GBTCFOFN.js +2 -0
- package/dist/cdn/GEVYIM3T.js +2 -0
- package/dist/cdn/GFW4PBUK.js +2 -0
- package/dist/cdn/{4ZEHQ3GR.js → GMXGHUZO.js} +1 -1
- package/dist/cdn/GQWWZGLF.js +2 -0
- package/dist/cdn/GRBH2MOX.js +2 -0
- package/dist/cdn/{GTDHYS64.js → GSF5ZZMH.js} +2 -2
- package/dist/cdn/GV3BOKA2.js +40 -0
- package/dist/cdn/H2PJ6QZT.js +2 -0
- package/dist/cdn/HAET3BAD.js +2 -0
- package/dist/cdn/{UOEDG3M3.js → HBQN25RR.js} +1 -1
- package/dist/cdn/{4ABITSEM.js → HR2BNQ7E.js} +1 -1
- package/dist/cdn/HUJNR7CU.js +2 -0
- package/dist/cdn/I7OSCIKL.js +2 -0
- package/dist/cdn/{P2BP2CM5.js → IDPLUOO5.js} +1 -1
- package/dist/cdn/IMN5BMIM.js +2 -0
- package/dist/cdn/INWDOVSJ.js +2 -0
- package/dist/cdn/IU6ZANQW.js +2 -0
- package/dist/cdn/{AKDP6MCB.js → IUFEMLQM.js} +1 -1
- package/dist/cdn/{RGH3Z5QC.js → J6V42VCC.js} +1 -1
- package/dist/cdn/{AA7X6GKH.js → JA3R6YUV.js} +1 -1
- package/dist/cdn/JMO7ZFWL.js +26 -0
- package/dist/cdn/{36HEIJAI.js → JNRZGJ5J.js} +1 -1
- package/dist/cdn/{T7REUAY2.js → JQC3RZ7L.js} +1 -1
- package/dist/cdn/{5WJS5U7G.js → JR4Z5BZE.js} +1 -1
- package/dist/cdn/JSI6JODX.js +50 -0
- package/dist/cdn/JZHP22BA.js +2 -0
- package/dist/cdn/{JK75TUSP.js → K2OB67JG.js} +1 -1
- package/dist/cdn/{NYCJKKYN.js → K7MOOHAF.js} +1 -1
- package/dist/cdn/K7VYU2IJ.js +2 -0
- package/dist/cdn/KN36REDP.js +2 -0
- package/dist/cdn/{D7AEFBST.js → KRWRWUTJ.js} +1 -1
- package/dist/cdn/KXQ6EA36.js +2 -0
- package/dist/cdn/{JYLXH6OM.js → L6QPBIO3.js} +1 -1
- package/dist/cdn/{SLC22JQP.js → LCBVGEFC.js} +1 -1
- package/dist/cdn/{NLTK53B2.js → LVQAS4DN.js} +1 -1
- package/dist/cdn/{P5XWXDR2.js → MACN5YNL.js} +1 -1
- package/dist/cdn/MAUD35WR.js +2 -0
- package/dist/cdn/{XYFIAJPT.js → MMQLDIE7.js} +1 -1
- package/dist/cdn/{OAS6T2VR.js → MR5KWNL4.js} +1 -1
- package/dist/cdn/N3EAHFBX.js +2 -0
- package/dist/cdn/NFRTFOHF.js +2 -0
- package/dist/cdn/NH3ESMSN.js +2 -0
- package/dist/cdn/NNOZ6KRO.js +21 -0
- package/dist/cdn/{MCFH5JBU.js → NV4NQJDM.js} +1 -1
- package/dist/cdn/O3A436MI.js +2 -0
- package/dist/cdn/{VDMAJ6AS.js → O4JG6O2G.js} +1 -1
- package/dist/cdn/{ULCILXSA.js → ODZNJZG5.js} +1 -1
- package/dist/cdn/{M3ESEITD.js → OGUIHXDV.js} +1 -1
- package/dist/cdn/ONSABHYA.js +2 -0
- package/dist/cdn/{JLYGSQEC.js → OUHPCCIT.js} +1 -1
- package/dist/cdn/{3VJ4LKR5.js → P7UNMJ5A.js} +1 -1
- package/dist/cdn/POJOSFXX.js +2 -0
- package/dist/cdn/PQIJUUY3.js +2 -0
- package/dist/cdn/PTWSYW3E.js +359 -0
- package/dist/cdn/{LPNQJBCN.js → PWAT4NDG.js} +1 -1
- package/dist/cdn/{RYD5JSIK.js → PWSIKCAF.js} +1 -1
- package/dist/cdn/{CVC5BYCF.js → PYOUOZUM.js} +1 -1
- package/dist/cdn/{XVRRQMOP.js → Q2IHGYKB.js} +1 -1
- package/dist/cdn/QHG54NVK.js +2 -0
- package/dist/cdn/QSUXQICI.js +2 -0
- package/dist/cdn/{57JYZYF5.js → RP36BC5U.js} +1 -1
- package/dist/cdn/{BEGKM3ZM.js → RQ2LHC5I.js} +1 -1
- package/dist/cdn/{J33ST6ZG.js → RVKS24LF.js} +1 -1
- package/dist/cdn/{3AQ7U2PF.js → SDJWXDEO.js} +1 -1
- package/dist/cdn/{C63QDNA2.js → SLIB2OEC.js} +1 -1
- package/dist/cdn/{R4P3ACBL.js → T2CGPA2B.js} +1 -1
- package/dist/cdn/TE6O5EAX.js +10 -0
- package/dist/cdn/{7YIQXDUF.js → THSRTNBE.js} +1 -1
- package/dist/cdn/{SZRONHSX.js → TLJX3G56.js} +1 -1
- package/dist/cdn/{VZPEYWYR.js → TOU5OHUQ.js} +1 -1
- package/dist/cdn/{B5RWUGHH.js → TYS6ZZ3Q.js} +1 -1
- package/dist/cdn/U4EZHJYT.js +2 -0
- package/dist/cdn/{SI3DJJCC.js → U5CKJBMT.js} +1 -1
- package/dist/cdn/{5KD4GK7Y.js → UEJPBHBF.js} +1 -1
- package/dist/cdn/{Q2FDKRDQ.js → UHZMX2M6.js} +1 -1
- package/dist/cdn/UJ5NRADN.js +2 -0
- package/dist/cdn/{RTPXDRZ7.js → UNA43DT6.js} +1 -1
- package/dist/cdn/UQTAX7HB.js +2 -0
- package/dist/cdn/{M3KJFMBN.js → V2QTKEQV.js} +1 -1
- package/dist/cdn/V66MBBFA.js +2 -0
- package/dist/cdn/{MB5ER7VL.js → VE3KTNQS.js} +1 -1
- package/dist/cdn/{DXZ6JQQ3.js → VEFYE24S.js} +1 -1
- package/dist/cdn/{DIDOZ4J6.js → WH2NFOMH.js} +5 -5
- package/dist/cdn/{DQ4POWIJ.js → WQTF5JT3.js} +1 -1
- package/dist/cdn/{KXAY6N2R.js → WX7KEAVK.js} +1 -1
- package/dist/cdn/{UIVSGAJR.js → WYEPAWQO.js} +1 -1
- package/dist/cdn/XFKZOLUD.js +2 -0
- package/dist/cdn/XSNGR44R.js +2 -0
- package/dist/cdn/{P642ZIKQ.js → Y2VQNMT4.js} +1 -1
- package/dist/cdn/{HIMUNCZ6.js → YBUQ5RAC.js} +3 -3
- package/dist/cdn/YNERGBJG.js +2 -0
- package/dist/cdn/Z2IT4SME.js +2 -0
- package/dist/cdn/{QI5LXFA7.js → ZBRNLRN2.js} +1 -1
- package/dist/cdn/ZMQ6KCYQ.js +2 -0
- package/dist/cdn/ZSJ55A7H.js +2 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/Auth.js +89 -67
- package/dist/chunks/_commonjsHelpers.js +7 -0
- package/dist/chunks/cardFetchingUtils.js +15 -15
- package/dist/chunks/cardsHelpers.js +5 -5
- package/dist/chunks/deployAppContexts.js +9 -0
- package/dist/chunks/explorer-prompts.js +43 -0
- package/dist/chunks/getRelatedInfos.js +1 -1
- package/dist/chunks/{interfaces.js → helpers.js} +235 -226
- package/dist/chunks/solution-deploy-dialog.js +39 -52
- package/dist/chunks/solutions-deploy-app-nav.js +105 -79
- package/dist/chunks/solutions_assistant_description.js +28 -0
- package/dist/chunks/solutions_assistant_prompts.js +29 -0
- package/dist/chunks/solutions_builder_description.js +13 -0
- package/dist/chunks/solutions_builder_prompts.js +13 -0
- package/dist/chunks/solutions_explorer_description.js +24 -0
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +15 -80
- package/dist/components/arcgis-solutions-assistant/customElement.js +49351 -1538
- package/dist/components/arcgis-solutions-assistant/index.js +3 -6
- package/dist/components/consent-manager/customElement.js +157 -159
- package/dist/components/create-feature/customElement.js +2 -2
- package/dist/components/crowdsource-manager/customElement.js +3 -3
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +4 -4
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +3 -3
- package/dist/components/map-card/customElement.js +6 -6
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +25 -18
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +5 -4
- package/dist/components/solution-delete-dialog/customElement.js +47 -37
- package/dist/components/solution-deploy-dialog/customElement.js +4 -3
- package/dist/components/solution-deployed-card/customElement.js +3 -2
- package/dist/components/solution-deployed-card-panel/customElement.js +12 -11
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +2 -1
- package/dist/components/solution-details-panel/customElement.js +101 -99
- package/dist/components/solution-item-accordion/customElement.js +29 -21
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-diagram/utils/solutionGraph.d.ts +1 -0
- package/dist/components/solution-resource-card/customElement.js +7 -6
- package/dist/components/solution-snapshot-gallery/customElement.js +5 -4
- package/dist/components/solution-social-share/customElement.js +37 -36
- package/dist/components/solution-user-avatar/customElement.js +12 -11
- package/dist/components/solutions-all-panel/customElement.js +17 -13
- package/dist/components/solutions-all-shell/customElement.js +3 -2
- package/dist/components/solutions-deploy-app/customElement.js +16 -14
- package/dist/components/solutions-deploy-app-nav/customElement.js +4 -3
- package/dist/components/solutions-deployed-panel/customElement.js +3 -2
- package/dist/components/solutions-deployed-shell/customElement.js +7 -6
- package/dist/components/solutions-filter-panel/customElement.d.ts +4 -1
- package/dist/components/solutions-filter-panel/customElement.js +45 -36
- package/dist/components/solutions-resources-shell/customElement.js +38 -38
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -2
- package/dist/components/solutions-searchsort-toolbar/customElement.js +7 -6
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/solutions-components_commit.txt +5 -5
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/dist/utils/Auth.d.ts +9 -1
- package/dist/utils/interfaces.d.ts +11 -12
- package/package.json +2 -1
- package/dist/cdn/2P34QGRO.js +0 -2
- package/dist/cdn/3JF5JLS4.js +0 -2
- package/dist/cdn/3R5VOUDP.js +0 -2
- package/dist/cdn/3YP4IHTR.js +0 -2
- package/dist/cdn/42KJMFQR.js +0 -2
- package/dist/cdn/4VFF7AI4.js +0 -2
- package/dist/cdn/5EKT4E6L.js +0 -2
- package/dist/cdn/6M3LFKC2.js +0 -2
- package/dist/cdn/6TOLIJU5.js +0 -2
- package/dist/cdn/7KSFAVG3.js +0 -2
- package/dist/cdn/B4AIK4OP.js +0 -2
- package/dist/cdn/BDDH5UZP.js +0 -2
- package/dist/cdn/C4SG4U2R.js +0 -21
- package/dist/cdn/CCENFN7F.js +0 -2
- package/dist/cdn/CPMMNWOL.js +0 -3
- package/dist/cdn/CTVJXR44.js +0 -2
- package/dist/cdn/DADQNPO4.js +0 -2
- package/dist/cdn/DIKAKOU5.js +0 -2
- package/dist/cdn/DWUKLLEC.js +0 -2
- package/dist/cdn/EITUC67W.js +0 -2
- package/dist/cdn/F24FJKDG.js +0 -2
- package/dist/cdn/GGPVFOLN.js +0 -2
- package/dist/cdn/HBPD3T7H.js +0 -2
- package/dist/cdn/HL7P3CHI.js +0 -2
- package/dist/cdn/J5VTBFGR.js +0 -2
- package/dist/cdn/JTUQKBFR.js +0 -2
- package/dist/cdn/KAEV4RME.js +0 -50
- package/dist/cdn/KJMVCXRW.js +0 -2
- package/dist/cdn/KWCJDOZU.js +0 -2
- package/dist/cdn/LI4CAGAZ.js +0 -2
- package/dist/cdn/MSSLXF7R.js +0 -2
- package/dist/cdn/MUM5SE3F.js +0 -2
- package/dist/cdn/MXWRV4QM.js +0 -2
- package/dist/cdn/NIUMAAOQ.js +0 -2
- package/dist/cdn/OEFCWMHM.js +0 -2
- package/dist/cdn/OSPT7DNE.js +0 -2
- package/dist/cdn/OYQYXNHJ.js +0 -2
- package/dist/cdn/P4GNCZ6F.js +0 -2
- package/dist/cdn/PHWLCAZ4.js +0 -2
- package/dist/cdn/PJ4ERPMV.js +0 -2
- package/dist/cdn/QXRWIAR3.js +0 -7
- package/dist/cdn/RKMY6VWP.js +0 -2
- package/dist/cdn/RSTX3J6D.js +0 -2
- package/dist/cdn/SBEXUIYT.js +0 -2
- package/dist/cdn/SE7R7GJQ.js +0 -2
- package/dist/cdn/SGRKAUHN.js +0 -2
- package/dist/cdn/SOFOUNGU.js +0 -2
- package/dist/cdn/SSWZX5KE.js +0 -2
- package/dist/cdn/TEXGFAKJ.js +0 -2
- package/dist/cdn/TG5Z36QU.js +0 -2
- package/dist/cdn/UFI4ZJNJ.js +0 -2
- package/dist/cdn/UUNDSSCA.js +0 -2
- package/dist/cdn/VGCXEINY.js +0 -2
- package/dist/cdn/VJEG4LOG.js +0 -2
- package/dist/cdn/VTXVM7WH.js +0 -2
- package/dist/cdn/VVNSX3BS.js +0 -2
- package/dist/cdn/WVC3NULO.js +0 -2
- package/dist/cdn/XB2BJKRI.js +0 -2
- package/dist/cdn/XFB4UFWT.js +0 -2
- package/dist/cdn/XZXTFYPU.js +0 -174
- package/dist/cdn/YWSV24KI.js +0 -2
- package/dist/cdn/ZKQHD6X2.js +0 -2
|
@@ -1,14 +1,43 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as v } from "./runtime.js";
|
|
3
|
-
import { u as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
6
|
-
import { A as
|
|
7
|
-
import {
|
|
8
|
-
import { createRef as
|
|
9
|
-
import { UserSession as
|
|
10
|
-
import {
|
|
11
|
-
|
|
3
|
+
import { u as f } from "./useT9n.js";
|
|
4
|
+
import { LitElement as y, createEvent as p, nothing as h } from "@arcgis/lumina";
|
|
5
|
+
import { css as w, html as o, svg as M } from "lit";
|
|
6
|
+
import { A as C } from "./Auth.js";
|
|
7
|
+
import { Z as S, J as c, T as _, H as k } from "./helpers.js";
|
|
8
|
+
import { createRef as a, ref as l } from "lit-html/directives/ref.js";
|
|
9
|
+
import { UserSession as $ } from "@esri/solution-common";
|
|
10
|
+
import { i as E } from "./deployAppContexts.js";
|
|
11
|
+
import { useContextConsumer as T } from "@arcgis/lumina/context";
|
|
12
|
+
const u = {
|
|
13
|
+
name: "arcgis-solutions-app",
|
|
14
|
+
version: "2.0",
|
|
15
|
+
dev: {
|
|
16
|
+
amazon: {
|
|
17
|
+
userPoolID: "us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",
|
|
18
|
+
app: {
|
|
19
|
+
id: "7e2fd97553644e5f99b1129fbcee3c2e"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
qa: {
|
|
24
|
+
amazon: {
|
|
25
|
+
userPoolID: "us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",
|
|
26
|
+
app: {
|
|
27
|
+
id: "a3beba911bd14847ada5c9ffed2a2111"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
prod: {
|
|
32
|
+
amazon: {
|
|
33
|
+
userPoolID: "us-east-1:8c41b2dc-7563-403d-ba64-673b103debce",
|
|
34
|
+
app: {
|
|
35
|
+
id: "35a920e0e7f84680be076e57dd5cb728"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}, I = "solutions-deployment-first-use";
|
|
40
|
+
class g {
|
|
12
41
|
constructor() {
|
|
13
42
|
this._telemetryInstance = void 0, this._logTelemetryEvents = !1;
|
|
14
43
|
}
|
|
@@ -41,9 +70,9 @@ class p {
|
|
|
41
70
|
*/
|
|
42
71
|
_mapDimensions(e) {
|
|
43
72
|
const t = {};
|
|
44
|
-
return e && e.slice(0, 20).forEach((
|
|
45
|
-
const
|
|
46
|
-
t[
|
|
73
|
+
return e && e.slice(0, 20).forEach((n, i) => {
|
|
74
|
+
const s = `dimension${i + 1}`;
|
|
75
|
+
t[s] = n;
|
|
47
76
|
}), t;
|
|
48
77
|
}
|
|
49
78
|
/**
|
|
@@ -51,9 +80,9 @@ class p {
|
|
|
51
80
|
*/
|
|
52
81
|
_mapMetrics(e) {
|
|
53
82
|
const t = {};
|
|
54
|
-
return e && e.slice(0, 20).forEach((
|
|
55
|
-
const
|
|
56
|
-
t[
|
|
83
|
+
return e && e.slice(0, 20).forEach((n, i) => {
|
|
84
|
+
const s = `metric${i + 1}`;
|
|
85
|
+
t[s] = n;
|
|
57
86
|
}), t;
|
|
58
87
|
}
|
|
59
88
|
/**
|
|
@@ -69,14 +98,14 @@ class p {
|
|
|
69
98
|
*/
|
|
70
99
|
logEvent(e) {
|
|
71
100
|
if (this._logTelemetryEvents && this._telemetryInstance) {
|
|
72
|
-
const { category: t, action:
|
|
101
|
+
const { category: t, action: n, dimensions: i, metrics: s, label: r = "", details: d = "" } = e, b = this._mapDimensions(i), m = this._mapMetrics(s);
|
|
73
102
|
this._telemetryInstance.logEvent({
|
|
74
103
|
category: t,
|
|
75
|
-
action:
|
|
76
|
-
label:
|
|
77
|
-
details:
|
|
78
|
-
...
|
|
79
|
-
...
|
|
104
|
+
action: n,
|
|
105
|
+
label: r,
|
|
106
|
+
details: d,
|
|
107
|
+
...b,
|
|
108
|
+
...m
|
|
80
109
|
});
|
|
81
110
|
}
|
|
82
111
|
}
|
|
@@ -111,18 +140,18 @@ class p {
|
|
|
111
140
|
* @returns Promise that resolves to the telemetry session
|
|
112
141
|
*/
|
|
113
142
|
async initializeTelemetry(e, t) {
|
|
114
|
-
if (!
|
|
143
|
+
if (!g.shouldEnableTelemetry(e, t))
|
|
115
144
|
return this.getTelemetrySession();
|
|
116
145
|
let i = document.querySelector("consent-manager");
|
|
117
146
|
if (!i) {
|
|
118
147
|
if (!customElements.get("consent-manager"))
|
|
119
148
|
return this.getTelemetrySession();
|
|
120
|
-
i = document.createElement("consent-manager"), i.portal = e.Portal, i.measurementIds = t.measurementIds || [], i.firstUseVar =
|
|
121
|
-
const
|
|
122
|
-
|
|
123
|
-
const
|
|
124
|
-
(localStorage.getItem(i.firstUseVar) === "true" ||
|
|
125
|
-
|
|
149
|
+
i = document.createElement("consent-manager"), i.portal = e.Portal, i.measurementIds = t.measurementIds || [], i.firstUseVar = I;
|
|
150
|
+
const r = g.getEnvironmentConfig(t, e);
|
|
151
|
+
r && (i.amazonUserPoolID = r?.amazon?.userPoolID, i.amazonAppId = r?.amazon?.app?.id, i.amazonAppName = u.name, i.amazonVersion = u.version);
|
|
152
|
+
const d = e.Portal?.eueiEnabled;
|
|
153
|
+
(localStorage.getItem(i.firstUseVar) === "true" || d) && (this.setEnabled(!0), i.classList.add("display-none")), document.body.appendChild(i), d ? (await new Promise((m) => setTimeout(m, 100)), await this._setInstanceFromConsentManager(i)) : window.addEventListener("consentGranted", (m) => {
|
|
154
|
+
m.detail?.granted && (this.setEnabled(!0), this._setInstanceFromConsentManager(i));
|
|
126
155
|
});
|
|
127
156
|
}
|
|
128
157
|
return this.getTelemetrySession();
|
|
@@ -135,12 +164,12 @@ class p {
|
|
|
135
164
|
async _setInstanceFromConsentManager(e) {
|
|
136
165
|
try {
|
|
137
166
|
const t = new Promise(
|
|
138
|
-
(i,
|
|
139
|
-
),
|
|
167
|
+
(i, s) => setTimeout(() => s(new Error("Timeout waiting for consent-manager instance")), 1e4)
|
|
168
|
+
), n = await Promise.race([
|
|
140
169
|
e.getInstance(),
|
|
141
170
|
t
|
|
142
171
|
]);
|
|
143
|
-
this.setInstance(
|
|
172
|
+
this.setInstance(n);
|
|
144
173
|
} catch {
|
|
145
174
|
}
|
|
146
175
|
}
|
|
@@ -152,33 +181,32 @@ class p {
|
|
|
152
181
|
* @returns True if telemetry should be enabled
|
|
153
182
|
*/
|
|
154
183
|
static shouldEnableTelemetry(e, t) {
|
|
155
|
-
const
|
|
156
|
-
return
|
|
184
|
+
const n = e?.IsEnterprisePortal;
|
|
185
|
+
return e?.Portal?.eueiEnabled === !1 || n ? !1 : !!((t.measurementIds || u) && I);
|
|
157
186
|
}
|
|
158
187
|
/**
|
|
159
188
|
* Get the environment-specific telemetry configuration
|
|
160
189
|
*
|
|
161
|
-
* @param appConfig The application configuration
|
|
190
|
+
* @param appConfig The application configuration object
|
|
162
191
|
* @param authentication The current authentication object
|
|
163
192
|
* @returns The telemetry options for the current environment, or undefined
|
|
164
193
|
*/
|
|
165
194
|
static getEnvironmentConfig(e, t) {
|
|
166
|
-
|
|
167
|
-
const s = e.forceTrackingEnv || M(
|
|
195
|
+
const n = e.forceTrackingEnv || S(
|
|
168
196
|
document.location.hostname,
|
|
169
197
|
t?.Portal?.portalHostname || ""
|
|
170
198
|
);
|
|
171
|
-
return
|
|
199
|
+
return n && Object.keys(u).includes(n) ? u[n] : void 0;
|
|
172
200
|
}
|
|
173
201
|
}
|
|
174
|
-
const
|
|
175
|
-
class
|
|
202
|
+
const A = w`.esri-global-nav__title{margin-block-start:0;position:relative;margin-bottom:0;font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-medium);padding-inline-end:var(--calcite-spacing-xxl);align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link{color:var(--calcite-color-text-1);text-decoration:unset;margin-block-start:0px;position:relative;margin-bottom:0;align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.cursor-pointer{cursor:pointer}.side{border-right:solid 1px;color:var(--calcite-color-text-1);height:34px;align-self:center}.display-flex{display:flex}.align-self-center{align-self:center}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.margin-start-end-1{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-start-end-1-5{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.height-full{height:100%}.user-label{--calcite-label-margin-bottom: 0px}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-normal{font-weight:var(--calcite-font-weight-normal)}.logo-padding{padding-inline-start:var(--calcite-spacing-none);height:100%}@media(max-width:800px){.logo-padding{padding-inline-start:var(--calcite-spacing-lg)}}.signin-padding{padding-inline-end:var(--calcite-spacing-none)}@media(max-width:800px){.signin-padding{padding-inline-end:var(--calcite-spacing-lg)}}calcite-action{--calcite-font-size-0: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: var(--calcite-spacing-lg)}calcite-navigation{--calcite-color-border-3: transparent}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box;position:absolute;top:65px;left:0;width:100%;z-index:1}.height-65{height:65px}`;
|
|
203
|
+
class x extends y {
|
|
176
204
|
constructor() {
|
|
177
|
-
super(), this._isMobile = !1, this._logoFill = "", this._thumbnailUrl = "", this._translations =
|
|
178
|
-
context:
|
|
205
|
+
super(), this._isMobile = !1, this._logoFill = "", this._thumbnailUrl = "", this._translations = f({ name: "solutions-deploy-app-nav", blocking: !0 }), this._activeTab = "all-solutions", this._authentication = void 0, this._cardType = "details", this._dropdownRef = a(), this._dropdownItemAll = a(), this._dropdownItemMy = a(), this._dropdownItemMyContent = a(), this._dropdownItemResources = a(), this._isMobileContextConsumer = T({
|
|
206
|
+
context: E,
|
|
179
207
|
subscribe: !0,
|
|
180
208
|
callback: (e) => this._isMobile = e
|
|
181
|
-
}), this._menuRef =
|
|
209
|
+
}), this._menuRef = a(), this._menuItemAll = a(), this._menuItemMy = a(), this._menuItemResources = a(), this.authInit = p(), this.navTabSelected = p(), this.tabChanged = p(), this.tokenRefreshed = p(), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployAppTabSelected", this._deployAppTabSelected), this.listenOn(window, "popstate", this._handleUrlChange), this.listenOn(window, "sessionRefreshed", (e) => {
|
|
182
210
|
this._updateThumbnailToken(e.detail);
|
|
183
211
|
});
|
|
184
212
|
}
|
|
@@ -186,7 +214,7 @@ class E extends I {
|
|
|
186
214
|
this.properties = { appConfig: 1, initTab: 1, _subNavigationCard: 16, _isMobile: 16, _logoFill: 16, _thumbnailUrl: 16, _translations: 16 };
|
|
187
215
|
}
|
|
188
216
|
static {
|
|
189
|
-
this.styles =
|
|
217
|
+
this.styles = A;
|
|
190
218
|
}
|
|
191
219
|
get _telemetry() {
|
|
192
220
|
return this._config?.telemetrySession;
|
|
@@ -195,10 +223,10 @@ class E extends I {
|
|
|
195
223
|
this._isMobile ? (this._dropdownItemAll.value.selected = !1, this._authentication?.IsSignedIn && (this._dropdownItemMy.value.selected = !1), this._dropdownItemResources.value.selected = !1) : (this._menuItemAll.value.active = !1, this._authentication?.IsSignedIn && (this._menuItemMy.value.active = !1), this._menuItemResources.value.active = !1);
|
|
196
224
|
}
|
|
197
225
|
activateMenuItem(e, t = !1) {
|
|
198
|
-
let
|
|
226
|
+
let n, i;
|
|
199
227
|
switch (e) {
|
|
200
228
|
case "all-solutions":
|
|
201
|
-
|
|
229
|
+
n = this._isMobile ? this._dropdownItemAll : this._menuItemAll, i = this._isMobile ? [
|
|
202
230
|
this._dropdownItemMy,
|
|
203
231
|
this._dropdownItemResources
|
|
204
232
|
] : [
|
|
@@ -207,7 +235,7 @@ class E extends I {
|
|
|
207
235
|
];
|
|
208
236
|
break;
|
|
209
237
|
case "deployments":
|
|
210
|
-
|
|
238
|
+
n = this._isMobile ? this._dropdownItemMy : this._menuItemMy, i = this._isMobile ? [
|
|
211
239
|
this._dropdownItemAll,
|
|
212
240
|
this._dropdownItemResources
|
|
213
241
|
] : [
|
|
@@ -216,7 +244,7 @@ class E extends I {
|
|
|
216
244
|
];
|
|
217
245
|
break;
|
|
218
246
|
case "resources":
|
|
219
|
-
|
|
247
|
+
n = this._isMobile ? this._dropdownItemResources : this._menuItemResources, i = this._isMobile ? [
|
|
220
248
|
this._dropdownItemAll,
|
|
221
249
|
this._dropdownItemMy
|
|
222
250
|
] : [
|
|
@@ -225,18 +253,18 @@ class E extends I {
|
|
|
225
253
|
];
|
|
226
254
|
break;
|
|
227
255
|
case "my-content":
|
|
228
|
-
this._isMobile && (
|
|
256
|
+
this._isMobile && (n = this._dropdownItemMyContent, i = [
|
|
229
257
|
this._dropdownItemAll,
|
|
230
258
|
this._dropdownItemMy,
|
|
231
259
|
this._dropdownItemResources
|
|
232
260
|
]);
|
|
233
261
|
break;
|
|
234
262
|
}
|
|
235
|
-
|
|
263
|
+
n && i && this._handleMenuClick(e, n, i, t);
|
|
236
264
|
}
|
|
237
265
|
async connectedCallback() {
|
|
238
266
|
super.connectedCallback();
|
|
239
|
-
const e = new
|
|
267
|
+
const e = new $({
|
|
240
268
|
username: "",
|
|
241
269
|
password: ""
|
|
242
270
|
});
|
|
@@ -244,9 +272,10 @@ class E extends I {
|
|
|
244
272
|
}
|
|
245
273
|
async load() {
|
|
246
274
|
const e = window.matchMedia("(prefers-color-scheme: dark)");
|
|
247
|
-
e.addEventListener("change", (
|
|
248
|
-
const t = this.appConfig.locale || "en",
|
|
249
|
-
|
|
275
|
+
e.addEventListener("change", (d) => this._logoFill = this._getLogoFill(d.matches)), this._logoFill = this._getLogoFill(e.matches), this._isMobileContextConsumer.value && (this._isMobile = this._isMobileContextConsumer.value);
|
|
276
|
+
const t = this.appConfig.locale || "en", n = this.appConfig.authentication?.PortalSubset?.orgUrl || this.appConfig.orgURL || this.appConfig.portalURL, i = this.appConfig.authentication?.PortalUrl || this.appConfig.portalURL, s = this.appConfig.primarySolutionsGroupId;
|
|
277
|
+
let r = !1;
|
|
278
|
+
this._authentication || (this.appConfig.authentication ? this._authentication = this.appConfig.authentication : (this._authentication = new C(this.appConfig.appId, this.appConfig.portalURL, this.appConfig.locale), await this._authentication.initialize(this.appConfig.isEnterprise, this.appConfig.agoBasedEnterpriseSolutionsGroupId), r = !0)), r || await this._authentication?.checkArcGISOnlineReachability(this.appConfig.agoBasedEnterpriseSolutionsGroupId), this._authentication.RestUserSession && (this._userSession = this._authentication.RestUserSession), this.initTab && (this._activeTab = this.initTab, this.initTab = void 0), this._config = {
|
|
250
279
|
anonAgolSession: void 0,
|
|
251
280
|
agolPortalUrl: "",
|
|
252
281
|
allCards: [],
|
|
@@ -254,59 +283,56 @@ class E extends I {
|
|
|
254
283
|
authentication: this._authentication,
|
|
255
284
|
agoBasedEnterpriseSolutionsGroupId: this.appConfig.agoBasedEnterpriseSolutionsGroupId,
|
|
256
285
|
diagramKey: this.appConfig.diagramKey,
|
|
286
|
+
forceTrackingEnv: this.appConfig.forceTrackingEnv,
|
|
257
287
|
isEnterprise: this.appConfig.isEnterprise,
|
|
258
288
|
locale: t,
|
|
259
|
-
orgUrl:
|
|
289
|
+
orgUrl: n,
|
|
260
290
|
portalURL: i,
|
|
261
|
-
primarySolutionsGroupId:
|
|
291
|
+
primarySolutionsGroupId: s,
|
|
262
292
|
userSession: this._userSession,
|
|
263
|
-
telemetrySession:
|
|
293
|
+
telemetrySession: g.getDisabledSession(),
|
|
264
294
|
// Will be initialized after auth
|
|
265
|
-
cookiesFirstUseVar: this.appConfig.cookiesFirstUseVar,
|
|
266
|
-
trackingEnabled: this.appConfig.trackingEnabled,
|
|
267
|
-
forceTrackingEnv: this.appConfig.forceTrackingEnv,
|
|
268
|
-
telemetry: this.appConfig.telemetry,
|
|
269
295
|
measurementIds: this.appConfig.measurementIds
|
|
270
296
|
}, this.authInit.emit(this._config), this._portal = await this._userSession?.getPortal();
|
|
271
297
|
}
|
|
272
298
|
render() {
|
|
273
|
-
return
|
|
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>`;
|
|
274
300
|
}
|
|
275
301
|
updated(e) {
|
|
276
|
-
e.has("_isMobile") && e.get("_isMobile") !== void 0 && this.activateMenuItem(this._activeTab, !
|
|
302
|
+
e.has("_isMobile") && e.get("_isMobile") !== void 0 && this.activateMenuItem(this._activeTab, !1);
|
|
277
303
|
}
|
|
278
304
|
_getSignInOut() {
|
|
279
|
-
return this._authentication?.IsSignedIn ?
|
|
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>`;
|
|
280
306
|
}
|
|
281
307
|
_getDropdown() {
|
|
282
308
|
const e = this._authentication?.IsSignedIn ? this._translations.signOut : this._translations.signIn;
|
|
283
|
-
return
|
|
309
|
+
return o`<calcite-dropdown overlay-positioning=fixed slot=content-end width=m ${l(this._dropdownRef)}><calcite-button appearance=transparent icon-start=hamburger kind=neutral slot=trigger scale=l></calcite-button><calcite-dropdown-group><calcite-dropdown-item @click=${() => this._handleMenuClick("all-solutions", this._dropdownItemAll, [this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("all-solutions", this._dropdownItemAll, [this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemAll)}>${this._translations.allSolutions}</calcite-dropdown-item><calcite-dropdown-item @click=${() => this._handleMenuClick("deployments", this._dropdownItemMy, [this._dropdownItemAll, this._dropdownItemResources, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("deployments", this._dropdownItemMy, [this._dropdownItemAll, this._dropdownItemResources, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemMy)}>${this._translations.myDeployments}</calcite-dropdown-item>${this._authentication?.CanSearchArcGISOnline && o`<calcite-dropdown-item @click=${() => this._handleMenuClick("resources", this._dropdownItemResources, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("resources", this._dropdownItemResources, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemResources)}>${this._translations.solutionResources}</calcite-dropdown-item>` || ""}<calcite-dropdown-item @click=${() => {
|
|
284
310
|
const t = this._activeTab === "all-solutions" ? this._dropdownItemAll : this._activeTab === "deployments" ? this._dropdownItemMy : this._activeTab === "resources" ? this._dropdownItemResources : void 0;
|
|
285
311
|
setTimeout(() => this._handleMenuClick("my-content", t, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !1), 10);
|
|
286
|
-
}} ${
|
|
312
|
+
}} ${l(this._dropdownItemMyContent)}>${this._translations.myContent}</calcite-dropdown-item><calcite-dropdown-item @click=${(t) => {
|
|
287
313
|
this._authentication?.IsSignedIn ? this._signOut() : this._handleSignIn(t);
|
|
288
314
|
}}>${e}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`;
|
|
289
315
|
}
|
|
290
316
|
_getMenu() {
|
|
291
|
-
return
|
|
317
|
+
return o`<calcite-menu label slot=content-start ${l(this._menuRef)}><calcite-menu-item label @click=${() => this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0))} .text=${this._translations.allSolutions} ${l(this._menuItemAll)}></calcite-menu-item><calcite-menu-item label @click=${() => this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0))} .text=${this._translations.myDeployments} ${l(this._menuItemMy)}></calcite-menu-item>${this._authentication?.CanSearchArcGISOnline && o`<calcite-menu-item label @click=${() => this._handleMenuClick("resources", this._menuItemResources, [this._menuItemAll, this._menuItemMy], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("resources", this._menuItemResources, [this._menuItemAll, this._menuItemMy], !0))} .text=${this._translations.solutionResources} ${l(this._menuItemResources)}></calcite-menu-item>` || ""}</calcite-menu>`;
|
|
292
318
|
}
|
|
293
319
|
_getHeading() {
|
|
294
|
-
return
|
|
320
|
+
return o`<div class="align-self-center display-flex cursor-pointer logo-padding" slot=logo><a aria-label=${this._translations.linkToEsriHomePage ?? h} class="esri-global-nav__logo-link" href=https://www.esri.com @click=${() => this._logLinkClickTelemetry("Esri")} rel=noopener target=_blank title=${this._translations.linkToEsriHomePage ?? h}><svg height=30 viewBox="0 0 84 30" width=84 xmlns=http://www.w3.org/2000/svg>${M`<path fill=${this._logoFill ?? h} d="M77.277.5c-1.48 0-2.554 1.175-2.554 2.488 0 1.314 1.074 2.49 2.554 2.49 1.48 0 2.622-1.071 2.622-2.49C79.899 1.572 78.756.5 77.277.5zm-1.913 23.426h3.891V8.353h-3.891v15.573zM40.515 7.965c-4.702 0-8.465 3.275-8.465 8.174 0 4.898 3.763 8.177 8.465 8.177 2.146 0 4.165-.667 5.852-2.31l-2.457-2.457c-.916.964-2.093 1.651-3.78 1.651-2.175 0-3.927-1.397-4.188-3.698h11.875v-1.07c0-5.42-2.95-8.467-7.302-8.467zm-4.573 6.617c.293-2.24 1.721-3.7 4.023-3.7 2.434 0 3.926 1.43 3.96 3.7h-7.983zm17.305-1.849c0-1.169 1.233-1.655 2.273-1.655 1.32 0 2.292.547 3.037 1.577l2.476-2.474c-1.282-1.6-3.407-2.216-5.418-2.216-3.147 0-6.262 1.555-6.262 5.028 0 5.938 8.403 3.406 8.403 6.617 0 1.233-1.46 1.784-2.595 1.784-1.65 0-2.687-.806-3.69-1.905l-2.515 2.514c1.58 1.711 3.62 2.313 5.978 2.313 3.179 0 6.717-1.299 6.717-4.998 0-6.067-8.404-3.795-8.404-6.585zm14.15-1.916h-.062V8.353h-3.892v15.573h3.892v-8.34c0-.842.518-3.925 4.185-3.925.564 0 1.127.112 1.718.253l.152-3.726c-.45-.127-.901-.223-1.382-.223-2.046 0-3.766 1.07-4.61 2.852zM14.683 2.766c-1.217-.037-1.932.12-2.651.26-.216-.056-.62.003-.643.472 0 .252.08.447.24.562.159.114 1.493 1.1 2.473 2.142-.47.052-.98.138-1.504.246-.585-1.264-2.465-.114-3.714-.064-.146.006-.286.025-.431.035-.137-1.056-.235-2.15-.21-2.92 1.618-.917 4.748-1.593 6.874-1.626l.373-.01c.312-.003.337-.251.043-.291-2.641-.361-4.929.173-7.279 1.145C5.808 3.748 2.696 6.12.8 10.596c-.444 1.247-2.219 7.195.935 12.3 2.56 4.142 5.855 6.113 9.887 6.676 4.024.561 6.207.075 8.752-1.055 5.951-2.642 10.496-12.559 5.95-19.747-1.794-3.319-6.495-6.229-11.641-6.004zm-2.259 4.647a17.754 17.754 0 0 1 2.362-.368 15.741 15.741 0 0 1 1.748 2.54c-.805.39-1.878.688-2.315 1.312-.181.26-.226.613-.232.995a23.59 23.59 0 0 0-3.877 1.286c-.453-1.332-.85-2.66-1.124-3.842 1.296-1.237 2.813-1.438 3.438-1.923zm6.61 15.88c-.354.038-.706.083-1.016.13-.77.121-1.762.379-2.685.723-.53-.843-1.95-2.891-2.667-4.437 1.442-.709 3.457-1.303 5.775-1.444.19.33.4.66.69.956.757.774-.44 1.883-.096 4.072zm-8.603-9.14c1.12-.53 2.3-.968 3.56-1.286-.008.333-.045.649-.182.903-.196.366-.106 1.428.134 1.775.755 1.099 2.008.488 2.951.883.433.181.721.482.964.84-1.974.124-3.91.584-5.706 1.41-.923-1.96-1.72-4.524-1.72-4.524zm.832 4.938c-.07.033-.145.074-.217.11a40.803 40.803 0 0 0-3.256-.78c-.995-.204-1.031-.15-2.151.175-.16.046-.313.088-.462.133a36.17 36.17 0 0 1-.445-1.202c1.436-1.106 2.884-2.034 4.821-2.985.5 1.491 1.215 3.483 1.71 4.549zm.768 4.528c.293-.765.521-1.331.605-1.89.569.958 1.248 2 1.774 2.815-.819.397-1.772 1.01-2.672 1.685.062-1.037.083-2.064.293-2.61zm5.334-14.636c-.01.014-.028.026-.04.04a23.057 23.057 0 0 0-1.376-2.111c1.007-.061 2.246-.008 3.374.108-1.014.363-1.461 1.254-1.958 1.963zm-9.028 1.094c.019-.026.039-.047.057-.072.234 1.182.513 2.16.886 3.518-1.402.618-3.881 2.148-4.976 2.972-.198-.502-.404-1.214-.589-1.946.249-.737.758-1.254 1.476-1.325 1.228-.123 2.28-1.95 3.146-3.147zm-5.41-1.784C4.24 6.455 6.023 4.666 7.65 3.773c-.016.4.086 1.567.218 2.693-.57.057-1.134.128-1.692.211a12.084 12.084 0 0 0-3.115 4.088c-.117-1.054-.178-1.933-.133-2.472zM2.07 9.731s.062 1.06.113 1.833c0 0-.781.886-1.18 1.59.159-1.443.498-2.187 1.067-3.423zm7.664 18.356C5.688 26.82 2.69 23.41 1.62 19.834a17.475 17.475 0 0 1-.651-6.473c.056.01.186.072.38.017.135-.093.616-.43.957-.728l.018.131c-.23.87-.371 1.775-.4 2.71.37.39.804 1.038 1.286 1.707-.31.23-.905.641-1.045.741-.41.292-.406.753-.114 1.015.161.144.492.084.613-.01.358-.285.656-.513 1.066-.77.15.393.292.748.43 1.086-.175.188-.3.436-.342.798-.135 1.172.979 2.092 1.918 2.36.035.01.06.014.094.023.05.076.095.147.148.224-.487.378-.82.765-1.049 1.063-.132.172-.28.43-.16.481.123.05.535 0 .719-.034.466-.09.826-.606 1.148-.796.387.534 1.017 1.22 1.672 1.88.029.12.055.246.088.351.125.403.293.804.495 1.196.471.22.962.402 1.464.561a8.344 8.344 0 0 0-.622.72zm.989.313c.155-.203.312-.454.505-.626.468.31.969.665 1.368.894-.615-.07-1.337-.085-1.873-.268zm3.113.31s-1.604-1.062-2.009-1.471c.803-.667 2.102-1.459 3.128-1.889.402.63 1.727 2.507 2.258 3.112-.963.168-2.31.294-3.377.248zM20.54 27.2c-.286.189-1.664.814-2.204.988a23.43 23.43 0 0 1-2.44-3.202c.844-.354 2.143-.67 3.346-.82.109.342.25.704.444 1.094.19.382.411.662.649.853.085-.053.164-.115.248-.17-.006.42-.018.846-.043 1.257zm-.33-21.477c-.27-.172-.607-.108-.467.193.053.117.259.314.427.512-.986-.272-3.608-.479-4.856-.364-.815-.916-1.744-2.028-2.861-2.765 4.999-.311 9.49 1.756 11.473 4.186-.661-.344-2.087-.834-2.667-.963-.313-.319-.708-.58-1.05-.8zm1.094 21.065c.023-.407.04-.922.053-1.396.487-.378.946-.79 1.37-1.238.547.063 1.094.156 1.427.24-.74.936-1.762 1.716-2.85 2.394zm3.825-3.724c-.12.253-.428.688-.633.894-.312-.126-.781-.258-1.272-.375.078-.094.163-.182.24-.279.268-1.796-.338-2.37.42-4.014l.172-.371c.418.118.812.247 1.153.386.043.616.04 2.728-.08 3.759zm-.708-4.917c.196-.407.412-.84.645-1.27.061.547.105 1.08.131 1.563a9.256 9.256 0 0 0-.776-.293zm2.218 1.126l-.194.756c-.137.515-.593 1.732-.832 2.223.091-.663.171-2.384.148-2.73.16.049.502-.147.559-.341.057-.195-.564-.495-.564-.495a20.742 20.742 0 0 0-.172-2.7c.142-.23.286-.452.434-.655a12.082 12.082 0 0 0-.186-1.575c.125.041.24.074.323.075.283.004.282-.19.192-.298-.058-.07-.328-.238-.643-.42a12.02 12.02 0 0 0-2.78-5.32c.533.202 1.214.48 1.754.774.41.516 1.585 1.675 2.212 4.92.564 2.922-.06 5.143-.251 5.786zM80.886 8.597v-.24h1.218v.24h-.468v1.191h-.283V8.597h-.467zm1.87-.24l.365 1.025.368-1.024h.406v1.43h-.262V8.634l-.396 1.154h-.229l-.4-1.154v1.154h-.261v-1.43h.409z" />`}</svg></a><div class="side margin-start-end-1-5" slot=logo></div><div class="esri-global-nav__title"><a aria-label=${this._translations.linkToArcGISSolutionsHomePage ?? h} class="esri-global-nav__logo-link" href=https://www.esri.com/en-us/arcgis/products/arcgis-solutions/overview @click=${() => this._logLinkClickTelemetry("ArcGIS Solutions")} rel=noopener target=_blank title=${this._translations.linkToArcGISSolutionsHomePage ?? h}>${this._translations.arcgisSolutions}</a></div></div>`;
|
|
295
321
|
}
|
|
296
322
|
_getSubHeading() {
|
|
297
323
|
const e = this._cardType === "deployed" ? this._translations.myDeployments : this._translations.allSolutions;
|
|
298
|
-
return this._subNavigationCard ?
|
|
324
|
+
return this._subNavigationCard ? o`<calcite-navigation class="height-65" slot=navigation-secondary><calcite-menu class="height-65" label slot=content-start><calcite-menu-item breadcrumb .label=${e} @click=${this._navigateFromSubMenu} @keydown=${(t) => c(t, () => this._navigateFromSubMenu())} .text=${e} text-enabled></calcite-menu-item><calcite-menu-item label active .text=${this._subNavigationCard?.title} text-enabled></calcite-menu-item></calcite-menu></calcite-navigation>` : "";
|
|
299
325
|
}
|
|
300
326
|
_getLogoFill(e) {
|
|
301
327
|
return e ? "#FFFFFF" : "#141414";
|
|
302
328
|
}
|
|
303
|
-
_handleMenuClick(e, t,
|
|
304
|
-
|
|
305
|
-
|
|
329
|
+
_handleMenuClick(e, t, n, i) {
|
|
330
|
+
n.forEach((s) => {
|
|
331
|
+
s.value && (this._isMobile ? s.value.selected = !1 : s.value.active = !1);
|
|
306
332
|
}), t?.value && (this._isMobile ? t.value.selected = !0 : t.value.active = !0), e !== "my-content" ? this._activeTab = e : this._viewMyContent(), i && this._logNavClickTelemetry(e), i && this.navTabSelected.emit({ tabType: e });
|
|
307
333
|
}
|
|
308
334
|
_logNavClickTelemetry(e) {
|
|
309
|
-
const
|
|
335
|
+
const n = {
|
|
310
336
|
"all-solutions": "Solutions",
|
|
311
337
|
deployments: "Deployments",
|
|
312
338
|
"my-content": "My Content",
|
|
@@ -314,10 +340,10 @@ class E extends I {
|
|
|
314
340
|
details: void 0,
|
|
315
341
|
"deployed-card": void 0
|
|
316
342
|
}[e];
|
|
317
|
-
|
|
343
|
+
n && this._telemetry?.logEvent({
|
|
318
344
|
category: _.GLOBAL_NAVIGATION,
|
|
319
345
|
action: "Navigate",
|
|
320
|
-
dimensions: [
|
|
346
|
+
dimensions: [n]
|
|
321
347
|
});
|
|
322
348
|
}
|
|
323
349
|
_logLinkClickTelemetry(e) {
|
|
@@ -328,8 +354,8 @@ class E extends I {
|
|
|
328
354
|
});
|
|
329
355
|
}
|
|
330
356
|
_getUserAvatar() {
|
|
331
|
-
const e = this._portal.user, t = this._authentication?.PortalUserSubset,
|
|
332
|
-
return this._thumbnailUrl === "" && (this._thumbnailUrl = e?.thumbnailUrl ?? t?.thumbnailUrl ?? ""),
|
|
357
|
+
const e = this._portal.user, t = this._authentication?.PortalUserSubset, n = e?.id ?? e?.sourceJSON?.id;
|
|
358
|
+
return this._thumbnailUrl === "" && (this._thumbnailUrl = e?.thumbnailUrl ?? t?.thumbnailUrl ?? ""), o`<div class="height-full display-flex cursor-pointer signin-padding"><calcite-navigation-user class="height-full" full-name=${e?.fullName ?? h} id=instant-apps-sign-in-user-button slot=user .thumbnail=${this._thumbnailUrl} .userId=${n} .username=${e?.username}></calcite-navigation-user></div><calcite-popover placement=bottom-end scale=s reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close .label=${this._translations.userSettings}><calcite-action scale=l @click=${this._viewMyContent} .text=${this._translations.myContent} text-enabled></calcite-action><calcite-action scale=l @click=${this._signOut} .text=${this._translations.signOut} text-enabled></calcite-action></calcite-popover>`;
|
|
333
359
|
}
|
|
334
360
|
_viewMyContent() {
|
|
335
361
|
const e = `${this._config?.portalURL}/home/content.html#my`;
|
|
@@ -371,8 +397,8 @@ class E extends I {
|
|
|
371
397
|
this._thumbnailUrl !== "" && (this._thumbnailUrl = k(this._thumbnailUrl, e));
|
|
372
398
|
}
|
|
373
399
|
}
|
|
374
|
-
v("solutions-deploy-app-nav",
|
|
400
|
+
v("solutions-deploy-app-nav", x);
|
|
375
401
|
export {
|
|
376
|
-
|
|
377
|
-
|
|
402
|
+
x as S,
|
|
403
|
+
g as T
|
|
378
404
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const t = `**Purpose** \r
|
|
3
|
+
The Solution Assistant Agent explains **what the AI Assistant is**, **what it can do**, and **how to use it**. It also serves as the **fallback agent** for requests that do not map to other agents.\r
|
|
4
|
+
\r
|
|
5
|
+
**Use this agent when the user is asking about the assistant itself or makes a request unrelated to ArcGIS Solutions.**\r
|
|
6
|
+
\r
|
|
7
|
+
**This agent specializes in:**\r
|
|
8
|
+
- Answering assistant-level questions such as:\r
|
|
9
|
+
- “Who are you?”\r
|
|
10
|
+
- “What can you help me with?”\r
|
|
11
|
+
- “What can I do here?”\r
|
|
12
|
+
- Providing examples of supported questions and workflows\r
|
|
13
|
+
- Politely handling unsupported or off-topic requests\r
|
|
14
|
+
- Redirecting users to supported functionality when possible\r
|
|
15
|
+
\r
|
|
16
|
+
**Typical user signals:**\r
|
|
17
|
+
- Meta questions about the assistant’s capabilities\r
|
|
18
|
+
- Open-ended or exploratory prompts with no clear Solutions intent\r
|
|
19
|
+
- Casual or unrelated requests (for example: jokes, trivia, or opinions)\r
|
|
20
|
+
\r
|
|
21
|
+
**Out of scope:**\r
|
|
22
|
+
- Answering detailed solution questions\r
|
|
23
|
+
- Designing or modifying solutions\r
|
|
24
|
+
\r
|
|
25
|
+
**If the request is about the assistant itself—or doesn’t fit any other agent—route to this agent.**`;
|
|
26
|
+
export {
|
|
27
|
+
t as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const e = `You are the **ArcGIS Solutions assistant**, a helpful guide inside the ArcGIS Solutions app.\r
|
|
3
|
+
\r
|
|
4
|
+
# What You Can Help With\r
|
|
5
|
+
\r
|
|
6
|
+
1. **Explore existing solutions** — Ask me about ArcGIS Solutions and I can help you:\r
|
|
7
|
+
- Discover solutions that fit your needs\r
|
|
8
|
+
- Understand what a solution does, what it requires, and how to deploy, use and configure it\r
|
|
9
|
+
- Search official ArcGIS Solutions documentation for answers\r
|
|
10
|
+
\r
|
|
11
|
+
2. **Build your own solution** — Tell me what you kind of solution you want to build and I can help you:\r
|
|
12
|
+
- Build a new solution for your described use case or workflow\r
|
|
13
|
+
- Design the feature layers with your own fields and choice lists\r
|
|
14
|
+
- Update item titles and descriptions\r
|
|
15
|
+
\r
|
|
16
|
+
# Response Rules\r
|
|
17
|
+
\r
|
|
18
|
+
- Be polite, professional, and direct.\r
|
|
19
|
+
- Use plain, user-focused language.\r
|
|
20
|
+
- Only describe capabilities listed under "What You Can Help With" — do not invent, imply, or elaborate on features beyond what is listed.\r
|
|
21
|
+
- End each reply with a **short, natural invitation** to continue.\r
|
|
22
|
+
\r
|
|
23
|
+
# Off-Topic Requests\r
|
|
24
|
+
\r
|
|
25
|
+
If the user asks something outside the scope above (e.g., jokes, trivia, personal opinions), respond politely in one sentence, acknowledge the request, and redirect to what you can help with.\r
|
|
26
|
+
`;
|
|
27
|
+
export {
|
|
28
|
+
e as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const e = `- User asks to create or build a new solution.\r
|
|
3
|
+
- Agent queries existing ArcGIS solutions to look for potential match.\r
|
|
4
|
+
If a match is found, respond with potential match.\r
|
|
5
|
+
If no match is found, the agent will determine if the users query matches any known template types.\r
|
|
6
|
+
Known templates:\r
|
|
7
|
+
1. field inspections\r
|
|
8
|
+
2. Spatial Data Management\r
|
|
9
|
+
3. Points of interest\r
|
|
10
|
+
The user must also provide a use case. The use case should corrispond with the template type. If no valid use case is provided respond with an empty string.`;
|
|
11
|
+
export {
|
|
12
|
+
e as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const e = `# ArcGIS Solution Builder agent\r
|
|
3
|
+
\r
|
|
4
|
+
You are the **ArcGIS Solution Builder Assistant** - a helpful guide for users working with ArcGIS Solutions.\r
|
|
5
|
+
\r
|
|
6
|
+
You are an assistant that gets a known template type and use case from the user.\r
|
|
7
|
+
\r
|
|
8
|
+
From the user's message, extract:\r
|
|
9
|
+
- 'template': one of the following templates: 'inspections', 'points of interest', 'spatial data management', ''. If you can't determine a template, respond with''.\r
|
|
10
|
+
- 'useCase': when using the inspections template we need to understand what they are inspecting. when using the spatial data management template we need to know what the data represents. When using the points of interest template we need to know what the points represent.`;
|
|
11
|
+
export {
|
|
12
|
+
e as default
|
|
13
|
+
};
|
|
@@ -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
|
+
};
|