@arcgis/map-components 4.34.0-next.126 → 4.34.0-next.128
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/{ET5C5YMY.js → 2ECBWCO2.js} +2 -2
- package/dist/cdn/{5AOHIN4B.js → 2H3XO7CN.js} +2 -2
- package/dist/cdn/{EVTMUQHE.js → 2H6QPPKV.js} +2 -2
- package/dist/cdn/2OUPGH3T.js +4 -0
- package/dist/cdn/{HDT5PZG6.js → 2U23PR2Z.js} +2 -2
- package/dist/cdn/{XMNRYHBV.js → 37SGC6JO.js} +2 -2
- package/dist/cdn/{CJPUFBD2.js → 3H5CGF2W.js} +2 -2
- package/dist/cdn/3TYD7MXA.js +4 -0
- package/dist/cdn/3XJLVWBC.js +4 -0
- package/dist/cdn/3Y6MSDPY.js +4 -0
- package/dist/cdn/{B75V53DG.js → 4EMGEB6M.js} +2 -2
- package/dist/cdn/{J5GNLGGY.js → 4YNGM73K.js} +2 -2
- package/dist/cdn/54WC2T2L.js +4 -0
- package/dist/cdn/{7WVBB25Q.js → 54YUDXEI.js} +2 -2
- package/dist/cdn/{RWFNVRUB.js → 5BH6C35G.js} +2 -2
- package/dist/cdn/5KMO7TRX.js +4 -0
- package/dist/cdn/{G3D6GHQ5.js → 5NDNY4PP.js} +2 -2
- package/dist/cdn/{47R2YESS.js → 5PGYUSRZ.js} +2 -2
- package/dist/cdn/{77RD2G3G.js → 5SKPSGZO.js} +2 -2
- package/dist/cdn/{HOIXT45X.js → 5V37ZOQL.js} +2 -2
- package/dist/cdn/5WO6TN2Z.js +4 -0
- package/dist/cdn/{HZK7BFEU.js → 62EOE6VY.js} +2 -2
- package/dist/cdn/{KOESCJOX.js → 62VYTKLK.js} +2 -2
- package/dist/cdn/{QRHJHPGM.js → 66UDJ2TB.js} +1 -1
- package/dist/cdn/{3FDYCN6J.js → 6C2FFQO2.js} +2 -2
- package/dist/cdn/{2CGCEJBW.js → 6CWVQ6UR.js} +2 -2
- package/dist/cdn/{ROAVA4JA.js → 6LHSMDAL.js} +2 -2
- package/dist/cdn/{55LQBMWX.js → 6LNLTFMY.js} +2 -2
- package/dist/cdn/{5IUQW4SV.js → 6LRAALBX.js} +2 -2
- package/dist/cdn/{PEGWYXKX.js → 6SFA2TBD.js} +2 -2
- package/dist/cdn/6UQYYNES.js +4 -0
- package/dist/cdn/{VZWI77C2.js → 727FOAJC.js} +2 -2
- package/dist/cdn/{Q4S3OBXP.js → 7DB6DUCJ.js} +2 -2
- package/dist/cdn/{RE6RPEK5.js → 7EVEBQOO.js} +1 -1
- package/dist/cdn/{2GU64EYX.js → 7J34FORW.js} +2 -2
- package/dist/cdn/{ZFIZ5ICA.js → 7KGDRCGZ.js} +2 -2
- package/dist/cdn/{VLIGGVPB.js → 7OENE6ZM.js} +2 -2
- package/dist/cdn/{UJIAE77U.js → 7RZWYNDZ.js} +2 -2
- package/dist/cdn/A4ICMR3Y.js +4 -0
- package/dist/cdn/{MGBURBCQ.js → A6FXBFIG.js} +2 -2
- package/dist/cdn/{4EN76RE4.js → AIBMTQIL.js} +2 -2
- package/dist/cdn/ALIRDKZL.js +4 -0
- package/dist/cdn/{SQXD3VUO.js → AXYL6UJQ.js} +2 -2
- package/dist/cdn/AYHLSBH3.js +4 -0
- package/dist/cdn/{3U6FL5CJ.js → BEFAFUTF.js} +2 -2
- package/dist/cdn/{CG7FTUAS.js → BFTQA6P5.js} +2 -2
- package/dist/cdn/{E6ZLK23H.js → BLZ7A4MO.js} +2 -2
- package/dist/cdn/{NNIA4NN4.js → BPX4DFYT.js} +2 -2
- package/dist/cdn/{RIUGYHZR.js → BXL3SOA7.js} +2 -2
- package/dist/cdn/{EF6JLI3D.js → CEH5AMZP.js} +2 -2
- package/dist/cdn/{LLZ4JQRB.js → CGR2JG6D.js} +1 -1
- package/dist/cdn/{F77QW2WG.js → CI5Y2Q6H.js} +2 -2
- package/dist/cdn/{AYOGHDI4.js → CMCJGWKJ.js} +2 -2
- package/dist/cdn/{6KQ5PJGC.js → CRKP4B32.js} +2 -2
- package/dist/cdn/{O5EP6F5A.js → CUHVMMFH.js} +2 -2
- package/dist/cdn/{GPF3LTPZ.js → CW2666RZ.js} +2 -2
- package/dist/cdn/{UTWATVD2.js → DI5YJ3E3.js} +2 -2
- package/dist/cdn/{HNIKYLKR.js → DJ44Q2JM.js} +1 -1
- package/dist/cdn/{T4SEIDZD.js → DMQERREH.js} +2 -2
- package/dist/cdn/{7JI7EN6Y.js → DNC4RW63.js} +2 -2
- package/dist/cdn/DR6PZOO4.js +4 -0
- package/dist/cdn/{MQJONABN.js → DRTV5TKW.js} +1 -1
- package/dist/cdn/{3FL3UVTV.js → DVNN7IFJ.js} +2 -2
- package/dist/cdn/{LCQ56ACM.js → DVT2QMCH.js} +2 -2
- package/dist/cdn/{GDSL5OPE.js → DXLAVJAL.js} +2 -2
- package/dist/cdn/{OPMS4BVQ.js → EDN4E7VX.js} +2 -2
- package/dist/cdn/{AZAVO3S5.js → EDZONWNW.js} +2 -2
- package/dist/cdn/{GMRQ63JW.js → EFJCUY4W.js} +2 -2
- package/dist/cdn/{RGUZMB66.js → ENTL7LUH.js} +2 -2
- package/dist/cdn/{RLVKJR7X.js → EPXWQERC.js} +2 -2
- package/dist/cdn/{XN5NVHQH.js → EZJRKL2Y.js} +2 -2
- package/dist/cdn/FA66GK4V.js +4 -0
- package/dist/cdn/FAJ6AS6Z.js +4 -0
- package/dist/cdn/{YEBVECU4.js → FGRYUWY4.js} +2 -2
- package/dist/cdn/{AP4U4PLQ.js → FNBJH4AX.js} +2 -2
- package/dist/cdn/{UQPLFS36.js → G4BGDKAH.js} +2 -2
- package/dist/cdn/{6JLRXIIU.js → GBZWFRT5.js} +2 -2
- package/dist/cdn/{B4KNVUPW.js → GF7XUPUG.js} +2 -2
- package/dist/cdn/{Y3R4IE5F.js → GHJY55KQ.js} +2 -2
- package/dist/cdn/{KJ3X6V5U.js → GKGDT535.js} +2 -2
- package/dist/cdn/{I6JLX5KC.js → GOLFULXL.js} +2 -2
- package/dist/cdn/{NJLNHW4X.js → GYWPHVHB.js} +2 -2
- package/dist/cdn/{Y7RX3V36.js → H3C7V4NF.js} +2 -2
- package/dist/cdn/{JSSGJ6QA.js → H4P4G25Z.js} +2 -2
- package/dist/cdn/{NOYXCWU2.js → HD6WVRXY.js} +2 -2
- package/dist/cdn/{DYDJ3Q4A.js → HJOWHWPI.js} +1 -1
- package/dist/cdn/{L2STTIN5.js → HLIF2MOX.js} +2 -2
- package/dist/cdn/{PLEDYCCT.js → HNTDZ7QS.js} +2 -2
- package/dist/cdn/{23BQVV5P.js → HQTXLNAM.js} +2 -2
- package/dist/cdn/{BG7GTNI2.js → I4RQS3XS.js} +2 -2
- package/dist/cdn/{6ZX64NK4.js → IFPTT4L5.js} +2 -2
- package/dist/cdn/{CEY2WMFN.js → IINDWWUN.js} +2 -2
- package/dist/cdn/{DEVI26PS.js → IKPHWLL7.js} +2 -2
- package/dist/cdn/{YHGAKCIU.js → IN32G4PC.js} +1 -1
- package/dist/cdn/{SNOMMY7T.js → INZGS6EI.js} +2 -2
- package/dist/cdn/{ZC65MIKC.js → IPQ6R5Z7.js} +2 -2
- package/dist/cdn/{RNZBGMVW.js → IRYI2C5T.js} +2 -2
- package/dist/cdn/{HTUJZ4JI.js → J6TGDZAG.js} +2 -2
- package/dist/cdn/{FWMIDJWL.js → JAU6IZNV.js} +2 -2
- package/dist/cdn/{7WQAAEMD.js → JJTJRWHU.js} +2 -2
- package/dist/cdn/{XIMT6CTV.js → JLNXFQR7.js} +2 -2
- package/dist/cdn/{XNNSC73G.js → JNUQB6QP.js} +2 -2
- package/dist/cdn/{KEXMSNPE.js → JRXBVEW7.js} +2 -2
- package/dist/cdn/{MKAIDDSL.js → K4C5QXH3.js} +2 -2
- package/dist/cdn/KBB4ZI2O.js +4 -0
- package/dist/cdn/{GPAKJWXM.js → KDSVA2B7.js} +2 -2
- package/dist/cdn/KHS3SWXG.js +4 -0
- package/dist/cdn/{NGQWSV2A.js → KNAS2HY5.js} +1 -1
- package/dist/cdn/{3IYQOLWN.js → KRKTWT35.js} +2 -2
- package/dist/cdn/{UYCCGEVR.js → KX7DGN5F.js} +2 -2
- package/dist/cdn/{YPZUH5O2.js → L2JAUAVY.js} +2 -2
- package/dist/cdn/{OQN4MGR3.js → L4OQNX5N.js} +1 -1
- package/dist/cdn/{5XH5ROO7.js → L7UBSVYJ.js} +2 -2
- package/dist/cdn/LAL3LRXS.js +4 -0
- package/dist/cdn/{T34X3YIQ.js → LDWFL552.js} +2 -2
- package/dist/cdn/{LXJSY2MG.js → LOUJDVKG.js} +2 -2
- package/dist/cdn/{MXPES5JI.js → LRD7NK6W.js} +2 -2
- package/dist/cdn/{FGWI3CKE.js → LUCLWH5K.js} +2 -2
- package/dist/cdn/{CGBOZKWZ.js → LYXF5RII.js} +2 -2
- package/dist/cdn/{AKSS4A7A.js → MBHMZBQQ.js} +1 -1
- package/dist/cdn/{YFFTG7AG.js → MGDAIXBC.js} +2 -2
- package/dist/cdn/{PPMKWYXP.js → MKE4XYAJ.js} +2 -2
- package/dist/cdn/{YKESPNAQ.js → MP4DJY5C.js} +2 -2
- package/dist/cdn/{TKHOLMKU.js → MQAAOELP.js} +2 -2
- package/dist/cdn/{EIFMWR4A.js → MWL2W7MK.js} +2 -2
- package/dist/cdn/{2MQGFPDR.js → MYEL4Y44.js} +2 -2
- package/dist/cdn/N4MXMJGO.js +4 -0
- package/dist/cdn/{VF4PKUB3.js → NRKJBQCD.js} +2 -2
- package/dist/cdn/{CAHDNHKE.js → NV23B34I.js} +2 -2
- package/dist/cdn/{UVZCPBXJ.js → NZDLPUF7.js} +2 -2
- package/dist/cdn/{NRFGE4OE.js → O32K44FO.js} +2 -2
- package/dist/cdn/{L4I2TX5J.js → O4MJ4QT5.js} +2 -2
- package/dist/cdn/{QIUGB7VY.js → OB6QBXC6.js} +2 -2
- package/dist/cdn/{IXIGZZPZ.js → OI5H3BL2.js} +2 -2
- package/dist/cdn/{F6W27ADX.js → OQHKBGAG.js} +2 -2
- package/dist/cdn/{3TYLLPJM.js → OS6SSKFR.js} +2 -2
- package/dist/cdn/OTAVYVFZ.js +4 -0
- package/dist/cdn/{QK7MQ3ZG.js → OV7FLXQK.js} +2 -2
- package/dist/cdn/{BMKCXLJG.js → OYCJFRBN.js} +2 -2
- package/dist/cdn/{P3PUOKVX.js → OZCL6R6M.js} +2 -2
- package/dist/cdn/{CG4XV6GU.js → OZL4Y6PI.js} +2 -2
- package/dist/cdn/P7EJRVNJ.js +4 -0
- package/dist/cdn/{7MIUNXKP.js → PPMLSRAL.js} +2 -2
- package/dist/cdn/{FUYBMKIT.js → PV6MXF7P.js} +2 -2
- package/dist/cdn/{N2RX23W6.js → PWWDMTGF.js} +2 -2
- package/dist/cdn/{NDJ4DLLV.js → Q3Q4VDPU.js} +2 -2
- package/dist/cdn/{ZFJ4HX7F.js → Q5JJF7JN.js} +2 -2
- package/dist/cdn/{OQXMPLC5.js → QDF36CXE.js} +2 -2
- package/dist/cdn/{GN3JIGKA.js → QGU4G2LK.js} +2 -2
- package/dist/cdn/{2SMHV525.js → QIYI4QWP.js} +2 -2
- package/dist/cdn/{AM7PEI2P.js → QOVGM25K.js} +2 -2
- package/dist/cdn/QQRBSWTG.js +4 -0
- package/dist/cdn/{DST4YOTP.js → QVOSBNB5.js} +2 -2
- package/dist/cdn/{VJMN4VGZ.js → R2YJ4VKL.js} +2 -2
- package/dist/cdn/{TRD5GIAV.js → R42VWPV7.js} +2 -2
- package/dist/cdn/{AHVQ4H5J.js → RGOWUXWS.js} +2 -2
- package/dist/cdn/{47M5YVES.js → RGZDXD5H.js} +1 -1
- package/dist/cdn/{HWBX65BI.js → RTC37Y5W.js} +2 -2
- package/dist/cdn/{W3CTD2JA.js → RVR3KJDU.js} +2 -2
- package/dist/cdn/{JBMNZ72D.js → RXPZPX4D.js} +2 -2
- package/dist/cdn/S4PMWJSR.js +4 -0
- package/dist/cdn/{FLBPJTU5.js → SAHQV77E.js} +2 -2
- package/dist/cdn/{FAUOLDED.js → SK65SOQI.js} +2 -2
- package/dist/cdn/{BUTNMXZP.js → SMDIWIPV.js} +2 -2
- package/dist/cdn/{F2K7AF6Z.js → SWY2HN6J.js} +2 -2
- package/dist/cdn/{JA5JM23Q.js → T5HWMNIT.js} +2 -2
- package/dist/cdn/{CSVVFUUC.js → THNVOXBQ.js} +2 -2
- package/dist/cdn/THZWI5UZ.js +4 -0
- package/dist/cdn/{Q2WV5SS7.js → TINFHRAM.js} +1 -1
- package/dist/cdn/{QDGMQESG.js → TKB5EQJG.js} +2 -2
- package/dist/cdn/{CHGLN22H.js → TLMJYYUH.js} +2 -2
- package/dist/cdn/{23CPOPYJ.js → TO76MUXW.js} +2 -2
- package/dist/cdn/{OSA6ZGPX.js → TPLNN22C.js} +2 -2
- package/dist/cdn/{2564ALYI.js → TRCE2UD4.js} +2 -2
- package/dist/cdn/{LSQE3IAM.js → TVG544VC.js} +2 -2
- package/dist/cdn/{7WK7MWXY.js → UAYBOFPS.js} +2 -2
- package/dist/cdn/UBPY57H7.js +5 -0
- package/dist/cdn/{4CPB32NP.js → UCTEISBH.js} +2 -2
- package/dist/cdn/{I43WLH4Q.js → UGZTTEAN.js} +2 -2
- package/dist/cdn/{3RCKMIZG.js → UJB6XFFE.js} +2 -2
- package/dist/cdn/{EPGOIJ36.js → V2C7SG42.js} +2 -2
- package/dist/cdn/{XF3IRPXR.js → V3ZZOWOZ.js} +2 -2
- package/dist/cdn/V453Q5SF.js +4 -0
- package/dist/cdn/{YPXIGB3R.js → V635Q4AX.js} +2 -2
- package/dist/cdn/{XBW42KLF.js → VB5UXWAE.js} +2 -2
- package/dist/cdn/{ABY74RTP.js → VC6HWBIL.js} +2 -2
- package/dist/cdn/{A6U7FTEU.js → VNYNALS7.js} +2 -2
- package/dist/cdn/{HDNJM2LD.js → VQMB3CD5.js} +2 -2
- package/dist/cdn/{NU4AD74P.js → VUT6XGHU.js} +2 -2
- package/dist/cdn/{DGHKDLTH.js → VZGNVDRD.js} +2 -2
- package/dist/cdn/{62TLIOD4.js → W5LV6KJQ.js} +2 -2
- package/dist/cdn/{7TTV5PFB.js → W6EGVMM4.js} +2 -2
- package/dist/cdn/{XA3CG5EP.js → WDRSWYAT.js} +2 -2
- package/dist/cdn/{RLW2HWUC.js → WRCKK4JT.js} +2 -2
- package/dist/cdn/{FGJVMKGG.js → WS44MNJS.js} +2 -2
- package/dist/cdn/{T7CO6LBD.js → WYIGBP6C.js} +2 -2
- package/dist/cdn/{T7324YLA.js → X5SAGX4O.js} +2 -2
- package/dist/cdn/X64RV363.js +4 -0
- package/dist/cdn/{Z3PGZKSN.js → X77TSJNR.js} +2 -2
- package/dist/cdn/XCKNQRIC.js +4 -0
- package/dist/cdn/{U456XBFI.js → Y4DGIKUB.js} +2 -2
- package/dist/cdn/{O6LHXWZW.js → YGR6QLX5.js} +2 -2
- package/dist/cdn/YHGSE3BM.js +4 -0
- package/dist/cdn/YTWAF4LD.js +4 -0
- package/dist/cdn/{W6XGDNMY.js → Z534ORPK.js} +2 -2
- package/dist/cdn/{HDHMKQII.js → Z5MROVYA.js} +1 -1
- package/dist/cdn/{WCAX4RU7.js → ZA46SSTL.js} +2 -2
- package/dist/cdn/ZB65AVDQ.js +4 -0
- package/dist/cdn/{AVFUK3B2.js → ZGY5YA4V.js} +2 -2
- package/dist/cdn/{OTELWF7N.js → ZHTQNBPM.js} +2 -2
- package/dist/cdn/{EGNVJKZ5.js → ZNFBOSZA.js} +2 -2
- package/dist/cdn/{IDUBBWVQ.js → ZNOVB4YO.js} +2 -2
- package/dist/cdn/{JG654ASN.js → ZVGMRQCQ.js} +2 -2
- package/dist/cdn/{M73G7Y5Z.js → ZVI6TJKU.js} +2 -2
- package/dist/cdn/assets/popup/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/{slots2.js → esri-main.js} +2 -3
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +34 -0
- package/dist/chunks/slots.js +27 -25
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/titleUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +22 -43
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -4
- package/dist/components/arcgis-area-measurement-2d/customElement.js +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -7
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +8 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +7 -7
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +9 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +8 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +3 -3
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -0
- package/dist/components/arcgis-bookmarks/customElement.js +3 -3
- package/dist/components/arcgis-building-explorer/customElement.d.ts +9 -1
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +11 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +3 -0
- package/dist/components/arcgis-daylight/customElement.js +4 -4
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- package/dist/components/arcgis-directional-pad/customElement.d.ts +8 -0
- package/dist/components/arcgis-directional-pad/customElement.js +7 -7
- package/dist/components/arcgis-directions/customElement.d.ts +10 -2
- package/dist/components/arcgis-directions/customElement.js +3 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +9 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
- package/dist/components/arcgis-editor/customElement.d.ts +9 -1
- package/dist/components/arcgis-editor/customElement.js +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +3 -3
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +1 -0
- package/dist/components/arcgis-elevation-profile-next/customElement.js +9 -9
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +8 -0
- package/dist/components/arcgis-expand/customElement.js +31 -31
- package/dist/components/arcgis-feature/customElement.d.ts +10 -8
- package/dist/components/arcgis-feature/customElement.js +17 -17
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +6 -6
- package/dist/components/arcgis-feature-element-info/customElement.js +10 -10
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +10 -10
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +45 -49
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +9 -1
- package/dist/components/arcgis-feature-table/customElement.js +3 -3
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +64 -34
- package/dist/components/arcgis-features/customElement.js +79 -79
- package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -4
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-fullscreen/customElement.d.ts +4 -1
- package/dist/components/arcgis-fullscreen/customElement.js +6 -6
- package/dist/components/arcgis-grid-controls/customElement.d.ts +6 -0
- package/dist/components/arcgis-grid-controls/customElement.js +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +7 -0
- package/dist/components/arcgis-home/customElement.js +13 -13
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +11 -1
- package/dist/components/arcgis-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +216 -60
- package/dist/components/arcgis-legend/customElement.js +10 -10
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +8 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +8 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +3 -3
- package/dist/components/arcgis-locate/customElement.d.ts +4 -0
- package/dist/components/arcgis-locate/customElement.js +9 -9
- package/dist/components/arcgis-map/customElement.d.ts +3 -2
- package/dist/components/arcgis-map/customElement.js +19 -19
- package/dist/components/arcgis-measurement/customElement.d.ts +8 -4
- package/dist/components/arcgis-measurement/customElement.js +3 -3
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +3 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +9 -9
- package/dist/components/arcgis-placement/customElement.d.ts +3 -1
- package/dist/components/arcgis-placement/customElement.js +11 -10
- package/dist/components/arcgis-popup/css.d.ts +31 -0
- package/dist/components/arcgis-popup/customElement.d.ts +651 -0
- package/dist/components/arcgis-popup/customElement.js +393 -0
- package/dist/components/arcgis-popup/index.d.ts +2 -0
- package/dist/components/arcgis-popup/index.js +2 -0
- package/dist/components/arcgis-popup/interfaces.d.ts +43 -0
- package/dist/components/arcgis-print/customElement.d.ts +8 -0
- package/dist/components/arcgis-print/customElement.js +3 -3
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-scale-bar/customElement.js +9 -9
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +3 -3
- package/dist/components/arcgis-scene/customElement.d.ts +2 -1
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.d.ts +10 -0
- package/dist/components/arcgis-search/customElement.js +3 -3
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +9 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +3 -3
- package/dist/components/arcgis-sketch/customElement.d.ts +10 -2
- package/dist/components/arcgis-sketch/customElement.js +3 -3
- package/dist/components/arcgis-slice/customElement.d.ts +2 -0
- package/dist/components/arcgis-slice/customElement.js +7 -7
- package/dist/components/arcgis-spinner/customElement.js +18 -44
- package/dist/components/arcgis-swipe/customElement.d.ts +8 -0
- package/dist/components/arcgis-swipe/customElement.js +3 -3
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -1
- package/dist/components/arcgis-time-slider/customElement.js +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -0
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +8 -0
- package/dist/components/arcgis-track/customElement.js +10 -10
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +10 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +9 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +15 -3
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +3 -3
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +5 -5
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +3 -0
- package/dist/components/arcgis-weather/customElement.js +49 -49
- package/dist/components/arcgis-zoom/customElement.d.ts +3 -0
- package/dist/components/arcgis-zoom/customElement.js +7 -7
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +8642 -7163
- package/dist/docs/docs.json +7777 -6358
- package/dist/docs/vscode.css-custom-data.json +66 -1
- package/dist/docs/vscode.html-custom-data.json +248 -342
- package/dist/docs/web-types.json +1433 -1172
- package/dist/index.d.ts +23 -70
- package/dist/index.js +1 -1
- package/dist/loader.js +55 -54
- package/dist/types/lumina.d.ts +61 -121
- package/dist/types/preact.d.ts +62 -135
- package/dist/types/react.d.ts +63 -149
- package/dist/types/stencil.d.ts +61 -121
- package/package.json +3 -3
- package/dist/cdn/2OEJGJTN.js +0 -4
- package/dist/cdn/37IXK3LX.js +0 -4
- package/dist/cdn/4ARAQPEK.js +0 -4
- package/dist/cdn/4GPP7ZG2.js +0 -4
- package/dist/cdn/5PGLNF5F.js +0 -4
- package/dist/cdn/66LROTMP.js +0 -5
- package/dist/cdn/6IHB7OVK.js +0 -4
- package/dist/cdn/6VKN7ZIV.js +0 -4
- package/dist/cdn/C7WOKMZX.js +0 -4
- package/dist/cdn/CQLUVA4A.js +0 -4
- package/dist/cdn/E3UPPRG5.js +0 -4
- package/dist/cdn/EVODZEOK.js +0 -4
- package/dist/cdn/FY7YUBGD.js +0 -4
- package/dist/cdn/GWLTZFSG.js +0 -4
- package/dist/cdn/H75OPTHT.js +0 -4
- package/dist/cdn/HHFIZ3CL.js +0 -4
- package/dist/cdn/JF6JKWM6.js +0 -4
- package/dist/cdn/KLYV2SZX.js +0 -4
- package/dist/cdn/KRWQCBAZ.js +0 -4
- package/dist/cdn/KVVUQQUC.js +0 -4
- package/dist/cdn/LDIYHILE.js +0 -4
- package/dist/cdn/NV2NHBFO.js +0 -4
- package/dist/cdn/Q257PG2M.js +0 -4
- package/dist/cdn/RGYQV5XB.js +0 -4
- package/dist/cdn/SG22KYCL.js +0 -4
- package/dist/cdn/T6EQEVD2.js +0 -4
- package/dist/cdn/UI4GQIIT.js +0 -4
- package/dist/cdn/XZOIOZ43.js +0 -4
|
@@ -0,0 +1,651 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { default as FeaturesViewModel } from '@arcgis/core/widgets/Features/FeaturesViewModel.js';
|
|
4
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
5
|
+
import { HeadingLevel } from '../../support/heading';
|
|
6
|
+
import { Use } from '@arcgis/lumina/controllers';
|
|
7
|
+
import { Alignment, DockOptions, PopupPositionResult, PopupPositionStyle, FetchFeaturesOptions } from './interfaces';
|
|
8
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
9
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
10
|
+
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
11
|
+
import { default as ActionButton } from '@arcgis/core/support/actions/ActionButton.js';
|
|
12
|
+
declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<FeaturesViewModel>) => FeaturesViewModel;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* <a name="overview"></a>
|
|
16
|
+
*
|
|
17
|
+
* ## Overview
|
|
18
|
+
* The Popup widget allows users to view content from feature attributes. Popups enhance web applications
|
|
19
|
+
* by providing users with a simple way to interact with and view attributes in a layer.
|
|
20
|
+
* They play an important role in relaying information to the user, which improves the storytelling capabilities of the application.
|
|
21
|
+
*
|
|
22
|
+
* <a name="loading-the-popup"></a>
|
|
23
|
+
*
|
|
24
|
+
* ## Loading the Popup
|
|
25
|
+
* At [version 4.27](../release-notes#popup-performance-improvements), the view's default popup is loaded on demand when [`popupEnabled`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popupEnabled) is set to `true` (which is the default), when the [`openPopup()`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#openPopup) method is called,
|
|
26
|
+
* or when some widgets need the popup, such as [Search](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html). Please see the read more section below for details on how to manually load the popup or take
|
|
27
|
+
* advantage of the API lazy loading.
|
|
28
|
+
*
|
|
29
|
+
* >>> esri-read-more
|
|
30
|
+
*
|
|
31
|
+
* The Popup class can be loaded when the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) is instantiated, however, this does not take advantage of the performance improvements of lazily loading the popup.
|
|
32
|
+
* ```js
|
|
33
|
+
* // Create a new MapView
|
|
34
|
+
* const view = new MapView({
|
|
35
|
+
* // set the popup property to a new instance of Popup
|
|
36
|
+
* popup: new Popup(...)
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
* To utilize the performance improvements and the API automatically lazy loading the popup:
|
|
40
|
+
* - Set options/properties on the view's popup:
|
|
41
|
+
* ```js
|
|
42
|
+
* const view = MapView({
|
|
43
|
+
* popup: {
|
|
44
|
+
* dockEnabled: true,
|
|
45
|
+
* dockOptions: {
|
|
46
|
+
* position: true,
|
|
47
|
+
* ...
|
|
48
|
+
* }
|
|
49
|
+
* }
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
* - Use [`popupEnabled`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popupEnabled) to prevent the popup appearing when the user clicks the view.
|
|
53
|
+
* ```js
|
|
54
|
+
* // The popup doesn't show for features on selection, but will on Search results and when `openPopup()` is called.
|
|
55
|
+
* view.popupEnabled = false;
|
|
56
|
+
* ```
|
|
57
|
+
* - Use [`openPopup()`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#openPopup) instead of [`open()`](#open) and [`closePopup()`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#closePopup) instead of [`close()`](#close).
|
|
58
|
+
* ```js
|
|
59
|
+
* // A deprecation warning is prompted if the popup isn't created
|
|
60
|
+
* // and calls view.openPopup() or view.closePopup() respectively under the hood.
|
|
61
|
+
* view.popup.open(...);
|
|
62
|
+
* view.popup.close(...);
|
|
63
|
+
*
|
|
64
|
+
* // Opens or closes the popup on the View.
|
|
65
|
+
* view.openPopup(...);
|
|
66
|
+
* view.closePopup(...);
|
|
67
|
+
* ```
|
|
68
|
+
* - Use [reactiveUtils](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html) to watch properties on the popup and its view model instead of the [`watch()`](#watch) method.
|
|
69
|
+
* ```js
|
|
70
|
+
* // This will throw an error that watch() is not a method
|
|
71
|
+
* // since the popup hasn't been created yet.
|
|
72
|
+
* view.popup.watch("selectedFeature", ...)
|
|
73
|
+
*
|
|
74
|
+
* // Call reactiveUtils.watch() on popup properties with optional chaining.
|
|
75
|
+
* reactiveUtils.watch(() => view.popup?.selectedFeature, ...);
|
|
76
|
+
* ```
|
|
77
|
+
* - Use the [`reactiveUtils.when()`](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#when) method to check when the popup instance is created. Once its created, then it's properties or methods can be accessed and called.
|
|
78
|
+
* ```js
|
|
79
|
+
* // This will throw an error that actions is not a property.
|
|
80
|
+
* view.popup.actions.push(...);
|
|
81
|
+
*
|
|
82
|
+
* // Wait for the popup to load before accessing properties.
|
|
83
|
+
* reactiveUtils.when(() => view.popup?.actions, ()=>{
|
|
84
|
+
* view.popup.actions.push(...);
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* >>>
|
|
89
|
+
*
|
|
90
|
+
* <a name="popup-ui"></a>
|
|
91
|
+
*
|
|
92
|
+
* ## Popup UI
|
|
93
|
+
* All [Views](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) contain a default popup.
|
|
94
|
+
* This popup can display generic content, which is set in its [title](#title)
|
|
95
|
+
* and [content](#content) properties.
|
|
96
|
+
* When content is set directly on the Popup instance it is not tied to a specific feature or layer.
|
|
97
|
+
*
|
|
98
|
+
* [](../sample-code/sandbox/?sample=intro-popup)
|
|
99
|
+
*
|
|
100
|
+
* In the image above, the text "Marriage in New York County Census Tract 8" is the popup's `title`. The remaining text is
|
|
101
|
+
* its `content`. A dock button  may also be available in the
|
|
102
|
+
* top right corner of the popup. This allows the user to dock the popup to one of the sides or corners of the view.
|
|
103
|
+
* The options for docking may be set in the [dockOptions](#dockOptions) property.
|
|
104
|
+
*
|
|
105
|
+
* Popups can also contain [actions](#actions) that act like buttons,
|
|
106
|
+
* which execute a function defined by the developer when clicked.
|
|
107
|
+
* By default, every popup has a "Zoom to" action 
|
|
108
|
+
* that allows users to zoom to the selected feature. See the [actions](#actions)
|
|
109
|
+
* property for information about adding custom actions to a popup.
|
|
110
|
+
*
|
|
111
|
+
* The Popup widget is tied to the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html), whether it's docked or anchored to the selected feature.
|
|
112
|
+
* If wanting to utilize the Popup functionality outside of the View, the [Features](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features.html) widget can be used to display the same content
|
|
113
|
+
* in its own container that's not tied to the View.
|
|
114
|
+
*
|
|
115
|
+
* <a name="popup-and-popuptemplate"></a>
|
|
116
|
+
*
|
|
117
|
+
* ## Popup and PopupTemplate
|
|
118
|
+
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) is closely related to Popup, but is more specific to [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html)
|
|
119
|
+
* and [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html). It allows you to define custom titles and content templates based on the source of the
|
|
120
|
+
* [selected feature](#selectedFeature). When a layer or a graphic has a defined
|
|
121
|
+
* PopupTemplate, the popup will display the content
|
|
122
|
+
* defined in the PopupTemplate when the feature is clicked. The content may contain field values from the attributes of the [selected feature](#selectedFeature).
|
|
123
|
+
*
|
|
124
|
+
* Custom PopupTemplates may also be assigned directly to a popup by setting [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) on the
|
|
125
|
+
* [features](#features) property. For more information about Popup
|
|
126
|
+
* and how it relates to [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) see the samples listed below.
|
|
127
|
+
*
|
|
128
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/)
|
|
129
|
+
*
|
|
130
|
+
* @since 4.0
|
|
131
|
+
* @see module :esri/PopupTemplate
|
|
132
|
+
* @see module :esri/views/SceneView#popup
|
|
133
|
+
* @see module :esri/views/View2D#popup
|
|
134
|
+
* @see [Sample - Intro to popups](../sample-code/intro-popup/index.html)
|
|
135
|
+
* @see [Sample - to PopupTemplate](../sample-code/intro-popuptemplate/index.html)
|
|
136
|
+
* @see [Sample - Dock positions with popup](../sample-code/popup-docking-position/index.html)
|
|
137
|
+
* @see [Sample - Popup actions](../sample-code/popup-actions/index.html)
|
|
138
|
+
* @see [Sample - Custom popup actions per feature](../sample-code/popup-custom-action/index.html)
|
|
139
|
+
* @see [Sample - Popup with edit action](../sample-code/popup-editaction/index.html)
|
|
140
|
+
* @see [Sample - Popup with DOM node](../sample-code/popup-domnode/index.html)
|
|
141
|
+
* @see [Guide - Esri Icon Font](../guide/esri-icon-font/index.html)
|
|
142
|
+
* @see module :esri/widgets/Popup/PopupViewModel
|
|
143
|
+
*/
|
|
144
|
+
export declare class ArcgisPopup extends LitElement {
|
|
145
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
146
|
+
/**
|
|
147
|
+
* [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html) of [action](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [action](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) objects.
|
|
148
|
+
* Each action may be executed by clicking the icon or image symbolizing them.
|
|
149
|
+
* By default, popups have a `Zoom To` action styled with a magnifying glass icon .
|
|
150
|
+
* When this icon is clicked, the view zooms in four LODs and centers on the selected feature.
|
|
151
|
+
*
|
|
152
|
+
* You may remove this default action by setting [includeDefaultActions](#includeDefaultActions) to `false`, or by setting the
|
|
153
|
+
* [`overwriteActions`](esri-PopupTemplate.html#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
154
|
+
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html).
|
|
155
|
+
*
|
|
156
|
+
* The [trigger-action](#event-trigger-action) event fires each time an action is clicked.
|
|
157
|
+
*
|
|
158
|
+
* Actions are defined with the properties listed in the [ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [ActionToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) classes.
|
|
159
|
+
*
|
|
160
|
+
* @autocast { "value": "Object[]", "typedCollection": true, "byTypeProperty": true }
|
|
161
|
+
* @see [trigger-action](#event-trigger-action)
|
|
162
|
+
* @see [Sample - Popup actions](../sample-code/popup-actions/index.html)
|
|
163
|
+
* @see [Sample - Custom popup actions per feature](../sample-code/popup-custom-action/index.html)
|
|
164
|
+
* @see [Sample - Popup with edit action](../sample-code/popup-editaction/index.html)
|
|
165
|
+
* @example
|
|
166
|
+
* // Defines an action button to zoom out from the selected feature
|
|
167
|
+
* const zoomOutAction = {
|
|
168
|
+
* type: "button",
|
|
169
|
+
* // This text is displayed as a tooltip
|
|
170
|
+
* title: "Zoom out",
|
|
171
|
+
* // The ID by which to reference the action in the event handler
|
|
172
|
+
* id: "zoom-out",
|
|
173
|
+
* // Sets the icon used to style the action button
|
|
174
|
+
* icon: "magnifying-glass-minus"
|
|
175
|
+
* };
|
|
176
|
+
* // Adds the custom action to the popup.
|
|
177
|
+
* view.popup.actions.push(zoomOutAction);
|
|
178
|
+
*/
|
|
179
|
+
actions: __esri.Collection<ActionButton | __esri.ActionToggle>;
|
|
180
|
+
/**
|
|
181
|
+
* Indicates if the widget is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html#waitingForResult).
|
|
182
|
+
*
|
|
183
|
+
* @since 4.30
|
|
184
|
+
* @default false
|
|
185
|
+
*/
|
|
186
|
+
readonly active: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Position of the popup in relation to the selected feature. The default behavior
|
|
189
|
+
* is to display above the feature and adjust if not enough room. If needing
|
|
190
|
+
* to explicitly control where the popup displays in relation to the feature, choose
|
|
191
|
+
* an option besides `auto`.
|
|
192
|
+
*
|
|
193
|
+
* @since 4.8
|
|
194
|
+
* @example
|
|
195
|
+
* // Popup will display on the bottom-right of the selected feature regardless of where that feature is located
|
|
196
|
+
* view.popup.alignment = "bottom-right";
|
|
197
|
+
* @default "auto"
|
|
198
|
+
*/
|
|
199
|
+
alignment: Alignment;
|
|
200
|
+
/**
|
|
201
|
+
* This closes the popup when the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) camera or [Viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-Viewpoint.html) changes.
|
|
202
|
+
*
|
|
203
|
+
* @since 4.5
|
|
204
|
+
* @default false
|
|
205
|
+
*/
|
|
206
|
+
autoCloseEnabled: boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Enables automatic creation of a popup template for layers that have popups enabled but no
|
|
209
|
+
* popupTemplate defined. Automatic popup templates are supported for layers that
|
|
210
|
+
* support the `createPopupTemplate` method. (Supported for
|
|
211
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
212
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
213
|
+
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html),
|
|
214
|
+
* [SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
|
|
215
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
216
|
+
* [PointCloudLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-PointCloudLayer.html),
|
|
217
|
+
* [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html),
|
|
218
|
+
* [ImageryLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html), and
|
|
219
|
+
* [VoxelLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VoxelLayer.html)).
|
|
220
|
+
*
|
|
221
|
+
* ::: esri-md class="warning"
|
|
222
|
+
* * Starting with version 4.12, [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) content can no longer be set using a
|
|
223
|
+
* wildcard, e.g. `*`. Instead, set the `defaultPopupTemplateEnabled` property to `true`.
|
|
224
|
+
* * Starting with 4.16, the default popup has been improved to no longer display system
|
|
225
|
+
* [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html)
|
|
226
|
+
* that do not hold significant value, e.g. `Shape__Area` and `Shape__Length` are two fields that
|
|
227
|
+
* no longer display.
|
|
228
|
+
* * Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-FieldInfoFormat.html#dateFormat)
|
|
229
|
+
* rather than `long-month-day-year` in default [popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) created by setting the `defaultPopupTemplateEnabled` property to `true`.
|
|
230
|
+
* For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
|
|
231
|
+
* :::
|
|
232
|
+
*
|
|
233
|
+
* @since 4.11
|
|
234
|
+
* @default false
|
|
235
|
+
*/
|
|
236
|
+
defaultPopupTemplateEnabled: boolean;
|
|
237
|
+
/**
|
|
238
|
+
* The content of the popup. When set directly on the Popup, this content is
|
|
239
|
+
* static and cannot use fields to set content templates. To set a template
|
|
240
|
+
* for the content based on field or attribute names, see
|
|
241
|
+
* [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content).
|
|
242
|
+
*
|
|
243
|
+
* @noautocast
|
|
244
|
+
* @see [Sample - Popup Docking](../sample-code/popup-docking-position/index.html)
|
|
245
|
+
* @see [Sample - Popup with DOM node](../sample-code/popup-domnode/index.html)
|
|
246
|
+
* @example
|
|
247
|
+
* // This sets generic instructions in the popup that will always be displayed
|
|
248
|
+
* // unless it is overridden by a PopupTemplate
|
|
249
|
+
* view.popup.content = "Click a feature on the map to view its attributes";
|
|
250
|
+
*/
|
|
251
|
+
content: string | HTMLElement | nullish | __esri.Widget;
|
|
252
|
+
/**
|
|
253
|
+
* Indicates whether the popup displays its content. If `true`, only the header displays.
|
|
254
|
+
*
|
|
255
|
+
* @since 4.5
|
|
256
|
+
* @default false
|
|
257
|
+
*/
|
|
258
|
+
readonly collapsed: boolean;
|
|
259
|
+
/** Dock position in the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html). */
|
|
260
|
+
get currentDockPosition(): nil | PopupPositionResult;
|
|
261
|
+
/**
|
|
262
|
+
* Docking the popup allows for a better user experience, particularly when opening
|
|
263
|
+
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
264
|
+
* longer points to the [selected feature](#selectedFeature) or the [location](#location)
|
|
265
|
+
* assigned to it. Rather it is placed in one of the corners of the view or to the top or bottom
|
|
266
|
+
* of it. This property allows the developer to set various options for docking the popup.
|
|
267
|
+
*
|
|
268
|
+
* See the object specification table below to override default docking properties on the popup.
|
|
269
|
+
*
|
|
270
|
+
* @see [Sample - Popup docking](../sample-code/popup-docking-position/index.html)
|
|
271
|
+
* @example
|
|
272
|
+
* view.popup.dockOptions = {
|
|
273
|
+
* // Disable the dock button so users cannot undock the popup
|
|
274
|
+
* buttonEnabled: false,
|
|
275
|
+
* // Dock the popup when the size of the view is less than or equal to 600x1000 pixels
|
|
276
|
+
* breakpoint: {
|
|
277
|
+
* width: 600,
|
|
278
|
+
* height: 1000
|
|
279
|
+
* }
|
|
280
|
+
* };
|
|
281
|
+
*/
|
|
282
|
+
get dockOptions(): DockOptions;
|
|
283
|
+
set dockOptions(dockOptions: DockOptions);
|
|
284
|
+
/**
|
|
285
|
+
* Indicates whether the placement of the popup is docked to the side of the view.
|
|
286
|
+
*
|
|
287
|
+
* Docking the popup allows for a better user experience, particularly when opening
|
|
288
|
+
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
289
|
+
* longer points to the [selected feature](#selectedFeature) or the [location](#location)
|
|
290
|
+
* assigned to it. Rather it is attached to a side, the top, or the bottom of the view.
|
|
291
|
+
*
|
|
292
|
+
* See [dockOptions](#dockOptions) to override default options related to docking the popup.
|
|
293
|
+
*
|
|
294
|
+
* @see [Sample - Popup docking](../sample-code/popup-docking-position/index.html)
|
|
295
|
+
* @example
|
|
296
|
+
* // The popup will automatically be dockEnabled when made visible
|
|
297
|
+
* view.popup.dockEnabled = true;
|
|
298
|
+
* @default false
|
|
299
|
+
*/
|
|
300
|
+
dockEnabled: boolean;
|
|
301
|
+
/**
|
|
302
|
+
* The number of selected [features](#features) available to the popup.
|
|
303
|
+
*
|
|
304
|
+
* @default 0
|
|
305
|
+
*/
|
|
306
|
+
readonly featureCount: number;
|
|
307
|
+
/**
|
|
308
|
+
* This property enables showing the list of features.
|
|
309
|
+
*
|
|
310
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#featureMenuOpen)
|
|
311
|
+
*
|
|
312
|
+
* @default false
|
|
313
|
+
*/
|
|
314
|
+
featureMenuOpen: boolean;
|
|
315
|
+
/**
|
|
316
|
+
* An array of features associated with the popup. Each graphic in this array must
|
|
317
|
+
* have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) set. They may share the same
|
|
318
|
+
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) or have unique
|
|
319
|
+
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) depending on their attributes.
|
|
320
|
+
* The [content](#content) and [title](#title)
|
|
321
|
+
* of the popup is set based on the `content` and `title` properties of each graphic's respective
|
|
322
|
+
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
323
|
+
*
|
|
324
|
+
* When more than one graphic exists in this array, the current content of the
|
|
325
|
+
* Popup is set based on the value of the [selected feature](#selectedFeature).
|
|
326
|
+
*
|
|
327
|
+
* This value is `null` if no features are associated with the popup.
|
|
328
|
+
*
|
|
329
|
+
* @noautocast
|
|
330
|
+
* @example
|
|
331
|
+
* // When setting the features property, the graphics pushed to this property
|
|
332
|
+
* // must have a PopupTemplate set.
|
|
333
|
+
* let g1 = new Graphic();
|
|
334
|
+
* g1.popupTemplate = new PopupTemplate({
|
|
335
|
+
* title: "Results title",
|
|
336
|
+
* content: "Results: {ATTRIBUTE_NAME}"
|
|
337
|
+
* });
|
|
338
|
+
* // Set the graphics as an array to the popup instance. The content and title of
|
|
339
|
+
* // the popup will be set depending on the PopupTemplate of the graphics.
|
|
340
|
+
* // Each graphic may share the same PopupTemplate or have a unique PopupTemplate
|
|
341
|
+
* let graphics = [g1, g2, g3, g4, g5];
|
|
342
|
+
* view.popup.features = graphics;
|
|
343
|
+
*/
|
|
344
|
+
features: __esri.Graphic[];
|
|
345
|
+
/**
|
|
346
|
+
* This function provides the ability to override either the
|
|
347
|
+
* [MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or
|
|
348
|
+
* [SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.
|
|
349
|
+
*
|
|
350
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#goToOverride)
|
|
351
|
+
*/
|
|
352
|
+
goToOverride: nullish | __esri.GoToOverride;
|
|
353
|
+
/**
|
|
354
|
+
* The view model's state.
|
|
355
|
+
*
|
|
356
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#state)
|
|
357
|
+
*
|
|
358
|
+
* @default "disabled"
|
|
359
|
+
*/
|
|
360
|
+
readonly state: "ready" | "disabled";
|
|
361
|
+
/**
|
|
362
|
+
* Indicates the heading level to use for the [title](#title) of the popup.
|
|
363
|
+
* By default, the title is rendered
|
|
364
|
+
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the widget's placement
|
|
365
|
+
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
366
|
+
* important for meeting accessibility standards.
|
|
367
|
+
*
|
|
368
|
+
* @since 4.20
|
|
369
|
+
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
370
|
+
* @example
|
|
371
|
+
* // popup title will render as an <h3>
|
|
372
|
+
* popup.headingLevel = 3;
|
|
373
|
+
* @default 2
|
|
374
|
+
*/
|
|
375
|
+
headingLevel: HeadingLevel;
|
|
376
|
+
/**
|
|
377
|
+
* Highlight the selected popup feature using the [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#highlights)
|
|
378
|
+
* set on the [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or the [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#highlights)
|
|
379
|
+
* set on the [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
380
|
+
*
|
|
381
|
+
* @default false
|
|
382
|
+
*/
|
|
383
|
+
highlightDisabled: boolean;
|
|
384
|
+
/**
|
|
385
|
+
* Indicates whether to initially display a list of features, or the content for one feature.
|
|
386
|
+
*
|
|
387
|
+
* @since 4.32
|
|
388
|
+
* @default "feature"
|
|
389
|
+
*/
|
|
390
|
+
initialDisplayMode: "list" | "feature";
|
|
391
|
+
/**
|
|
392
|
+
* Point used to position the popup. This is automatically set when viewing the
|
|
393
|
+
* popup by selecting a feature. If using the Popup to display content not related
|
|
394
|
+
* to features in the map, such as the results from a task, then you must set this
|
|
395
|
+
* property before making the popup [visible](#visible) to the user.
|
|
396
|
+
*
|
|
397
|
+
* @autocast { "byTypeProperty": false }
|
|
398
|
+
* @see [Intro to popups](../sample-code/intro-popup/index.html)
|
|
399
|
+
* @example
|
|
400
|
+
* // Sets the location of the popup to the center of the view
|
|
401
|
+
* view.popup.location = view.center;
|
|
402
|
+
* // Displays the popup
|
|
403
|
+
* view.popup.visible = true;
|
|
404
|
+
* @example
|
|
405
|
+
* // Sets the location of the popup to a specific place (using autocast)
|
|
406
|
+
* // Note: using latitude/longitude only works if view is in Web Mercator or WGS84 spatial reference.
|
|
407
|
+
* view.popup.location = {latitude: 34.0571, longitude: -117.1968};
|
|
408
|
+
* @example
|
|
409
|
+
* // Sets the location of the popup to the location of a click on the view
|
|
410
|
+
* reactiveUtils.on(()=>view, "click", (event)=>{
|
|
411
|
+
* view.popup.location = event.mapPoint;
|
|
412
|
+
* // Displays the popup
|
|
413
|
+
* view.popup.visible = true;
|
|
414
|
+
* });
|
|
415
|
+
*/
|
|
416
|
+
location: nullish | __esri.Point;
|
|
417
|
+
/**
|
|
418
|
+
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
419
|
+
* no pending promises, the value is `null`. When the pending promises are
|
|
420
|
+
* resolved they are removed from this array and the features they return
|
|
421
|
+
* are pushed into the [features](#features) array.
|
|
422
|
+
*/
|
|
423
|
+
promises: Promise<__esri.Graphic[]>[];
|
|
424
|
+
/**
|
|
425
|
+
* The selected feature accessed by the popup. The content of the Popup is
|
|
426
|
+
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to
|
|
427
|
+
* this feature.
|
|
428
|
+
*/
|
|
429
|
+
readonly selectedFeature: nullish | __esri.Graphic;
|
|
430
|
+
/**
|
|
431
|
+
* The feature that the widget has drilled into.
|
|
432
|
+
* This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-RelationshipContent.html) or [utility](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html).
|
|
433
|
+
*
|
|
434
|
+
* @since 4.32
|
|
435
|
+
*/
|
|
436
|
+
get selectedDrillInFeature(): __esri.Graphic | nil;
|
|
437
|
+
/**
|
|
438
|
+
* Index of the feature that is [selected](#selectedFeature). When [features](#features) are set,
|
|
439
|
+
* the first index is automatically selected.
|
|
440
|
+
*/
|
|
441
|
+
selectedFeatureIndex: number;
|
|
442
|
+
/**
|
|
443
|
+
* Returns a reference to the current [Feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html) that the Popup is using.
|
|
444
|
+
* This is useful if needing to get a reference to the widget in order to make any changes to it.
|
|
445
|
+
*
|
|
446
|
+
* @since 4.7
|
|
447
|
+
*/
|
|
448
|
+
get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
|
|
449
|
+
/**
|
|
450
|
+
* The title of the popup. This can be set generically on the popup no
|
|
451
|
+
* matter the features that are selected. If the [selected feature](#selectedFeature)
|
|
452
|
+
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), then the title set in the
|
|
453
|
+
* corresponding template is used here.
|
|
454
|
+
*
|
|
455
|
+
* @see [headingLevel](#headingLevel)
|
|
456
|
+
* @example
|
|
457
|
+
* // This title will display in the popup unless a selected feature's
|
|
458
|
+
* // PopupTemplate overrides it
|
|
459
|
+
* view.popup.title = "Population by zip codes in Southern California";
|
|
460
|
+
*/
|
|
461
|
+
heading: string | nullish;
|
|
462
|
+
/**
|
|
463
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
464
|
+
*
|
|
465
|
+
* @default false
|
|
466
|
+
*/
|
|
467
|
+
hideActionBar: boolean;
|
|
468
|
+
/**
|
|
469
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
470
|
+
*
|
|
471
|
+
* @default false
|
|
472
|
+
*/
|
|
473
|
+
hideCloseButton: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
476
|
+
*
|
|
477
|
+
* @default false
|
|
478
|
+
*/
|
|
479
|
+
hideCollapseButton: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
482
|
+
*
|
|
483
|
+
* @default false
|
|
484
|
+
*/
|
|
485
|
+
hideFeatureMenuHeading: boolean;
|
|
486
|
+
/**
|
|
487
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
488
|
+
*
|
|
489
|
+
* @default false
|
|
490
|
+
*/
|
|
491
|
+
hideFeatureNavigation: boolean;
|
|
492
|
+
/**
|
|
493
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
494
|
+
*
|
|
495
|
+
* @default false
|
|
496
|
+
*/
|
|
497
|
+
hideFeatureListLayerTitle: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
500
|
+
*
|
|
501
|
+
* @default false
|
|
502
|
+
*/
|
|
503
|
+
hideHeading: boolean;
|
|
504
|
+
/**
|
|
505
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
506
|
+
*
|
|
507
|
+
* @default false
|
|
508
|
+
*/
|
|
509
|
+
hideSpinner: boolean;
|
|
510
|
+
/**
|
|
511
|
+
* If true, the component will not be destroyed automatically when it is
|
|
512
|
+
* disconnected from the document. This is useful when you want to move the
|
|
513
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
514
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/#destroy) method when you are done to
|
|
515
|
+
* prevent memory leaks.
|
|
516
|
+
*
|
|
517
|
+
* @default false
|
|
518
|
+
*/
|
|
519
|
+
autoDestroyDisabled: boolean;
|
|
520
|
+
/** Overwrite localized strings for this component */
|
|
521
|
+
messageOverrides?: typeof this.messages._overrides;
|
|
522
|
+
/** The widget's default label. */
|
|
523
|
+
label?: string;
|
|
524
|
+
/**
|
|
525
|
+
* Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open in the view.
|
|
526
|
+
* Use the property to check if the popup is visible and is not
|
|
527
|
+
*
|
|
528
|
+
* @name visible
|
|
529
|
+
* @instance
|
|
530
|
+
* @type {boolean}
|
|
531
|
+
* @default false
|
|
532
|
+
*/
|
|
533
|
+
visible: boolean;
|
|
534
|
+
/**
|
|
535
|
+
* Removes [promises](#promises), [features](#features), [content](#content),
|
|
536
|
+
* [title](#title) and [location](#location) from the Popup.
|
|
537
|
+
*/
|
|
538
|
+
clear(): Promise<void>;
|
|
539
|
+
/** Permanently destroy the component. */
|
|
540
|
+
destroy(): Promise<void>;
|
|
541
|
+
/**
|
|
542
|
+
* Use this method to return feature(s) at a given screen location.
|
|
543
|
+
* These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
544
|
+
* in the [view](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html). In order to use this, a layer must already have an
|
|
545
|
+
* associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupEnabled).
|
|
546
|
+
* These features can then be used within a custom [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html)
|
|
547
|
+
* or [Feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html) widget experience.
|
|
548
|
+
* One example could be a custom side panel that displays feature-specific information based on
|
|
549
|
+
* an end user's click location. This method allows a developer the ability to
|
|
550
|
+
* control how the input location is handled, and then subsequently, what to do with the results.
|
|
551
|
+
*
|
|
552
|
+
* @example
|
|
553
|
+
* // Add Feature widget to UI
|
|
554
|
+
* view.ui.add(featureWidget, "top-right");
|
|
555
|
+
*
|
|
556
|
+
* // Get view's click event
|
|
557
|
+
* reactiveUtils.on(()=>view, "click", (event)=>{
|
|
558
|
+
* // Call fetchFeatures and pass in the click event screenPoint
|
|
559
|
+
* view.popup.fetchFeatures(event.screenPoint).then((response) => {
|
|
560
|
+
* // Access the response from fetchFeatures
|
|
561
|
+
* response.allGraphicsPromise.then((graphics) => {
|
|
562
|
+
* // Set the feature widget's graphic to the returned graphic from fetchFeatures
|
|
563
|
+
* featureWidget.graphic = graphics[0];
|
|
564
|
+
* });
|
|
565
|
+
* });
|
|
566
|
+
* });
|
|
567
|
+
* @since 4.15
|
|
568
|
+
* @see [Sample - Feature widget - Query graphics from multiple layers](../sample-code/widgets-feature-multiplelayers/index.html)
|
|
569
|
+
*/
|
|
570
|
+
fetchFeatures(screenPoint: __esri.ScreenPoint, options?: FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>;
|
|
571
|
+
/**
|
|
572
|
+
* Selects the feature at the next index in relation to the selected feature.
|
|
573
|
+
*
|
|
574
|
+
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
575
|
+
*/
|
|
576
|
+
next(): Promise<FeaturesViewModel>;
|
|
577
|
+
/**
|
|
578
|
+
* Opens the popup at the given location with content defined either explicitly with `content`
|
|
579
|
+
* or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features. This method sets
|
|
580
|
+
* the popup's [visible](#visible) property to `true`. Users can alternatively open the popup
|
|
581
|
+
* by directly setting the [visible](#visible) property to `true`.
|
|
582
|
+
*
|
|
583
|
+
* ::: esri-md class="warning"
|
|
584
|
+
* The popup will only display if
|
|
585
|
+
* the view's size constraints in [dockOptions](#dockOptions) are met or the [location](#location)
|
|
586
|
+
* property is set to a geometry.
|
|
587
|
+
* :::
|
|
588
|
+
*
|
|
589
|
+
* @see [Intro to popups](../sample-code/intro-popup/index.html)
|
|
590
|
+
* @see [Popup.visible](#visible)
|
|
591
|
+
* @see [Sample - Query with `rest/query`](../sample-code/query/index.html)
|
|
592
|
+
* @see [Sample - Popup with DOM node](../sample-code/popup-domnode/index.html)
|
|
593
|
+
* @example
|
|
594
|
+
* reactiveUtils.on(()=>view, "click", (event)=>{
|
|
595
|
+
* view.popup.open({
|
|
596
|
+
* location: event.mapPoint, // location of the click on the view
|
|
597
|
+
* title: "You clicked here", // title displayed in the popup
|
|
598
|
+
* content: "This is a point of interest" // content displayed in the popup
|
|
599
|
+
* });
|
|
600
|
+
* });
|
|
601
|
+
* @example
|
|
602
|
+
* reactiveUtils.on(()=>view, "click", (event)=>{
|
|
603
|
+
* view.popup.open({
|
|
604
|
+
* location: event.mapPoint, // location of the click on the view
|
|
605
|
+
* fetchFeatures: true // display the content for the selected feature if a popupTemplate is defined.
|
|
606
|
+
* });
|
|
607
|
+
* });
|
|
608
|
+
* @example
|
|
609
|
+
* view.popup.open({
|
|
610
|
+
* title: "You clicked here", // title displayed in the popup
|
|
611
|
+
* content: "This is a point of interest", // content displayed in the popup
|
|
612
|
+
* location: event.mapPoint,
|
|
613
|
+
* updateLocationEnabled: true // updates the location of popup based on
|
|
614
|
+
* // selected feature's geometry
|
|
615
|
+
* });
|
|
616
|
+
* @example
|
|
617
|
+
* view.popup.open({
|
|
618
|
+
* features: graphics, // array of graphics
|
|
619
|
+
* featureMenuOpen: true, // selected features initially display in a list
|
|
620
|
+
* location: graphics[0].geometry // location of the first graphic in the array of graphics
|
|
621
|
+
* });
|
|
622
|
+
*/
|
|
623
|
+
open(options?: __esri.FeaturesViewModelOpenOptions): Promise<void>;
|
|
624
|
+
/**
|
|
625
|
+
* Selects the feature at the previous index in relation to the selected feature.
|
|
626
|
+
*
|
|
627
|
+
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
628
|
+
*/
|
|
629
|
+
previous(): Promise<FeaturesViewModel>;
|
|
630
|
+
/**
|
|
631
|
+
* Use this method to give focus to the Widget if the widget is able to be focused.
|
|
632
|
+
*
|
|
633
|
+
* @since 4.6
|
|
634
|
+
*/
|
|
635
|
+
setFocus(): Promise<void>;
|
|
636
|
+
/**
|
|
637
|
+
* Triggers the [trigger-action](#event-trigger-action) event and executes the [action](#actions)
|
|
638
|
+
* at the specified index in the [actions](#actions) array.
|
|
639
|
+
*/
|
|
640
|
+
triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
|
|
641
|
+
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
642
|
+
name: "state" | "active" | "collapsed" | "featureCount" | "featureMenuOpen" | "features" | "promises" | "selectedDrillInFeature" | "selectedFeature" | "selectedFeatureComponent" | "selectedFeatureIndex" | "visible" | "currentAlignment" | "dockEnabled";
|
|
643
|
+
}>;
|
|
644
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
645
|
+
readonly arcgisReady: TargetedEvent<this, void>;
|
|
646
|
+
/** Emitted when the component's close button is clicked. */
|
|
647
|
+
readonly arcgisClose: TargetedEvent<this, void>;
|
|
648
|
+
readonly arcgisTriggerAction: TargetedEvent<this, __esri.PopupTriggerActionEvent>;
|
|
649
|
+
private messages;
|
|
650
|
+
}
|
|
651
|
+
export {};
|