@arcgis/map-components 4.34.0-next.4 → 4.34.0-next.40
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/2G25KKQ7.js +4 -0
- package/dist/cdn/{7LVS3WYQ.js → 2MYUN5AX.js} +1 -1
- package/dist/cdn/2O5U5EPE.js +4 -0
- package/dist/cdn/2RYNVEQ6.js +4 -0
- package/dist/cdn/2Z3HJLSO.js +4 -0
- package/dist/cdn/{Z56QLV5B.js → 344IW43G.js} +2 -2
- package/dist/cdn/36556HIR.js +4 -0
- package/dist/cdn/3BO6QCBL.js +4 -0
- package/dist/cdn/3IZLGMBU.js +4 -0
- package/dist/cdn/{23HVPN5Y.js → 3LQ353K4.js} +1 -1
- package/dist/cdn/3PMUZCO7.js +4 -0
- package/dist/cdn/{SBFO6UJ3.js → 3SQPHMUO.js} +2 -2
- package/dist/cdn/3TDFVW75.js +4 -0
- package/dist/cdn/3VAME4X3.js +4 -0
- package/dist/cdn/3WZLKNMR.js +4 -0
- package/dist/cdn/{6Q2QPWAU.js → 3Z3S3Q4P.js} +2 -2
- package/dist/cdn/4A2U6566.js +4 -0
- package/dist/cdn/4CB4DKZ3.js +4 -0
- package/dist/cdn/{ZNYIHOBS.js → 4HCZAXMY.js} +2 -2
- package/dist/cdn/4I4HUQYS.js +4 -0
- package/dist/cdn/4PSCIFK7.js +4 -0
- package/dist/cdn/4R2ASZBP.js +4 -0
- package/dist/cdn/4XEKGZTO.js +4 -0
- package/dist/cdn/54PQW27H.js +4 -0
- package/dist/cdn/{LEPO6MP3.js → 57OYIV44.js} +2 -2
- package/dist/cdn/5JISY5GY.js +4 -0
- package/dist/cdn/5KIEBLWJ.js +4 -0
- package/dist/cdn/5Q3BHGUF.js +4 -0
- package/dist/cdn/5SNFGRK7.js +4 -0
- package/dist/cdn/5WWYWINX.js +4 -0
- package/dist/cdn/5YJAZAWE.js +4 -0
- package/dist/cdn/63OTOECK.js +4 -0
- package/dist/cdn/6A77EQJ7.js +4 -0
- package/dist/cdn/{3L3QQBXT.js → 6MKSXDOB.js} +2 -2
- package/dist/cdn/6OVPKQBU.js +4 -0
- package/dist/cdn/6SDJS76D.js +4 -0
- package/dist/cdn/7KYRHL7B.js +4 -0
- package/dist/cdn/7SXTOJRV.js +4 -0
- package/dist/cdn/7U23MXDK.js +4 -0
- package/dist/cdn/A3AWOIW2.js +4 -0
- package/dist/cdn/AIOIF72H.js +4 -0
- package/dist/cdn/AVVDUMMF.js +4 -0
- package/dist/cdn/BDGRTNF4.js +4 -0
- package/dist/cdn/BGKCJWBL.js +4 -0
- package/dist/cdn/BKJQO6FJ.js +4 -0
- package/dist/cdn/BNINW57F.js +4 -0
- package/dist/cdn/BU6CK36L.js +4 -0
- package/dist/cdn/BXH3MFUD.js +4 -0
- package/dist/cdn/C5AP2BUA.js +4 -0
- package/dist/cdn/CBC3T45B.js +4 -0
- package/dist/cdn/CGKOBQRW.js +4 -0
- package/dist/cdn/{W47LCTBG.js → CGOS6G3P.js} +2 -2
- package/dist/cdn/{VCDM3JXH.js → CISHKQZT.js} +1 -1
- package/dist/cdn/CJXQKVG2.js +4 -0
- package/dist/cdn/CTIPMOE4.js +6 -0
- package/dist/cdn/CU4YQ46R.js +4 -0
- package/dist/cdn/{4HGMI6ZO.js → CULGUUN2.js} +2 -2
- package/dist/cdn/D4NG5TI7.js +4 -0
- package/dist/cdn/DDMA7MKS.js +4 -0
- package/dist/cdn/DDW6GQVZ.js +4 -0
- package/dist/cdn/DIP2K36D.js +4 -0
- package/dist/cdn/DMHT5UNA.js +4 -0
- package/dist/cdn/DNDHT2N5.js +4 -0
- package/dist/cdn/DNZSOKT7.js +4 -0
- package/dist/cdn/DWKT6TI4.js +4 -0
- package/dist/cdn/E3CGCG5A.js +4 -0
- package/dist/cdn/EBJTGGCQ.js +4 -0
- package/dist/cdn/EBNMY3CX.js +4 -0
- package/dist/cdn/ED3SCFNT.js +4 -0
- package/dist/cdn/EGM2QPQ5.js +4 -0
- package/dist/cdn/EJHMB3QF.js +4 -0
- package/dist/cdn/{AIBT7DAE.js → EN7FL4PC.js} +2 -2
- package/dist/cdn/ESKA4SWS.js +4 -0
- package/dist/cdn/F34EVHXG.js +4 -0
- package/dist/cdn/FF6NDWSM.js +4 -0
- package/dist/cdn/FVT323HL.js +4 -0
- package/dist/cdn/{TD2GCLNS.js → G4XKAX2D.js} +1 -1
- package/dist/cdn/G7JMOGSQ.js +4 -0
- package/dist/cdn/GIR3LJ47.js +4 -0
- package/dist/cdn/GIX2LZAQ.js +4 -0
- package/dist/cdn/GLBLJGC6.js +4 -0
- package/dist/cdn/GPNU4ZZ4.js +4 -0
- package/dist/cdn/GS4CDQTC.js +4 -0
- package/dist/cdn/GUCP6NF2.js +4 -0
- package/dist/cdn/HA3XT7EN.js +4 -0
- package/dist/cdn/HMEBVYIV.js +4 -0
- package/dist/cdn/HYD3MOJY.js +4 -0
- package/dist/cdn/IAZ2PJDO.js +4 -0
- package/dist/cdn/{HKQYPN7I.js → IKTZGVCY.js} +1 -1
- package/dist/cdn/IM3B6OHN.js +4 -0
- package/dist/cdn/INC5XWFI.js +4 -0
- package/dist/cdn/IPDEUPJR.js +4 -0
- package/dist/cdn/IS42Y5CF.js +4 -0
- package/dist/cdn/IUGC3R52.js +4 -0
- package/dist/cdn/IZQKCS7I.js +4 -0
- package/dist/cdn/J4JQSW22.js +4 -0
- package/dist/cdn/JAHZHASL.js +4 -0
- package/dist/cdn/JK3X3736.js +4 -0
- package/dist/cdn/JX7CDVXU.js +4 -0
- package/dist/cdn/JXTR7GDI.js +4 -0
- package/dist/cdn/K2LNOCQB.js +4 -0
- package/dist/cdn/KRMGV5X7.js +4 -0
- package/dist/cdn/{QQSFIVFC.js → KS2XVOMO.js} +2 -2
- package/dist/cdn/KTZKO4YL.js +4 -0
- package/dist/cdn/KV7DNFPR.js +4 -0
- package/dist/cdn/LM7WD37H.js +4 -0
- package/dist/cdn/LN3G5UWC.js +4 -0
- package/dist/cdn/LNN4EY3E.js +4 -0
- package/dist/cdn/LNPY5TPT.js +4 -0
- package/dist/cdn/LON4LZUN.js +4 -0
- package/dist/cdn/LRXB52MM.js +4 -0
- package/dist/cdn/LV5CPKTQ.js +4 -0
- package/dist/cdn/M2J2LVPP.js +4 -0
- package/dist/cdn/M3JLT2RZ.js +4 -0
- package/dist/cdn/M7O3KYOD.js +4 -0
- package/dist/cdn/MBDDLD6V.js +4 -0
- package/dist/cdn/MKAEHASH.js +4 -0
- package/dist/cdn/MZIM2HC7.js +4 -0
- package/dist/cdn/N7KOO3W5.js +4 -0
- package/dist/cdn/NIC7Q7DB.js +4 -0
- package/dist/cdn/NNQOZZM4.js +4 -0
- package/dist/cdn/NOMDCCLG.js +4 -0
- package/dist/cdn/O5CXUD6M.js +4 -0
- package/dist/cdn/OCYEDVBE.js +4 -0
- package/dist/cdn/OVYOPSDQ.js +4 -0
- package/dist/cdn/P3GTRUGG.js +4 -0
- package/dist/cdn/Q7HUVMW3.js +4 -0
- package/dist/cdn/QCF3FZ7O.js +4 -0
- package/dist/cdn/QETNFXJP.js +4 -0
- package/dist/cdn/QGYBZCXI.js +5 -0
- package/dist/cdn/QMKOIVFS.js +4 -0
- package/dist/cdn/QNRVGA6I.js +4 -0
- package/dist/cdn/QPBXRYCD.js +4 -0
- package/dist/cdn/QQBACVKP.js +4 -0
- package/dist/cdn/QQPG4QWI.js +4 -0
- package/dist/cdn/{PAOQYXUG.js → QUS6DTO6.js} +1 -1
- package/dist/cdn/QWFTHY7X.js +4 -0
- package/dist/cdn/QXNRGC25.js +4 -0
- package/dist/cdn/QY2A6R2I.js +4 -0
- package/dist/cdn/R5TM4FKT.js +4 -0
- package/dist/cdn/SBSRH3SM.js +4 -0
- package/dist/cdn/{6MFND45L.js → SN4KGEJN.js} +2 -2
- package/dist/cdn/T74Z2NZM.js +4 -0
- package/dist/cdn/T7QNVRSW.js +4 -0
- package/dist/cdn/TISHWYSQ.js +4 -0
- package/dist/cdn/TKUIR56W.js +4 -0
- package/dist/cdn/TUNZY5WR.js +4 -0
- package/dist/cdn/UBYIYSHB.js +4 -0
- package/dist/cdn/UNHYJ5FM.js +4 -0
- package/dist/cdn/VA2KKANL.js +4 -0
- package/dist/cdn/VANPMF74.js +4 -0
- package/dist/cdn/VC3RX4AG.js +4 -0
- package/dist/cdn/VEEBJSTE.js +4 -0
- package/dist/cdn/VN7KZF6S.js +4 -0
- package/dist/cdn/VQMWXEBT.js +4 -0
- package/dist/cdn/VRDBT24P.js +4 -0
- package/dist/cdn/VROBMM6D.js +4 -0
- package/dist/cdn/W3KCHPCM.js +4 -0
- package/dist/cdn/W3LY457I.js +4 -0
- package/dist/cdn/W7DVWJ7T.js +4 -0
- package/dist/cdn/W7NTOZTL.js +4 -0
- package/dist/cdn/W7SVVLPE.js +4 -0
- package/dist/cdn/WEYUU2IF.js +4 -0
- package/dist/cdn/WIKCAY7H.js +4 -0
- package/dist/cdn/WL5RVZFW.js +4 -0
- package/dist/cdn/WNF5CJNE.js +4 -0
- package/dist/cdn/X52Z3HIU.js +4 -0
- package/dist/cdn/XHRMCWZT.js +4 -0
- package/dist/cdn/XIGWI45G.js +4 -0
- package/dist/cdn/XJKRZLFM.js +4 -0
- package/dist/cdn/XKILNUQN.js +4 -0
- package/dist/cdn/XVYLIU52.js +4 -0
- package/dist/cdn/Y7GSEAQU.js +4 -0
- package/dist/cdn/YDYVVWBO.js +4 -0
- package/dist/cdn/YQ2G76WP.js +4 -0
- package/dist/cdn/YTQWWLJJ.js +4 -0
- package/dist/cdn/YXRO4UNU.js +4 -0
- package/dist/cdn/YZYFUMRA.js +4 -0
- package/dist/cdn/Z4U6KGUV.js +4 -0
- package/dist/cdn/{SUW77QCI.js → Z7OWBB5L.js} +2 -2
- package/dist/cdn/{VEN3DMN6.js → ZGBWJOFH.js} +1 -1
- package/dist/cdn/ZMBYBGSF.js +4 -0
- package/dist/cdn/ZWQY4GPL.js +4 -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/index.js +2 -2
- 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 +145 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +5 -5
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -3
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +7 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +6 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +10 -4
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +10 -9
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +31 -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 +66 -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 +43 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +19 -0
- package/dist/components/arcgis-feature-expression/customElement.js +242 -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 +143 -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 +7 -2
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +38 -0
- package/dist/components/arcgis-feature-media/customElement.js +577 -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-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
- package/dist/components/arcgis-fullscreen/customElement.js +33 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +39 -16
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +10 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
- package/dist/components/arcgis-link-chart/customElement.js +19 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -26
- 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 +17 -5
- package/dist/components/arcgis-locate/customElement.js +45 -45
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +25 -14
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +14 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +54 -40
- package/dist/components/arcgis-print/customElement.js +39 -33
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +3 -4
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +144 -81
- package/dist/components/arcgis-scene/customElement.js +27 -16
- package/dist/components/arcgis-search/customElement.d.ts +52 -16
- package/dist/components/arcgis-search/customElement.js +39 -36
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- 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 +77 -18
- package/dist/components/arcgis-slice/customElement.js +33 -41
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
- package/dist/components/arcgis-swipe/customElement.js +39 -39
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
- package/dist/components/arcgis-unit-select/customElement.js +15 -8
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +48 -50
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +19 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +45 -45
- package/dist/components/arcgis-video/customElement.d.ts +27 -10
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +36 -29
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +12 -12
- package/dist/components/arcgis-video-player-metadata/customElement.js +2 -2
- package/dist/components/arcgis-video-player-settings/customElement.js +2 -2
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +3 -3
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1544 -516
- package/dist/docs/docs.json +1469 -737
- package/dist/docs/vscode.html-custom-data.json +208 -108
- package/dist/docs/web-types.json +472 -239
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +23 -17
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +19 -13
- package/dist/types/preact.d.ts +19 -13
- package/dist/types/react.d.ts +19 -13
- package/dist/types/stencil.d.ts +19 -13
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +30 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +5 -4
- package/dist/cdn/24QCAR23.js +0 -4
- package/dist/cdn/2F3VHU6V.js +0 -4
- package/dist/cdn/2ZMNNXHS.js +0 -4
- package/dist/cdn/3PFMM57M.js +0 -4
- package/dist/cdn/4F36IAZ7.js +0 -4
- package/dist/cdn/4NG4JOQP.js +0 -4
- package/dist/cdn/55FCKHUW.js +0 -4
- package/dist/cdn/5DWV4QYU.js +0 -4
- package/dist/cdn/637V7MBM.js +0 -4
- package/dist/cdn/6LL6GANH.js +0 -4
- package/dist/cdn/6MJTJDVW.js +0 -4
- package/dist/cdn/6RDZEEQ3.js +0 -4
- package/dist/cdn/6ROCC4GF.js +0 -4
- package/dist/cdn/6RSZZWDZ.js +0 -4
- package/dist/cdn/7GYK2I76.js +0 -4
- package/dist/cdn/7IET7A5H.js +0 -4
- package/dist/cdn/7ODPBN7V.js +0 -4
- package/dist/cdn/7QQAGBLE.js +0 -4
- package/dist/cdn/7ZAX32TI.js +0 -4
- package/dist/cdn/A4ULRWZG.js +0 -4
- package/dist/cdn/AC5U3NYZ.js +0 -4
- package/dist/cdn/ANZO55OT.js +0 -4
- package/dist/cdn/BQ4U6UMN.js +0 -4
- package/dist/cdn/BUCVAAEN.js +0 -4
- package/dist/cdn/CMBNVRX4.js +0 -4
- package/dist/cdn/D6MGY4ZG.js +0 -4
- package/dist/cdn/DOURUCK4.js +0 -4
- package/dist/cdn/DUCTZYWY.js +0 -4
- package/dist/cdn/EAIBQGHI.js +0 -4
- package/dist/cdn/EFGCTCBU.js +0 -4
- package/dist/cdn/F7S6WPMH.js +0 -4
- package/dist/cdn/FJLEVPNO.js +0 -4
- package/dist/cdn/FKAPKNBK.js +0 -4
- package/dist/cdn/FMUBO2SM.js +0 -4
- package/dist/cdn/FP272N3B.js +0 -4
- package/dist/cdn/FR5GZWQ6.js +0 -4
- package/dist/cdn/FTMB44PL.js +0 -4
- package/dist/cdn/FUVKUX3F.js +0 -4
- package/dist/cdn/G4CXV4NF.js +0 -4
- package/dist/cdn/GFL63DN7.js +0 -4
- package/dist/cdn/GL7SUTZC.js +0 -4
- package/dist/cdn/GLFXDT4O.js +0 -4
- package/dist/cdn/GR4O6BEU.js +0 -4
- package/dist/cdn/GUHP2PZF.js +0 -4
- package/dist/cdn/GZPGD27B.js +0 -6
- package/dist/cdn/HUV7GHIN.js +0 -4
- package/dist/cdn/IAXNFEPP.js +0 -4
- package/dist/cdn/IGWPHMX5.js +0 -4
- package/dist/cdn/ILGO5YVA.js +0 -4
- package/dist/cdn/IZNGYRHV.js +0 -4
- package/dist/cdn/J7QN3PZF.js +0 -4
- package/dist/cdn/JVVOVQFU.js +0 -4
- package/dist/cdn/KGHAGZY4.js +0 -4
- package/dist/cdn/KO6DPIWR.js +0 -4
- package/dist/cdn/L4YRXMVR.js +0 -4
- package/dist/cdn/L7ML76QM.js +0 -4
- package/dist/cdn/L7PXJ66C.js +0 -4
- package/dist/cdn/LHISUI6W.js +0 -4
- package/dist/cdn/LHKNQO6E.js +0 -4
- package/dist/cdn/LQ2SBKQY.js +0 -4
- package/dist/cdn/LVUAE6PC.js +0 -4
- package/dist/cdn/M4TXLEZN.js +0 -4
- package/dist/cdn/MF2DQEZU.js +0 -4
- package/dist/cdn/NCM6TOGJ.js +0 -4
- package/dist/cdn/NKEZIJO5.js +0 -4
- package/dist/cdn/NRVD3YPY.js +0 -4
- package/dist/cdn/OJUNMDUD.js +0 -4
- package/dist/cdn/OMDERSQZ.js +0 -4
- package/dist/cdn/PTTXNCL2.js +0 -4
- package/dist/cdn/PZKQVM4A.js +0 -4
- package/dist/cdn/Q5C26WCX.js +0 -4
- package/dist/cdn/Q77K3LVO.js +0 -4
- package/dist/cdn/QF4MHKQN.js +0 -4
- package/dist/cdn/QFFUI3FI.js +0 -4
- package/dist/cdn/QKFIJZ6Y.js +0 -4
- package/dist/cdn/QMATOY57.js +0 -4
- package/dist/cdn/QNDB6SQ6.js +0 -4
- package/dist/cdn/QNUXQPPT.js +0 -4
- package/dist/cdn/QYOYVCWC.js +0 -4
- package/dist/cdn/R5VIFHLX.js +0 -4
- package/dist/cdn/RBYK77JC.js +0 -4
- package/dist/cdn/SBVPQITU.js +0 -4
- package/dist/cdn/SOUISCIY.js +0 -4
- package/dist/cdn/SR67U4DI.js +0 -4
- package/dist/cdn/TMP2IYQ2.js +0 -4
- package/dist/cdn/TXQ2JI7T.js +0 -4
- package/dist/cdn/UC5VZITI.js +0 -4
- package/dist/cdn/UFNFAWDA.js +0 -4
- package/dist/cdn/UMZJE6UL.js +0 -4
- package/dist/cdn/VDTUN3EA.js +0 -4
- package/dist/cdn/VI4PPH6M.js +0 -4
- package/dist/cdn/VNUITTUC.js +0 -4
- package/dist/cdn/VRCJUC36.js +0 -4
- package/dist/cdn/WF5UHW5E.js +0 -4
- package/dist/cdn/WTF7JDXK.js +0 -4
- package/dist/cdn/Y7WJXUDZ.js +0 -4
- package/dist/cdn/YDINXYCI.js +0 -4
- package/dist/cdn/YKZKDYG3.js +0 -4
- package/dist/cdn/YPWZFYOY.js +0 -4
- package/dist/cdn/YU37LD7Q.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as _ } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as m } from "lit-html";
|
|
3
3
|
import { usePropertyChange as G } from "@arcgis/lumina/controllers";
|
|
4
4
|
import { classes as F } from "@arcgis/components-utils";
|
|
@@ -9,12 +9,12 @@ import { m as k } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { g as b } from "../../chunks/globalCss.js";
|
|
10
10
|
import { l as H } from "../../chunks/legacyIcon.js";
|
|
11
11
|
import { css as K } from "@lit/reactive-element/css-tag.js";
|
|
12
|
-
import { property as n, subclass as
|
|
12
|
+
import { property as n, subclass as C } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
13
|
import u from "@arcgis/core/core/Error.js";
|
|
14
14
|
import { onLocaleChange as J } from "@arcgis/core/intl.js";
|
|
15
15
|
import q from "@arcgis/core/PopupTemplate.js";
|
|
16
16
|
import W from "@arcgis/core/support/actions/ActionButton.js";
|
|
17
|
-
import { t as X,
|
|
17
|
+
import { t as X, i as E } from "../../chunks/async-utils.js";
|
|
18
18
|
import B from "@arcgis/core/core/Accessor.js";
|
|
19
19
|
import O from "@arcgis/core/Graphic.js";
|
|
20
20
|
import Z from "@arcgis/core/symbols/CIMSymbol.js";
|
|
@@ -27,7 +27,7 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
|
|
|
27
27
|
import oe from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
30
|
-
v4.34.0-next.
|
|
30
|
+
v4.34.0-next.40 */
|
|
31
31
|
const ie = K`@layer{arcgis-locate{display:block}}`;
|
|
32
32
|
let M = !1;
|
|
33
33
|
const re = {
|
|
@@ -46,7 +46,7 @@ function se() {
|
|
|
46
46
|
function ne() {
|
|
47
47
|
return ae() && se();
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ce(e) {
|
|
50
50
|
return e ??= re, new Promise((o, r) => {
|
|
51
51
|
setTimeout(
|
|
52
52
|
() => r(new u("geolocation:timeout", "getting the current geolocation position timed out")),
|
|
@@ -54,7 +54,7 @@ function le(e) {
|
|
|
54
54
|
), navigator.geolocation.getCurrentPosition(o, r, e ?? void 0);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function le(e, t) {
|
|
58
58
|
const { position: o, view: r } = e, a = pe(o)?.coords;
|
|
59
59
|
if (!a)
|
|
60
60
|
throw new u("geometry-service:no-coords", "Geolocation has no coordinates");
|
|
@@ -263,11 +263,11 @@ const L = {
|
|
|
263
263
|
]
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
|
-
let
|
|
266
|
+
let c = class extends B {
|
|
267
267
|
constructor() {
|
|
268
|
-
super(...arguments), this._geolocationUsable = !0, this.
|
|
268
|
+
super(...arguments), this._geolocationUsable = !0, this.goToLocationEnabled = !0, this.graphic = new O({
|
|
269
269
|
symbol: we
|
|
270
|
-
}), this.
|
|
270
|
+
}), this.rotationEnabled = !0;
|
|
271
271
|
}
|
|
272
272
|
//#region Lifecycle
|
|
273
273
|
initialize() {
|
|
@@ -282,7 +282,7 @@ let l = class extends B {
|
|
|
282
282
|
]);
|
|
283
283
|
}
|
|
284
284
|
destroy() {
|
|
285
|
-
this._clearGraphic(), this.view =
|
|
285
|
+
this._clearGraphic(), this.view = void 0;
|
|
286
286
|
}
|
|
287
287
|
//#endregion
|
|
288
288
|
//#region Private Methods
|
|
@@ -351,7 +351,7 @@ let l = class extends B {
|
|
|
351
351
|
}
|
|
352
352
|
async updatePosition(e, t) {
|
|
353
353
|
try {
|
|
354
|
-
const o = this.view, r = await
|
|
354
|
+
const o = this.view, r = await le({ position: e, view: o }, { signal: t.signal }), { graphic: i } = this, { timestamp: a, coords: s } = e, { accuracy: g, altitude: h, altitudeAccuracy: N, latitude: D, longitude: x, speed: R } = s, v = this._getHeading(e, o), U = {
|
|
355
355
|
timestamp: a,
|
|
356
356
|
accuracy: g,
|
|
357
357
|
altitude: h,
|
|
@@ -362,8 +362,8 @@ let l = class extends B {
|
|
|
362
362
|
speed: R
|
|
363
363
|
};
|
|
364
364
|
i && (i.geometry = r, i.attributes = U);
|
|
365
|
-
const
|
|
366
|
-
await this._animatePoint(r,
|
|
365
|
+
const I = this._getScale(o);
|
|
366
|
+
await this._animatePoint(r, I, v, t);
|
|
367
367
|
} catch (o) {
|
|
368
368
|
if (!E(o))
|
|
369
369
|
throw new u("geolocation-positioning:invalid-point", "Cannot position invalid point", {
|
|
@@ -376,33 +376,33 @@ let l = class extends B {
|
|
|
376
376
|
};
|
|
377
377
|
p([
|
|
378
378
|
n()
|
|
379
|
-
],
|
|
379
|
+
], c.prototype, "_geolocationUsable", 2);
|
|
380
380
|
p([
|
|
381
381
|
n()
|
|
382
|
-
],
|
|
382
|
+
], c.prototype, "geolocationOptions", 2);
|
|
383
383
|
p([
|
|
384
384
|
n()
|
|
385
|
-
],
|
|
385
|
+
], c.prototype, "goToLocationEnabled", 2);
|
|
386
386
|
p([
|
|
387
387
|
n()
|
|
388
|
-
],
|
|
388
|
+
], c.prototype, "goToOverride", 2);
|
|
389
389
|
p([
|
|
390
390
|
n({
|
|
391
391
|
type: O
|
|
392
392
|
})
|
|
393
|
-
],
|
|
393
|
+
], c.prototype, "graphic", 2);
|
|
394
394
|
p([
|
|
395
395
|
n()
|
|
396
|
-
],
|
|
396
|
+
], c.prototype, "scale", 2);
|
|
397
397
|
p([
|
|
398
398
|
n()
|
|
399
|
-
],
|
|
399
|
+
], c.prototype, "rotationEnabled", 2);
|
|
400
400
|
p([
|
|
401
401
|
n()
|
|
402
|
-
],
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
],
|
|
402
|
+
], c.prototype, "view", 2);
|
|
403
|
+
c = p([
|
|
404
|
+
C("map-components.geolocation.GeolocationPositioning")
|
|
405
|
+
], c);
|
|
406
406
|
var be = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, d = (e, t, o, r) => {
|
|
407
407
|
for (var i = r > 1 ? void 0 : r ? Ae(t, o) : t, a = e.length - 1, s; a >= 0; a--)
|
|
408
408
|
(s = e[a]) && (i = (r ? s(t, o, i) : s(i)) || i);
|
|
@@ -490,10 +490,10 @@ function Me(e) {
|
|
|
490
490
|
]
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
|
-
let
|
|
493
|
+
let l = class extends c {
|
|
494
494
|
//#region Lifecycle
|
|
495
495
|
constructor(e) {
|
|
496
|
-
super(e), this.
|
|
496
|
+
super(e), this.popupEnabled = !0, this.locate = this.locate.bind(this);
|
|
497
497
|
}
|
|
498
498
|
initialize() {
|
|
499
499
|
this.addHandles([
|
|
@@ -521,19 +521,19 @@ let c = class extends l {
|
|
|
521
521
|
const e = new AbortController();
|
|
522
522
|
this._locateController = e, this.error = void 0;
|
|
523
523
|
try {
|
|
524
|
-
const t = await
|
|
524
|
+
const t = await ce(this.geolocationOptions);
|
|
525
525
|
if (await this.updatePosition(t, e), this._locateController !== e)
|
|
526
526
|
return null;
|
|
527
527
|
const { graphic: o } = this;
|
|
528
|
-
return o && this._updatePopupTemplate(o), this._addGraphic(), this.currentPosition = t, this._locateController =
|
|
528
|
+
return o && this._updatePopupTemplate(o), this._addGraphic(), this.currentPosition = t, this._locateController = void 0, t;
|
|
529
529
|
} catch (t) {
|
|
530
530
|
if (E(t))
|
|
531
531
|
return null;
|
|
532
|
-
throw e === this._locateController && (this._locateController =
|
|
532
|
+
throw e === this._locateController && (this._locateController = void 0), this.error = t, t;
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
cancelLocate() {
|
|
536
|
-
this._clearGraphic(), this._locateController && this._locateController.abort(), this._locateController =
|
|
536
|
+
this._clearGraphic(), this._locateController && this._locateController.abort(), this._locateController = void 0;
|
|
537
537
|
}
|
|
538
538
|
//#endregion
|
|
539
539
|
//#region Private Methods
|
|
@@ -547,31 +547,31 @@ let c = class extends l {
|
|
|
547
547
|
};
|
|
548
548
|
d([
|
|
549
549
|
n()
|
|
550
|
-
],
|
|
550
|
+
], l.prototype, "_locateController", 2);
|
|
551
551
|
d([
|
|
552
552
|
n()
|
|
553
|
-
],
|
|
553
|
+
], l.prototype, "currentPosition", 2);
|
|
554
554
|
d([
|
|
555
555
|
n()
|
|
556
|
-
],
|
|
556
|
+
], l.prototype, "error", 2);
|
|
557
557
|
d([
|
|
558
558
|
n()
|
|
559
|
-
],
|
|
559
|
+
], l.prototype, "messages", 2);
|
|
560
560
|
d([
|
|
561
561
|
n()
|
|
562
|
-
],
|
|
562
|
+
], l.prototype, "popupEnabled", 2);
|
|
563
563
|
d([
|
|
564
564
|
n({ readOnly: !0 })
|
|
565
|
-
],
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
],
|
|
569
|
-
const
|
|
565
|
+
], l.prototype, "state", 1);
|
|
566
|
+
l = d([
|
|
567
|
+
C("map-components.locate.LocateViewModel")
|
|
568
|
+
], l);
|
|
569
|
+
const Se = {
|
|
570
570
|
base: "esri-locate"
|
|
571
|
-
},
|
|
571
|
+
}, S = "gps-off", Ce = k(l);
|
|
572
572
|
class Ee extends z {
|
|
573
573
|
constructor() {
|
|
574
|
-
super(...arguments), this.messages = V(), this.viewModel =
|
|
574
|
+
super(...arguments), this.messages = V(), this.viewModel = Ce(this), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = S, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = f(), this.arcgisPropertyChange = G()("state"), this.arcgisReady = f(), this.arcgisSuccess = f();
|
|
575
575
|
}
|
|
576
576
|
static {
|
|
577
577
|
this.properties = { autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 1, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
|
|
@@ -613,11 +613,11 @@ class Ee extends z {
|
|
|
613
613
|
});
|
|
614
614
|
}
|
|
615
615
|
render() {
|
|
616
|
-
const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", g = H === void 0 ?
|
|
617
|
-
return m`<div class=${w(F(
|
|
616
|
+
const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", g = H === void 0 ? S : void 0, h = this._localizeError(this.viewModel?.error);
|
|
617
|
+
return m`<div class=${w(F(Se.base, b.widget))}>${!s && m`<calcite-button class=${w(b.widgetButton)} .disabled=${r === "disabled"} .iconStart=${i ? void 0 : o ?? g} kind=neutral .label=${a} @click=${this._locate} title=${a ?? Q}>${i ? m`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${h ? m`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${h}</calcite-tooltip>` : null}</div>`;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
|
|
620
|
+
_("arcgis-locate", Ee);
|
|
621
621
|
export {
|
|
622
622
|
Ee as ArcgisLocate
|
|
623
623
|
};
|
|
@@ -6,7 +6,7 @@ import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
|
6
6
|
import { default as WebMap } from '@arcgis/core/WebMap.js';
|
|
7
7
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
8
|
|
|
9
|
-
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks"> & {
|
|
9
|
+
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks"> & {
|
|
10
10
|
autoDestroyDisabled: boolean;
|
|
11
11
|
destroy: () => Promise<void>;
|
|
12
12
|
}) => WebMap;
|
|
@@ -15,7 +15,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
|
|
|
15
15
|
destroy: () => Promise<void>;
|
|
16
16
|
}) => MapView;
|
|
17
17
|
/**
|
|
18
|
-
* The ArcGIS Map
|
|
18
|
+
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
19
19
|
* [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
20
20
|
*
|
|
21
21
|
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).
|
|
@@ -51,7 +51,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
|
|
|
51
51
|
*
|
|
52
52
|
* See also:
|
|
53
53
|
* - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
|
|
54
|
-
* - [
|
|
54
|
+
* - [Get started](https://developers.arcgis.com/javascript/latest/get-started/)
|
|
55
55
|
* - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
|
|
56
56
|
*
|
|
57
57
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
@@ -131,13 +131,14 @@ export declare class ArcgisMap extends LitElement {
|
|
|
131
131
|
get gamepad(): __esri.GamepadSettings;
|
|
132
132
|
/**
|
|
133
133
|
* Allows for adding graphics directly to the default graphics in the View.
|
|
134
|
-
*
|
|
135
|
-
*
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```js
|
|
136
137
|
* // Adds a graphic to the View
|
|
137
138
|
* graphics.add(pointGraphic);
|
|
138
139
|
* ```
|
|
139
|
-
*
|
|
140
|
-
* ```
|
|
140
|
+
* @example
|
|
141
|
+
* ```js
|
|
141
142
|
* // Removes a graphic from the View
|
|
142
143
|
* graphics.remove(pointGraphic);
|
|
143
144
|
* ```
|
|
@@ -155,6 +156,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
155
156
|
* Options for configuring the highlight.
|
|
156
157
|
*
|
|
157
158
|
* @deprecated
|
|
159
|
+
* since 4.33, use [highlights](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#highlights) instead.
|
|
160
|
+
*
|
|
158
161
|
* Options for configuring the highlight. Use the highlight method on the
|
|
159
162
|
* appropriate esri/views/layers/LayerView to highlight a feature.
|
|
160
163
|
* The layerView's `highlightOptions` will take precedence over the MapView's `highlightOptions` if both properties are set.
|
|
@@ -184,7 +187,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
184
187
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
185
188
|
readonly magnifier: __esri.Magnifier;
|
|
186
189
|
/** An instance of a esri/Map object to display in the view. */
|
|
187
|
-
map: __esri.Map;
|
|
190
|
+
map: __esri.Map | nullish;
|
|
188
191
|
/**
|
|
189
192
|
* Indication whether the view is being navigated (for example when panning).
|
|
190
193
|
*
|
|
@@ -331,28 +334,28 @@ export declare class ArcgisMap extends LitElement {
|
|
|
331
334
|
set zoom(newValue: number);
|
|
332
335
|
/**
|
|
333
336
|
* @deprecated
|
|
334
|
-
* since 4.33
|
|
337
|
+
* since 4.33, use `element.map.add(layer)` instead.
|
|
335
338
|
*
|
|
336
339
|
* Adds a layer to the map layers collection.
|
|
337
340
|
*/
|
|
338
341
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
339
342
|
/**
|
|
340
343
|
* @deprecated
|
|
341
|
-
* since 4.33
|
|
344
|
+
* since 4.33, use `element.map.addMany([layer])` instead.
|
|
342
345
|
*
|
|
343
346
|
* Adds a layer or array of layers to the map layers collection.
|
|
344
347
|
*/
|
|
345
348
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
346
349
|
/**
|
|
347
350
|
* @deprecated
|
|
348
|
-
* since 4.33
|
|
351
|
+
* since 4.33, use `element.map.tables.add(table)` instead.
|
|
349
352
|
*
|
|
350
353
|
* Adds a table to the map tables collection.
|
|
351
354
|
*/
|
|
352
355
|
addTable(table: __esri.FeatureLayer): Promise<void>;
|
|
353
356
|
/**
|
|
354
357
|
* @deprecated
|
|
355
|
-
* since 4.33
|
|
358
|
+
* since 4.33, use `element.map.tables.addMany([table])` instead.
|
|
356
359
|
*
|
|
357
360
|
* Adds a table or array of tables to the map tables collection.
|
|
358
361
|
*/
|
|
@@ -379,8 +382,18 @@ export declare class ArcgisMap extends LitElement {
|
|
|
379
382
|
/** Gets the LayerView created on the view for the given layer. */
|
|
380
383
|
whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
|
|
381
384
|
/**
|
|
382
|
-
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
383
|
-
* This method takes two input parameters
|
|
385
|
+
* `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.
|
|
386
|
+
* This method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.
|
|
387
|
+
*
|
|
388
|
+
* @since 4.33
|
|
389
|
+
* @see [Watch for changes - waiting for components or views to be ready](https://developers.arcgis.com/javascript/latest/watch-for-changes/#waiting-for-components-or-views-to-be-ready)
|
|
390
|
+
* @example
|
|
391
|
+
* ```js
|
|
392
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
393
|
+
* await viewElement.viewOnReady();
|
|
394
|
+
* // The view is now ready to be used.
|
|
395
|
+
* viewElement.map.add(new FeatureLayer({...}));
|
|
396
|
+
* ```
|
|
384
397
|
*/
|
|
385
398
|
viewOnReady(callback?: () => void, errback?: (error: Error) => void): Promise<void>;
|
|
386
399
|
/**
|
|
@@ -8,8 +8,8 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as m } from "@lit/reactive-element/css-tag.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.
|
|
12
|
-
const
|
|
11
|
+
v4.34.0-next.40 */
|
|
12
|
+
const g = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -20,21 +20,21 @@ const d = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;w
|
|
|
20
20
|
* in an externalized package.
|
|
21
21
|
*/
|
|
22
22
|
{}
|
|
23
|
-
),
|
|
24
|
-
class
|
|
23
|
+
), u = r(o, {});
|
|
24
|
+
class y extends p {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(), this._map =
|
|
26
|
+
super(), this._map = d(this), this.view = u(this), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.view.ui = {
|
|
27
27
|
components: ["attribution"]
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
|
-
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, visibleArea: 0, zoom: 9 };
|
|
31
|
+
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, visibleArea: 0, zoom: 9 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
34
|
this.shadowRootOptions = c;
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.styles =
|
|
37
|
+
this.styles = g;
|
|
38
38
|
}
|
|
39
39
|
get center() {
|
|
40
40
|
return this.view.center;
|
|
@@ -49,6 +49,15 @@ class u extends p {
|
|
|
49
49
|
set extent(i) {
|
|
50
50
|
i && !this.extent?.equals(i) && (this.view.extent = i);
|
|
51
51
|
}
|
|
52
|
+
get focusAreas() {
|
|
53
|
+
return this.map ? this.map.focusAreas : {
|
|
54
|
+
areas: [],
|
|
55
|
+
style: "bright"
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
set focusAreas(i) {
|
|
59
|
+
this.map && (this.map.focusAreas = i);
|
|
60
|
+
}
|
|
52
61
|
get gamepad() {
|
|
53
62
|
return this.view.input.gamepad;
|
|
54
63
|
}
|
|
@@ -86,16 +95,16 @@ class u extends p {
|
|
|
86
95
|
this.view.zoom = i;
|
|
87
96
|
}
|
|
88
97
|
async addLayer(i, t) {
|
|
89
|
-
this.map
|
|
98
|
+
this.map?.add(i, t);
|
|
90
99
|
}
|
|
91
100
|
async addLayers(i, t) {
|
|
92
|
-
this.map
|
|
101
|
+
this.map?.addMany(i, t);
|
|
93
102
|
}
|
|
94
103
|
async addTable(i) {
|
|
95
|
-
this.map
|
|
104
|
+
this.map?.tables.add(i);
|
|
96
105
|
}
|
|
97
106
|
async addTables(i, t) {
|
|
98
|
-
this.map
|
|
107
|
+
this.map?.tables.addMany(i, t);
|
|
99
108
|
}
|
|
100
109
|
async closePopup() {
|
|
101
110
|
this.view.closePopup();
|
|
@@ -136,13 +145,15 @@ class u extends p {
|
|
|
136
145
|
}
|
|
137
146
|
loaded() {
|
|
138
147
|
this.map ||= this._map, this.manager.onLifecycle(() => [
|
|
139
|
-
s(() => this.map, () =>
|
|
148
|
+
s(() => this.map, (i) => {
|
|
149
|
+
i && (this._map = i);
|
|
150
|
+
}, { initial: !0, sync: !0 }),
|
|
140
151
|
s(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
|
|
141
152
|
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
|
|
142
153
|
]);
|
|
143
154
|
}
|
|
144
155
|
}
|
|
145
|
-
h("arcgis-map",
|
|
156
|
+
h("arcgis-map", y);
|
|
146
157
|
export {
|
|
147
|
-
|
|
158
|
+
y as ArcgisMap
|
|
148
159
|
};
|
|
@@ -83,6 +83,11 @@ export declare class ArcgisMeasurement extends LitElement {
|
|
|
83
83
|
linearUnit: __esri.SystemOrLengthUnit;
|
|
84
84
|
/** @default "bottom-left" */
|
|
85
85
|
position: __esri.UIPosition;
|
|
86
|
+
/**
|
|
87
|
+
* 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.
|
|
88
|
+
*
|
|
89
|
+
* @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)
|
|
90
|
+
*/
|
|
86
91
|
referenceElement?: ArcgisReferenceElement | string;
|
|
87
92
|
/**
|
|
88
93
|
* The ViewModel's state.
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
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.
|
|
9
|
+
v4.34.0-next.40 */
|
|
10
10
|
const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { f as l } from "../../chunks/measurementUtils.js";
|
|
|
6
6
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
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.
|
|
9
|
+
v4.34.0-next.40 */
|
|
10
10
|
const u = m`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`, e = {
|
|
11
11
|
error: "error",
|
|
12
12
|
hint: "hint",
|
|
@@ -6,7 +6,7 @@ import { PropertyValues } from 'lit';
|
|
|
6
6
|
import { useView } from '../../controllers/useView';
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
8
|
|
|
9
|
-
type
|
|
9
|
+
type NavigationToggleState = "disabled" | "ready";
|
|
10
10
|
type NavigationMode = "pan" | "rotate";
|
|
11
11
|
type LayoutMode = "horizontal" | "vertical";
|
|
12
12
|
/**
|
|
@@ -16,7 +16,9 @@ type LayoutMode = "horizontal" | "vertical";
|
|
|
16
16
|
* to rotate the view. When the navigation mode is set to "rotate", the mouse drag gesture rotates the view and
|
|
17
17
|
* right-click + drag pans the view.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* **Known limitations**
|
|
20
|
+
*
|
|
21
|
+
* Navigation Toggle is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
20
22
|
*
|
|
21
23
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-navigation-toggle/)
|
|
22
24
|
*/
|
|
@@ -36,29 +38,31 @@ export declare class ArcgisNavigationToggle extends LitElement {
|
|
|
36
38
|
* @default "vertical"
|
|
37
39
|
*/
|
|
38
40
|
layout: LayoutMode;
|
|
39
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* Replace localized message strings with your own strings.
|
|
43
|
+
*
|
|
44
|
+
* _**Note**: Individual message keys may change between releases._
|
|
45
|
+
*/
|
|
40
46
|
messageOverrides?: typeof this._messages._overrides;
|
|
41
47
|
/**
|
|
42
|
-
* The navigation mode of the view.
|
|
43
|
-
* possible values.
|
|
48
|
+
* The navigation mode of the view. The possible values:
|
|
44
49
|
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* pan | The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
48
|
-
* rotate | The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
50
|
+
* * `pan` - The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
51
|
+
* * `rotate` - The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
49
52
|
*
|
|
50
53
|
* @default "pan"
|
|
51
54
|
*/
|
|
52
55
|
navigationMode: NavigationMode;
|
|
53
56
|
/** @default "top-left" */
|
|
54
57
|
position: __esri.UIPosition;
|
|
55
|
-
referenceElement?: ArcgisReferenceElement | string;
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* 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.
|
|
58
60
|
*
|
|
59
|
-
* @
|
|
61
|
+
* @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)
|
|
60
62
|
*/
|
|
61
|
-
|
|
63
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
64
|
+
/** The current state of the component. */
|
|
65
|
+
get state(): NavigationToggleState;
|
|
62
66
|
toggle(): Promise<void>;
|
|
63
67
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
64
68
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -9,22 +9,25 @@ import { g as b } from "../../chunks/globalCss.js";
|
|
|
9
9
|
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
13
|
-
const $ = "arcgis-navigation-toggle",
|
|
12
|
+
v4.34.0-next.40 */
|
|
13
|
+
const $ = "arcgis-navigation-toggle", _ = {
|
|
14
14
|
base: $
|
|
15
|
-
},
|
|
16
|
-
class
|
|
15
|
+
}, w = M`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`, e = { pan: "move", rotate: "rotate" };
|
|
16
|
+
class x extends g {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this.view = f(this), this._messages = y(), this.icon = e.pan, this.layout = "vertical", this.navigationMode = "pan", this.position = "top-left", this.
|
|
18
|
+
super(...arguments), this.view = f(this), this._messages = y(), this._state = "disabled", this.icon = e.pan, this.layout = "vertical", this.navigationMode = "pan", this.position = "top-left", this.arcgisPropertyChange = d()("layout", "state"), this.arcgisReady = h();
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.properties = { icon: 1, label: 1, layout: 3, messageOverrides: 0, navigationMode: 3, position: 1, referenceElement: 1, state:
|
|
21
|
+
this.properties = { _state: 16, icon: 1, label: 1, layout: 3, messageOverrides: 0, navigationMode: 3, position: 1, referenceElement: 1, state: 35 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
24
|
this.shadowRootOptions = m;
|
|
25
25
|
}
|
|
26
26
|
static {
|
|
27
|
-
this.styles =
|
|
27
|
+
this.styles = w;
|
|
28
|
+
}
|
|
29
|
+
get state() {
|
|
30
|
+
return this._state;
|
|
28
31
|
}
|
|
29
32
|
async toggle() {
|
|
30
33
|
this.state !== "disabled" && (this.navigationMode = this.navigationMode !== "pan" ? "pan" : "rotate");
|
|
@@ -36,7 +39,7 @@ class _ extends g {
|
|
|
36
39
|
const { view: t } = this;
|
|
37
40
|
return t?.ready && t?.type === "3d" ? "ready" : "disabled";
|
|
38
41
|
}, (t) => {
|
|
39
|
-
this.
|
|
42
|
+
this._state = t;
|
|
40
43
|
}, { sync: !0, initial: !0 })
|
|
41
44
|
]);
|
|
42
45
|
}
|
|
@@ -58,10 +61,10 @@ class _ extends g {
|
|
|
58
61
|
}
|
|
59
62
|
render() {
|
|
60
63
|
const { _messages: t, navigationMode: a, state: l } = this, s = t.pan ?? "", o = t.rotate ?? "", i = l === "disabled", n = a === "pan";
|
|
61
|
-
return u`<calcite-action-bar class=${v({ [
|
|
64
|
+
return u`<calcite-action-bar class=${v({ [_.base]: !0, [b.disabled]: i })} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${n} appearance=solid .disabled=${i} .icon=${e.pan} @click=${this._onPanClick} scale=s .text=${s} title=${s ?? r}></calcite-action><calcite-action .active=${!n} appearance=solid .disabled=${i} .icon=${e.rotate} @click=${this._onRotateClick} scale=s .text=${o} title=${o ?? r}></calcite-action></calcite-action-bar>`;
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
|
-
p("arcgis-navigation-toggle",
|
|
67
|
+
p("arcgis-navigation-toggle", x);
|
|
65
68
|
export {
|
|
66
|
-
|
|
69
|
+
x as ArcgisNavigationToggle
|
|
67
70
|
};
|
|
@@ -136,6 +136,11 @@ export declare class ArcgisOrientedImageryViewer extends LitElement {
|
|
|
136
136
|
orientedImageryLayerItemId?: string;
|
|
137
137
|
/** @default "bottom-left" */
|
|
138
138
|
position: __esri.UIPosition;
|
|
139
|
+
/**
|
|
140
|
+
* 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.
|
|
141
|
+
*
|
|
142
|
+
* @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)
|
|
143
|
+
*/
|
|
139
144
|
referenceElement?: ArcgisReferenceElement | string;
|
|
140
145
|
/**
|
|
141
146
|
* This property provides the location of an image pixel in Map coordinates when using map-image conversion tool.
|
|
@@ -7,7 +7,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.40 */
|
|
11
11
|
const h = g`@layer{arcgis-oriented-imagery-viewer{display:block}}`, m = l(r);
|
|
12
12
|
class y extends o {
|
|
13
13
|
constructor() {
|
|
@@ -12,6 +12,11 @@ import { ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgi
|
|
|
12
12
|
export declare class ArcgisPlacement extends LitElement {
|
|
13
13
|
/** @default "bottom-left" */
|
|
14
14
|
position: __esri.UIPosition;
|
|
15
|
+
/**
|
|
16
|
+
* 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.
|
|
17
|
+
*
|
|
18
|
+
* @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)
|
|
19
|
+
*/
|
|
15
20
|
referenceElement?: ArcgisReferenceElement | string;
|
|
16
21
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
17
22
|
readonly arcgisReady: TargetedEvent<this, void>;
|