@arcgis/map-components 5.0.0-next.4 → 5.0.0-next.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{SIOAS4LN.js → 27BJ66TA.js} +2 -2
- package/dist/cdn/2ATNOSGJ.js +4 -0
- package/dist/cdn/2CEDNMCE.js +4 -0
- package/dist/cdn/{BQJGJY6O.js → 2EPQ3VSF.js} +2 -2
- package/dist/cdn/{ZDV73SRA.js → 2MO5L3AP.js} +2 -2
- package/dist/cdn/2N4REIZO.js +4 -0
- package/dist/cdn/2QGS3T43.js +9 -0
- package/dist/cdn/{DZJMGWFN.js → 36G4AAMR.js} +1 -1
- package/dist/cdn/36NCBDVS.js +4 -0
- package/dist/cdn/3BOPWJ2J.js +4 -0
- package/dist/cdn/{IHCNH2DN.js → 3K543LX3.js} +2 -2
- package/dist/cdn/3PBU27YM.js +4 -0
- package/dist/cdn/44TNCDUD.js +4 -0
- package/dist/cdn/{GX6OS5WM.js → 4AOPO22C.js} +2 -2
- package/dist/cdn/4HVUYPGC.js +4 -0
- package/dist/cdn/{33ZEUWYM.js → 4K5ZV6FY.js} +2 -2
- package/dist/cdn/{FQLBPHYZ.js → 4NZFVGUT.js} +2 -2
- package/dist/cdn/4OTOS4UL.js +4 -0
- package/dist/cdn/{64QCM6E6.js → 4PXFIFNH.js} +2 -2
- package/dist/cdn/4V5KOC23.js +4 -0
- package/dist/cdn/{H626OGEY.js → 55WJNUOO.js} +2 -2
- package/dist/cdn/{LN4NTJE5.js → 5ETCICWT.js} +2 -2
- package/dist/cdn/{ZQDZFMSQ.js → 5PDMDCX6.js} +2 -2
- package/dist/cdn/{4KQASVVE.js → 5QAOPJ6I.js} +2 -2
- package/dist/cdn/5W4YKHN2.js +4 -0
- package/dist/cdn/65723ISV.js +4 -0
- package/dist/cdn/6HO5HTZW.js +4 -0
- package/dist/cdn/{7T7FHAAN.js → 6KVAXBYM.js} +2 -2
- package/dist/cdn/{AZTXI743.js → 6KW2QNWL.js} +2 -2
- package/dist/cdn/{LJXXNHM2.js → 6OTOVHTQ.js} +1 -1
- package/dist/cdn/{JQVETO2T.js → 6QHEKOI2.js} +2 -2
- package/dist/cdn/6S3MGILP.js +4 -0
- package/dist/cdn/{LTRE4ZJ5.js → 6XFNXQ2I.js} +2 -2
- package/dist/cdn/76QYHMOE.js +4 -0
- package/dist/cdn/77A53SLN.js +4 -0
- package/dist/cdn/7AU2JUOY.js +4 -0
- package/dist/cdn/7CW2NN7A.js +4 -0
- package/dist/cdn/{KW3OBSZ5.js → 7DEGVW4R.js} +2 -2
- package/dist/cdn/{3MOQYDDW.js → 7F3UYCBA.js} +2 -2
- package/dist/cdn/{5HDE6VZW.js → 7LIX3DZB.js} +2 -2
- package/dist/cdn/7NUXNMSZ.js +4 -0
- package/dist/cdn/{OWE7LN6J.js → 7Q7SCK5J.js} +2 -2
- package/dist/cdn/7QBOFNTW.js +4 -0
- package/dist/cdn/7VG54G2I.js +4 -0
- package/dist/cdn/7YS5NN3Z.js +4 -0
- package/dist/cdn/{PPNF4MWG.js → 7ZGVUYJP.js} +2 -2
- package/dist/cdn/{HYDF3AIL.js → AKHH7VF2.js} +2 -2
- package/dist/cdn/AKHIL3Z2.js +4 -0
- package/dist/cdn/{KVIACQ62.js → AUTYYQMM.js} +2 -2
- package/dist/cdn/{W26K55Z3.js → B2TQ5S7G.js} +1 -1
- package/dist/cdn/{7CMEKVXO.js → B2UJKVE5.js} +2 -2
- package/dist/cdn/B35XRYXW.js +4 -0
- package/dist/cdn/B6WEOEJ7.js +4 -0
- package/dist/cdn/BEEMIQG2.js +4 -0
- package/dist/cdn/{IZJQ7VXF.js → BFOEULIU.js} +2 -2
- package/dist/cdn/BNDUABH2.js +4 -0
- package/dist/cdn/{MYW4EK3Z.js → BQOEVFWW.js} +2 -2
- package/dist/cdn/BR2ZFE2K.js +4 -0
- package/dist/cdn/{23WG7RNB.js → BRV22BZA.js} +2 -2
- package/dist/cdn/BYPR542V.js +4 -0
- package/dist/cdn/{GS75XXLE.js → BZEOPRHO.js} +2 -2
- package/dist/cdn/C4EGV56K.js +4 -0
- package/dist/cdn/C74NTODX.js +4 -0
- package/dist/cdn/C75F4UKL.js +4 -0
- package/dist/cdn/{IEXJD3D4.js → CDFUQFJM.js} +2 -2
- package/dist/cdn/CE3VXP7J.js +4 -0
- package/dist/cdn/{5E6WEIL7.js → CEEALJMO.js} +2 -2
- package/dist/cdn/CNTSSEZ5.js +4 -0
- package/dist/cdn/CQJQKVXI.js +4 -0
- package/dist/cdn/{EXEKXFQP.js → CV4CIC5Y.js} +1 -1
- package/dist/cdn/CX5NIAHV.js +4 -0
- package/dist/cdn/D2P3KKCI.js +4 -0
- package/dist/cdn/D3IKNDL2.js +4 -0
- package/dist/cdn/{7CFKZWL5.js → DI3HCHWZ.js} +2 -2
- package/dist/cdn/DITKFKLL.js +4 -0
- package/dist/cdn/DKOI4MWB.js +4 -0
- package/dist/cdn/DN2W7PG3.js +4 -0
- package/dist/cdn/{QUY5MCYH.js → DXMGDFRQ.js} +2 -2
- package/dist/cdn/E6KYIV4R.js +4 -0
- package/dist/cdn/ECWXWADJ.js +4 -0
- package/dist/cdn/{IHSOHQXE.js → EOIHWAG7.js} +2 -2
- package/dist/cdn/{NTOKEBO7.js → ES5V3NUU.js} +2 -2
- package/dist/cdn/{ITHKDNIT.js → ESH47TNJ.js} +2 -2
- package/dist/cdn/F5ZRZAAE.js +4 -0
- package/dist/cdn/{5ANKWYXX.js → FHS4RNJ3.js} +2 -2
- package/dist/cdn/{ORQSSCQA.js → FICBFUWH.js} +2 -2
- package/dist/cdn/FKBEGUTR.js +4 -0
- package/dist/cdn/FPMLOSMW.js +4 -0
- package/dist/cdn/FSQJCQIW.js +4 -0
- package/dist/cdn/G32BBVEL.js +4 -0
- package/dist/cdn/G65WHT2A.js +4 -0
- package/dist/cdn/{ELTTDD6I.js → GCQQ4OHJ.js} +2 -2
- package/dist/cdn/{P33VJA5V.js → GFN7ZXX7.js} +2 -2
- package/dist/cdn/GG3YAXJF.js +4 -0
- package/dist/cdn/{ZRPU3SBV.js → GYGR2VEY.js} +2 -2
- package/dist/cdn/{YCQPBQWG.js → H4PK7ZJP.js} +2 -2
- package/dist/cdn/{K6S23FUD.js → HFYPYXFX.js} +2 -2
- package/dist/cdn/{32YGUC2B.js → HNJ6PUKO.js} +2 -2
- package/dist/cdn/HQWZMRMV.js +4 -0
- package/dist/cdn/{X2CAGYVV.js → I6BDZLY3.js} +2 -2
- package/dist/cdn/IA45HET4.js +4 -0
- package/dist/cdn/IEJ4MUR4.js +4 -0
- package/dist/cdn/{5Y6AWZVI.js → IKL7HZUS.js} +1 -1
- package/dist/cdn/IM47GM3F.js +4 -0
- package/dist/cdn/{SNABPZ4O.js → IMS7K7WU.js} +2 -2
- package/dist/cdn/{FBF3422A.js → ISQDT4EK.js} +1 -1
- package/dist/cdn/{K4EQK6CI.js → J2DGIKUF.js} +2 -2
- package/dist/cdn/{TNRR3XIP.js → JFTZP5L6.js} +2 -2
- package/dist/cdn/JGSJHWZK.js +4 -0
- package/dist/cdn/{JTTJ2YTN.js → JM7X2E73.js} +2 -2
- package/dist/cdn/{QTYA6J2M.js → JXDRTYMV.js} +2 -2
- package/dist/cdn/K2SUWIJH.js +4 -0
- package/dist/cdn/KDBOOQMF.js +4 -0
- package/dist/cdn/KJG7MSCA.js +4 -0
- package/dist/cdn/KJUIAYM7.js +4 -0
- package/dist/cdn/KJZBACU6.js +4 -0
- package/dist/cdn/KOCSGOYC.js +4 -0
- package/dist/cdn/{NILWGXLW.js → KQ2VYDWM.js} +2 -2
- package/dist/cdn/KR2SZSB2.js +4 -0
- package/dist/cdn/{PIOIDAJB.js → KXMJ3HB5.js} +2 -2
- package/dist/cdn/KXZ65O4C.js +4 -0
- package/dist/cdn/{4RMNOKZA.js → L5O322WB.js} +2 -2
- package/dist/cdn/{IDPYPTKP.js → LAL5TI52.js} +2 -2
- package/dist/cdn/{XIRC4FZS.js → LCWKGB3D.js} +2 -2
- package/dist/cdn/LD6Y5M5I.js +4 -0
- package/dist/cdn/LKHMTVWS.js +4 -0
- package/dist/cdn/LOUMHZIP.js +4 -0
- package/dist/cdn/LVJL6JHE.js +4 -0
- package/dist/cdn/{DKAOOTL4.js → LW4DZ7TF.js} +2 -2
- package/dist/cdn/M36MFHPX.js +4 -0
- package/dist/cdn/M5QHOE7T.js +4 -0
- package/dist/cdn/MEUUT2BK.js +5 -0
- package/dist/cdn/{25OZNZDG.js → MFUBEWZC.js} +2 -2
- package/dist/cdn/MGODE22Y.js +4 -0
- package/dist/cdn/{QVTN5NUW.js → MKLVYKTY.js} +2 -2
- package/dist/cdn/ML5PUVQE.js +4 -0
- package/dist/cdn/MLMKQ2JA.js +4 -0
- package/dist/cdn/MT5D43EK.js +4 -0
- package/dist/cdn/MUXRCCE5.js +4 -0
- package/dist/cdn/{7NWMMMFI.js → MW4V5NHK.js} +1 -1
- package/dist/cdn/MYUABO2A.js +4 -0
- package/dist/cdn/N4TYVFGG.js +4 -0
- package/dist/cdn/N675YXCY.js +4 -0
- package/dist/cdn/{I33MLFDO.js → NG6XVYKH.js} +2 -2
- package/dist/cdn/{Z3GEIPVJ.js → NIY3ECMQ.js} +2 -2
- package/dist/cdn/{ET53A7BD.js → NPAMGVZO.js} +2 -2
- package/dist/cdn/NSG3IIH4.js +4 -0
- package/dist/cdn/NTDTIYY5.js +4 -0
- package/dist/cdn/{HNTUWDN6.js → NWLH6GKK.js} +2 -2
- package/dist/cdn/NXDWCQBS.js +4 -0
- package/dist/cdn/{P5JD5EAY.js → O56NKDLP.js} +2 -2
- package/dist/cdn/{YHV3NIO3.js → O5RTTELK.js} +1 -1
- package/dist/cdn/O6NSEZ4G.js +4 -0
- package/dist/cdn/{5ENT7TDL.js → OJVYQU32.js} +2 -2
- package/dist/cdn/ORZ2A2TS.js +4 -0
- package/dist/cdn/{PB5PBGVA.js → P3BBDZ5D.js} +2 -2
- package/dist/cdn/P5AVVVAA.js +4 -0
- package/dist/cdn/PIAO5HSJ.js +4 -0
- package/dist/cdn/PIQ2CN2Y.js +4 -0
- package/dist/cdn/PNMVL2DL.js +4 -0
- package/dist/cdn/Q2M2BOUO.js +4 -0
- package/dist/cdn/QGR4IZAG.js +4 -0
- package/dist/cdn/QIBFO4E3.js +4 -0
- package/dist/cdn/QLDQTKSK.js +4 -0
- package/dist/cdn/{7MDHOUFP.js → QMFIKLNT.js} +2 -2
- package/dist/cdn/{XHMPJYVP.js → QNWCGXP3.js} +2 -2
- package/dist/cdn/QWRL4BPF.js +4 -0
- package/dist/cdn/{W5RSFWDM.js → R4DFZKCN.js} +2 -2
- package/dist/cdn/{BU6OEMRF.js → RBBW7J6D.js} +2 -2
- package/dist/cdn/RP4LXL6Q.js +4 -0
- package/dist/cdn/RU5ZSKQZ.js +4 -0
- package/dist/cdn/{AHK5STNI.js → RYTZDIBM.js} +2 -2
- package/dist/cdn/S2URC4FK.js +4 -0
- package/dist/cdn/{DZXKOK24.js → SC4KG3IX.js} +2 -2
- package/dist/cdn/{MJS7QXLQ.js → SIB3V3XX.js} +2 -2
- package/dist/cdn/SIERTKJJ.js +4 -0
- package/dist/cdn/SS4SADM4.js +4 -0
- package/dist/cdn/{VFAQJQEE.js → SULS6DR3.js} +2 -2
- package/dist/cdn/{BKA4G57B.js → T4UJNFRO.js} +2 -2
- package/dist/cdn/{JXRXECOI.js → TAW4OIUQ.js} +2 -2
- package/dist/cdn/{NO7SHMLW.js → TVK2SOVJ.js} +2 -2
- package/dist/cdn/U2D2LAR3.js +4 -0
- package/dist/cdn/U4HCV6GB.js +4 -0
- package/dist/cdn/U74BQYQO.js +4 -0
- package/dist/cdn/{644O2ZN3.js → UEI2JLS3.js} +1 -1
- package/dist/cdn/UIVVHGAI.js +4 -0
- package/dist/cdn/{OMZW5BFB.js → UL2LRBDV.js} +2 -2
- package/dist/cdn/{66ZKQ6QF.js → UM4GBADV.js} +2 -2
- package/dist/cdn/{ZOZJ5PTC.js → UVVLKVLW.js} +2 -2
- package/dist/cdn/UZXHMICC.js +4 -0
- package/dist/cdn/V4VKHZ4S.js +4 -0
- package/dist/cdn/VBN5CO4P.js +4 -0
- package/dist/cdn/VLV5NB6Q.js +4 -0
- package/dist/cdn/{HVROLASF.js → VOTLB32D.js} +2 -2
- package/dist/cdn/VWFD4AQB.js +4 -0
- package/dist/cdn/{QM6B45PL.js → VZ3KHT3N.js} +2 -2
- package/dist/cdn/VZPKTTOO.js +4 -0
- package/dist/cdn/{L6DBLCPT.js → W2R3Y4QV.js} +2 -2
- package/dist/cdn/W56LNTJA.js +4 -0
- package/dist/cdn/WDKMOB34.js +4 -0
- package/dist/cdn/WGK2GBCN.js +4 -0
- package/dist/cdn/{26KAYELZ.js → WHOCSZX6.js} +2 -2
- package/dist/cdn/{55S5XI5F.js → WM4ULAXY.js} +2 -2
- package/dist/cdn/WMJIQCDT.js +4 -0
- package/dist/cdn/WOP7KEWZ.js +4 -0
- package/dist/cdn/{SYIYMPYO.js → WWIM44K7.js} +2 -2
- package/dist/cdn/{3SHRP7XO.js → WXXO2XA6.js} +2 -2
- package/dist/cdn/X2QM22E5.js +4 -0
- package/dist/cdn/{LIOCNLWV.js → X3PY46WQ.js} +2 -2
- package/dist/cdn/X6NCL6RN.js +4 -0
- package/dist/cdn/{33MUHF7N.js → XGIPG3LO.js} +2 -2
- package/dist/cdn/XOBO7HQK.js +4 -0
- package/dist/cdn/{SSF3GGRT.js → XOKJ7JSQ.js} +2 -2
- package/dist/cdn/{MBCS4MR7.js → XSIB2XPF.js} +1 -1
- package/dist/cdn/XXCYAHHF.js +4 -0
- package/dist/cdn/Y3POR6VW.js +4 -0
- package/dist/cdn/{QJD2AOIJ.js → Y4YCXKLY.js} +2 -2
- package/dist/cdn/YCUWNH46.js +4 -0
- package/dist/cdn/YFWDHNCG.js +4 -0
- package/dist/cdn/YMSQMDKG.js +4 -0
- package/dist/cdn/Z2RRTZI6.js +4 -0
- package/dist/cdn/ZC57EFU5.js +4 -0
- package/dist/cdn/ZTIIO2ZR.js +4 -0
- package/dist/cdn/{ASCEZXVS.js → ZYBHQKIW.js} +2 -2
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
- package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
- package/dist/components/arcgis-daylight/customElement.js +154 -157
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +42 -50
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +38 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-editor/customElement.d.ts +29 -7
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +108 -73
- package/dist/components/arcgis-elevation-profile/customElement.js +573 -16
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/index.js +5 -0
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +13 -12
- package/dist/components/arcgis-expand/customElement.js +153 -52
- package/dist/components/arcgis-feature/customElement.d.ts +20 -24
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +29 -14
- package/dist/components/arcgis-features/customElement.js +8 -8
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +4 -4
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -4
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +19 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
- package/dist/components/arcgis-link-chart/customElement.js +22 -27
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +479 -64
- package/dist/components/arcgis-map/customElement.js +28 -33
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +50 -20
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +3 -3
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +66 -11
- package/dist/components/arcgis-scene/customElement.js +25 -30
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +19 -21
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +3 -3
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -3
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +38 -52
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +4 -4
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +18 -2
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +3260 -3124
- package/dist/docs/docs.json +2768 -2485
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +307 -488
- package/dist/docs/web-types.json +929 -963
- package/dist/index.d.ts +39 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +28 -25
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +41 -29
- package/dist/types/preact.d.ts +44 -31
- package/dist/types/preact10.d.ts +47 -33
- package/dist/types/react.d.ts +47 -33
- package/dist/types/stencil.d.ts +41 -29
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/2BCLISGV.js +0 -4
- package/dist/cdn/2E2OTBP3.js +0 -4
- package/dist/cdn/2PQU44IE.js +0 -4
- package/dist/cdn/2TWS5YI6.js +0 -4
- package/dist/cdn/2X4FSJKI.js +0 -9
- package/dist/cdn/2XCV2CMA.js +0 -4
- package/dist/cdn/3CEZU4WQ.js +0 -4
- package/dist/cdn/3OQFJFII.js +0 -4
- package/dist/cdn/4AOQKZRQ.js +0 -4
- package/dist/cdn/4IMJQEWN.js +0 -4
- package/dist/cdn/4OEMJ2SD.js +0 -4
- package/dist/cdn/4XGQ26JG.js +0 -4
- package/dist/cdn/56OWPQVV.js +0 -4
- package/dist/cdn/5D2VWK66.js +0 -4
- package/dist/cdn/5FPDA2I6.js +0 -4
- package/dist/cdn/5FTBHJXN.js +0 -4
- package/dist/cdn/5N7KH7NZ.js +0 -4
- package/dist/cdn/5WLAQODX.js +0 -4
- package/dist/cdn/654H67QV.js +0 -4
- package/dist/cdn/66SUBFJS.js +0 -4
- package/dist/cdn/7BWGDUUQ.js +0 -4
- package/dist/cdn/7FS7KAGQ.js +0 -4
- package/dist/cdn/7UXSP6EE.js +0 -4
- package/dist/cdn/A7VZPANO.js +0 -4
- package/dist/cdn/AHVNWN6T.js +0 -4
- package/dist/cdn/AIJCNZRM.js +0 -4
- package/dist/cdn/ATK4EQ7U.js +0 -4
- package/dist/cdn/AWUVSJ4I.js +0 -4
- package/dist/cdn/B37SLAFV.js +0 -4
- package/dist/cdn/BHEWYFQY.js +0 -4
- package/dist/cdn/BKP4BYDJ.js +0 -4
- package/dist/cdn/BNHSOSCM.js +0 -4
- package/dist/cdn/BRTX4VDL.js +0 -4
- package/dist/cdn/BV332IWQ.js +0 -4
- package/dist/cdn/C6L47PCN.js +0 -4
- package/dist/cdn/CIVNL54M.js +0 -4
- package/dist/cdn/CQCD3WDG.js +0 -4
- package/dist/cdn/CSTMQZDP.js +0 -4
- package/dist/cdn/CXN7GCTD.js +0 -4
- package/dist/cdn/DJZCJD3T.js +0 -4
- package/dist/cdn/EC7NTTMA.js +0 -4
- package/dist/cdn/EFIRKPF3.js +0 -4
- package/dist/cdn/ELKVQQ7D.js +0 -4
- package/dist/cdn/F37SOOSB.js +0 -4
- package/dist/cdn/FAXTY5SS.js +0 -4
- package/dist/cdn/FYE7EKEC.js +0 -4
- package/dist/cdn/G5TZUCV3.js +0 -4
- package/dist/cdn/GJQ7PMB7.js +0 -4
- package/dist/cdn/GQJE5OUE.js +0 -4
- package/dist/cdn/GXI7P7XS.js +0 -4
- package/dist/cdn/H32W2DCZ.js +0 -4
- package/dist/cdn/H756UUMB.js +0 -4
- package/dist/cdn/HIOSPYNQ.js +0 -4
- package/dist/cdn/HQ44YTSF.js +0 -4
- package/dist/cdn/HY6634VN.js +0 -4
- package/dist/cdn/HYWMDLRY.js +0 -4
- package/dist/cdn/IA33VMUG.js +0 -4
- package/dist/cdn/IOOPHFHT.js +0 -4
- package/dist/cdn/J6GKTNWR.js +0 -4
- package/dist/cdn/JJ55OQED.js +0 -4
- package/dist/cdn/JK6DTNWT.js +0 -4
- package/dist/cdn/JLV2VBC5.js +0 -4
- package/dist/cdn/JT75CZUB.js +0 -4
- package/dist/cdn/K4BFKFZ2.js +0 -4
- package/dist/cdn/KDDEVH4U.js +0 -4
- package/dist/cdn/KLTVZHQA.js +0 -4
- package/dist/cdn/KNCA3SKI.js +0 -4
- package/dist/cdn/L5BT6RA6.js +0 -4
- package/dist/cdn/LRUCJZCF.js +0 -4
- package/dist/cdn/LUS46PJS.js +0 -4
- package/dist/cdn/LUU3MMZC.js +0 -4
- package/dist/cdn/LYTR47EO.js +0 -4
- package/dist/cdn/M5YYA3DP.js +0 -4
- package/dist/cdn/MHAOD5LL.js +0 -4
- package/dist/cdn/MRRTLF3Q.js +0 -4
- package/dist/cdn/NCTKCIMH.js +0 -4
- package/dist/cdn/NK7W7H3O.js +0 -4
- package/dist/cdn/NNBM4MJM.js +0 -4
- package/dist/cdn/NVCA4IBX.js +0 -4
- package/dist/cdn/NZP5SLEC.js +0 -4
- package/dist/cdn/OAKEOF5Z.js +0 -4
- package/dist/cdn/OXTE6NQP.js +0 -4
- package/dist/cdn/PN4NYC47.js +0 -4
- package/dist/cdn/PXZVIBO5.js +0 -4
- package/dist/cdn/QI2PIRGR.js +0 -4
- package/dist/cdn/QJKG2O2J.js +0 -4
- package/dist/cdn/QL7ZKKVM.js +0 -4
- package/dist/cdn/QTUINRMA.js +0 -4
- package/dist/cdn/QTX44MPH.js +0 -4
- package/dist/cdn/R2VYYTEB.js +0 -4
- package/dist/cdn/RZTPBL5M.js +0 -5
- package/dist/cdn/S6CCVUTN.js +0 -4
- package/dist/cdn/S6KWWLV3.js +0 -4
- package/dist/cdn/SEUXPSM6.js +0 -4
- package/dist/cdn/SEXAUJM5.js +0 -4
- package/dist/cdn/STJFX7RM.js +0 -4
- package/dist/cdn/SXHYCAIT.js +0 -4
- package/dist/cdn/T54DV4QC.js +0 -4
- package/dist/cdn/TQBIJGQS.js +0 -4
- package/dist/cdn/TYPX5QRF.js +0 -4
- package/dist/cdn/TYQGVZYI.js +0 -4
- package/dist/cdn/UJZ5JH6J.js +0 -4
- package/dist/cdn/V4N5GGFQ.js +0 -4
- package/dist/cdn/VMCP5ODS.js +0 -4
- package/dist/cdn/VPRPVNFB.js +0 -4
- package/dist/cdn/VT6EJ2WP.js +0 -4
- package/dist/cdn/VZHLFLNT.js +0 -4
- package/dist/cdn/WCHCFMJJ.js +0 -4
- package/dist/cdn/WGSCKAJJ.js +0 -4
- package/dist/cdn/WJCYWE3O.js +0 -4
- package/dist/cdn/YCX7GC7L.js +0 -4
- package/dist/cdn/Z2M5WQBL.js +0 -4
- package/dist/cdn/ZAVOAP6R.js +0 -4
- package/dist/cdn/ZB6HNUVW.js +0 -4
- package/dist/cdn/ZGKPCMCL.js +0 -4
- package/dist/cdn/ZWCA7RTD.js +0 -4
- package/dist/cdn/ZYF3EM6X.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/chunks/uiController.js +0 -45
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
- package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
- package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
- package/dist/utils/mapping-utils.d.ts +0 -2
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { html as a } from "lit";
|
|
2
|
+
import { when as c, watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
|
+
import { GenericController as u, useDirection as h, makeGenericController as n } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { getSlotAssignedElements as f } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { a as d } from "./slots.js";
|
|
6
|
+
import { createEvent as l } from "@arcgis/lumina";
|
|
7
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
+
v5.0.0-next.41 */
|
|
10
|
+
class R extends u {
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region Lifecycle
|
|
13
|
+
constructor(o) {
|
|
14
|
+
super(o), this.direction = h(), this.component.listen("arcgisViewClick", (r) => {
|
|
15
|
+
this._handleOpenPopup(r.detail);
|
|
16
|
+
}), this.component.listenOn(globalThis, "unhandledrejection", (r) => {
|
|
17
|
+
if (r.reason?.name === "webgl:required") {
|
|
18
|
+
const { name: e } = r.reason;
|
|
19
|
+
this.webGLError = { name: e };
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region Private Methods
|
|
25
|
+
hostLifecycle() {
|
|
26
|
+
return c(() => this.component.view.popup?.visible, () => {
|
|
27
|
+
this.popupRef?.visible && (this.popupRef.visible = !1);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
openPopup(o) {
|
|
31
|
+
this.popupRef ? this.popupRef.open(o) : this.component.view.openPopup(o);
|
|
32
|
+
}
|
|
33
|
+
closePopup() {
|
|
34
|
+
this.popupRef ? this.popupRef.visible = !1 : this.component.view.closePopup();
|
|
35
|
+
}
|
|
36
|
+
async _handleOpenPopup(o) {
|
|
37
|
+
if (this.popupRef && !this.component.popupDisabled) {
|
|
38
|
+
o.stopPropagation();
|
|
39
|
+
const { location: r, promises: e } = await this.popupRef?.handleViewClick(o);
|
|
40
|
+
e?.length && (this.component.view.closePopup(), this.popupRef?.open({ location: r, promises: e }));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
_handlePopupSlotChange(o) {
|
|
44
|
+
const r = f(o.target, "arcgis-popup");
|
|
45
|
+
!this.popupRef && r.length ? this.popupRef = r[0] : r.length || (this.popupRef = void 0);
|
|
46
|
+
}
|
|
47
|
+
_webGLErrorAlert() {
|
|
48
|
+
return this.webGLError ? a`<calcite-alert icon=x-octagon kind=danger open .label=${this.webGLError.name}><div slot=title>Unable to display map. WebGL2 support is required.</div><div slot=message>Ensure that your browser and hardware meet the minimum requirements.</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>https://esriurl.com/webgl-faq</calcite-link></calcite-alert>` : null;
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region Rendering
|
|
52
|
+
render() {
|
|
53
|
+
return d(this.direction, (o) => this._handlePopupSlotChange(o), this._webGLErrorAlert());
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const L = n((t, o) => {
|
|
57
|
+
const r = l();
|
|
58
|
+
return o.onLifecycle(
|
|
59
|
+
() => p(
|
|
60
|
+
() => {
|
|
61
|
+
const { map: e } = t;
|
|
62
|
+
if (!e || e.destroyed)
|
|
63
|
+
return [];
|
|
64
|
+
const i = [];
|
|
65
|
+
return e.loadError && i.push(e), e.basemap?.loadError && i.push(e.basemap), e.ground.loadError && i.push(e.ground), [...e.allLayers, ...e.allTables].forEach((s) => {
|
|
66
|
+
s.loadError && i.push(s);
|
|
67
|
+
}), i;
|
|
68
|
+
},
|
|
69
|
+
(e) => {
|
|
70
|
+
e.length && (t.loadErrorSources = e, r.emit());
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
), r;
|
|
74
|
+
}), y = n(
|
|
75
|
+
(t, o) => {
|
|
76
|
+
const r = l();
|
|
77
|
+
return o.onLifecycle(
|
|
78
|
+
() => p(
|
|
79
|
+
() => t.view?.readyState,
|
|
80
|
+
(e) => {
|
|
81
|
+
(e === "map-content-error" || e === "rendering-error") && r.emit();
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
), r;
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
export {
|
|
88
|
+
R as U,
|
|
89
|
+
y as a,
|
|
90
|
+
L as u
|
|
91
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toFunction as i, Controller as n } from "@arcgis/lumina/controllers";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.41 */
|
|
5
5
|
class o {
|
|
6
6
|
constructor() {
|
|
7
7
|
this._groups = /* @__PURE__ */ new Map();
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
|
|
|
2
2
|
import { g as t } from "./runtime.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.41 */
|
|
6
6
|
const s = o(t);
|
|
7
7
|
export {
|
|
8
8
|
s as u
|
package/dist/chunks/useView.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as t } from "./component-utils.js";
|
|
|
3
3
|
import * as r from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.41 */
|
|
7
7
|
const p = (o) => l(o);
|
|
8
8
|
class c extends s {
|
|
9
9
|
#e;
|
|
@@ -5,7 +5,7 @@ import { V as m } from "./useView.js";
|
|
|
5
5
|
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.41 */
|
|
9
9
|
const v = (t, o) => (e) => a(e, t);
|
|
10
10
|
class r extends i {
|
|
11
11
|
#o = void 0;
|
package/dist/chunks/useWidget.js
CHANGED
|
@@ -5,7 +5,7 @@ import { V as g } from "./useView.js";
|
|
|
5
5
|
import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.41 */
|
|
9
9
|
const I = (d, e) => (t) => C(t, d);
|
|
10
10
|
class p extends b {
|
|
11
11
|
#o = /* @__PURE__ */ new Map();
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { formatNumber as r } from "@arcgis/core/intl.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
5
|
-
const
|
|
4
|
+
v5.0.0-next.41 */
|
|
5
|
+
const p = /* @__PURE__ */ new Map([
|
|
6
6
|
["a3-landscape", "a3-landscape"],
|
|
7
7
|
["a3-portrait", "a3-portrait"],
|
|
8
8
|
["a4-landscape", "a4-landscape"],
|
|
@@ -12,10 +12,6 @@ const s = /* @__PURE__ */ new Map([
|
|
|
12
12
|
["tabloid-ansi-b-landscape", "ansi-b-landscape"],
|
|
13
13
|
["tabloid-ansi-b-portrait", "ansi-b-portrait"]
|
|
14
14
|
]), u = /^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;
|
|
15
|
-
function d(a) {
|
|
16
|
-
const t = a?.closest("[dir]");
|
|
17
|
-
return t !== null && t instanceof HTMLElement && t.dir === "rtl" || document.dir === "rtl";
|
|
18
|
-
}
|
|
19
15
|
function f(a) {
|
|
20
16
|
if (!a)
|
|
21
17
|
return;
|
|
@@ -25,12 +21,12 @@ function f(a) {
|
|
|
25
21
|
const [e, n] = t.pageSize;
|
|
26
22
|
return `${r(e)} × ${r(n)} ${a.pageUnits}`;
|
|
27
23
|
}
|
|
28
|
-
function
|
|
29
|
-
const { label: e, layout: n, layoutItem:
|
|
30
|
-
return
|
|
24
|
+
function d(a, t) {
|
|
25
|
+
const { label: e, layout: n, layoutItem: i, type: o } = a;
|
|
26
|
+
return o === "print-service-template" && t[n] ? t[n] : (e ?? n ?? i?.id)?.replaceAll("_", " ") ?? t.untitled;
|
|
31
27
|
}
|
|
32
28
|
function g(a) {
|
|
33
|
-
return
|
|
29
|
+
return p.get(a);
|
|
34
30
|
}
|
|
35
31
|
const b = /* @__PURE__ */ new Map([
|
|
36
32
|
["AIX", "aix"],
|
|
@@ -43,16 +39,15 @@ const b = /* @__PURE__ */ new Map([
|
|
|
43
39
|
["SVG", "svg"],
|
|
44
40
|
["SVGZ", "svgz"],
|
|
45
41
|
["TIFF", "tiff"]
|
|
46
|
-
]),
|
|
47
|
-
function
|
|
48
|
-
return a?.toLowerCase() ===
|
|
42
|
+
]), s = "map-only";
|
|
43
|
+
function m(a) {
|
|
44
|
+
return a?.toLowerCase() === s;
|
|
49
45
|
}
|
|
50
46
|
export {
|
|
51
|
-
|
|
47
|
+
d as a,
|
|
52
48
|
g as b,
|
|
53
|
-
d as c,
|
|
54
49
|
b as f,
|
|
55
50
|
f as g,
|
|
56
|
-
|
|
51
|
+
m as i,
|
|
57
52
|
u as r
|
|
58
53
|
};
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -2,7 +2,7 @@ import { substitute as o, formatNumber as l } from "@arcgis/core/intl.js";
|
|
|
2
2
|
import { stripHTML as s } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.41 */
|
|
6
6
|
function d(r, t) {
|
|
7
7
|
return t;
|
|
8
8
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as AreaMeasurementAnalysis } from '@arcgis/core/analysis/AreaMeasurementAnalysis.js';
|
|
2
|
+
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
3
|
+
import { AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
4
|
+
import { Area, Length, MeasurementModeString, MeasurementState, MeasurementValue, SystemOrAreaUnit } from '../../support/measurementUtils';
|
|
5
|
+
export interface Measurement {
|
|
6
|
+
readonly mode: MeasurementModeString;
|
|
7
|
+
readonly area: MeasurementValue<Area>;
|
|
8
|
+
readonly perimeter: MeasurementValue<Length>;
|
|
9
|
+
}
|
|
10
|
+
export type State = Exclude<MeasurementState, "unsupported">;
|
|
11
|
+
export default class AreaMeasurement2dViewModel extends AnalysisViewModel<MapView, AreaMeasurementAnalysis> {
|
|
12
|
+
initialize(): void;
|
|
13
|
+
get state(): MeasurementState;
|
|
14
|
+
/**
|
|
15
|
+
* The current measurement.
|
|
16
|
+
*/
|
|
17
|
+
get measurement(): Measurement;
|
|
18
|
+
/**
|
|
19
|
+
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
20
|
+
*/
|
|
21
|
+
get unitOptions(): SystemOrAreaUnit[];
|
|
22
|
+
set unitOptions(units: SystemOrAreaUnit[] | undefined);
|
|
23
|
+
private _userUnitOptions?;
|
|
24
|
+
/**
|
|
25
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
26
|
+
*/
|
|
27
|
+
get unit(): SystemOrAreaUnit;
|
|
28
|
+
set unit(unit: SystemOrAreaUnit | undefined);
|
|
29
|
+
private _userUnit?;
|
|
30
|
+
private get _defaultUnit();
|
|
31
|
+
place(options?: {
|
|
32
|
+
signal?: AbortSignal;
|
|
33
|
+
}): Promise<void>;
|
|
34
|
+
protected clearAnalysis(): void;
|
|
35
|
+
protected readonly supportedViewType = "2d";
|
|
36
|
+
protected readonly unsupportedErrorMessage = "The Area Measurement 2D component is only supported in 2D views.";
|
|
37
|
+
protected constructAnalysis(): AreaMeasurementAnalysis;
|
|
38
|
+
protected shouldForceInteractive: boolean;
|
|
39
|
+
}
|
|
@@ -1,37 +1,20 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
|
-
import {
|
|
4
|
-
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { Use } from '@arcgis/lumina/controllers';
|
|
6
5
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
6
|
+
import { default as AreaMeasurement2dViewModel } from './AreaMeasurement2dViewModel';
|
|
7
7
|
|
|
8
|
-
declare const
|
|
9
|
-
viewModel: __esri.Accessor;
|
|
10
|
-
}, "icon" | "label" | "viewModel" | "snappingOptions" | "unit" | "unitOptions"> & {
|
|
11
|
-
state?: unknown;
|
|
12
|
-
viewModel?: (__esri.AreaMeasurement2DViewModel & __esri.Accessor) | undefined;
|
|
13
|
-
closed?: boolean;
|
|
14
|
-
icon: import('@arcgis/toolkit/type').nil | string;
|
|
15
|
-
label: import('@arcgis/toolkit/type').nil | string;
|
|
16
|
-
referenceElement?: ArcgisReferenceElement | string;
|
|
17
|
-
position?: __esri.UIPosition;
|
|
18
|
-
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
19
|
-
arcgisPropertyChange: import('@arcgis/lumina').EventEmitter<{
|
|
20
|
-
name: string;
|
|
21
|
-
}> | undefined;
|
|
22
|
-
el: HTMLElement & {
|
|
23
|
-
childElem?: HTMLElement & {
|
|
24
|
-
ownedBy?: HTMLElement;
|
|
25
|
-
};
|
|
26
|
-
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nullish;
|
|
27
|
-
};
|
|
28
|
-
autoDestroyDisabled: boolean;
|
|
29
|
-
destroy: () => Promise<void>;
|
|
30
|
-
}) => AreaMeasurement2D & {
|
|
31
|
-
viewModel: __esri.Accessor;
|
|
32
|
-
};
|
|
8
|
+
declare const useViewModel: (component: LitElement & Pick<AreaMeasurement2dViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<AreaMeasurement2dViewModel>) => AreaMeasurement2dViewModel;
|
|
33
9
|
/**
|
|
34
|
-
* The Area Measurement 2D component
|
|
10
|
+
* The Area Measurement 2D component can be added to a [Map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
11
|
+
* component to calculate and display the area and perimeter of a polygon.
|
|
12
|
+
*
|
|
13
|
+
* How areas and perimeters are computed depends on the map's spatial reference.
|
|
14
|
+
*
|
|
15
|
+
* In **geographic coordinate systems** (GCS), and in **Web Mercator**, areas and perimeters are computed geodetically, taking into consideration the curvature of the planet.
|
|
16
|
+
*
|
|
17
|
+
* In **projected coordinate systems** (PCS), apart from Web Mercator, areas and perimeters are computed in a Euclidean manner (in their respective PCS).
|
|
35
18
|
*
|
|
36
19
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-2d/)
|
|
37
20
|
*
|
|
@@ -40,9 +23,50 @@ declare const useAreaMeasurement2dWidget: (component: LitElement & Pick<AreaMeas
|
|
|
40
23
|
export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
41
24
|
/**
|
|
42
25
|
* The view associated with the component.
|
|
43
|
-
* > **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
|
|
26
|
+
* > **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 Area Measurement 2D component will be associated with a map or scene component rather than using the `view` property.
|
|
27
|
+
*/
|
|
28
|
+
view?: __esri.MapView | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html)
|
|
31
|
+
* created or modified by the component.
|
|
32
|
+
*
|
|
33
|
+
* When connecting the Area Measurement 2D component to the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
34
|
+
* component, it automatically creates an empty analysis and adds it to the Map's
|
|
35
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#analyses) collection.
|
|
36
|
+
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
37
|
+
*
|
|
38
|
+
* Alternatively, a programmatically created analysis can be provided to the component.
|
|
39
|
+
* Then, the application itself needs to add it to and later remove it from the Map's analyses collection.
|
|
40
|
+
*
|
|
41
|
+
* ```js
|
|
42
|
+
* // Create the analysis.
|
|
43
|
+
* const areaMeasurementAnalysis = new AreaMeasurementAnalysis({
|
|
44
|
+
* geometry: new Polygon({
|
|
45
|
+
* rings: [
|
|
46
|
+
* [
|
|
47
|
+
* [-80.208889, 25.775278], // Maimi, Florida
|
|
48
|
+
* [-64.782, 32.293], // Hamilton, Bermuda
|
|
49
|
+
* [-66.063889, 18.406389], // San Juan, Puerto Rico
|
|
50
|
+
* [-80.208889, 25.775278], // Maimi, Florida
|
|
51
|
+
* ],
|
|
52
|
+
* ],
|
|
53
|
+
* }),
|
|
54
|
+
* });
|
|
55
|
+
*
|
|
56
|
+
* // Get the Map and measurement component and wait until they are ready.
|
|
57
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
58
|
+
* await viewElement.viewOnReady();
|
|
59
|
+
* const areaMeasurement2d = document.querySelector("arcgis-area-measurement-2d");
|
|
60
|
+
* await areaMeasurement2d.componentOnReady();
|
|
61
|
+
*
|
|
62
|
+
* // Add the analysis to the Map component.
|
|
63
|
+
* viewElement.analyses.add(areaMeasurementAnalysis);
|
|
64
|
+
*
|
|
65
|
+
* // Connect the analysis to the measurement component:
|
|
66
|
+
* areaMeasurement2d.analysis = areaMeasurementAnalysis;
|
|
67
|
+
* ```
|
|
44
68
|
*/
|
|
45
|
-
|
|
69
|
+
analysis: __esri.AreaMeasurementAnalysis;
|
|
46
70
|
/**
|
|
47
71
|
* If true, the component will not be destroyed automatically when it is
|
|
48
72
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -60,14 +84,10 @@ export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
60
84
|
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
61
85
|
* @default "measure-area"
|
|
62
86
|
*/
|
|
63
|
-
icon
|
|
64
|
-
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#label)
|
|
68
|
-
*/
|
|
69
|
-
label: string;
|
|
70
|
-
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
87
|
+
icon?: HTMLCalciteIconElement["icon"];
|
|
88
|
+
/** The component's default label. */
|
|
89
|
+
label?: string;
|
|
90
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
71
91
|
position?: __esri.UIPosition;
|
|
72
92
|
/**
|
|
73
93
|
* 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.
|
|
@@ -76,30 +96,26 @@ export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
76
96
|
*/
|
|
77
97
|
referenceElement?: ArcgisReferenceElement | string;
|
|
78
98
|
/**
|
|
79
|
-
* The
|
|
99
|
+
* The component's state. The values mean the following:
|
|
80
100
|
*
|
|
81
|
-
*
|
|
101
|
+
* * `disabled` - not ready yet
|
|
102
|
+
* * `ready` - ready for measuring
|
|
103
|
+
* * `measuring` - currently measuring
|
|
104
|
+
* * `measured` - measuring has finished
|
|
82
105
|
*/
|
|
83
|
-
|
|
106
|
+
readonly state: import('../../support/measurementUtils').MeasurementState;
|
|
84
107
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* @default "disabled"
|
|
88
|
-
*/
|
|
89
|
-
readonly state: "ready" | "disabled" | "measured" | "measuring";
|
|
90
|
-
/**
|
|
91
|
-
* Unit system (imperial, metric) or specific unit used for displaying the area values.
|
|
92
|
-
*
|
|
93
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#unit)
|
|
108
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
109
|
+
* [unitOptions](#unitOptions).
|
|
94
110
|
*/
|
|
95
111
|
unit: __esri.SystemOrAreaUnit;
|
|
96
112
|
/**
|
|
97
|
-
* List of available units and unit systems (imperial, metric)
|
|
98
|
-
*
|
|
99
|
-
* [
|
|
113
|
+
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
114
|
+
* 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`.
|
|
115
|
+
* Possible [unit](#unit) values can only be a subset of this list.
|
|
100
116
|
*/
|
|
101
117
|
unitOptions: __esri.SystemOrAreaUnit[];
|
|
102
|
-
/**
|
|
118
|
+
/** Clears the current measurement. */
|
|
103
119
|
clear(): Promise<void>;
|
|
104
120
|
/** Permanently destroy the component. */
|
|
105
121
|
destroy(): Promise<void>;
|
|
@@ -107,7 +123,7 @@ export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
107
123
|
start(): Promise<void>;
|
|
108
124
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
109
125
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
110
|
-
name: "state";
|
|
126
|
+
name: "analysis" | "state";
|
|
111
127
|
}>;
|
|
112
128
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
113
129
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
@@ -1,37 +1,149 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { usePropertyChange as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as h, html as _ } from "lit";
|
|
3
|
+
import { LitElement as w, createEvent as f, nothing as v, safeClassMap as b } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as x } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
6
|
+
import { m as k } from "../../chunks/useViewModel.js";
|
|
7
|
+
import { g as c } from "../../chunks/globalCss.js";
|
|
8
|
+
import z from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
9
|
+
import { getDefaultUnitForView as M } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
10
|
+
import { property as n, subclass as O } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
11
|
+
import { watch as V } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
|
+
import { A as $ } from "../../chunks/AnalysisViewModel.js";
|
|
13
|
+
import { g, a as p } from "../../chunks/measurementUtils.js";
|
|
14
|
+
import { b as A } from "../../chunks/async-utils.js";
|
|
7
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
16
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
);
|
|
14
|
-
|
|
17
|
+
v5.0.0-next.41 */
|
|
18
|
+
const U = h`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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(--esri-widget-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(--esri-widget-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}}`;
|
|
19
|
+
var C = Object.defineProperty, D = Object.getOwnPropertyDescriptor, s = (e, t, r, l) => {
|
|
20
|
+
for (var o = l > 1 ? void 0 : l ? D(t, r) : t, d = e.length - 1, a; d >= 0; d--)
|
|
21
|
+
(a = e[d]) && (o = (l ? a(t, r, o) : a(o)) || o);
|
|
22
|
+
return l && o && C(t, r, o), o;
|
|
23
|
+
};
|
|
24
|
+
let i = class extends $ {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments), this.supportedViewType = "2d", this.unsupportedErrorMessage = "The Area Measurement 2D component is only supported in 2D views.", this.shouldForceInteractive = !1;
|
|
27
|
+
}
|
|
28
|
+
initialize() {
|
|
29
|
+
this.addHandles(
|
|
30
|
+
V(
|
|
31
|
+
() => ({
|
|
32
|
+
analysis: this.analysis,
|
|
33
|
+
unit: this.unit
|
|
34
|
+
}),
|
|
35
|
+
({ analysis: e, unit: t }) => {
|
|
36
|
+
e && (e.unit = t);
|
|
37
|
+
},
|
|
38
|
+
{ sync: !0, initial: !0 }
|
|
39
|
+
)
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
get state() {
|
|
43
|
+
return this.supported ? this.disabled ? "disabled" : this.operationState === "inactive" && !this.analysis.valid ? "ready" : this.analysis.valid ? "measured" : "measuring" : "unsupported";
|
|
44
|
+
}
|
|
45
|
+
get measurement() {
|
|
46
|
+
return {
|
|
47
|
+
mode: this.analysisView?.result?.mode ?? "euclidean",
|
|
48
|
+
area: g(this.analysis.valid ? this.analysisView?.result?.area : void 0),
|
|
49
|
+
perimeter: g(this.analysis.valid ? this.analysisView?.result?.perimeter : void 0)
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
get unitOptions() {
|
|
53
|
+
const e = this._userUnitOptions?.filter((t) => p.includes(t));
|
|
54
|
+
return e && e.length > 0 ? e : p.slice();
|
|
55
|
+
}
|
|
56
|
+
set unitOptions(e) {
|
|
57
|
+
this._userUnitOptions = e;
|
|
58
|
+
}
|
|
59
|
+
get unit() {
|
|
60
|
+
const e = this._userUnit ?? this.analysis.unit, t = this.unitOptions;
|
|
61
|
+
if (e && t.includes(e))
|
|
62
|
+
return e;
|
|
63
|
+
const r = this._defaultUnit;
|
|
64
|
+
return r && t.includes(r) ? r : t[0];
|
|
65
|
+
}
|
|
66
|
+
set unit(e) {
|
|
67
|
+
this._userUnit = e;
|
|
68
|
+
}
|
|
69
|
+
get _defaultUnit() {
|
|
70
|
+
return this.view ? M(this.view) : void 0;
|
|
71
|
+
}
|
|
72
|
+
async place(e) {
|
|
73
|
+
this.analysisView && (await this.analysisView.place(e), this.analysisView.interactive = !0);
|
|
74
|
+
}
|
|
75
|
+
clearAnalysis() {
|
|
76
|
+
this.analysis.geometry = null;
|
|
77
|
+
}
|
|
78
|
+
constructAnalysis() {
|
|
79
|
+
return new z();
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
s([
|
|
83
|
+
n()
|
|
84
|
+
], i.prototype, "state", 1);
|
|
85
|
+
s([
|
|
86
|
+
n()
|
|
87
|
+
], i.prototype, "measurement", 1);
|
|
88
|
+
s([
|
|
89
|
+
n()
|
|
90
|
+
], i.prototype, "unitOptions", 1);
|
|
91
|
+
s([
|
|
92
|
+
n()
|
|
93
|
+
], i.prototype, "_userUnitOptions", 2);
|
|
94
|
+
s([
|
|
95
|
+
n()
|
|
96
|
+
], i.prototype, "unit", 1);
|
|
97
|
+
s([
|
|
98
|
+
n()
|
|
99
|
+
], i.prototype, "_userUnit", 2);
|
|
100
|
+
s([
|
|
101
|
+
n()
|
|
102
|
+
], i.prototype, "_defaultUnit", 1);
|
|
103
|
+
i = s([
|
|
104
|
+
O("components.area-measurement-2d.AreaMeasurement2dViewModel")
|
|
105
|
+
], i);
|
|
106
|
+
const E = "arcgis-area-measurement-2d", j = { base: E }, P = k(i);
|
|
107
|
+
class L extends w {
|
|
15
108
|
constructor() {
|
|
16
|
-
super(...arguments), this.
|
|
109
|
+
super(...arguments), this.viewModel = P(this), this.messages = y({ name: "area-measurement-2d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-area", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = x()("analysis", "state"), this.arcgisReady = f();
|
|
17
110
|
}
|
|
18
111
|
static {
|
|
19
|
-
this.properties = { view: 0, autoDestroyDisabled: 5, icon:
|
|
112
|
+
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 35, unit: 1, unitOptions: 0 };
|
|
20
113
|
}
|
|
21
114
|
static {
|
|
22
|
-
this.styles =
|
|
115
|
+
this.styles = U;
|
|
23
116
|
}
|
|
24
117
|
async clear() {
|
|
25
|
-
this.viewModel
|
|
118
|
+
this.viewModel.clear();
|
|
26
119
|
}
|
|
27
120
|
async destroy() {
|
|
28
121
|
await this.manager.destroy();
|
|
29
122
|
}
|
|
30
123
|
async start() {
|
|
31
|
-
this.viewModel
|
|
124
|
+
A(this.viewModel.start());
|
|
125
|
+
}
|
|
126
|
+
render() {
|
|
127
|
+
const { messages: t, unit: r, unitOptions: l, viewModel: o } = this, { measurement: d, state: a } = o;
|
|
128
|
+
return _`<div aria-label=${t.componentLabel ?? v} class=${b({
|
|
129
|
+
[j.base]: !0,
|
|
130
|
+
[c.widget]: !0,
|
|
131
|
+
[c.panel]: !0
|
|
132
|
+
})} role=presentation><arcgis-measurement-content .state=${a} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
133
|
+
{
|
|
134
|
+
title: t.area,
|
|
135
|
+
measurement: d.area
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
title: t.perimeter,
|
|
139
|
+
measurement: d.perimeter
|
|
140
|
+
}
|
|
141
|
+
]}><arcgis-unit-select slot=settings .options=${l} .selectLabel=${t.unit} .value=${r} @arcgisUnitSelectChange=${(u) => {
|
|
142
|
+
this.unit = u.detail;
|
|
143
|
+
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${a === "unsupported" || a === "disabled"} @click=${this.start}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
32
144
|
}
|
|
33
145
|
}
|
|
34
|
-
|
|
146
|
+
m("arcgis-area-measurement-2d", L);
|
|
35
147
|
export {
|
|
36
|
-
|
|
148
|
+
L as ArcgisAreaMeasurement2d
|
|
37
149
|
};
|