@arcgis/map-components 4.34.0-next.8 → 4.34.0-next.81
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/23OCSAG5.js +4 -0
- package/dist/cdn/{DVAYIM4A.js → 24EPWR4F.js} +1 -1
- package/dist/cdn/2F6OH7HE.js +4 -0
- package/dist/cdn/2H67PIJD.js +4 -0
- package/dist/cdn/2OW6WLXY.js +4 -0
- package/dist/cdn/2PUOSCNR.js +4 -0
- package/dist/cdn/{PRI3F4JY.js → 2SHE6NVJ.js} +2 -2
- package/dist/cdn/2ZUFKR5G.js +4 -0
- package/dist/cdn/{656YU7YM.js → 32UR2AXE.js} +2 -2
- package/dist/cdn/3ISSGQV7.js +4 -0
- package/dist/cdn/3J75KYHU.js +4 -0
- package/dist/cdn/{GIDFUOKW.js → 3MSI27QA.js} +2 -2
- package/dist/cdn/{5WAM5HGJ.js → 3VULUDYF.js} +2 -2
- package/dist/cdn/{MYW7GAD7.js → 42BUGF4M.js} +2 -2
- package/dist/cdn/44LDHPYD.js +4 -0
- package/dist/cdn/4D3BDJBK.js +4 -0
- package/dist/cdn/4JV6Q56A.js +4 -0
- package/dist/cdn/4MLK7BFQ.js +4 -0
- package/dist/cdn/4SUEUVQG.js +4 -0
- package/dist/cdn/4SUHKLCU.js +4 -0
- package/dist/cdn/4UENUWNO.js +4 -0
- package/dist/cdn/4ZDITJW2.js +4 -0
- package/dist/cdn/5CSOLOIZ.js +4 -0
- package/dist/cdn/5DEKYRIB.js +4 -0
- package/dist/cdn/5GWWQ6ZF.js +4 -0
- package/dist/cdn/5GXEKA65.js +4 -0
- package/dist/cdn/5HJVFX5Y.js +4 -0
- package/dist/cdn/5WHGPQL6.js +4 -0
- package/dist/cdn/5ZKWTFPB.js +4 -0
- package/dist/cdn/5ZL7G53H.js +4 -0
- package/dist/cdn/6C7VAU64.js +4 -0
- package/dist/cdn/6DI5SQQL.js +4 -0
- package/dist/cdn/6LCVNRNT.js +4 -0
- package/dist/cdn/6OFXILIA.js +4 -0
- package/dist/cdn/6R7TRBKP.js +4 -0
- package/dist/cdn/76YI7KAK.js +4 -0
- package/dist/cdn/7GLXNYFB.js +4 -0
- package/dist/cdn/{V6KYONBE.js → 7QPHKEGX.js} +1 -1
- package/dist/cdn/A42RIF4H.js +4 -0
- package/dist/cdn/{MR2LMEXV.js → AAGRZTV4.js} +2 -2
- package/dist/cdn/ADKRFQZQ.js +4 -0
- package/dist/cdn/AUVLFUJP.js +4 -0
- package/dist/cdn/B4L5AWZ3.js +4 -0
- package/dist/cdn/B4ZYJXBP.js +4 -0
- package/dist/cdn/B7FYCD5M.js +4 -0
- package/dist/cdn/BBSCFOE6.js +4 -0
- package/dist/cdn/BCKW5RQ7.js +4 -0
- package/dist/cdn/BK5MOKJA.js +4 -0
- package/dist/cdn/BR7YBLQ7.js +4 -0
- package/dist/cdn/BSITATMS.js +4 -0
- package/dist/cdn/BWCIFNCV.js +4 -0
- package/dist/cdn/C3WOXUGQ.js +4 -0
- package/dist/cdn/CE7R6GRG.js +4 -0
- package/dist/cdn/CLDJS7EU.js +4 -0
- package/dist/cdn/CPBVXGWY.js +4 -0
- package/dist/cdn/CPK6RRC6.js +4 -0
- package/dist/cdn/CQSXNTHT.js +4 -0
- package/dist/cdn/CSSECQO6.js +4 -0
- package/dist/cdn/CYKLDNBR.js +4 -0
- package/dist/cdn/CZWROVPE.js +4 -0
- package/dist/cdn/CZXQPSLL.js +4 -0
- package/dist/cdn/DC2YUXBL.js +4 -0
- package/dist/cdn/DIE22EGP.js +4 -0
- package/dist/cdn/DJPDJXB7.js +4 -0
- package/dist/cdn/DP7ABMMD.js +4 -0
- package/dist/cdn/DRKXTCQX.js +4 -0
- package/dist/cdn/E6P7ZG4P.js +4 -0
- package/dist/cdn/EENHI7AR.js +4 -0
- package/dist/cdn/EHNDVK7O.js +4 -0
- package/dist/cdn/EMSE2U42.js +4 -0
- package/dist/cdn/EY4OWI6G.js +4 -0
- package/dist/cdn/F22YXKVZ.js +4 -0
- package/dist/cdn/F26EBVFT.js +4 -0
- package/dist/cdn/FFW44GVX.js +4 -0
- package/dist/cdn/FGEJYS2F.js +4 -0
- package/dist/cdn/{GYVHCFLW.js → FOQCH2PX.js} +1 -1
- package/dist/cdn/FPE72S56.js +4 -0
- package/dist/cdn/FPFHERBB.js +4 -0
- package/dist/cdn/FWWD7RGQ.js +4 -0
- package/dist/cdn/FZIU6VYH.js +4 -0
- package/dist/cdn/G4NB3OBK.js +4 -0
- package/dist/cdn/G6QMUECA.js +4 -0
- package/dist/cdn/G72CJSL6.js +4 -0
- package/dist/cdn/G7X7K2UL.js +4 -0
- package/dist/cdn/GC4J7G4C.js +4 -0
- package/dist/cdn/GDWNYL5B.js +4 -0
- package/dist/cdn/GMX54YZ4.js +4 -0
- package/dist/cdn/H5NNP6LB.js +4 -0
- package/dist/cdn/H6T222RQ.js +5 -0
- package/dist/cdn/H6Z3ZMYK.js +4 -0
- package/dist/cdn/HBMFEDVC.js +4 -0
- package/dist/cdn/HDSRL4BN.js +4 -0
- package/dist/cdn/HGPPIJ23.js +4 -0
- package/dist/cdn/HNAVONOB.js +4 -0
- package/dist/cdn/HNOFMFUK.js +4 -0
- package/dist/cdn/IAXXGMZY.js +4 -0
- package/dist/cdn/IDVVE5ZA.js +4 -0
- package/dist/cdn/IKIVYXDG.js +4 -0
- package/dist/cdn/{ILNZINO3.js → IPIUF5EE.js} +2 -2
- package/dist/cdn/IZGGJ67V.js +4 -0
- package/dist/cdn/J62DFIJJ.js +4 -0
- package/dist/cdn/JCS6LRTO.js +4 -0
- package/dist/cdn/JMFDP3N2.js +4 -0
- package/dist/cdn/K2K3SVNK.js +4 -0
- package/dist/cdn/K37JPFII.js +4 -0
- package/dist/cdn/KZBZKETJ.js +4 -0
- package/dist/cdn/{4C2AMRV3.js → LB6FAZU4.js} +2 -2
- package/dist/cdn/LEHWSDCC.js +4 -0
- package/dist/cdn/LEO5UHUH.js +4 -0
- package/dist/cdn/LF55VSRE.js +4 -0
- package/dist/cdn/LJ744YWJ.js +4 -0
- package/dist/cdn/M5SO6PLC.js +4 -0
- package/dist/cdn/MAS5X3MU.js +4 -0
- package/dist/cdn/MJ3ACHUI.js +4 -0
- package/dist/cdn/MMADJXSK.js +4 -0
- package/dist/cdn/NAVN5I7A.js +4 -0
- package/dist/cdn/NDSWSODW.js +4 -0
- package/dist/cdn/NFFUHC5T.js +6 -0
- package/dist/cdn/NHIQZMCA.js +4 -0
- package/dist/cdn/NJPA55HA.js +4 -0
- package/dist/cdn/{IEE3ZBWU.js → NNQ7U5L3.js} +2 -2
- package/dist/cdn/NOXG5ABY.js +4 -0
- package/dist/cdn/O25RXIMT.js +4 -0
- package/dist/cdn/{F4R4AZMX.js → OBTK7W4L.js} +2 -2
- package/dist/cdn/OHE5TOAS.js +4 -0
- package/dist/cdn/OIKQKCBV.js +4 -0
- package/dist/cdn/P66H32HI.js +4 -0
- package/dist/cdn/PLDCG3H6.js +4 -0
- package/dist/cdn/PTJOS2WT.js +4 -0
- package/dist/cdn/PVOYC6A7.js +4 -0
- package/dist/cdn/Q3M37QLC.js +4 -0
- package/dist/cdn/Q3NKX5DK.js +4 -0
- package/dist/cdn/Q5FMRTPX.js +4 -0
- package/dist/cdn/QBLWBZGZ.js +4 -0
- package/dist/cdn/QDKRGZK5.js +4 -0
- package/dist/cdn/QLPUS5UA.js +4 -0
- package/dist/cdn/QN3A5UFK.js +4 -0
- package/dist/cdn/QTCH7CHW.js +4 -0
- package/dist/cdn/QTUI5BY6.js +4 -0
- package/dist/cdn/RBNDEOYG.js +4 -0
- package/dist/cdn/RIOMUX5A.js +4 -0
- package/dist/cdn/RIZ75NK6.js +4 -0
- package/dist/cdn/ROM4VGCT.js +4 -0
- package/dist/cdn/RTEFQICF.js +4 -0
- package/dist/cdn/S44FDCAW.js +4 -0
- package/dist/cdn/S67MOIPZ.js +4 -0
- package/dist/cdn/SAY5WAD3.js +4 -0
- package/dist/cdn/{VTS7NWDH.js → SE2RA67A.js} +1 -1
- package/dist/cdn/STJMKAD6.js +4 -0
- package/dist/cdn/SZUDGI7B.js +4 -0
- package/dist/cdn/TKCEU6XO.js +4 -0
- package/dist/cdn/TR4KWA5R.js +4 -0
- package/dist/cdn/TZXVMMXS.js +4 -0
- package/dist/cdn/U2N3WF6Q.js +4 -0
- package/dist/cdn/{X7BQVP4K.js → U3S2TCQT.js} +1 -1
- package/dist/cdn/U4WFE3TW.js +4 -0
- package/dist/cdn/UGOOEZ4B.js +4 -0
- package/dist/cdn/UY7OFWID.js +4 -0
- package/dist/cdn/V5QCGNEW.js +4 -0
- package/dist/cdn/VLLLHH6H.js +4 -0
- package/dist/cdn/VN7LBYZD.js +4 -0
- package/dist/cdn/VTPVQVMN.js +4 -0
- package/dist/cdn/VTW77JEL.js +4 -0
- package/dist/cdn/WPPMO4E7.js +4 -0
- package/dist/cdn/{PI7H5GRX.js → WR76T2FN.js} +1 -1
- package/dist/cdn/WWHR666E.js +4 -0
- package/dist/cdn/X4GGVQDN.js +4 -0
- package/dist/cdn/X6H2X73K.js +4 -0
- package/dist/cdn/X6WZ5FCI.js +4 -0
- package/dist/cdn/{OM2N2SN3.js → X7A5HLHM.js} +1 -1
- package/dist/cdn/XC5BMLZU.js +4 -0
- package/dist/cdn/XGPA7OC3.js +4 -0
- package/dist/cdn/XHGEGY63.js +4 -0
- package/dist/cdn/XIKIHICD.js +4 -0
- package/dist/cdn/XSY7VTZ4.js +4 -0
- package/dist/cdn/Y4SXZ2OL.js +4 -0
- package/dist/cdn/{RVL24YAQ.js → Y645YIWB.js} +2 -2
- package/dist/cdn/Y6PN2L2V.js +4 -0
- package/dist/cdn/YAT472IU.js +4 -0
- package/dist/cdn/YBCFYT23.js +4 -0
- package/dist/cdn/{YLPU64QT.js → YHZF53T3.js} +2 -2
- package/dist/cdn/YLQKDJRZ.js +4 -0
- package/dist/cdn/YN7BBQOM.js +4 -0
- package/dist/cdn/YQPUPWKL.js +4 -0
- package/dist/cdn/Z5SJQMYF.js +4 -0
- package/dist/cdn/ZJE5JM5Z.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- 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 +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/index.js +17 -0
- package/dist/chunks/layer-list.js +2 -2
- 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/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +10 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +33 -25
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +394 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +13 -6
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -5
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/css.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.d.ts +40 -29
- package/dist/components/arcgis-search/customElement.js +38 -34
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +43 -34
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +30 -19
- package/dist/components/arcgis-video-player-action-bar/index.d.ts +1 -0
- package/dist/components/arcgis-video-player-action-bar/index.js +1 -0
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +18 -15
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/css.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +56 -5
- package/dist/components/arcgis-weather/customElement.js +60 -65
- package/dist/components/arcgis-weather/index.d.ts +1 -1
- package/dist/components/arcgis-weather/index.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +4149 -2897
- package/dist/docs/docs.json +6567 -5925
- package/dist/docs/vscode.html-custom-data.json +465 -337
- package/dist/docs/web-types.json +1157 -1009
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -34
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -21
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -36
- package/dist/types/preact.d.ts +29 -37
- package/dist/types/react.d.ts +30 -38
- package/dist/types/stencil.d.ts +28 -36
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/2EL47YSQ.js +0 -4
- package/dist/cdn/2FWGOWFO.js +0 -4
- package/dist/cdn/2SULQ4KK.js +0 -4
- package/dist/cdn/3HSBCQKG.js +0 -4
- package/dist/cdn/4LS5QGQY.js +0 -4
- package/dist/cdn/4RPSRSY4.js +0 -4
- package/dist/cdn/4ZBYDBG2.js +0 -4
- package/dist/cdn/5C3EOKNR.js +0 -4
- package/dist/cdn/5ENOXTFZ.js +0 -4
- package/dist/cdn/5HFZPYQ3.js +0 -4
- package/dist/cdn/65FZ5SI5.js +0 -4
- package/dist/cdn/6OHNJ5KH.js +0 -4
- package/dist/cdn/6ZFIJSJE.js +0 -4
- package/dist/cdn/75Y5MUUW.js +0 -4
- package/dist/cdn/7HHVU46D.js +0 -4
- package/dist/cdn/7IUDGNHM.js +0 -4
- package/dist/cdn/7KFXGXRZ.js +0 -4
- package/dist/cdn/7TIBJRHQ.js +0 -4
- package/dist/cdn/7TOSFZBH.js +0 -4
- package/dist/cdn/AFQ3CNBA.js +0 -4
- package/dist/cdn/AGICPYUS.js +0 -4
- package/dist/cdn/APMFVINZ.js +0 -4
- package/dist/cdn/AXVNVZYY.js +0 -4
- package/dist/cdn/BH472V6R.js +0 -4
- package/dist/cdn/BSVQ73BN.js +0 -4
- package/dist/cdn/BXOEGYMC.js +0 -4
- package/dist/cdn/CORDNDJ7.js +0 -4
- package/dist/cdn/CYEXPOL6.js +0 -4
- package/dist/cdn/D3MRITGJ.js +0 -4
- package/dist/cdn/DJPZ44PI.js +0 -4
- package/dist/cdn/DMRETXSG.js +0 -4
- package/dist/cdn/DXY5GBKD.js +0 -6
- package/dist/cdn/E4JWST54.js +0 -4
- package/dist/cdn/E7DAI2OU.js +0 -4
- package/dist/cdn/F4IQXJLJ.js +0 -4
- package/dist/cdn/FCSFUTXJ.js +0 -4
- package/dist/cdn/FDHW3VRA.js +0 -4
- package/dist/cdn/FG7KDZIB.js +0 -4
- package/dist/cdn/FNLXG2W3.js +0 -4
- package/dist/cdn/G3QSNGGG.js +0 -4
- package/dist/cdn/GDWNN6TE.js +0 -4
- package/dist/cdn/GNJ4YNM2.js +0 -4
- package/dist/cdn/GOQV4ZD3.js +0 -4
- package/dist/cdn/HPUACRYC.js +0 -4
- package/dist/cdn/IBNTS6PG.js +0 -4
- package/dist/cdn/IE44CEMQ.js +0 -4
- package/dist/cdn/IL6WFIVO.js +0 -4
- package/dist/cdn/IRIDLSO3.js +0 -4
- package/dist/cdn/KB4RHIMM.js +0 -4
- package/dist/cdn/KNM2L55W.js +0 -4
- package/dist/cdn/L7WHPL3W.js +0 -4
- package/dist/cdn/MKPFXZNG.js +0 -4
- package/dist/cdn/MNRK63NF.js +0 -4
- package/dist/cdn/NAE6KF2V.js +0 -4
- package/dist/cdn/NKEGBDR7.js +0 -4
- package/dist/cdn/NMSW7IAE.js +0 -4
- package/dist/cdn/NRBNSX33.js +0 -4
- package/dist/cdn/OMWLA2K3.js +0 -4
- package/dist/cdn/ON2T4CBB.js +0 -4
- package/dist/cdn/ORMFB243.js +0 -4
- package/dist/cdn/OS7FSXE7.js +0 -4
- package/dist/cdn/OSXV6FXE.js +0 -4
- package/dist/cdn/OZKMAP4Z.js +0 -4
- package/dist/cdn/PIMX4X2G.js +0 -4
- package/dist/cdn/PISMFJUF.js +0 -4
- package/dist/cdn/PNHC4QAI.js +0 -4
- package/dist/cdn/PUSKMZOI.js +0 -4
- package/dist/cdn/PVE4KHDN.js +0 -4
- package/dist/cdn/Q643CZCT.js +0 -4
- package/dist/cdn/RPGEPAXC.js +0 -4
- package/dist/cdn/RSGPVWZC.js +0 -4
- package/dist/cdn/RVKZRZ5X.js +0 -4
- package/dist/cdn/RXJDYF45.js +0 -4
- package/dist/cdn/SN3TAFJA.js +0 -4
- package/dist/cdn/SUJ27253.js +0 -4
- package/dist/cdn/T7MQ5OG2.js +0 -4
- package/dist/cdn/TGAS4E4A.js +0 -4
- package/dist/cdn/TM7AOMFK.js +0 -4
- package/dist/cdn/TU3PDRR3.js +0 -4
- package/dist/cdn/TYGNKCZM.js +0 -4
- package/dist/cdn/U3A4L666.js +0 -4
- package/dist/cdn/U7JHAHCD.js +0 -4
- package/dist/cdn/UIWYLDIB.js +0 -4
- package/dist/cdn/VLYOEVJO.js +0 -4
- package/dist/cdn/WD7GKYC5.js +0 -4
- package/dist/cdn/WGLKRGHM.js +0 -4
- package/dist/cdn/WVMLI2M4.js +0 -4
- package/dist/cdn/WZVHCVXT.js +0 -4
- package/dist/cdn/X3ZXNMN7.js +0 -4
- package/dist/cdn/XHGDPFLO.js +0 -4
- package/dist/cdn/Y4PEPRXU.js +0 -4
- package/dist/cdn/Y4VFLWWQ.js +0 -4
- package/dist/cdn/Y57F7DDG.js +0 -4
- package/dist/cdn/YWOGURYY.js +0 -4
- package/dist/cdn/YZTG72SZ.js +0 -4
- package/dist/cdn/Z73JMBNO.js +0 -4
- package/dist/cdn/ZGVWKWHA.js +0 -4
- package/dist/cdn/ZID6LZJO.js +0 -4
- package/dist/cdn/ZLQ4G2XR.js +0 -4
- package/dist/cdn/ZXKHLRKF.js +0 -4
- package/dist/components/arcgis-slider/customElement.d.ts +0 -240
- package/dist/components/arcgis-slider/customElement.js +0 -32
- /package/dist/components/{arcgis-slider → arcgis-feature-element-info}/index.d.ts +0 -0
- /package/dist/components/{arcgis-slider → arcgis-feature-element-info}/index.js +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
3
|
-
import { default as AreaMeasurementAnalysis } from '@arcgis/core/analysis/AreaMeasurementAnalysis.js';
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
4
3
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { Use } from '@arcgis/lumina/controllers';
|
|
6
5
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
@@ -8,14 +7,96 @@ import { default as AreaMeasurement3dViewModel } from './AreaMeasurement3dViewMo
|
|
|
8
7
|
|
|
9
8
|
declare const useViewModel: (component: LitElement & Pick<AreaMeasurement3dViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<AreaMeasurement3dViewModel>) => AreaMeasurement3dViewModel;
|
|
10
9
|
/**
|
|
11
|
-
* The Area Measurement 3D component
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* The Area Measurement 3D component can be added to a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
11
|
+
* component to calculate and display area and perimeter of polygons.
|
|
12
|
+
*
|
|
13
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
14
|
+
*
|
|
15
|
+
* How the area and perimeter are computed depends on the scene's spatial reference and the length of the measured perimeter.
|
|
16
|
+
*
|
|
17
|
+
* In **geographic coordinate systems** (GCS) and in **Web Mercator**:
|
|
18
|
+
* - If the measurement's perimeter is below 100 km, they are computed in a Euclidean manner,
|
|
19
|
+
* in an [ECEF](https://en.wikipedia.org/wiki/ECEF) coordinate system (or equivalent on other planets).
|
|
20
|
+
* - If the perimeter is above 100 km, they are computed geodetically, and the visualization takes
|
|
21
|
+
* the curvature of the planet into consideration.
|
|
22
|
+
*
|
|
23
|
+
* In **projected coordinate systems** (PCS), apart from Web Mercator, the area and perimeter
|
|
24
|
+
* are always calculated in a Euclidean manner (in their respective PCS).
|
|
25
|
+
*
|
|
26
|
+
* The area may be visualized and calculated in two ways:
|
|
27
|
+
* 1. If all the vertices are mostly coplanar (lying on the same plane),
|
|
28
|
+
* the measurement polygon is formed on that plane, and area and perimeter are calculated from its geometry.
|
|
29
|
+
* 2. If the vertices don't form a planar surface, the measurement polygon
|
|
30
|
+
* is projected to a horizontal plane, and area and perimeter are calculated from its geometry.
|
|
31
|
+
*
|
|
32
|
+
* 
|
|
33
|
+
*
|
|
34
|
+
* When the component is active, a horizontal "laser" line is drawn which indicates the height at the current mouse position.
|
|
35
|
+
* This line can help in analyzing the heights of objects relative to each other and the terrain.
|
|
36
|
+
*
|
|
37
|
+
* **Things to consider**
|
|
38
|
+
*
|
|
39
|
+
* * Area Measurement 3D is designed to work in the Scene component. For measurements in the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
40
|
+
* component, use [Area Measurement 2D](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-2d/).
|
|
41
|
+
* * Snapping is enabled by default. Holding the `CTRL` key disables it.
|
|
42
|
+
* * Layer types currently supported for snapping are:
|
|
43
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
44
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html) (except Mesh geometries),
|
|
45
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
46
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html),
|
|
47
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
48
|
+
* [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
|
|
49
|
+
* and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).
|
|
50
|
+
*
|
|
51
|
+
* **See also**
|
|
52
|
+
*
|
|
53
|
+
* - [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html)
|
|
54
|
+
* - [Sample - Measurement in 3D](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
55
|
+
* - [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
14
56
|
*
|
|
15
57
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/)
|
|
16
58
|
*/
|
|
17
59
|
export declare class ArcgisAreaMeasurement3d extends LitElement {
|
|
18
|
-
|
|
60
|
+
/**
|
|
61
|
+
* The [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html)
|
|
62
|
+
* created or modified by the component.
|
|
63
|
+
*
|
|
64
|
+
* When connecting the Area Measurement 3D component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
65
|
+
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
66
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
67
|
+
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
68
|
+
*
|
|
69
|
+
* Alternatively, a programmatically created analysis can be provided to the component.
|
|
70
|
+
* Then, the application itself needs to add it to and later remove it from the Scene's analyses collection.
|
|
71
|
+
*
|
|
72
|
+
* ```js
|
|
73
|
+
* // Create the analysis.
|
|
74
|
+
* const areaMeasurementAnalysis = new AreaMeasurementAnalysis({
|
|
75
|
+
* geometry: new Polygon({
|
|
76
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
77
|
+
* rings: [
|
|
78
|
+
* [
|
|
79
|
+
* [-13624861.22274897, 4550346.5519295, 63.378210234455764],
|
|
80
|
+
* [-13624935.305160372, 4550273.144585712, 63.37829629518092],
|
|
81
|
+
* [-13624995.61798748, 4550334.030096778, 63.37819860037416],
|
|
82
|
+
* [-13624921.53589075, 4550407.42357004, 63.3783810287714],
|
|
83
|
+
* [-13624861.22274897, 4550346.5519295, 63.378210234455764]
|
|
84
|
+
* ]
|
|
85
|
+
* ]
|
|
86
|
+
* })
|
|
87
|
+
* });
|
|
88
|
+
* // Get the Scene and measurement component and wait until they are ready.
|
|
89
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
90
|
+
* await viewElement.viewOnReady();
|
|
91
|
+
* const areaMeasurement3d = document.querySelector("arcgis-area-measurement-3d");
|
|
92
|
+
* await areaMeasurement3d.componentOnReady();
|
|
93
|
+
* // Add the analysis to the Scene component.
|
|
94
|
+
* viewElement.analyses.add(areaMeasurementAnalysis);
|
|
95
|
+
* // Connect the analysis to the measurement component:
|
|
96
|
+
* areaMeasurement3d.analysis = areaMeasurementAnalysis;
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
analysis: __esri.AreaMeasurementAnalysis;
|
|
19
100
|
/**
|
|
20
101
|
* If true, the component will not be destroyed automatically when it is
|
|
21
102
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -38,22 +119,43 @@ export declare class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
38
119
|
label?: string;
|
|
39
120
|
/** @default "bottom-left" */
|
|
40
121
|
position: __esri.UIPosition;
|
|
122
|
+
/**
|
|
123
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
124
|
+
*
|
|
125
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
126
|
+
*/
|
|
41
127
|
referenceElement?: ArcgisReferenceElement | string;
|
|
42
|
-
/**
|
|
43
|
-
|
|
44
|
-
|
|
128
|
+
/**
|
|
129
|
+
* The component's state. The values mean the following:
|
|
130
|
+
*
|
|
131
|
+
* * `disabled` - not ready yet
|
|
132
|
+
* * `ready` - ready for measuring
|
|
133
|
+
* * `measuring` - currently measuring
|
|
134
|
+
* * `measured` - measuring has finished
|
|
135
|
+
*/
|
|
136
|
+
readonly state: "ready" | "disabled" | "measured" | "measuring";
|
|
137
|
+
/**
|
|
138
|
+
* Unit system (imperial, metric) or specific unit used for displaying the area values. Possible values are listed in
|
|
139
|
+
* [unitOptions](#unitOptions).
|
|
140
|
+
*/
|
|
45
141
|
unit: __esri.SystemOrAreaUnit;
|
|
46
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
144
|
+
* 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`.
|
|
145
|
+
* Possible [unit](#unit) values can only be a subset of this list.
|
|
146
|
+
*/
|
|
47
147
|
unitOptions: __esri.SystemOrAreaUnit[];
|
|
148
|
+
/** Clears the current measurement. */
|
|
48
149
|
clear(): Promise<void>;
|
|
49
150
|
/** Permanently destroy the component. */
|
|
50
151
|
destroy(): Promise<void>;
|
|
152
|
+
/** Starts a new measurement. */
|
|
51
153
|
start(): Promise<void>;
|
|
52
154
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
53
155
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
54
156
|
name: "state" | "analysis";
|
|
55
157
|
}>;
|
|
56
|
-
/** Emitted when the component associated with a map or scene view is
|
|
158
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
57
159
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
58
160
|
}
|
|
59
161
|
export {};
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { usePropertyChange as
|
|
5
|
-
import { u as
|
|
6
|
-
import { m as
|
|
7
|
-
import { g as
|
|
8
|
-
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
2
|
+
import { css as y, html as g } from "lit";
|
|
3
|
+
import { LitElement as f, createEvent as w, noShadowRoot as v, nothing as b, safeClassMap as M } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
6
|
+
import { m as A } from "../../chunks/useViewModel.js";
|
|
7
|
+
import { g as p } from "../../chunks/globalCss.js";
|
|
9
8
|
import U from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
10
9
|
import { getDefaultUnitForView as V } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
11
10
|
import { property as o, subclass as _ } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
12
11
|
import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
12
|
import { A as C } from "../../chunks/AnalysisViewModel.js";
|
|
14
|
-
import { g as
|
|
13
|
+
import { g as m, a as d } from "../../chunks/measurementUtils.js";
|
|
15
14
|
import { hasValidAreaResult as L } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
16
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
16
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
19
|
-
const P =
|
|
17
|
+
v4.34.0-next.81 */
|
|
18
|
+
const P = y`@layer{arcgis-area-measurement-3d{display:block}.arcgis-area-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`;
|
|
20
19
|
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, n = (e, t, s, a) => {
|
|
21
20
|
for (var r = a > 1 ? void 0 : a ? E(t, s) : t, l = e.length - 1, u; l >= 0; l--)
|
|
22
21
|
(u = e[l]) && (r = (a ? u(t, s, r) : u(r)) || r);
|
|
@@ -61,8 +60,8 @@ let i = class extends C {
|
|
|
61
60
|
const { analysisView: e } = this, t = e?.result, s = t?.mode ?? "euclidean", a = e != null && L(e);
|
|
62
61
|
return {
|
|
63
62
|
mode: s,
|
|
64
|
-
area:
|
|
65
|
-
perimeter:
|
|
63
|
+
area: m(t?.area, a),
|
|
64
|
+
perimeter: m(t?.perimeter, a)
|
|
66
65
|
};
|
|
67
66
|
}
|
|
68
67
|
get unitOptions() {
|
|
@@ -122,23 +121,20 @@ n([
|
|
|
122
121
|
i = n([
|
|
123
122
|
_("components.area-measurement-3d.AreaMeasurement3dViewModel")
|
|
124
123
|
], i);
|
|
125
|
-
const R = "arcgis-area-measurement-3d", x = { base: R }, T =
|
|
126
|
-
class j extends
|
|
124
|
+
const R = "arcgis-area-measurement-3d", x = { base: R }, T = A(i);
|
|
125
|
+
class j extends f {
|
|
127
126
|
constructor() {
|
|
128
|
-
super(...arguments), this.viewModel = T(this), this.messages =
|
|
127
|
+
super(...arguments), this.viewModel = T(this), this.messages = $({ blocking: !0 }), this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-area", this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = O()("analysis", "state"), this.arcgisReady = w();
|
|
129
128
|
}
|
|
130
129
|
static {
|
|
131
|
-
this.properties = { analysis:
|
|
130
|
+
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 35, unit: 1, unitOptions: 0 };
|
|
132
131
|
}
|
|
133
132
|
static {
|
|
134
|
-
this.shadowRootOptions =
|
|
133
|
+
this.shadowRootOptions = v;
|
|
135
134
|
}
|
|
136
135
|
static {
|
|
137
136
|
this.styles = P;
|
|
138
137
|
}
|
|
139
|
-
get analysis() {
|
|
140
|
-
return this.viewModel.analysis;
|
|
141
|
-
}
|
|
142
138
|
async clear() {
|
|
143
139
|
this.viewModel.clear();
|
|
144
140
|
}
|
|
@@ -150,10 +146,10 @@ class j extends g {
|
|
|
150
146
|
}
|
|
151
147
|
render() {
|
|
152
148
|
const { messages: t, unit: s, unitOptions: a, viewModel: r } = this, { measurement: l, state: u } = r;
|
|
153
|
-
return
|
|
149
|
+
return g`<div aria-label=${t.componentLabel ?? b} class=${M({
|
|
154
150
|
[x.base]: !0,
|
|
155
|
-
[
|
|
156
|
-
[
|
|
151
|
+
[p.widget]: !0,
|
|
152
|
+
[p.panel]: !0
|
|
157
153
|
})} role=presentation><arcgis-measurement-content .state=${r.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
158
154
|
{
|
|
159
155
|
title: t.area,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as Attachments } from '@arcgis/core/widgets/Attachments.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -9,8 +9,8 @@ declare const useAttachmentsWidget: (component: LitElement & Pick<Attachments, "
|
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.AttachmentsViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/
|
|
13
|
-
label: import('@arcgis/
|
|
12
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
13
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
14
14
|
referenceElement?: ArcgisReferenceElement | string;
|
|
15
15
|
position: __esri.UIPosition;
|
|
16
16
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -91,6 +91,11 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
91
91
|
label: string | nullish;
|
|
92
92
|
/** @default "bottom-left" */
|
|
93
93
|
position: __esri.UIPosition;
|
|
94
|
+
/**
|
|
95
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
96
|
+
*
|
|
97
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
98
|
+
*/
|
|
94
99
|
referenceElement?: ArcgisReferenceElement | string;
|
|
95
100
|
/**
|
|
96
101
|
* The current state of the widget.
|
|
@@ -108,13 +113,19 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
108
113
|
* @default false
|
|
109
114
|
*/
|
|
110
115
|
readonly submitting: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* A collection of [AttachmentInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query-support-AttachmentInfo.html) defined on a feature.
|
|
118
|
+
*
|
|
119
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#attachmentInfos)
|
|
120
|
+
*/
|
|
121
|
+
readonly attachmentInfos: __esri.Collection<__esri.AttachmentInfo>;
|
|
111
122
|
/** Permanently destroy the component. */
|
|
112
123
|
destroy(): Promise<void>;
|
|
113
124
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
114
125
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
115
|
-
name: "state" | "submitting";
|
|
126
|
+
name: "state" | "submitting" | "attachmentInfos";
|
|
116
127
|
}>;
|
|
117
|
-
/** Emitted when the component associated with a map or scene view is
|
|
128
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
118
129
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
119
130
|
}
|
|
120
131
|
export {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as e } from "@arcgis/lumina/controllers";
|
|
3
3
|
import i from "@arcgis/core/widgets/Attachments.js";
|
|
4
|
-
import { LitElement as s, createEvent as a, noShadowRoot as
|
|
5
|
-
import { m as
|
|
6
|
-
import { css as
|
|
4
|
+
import { LitElement as s, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
|
+
import { m as h } from "../../chunks/useWidget.js";
|
|
6
|
+
import { css as d } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const n =
|
|
9
|
+
v4.34.0-next.81 */
|
|
10
|
+
const n = d`@layer{arcgis-attachments{display:block}}`, r = h(i);
|
|
11
11
|
class l extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.capabilities = this.widget.capabilities, this.displayType = this.widget.displayType, this.graphic = this.widget.graphic, this.hideAddButton = this.widget.visibleElements.addButton, this.hideAddSubmitButton = this.widget.visibleElements.addSubmitButton, this.hideCancelAddButton = this.widget.visibleElements.cancelAddButton, this.hideCancelUpdateButton = this.widget.visibleElements.cancelUpdateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideErrorMessage = this.widget.visibleElements.errorMessage, this.hideProgressBar = this.widget.visibleElements.progressBar, this.hideUpdateButton = this.widget.visibleElements.updateButton, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.submitting = this.widget.submitting, this.arcgisPropertyChange = e()("submitting", "state"), this.arcgisReady = a();
|
|
13
|
+
super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.capabilities = this.widget.capabilities, this.displayType = this.widget.displayType, this.graphic = this.widget.graphic, this.hideAddButton = this.widget.visibleElements.addButton, this.hideAddSubmitButton = this.widget.visibleElements.addSubmitButton, this.hideCancelAddButton = this.widget.visibleElements.cancelAddButton, this.hideCancelUpdateButton = this.widget.visibleElements.cancelUpdateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideErrorMessage = this.widget.visibleElements.errorMessage, this.hideProgressBar = this.widget.visibleElements.progressBar, this.hideUpdateButton = this.widget.visibleElements.updateButton, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.submitting = this.widget.submitting, this.attachmentInfos = this.viewModel.attachmentInfos, this.arcgisPropertyChange = e()("submitting", "state", "attachmentInfos"), this.arcgisReady = a();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
|
-
this.properties = { autoDestroyDisabled: 5, capabilities: 0, displayType: 1, graphic: 0, hideAddButton: 5, hideAddSubmitButton: 5, hideCancelAddButton: 5, hideCancelUpdateButton: 5, hideDeleteButton: 5, hideErrorMessage: 5, hideProgressBar: 5, hideUpdateButton: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, submitting: 4 };
|
|
16
|
+
this.properties = { autoDestroyDisabled: 5, capabilities: 0, displayType: 1, graphic: 0, hideAddButton: 5, hideAddSubmitButton: 5, hideCancelAddButton: 5, hideCancelUpdateButton: 5, hideDeleteButton: 5, hideErrorMessage: 5, hideProgressBar: 5, hideUpdateButton: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, submitting: 4, attachmentInfos: 0 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = o;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = n;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
3
|
-
import { Use } from '@arcgis/lumina/controllers';
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
4
3
|
import { default as BasemapGalleryViewModel } from '@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js';
|
|
5
4
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { Use } from '@arcgis/lumina/controllers';
|
|
6
6
|
import { HeadingLevel } from '../../support/heading';
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
8
|
|
|
@@ -52,10 +52,19 @@ export declare class ArcgisBasemapGallery extends LitElement {
|
|
|
52
52
|
* @default ""
|
|
53
53
|
*/
|
|
54
54
|
label: string;
|
|
55
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Replace localized message strings with your own strings.
|
|
57
|
+
*
|
|
58
|
+
* _**Note**: Individual message keys may change between releases._
|
|
59
|
+
*/
|
|
56
60
|
messageOverrides?: typeof this.messages._overrides;
|
|
57
61
|
/** @default "bottom-left" */
|
|
58
62
|
position: __esri.UIPosition;
|
|
63
|
+
/**
|
|
64
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
65
|
+
*
|
|
66
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
67
|
+
*/
|
|
59
68
|
referenceElement?: ArcgisReferenceElement | string;
|
|
60
69
|
/** The source for basemaps that the component will display. */
|
|
61
70
|
source: __esri.LocalBasemapsSource | __esri.PortalBasemapsSource;
|
|
@@ -73,7 +82,7 @@ export declare class ArcgisBasemapGallery extends LitElement {
|
|
|
73
82
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
74
83
|
name: "state" | "activeBasemap";
|
|
75
84
|
}>;
|
|
76
|
-
/** Emitted when the component associated with a map or scene view is
|
|
85
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
77
86
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
78
87
|
private messages: Partial<{
|
|
79
88
|
componentLabel: string;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { c as u } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as r } from "lit
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import f from "@arcgis/
|
|
7
|
-
import {
|
|
8
|
-
import { u as
|
|
9
|
-
import { m as
|
|
10
|
-
import { H as
|
|
2
|
+
import { css as w, html as r } from "lit";
|
|
3
|
+
import { classes as v } from "@arcgis/toolkit/dom";
|
|
4
|
+
import { when as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import b from "@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js";
|
|
6
|
+
import { LitElement as f, createEvent as $, noShadowRoot as M, safeClassMap as n, nothing as h, safeStyleMap as x } from "@arcgis/lumina";
|
|
7
|
+
import { usePropertyChange as R } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { u as B } from "../../chunks/useT9n.js";
|
|
9
|
+
import { m as I } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { H as L } from "../../chunks/heading.js";
|
|
11
11
|
import { g as d } from "../../chunks/globalCss.js";
|
|
12
12
|
import { c as a } from "../../chunks/basemap-gallery-resources.js";
|
|
13
|
-
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
14
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
14
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
16
|
-
v4.34.0-next.
|
|
17
|
-
const
|
|
15
|
+
v4.34.0-next.81 */
|
|
16
|
+
const _ = w`@layer{arcgis-basemap-gallery{display:block}}`, D = I(b), m = {
|
|
18
17
|
// Below this width, items are displayed as a single column and the thumbnail is placed above the title.
|
|
19
18
|
small: 200,
|
|
20
19
|
// Below this width, items are displayed as a single column but with the thumbnail side-by-side
|
|
@@ -24,18 +23,18 @@ const D = L`@layer{arcgis-basemap-gallery{display:block}}`, A = B(f), m = {
|
|
|
24
23
|
// Above this width, items are displayed in a grid.
|
|
25
24
|
wide: 420
|
|
26
25
|
};
|
|
27
|
-
class
|
|
26
|
+
class A extends f {
|
|
28
27
|
constructor() {
|
|
29
|
-
super(...arguments), this.messages =
|
|
28
|
+
super(...arguments), this.messages = B({}), this.viewModel = D(this), this._width = 0, this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = !1, this.headingLevel = 2, this.icon = "basemap", this.label = "", this.position = "bottom-left", this.source = this.viewModel.source, this.state = this.viewModel.state, this.arcgisPropertyChange = R()("activeBasemap", "state"), this.arcgisReady = $();
|
|
30
29
|
}
|
|
31
30
|
static {
|
|
32
|
-
this.properties = { _width: 16,
|
|
31
|
+
this.properties = { _width: 16, activeBasemap: 1, autoDestroyDisabled: 5, disabled: 7, headingLevel: 9, icon: 1, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, source: 0, state: 3 };
|
|
33
32
|
}
|
|
34
33
|
static {
|
|
35
|
-
this.shadowRootOptions =
|
|
34
|
+
this.shadowRootOptions = M;
|
|
36
35
|
}
|
|
37
36
|
static {
|
|
38
|
-
this.styles =
|
|
37
|
+
this.styles = _;
|
|
39
38
|
}
|
|
40
39
|
async destroy() {
|
|
41
40
|
await this.manager.destroy();
|
|
@@ -45,15 +44,18 @@ class C extends $ {
|
|
|
45
44
|
y(() => this.source, () => {
|
|
46
45
|
this.viewModel.loadSource();
|
|
47
46
|
}, { sync: !0, initial: !0 }),
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
(() => {
|
|
48
|
+
const s = new ResizeObserver((o) => {
|
|
49
|
+
for (const t of o)
|
|
50
|
+
this._width = t.contentRect.width;
|
|
51
|
+
}), e = this.el.childElem;
|
|
52
|
+
return e && s.observe(e), {
|
|
53
|
+
remove() {
|
|
54
|
+
s?.disconnect();
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
})()
|
|
51
58
|
]);
|
|
52
|
-
const s = new ResizeObserver((o) => {
|
|
53
|
-
for (const t of o)
|
|
54
|
-
this._width = t.contentRect.width;
|
|
55
|
-
}), e = this.el.childElem;
|
|
56
|
-
e && s.observe(e);
|
|
57
59
|
}
|
|
58
60
|
_getRoundRobinIndex(s, e) {
|
|
59
61
|
return (s + e) % e;
|
|
@@ -74,13 +76,13 @@ class C extends $ {
|
|
|
74
76
|
// For compatibility with Esri View UI
|
|
75
77
|
}, i = this._width;
|
|
76
78
|
i <= m.small || i >= m.wide ? t[a.layoutGrid] = !0 : i < m.default && (t[a.narrowItems] = !0);
|
|
77
|
-
const c = s ? r`<div class=${n(a.loader)}></div>` : null, l = s ? null : o.length > 0 ? r`<div aria-disabled=${this.disabled ?? h} aria-label=${this.label ?? h} class=${n(a.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${o.map((p, g) => r`<arcgis-basemap-gallery-item .disabled=${e} .item=${p} .itemIndex=${g} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>` : r`<div class=${n(d.empty)}>${
|
|
78
|
-
return r`<div class=${n(v(a.base, d.widget, d.panel, t))} style=${
|
|
79
|
+
const c = s ? r`<div class=${n(a.loader)}></div>` : null, l = s ? null : o.length > 0 ? r`<div aria-disabled=${this.disabled ?? h} aria-label=${this.label ?? h} class=${n(a.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${o.map((p, g) => r`<arcgis-basemap-gallery-item .disabled=${e} .item=${p} .itemIndex=${g} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>` : r`<div class=${n(d.empty)}>${L({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
|
|
80
|
+
return r`<div class=${n(v(a.base, d.widget, d.panel, t))} style=${x({
|
|
79
81
|
"--esri-basemap-gallery-small": `${m.small}px`
|
|
80
82
|
})}>${[c, l]}</div>`;
|
|
81
83
|
}
|
|
82
84
|
}
|
|
83
|
-
u("arcgis-basemap-gallery",
|
|
85
|
+
u("arcgis-basemap-gallery", A);
|
|
84
86
|
export {
|
|
85
|
-
|
|
87
|
+
A as ArcgisBasemapGallery
|
|
86
88
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisBasemapGallery } from '../arcgis-basemap-gallery/customElement.js';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as y, c as I } from "../../chunks/runtime.js";
|
|
2
|
-
import { classes as B } from "@arcgis/
|
|
3
|
-
import { watch as
|
|
2
|
+
import { classes as B } from "@arcgis/toolkit/dom";
|
|
3
|
+
import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { LitElement as w, noShadowRoot as C, nothing as r, safeClassMap as s } from "@arcgis/lumina";
|
|
5
5
|
import { html as l } from "lit-html";
|
|
6
6
|
import { g as x } from "../../chunks/globalCss.js";
|
|
@@ -8,7 +8,7 @@ import { c as i } from "../../chunks/basemap-gallery-resources.js";
|
|
|
8
8
|
import { g as A } from "../../chunks/component-utils.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.81 */
|
|
12
12
|
function _(e) {
|
|
13
13
|
return e.portalItem?.type === "Web Scene" || e.referenceLayers.some((t) => t.type === "scene");
|
|
14
14
|
}
|
|
@@ -27,22 +27,25 @@ class T extends w {
|
|
|
27
27
|
}
|
|
28
28
|
loaded() {
|
|
29
29
|
this.manager.onLifecycle(() => [
|
|
30
|
-
|
|
30
|
+
u(() => this.item.state, (t) => {
|
|
31
31
|
this._itemState = t;
|
|
32
32
|
}, { sync: !0 }),
|
|
33
|
-
|
|
33
|
+
u(() => this.viewModel.activeBasemap, (t) => {
|
|
34
34
|
this._isActive = this.item.basemap.id === t?.id, this._isActive && (A(this)?.focus(), this.el.scrollIntoView({ block: "nearest" }));
|
|
35
35
|
}, { initial: !0, sync: !0 })
|
|
36
36
|
]);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
const { disabled: t, item: a, itemIndex: o, viewModel: c, messages:
|
|
39
|
+
const { disabled: t, item: a, itemIndex: o, viewModel: c, messages: g } = this;
|
|
40
|
+
if (!a.basemap)
|
|
41
|
+
return null;
|
|
42
|
+
const h = a.basemap.thumbnailUrl || y("assets/basemap-gallery/images/basemap-toggle-64.svg"), m = a.basemap.title, b = a.basemap.portalItem?.snippet, $ = a.error?.message || b || m, { activeBasemapIndex: p } = c, n = p === o, f = n || p === -1 && o === 0 ? 0 : -1, v = {
|
|
40
43
|
[i.selectedItem]: n,
|
|
41
44
|
[i.itemError]: a.state === "error"
|
|
42
45
|
}, d = `basemapgallery-item-${a.uid}`;
|
|
43
46
|
return l`<div .ariaChecked=${n} .ariaDisabled=${t} aria-labelledby=${d ?? r} class=${s(B(i.item, v))} role=radio tabindex=${f ?? r} title=${$ ?? r} @click=${() => {
|
|
44
47
|
a.state === "ready" && (c.activeBasemap = a.basemap);
|
|
45
|
-
}}><img alt class=${s(i.itemThumbnail)} src=${
|
|
48
|
+
}}><img alt class=${s(i.itemThumbnail)} src=${h ?? r}><div class=${s(i.itemContent)}><div class=${s(i.itemTitle)}><span id=${d ?? r}>${m}</span></div>${_(a.basemap) ? D(a.basemap, g) : null}</div>${a.state !== "loading" ? null : l`<calcite-scrim><span aria-hidden=true class=${s(x.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`;
|
|
46
49
|
}
|
|
47
50
|
}
|
|
48
51
|
function D(e, t) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as BasemapLayerList } from '@arcgis/core/widgets/BasemapLayerList.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -9,8 +9,8 @@ declare const useBasemapLayerListWidget: (component: LitElement & Pick<BasemapLa
|
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.BasemapLayerListViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/
|
|
13
|
-
label: import('@arcgis/
|
|
12
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
13
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
14
14
|
referenceElement?: ArcgisReferenceElement | string;
|
|
15
15
|
position: __esri.UIPosition;
|
|
16
16
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -150,6 +150,11 @@ export declare class ArcgisBasemapLayerList extends LitElement {
|
|
|
150
150
|
minFilterItems: number;
|
|
151
151
|
/** @default "bottom-left" */
|
|
152
152
|
position: __esri.UIPosition;
|
|
153
|
+
/**
|
|
154
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
155
|
+
*
|
|
156
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
157
|
+
*/
|
|
153
158
|
referenceElement?: ArcgisReferenceElement | string;
|
|
154
159
|
/**
|
|
155
160
|
* Specifies a function to handle filtering reference layer [list items](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html).
|
|
@@ -183,7 +188,7 @@ export declare class ArcgisBasemapLayerList extends LitElement {
|
|
|
183
188
|
*
|
|
184
189
|
* @default "none"
|
|
185
190
|
*/
|
|
186
|
-
selectionMode: "single" | "
|
|
191
|
+
selectionMode: "single" | "none" | "multiple" | "single-persist";
|
|
187
192
|
/** @default false */
|
|
188
193
|
showCloseButton: boolean;
|
|
189
194
|
/** @default false */
|
|
@@ -216,7 +221,7 @@ export declare class ArcgisBasemapLayerList extends LitElement {
|
|
|
216
221
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
217
222
|
name: "state";
|
|
218
223
|
}>;
|
|
219
|
-
/** Emitted when the component associated with a map or scene view is
|
|
224
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
220
225
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
221
226
|
/** Emitted when an action is triggered on the component. */
|
|
222
227
|
readonly arcgisTriggerAction: TargetedEvent<this, __esri.BasemapLayerListTriggerActionEvent>;
|
|
@@ -4,11 +4,11 @@ import { reEmitEvent as i } from "@arcgis/lumina/controllers/accessor";
|
|
|
4
4
|
import s from "@arcgis/core/widgets/BasemapLayerList.js";
|
|
5
5
|
import { LitElement as r, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
6
|
import { m as o } from "../../chunks/useWidget.js";
|
|
7
|
-
import { css as h } from "
|
|
7
|
+
import { css as h } from "lit";
|
|
8
8
|
import { c as d } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.81 */
|
|
12
12
|
const n = h`@layer{arcgis-basemap-layer-list{display:block}}`, c = o(s);
|
|
13
13
|
class g extends r {
|
|
14
14
|
constructor() {
|