@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
|
@@ -1,103 +1,282 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { repeat as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { c as b } from "../../chunks/runtime.js";
|
|
2
|
+
import { repeat as u } from "lit/directives/repeat.js";
|
|
3
|
+
import { queryAllJSON as f } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
4
|
+
import s from "@arcgis/core/core/Collection.js";
|
|
5
|
+
import _ from "@arcgis/core/layers/GraphicsLayer.js";
|
|
6
|
+
import T from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
7
|
+
import S from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
8
|
+
import N from "@arcgis/core/rest/support/FeatureSet.js";
|
|
9
|
+
import d from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
10
|
+
import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
11
|
+
import { LitElement as L, createEvent as h, safeClassMap as g } from "@arcgis/lumina";
|
|
12
|
+
import { css as C, html as o } from "lit";
|
|
13
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
14
|
+
import { usePropertyChange as U } from "@arcgis/lumina/controllers";
|
|
6
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
16
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
9
|
-
const
|
|
10
|
-
|
|
17
|
+
v5.0.0-next.41 */
|
|
18
|
+
const E = C`:host{width:100%}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`, p = "arcgis-utility-network-trace-inputs", w = {
|
|
19
|
+
// popup renderer
|
|
20
|
+
base: p,
|
|
21
|
+
// containers and content
|
|
22
|
+
addSpatialMode: `${p}__add-spatial-mode`
|
|
23
|
+
}, c = "map-components:utility-network-trace-inputs", k = `utility-network-trace-inputs-sketch-${Date.now()}`, l = `utility-network-trace-inputs-flags-${Date.now()}`;
|
|
24
|
+
class M extends L {
|
|
11
25
|
constructor() {
|
|
12
|
-
super(...arguments), this.
|
|
26
|
+
super(...arguments), this._messages = v({ blocking: !0 }), this._startingPoints = new s(), this._barriers = new s(), this._stoppingPoints = new s(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
27
|
+
"subnetwork",
|
|
28
|
+
"subnetwork-controller",
|
|
29
|
+
"upstream",
|
|
30
|
+
"downstream",
|
|
31
|
+
"isolation"
|
|
32
|
+
]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this.mode = "default", this.arcgisTraceInputsChange = h(), this.arcgisUtilityNetworkChange = h(), this.arcgisPropertyChange = U()("mode");
|
|
13
33
|
}
|
|
14
34
|
static {
|
|
15
|
-
this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, view: 0, selectedUtilityNetwork: 0,
|
|
35
|
+
this.properties = { compatibleSubnetworkNames: 16, selectedSubnetworkName: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, unTraceConfiguration: 32, referenceElement: 1, mode: 1, traceLocations: 32 };
|
|
16
36
|
}
|
|
17
37
|
static {
|
|
18
|
-
this.styles =
|
|
38
|
+
this.styles = E;
|
|
39
|
+
}
|
|
40
|
+
get _allLayers() {
|
|
41
|
+
const { view: e } = this;
|
|
42
|
+
return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
|
|
43
|
+
}
|
|
44
|
+
get selectedSubnetworkName() {
|
|
45
|
+
return this._unTraceConfiguration?.subnetworkName ?? void 0;
|
|
46
|
+
}
|
|
47
|
+
set selectedSubnetworkName(e) {
|
|
48
|
+
this._unTraceConfiguration && (this._unTraceConfiguration.subnetworkName = e);
|
|
49
|
+
}
|
|
50
|
+
get unTraceConfiguration() {
|
|
51
|
+
return this._unTraceConfiguration;
|
|
52
|
+
}
|
|
53
|
+
get traceLocations() {
|
|
54
|
+
const e = [], t = (i) => {
|
|
55
|
+
i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((r) => {
|
|
56
|
+
e.push(new S({
|
|
57
|
+
type: i.traceLocation.type,
|
|
58
|
+
isFilterBarrier: i.traceLocation.isFilterBarrier,
|
|
59
|
+
globalId: i.traceLocation.globalId,
|
|
60
|
+
percentAlong: i.traceLocation.percentAlong,
|
|
61
|
+
terminalId: r
|
|
62
|
+
}));
|
|
63
|
+
}) : e.push(i.traceLocation);
|
|
64
|
+
};
|
|
65
|
+
return this._startingPoints.forEach((i) => t(i)), this._barriers.forEach((i) => t(i)), this._stoppingPoints.forEach((i) => t(i)), e;
|
|
19
66
|
}
|
|
20
67
|
load() {
|
|
21
|
-
this._setupUtilityNetwork();
|
|
68
|
+
this._setupUtilityNetwork(), this._setupSketchViewModel();
|
|
22
69
|
}
|
|
23
|
-
willUpdate(
|
|
24
|
-
const { utilityNetworks:
|
|
25
|
-
(
|
|
70
|
+
willUpdate(e) {
|
|
71
|
+
const { utilityNetworks: t, selectedUtilityNetwork: i } = this;
|
|
72
|
+
(e.has("utilityNetworks") || !t || t.length === 0 || !i || !t?.includes(i)) && this._handleUtilityNetworksChange(), e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), e.has("selectedNamedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange()), e.has("selectedSubnetworkName") && this.arcgisTraceInputsChange.emit();
|
|
26
73
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
74
|
+
_clearTraceLocations() {
|
|
75
|
+
this._getGraphicLayer(l)?.removeAll(), this._startingPoints.removeAll(), this._barriers.removeAll(), this._stoppingPoints.removeAll();
|
|
76
|
+
}
|
|
77
|
+
_addUniqueLayer(e, t) {
|
|
78
|
+
if (!t || !e?.map)
|
|
30
79
|
return;
|
|
80
|
+
const { map: i } = e;
|
|
81
|
+
i.layers.find((r) => r === t) || i.add(t), i.reorder(t, i.layers.length - 1);
|
|
82
|
+
}
|
|
83
|
+
_createGraphicLayer(e) {
|
|
84
|
+
const { map: t } = this.view;
|
|
85
|
+
if (!t?.findLayerById(e)) {
|
|
86
|
+
const a = new _({
|
|
87
|
+
id: e,
|
|
88
|
+
listMode: "hide",
|
|
89
|
+
title: e
|
|
90
|
+
});
|
|
91
|
+
this._addUniqueLayer(this.view, a);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
_getGraphicLayer(e) {
|
|
95
|
+
const { map: t } = this.view;
|
|
96
|
+
if (t) {
|
|
97
|
+
const i = t.findLayerById(e);
|
|
98
|
+
if (i && i.type === "graphics")
|
|
99
|
+
return t.reorder(i, t.layers.length - 1), i;
|
|
31
100
|
}
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
103
|
+
_setSnappingOption() {
|
|
104
|
+
const { _sketchViewModel: e, _unLayers: t } = this;
|
|
105
|
+
if (e && t && t.length > 0) {
|
|
106
|
+
const i = new s();
|
|
107
|
+
t.forEach((a) => {
|
|
108
|
+
a.type === "subtype-group" ? a.sublayers.forEach((r) => {
|
|
109
|
+
i.add(new d({
|
|
110
|
+
layer: r,
|
|
111
|
+
enabled: !0
|
|
112
|
+
}));
|
|
113
|
+
}) : i.add(new d({
|
|
114
|
+
layer: a,
|
|
115
|
+
enabled: !0
|
|
116
|
+
}));
|
|
117
|
+
}), e.snappingOptions = {
|
|
118
|
+
enabled: !0,
|
|
119
|
+
featureEnabled: !0,
|
|
120
|
+
featureSources: i
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
_initializeSketchViewModel() {
|
|
125
|
+
const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(k), a = new s();
|
|
126
|
+
return t?.forEach((r) => a.add(new d({
|
|
127
|
+
layer: r,
|
|
128
|
+
enabled: !0
|
|
129
|
+
}))), new $({
|
|
130
|
+
layer: i,
|
|
131
|
+
view: e
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
_setupSketchViewModel() {
|
|
135
|
+
this._createGraphicLayer(k), this._createGraphicLayer(l), this._sketchViewModel = this._initializeSketchViewModel();
|
|
136
|
+
}
|
|
137
|
+
_clearSubnetworks() {
|
|
138
|
+
this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
|
|
139
|
+
}
|
|
140
|
+
async _loadSubnetworksTable() {
|
|
141
|
+
this.subnetworksTable || (this.subnetworksTable = await this.selectedUtilityNetwork?.loadSubnetworksTable());
|
|
142
|
+
}
|
|
143
|
+
async _querySubnetworks() {
|
|
144
|
+
const { subnetworksTable: e } = this;
|
|
145
|
+
if (!e)
|
|
146
|
+
return;
|
|
147
|
+
const t = e.createQuery();
|
|
148
|
+
t.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, t.where = this._getSubnetworkQueryWhereClause(), t.outFields = ["SUBNETWORKNAME"], t.orderByFields = ["SUBNETWORKNAME"];
|
|
149
|
+
const i = N.fromJSON(await f(e, t));
|
|
150
|
+
this.compatibleSubnetworkNames = i.features.filter(this._removeDuplicateSubnetworkNames).map((a) => a.getAttribute("SUBNETWORKNAME"));
|
|
151
|
+
}
|
|
152
|
+
_getSubnetworkQueryWhereClause() {
|
|
153
|
+
const e = this._unTraceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
|
|
154
|
+
return [t, i].join(" AND ");
|
|
32
155
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
156
|
+
async _handleSubnetworkTraceConfigChange(e) {
|
|
157
|
+
await this._loadSubnetworksTable(), await this._querySubnetworks();
|
|
158
|
+
const { compatibleSubnetworkNames: t } = this;
|
|
159
|
+
e.subnetworkName && !t.some((i) => i === e.subnetworkName) && (this.selectedSubnetworkName = t.at(0));
|
|
160
|
+
}
|
|
161
|
+
_selectTraceConfigurationByGuid(e) {
|
|
162
|
+
const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
|
|
163
|
+
if (!t) {
|
|
164
|
+
console.error(`${c} - Trace configuration not found`);
|
|
37
165
|
return;
|
|
38
166
|
}
|
|
39
|
-
this.
|
|
167
|
+
this.selectedNamedTraceConfiguration = t;
|
|
40
168
|
}
|
|
41
169
|
_handleTraceConfigChange() {
|
|
42
|
-
const {
|
|
43
|
-
if (
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
170
|
+
const { selectedNamedTraceConfiguration: e } = this;
|
|
171
|
+
if (!(e?.traceConfiguration instanceof T)) {
|
|
172
|
+
console.error(`${c} - Trace configuration not found`), this._unTraceConfiguration = void 0;
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
switch (this._unTraceConfiguration = e.traceConfiguration.clone(), e.traceType) {
|
|
176
|
+
case "subnetwork":
|
|
177
|
+
this._state = "loading", this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(() => this._state = "ready");
|
|
178
|
+
break;
|
|
179
|
+
default:
|
|
180
|
+
console.error(`${c} - Unknown trace configuration type`);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
async _handleSelectedUtilityNetworkChange() {
|
|
184
|
+
await this.selectedUtilityNetwork?.load(), this._clearSubnetworks(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
|
|
185
|
+
}
|
|
186
|
+
_setupTraceConfigurations() {
|
|
187
|
+
this._unTraceConfiguration = void 0, this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter((e) => e.traceType !== "path" && e.traceType !== "circuit") || [], this.selectedNamedTraceConfiguration = this.traceConfigurations.at(0);
|
|
188
|
+
}
|
|
189
|
+
_filterUnLayers() {
|
|
190
|
+
const { selectedUtilityNetwork: e } = this;
|
|
191
|
+
this._unLayers = new s(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
|
|
54
192
|
}
|
|
55
193
|
_handleUtilityNetworksChange() {
|
|
56
|
-
const { utilityNetworks:
|
|
57
|
-
if (!
|
|
58
|
-
this._state = "error", console.error(`${
|
|
194
|
+
const { utilityNetworks: e } = this;
|
|
195
|
+
if (!e || e.length === 0) {
|
|
196
|
+
this._state = "error", console.error(`${c} - No utility networks found in the map`);
|
|
59
197
|
return;
|
|
60
198
|
}
|
|
61
|
-
(!this.selectedUtilityNetwork || !
|
|
199
|
+
(!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
|
|
62
200
|
}
|
|
63
201
|
async _setupUtilityNetwork() {
|
|
64
202
|
if (this.view?.map) {
|
|
65
|
-
const
|
|
66
|
-
await
|
|
203
|
+
const e = this.view.map;
|
|
204
|
+
await e.load(), this.utilityNetworks = e.utilityNetworks || void 0;
|
|
67
205
|
} else
|
|
68
|
-
this._state = "disabled", console.error(`${
|
|
206
|
+
this._state = "disabled", console.error(`${c} - No view or map available to load utility networks`);
|
|
207
|
+
}
|
|
208
|
+
_handleTraceLocationSelectStart(e) {
|
|
209
|
+
this._activeTraceLocationType = e?.target?.traceLocationType, this.mode = "add-spatial";
|
|
210
|
+
}
|
|
211
|
+
_handleTraceLocationSelectEnd() {
|
|
212
|
+
this._activeTraceLocationType = void 0, this.mode = "default";
|
|
69
213
|
}
|
|
70
|
-
|
|
71
|
-
|
|
214
|
+
_handleFlowItemBack() {
|
|
215
|
+
this.mode = "default", this._activeTraceLocationType = void 0, this._sketchViewModel?.cancel();
|
|
216
|
+
}
|
|
217
|
+
renderError(e, t = !1, i) {
|
|
218
|
+
return o`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
|
|
72
219
|
}
|
|
73
220
|
renderLoader() {
|
|
74
|
-
return
|
|
221
|
+
return o`<calcite-loader label=loading></calcite-loader>`;
|
|
75
222
|
}
|
|
76
223
|
renderTraceSelection() {
|
|
77
|
-
const {
|
|
78
|
-
if (
|
|
79
|
-
return this.renderError(
|
|
80
|
-
const
|
|
81
|
-
return
|
|
82
|
-
this._selectTraceConfigurationByGuid(
|
|
83
|
-
}}>${
|
|
224
|
+
const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
|
|
225
|
+
if (t.length === 0)
|
|
226
|
+
return this.renderError(e.errors.noTraceConfigurationError, !0);
|
|
227
|
+
const a = u(t, (r) => r.globalId, (r) => o`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
|
|
228
|
+
return o`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
|
|
229
|
+
this._selectTraceConfigurationByGuid(r.target.value);
|
|
230
|
+
}}>${a}</calcite-select></calcite-block>`;
|
|
84
231
|
}
|
|
85
232
|
renderUtilityNetworkSelection() {
|
|
86
|
-
const {
|
|
87
|
-
return
|
|
88
|
-
this.selectedUtilityNetwork?.id !==
|
|
89
|
-
}}>${i}</calcite-select></calcite-
|
|
233
|
+
const { _messages: e } = this, t = e.labels.utilityNetwork, i = u(this.utilityNetworks, (a) => a.id, (a) => o`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();
|
|
234
|
+
return o`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
|
|
235
|
+
this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((r) => r.id === a.target.value));
|
|
236
|
+
}}>${i}</calcite-select></calcite-block>`;
|
|
237
|
+
}
|
|
238
|
+
renderDefaultMode() {
|
|
239
|
+
const { _messages: e, _state: t, mode: i } = this;
|
|
240
|
+
return o`<calcite-flow-item .selected=${i === "default"}>${t === "disabled" ? this.renderError(e.errors.noMapError) : this.renderContent()}</calcite-flow-item>`;
|
|
241
|
+
}
|
|
242
|
+
renderAddSpatialMode() {
|
|
243
|
+
const { _messages: e, _activeTraceLocationType: t } = this, i = t === "starting-point" ? e.labels.addSpatial.startingPoint : t === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
|
|
244
|
+
return o`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${() => this._handleFlowItemBack()}><div class=${g(w.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`;
|
|
245
|
+
}
|
|
246
|
+
renderStartingPointSelection() {
|
|
247
|
+
return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`;
|
|
248
|
+
}
|
|
249
|
+
renderStoppingPointSelection() {
|
|
250
|
+
return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`;
|
|
251
|
+
}
|
|
252
|
+
renderBarrierSelection() {
|
|
253
|
+
return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`;
|
|
254
|
+
}
|
|
255
|
+
renderSubnetworkSelectList() {
|
|
256
|
+
const { compatibleSubnetworkNames: e, selectedSubnetworkName: t, _messages: i } = this, a = i.labels.subnetworkName, r = e.map((n) => o`<calcite-option .value=${n}>${n}</calcite-option>`);
|
|
257
|
+
return o`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${(n) => this.selectedSubnetworkName = n.target.value}>${r}</calcite-select></calcite-block>`;
|
|
258
|
+
}
|
|
259
|
+
renderSubnetworkSelection() {
|
|
260
|
+
const { compatibleSubnetworkNames: e, _messages: t, selectedNamedTraceConfiguration: i, _unTraceConfiguration: a } = this;
|
|
261
|
+
return i?.traceType === "subnetwork" && a?.subnetworkName ? this._state === "loading" ? o`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : e.length ? this.renderSubnetworkSelectList() : this.renderError(t.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : null;
|
|
262
|
+
}
|
|
263
|
+
renderSubnetworkInfo() {
|
|
264
|
+
const { _messages: e, selectedNamedTraceConfiguration: t, _unTraceConfiguration: i } = this;
|
|
265
|
+
return i && t?.traceType && this._subnetworkTraceTypes.has(t.traceType) ? o`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>` : null;
|
|
90
266
|
}
|
|
91
267
|
renderContent() {
|
|
92
|
-
const {
|
|
93
|
-
|
|
268
|
+
const { _messages: e, utilityNetworks: t, _unTraceConfiguration: i } = this;
|
|
269
|
+
if (!t || t.length === 0)
|
|
270
|
+
return this.renderError(e.errors.noUtilityNetworkError);
|
|
271
|
+
const a = o`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`, r = this.selectedNamedTraceConfiguration?.traceType, n = !(i?.subnetworkName && r === "subnetwork"), y = r === "path" || r === "circuit", m = o`${n ? this.renderStartingPointSelection() : null}${y ? this.renderStoppingPointSelection() : null}${this.renderBarrierSelection()}`;
|
|
272
|
+
return o`<calcite-block-group .label=${e.labels.traceInputs}>${t.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? a : this.renderLoader()}${i ? m : null}</calcite-block-group>`;
|
|
94
273
|
}
|
|
95
274
|
render() {
|
|
96
|
-
const {
|
|
97
|
-
return
|
|
275
|
+
const { mode: e } = this;
|
|
276
|
+
return o`<div class=${g(w.base)}><calcite-flow>${this.renderDefaultMode()}${e === "add-spatial" ? this.renderAddSpatialMode() : null}</calcite-flow></div>`;
|
|
98
277
|
}
|
|
99
278
|
}
|
|
100
|
-
|
|
279
|
+
b("arcgis-utility-network-trace-inputs", M);
|
|
101
280
|
export {
|
|
102
|
-
|
|
281
|
+
M as ArcgisUtilityNetworkTraceInputs
|
|
103
282
|
};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-loader";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-option";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-label";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-select";
|
|
6
4
|
import "@esri/calcite-components/components/calcite-block";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-select";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
8
|
+
import "../arcgis-utility-network-trace-location/index.js";
|
|
9
|
+
import "../arcgis-utility-network-subnetwork-info/index.js";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-block-group";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
7
12
|
export * from "./customElement.js";
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-loader";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-option";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-label";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-select";
|
|
6
4
|
import "@esri/calcite-components/components/calcite-block";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-select";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
8
|
+
import "../arcgis-utility-network-trace-location/index.js";
|
|
9
|
+
import "../arcgis-utility-network-subnetwork-info/index.js";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-block-group";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
7
12
|
export * from "./customElement.js";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
3
|
+
import { default as GraphicsLayer } from '@arcgis/core/layers/GraphicsLayer.js';
|
|
4
|
+
import { default as Layer } from '@arcgis/core/layers/Layer.js';
|
|
5
|
+
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
6
|
+
import { default as SketchViewModel } from '@arcgis/core/widgets/Sketch/SketchViewModel.js';
|
|
7
|
+
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
|
8
|
+
import { default as UtilityNetwork } from '@arcgis/core/networks/UtilityNetwork.js';
|
|
9
|
+
import { default as TraceLocation } from '@arcgis/core/rest/networks/support/TraceLocation.js';
|
|
10
|
+
import { default as Point } from '@arcgis/core/geometry/Point.js';
|
|
11
|
+
import { default as Graphic } from '@arcgis/core/Graphic.js';
|
|
12
|
+
import { default as TerminalConfiguration } from '@arcgis/core/networks/support/TerminalConfiguration.js';
|
|
13
|
+
export interface FlagInfo {
|
|
14
|
+
traceLocation: TraceLocation;
|
|
15
|
+
flagProperties: {
|
|
16
|
+
title: string;
|
|
17
|
+
expanded?: boolean;
|
|
18
|
+
terminalConfiguration?: TerminalConfiguration;
|
|
19
|
+
selectedTerminals?: Set<number>;
|
|
20
|
+
};
|
|
21
|
+
spatialProperties: {
|
|
22
|
+
mapPoint?: Point;
|
|
23
|
+
mapGraphic?: Graphic;
|
|
24
|
+
flagGraphic?: Graphic;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export type TraceLocationType = "barrier" | "starting-point" | "stopping-point";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
|
|
31
|
+
*
|
|
32
|
+
* This sub-component takes a map view as an input.
|
|
33
|
+
* It allows users to select locations on the map to use as trace inputs.
|
|
34
|
+
*
|
|
35
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-trace-location/)
|
|
36
|
+
*
|
|
37
|
+
* @since 4.34
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export declare class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
41
|
+
/** @required */
|
|
42
|
+
view?: MapView;
|
|
43
|
+
/** @default "starting-point" */
|
|
44
|
+
traceLocationType: TraceLocationType;
|
|
45
|
+
traceLocations?: Collection<FlagInfo>;
|
|
46
|
+
filterLayers?: Collection<Layer>;
|
|
47
|
+
sketchViewModel?: SketchViewModel;
|
|
48
|
+
flagLayer?: GraphicsLayer;
|
|
49
|
+
/** @default 0.05 */
|
|
50
|
+
spatialTolerance: number;
|
|
51
|
+
/** @required The utility network to perform the trace on. */
|
|
52
|
+
utilityNetwork?: UtilityNetwork;
|
|
53
|
+
readonly arcgisTraceLocationChange: TargetedEvent<this, void>;
|
|
54
|
+
readonly arcgisTraceLocationSelectEnd: TargetedEvent<this, void>;
|
|
55
|
+
readonly arcgisTraceLocationSelectStart: TargetedEvent<this, void>;
|
|
56
|
+
}
|