@arcgis/map-components 4.34.0-next.133 → 4.34.0-next.135
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/{LOL2IS6N.js → 24G4KXF4.js} +2 -2
- package/dist/cdn/{S5HHBRBG.js → 264NOLBX.js} +2 -2
- package/dist/cdn/{XFOMKQBM.js → 2A5SP3FY.js} +2 -2
- package/dist/cdn/{OPI2P667.js → 2BJON3MS.js} +2 -2
- package/dist/cdn/2NFD3DLX.js +4 -0
- package/dist/cdn/2WOVVHNS.js +4 -0
- package/dist/cdn/32GN4GF6.js +4 -0
- package/dist/cdn/3EWV2UDG.js +4 -0
- package/dist/cdn/3KBDOGHF.js +4 -0
- package/dist/cdn/3ZNR75MJ.js +4 -0
- package/dist/cdn/{3L66IRCG.js → 4CJ777MB.js} +2 -2
- package/dist/cdn/{OKTJ26YW.js → 4HX3NLQ5.js} +2 -2
- package/dist/cdn/{FTKUTQFI.js → 4OHWKEBH.js} +2 -2
- package/dist/cdn/{I7TF7AUF.js → 4QIHENSS.js} +2 -2
- package/dist/cdn/4QNNS53Y.js +4 -0
- package/dist/cdn/{EQLQJ6MB.js → 55RLV3XN.js} +2 -2
- package/dist/cdn/{SMPFHXUH.js → 57UAA5RQ.js} +2 -2
- package/dist/cdn/{46ETRS3K.js → 5AOHDKA5.js} +2 -2
- package/dist/cdn/{PYL7Z2W7.js → 5DSKIMHA.js} +2 -2
- package/dist/cdn/{GTXGX2VL.js → 5F6DTRLQ.js} +2 -2
- package/dist/cdn/{LKBBTZBH.js → 5KYPGW4S.js} +2 -2
- package/dist/cdn/5T5GV4GI.js +4 -0
- package/dist/cdn/5TU3LUBS.js +4 -0
- package/dist/cdn/64L5YHK2.js +4 -0
- package/dist/cdn/64PCOXHU.js +4 -0
- package/dist/cdn/{DPT27LMS.js → 66AU52N3.js} +2 -2
- package/dist/cdn/{PMI55QLI.js → 6PHRGCCS.js} +2 -2
- package/dist/cdn/6V5CIFPF.js +4 -0
- package/dist/cdn/{74SUH53T.js → 6W26HVIN.js} +2 -2
- package/dist/cdn/{ARSQ2M6R.js → 6ZCZBY2B.js} +2 -2
- package/dist/cdn/72YLQ2CB.js +4 -0
- package/dist/cdn/{YLRX44WW.js → 757V342B.js} +2 -2
- package/dist/cdn/{AJCOE4FW.js → 7G6CHYW5.js} +2 -2
- package/dist/cdn/{QREAX6T4.js → 7I3DAAV3.js} +2 -2
- package/dist/cdn/7ICOHWUX.js +4 -0
- package/dist/cdn/{WJMTBFOT.js → 7JOTCTMB.js} +2 -2
- package/dist/cdn/{BQDX5X62.js → 7NCUHQ4Q.js} +2 -2
- package/dist/cdn/7SH234WN.js +4 -0
- package/dist/cdn/{A3O3VXYT.js → 7SJJDINO.js} +2 -2
- package/dist/cdn/{SOAJC5OE.js → 7SYH3CBS.js} +2 -2
- package/dist/cdn/{HDL5KPOZ.js → 7YLHJUKW.js} +2 -2
- package/dist/cdn/A2Z2OVCJ.js +4 -0
- package/dist/cdn/A5XFBRR4.js +4 -0
- package/dist/cdn/AC4F7N6Z.js +4 -0
- package/dist/cdn/{TRHJKH4Y.js → AHSOTRYK.js} +2 -2
- package/dist/cdn/ANRWYRKZ.js +4 -0
- package/dist/cdn/{N2GGOJYR.js → BBHGEMM6.js} +2 -2
- package/dist/cdn/{SEP5SEJA.js → BERCN4WK.js} +2 -2
- package/dist/cdn/BHKKC7I3.js +4 -0
- package/dist/cdn/{QJRMFXTR.js → BZ64WIOC.js} +2 -2
- package/dist/cdn/{FKJ5GRT2.js → C2LLHWNX.js} +2 -2
- package/dist/cdn/{KVDMXAG7.js → C43Z7ZK5.js} +2 -2
- package/dist/cdn/{ZOYDWFG2.js → CAM63JR6.js} +2 -2
- package/dist/cdn/{CGI4SPUC.js → CGL53F3M.js} +2 -2
- package/dist/cdn/CUXZRRNQ.js +4 -0
- package/dist/cdn/{DHYV7QYP.js → D3J7GOCH.js} +2 -2
- package/dist/cdn/{IML6V74T.js → D4NWB6DX.js} +2 -2
- package/dist/cdn/D5KP4JLY.js +4 -0
- package/dist/cdn/{QI5R4SWT.js → D5NTDQ3O.js} +2 -2
- package/dist/cdn/{AIV3S2HK.js → D6T5ALXG.js} +2 -2
- package/dist/cdn/D7U2T34S.js +4 -0
- package/dist/cdn/DBBSW6MT.js +4 -0
- package/dist/cdn/{4TADWPXC.js → DJE3X6R7.js} +2 -2
- package/dist/cdn/{VRWIVXKN.js → DOKXCLLT.js} +2 -2
- package/dist/cdn/DYIIIKP4.js +4 -0
- package/dist/cdn/DZFFQGVC.js +4 -0
- package/dist/cdn/{NZXTSKAO.js → E3OCCK4M.js} +2 -2
- package/dist/cdn/EBZSGQYG.js +4 -0
- package/dist/cdn/{TJBW6LMV.js → EFDM7AQ5.js} +2 -2
- package/dist/cdn/EHI67J76.js +4 -0
- package/dist/cdn/EQMK75JU.js +4 -0
- package/dist/cdn/{SZRR3V4F.js → ETMOWVT6.js} +2 -2
- package/dist/cdn/{5YV2ME2C.js → EU36DQG5.js} +2 -2
- package/dist/cdn/{MJBYXK4R.js → F4RW4VP6.js} +2 -2
- package/dist/cdn/F4VZQC52.js +4 -0
- package/dist/cdn/{4XK46X44.js → F6W46JTS.js} +2 -2
- package/dist/cdn/FB67RDMQ.js +4 -0
- package/dist/cdn/{TNRTOBB7.js → FBO7P2RW.js} +2 -2
- package/dist/cdn/FL4MZSJR.js +4 -0
- package/dist/cdn/{OVLRLYZG.js → FMKKP2ZS.js} +2 -2
- package/dist/cdn/FNCZ3ZJK.js +4 -0
- package/dist/cdn/FWZXXV64.js +4 -0
- package/dist/cdn/{VYD63UBY.js → FYV3WPAV.js} +2 -2
- package/dist/cdn/{6FDOTFMC.js → G443PEPV.js} +2 -2
- package/dist/cdn/{BP5IKO2W.js → GEHNQE6L.js} +2 -2
- package/dist/cdn/{SZVINOSR.js → GIJMJVL3.js} +2 -2
- package/dist/cdn/{JYMNGGAN.js → GS5LA5GX.js} +1 -1
- package/dist/cdn/{KD6CNBIX.js → GUIKE26S.js} +2 -2
- package/dist/cdn/{H7OJ3ADS.js → HDV6ELSV.js} +2 -2
- package/dist/cdn/{QP5XD7EP.js → HGPEH3VF.js} +1 -1
- package/dist/cdn/HN4AT6JQ.js +4 -0
- package/dist/cdn/I2AB3ZHX.js +4 -0
- package/dist/cdn/{ZG2QLCVN.js → IEDCOT4Z.js} +2 -2
- package/dist/cdn/{2IJEHLYV.js → IJREQ7LE.js} +2 -2
- package/dist/cdn/{FOQSPMMT.js → ITGNHGFO.js} +2 -2
- package/dist/cdn/{CRDFDB4R.js → ITSAYHM7.js} +1 -1
- package/dist/cdn/{RRFBG5HD.js → IYHY5KI2.js} +2 -2
- package/dist/cdn/J4BW42ZE.js +4 -0
- package/dist/cdn/{JWTWQYMT.js → J7HG4ZH4.js} +2 -2
- package/dist/cdn/{5KY5FNP3.js → JNGGQPSW.js} +2 -2
- package/dist/cdn/{PPGQ7KJ2.js → JOUYINWG.js} +2 -2
- package/dist/cdn/{GDXUZGJL.js → JS4DD37B.js} +2 -2
- package/dist/cdn/{H4YVZYJF.js → K3DLY7YD.js} +2 -2
- package/dist/cdn/{KIUNSHU2.js → KHND5PEY.js} +2 -2
- package/dist/cdn/KIIHE4GM.js +4 -0
- package/dist/cdn/{O6VHOOAC.js → KJ7C22DL.js} +3 -3
- package/dist/cdn/KLOJICVI.js +4 -0
- package/dist/cdn/{M72S34GW.js → KTJ7BNX6.js} +2 -2
- package/dist/cdn/KUFO6RJ4.js +4 -0
- package/dist/cdn/{FC5KUYKW.js → KURHJODN.js} +2 -2
- package/dist/cdn/KWPHHM2X.js +4 -0
- package/dist/cdn/{LWK56WWB.js → KZNPXDP5.js} +2 -2
- package/dist/cdn/L3Y3BPRR.js +4 -0
- package/dist/cdn/{6MRAWRE5.js → L7GBHPKE.js} +2 -2
- package/dist/cdn/{BLO3PH63.js → L7QT7WG6.js} +1 -1
- package/dist/cdn/L7THQQXD.js +4 -0
- package/dist/cdn/{DZCXVCEA.js → LHSHAI3I.js} +1 -1
- package/dist/cdn/{DKVRCSPL.js → LI77S7L5.js} +1 -1
- package/dist/cdn/{QUVHG4VI.js → LUGCCBM4.js} +2 -2
- package/dist/cdn/{KD4F5NQR.js → LVFAANQ5.js} +1 -1
- package/dist/cdn/M5HPQTUP.js +4 -0
- package/dist/cdn/MLU4LLAN.js +4 -0
- package/dist/cdn/{FEQGF7DG.js → MN4TRI2D.js} +2 -2
- package/dist/cdn/{UPZIPW6L.js → MNXKIZHM.js} +2 -2
- package/dist/cdn/{ESQCPXNG.js → MPSSP4H3.js} +2 -2
- package/dist/cdn/{Y7TJKEQJ.js → MQAJ2B2M.js} +2 -2
- package/dist/cdn/{SRKZXRDQ.js → N7BVQ6RN.js} +2 -2
- package/dist/cdn/NHEID6C7.js +4 -0
- package/dist/cdn/{CEILZGTG.js → NRV6ZVQT.js} +2 -2
- package/dist/cdn/NUJBYA6R.js +4 -0
- package/dist/cdn/{PRRW75AG.js → NVUG33B6.js} +2 -2
- package/dist/cdn/{ZXKVHQCT.js → NZDV4UUN.js} +2 -2
- package/dist/cdn/{K54GN2OA.js → O4ZHDDL5.js} +2 -2
- package/dist/cdn/{EVZACT2Q.js → OLF4UO6H.js} +2 -2
- package/dist/cdn/{DXCCOUDT.js → ONFSDX3Z.js} +2 -2
- package/dist/cdn/{7TVV3P7P.js → ONL7EUL3.js} +2 -2
- package/dist/cdn/{454X6TWM.js → OOPLLTER.js} +2 -2
- package/dist/cdn/{5PLFYAP7.js → OQ5NKSMC.js} +2 -2
- package/dist/cdn/{XK44F75N.js → OT7W6BQB.js} +2 -2
- package/dist/cdn/OY54SPKL.js +4 -0
- package/dist/cdn/PC6DT567.js +4 -0
- package/dist/cdn/{GFTBGEHF.js → PD5IDQ7D.js} +2 -2
- package/dist/cdn/{2YY2TNL3.js → PHFF2DME.js} +2 -2
- package/dist/cdn/{XGJO7D77.js → PQBS7HYH.js} +2 -2
- package/dist/cdn/{YO5D24AF.js → PSREMJQR.js} +2 -2
- package/dist/cdn/{YXQM3OY4.js → PWLFY6B7.js} +2 -2
- package/dist/cdn/{GCD75UHB.js → PWM7DSFP.js} +2 -2
- package/dist/cdn/Q4DAYIDP.js +4 -0
- package/dist/cdn/{O4QZN6PX.js → QCLAADHB.js} +2 -2
- package/dist/cdn/{YZPYENRQ.js → QCWA3ZS3.js} +2 -2
- package/dist/cdn/{5XRDVKLQ.js → QKOQA623.js} +2 -2
- package/dist/cdn/{RAGSKOED.js → QRLTIUD2.js} +2 -2
- package/dist/cdn/QU6EUKD5.js +4 -0
- package/dist/cdn/{VNGPOITT.js → R5TXNP22.js} +2 -2
- package/dist/cdn/{KYUKYL7I.js → R7VUWD3S.js} +2 -2
- package/dist/cdn/{6RT63RR3.js → RDBBBBCG.js} +2 -2
- package/dist/cdn/{WP3NQCWY.js → RF5PSFKI.js} +2 -2
- package/dist/cdn/{7LHBDH44.js → RN43MDI3.js} +2 -2
- package/dist/cdn/{72VRO56J.js → RTHSQUH3.js} +2 -2
- package/dist/cdn/RVKWSYM4.js +4 -0
- package/dist/cdn/{U2LQNCA7.js → RZZJBZ74.js} +2 -2
- package/dist/cdn/{H2QBZPWQ.js → S2DXVBCK.js} +2 -2
- package/dist/cdn/{UPT6RSNI.js → S76VT3Z2.js} +2 -2
- package/dist/cdn/{V4YHBNOT.js → SFPNCIUP.js} +2 -2
- package/dist/cdn/SI7IEN5N.js +4 -0
- package/dist/cdn/SPVXZ5DW.js +4 -0
- package/dist/cdn/{YKICJUIU.js → SRFCJ4KP.js} +2 -2
- package/dist/cdn/STMFD7OE.js +4 -0
- package/dist/cdn/{73KR4UUG.js → STZLVHSH.js} +2 -2
- package/dist/cdn/{BFX2CXI3.js → SW4FXTYN.js} +2 -2
- package/dist/cdn/SZA23EJE.js +4 -0
- package/dist/cdn/T5UHCKZQ.js +4 -0
- package/dist/cdn/TGRHIFYX.js +4 -0
- package/dist/cdn/{5B6RPQW5.js → TH66C4YJ.js} +2 -2
- package/dist/cdn/{F5L564NB.js → TKGKESXY.js} +2 -2
- package/dist/cdn/TMVF2T6U.js +4 -0
- package/dist/cdn/{KG3A4QD7.js → TRSDIDJG.js} +2 -2
- package/dist/cdn/{KN6UIK2Q.js → TUVNY665.js} +1 -1
- package/dist/cdn/UOY7EBH4.js +4 -0
- package/dist/cdn/{FCGYD4F2.js → UPZMSWOV.js} +2 -2
- package/dist/cdn/{WWX6LKRR.js → USFXWQ7A.js} +2 -2
- package/dist/cdn/V22DWTVI.js +4 -0
- package/dist/cdn/{YZ4U4IWO.js → V4JZ434T.js} +1 -1
- package/dist/cdn/{PU6DA3OE.js → VFWDMDA4.js} +2 -2
- package/dist/cdn/VI4ZJU62.js +4 -0
- package/dist/cdn/{5LWU7TBO.js → VIYVJIVZ.js} +2 -2
- package/dist/cdn/VNNW3GJU.js +4 -0
- package/dist/cdn/W3B2PM2Z.js +4 -0
- package/dist/cdn/{ITYUH45Q.js → WMMA3Y5T.js} +2 -2
- package/dist/cdn/{Q3NEG6FB.js → WT7S4T2J.js} +2 -2
- package/dist/cdn/WVZWEUIS.js +4 -0
- package/dist/cdn/{IJ4OXERF.js → X2ZTYVSJ.js} +2 -2
- package/dist/cdn/{FD7TDTK7.js → XBKVHMXN.js} +2 -2
- package/dist/cdn/{GKMA7IAU.js → XKGVCJS7.js} +2 -2
- package/dist/cdn/{I7IE2OIU.js → XOQTZETE.js} +2 -2
- package/dist/cdn/{M7X6UEEV.js → XYKZOXXS.js} +2 -2
- package/dist/cdn/{5K6FVVGM.js → XZGYMLEG.js} +2 -2
- package/dist/cdn/{LETMD3L6.js → Y6Z6ESI6.js} +2 -2
- package/dist/cdn/{KYSXOKCO.js → YCVLRBJZ.js} +2 -2
- package/dist/cdn/{4QHSR24N.js → YHAVKIZ4.js} +2 -2
- package/dist/cdn/{35S344QP.js → YMENMSXM.js} +2 -2
- package/dist/cdn/{RR6GB7E5.js → YN3CIS3T.js} +2 -2
- package/dist/cdn/{CTQFFZJH.js → YODO4JMG.js} +2 -2
- package/dist/cdn/{KX4K5NCB.js → YPE3VKQ2.js} +2 -2
- package/dist/cdn/{7RKIIL6Q.js → YSDIKWKH.js} +2 -2
- package/dist/cdn/{OHQMB32N.js → Z2SKTWLG.js} +2 -2
- package/dist/cdn/{VPKP2LJT.js → ZCYRWXWO.js} +1 -1
- package/dist/cdn/{Z2IRJXHS.js → ZDPZJ6WF.js} +1 -1
- package/dist/cdn/{GNLXYSEG.js → ZEOFEXBN.js} +2 -2
- package/dist/cdn/ZHYT4QQD.js +4 -0
- package/dist/cdn/{LGC6RK6O.js → ZLTISH33.js} +1 -1
- package/dist/cdn/ZN5RNFDT.js +4 -0
- package/dist/cdn/ZPNSI43G.js +4 -0
- package/dist/cdn/{HZM7E55B.js → ZSDHEU3N.js} +2 -2
- package/dist/cdn/{6NQXSZ4F.js → ZU26UOHH.js} +2 -2
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/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 +45 -38
- 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/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +12 -12
- 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/screenLocation.js +1 -1
- package/dist/chunks/slots.js +8 -6
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/uiController.js +45 -0
- 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.d.ts +56 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +8 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +14 -14
- package/dist/components/arcgis-attachments/customElement.d.ts +70 -0
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +57 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -0
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +151 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +48 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +11 -11
- package/dist/components/arcgis-bookmarks/customElement.d.ts +256 -0
- package/dist/components/arcgis-bookmarks/customElement.js +13 -13
- package/dist/components/arcgis-building-explorer/customElement.d.ts +69 -0
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +52 -0
- package/dist/components/arcgis-compass/customElement.js +10 -10
- package/dist/components/arcgis-coordinate-conversion/css.d.ts +26 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +286 -40
- package/dist/components/arcgis-coordinate-conversion/customElement.js +319 -16
- package/dist/components/arcgis-coordinate-conversion/index.d.ts +7 -0
- package/dist/components/arcgis-coordinate-conversion/index.js +7 -0
- package/dist/components/arcgis-coordinate-conversion/interfaces.d.ts +20 -0
- package/dist/components/arcgis-daylight/animation.d.ts +7 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +125 -8
- package/dist/components/arcgis-daylight/customElement.js +392 -295
- package/dist/components/arcgis-daylight/daylight-time-slider.d.ts +2 -0
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +17 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +67 -0
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +91 -2
- package/dist/components/arcgis-directions/customElement.js +11 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +56 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +6 -6
- package/dist/components/arcgis-editor/customElement.d.ts +81 -0
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +101 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +3 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +141 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +3 -0
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +151 -0
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +303 -0
- package/dist/components/arcgis-feature/customElement.js +104 -62
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +76 -0
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-media/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +25 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +470 -2
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +497 -4
- package/dist/components/arcgis-features/customElement.js +15 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +60 -0
- package/dist/components/arcgis-floor-filter/customElement.js +4 -4
- package/dist/components/arcgis-fullscreen/customElement.d.ts +15 -0
- package/dist/components/arcgis-fullscreen/customElement.js +5 -5
- package/dist/components/arcgis-grid-controls/customElement.d.ts +179 -0
- package/dist/components/arcgis-grid-controls/customElement.js +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +102 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +86 -0
- package/dist/components/arcgis-home/customElement.js +7 -7
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +20 -0
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +144 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +22 -0
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +241 -0
- package/dist/components/arcgis-legend/customElement.js +11 -11
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +8 -8
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +2 -0
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +2 -0
- 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 -0
- 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 -0
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +7 -0
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +1 -0
- 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.d.ts +1 -0
- 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 -0
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +2 -0
- 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.d.ts +94 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +293 -1
- package/dist/components/arcgis-link-chart/customElement.js +29 -21
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +77 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +53 -0
- package/dist/components/arcgis-locate/customElement.js +13 -13
- package/dist/components/arcgis-map/customElement.d.ts +410 -0
- package/dist/components/arcgis-map/customElement.js +25 -17
- package/dist/components/arcgis-measurement/customElement.d.ts +61 -0
- package/dist/components/arcgis-measurement/customElement.js +6 -6
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +38 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +4 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +103 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +11 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/css.d.ts +1 -0
- package/dist/components/arcgis-popup/customElement.d.ts +569 -123
- package/dist/components/arcgis-popup/customElement.js +111 -112
- package/dist/components/arcgis-popup/interfaces.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +132 -0
- package/dist/components/arcgis-print/customElement.js +8 -8
- 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.d.ts +1 -0
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-result-feature-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +46 -0
- package/dist/components/arcgis-scale-bar/customElement.js +12 -12
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +83 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +8 -8
- package/dist/components/arcgis-scene/customElement.d.ts +689 -0
- package/dist/components/arcgis-scene/customElement.js +32 -24
- package/dist/components/arcgis-search/customElement.d.ts +274 -0
- package/dist/components/arcgis-search/customElement.js +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +11 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +16 -16
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +109 -0
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +151 -3
- package/dist/components/arcgis-sketch/customElement.js +12 -14
- package/dist/components/arcgis-slice/customElement.d.ts +148 -0
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-spinner/customElement.d.ts +3 -0
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +89 -0
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-table-list/customElement.js +5 -5
- package/dist/components/arcgis-time-slider/customElement.d.ts +108 -0
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +37 -0
- package/dist/components/arcgis-time-zone-label/customElement.js +7 -7
- package/dist/components/arcgis-track/customElement.d.ts +110 -0
- package/dist/components/arcgis-track/customElement.js +4 -4
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -0
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +162 -0
- package/dist/components/arcgis-utility-network-associations/customElement.js +5 -5
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +119 -0
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +30 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +41 -61
- package/dist/components/arcgis-utility-network-trace-analysis/index.d.ts +2 -5
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +2 -5
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +36 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +103 -0
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -0
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +45 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +85 -1
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +45 -0
- package/dist/components/arcgis-version-management/customElement.js +6 -6
- 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.d.ts +3 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +21 -0
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +56 -0
- 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 +55 -0
- package/dist/components/arcgis-weather/customElement.js +46 -46
- package/dist/components/arcgis-zoom/customElement.d.ts +47 -0
- package/dist/components/arcgis-zoom/customElement.js +10 -10
- package/dist/controllers/uiController.d.ts +21 -0
- package/dist/docs/api.json +1541 -539
- package/dist/docs/docs.json +1272 -470
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +212 -104
- package/dist/docs/web-types.json +562 -295
- package/dist/index.d.ts +21 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -8
- package/dist/support/earth-utils.d.ts +1 -2
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/measurementUtils.d.ts +1 -1
- package/dist/support/resources.d.ts +2 -0
- package/dist/support/slots.d.ts +2 -2
- package/dist/support/time-utils.d.ts +5 -1
- package/dist/types/lumina.d.ts +16 -7
- package/dist/types/preact.d.ts +81 -71
- package/dist/types/preact10.d.ts +756 -0
- package/dist/types/react.d.ts +18 -7
- package/dist/types/stencil.d.ts +16 -7
- package/dist/utils/math-utils.d.ts +6 -0
- package/dist/utils/signal-utils.d.ts +26 -0
- package/package.json +3 -3
- package/dist/cdn/27WMEF5S.js +0 -4
- package/dist/cdn/2VWA3OG6.js +0 -4
- package/dist/cdn/2W3TJFMA.js +0 -4
- package/dist/cdn/35RXSHVS.js +0 -4
- package/dist/cdn/35VOLBPZ.js +0 -4
- package/dist/cdn/4W3CFH6E.js +0 -4
- package/dist/cdn/4Y5GUCNJ.js +0 -4
- package/dist/cdn/6NZIJ433.js +0 -4
- package/dist/cdn/6XVYZVBO.js +0 -4
- package/dist/cdn/7KK2WCWD.js +0 -4
- package/dist/cdn/7S7BRL2R.js +0 -4
- package/dist/cdn/AFDQOEM2.js +0 -4
- package/dist/cdn/AX2KA2M6.js +0 -4
- package/dist/cdn/B3SUUTAF.js +0 -4
- package/dist/cdn/BC3RKC5I.js +0 -4
- package/dist/cdn/BOFZNXI7.js +0 -4
- package/dist/cdn/C4KSUDG6.js +0 -4
- package/dist/cdn/C6Z7X55M.js +0 -4
- package/dist/cdn/CC6NJOP5.js +0 -4
- package/dist/cdn/CER3LIOO.js +0 -4
- package/dist/cdn/CLCAUVIP.js +0 -4
- package/dist/cdn/DO6OZIXK.js +0 -4
- package/dist/cdn/DRTV25UV.js +0 -4
- package/dist/cdn/GXAGQIF7.js +0 -4
- package/dist/cdn/HJ7M6BW2.js +0 -4
- package/dist/cdn/HJJJLIV3.js +0 -4
- package/dist/cdn/HNNTLPL3.js +0 -4
- package/dist/cdn/HUF2RSHK.js +0 -4
- package/dist/cdn/IC55LEKW.js +0 -4
- package/dist/cdn/IDZMCIOS.js +0 -4
- package/dist/cdn/IXAGZ3RI.js +0 -4
- package/dist/cdn/JINI3JGE.js +0 -4
- package/dist/cdn/L7R3YPKP.js +0 -4
- package/dist/cdn/LC4VWZNC.js +0 -4
- package/dist/cdn/LKBS3726.js +0 -4
- package/dist/cdn/LWQXR2JI.js +0 -4
- package/dist/cdn/MV2H5AQC.js +0 -4
- package/dist/cdn/NKJONXTQ.js +0 -4
- package/dist/cdn/NOTSC5KN.js +0 -4
- package/dist/cdn/NW2XB2K6.js +0 -4
- package/dist/cdn/O4CVKIFA.js +0 -4
- package/dist/cdn/O6TE36QE.js +0 -4
- package/dist/cdn/PY2SF5ID.js +0 -4
- package/dist/cdn/QBYT6BW5.js +0 -4
- package/dist/cdn/QCPNRNPU.js +0 -4
- package/dist/cdn/QTQL5KV5.js +0 -4
- package/dist/cdn/QYAP7DBK.js +0 -4
- package/dist/cdn/R73NZWQJ.js +0 -4
- package/dist/cdn/R7B2MYES.js +0 -4
- package/dist/cdn/RAUV2KQ7.js +0 -4
- package/dist/cdn/RNFXIHDL.js +0 -4
- package/dist/cdn/RTDCXUDE.js +0 -4
- package/dist/cdn/SXHML6YB.js +0 -4
- package/dist/cdn/T7VH64WD.js +0 -4
- package/dist/cdn/TI3S4F6E.js +0 -4
- package/dist/cdn/TJP4VNIA.js +0 -4
- package/dist/cdn/TRSSX2OL.js +0 -4
- package/dist/cdn/UBKZ3TB5.js +0 -4
- package/dist/cdn/UUPK5JKU.js +0 -4
- package/dist/cdn/VSJMGGJE.js +0 -4
- package/dist/cdn/X24VUFUZ.js +0 -4
- package/dist/cdn/XTAVU3CZ.js +0 -4
- package/dist/cdn/Y4HMSIMF.js +0 -4
- package/dist/cdn/YAFQZDIF.js +0 -4
- package/dist/cdn/YOCFMRO4.js +0 -4
- package/dist/cdn/ZIILBGPX.js +0 -4
|
@@ -12,188 +12,634 @@ import { default as ActionButton } from '@arcgis/core/support/actions/ActionButt
|
|
|
12
12
|
declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<FeaturesViewModel>) => FeaturesViewModel;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* <a name="overview"></a>
|
|
16
|
-
*
|
|
17
15
|
* ## Overview
|
|
18
|
-
* The Popup
|
|
16
|
+
* The Popup component allows users to view content from feature attributes. Popups enhance web applications
|
|
19
17
|
* by providing users with a simple way to interact with and view attributes in a layer.
|
|
20
18
|
* They play an important role in relaying information to the user, which improves the storytelling capabilities of the application.
|
|
21
19
|
*
|
|
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
20
|
* ## Popup UI
|
|
93
|
-
*
|
|
94
|
-
* This popup can display generic content, which is set in its [
|
|
21
|
+
* The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) components contain a default popup.
|
|
22
|
+
* This popup can display generic content, which is set in its [heading](#heading)
|
|
95
23
|
* and [content](#content) properties.
|
|
96
24
|
* When content is set directly on the Popup instance it is not tied to a specific feature or layer.
|
|
97
25
|
*
|
|
98
|
-
* [](../sample-code/sandbox/?sample=intro-popup)
|
|
99
27
|
*
|
|
100
|
-
* In the image above, the text "Marriage in
|
|
101
|
-
*
|
|
102
|
-
* top right corner of the popup
|
|
28
|
+
* In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](#heading).
|
|
29
|
+
* The remaining text is the popup's [`content`](#content).
|
|
30
|
+
* A dock button is displayed in the top right corner of the popup allowing the user to dock the popup to one of the sides or corners of the view.
|
|
103
31
|
* The options for docking may be set in the [dockOptions](#dockOptions) property.
|
|
32
|
+
* The popup may also be collapsed by clicking the collapse button (the down arrow icon) in the top right corner of the popup.
|
|
33
|
+
* When collapsed, only the heading of the popup displays.
|
|
34
|
+
* The popup may be closed by clicking the close button (the "x" icon) in the top right corner of the popup.
|
|
104
35
|
*
|
|
105
|
-
* Popups can also contain [actions](#actions)
|
|
106
|
-
*
|
|
107
|
-
*
|
|
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.
|
|
36
|
+
* Popups can also contain [actions](#actions) which execute a function defined by the developer when clicked.
|
|
37
|
+
* By default, every popup has a "Zoom to" action (as shown in the image above with the magnifying glass) that allows users to zoom to the selected feature.
|
|
38
|
+
* See the [actions](#actions) property for information about adding custom actions to a popup.
|
|
114
39
|
*
|
|
115
|
-
*
|
|
40
|
+
* The Popup component is tied to a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) component, whether it's docked or anchored to the selected feature.
|
|
41
|
+
* If wanting to utilize the Popup functionality outside of [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/), the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/) component can be used to display the same content
|
|
42
|
+
* in its own container.
|
|
116
43
|
*
|
|
117
44
|
* ## Popup and PopupTemplate
|
|
118
|
-
* [
|
|
119
|
-
* and [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html).
|
|
45
|
+
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) are closely related to Popup, but are more specific to [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html)
|
|
46
|
+
* and [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html). Popup templates allow you to define custom titles and content templates based on the source of the
|
|
120
47
|
* [selected feature](#selectedFeature). When a layer or a graphic has a defined
|
|
121
|
-
*
|
|
122
|
-
*
|
|
48
|
+
* popup template, the popup will display the content defined in the popup template when the feature is clicked.
|
|
49
|
+
* The content may contain field values from the attributes of the [selected feature](#selectedFeature).
|
|
123
50
|
*
|
|
124
51
|
* 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.
|
|
126
|
-
* and how it relates to [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) see the samples listed below.
|
|
52
|
+
* [features](#features) property.
|
|
127
53
|
*
|
|
128
54
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/)
|
|
129
55
|
*
|
|
130
|
-
* @since 4.
|
|
56
|
+
* @since 4.34
|
|
57
|
+
* @beta
|
|
131
58
|
* @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
59
|
* @see [Guide - Esri Icon Font](../guide/esri-icon-font/index.html)
|
|
142
|
-
* @see module :esri/widgets/Popup/PopupViewModel
|
|
143
60
|
*/
|
|
144
61
|
export declare class ArcgisPopup extends LitElement {
|
|
145
|
-
|
|
62
|
+
/**
|
|
63
|
+
* A [collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html) of [action button](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.
|
|
64
|
+
* Each action may be executed by clicking the icon or image symbolizing them.
|
|
65
|
+
*
|
|
66
|
+
* By default, popups have a `Zoom To` action styled with a magnifying glass icon.
|
|
67
|
+
* When this icon is clicked, the view zooms in four LODs and centers on the selected feature.
|
|
68
|
+
* You may remove this default action by setting [includeDefaultActionsDisabled](#includeDefaultActionsDisabled) to `true`, or by setting the
|
|
69
|
+
* [`overwriteActions`](esri-PopupTemplate.html#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
70
|
+
*
|
|
71
|
+
* 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).
|
|
72
|
+
*
|
|
73
|
+
* The [arcgisTriggerAction](#arcgisTriggerAction) event fires each time an action is clicked.
|
|
74
|
+
*
|
|
75
|
+
* @autocast { "value": "Object[]", "typedCollection": true, "byTypeProperty": true }
|
|
76
|
+
* @see [arcgisTriggerAction](#arcgisTriggerAction)
|
|
77
|
+
* @see [Sample - Popup actions](../sample-code/popup-actions/index.html)
|
|
78
|
+
* @see [Sample - Custom popup actions per feature](../sample-code/popup-custom-action/index.html)
|
|
79
|
+
* @see [Sample - Popup with edit action](../sample-code/popup-editaction/index.html)
|
|
80
|
+
* @example
|
|
81
|
+
* ```js
|
|
82
|
+
* // Defines an action button to zoom out from the selected feature
|
|
83
|
+
* const zoomOutAction = {
|
|
84
|
+
* type: "button",
|
|
85
|
+
* // This text is displayed as a tooltip
|
|
86
|
+
* title: "Zoom out",
|
|
87
|
+
* // The ID by which to reference the action in the event handler
|
|
88
|
+
* id: "zoom-out",
|
|
89
|
+
* // Sets the icon used to style the action button
|
|
90
|
+
* icon: "magnifying-glass-minus"
|
|
91
|
+
* };
|
|
92
|
+
* // Adds the custom action to the popup.
|
|
93
|
+
* popupComponent.actions.push(zoomOutAction);
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
146
96
|
actions: __esri.Collection<ActionButton | __esri.ActionToggle>;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html#waitingForResult).
|
|
99
|
+
*
|
|
100
|
+
* @default false
|
|
101
|
+
*/
|
|
147
102
|
readonly active: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Position of the popup in relation to the selected feature. The default behavior
|
|
105
|
+
* is to display above the feature and adjust if not enough room. If needing
|
|
106
|
+
* to explicitly control where the popup displays in relation to the feature, choose
|
|
107
|
+
* an option besides `auto`.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```js
|
|
111
|
+
* // Popup will display on the bottom-right of the selected feature regardless of where that feature is located
|
|
112
|
+
* popupComponent.alignment = "bottom-right";
|
|
113
|
+
* ```
|
|
114
|
+
* @default "auto"
|
|
115
|
+
*/
|
|
148
116
|
alignment: Alignment;
|
|
117
|
+
/**
|
|
118
|
+
* 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.
|
|
119
|
+
*
|
|
120
|
+
* @default false
|
|
121
|
+
*/
|
|
149
122
|
autoCloseEnabled: boolean;
|
|
150
|
-
|
|
151
|
-
|
|
123
|
+
/**
|
|
124
|
+
* If true, the component will not be destroyed automatically when it is
|
|
125
|
+
* disconnected from the document. This is useful when you want to move the
|
|
126
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
127
|
+
* 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
|
|
128
|
+
* prevent memory leaks.
|
|
129
|
+
*
|
|
130
|
+
* @default false
|
|
131
|
+
*/
|
|
132
|
+
autoDestroyDisabled: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Indicates whether the popup displays its content. If `true`, only the header displays.
|
|
135
|
+
*
|
|
136
|
+
* @default false
|
|
137
|
+
*/
|
|
152
138
|
readonly collapsed: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* The content of the popup. When set directly on the Popup, this content is
|
|
141
|
+
* static and cannot use fields to set content templates. To set a template
|
|
142
|
+
* for the content based on field or attribute names, see
|
|
143
|
+
* [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content).
|
|
144
|
+
*
|
|
145
|
+
* @noautocast
|
|
146
|
+
* @see [Sample - Popup Docking](../sample-code/popup-docking-position/index.html)
|
|
147
|
+
* @see [Sample - Popup with DOM node](../sample-code/popup-domnode/index.html)
|
|
148
|
+
* @example
|
|
149
|
+
* ```js
|
|
150
|
+
* // This sets generic instructions in the popup that will always be displayed
|
|
151
|
+
* // unless it is overridden by a PopupTemplate
|
|
152
|
+
* popupComponent.content = "Click a feature on the map to view its attributes";
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
content: string | HTMLElement | nullish | __esri.Widget;
|
|
156
|
+
/** Dock position in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) component. */
|
|
153
157
|
get currentDockPosition(): nil | PopupPositionResult;
|
|
158
|
+
/**
|
|
159
|
+
* Enables automatic creation of a popup template for layers that have popups enabled but no
|
|
160
|
+
* popupTemplate defined. Automatic popup templates are supported for layers that
|
|
161
|
+
* support the `createPopupTemplate` method. (Supported for
|
|
162
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
163
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
164
|
+
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html),
|
|
165
|
+
* [SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
|
|
166
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
167
|
+
* [PointCloudLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-PointCloudLayer.html),
|
|
168
|
+
* [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html),
|
|
169
|
+
* [ImageryLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html), and
|
|
170
|
+
* [VoxelLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VoxelLayer.html)).
|
|
171
|
+
*
|
|
172
|
+
* **Note:**
|
|
173
|
+
* * 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
|
|
174
|
+
* wildcard, e.g. `*`. Instead, set the `defaultPopupTemplateEnabled` property to `true`.
|
|
175
|
+
* * Starting with 4.16, the default popup has been improved to no longer display system
|
|
176
|
+
* [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html)
|
|
177
|
+
* that do not hold significant value, e.g. `Shape__Area` and `Shape__Length` are two fields that
|
|
178
|
+
* no longer display.
|
|
179
|
+
* * 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)
|
|
180
|
+
* 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`.
|
|
181
|
+
* For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
|
|
182
|
+
*
|
|
183
|
+
* @default false
|
|
184
|
+
*/
|
|
185
|
+
defaultPopupTemplateEnabled: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Indicates whether the placement of the popup is docked to the side of the view.
|
|
188
|
+
*
|
|
189
|
+
* Docking the popup allows for a better user experience, particularly when opening
|
|
190
|
+
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
191
|
+
* longer points to the [selected feature](#selectedFeature) or the [location](#location)
|
|
192
|
+
* assigned to it. Rather it is attached to a side, the top, or the bottom of the view.
|
|
193
|
+
*
|
|
194
|
+
* See [dockOptions](#dockOptions) to override default options related to docking the popup.
|
|
195
|
+
*
|
|
196
|
+
* @see [Sample - Popup docking](../sample-code/popup-docking-position/index.html)
|
|
197
|
+
* @example
|
|
198
|
+
* ```html
|
|
199
|
+
* <!-- Setting this property in HTML -->
|
|
200
|
+
* <arcgis-popup dock-enabled></arcgis-popup>
|
|
201
|
+
* ```
|
|
202
|
+
* @example
|
|
203
|
+
* ```js
|
|
204
|
+
* // Setting this property using JS.
|
|
205
|
+
* // The popup will automatically be dockEnabled when made visible
|
|
206
|
+
* popupComponent.dockEnabled = true;
|
|
207
|
+
* ```
|
|
208
|
+
* @default false
|
|
209
|
+
*/
|
|
210
|
+
dockEnabled: boolean;
|
|
211
|
+
/**
|
|
212
|
+
* Docking the popup allows for a better user experience, particularly when opening
|
|
213
|
+
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
214
|
+
* longer points to the [selected feature](#selectedFeature) or the [location](#location)
|
|
215
|
+
* assigned to it. Rather it is placed in one of the corners of the view or to the top or bottom
|
|
216
|
+
* of it. This property allows the developer to set various options for docking the popup.
|
|
217
|
+
*
|
|
218
|
+
* See the object specification table below to override default docking properties on the popup.
|
|
219
|
+
*
|
|
220
|
+
* @see [Sample - Popup docking](../sample-code/popup-docking-position/index.html)
|
|
221
|
+
* @example
|
|
222
|
+
* ```js
|
|
223
|
+
* popupComponent.dockOptions = {
|
|
224
|
+
* // Disable the dock button so users cannot undock the popup
|
|
225
|
+
* buttonEnabled: false,
|
|
226
|
+
* // Dock the popup when the size of the view is less than or equal to 600x1000 pixels
|
|
227
|
+
* breakpoint: {
|
|
228
|
+
* width: 600,
|
|
229
|
+
* height: 1000
|
|
230
|
+
* }
|
|
231
|
+
* };
|
|
232
|
+
* ```
|
|
233
|
+
*/
|
|
154
234
|
get dockOptions(): DockOptions;
|
|
155
235
|
set dockOptions(dockOptions: DockOptions);
|
|
156
|
-
|
|
236
|
+
/**
|
|
237
|
+
* The number of selected [features](#features) available to the popup.
|
|
238
|
+
*
|
|
239
|
+
* @default 0
|
|
240
|
+
*/
|
|
157
241
|
readonly featureCount: number;
|
|
242
|
+
/**
|
|
243
|
+
* This property enables showing a list of features.
|
|
244
|
+
* Setting this to `true` allows the user to scroll through the list of features.
|
|
245
|
+
* This value will only be honored if [`initialDisplayMode`](#initialDisplayMode) is set to "feature".
|
|
246
|
+
*
|
|
247
|
+
* @default false
|
|
248
|
+
*/
|
|
158
249
|
featureMenuOpen: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* An array of features associated with the popup. Each graphic in this array must
|
|
252
|
+
* have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) set. They may share the same
|
|
253
|
+
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) or have unique
|
|
254
|
+
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) depending on their attributes.
|
|
255
|
+
* The [content](#content) and [title](#title)
|
|
256
|
+
* of the popup is set based on the `content` and `title` properties of each graphic's respective
|
|
257
|
+
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
258
|
+
*
|
|
259
|
+
* When more than one graphic exists in this array, the current content of the
|
|
260
|
+
* Popup is set based on the value of the [selected feature](#selectedFeature).
|
|
261
|
+
*
|
|
262
|
+
* This value is `null` if no features are associated with the popup.
|
|
263
|
+
*
|
|
264
|
+
* @noautocast
|
|
265
|
+
* @example
|
|
266
|
+
* ```js
|
|
267
|
+
* // When setting the features property, the graphics pushed to this property
|
|
268
|
+
* // must have a PopupTemplate set.
|
|
269
|
+
* let g1 = new Graphic();
|
|
270
|
+
* g1.popupTemplate = new PopupTemplate({
|
|
271
|
+
* title: "Results title",
|
|
272
|
+
* content: "Results: {ATTRIBUTE_NAME}"
|
|
273
|
+
* });
|
|
274
|
+
* // Set the graphics as an array to the popup instance. The content and title of
|
|
275
|
+
* // the popup will be set depending on the PopupTemplate of the graphics.
|
|
276
|
+
* // Each graphic may share the same PopupTemplate or have a unique PopupTemplate
|
|
277
|
+
* let graphics = [g1, g2, g3, g4, g5];
|
|
278
|
+
* popupComponent.features = graphics;
|
|
279
|
+
* ```
|
|
280
|
+
*/
|
|
159
281
|
features: __esri.Graphic[];
|
|
282
|
+
/**
|
|
283
|
+
* 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.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* ```js
|
|
287
|
+
* popupComponent.goToOverride = (viewElement, goToParams)=> {
|
|
288
|
+
* goToParams.options = {
|
|
289
|
+
* speedFactor: 2
|
|
290
|
+
* };
|
|
291
|
+
* return viewElement.goTo(goToParams.target, goToParams.options);
|
|
292
|
+
* };
|
|
293
|
+
* ```
|
|
294
|
+
*/
|
|
160
295
|
goToOverride: nullish | __esri.GoToOverride;
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
296
|
+
/**
|
|
297
|
+
* The title of the popup. This can be set generically on the popup no
|
|
298
|
+
* matter the features that are selected. If the [selected feature](#selectedFeature)
|
|
299
|
+
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), then the title set in the
|
|
300
|
+
* corresponding template is used here.
|
|
301
|
+
*
|
|
302
|
+
* @see [headingLevel](#headingLevel)
|
|
303
|
+
* @example
|
|
304
|
+
* ```html
|
|
305
|
+
* <!-- This title will display in the popup unless a selected feature's
|
|
306
|
+
* PopupTemplate overrides it -->
|
|
307
|
+
* <arcgis-popup heading="Population by zip codes in Southern California"></arcgis-popup>
|
|
308
|
+
* ```
|
|
309
|
+
* @example
|
|
310
|
+
* ```js
|
|
311
|
+
* // This title will display in the popup unless a selected feature's
|
|
312
|
+
* // PopupTemplate overrides it
|
|
313
|
+
* popupComponent.title = "Population by zip codes in Southern California";
|
|
314
|
+
* ```
|
|
315
|
+
*/
|
|
171
316
|
heading: string | nullish;
|
|
317
|
+
/**
|
|
318
|
+
* Indicates the heading level to use for the [heading](#heading) of the popup.
|
|
319
|
+
* By default, the heading is rendered
|
|
320
|
+
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
321
|
+
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
322
|
+
* important for meeting accessibility standards.
|
|
323
|
+
*
|
|
324
|
+
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
325
|
+
* @see [heading](#heading)
|
|
326
|
+
* @example
|
|
327
|
+
* ```html
|
|
328
|
+
* <!-- Render the popup heading as a level 3 heading -->
|
|
329
|
+
* <arcgis-popup heading="Popup title" heading-level="3"></arcgis-popup>
|
|
330
|
+
* ```
|
|
331
|
+
* @default 2
|
|
332
|
+
*/
|
|
333
|
+
headingLevel: HeadingLevel;
|
|
334
|
+
/**
|
|
335
|
+
* Indicates whether to hide the action bar that holds the feature's [actions](#actions).
|
|
336
|
+
*
|
|
337
|
+
* @default false
|
|
338
|
+
*/
|
|
172
339
|
hideActionBar: boolean;
|
|
340
|
+
/**
|
|
341
|
+
* Indicates whether to hide the close button in the component.
|
|
342
|
+
*
|
|
343
|
+
* @default false
|
|
344
|
+
*/
|
|
173
345
|
hideCloseButton: boolean;
|
|
346
|
+
/**
|
|
347
|
+
* Indicates whether to hide the collapse button in the component.
|
|
348
|
+
*
|
|
349
|
+
* @default false
|
|
350
|
+
*/
|
|
174
351
|
hideCollapseButton: boolean;
|
|
352
|
+
/**
|
|
353
|
+
* Indicates whether to hide a heading and description on the component feature menu list.
|
|
354
|
+
*
|
|
355
|
+
* @default false
|
|
356
|
+
*/
|
|
175
357
|
hideFeatureMenuHeading: boolean;
|
|
358
|
+
/**
|
|
359
|
+
* Indicates whether pagination for feature navigation will be displayed. This allows the user to scroll through various [selected features](#features) using pagination arrows.
|
|
360
|
+
*
|
|
361
|
+
* @default false
|
|
362
|
+
*/
|
|
176
363
|
hideFeatureNavigation: boolean;
|
|
364
|
+
/**
|
|
365
|
+
* Indicates whether to hide the group heading for a list of multiple features in the feature menu.
|
|
366
|
+
*
|
|
367
|
+
* @default false
|
|
368
|
+
*/
|
|
177
369
|
hideFeatureListLayerTitle: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Indicates whether to hide the heading in the component.
|
|
372
|
+
*
|
|
373
|
+
* @default false
|
|
374
|
+
*/
|
|
178
375
|
hideHeading: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Indicates whether to hide the spinner in the component.
|
|
378
|
+
*
|
|
379
|
+
* @default false
|
|
380
|
+
*/
|
|
179
381
|
hideSpinner: boolean;
|
|
180
|
-
|
|
181
|
-
|
|
382
|
+
/**
|
|
383
|
+
* Indicates if the selected feature will be highlighted.
|
|
384
|
+
* This is done using the [arcgis-map.highlights](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#highlights) or the [arcgis-scene.highlights](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#highlights).
|
|
385
|
+
*
|
|
386
|
+
* @default false
|
|
387
|
+
*/
|
|
388
|
+
highlightDisabled: boolean;
|
|
389
|
+
/**
|
|
390
|
+
* Indicates whether to include the default actions in the component.
|
|
391
|
+
* In order to disable any default actions, it is necessary to set `includeDefaultActionsDisabled` to `true`.
|
|
392
|
+
*
|
|
393
|
+
* @default false
|
|
394
|
+
*/
|
|
395
|
+
includeDefaultActionsDisabled: boolean;
|
|
396
|
+
/**
|
|
397
|
+
* Indicates whether to initially display a list of features, or the content for one feature.
|
|
398
|
+
*
|
|
399
|
+
* @default "feature"
|
|
400
|
+
*/
|
|
401
|
+
initialDisplayMode: "list" | "feature";
|
|
402
|
+
/** The component's default label. */
|
|
182
403
|
label?: string;
|
|
404
|
+
/**
|
|
405
|
+
* Point used to position the popup. This is automatically set when viewing the
|
|
406
|
+
* popup by selecting a feature. If using the Popup to display content not related
|
|
407
|
+
* to features in the map, such as the results from a task, then you must set this
|
|
408
|
+
* property before making the popup [visible](#visible) to the user.
|
|
409
|
+
*
|
|
410
|
+
* @autocast { "byTypeProperty": false }
|
|
411
|
+
* @see [Intro to popups](../sample-code/intro-popup/index.html)
|
|
412
|
+
* @example
|
|
413
|
+
* ```js
|
|
414
|
+
* // Sets the location of the popup to the center of the view
|
|
415
|
+
* popupComponent.location = viewELement.center;
|
|
416
|
+
* // Displays the popup
|
|
417
|
+
* popupComponent.visible = true;
|
|
418
|
+
* ```
|
|
419
|
+
* @example
|
|
420
|
+
* ```js
|
|
421
|
+
* // Sets the location of the popup to a specific place (using autocast)
|
|
422
|
+
* // Note: using latitude/longitude only works if view is in Web Mercator or WGS84 spatial reference.
|
|
423
|
+
* popupComponent.location = {latitude: 34.0571, longitude: -117.1968};
|
|
424
|
+
* ```
|
|
425
|
+
* @example
|
|
426
|
+
* ```js
|
|
427
|
+
* // Sets the location of the popup to the location of a click on the view
|
|
428
|
+
* reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
|
|
429
|
+
* popupComponent.location = event.detail.mapPoint;
|
|
430
|
+
* // Displays the popup
|
|
431
|
+
* popupComponent.visible = true;
|
|
432
|
+
* });
|
|
433
|
+
* ```
|
|
434
|
+
*/
|
|
435
|
+
location: nullish | __esri.Point;
|
|
436
|
+
/** Overwrite localized strings for this component */
|
|
437
|
+
messageOverrides?: typeof this.messages._overrides;
|
|
438
|
+
/**
|
|
439
|
+
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
440
|
+
* no pending promises, the value is `null`. When the pending promises are
|
|
441
|
+
* resolved they are removed from this array and the features they return
|
|
442
|
+
* are pushed into the [features](#features) array.
|
|
443
|
+
*/
|
|
444
|
+
promises: Promise<__esri.Graphic[]>[];
|
|
445
|
+
/**
|
|
446
|
+
* 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.
|
|
447
|
+
*
|
|
448
|
+
* @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)
|
|
449
|
+
*/
|
|
450
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
451
|
+
/**
|
|
452
|
+
* The feature that the component has drilled into.
|
|
453
|
+
* 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.
|
|
454
|
+
*/
|
|
455
|
+
get selectedDrillInFeature(): __esri.Graphic | nil;
|
|
456
|
+
/**
|
|
457
|
+
* The selected feature accessed by the popup. The content of the Popup is
|
|
458
|
+
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to
|
|
459
|
+
* this feature.
|
|
460
|
+
*/
|
|
461
|
+
readonly selectedFeature: nullish | __esri.Graphic;
|
|
462
|
+
/**
|
|
463
|
+
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) that the Popup is using.
|
|
464
|
+
* This is useful if needing to get a reference to the component in order to make any changes to it.
|
|
465
|
+
*/
|
|
466
|
+
get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
|
|
467
|
+
/**
|
|
468
|
+
* Index of the feature that is [selected](#selectedFeature). When [features](#features) are set,
|
|
469
|
+
* the first index is automatically selected.
|
|
470
|
+
*/
|
|
471
|
+
selectedFeatureIndex: number;
|
|
472
|
+
/**
|
|
473
|
+
* The current state of the component.
|
|
474
|
+
*
|
|
475
|
+
* @default "disabled"
|
|
476
|
+
*/
|
|
477
|
+
readonly state: "ready" | "disabled";
|
|
478
|
+
/**
|
|
479
|
+
* Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open.
|
|
480
|
+
* Use the property to check if the popup is visible and is not.
|
|
481
|
+
*
|
|
482
|
+
* @name visible
|
|
483
|
+
* @type {boolean}
|
|
484
|
+
* @default false
|
|
485
|
+
*/
|
|
183
486
|
visible: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* Removes all [promises](#promises), [features](#features), [content](#content),
|
|
489
|
+
* [heading](#heading) and [location](#location) from the Popup.
|
|
490
|
+
*/
|
|
184
491
|
clear(): Promise<void>;
|
|
492
|
+
/** Permanently destroy the component. */
|
|
185
493
|
destroy(): Promise<void>;
|
|
494
|
+
/**
|
|
495
|
+
* Use this method to return feature(s) at a given screen location.
|
|
496
|
+
* These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
497
|
+
* 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
|
|
498
|
+
* 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).
|
|
499
|
+
*
|
|
500
|
+
* @example
|
|
501
|
+
* ```js
|
|
502
|
+
* // Example showing how to use fetchFeatures in an application
|
|
503
|
+
* // with the popup and feature components.
|
|
504
|
+
* const popupComponent = document.querySelector("arcgis-popup");
|
|
505
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
506
|
+
* const featureComponent = document.querySelector("arcgis-feature");
|
|
507
|
+
* // Get viewElement's click event
|
|
508
|
+
* reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
|
|
509
|
+
* const { screenPoint } = event.detail;
|
|
510
|
+
* // Call fetchFeatures on the popup and pass in the click event screenPoint
|
|
511
|
+
* popupComponent.fetchFeatures(screenPoint).then((response) => {
|
|
512
|
+
* // Access the response from fetchFeatures
|
|
513
|
+
* response.allGraphicsPromise.then((graphics) => {
|
|
514
|
+
* // Set the feature component's graphic to the returned graphic from fetchFeatures
|
|
515
|
+
* featureComponent.graphic = graphics[0];
|
|
516
|
+
* });
|
|
517
|
+
* });
|
|
518
|
+
* });
|
|
519
|
+
* ```
|
|
520
|
+
*/
|
|
186
521
|
fetchFeatures(screenPoint: __esri.ScreenPoint, options?: FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>;
|
|
522
|
+
/**
|
|
523
|
+
* Selects the feature at the next index in relation to the selected feature.
|
|
524
|
+
*
|
|
525
|
+
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
526
|
+
*/
|
|
187
527
|
next(): Promise<FeaturesViewModel>;
|
|
528
|
+
/**
|
|
529
|
+
* Opens the popup at the given location with content defined either explicitly with `content`
|
|
530
|
+
* or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features. This method sets
|
|
531
|
+
* the popup's [visible](#visible) property to `true`. Users can alternatively open the popup
|
|
532
|
+
* by directly setting the [visible](#visible) property to `true`.
|
|
533
|
+
*
|
|
534
|
+
* ***Note:***
|
|
535
|
+
* The popup will only display if the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) size constraints in [dockOptions](#dockOptions) are met or the [location](#location)
|
|
536
|
+
* property is set to a geometry.
|
|
537
|
+
*
|
|
538
|
+
* @see [visible](#visible)
|
|
539
|
+
* @example
|
|
540
|
+
* ```js
|
|
541
|
+
* reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
|
|
542
|
+
* const { mapPoint } = event.detail;
|
|
543
|
+
* popupComponent.open({
|
|
544
|
+
* location: mapPoint, // location of the click on the view
|
|
545
|
+
* title: "You clicked here", // title displayed in the popup
|
|
546
|
+
* content: "This is a point of interest" // content displayed in the popup
|
|
547
|
+
* });
|
|
548
|
+
* });
|
|
549
|
+
* ```
|
|
550
|
+
* @example
|
|
551
|
+
* ```js
|
|
552
|
+
* reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
|
|
553
|
+
* const { mapPoint } = event.detail;
|
|
554
|
+
* popupComponent.open({
|
|
555
|
+
* location: mapPoint, // location of the click on the view
|
|
556
|
+
* fetchFeatures: true // display the content for the selected feature if a popupTemplate is defined.
|
|
557
|
+
* });
|
|
558
|
+
* });
|
|
559
|
+
* ```
|
|
560
|
+
* @example
|
|
561
|
+
* ```js
|
|
562
|
+
* popupComponent.open({
|
|
563
|
+
* title: "You clicked here", // title displayed in the popup
|
|
564
|
+
* content: "This is a point of interest", // content displayed in the popup
|
|
565
|
+
* location: event.detail.mapPoint,
|
|
566
|
+
* updateLocationEnabled: true // updates the location of popup based on
|
|
567
|
+
* // selected feature's geometry
|
|
568
|
+
* });
|
|
569
|
+
* ```
|
|
570
|
+
* @example
|
|
571
|
+
* ```js
|
|
572
|
+
* popupComponent.open({
|
|
573
|
+
* features: graphics, // array of graphics
|
|
574
|
+
* featureMenuOpen: true, // selected features initially display in a list
|
|
575
|
+
* location: graphics[0].geometry // location of the first graphic in the array of graphics
|
|
576
|
+
* });
|
|
577
|
+
* ```
|
|
578
|
+
*/
|
|
188
579
|
open(options?: __esri.FeaturesViewModelOpenOptions): Promise<void>;
|
|
580
|
+
/**
|
|
581
|
+
* Selects the feature at the previous index in relation to the selected feature.
|
|
582
|
+
*
|
|
583
|
+
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
584
|
+
*/
|
|
189
585
|
previous(): Promise<FeaturesViewModel>;
|
|
586
|
+
/** Use this method to give focus to the Widget if the widget is able to be focused. */
|
|
190
587
|
setFocus(): Promise<void>;
|
|
588
|
+
/**
|
|
589
|
+
* Triggers the [arcgisTriggerAction](#arcgisTriggerAction) event and executes the [action](#actions)
|
|
590
|
+
* at the specified index in the [actions](#actions) array.
|
|
591
|
+
*/
|
|
191
592
|
triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
|
|
192
593
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
193
|
-
name: "state" | "active" | "collapsed" | "featureCount" | "
|
|
594
|
+
name: "state" | "active" | "collapsed" | "featureCount" | "visible" | "selectedFeature" | "featureMenuOpen" | "features" | "promises" | "selectedFeatureIndex" | "selectedDrillInFeature" | "selectedFeatureComponent" | "currentAlignment" | "dockEnabled";
|
|
194
595
|
}>;
|
|
596
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
195
597
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
598
|
+
/** Emitted when the component's close button is clicked. */
|
|
196
599
|
readonly arcgisClose: TargetedEvent<this, void>;
|
|
600
|
+
/**
|
|
601
|
+
* Fires after the user clicks on an action in the Popup component.
|
|
602
|
+
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
603
|
+
*
|
|
604
|
+
* @see [actions](#actions)
|
|
605
|
+
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#actions)
|
|
606
|
+
* @see [open()](#open)
|
|
607
|
+
* @example
|
|
608
|
+
* ```js
|
|
609
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
610
|
+
* const { mapPoint } = event.detail;
|
|
611
|
+
* popupComponent.open({
|
|
612
|
+
* location: mapPoint,
|
|
613
|
+
* fetchFeatures: true,
|
|
614
|
+
* actions: [{
|
|
615
|
+
* // This text is displayed as a tooltip
|
|
616
|
+
* title: "Zoom out",
|
|
617
|
+
* // The ID used to reference this action in the event handler
|
|
618
|
+
* id: "zoom-out",
|
|
619
|
+
* // Sets the icon font used to style the action button
|
|
620
|
+
* icon: "magnifying-glass-minus"
|
|
621
|
+
* },
|
|
622
|
+
* {
|
|
623
|
+
* title: "Delete Feature",
|
|
624
|
+
* id: "delete-feature-action",
|
|
625
|
+
* icon: "trash"
|
|
626
|
+
* }]
|
|
627
|
+
* });
|
|
628
|
+
* });
|
|
629
|
+
*
|
|
630
|
+
* // Fires each time an action is clicked
|
|
631
|
+
* reactiveUtils.on(()=> popupComponent, "arcgisTriggerAction", (event)=>{
|
|
632
|
+
* // If the zoom-out action is clicked, execute the following code
|
|
633
|
+
* if(event.detail.action.id === "zoom-out"){
|
|
634
|
+
* // Zoom out two levels (LODs)
|
|
635
|
+
* viewElement.goTo({
|
|
636
|
+
* center: viewElement.center,
|
|
637
|
+
* zoom: viewElement.zoom - 2
|
|
638
|
+
* });
|
|
639
|
+
* }
|
|
640
|
+
* });
|
|
641
|
+
* ```
|
|
642
|
+
*/
|
|
197
643
|
readonly arcgisTriggerAction: TargetedEvent<this, __esri.PopupTriggerActionEvent>;
|
|
198
644
|
private messages;
|
|
199
645
|
}
|