@arcgis/map-components 4.34.0-next.125 → 4.34.0-next.126
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/{LPGGW356.js → 23BQVV5P.js} +2 -2
- package/dist/cdn/{7H3575IC.js → 23CPOPYJ.js} +2 -2
- package/dist/cdn/{QOGTXUIS.js → 2564ALYI.js} +2 -2
- package/dist/cdn/{XKLELAQK.js → 2CGCEJBW.js} +2 -2
- package/dist/cdn/{YD7BEV57.js → 2GU64EYX.js} +2 -2
- package/dist/cdn/{ZFZJCUTA.js → 2MQGFPDR.js} +2 -2
- package/dist/cdn/2OEJGJTN.js +4 -0
- package/dist/cdn/{E4OXGX2N.js → 2SMHV525.js} +2 -2
- package/dist/cdn/{PFAHOGVG.js → 37IXK3LX.js} +2 -2
- package/dist/cdn/{DIXJANFZ.js → 3FDYCN6J.js} +2 -2
- package/dist/cdn/{4Z2FXCOD.js → 3FL3UVTV.js} +2 -2
- package/dist/cdn/{CGTH27JP.js → 3IYQOLWN.js} +2 -2
- package/dist/cdn/{PP72ZHL5.js → 3RCKMIZG.js} +2 -2
- package/dist/cdn/{UUJPVQCO.js → 3TYLLPJM.js} +2 -2
- package/dist/cdn/{ML4MRPP6.js → 3U6FL5CJ.js} +2 -2
- package/dist/cdn/{6RMAKDWG.js → 47M5YVES.js} +1 -1
- package/dist/cdn/{C5KFNDN3.js → 47R2YESS.js} +2 -2
- package/dist/cdn/{U4GHUOWW.js → 4ARAQPEK.js} +2 -2
- package/dist/cdn/{NFIO2V4V.js → 4CPB32NP.js} +2 -2
- package/dist/cdn/{V26ZGB4X.js → 4EN76RE4.js} +2 -2
- package/dist/cdn/4GPP7ZG2.js +4 -0
- package/dist/cdn/{QA4EIUDF.js → 55LQBMWX.js} +2 -2
- package/dist/cdn/{LBJ3TRGX.js → 5AOHIN4B.js} +2 -2
- package/dist/cdn/{XYBOHCJF.js → 5IUQW4SV.js} +2 -2
- package/dist/cdn/{ZEHEYKQL.js → 5PGLNF5F.js} +2 -2
- package/dist/cdn/{J72LINLO.js → 5XH5ROO7.js} +2 -2
- package/dist/cdn/{WKHXQ6J3.js → 62TLIOD4.js} +2 -2
- package/dist/cdn/{P7GT65HM.js → 66LROTMP.js} +3 -3
- package/dist/cdn/6IHB7OVK.js +4 -0
- package/dist/cdn/6JLRXIIU.js +4 -0
- package/dist/cdn/{CD4XGST4.js → 6KQ5PJGC.js} +2 -2
- package/dist/cdn/{UFYT6KU7.js → 6VKN7ZIV.js} +2 -2
- package/dist/cdn/{5E34ZMVK.js → 6ZX64NK4.js} +2 -2
- package/dist/cdn/{V6XFQFAD.js → 77RD2G3G.js} +2 -2
- package/dist/cdn/{WLZSEIS2.js → 7JI7EN6Y.js} +2 -2
- package/dist/cdn/{JEFR5FE5.js → 7MIUNXKP.js} +2 -2
- package/dist/cdn/{KV7REIWV.js → 7TTV5PFB.js} +2 -2
- package/dist/cdn/{VJYL4AZS.js → 7WK7MWXY.js} +2 -2
- package/dist/cdn/{AAAAPLDD.js → 7WQAAEMD.js} +2 -2
- package/dist/cdn/{KUZUDH5S.js → 7WVBB25Q.js} +2 -2
- package/dist/cdn/{GAPSWBCQ.js → A6U7FTEU.js} +2 -2
- package/dist/cdn/{IKPKANAQ.js → ABY74RTP.js} +2 -2
- package/dist/cdn/{G7M4WABW.js → AHVQ4H5J.js} +2 -2
- package/dist/cdn/{5KMAATPD.js → AKSS4A7A.js} +1 -1
- package/dist/cdn/{MPWXBSTU.js → AM7PEI2P.js} +2 -2
- package/dist/cdn/{W57YF4G5.js → AP4U4PLQ.js} +2 -2
- package/dist/cdn/{XU6C56MG.js → AVFUK3B2.js} +2 -2
- package/dist/cdn/{NQXBZWJL.js → AYOGHDI4.js} +2 -2
- package/dist/cdn/{N7GMH6TI.js → AZAVO3S5.js} +2 -2
- package/dist/cdn/{UJPCSYJ2.js → B4KNVUPW.js} +2 -2
- package/dist/cdn/{AQIYNVEG.js → B75V53DG.js} +2 -2
- package/dist/cdn/{PJPW3VXE.js → BG7GTNI2.js} +2 -2
- package/dist/cdn/{5ATEHNRF.js → BMKCXLJG.js} +2 -2
- package/dist/cdn/{V3DFHV53.js → BUTNMXZP.js} +2 -2
- package/dist/cdn/C7WOKMZX.js +4 -0
- package/dist/cdn/{W5CGW7JM.js → CAHDNHKE.js} +2 -2
- package/dist/cdn/CEY2WMFN.js +4 -0
- package/dist/cdn/CG4XV6GU.js +4 -0
- package/dist/cdn/{6LOKIYVB.js → CG7FTUAS.js} +2 -2
- package/dist/cdn/{3RQEKU2J.js → CGBOZKWZ.js} +2 -2
- package/dist/cdn/{A3EH2QEM.js → CHGLN22H.js} +2 -2
- package/dist/cdn/{SZPGXFXX.js → CJPUFBD2.js} +2 -2
- package/dist/cdn/{HNTNRF3G.js → CQLUVA4A.js} +2 -2
- package/dist/cdn/{DXZK2RGY.js → CSVVFUUC.js} +2 -2
- package/dist/cdn/{IQJ4ORV4.js → DEVI26PS.js} +2 -2
- package/dist/cdn/{M6WPPRSR.js → DGHKDLTH.js} +2 -2
- package/dist/cdn/{4UJ2O6HF.js → DST4YOTP.js} +2 -2
- package/dist/cdn/{P5BPYO2W.js → DYDJ3Q4A.js} +1 -1
- package/dist/cdn/{SUIJHBZK.js → E3UPPRG5.js} +2 -2
- package/dist/cdn/{UFUJ5S2M.js → E6ZLK23H.js} +2 -2
- package/dist/cdn/{B4A3ZTKO.js → EF6JLI3D.js} +2 -2
- package/dist/cdn/{TRUS5EJ5.js → EGNVJKZ5.js} +2 -2
- package/dist/cdn/{VSSPVLCK.js → EIFMWR4A.js} +2 -2
- package/dist/cdn/{TTQZKXWI.js → EPGOIJ36.js} +2 -2
- package/dist/cdn/{QY5S5CXM.js → ET5C5YMY.js} +2 -2
- package/dist/cdn/{UQD3YHCX.js → EVODZEOK.js} +2 -2
- package/dist/cdn/{72CQVH4C.js → EVTMUQHE.js} +2 -2
- package/dist/cdn/{C6FJ4FY2.js → F2K7AF6Z.js} +2 -2
- package/dist/cdn/{NSI6TYMY.js → F6W27ADX.js} +2 -2
- package/dist/cdn/{CGYWQK6X.js → F77QW2WG.js} +2 -2
- package/dist/cdn/{LFLL5VB7.js → FAUOLDED.js} +2 -2
- package/dist/cdn/FGJVMKGG.js +4 -0
- package/dist/cdn/{5JGC5L4N.js → FGWI3CKE.js} +2 -2
- package/dist/cdn/{YKSPRGC2.js → FLBPJTU5.js} +2 -2
- package/dist/cdn/{2BSKJTEM.js → FUYBMKIT.js} +2 -2
- package/dist/cdn/{N2UEFTK2.js → FWMIDJWL.js} +2 -2
- package/dist/cdn/{UV3HBLTN.js → FY7YUBGD.js} +2 -2
- package/dist/cdn/{I752Y7LG.js → G3D6GHQ5.js} +2 -2
- package/dist/cdn/{ER4VCXH4.js → GDSL5OPE.js} +2 -2
- package/dist/cdn/{5STILCS5.js → GMRQ63JW.js} +2 -2
- package/dist/cdn/{A22TPNLD.js → GN3JIGKA.js} +2 -2
- package/dist/cdn/{HGK5OTNR.js → GPAKJWXM.js} +2 -2
- package/dist/cdn/{I6QQBQXE.js → GPF3LTPZ.js} +2 -2
- package/dist/cdn/{PIR72PBQ.js → GWLTZFSG.js} +2 -2
- package/dist/cdn/{QXUXQJLD.js → H75OPTHT.js} +2 -2
- package/dist/cdn/{ASBCL2XS.js → HDHMKQII.js} +1 -1
- package/dist/cdn/{4D5IICRV.js → HDNJM2LD.js} +2 -2
- package/dist/cdn/{VZN7A2JK.js → HDT5PZG6.js} +2 -2
- package/dist/cdn/{ICNBP63V.js → HHFIZ3CL.js} +2 -2
- package/dist/cdn/{5OI64SGE.js → HNIKYLKR.js} +1 -1
- package/dist/cdn/{OXGEL6KI.js → HOIXT45X.js} +2 -2
- package/dist/cdn/{Z2ULNBPB.js → HTUJZ4JI.js} +2 -2
- package/dist/cdn/{4VNED3HJ.js → HWBX65BI.js} +2 -2
- package/dist/cdn/{LFSNOPR2.js → HZK7BFEU.js} +2 -2
- package/dist/cdn/{TLJPQELO.js → I43WLH4Q.js} +2 -2
- package/dist/cdn/{SBXIPG4J.js → I6JLX5KC.js} +2 -2
- package/dist/cdn/{V6KK6DEW.js → IDUBBWVQ.js} +2 -2
- package/dist/cdn/{QZJTZLJZ.js → IXIGZZPZ.js} +1 -1
- package/dist/cdn/{XBN5UGJF.js → J5GNLGGY.js} +2 -2
- package/dist/cdn/{6JHG3LNJ.js → JA5JM23Q.js} +2 -2
- package/dist/cdn/{AAKINTJC.js → JBMNZ72D.js} +2 -2
- package/dist/cdn/{AURUXO4X.js → JF6JKWM6.js} +2 -2
- package/dist/cdn/{HGQLG3J7.js → JG654ASN.js} +2 -2
- package/dist/cdn/{IO73YUFF.js → JSSGJ6QA.js} +2 -2
- package/dist/cdn/KEXMSNPE.js +4 -0
- package/dist/cdn/{AGNBZWKD.js → KJ3X6V5U.js} +2 -2
- package/dist/cdn/KLYV2SZX.js +4 -0
- package/dist/cdn/{FCIQOUV4.js → KOESCJOX.js} +2 -2
- package/dist/cdn/{FONS77PZ.js → KRWQCBAZ.js} +2 -2
- package/dist/cdn/KVVUQQUC.js +4 -0
- package/dist/cdn/{THFQILT7.js → L2STTIN5.js} +2 -2
- package/dist/cdn/{WMERYBV4.js → L4I2TX5J.js} +2 -2
- package/dist/cdn/{36JCXA44.js → LCQ56ACM.js} +2 -2
- package/dist/cdn/{L24KJ6WW.js → LDIYHILE.js} +2 -2
- package/dist/cdn/{PCU3AY32.js → LLZ4JQRB.js} +1 -1
- package/dist/cdn/{ONCVUUSI.js → LSQE3IAM.js} +2 -2
- package/dist/cdn/{DCJA67R4.js → LXJSY2MG.js} +2 -2
- package/dist/cdn/{YY7VWTRP.js → M73G7Y5Z.js} +2 -2
- package/dist/cdn/{2JAMP75V.js → MGBURBCQ.js} +2 -2
- package/dist/cdn/{6HB67KZD.js → MKAIDDSL.js} +2 -2
- package/dist/cdn/{75VSTEIR.js → MQJONABN.js} +1 -1
- package/dist/cdn/{UVRT5QIF.js → MXPES5JI.js} +2 -2
- package/dist/cdn/{MWJ2O64A.js → N2RX23W6.js} +2 -2
- package/dist/cdn/{N5G7CKWH.js → NDJ4DLLV.js} +2 -2
- package/dist/cdn/{6XVFZVUV.js → NGQWSV2A.js} +1 -1
- package/dist/cdn/{UXDWQNO3.js → NJLNHW4X.js} +2 -2
- package/dist/cdn/{NKVLISCI.js → NNIA4NN4.js} +2 -2
- package/dist/cdn/{G5XLVPT2.js → NOYXCWU2.js} +2 -2
- package/dist/cdn/{BJQTBRQI.js → NRFGE4OE.js} +2 -2
- package/dist/cdn/{6RDC2N36.js → NU4AD74P.js} +2 -2
- package/dist/cdn/{4N4EPA5H.js → NV2NHBFO.js} +2 -2
- package/dist/cdn/{HH6XO3VT.js → O5EP6F5A.js} +2 -2
- package/dist/cdn/{FASESLOF.js → O6LHXWZW.js} +2 -2
- package/dist/cdn/{ZOC2Q4IS.js → OPMS4BVQ.js} +2 -2
- package/dist/cdn/{ETLNV7UX.js → OQN4MGR3.js} +1 -1
- package/dist/cdn/{FIGP7IBS.js → OQXMPLC5.js} +2 -2
- package/dist/cdn/{HRIWXDU7.js → OSA6ZGPX.js} +2 -2
- package/dist/cdn/{E36VV2L2.js → OTELWF7N.js} +2 -2
- package/dist/cdn/{Q2MGPK65.js → P3PUOKVX.js} +2 -2
- package/dist/cdn/{RLZNC7IZ.js → PEGWYXKX.js} +2 -2
- package/dist/cdn/PLEDYCCT.js +4 -0
- package/dist/cdn/{FBY7ZOPZ.js → PPMKWYXP.js} +2 -2
- package/dist/cdn/{SZX2ZKFE.js → Q257PG2M.js} +2 -2
- package/dist/cdn/{N7JLVVIZ.js → Q2WV5SS7.js} +1 -1
- package/dist/cdn/{4N3B6MWP.js → Q4S3OBXP.js} +2 -2
- package/dist/cdn/{XASLB7OF.js → QDGMQESG.js} +2 -2
- package/dist/cdn/{F5DKTE2E.js → QIUGB7VY.js} +2 -2
- package/dist/cdn/{HEHUHPFQ.js → QK7MQ3ZG.js} +2 -2
- package/dist/cdn/{MVLBZXAT.js → QRHJHPGM.js} +1 -1
- package/dist/cdn/{ER5GD5I6.js → RE6RPEK5.js} +1 -1
- package/dist/cdn/{PAKW2CUA.js → RGUZMB66.js} +2 -2
- package/dist/cdn/{MD2EVZNE.js → RGYQV5XB.js} +2 -2
- package/dist/cdn/{5OQ4TXFF.js → RIUGYHZR.js} +2 -2
- package/dist/cdn/{VBB4L4SQ.js → RLVKJR7X.js} +2 -2
- package/dist/cdn/{2HAZWDV6.js → RLW2HWUC.js} +2 -2
- package/dist/cdn/{7UPQNCEO.js → RNZBGMVW.js} +2 -2
- package/dist/cdn/{G5PWQYRP.js → ROAVA4JA.js} +2 -2
- package/dist/cdn/{UZR4QI4U.js → RWFNVRUB.js} +2 -2
- package/dist/cdn/{S3ZKF7S7.js → SG22KYCL.js} +2 -2
- package/dist/cdn/{WZDFLHVE.js → SNOMMY7T.js} +2 -2
- package/dist/cdn/{MWFOIDB4.js → SQXD3VUO.js} +2 -2
- package/dist/cdn/{CQBDRC5S.js → T34X3YIQ.js} +2 -2
- package/dist/cdn/{GL3GDMBT.js → T4SEIDZD.js} +2 -2
- package/dist/cdn/{3OKXNICR.js → T6EQEVD2.js} +2 -2
- package/dist/cdn/{CGSAILS6.js → T7324YLA.js} +2 -2
- package/dist/cdn/{2XM7CNST.js → T7CO6LBD.js} +2 -2
- package/dist/cdn/{MXYLTO5S.js → TKHOLMKU.js} +2 -2
- package/dist/cdn/{FCCZZXCX.js → TRD5GIAV.js} +2 -2
- package/dist/cdn/{7GY2ATIN.js → U456XBFI.js} +2 -2
- package/dist/cdn/UI4GQIIT.js +4 -0
- package/dist/cdn/{2OFV656X.js → UJIAE77U.js} +2 -2
- package/dist/cdn/{F5N5Y6UN.js → UQPLFS36.js} +2 -2
- package/dist/cdn/{ONCFTNKB.js → UTWATVD2.js} +2 -2
- package/dist/cdn/{3IPP66Q6.js → UVZCPBXJ.js} +2 -2
- package/dist/cdn/{X6ARLH35.js → UYCCGEVR.js} +2 -2
- package/dist/cdn/{66YRDVFR.js → VF4PKUB3.js} +2 -2
- package/dist/cdn/{4ABUUX74.js → VJMN4VGZ.js} +2 -2
- package/dist/cdn/{2BUUN45A.js → VLIGGVPB.js} +2 -2
- package/dist/cdn/{BUAM24DJ.js → VZWI77C2.js} +2 -2
- package/dist/cdn/{UNV7HGUE.js → W3CTD2JA.js} +2 -2
- package/dist/cdn/{BOJWMW2Q.js → W6XGDNMY.js} +2 -2
- package/dist/cdn/{COUUFGGJ.js → WCAX4RU7.js} +2 -2
- package/dist/cdn/{4IGC7R64.js → XA3CG5EP.js} +2 -2
- package/dist/cdn/{FI63B4SO.js → XBW42KLF.js} +2 -2
- package/dist/cdn/{QGGKJRQT.js → XF3IRPXR.js} +2 -2
- package/dist/cdn/XIMT6CTV.js +4 -0
- package/dist/cdn/{I5ATKJDM.js → XMNRYHBV.js} +2 -2
- package/dist/cdn/XN5NVHQH.js +4 -0
- package/dist/cdn/{RMZFPQCS.js → XNNSC73G.js} +2 -2
- package/dist/cdn/{4IEFJXSP.js → XZOIOZ43.js} +2 -2
- package/dist/cdn/{CWAAQ7O6.js → Y3R4IE5F.js} +2 -2
- package/dist/cdn/{WVFJ3G2U.js → Y7RX3V36.js} +2 -2
- package/dist/cdn/{2JZSLDCF.js → YEBVECU4.js} +2 -2
- package/dist/cdn/{HO7Y5PP6.js → YFFTG7AG.js} +2 -2
- package/dist/cdn/{HCKYIRRW.js → YHGAKCIU.js} +1 -1
- package/dist/cdn/{Q3DLX4MB.js → YKESPNAQ.js} +2 -2
- package/dist/cdn/{3PUESTHG.js → YPXIGB3R.js} +2 -2
- package/dist/cdn/{UGXQ23SQ.js → YPZUH5O2.js} +2 -2
- package/dist/cdn/{TB5I3AWI.js → Z3PGZKSN.js} +2 -2
- package/dist/cdn/{BQQ6JHZO.js → ZC65MIKC.js} +2 -2
- package/dist/cdn/{EDU2J46V.js → ZFIZ5ICA.js} +2 -2
- package/dist/cdn/{YCMB5ACI.js → ZFJ4HX7F.js} +2 -2
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.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/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 +2 -2
- 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/slots.js +1 -1
- package/dist/chunks/slots2.js +2 -2
- 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 +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
- package/dist/components/arcgis-bookmarks/customElement.js +2 -2
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +2 -2
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +6 -6
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +37 -37
- package/dist/components/arcgis-feature-relationship/customElement.js +2 -2
- package/dist/components/arcgis-feature-table/customElement.js +6 -6
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +267 -234
- package/dist/components/arcgis-features/customElement.js +6 -6
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +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.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +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.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +121 -0
- package/dist/components/arcgis-utility-network-trace-analysis/index.d.ts +12 -0
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +12 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +28 -28
- 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 +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +511 -143
- package/dist/docs/docs.json +435 -120
- package/dist/docs/vscode.html-custom-data.json +83 -17
- package/dist/docs/web-types.json +181 -43
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -1
- package/dist/types/lumina.d.ts +7 -0
- package/dist/types/preact.d.ts +8 -0
- package/dist/types/react.d.ts +9 -0
- package/dist/types/stencil.d.ts +7 -0
- package/package.json +3 -3
- package/dist/cdn/5AG4EXLH.js +0 -4
- package/dist/cdn/7L7W4EFQ.js +0 -4
- package/dist/cdn/AH4QFAOW.js +0 -4
- package/dist/cdn/AM4MMLCE.js +0 -4
- package/dist/cdn/C5J7FRRT.js +0 -4
- package/dist/cdn/HTL6VANW.js +0 -4
- package/dist/cdn/I3ARRYLP.js +0 -4
- package/dist/cdn/LKVQ3YLU.js +0 -4
- package/dist/cdn/OLZBSLDF.js +0 -4
- package/dist/cdn/TWBE5G2W.js +0 -4
- package/dist/cdn/V6WCDA6M.js +0 -4
- package/dist/cdn/VMYKGOIP.js +0 -4
- package/dist/cdn/VR6KQOYZ.js +0 -4
- package/dist/cdn/ZIKK4Z4O.js +0 -4
|
@@ -13,123 +13,109 @@ import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
|
13
13
|
declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<FeaturesViewModel>) => FeaturesViewModel;
|
|
14
14
|
/**
|
|
15
15
|
* The Features component allows users to view a feature's popupTemplate content such as attributes,
|
|
16
|
-
* actions, related records, etc., without having to be tied to
|
|
17
|
-
* This component looks and behaves similarly to the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-
|
|
18
|
-
* however unlike Popup, the Features component can be placed outside of the
|
|
19
|
-
* For example, when features are selected in the [
|
|
20
|
-
* the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-
|
|
16
|
+
* actions, related records, etc., without having to be tied to a [ArcgisMap](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [ArcgisScene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
17
|
+
* This component looks and behaves similarly to the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html),
|
|
18
|
+
* however unlike Popup, the Features component can be placed outside of the map or scene component.
|
|
19
|
+
* For example, when features are selected in the [ArcgisMap](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/),
|
|
20
|
+
* the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) opens within the map whether it is docked
|
|
21
21
|
* or anchored to the selected feature.
|
|
22
|
-
* With the Features component, the same information that
|
|
22
|
+
* With the Features component, the same information that Popup provides is shown in a separate container from the map, such as
|
|
23
23
|
* a HTML div within a Calcite Design System
|
|
24
24
|
* [Shell Panel](https://developers.arcgis.com/calcite-design-system/components/shell-panel/).
|
|
25
25
|
*
|
|
26
|
-
* [](../sample-code/sandbox/?sample=components-features)
|
|
27
|
-
*
|
|
28
|
-
* In the image above, a Calcite shell panel displays the Features component along with a MapView in a separate div.
|
|
29
|
-
* A generic `title` and `content` property can be set directly on the Features component or
|
|
30
|
-
* each individual layer's [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) can be displayed (e.g.
|
|
31
|
-
* the Olympic National Park feature's PopupTemplate that contains text, media, and relationship elements).
|
|
32
|
-
* The action bar, shown below the title in the image above, displays [actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) that can be defined either on the component level within the [open()](#open) method,
|
|
33
|
-
* with the [FeaturesViewModel.actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-components-Features-FeaturesViewModel.html#actions) property, or in the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of the layer.
|
|
34
26
|
* If multiple features are passed into the Features component, the component provides buttons to page though the features and a feature menu that allows the
|
|
35
27
|
* list of features to be displayed so the user can choose which feature content to display in the component. The component also respects
|
|
36
28
|
* feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html#popupTemplate) and [clustering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#popupTemplate).
|
|
37
29
|
*
|
|
38
|
-
* The Features component should be used if needing to use the Popup functionality outside of the
|
|
39
|
-
* actions, related records, clustering configuration, etc., then use the [
|
|
30
|
+
* The Features component should be used if needing to use the Popup functionality outside of the map or scene component. If wanting to show a single feature's content without
|
|
31
|
+
* actions, related records, clustering configuration, etc., then use the [ArcgisFeature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) component.
|
|
40
32
|
*
|
|
41
33
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/)
|
|
42
34
|
*
|
|
43
|
-
* @since 4.27
|
|
44
35
|
* @see module :esri/PopupTemplate
|
|
45
|
-
* @see [Sample - Features component](../sample-code/components-features/)
|
|
46
36
|
* @see [Guide - Esri Icon Font](../esri-icon-font/)
|
|
47
|
-
* @see module :esri/components/Features/FeaturesViewModel
|
|
48
|
-
* @example
|
|
49
|
-
* // Create a new instance of Features and set this on the View's
|
|
50
|
-
* // popup. When features are selected in the map, the Features component
|
|
51
|
-
* // will automatically open in its respective container.
|
|
52
|
-
* const view = new MapView({
|
|
53
|
-
* container: "viewDiv",
|
|
54
|
-
* map: map,
|
|
55
|
-
* popup: new Features({
|
|
56
|
-
* container: "features-component"
|
|
57
|
-
* })
|
|
58
|
-
* });
|
|
59
|
-
* @example
|
|
60
|
-
* // Create a new instance of Features and set the view property
|
|
61
|
-
* // to the View along with the container that holds the component
|
|
62
|
-
* // such as a Calcite Shell Panel.
|
|
63
|
-
* const featuresComponent = new Features({
|
|
64
|
-
* view: view,
|
|
65
|
-
* container: "features-component"
|
|
66
|
-
* });
|
|
67
|
-
*
|
|
68
|
-
* // Use reactiveUtils to watch for when the view has a click event
|
|
69
|
-
* // then open the Features component in its respective container.
|
|
70
|
-
* reactiveUtils.on(()=> view, "click",
|
|
71
|
-
* (event)=>{
|
|
72
|
-
* featuresComponent.open({
|
|
73
|
-
* location: event.mapPoint,
|
|
74
|
-
* fetchFeatures: true
|
|
75
|
-
* })
|
|
76
|
-
* });
|
|
77
37
|
*/
|
|
78
38
|
export declare class ArcgisFeatures extends LitElement {
|
|
79
|
-
view?: __esri.MapView | __esri.SceneView;
|
|
80
|
-
referenceElement?: ArcgisReferenceElement | string;
|
|
81
39
|
/**
|
|
82
|
-
*
|
|
83
|
-
*
|
|
40
|
+
* [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 toggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) objects displayed in the action bar.
|
|
41
|
+
* Each action may be executed by clicking the icon or image symbolizing them.
|
|
42
|
+
* By default, every component has a `Zoom To` action styled with a magnifying glass icon.
|
|
43
|
+
* When this icon is clicked, the map zooms in four LODs and centers on the selected feature.
|
|
44
|
+
* This default action can be removed by setting [`includeDefaultActions`](#includedefaultactions) to `false`, or by setting the [overwriteActions](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#overwriteActions) property to `true` in the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
45
|
+
* 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).
|
|
46
|
+
* The [`arcgisTriggerAction`](#arcgistriggeraction) event fires each time an action is clicked.
|
|
47
|
+
* 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) class.
|
|
84
48
|
*
|
|
85
|
-
* @see [
|
|
49
|
+
* @see [arcgisTriggerAction](#arcgistriggeraction)
|
|
50
|
+
* @example
|
|
51
|
+
* ```js
|
|
52
|
+
* // Defines an action button to zoom out from the selected feature
|
|
53
|
+
* const zoomOutAction = {
|
|
54
|
+
* type: "button",
|
|
55
|
+
* // This text is displayed as a tooltip
|
|
56
|
+
* title: "Zoom out",
|
|
57
|
+
* // The ID by which to reference the action in the event handler
|
|
58
|
+
* id: "zoom-out",
|
|
59
|
+
* // Sets the icon used to style the action button
|
|
60
|
+
* icon: "magnifying-glass-minus"
|
|
61
|
+
* };
|
|
62
|
+
* // Adds the custom action to the Features component's actions collection.
|
|
63
|
+
* featuresComponent.actions.push(zoomOutAction);
|
|
64
|
+
* ```
|
|
86
65
|
*/
|
|
87
|
-
|
|
66
|
+
actions: Collection<__esri.ActionButton | __esri.ActionToggle>;
|
|
88
67
|
/**
|
|
89
|
-
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/api-reference/esri-
|
|
68
|
+
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#waitingForResult) for results.
|
|
90
69
|
*
|
|
91
|
-
* @since 4.30
|
|
92
70
|
* @default false
|
|
93
71
|
*/
|
|
94
72
|
readonly active: boolean;
|
|
95
73
|
/**
|
|
96
|
-
*
|
|
74
|
+
* If true, the component will not be destroyed automatically when it is
|
|
75
|
+
* disconnected from the document. This is useful when you want to move the
|
|
76
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
77
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/#destroy) method when you are done to
|
|
78
|
+
* prevent memory leaks.
|
|
79
|
+
*
|
|
80
|
+
* @default false
|
|
81
|
+
*/
|
|
82
|
+
autoDestroyDisabled: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Indicates whether the component displays its content. If `true`, only the header displays.
|
|
85
|
+
* This property is only honored if [`showCollapsed`](#showcollapsed) is `true`.
|
|
97
86
|
*
|
|
98
87
|
* @default false
|
|
99
88
|
*/
|
|
100
89
|
collapsed: boolean;
|
|
101
90
|
/**
|
|
102
|
-
* The content of the Features component. When set directly on the
|
|
91
|
+
* The content of the Features component. When set directly on the component, this content is
|
|
103
92
|
* static and cannot use fields to set content templates. To set a template
|
|
104
93
|
* for the content based on field or attribute names, see
|
|
105
94
|
* [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content).
|
|
106
95
|
*
|
|
107
96
|
* @noautocast
|
|
108
97
|
* @example
|
|
98
|
+
* ```js
|
|
109
99
|
* // This sets generic instructions in the component that will always be displayed
|
|
110
|
-
* // unless it is overridden by a PopupTemplate
|
|
100
|
+
* // unless it is overridden by a PopupTemplate.
|
|
111
101
|
* featuresComponent.content = "Click a feature on the map to view its attributes";
|
|
102
|
+
* ```
|
|
112
103
|
*/
|
|
113
104
|
content: string | HTMLElement | nullish | __esri.Widget;
|
|
114
105
|
/**
|
|
115
|
-
* This property enables
|
|
116
|
-
*
|
|
117
|
-
* [
|
|
106
|
+
* This property enables multiple features in the component to display in a list rather than displaying the first selected feature.
|
|
107
|
+
* Setting this to `true` allows the user to scroll through the list of features.
|
|
108
|
+
* This value will only be honored if [`initialDisplayMode`](#initialdisplaymode) is set to "feature".
|
|
118
109
|
*
|
|
119
110
|
* @default false
|
|
120
111
|
*/
|
|
121
112
|
featureMenuOpen: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* The title to display on the widget while viewing the feature menu.
|
|
124
|
-
*
|
|
125
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#featureMenuTitle)
|
|
126
|
-
*/
|
|
113
|
+
/** Sets the title to display on the component while viewing the feature menu. */
|
|
127
114
|
featureMenuTitle: string | nullish;
|
|
128
115
|
/**
|
|
129
116
|
* Indicates whether the feature navigation arrows are displayed at the top of the component.
|
|
130
117
|
* By default, the navigation arrows are displayed at the bottom of the component.
|
|
131
118
|
*
|
|
132
|
-
* @since 4.32
|
|
133
119
|
* @default false
|
|
134
120
|
*/
|
|
135
121
|
featureNavigationTop: boolean;
|
|
@@ -138,17 +124,18 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
138
124
|
* have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) set. They may share the same
|
|
139
125
|
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) or have unique
|
|
140
126
|
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) depending on their attributes.
|
|
141
|
-
* The [content](#content) and [
|
|
127
|
+
* The [content](#content) and [heading](#heading)
|
|
142
128
|
* of the component is set based on the `content` and `title` properties of each graphic's respective
|
|
143
129
|
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
144
130
|
*
|
|
145
131
|
* When more than one graphic exists in this array, the current content of the
|
|
146
|
-
*
|
|
132
|
+
* component is set based on the value of the [selected feature](#selectedfeature).
|
|
147
133
|
*
|
|
148
134
|
* This value is `null` if no features are associated with the component.
|
|
149
135
|
*
|
|
150
136
|
* @noautocast
|
|
151
137
|
* @example
|
|
138
|
+
* ```js
|
|
152
139
|
* // When setting the features property, the graphics pushed to this property
|
|
153
140
|
* // must have a PopupTemplate set.
|
|
154
141
|
* let g1 = new Graphic();
|
|
@@ -160,94 +147,38 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
160
147
|
* // the component will be set depending on the PopupTemplate of the graphics.
|
|
161
148
|
* // Each graphic may share the same PopupTemplate or have a unique PopupTemplate
|
|
162
149
|
* let graphics = [g1, g2, g3, g4, g5];
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
* features: graphics
|
|
166
|
-
* visible: true
|
|
167
|
-
* });
|
|
150
|
+
* featuresComponent.features = graphics;
|
|
151
|
+
* ```
|
|
168
152
|
*/
|
|
169
153
|
features: __esri.Graphic[];
|
|
170
154
|
/**
|
|
171
|
-
* The
|
|
172
|
-
*
|
|
173
|
-
* @autocast { typedCollection: true }
|
|
174
|
-
* @since 4.32
|
|
175
|
-
*/
|
|
176
|
-
headerActions: Collection<Action>;
|
|
177
|
-
/**
|
|
178
|
-
* Indicates the heading level to use for the [title](#title) of the component.
|
|
179
|
-
* By default, the title is rendered
|
|
180
|
-
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
181
|
-
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
182
|
-
* important for meeting accessibility standards.
|
|
183
|
-
*
|
|
184
|
-
* @default 2
|
|
185
|
-
*/
|
|
186
|
-
headingLevel: HeadingLevel;
|
|
187
|
-
/**
|
|
188
|
-
* Indicates whether to initially display a list of features, or the content for one feature.
|
|
155
|
+
* The number of features to fetch at one time.
|
|
189
156
|
*
|
|
190
|
-
* @
|
|
191
|
-
* @default "feature"
|
|
157
|
+
* @default 20
|
|
192
158
|
*/
|
|
193
|
-
|
|
159
|
+
featuresPerPage: number;
|
|
160
|
+
/** Defines the specific [abilities](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature-FeatureViewModel.html#Abilities) that can be used when querying and displaying content. */
|
|
161
|
+
featureViewModelAbilities: nullish | __esri.Abilities;
|
|
194
162
|
/**
|
|
195
|
-
*
|
|
163
|
+
* This function provides the ability to override either the [arcgis-map.goTo](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#goTo) or [arcgis-scene.goTo](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#goTo) methods.
|
|
196
164
|
*
|
|
197
|
-
* Alternatively, the [view](#view) property can be used to provide the map instance for this property.
|
|
198
|
-
*
|
|
199
|
-
* @noautocast
|
|
200
|
-
* @since 4.30
|
|
201
|
-
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
202
|
-
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
203
165
|
* @example
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
166
|
+
* ```js
|
|
167
|
+
* features.goToOverride = (map, goToParams)=> {
|
|
168
|
+
* goToParams.options = {
|
|
169
|
+
* duration: updatedDuration
|
|
170
|
+
* };
|
|
171
|
+
* return map.goTo(goToParams.target, goToParams.options);
|
|
172
|
+
* };
|
|
173
|
+
* ```
|
|
207
174
|
*/
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
211
|
-
* no pending promises, the value is `null`. When the pending promises are
|
|
212
|
-
* resolved they are removed from this array and the features they return
|
|
213
|
-
* are pushed into the [features](#features) array.
|
|
214
|
-
*/
|
|
215
|
-
promises: Promise<__esri.Graphic[]>[];
|
|
216
|
-
/**
|
|
217
|
-
* The selected feature accessed by the Features component. The content displayed in the component is
|
|
218
|
-
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to this feature.
|
|
219
|
-
*/
|
|
220
|
-
readonly selectedFeature: nullish | __esri.Graphic;
|
|
221
|
-
/**
|
|
222
|
-
* The feature that the component has drilled into.
|
|
223
|
-
* 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).
|
|
224
|
-
*
|
|
225
|
-
* @since 4.32
|
|
226
|
-
*/
|
|
227
|
-
get selectedDrillInFeature(): __esri.Graphic | nil;
|
|
228
|
-
/**
|
|
229
|
-
* Index of the feature that is [selected](#selectedFeature). When [features](#features) are set,
|
|
230
|
-
* the first index is automatically selected.
|
|
231
|
-
*/
|
|
232
|
-
selectedFeatureIndex: number;
|
|
233
|
-
/**
|
|
234
|
-
* Returns a reference to the current [Feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-components-Feature.html).
|
|
235
|
-
* This is useful if needing to get a reference to the Feature component in order to make any changes to it.
|
|
236
|
-
*/
|
|
237
|
-
get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
|
|
175
|
+
goToOverride: nullish | __esri.GoToOverride;
|
|
238
176
|
/**
|
|
239
|
-
* The
|
|
240
|
-
* This property should be set if the Features component executes Arcade expressions that contain [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/).
|
|
241
|
-
*
|
|
242
|
-
* Alternatively, the [view](#view) property can be used to provide the spatial reference instance for this property.
|
|
177
|
+
* The actions that are displayed in the header of the component.
|
|
243
178
|
*
|
|
244
|
-
* @autocast
|
|
245
|
-
* @since 4.30
|
|
246
|
-
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
247
|
-
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
248
|
-
* @default null
|
|
179
|
+
* @autocast { typedCollection: true }
|
|
249
180
|
*/
|
|
250
|
-
|
|
181
|
+
headerActions: Collection<Action>;
|
|
251
182
|
/**
|
|
252
183
|
* The title of the Features component. This can be set to any string value no
|
|
253
184
|
* matter the features that are selected. If the [selected feature](#selectedFeature)
|
|
@@ -256,136 +187,171 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
256
187
|
*
|
|
257
188
|
* @see [headingLevel](#headingLevel)
|
|
258
189
|
* @example
|
|
190
|
+
* ```js
|
|
259
191
|
* // This title will display in the component unless a selected feature's
|
|
260
192
|
* // PopupTemplate overrides it.
|
|
261
193
|
* featuresComponent.title = "Population by zip codes in Southern California";
|
|
194
|
+
* ```
|
|
262
195
|
*/
|
|
263
196
|
heading: string | nullish;
|
|
264
197
|
/**
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* Value | Description |
|
|
272
|
-
* ----- | ----------- |
|
|
273
|
-
* system | Dates and times will be displayed in the timezone of the device or browser.
|
|
274
|
-
* unknown | Dates and time are not adjusted for any timezone.
|
|
275
|
-
* Specified IANA timezone | Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
198
|
+
* Indicates the heading level to use for the [title](#title) of the component.
|
|
199
|
+
* By default, the title is rendered
|
|
200
|
+
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
201
|
+
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
202
|
+
* important for meeting accessibility standards.
|
|
276
203
|
*
|
|
277
|
-
* @
|
|
204
|
+
* @default 2
|
|
278
205
|
*/
|
|
279
|
-
|
|
206
|
+
headingLevel: HeadingLevel;
|
|
280
207
|
/**
|
|
281
|
-
*
|
|
208
|
+
* Indicates whether to hide the action bar that holds the feature's [actions](#actions).
|
|
282
209
|
*
|
|
283
210
|
* @default false
|
|
284
211
|
*/
|
|
285
212
|
hideActionBar: boolean;
|
|
286
213
|
/**
|
|
287
|
-
*
|
|
214
|
+
* Indicates whether to hide the close button in the component.
|
|
288
215
|
*
|
|
289
216
|
* @default false
|
|
290
217
|
*/
|
|
291
218
|
hideCloseButton: boolean;
|
|
292
219
|
/**
|
|
293
|
-
*
|
|
220
|
+
* Indicates whether to show the collapse button in the component.
|
|
294
221
|
*
|
|
295
222
|
* @default false
|
|
296
223
|
*/
|
|
297
224
|
showCollapseButton: boolean;
|
|
298
225
|
/**
|
|
299
|
-
*
|
|
226
|
+
* Indicates whether to hide the feature menu heading and description in the component's feature menu list.
|
|
300
227
|
*
|
|
301
228
|
* @default false
|
|
302
229
|
*/
|
|
303
230
|
hideFeatureMenuHeading: boolean;
|
|
304
231
|
/**
|
|
305
|
-
*
|
|
232
|
+
* Indicates whether to hide the feature pagination in the component.
|
|
233
|
+
* This allows the user to scroll through various [selected features](#features) using pagination arrows.
|
|
306
234
|
*
|
|
307
235
|
* @default false
|
|
308
236
|
*/
|
|
309
237
|
hideFeatureNavigation: boolean;
|
|
310
238
|
/**
|
|
311
|
-
*
|
|
239
|
+
* Indicates whether to hide the group heading for a list of multiple features.
|
|
312
240
|
*
|
|
313
241
|
* @default false
|
|
314
242
|
*/
|
|
315
243
|
hideFeatureListLayerTitle: boolean;
|
|
316
244
|
/**
|
|
317
|
-
*
|
|
245
|
+
* Determines whether the component should be shown within its built-in [flow component](https://developers.arcgis.com/calcite-design-system/components/flow/) or if the flow component should be excluded.
|
|
246
|
+
* The component will be displayed within its original flow component if set to `false`.
|
|
247
|
+
* The flow component will be omitted from the widget if set to `true`.
|
|
248
|
+
* To place the component into an existing Calcite flow component, set this property to `false`.
|
|
318
249
|
*
|
|
319
250
|
* @default false
|
|
320
251
|
*/
|
|
321
252
|
hideFlow: boolean;
|
|
322
253
|
/**
|
|
323
|
-
*
|
|
254
|
+
* Indicates whether to hide the component's [heading](#heading).
|
|
324
255
|
*
|
|
325
256
|
* @default false
|
|
326
257
|
*/
|
|
327
258
|
hideHeading: boolean;
|
|
328
259
|
/**
|
|
329
|
-
*
|
|
260
|
+
* Indicates whether to hide the component's loading spinner.
|
|
330
261
|
*
|
|
331
262
|
* @default false
|
|
332
263
|
*/
|
|
333
264
|
hideSpinner: boolean;
|
|
334
265
|
/**
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
338
|
-
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/#destroy) method when you are done to
|
|
339
|
-
* prevent memory leaks.
|
|
266
|
+
* Icon which represents the component.
|
|
267
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
340
268
|
*
|
|
341
|
-
* @
|
|
269
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
342
270
|
*/
|
|
343
|
-
|
|
271
|
+
icon?: string;
|
|
344
272
|
/**
|
|
345
|
-
*
|
|
273
|
+
* Indicates whether to include the [defaultActions](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#includeDefaultActions) in the component.
|
|
346
274
|
*
|
|
347
|
-
*
|
|
275
|
+
* @default true
|
|
348
276
|
*/
|
|
349
|
-
|
|
277
|
+
includeDefaultActions: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* Indicates whether to initially display a list of features, or the content for one feature.
|
|
280
|
+
*
|
|
281
|
+
* @default "feature"
|
|
282
|
+
*/
|
|
283
|
+
initialDisplayMode: "list" | "feature";
|
|
350
284
|
/** The component's default label. */
|
|
351
285
|
label?: string;
|
|
352
286
|
/**
|
|
353
|
-
* [
|
|
287
|
+
* A map is required when the input [features](#features) have a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-ExpressionInfo.html) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
288
|
+
*
|
|
289
|
+
* Alternatively, the [view](#view) property can be used to provide the map instance for this property.
|
|
354
290
|
*
|
|
355
|
-
*
|
|
291
|
+
* @noautocast
|
|
292
|
+
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
293
|
+
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
294
|
+
* @example
|
|
295
|
+
* ```js
|
|
296
|
+
* // The building footprints represent the buildings that intersect a clicked parcel
|
|
297
|
+
* let buildingFootprints = Intersects($feature, FeatureSetByName($map, "Building Footprints"));
|
|
298
|
+
* ```
|
|
299
|
+
* @default null
|
|
356
300
|
*/
|
|
357
|
-
|
|
301
|
+
map: __esri.Map | nullish;
|
|
358
302
|
/**
|
|
359
|
-
*
|
|
303
|
+
* Replace localized message strings with your own strings.
|
|
360
304
|
*
|
|
361
|
-
*
|
|
305
|
+
* _**Note**: Individual message keys may change between releases._
|
|
362
306
|
*/
|
|
363
|
-
|
|
307
|
+
messageOverrides?: typeof this.messages._overrides;
|
|
308
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
364
309
|
position?: __esri.UIPosition;
|
|
365
310
|
/**
|
|
366
|
-
*
|
|
367
|
-
*
|
|
368
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#featuresPerPage)
|
|
311
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
369
312
|
*
|
|
370
|
-
* @
|
|
313
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
371
314
|
*/
|
|
372
|
-
|
|
315
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
373
316
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#goToOverride)
|
|
317
|
+
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
318
|
+
* no pending promises, the value is `null`. When the pending promises are
|
|
319
|
+
* resolved they are removed from this array and the features they return
|
|
320
|
+
* are pushed into the [features](#features) array.
|
|
379
321
|
*/
|
|
380
|
-
|
|
322
|
+
promises: Promise<__esri.Graphic[]>[];
|
|
323
|
+
/**
|
|
324
|
+
* The feature that the component has drilled into.
|
|
325
|
+
* 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 network](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html) element.
|
|
326
|
+
*/
|
|
327
|
+
get selectedDrillInFeature(): __esri.Graphic | nil;
|
|
381
328
|
/**
|
|
382
|
-
*
|
|
329
|
+
* The selected feature accessed by the Features component. The content displayed in the component is
|
|
330
|
+
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to this feature.
|
|
331
|
+
*/
|
|
332
|
+
readonly selectedFeature: nullish | __esri.Graphic;
|
|
333
|
+
/**
|
|
334
|
+
* Returns a reference to the current [ArcgisFeature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) component.
|
|
335
|
+
* This is useful if needing to get a reference to the Feature component in order to make any changes to it.
|
|
336
|
+
*/
|
|
337
|
+
get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
|
|
338
|
+
/**
|
|
339
|
+
* Index of the feature that is [selected](#selectedFeature). When [features](#features) are set,
|
|
340
|
+
* the first index is automatically selected.
|
|
341
|
+
*/
|
|
342
|
+
selectedFeatureIndex: number;
|
|
343
|
+
/**
|
|
344
|
+
* The spatial reference used for [Arcade](https://developers.arcgis.com/arcade) operations.
|
|
345
|
+
* This property should be set if the Features component executes Arcade expressions that contain [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/).
|
|
383
346
|
*
|
|
384
|
-
* [
|
|
347
|
+
* Alternatively, the [view](#view) property can be used to provide the spatial reference instance for this property.
|
|
385
348
|
*
|
|
386
|
-
* @
|
|
349
|
+
* @autocast
|
|
350
|
+
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
351
|
+
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
352
|
+
* @default null
|
|
387
353
|
*/
|
|
388
|
-
|
|
354
|
+
spatialReference: nullish | __esri.SpatialReference;
|
|
389
355
|
/**
|
|
390
356
|
* The view model's state.
|
|
391
357
|
*
|
|
@@ -395,16 +361,36 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
395
361
|
*/
|
|
396
362
|
readonly state: "ready" | "disabled";
|
|
397
363
|
/**
|
|
398
|
-
*
|
|
399
|
-
* [
|
|
364
|
+
* Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
|
|
365
|
+
* inherited from [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#timeZone) if the [view](#view) property is set. When a MapView is not associated with the component
|
|
366
|
+
* then the property will fallback to the `system` time zone.
|
|
367
|
+
*
|
|
368
|
+
* **Possible Values**
|
|
369
|
+
*
|
|
370
|
+
* Value | Description |
|
|
371
|
+
* ----- | ----------- |
|
|
372
|
+
* system | Dates and times will be displayed in the timezone of the device or browser.
|
|
373
|
+
* unknown | Dates and time are not adjusted for any timezone.
|
|
374
|
+
* Specified IANA timezone | Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
400
375
|
*/
|
|
401
|
-
|
|
376
|
+
timeZone: string;
|
|
402
377
|
/**
|
|
403
|
-
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
406
|
-
*
|
|
378
|
+
* A reference to the [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
379
|
+
* The Features component requires a `view` to be set if:
|
|
380
|
+
* - The [features](#features) have a popupTemplate containing Arcade expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-ExpressionInfo.html) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html) that may use [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) or reference the `$map` profile variable (i.e. access data from layers within a map). Alternatively, set the [`map`](#map) property.
|
|
381
|
+
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html) or [bin](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html)).
|
|
382
|
+
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#timeZone).
|
|
383
|
+
* Alternatively, set the [`timeZone`](#timeZone) property.
|
|
384
|
+
* - Using the [fetchFeatures](#fetchFeatures) method or the `fetchFeatures` option in the [`open`](#open) method.
|
|
385
|
+
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActions](#includeDefaultActions) property to `false` to remove this default action.
|
|
386
|
+
*/
|
|
387
|
+
view?: __esri.MapView | __esri.SceneView;
|
|
388
|
+
/**
|
|
389
|
+
* Removes [promises](#promises), [features](#features), [content](#content), and
|
|
390
|
+
* [heading](#heading) from the Features component.
|
|
407
391
|
*/
|
|
392
|
+
clear(): Promise<void>;
|
|
393
|
+
/** This is a convenience method to closes the component. */
|
|
408
394
|
close(): Promise<void>;
|
|
409
395
|
/** Permanently destroy the component. */
|
|
410
396
|
destroy(): Promise<void>;
|
|
@@ -416,8 +402,9 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
416
402
|
* control how the input location is handled.
|
|
417
403
|
*
|
|
418
404
|
* @example
|
|
419
|
-
*
|
|
420
|
-
* reactiveUtils
|
|
405
|
+
* ```js
|
|
406
|
+
* // Use reactiveUtils to watch the map's click event.
|
|
407
|
+
* reactiveUtils.on(() => map, "arcgisViewClick",
|
|
421
408
|
* (event) => {
|
|
422
409
|
* // Call fetchFeatures and pass in the click event screenPoint
|
|
423
410
|
* featuresComponent.fetchFeatures(event.screenPoint).then((response) => {
|
|
@@ -429,52 +416,47 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
429
416
|
* featuresComponent.visible = false;
|
|
430
417
|
* }
|
|
431
418
|
* // If graphics do exist, set the Features component features property to the returned
|
|
432
|
-
* // graphics from fetchFeatures
|
|
419
|
+
* // graphics from fetchFeatures.
|
|
433
420
|
* else{
|
|
434
421
|
* featuresComponent.features = graphics;
|
|
435
|
-
* featuresComponent.visible = true;
|
|
436
422
|
* }
|
|
437
423
|
* });
|
|
438
424
|
* });
|
|
425
|
+
* ```
|
|
439
426
|
*/
|
|
440
427
|
fetchFeatures(screenPoint: __esri.ScreenPoint, options?: __esri.FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>;
|
|
441
428
|
/**
|
|
442
|
-
*
|
|
429
|
+
* Opens the Features component with content defined either explicitly with `content`
|
|
430
|
+
* or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features.
|
|
443
431
|
*
|
|
444
|
-
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
445
|
-
*/
|
|
446
|
-
next(): Promise<FeaturesViewModel>;
|
|
447
|
-
/**
|
|
448
|
-
* Opens the Features component in its [container](#container) with content defined either explicitly with `content`
|
|
449
|
-
* or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features. This method sets
|
|
450
|
-
* the Feature component's [visible](#visible) property to `true`. Users can alternatively show the Features component
|
|
451
|
-
* by directly setting the [visible](#visible) property to `true`.
|
|
452
|
-
*
|
|
453
|
-
* @see [Sample - Features component](../sample-code/components-features/)
|
|
454
|
-
* @see [Features.visible](#visible)
|
|
455
432
|
* @example
|
|
456
|
-
*
|
|
457
|
-
* reactiveUtils
|
|
458
|
-
* (event) => {
|
|
433
|
+
* ```js
|
|
434
|
+
* // Use reactiveUtils to watch the map component's click event.
|
|
435
|
+
* reactiveUtils.on(() => viewElement, "arcgisViewClick", (event) => {
|
|
436
|
+
* const { mapPoint } = event.detail;
|
|
459
437
|
* featuresComponent.open({
|
|
460
438
|
* // Title and content displayed in the component
|
|
461
|
-
* title: `Click location: (${
|
|
439
|
+
* title: `Click location: (${mapPoint.x},${mapPoint.y})`,
|
|
462
440
|
* content: "This is the default content displayed on click."
|
|
463
441
|
* });
|
|
464
442
|
* });
|
|
443
|
+
* ```
|
|
465
444
|
* @example
|
|
466
|
-
*
|
|
445
|
+
* ```js
|
|
446
|
+
* // The Features component must have a reference element set on the component along with the
|
|
467
447
|
* // location property to fetch features.
|
|
468
|
-
* // Use reactiveUtils to watch the
|
|
469
|
-
* reactiveUtils.on(() =>
|
|
470
|
-
*
|
|
448
|
+
* // Use reactiveUtils to watch the map component's click event.
|
|
449
|
+
* reactiveUtils.on(() => viewElement, "arcgisViewClick", (event) => {
|
|
450
|
+
* const { mapPoint } = event.detail;
|
|
471
451
|
* featuresComponent.open({
|
|
472
|
-
* location:
|
|
452
|
+
* location: mapPoint,
|
|
473
453
|
* // Display the content for the selected feature(s) if a popupTemplate is defined.
|
|
474
454
|
* fetchFeatures: true
|
|
475
455
|
* });
|
|
476
456
|
* });
|
|
457
|
+
* ```
|
|
477
458
|
* @example
|
|
459
|
+
* ```js
|
|
478
460
|
* // Open the Features component with a specified array of graphics that already
|
|
479
461
|
* // have a PopupTemplate set and display the feature menu when it opens.
|
|
480
462
|
* featuresComponent.open({
|
|
@@ -483,10 +465,17 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
483
465
|
* // selected features initially display in a list
|
|
484
466
|
* featureMenuOpen: true
|
|
485
467
|
* });
|
|
468
|
+
* ```
|
|
486
469
|
*/
|
|
487
470
|
open(options?: __esri.FeaturesViewModelOpenOptions): Promise<void>;
|
|
488
471
|
/**
|
|
489
|
-
* Selects the feature at the
|
|
472
|
+
* Selects the feature at the next index in relation to the [selected feature](#selectedFeature).
|
|
473
|
+
*
|
|
474
|
+
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
475
|
+
*/
|
|
476
|
+
next(): Promise<FeaturesViewModel>;
|
|
477
|
+
/**
|
|
478
|
+
* Selects the feature at the previous index in relation to the [selected feature](#selectedFeature).
|
|
490
479
|
*
|
|
491
480
|
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
492
481
|
*/
|
|
@@ -494,8 +483,8 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
494
483
|
/** Use this method to give focus to the Component if the component is able to be focused. */
|
|
495
484
|
setFocus(): Promise<void>;
|
|
496
485
|
/**
|
|
497
|
-
* Triggers the [
|
|
498
|
-
* at the specified index in the [actions](
|
|
486
|
+
* Triggers the [`arcgisTriggerAction`](#arcgistriggeraction) event and executes the action
|
|
487
|
+
* at the specified index in the [actions](#actions) array.
|
|
499
488
|
*/
|
|
500
489
|
triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
|
|
501
490
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -504,6 +493,50 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
504
493
|
}>;
|
|
505
494
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
506
495
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
496
|
+
/**
|
|
497
|
+
* Fires after the user clicks on an action in the Features component.
|
|
498
|
+
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
499
|
+
* See the example below for details of how this works.
|
|
500
|
+
*
|
|
501
|
+
* @see [actions](#actions)
|
|
502
|
+
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#actions)
|
|
503
|
+
* @see [Features.open()](#open)
|
|
504
|
+
* @example
|
|
505
|
+
* ```js
|
|
506
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
507
|
+
* const { mapPoint } = event.detail;
|
|
508
|
+
* featuresComponent.open({
|
|
509
|
+
* location: mapPoint,
|
|
510
|
+
* fetchFeatures: true,
|
|
511
|
+
* actions: [{
|
|
512
|
+
* // This text is displayed as a tooltip
|
|
513
|
+
* title: "Zoom out",
|
|
514
|
+
* // The ID used to reference this action in the event handler
|
|
515
|
+
* id: "zoom-out",
|
|
516
|
+
* // Sets the icon font used to style the action button
|
|
517
|
+
* icon: "magnifying-glass-minus"
|
|
518
|
+
* },
|
|
519
|
+
* {
|
|
520
|
+
* title: "Delete Feature",
|
|
521
|
+
* id: "delete-feature-action",
|
|
522
|
+
* icon: "trash"
|
|
523
|
+
* }]
|
|
524
|
+
* });
|
|
525
|
+
* });
|
|
526
|
+
*
|
|
527
|
+
* // Fires each time an action is clicked
|
|
528
|
+
* reactiveUtils.on(()=> featuresComponent, "arcgisTriggerAction", (event)=>{
|
|
529
|
+
* // If the zoom-out action is clicked, execute the following code
|
|
530
|
+
* if(event.detail.action.id === "zoom-out"){
|
|
531
|
+
* // Zoom out two levels (LODs)
|
|
532
|
+
* viewElement.goTo({
|
|
533
|
+
* center: viewElement.center,
|
|
534
|
+
* zoom: viewElement.zoom - 2
|
|
535
|
+
* });
|
|
536
|
+
* }
|
|
537
|
+
* });
|
|
538
|
+
* ```
|
|
539
|
+
*/
|
|
507
540
|
readonly arcgisTriggerAction: TargetedEvent<this, __esri.FeaturesViewModelTriggerActionEvent>;
|
|
508
541
|
private messages;
|
|
509
542
|
}
|