@arcgis/map-components 5.1.0-next.6 → 5.1.0-next.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cdn/23KLANNA.js +2 -0
- package/dist/cdn/23REZ2B2.js +2 -0
- package/dist/cdn/2H4TOIDN.js +2 -0
- package/dist/cdn/{27HOTQNB.js → 2RITORYK.js} +1 -1
- package/dist/cdn/{GYTQDFSL.js → 2VAAAVLC.js} +1 -1
- package/dist/cdn/2W3VBU7J.js +2 -0
- package/dist/cdn/{PI6UQWTD.js → 323UBCSA.js} +1 -1
- package/dist/cdn/{THXN5VZY.js → 3BSS4OJF.js} +1 -1
- package/dist/cdn/{KYOYYCFY.js → 3D475OQN.js} +1 -1
- package/dist/cdn/3F72VWYL.js +2 -0
- package/dist/cdn/3FQKWB7C.js +2 -0
- package/dist/cdn/3GY55TR6.js +2 -0
- package/dist/cdn/{IIPYTUR3.js → 3NIIEYZ3.js} +1 -1
- package/dist/cdn/{6XJFSJGE.js → 3RBPQIY2.js} +1 -1
- package/dist/cdn/3TSFQO2E.js +2 -0
- package/dist/cdn/43AAIXLC.js +2 -0
- package/dist/cdn/4C65FPRR.js +2 -0
- package/dist/cdn/{YA6FUJR2.js → 4QDDVY23.js} +1 -1
- package/dist/cdn/4TP652AL.js +2 -0
- package/dist/cdn/{62WRVJ3U.js → 4XLVCJ6P.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → 4YBNCIDF.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → 4YOGEANW.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → 5EGS3PEJ.js} +1 -1
- package/dist/cdn/{3OE7JG5I.js → 5VOKWJYK.js} +1 -1
- package/dist/cdn/{7IBXOWTT.js → 63G7LUIG.js} +1 -1
- package/dist/cdn/{24PK3ZLX.js → 6BSFBUM6.js} +1 -1
- package/dist/cdn/{B6T4CWYF.js → 6D7YTBW3.js} +1 -1
- package/dist/cdn/{D6VUTTEH.js → 6G6M4M5S.js} +1 -1
- package/dist/cdn/{SKGRUNAJ.js → 6MNOO7S3.js} +1 -1
- package/dist/cdn/{FQJMTGXO.js → 6NTYMNLN.js} +1 -1
- package/dist/cdn/{OKXZJQ2B.js → 6ORHT4GS.js} +1 -1
- package/dist/cdn/6QUGJX3I.js +2 -0
- package/dist/cdn/{QLPUP6A3.js → 6XPVHLWQ.js} +1 -1
- package/dist/cdn/76OGK6BJ.js +2 -0
- package/dist/cdn/{XOP2SCW3.js → 77HK7ZGB.js} +1 -1
- package/dist/cdn/7E7AM2OJ.js +2 -0
- package/dist/cdn/7J2JZ2SZ.js +2 -0
- package/dist/cdn/{BSRIYDMN.js → 7KAQ36QW.js} +1 -1
- package/dist/cdn/{5UDFTH5U.js → 7KPBI4XT.js} +1 -1
- package/dist/cdn/{W2A4ONZA.js → 7LBICZSN.js} +1 -1
- package/dist/cdn/7OM5OVLK.js +2 -0
- package/dist/cdn/{HOYFIMNJ.js → 7WYC3QVX.js} +1 -1
- package/dist/cdn/A2QPYUE5.js +2 -0
- package/dist/cdn/A2Y4QEYJ.js +2 -0
- package/dist/cdn/A3PNX3GL.js +2 -0
- package/dist/cdn/{GKW3DDEQ.js → AE6R5TA3.js} +1 -1
- package/dist/cdn/AEX2GVOA.js +2 -0
- package/dist/cdn/{5PJEJPFY.js → AHYVOMEG.js} +1 -1
- package/dist/cdn/AIUHMRPO.js +2 -0
- package/dist/cdn/AK3LR5KN.js +2 -0
- package/dist/cdn/AMDRLSC6.js +2 -0
- package/dist/cdn/ATCF2HG3.js +2 -0
- package/dist/cdn/AZ6KIV47.js +2 -0
- package/dist/cdn/BDL7JHSJ.js +2 -0
- package/dist/cdn/BDQN2SGF.js +2 -0
- package/dist/cdn/BLFJJQQ3.js +2 -0
- package/dist/cdn/BLKKPXDO.js +2 -0
- package/dist/cdn/BLXKBUSY.js +2 -0
- package/dist/cdn/CTFHP4WA.js +2 -0
- package/dist/cdn/{IFSGM32L.js → CTUMJNVV.js} +1 -1
- package/dist/cdn/CWQLKJFC.js +2 -0
- package/dist/cdn/{HY73HOSP.js → CXFTZC4P.js} +1 -1
- package/dist/cdn/CXQ47WC4.js +2 -0
- package/dist/cdn/DJGZ4YG5.js +2 -0
- package/dist/cdn/DJP36K3Y.js +2 -0
- package/dist/cdn/DLDEDYSE.js +2 -0
- package/dist/cdn/DQH27QCF.js +2 -0
- package/dist/cdn/DRVFBFOW.js +2 -0
- package/dist/cdn/{SPACZLHW.js → E23LKC2A.js} +1 -1
- package/dist/cdn/EAKRGXQC.js +2 -0
- package/dist/cdn/EHZW6UXL.js +2 -0
- package/dist/cdn/EWOBALV7.js +2 -0
- package/dist/cdn/EYBE3ZBK.js +2 -0
- package/dist/cdn/EYQYDFFT.js +2 -0
- package/dist/cdn/EYT725LZ.js +2 -0
- package/dist/cdn/{ENDLVIST.js → F4WUHSSA.js} +1 -1
- package/dist/cdn/{JTEJ2NHE.js → F76SAKGH.js} +1 -1
- package/dist/cdn/FBHD2ZEY.js +2 -0
- package/dist/cdn/FIG6WRQB.js +2 -0
- package/dist/cdn/FMAT4CW4.js +2 -0
- package/dist/cdn/FWXI6DGS.js +2 -0
- package/dist/cdn/{P4PTEXIJ.js → GIBM773H.js} +1 -1
- package/dist/cdn/{GLV3FW3Z.js → GIQWOYCO.js} +1 -1
- package/dist/cdn/GL2CGH7O.js +2 -0
- package/dist/cdn/{RN44YUJM.js → GTL2XK2G.js} +1 -1
- package/dist/cdn/{H5UJFKXO.js → GZ7R6ON7.js} +1 -1
- package/dist/cdn/{JFDN4YD7.js → H5TVMXUR.js} +1 -1
- package/dist/cdn/HH5RW37I.js +2 -0
- package/dist/cdn/{LVSNYSCO.js → HJ3OTVSP.js} +1 -1
- package/dist/cdn/{NWK2WHZF.js → HKAKOHQC.js} +1 -1
- package/dist/cdn/HNQPE3FT.js +2 -0
- package/dist/cdn/HOO4XLPB.js +2 -0
- package/dist/cdn/HSAVWAGS.js +2 -0
- package/dist/cdn/{CQ4QHVEL.js → I5CLFGA4.js} +1 -1
- package/dist/cdn/{FYYKRDW3.js → I7FUAEVX.js} +1 -1
- package/dist/cdn/IFWIELXX.js +2 -0
- package/dist/cdn/IJICMS5G.js +2 -0
- package/dist/cdn/IS2PGNSH.js +2 -0
- package/dist/cdn/{XEYK67J5.js → IUI2SSE7.js} +1 -1
- package/dist/cdn/{INS77MCT.js → IUZTQ4PQ.js} +1 -1
- package/dist/cdn/{D4BT63BV.js → J2UAHEHR.js} +1 -1
- package/dist/cdn/J5IZSPU4.js +2 -0
- package/dist/cdn/{TVTQW6GC.js → J6UG5EF7.js} +1 -1
- package/dist/cdn/JCLR7GTA.js +2 -0
- package/dist/cdn/JDAMFTUY.js +2 -0
- package/dist/cdn/{5V7HEV2R.js → JTOVZZIK.js} +1 -1
- package/dist/cdn/JVFREF7G.js +4 -0
- package/dist/cdn/KB5J5TKR.js +2 -0
- package/dist/cdn/{6RDB26PI.js → KXHRLYKD.js} +1 -1
- package/dist/cdn/{GHFKQEFW.js → L4P6QUAJ.js} +1 -1
- package/dist/cdn/{HXPCADLA.js → LMRDVTIM.js} +1 -1
- package/dist/cdn/{7357JBTM.js → LNY6JB4T.js} +1 -1
- package/dist/cdn/{AJBY2TVM.js → LPD2FPBE.js} +1 -1
- package/dist/cdn/M2MXC4LH.js +2 -0
- package/dist/cdn/MDRC374Z.js +4 -0
- package/dist/cdn/MDUFAELV.js +2 -0
- package/dist/cdn/MGOKVOUR.js +2 -0
- package/dist/cdn/{ZATCJZP2.js → MPXHOG6M.js} +1 -1
- package/dist/cdn/MSYERWRZ.js +2 -0
- package/dist/cdn/MZENIHK3.js +2 -0
- package/dist/cdn/N2AXFVQB.js +2 -0
- package/dist/cdn/NJX4DH3C.js +2 -0
- package/dist/cdn/NMZDLL4M.js +2 -0
- package/dist/cdn/NWE4GWG6.js +2 -0
- package/dist/cdn/O3CBEPSE.js +2 -0
- package/dist/cdn/{KBY7C6QM.js → O4KTJ2LP.js} +1 -1
- package/dist/cdn/O5TDDX7K.js +2 -0
- package/dist/cdn/ODQ4JQEF.js +2 -0
- package/dist/cdn/OGLMIUHI.js +2 -0
- package/dist/cdn/{3FSARSVN.js → OH3I63ZU.js} +1 -1
- package/dist/cdn/OHDHHNIY.js +2 -0
- package/dist/cdn/ON57EB3S.js +2 -0
- package/dist/cdn/{ZYMCKBTT.js → ORZL7AJK.js} +1 -1
- package/dist/cdn/{MQ6HO6LA.js → OSSSLPDH.js} +1 -1
- package/dist/cdn/OXM4YQGO.js +2 -0
- package/dist/cdn/OY3SJG2A.js +2 -0
- package/dist/cdn/P2ABZVPJ.js +2 -0
- package/dist/cdn/PCBKRI33.js +2 -0
- package/dist/cdn/PDSZXTW2.js +2 -0
- package/dist/cdn/PUKUYV7Z.js +2 -0
- package/dist/cdn/PV4EVFZL.js +2 -0
- package/dist/cdn/{X26CF5AU.js → Q33VTX4M.js} +1 -1
- package/dist/cdn/QIHCQOKX.js +2 -0
- package/dist/cdn/QOL55WND.js +2 -0
- package/dist/cdn/QSNY7PKS.js +2 -0
- package/dist/cdn/QUZN3WEI.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → QZFSCUU6.js} +1 -1
- package/dist/cdn/R2SRU7YZ.js +2 -0
- package/dist/cdn/R3NYK6BO.js +2 -0
- package/dist/cdn/RFJ2A4C5.js +2 -0
- package/dist/cdn/RH62B2NE.js +2 -0
- package/dist/cdn/RISMNCOT.js +2 -0
- package/dist/cdn/RKWOCAIO.js +2 -0
- package/dist/cdn/RPNWPXQM.js +2 -0
- package/dist/cdn/{5CYQI4SX.js → RRTCHX7D.js} +1 -1
- package/dist/cdn/RRZZQHHA.js +2 -0
- package/dist/cdn/{CMWIMRU2.js → RSBGBKYW.js} +1 -1
- package/dist/cdn/{34V5UMTY.js → RT4LIRRF.js} +1 -1
- package/dist/cdn/RTB2XKDJ.js +2 -0
- package/dist/cdn/RTWUAZET.js +2 -0
- package/dist/cdn/RWKDHERX.js +2 -0
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/S676CANE.js +2 -0
- package/dist/cdn/SMEJ4YAT.js +2 -0
- package/dist/cdn/{33U3K3P2.js → SNQ2FGIZ.js} +1 -1
- package/dist/cdn/SUWCCBWL.js +2 -0
- package/dist/cdn/SVFZT7GR.js +2 -0
- package/dist/cdn/{WAASVZRG.js → SVM4RWA7.js} +1 -1
- package/dist/cdn/T5A2YHUT.js +2 -0
- package/dist/cdn/TBWM3VXL.js +2 -0
- package/dist/cdn/{IZOPV2VQ.js → TCYJRUYQ.js} +1 -1
- package/dist/cdn/{NW44UOKT.js → TE5VBSUT.js} +1 -1
- package/dist/cdn/{2IOCPFSI.js → TFMBO2TF.js} +1 -1
- package/dist/cdn/{H5QDPW5Y.js → TFUFDVQ6.js} +1 -1
- package/dist/cdn/{4PWBNKOA.js → TG7WC3X6.js} +1 -1
- package/dist/cdn/TTXSJRX5.js +2 -0
- package/dist/cdn/{LSF66JVY.js → TY7DGFDV.js} +1 -1
- package/dist/cdn/{TCG6VGIB.js → UCJK3GTY.js} +1 -1
- package/dist/cdn/{DUT3D6UH.js → UMBRQNGS.js} +1 -1
- package/dist/cdn/VEYOGGAN.js +2 -0
- package/dist/cdn/{BQMLNDT6.js → VQLAZAPA.js} +1 -1
- package/dist/cdn/VVTVZ23C.js +2 -0
- package/dist/cdn/W73LTDPZ.js +2 -0
- package/dist/cdn/{4YQLL44L.js → WGW42I4K.js} +1 -1
- package/dist/cdn/WPHAAGQP.js +2 -0
- package/dist/cdn/X4JK3J5H.js +2 -0
- package/dist/cdn/X6YUOAIF.js +2 -0
- package/dist/cdn/XCGJZDIU.js +3 -0
- package/dist/cdn/XEXCDGSR.js +2 -0
- package/dist/cdn/XJ7YGYPW.js +2 -0
- package/dist/cdn/{L5EGJLC4.js → XKP5ITQT.js} +1 -1
- package/dist/cdn/XPZYTUFI.js +2 -0
- package/dist/cdn/XRXXGGKZ.js +2 -0
- package/dist/cdn/{ATRTNMMR.js → Y2SCBPL7.js} +1 -1
- package/dist/cdn/YOBLHGZK.js +2 -0
- package/dist/cdn/YT45OEI2.js +2 -0
- package/dist/cdn/YXUK3MCB.js +2 -0
- package/dist/cdn/YZLPEORC.js +2 -0
- package/dist/cdn/{4IC3NWKK.js → ZBIHLQ6H.js} +1 -1
- package/dist/cdn/ZBPKNJD3.js +2 -0
- package/dist/cdn/ZCCTN4B7.js +2 -0
- package/dist/cdn/ZEKJESMA.js +2 -0
- package/dist/cdn/{BUE7MOVD.js → ZOCF3BGK.js} +1 -1
- package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/action-utils.js +3 -3
- package/dist/chunks/component-utils.js +85 -72
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/layer-utils.js +44 -28
- package/dist/chunks/measurementUtils.js +12 -12
- package/dist/chunks/slots.js +27 -27
- package/dist/chunks/useArcgisViewReadyError.js +11 -11
- package/dist/chunks/useViewModel.js +5 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +97 -100
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -26
- package/dist/components/arcgis-area-measurement-3d/customElement.js +69 -86
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +126 -99
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
- package/dist/components/arcgis-building-explorer/customElement.js +17 -12
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +120 -73
- package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.js +23 -22
- package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
- package/dist/components/arcgis-daylight/customElement.js +212 -206
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -23
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -91
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +60 -14
- package/dist/components/arcgis-directions/customElement.js +31 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +77 -80
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +79 -18
- package/dist/components/arcgis-editor/customElement.js +23 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/customElement.js +5 -11
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +38 -39
- package/dist/components/arcgis-feature/customElement.js +39 -39
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-fields/customElement.js +28 -28
- package/dist/components/arcgis-feature-form/customElement.d.ts +19 -15
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- package/dist/components/arcgis-feature-table/customElement.d.ts +181 -87
- package/dist/components/arcgis-feature-table/customElement.js +46 -30
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.d.ts +44 -35
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +25 -21
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +84 -93
- package/dist/components/arcgis-features/customElement.d.ts +70 -70
- package/dist/components/arcgis-features/customElement.js +90 -111
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +8 -10
- package/dist/components/arcgis-home/customElement.js +16 -14
- package/dist/components/arcgis-layer-list/customElement.d.ts +50 -53
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +42 -43
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
- package/dist/components/arcgis-link-chart/customElement.d.ts +76 -68
- package/dist/components/arcgis-link-chart/customElement.js +8 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +3 -4
- package/dist/components/arcgis-locate/customElement.js +24 -23
- package/dist/components/arcgis-map/customElement.d.ts +189 -181
- package/dist/components/arcgis-map/customElement.js +4 -4
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
- package/dist/components/arcgis-measurement-content/customElement.js +18 -14
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
- package/dist/components/arcgis-paste/customElement.d.ts +5 -5
- package/dist/components/arcgis-paste/customElement.js +92 -74
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +87 -75
- package/dist/components/arcgis-popup/customElement.js +121 -125
- package/dist/components/arcgis-popup/types.d.ts +2 -2
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-presentation/customElement.js +6 -6
- package/dist/components/arcgis-print/customElement.d.ts +51 -31
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +42 -32
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +185 -177
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.d.ts +55 -59
- package/dist/components/arcgis-search/customElement.js +13 -12
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
- package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
- package/dist/components/arcgis-sketch/customElement.d.ts +82 -33
- package/dist/components/arcgis-sketch/customElement.js +14 -14
- package/dist/components/arcgis-slice/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.js +11 -10
- package/dist/components/arcgis-slice/types.d.ts +4 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +51 -54
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +79 -101
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +149 -99
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +13 -14
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +81 -97
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
- package/dist/components/arcgis-snapping-controls/customElement.js +3 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +16 -17
- package/dist/components/arcgis-swipe/customElement.js +55 -43
- package/dist/components/arcgis-table-list/customElement.d.ts +115 -80
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +23 -25
- package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +10 -34
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
- package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -29
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +76 -60
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +23 -6
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +119 -75
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +17 -5
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +200 -195
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +12 -12
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +23 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +120 -98
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +13 -11
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
- package/dist/components/arcgis-volume-measurement/customElement.js +164 -173
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/components/arcgis-zoom/types.d.ts +3 -0
- package/dist/components/types.d.ts +58 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +7 -35
- package/dist/loader.js +33 -33
- package/dist/types/lumina.d.ts +30 -53
- package/dist/types/preact.d.ts +31 -58
- package/dist/types/react.d.ts +32 -63
- package/dist/types/stencil.d.ts +30 -53
- package/package.json +7 -7
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/2BJHF4JK.js +0 -2
- package/dist/cdn/2K45WUVH.js +0 -2
- package/dist/cdn/3NKCXSOG.js +0 -2
- package/dist/cdn/3WJ4CTLO.js +0 -2
- package/dist/cdn/3WKKQ4VO.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/4URF7CKU.js +0 -2
- package/dist/cdn/5FZLG5YS.js +0 -2
- package/dist/cdn/5RBOHMMK.js +0 -2
- package/dist/cdn/6NR6EZZI.js +0 -2
- package/dist/cdn/6Q52PYPA.js +0 -2
- package/dist/cdn/6V543DNR.js +0 -2
- package/dist/cdn/6ZNO34O5.js +0 -2
- package/dist/cdn/77ERVO5S.js +0 -2
- package/dist/cdn/7CBBWB77.js +0 -2
- package/dist/cdn/7WLTT4K3.js +0 -2
- package/dist/cdn/7ZCMIKP6.js +0 -2
- package/dist/cdn/B2WEYYED.js +0 -2
- package/dist/cdn/BAPY2HFP.js +0 -2
- package/dist/cdn/BB5CXHDQ.js +0 -2
- package/dist/cdn/BEXRPBHT.js +0 -2
- package/dist/cdn/BGOWWLCQ.js +0 -2
- package/dist/cdn/BM2JTRBY.js +0 -2
- package/dist/cdn/BMR2YFEM.js +0 -2
- package/dist/cdn/C2PSJPHR.js +0 -2
- package/dist/cdn/C67HCGCO.js +0 -2
- package/dist/cdn/CCJHB4A2.js +0 -2
- package/dist/cdn/CEJGZMGB.js +0 -2
- package/dist/cdn/CIUAWIL5.js +0 -4
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/CNMF4MVD.js +0 -2
- package/dist/cdn/CQ2L75M3.js +0 -2
- package/dist/cdn/CUWONRT5.js +0 -2
- package/dist/cdn/CXOYV56L.js +0 -2
- package/dist/cdn/D7DDJ2QZ.js +0 -3
- package/dist/cdn/DLFGSUYT.js +0 -2
- package/dist/cdn/DWW7KAMQ.js +0 -2
- package/dist/cdn/E4YMNWRJ.js +0 -2
- package/dist/cdn/EJZTSGNS.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EPQN4FJS.js +0 -2
- package/dist/cdn/EQKQCYUY.js +0 -2
- package/dist/cdn/ET6YD3C7.js +0 -2
- package/dist/cdn/EVC4MXIZ.js +0 -2
- package/dist/cdn/EYW7YQF6.js +0 -2
- package/dist/cdn/FANKLSAT.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/FFDRV5ZO.js +0 -2
- package/dist/cdn/FOMIDTAN.js +0 -2
- package/dist/cdn/FTBTVD7U.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/G7PHEWBZ.js +0 -2
- package/dist/cdn/GHA2ANJZ.js +0 -2
- package/dist/cdn/GLNRLEZE.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/GS43BIES.js +0 -2
- package/dist/cdn/GUAI5SHN.js +0 -2
- package/dist/cdn/GYDNEXYU.js +0 -2
- package/dist/cdn/HGNP2J3R.js +0 -2
- package/dist/cdn/HVI2FE73.js +0 -2
- package/dist/cdn/I2WEEE2E.js +0 -2
- package/dist/cdn/ILPNFQWH.js +0 -2
- package/dist/cdn/IPNIJANM.js +0 -2
- package/dist/cdn/J7ZNOOZ4.js +0 -2
- package/dist/cdn/JC4DYMKT.js +0 -2
- package/dist/cdn/JCV26SSG.js +0 -2
- package/dist/cdn/JLIZWDU5.js +0 -2
- package/dist/cdn/JMHCIJG4.js +0 -2
- package/dist/cdn/KE3XRRXO.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/KNJ7PME5.js +0 -2
- package/dist/cdn/KRCRJUYG.js +0 -2
- package/dist/cdn/L6LZYPWJ.js +0 -2
- package/dist/cdn/L7NIKN24.js +0 -2
- package/dist/cdn/LLNNQ2ED.js +0 -2
- package/dist/cdn/LMV6L2OF.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/LZ3PMD7Z.js +0 -2
- package/dist/cdn/LZ7PMWXR.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/N76CLHYJ.js +0 -2
- package/dist/cdn/OF4IOSNA.js +0 -2
- package/dist/cdn/OJNMPOYD.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/OXHLBFME.js +0 -2
- package/dist/cdn/PCQ5PXPF.js +0 -2
- package/dist/cdn/PESPV6VP.js +0 -2
- package/dist/cdn/PFYZ7JRB.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/POEZXWTT.js +0 -2
- package/dist/cdn/PTWLVTFS.js +0 -4
- package/dist/cdn/QXUY4FOY.js +0 -2
- package/dist/cdn/RVFNEP2J.js +0 -2
- package/dist/cdn/RXFUZXUX.js +0 -2
- package/dist/cdn/S52VES4H.js +0 -2
- package/dist/cdn/SD7FABOK.js +0 -2
- package/dist/cdn/SFM3XWUA.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/SSZMOOL6.js +0 -2
- package/dist/cdn/SZNBYDQI.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/U5HXLA7K.js +0 -2
- package/dist/cdn/UZ7KLWGC.js +0 -2
- package/dist/cdn/V3M37NHT.js +0 -2
- package/dist/cdn/VGFC3ME5.js +0 -2
- package/dist/cdn/VGTTCLO3.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- package/dist/cdn/VYHDFNKP.js +0 -2
- package/dist/cdn/WICYZB2Q.js +0 -2
- package/dist/cdn/XWAT4IT2.js +0 -2
- package/dist/cdn/XXDOZQ6Q.js +0 -2
- package/dist/cdn/Y7HDE5NQ.js +0 -2
- package/dist/cdn/YEDAGZUF.js +0 -2
- package/dist/cdn/YHRPRHZA.js +0 -2
- package/dist/cdn/YMDVBOE7.js +0 -2
- package/dist/cdn/YSDQ5VNK.js +0 -2
- package/dist/cdn/Z6VVHLCW.js +0 -2
- package/dist/cdn/ZHINQNZ2.js +0 -2
- package/dist/cdn/ZIX3WE2Q.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/action-utils.d.ts +0 -3
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/cdn/{W5B5LTGN.js → 2HXYJZSB.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → 37GJW6KT.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → 4IM2FY5W.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → 4MDRPZTG.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → 4STAROOM.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → 5IMWXYL2.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 5TXE67XV.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → BBQPUWRO.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → BND2TJBO.js} +0 -0
- /package/dist/cdn/{UQ7E33T4.js → CJOHGWK6.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → D5WXOOS3.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → DMDCKD5U.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → EP252O27.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → EVHNFE5I.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → EW6V3NZI.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → F6BQWE5I.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → FLLSBLLE.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → FQZXILRT.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → GHY23IXW.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → GIGQIUF5.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → GS75FRUR.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → HGAJ2IEN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → JKVKP7AW.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → JU3BLGXG.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → L4TA63M6.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → LQVZVGY4.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → MM4KQLRF.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → Q3GALNWS.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → QM34BSKE.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → QTWRDNXX.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → TC3Q2QUA.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → TEFALOII.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → TP5VEU3D.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → U35ISUWJ.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → UUC3DBCQ.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → UVMLKDJA.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → V7DG2KF6.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → WHDMC5HB.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → XJXQC6HM.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → YZSLMAVX.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → ZUPEVR3P.js} +0 -0
- /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
- /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type FeaturesViewModel from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
3
3
|
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
4
|
-
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle";
|
|
5
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
4
|
+
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
5
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
6
6
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
7
7
|
import type Widget from "@arcgis/core/widgets/Widget.js";
|
|
8
|
-
import type Graphic2 from "@arcgis/core/Graphic.js";
|
|
9
8
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
10
|
-
import type { ArcgisReferenceElement } from "
|
|
11
|
-
import type { HeadingLevel } from "../../support/heading.js";
|
|
9
|
+
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
12
10
|
import type { Alignment, DockOptions, PopupPositionResult, FetchFeaturesOptions } from "./types.js";
|
|
13
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
14
12
|
import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
|
|
15
|
-
import type { ActionEvent, PopupOpenOptions } from "@arcgis/core/widgets/Popup/types";
|
|
16
|
-
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
17
|
-
import type { ClickEvent } from "@arcgis/core/views/input/types";
|
|
13
|
+
import type { ActionEvent, PopupOpenOptions, PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
|
|
14
|
+
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
15
|
+
import type { ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
18
16
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
19
|
-
import type { PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
|
|
20
17
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
21
18
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
22
19
|
|
|
@@ -26,22 +23,25 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
26
23
|
* by providing users with a simple way to interact with and view attributes in a layer.
|
|
27
24
|
* They play an important role in relaying information to the user, which improves the storytelling capabilities of the application.
|
|
28
25
|
*
|
|
29
|
-
* The popup component can be
|
|
26
|
+
* The popup component can be added to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) using the `popup` slot.
|
|
27
|
+
* When added to a view component, the popup is automatically populated with content from the selected feature in the view and displays when clicking on features in the view.
|
|
28
|
+
* The content of the popup is determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to the selected feature.
|
|
30
29
|
*
|
|
31
30
|
* ```html
|
|
32
|
-
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9"
|
|
31
|
+
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9">
|
|
32
|
+
* <arcgis-popup slot="popup"></arcgis-popup>
|
|
33
|
+
* </arcgis-map>
|
|
33
34
|
* ```
|
|
34
|
-
* > At version 6.0, the Popup component will be used by default and setting the `popup-component-enabled` attribute will no longer be necessary.
|
|
35
35
|
*
|
|
36
|
-
* The Popup component can also be opened manually at a specific location using the [
|
|
36
|
+
* The Popup component can also be opened manually at a specific location using the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) property.
|
|
37
37
|
* To prevent the popup from opening automatically when clicking on features within view components, set the `popup-disabled` attribute to `true` and add the Popup component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) using the `popup` slot.
|
|
38
|
-
* Before setting the `open` property to `true`, you must set the [
|
|
38
|
+
* Before setting the `open` property to `true`, you must set the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) property to specify where the popup should open or call the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method to open the popup template for features at a specific screen location.
|
|
39
39
|
*
|
|
40
40
|
* Example of opening the popup at a clicked location with custom content:
|
|
41
41
|
*
|
|
42
42
|
* ```html
|
|
43
43
|
* <!-- Set popup-disabled and popup-component-enabled attributes -->
|
|
44
|
-
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled
|
|
44
|
+
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
|
|
45
45
|
* <!-- Add the popup component to the popup slot. -->
|
|
46
46
|
* <arcgis-popup slot="popup"></arcgis-popup>
|
|
47
47
|
* </arcgis-map>
|
|
@@ -51,6 +51,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
51
51
|
* // Listen for clicks on the view and open the popup at the clicked location with custom content.
|
|
52
52
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
53
53
|
* const { mapPoint } = event.detail;
|
|
54
|
+
* popupComponent.clear();
|
|
54
55
|
* popupComponent.location = mapPoint;
|
|
55
56
|
* popupComponent.heading = "You clicked here";
|
|
56
57
|
* popupComponent.content = "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3);
|
|
@@ -59,10 +60,10 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
59
60
|
* </script>
|
|
60
61
|
* ```
|
|
61
62
|
*
|
|
62
|
-
* Alternatively, you can call the [
|
|
63
|
+
* Alternatively, you can call the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method within the view element's click event listener to open the popup with features at the clicked location.
|
|
63
64
|
* ```html
|
|
64
65
|
* <!-- Set popup-disabled and popup-component-enabled attributes -->
|
|
65
|
-
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled
|
|
66
|
+
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
|
|
66
67
|
* <!-- Add the popup component to the popup slot. -->
|
|
67
68
|
* <arcgis-popup slot="popup"></arcgis-popup>
|
|
68
69
|
* </arcgis-map>
|
|
@@ -82,57 +83,64 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
82
83
|
* </script>
|
|
83
84
|
* ```
|
|
84
85
|
*
|
|
86
|
+
* The popup component can be used with the view components by default. Set the `popup-component-enabled` attribute to `true` using [arcgis-map.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupComponentEnabled), [arcgis-scene.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupComponentEnabled), or [arcgis-link-chart.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupComponentEnabled) to open the popup component automatically when clicking on features.
|
|
87
|
+
*
|
|
88
|
+
* ```html
|
|
89
|
+
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-component-enabled></arcgis-map>
|
|
90
|
+
* ```
|
|
91
|
+
* > At version 6.0, the Popup component will be used by default and setting the `popup-component-enabled` attribute will no longer be necessary.
|
|
92
|
+
*
|
|
85
93
|
* ## Popup UI
|
|
86
94
|
* The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) components contain a default popup.
|
|
87
|
-
* This popup can display generic content, which is set in its [heading](
|
|
88
|
-
* and [content](
|
|
95
|
+
* This popup can display generic content, which is set in its [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading)
|
|
96
|
+
* and [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) properties.
|
|
89
97
|
* When content is set directly on the Popup instance it is not tied to a specific feature or layer.
|
|
90
98
|
*
|
|
91
|
-
* 
|
|
92
100
|
*
|
|
93
|
-
* In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](
|
|
94
|
-
* The remaining text is the popup's [content](
|
|
101
|
+
* In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading).
|
|
102
|
+
* The remaining text is the popup's [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content).
|
|
95
103
|
* 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.
|
|
96
|
-
* The options for docking may be set in the [dockOptions](
|
|
104
|
+
* The options for docking may be set in the [dockOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#dockOptions) property.
|
|
97
105
|
* The popup may also be collapsed by clicking the collapse button (the down arrow icon) in the top right corner of the popup.
|
|
98
106
|
* When collapsed, only the heading of the popup displays.
|
|
99
107
|
* The popup may be closed by clicking the close button (the "x" icon) in the top right corner of the popup.
|
|
100
108
|
*
|
|
101
|
-
* Popups can also contain [actions](
|
|
109
|
+
* Popups can also contain [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) which execute a function defined by the developer when clicked.
|
|
102
110
|
* 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.
|
|
103
|
-
* See the [actions](
|
|
111
|
+
* See the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) property for information about adding custom actions to a popup.
|
|
104
112
|
*
|
|
105
|
-
* The Popup component is tied to
|
|
113
|
+
* The Popup component is tied to an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) component, whether it's docked or anchored to the selected feature.
|
|
106
114
|
* If wanting to utilize the Popup functionality outside of [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/), the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component can be used to display the same content
|
|
107
115
|
* in its own container.
|
|
108
116
|
*
|
|
109
117
|
* ## Popup and PopupTemplate
|
|
110
|
-
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/
|
|
111
|
-
* and [graphics](https://developers.arcgis.com/javascript/latest/
|
|
112
|
-
* [
|
|
118
|
+
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) are closely related to Popup, but are more specific to [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/)
|
|
119
|
+
* and [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/). Popup templates allow you to define custom titles and content templates based on the source of the
|
|
120
|
+
* [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature). When a layer or a graphic has a defined
|
|
113
121
|
* popup template, the popup will display the content defined in the popup template when the feature is clicked.
|
|
114
|
-
* The content may contain field values from the attributes of the [
|
|
122
|
+
* The content may contain field values from the attributes of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature).
|
|
115
123
|
*
|
|
116
|
-
* Custom PopupTemplates may also be assigned directly to a popup by setting [graphics](https://developers.arcgis.com/javascript/latest/
|
|
117
|
-
* [features](
|
|
124
|
+
* Custom PopupTemplates may also be assigned directly to a popup by setting [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) on the
|
|
125
|
+
* [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) property.
|
|
118
126
|
*
|
|
119
127
|
* @since 4.34
|
|
120
128
|
* @beta
|
|
121
|
-
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
129
|
+
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
122
130
|
*/
|
|
123
131
|
export abstract class ArcgisPopup extends LitElement {
|
|
124
132
|
/**
|
|
125
|
-
* A [collection](https://developers.arcgis.com/javascript/latest/
|
|
126
|
-
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [
|
|
133
|
+
* A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action button](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects. Each action may be executed by clicking the icon or image symbolizing them.
|
|
134
|
+
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
127
135
|
*
|
|
128
|
-
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/
|
|
136
|
+
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction) event fires each time an action is clicked.
|
|
129
137
|
*
|
|
130
138
|
* @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction)
|
|
131
139
|
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
132
140
|
*/
|
|
133
141
|
accessor actions: Collection<PopupAction>;
|
|
134
142
|
/**
|
|
135
|
-
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/
|
|
143
|
+
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/PopupViewModel/#waitingForResult).
|
|
136
144
|
*
|
|
137
145
|
* @default false
|
|
138
146
|
*/
|
|
@@ -152,7 +160,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
152
160
|
*/
|
|
153
161
|
accessor alignment: Alignment;
|
|
154
162
|
/**
|
|
155
|
-
* This closes the popup when the [View](https://developers.arcgis.com/javascript/latest/
|
|
163
|
+
* This closes the popup when the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) camera or [Viewpoint](https://developers.arcgis.com/javascript/latest/references/core/Viewpoint/) changes.
|
|
156
164
|
*
|
|
157
165
|
* @default false
|
|
158
166
|
*/
|
|
@@ -174,7 +182,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
174
182
|
*/
|
|
175
183
|
accessor collapsed: boolean;
|
|
176
184
|
/**
|
|
177
|
-
* The content of the component. When set directly on the component, this content is static and cannot use fields to set content templates. To set a template for the content based on field or attribute names, see [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/
|
|
185
|
+
* The content of the component. When set directly on the component, this content is static and cannot use fields to set content templates. To set a template for the content based on field or attribute names, see [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#content).
|
|
178
186
|
*
|
|
179
187
|
* @example
|
|
180
188
|
* ```js
|
|
@@ -189,7 +197,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
189
197
|
/**
|
|
190
198
|
* Enables automatic creation of a popup template for layers that have popups enabled but no popupTemplate defined. Automatic popup templates are supported for layers that support the `createPopupTemplate` method.
|
|
191
199
|
*
|
|
192
|
-
* **Note:** Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/
|
|
200
|
+
* **Note:** Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/#dateFormat) rather than `long-month-day-year` in default [popup](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) created by setting the `defaultPopupTemplateEnabled` property to `true`.
|
|
193
201
|
* For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
|
|
194
202
|
*
|
|
195
203
|
* @default false
|
|
@@ -200,10 +208,10 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
200
208
|
*
|
|
201
209
|
* Docking the popup allows for a better user experience, particularly when opening
|
|
202
210
|
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
203
|
-
* longer points to the [
|
|
211
|
+
* longer points to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature) or the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location)
|
|
204
212
|
* assigned to it. Rather it is attached to a side, the top, or the bottom of the view.
|
|
205
213
|
*
|
|
206
|
-
* See [dockOptions](
|
|
214
|
+
* See [dockOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#dockOptions) to override default options related to docking the popup.
|
|
207
215
|
*
|
|
208
216
|
* @default false
|
|
209
217
|
* @example
|
|
@@ -222,7 +230,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
222
230
|
/**
|
|
223
231
|
* Docking the popup allows for a better user experience, particularly when opening
|
|
224
232
|
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
225
|
-
* longer points to the [
|
|
233
|
+
* longer points to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature) or the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location)
|
|
226
234
|
* assigned to it. Rather it is placed in one of the corners of the view or to the top or bottom
|
|
227
235
|
* of it. This property allows the developer to set various options for docking the popup.
|
|
228
236
|
*
|
|
@@ -243,13 +251,13 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
243
251
|
*/
|
|
244
252
|
accessor dockOptions: DockOptions;
|
|
245
253
|
/**
|
|
246
|
-
* The number of
|
|
254
|
+
* The number of [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) available in the component.
|
|
247
255
|
*
|
|
248
256
|
* @default 0
|
|
249
257
|
*/
|
|
250
258
|
get featureCount(): number;
|
|
251
259
|
/**
|
|
252
|
-
* This property enables multiple features in the component to display in a list rather than displaying the first selected feature. Setting this to `true` allows the user to scroll through the list of features. This value will only be honored if [
|
|
260
|
+
* This property enables multiple features in the component to display in a list rather than displaying the first selected feature. Setting this to `true` allows the user to scroll through the list of features. This value will only be honored if [initialDisplayMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#initialDisplayMode) is set to "feature".
|
|
253
261
|
*
|
|
254
262
|
* @default false
|
|
255
263
|
*/
|
|
@@ -261,9 +269,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
261
269
|
*/
|
|
262
270
|
accessor featureMenuTitle: string | null | undefined;
|
|
263
271
|
/**
|
|
264
|
-
* An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
272
|
+
* An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
265
273
|
*
|
|
266
|
-
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [
|
|
274
|
+
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature)).
|
|
267
275
|
*
|
|
268
276
|
* This value is `null` if no features are associated with the component.
|
|
269
277
|
*
|
|
@@ -283,7 +291,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
283
291
|
* component.features = graphics;
|
|
284
292
|
* ```
|
|
285
293
|
*/
|
|
286
|
-
accessor features: Array<
|
|
294
|
+
accessor features: Array<Graphic>;
|
|
287
295
|
/**
|
|
288
296
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
289
297
|
*
|
|
@@ -301,11 +309,11 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
301
309
|
accessor goToOverride: GoToOverride | null | undefined;
|
|
302
310
|
/**
|
|
303
311
|
* The title of the popup. This can be set generically on the popup no
|
|
304
|
-
* matter the features that are selected. If the [
|
|
305
|
-
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
312
|
+
* matter the features that are selected. If the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature)
|
|
313
|
+
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/), then the title set in the
|
|
306
314
|
* corresponding template is used here.
|
|
307
315
|
*
|
|
308
|
-
* @see [headingLevel](
|
|
316
|
+
* @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#headingLevel)
|
|
309
317
|
* @example
|
|
310
318
|
* ```html
|
|
311
319
|
* <!-- This title will display in the popup unless a selected feature's
|
|
@@ -321,7 +329,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
321
329
|
*/
|
|
322
330
|
accessor heading: string | null | undefined;
|
|
323
331
|
/**
|
|
324
|
-
* Indicates the heading level to use for the [heading](
|
|
332
|
+
* Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) of the popup.
|
|
325
333
|
* By default, the heading is rendered
|
|
326
334
|
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
327
335
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
@@ -329,7 +337,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
329
337
|
*
|
|
330
338
|
* @default 2
|
|
331
339
|
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
332
|
-
* @see [heading](
|
|
340
|
+
* @see [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading)
|
|
333
341
|
* @example
|
|
334
342
|
* ```html
|
|
335
343
|
* <!-- Render the popup heading as a level 3 heading -->
|
|
@@ -338,7 +346,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
338
346
|
*/
|
|
339
347
|
accessor headingLevel: HeadingLevel;
|
|
340
348
|
/**
|
|
341
|
-
* Indicates whether to hide the action bar that holds the feature's [actions](
|
|
349
|
+
* Indicates whether to hide the action bar that holds the feature's [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions).
|
|
342
350
|
*
|
|
343
351
|
* @default false
|
|
344
352
|
*/
|
|
@@ -368,7 +376,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
368
376
|
*/
|
|
369
377
|
accessor hideFeatureMenuHeading: boolean;
|
|
370
378
|
/**
|
|
371
|
-
* Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [
|
|
379
|
+
* Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) using pagination arrows.
|
|
372
380
|
*
|
|
373
381
|
* @default false
|
|
374
382
|
*/
|
|
@@ -409,9 +417,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
409
417
|
accessor label: string | undefined;
|
|
410
418
|
/**
|
|
411
419
|
* Point used to position the popup. This is automatically set when viewing the
|
|
412
|
-
* popup by selecting a feature or when calling the [
|
|
420
|
+
* popup by selecting a feature or when calling the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method. If using the Popup to display content not related
|
|
413
421
|
* to features in the map, such as the results from a task, then you must set this
|
|
414
|
-
* property before [
|
|
422
|
+
* property before [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) the popup.
|
|
415
423
|
*
|
|
416
424
|
* @example
|
|
417
425
|
* ```js
|
|
@@ -460,15 +468,19 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
460
468
|
/**
|
|
461
469
|
* Indicates whether the component is visible. This property is `true` when the component is querying for results, even if it is not open. Use this property to check if the component is visible.
|
|
462
470
|
*
|
|
471
|
+
* When setting the [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) directly, it is recommended to call [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#clear) before setting `open` to `true` to remove any existing promises, features, heading, location, and content from the component. Otherwise, the old content will display.
|
|
472
|
+
*
|
|
463
473
|
* @default false
|
|
464
474
|
* @see [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures)
|
|
465
|
-
* @see [active](https://developers.arcgis.com/javascript/latest/
|
|
475
|
+
* @see [active](https://developers.arcgis.com/javascript/latest/references/core/widgets/Features/FeaturesViewModel/#active)
|
|
476
|
+
* @see [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#clear)
|
|
466
477
|
* @since 5.0
|
|
467
478
|
* @example
|
|
468
479
|
* ```js
|
|
469
480
|
* // Listen for clicks on the view and open the component at the clicked location with custom content.
|
|
470
481
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
471
482
|
* const { mapPoint } = event.detail;
|
|
483
|
+
* component.clear();
|
|
472
484
|
* component.location = mapPoint;
|
|
473
485
|
* component.heading = "You clicked here";
|
|
474
486
|
* component.content = "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3);
|
|
@@ -481,9 +493,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
481
493
|
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
482
494
|
* no pending promises, the value is `null`. When the pending promises are
|
|
483
495
|
* resolved they are removed from this array and the features they return
|
|
484
|
-
* are pushed into the [features](
|
|
496
|
+
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) array.
|
|
485
497
|
*/
|
|
486
|
-
accessor promises: Array<Promise<Array<
|
|
498
|
+
accessor promises: Array<Promise<Array<Graphic>>>;
|
|
487
499
|
/**
|
|
488
500
|
* 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.
|
|
489
501
|
*
|
|
@@ -492,22 +504,22 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
492
504
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
493
505
|
/**
|
|
494
506
|
* The feature that the component has drilled into.
|
|
495
|
-
* This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/
|
|
507
|
+
* This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/) or [utility network](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/) element.
|
|
496
508
|
*/
|
|
497
509
|
get selectedDrillInFeature(): Graphic | null | undefined;
|
|
498
510
|
/**
|
|
499
511
|
* The selected feature accessed by the popup. The content of the Popup is
|
|
500
|
-
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
512
|
+
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to
|
|
501
513
|
* this feature.
|
|
502
514
|
*/
|
|
503
|
-
get selectedFeature():
|
|
515
|
+
get selectedFeature(): Graphic | null;
|
|
504
516
|
/**
|
|
505
517
|
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) that the Popup is using.
|
|
506
518
|
* This is useful if needing to get a reference to the component in order to make any changes to it.
|
|
507
519
|
*/
|
|
508
520
|
get selectedFeatureComponent(): ArcgisFeature | null;
|
|
509
521
|
/**
|
|
510
|
-
* Index of the feature that is [
|
|
522
|
+
* Index of the feature that is [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature). When [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) are set,
|
|
511
523
|
* the first index is automatically selected.
|
|
512
524
|
*/
|
|
513
525
|
accessor selectedFeatureIndex: number;
|
|
@@ -526,7 +538,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
526
538
|
*/
|
|
527
539
|
accessor topLayerDisabled: boolean;
|
|
528
540
|
/**
|
|
529
|
-
* Indicates whether to update the [location](
|
|
541
|
+
* Indicates whether to update the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex) changes.
|
|
530
542
|
*
|
|
531
543
|
* @default false
|
|
532
544
|
* @since 5.0
|
|
@@ -538,14 +550,14 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
538
550
|
*/
|
|
539
551
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
540
552
|
/**
|
|
541
|
-
* Removes all [promises](
|
|
542
|
-
* [heading](
|
|
553
|
+
* Removes all [promises](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#promises), [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features), [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content),
|
|
554
|
+
* [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) and [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) from the Popup.
|
|
543
555
|
*/
|
|
544
556
|
clear(): Promise<void>;
|
|
545
557
|
/** Permanently destroy the component. */
|
|
546
558
|
destroy(): Promise<void>;
|
|
547
559
|
/**
|
|
548
|
-
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/
|
|
560
|
+
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) based on the input event's screen coordinates.
|
|
549
561
|
*
|
|
550
562
|
* @param screenPoint
|
|
551
563
|
* @param options
|
|
@@ -576,20 +588,20 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
576
588
|
/**
|
|
577
589
|
* Selects the feature at the next index in relation to the selected feature.
|
|
578
590
|
*
|
|
579
|
-
* @see [selectedFeatureIndex](
|
|
591
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex)
|
|
580
592
|
*/
|
|
581
593
|
next(): Promise<FeaturesViewModel>;
|
|
582
594
|
/**
|
|
583
595
|
* Selects the feature at the previous index in relation to the selected feature.
|
|
584
596
|
*
|
|
585
|
-
* @see [selectedFeatureIndex](
|
|
597
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex)
|
|
586
598
|
*/
|
|
587
599
|
previous(): Promise<FeaturesViewModel>;
|
|
588
600
|
/** Use this method to give focus to the component if the component is able to be focused. */
|
|
589
601
|
setFocus(): Promise<void>;
|
|
590
602
|
/**
|
|
591
|
-
* Triggers the [arcgisTriggerAction](
|
|
592
|
-
* at the specified index in the [actions](
|
|
603
|
+
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction) event and executes the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions)
|
|
604
|
+
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) array.
|
|
593
605
|
*
|
|
594
606
|
* @param action
|
|
595
607
|
*/
|
|
@@ -603,9 +615,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
603
615
|
* Fires after the user clicks on an action in the Popup component.
|
|
604
616
|
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
605
617
|
*
|
|
606
|
-
* @see [actions](
|
|
607
|
-
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/
|
|
608
|
-
* @see [open
|
|
618
|
+
* @see [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions)
|
|
619
|
+
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions)
|
|
620
|
+
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open)
|
|
609
621
|
* @example
|
|
610
622
|
* ```js
|
|
611
623
|
* // Fires each time an action is clicked
|