@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,51 +1,56 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { usePropertyChange as
|
|
6
|
-
import { u as
|
|
2
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as v, html as c } from "lit";
|
|
4
|
+
import { LitElement as b, createEvent as x, nothing as y, safeClassMap as M } from "@arcgis/lumina";
|
|
5
|
+
import { usePropertyChange as k } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
7
7
|
import { m as z } from "../../chunks/useViewModel.js";
|
|
8
|
-
import { b as
|
|
9
|
-
import { g } from "../../chunks/globalCss.js";
|
|
10
|
-
import { V as
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import { A as
|
|
16
|
-
import { g as A, a as C, b as
|
|
17
|
-
const
|
|
18
|
-
var
|
|
19
|
-
for (var
|
|
20
|
-
(d =
|
|
21
|
-
return
|
|
8
|
+
import { b as V } from "../../chunks/async-utils.js";
|
|
9
|
+
import { g as p } from "../../chunks/globalCss.js";
|
|
10
|
+
import { V as g } from "../../chunks/visible-element.js";
|
|
11
|
+
import S from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
12
|
+
import { property as n, subclass as $ } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
|
+
import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
|
+
import _ from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
15
|
+
import { A as U } from "../../chunks/AnalysisViewModel.js";
|
|
16
|
+
import { g as A, a as C, b as m, r as E, m as h, c as D } from "../../chunks/measurementUtils.js";
|
|
17
|
+
const j = v`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--arcgis-internal-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{.esri-widget--panel{min-width:0}}`;
|
|
18
|
+
var P = Object.defineProperty, L = Object.getOwnPropertyDescriptor, o = (t, e, l, s) => {
|
|
19
|
+
for (var i = s > 1 ? void 0 : s ? L(e, l) : e, a = t.length - 1, d; a >= 0; a--)
|
|
20
|
+
(d = t[a]) && (i = (s ? d(e, l, i) : d(i)) || i);
|
|
21
|
+
return s && i && P(e, l, i), i;
|
|
22
22
|
};
|
|
23
|
-
let
|
|
23
|
+
let r = class extends U {
|
|
24
24
|
constructor() {
|
|
25
|
-
super(...arguments), this.supportedViewType = "2d", this.unsupportedErrorMessage = "The Area Measurement 2D component is only supported in 2D views.", this.shouldForceInteractive = !1;
|
|
25
|
+
super(...arguments), this.snappingOptions = new _(), this.supportedViewType = "2d", this.unsupportedErrorMessage = "The Area Measurement 2D component is only supported in 2D views.", this.shouldForceInteractive = !1;
|
|
26
26
|
}
|
|
27
27
|
initialize() {
|
|
28
|
-
this.addHandles(
|
|
29
|
-
|
|
28
|
+
this.addHandles([
|
|
29
|
+
u(
|
|
30
30
|
() => ({
|
|
31
31
|
analysis: this.analysis,
|
|
32
|
-
unit: this.
|
|
32
|
+
unit: this._userUnit
|
|
33
33
|
}),
|
|
34
|
-
({ analysis:
|
|
35
|
-
e && (
|
|
34
|
+
({ analysis: t, unit: e }) => {
|
|
35
|
+
e && (t.unit = e);
|
|
36
|
+
},
|
|
37
|
+
{ sync: !0, initial: !0 }
|
|
38
|
+
),
|
|
39
|
+
u(
|
|
40
|
+
() => ({
|
|
41
|
+
analysisView: this.analysisView,
|
|
42
|
+
snappingOptions: this.snappingOptions
|
|
43
|
+
}),
|
|
44
|
+
({ analysisView: t, snappingOptions: e }) => {
|
|
45
|
+
t && "snappingOptions" in t && (t.snappingOptions = e);
|
|
36
46
|
},
|
|
37
47
|
{ sync: !0, initial: !0 }
|
|
38
48
|
)
|
|
39
|
-
);
|
|
49
|
+
]);
|
|
40
50
|
}
|
|
41
51
|
get state() {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
disabled: this.disabled,
|
|
45
|
-
ready: this.ready,
|
|
46
|
-
operationState: this.operationState,
|
|
47
|
-
valid: this.analysis.valid
|
|
48
|
-
});
|
|
52
|
+
const { analysis: t, disabled: e, operationState: l, ready: s, supported: i } = this, { valid: a } = t;
|
|
53
|
+
return A({ supported: i, disabled: e, ready: s, operationState: l, valid: a });
|
|
49
54
|
}
|
|
50
55
|
get displayState() {
|
|
51
56
|
return C(this.state, !!this.analysis.geometry);
|
|
@@ -53,77 +58,69 @@ let i = class extends S {
|
|
|
53
58
|
get measurement() {
|
|
54
59
|
return {
|
|
55
60
|
mode: this.analysisView?.result?.mode ?? "euclidean",
|
|
56
|
-
area:
|
|
57
|
-
perimeter:
|
|
61
|
+
area: m(this.analysis.valid ? this.analysisView?.result?.area : void 0),
|
|
62
|
+
perimeter: m(this.analysis.valid ? this.analysisView?.result?.perimeter : void 0)
|
|
58
63
|
};
|
|
59
64
|
}
|
|
60
65
|
get unitOptions() {
|
|
61
|
-
|
|
62
|
-
return e && e.length > 0 ? e : m.slice();
|
|
66
|
+
return E(this._userUnitOptions, h, h);
|
|
63
67
|
}
|
|
64
|
-
set unitOptions(
|
|
65
|
-
this._userUnitOptions =
|
|
68
|
+
set unitOptions(t) {
|
|
69
|
+
this._userUnitOptions = t;
|
|
66
70
|
}
|
|
67
71
|
get unit() {
|
|
68
|
-
|
|
69
|
-
if (e && t.includes(e))
|
|
70
|
-
return e;
|
|
71
|
-
const o = this._defaultUnit;
|
|
72
|
-
return o && t.includes(o) ? o : t[0];
|
|
73
|
-
}
|
|
74
|
-
set unit(e) {
|
|
75
|
-
this._userUnit = e;
|
|
72
|
+
return D(this._userUnit, this.analysis.unit, this.unitOptions, this.defaultMeasurementSystem);
|
|
76
73
|
}
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
set unit(t) {
|
|
75
|
+
this._userUnit = t;
|
|
79
76
|
}
|
|
80
|
-
async place(
|
|
81
|
-
this.analysisView && (await this.analysisView.place(
|
|
77
|
+
async place(t) {
|
|
78
|
+
this.analysisView && (await this.analysisView.place(t), this.analysisView.interactive = !0);
|
|
82
79
|
}
|
|
83
80
|
clearAnalysis() {
|
|
84
81
|
this.analysis.geometry = null;
|
|
85
82
|
}
|
|
86
83
|
constructAnalysis() {
|
|
87
|
-
return new
|
|
84
|
+
return new S();
|
|
88
85
|
}
|
|
89
86
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
],
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
],
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
],
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
],
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
],
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
],
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
],
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
],
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
],
|
|
117
|
-
const
|
|
118
|
-
class
|
|
87
|
+
o([
|
|
88
|
+
n({ readOnly: !0 })
|
|
89
|
+
], r.prototype, "state", 1);
|
|
90
|
+
o([
|
|
91
|
+
n({ readOnly: !0 })
|
|
92
|
+
], r.prototype, "displayState", 1);
|
|
93
|
+
o([
|
|
94
|
+
n()
|
|
95
|
+
], r.prototype, "measurement", 1);
|
|
96
|
+
o([
|
|
97
|
+
n({ type: _ })
|
|
98
|
+
], r.prototype, "snappingOptions", 2);
|
|
99
|
+
o([
|
|
100
|
+
n()
|
|
101
|
+
], r.prototype, "unitOptions", 1);
|
|
102
|
+
o([
|
|
103
|
+
n()
|
|
104
|
+
], r.prototype, "_userUnitOptions", 2);
|
|
105
|
+
o([
|
|
106
|
+
n()
|
|
107
|
+
], r.prototype, "unit", 1);
|
|
108
|
+
o([
|
|
109
|
+
n()
|
|
110
|
+
], r.prototype, "_userUnit", 2);
|
|
111
|
+
r = o([
|
|
112
|
+
$("components.area-measurement-2d.AreaMeasurement2dViewModel")
|
|
113
|
+
], r);
|
|
114
|
+
const B = z(r);
|
|
115
|
+
class T extends b {
|
|
119
116
|
constructor() {
|
|
120
|
-
super(...arguments), this.viewModel =
|
|
117
|
+
super(...arguments), this.viewModel = B(this), this.messages = O({ name: "area-measurement-2d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-area", this.snappingOptions = this.viewModel.snappingOptions, this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = k()("analysis", "state"), this.arcgisReady = x();
|
|
121
118
|
}
|
|
122
119
|
static {
|
|
123
|
-
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, state: 32, unit: 1, unitOptions: 0 };
|
|
120
|
+
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, snappingOptions: 0, state: 32, unit: 1, unitOptions: 0 };
|
|
124
121
|
}
|
|
125
122
|
static {
|
|
126
|
-
this.styles =
|
|
123
|
+
this.styles = j;
|
|
127
124
|
}
|
|
128
125
|
async clear() {
|
|
129
126
|
this.viewModel.clear();
|
|
@@ -132,28 +129,28 @@ class L extends f {
|
|
|
132
129
|
await this.manager.destroy();
|
|
133
130
|
}
|
|
134
131
|
async start() {
|
|
135
|
-
|
|
132
|
+
V(this.viewModel.start());
|
|
136
133
|
}
|
|
137
134
|
render() {
|
|
138
|
-
const { messages:
|
|
139
|
-
return c`<div aria-label=${
|
|
140
|
-
[
|
|
141
|
-
[
|
|
142
|
-
})} role=presentation><arcgis-measurement-content .state=${
|
|
135
|
+
const { messages: e, unit: l, unitOptions: s, viewModel: i } = this, { measurement: a, state: d } = i;
|
|
136
|
+
return c`<div aria-label=${e.componentLabel ?? y} class=${M({
|
|
137
|
+
[p.widget]: !0,
|
|
138
|
+
[p.panel]: !0
|
|
139
|
+
})} role=presentation><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
|
|
143
140
|
{
|
|
144
|
-
title:
|
|
145
|
-
measurement:
|
|
141
|
+
title: e.area,
|
|
142
|
+
measurement: a.area
|
|
146
143
|
},
|
|
147
144
|
{
|
|
148
|
-
title:
|
|
149
|
-
measurement:
|
|
145
|
+
title: e.perimeter,
|
|
146
|
+
measurement: a.perimeter
|
|
150
147
|
}
|
|
151
|
-
]}>${
|
|
152
|
-
this.unit =
|
|
153
|
-
}}></arcgis-unit-select>` })}${
|
|
148
|
+
]}>${g({ hidden: this.hideUnitSelect, children: c`<arcgis-unit-select slot=settings .options=${s} .selectLabel=${e.unit} .value=${l} @arcgisUnitSelectChange=${(w) => {
|
|
149
|
+
this.unit = w.detail;
|
|
150
|
+
}}></arcgis-unit-select>` })}${g({ hidden: this.hideStartButton, children: c`<calcite-button slot=actions .disabled=${d === "unsupported" || d === "disabled"} @click=${this.start}>${e.newMeasurement}</calcite-button>` })}</arcgis-measurement-content></div>`;
|
|
154
151
|
}
|
|
155
152
|
}
|
|
156
|
-
|
|
153
|
+
f("arcgis-area-measurement-2d", T);
|
|
157
154
|
export {
|
|
158
|
-
|
|
155
|
+
T as ArcgisAreaMeasurement2d
|
|
159
156
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AreaMeasurement2DState = "disabled" | "measured" | "measuring" | "ready" | "unsupported";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type AreaMeasurementAnalysis from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
4
|
+
import type { SystemOrAreaUnit } from "@arcgis/core/core/units.js";
|
|
4
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
|
+
import type { AreaMeasurement3DState } from "./types.js";
|
|
6
8
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
9
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
|
-
import type { MeasurementState } from "../../support/measurementUtils.js";
|
|
9
|
-
import type { SystemOrAreaUnit as SystemOrAreaUnit2 } from "@arcgis/core/core/units.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* The Area Measurement 3D component can be added to
|
|
12
|
+
* The Area Measurement 3D component can be added to an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
13
13
|
* component to calculate and display area and perimeter of polygons.
|
|
14
14
|
*
|
|
15
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
16
16
|
*
|
|
17
17
|
* How the area and perimeter are computed depends on the scene's spatial reference and the length of the measured perimeter.
|
|
18
18
|
*
|
|
@@ -31,28 +31,28 @@ import type { SystemOrAreaUnit as SystemOrAreaUnit2 } from "@arcgis/core/core/un
|
|
|
31
31
|
* 2. If the vertices don't form a planar surface, the measurement polygon
|
|
32
32
|
* is projected to a horizontal plane, and area and perimeter are calculated from its geometry.
|
|
33
33
|
*
|
|
34
|
-
* 
|
|
35
35
|
*
|
|
36
36
|
* When the component is active, a horizontal "laser" line is drawn which indicates the height at the current mouse position.
|
|
37
37
|
* This line can help in analyzing the heights of objects relative to each other and the terrain.
|
|
38
38
|
*
|
|
39
39
|
* **Things to consider**
|
|
40
40
|
*
|
|
41
|
-
* * Area Measurement 3D is designed to work in the Scene component. For measurements in the [
|
|
42
|
-
* component, use [
|
|
41
|
+
* * Area Measurement 3D is designed to work in the Scene component. For measurements in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
42
|
+
* component, use [arcgis-area-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-2d/).
|
|
43
43
|
* * Snapping is enabled by default. Holding the `CTRL` key disables it.
|
|
44
44
|
* * Layer types currently supported for snapping are:
|
|
45
|
-
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/
|
|
46
|
-
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/
|
|
47
|
-
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/
|
|
48
|
-
* [WFSLayer](https://developers.arcgis.com/javascript/latest/
|
|
49
|
-
* [CSVLayer](https://developers.arcgis.com/javascript/latest/
|
|
50
|
-
* [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/
|
|
51
|
-
* and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/
|
|
45
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
|
|
46
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) (except Mesh geometries),
|
|
47
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/),
|
|
48
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer/),
|
|
49
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
|
|
50
|
+
* [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/),
|
|
51
|
+
* and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
52
52
|
*
|
|
53
53
|
* **See also**
|
|
54
54
|
*
|
|
55
|
-
* - [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
55
|
+
* - [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/AreaMeasurementAnalysis/)
|
|
56
56
|
* - [Sample - Measurement in 3D](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
57
57
|
* - [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
58
58
|
*
|
|
@@ -60,13 +60,13 @@ import type { SystemOrAreaUnit as SystemOrAreaUnit2 } from "@arcgis/core/core/un
|
|
|
60
60
|
*/
|
|
61
61
|
export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
62
62
|
/**
|
|
63
|
-
* The [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
63
|
+
* The [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/AreaMeasurementAnalysis/)
|
|
64
64
|
* created or modified by the component.
|
|
65
65
|
*
|
|
66
|
-
* When connecting the Area Measurement 3D component to the [
|
|
66
|
+
* When connecting the Area Measurement 3D component to the [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
67
67
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
68
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
69
|
-
* You can then wait for the [AreaMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/
|
|
68
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
69
|
+
* You can then wait for the [AreaMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/AreaMeasurementAnalysisView3D/)
|
|
70
70
|
* to be created before accessing the analysis results.
|
|
71
71
|
*
|
|
72
72
|
* ```js
|
|
@@ -90,7 +90,7 @@ export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
90
90
|
* ```
|
|
91
91
|
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
92
92
|
*
|
|
93
|
-
* Alternatively, a programmatically created [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
93
|
+
* Alternatively, a programmatically created [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/AreaMeasurementAnalysis/)
|
|
94
94
|
* can be provided to the component.
|
|
95
95
|
* Then, the application itself needs to add it to and later remove it from the analyses collection of the Scene component.
|
|
96
96
|
*
|
|
@@ -152,6 +152,7 @@ export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
152
152
|
* Indicates whether the component's visualization is hidden in the view.
|
|
153
153
|
*
|
|
154
154
|
* @default false
|
|
155
|
+
* @since 5.0
|
|
155
156
|
*/
|
|
156
157
|
accessor hideVisualization: boolean;
|
|
157
158
|
/**
|
|
@@ -200,18 +201,18 @@ export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
200
201
|
* * `measuring` - currently measuring
|
|
201
202
|
* * `measured` - measuring has finished
|
|
202
203
|
*/
|
|
203
|
-
get state():
|
|
204
|
+
get state(): AreaMeasurement3DState;
|
|
204
205
|
/**
|
|
205
206
|
* Unit system (imperial, metric) or specific unit used for displaying the area values. Possible values are listed in
|
|
206
|
-
* [unitOptions](
|
|
207
|
+
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/#unitOptions).
|
|
207
208
|
*/
|
|
208
|
-
accessor unit:
|
|
209
|
+
accessor unit: SystemOrAreaUnit;
|
|
209
210
|
/**
|
|
210
211
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
211
212
|
* By default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.
|
|
212
|
-
* Possible [unit](
|
|
213
|
+
* Possible [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/#unit) values can only be a subset of this list.
|
|
213
214
|
*/
|
|
214
|
-
accessor unitOptions: Array<
|
|
215
|
+
accessor unitOptions: Array<SystemOrAreaUnit>;
|
|
215
216
|
/**
|
|
216
217
|
* The view associated with the component.
|
|
217
218
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-area-measurement-3d component will be associated with a map or scene component rather than using the `view` property.
|