@arcgis/map-components 5.1.0-next.3 → 5.1.0-next.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cdn/22YBLZZ5.js +2 -0
- package/dist/cdn/{ATRTNMMR.js → 23HX6BD2.js} +1 -1
- package/dist/cdn/2AYGSNEO.js +2 -0
- package/dist/cdn/{5UDFTH5U.js → 2CZVQJFN.js} +1 -1
- package/dist/cdn/{XMZSFKKO.js → 2E5U7E4Y.js} +1 -1
- package/dist/cdn/{HXPCADLA.js → 2HRXVQNT.js} +1 -1
- package/dist/cdn/{GKW3DDEQ.js → 2NW3IA4C.js} +1 -1
- package/dist/cdn/2Q4WMDEY.js +2 -0
- package/dist/cdn/{B6T4CWYF.js → 34K7KDP3.js} +1 -1
- package/dist/cdn/{2IOCPFSI.js → 34Z77QHJ.js} +1 -1
- package/dist/cdn/37VDMTVJ.js +2 -0
- package/dist/cdn/{GLV3FW3Z.js → 3NTRW2I5.js} +1 -1
- package/dist/cdn/3ON5H2G5.js +2 -0
- package/dist/cdn/{AJHRJ5EA.js → 3W3MBD25.js} +1 -1
- package/dist/cdn/42IKCJ2T.js +2 -0
- package/dist/cdn/44APAUMM.js +2 -0
- package/dist/cdn/{JBJ5NQTI.js → 4IFAJH4D.js} +1 -1
- package/dist/cdn/4J3CK2QK.js +2 -0
- package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
- package/dist/cdn/{NGKNECON.js → 4MNQPYT6.js} +1 -1
- package/dist/cdn/{ZYMCKBTT.js → 4YQZ3XVG.js} +1 -1
- package/dist/cdn/{CQ4QHVEL.js → 54WDNPKC.js} +1 -1
- package/dist/cdn/{ENDLVIST.js → 5KRCPR2U.js} +1 -1
- package/dist/cdn/5ZHD4P65.js +2 -0
- package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
- package/dist/cdn/6I4ST6BV.js +2 -0
- package/dist/cdn/{AP2IFWYH.js → 6M6VT4H6.js} +1 -1
- package/dist/cdn/6OMMETC4.js +2 -0
- package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
- package/dist/cdn/{C4DJABUI.js → 6UNF7T5E.js} +1 -1
- package/dist/cdn/{IFSGM32L.js → 7FS3KABY.js} +1 -1
- package/dist/cdn/7LEGZD2O.js +2 -0
- package/dist/cdn/{EENOVGOS.js → 7LYFC7SC.js} +1 -1
- package/dist/cdn/{THXN5VZY.js → 7RUBJPVS.js} +1 -1
- package/dist/cdn/{H5QDPW5Y.js → 7SZFENQP.js} +1 -1
- package/dist/cdn/{34V5UMTY.js → 7VRU553O.js} +1 -1
- package/dist/cdn/7WKBNAQD.js +2 -0
- package/dist/cdn/{KYOYYCFY.js → 7XJ2H56Y.js} +1 -1
- package/dist/cdn/{4363SIKC.js → A6SBSKY7.js} +1 -1
- package/dist/cdn/{WAASVZRG.js → AA6JMN5J.js} +1 -1
- package/dist/cdn/{HO4JUZ6N.js → AH4HKYPE.js} +1 -1
- package/dist/cdn/AR47FOKN.js +2 -0
- package/dist/cdn/ATBESYRQ.js +2 -0
- package/dist/cdn/AZNCJT62.js +2 -0
- package/dist/cdn/{TVTQW6GC.js → B2G5OTNZ.js} +1 -1
- package/dist/cdn/{FARFUCNU.js → B4GFOGFO.js} +1 -1
- package/dist/cdn/BHB3PSCU.js +2 -0
- package/dist/cdn/BJEDYTXQ.js +2 -0
- package/dist/cdn/CAXI6CJY.js +2 -0
- package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
- package/dist/cdn/CDVHDTSM.js +2 -0
- package/dist/cdn/{HY73HOSP.js → CDVPXUWH.js} +1 -1
- package/dist/cdn/D27YXH3W.js +2 -0
- package/dist/cdn/{3PQT2S7Z.js → D3WZ5UUP.js} +1 -1
- package/dist/cdn/DCI5XVB6.js +2 -0
- package/dist/cdn/DJMRUJ7O.js +2 -0
- package/dist/cdn/DQUREUJ4.js +2 -0
- package/dist/cdn/DVMAHZFP.js +2 -0
- package/dist/cdn/DW3K3W57.js +2 -0
- package/dist/cdn/E3ATQTQG.js +2 -0
- package/dist/cdn/{OSPWEZQJ.js → EPII4PE5.js} +1 -1
- package/dist/cdn/EQPYSPT5.js +2 -0
- package/dist/cdn/{E2JLZZFR.js → ET6WL43W.js} +1 -1
- package/dist/cdn/EUFSNMR4.js +2 -0
- package/dist/cdn/{UKKUFJLL.js → EY7SYUYY.js} +1 -1
- package/dist/cdn/EYX4XXBU.js +2 -0
- package/dist/cdn/G3DJLLNR.js +2 -0
- package/dist/cdn/G44JDQZ4.js +2 -0
- package/dist/cdn/{B5XR4LXQ.js → GIICS6MH.js} +1 -1
- package/dist/cdn/{6RDB26PI.js → GKZICLQB.js} +1 -1
- package/dist/cdn/{GHFKQEFW.js → GST63XCD.js} +1 -1
- package/dist/cdn/{X26CF5AU.js → H337G76Z.js} +1 -1
- package/dist/cdn/HA465EKI.js +2 -0
- package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
- package/dist/cdn/HIASLYKF.js +2 -0
- package/dist/cdn/HSXR7HAG.js +2 -0
- package/dist/cdn/{PMQLTMQ4.js → IEC2UOVC.js} +1 -1
- package/dist/cdn/{5CYQI4SX.js → IEOFMCCO.js} +1 -1
- package/dist/cdn/INULU27Q.js +2 -0
- package/dist/cdn/IP6MMWXP.js +2 -0
- package/dist/cdn/IQPGSWSL.js +2 -0
- package/dist/cdn/ITTHJAUG.js +2 -0
- package/dist/cdn/{HOYFIMNJ.js → J5H3B35H.js} +1 -1
- package/dist/cdn/J756LIIM.js +2 -0
- package/dist/cdn/JF4W5UZ7.js +2 -0
- package/dist/cdn/{XOP2SCW3.js → JIZ6BEMO.js} +1 -1
- package/dist/cdn/JODAZMW3.js +2 -0
- package/dist/cdn/JWTRJAFZ.js +2 -0
- package/dist/cdn/{T2ZF4XIZ.js → JYDGMTWJ.js} +1 -1
- package/dist/cdn/KEKWNLTW.js +2 -0
- package/dist/cdn/{3YA25S2J.js → KUFUPG4B.js} +1 -1
- package/dist/cdn/KUFW2OOW.js +2 -0
- package/dist/cdn/{27HOTQNB.js → KUUX4Y7X.js} +1 -1
- package/dist/cdn/KV2UORZN.js +2 -0
- package/dist/cdn/KVIUDTBB.js +2 -0
- package/dist/cdn/KX25AEKF.js +2 -0
- package/dist/cdn/KX5PBTVM.js +2 -0
- package/dist/cdn/{UKNKW6MH.js → KYJD5CQL.js} +1 -1
- package/dist/cdn/{556MC5SF.js → L6D5F5SD.js} +1 -1
- package/dist/cdn/LB32PLWG.js +2 -0
- package/dist/cdn/LGEWMTBM.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → LGO4NCZM.js} +1 -1
- package/dist/cdn/{3OE7JG5I.js → LO6QWIYR.js} +1 -1
- package/dist/cdn/{TSPKG2WN.js → LONLK6RH.js} +2 -2
- package/dist/cdn/{EQCNO3G4.js → LY5GZCVF.js} +1 -1
- package/dist/cdn/M67RIQAG.js +2 -0
- package/dist/cdn/{TPOLS4YM.js → M6ZVATVW.js} +1 -1
- package/dist/cdn/MD2KA2VE.js +2 -0
- package/dist/cdn/{NW44UOKT.js → MFQWNYVF.js} +1 -1
- package/dist/cdn/MHVCLFTY.js +2 -0
- package/dist/cdn/MJQIWRRC.js +2 -0
- package/dist/cdn/{BQMLNDT6.js → MR5JAWKH.js} +1 -1
- package/dist/cdn/MX7LKRXI.js +2 -0
- package/dist/cdn/{C7YN3AZA.js → MYATZCJP.js} +1 -1
- package/dist/cdn/NBA6VGFB.js +2 -0
- package/dist/cdn/NQ53C2SG.js +2 -0
- package/dist/cdn/NWQEVQPN.js +2 -0
- package/dist/cdn/O5TDDX7K.js +2 -0
- package/dist/cdn/ODGZ4RGD.js +2 -0
- package/dist/cdn/OHUCKLK5.js +2 -0
- package/dist/cdn/ONRBFGY5.js +2 -0
- package/dist/cdn/{UM2FDZJJ.js → OPATO46Y.js} +1 -1
- package/dist/cdn/{IZOPV2VQ.js → OZICG5FF.js} +1 -1
- package/dist/cdn/P4DS6L6N.js +2 -0
- package/dist/cdn/P4RZQHRD.js +2 -0
- package/dist/cdn/P5MTPM2I.js +2 -0
- package/dist/cdn/{K27JJT2P.js → P6I2HVEZ.js} +1 -1
- package/dist/cdn/PL6H7VTE.js +2 -0
- package/dist/cdn/{MQ6HO6LA.js → PPOG4NAA.js} +1 -1
- package/dist/cdn/{37TNG76C.js → PUJPVTUS.js} +1 -1
- package/dist/cdn/PY4FXGEA.js +2 -0
- package/dist/cdn/PZC5TBXA.js +2 -0
- package/dist/cdn/Q3NBRWIQ.js +2 -0
- package/dist/cdn/QAXSOHDW.js +2 -0
- package/dist/cdn/QB7F6BBW.js +2 -0
- package/dist/cdn/{ZATCJZP2.js → QCCYKLEL.js} +1 -1
- package/dist/cdn/QDHEAX7N.js +2 -0
- package/dist/cdn/{D4BT63BV.js → QRIK2V22.js} +1 -1
- package/dist/cdn/{KAXJKSFB.js → QUBU7FFY.js} +1 -1
- package/dist/cdn/R5KGKAEB.js +4 -0
- package/dist/cdn/R7BJHEHH.js +2 -0
- package/dist/cdn/{CNMF4MVD.js → R7YMIGPE.js} +1 -1
- package/dist/cdn/RB4ZCMX4.js +2 -0
- package/dist/cdn/{JFDN4YD7.js → RG3A222F.js} +1 -1
- package/dist/cdn/{TCG6VGIB.js → RG4S7JVP.js} +1 -1
- package/dist/cdn/{FYYKRDW3.js → RVGCVXBV.js} +1 -1
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
- package/dist/cdn/{W2A4ONZA.js → SEPRRGUF.js} +1 -1
- package/dist/cdn/SJUWADQP.js +2 -0
- package/dist/cdn/SKEB63NG.js +2 -0
- package/dist/cdn/SMHB2XNO.js +2 -0
- package/dist/cdn/SUAJ2D6L.js +2 -0
- package/dist/cdn/{JLK664TB.js → T36AHJZT.js} +1 -1
- package/dist/cdn/T4WQQ7MP.js +2 -0
- package/dist/cdn/T5F57ZKY.js +2 -0
- package/dist/cdn/{RN44YUJM.js → TMXAN3O2.js} +1 -1
- package/dist/cdn/TTZN7HIT.js +2 -0
- package/dist/cdn/{7IBXOWTT.js → TZHRLKZR.js} +1 -1
- package/dist/cdn/TZXIPFOD.js +2 -0
- package/dist/cdn/U3CQZ6CI.js +2 -0
- package/dist/cdn/U557VRFM.js +2 -0
- package/dist/cdn/U5PXE2DX.js +2 -0
- package/dist/cdn/{YC6JWXOW.js → U7GSOBVS.js} +1 -1
- package/dist/cdn/{FC6W37TT.js → UCWDM6D2.js} +1 -1
- package/dist/cdn/UEF6TPIT.js +2 -0
- package/dist/cdn/UKG6DYFF.js +2 -0
- package/dist/cdn/{RP5SO6BA.js → UMYVF65X.js} +1 -1
- package/dist/cdn/{BUE7MOVD.js → US4GUOT3.js} +1 -1
- package/dist/cdn/UXYBJXLL.js +2 -0
- package/dist/cdn/{OKXZJQ2B.js → UZFDHLQM.js} +1 -1
- package/dist/cdn/V47NU4HK.js +2 -0
- package/dist/cdn/{JTFZMNCO.js → V5FNVAX5.js} +1 -1
- package/dist/cdn/{GYTQDFSL.js → V5WAYR44.js} +1 -1
- package/dist/cdn/VE5FQNBP.js +2 -0
- package/dist/cdn/VGR7AU6K.js +2 -0
- package/dist/cdn/VNCC2KP5.js +2 -0
- package/dist/cdn/{TUW6NLYY.js → VQ4QWOQY.js} +1 -1
- package/dist/cdn/VWHIK5GL.js +2 -0
- package/dist/cdn/{NWK2WHZF.js → W5TN3LOU.js} +1 -1
- package/dist/cdn/WJ4JHHNJ.js +2 -0
- package/dist/cdn/{HK6EWWUB.js → WO76BRRK.js} +1 -1
- package/dist/cdn/{H5UJFKXO.js → X7IBOHSI.js} +1 -1
- package/dist/cdn/XDDOM7RA.js +2 -0
- package/dist/cdn/{32K266S4.js → XIUUCICM.js} +1 -1
- package/dist/cdn/XP7ST6TO.js +2 -0
- package/dist/cdn/XUESBDWT.js +2 -0
- package/dist/cdn/XV2NVNDJ.js +2 -0
- package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
- package/dist/cdn/Y2HW37MS.js +2 -0
- package/dist/cdn/Y6CUKQ7R.js +2 -0
- package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
- package/dist/cdn/YBL2FOGP.js +2 -0
- package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
- package/dist/cdn/YQMPW2VC.js +2 -0
- package/dist/cdn/YRUX64GE.js +2 -0
- package/dist/cdn/{WJ5HD2YN.js → YSPFHM7A.js} +1 -1
- package/dist/cdn/ZBANIHB3.js +2 -0
- package/dist/cdn/ZOAOTITT.js +2 -0
- package/dist/cdn/{62WRVJ3U.js → ZW733SWS.js} +1 -1
- package/dist/cdn/ZXEQN6RW.js +2 -0
- package/dist/cdn/ZZAD2X6F.js +2 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/component-utils.js +85 -72
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/layer-utils.js +32 -11
- package/dist/chunks/measurementUtils.js +45 -22
- package/dist/chunks/slots.js +27 -27
- package/dist/chunks/time-utils.js +24 -22
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/chunks/useViewModel.js +5 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +100 -91
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -25
- package/dist/components/arcgis-area-measurement-3d/customElement.js +73 -94
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -100
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
- package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -74
- package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
- package/dist/components/arcgis-daylight/customElement.js +202 -200
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -22
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +79 -100
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +60 -14
- package/dist/components/arcgis-directions/customElement.js +31 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +95 -86
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +46 -19
- package/dist/components/arcgis-editor/customElement.js +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +38 -39
- package/dist/components/arcgis-feature/customElement.js +39 -39
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-fields/customElement.js +28 -27
- package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- package/dist/components/arcgis-feature-table/customElement.d.ts +183 -89
- package/dist/components/arcgis-feature-table/customElement.js +46 -30
- package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +11 -8
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +62 -62
- package/dist/components/arcgis-features/customElement.d.ts +70 -70
- package/dist/components/arcgis-features/customElement.js +71 -76
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +8 -10
- package/dist/components/arcgis-home/customElement.js +16 -14
- package/dist/components/arcgis-layer-list/customElement.d.ts +51 -54
- package/dist/components/arcgis-legend/customElement.d.ts +42 -43
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
- package/dist/components/arcgis-link-chart/customElement.d.ts +75 -85
- package/dist/components/arcgis-link-chart/customElement.js +16 -16
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +3 -4
- package/dist/components/arcgis-locate/customElement.js +17 -16
- package/dist/components/arcgis-map/customElement.d.ts +188 -198
- package/dist/components/arcgis-map/customElement.js +11 -11
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
- package/dist/components/arcgis-paste/customElement.d.ts +5 -5
- package/dist/components/arcgis-paste/customElement.js +59 -54
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +87 -75
- package/dist/components/arcgis-popup/customElement.js +121 -125
- package/dist/components/arcgis-popup/types.d.ts +2 -2
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-presentation/customElement.js +6 -6
- package/dist/components/arcgis-print/customElement.d.ts +51 -31
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +185 -200
- package/dist/components/arcgis-scene/customElement.js +14 -14
- package/dist/components/arcgis-search/customElement.d.ts +63 -59
- package/dist/components/arcgis-search/customElement.js +19 -18
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
- package/dist/components/arcgis-sketch/customElement.d.ts +78 -33
- package/dist/components/arcgis-sketch/customElement.js +21 -9
- package/dist/components/arcgis-slice/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-slice/types.d.ts +4 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +55 -62
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +112 -100
- package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +154 -99
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +14 -17
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +85 -104
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
- package/dist/components/arcgis-swipe/customElement.d.ts +11 -11
- package/dist/components/arcgis-table-list/customElement.d.ts +116 -81
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
- package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +19 -33
- package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
- package/dist/components/arcgis-time-zone-label/index.js +0 -1
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
- package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +86 -29
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +65 -58
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -6
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +110 -73
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +80 -69
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +18 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +109 -89
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-video/customElement.d.ts +12 -12
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
- package/dist/components/arcgis-volume-measurement/customElement.js +171 -171
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/components/arcgis-zoom/types.d.ts +3 -0
- package/dist/components/types.d.ts +58 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +13 -35
- package/dist/loader.js +36 -36
- package/dist/types/lumina.d.ts +36 -58
- package/dist/types/preact.d.ts +37 -63
- package/dist/types/react.d.ts +38 -68
- package/dist/types/stencil.d.ts +36 -58
- package/package.json +6 -6
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/2EJ4XRH4.js +0 -2
- package/dist/cdn/2VC2VUTP.js +0 -2
- package/dist/cdn/2XSXH4TM.js +0 -2
- package/dist/cdn/3DO7PVNW.js +0 -2
- package/dist/cdn/3GZCJE62.js +0 -2
- package/dist/cdn/3XMPN66U.js +0 -2
- package/dist/cdn/42UR6TXZ.js +0 -2
- package/dist/cdn/4EAZ4PIQ.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/52GXKBGP.js +0 -2
- package/dist/cdn/55QGHI47.js +0 -2
- package/dist/cdn/5PRNT4KD.js +0 -2
- package/dist/cdn/5RGFRTJS.js +0 -2
- package/dist/cdn/63P5VYGP.js +0 -2
- package/dist/cdn/64OEHFBZ.js +0 -2
- package/dist/cdn/7UR4M6PN.js +0 -2
- package/dist/cdn/7YLXQNEC.js +0 -2
- package/dist/cdn/A4UJ53JS.js +0 -2
- package/dist/cdn/AGYDL2DX.js +0 -2
- package/dist/cdn/BGOWWLCQ.js +0 -2
- package/dist/cdn/BMR2YFEM.js +0 -2
- package/dist/cdn/CC53K2CR.js +0 -2
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/DOLELC6W.js +0 -2
- package/dist/cdn/DTVW3MYT.js +0 -2
- package/dist/cdn/E7FLH54K.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EVRFMTMV.js +0 -2
- package/dist/cdn/EX22SAPL.js +0 -2
- package/dist/cdn/EYNKJZG3.js +0 -2
- package/dist/cdn/F2TXAMXM.js +0 -2
- package/dist/cdn/F4HWT5H3.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/FJJVAOBW.js +0 -2
- package/dist/cdn/FQGKKJL7.js +0 -2
- package/dist/cdn/GNGZFV2C.js +0 -2
- package/dist/cdn/H6ILOF27.js +0 -2
- package/dist/cdn/HH6BDERO.js +0 -2
- package/dist/cdn/HNHCO4OD.js +0 -2
- package/dist/cdn/HR2OOT3F.js +0 -2
- package/dist/cdn/I2MQQXVU.js +0 -2
- package/dist/cdn/I5QTPPFJ.js +0 -2
- package/dist/cdn/IDDSHZVB.js +0 -2
- package/dist/cdn/J55YUTPM.js +0 -2
- package/dist/cdn/JDZWJLJX.js +0 -2
- package/dist/cdn/KECAR2NZ.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/KHM3S4Q6.js +0 -2
- package/dist/cdn/KNAUIRT6.js +0 -2
- package/dist/cdn/KXF2562U.js +0 -2
- package/dist/cdn/KY4FMFIC.js +0 -2
- package/dist/cdn/LG4PZVHS.js +0 -2
- package/dist/cdn/LHEP4QSS.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/M4L5EDRB.js +0 -2
- package/dist/cdn/M65HMJZA.js +0 -2
- package/dist/cdn/M7VTEC3S.js +0 -2
- package/dist/cdn/MAGJWMWM.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/MWBGBBXT.js +0 -2
- package/dist/cdn/NIUIKBRD.js +0 -2
- package/dist/cdn/NRV7VFJ7.js +0 -2
- package/dist/cdn/NVACRYY6.js +0 -2
- package/dist/cdn/NZ5M5SVG.js +0 -2
- package/dist/cdn/NZAO2BVV.js +0 -2
- package/dist/cdn/OCEXQCFT.js +0 -2
- package/dist/cdn/ORH27QWU.js +0 -2
- package/dist/cdn/PCQ5PXPF.js +0 -2
- package/dist/cdn/PISCYSA5.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/PTWLVTFS.js +0 -4
- package/dist/cdn/QVMTO5BV.js +0 -2
- package/dist/cdn/R4V6HGJH.js +0 -2
- package/dist/cdn/RCWZGU5T.js +0 -2
- package/dist/cdn/RJ76OXB6.js +0 -2
- package/dist/cdn/S4XGBADW.js +0 -2
- package/dist/cdn/S6G6XXTM.js +0 -2
- package/dist/cdn/SKW7HQZ6.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/SZ5MNKOW.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/U3LH3AZH.js +0 -2
- package/dist/cdn/UAO23YMW.js +0 -2
- package/dist/cdn/UTH3SGAS.js +0 -2
- package/dist/cdn/UVCYUIKZ.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/W2E5L6DS.js +0 -2
- package/dist/cdn/WGWNMYUH.js +0 -2
- package/dist/cdn/WGXSSEAL.js +0 -2
- package/dist/cdn/WOV3LB6K.js +0 -2
- package/dist/cdn/WTMMFDEH.js +0 -2
- package/dist/cdn/WW6L6XX4.js +0 -2
- package/dist/cdn/X6OVNOLQ.js +0 -2
- package/dist/cdn/X7YUU7TS.js +0 -2
- package/dist/cdn/XO6U6OVM.js +0 -2
- package/dist/cdn/XRP25NGI.js +0 -2
- package/dist/cdn/Y53D5YAC.js +0 -2
- package/dist/cdn/YC423DBS.js +0 -2
- package/dist/cdn/YFUI4F5L.js +0 -2
- package/dist/cdn/YKTB6AFH.js +0 -2
- package/dist/cdn/YWQGP6MB.js +0 -2
- package/dist/cdn/YZ5ZVEPC.js +0 -2
- package/dist/cdn/ZD25GJYW.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/cdn/ZURN5EZI.js +0 -2
- package/dist/cdn/ZUTQE3OX.js +0 -2
- package/dist/cdn/ZVTPU2MO.js +0 -2
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
- package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/action-utils.d.ts +0 -3
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
- /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
- /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
- /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
- /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type AreaMeasurementAnalysis from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
4
|
+
import type { SystemOrAreaUnit } from "@arcgis/core/core/units.js";
|
|
4
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
|
+
import type { AreaMeasurement3DState } from "./types.js";
|
|
6
8
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
9
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
|
-
import type { SystemOrAreaUnit as SystemOrAreaUnit2 } from "@arcgis/core/core/units.js";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
|
-
* The Area Measurement 3D component can be added to
|
|
12
|
+
* The Area Measurement 3D component can be added to an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
12
13
|
* component to calculate and display area and perimeter of polygons.
|
|
13
14
|
*
|
|
14
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
15
16
|
*
|
|
16
17
|
* How the area and perimeter are computed depends on the scene's spatial reference and the length of the measured perimeter.
|
|
17
18
|
*
|
|
@@ -30,28 +31,28 @@ import type { SystemOrAreaUnit as SystemOrAreaUnit2 } from "@arcgis/core/core/un
|
|
|
30
31
|
* 2. If the vertices don't form a planar surface, the measurement polygon
|
|
31
32
|
* is projected to a horizontal plane, and area and perimeter are calculated from its geometry.
|
|
32
33
|
*
|
|
33
|
-
* 
|
|
34
35
|
*
|
|
35
36
|
* When the component is active, a horizontal "laser" line is drawn which indicates the height at the current mouse position.
|
|
36
37
|
* This line can help in analyzing the heights of objects relative to each other and the terrain.
|
|
37
38
|
*
|
|
38
39
|
* **Things to consider**
|
|
39
40
|
*
|
|
40
|
-
* * Area Measurement 3D is designed to work in the Scene component. For measurements in the [
|
|
41
|
-
* component, use [
|
|
41
|
+
* * Area Measurement 3D is designed to work in the Scene component. For measurements in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
42
|
+
* component, use [arcgis-area-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-2d/).
|
|
42
43
|
* * Snapping is enabled by default. Holding the `CTRL` key disables it.
|
|
43
44
|
* * Layer types currently supported for snapping are:
|
|
44
|
-
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/
|
|
45
|
-
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/
|
|
46
|
-
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/
|
|
47
|
-
* [WFSLayer](https://developers.arcgis.com/javascript/latest/
|
|
48
|
-
* [CSVLayer](https://developers.arcgis.com/javascript/latest/
|
|
49
|
-
* [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/
|
|
50
|
-
* and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/
|
|
45
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
|
|
46
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) (except Mesh geometries),
|
|
47
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/),
|
|
48
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer/),
|
|
49
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
|
|
50
|
+
* [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/),
|
|
51
|
+
* and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
51
52
|
*
|
|
52
53
|
* **See also**
|
|
53
54
|
*
|
|
54
|
-
* - [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
55
|
+
* - [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/AreaMeasurementAnalysis/)
|
|
55
56
|
* - [Sample - Measurement in 3D](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
56
57
|
* - [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
57
58
|
*
|
|
@@ -59,13 +60,13 @@ import type { SystemOrAreaUnit as SystemOrAreaUnit2 } from "@arcgis/core/core/un
|
|
|
59
60
|
*/
|
|
60
61
|
export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
61
62
|
/**
|
|
62
|
-
* The [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
63
|
+
* The [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/AreaMeasurementAnalysis/)
|
|
63
64
|
* created or modified by the component.
|
|
64
65
|
*
|
|
65
|
-
* When connecting the Area Measurement 3D component to the [
|
|
66
|
+
* When connecting the Area Measurement 3D component to the [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
66
67
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
67
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
68
|
-
* You can then wait for the [AreaMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/
|
|
68
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
69
|
+
* You can then wait for the [AreaMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/AreaMeasurementAnalysisView3D/)
|
|
69
70
|
* to be created before accessing the analysis results.
|
|
70
71
|
*
|
|
71
72
|
* ```js
|
|
@@ -89,7 +90,7 @@ export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
89
90
|
* ```
|
|
90
91
|
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
91
92
|
*
|
|
92
|
-
* Alternatively, a programmatically created [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
93
|
+
* Alternatively, a programmatically created [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/AreaMeasurementAnalysis/)
|
|
93
94
|
* can be provided to the component.
|
|
94
95
|
* Then, the application itself needs to add it to and later remove it from the analyses collection of the Scene component.
|
|
95
96
|
*
|
|
@@ -151,6 +152,7 @@ export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
151
152
|
* Indicates whether the component's visualization is hidden in the view.
|
|
152
153
|
*
|
|
153
154
|
* @default false
|
|
155
|
+
* @since 5.0
|
|
154
156
|
*/
|
|
155
157
|
accessor hideVisualization: boolean;
|
|
156
158
|
/**
|
|
@@ -199,18 +201,18 @@ export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
199
201
|
* * `measuring` - currently measuring
|
|
200
202
|
* * `measured` - measuring has finished
|
|
201
203
|
*/
|
|
202
|
-
get state():
|
|
204
|
+
get state(): AreaMeasurement3DState;
|
|
203
205
|
/**
|
|
204
206
|
* Unit system (imperial, metric) or specific unit used for displaying the area values. Possible values are listed in
|
|
205
|
-
* [unitOptions](
|
|
207
|
+
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/#unitOptions).
|
|
206
208
|
*/
|
|
207
|
-
accessor unit:
|
|
209
|
+
accessor unit: SystemOrAreaUnit;
|
|
208
210
|
/**
|
|
209
211
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
210
212
|
* By default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.
|
|
211
|
-
* Possible [unit](
|
|
213
|
+
* Possible [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/#unit) values can only be a subset of this list.
|
|
212
214
|
*/
|
|
213
|
-
accessor unitOptions: Array<
|
|
215
|
+
accessor unitOptions: Array<SystemOrAreaUnit>;
|
|
214
216
|
/**
|
|
215
217
|
* The view associated with the component.
|
|
216
218
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-area-measurement-3d component will be associated with a map or scene component rather than using the `view` property.
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as _ } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as w, html as
|
|
4
|
-
import { LitElement as f, createEvent as
|
|
3
|
+
import { css as w, html as d } from "lit";
|
|
4
|
+
import { LitElement as f, createEvent as b, nothing as v, safeClassMap as x } from "@arcgis/lumina";
|
|
5
5
|
import { usePropertyChange as y } from "@arcgis/lumina/controllers";
|
|
6
6
|
import { u as k } from "../../chunks/useT9n.js";
|
|
7
|
-
import { m as
|
|
8
|
-
import { b as
|
|
9
|
-
import { g
|
|
10
|
-
import { V as
|
|
7
|
+
import { m as M } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { b as z } from "../../chunks/async-utils.js";
|
|
9
|
+
import { g } from "../../chunks/globalCss.js";
|
|
10
|
+
import { V as p } from "../../chunks/visible-element.js";
|
|
11
11
|
import O from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
12
12
|
import { hasValidAreaResult as V } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
13
|
-
import {
|
|
14
|
-
import { property as n, subclass as $ } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
|
+
import { property as l, subclass as $ } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
15
14
|
import { watch as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
16
15
|
import { A as S } from "../../chunks/AnalysisViewModel.js";
|
|
17
|
-
import { g as
|
|
18
|
-
const
|
|
19
|
-
var
|
|
20
|
-
for (var
|
|
21
|
-
(
|
|
22
|
-
return
|
|
16
|
+
import { g as U, a as C, b as u, r as E, m, c as D } from "../../chunks/measurementUtils.js";
|
|
17
|
+
const j = w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--arcgis-internal-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{width:300px}`;
|
|
18
|
+
var L = Object.defineProperty, P = Object.getOwnPropertyDescriptor, n = (t, e, a, r) => {
|
|
19
|
+
for (var i = r > 1 ? void 0 : r ? P(e, a) : e, s = t.length - 1, c; s >= 0; s--)
|
|
20
|
+
(c = t[s]) && (i = (r ? c(e, a, i) : c(i)) || i);
|
|
21
|
+
return r && i && L(e, a, i), i;
|
|
23
22
|
};
|
|
24
|
-
let
|
|
23
|
+
let o = class extends S {
|
|
25
24
|
constructor() {
|
|
26
25
|
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Area Measurement 3D component is only supported in 3D views.";
|
|
27
26
|
}
|
|
@@ -31,61 +30,44 @@ let r = class extends S {
|
|
|
31
30
|
A(
|
|
32
31
|
() => ({
|
|
33
32
|
analysis: this.analysis,
|
|
34
|
-
unit: this.
|
|
33
|
+
unit: this._userUnit
|
|
35
34
|
}),
|
|
36
|
-
({ analysis:
|
|
37
|
-
e
|
|
35
|
+
({ analysis: t, unit: e }) => {
|
|
36
|
+
e && (t.unit = e);
|
|
38
37
|
},
|
|
39
38
|
{ sync: !0, initial: !0 }
|
|
40
39
|
)
|
|
41
40
|
);
|
|
42
41
|
}
|
|
43
42
|
get state() {
|
|
44
|
-
|
|
43
|
+
const { analysis: t, disabled: e, operationState: a, ready: r, supported: i } = this, { valid: s } = t;
|
|
44
|
+
return U({ supported: i, disabled: e, ready: r, operationState: a, valid: s });
|
|
45
45
|
}
|
|
46
46
|
get displayState() {
|
|
47
|
-
|
|
48
|
-
return "unsupported";
|
|
49
|
-
switch (this.state) {
|
|
50
|
-
case "disabled":
|
|
51
|
-
case "ready":
|
|
52
|
-
return "ready";
|
|
53
|
-
case "measuring":
|
|
54
|
-
return this.analysis.geometry == null ? "measuring" : "measured";
|
|
55
|
-
case "measured":
|
|
56
|
-
return "measured";
|
|
57
|
-
}
|
|
47
|
+
return C(this.state, !!this.analysis.geometry);
|
|
58
48
|
}
|
|
59
49
|
get measurement() {
|
|
60
|
-
const { analysisView:
|
|
50
|
+
const { analysisView: t } = this, e = t?.result, a = e?.mode ?? "euclidean", r = t?.type === "area-measurement-view-3d" && V(t);
|
|
61
51
|
return {
|
|
62
|
-
mode:
|
|
63
|
-
area:
|
|
64
|
-
perimeter:
|
|
52
|
+
mode: a,
|
|
53
|
+
area: u(e?.area, r),
|
|
54
|
+
perimeter: u(e?.perimeter, r)
|
|
65
55
|
};
|
|
66
56
|
}
|
|
67
57
|
get unitOptions() {
|
|
68
|
-
|
|
69
|
-
return e && e.length > 0 ? e : m.slice();
|
|
58
|
+
return E(this._userUnitOptions, m, m);
|
|
70
59
|
}
|
|
71
|
-
set unitOptions(
|
|
72
|
-
this._userUnitOptions =
|
|
60
|
+
set unitOptions(t) {
|
|
61
|
+
this._userUnitOptions = t;
|
|
73
62
|
}
|
|
74
63
|
get unit() {
|
|
75
|
-
|
|
76
|
-
if (e && t.includes(e))
|
|
77
|
-
return e;
|
|
78
|
-
const i = this._defaultUnit;
|
|
79
|
-
return i && t.includes(i) ? i : t[0];
|
|
64
|
+
return D(this._userUnit, this.analysis.unit, this.unitOptions, this.defaultMeasurementSystem);
|
|
80
65
|
}
|
|
81
|
-
set unit(
|
|
82
|
-
this._userUnit =
|
|
66
|
+
set unit(t) {
|
|
67
|
+
this._userUnit = t;
|
|
83
68
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
async place(e) {
|
|
88
|
-
await this.analysisView?.place(e);
|
|
69
|
+
async place(t) {
|
|
70
|
+
await this.analysisView?.place(t);
|
|
89
71
|
}
|
|
90
72
|
clearAnalysis() {
|
|
91
73
|
this.analysis.geometry = null;
|
|
@@ -94,43 +76,40 @@ let r = class extends S {
|
|
|
94
76
|
return new O();
|
|
95
77
|
}
|
|
96
78
|
};
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
],
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
],
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
],
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
],
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
],
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
],
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
],
|
|
118
|
-
|
|
119
|
-
n()
|
|
120
|
-
], r.prototype, "_defaultUnit", 1);
|
|
121
|
-
r = a([
|
|
79
|
+
n([
|
|
80
|
+
l({ readOnly: !0 })
|
|
81
|
+
], o.prototype, "state", 1);
|
|
82
|
+
n([
|
|
83
|
+
l({ readOnly: !0 })
|
|
84
|
+
], o.prototype, "displayState", 1);
|
|
85
|
+
n([
|
|
86
|
+
l({ readOnly: !0 })
|
|
87
|
+
], o.prototype, "measurement", 1);
|
|
88
|
+
n([
|
|
89
|
+
l()
|
|
90
|
+
], o.prototype, "unitOptions", 1);
|
|
91
|
+
n([
|
|
92
|
+
l()
|
|
93
|
+
], o.prototype, "_userUnitOptions", 2);
|
|
94
|
+
n([
|
|
95
|
+
l()
|
|
96
|
+
], o.prototype, "unit", 1);
|
|
97
|
+
n([
|
|
98
|
+
l()
|
|
99
|
+
], o.prototype, "_userUnit", 2);
|
|
100
|
+
o = n([
|
|
122
101
|
$("components.area-measurement-3d.AreaMeasurement3dViewModel")
|
|
123
|
-
],
|
|
124
|
-
const
|
|
125
|
-
class
|
|
102
|
+
], o);
|
|
103
|
+
const B = M(o);
|
|
104
|
+
class R extends f {
|
|
126
105
|
constructor() {
|
|
127
|
-
super(...arguments), this.viewModel =
|
|
106
|
+
super(...arguments), this.viewModel = B(this), this.messages = k({ blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-area", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = b();
|
|
128
107
|
}
|
|
129
108
|
static {
|
|
130
109
|
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, state: 32, unit: 1, unitOptions: 0 };
|
|
131
110
|
}
|
|
132
111
|
static {
|
|
133
|
-
this.styles =
|
|
112
|
+
this.styles = j;
|
|
134
113
|
}
|
|
135
114
|
async clear() {
|
|
136
115
|
this.viewModel.clear();
|
|
@@ -139,28 +118,28 @@ class L extends f {
|
|
|
139
118
|
await this.manager.destroy();
|
|
140
119
|
}
|
|
141
120
|
async start() {
|
|
142
|
-
|
|
121
|
+
z(this.viewModel.start());
|
|
143
122
|
}
|
|
144
123
|
render() {
|
|
145
|
-
const { messages:
|
|
146
|
-
return
|
|
147
|
-
[
|
|
148
|
-
[
|
|
149
|
-
})} role=presentation><arcgis-measurement-content .state=${
|
|
124
|
+
const { messages: e, unit: a, unitOptions: r, viewModel: i } = this, { measurement: s, state: c } = i;
|
|
125
|
+
return d`<div aria-label=${e.componentLabel ?? v} class=${x({
|
|
126
|
+
[g.widget]: !0,
|
|
127
|
+
[g.panel]: !0
|
|
128
|
+
})} role=presentation><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
|
|
150
129
|
{
|
|
151
|
-
title:
|
|
152
|
-
measurement:
|
|
130
|
+
title: e.area,
|
|
131
|
+
measurement: s.area
|
|
153
132
|
},
|
|
154
133
|
{
|
|
155
|
-
title:
|
|
156
|
-
measurement:
|
|
134
|
+
title: e.perimeterLength,
|
|
135
|
+
measurement: s.perimeter
|
|
157
136
|
}
|
|
158
|
-
]}>${
|
|
137
|
+
]}>${p({ hidden: this.hideUnitSelect, children: d`<arcgis-unit-select slot=settings .options=${r} .selectLabel=${e.unit} .value=${a} @arcgisUnitSelectChange=${(h) => {
|
|
159
138
|
this.unit = h.detail;
|
|
160
|
-
}}></arcgis-unit-select>` })}${
|
|
139
|
+
}}></arcgis-unit-select>` })}${p({ hidden: this.hideStartButton, children: d`<calcite-button slot=actions .disabled=${c === "unsupported" || c === "disabled"} @click=${this.start}>${e.newMeasurement}</calcite-button>` })}</arcgis-measurement-content></div>`;
|
|
161
140
|
}
|
|
162
141
|
}
|
|
163
|
-
_("arcgis-area-measurement-3d",
|
|
142
|
+
_("arcgis-area-measurement-3d", R);
|
|
164
143
|
export {
|
|
165
|
-
|
|
144
|
+
R as ArcgisAreaMeasurement3d
|
|
166
145
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AreaMeasurement3DState = "disabled" | "measured" | "measuring" | "ready" | "unsupported";
|
|
@@ -3,8 +3,7 @@ import type Graphic from "@arcgis/core/Graphic.js";
|
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
4
|
import type AttachmentInfo from "@arcgis/core/rest/query/support/AttachmentInfo.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
7
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
6
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
8
7
|
import type { AttachmentsCapabilities, AttachmentsDisplay } from "@arcgis/core/widgets/Attachments/types.js";
|
|
9
8
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
10
9
|
import type { AttachmentsViewModelState } from "@arcgis/core/widgets/Attachments/AttachmentsViewModel.js";
|
|
@@ -12,7 +11,7 @@ import type { AttachmentsViewModelState } from "@arcgis/core/widgets/Attachments
|
|
|
12
11
|
/** @internal */
|
|
13
12
|
export abstract class ArcgisAttachments extends LitElement {
|
|
14
13
|
/**
|
|
15
|
-
* A collection of [AttachmentInfo](https://developers.arcgis.com/javascript/latest/
|
|
14
|
+
* A collection of [AttachmentInfo](https://developers.arcgis.com/javascript/latest/references/core/rest/query/support/AttachmentInfo/) defined on a feature.
|
|
16
15
|
*
|
|
17
16
|
* @see [ArcGIS REST API - Attachment Infos (Feature Service)](https://developers.arcgis.com/rest/services-reference/attachment-infos-feature-service-.htm)
|
|
18
17
|
*/
|
|
@@ -20,7 +19,7 @@ export abstract class ArcgisAttachments extends LitElement {
|
|
|
20
19
|
/** An array of strings used to identify attachment(s). When attachments are displayed, this property is used to query attachments using an exact match on the keywords provided. */
|
|
21
20
|
accessor attachmentKeywords: Array<string> | null | undefined;
|
|
22
21
|
/** An array of strings representing MIME types. When attachments are displayed, this property is used to query attachments based on MIME type. Valid values: application, audio, image, model, text, and video. */
|
|
23
|
-
accessor attachmentTypes: Array<"
|
|
22
|
+
accessor attachmentTypes: Array<"image" | "model" | "text" | "video" | "application" | "audio"> | null | undefined;
|
|
24
23
|
/**
|
|
25
24
|
* If true, the component will not be destroyed automatically when it is
|
|
26
25
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -38,11 +37,11 @@ export abstract class ArcgisAttachments extends LitElement {
|
|
|
38
37
|
*/
|
|
39
38
|
accessor capabilities: AttachmentsCapabilities;
|
|
40
39
|
/**
|
|
41
|
-
* String indicating how to [display](https://developers.arcgis.com/javascript/latest/
|
|
40
|
+
* String indicating how to [display](https://developers.arcgis.com/javascript/latest/references/core/widgets/Attachments/#displayType) the attachments.
|
|
42
41
|
*
|
|
43
42
|
* | Value | Description |
|
|
44
43
|
* | ------ | ----------- |
|
|
45
|
-
* | auto | Default value. If a feature layer's capabilities supports [resizing attachments](https://developers.arcgis.com/javascript/latest/
|
|
44
|
+
* | auto | Default value. If a feature layer's capabilities supports [resizing attachments](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#capabilities), the popup will display attachments in `preview` mode.|
|
|
46
45
|
* | preview | Shows a thumbnail image of the attachment.|
|
|
47
46
|
* | list | Shows a list of attachment links. |
|
|
48
47
|
*
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
import type LocalBasemapsSource from "@arcgis/core/widgets/BasemapGallery/support/LocalBasemapsSource.js";
|
|
3
3
|
import type PortalBasemapsSource from "@arcgis/core/widgets/BasemapGallery/support/PortalBasemapsSource.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { HeadingLevel } from "
|
|
6
|
-
import type {
|
|
7
|
-
import type { BasemapProperties } from "@arcgis/core/Basemap";
|
|
5
|
+
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
6
|
+
import type { BasemapProperties } from "@arcgis/core/Basemap.js";
|
|
8
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
8
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
10
9
|
import type { BasemapGalleryViewModelState } from "@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js";
|
|
@@ -15,7 +14,7 @@ import type { BasemapGalleryViewModelState } from "@arcgis/core/widgets/BasemapG
|
|
|
15
14
|
* @since 4.28
|
|
16
15
|
*/
|
|
17
16
|
export abstract class ArcgisBasemapGallery extends LitElement {
|
|
18
|
-
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/
|
|
17
|
+
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap). */
|
|
19
18
|
accessor activeBasemap: BasemapProperties | string | undefined;
|
|
20
19
|
/**
|
|
21
20
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -28,7 +27,7 @@ export abstract class ArcgisBasemapGallery extends LitElement {
|
|
|
28
27
|
*/
|
|
29
28
|
accessor autoDestroyDisabled: boolean;
|
|
30
29
|
/**
|
|
31
|
-
* When
|
|
30
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
32
31
|
*
|
|
33
32
|
* @default false
|
|
34
33
|
*/
|
|
@@ -3,17 +3,17 @@ import { g as x, c as w } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { classes as k } from "@arcgis/toolkit/dom";
|
|
4
4
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as $, nothing as a, safeClassMap as p } from "@arcgis/lumina";
|
|
6
|
-
import { css as
|
|
7
|
-
import { g as
|
|
8
|
-
import { g as
|
|
6
|
+
import { css as B, html as i } from "lit";
|
|
7
|
+
import { g as I } from "../../chunks/globalCss.js";
|
|
8
|
+
import { g as _ } from "../../chunks/component-utils.js";
|
|
9
9
|
function A(t) {
|
|
10
10
|
return t.portalItem?.type === "Web Scene" || t.referenceLayers.some((e) => e.type === "scene");
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
return !!t?.portalItem?.tags?.some((e) => e.toLowerCase() === "beta");
|
|
12
|
+
function C(t) {
|
|
13
|
+
return !!t?.portalItem?.tags?.some((e) => e.toLowerCase() === "beta") || !!t?.portalItem?.categories?.includes("/Categories/Status/Beta");
|
|
14
14
|
}
|
|
15
|
-
const
|
|
16
|
-
class
|
|
15
|
+
const z = B`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}:host{container-type:inline-size}.empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.item{box-sizing:border-box;cursor:pointer;border:1px solid var(--calcite-color-background);flex-direction:row;width:100%;transition:background-color .25s ease-in-out,border-color .25s ease-in-out;animation:.5s ease-in-out esri-fade-in;display:flex;position:relative}.item:hover{background-color:var(--calcite-color-foreground-3);border-color:var(--calcite-color-background-inverse)}.item:hover .item-title{color:var(--calcite-color-text-1)}.item:focus{outline:none}.is-error{opacity:var(--calcite-opacity-light);background-color:var(--calcite-color-transparent)!important;border-color:var(--calcite-color-transparent)!important;cursor:auto}.item-thumbnail{aspect-ratio:1.5;border-inline-end:1px solid var(--calcite-color-border-1);flex-shrink:0;width:120px;min-width:120px;transition:background-color .25s ease-in-out,border-color .25s ease-in-out}.item-title{color:var(--calcite-color-text-3);justify-content:flex-start;align-items:center;width:100%;height:100%;font-size:var(--calcite-font-size-sm);transition:color .25s ease-in-out,font-weight .25s ease-in-out;display:flex}.item-title span{text-align:start;text-overflow:ellipsis;word-wrap:break-word;word-break:break-word;hyphens:auto;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;width:100%;display:-webkit-box;overflow:hidden}.is-selected,.is-selected:hover,.is-selected:focus{cursor:auto;background-color:color-mix(in srgb,var(--calcite-color-brand-underline),70% transparent);border-color:var(--calcite-color-status-info)!important}.is-selected .item-title,.item.is-selected:hover .item-title,.item.is-selected:focus .item-title{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.item-content{flex-direction:column;gap:var(--calcite-spacing-md);min-width:0;padding-block:var(--calcite-spacing-base);padding-inline:var(--calcite-spacing-md);display:flex}.item-tags{flex-direction:row;gap:var(--calcite-spacing-base);display:flex}.item-tags calcite-chip{--calcite-font-size--2: var(--calcite-font-size--3);cursor:inherit}@supports (object-fit: cover){.item-thumbnail{object-fit:cover}}@container (width>=200px) and (width <= 300px){.item{align-items:center}.item:not(.is-selected,:hover){border-color:var(--calcite-color-transparent)}}@container (width>=200px) and (width <= 278px){.item-thumbnail{aspect-ratio:1;width:80px;min-width:80px;object-position:left}}@container (width<200px) or (width>=350px){.item{text-align:center;flex-flow:column wrap}.item:not(.is-selected,:hover){border-color:var(--calcite-color-border-1)}.item-thumbnail{border-block-end:1px solid var(--calcite-color-border-1);border-inline-end:none;width:100%;min-width:0;height:auto}.item-content{height:32px;padding-block:var(--calcite-spacing-xxs);padding-inline:var(--calcite-spacing-xs);position:relative}.item-tags{position:absolute;inset-block-end:45px;inset-inline-end:5px}}`;
|
|
16
|
+
class S extends $ {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments), this._itemState = "loading", this._isActive = !1;
|
|
19
19
|
}
|
|
@@ -21,7 +21,7 @@ class Y extends $ {
|
|
|
21
21
|
this.properties = { _itemState: 16, _isActive: 16, disabled: 5, item: 0, itemIndex: 9, viewModel: 0, messages: 0 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.styles =
|
|
24
|
+
this.styles = z;
|
|
25
25
|
}
|
|
26
26
|
loaded() {
|
|
27
27
|
this.manager.onLifecycle(() => [
|
|
@@ -29,7 +29,7 @@ class Y extends $ {
|
|
|
29
29
|
this._itemState = e;
|
|
30
30
|
}, { sync: !0 }),
|
|
31
31
|
l(() => this.viewModel.activeBasemap, (e) => {
|
|
32
|
-
this._isActive = this.item.basemap.id === e?.id, this._isActive && (
|
|
32
|
+
this._isActive = this.item.basemap.id === e?.id, this._isActive && (_(this)?.focus(), this.el.scrollIntoView({ block: "nearest" }));
|
|
33
33
|
}, { initial: !0, sync: !0 })
|
|
34
34
|
]);
|
|
35
35
|
}
|
|
@@ -43,19 +43,19 @@ class Y extends $ {
|
|
|
43
43
|
}, c = `basemapgallery-item-${e.uid}`;
|
|
44
44
|
return i`<div .ariaChecked=${r} .ariaDisabled=${h} aria-labelledby=${c ?? a} class=${p(k("item", v))} role=radio tabindex=${y ?? a} title=${g ?? a} @click=${() => {
|
|
45
45
|
e.state === "ready" && (m.activeBasemap = e.basemap);
|
|
46
|
-
}}><img alt class="item-thumbnail" src=${f ?? a}><div class="item-content"><div class="item-title"><span id=${c ?? a}>${s}</span></div>${A(e.basemap) ?
|
|
46
|
+
}}><img alt class="item-thumbnail" src=${f ?? a}><div class="item-content"><div class="item-title"><span id=${c ?? a}>${s}</span></div>${A(e.basemap) ? Y(e.basemap, d) : null}</div>${e.state !== "loading" ? null : i`<calcite-scrim><span aria-hidden=true class=${p(I.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return i`<div class="item-tags">${
|
|
49
|
+
function Y(t, e) {
|
|
50
|
+
return i`<div class="item-tags">${D(e)}${C(t) ? M(e) : null}</div>`;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function D(t) {
|
|
53
53
|
return i`<calcite-chip scale=s .label=${t.tag3D}>${t.tag3D}</calcite-chip>`;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function M(t) {
|
|
56
56
|
return i`<calcite-chip appearance=outline-fill scale=s .label=${t.tagBeta}>${t.tagBeta}</calcite-chip>`;
|
|
57
57
|
}
|
|
58
|
-
w("arcgis-basemap-gallery-item",
|
|
58
|
+
w("arcgis-basemap-gallery-item", S);
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
S as ArcgisBasemapGalleryItem
|
|
61
61
|
};
|