@esri/solutions-components 1.2.0-next.59 → 1.2.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/{7GJZVYMJ.js → 22GH5WFX.js} +2 -2
- package/dist/cdn/{TQMR5HGV.js → 24IN4UPG.js} +2 -2
- package/dist/cdn/{LCLYBKCD.js → 25S4YYPR.js} +1 -1
- package/dist/cdn/{BBQXDOWW.js → 2CJ5ETBI.js} +2 -2
- package/dist/cdn/{IHBY23HX.js → 2EZ2T3HV.js} +2 -2
- package/dist/cdn/{CBZDTXQB.js → 2IAKNCRC.js} +2 -2
- package/dist/cdn/{DMBTOCEZ.js → 2KLTC6O5.js} +2 -2
- package/dist/cdn/{YJMOB55J.js → 2LQ6UZTT.js} +2 -2
- package/dist/cdn/{JDYZI422.js → 2QT4FWZI.js} +2 -2
- package/dist/cdn/{25B25ZXH.js → 2WAKVF6V.js} +2 -2
- package/dist/cdn/2ZAI2L2Z.js +4 -0
- package/dist/cdn/{RX3SI5Y3.js → 35CB3CIG.js} +2 -2
- package/dist/cdn/{VZNN27BA.js → 3C7EEW26.js} +2 -2
- package/dist/cdn/{6HYCSSIB.js → 3MXNBCEX.js} +2 -2
- package/dist/cdn/3Q7MPYBN.js +4 -0
- package/dist/cdn/{43PJPKFV.js → 3S7MAI7H.js} +2 -2
- package/dist/cdn/3TTOX4BB.js +4 -0
- package/dist/cdn/{DEQAS2SR.js → 3UZFYGDX.js} +2 -2
- package/dist/cdn/{CCWPI2S2.js → 3X5566EC.js} +2 -2
- package/dist/cdn/{X65LJF4A.js → 45S22WSU.js} +2 -2
- package/dist/cdn/{M3PFZFCV.js → 46UPVPEV.js} +1 -1
- package/dist/cdn/{E3VEVFOM.js → 4B2V45V5.js} +2 -2
- package/dist/cdn/{WNFSWEYG.js → 4B45SS3L.js} +2 -2
- package/dist/cdn/{EHKQB23N.js → 4KDH67ME.js} +1 -1
- package/dist/cdn/{37RKRUT7.js → 4KFYFEVG.js} +2 -2
- package/dist/cdn/{N4S2GKS4.js → 4MFPZMLB.js} +1 -1
- package/dist/cdn/{LVXMAQMH.js → 4N5CTUVM.js} +2 -2
- package/dist/cdn/{6HSZ4CIQ.js → 4VJV22PL.js} +2 -2
- package/dist/cdn/4VTDE7WM.js +4 -0
- package/dist/cdn/{6PUGDNEU.js → 4WNXJSEW.js} +2 -2
- package/dist/cdn/{D5F4NJD7.js → 4XUHKCM3.js} +2 -2
- package/dist/cdn/{JSLYUXDO.js → 4ZUI33B3.js} +2 -2
- package/dist/cdn/{OLGLXFX4.js → 542KFAVB.js} +2 -2
- package/dist/cdn/{DHQHELQN.js → 54ED5CXQ.js} +2 -2
- package/dist/cdn/{MALBTWOR.js → 55BTIKND.js} +2 -2
- package/dist/cdn/{ENLBWWOF.js → 5A33WQAT.js} +2 -2
- package/dist/cdn/{MD5I2SFA.js → 5BILAT4P.js} +2 -2
- package/dist/cdn/{M3YOYCLJ.js → 5CEVZOKP.js} +2 -2
- package/dist/cdn/{WBQWG3E2.js → 5CXNGEOT.js} +2 -2
- package/dist/cdn/{WP7SIAQC.js → 5KBG56UB.js} +2 -2
- package/dist/cdn/{KB4DWCEJ.js → 5MFTYGYS.js} +2 -2
- package/dist/cdn/{7NUTECWV.js → 5O4YCDNG.js} +2 -2
- package/dist/cdn/{6W24BQES.js → 5TEHU4A3.js} +2 -2
- package/dist/cdn/{JVUHIWEV.js → 5UHH33AX.js} +2 -2
- package/dist/cdn/{X7PMPPET.js → 64ZV5SC6.js} +2 -2
- package/dist/cdn/{YTZQHJWX.js → 65VZKYXC.js} +2 -2
- package/dist/cdn/{6BWLIZSJ.js → 66RDTM4T.js} +2 -2
- package/dist/cdn/{QMAH5HXL.js → 6AE27ENC.js} +2 -2
- package/dist/cdn/{WWB4B72X.js → 6AY42FOZ.js} +2 -2
- package/dist/cdn/{3RZEX2U3.js → 6BYDV3EW.js} +2 -2
- package/dist/cdn/{RZEEFQBW.js → 6CNOIOZQ.js} +2 -2
- package/dist/cdn/{BT7H2Z4P.js → 6FVZXZD6.js} +2 -2
- package/dist/cdn/{QVLTIXTS.js → 6GOVJOEP.js} +1 -1
- package/dist/cdn/{WFUQ3JOS.js → 6HTNO2RE.js} +2 -2
- package/dist/cdn/{7OQOH2NF.js → 6JWWLPWA.js} +2 -2
- package/dist/cdn/{LBABYSBX.js → 6KLBYZFM.js} +1 -1
- package/dist/cdn/{3DQJP7MM.js → 6N5NPFCF.js} +1 -1
- package/dist/cdn/{GVUNBPYT.js → 6YX67STC.js} +2 -2
- package/dist/cdn/{EBUWGWRS.js → 6ZX35J5Z.js} +2 -2
- package/dist/cdn/{NB6AUGD2.js → 77X5GFH7.js} +2 -2
- package/dist/cdn/{MZ7IE5RN.js → 7AEU6P43.js} +2 -2
- package/dist/cdn/{AHHXZV45.js → 7AH7N5XT.js} +2 -2
- package/dist/cdn/{3QUJWKYF.js → 7FQXWGOC.js} +2 -2
- package/dist/cdn/{JX2YC2NI.js → 7IB6W2XU.js} +2 -2
- package/dist/cdn/{P2IDE5OP.js → 7MHE37ND.js} +2 -2
- package/dist/cdn/{6JIQMVN5.js → 7UAODYVA.js} +2 -2
- package/dist/cdn/{VPYAKTHV.js → 7WO57UW7.js} +2 -2
- package/dist/cdn/7YYWVE2S.js +4 -0
- package/dist/cdn/{3B6DM4IK.js → 7ZR4MPQZ.js} +2 -2
- package/dist/cdn/{HGZ446BS.js → A3HBTAZT.js} +3 -3
- package/dist/cdn/{ZX3SVFKK.js → A6EVVFF5.js} +1 -1
- package/dist/cdn/{NFNNSMZV.js → AHRD7AGX.js} +2 -2
- package/dist/cdn/{6BZURHMF.js → AOTAJDNP.js} +2 -2
- package/dist/cdn/APHETGJW.js +4 -0
- package/dist/cdn/{XZBKRV2G.js → APPQU75R.js} +2 -2
- package/dist/cdn/{5PSL2TWL.js → AR6I4F7I.js} +2 -2
- package/dist/cdn/{EW7J3KH5.js → ARJYRYDO.js} +2 -2
- package/dist/cdn/{DDBK5RTK.js → AU6YGJUT.js} +2 -2
- package/dist/cdn/{BWMIWQM2.js → AURJV7BW.js} +2 -2
- package/dist/cdn/{G2RPRNB2.js → AXNUZSJ6.js} +2 -2
- package/dist/cdn/{DWBJS3UU.js → AXSGVQ6P.js} +2 -2
- package/dist/cdn/{QVEJGSWG.js → B72I6V6F.js} +2 -2
- package/dist/cdn/{7XZWHACO.js → BGAY3YMT.js} +2 -2
- package/dist/cdn/{DDFYGY3P.js → BJ7ITM4Z.js} +2 -2
- package/dist/cdn/{XRJP6JXR.js → BMUBVYWB.js} +2 -2
- package/dist/cdn/{PIIVS5YM.js → BTLCSZS6.js} +2 -2
- package/dist/cdn/{VLM7BVOC.js → BURTSBUG.js} +2 -2
- package/dist/cdn/{ETO5FRK3.js → BXPMHWOX.js} +2 -2
- package/dist/cdn/{FPGWP5VL.js → C2RIOHYE.js} +2 -2
- package/dist/cdn/{7WUMZFTS.js → C32KHGLO.js} +2 -2
- package/dist/cdn/{MNRZLJQR.js → C4C7KF52.js} +1 -1
- package/dist/cdn/{KDR33FHO.js → C5IIHI76.js} +2 -2
- package/dist/cdn/{DGGDUOI2.js → CBEROJ4E.js} +2 -2
- package/dist/cdn/{T23F3H3W.js → CFTL75CW.js} +2 -2
- package/dist/cdn/CGZFXEML.js +4 -0
- package/dist/cdn/{SHIKGCFR.js → CJZPJFAS.js} +2 -2
- package/dist/cdn/{XSRKYX35.js → CKNI5JQZ.js} +2 -2
- package/dist/cdn/{LEL5VZQY.js → CLGO7JPJ.js} +2 -2
- package/dist/cdn/{7MDJN2BV.js → CNDUM26C.js} +2 -2
- package/dist/cdn/{KJW6C53V.js → CNEHMBZW.js} +1 -1
- package/dist/cdn/{4FRJW5HL.js → CQ3N5OAF.js} +2 -2
- package/dist/cdn/{Q45TPXYT.js → CTCPMABN.js} +2 -2
- package/dist/cdn/{2EYNMSVI.js → CTLSDIIG.js} +2 -2
- package/dist/cdn/{3G3R2OZV.js → CTMUKS54.js} +2 -2
- package/dist/cdn/{VWS2JKA6.js → CZ7OZ7WB.js} +2 -2
- package/dist/cdn/{Y3C3OCUK.js → D4HJALUO.js} +2 -2
- package/dist/cdn/{5MAZ5ZVP.js → D7E2HKRL.js} +2 -2
- package/dist/cdn/{TAVLKZOW.js → DAU34542.js} +2 -2
- package/dist/cdn/{CX5FTZXB.js → DCZYU4L6.js} +2 -2
- package/dist/cdn/{DQFLJUCX.js → DHDV37FH.js} +2 -2
- package/dist/cdn/{TTG53ZSH.js → DHWSNW5P.js} +2 -2
- package/dist/cdn/{QWS5G4EH.js → DHZ5UA72.js} +1 -1
- package/dist/cdn/{5UMVW5IU.js → DSMKW3R5.js} +2 -2
- package/dist/cdn/{VPB2MNMR.js → DVPHVSDL.js} +2 -2
- package/dist/cdn/{VLJ2FMNG.js → E5D2NJVY.js} +2 -2
- package/dist/cdn/{KN5E4MQG.js → E6VAH377.js} +2 -2
- package/dist/cdn/{3LTVBZW2.js → E6ZJGJIL.js} +2 -2
- package/dist/cdn/{X4QRLB57.js → EDH5P6Q7.js} +2 -2
- package/dist/cdn/{E4EVKH7R.js → EGAV5W7I.js} +2 -2
- package/dist/cdn/{LL2N6WE4.js → EJK6FW2Z.js} +1 -1
- package/dist/cdn/{LJGIMINH.js → ENLS3ON7.js} +2 -2
- package/dist/cdn/{7ZCQHB4L.js → ERDVBBRX.js} +2 -2
- package/dist/cdn/{6CN3ZYLP.js → ERJ7WRMG.js} +2 -2
- package/dist/cdn/{RGGCXN32.js → EUGPRFL4.js} +2 -2
- package/dist/cdn/{VLXWVYFE.js → F2O4WKM6.js} +1 -1
- package/dist/cdn/F2RRVGZ2.js +4 -0
- package/dist/cdn/{VVHFDNIP.js → FC4NR45A.js} +2 -2
- package/dist/cdn/{MAHNU7KE.js → FNJ2SV5I.js} +2 -2
- package/dist/cdn/{J2YB64DJ.js → FOKCZWOQ.js} +2 -2
- package/dist/cdn/{BJWSTVLX.js → FRISKWYY.js} +2 -2
- package/dist/cdn/FS4FOH3D.js +4 -0
- package/dist/cdn/{IHBXCUXC.js → FSB6TM6Q.js} +2 -2
- package/dist/cdn/{L7SW75RR.js → FT22BE2Q.js} +2 -2
- package/dist/cdn/{JFXRBPOD.js → FTRTGXW7.js} +2 -2
- package/dist/cdn/{3KHQWDAE.js → FYBSJAMQ.js} +2 -2
- package/dist/cdn/{NUMSNTTV.js → G6LTOZJF.js} +2 -2
- package/dist/cdn/{F5LPHHYL.js → G72TLXN2.js} +2 -2
- package/dist/cdn/{DT7AW2GV.js → GDA44E5L.js} +2 -2
- package/dist/cdn/{4QGAJAMT.js → GDCPRSCH.js} +2 -2
- package/dist/cdn/GGIS4CC6.js +4 -0
- package/dist/cdn/{3Y3FMA7U.js → GK66FWMX.js} +2 -2
- package/dist/cdn/{I2F5BV6P.js → GONKLRTB.js} +2 -2
- package/dist/cdn/{SY3P6EMA.js → GORSVRD2.js} +2 -2
- package/dist/cdn/{UCYWBULG.js → GRW5JAFG.js} +2 -2
- package/dist/cdn/{44FUEGZZ.js → GUFWLMXD.js} +2 -2
- package/dist/cdn/{POIFA2UD.js → GXHJQQCL.js} +2 -2
- package/dist/cdn/{4WQLUSGK.js → H4MLUVTV.js} +2 -2
- package/dist/cdn/{VET7HBDC.js → H6QRA25K.js} +2 -2
- package/dist/cdn/HDKINGQW.js +4 -0
- package/dist/cdn/{GMCYP5CG.js → HEW7XMPJ.js} +2 -2
- package/dist/cdn/{A54TR2SR.js → HFOH5YAJ.js} +2 -2
- package/dist/cdn/{ISORN3KD.js → HIWCPXI4.js} +2 -2
- package/dist/cdn/HM4AHTQA.js +4 -0
- package/dist/cdn/{HCZYN74N.js → HMCZQXAN.js} +2 -2
- package/dist/cdn/{6ZK3CKFF.js → HOZY6EI4.js} +2 -2
- package/dist/cdn/{WLOHWAHJ.js → HWMTN5ZA.js} +2 -2
- package/dist/cdn/{AQYE5ZHB.js → HYKFAUBN.js} +2 -2
- package/dist/cdn/{EEEBLVFP.js → I2GKR2VA.js} +2 -2
- package/dist/cdn/{B5T26PJP.js → I2ZUPDGL.js} +2 -2
- package/dist/cdn/{32JOQV7W.js → I5XRY7QD.js} +2 -2
- package/dist/cdn/{XEUQIIFT.js → IIWGQLYN.js} +2 -2
- package/dist/cdn/{U32CZ5HV.js → IJ245FDS.js} +2 -2
- package/dist/cdn/{TKRHJCFT.js → IKCE3HR4.js} +2 -2
- package/dist/cdn/{HXNPMV7T.js → ILEKKEKK.js} +2 -2
- package/dist/cdn/{ODE7EDZN.js → J6VXDYLB.js} +1 -1
- package/dist/cdn/{OWYGZ3CC.js → JBY2LVLC.js} +2 -2
- package/dist/cdn/{UXFKDTYZ.js → JCODPNFL.js} +2 -2
- package/dist/cdn/{LSE4ZVG6.js → JHF5JR4C.js} +2 -2
- package/dist/cdn/{BAV2DQ4A.js → JISBULOQ.js} +2 -2
- package/dist/cdn/{YXQL3IPN.js → JJ7ZGFCV.js} +2 -2
- package/dist/cdn/{CCW5VHE2.js → JJKBP6VP.js} +2 -2
- package/dist/cdn/{KWUHBUOY.js → JNZZAE7R.js} +2 -2
- package/dist/cdn/{XA5T3ZWL.js → JOMW3W6X.js} +2 -2
- package/dist/cdn/{ZOJSFAMZ.js → JP6UDOIU.js} +2 -2
- package/dist/cdn/{PVDWBCF2.js → JPLACREE.js} +2 -2
- package/dist/cdn/{BMUSQVXD.js → JQKYSOGE.js} +1 -1
- package/dist/cdn/{FEFR3FRY.js → JQQORYBM.js} +2 -2
- package/dist/cdn/{CENVPG32.js → JQW2KPJK.js} +2 -2
- package/dist/cdn/{DWJYRIXW.js → JTMPBZCY.js} +2 -2
- package/dist/cdn/{JGDHGRVO.js → JUN72POY.js} +2 -2
- package/dist/cdn/{ITXB3UY7.js → JXNGGIST.js} +2 -2
- package/dist/cdn/{NMKEXRKI.js → K5GHIYOF.js} +2 -2
- package/dist/cdn/{OMFGYAGB.js → K6F7LOXC.js} +2 -2
- package/dist/cdn/{SB345CLE.js → K6NKAZBD.js} +1 -1
- package/dist/cdn/{PTEYVE2O.js → K7YP5PDD.js} +2 -2
- package/dist/cdn/{JLEQROY3.js → KAJZSBBY.js} +2 -2
- package/dist/cdn/{5BN6LD6R.js → KQJ5NCH6.js} +2 -2
- package/dist/cdn/{B7626KRT.js → KS2TXTJB.js} +1 -1
- package/dist/cdn/KST6M5H6.js +4 -0
- package/dist/cdn/{NCJTFCTZ.js → KU7YFFLU.js} +2 -2
- package/dist/cdn/{VUW4NIX5.js → KXCASIUR.js} +1 -1
- package/dist/cdn/{TVQMISGG.js → L5QIQ6XB.js} +2 -2
- package/dist/cdn/{HTQJOJTI.js → L6CDXESS.js} +2 -2
- package/dist/cdn/{PRBIN2BU.js → LC53SJ67.js} +2 -2
- package/dist/cdn/{P4RBDOR6.js → LDWBOY5O.js} +2 -2
- package/dist/cdn/{DIHWASFL.js → LHRZ7IBA.js} +4 -4
- package/dist/cdn/{MBQP2ZCK.js → LUGOSNDF.js} +2 -2
- package/dist/cdn/{A4XV4N4U.js → M3KP4ULO.js} +2 -2
- package/dist/cdn/{QDEJN7KB.js → M4JSPVOB.js} +2 -2
- package/dist/cdn/{W4H632T7.js → M7RJNNBQ.js} +2 -2
- package/dist/cdn/{KQDF42LD.js → MC5TSFO6.js} +2 -2
- package/dist/cdn/{7S55QL7L.js → MGTGTJF2.js} +2 -2
- package/dist/cdn/{SNHSCHSU.js → MJOCAQYG.js} +2 -2
- package/dist/cdn/{MVLXVTLA.js → N2EZQGSH.js} +2 -2
- package/dist/cdn/{4O4WAAXE.js → N2ZLUG26.js} +2 -2
- package/dist/cdn/{DNTG6VCZ.js → N3W52TLJ.js} +2 -2
- package/dist/cdn/{7DBUXIIV.js → N3WXY7EJ.js} +2 -2
- package/dist/cdn/{KPC2ODJP.js → N5V5PPBQ.js} +2 -2
- package/dist/cdn/{RK67BRJG.js → N6VW2C5V.js} +2 -2
- package/dist/cdn/{XLJX5VYK.js → NCOWGV7K.js} +2 -2
- package/dist/cdn/{NGSG7I2S.js → NF7C27BU.js} +2 -2
- package/dist/cdn/{GWZQ77OI.js → NIX6S7F4.js} +2 -2
- package/dist/cdn/{AC2VIC6A.js → NJDA4LPT.js} +2 -2
- package/dist/cdn/{YNMKRCJI.js → NJN5EPQ4.js} +2 -2
- package/dist/cdn/{XARJKYUN.js → NK5C67VR.js} +1 -1
- package/dist/cdn/{HFNJDY5O.js → NKNXRQAV.js} +2 -2
- package/dist/cdn/{CCQPRWZI.js → NLVAFEJX.js} +2 -2
- package/dist/cdn/{KKPHEGTZ.js → NMTVBRAS.js} +2 -2
- package/dist/cdn/{5RP4YGCC.js → NOGPPLBH.js} +2 -2
- package/dist/cdn/{GURFWBHZ.js → NRA2XWTH.js} +2 -2
- package/dist/cdn/{7F56MSPW.js → NRD46FCK.js} +2 -2
- package/dist/cdn/{LGRJQFUN.js → NRH5UT5G.js} +2 -2
- package/dist/cdn/{D5MWETEN.js → NTTL23B5.js} +2 -2
- package/dist/cdn/{GD64EVQX.js → NVQ6TXGS.js} +2 -2
- package/dist/cdn/{QCW7B6B5.js → NX6CRTAS.js} +2 -2
- package/dist/cdn/{ZKTW6VPN.js → NY4MAF55.js} +2 -2
- package/dist/cdn/{2LUJUNTI.js → O5PY3MEI.js} +2 -2
- package/dist/cdn/{LMA7VQL6.js → O7AV7GPK.js} +2 -2
- package/dist/cdn/{PHKWGZMN.js → OAIWU3G2.js} +2 -2
- package/dist/cdn/{CGAFT2XD.js → OB4IBA7J.js} +2 -2
- package/dist/cdn/{UEQ2M7OE.js → OBI4A4AA.js} +1 -1
- package/dist/cdn/{H2CANEYT.js → OSUCA7CY.js} +1 -1
- package/dist/cdn/{TLCC3WKK.js → OXWGYPXL.js} +2 -2
- package/dist/cdn/OY6SET3T.js +4 -0
- package/dist/cdn/{3KR4IDMY.js → P5F6E4BB.js} +2 -2
- package/dist/cdn/{3ROAGKJU.js → PKVTULHS.js} +2 -2
- package/dist/cdn/{6TGQHAFE.js → PLGFKWRR.js} +2 -2
- package/dist/cdn/{N367AMWJ.js → PTDYPOBH.js} +2 -2
- package/dist/cdn/{S3HX5IPM.js → PWZXYVX5.js} +1 -1
- package/dist/cdn/Q5VHOWDO.js +4 -0
- package/dist/cdn/{4E2QUIHI.js → QGEJHDKV.js} +2 -2
- package/dist/cdn/{I2BJW5OQ.js → QMT2B3M5.js} +2 -2
- package/dist/cdn/{KYIHDSUV.js → QU5W75PN.js} +2 -2
- package/dist/cdn/{WFIHKSYE.js → QVQG7XLV.js} +2 -2
- package/dist/cdn/{TRX2L7PJ.js → QZHTC427.js} +2 -2
- package/dist/cdn/{DVUXVX3H.js → RF3JRSKX.js} +2 -2
- package/dist/cdn/{HX7NQUEU.js → RFUX4G37.js} +2 -2
- package/dist/cdn/{EPGHDNIB.js → RFWZ3BG4.js} +2 -2
- package/dist/cdn/{B57ADFKI.js → RJ4NCL2V.js} +2 -2
- package/dist/cdn/{3PVHACQL.js → RKIQ5DUF.js} +1 -1
- package/dist/cdn/{RMA2JBKB.js → RLCYPEXM.js} +1 -1
- package/dist/cdn/{NIKIN4B5.js → RODDEQZP.js} +2 -2
- package/dist/cdn/{JGMQLYZN.js → RPRDW34S.js} +2 -2
- package/dist/cdn/{V7HEDLHM.js → RVQYDMMJ.js} +1 -1
- package/dist/cdn/{X2OGYKSC.js → RYTV4M2W.js} +2 -2
- package/dist/cdn/{HPWCOH2B.js → S2GLQ7ZY.js} +1 -1
- package/dist/cdn/{SIE4ZKUQ.js → SADSRCE6.js} +2 -2
- package/dist/cdn/{ZYDSFGZT.js → SBSDLWOC.js} +2 -2
- package/dist/cdn/{5NUKQCRO.js → SHP3U3JY.js} +2 -2
- package/dist/cdn/{JAP3AOW3.js → T2GOSVXE.js} +1 -1
- package/dist/cdn/{6YPLG3FF.js → T2KFMS3E.js} +2 -2
- package/dist/cdn/{ISA5XXM5.js → T7D3VOZH.js} +1 -1
- package/dist/cdn/{5JSUD3U7.js → TBBACRUK.js} +1 -1
- package/dist/cdn/{SH7LPYYM.js → TBX5YM7Y.js} +2 -2
- package/dist/cdn/{SJU2YRAX.js → TEDF2YLW.js} +2 -2
- package/dist/cdn/{2XKGPSPT.js → TGDEP6QV.js} +2 -2
- package/dist/cdn/{S6V57F65.js → TIVFVKSV.js} +2 -2
- package/dist/cdn/{6SZEED4O.js → TMAKLZXE.js} +2 -2
- package/dist/cdn/{6DPMFNGR.js → TPC7NEBD.js} +2 -2
- package/dist/cdn/{4CULZZ7A.js → TUKEY4JX.js} +2 -2
- package/dist/cdn/{EFPPKG2I.js → TZLKWPKE.js} +1 -1
- package/dist/cdn/{VPAX4SKK.js → U5Y5C2T7.js} +2 -2
- package/dist/cdn/U74L7VJM.js +4 -0
- package/dist/cdn/{ZBLGJ35H.js → UCYKJ3G4.js} +2 -2
- package/dist/cdn/{HMFF7KAP.js → UK7HJV5Q.js} +2 -2
- package/dist/cdn/{W3GW7PX4.js → UM5VAPJJ.js} +2 -2
- package/dist/cdn/{RW4DP44R.js → UNXHL3PD.js} +2 -2
- package/dist/cdn/UTCZEP45.js +4 -0
- package/dist/cdn/{2BWXNIBU.js → UTJOHATU.js} +2 -2
- package/dist/cdn/UUIEPEEK.js +4 -0
- package/dist/cdn/{P372OUGB.js → UYBRDZJB.js} +1 -1
- package/dist/cdn/{EGPTG5G2.js → V5T2QK5Z.js} +3 -3
- package/dist/cdn/{A2SSHOEE.js → V6P7MNAU.js} +2 -2
- package/dist/cdn/{66HZ4CFW.js → VAAKEDW6.js} +2 -2
- package/dist/cdn/{QZUNCGIF.js → VBXJSOCP.js} +2 -2
- package/dist/cdn/{A5P6FRV7.js → VDIJAOXE.js} +2 -2
- package/dist/cdn/{BV67KGE3.js → VGEFJTQ7.js} +2 -2
- package/dist/cdn/{SYRGH4IP.js → VI6A3Y4V.js} +2 -2
- package/dist/cdn/{4OYU3VYB.js → VIHFAHTC.js} +2 -2
- package/dist/cdn/{IOQCMJDM.js → VJ2T3Q32.js} +2 -2
- package/dist/cdn/{T4M3T4RS.js → VJTZDKH6.js} +2 -2
- package/dist/cdn/{32UWEOGE.js → VKEAIQ7W.js} +2 -2
- package/dist/cdn/{WI2PK5PH.js → VLJVPFSV.js} +2 -2
- package/dist/cdn/{HIH6KSUX.js → VTTSGBR5.js} +1 -1
- package/dist/cdn/{LVWOAPCF.js → VXR2PQEH.js} +2 -2
- package/dist/cdn/{PVEHCRYW.js → VYKWK2BX.js} +2 -2
- package/dist/cdn/{XD7A67EU.js → W62W3LOA.js} +2 -2
- package/dist/cdn/{NJYV6KX6.js → W6LHCK7P.js} +2 -2
- package/dist/cdn/{CO2DP2DI.js → WCFSF7A6.js} +2 -2
- package/dist/cdn/{ZZ6ICIIG.js → WE6UE3KJ.js} +2 -2
- package/dist/cdn/{CD3AZHCX.js → WEOL6RSK.js} +2 -2
- package/dist/cdn/{W5OTI4GJ.js → WFIOSSYN.js} +2 -2
- package/dist/cdn/{A2FZ36I2.js → WFPKRTD3.js} +2 -2
- package/dist/cdn/WGEGKLDT.js +4 -0
- package/dist/cdn/WGRUBU2Y.js +4 -0
- package/dist/cdn/{4TMG2MRJ.js → WIX6R4XI.js} +2 -2
- package/dist/cdn/{YNL7TZVR.js → WQZZSYO5.js} +1 -1
- package/dist/cdn/{OIQRL57S.js → WUZDDPQU.js} +2 -2
- package/dist/cdn/{LLGXL2FM.js → WX2RTJ3T.js} +1 -1
- package/dist/cdn/{OV44LC7H.js → WYHW2ASX.js} +2 -2
- package/dist/cdn/{K6WR5EDK.js → X6UQRYBW.js} +2 -2
- package/dist/cdn/{XX6OFWI6.js → XO3YBGIL.js} +2 -2
- package/dist/cdn/{FZJLIT7Z.js → XZQZZC3C.js} +1 -1
- package/dist/cdn/{CJPCNBVG.js → YCKVHLNK.js} +2 -2
- package/dist/cdn/{H7HNI5VC.js → YHKV4IMA.js} +2 -2
- package/dist/cdn/{XITP2HVP.js → YIXNCAFO.js} +2 -2
- package/dist/cdn/{ZYAUUZNK.js → YKML7M7J.js} +2 -2
- package/dist/cdn/{ZR4Y7QSQ.js → YKSQ7TEX.js} +2 -2
- package/dist/cdn/{PZEMU6YN.js → YLWCZLWX.js} +2 -2
- package/dist/cdn/{4GZQCBLE.js → YPOFETNV.js} +2 -2
- package/dist/cdn/{AUESZVU4.js → YRJBKF6C.js} +2 -2
- package/dist/cdn/{6V4III7E.js → YUD3M45U.js} +2 -2
- package/dist/cdn/{GQBI4FHB.js → YVDXF4UB.js} +2 -2
- package/dist/cdn/YXKSGCHP.js +4 -0
- package/dist/cdn/{SPA4CCTH.js → ZCVLEFOZ.js} +2 -2
- package/dist/cdn/{NGJZW2XA.js → ZEOSRRT3.js} +2 -2
- package/dist/cdn/{3BQF3XCQ.js → ZGSIGKHE.js} +2 -2
- package/dist/cdn/{26CCKO42.js → ZIBWJVYK.js} +2 -2
- package/dist/cdn/{U62MSJKG.js → ZKK5CT2Y.js} +2 -2
- package/dist/cdn/{7LW2YQNW.js → ZLSRPXWT.js} +1 -1
- package/dist/cdn/{H2A4E2V5.js → ZMOPA7LL.js} +2 -2
- package/dist/cdn/{7IN6BWTZ.js → ZP32JPRG.js} +2 -2
- package/dist/cdn/{TRD4MHP2.js → ZQGM6XZT.js} +2 -2
- package/dist/cdn/{CUKHOOVQ.js → ZWBLEX27.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +10 -10
- package/dist/chunks/Auth.js.map +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 +2 -2
- 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 +2 -2
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.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/solutions-deploy-app-nav.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/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 +1 -1
- 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/info-card/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-basemap-gallery/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-floor-filter/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- 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-configure-titles/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-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item-accordion/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-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +2 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/373TXH6X.js +0 -4
- package/dist/cdn/4BC5PUYF.js +0 -4
- package/dist/cdn/4KV6D3RM.js +0 -4
- package/dist/cdn/5UC4CYX3.js +0 -4
- package/dist/cdn/7HIBIE5S.js +0 -4
- package/dist/cdn/7IWH6D5M.js +0 -4
- package/dist/cdn/B4KVKAMX.js +0 -4
- package/dist/cdn/CPIYJUUR.js +0 -4
- package/dist/cdn/FFVKKDWT.js +0 -4
- package/dist/cdn/GC4R6XRD.js +0 -4
- package/dist/cdn/HCZ5DMOB.js +0 -4
- package/dist/cdn/KEHSAGKX.js +0 -4
- package/dist/cdn/MUBMA2CZ.js +0 -4
- package/dist/cdn/PYQKMCG2.js +0 -4
- package/dist/cdn/SBRT4GZR.js +0 -4
- package/dist/cdn/SVGTK3UD.js +0 -4
- package/dist/cdn/VMEMQMFU.js +0 -4
- package/dist/cdn/WUW4CFR7.js +0 -4
- package/dist/cdn/X5DNRQC4.js +0 -4
- package/dist/cdn/XC3YLDVR.js +0 -4
- package/dist/cdn/ZTETANBH.js +0 -4
package/dist/cdn/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as o}from"./H2A4E2V5.js";import{u as e}from"./HIH6KSUX.js";import"./UEQ2M7OE.js";var a=e(o,{"arcgis-solutions-assistant":[()=>import("./YJMOB55J.js"),"open,serverRoot,token,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./VZNN27BA.js"),"appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./5RP4YGCC.js"),"customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./EEEBLVFP.js"),"amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./LVWOAPCF.js"),"allowMultipleCreation,customizeSubmit,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./RGGCXN32.js"),"customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./5NUKQCRO.js"),"appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./XEUQIIFT.js"),"center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./4E2QUIHI.js")],"delete-button":[()=>import("./LGRJQFUN.js"),"buttonType,deleteDialog,disabled,icon:,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./WI2PK5PH.js"),"ids:,layer:,open"],"edit-card":[()=>import("./7OQOH2NF.js"),"allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./CCWPI2S2.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./WWB4B72X.js"),"applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./P2IDE5OP.js"),"configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./HMFF7KAP.js"),"allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./7NUTECWV.js"),"applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-table":[()=>import("./HCZ5DMOB.js"),"appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./N367AMWJ.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./DWJYRIXW.js"),"appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./WP7SIAQC.js"),"active,drawMode:,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./6BWLIZSJ.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./XITP2HVP.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./3LTVBZW2.js"),"appearance,configLayerOrderDefined,defaultLayerId,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon:,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./SYRGH4IP.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./ENLBWWOF.js"),"height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./4FRJW5HL.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./5UMVW5IU.js"),"bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./XSRKYX35.js"),"basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedLayer:,selectedWebMapId,showOnlyUpdatableLayers,stackTools,toolOrder:,zoomToolsSize"],"pci-calculator":[()=>import("./DQFLJUCX.js")],"pdf-download":[()=>import("./X2OGYKSC.js"),"defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./2XKGPSPT.js"),"addresseeLayerIds:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./CPIYJUUR.js"),"addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./W4H632T7.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./PZEMU6YN.js"),"card:,open,solutionData,templateInfos:"],"solution-delete-dialog":[()=>import("./SPA4CCTH.js"),"card:,open;;close,delete"],"solution-deploy-dialog":[()=>import("./7IWH6D5M.js"),"card:,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./PYQKMCG2.js"),"allowDelete,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderConfigureDialog,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./SVGTK3UD.js"),"card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./FFVKKDWT.js"),"abortController:,card:,deploymentProgress,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./IHBY23HX.js"),"card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./GC4R6XRD.js"),"card:"],"solution-item-accordion":[()=>import("./SBRT4GZR.js"),"itemRelationshipDependencies:,linkType,listSelectionMode,templateInfos:,typeKeywords:;collapseAll,deselectAll,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./ZR4Y7QSQ.js"),"diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./JFXRBPOD.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./SH7LPYYM.js"),"date,heading,href,src,type"],"solution-snapshot-gallery":[()=>import("./KEHSAGKX.js"),"card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./RX3SI5Y3.js"),"actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solutions-all-panel":[()=>import("./CD3AZHCX.js"),"sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./VMEMQMFU.js"),"solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./WLOHWAHJ.js"),"appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./WUW4CFR7.js"),"appConfig,initTab,useLocalAppConfig;;activateMenuItem,clearMenuItems"],"solutions-deployed-filter-panel":[()=>import("./SJU2YRAX.js"),"isAllSolutions,isMobile,isOrgAdmin;;changeOwnerFilter,changeSearchFilter,clearFilters"],"solutions-deployed-panel":[()=>import("./F5LPHHYL.js"),"sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./4KV6D3RM.js"),"solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./4BC5PUYF.js"),"hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resource-panel":[()=>import("./XRJP6JXR.js"),"heading,href"],"solutions-resources":[()=>import("./5PSL2TWL.js"),"showAssistant"],"solutions-resources-shell":[()=>import("./MD5I2SFA.js")],"solutions-searchsort-toolbar":[()=>import("./SHIKGCFR.js"),"defaultSortType,isMobile,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});a({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync(`@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-filter-panel,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resource-panel,solutions-resources,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a as o}from"./ZMOPA7LL.js";import{u as e}from"./VTTSGBR5.js";import"./OBI4A4AA.js";var a=e(o,{"arcgis-solutions-assistant":[()=>import("./2LQ6UZTT.js"),"open,serverRoot,token,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./3C7EEW26.js"),"appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./NOGPPLBH.js"),"customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./I2GKR2VA.js"),"amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./VXR2PQEH.js"),"allowMultipleCreation,customizeSubmit,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./EUGPRFL4.js"),"customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./SHP3U3JY.js"),"appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./IIWGQLYN.js"),"center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./QGEJHDKV.js")],"delete-button":[()=>import("./NRH5UT5G.js"),"buttonType,deleteDialog,disabled,icon:,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./VLJVPFSV.js"),"ids:,layer:,open"],"edit-card":[()=>import("./6JWWLPWA.js"),"allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./3X5566EC.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./6AY42FOZ.js"),"applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./7MHE37ND.js"),"configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./UK7HJV5Q.js"),"allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./5O4YCDNG.js"),"applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-table":[()=>import("./2ZAI2L2Z.js"),"appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./PTDYPOBH.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./JTMPBZCY.js"),"appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./5KBG56UB.js"),"active,drawMode:,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./66RDTM4T.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./YIXNCAFO.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./E6ZJGJIL.js"),"appearance,configLayerOrderDefined,defaultLayerId,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon:,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./VI6A3Y4V.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./5A33WQAT.js"),"height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./CQ3N5OAF.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./DSMKW3R5.js"),"bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./CKNI5JQZ.js"),"basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedLayer:,selectedWebMapId,showOnlyUpdatableLayers,stackTools,toolOrder:,zoomToolsSize"],"pci-calculator":[()=>import("./DHDV37FH.js")],"pdf-download":[()=>import("./RYTV4M2W.js"),"defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./TGDEP6QV.js"),"addresseeLayerIds:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./7YYWVE2S.js"),"addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./M7RJNNBQ.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./YLWCZLWX.js"),"card:,open,solutionData,templateInfos:"],"solution-delete-dialog":[()=>import("./ZCVLEFOZ.js"),"card:,open;;close,delete"],"solution-deploy-dialog":[()=>import("./4VTDE7WM.js"),"card:,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./HM4AHTQA.js"),"allowDelete,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderConfigureDialog,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./OY6SET3T.js"),"card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./Q5VHOWDO.js"),"abortController:,card:,deploymentProgress,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./2EZ2T3HV.js"),"card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./YXKSGCHP.js"),"card:"],"solution-item-accordion":[()=>import("./WGEGKLDT.js"),"itemRelationshipDependencies:,linkType,listSelectionMode,templateInfos:,typeKeywords:;collapseAll,deselectAll,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./YKSQ7TEX.js"),"diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./FTRTGXW7.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./TBX5YM7Y.js"),"date,heading,href,src,type"],"solution-snapshot-gallery":[()=>import("./3TTOX4BB.js"),"card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./35CB3CIG.js"),"actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solutions-all-panel":[()=>import("./WEOL6RSK.js"),"sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./FS4FOH3D.js"),"solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./HWMTN5ZA.js"),"appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./CGZFXEML.js"),"appConfig,initTab,useLocalAppConfig;;activateMenuItem,clearMenuItems"],"solutions-deployed-filter-panel":[()=>import("./TEDF2YLW.js"),"isAllSolutions,isMobile,isOrgAdmin;;changeOwnerFilter,changeSearchFilter,clearFilters"],"solutions-deployed-panel":[()=>import("./G72TLXN2.js"),"sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./U74L7VJM.js"),"solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./UTCZEP45.js"),"hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resource-panel":[()=>import("./BMUBVYWB.js"),"heading,href"],"solutions-resources":[()=>import("./AR6I4F7I.js"),"showAssistant"],"solutions-resources-shell":[()=>import("./5BILAT4P.js")],"solutions-searchsort-toolbar":[()=>import("./CJZPJFAS.js"),"defaultSortType,isMobile,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});a({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync(`@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-filter-panel,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resource-panel,solutions-resources,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}
|
|
5
5
|
|
|
6
6
|
}`);document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,o)
|
package/dist/chunks/Auth.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import * as common from "@esri/solution-common";
|
|
5
|
-
import
|
|
5
|
+
import * as esriId from "@arcgis/core/identity/IdentityManager";
|
|
6
6
|
import OAuthInfo from "@arcgis/core/identity/OAuthInfo.js";
|
|
7
7
|
import Portal from "@arcgis/core/portal/Portal.js";
|
|
8
8
|
/** @license
|
|
@@ -35,7 +35,7 @@ class Auth {
|
|
|
35
35
|
this._locale = locale ?? "en";
|
|
36
36
|
this._portalUrl = portalURL ?? "https://www.arcgis.com";
|
|
37
37
|
this._portalRestUrl = this._portalUrl + "/sharing/rest";
|
|
38
|
-
this._credential =
|
|
38
|
+
this._credential = esriId.default.findCredential(this._portalRestUrl);
|
|
39
39
|
this._portalUrl = location.origin.endsWith(".arcgis.com") ? window.location.origin : this._portalUrl;
|
|
40
40
|
this._signInParam = signInParam;
|
|
41
41
|
}
|
|
@@ -77,7 +77,7 @@ class Auth {
|
|
|
77
77
|
return this._signInParam;
|
|
78
78
|
}
|
|
79
79
|
get RestUserSession() {
|
|
80
|
-
const serverInfo =
|
|
80
|
+
const serverInfo = esriId.default.findServerInfo(this._portalRestUrl);
|
|
81
81
|
const userSession = this._credential ? common.UserSession.fromCredential(this._credential, serverInfo) : new common.UserSession({});
|
|
82
82
|
userSession.portal = this.PortalSubset?.restUrl ? this.PortalSubset?.restUrl : userSession.portal;
|
|
83
83
|
userSession.clientId = this._credential?._oAuthCred?.appId;
|
|
@@ -102,7 +102,7 @@ class Auth {
|
|
|
102
102
|
this._credential = void 0;
|
|
103
103
|
this._portalSubset = void 0;
|
|
104
104
|
this._portalUserSubset = void 0;
|
|
105
|
-
|
|
105
|
+
esriId.default.destroyCredentials();
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
108
|
* Signs into app and refreshes the window.location or switches to the supplied URL.
|
|
@@ -111,7 +111,7 @@ class Auth {
|
|
|
111
111
|
* will be added to the redirect uri's search params
|
|
112
112
|
*/
|
|
113
113
|
async signIn(signInParamValue = "") {
|
|
114
|
-
|
|
114
|
+
esriId.default.setOAuthRedirectionHandler((info) => {
|
|
115
115
|
const redirectUri = info.authorizeParams.redirect_uri;
|
|
116
116
|
if (signInParamValue.length > 0) {
|
|
117
117
|
const redirectUriParts = redirectUri.split("?");
|
|
@@ -125,7 +125,7 @@ class Auth {
|
|
|
125
125
|
window.location.href = info.authorizeUrl + "?" + this._objectToQuery(info.authorizeParams);
|
|
126
126
|
return;
|
|
127
127
|
});
|
|
128
|
-
await
|
|
128
|
+
await esriId.default.getCredential((this._portalSubset?.portalUrl ?? this._portalUrl) + "/sharing").then(
|
|
129
129
|
(credential) => {
|
|
130
130
|
if (credential) {
|
|
131
131
|
window.location.reload();
|
|
@@ -137,7 +137,7 @@ class Auth {
|
|
|
137
137
|
* Signs out of app and refreshes the page.
|
|
138
138
|
*/
|
|
139
139
|
signOut() {
|
|
140
|
-
|
|
140
|
+
esriId.default.destroyCredentials();
|
|
141
141
|
this.destroy();
|
|
142
142
|
window.location.reload();
|
|
143
143
|
}
|
|
@@ -181,13 +181,13 @@ class Auth {
|
|
|
181
181
|
preserveUrlHash: true
|
|
182
182
|
});
|
|
183
183
|
try {
|
|
184
|
-
|
|
184
|
+
esriId.default.registerOAuthInfos([info]);
|
|
185
185
|
} catch (error) {
|
|
186
186
|
console.log("this should not be the case...whats going on here");
|
|
187
187
|
console.log(error);
|
|
188
188
|
}
|
|
189
189
|
try {
|
|
190
|
-
const response = await
|
|
190
|
+
const response = await esriId.default.checkAppAccess(this._portalUrl, this._clientId);
|
|
191
191
|
if (typeof response.valid !== "undefined" && !response.valid || response.viewOnlyUserTypeApp) {
|
|
192
192
|
window.location.replace(`error.html?error=blocked&locale=${this._locale}`);
|
|
193
193
|
}
|
package/dist/chunks/Auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Auth.js","sources":["../../src/utils/Auth.ts"],"sourcesContent":["/** @license\r\n *\r\n * Copyright 2025 Esri\r\n *\r\n * All rights reserved under the copyright laws of the United States and applicable international laws, treaties,\r\n * and conventions.\r\n *\r\n * This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of\r\n * that agreement. You may redistribute and use this code without modification, provided you adhere to the terms\r\n * of the MLA and include this copyright notice.\r\n *\r\n * See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\r\n *\r\n * For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal\r\n * Services Department 380 New York Street Redlands, California, USA 92373 USA\r\n *\r\n * email: contracts@esri.com\r\n */\r\n\r\n/**\r\n * Auth manages an authenticated connection to ArcGIS.\r\n * @module Auth\r\n */\r\n\r\n//#region Interfaces\r\nimport * as common from '@esri/solution-common';\r\nimport IdentityManager from '@arcgis/core/identity/IdentityManager.js';\r\n// this worked in a dev build\r\n//import * as esriId from '@arcgis/core/identity/IdentityManager';\r\nimport OAuthInfo from '@arcgis/core/identity/OAuthInfo.js';\r\nimport Portal from '@arcgis/core/portal/Portal.js';\r\nimport type { IOrgSettings } from './interfaces';\r\n\r\nexport interface IPortalSubset {\r\n name: string;\r\n id: string;\r\n restUrl: string;\r\n portalUrl: string;\r\n urlKey: string;\r\n hostName: string;\r\n orgUrl: string;\r\n locationTrackingEnabled: boolean;\r\n hubPremiumEnabled: boolean;\r\n workflowURL: string;\r\n isReadOnly: boolean;\r\n orgSettings: IOrgSettings;\r\n}\r\n\r\nexport interface IPortalUserSubset {\r\n fullName: string;\r\n username: string;\r\n culture: string;\r\n thumbnailUrl: string;\r\n privileges: string[];\r\n orgId: string;\r\n role: string;\r\n roleId?: string;\r\n}\r\n\r\nexport interface IPortalUserWithPrivileges extends __esri.PortalUser {\r\n privileges: string[];\r\n}\r\n\r\ntype ReplacerOption = ((key: string, value: any) => string) | HashMap<(value: any) => string>;\r\n\r\n//#endregion\r\n// ------------------------------------------------------------------------------------------------------------------ //\r\n\r\nexport class Auth {\r\n private _clientId: string;\r\n private _credential: __esri.Credential | undefined = undefined;\r\n private _isEnterprise: boolean = false;\r\n private _locale: string = 'en';\r\n private _portal!: Portal;\r\n private _portalRestUrl: string;\r\n private _portalSubset: IPortalSubset | undefined = undefined;\r\n private _portalUrl: string;\r\n private _portalUserSubset: IPortalUserSubset | undefined = undefined;\r\n private _signInParam: string | undefined = undefined;\r\n\r\n public constructor(\r\n clientId?: string,\r\n portalURL?: string,\r\n locale?: string,\r\n signInParam?: string,\r\n ) {\r\n this._clientId = clientId ?? '';\r\n this._locale = locale ?? 'en';\r\n this._portalUrl = portalURL ?? 'https://www.arcgis.com';\r\n this._portalRestUrl = this._portalUrl + '/sharing/rest';\r\n this._credential = IdentityManager.findCredential(this._portalRestUrl);\r\n\r\n // Use origin for the portal Url if it's on arcgis.com domain\r\n // Else use the portalUrl passed in as the default. Default is https://www.arcgis.com\r\n this._portalUrl = location.origin.endsWith('.arcgis.com') ? window.location.origin : this._portalUrl;\r\n this._signInParam = signInParam;\r\n }\r\n\r\n public get Credential(): __esri.Credential | undefined {\r\n return this._credential;\r\n }\r\n\r\n public get IsEnterprisePortal(): boolean {\r\n return this._isEnterprise;\r\n }\r\n\r\n public get IsSignedIn(): boolean {\r\n return !!this._credential;\r\n }\r\n\r\n public get Portal(): Portal {\r\n return this._portal;\r\n }\r\n\r\n public get PortalSubset(): IPortalSubset | undefined {\r\n return this._portalSubset;\r\n }\r\n\r\n public get PortalUrl(): string {\r\n return this._portalUrl;\r\n }\r\n\r\n public get PortalUserOrg(): string | undefined {\r\n return this._portalSubset && this._portalSubset.id;\r\n }\r\n\r\n public get PortalUserName(): string {\r\n return (this._portalUserSubset && this._portalUserSubset.username) || '';\r\n }\r\n\r\n public get PortalUserSubset(): IPortalUserSubset | undefined {\r\n return this._portalUserSubset;\r\n }\r\n\r\n public get PortalUserPrivileges(): string[] {\r\n let privileges = [] as string[];\r\n if (this._portalUserSubset?.privileges) {\r\n privileges = this._portalUserSubset.privileges;\r\n }\r\n return privileges;\r\n }\r\n\r\n public get SignInParam(): string | undefined {\r\n return this._signInParam;\r\n }\r\n\r\n public get RestUserSession(): common.UserSession {\r\n const serverInfo = IdentityManager.findServerInfo(this._portalRestUrl);\r\n\r\n const userSession = this._credential\r\n ? common.UserSession.fromCredential(this._credential as any, serverInfo as any)\r\n : new common.UserSession({});\r\n\r\n // Fill in incorrect and missing fields\r\n (userSession as any).portal = this.PortalSubset?.restUrl ? this.PortalSubset?.restUrl : (userSession as any).portal;\r\n (userSession as any).clientId = (this._credential as any)?._oAuthCred?.appId;\r\n (userSession as any)._refreshToken = (this._credential as any)?._oAuthCred?.refreshToken;\r\n\r\n return userSession;\r\n }\r\n\r\n /**\r\n * Initializes the Auth object. This method must be called before any other Auth methods.\r\n * If the user is not authorized to use the app, the page will be redirected to an error page.\r\n *\r\n * @returns Promise that resolves with the initialized Auth object\r\n */\r\n public async initialize(): Promise<Auth> {\r\n try {\r\n await this._init();\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n } catch (err) {\r\n // User is not signed in or not authorized to use the app\r\n this.destroy();\r\n }\r\n return this;\r\n }\r\n\r\n public destroy(): void {\r\n this._credential = undefined;\r\n this._portalSubset = undefined;\r\n this._portalUserSubset = undefined;\r\n IdentityManager.destroyCredentials();\r\n }\r\n\r\n /**\r\n * Signs into app and refreshes the window.location or switches to the supplied URL.\r\n *\r\n * @param signInParamValue If supplied, the parameter `signInParam` with the supplied value\r\n * will be added to the redirect uri's search params\r\n */\r\n public async signIn(signInParamValue = '') {\r\n // If a sign-in parameter value is supplied, add it to the redirect uri before\r\n // the authentication display appears\r\n IdentityManager.setOAuthRedirectionHandler((info) => {\r\n const redirectUri = info.authorizeParams.redirect_uri;\r\n if (signInParamValue.length > 0) {\r\n // Add the sign-in parameter to the redirect uri\r\n const redirectUriParts = redirectUri.split('?');\r\n const redirectOriginPath = redirectUriParts[0];\r\n let redirectSearch = '';\r\n const redirectSearchParams = new URLSearchParams(redirectUriParts[1] || '');\r\n redirectSearchParams.append('signInParam', signInParamValue);\r\n redirectSearch = '?' + redirectSearchParams.toString();\r\n info.authorizeParams.redirect_uri = redirectOriginPath + redirectSearch;\r\n }\r\n window.location.href = info.authorizeUrl + '?' + this._objectToQuery(info.authorizeParams as HashMap<any>);\r\n return;\r\n })\r\n\r\n // getCredential usually triggers a page refresh. If it doesn't refresh but returns a credential, we'll do the\r\n // refresh; if it doesn't refresh but doesn't return a credential, we'll leave the page alone\r\n await IdentityManager.getCredential((this._portalSubset?.portalUrl ?? this._portalUrl) + '/sharing').then(\r\n (credential: any) => {\r\n // Got a credential without a redirect, so we'll do refresh\r\n if (credential) {\r\n window.location.reload();\r\n }\r\n },\r\n )\r\n }\r\n\r\n /**\r\n * Signs out of app and refreshes the page.\r\n */\r\n public signOut(): void {\r\n IdentityManager.destroyCredentials();\r\n this.destroy();\r\n window.location.reload();\r\n }\r\n\r\n /**\r\n * Refreshes the user session token\r\n */\r\n public refreshSession(): Promise<common.UserSession> | undefined {\r\n const userSession = this.RestUserSession;\r\n if (!userSession || !this.IsSignedIn) {\r\n return undefined;\r\n }\r\n return userSession.exchangeRefreshToken();\r\n }\r\n\r\n // ---------------------------------------------------------------------------------------------------------------- //\r\n\r\n /**\r\n * Generates the organization URL.\r\n * @param portalUrl The URL to the portal instance.\r\n * @param portalUrlKey The prefix selected by the organization's administrator to be used with the customBaseURL.\r\n * @param portalCustomBaseUrl The custom base URL for the portal.\r\n * @returns\r\n */\r\n private _getOrgUrl(portalUrl: string, portalUrlKey: string, portalCustomBaseUrl: string): string {\r\n if (portalUrlKey && portalCustomBaseUrl) {\r\n return window.location.protocol + '//' + portalUrlKey.toLowerCase() + '.' + portalCustomBaseUrl;\r\n } else {\r\n return portalUrl;\r\n }\r\n }\r\n\r\n /**\r\n * Initializes the Auth object. This method must be called before any other Auth methods.\r\n * If the user is not authorized to use the app, the page will be redirected to an error page.\r\n * @returns Promise that resolves with the initialized Auth object\r\n */\r\n private async _init(): Promise<Auth> {\r\n // Set up user authentication\r\n const info = new OAuthInfo({\r\n appId: this._clientId,\r\n locale: this._locale,\r\n popup: false, // inline redirects don't require any additional app configuration\r\n portalUrl: this._portalUrl,\r\n preserveUrlHash: true,\r\n })\r\n\r\n try {\r\n IdentityManager.registerOAuthInfos([info]);\r\n } catch (error) {\r\n console.log('this should not be the case...whats going on here')\r\n console.log(error);\r\n }\r\n \r\n // try {\r\n // esriId.default.registerOAuthInfos([info]);\r\n // } catch (error) {\r\n // console.log(error)\r\n // }\r\n\r\n // Persist logins when the page is refreshed\r\n //this._credential = await IdentityManager.checkSignInStatus(this._portalUrl + '/sharing') //???\r\n\r\n // Check that this user is authorized to use the app\r\n try {\r\n const response: any = await IdentityManager.checkAppAccess(this._portalUrl, this._clientId);\r\n if ((typeof response.valid !== 'undefined' && !response.valid) || response.viewOnlyUserTypeApp) {\r\n // User is not authorized to use the app\r\n window.location.replace(`error.html?error=blocked&locale=${this._locale}`);\r\n }\r\n this._credential = response.credential;\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n } catch (err: any) {\r\n // User is not signed in\r\n if (err.name === 'identity-manager:not-authenticated') {\r\n return this;\r\n }\r\n\r\n // User is not authorized to use the app\r\n //this.destroy();\r\n\r\n // Redirect to error page\r\n //window.location.replace(`error.html?error=blocked&locale=${this._locale}`);\r\n }\r\n\r\n // Once portal is loaded, user signed in\r\n this._portal = new Portal({ url: this._portalUrl });\r\n this._portal.authMode = 'immediate';\r\n await this._portal.load();\r\n const orgSettings = this._credential ? await common.getOrganizationSettings(this.RestUserSession): {};\r\n\r\n this._isEnterprise = this._portal.isPortal;\r\n\r\n this._portalSubset = {\r\n name: this._portal.name ?? '',\r\n id: this._portal.id ?? '',\r\n restUrl: this._portal.restUrl ?? '',\r\n portalUrl: this._portal.url ?? '',\r\n urlKey: this._portal.urlKey ?? '',\r\n hostName: this._portal.portalHostname ?? '',\r\n orgUrl: this._getOrgUrl(this._portal.url, this._portal.urlKey ?? '', this._portal.customBaseUrl ?? ''),\r\n locationTrackingEnabled: this._portal.helperServices.hasOwnProperty('locationTracking'),\r\n hubPremiumEnabled: this._portal.portalProperties?.hub?.enabled || false,\r\n workflowURL: this._portal.helperServices?.workflowManager?.url ?? this._portal.url,\r\n isReadOnly: this._portal.isReadOnly,\r\n orgSettings\r\n };\r\n\r\n this._portalUserSubset = {\r\n fullName: this._portal.user?.fullName ?? '',\r\n username: this._portal.user?.username ?? '',\r\n culture: this._portal.user?.culture?.toLowerCase() || 'en',\r\n thumbnailUrl:\r\n this._portal.user?.thumbnailUrl || this._portal.url + '/home/js/arcgisonline/css/images/no-user-thumb.jpg',\r\n orgId: this._portal.user?.orgId ?? '',\r\n privileges: (this._portal.user as IPortalUserWithPrivileges).privileges,\r\n role: this._portal.user?.role ?? '',\r\n };\r\n\r\n // If running on Enterprise, update the workflow URL\r\n if (this._isEnterprise && this._portalSubset) {\r\n this._portalSubset.workflowURL = await common.getWorkflowEnterpriseServerRootURL(\r\n this._portal.restUrl,\r\n (this.RestUserSession as any) || new common.UserSession({}),\r\n );\r\n }\r\n\r\n if (this._portal?.user?.roleId && this._portalUserSubset) {\r\n this._portalUserSubset.roleId = this._portal.user.roleId;\r\n }\r\n\r\n return this;\r\n }\r\n\r\n /**\r\n * Checks if an object is serializable.\r\n * @param obj Object to check\r\n * This function checks if the object has a `toJSON` method, which is a\r\n * @returns Boolean indicating whether the object is serializable.\r\n */\r\n private _isSerializable(obj: any): obj is { toJSON(): any } {\r\n return obj && typeof obj === 'object' && 'toJSON' in obj && typeof obj.toJSON === 'function';\r\n }\r\n\r\n /**\r\n * Converts a hashmap of query parameters to a query string. Following formatting rules applies:\r\n * - object values that implements `toJSON()` are stringified\r\n * - array value will map to multiple key value pairs. ie `{ key: [\"v1\", \"v2\"] }` returns `key=v1&key=v2\r\n *\r\n * @param queryParameters the query parameters to convert to a string\r\n * @param replacers optional replacer functions defined per key\r\n *\r\n * @example\r\n * const queryParameters = {\r\n * objectIds: [1, 2, 3, 4]\r\n * };\r\n *\r\n * // returns: \"objectIds=1&objectIds=2&objectIds=3&objectIds=4\"\r\n * objectToQuery(queryParameters);\r\n *\r\n * // returns: \"objectIds=1,2,3,4\"\r\n * objectToQuery(queryParameters, {\r\n * objectIds: (v) => v.join(\",\")\r\n * });\r\n *\r\n * // returns: \"objectIds=1,2,3,4\"\r\n * objectToQuery(queryParameters, (k, v) => {\r\n * switch (k) {\r\n * case \"objectIds\":\r\n * return v.join(\",\"));\r\n * default:\r\n * return \"\" + v;\r\n * }\r\n * });\r\n *\r\n * Copied from function exported in arcgis-js-api but not added to JSAPI.\r\n */\r\n private _objectToQuery(queryParameters: HashMap<any>, replacers?: ReplacerOption): string {\r\n if (!queryParameters) {\r\n return '';\r\n }\r\n\r\n if (replacers && typeof replacers === 'function') {\r\n return Object.keys(queryParameters)\r\n .map((key) => encodeURIComponent(key) + '=' + encodeURIComponent(replacers(key, queryParameters[key])))\r\n .join('&');\r\n }\r\n\r\n return Object.keys(queryParameters)\r\n .map((key) => {\r\n const value = queryParameters[key];\r\n\r\n if (value == undefined) {\r\n return '';\r\n }\r\n\r\n const assign = encodeURIComponent(key) + '=';\r\n const replacer = replacers && replacers[key];\r\n\r\n if (replacer) {\r\n return assign + encodeURIComponent(replacer(value));\r\n }\r\n\r\n if (Array.isArray(value)) {\r\n return value\r\n .map((child) => {\r\n if (this._isSerializable(child)) {\r\n return assign + encodeURIComponent(JSON.stringify(child));\r\n }\r\n\r\n return assign + encodeURIComponent(child as string);\r\n })\r\n .join('&')\r\n }\r\n\r\n if (this._isSerializable(value)) {\r\n return assign + encodeURIComponent(JSON.stringify(value));\r\n }\r\n\r\n return assign + encodeURIComponent(value as string);\r\n })\r\n .filter((value) => value)\r\n .join('&');\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoEO,MAAM,KAAK;AAAA,EAYT,YACL,UACA,WACA,QACA,aACA;AAfF,SAAQ,cAA6C;AACrD,SAAQ,gBAAyB;AACjC,SAAQ,UAAkB;AAG1B,SAAQ,gBAA2C;AAEnD,SAAQ,oBAAmD;AAC3D,SAAQ,eAAmC;AAQzC,SAAK,YAAY,YAAY;AAC7B,SAAK,UAAU,UAAU;AACzB,SAAK,aAAa,aAAa;AAC/B,SAAK,iBAAiB,KAAK,aAAa;AACxC,SAAK,cAAc,gB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B,eAAO,SAAS,mBAAmB,KAAK,UAAU,KAAK,CAAC;AAAA,MAC1D;AAEA,aAAO,SAAS,mBAAmB,KAAe;AAAA,IACpD,CAAC,EACA,OAAO,CAAC,UAAU,KAAK,EACvB,KAAK,GAAG;AAAA,EACb;AACF;"}
|
|
1
|
+
{"version":3,"file":"Auth.js","sources":["../../src/utils/Auth.ts"],"sourcesContent":["/** @license\r\n *\r\n * Copyright 2025 Esri\r\n *\r\n * All rights reserved under the copyright laws of the United States and applicable international laws, treaties,\r\n * and conventions.\r\n *\r\n * This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of\r\n * that agreement. You may redistribute and use this code without modification, provided you adhere to the terms\r\n * of the MLA and include this copyright notice.\r\n *\r\n * See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\r\n *\r\n * For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal\r\n * Services Department 380 New York Street Redlands, California, USA 92373 USA\r\n *\r\n * email: contracts@esri.com\r\n */\r\n\r\n/**\r\n * Auth manages an authenticated connection to ArcGIS.\r\n * @module Auth\r\n */\r\n\r\n//#region Interfaces\r\nimport * as common from '@esri/solution-common';\r\n//import IdentityManager from '@arcgis/core/identity/IdentityManager.js';\r\n// this worked in a dev build\r\nimport * as esriId from '@arcgis/core/identity/IdentityManager';\r\nimport OAuthInfo from '@arcgis/core/identity/OAuthInfo.js';\r\nimport Portal from '@arcgis/core/portal/Portal.js';\r\nimport type { IOrgSettings } from './interfaces';\r\n\r\nexport interface IPortalSubset {\r\n name: string;\r\n id: string;\r\n restUrl: string;\r\n portalUrl: string;\r\n urlKey: string;\r\n hostName: string;\r\n orgUrl: string;\r\n locationTrackingEnabled: boolean;\r\n hubPremiumEnabled: boolean;\r\n workflowURL: string;\r\n isReadOnly: boolean;\r\n orgSettings: IOrgSettings;\r\n}\r\n\r\nexport interface IPortalUserSubset {\r\n fullName: string;\r\n username: string;\r\n culture: string;\r\n thumbnailUrl: string;\r\n privileges: string[];\r\n orgId: string;\r\n role: string;\r\n roleId?: string;\r\n}\r\n\r\nexport interface IPortalUserWithPrivileges extends __esri.PortalUser {\r\n privileges: string[];\r\n}\r\n\r\ntype ReplacerOption = ((key: string, value: any) => string) | HashMap<(value: any) => string>;\r\n\r\n//#endregion\r\n// ------------------------------------------------------------------------------------------------------------------ //\r\n\r\nexport class Auth {\r\n private _clientId: string;\r\n private _credential: __esri.Credential | undefined = undefined;\r\n private _isEnterprise: boolean = false;\r\n private _locale: string = 'en';\r\n private _portal!: Portal;\r\n private _portalRestUrl: string;\r\n private _portalSubset: IPortalSubset | undefined = undefined;\r\n private _portalUrl: string;\r\n private _portalUserSubset: IPortalUserSubset | undefined = undefined;\r\n private _signInParam: string | undefined = undefined;\r\n\r\n public constructor(\r\n clientId?: string,\r\n portalURL?: string,\r\n locale?: string,\r\n signInParam?: string,\r\n ) {\r\n this._clientId = clientId ?? '';\r\n this._locale = locale ?? 'en';\r\n this._portalUrl = portalURL ?? 'https://www.arcgis.com';\r\n this._portalRestUrl = this._portalUrl + '/sharing/rest';\r\n this._credential = esriId.default.findCredential(this._portalRestUrl);\r\n\r\n // Use origin for the portal Url if it's on arcgis.com domain\r\n // Else use the portalUrl passed in as the default. Default is https://www.arcgis.com\r\n this._portalUrl = location.origin.endsWith('.arcgis.com') ? window.location.origin : this._portalUrl;\r\n this._signInParam = signInParam;\r\n }\r\n\r\n public get Credential(): __esri.Credential | undefined {\r\n return this._credential;\r\n }\r\n\r\n public get IsEnterprisePortal(): boolean {\r\n return this._isEnterprise;\r\n }\r\n\r\n public get IsSignedIn(): boolean {\r\n return !!this._credential;\r\n }\r\n\r\n public get Portal(): Portal {\r\n return this._portal;\r\n }\r\n\r\n public get PortalSubset(): IPortalSubset | undefined {\r\n return this._portalSubset;\r\n }\r\n\r\n public get PortalUrl(): string {\r\n return this._portalUrl;\r\n }\r\n\r\n public get PortalUserOrg(): string | undefined {\r\n return this._portalSubset && this._portalSubset.id;\r\n }\r\n\r\n public get PortalUserName(): string {\r\n return (this._portalUserSubset && this._portalUserSubset.username) || '';\r\n }\r\n\r\n public get PortalUserSubset(): IPortalUserSubset | undefined {\r\n return this._portalUserSubset;\r\n }\r\n\r\n public get PortalUserPrivileges(): string[] {\r\n let privileges = [] as string[];\r\n if (this._portalUserSubset?.privileges) {\r\n privileges = this._portalUserSubset.privileges;\r\n }\r\n return privileges;\r\n }\r\n\r\n public get SignInParam(): string | undefined {\r\n return this._signInParam;\r\n }\r\n\r\n public get RestUserSession(): common.UserSession {\r\n const serverInfo = esriId.default.findServerInfo(this._portalRestUrl);\r\n\r\n const userSession = this._credential\r\n ? common.UserSession.fromCredential(this._credential as any, serverInfo as any)\r\n : new common.UserSession({});\r\n\r\n // Fill in incorrect and missing fields\r\n (userSession as any).portal = this.PortalSubset?.restUrl ? this.PortalSubset?.restUrl : (userSession as any).portal;\r\n (userSession as any).clientId = (this._credential as any)?._oAuthCred?.appId;\r\n (userSession as any)._refreshToken = (this._credential as any)?._oAuthCred?.refreshToken;\r\n\r\n return userSession;\r\n }\r\n\r\n /**\r\n * Initializes the Auth object. This method must be called before any other Auth methods.\r\n * If the user is not authorized to use the app, the page will be redirected to an error page.\r\n *\r\n * @returns Promise that resolves with the initialized Auth object\r\n */\r\n public async initialize(): Promise<Auth> {\r\n try {\r\n await this._init();\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n } catch (err) {\r\n // User is not signed in or not authorized to use the app\r\n this.destroy();\r\n }\r\n return this;\r\n }\r\n\r\n public destroy(): void {\r\n this._credential = undefined;\r\n this._portalSubset = undefined;\r\n this._portalUserSubset = undefined;\r\n esriId.default.destroyCredentials();\r\n }\r\n\r\n /**\r\n * Signs into app and refreshes the window.location or switches to the supplied URL.\r\n *\r\n * @param signInParamValue If supplied, the parameter `signInParam` with the supplied value\r\n * will be added to the redirect uri's search params\r\n */\r\n public async signIn(signInParamValue = '') {\r\n // If a sign-in parameter value is supplied, add it to the redirect uri before\r\n // the authentication display appears\r\n esriId.default.setOAuthRedirectionHandler((info) => {\r\n const redirectUri = info.authorizeParams.redirect_uri;\r\n if (signInParamValue.length > 0) {\r\n // Add the sign-in parameter to the redirect uri\r\n const redirectUriParts = redirectUri.split('?');\r\n const redirectOriginPath = redirectUriParts[0];\r\n let redirectSearch = '';\r\n const redirectSearchParams = new URLSearchParams(redirectUriParts[1] || '');\r\n redirectSearchParams.append('signInParam', signInParamValue);\r\n redirectSearch = '?' + redirectSearchParams.toString();\r\n info.authorizeParams.redirect_uri = redirectOriginPath + redirectSearch;\r\n }\r\n window.location.href = info.authorizeUrl + '?' + this._objectToQuery(info.authorizeParams as HashMap<any>);\r\n return;\r\n })\r\n\r\n // getCredential usually triggers a page refresh. If it doesn't refresh but returns a credential, we'll do the\r\n // refresh; if it doesn't refresh but doesn't return a credential, we'll leave the page alone\r\n await esriId.default.getCredential((this._portalSubset?.portalUrl ?? this._portalUrl) + '/sharing').then(\r\n (credential: any) => {\r\n // Got a credential without a redirect, so we'll do refresh\r\n if (credential) {\r\n window.location.reload();\r\n }\r\n },\r\n )\r\n }\r\n\r\n /**\r\n * Signs out of app and refreshes the page.\r\n */\r\n public signOut(): void {\r\n esriId.default.destroyCredentials();\r\n this.destroy();\r\n window.location.reload();\r\n }\r\n\r\n /**\r\n * Refreshes the user session token\r\n */\r\n public refreshSession(): Promise<common.UserSession> | undefined {\r\n const userSession = this.RestUserSession;\r\n if (!userSession || !this.IsSignedIn) {\r\n return undefined;\r\n }\r\n return userSession.exchangeRefreshToken();\r\n }\r\n\r\n // ---------------------------------------------------------------------------------------------------------------- //\r\n\r\n /**\r\n * Generates the organization URL.\r\n * @param portalUrl The URL to the portal instance.\r\n * @param portalUrlKey The prefix selected by the organization's administrator to be used with the customBaseURL.\r\n * @param portalCustomBaseUrl The custom base URL for the portal.\r\n * @returns\r\n */\r\n private _getOrgUrl(portalUrl: string, portalUrlKey: string, portalCustomBaseUrl: string): string {\r\n if (portalUrlKey && portalCustomBaseUrl) {\r\n return window.location.protocol + '//' + portalUrlKey.toLowerCase() + '.' + portalCustomBaseUrl;\r\n } else {\r\n return portalUrl;\r\n }\r\n }\r\n\r\n /**\r\n * Initializes the Auth object. This method must be called before any other Auth methods.\r\n * If the user is not authorized to use the app, the page will be redirected to an error page.\r\n * @returns Promise that resolves with the initialized Auth object\r\n */\r\n private async _init(): Promise<Auth> {\r\n // Set up user authentication\r\n const info = new OAuthInfo({\r\n appId: this._clientId,\r\n locale: this._locale,\r\n popup: false, // inline redirects don't require any additional app configuration\r\n portalUrl: this._portalUrl,\r\n preserveUrlHash: true,\r\n })\r\n\r\n try {\r\n esriId.default.registerOAuthInfos([info]);\r\n } catch (error) {\r\n console.log('this should not be the case...whats going on here')\r\n console.log(error);\r\n }\r\n \r\n // try {\r\n // esriId.default.registerOAuthInfos([info]);\r\n // } catch (error) {\r\n // console.log(error)\r\n // }\r\n\r\n // Persist logins when the page is refreshed\r\n //this._credential = await esriId.default.checkSignInStatus(this._portalUrl + '/sharing') //???\r\n\r\n // Check that this user is authorized to use the app\r\n try {\r\n const response: any = await esriId.default.checkAppAccess(this._portalUrl, this._clientId);\r\n if ((typeof response.valid !== 'undefined' && !response.valid) || response.viewOnlyUserTypeApp) {\r\n // User is not authorized to use the app\r\n window.location.replace(`error.html?error=blocked&locale=${this._locale}`);\r\n }\r\n this._credential = response.credential;\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n } catch (err: any) {\r\n // User is not signed in\r\n if (err.name === 'identity-manager:not-authenticated') {\r\n return this;\r\n }\r\n\r\n // User is not authorized to use the app\r\n //this.destroy();\r\n\r\n // Redirect to error page\r\n //window.location.replace(`error.html?error=blocked&locale=${this._locale}`);\r\n }\r\n\r\n // Once portal is loaded, user signed in\r\n this._portal = new Portal({ url: this._portalUrl });\r\n this._portal.authMode = 'immediate';\r\n await this._portal.load();\r\n const orgSettings = this._credential ? await common.getOrganizationSettings(this.RestUserSession): {};\r\n\r\n this._isEnterprise = this._portal.isPortal;\r\n\r\n this._portalSubset = {\r\n name: this._portal.name ?? '',\r\n id: this._portal.id ?? '',\r\n restUrl: this._portal.restUrl ?? '',\r\n portalUrl: this._portal.url ?? '',\r\n urlKey: this._portal.urlKey ?? '',\r\n hostName: this._portal.portalHostname ?? '',\r\n orgUrl: this._getOrgUrl(this._portal.url, this._portal.urlKey ?? '', this._portal.customBaseUrl ?? ''),\r\n locationTrackingEnabled: this._portal.helperServices.hasOwnProperty('locationTracking'),\r\n hubPremiumEnabled: this._portal.portalProperties?.hub?.enabled || false,\r\n workflowURL: this._portal.helperServices?.workflowManager?.url ?? this._portal.url,\r\n isReadOnly: this._portal.isReadOnly,\r\n orgSettings\r\n };\r\n\r\n this._portalUserSubset = {\r\n fullName: this._portal.user?.fullName ?? '',\r\n username: this._portal.user?.username ?? '',\r\n culture: this._portal.user?.culture?.toLowerCase() || 'en',\r\n thumbnailUrl:\r\n this._portal.user?.thumbnailUrl || this._portal.url + '/home/js/arcgisonline/css/images/no-user-thumb.jpg',\r\n orgId: this._portal.user?.orgId ?? '',\r\n privileges: (this._portal.user as IPortalUserWithPrivileges).privileges,\r\n role: this._portal.user?.role ?? '',\r\n };\r\n\r\n // If running on Enterprise, update the workflow URL\r\n if (this._isEnterprise && this._portalSubset) {\r\n this._portalSubset.workflowURL = await common.getWorkflowEnterpriseServerRootURL(\r\n this._portal.restUrl,\r\n (this.RestUserSession as any) || new common.UserSession({}),\r\n );\r\n }\r\n\r\n if (this._portal?.user?.roleId && this._portalUserSubset) {\r\n this._portalUserSubset.roleId = this._portal.user.roleId;\r\n }\r\n\r\n return this;\r\n }\r\n\r\n /**\r\n * Checks if an object is serializable.\r\n * @param obj Object to check\r\n * This function checks if the object has a `toJSON` method, which is a\r\n * @returns Boolean indicating whether the object is serializable.\r\n */\r\n private _isSerializable(obj: any): obj is { toJSON(): any } {\r\n return obj && typeof obj === 'object' && 'toJSON' in obj && typeof obj.toJSON === 'function';\r\n }\r\n\r\n /**\r\n * Converts a hashmap of query parameters to a query string. Following formatting rules applies:\r\n * - object values that implements `toJSON()` are stringified\r\n * - array value will map to multiple key value pairs. ie `{ key: [\"v1\", \"v2\"] }` returns `key=v1&key=v2\r\n *\r\n * @param queryParameters the query parameters to convert to a string\r\n * @param replacers optional replacer functions defined per key\r\n *\r\n * @example\r\n * const queryParameters = {\r\n * objectIds: [1, 2, 3, 4]\r\n * };\r\n *\r\n * // returns: \"objectIds=1&objectIds=2&objectIds=3&objectIds=4\"\r\n * objectToQuery(queryParameters);\r\n *\r\n * // returns: \"objectIds=1,2,3,4\"\r\n * objectToQuery(queryParameters, {\r\n * objectIds: (v) => v.join(\",\")\r\n * });\r\n *\r\n * // returns: \"objectIds=1,2,3,4\"\r\n * objectToQuery(queryParameters, (k, v) => {\r\n * switch (k) {\r\n * case \"objectIds\":\r\n * return v.join(\",\"));\r\n * default:\r\n * return \"\" + v;\r\n * }\r\n * });\r\n *\r\n * Copied from function exported in arcgis-js-api but not added to JSAPI.\r\n */\r\n private _objectToQuery(queryParameters: HashMap<any>, replacers?: ReplacerOption): string {\r\n if (!queryParameters) {\r\n return '';\r\n }\r\n\r\n if (replacers && typeof replacers === 'function') {\r\n return Object.keys(queryParameters)\r\n .map((key) => encodeURIComponent(key) + '=' + encodeURIComponent(replacers(key, queryParameters[key])))\r\n .join('&');\r\n }\r\n\r\n return Object.keys(queryParameters)\r\n .map((key) => {\r\n const value = queryParameters[key];\r\n\r\n if (value == undefined) {\r\n return '';\r\n }\r\n\r\n const assign = encodeURIComponent(key) + '=';\r\n const replacer = replacers && replacers[key];\r\n\r\n if (replacer) {\r\n return assign + encodeURIComponent(replacer(value));\r\n }\r\n\r\n if (Array.isArray(value)) {\r\n return value\r\n .map((child) => {\r\n if (this._isSerializable(child)) {\r\n return assign + encodeURIComponent(JSON.stringify(child));\r\n }\r\n\r\n return assign + encodeURIComponent(child as string);\r\n })\r\n .join('&')\r\n }\r\n\r\n if (this._isSerializable(value)) {\r\n return assign + encodeURIComponent(JSON.stringify(value));\r\n }\r\n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AC/B,IAAI,CAAC,QAAQ;AACZ,YAAM,QAAQ,gBAAgB,GAAG;AAEjC,UAAI,SAAS,QAAW;AACtB,eAAO;AAAA,MACT;AAEA,YAAM,SAAS,mBAAmB,GAAG,IAAI;AACzC,YAAM,WAAW,aAAa,UAAU,GAAG;AAE3C,UAAI,UAAU;AACZ,eAAO,SAAS,mBAAmB,SAAS,KAAK,CAAC;AAAA,MACpD;AAEA,UAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,eAAO,MACJ,IAAI,CAAC,UAAU;AACd,cAAI,KAAK,gBAAgB,KAAK,GAAG;AAC/B,mBAAO,SAAS,mBAAmB,KAAK,UAAU,KAAK,CAAC;AAAA,UAC1D;AAEA,iBAAO,SAAS,mBAAmB,KAAe;AAAA,QACpD,CAAC,EACA,KAAK,GAAG;AAAA,MACb;AAEA,UAAI,KAAK,gBAAgB,KAAK,GAAG;AAC/B,eAAO,SAAS,mBAAmB,KAAK,UAAU,KAAK,CAAC;AAAA,MAC1D;AAEA,aAAO,SAAS,mBAAmB,KAAe;AAAA,IACpD,CAAC,EACA,OAAO,CAAC,UAAU,KAAK,EACvB,KAAK,GAAG;AAAA,EACb;AACF;"}
|
package/dist/chunks/appConfig.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
const appId = "WNufTOT96eMYwAik";
|
|
5
5
|
const portalURL = "https://www.arcgis.com";
|
|
6
6
|
const primarySolutionsGroupId = "e39af0ffbdf042adb4ad24124b378d20";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { s as sortCache, c as createFilteredSubcache, e as extractFromCache, g as getDeployedRelatedSolutionIds } from "./cardsHelpers.js";
|
|
5
5
|
import * as common from "@esri/solution-common";
|
|
6
6
|
import { g as getTypeKeywordProp, c as createDivHtml, b as getLocaleLongDateString, d as generateThumbnailUrl, e as createUrlParams } from "./helpers.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import "@esri/solution-common";
|
|
5
5
|
import { g as getTypeKeywordProp } from "./helpers.js";
|
|
6
6
|
/**
|
package/dist/chunks/common.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { a as addParams } from "./helpers.js";
|
|
5
5
|
import "@esri/solution-common";
|
|
6
|
-
import "@arcgis/core/identity/IdentityManager
|
|
6
|
+
import "@arcgis/core/identity/IdentityManager";
|
|
7
7
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
8
8
|
import "@arcgis/core/portal/Portal.js";
|
|
9
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { jsPDF } from "jspdf";
|
|
5
5
|
import { g as getAssetPath } from "./runtime.js";
|
|
6
6
|
import { d as queryFeaturesByID } from "./queryUtils.js";
|
package/dist/chunks/helpers.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import * as common from "@esri/solution-common";
|
|
5
5
|
import "@arcgis/core/intl.js";
|
|
6
6
|
import { I as ITEM_TITLE_LENGTH } from "./interfaces.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import * as common from "@esri/solution-common";
|
|
5
5
|
import { c as customElement } from "./runtime.js";
|
|
6
6
|
import { u as useT9n } from "./useT9n.js";
|
|
@@ -10,7 +10,7 @@ import { c as configContext } from "./deployAppContexts.js";
|
|
|
10
10
|
import { css, html, svg } from "lit";
|
|
11
11
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
12
12
|
import "@arcgis/lumina/controllers";
|
|
13
|
-
import "@arcgis/core/identity/IdentityManager
|
|
13
|
+
import "@arcgis/core/identity/IdentityManager";
|
|
14
14
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
15
15
|
import "@arcgis/core/portal/Portal.js";
|
|
16
16
|
const styles = css`/** @license
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { q as queryExtent } from "./queryUtils.js";
|
|
5
5
|
import { d as EWorkflowType } from "./interfaces.js";
|
|
6
6
|
/**
|
package/dist/chunks/pciUtils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { _ as _prepareAttributeValue } from "./downloadUtils.js";
|
|
5
5
|
import * as arcade from "@arcgis/core/arcade";
|
|
6
6
|
import * as intl from "@arcgis/core/intl";
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../cdn/main.css";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
4
|
-
v1.2.0-next.
|
|
4
|
+
v1.2.0-next.60 */
|
|
5
5
|
import { makeRuntime } from "@arcgis/lumina";
|
|
6
6
|
import { trackAccess, createObservable, createTrackingTarget, runTracked } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
7
7
|
const runtime = makeRuntime({ defaultAssetPath: "https://jsdev.arcgis.com/1.2.0-next/solutions-components/", hydratedAttribute: "hydrated" });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "./runtime.js";
|
|
5
5
|
import { u as useT9n } from "./useT9n.js";
|
|
6
6
|
import { LitElement, createEvent, nothing } from "@arcgis/lumina";
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { makeT9nController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { g as getAssetPath } from "./runtime.js";
|
|
6
6
|
const useT9n = makeT9nController(getAssetPath);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { d as queryFeaturesByID } from "../../chunks/queryUtils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
6
6
|
import { LitElement, createEvent } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { j as getAllFeatureLayers, d as getLayerOrTable } from "../../chunks/mapViewUtils.js";
|
|
6
6
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { E as ELayoutMode } from "../../chunks/interfaces.js";
|
|
6
6
|
import { d as getLayerOrTable } from "../../chunks/mapViewUtils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { d as getLayerOrTable, j as getAllFeatureLayers, i as getAllTables, g as getFeatureLayerView, h as highlightFeatures, e as getMapLayerHash } from "../../chunks/mapViewUtils.js";
|
|
6
6
|
import { d as queryFeaturesByID } from "../../chunks/queryUtils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { E as EDistressType, a as ESeverity, b as calculateDeductValue } from "../../chunks/pciUtils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { j as getAllFeatureLayers } from "../../chunks/mapViewUtils.js";
|
|
6
6
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { i as getAllTables } from "../../chunks/mapViewUtils.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { P as PopupUtils } from "../../chunks/popupUtils.js";
|
|
6
6
|
import { d as getLayerOrTable, g as getFeatureLayerView, h as highlightFeatures } from "../../chunks/mapViewUtils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { P as PopupUtils } from "../../chunks/popupUtils.js";
|
|
6
6
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { e as getMapLayerHash, j as getAllFeatureLayers, g as getFeatureLayerView } from "../../chunks/mapViewUtils.js";
|
|
6
6
|
import * as intl from "@arcgis/core/intl";
|