@esri/solutions-components 1.1.3 → 1.1.5
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/{ELMBIWAD.js → 2C2YUOLH.js} +2 -2
- package/dist/cdn/{EEX52KRD.js → 2DCQYFBB.js} +2 -2
- package/dist/cdn/{TBUFAKRA.js → 2E4RD2X7.js} +2 -2
- package/dist/cdn/{RVZ5523E.js → 2ME5AFG6.js} +2 -2
- package/dist/cdn/{T6JEYXIT.js → 2PQDAK2K.js} +2 -2
- package/dist/cdn/{IJFAV2SW.js → 2PQFYQTM.js} +2 -2
- package/dist/cdn/{Z2HAYBD7.js → 35YMNKN7.js} +2 -2
- package/dist/cdn/{7RBYRXWN.js → 3BL7G7XQ.js} +2 -2
- package/dist/cdn/{3YP4K4OV.js → 3G2FSEP4.js} +2 -2
- package/dist/cdn/{2H3MHHNZ.js → 3GWQY4PS.js} +2 -2
- package/dist/cdn/{SDKKYG3T.js → 3I5HOJHY.js} +2 -2
- package/dist/cdn/{2FRLUANT.js → 3JE66ZGM.js} +2 -2
- package/dist/cdn/{6MYJZ4IH.js → 3JJFCPWE.js} +1 -1
- package/dist/cdn/{RRH6EQN7.js → 3LB6QRGI.js} +2 -2
- package/dist/cdn/{VDXBCG7S.js → 3N66IKUB.js} +2 -2
- package/dist/cdn/{KTB7RFWA.js → 3NJFBYP7.js} +2 -2
- package/dist/cdn/{HL7R6LGA.js → 3TVSXXWC.js} +2 -2
- package/dist/cdn/3VMHZC76.js +18 -0
- package/dist/cdn/{PR35P6F3.js → 3YQ5GA52.js} +3 -3
- package/dist/cdn/{LCEJEX63.js → 3ZA6SUHX.js} +2 -2
- package/dist/cdn/{WTCI433A.js → 42CDJOAG.js} +2 -2
- package/dist/cdn/{YTWTPLD5.js → 462W4TZ3.js} +1 -1
- package/dist/cdn/{O47Z7HFS.js → 4A2PDSET.js} +2 -2
- package/dist/cdn/{2ER6MOQG.js → 4BY7RVQ6.js} +2 -2
- package/dist/cdn/{D536U4EF.js → 4EUZGKKC.js} +2 -2
- package/dist/cdn/{NC734HGF.js → 4IRYB6TU.js} +2 -2
- package/dist/cdn/{TGCN4ZAH.js → 4LZ24JLH.js} +2 -2
- package/dist/cdn/{6PWGQ66L.js → 4M355TO2.js} +2 -2
- package/dist/cdn/{E27XXCF6.js → 4MGR2VZY.js} +2 -2
- package/dist/cdn/{7XJYGNID.js → 4NN4SBF3.js} +2 -2
- package/dist/cdn/{QAFIXELE.js → 4PPPEP2D.js} +2 -2
- package/dist/cdn/{D3UD7DVJ.js → 4UKLSZZH.js} +2 -2
- package/dist/cdn/4V4FGNHO.js +18 -0
- package/dist/cdn/{NTJX2CYR.js → 4ZHZK26G.js} +2 -2
- package/dist/cdn/{LHTSCULF.js → 53LXS2J5.js} +2 -2
- package/dist/cdn/{ZI64OXHY.js → 55UJGQ5T.js} +2 -2
- package/dist/cdn/{RYDP2HDZ.js → 56PAV2GW.js} +1 -1
- package/dist/cdn/{3ODSPQ4S.js → 5FZ4QAHO.js} +2 -2
- package/dist/cdn/{K6745DII.js → 5GVYMAX2.js} +2 -2
- package/dist/cdn/{QVWFQQ7G.js → 5HUVZF4J.js} +2 -2
- package/dist/cdn/{DTIAJXKU.js → 5X3NIR3F.js} +2 -2
- package/dist/cdn/{GWKZYWIC.js → 5Y4P32WK.js} +2 -2
- package/dist/cdn/{DYDT3L5U.js → 5ZPFAL43.js} +2 -2
- package/dist/cdn/{ALLFY4PP.js → 65KCCSCM.js} +2 -2
- package/dist/cdn/{4KFHBJLQ.js → 66BALOE7.js} +2 -2
- package/dist/cdn/{TA4P4U24.js → 6D2FDEC7.js} +2 -2
- package/dist/cdn/{VRNDBTDK.js → 6HINBBYY.js} +2 -2
- package/dist/cdn/{2ODJXVXK.js → 6JE42A26.js} +2 -2
- package/dist/cdn/{PPPHSH43.js → 6JKRMJTG.js} +1 -1
- package/dist/cdn/{REXGHNNN.js → 6LL65GG4.js} +2 -2
- package/dist/cdn/{HBKMPUP2.js → 6QLD4RZA.js} +1 -1
- package/dist/cdn/{73LPW6HI.js → 6SR62O3L.js} +2 -2
- package/dist/cdn/{WDMP52JQ.js → 6Y36Z3VD.js} +2 -2
- package/dist/cdn/6ZX57Y2E.js +4 -0
- package/dist/cdn/{5BA4B7KE.js → 7CCWACTT.js} +2 -2
- package/dist/cdn/{V2N77ZSU.js → 7ITJCGWV.js} +2 -2
- package/dist/cdn/{H7QIJQ37.js → 7LNZ6SY4.js} +2 -2
- package/dist/cdn/{H6KLL3NL.js → 7OJFHNND.js} +2 -2
- package/dist/cdn/{7NKFLJ7I.js → 7OK6AMVL.js} +2 -2
- package/dist/cdn/{RGVIDYQ6.js → A3Q7GREJ.js} +2 -2
- package/dist/cdn/{S5SB6QCX.js → A6LMQW4G.js} +2 -2
- package/dist/cdn/{V7ZZBRP2.js → AA5T27UA.js} +2 -2
- package/dist/cdn/{P2ACW7TM.js → AD53R4UT.js} +2 -2
- package/dist/cdn/{BE3Z4DUC.js → ADYEQUS5.js} +2 -2
- package/dist/cdn/AGCS637B.js +4 -0
- package/dist/cdn/{JZHCML6E.js → AITESDOH.js} +2 -2
- package/dist/cdn/{NE4DI6BW.js → AKNB5K45.js} +2 -2
- package/dist/cdn/{QRNGGKQC.js → ALPIMORP.js} +2 -2
- package/dist/cdn/{OHWEETJ4.js → AM6R2I4D.js} +3 -3
- package/dist/cdn/{P3PMEIEN.js → ARYNEQL7.js} +3 -3
- package/dist/cdn/{UPG7TEIP.js → AVFSW3TW.js} +2 -2
- package/dist/cdn/{CBOVDRFV.js → AXBSU3HJ.js} +2 -2
- package/dist/cdn/{PMDGKY44.js → B5UH25LU.js} +2 -2
- package/dist/cdn/{GK6NVFHZ.js → BB5ZN34L.js} +2 -2
- package/dist/cdn/{ZBFH2EFC.js → BDWA4NT7.js} +2 -2
- package/dist/cdn/{DB5QJHQQ.js → BFN553OS.js} +2 -2
- package/dist/cdn/{BK7UXXQ2.js → BHH5NNUU.js} +2 -2
- package/dist/cdn/{CCFY7P7U.js → BIT53VHC.js} +2 -2
- package/dist/cdn/{Y7XUD5FA.js → BLVMQ2ZJ.js} +3 -3
- package/dist/cdn/{4AAGIK4R.js → BMSVXQYR.js} +2 -2
- package/dist/cdn/{MCENYFMW.js → BTASWR67.js} +2 -2
- package/dist/cdn/{P57OTIDF.js → BUTBZOLQ.js} +2 -2
- package/dist/cdn/{KW5I4HR7.js → BXDXSN7S.js} +2 -2
- package/dist/cdn/BZZ2NKN7.js +4 -0
- package/dist/cdn/{Z5BGFLSU.js → C2L75ML6.js} +2 -2
- package/dist/cdn/{BNJHXW3M.js → CHMBU7ZZ.js} +2 -2
- package/dist/cdn/{ZD644HR2.js → CJXMS7YJ.js} +2 -2
- package/dist/cdn/{NQTQLODN.js → CPS5G7LV.js} +2 -2
- package/dist/cdn/{VYN7AW7M.js → CR5PKZ4W.js} +2 -2
- package/dist/cdn/{O54ZAB7T.js → CYTWYR7X.js} +2 -2
- package/dist/cdn/{DHK3XFOV.js → CZTW3CID.js} +2 -2
- package/dist/cdn/{BTLX7UFR.js → D6GRAJKG.js} +2 -2
- package/dist/cdn/{CVZQJMJQ.js → DASAW3AM.js} +2 -2
- package/dist/cdn/{JZ4VLHBS.js → DCTIOG7M.js} +1 -1
- package/dist/cdn/{AKJNSKCJ.js → DEYWKS7E.js} +2 -2
- package/dist/cdn/{H3A7OORI.js → DFDISZAD.js} +2 -2
- package/dist/cdn/{JZSRVZRU.js → DFQJCG5D.js} +2 -2
- package/dist/cdn/{DCZMQCXU.js → DGWMURIB.js} +2 -2
- package/dist/cdn/{GL7RXZ2L.js → DH47CO66.js} +1 -1
- package/dist/cdn/{ZEUQ2XUT.js → DHGCOXVG.js} +1 -1
- package/dist/cdn/{67EVCSMZ.js → DKMGPEMO.js} +2 -2
- package/dist/cdn/{HVOJV3PP.js → DOEOHOU6.js} +2 -2
- package/dist/cdn/{MERHP72Z.js → DS4CIOKP.js} +2 -2
- package/dist/cdn/{WSO7FXI5.js → DV3MAPII.js} +2 -2
- package/dist/cdn/{UBFTTJI2.js → DZWMPNPF.js} +2 -2
- package/dist/cdn/{CBKQTORK.js → E6WEKFDH.js} +2 -2
- package/dist/cdn/{4YPEHTUX.js → EDAOFXZZ.js} +1 -1
- package/dist/cdn/{4GVE6BFQ.js → EHBEDCBN.js} +2 -2
- package/dist/cdn/{AQVHN6AM.js → EJUJDS6X.js} +3 -3
- package/dist/cdn/{R3FQCNWE.js → EMAMN44B.js} +2 -2
- package/dist/cdn/{Q7GL2ZYT.js → EQKFP6G5.js} +3 -3
- package/dist/cdn/{NLXYJK4H.js → EVXTOWTJ.js} +1 -1
- package/dist/cdn/{PNBXXGLM.js → EWC7XR6K.js} +2 -2
- package/dist/cdn/{YQVWOTXV.js → EY44JFRF.js} +2 -2
- package/dist/cdn/{MJ3P67SN.js → EY4JC25Z.js} +2 -2
- package/dist/cdn/{EEKD7XQD.js → EYJTKSHW.js} +3 -3
- package/dist/cdn/{JL76YJRI.js → EZEI2XVT.js} +3 -3
- package/dist/cdn/{SVDLZBDS.js → F2OBR3YZ.js} +2 -2
- package/dist/cdn/F5S2PMDU.js +18 -0
- package/dist/cdn/{WYQUK6VR.js → FBC2PSH6.js} +2 -2
- package/dist/cdn/{MYUZRNSY.js → FBSR6LVS.js} +2 -2
- package/dist/cdn/{DJODCYWX.js → FEMMFUE7.js} +2 -2
- package/dist/cdn/{UTEGX7N5.js → FHSAJCRI.js} +1 -1
- package/dist/cdn/FKQWGBQ6.js +18 -0
- package/dist/cdn/{C72CDHNN.js → FOXWWTGP.js} +2 -2
- package/dist/cdn/{RH3BLC4Q.js → FUYDFHFY.js} +2 -2
- package/dist/cdn/{6ZZTUHA6.js → FXATR6VT.js} +1 -1
- package/dist/cdn/{OL25UL3O.js → FXID4LBF.js} +2 -2
- package/dist/cdn/{LENHDPW5.js → FYOSNG4O.js} +2 -2
- package/dist/cdn/{6WORDZKG.js → FZWZ4COT.js} +2 -2
- package/dist/cdn/G2SO3VA3.js +18 -0
- package/dist/cdn/{7VXHACMD.js → G5YDAD5J.js} +2 -2
- package/dist/cdn/{FVSZ6VOF.js → GCUKUGYL.js} +2 -2
- package/dist/cdn/{J5LVD6QC.js → GIYQCD77.js} +2 -2
- package/dist/cdn/{MZ5VTNHY.js → GR5W2JRK.js} +1 -1
- package/dist/cdn/{SG6ZK6MW.js → GY3Q55UV.js} +2 -2
- package/dist/cdn/{ZYIWU5R3.js → GYTTH3QM.js} +3 -3
- package/dist/cdn/{DF6KWCSV.js → H3RQQVHV.js} +2 -2
- package/dist/cdn/{ZGCNRT7I.js → H4R6RBSR.js} +2 -2
- package/dist/cdn/{3KAMA7IW.js → HAXFVOBD.js} +2 -2
- package/dist/cdn/{IIGTVH52.js → HFGXGOML.js} +2 -2
- package/dist/cdn/{6TD6ORJT.js → HFTLCY67.js} +1 -1
- package/dist/cdn/{O63FAHCT.js → HJ4CBAOI.js} +1 -1
- package/dist/cdn/{ICTMP3P3.js → HJAQTCS6.js} +1 -1
- package/dist/cdn/{5FQPSA2W.js → HNYRXGO4.js} +2 -2
- package/dist/cdn/{VKZHDM2Y.js → HPTION7V.js} +2 -2
- package/dist/cdn/{QJKMWAAC.js → HS3HXJAE.js} +2 -2
- package/dist/cdn/{FSQWEULB.js → HXGSRCIU.js} +2 -2
- package/dist/cdn/{AMFRPTVX.js → IAABYYHR.js} +3 -3
- package/dist/cdn/{UM3APEK5.js → IHONVMMQ.js} +2 -2
- package/dist/cdn/{H43YAQQN.js → IN4GUM3K.js} +1 -1
- package/dist/cdn/{VX5VG62X.js → INGJSHOC.js} +2 -2
- package/dist/cdn/{ZTMFKT2Q.js → INVWKXP4.js} +2 -2
- package/dist/cdn/{4JQQITKV.js → IPRVH4RI.js} +2 -2
- package/dist/cdn/IQO52XQI.js +4 -0
- package/dist/cdn/{2CJMFJBA.js → IT2BGFCD.js} +2 -2
- package/dist/cdn/{XNQ5QT6U.js → IWN5SZ6F.js} +3 -3
- package/dist/cdn/{HIVWWPPK.js → IWYNMFCO.js} +2 -2
- package/dist/cdn/{6LTQY6WH.js → IYNSYD6A.js} +2 -2
- package/dist/cdn/{MONKCYHH.js → J3GYQQE6.js} +2 -2
- package/dist/cdn/{4MTTBD2G.js → J3PGCQNO.js} +2 -2
- package/dist/cdn/{MQKM4EHF.js → J4CEND6E.js} +2 -2
- package/dist/cdn/{A2V4GLJF.js → JE4Y5P6H.js} +2 -2
- package/dist/cdn/JFV4L2BS.js +18 -0
- package/dist/cdn/{FRRUWG5E.js → JKT3GWJQ.js} +2 -2
- package/dist/cdn/JM7G4MEF.js +4 -0
- package/dist/cdn/{ZN24RTJW.js → JMHCQCEV.js} +1 -1
- package/dist/cdn/{JHSRUJD4.js → JO7JZRYA.js} +2 -2
- package/dist/cdn/{LXICUEGW.js → JQLSAJAY.js} +2 -2
- package/dist/cdn/{6DRUDUXD.js → JUHUWE6N.js} +2 -2
- package/dist/cdn/{URVV4JO7.js → K54VMEGQ.js} +2 -2
- package/dist/cdn/{Z3HE34UY.js → KKJYUEQV.js} +2 -2
- package/dist/cdn/{CTFHZAMW.js → KZLP7P6V.js} +2 -2
- package/dist/cdn/{FF7OJF4K.js → L6QRRVEI.js} +2 -2
- package/dist/cdn/{MIMKIEMB.js → L6S6YTH3.js} +2 -2
- package/dist/cdn/{ZJ6CHGOT.js → L7HOMDZU.js} +2 -2
- package/dist/cdn/{KBLPMITD.js → LAOJHBJU.js} +2 -2
- package/dist/cdn/LBI35WMC.js +18 -0
- package/dist/cdn/{6GAJQWJK.js → LCFNGDXM.js} +2 -2
- package/dist/cdn/LDGJRLE3.js +18 -0
- package/dist/cdn/{6OGJVPTT.js → LJXUWLDL.js} +2 -2
- package/dist/cdn/{HXWRLU4Z.js → LOSISHU3.js} +2 -2
- package/dist/cdn/LSSYIGV3.js +18 -0
- package/dist/cdn/{DBIIMNFE.js → LYD27ORL.js} +2 -2
- package/dist/cdn/{NWPHO7QU.js → M2CS4EMN.js} +2 -2
- package/dist/cdn/{U3I7HVKD.js → M4ISN42P.js} +2 -2
- package/dist/cdn/{WVCJRRZI.js → M4NZ7ACL.js} +2 -2
- package/dist/cdn/{OQBVEYHJ.js → MBGFUZAJ.js} +2 -2
- package/dist/cdn/{NFBFHGJM.js → MBQWZGFR.js} +1 -1
- package/dist/cdn/{WOKAPPDI.js → MCF6S7SI.js} +2 -2
- package/dist/cdn/{4BVRGUY2.js → MD4GFP2I.js} +2 -2
- package/dist/cdn/{OSLENSGJ.js → MDXIELV5.js} +3 -3
- package/dist/cdn/{55MHANOS.js → MIAM4WSN.js} +2 -2
- package/dist/cdn/{NZXLPD46.js → MLPHTVAZ.js} +2 -2
- package/dist/cdn/{DGRK3TQM.js → MM6ALYAZ.js} +2 -2
- package/dist/cdn/{XBYYQKMP.js → MME3KBVR.js} +2 -2
- package/dist/cdn/{IEAOBFZY.js → MNEYQVPV.js} +2 -2
- package/dist/cdn/{K7LJKKJU.js → MQ4D3TAQ.js} +2 -2
- package/dist/cdn/{D5KX77I4.js → MQD27EL6.js} +1 -1
- package/dist/cdn/{U7XWDKUG.js → MV45U2M4.js} +2 -2
- package/dist/cdn/{KDDYXVIK.js → MWJGZ3GM.js} +1 -1
- package/dist/cdn/{UB33CAPW.js → MWWNUJMG.js} +2 -2
- package/dist/cdn/{3Y6LJKSE.js → MYAFAQEX.js} +2 -2
- package/dist/cdn/{66K5WNGM.js → N2VUT2CM.js} +2 -2
- package/dist/cdn/{PKODL3IY.js → N66UCV4O.js} +2 -2
- package/dist/cdn/{BGWP4TWF.js → N7ACVHXU.js} +2 -2
- package/dist/cdn/NB52BCP7.js +4 -0
- package/dist/cdn/{J3RW66HD.js → NIH454OI.js} +2 -2
- package/dist/cdn/{7MZHWXYE.js → NJTTWM2O.js} +2 -2
- package/dist/cdn/{RJSKVAPJ.js → NLSPE5NE.js} +2 -2
- package/dist/cdn/{3RWNFAPL.js → NO34BS3Y.js} +2 -2
- package/dist/cdn/{BHGPZPHI.js → NOAD3FB4.js} +2 -2
- package/dist/cdn/{SK3BSYR6.js → NONG5KLI.js} +2 -2
- package/dist/cdn/{EQU7VQR5.js → NS3JF257.js} +2 -2
- package/dist/cdn/{JXLMZTLR.js → NUY2Z2SB.js} +2 -2
- package/dist/cdn/{VIAY63N5.js → O3CHJ5GR.js} +2 -2
- package/dist/cdn/{4GYIRCZH.js → O3ZLPXJL.js} +2 -2
- package/dist/cdn/{QFBNO2BR.js → OBJATNQT.js} +2 -2
- package/dist/cdn/{ISPJ6574.js → OCG4AVVF.js} +2 -2
- package/dist/cdn/{FHJ4M7DA.js → OI4GE5AO.js} +2 -2
- package/dist/cdn/{HW3QVY3J.js → OPMYWOFX.js} +2 -2
- package/dist/cdn/{TTPUU3XB.js → OQINWQHN.js} +2 -2
- package/dist/cdn/{3GOUCDDA.js → OQKZ3XHU.js} +3 -3
- package/dist/cdn/{MY3N7U5P.js → ORDACAET.js} +2 -2
- package/dist/cdn/ORMNGKPR.js +18 -0
- package/dist/cdn/{EC6U73YO.js → OSMUWE33.js} +4 -4
- package/dist/cdn/{FHNXSYL5.js → OVW3UKZG.js} +2 -2
- package/dist/cdn/{5Y5BCNBZ.js → OYM7PRZW.js} +1 -1
- package/dist/cdn/{WPG2KAE5.js → P55ATIMI.js} +2 -2
- package/dist/cdn/{OA35H2QI.js → P5MUHJOV.js} +2 -2
- package/dist/cdn/{D2SUNNM7.js → PAPCUPJA.js} +2 -2
- package/dist/cdn/PFFQPOXY.js +18 -0
- package/dist/cdn/{AI66XIFT.js → PG5OHQ7C.js} +2 -2
- package/dist/cdn/{A7MJEB4E.js → PH3GJLXH.js} +2 -2
- package/dist/cdn/{4U2ESZU7.js → PJZ4SPKQ.js} +2 -2
- package/dist/cdn/{CXXZCUA4.js → PLKRFEVD.js} +2 -2
- package/dist/cdn/{MXEEAG4T.js → PNN2Q75K.js} +2 -2
- package/dist/cdn/{HSYIVPVV.js → PRN73PNP.js} +2 -2
- package/dist/cdn/{KL4GBIBS.js → PWOXB7VX.js} +1 -1
- package/dist/cdn/{UD3IFRJD.js → Q2HZGMSC.js} +2 -2
- package/dist/cdn/{MFQJ5VIS.js → QBOMJSQQ.js} +2 -2
- package/dist/cdn/QEJIS5UR.js +4 -0
- package/dist/cdn/{NMKJX5UX.js → QGF7ZFJN.js} +2 -2
- package/dist/cdn/{YJWA6MWV.js → QGKPU7KR.js} +2 -2
- package/dist/cdn/QIXQVRBK.js +18 -0
- package/dist/cdn/QWVCH4SD.js +4 -0
- package/dist/cdn/{OMQWU6Y5.js → R43OR7W5.js} +2 -2
- package/dist/cdn/{D6EWYXTL.js → R4MIR22R.js} +1 -1
- package/dist/cdn/{XNOOSNTL.js → R6COI5BF.js} +2 -2
- package/dist/cdn/{J6MAICJS.js → RB5YEX2Z.js} +2 -2
- package/dist/cdn/{WTERFQYN.js → RBV7YLCJ.js} +2 -2
- package/dist/cdn/{JWCALNWP.js → RCEIWCOF.js} +2 -2
- package/dist/cdn/{NPRBSDU4.js → RDATT53Q.js} +2 -2
- package/dist/cdn/{A4CPLF7K.js → RDI7ZMKQ.js} +1 -1
- package/dist/cdn/{QN6RG3TG.js → RG3CO4VX.js} +1 -1
- package/dist/cdn/{HHXO7JFY.js → RLHKPRUD.js} +2 -2
- package/dist/cdn/{TAQYO7DA.js → RRUNAIZ6.js} +2 -2
- package/dist/cdn/{3TIVP7ZT.js → RYDCMXAK.js} +2 -2
- package/dist/cdn/{AKCNGWL7.js → RZDZPK7T.js} +2 -2
- package/dist/cdn/{JKYSWQNH.js → S2TWQ4CP.js} +2 -2
- package/dist/cdn/{CL3HIMLD.js → S44CBZC3.js} +2 -2
- package/dist/cdn/{JNXQOCX5.js → S5JGRR7J.js} +2 -2
- package/dist/cdn/{BD5DMPRX.js → SB75RNE4.js} +2 -2
- package/dist/cdn/{54MX64OW.js → SBT5QK3G.js} +2 -2
- package/dist/cdn/{UXEYORBF.js → SFJULDEM.js} +2 -2
- package/dist/cdn/{7NJMQPTF.js → SITOCVPD.js} +2 -2
- package/dist/cdn/{HK4T6EQA.js → SJIPL5ND.js} +1 -1
- package/dist/cdn/{4QWQTEX2.js → SLEP5FPP.js} +2 -2
- package/dist/cdn/{G3OMPKZM.js → SM3QZXOO.js} +1 -1
- package/dist/cdn/{3ZCXZTSQ.js → SPWZIAIS.js} +2 -2
- package/dist/cdn/{KS4OMGOD.js → SRZEDXVZ.js} +2 -2
- package/dist/cdn/{VPOEQXZU.js → T4JMND5P.js} +2 -2
- package/dist/cdn/{FB6CNJND.js → T6NTJXMA.js} +2 -2
- package/dist/cdn/{2Z76VPGI.js → T6S7BM5U.js} +2 -2
- package/dist/cdn/TD3IDPA7.js +4 -0
- package/dist/cdn/{AH4OTLQ3.js → TEI5U73N.js} +3 -3
- package/dist/cdn/{BJZZT5RK.js → TFDVKBSL.js} +2 -2
- package/dist/cdn/{UO4LB2TD.js → TKJKLDLJ.js} +2 -2
- package/dist/cdn/{7JZ5LMUI.js → TM22XK2S.js} +2 -2
- package/dist/cdn/{5Z7A2SAC.js → TRG2M7TD.js} +2 -2
- package/dist/cdn/{6D2BWWQ3.js → TSE4T2RO.js} +2 -2
- package/dist/cdn/{UJAV7SOQ.js → U7VDTXKM.js} +1 -1
- package/dist/cdn/{2QUKXPZR.js → UCM5SJBM.js} +1 -1
- package/dist/cdn/{MXA4ABJF.js → UDBSTG6M.js} +3 -3
- package/dist/cdn/{PS6QJQU2.js → UH72XJFE.js} +2 -2
- package/dist/cdn/{J3UJ5U4N.js → UHMAXMMA.js} +2 -2
- package/dist/cdn/{TMLIPXIG.js → US6JIWX6.js} +2 -2
- package/dist/cdn/{32ATILL5.js → UTIBE4GW.js} +2 -2
- package/dist/cdn/{ZV326LBT.js → UUI2EKSS.js} +2 -2
- package/dist/cdn/{64766I5C.js → UVXT5MFM.js} +2 -2
- package/dist/cdn/{VHFFJRBJ.js → UY4DZODA.js} +2 -2
- package/dist/cdn/{JX2FUTAK.js → UYRBQI24.js} +2 -2
- package/dist/cdn/{KTWNZFXC.js → V4OWJV6O.js} +2 -2
- package/dist/cdn/{VPMGMIME.js → V5OTK5GF.js} +2 -2
- package/dist/cdn/{NQIIEYW2.js → V7CY4CCG.js} +2 -2
- package/dist/cdn/{COTPDOLY.js → VBUY7UZD.js} +2 -2
- package/dist/cdn/{BLJWLTAA.js → VKCWXM4P.js} +2 -2
- package/dist/cdn/{QNKV7QXW.js → VNLXAJ6K.js} +2 -2
- package/dist/cdn/{V23JMWA3.js → VSX6NU7T.js} +2 -2
- package/dist/cdn/{UZNODMNX.js → VXVLX7HU.js} +2 -2
- package/dist/cdn/{ZJCS556L.js → W2AQFMX6.js} +3 -3
- package/dist/cdn/{4X5X3NXC.js → W3FLI2DJ.js} +1 -1
- package/dist/cdn/{S2FPTWXG.js → W4W2KD2Z.js} +2 -2
- package/dist/cdn/{LHDI547F.js → WAKNLU4H.js} +2 -2
- package/dist/cdn/{QAWH7MKI.js → WHBCGNOV.js} +2 -2
- package/dist/cdn/{TCID2DB5.js → WHX66U6W.js} +2 -2
- package/dist/cdn/{6HYYQES4.js → WK7M23ZV.js} +2 -2
- package/dist/cdn/{JHOQTN2S.js → WLNT25ZL.js} +1 -1
- package/dist/cdn/{4UCWAUCV.js → WRZVIHB2.js} +2 -2
- package/dist/cdn/{SX7UPBDJ.js → WSVBZSJV.js} +1 -1
- package/dist/cdn/{5AUXWWFV.js → WV5CYPT4.js} +2 -2
- package/dist/cdn/{45MDLMP7.js → WVZOAXTK.js} +2 -2
- package/dist/cdn/{QB4S3FEB.js → WYZY5MEG.js} +1 -1
- package/dist/cdn/{K3XMCHTM.js → X2HMOVDC.js} +1 -1
- package/dist/cdn/{2WMJ555U.js → X3IFM44Z.js} +2 -2
- package/dist/cdn/{BEVDAMCL.js → X7Q7WOAP.js} +2 -2
- package/dist/cdn/{FL4YGWKB.js → XCEVRWR2.js} +2 -2
- package/dist/cdn/{CW5ZISPI.js → XCI5GOCP.js} +2 -2
- package/dist/cdn/{4XM7DRTD.js → XF4Y7YWD.js} +2 -2
- package/dist/cdn/{NG6VFQFD.js → XJ4TOB2R.js} +1 -1
- package/dist/cdn/{6HRHOQDC.js → XJJLFFTP.js} +2 -2
- package/dist/cdn/{7QKWZ3QG.js → XLOESN2G.js} +1 -1
- package/dist/cdn/{N7ANNTFH.js → XSDSXIZG.js} +2 -2
- package/dist/cdn/{ZHMRFTFN.js → Y56EPUPH.js} +2 -2
- package/dist/cdn/{X7KPSSXW.js → Y6DBN623.js} +2 -2
- package/dist/cdn/{647SSUOR.js → Y6GBF64F.js} +2 -2
- package/dist/cdn/{46N6YTN4.js → YFHVP5OF.js} +1 -1
- package/dist/cdn/{EF4FU5MQ.js → YIDOMZG4.js} +2 -2
- package/dist/cdn/{ERGIC6D6.js → YNY5DID2.js} +2 -2
- package/dist/cdn/YTDVJSJX.js +18 -0
- package/dist/cdn/{ZBVYCUUE.js → YV47DKV7.js} +2 -2
- package/dist/cdn/{PA2GPNXE.js → Z3SZUCLO.js} +2 -2
- package/dist/cdn/{JPDMQZUK.js → Z4CHNTUR.js} +2 -2
- package/dist/cdn/{B47TEQB4.js → Z7DYXKP6.js} +2 -2
- package/dist/cdn/{3O5OPBC4.js → ZADKZYIV.js} +1 -1
- package/dist/cdn/{KPN3DJIV.js → ZDSUTEMS.js} +3 -3
- package/dist/cdn/{ZATVZJSM.js → ZFBF24KI.js} +2 -2
- package/dist/cdn/{Z24VIS5S.js → ZIRG4OIM.js} +2 -2
- package/dist/cdn/{PBKTRBPS.js → ZNYW4F3Z.js} +2 -2
- package/dist/cdn/{TDEPYWWK.js → ZPKXYV6G.js} +2 -2
- package/dist/cdn/ZPQEOXHC.js +18 -0
- package/dist/cdn/ZQ4VMSJQ.js +18 -0
- package/dist/cdn/{2RVFCA7L.js → ZZOCPA5X.js} +2 -2
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +117 -9
- package/dist/components/arcgis-solutions-assistant/customElement.js +243 -63
- package/dist/components/arcgis-solutions-assistant/index.d.ts +5 -5
- package/dist/components/arcgis-solutions-assistant/index.js +5 -5
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +6 -0
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +3 -3
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +5 -5
- package/dist/components/map-card/customElement.js +8 -8
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +6 -0
- package/dist/components/map-layer-picker/customElement.js +25 -19
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +22 -19
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +7 -7
- package/dist/components/solution-details-panel/customElement.js +25 -28
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +13 -9
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +2 -2
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +2 -0
- package/dist/components/solutions-all-panel/customElement.js +48 -40
- package/dist/components/solutions-all-panel/index.d.ts +1 -0
- package/dist/components/solutions-all-panel/index.js +1 -0
- package/dist/components/solutions-all-shell/customElement.js +44 -36
- package/dist/components/solutions-deploy-app/customElement.js +19 -20
- package/dist/components/solutions-deploy-app-nav/customElement.js +33 -27
- package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -2
- package/dist/components/solutions-deploy-app-nav/index.js +5 -2
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +7 -7
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +12 -0
- package/dist/components/solutions-filter-panel/customElement.js +77 -60
- package/dist/components/solutions-filter-panel/index.d.ts +1 -0
- package/dist/components/solutions-filter-panel/index.js +1 -0
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +77 -38
- package/dist/components/solutions-resources/index.d.ts +2 -1
- package/dist/components/solutions-resources/index.js +2 -1
- package/dist/components/solutions-resources-shell/customElement.js +12 -12
- package/dist/components/solutions-searchsort-toolbar/customElement.js +31 -29
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +410 -32
- package/dist/docs/docs.json +372 -23
- package/dist/docs/vscode.html-custom-data.json +37 -5
- package/dist/docs/web-types.json +109 -17
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +5 -4
- package/dist/types/preact.d.ts +5 -4
- package/dist/types/preact10.d.ts +5 -4
- package/dist/types/react.d.ts +5 -4
- package/dist/types/stencil.d.ts +5 -4
- package/dist/utils/interfaces.d.ts +7 -2
- package/package.json +1 -1
- package/dist/cdn/2INAA7RT.js +0 -18
- package/dist/cdn/6KOI3W3R.js +0 -18
- package/dist/cdn/6TVC6S4Y.js +0 -18
- package/dist/cdn/6USF6QAM.js +0 -18
- package/dist/cdn/6ZBLXSXD.js +0 -18
- package/dist/cdn/7YHDNEYY.js +0 -18
- package/dist/cdn/CAWPXFWU.js +0 -18
- package/dist/cdn/CSXY6EW2.js +0 -18
- package/dist/cdn/EIMD5MST.js +0 -18
- package/dist/cdn/FHGDKMEF.js +0 -4
- package/dist/cdn/FSJAKDHQ.js +0 -18
- package/dist/cdn/GAH72T7S.js +0 -4
- package/dist/cdn/LOUGJ6XQ.js +0 -4
- package/dist/cdn/NPDEUPTW.js +0 -18
- package/dist/cdn/O3LRUXCM.js +0 -18
- package/dist/cdn/OY6GRXLH.js +0 -4
- package/dist/cdn/RWZ3Z5DO.js +0 -4
- package/dist/cdn/UHW7AOH5.js +0 -18
- package/dist/cdn/UZSZTWRW.js +0 -4
- package/dist/cdn/WZNP6TVG.js +0 -18
- package/dist/cdn/Y3A3KHKJ.js +0 -4
- package/dist/cdn/Z3V4ODRX.js +0 -18
- package/dist/cdn/Z4EEG2E3.js +0 -4
- package/dist/cdn/ZH5JETIN.js +0 -4
|
@@ -1,29 +1,137 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { PropertyValueMap, PropertyValues } from 'lit';
|
|
4
|
+
import { SolutionResponse } from './utils/querySolutions';
|
|
5
|
+
export type SolutionSchema = {
|
|
6
|
+
title: string;
|
|
7
|
+
snippet: string;
|
|
8
|
+
id: string;
|
|
9
|
+
reply?: string;
|
|
10
|
+
ref?: [
|
|
11
|
+
{
|
|
12
|
+
url: string;
|
|
13
|
+
title: string;
|
|
14
|
+
}
|
|
15
|
+
];
|
|
16
|
+
followupQuestions?: unknown[];
|
|
17
|
+
};
|
|
18
|
+
export type RecommendSolution = {
|
|
19
|
+
title: string;
|
|
20
|
+
snippet: string;
|
|
21
|
+
thumbnail: string;
|
|
22
|
+
score: number;
|
|
23
|
+
};
|
|
24
|
+
export type RecommendSolutionSchema = {
|
|
25
|
+
summary: string;
|
|
26
|
+
results: RecommendSolution[];
|
|
27
|
+
};
|
|
3
28
|
export type ConversationStore = {
|
|
4
29
|
conversationId: string | null;
|
|
5
|
-
inquiryId
|
|
6
|
-
ackSequenceNumber
|
|
30
|
+
inquiryId?: string | null;
|
|
31
|
+
ackSequenceNumber?: number | null;
|
|
32
|
+
context?: ConversationContext;
|
|
33
|
+
};
|
|
34
|
+
export type ConversationRequestContext = {
|
|
35
|
+
kind: string;
|
|
36
|
+
debug: boolean;
|
|
37
|
+
};
|
|
38
|
+
export type ConversationRequest = {
|
|
39
|
+
message?: string | null;
|
|
40
|
+
conversationId?: string | null;
|
|
41
|
+
context?: ConversationRequestContext;
|
|
7
42
|
};
|
|
8
43
|
export type ConversationResponse = {
|
|
9
44
|
conversationId: string;
|
|
10
45
|
inquiryId: string;
|
|
11
46
|
sequenceNumber: number;
|
|
12
47
|
message?: string | null;
|
|
13
|
-
context?:
|
|
14
|
-
author: 'ai' | 'human' | 'system';
|
|
15
|
-
intent: string;
|
|
16
|
-
};
|
|
48
|
+
context?: ConversationContext;
|
|
17
49
|
hasMore: boolean;
|
|
18
50
|
};
|
|
51
|
+
export type ConversationContext = {
|
|
52
|
+
kind: string;
|
|
53
|
+
author?: 'ai' | 'human';
|
|
54
|
+
intent?: 'Recommend solution' | 'Solution question' | 'Other';
|
|
55
|
+
results?: SuggestedSolutions[] | DocAssistantResultContext[] | unknown[];
|
|
56
|
+
};
|
|
57
|
+
export type DisplayMessage = {
|
|
58
|
+
message: string;
|
|
59
|
+
inquiryId: string;
|
|
60
|
+
author: 'human' | 'ai' | 'system';
|
|
61
|
+
render?: JsxNode;
|
|
62
|
+
};
|
|
19
63
|
export type MessageResponse = {
|
|
20
64
|
response?: string;
|
|
21
65
|
message?: unknown;
|
|
22
66
|
};
|
|
67
|
+
export type SuggestedSolutions = {
|
|
68
|
+
title: string;
|
|
69
|
+
snippet: string;
|
|
70
|
+
thumbnail: string;
|
|
71
|
+
};
|
|
72
|
+
export type DocAssistantResultContext = {
|
|
73
|
+
reply: string;
|
|
74
|
+
ref: DocAssistantResultRef[];
|
|
75
|
+
followupQuestions: string[];
|
|
76
|
+
status: DocAssistantResultStatus;
|
|
77
|
+
};
|
|
78
|
+
export type DocAssistantResultRef = {
|
|
79
|
+
url: string;
|
|
80
|
+
title: string;
|
|
81
|
+
score: number;
|
|
82
|
+
product: string;
|
|
83
|
+
productMatch: boolean;
|
|
84
|
+
};
|
|
85
|
+
export type DocAssistantResultStatus = {
|
|
86
|
+
currentStatusMessage: string;
|
|
87
|
+
currentStatusStep: number;
|
|
88
|
+
};
|
|
23
89
|
|
|
24
90
|
export declare class ArcgisSolutionsAssistant extends LitElement {
|
|
25
|
-
/**
|
|
26
|
-
|
|
91
|
+
/**
|
|
92
|
+
* Define the AI server to access
|
|
93
|
+
*
|
|
94
|
+
* @default 'https://aiservices-beta.arcgis.com/'
|
|
95
|
+
*/
|
|
96
|
+
serverRoot: string;
|
|
97
|
+
/** Define the Solutions chat endpoint */
|
|
98
|
+
solutionAIurl: string;
|
|
99
|
+
/** Define the Doc Assistant chat endpoint */
|
|
100
|
+
docAIurl: string;
|
|
101
|
+
/** Define the authentication for requests */
|
|
27
102
|
token: string | null;
|
|
28
|
-
|
|
103
|
+
/**
|
|
104
|
+
* Flag to open or close panel
|
|
105
|
+
*
|
|
106
|
+
* @default false
|
|
107
|
+
*/
|
|
108
|
+
open: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Submits a query to the AI Assitant based on what is in the input textarea.
|
|
111
|
+
* If there is an exisitng conversation, the conversation id is also sent along.
|
|
112
|
+
*/
|
|
113
|
+
handleSendMessage(): Promise<void>;
|
|
114
|
+
/**
|
|
115
|
+
* Calls the AI (polling) until there is no additional requests.
|
|
116
|
+
* Along the way id there is a message or context, process and show.
|
|
117
|
+
* If it is solution question, start off a new request to Doc Assistant.
|
|
118
|
+
*
|
|
119
|
+
* @param parameter stores the conversation and inquiry id
|
|
120
|
+
* @param token the authenticated user session
|
|
121
|
+
* @param requestURL AI server to request
|
|
122
|
+
*/
|
|
123
|
+
loopRequest(parameter: ConversationResponse, token: string, requestURL: string): Promise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* Request sent to the AI server via fetch.
|
|
126
|
+
* ALong the way id there is a message or context, process and show.
|
|
127
|
+
*
|
|
128
|
+
* @param requestInfo the request object to send to the server
|
|
129
|
+
* @param token the authenticated user session
|
|
130
|
+
* @param requestURL AI server to request
|
|
131
|
+
*/
|
|
132
|
+
requestAIServer(requestInfo: unknown, token: string, requestURL: string): Promise<ConversationResponse>;
|
|
133
|
+
/** Resets the message history and clears the chat window. */
|
|
134
|
+
resetChat(): void;
|
|
135
|
+
/** Emitted on demand when cards are fetched */
|
|
136
|
+
readonly closeAssistant: TargetedEvent<this, boolean>;
|
|
29
137
|
}
|
|
@@ -1,81 +1,261 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
+
import { ref as u } from "lit/directives/ref.js";
|
|
3
|
+
import { u as p } from "../../chunks/useT9n.js";
|
|
4
|
+
import { LitElement as g, createEvent as m, safeClassMap as v, nothing as d } from "@arcgis/lumina";
|
|
5
|
+
import { css as f, html as a } from "lit";
|
|
5
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
7
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
7
|
-
v1.1.
|
|
8
|
-
const
|
|
9
|
-
|
|
8
|
+
v1.1.5 */
|
|
9
|
+
const b = f`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-panel-header-background-color: var(--calcite-color-brand);--calcite-panel-action-background-color: var(--calcite-color-brand);--calcite-panel-heading-text-color: var(--calcite-color-background);--calcite-dialog-min-size-y: 70vh;--calcite-dialog-max-size-y: 90vh}.chat-messages{display:flex;flex-direction:column;gap:12px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-background);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.chip-content-div{padding-top:10px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-height:132px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}`, x = "https://www.arcgis.com/sharing/rest/content/items/";
|
|
10
|
+
async function y(r) {
|
|
11
|
+
return await _(r);
|
|
12
|
+
}
|
|
13
|
+
async function _(r) {
|
|
14
|
+
const e = x + r + "?f=json";
|
|
15
|
+
try {
|
|
16
|
+
const t = await fetch(
|
|
17
|
+
e,
|
|
18
|
+
{ method: "GET" }
|
|
19
|
+
);
|
|
20
|
+
if (!t.ok)
|
|
21
|
+
throw new Error(`HTTP error! Status: ${t.status}`);
|
|
22
|
+
return await t.json();
|
|
23
|
+
} catch (t) {
|
|
24
|
+
return { error: t.message };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
class S extends g {
|
|
10
28
|
constructor() {
|
|
11
|
-
super(
|
|
12
|
-
if (!this.inputRef?.value.trim())
|
|
13
|
-
return;
|
|
14
|
-
this._isLoading = !0;
|
|
15
|
-
const e = this.inputRef.value.trim();
|
|
16
|
-
let i = { message: e };
|
|
17
|
-
if (this.conversationStore.conversationId !== null) {
|
|
18
|
-
if (i = {
|
|
19
|
-
message: e,
|
|
20
|
-
conversationId: this.conversationStore.conversationId
|
|
21
|
-
}, this.token) {
|
|
22
|
-
const s = await this.requestAIServer(i, this.token);
|
|
23
|
-
this.loopRequest(s, this.token);
|
|
24
|
-
}
|
|
25
|
-
} else if (this.token) {
|
|
26
|
-
const s = await this.requestAIServer(i, this.token);
|
|
27
|
-
this.conversationStore.conversationId = s.conversationId, this.conversationStore.inquiryId = s.inquiryId, this.conversationStore.ackSequenceNumber = s.sequenceNumber, this.loopRequest(s, this.token);
|
|
28
|
-
}
|
|
29
|
-
this.inputRef.value = "";
|
|
30
|
-
}, this.loopRequest = async (e, i) => {
|
|
31
|
-
const s = {
|
|
32
|
-
conversationId: e.conversationId,
|
|
33
|
-
ackSequenceNumber: e.sequenceNumber,
|
|
34
|
-
inquiryId: e.inquiryId
|
|
35
|
-
}, t = await this.requestAIServer(s, i);
|
|
36
|
-
t.hasMore ? (t.message && t.message !== null && (this._isValidJson(t.message) !== !1 ? (this.jsonMessage = this._isValidJson(t.message), t.context?.intent === "inspection" ? this.messages = [...this.messages, { text: this.jsonMessage, sender: t.context.author, format: "json", inquiryId: t.inquiryId }] : t.context && (this.jsonMessage.response && this.jsonMessage.response === "no" ? (this._resetConversation(), this.messages = [...this.messages, { text: "What else can I help you with?", sender: t.context.author, format: "text", inquiryId: t.inquiryId }]) : this.messages = [...this.messages, { text: this.jsonMessage.message, sender: t.context.author, format: "text", inquiryId: t.inquiryId }])) : t.context && (this.messages = [...this.messages, { text: t.message, sender: t.context.author, format: "text", inquiryId: t.inquiryId }])), this.loopRequest(t, i)) : this._isLoading = !1;
|
|
37
|
-
}, this.requestAIServer = async (e, i) => await fetch(this.AIServerUrl, {
|
|
38
|
-
method: "POST",
|
|
39
|
-
headers: {
|
|
40
|
-
"Content-Type": "application/json",
|
|
41
|
-
token: i
|
|
42
|
-
},
|
|
43
|
-
body: JSON.stringify(e)
|
|
44
|
-
}).then(async (s) => await s.json()).then((s) => s || "error").catch((s) => s), this.resetChat = () => {
|
|
45
|
-
this._resetConversation(), this.messages = [], this.inputRef && (this.inputRef.value = "");
|
|
46
|
-
}, this._isValidJson = (e) => {
|
|
47
|
-
try {
|
|
48
|
-
return JSON.parse(e);
|
|
49
|
-
} catch {
|
|
50
|
-
return !1;
|
|
51
|
-
}
|
|
52
|
-
}, this._resetConversation = () => {
|
|
53
|
-
this.conversationStore.conversationId = null, this.conversationStore.inquiryId = null, this.conversationStore.ackSequenceNumber = null;
|
|
54
|
-
}, this._setRef = (e) => {
|
|
55
|
-
this.inputRef = e;
|
|
56
|
-
}, this.conversationStore = {
|
|
29
|
+
super(), this.serverRoot = "https://aiservices-beta.arcgis.com/", this.solutionAIurl = `${this.serverRoot}skills/solution_deployment/chat`, this.docAIurl = `${this.serverRoot}skills/doc_ai_assistant/chat`, this.token = null, this.open = !1, this.conversationStore = {
|
|
57
30
|
conversationId: null,
|
|
58
31
|
inquiryId: null,
|
|
59
32
|
ackSequenceNumber: null
|
|
60
|
-
}, this.
|
|
33
|
+
}, this._isLoading = !1, this._isLoadingText = "", this.messages = [], this._translations = p({ name: "arcgis-solutions-assistant", blocking: !0 }), this.closeAssistant = m(), this._resetConversation = () => {
|
|
34
|
+
this.conversationStore.conversationId = null, this.conversationStore.inquiryId = null, this.conversationStore.ackSequenceNumber = null;
|
|
35
|
+
}, this._setMessageContainerRef = (e) => {
|
|
36
|
+
this._chatContainer = e;
|
|
37
|
+
}, this._setInputRef = (e) => {
|
|
38
|
+
this._inputRef = e, this._inputRef.addEventListener("keydown", (t) => {
|
|
39
|
+
t.key === "Enter" && !t.shiftKey && (t.preventDefault(), this.handleSendMessage());
|
|
40
|
+
}), setTimeout(() => {
|
|
41
|
+
this._inputRef?.focus();
|
|
42
|
+
}, 100);
|
|
43
|
+
}, this._submitQuestion = (e) => {
|
|
44
|
+
this._inputRef && (this._inputRef.value = e, this.handleSendMessage());
|
|
45
|
+
}, this.listenOn(window, "submitQuestion", (e) => {
|
|
46
|
+
this._submitQuestion(e.detail);
|
|
47
|
+
});
|
|
61
48
|
}
|
|
62
49
|
static {
|
|
63
|
-
this.properties = {
|
|
50
|
+
this.properties = { serverRoot: 1, solutionAIurl: 1, docAIurl: 1, token: 1, open: 5, conversationStore: 16, _isLoading: 16, _isLoadingText: 16, messages: 16, _translations: 16 };
|
|
64
51
|
}
|
|
65
52
|
static {
|
|
66
|
-
this.styles =
|
|
53
|
+
this.styles = b;
|
|
54
|
+
}
|
|
55
|
+
async handleSendMessage() {
|
|
56
|
+
if (!this._inputRef?.value.trim())
|
|
57
|
+
return;
|
|
58
|
+
this._isLoading = !0;
|
|
59
|
+
const e = this._inputRef.value.trim();
|
|
60
|
+
this._inputRef.value = "";
|
|
61
|
+
let t = {
|
|
62
|
+
message: e,
|
|
63
|
+
context: {
|
|
64
|
+
debug: !1,
|
|
65
|
+
kind: "SolutionRequest"
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
if (this.conversationStore.conversationId !== null) {
|
|
69
|
+
if (t.conversationId = this.conversationStore.conversationId, this.token) {
|
|
70
|
+
const i = {
|
|
71
|
+
author: "human",
|
|
72
|
+
inquiryId: this.conversationStore.inquiryId ? this.conversationStore.inquiryId : "",
|
|
73
|
+
message: e,
|
|
74
|
+
render: this._renderSimpleTextMessage(e, "human")
|
|
75
|
+
};
|
|
76
|
+
this.messages = [...this.messages, i];
|
|
77
|
+
const s = await this.requestAIServer(t, this.token, this.solutionAIurl);
|
|
78
|
+
this.loopRequest(s, this.token, this.solutionAIurl);
|
|
79
|
+
}
|
|
80
|
+
} else if (this.token) {
|
|
81
|
+
const i = {
|
|
82
|
+
author: "human",
|
|
83
|
+
inquiryId: "",
|
|
84
|
+
message: e,
|
|
85
|
+
render: this._renderSimpleTextMessage(e, "human")
|
|
86
|
+
};
|
|
87
|
+
this.messages = [...this.messages, i];
|
|
88
|
+
const s = await this.requestAIServer(t, this.token, this.solutionAIurl);
|
|
89
|
+
this.conversationStore.conversationId = s.conversationId, this.conversationStore.inquiryId = s.inquiryId, this.conversationStore.ackSequenceNumber = s.sequenceNumber, this.loopRequest(s, this.token, this.solutionAIurl);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
async loopRequest(e, t, i) {
|
|
93
|
+
let s = e;
|
|
94
|
+
for (this._isLoading = !0; s.hasMore; ) {
|
|
95
|
+
const o = {
|
|
96
|
+
conversationId: s.conversationId,
|
|
97
|
+
ackSequenceNumber: s.sequenceNumber,
|
|
98
|
+
inquiryId: s.inquiryId
|
|
99
|
+
};
|
|
100
|
+
if (s = await this.requestAIServer(o, t, i), s.context) {
|
|
101
|
+
if (this.conversationStore.context = s.context, s.context.intent)
|
|
102
|
+
switch (s.context.intent) {
|
|
103
|
+
case "Solution question":
|
|
104
|
+
this.messages.push({ message: s.message ?? "", author: "ai", inquiryId: s.inquiryId });
|
|
105
|
+
const n = {
|
|
106
|
+
message: s.message,
|
|
107
|
+
conversationId: o.conversationId,
|
|
108
|
+
context: { kind: "DocAIAssistantRequest", filters: { products: "ArcGIS Solutions" } }
|
|
109
|
+
};
|
|
110
|
+
s = await this.requestAIServer(n, t, this.docAIurl);
|
|
111
|
+
break;
|
|
112
|
+
case "Recommend solution":
|
|
113
|
+
if (s.context.results && s.context.results?.length > 0) {
|
|
114
|
+
const c = {
|
|
115
|
+
message: s.message ?? "",
|
|
116
|
+
author: "ai",
|
|
117
|
+
inquiryId: s.inquiryId,
|
|
118
|
+
render: this._renderSuggestedSolutions(s.message ?? "", s.context.results)
|
|
119
|
+
};
|
|
120
|
+
this.messages.push(c);
|
|
121
|
+
}
|
|
122
|
+
break;
|
|
123
|
+
default:
|
|
124
|
+
this.messages.push({
|
|
125
|
+
author: "ai",
|
|
126
|
+
inquiryId: s.inquiryId,
|
|
127
|
+
message: s.message ?? "",
|
|
128
|
+
render: this._renderSimpleTextMessage(s.message ?? "", "ai")
|
|
129
|
+
});
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
else if (s.context.results)
|
|
133
|
+
for (const n of s.context.results)
|
|
134
|
+
n.reply !== "" && (this._isLoadingText = "", this.messages.push({
|
|
135
|
+
message: n.reply,
|
|
136
|
+
author: "ai",
|
|
137
|
+
inquiryId: s.inquiryId,
|
|
138
|
+
render: this._renderDocAssistantResults(n.reply, n.ref, n.followupQuestions)
|
|
139
|
+
}));
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
this._isLoading = !1;
|
|
143
|
+
}
|
|
144
|
+
async requestAIServer(e, t, i) {
|
|
145
|
+
try {
|
|
146
|
+
const o = await (await fetch(i, {
|
|
147
|
+
method: "POST",
|
|
148
|
+
headers: {
|
|
149
|
+
"Content-Type": "application/json",
|
|
150
|
+
token: t
|
|
151
|
+
},
|
|
152
|
+
body: JSON.stringify(e)
|
|
153
|
+
})).json();
|
|
154
|
+
if (o)
|
|
155
|
+
return o;
|
|
156
|
+
throw new Error("No data returned");
|
|
157
|
+
} catch (s) {
|
|
158
|
+
throw new Error(`Request failed: ${s}`);
|
|
159
|
+
}
|
|
67
160
|
}
|
|
68
|
-
|
|
69
|
-
|
|
161
|
+
resetChat() {
|
|
162
|
+
this._resetConversation();
|
|
163
|
+
const e = {
|
|
164
|
+
author: "system",
|
|
165
|
+
inquiryId: "",
|
|
166
|
+
message: this._translations.newConversationStarted,
|
|
167
|
+
render: this._renderSimpleTextMessage(this._translations.newConversationStarted, "system")
|
|
168
|
+
};
|
|
169
|
+
this.messages = [...this.messages, e], this._inputRef && (this._inputRef.value = "");
|
|
170
|
+
}
|
|
171
|
+
willUpdate(e) {
|
|
172
|
+
this.messages.length === 0 && this._translations.defaultStartUpMessage && (this.messages = [
|
|
173
|
+
{
|
|
174
|
+
author: "ai",
|
|
175
|
+
inquiryId: "",
|
|
176
|
+
message: this._translations.defaultStartUpMessage,
|
|
177
|
+
render: this._renderSimpleTextMessage(this._translations.defaultStartUpMessage, "ai")
|
|
178
|
+
}
|
|
179
|
+
]);
|
|
180
|
+
}
|
|
181
|
+
updated(e) {
|
|
182
|
+
(e.size || this._isLoading) && this._scrollToBottom();
|
|
183
|
+
}
|
|
184
|
+
_renderSimpleTextMessage(e, t) {
|
|
185
|
+
return t === "system" ? a`<div class="message-content">${e}</div>` : a`<calcite-card class=${v(t === "human" ? "user-message" : "system-message")}><div class="message-content">${e}</div></calcite-card>`;
|
|
186
|
+
}
|
|
187
|
+
_renderDocAssistantResults(e, t, i) {
|
|
188
|
+
return a`<calcite-card class="system-message"><div class="message-content">${this.renderSolutionsQuestionTable(e, t, i, this._translations)}</div></calcite-card>`;
|
|
189
|
+
}
|
|
190
|
+
_renderSuggestedSolutions(e, t) {
|
|
191
|
+
return a`<calcite-card class="system-message"><div class="message-content">${this.renderExistingSolutionsTable(e, t, this._translations)}</div></calcite-card>`;
|
|
70
192
|
}
|
|
71
193
|
render() {
|
|
72
|
-
return a`<
|
|
194
|
+
return a`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${() => {
|
|
195
|
+
this.closeAssistant.emit(!0), this.open = !1;
|
|
196
|
+
}}>${this.messages.length > 1 ? a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent icon-end=speech-bubble-plus label="New conversation" kind=neutral></calcite-button>` : ""}<div class="chat-messages" ${u(this._setMessageContainerRef)}>${this.messages.map((e) => e.render)}${this._isLoading && a`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText != "" && a`<div class="padding-left-10">${this._isLoadingText}</div>` || ""}</div></calcite-card>` || ""}</div><div class="chat-input" slot=footer><calcite-text-area resize=none rows=2 .placeholder=${this._translations.sendMessage} value ${u(this._setInputRef)}></calcite-text-area><calcite-button icon-start=send appearance=outline kind=neutral @click=${this.handleSendMessage} .disabled=${!!this._isLoading}></calcite-button></div><calcite-notice open icon=information width=full scale=s slot=alerts class="notice-border-color"><div slot=message>${this._translations.disclaimerMessage}</div></calcite-notice></calcite-dialog>`;
|
|
197
|
+
}
|
|
198
|
+
_scrollToBottom() {
|
|
199
|
+
this._chatContainer && setTimeout(() => {
|
|
200
|
+
this._chatContainer && (this._chatContainer.scrollTop = this._chatContainer.scrollHeight);
|
|
201
|
+
}, 100);
|
|
202
|
+
}
|
|
203
|
+
renderSolutionQuestionReferences(e) {
|
|
204
|
+
return e.map((t) => a`<div class="message-content-pad"><a href=${t.url ?? d} target=_blank>${t.title}</a></div>`);
|
|
205
|
+
}
|
|
206
|
+
renderSolutionQuestionFollowup(e) {
|
|
207
|
+
return e.map((t) => a`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${t} @click=${() => {
|
|
208
|
+
this._submitFollowupQuestion(t);
|
|
209
|
+
}}>${t}</calcite-chip>`);
|
|
210
|
+
}
|
|
211
|
+
renderSolutionsQuestionTable(e, t, i, s) {
|
|
212
|
+
const o = this.renderSolutionQuestionReferences(t), n = this.renderSolutionQuestionFollowup(i);
|
|
213
|
+
return a`<div><div slot=description class="message-content">${this._markdownToHTML(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${(l) => {
|
|
214
|
+
const c = l.currentTarget.parentElement?.nextElementSibling;
|
|
215
|
+
c.classList.toggle("collapsed"), l.currentTarget.setAttribute("icon-end", c.classList.contains("collapsed") ? "chevron-down" : "chevron-up");
|
|
216
|
+
}}>${`${t.length} ${t.length === 1 ? s.solutionsDocReference : s.solutionsDocReferences}`}</calcite-button></div><div class="references-container collapsed">${o}</div></div><div class="chip-content-div">${n}</div></div>`;
|
|
217
|
+
}
|
|
218
|
+
renderSolutionCard(e, t, i) {
|
|
219
|
+
return a`<a class="solution-card" id=${t ?? d} @click=${() => {
|
|
220
|
+
this._emitItemIdFromAI(t);
|
|
221
|
+
}}>${a`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail ?? d} alt=Thumbnail><calcite-chip icon=launch label="View solution">${i.viewSolutionInApp}</calcite-chip></div><h3 slot=heading><b>${e.title}</b></h3><span slot=description>${e.snippet}</span></calcite-card>`}</a>`;
|
|
222
|
+
}
|
|
223
|
+
renderExistingSolutionsTable(e, t, i) {
|
|
224
|
+
const s = t.map((o) => {
|
|
225
|
+
const n = o.thumbnail.match(/\/items\/([a-f0-9]+)\//);
|
|
226
|
+
return n ? this.renderSolutionCard(o, n[1], i) : null;
|
|
227
|
+
}).filter((o) => o !== null);
|
|
228
|
+
return a`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${s}</div></div>`;
|
|
229
|
+
}
|
|
230
|
+
_markdownToHTML(e) {
|
|
231
|
+
return e = e.replace(/###### (.*)/gu, "<h6>$1</h6>"), e = e.replace(/##### (.*)/gu, "<h5>$1</h5>"), e = e.replace(/#### (.*)/gu, "<h4>$1</h4>"), e = e.replace(/### (.*)/gu, "<h3>$1</h3>"), e = e.replace(/## (.*)/gu, "<h2>$1</h2>"), e = e.replace(/# (.*)/gu, "<h1>$1</h1>"), e = e.replace(/\*\*(.*?)\*\*/gu, "<strong>$1</strong>"), e = e.replace(/\*(.*?)\*/gu, "<em>$1</em>"), e = e.replace(/^\s*\*\s+(.*)/gmu, "<li>$1</li>"), e = e.replace(/(<li>.*<\/li>)/gu, "<ul>$1</ul>"), e = e.replace(/\[\[(\d+)\]\]\((.*?)\)/gu, '<a href="$2" target="_blank" rel="noopener noreferrer">[$1]</a>'), e = e.replace(/\n\n+/gu, "</p><p>"), e = e.replace(/^(?!<h|<ul|<li|<p>)(.*)$/gmu, "<p>$1</p>"), e;
|
|
232
|
+
}
|
|
233
|
+
_emitItemIdFromAI(e) {
|
|
234
|
+
this._querySolutions(e).then((t) => {
|
|
235
|
+
const s = t.typeKeywords.filter((n) => n.includes("solutionid")), o = new CustomEvent("solutionIDFromAssistant", {
|
|
236
|
+
detail: s.length > 0 ? s[0] : e,
|
|
237
|
+
bubbles: !0,
|
|
238
|
+
composed: !0
|
|
239
|
+
});
|
|
240
|
+
window.dispatchEvent(o);
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
_submitFollowupQuestion(e) {
|
|
244
|
+
const t = new CustomEvent("submitQuestion", {
|
|
245
|
+
detail: e,
|
|
246
|
+
bubbles: !0,
|
|
247
|
+
composed: !0
|
|
248
|
+
});
|
|
249
|
+
window.dispatchEvent(t);
|
|
73
250
|
}
|
|
74
|
-
|
|
75
|
-
|
|
251
|
+
async _querySolutions(e) {
|
|
252
|
+
const t = await y(e);
|
|
253
|
+
if ("error" in t)
|
|
254
|
+
throw new Error(t.error);
|
|
255
|
+
return t;
|
|
76
256
|
}
|
|
77
257
|
}
|
|
78
|
-
|
|
258
|
+
h("arcgis-solutions-assistant", S);
|
|
79
259
|
export {
|
|
80
|
-
|
|
260
|
+
S as ArcgisSolutionsAssistant
|
|
81
261
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-panel";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
3
1
|
import "@esri/calcite-components/components/calcite-card";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
+
import "@esri/calcite-components/components/calcite-dialog";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
5
4
|
import "@esri/calcite-components/components/calcite-loader";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-
|
|
7
|
-
import "@esri/calcite-components/components/calcite-
|
|
5
|
+
import "@esri/calcite-components/components/calcite-text-area";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
8
8
|
export * from "./customElement.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-panel";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
3
1
|
import "@esri/calcite-components/components/calcite-card";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
+
import "@esri/calcite-components/components/calcite-dialog";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
5
4
|
import "@esri/calcite-components/components/calcite-loader";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-
|
|
7
|
-
import "@esri/calcite-components/components/calcite-
|
|
5
|
+
import "@esri/calcite-components/components/calcite-text-area";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
8
8
|
export * from "./customElement.js";
|
|
@@ -5,7 +5,7 @@ import { createRef as p, ref as l } from "lit-html/directives/ref.js";
|
|
|
5
5
|
import { LitElement as n } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
8
|
-
v1.1.
|
|
8
|
+
v1.1.5 */
|
|
9
9
|
const m = r`/** @license
|
|
10
10
|
* Copyright 2025 Esri
|
|
11
11
|
*
|
|
@@ -6,7 +6,7 @@ import { createRef as c, ref as u } from "lit-html/directives/ref.js";
|
|
|
6
6
|
import { LitElement as d, createEvent as s } from "@arcgis/lumina";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
9
|
-
v1.1.
|
|
9
|
+
v1.1.5 */
|
|
10
10
|
const f = l`/** @license
|
|
11
11
|
* Copyright 2025 Esri
|
|
12
12
|
*
|
|
@@ -7,7 +7,7 @@ import { createRef as b, ref as f } from "lit-html/directives/ref.js";
|
|
|
7
7
|
import { LitElement as w, createEvent as r, noShadowRoot as F } from "@arcgis/lumina";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
10
|
-
v1.1.
|
|
10
|
+
v1.1.5 */
|
|
11
11
|
const _ = u`@layer{/** @license
|
|
12
12
|
* Copyright 2025 Esri
|
|
13
13
|
*
|
|
@@ -4,7 +4,7 @@ import { LitElement as Wi, createEvent as Vi } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as Gi } from "lit";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
7
|
-
v1.1.
|
|
7
|
+
v1.1.5 */
|
|
8
8
|
function Hi(e = {}) {
|
|
9
9
|
const { disabled: t, portal: r } = e;
|
|
10
10
|
return t || r?.eueiEnabled === !1 ? !0 : !(!r || Fi(r) || Ki(r) || Bi(r));
|
|
@@ -7,7 +7,7 @@ import { createRef as p, ref as m } from "lit-html/directives/ref.js";
|
|
|
7
7
|
import { LitElement as L, createEvent as l, noShadowRoot as V, safeClassMap as u } from "@arcgis/lumina";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
10
|
-
v1.1.
|
|
10
|
+
v1.1.5 */
|
|
11
11
|
const E = b`@layer{/** @license
|
|
12
12
|
* Copyright 2025 Esri
|
|
13
13
|
*
|
|
@@ -5,7 +5,7 @@ import { css as p, html as l } from "lit";
|
|
|
5
5
|
import { LitElement as f, createEvent as d, noShadowRoot as w, safeClassMap as y } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
8
|
-
v1.1.
|
|
8
|
+
v1.1.5 */
|
|
9
9
|
const b = p`@layer{/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2025 Esri
|
|
@@ -8,7 +8,7 @@ import { createRef as p, ref as u } from "lit-html/directives/ref.js";
|
|
|
8
8
|
import { LitElement as T, createEvent as m, noShadowRoot as M, safeClassMap as b, safeStyleMap as S } from "@arcgis/lumina";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
11
|
-
v1.1.
|
|
11
|
+
v1.1.5 */
|
|
12
12
|
const F = I`@layer{/** @license
|
|
13
13
|
* Copyright 2025 Esri
|
|
14
14
|
*
|
|
@@ -10,7 +10,7 @@ import "@arcgis/instant-apps-components";
|
|
|
10
10
|
import { defineCustomElements as E } from "@arcgis/instant-apps-components/loader";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
13
|
-
v1.1.
|
|
13
|
+
v1.1.5 */
|
|
14
14
|
const V = $`@layer{/** @license
|
|
15
15
|
* Copyright 2025 Esri
|
|
16
16
|
*
|
|
@@ -225,7 +225,7 @@ class P extends C {
|
|
|
225
225
|
this._showSubmitCancelButton = !e.detail;
|
|
226
226
|
}
|
|
227
227
|
onCreateFeatureSubmitButtonClick() {
|
|
228
|
-
this._createFeature.value && (this.
|
|
228
|
+
this._createFeature.value && (this._showNextButton = !1, this._createFeature.value.submit());
|
|
229
229
|
}
|
|
230
230
|
backFromCreateFeaturePanel() {
|
|
231
231
|
this._createFeature.value && (this._showSubmitCancelButton = !1, this._showNextButton = !1, this.updateNonVisibleLayersOnMap(!1)), this.backFromSelectedPanel();
|
|
@@ -243,7 +243,7 @@ class P extends C {
|
|
|
243
243
|
console.error(e.detail), this._featureCreationFailedErrorMsg = e.detail.message;
|
|
244
244
|
}
|
|
245
245
|
async onReportSubmitted() {
|
|
246
|
-
this.updateNonVisibleLayersOnMap(!1), await this.navigateToHomePage(), this._reportSubmitted = !0, this._updatedProgressBarStatus = 25, this._showFullPanel && this.updatePanelState(this._sidePanelCollapsed, !1);
|
|
246
|
+
this._showSubmitCancelButton = !1, this.updateNonVisibleLayersOnMap(!1), await this.navigateToHomePage(), this._reportSubmitted = !0, this._updatedProgressBarStatus = 25, this._showFullPanel && this.updatePanelState(this._sidePanelCollapsed, !1);
|
|
247
247
|
}
|
|
248
248
|
addCommentFailed(e) {
|
|
249
249
|
console.error(e.detail), this._addingCommentFailed = !0;
|
|
@@ -5,7 +5,7 @@ import { createRef as c, ref as n } from "lit-html/directives/ref.js";
|
|
|
5
5
|
import { LitElement as m, createEvent as d } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
8
|
-
v1.1.
|
|
8
|
+
v1.1.5 */
|
|
9
9
|
const y = u`/** @license
|
|
10
10
|
* Copyright 2025 Esri
|
|
11
11
|
*
|
|
@@ -4,7 +4,7 @@ import { css as n, html as e, nothing as a } from "lit";
|
|
|
4
4
|
import { LitElement as o, createEvent as i } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
7
|
-
v1.1.
|
|
7
|
+
v1.1.5 */
|
|
8
8
|
const d = n`/** @license
|
|
9
9
|
* Copyright 2025 Esri
|
|
10
10
|
*
|
|
@@ -4,7 +4,7 @@ import { u as a } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as o, createEvent as i } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
7
|
-
v1.1.
|
|
7
|
+
v1.1.5 */
|
|
8
8
|
const r = l`/** @license
|
|
9
9
|
* Copyright 2025 Esri
|
|
10
10
|
*
|