@arcgis/map-components 4.34.0-next.5 → 4.34.0-next.50
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/26R2YV3B.js +4 -0
- package/dist/cdn/2CQONIL2.js +4 -0
- package/dist/cdn/2GI6YQEI.js +4 -0
- package/dist/cdn/2H5QL6X7.js +4 -0
- package/dist/cdn/{JE6AJOV2.js → 2OQ6OXJG.js} +2 -2
- package/dist/cdn/2V6QW57Y.js +4 -0
- package/dist/cdn/{RNMVFT5P.js → 2WB3VDBK.js} +1 -1
- package/dist/cdn/34V6FFLC.js +4 -0
- package/dist/cdn/3IUDGD65.js +4 -0
- package/dist/cdn/3KFRZNJE.js +4 -0
- package/dist/cdn/3Q5GWAOH.js +4 -0
- package/dist/cdn/{UKUTVSTC.js → 3TNNWTAT.js} +2 -2
- package/dist/cdn/3TQU7RFR.js +4 -0
- package/dist/cdn/4CYKZL33.js +4 -0
- package/dist/cdn/{BNUZVD5L.js → 4DUQHI6P.js} +2 -2
- package/dist/cdn/4ISQY7KF.js +4 -0
- package/dist/cdn/4JDOUOBV.js +4 -0
- package/dist/cdn/4TO2R3SL.js +4 -0
- package/dist/cdn/4YWQ66WB.js +4 -0
- package/dist/cdn/{54VGZGQT.js → 5GSDGHZ3.js} +2 -2
- package/dist/cdn/5KHZOBUA.js +4 -0
- package/dist/cdn/5KNUYIJ6.js +4 -0
- package/dist/cdn/5QDRURVW.js +4 -0
- package/dist/cdn/{FCPVKFF7.js → 5TSGKVAP.js} +2 -2
- package/dist/cdn/5V4YSXEX.js +4 -0
- package/dist/cdn/5VMYC2HB.js +4 -0
- package/dist/cdn/5YKVZEXB.js +4 -0
- package/dist/cdn/62KIHSAJ.js +4 -0
- package/dist/cdn/67DILXT3.js +4 -0
- package/dist/cdn/6DGB7FVP.js +4 -0
- package/dist/cdn/6DNNBLTS.js +4 -0
- package/dist/cdn/{Z5OKVV3T.js → 6FRZKVET.js} +2 -2
- package/dist/cdn/6FTO5TUV.js +4 -0
- package/dist/cdn/6ILWU6S2.js +4 -0
- package/dist/cdn/6LSEPDH5.js +4 -0
- package/dist/cdn/6UE2J3H3.js +4 -0
- package/dist/cdn/6UXIXOUF.js +4 -0
- package/dist/cdn/{CY2ZUEMG.js → 75KMGR2T.js} +2 -2
- package/dist/cdn/7ADE73RA.js +4 -0
- package/dist/cdn/7GIELD22.js +4 -0
- package/dist/cdn/7XPT54JR.js +4 -0
- package/dist/cdn/7ZR5PR2L.js +4 -0
- package/dist/cdn/A5VWDFHE.js +4 -0
- package/dist/cdn/AHBYJOVM.js +4 -0
- package/dist/cdn/AI7PXAN4.js +4 -0
- package/dist/cdn/ALII4L6W.js +4 -0
- package/dist/cdn/APJD3H2R.js +4 -0
- package/dist/cdn/AUZ7N5WS.js +4 -0
- package/dist/cdn/AYGTXJXG.js +4 -0
- package/dist/cdn/B5N4VUXB.js +4 -0
- package/dist/cdn/BBPAZJHG.js +4 -0
- package/dist/cdn/BJ7DXLBG.js +4 -0
- package/dist/cdn/BQVV32YK.js +4 -0
- package/dist/cdn/BRFMXB22.js +4 -0
- package/dist/cdn/BU57WANH.js +4 -0
- package/dist/cdn/{RZWKYMUH.js → BUJKCBLN.js} +2 -2
- package/dist/cdn/BYIG4A56.js +4 -0
- package/dist/cdn/C2YRACL5.js +4 -0
- package/dist/cdn/C4PORT7A.js +4 -0
- package/dist/cdn/C5NTPG2J.js +4 -0
- package/dist/cdn/CCIJI4Q3.js +4 -0
- package/dist/cdn/CFCNUTV7.js +4 -0
- package/dist/cdn/CIAKNPGH.js +4 -0
- package/dist/cdn/CQM22ZVV.js +4 -0
- package/dist/cdn/D6EDBL24.js +4 -0
- package/dist/cdn/DA2JDIA5.js +4 -0
- package/dist/cdn/{HRVDXQJH.js → DDZSCFPP.js} +1 -1
- package/dist/cdn/{ZFZIGRGE.js → DL5QNAJH.js} +1 -1
- package/dist/cdn/DRS5TFL3.js +4 -0
- package/dist/cdn/ED2ELRSD.js +4 -0
- package/dist/cdn/EGHBXJIQ.js +4 -0
- package/dist/cdn/EMURL3M6.js +6 -0
- package/dist/cdn/ENYA3CUT.js +4 -0
- package/dist/cdn/EYYHLTDA.js +4 -0
- package/dist/cdn/EZRL6KFN.js +4 -0
- package/dist/cdn/FBDQXCVG.js +5 -0
- package/dist/cdn/FMJZJRW7.js +4 -0
- package/dist/cdn/FPW62K7V.js +4 -0
- package/dist/cdn/FVIXRTM5.js +4 -0
- package/dist/cdn/G2W42WVA.js +4 -0
- package/dist/cdn/G77RWWJ5.js +4 -0
- package/dist/cdn/GAAU3OGF.js +4 -0
- package/dist/cdn/GPA5ZUND.js +4 -0
- package/dist/cdn/GZ333KTW.js +4 -0
- package/dist/cdn/GZCPDM7J.js +4 -0
- package/dist/cdn/HQL7E2T6.js +4 -0
- package/dist/cdn/HT3JKPOI.js +4 -0
- package/dist/cdn/IAB4RRTE.js +4 -0
- package/dist/cdn/IUSN6HPI.js +4 -0
- package/dist/cdn/IZPSAWGI.js +4 -0
- package/dist/cdn/JFFZT22V.js +4 -0
- package/dist/cdn/JGO5DXAG.js +4 -0
- package/dist/cdn/JPGZ6LTV.js +4 -0
- package/dist/cdn/JYJEO4XX.js +4 -0
- package/dist/cdn/KNDCZL4P.js +4 -0
- package/dist/cdn/KWFOKKJP.js +4 -0
- package/dist/cdn/KWQEP3GX.js +4 -0
- package/dist/cdn/LB4VE6GE.js +4 -0
- package/dist/cdn/LFAAOP6W.js +4 -0
- package/dist/cdn/LGEEWJVV.js +4 -0
- package/dist/cdn/LKCFUBW7.js +4 -0
- package/dist/cdn/LKDVJARU.js +4 -0
- package/dist/cdn/LPIAWKJF.js +4 -0
- package/dist/cdn/LRWBSDZG.js +4 -0
- package/dist/cdn/MJAUREYK.js +4 -0
- package/dist/cdn/{4MRPFB2F.js → N7K24QHL.js} +2 -2
- package/dist/cdn/NBPRSKK7.js +4 -0
- package/dist/cdn/NM4L7QLO.js +4 -0
- package/dist/cdn/NN5DZJEE.js +4 -0
- package/dist/cdn/NNYT4CEU.js +4 -0
- package/dist/cdn/NPZSYTOT.js +4 -0
- package/dist/cdn/NWB2XYJW.js +4 -0
- package/dist/cdn/OFQCNUYO.js +4 -0
- package/dist/cdn/OGM4QM2V.js +4 -0
- package/dist/cdn/OPFMFHCU.js +4 -0
- package/dist/cdn/OSGGZ36A.js +4 -0
- package/dist/cdn/{AIJ5QKVL.js → OTWW4QVQ.js} +1 -1
- package/dist/cdn/P4ZV2W74.js +4 -0
- package/dist/cdn/PCQ7W5WT.js +4 -0
- package/dist/cdn/PCSSJZVF.js +4 -0
- package/dist/cdn/PVB3L6DK.js +4 -0
- package/dist/cdn/QAK5OEEC.js +4 -0
- package/dist/cdn/QBVLPPIJ.js +4 -0
- package/dist/cdn/QC56X3K3.js +4 -0
- package/dist/cdn/QCEJDAKG.js +4 -0
- package/dist/cdn/{LB4FJL6Z.js → QOIC3IV2.js} +2 -2
- package/dist/cdn/QVFHJC6H.js +4 -0
- package/dist/cdn/R3O37JLG.js +4 -0
- package/dist/cdn/R45G45E4.js +4 -0
- package/dist/cdn/R6K42OY3.js +4 -0
- package/dist/cdn/RCVY3GBR.js +4 -0
- package/dist/cdn/RNLSGN6H.js +4 -0
- package/dist/cdn/RR65BWBB.js +4 -0
- package/dist/cdn/RXSZD3FE.js +4 -0
- package/dist/cdn/RYW3GXMR.js +4 -0
- package/dist/cdn/S5MYJBHN.js +4 -0
- package/dist/cdn/SASHNNW5.js +4 -0
- package/dist/cdn/{QIELYIFC.js → SLRHUPQ2.js} +2 -2
- package/dist/cdn/SPJRFIG2.js +4 -0
- package/dist/cdn/SPRMAJ56.js +4 -0
- package/dist/cdn/SWTYYNLD.js +4 -0
- package/dist/cdn/SZMMDMHA.js +4 -0
- package/dist/cdn/T4CACD5U.js +4 -0
- package/dist/cdn/TQPCCDKQ.js +3 -0
- package/dist/cdn/TT5VTF6S.js +4 -0
- package/dist/cdn/TYMITYZ4.js +4 -0
- package/dist/cdn/TYUKFL7V.js +4 -0
- package/dist/cdn/UA2BRGBJ.js +4 -0
- package/dist/cdn/UFENVRBO.js +4 -0
- package/dist/cdn/UK5RXJ2E.js +4 -0
- package/dist/cdn/{5ZZR2J6N.js → UPRLADCM.js} +2 -2
- package/dist/cdn/UUZ5KPUV.js +4 -0
- package/dist/cdn/V2XEX63R.js +4 -0
- package/dist/cdn/V7EIWO6W.js +4 -0
- package/dist/cdn/{4GXYTGZZ.js → VCPKX6Y6.js} +1 -1
- package/dist/cdn/VGB2AEHQ.js +4 -0
- package/dist/cdn/VIEIBC7W.js +4 -0
- package/dist/cdn/VOKZINB7.js +4 -0
- package/dist/cdn/VOXJGYJJ.js +4 -0
- package/dist/cdn/VSO767QL.js +4 -0
- package/dist/cdn/VUFI4AOT.js +4 -0
- package/dist/cdn/W23WNNVI.js +4 -0
- package/dist/cdn/WCRDNJT5.js +4 -0
- package/dist/cdn/WDVXB57P.js +4 -0
- package/dist/cdn/WOCZMUK7.js +4 -0
- package/dist/cdn/WQSJK5WS.js +4 -0
- package/dist/cdn/X34P6RQS.js +4 -0
- package/dist/cdn/{EPS7HMFS.js → X4QWBI4I.js} +1 -1
- package/dist/cdn/XDG7JWMS.js +4 -0
- package/dist/cdn/XKAZZEMM.js +4 -0
- package/dist/cdn/XNFLRNSD.js +4 -0
- package/dist/cdn/XRWJG5LI.js +4 -0
- package/dist/cdn/XTK5JLGR.js +4 -0
- package/dist/cdn/YAMEYVQA.js +4 -0
- package/dist/cdn/YBP6R7CX.js +4 -0
- package/dist/cdn/YFCCMEVT.js +4 -0
- package/dist/cdn/YIAYHUYJ.js +4 -0
- package/dist/cdn/YNHG6MC2.js +4 -0
- package/dist/cdn/{V32WTVMP.js → YYBZPUPB.js} +1 -1
- package/dist/cdn/YYTCKFUT.js +4 -0
- package/dist/cdn/Z27CF6WG.js +4 -0
- package/dist/cdn/Z2AC2NOA.js +4 -0
- package/dist/cdn/Z5ZIY43G.js +4 -0
- package/dist/cdn/ZCRRAN4X.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/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 +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 +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 +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +18 -19
- 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 +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +16 -17
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +239 -82
- package/dist/components/arcgis-bookmarks/customElement.js +456 -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 +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directions/customElement.d.ts +7 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +6 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +10 -4
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +11 -10
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +30 -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-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 +241 -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 +7 -2
- 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 +38 -0
- package/dist/components/arcgis-feature-media/customElement.js +576 -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 +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +15 -16
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +39 -16
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- 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 +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- 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 +17 -5
- package/dist/components/arcgis-locate/customElement.js +55 -56
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +55 -41
- 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 +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- 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 +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +3 -3
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +144 -81
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +52 -16
- package/dist/components/arcgis-search/customElement.js +41 -38
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- 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 +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
- package/dist/components/arcgis-swipe/customElement.js +43 -44
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +10 -11
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- 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 +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- 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 +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- 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 +38 -32
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- 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/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +16 -17
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +11 -12
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1881 -586
- package/dist/docs/docs.json +1746 -818
- package/dist/docs/vscode.html-custom-data.json +252 -114
- package/dist/docs/web-types.json +559 -274
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +24 -18
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +22 -17
- package/dist/types/preact.d.ts +22 -17
- package/dist/types/react.d.ts +22 -17
- package/dist/types/stencil.d.ts +22 -17
- 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 +6 -4
- package/dist/cdn/24BGG5B5.js +0 -4
- package/dist/cdn/2ABLOYUQ.js +0 -4
- package/dist/cdn/2MCSN6B6.js +0 -4
- package/dist/cdn/2O4Y7OHR.js +0 -4
- package/dist/cdn/2TWTTB4C.js +0 -4
- package/dist/cdn/2UUPIIJ2.js +0 -4
- package/dist/cdn/3JRMNN7J.js +0 -4
- package/dist/cdn/3PIZQW3M.js +0 -4
- package/dist/cdn/3TK75HC6.js +0 -4
- package/dist/cdn/4O62D3XH.js +0 -4
- package/dist/cdn/4WF35OVZ.js +0 -4
- package/dist/cdn/544SB4EK.js +0 -4
- package/dist/cdn/5AZ345NY.js +0 -4
- package/dist/cdn/5DVI4EBY.js +0 -4
- package/dist/cdn/64ECRPXA.js +0 -4
- package/dist/cdn/6CDNOZQF.js +0 -4
- package/dist/cdn/6SCGGHDS.js +0 -4
- package/dist/cdn/7LOOJUA4.js +0 -4
- package/dist/cdn/7Q2LH4TM.js +0 -4
- package/dist/cdn/7X5UWWAM.js +0 -4
- package/dist/cdn/A2GEUHD7.js +0 -4
- package/dist/cdn/BMYPLHTO.js +0 -4
- package/dist/cdn/BOBGF74Z.js +0 -4
- package/dist/cdn/CEY2DMIN.js +0 -4
- package/dist/cdn/CQG33CHS.js +0 -4
- package/dist/cdn/DB2RVFYE.js +0 -4
- package/dist/cdn/DCAIQVAC.js +0 -4
- package/dist/cdn/EDF5YBMS.js +0 -4
- package/dist/cdn/EE2WJOUL.js +0 -4
- package/dist/cdn/EFPP35S3.js +0 -4
- package/dist/cdn/ETTC3DDE.js +0 -4
- package/dist/cdn/EZXIFOKP.js +0 -4
- package/dist/cdn/FDO7BW3M.js +0 -4
- package/dist/cdn/FIIIUSQA.js +0 -4
- package/dist/cdn/FIQDTOHK.js +0 -4
- package/dist/cdn/FIRY4NWS.js +0 -4
- package/dist/cdn/FKYCCKL6.js +0 -4
- package/dist/cdn/G7FI7ZEJ.js +0 -4
- package/dist/cdn/GTFZYBLH.js +0 -4
- package/dist/cdn/H7WRFI2D.js +0 -4
- package/dist/cdn/HGHOHO2E.js +0 -4
- package/dist/cdn/HHKEZDYI.js +0 -4
- package/dist/cdn/HI5YGVEU.js +0 -4
- package/dist/cdn/HVHKTHJR.js +0 -4
- package/dist/cdn/I4UJICTJ.js +0 -4
- package/dist/cdn/IDRJHSB4.js +0 -4
- package/dist/cdn/INXLPBES.js +0 -4
- package/dist/cdn/IPSPJR6H.js +0 -4
- package/dist/cdn/J3TNLK3O.js +0 -4
- package/dist/cdn/JEGU6LY5.js +0 -4
- package/dist/cdn/JPHNAFYX.js +0 -4
- package/dist/cdn/JWHVUXI7.js +0 -4
- package/dist/cdn/JXEJ2FDT.js +0 -4
- package/dist/cdn/K667RV3F.js +0 -4
- package/dist/cdn/KHHWOKDH.js +0 -4
- package/dist/cdn/KWXFVL5O.js +0 -4
- package/dist/cdn/LNC2FBRF.js +0 -4
- package/dist/cdn/LX2VKBL5.js +0 -4
- package/dist/cdn/LZ4SDJU4.js +0 -4
- package/dist/cdn/M42LA7QJ.js +0 -4
- package/dist/cdn/MHF4R4QG.js +0 -4
- package/dist/cdn/MHXI4R7Q.js +0 -6
- package/dist/cdn/MT6FGRRO.js +0 -4
- package/dist/cdn/MTJFO22N.js +0 -4
- package/dist/cdn/MWH2P5CL.js +0 -4
- package/dist/cdn/MWRQZLPR.js +0 -4
- package/dist/cdn/MZJOI5UH.js +0 -4
- package/dist/cdn/O2E4MNME.js +0 -4
- package/dist/cdn/O7NRUX5I.js +0 -4
- package/dist/cdn/OLDX3JZA.js +0 -4
- package/dist/cdn/OMQCMWFC.js +0 -4
- package/dist/cdn/OQ4Q4IIJ.js +0 -4
- package/dist/cdn/OSKGVTTW.js +0 -4
- package/dist/cdn/OVXJMGHR.js +0 -4
- package/dist/cdn/P2BRHVAB.js +0 -4
- package/dist/cdn/PQ3OUY5L.js +0 -4
- package/dist/cdn/PVTCJ67N.js +0 -4
- package/dist/cdn/RC2PKLFD.js +0 -4
- package/dist/cdn/RLYPTZW6.js +0 -4
- package/dist/cdn/RRJG3CW4.js +0 -4
- package/dist/cdn/SRXUA5WQ.js +0 -4
- package/dist/cdn/T5RGPAAI.js +0 -4
- package/dist/cdn/TEBWJ3I7.js +0 -4
- package/dist/cdn/TISZTZQL.js +0 -4
- package/dist/cdn/UF2KELUQ.js +0 -4
- package/dist/cdn/UF5A7HCA.js +0 -4
- package/dist/cdn/UKX6JNY3.js +0 -4
- package/dist/cdn/UPUPF3OI.js +0 -4
- package/dist/cdn/V5FW6B4I.js +0 -4
- package/dist/cdn/VF2Y76QB.js +0 -4
- package/dist/cdn/W425S3CR.js +0 -4
- package/dist/cdn/WE4HRX3B.js +0 -4
- package/dist/cdn/X7HXAK7T.js +0 -4
- package/dist/cdn/XBWRLYN4.js +0 -4
- package/dist/cdn/XIHWMEJG.js +0 -4
- package/dist/cdn/YGTIT746.js +0 -4
- package/dist/cdn/YJLPPO4D.js +0 -4
- package/dist/cdn/YTVNHZ2T.js +0 -4
- package/dist/cdn/YZO4MONH.js +0 -4
- package/dist/cdn/ZPQ7DJV3.js +0 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import { Nil } from '@arcgis/components-utils';
|
|
5
4
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
5
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
6
|
import { default as LocateViewModel } from './LocateViewModel';
|
|
@@ -10,6 +9,10 @@ declare const useLocateViewModel: (component: LitElement & Pick<LocateViewModel,
|
|
|
10
9
|
/**
|
|
11
10
|
* The Locate component animates the Map or Scene to the user's current location.
|
|
12
11
|
*
|
|
12
|
+
* This component uses the browser's [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API) which is only available in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts), such as HTTPS.
|
|
13
|
+
* Note that localhost is considered "potentially secure" and can be used for easy testing in browsers that support
|
|
14
|
+
* [Window.isSecureContext](https://developer.mozilla.org/en-US/docs/Web/API/isSecureContext#browser_compatibility).
|
|
15
|
+
*
|
|
13
16
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-locate/)
|
|
14
17
|
*/
|
|
15
18
|
export declare class ArcgisLocate extends LitElement {
|
|
@@ -23,26 +26,35 @@ export declare class ArcgisLocate extends LitElement {
|
|
|
23
26
|
* @default false
|
|
24
27
|
*/
|
|
25
28
|
autoDestroyDisabled: boolean;
|
|
26
|
-
geolocationOptions:
|
|
29
|
+
geolocationOptions: PositionOptions | undefined;
|
|
27
30
|
/**
|
|
28
31
|
* Indicates whether to navigate the view to the position and scale of the geolocated result.
|
|
29
32
|
*
|
|
30
33
|
* @default false
|
|
31
34
|
*/
|
|
32
35
|
goToLocationDisabled: boolean;
|
|
33
|
-
goToOverride:
|
|
36
|
+
goToOverride: __esri.GoToOverride | undefined;
|
|
34
37
|
/** The graphic used to show the user's location on the map. */
|
|
35
38
|
graphic: __esri.Graphic;
|
|
36
39
|
/** @default "gps-off" */
|
|
37
40
|
icon?: string | undefined;
|
|
38
41
|
/** The component's default label. */
|
|
39
42
|
label?: string;
|
|
40
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Replace localized message strings with your own strings.
|
|
45
|
+
*
|
|
46
|
+
* _**Note**: Individual message keys may change between releases._
|
|
47
|
+
*/
|
|
41
48
|
messageOverrides?: typeof this.messages._overrides;
|
|
42
49
|
/** @default false */
|
|
43
50
|
popupDisabled: boolean;
|
|
44
51
|
/** @default "top-left" */
|
|
45
52
|
position: __esri.UIPosition;
|
|
53
|
+
/**
|
|
54
|
+
* 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.
|
|
55
|
+
*
|
|
56
|
+
* @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)
|
|
57
|
+
*/
|
|
46
58
|
referenceElement?: ArcgisReferenceElement | string;
|
|
47
59
|
/**
|
|
48
60
|
* Indicates the scale to set on the view when navigating to the position of the geolocated
|
|
@@ -50,7 +62,7 @@ export declare class ArcgisLocate extends LitElement {
|
|
|
50
62
|
*
|
|
51
63
|
* @default null
|
|
52
64
|
*/
|
|
53
|
-
scale: number |
|
|
65
|
+
scale: number | undefined;
|
|
54
66
|
/** The current state of the component. */
|
|
55
67
|
state: "ready" | "disabled" | "error" | "feature-unsupported" | "locating";
|
|
56
68
|
/**
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as m } from "lit
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { classes as
|
|
1
|
+
import { c as _ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as G, html as m } from "lit";
|
|
3
|
+
import { usePropertyChange as F } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { classes as z } from "@arcgis/components-utils";
|
|
5
5
|
import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
6
|
+
import { LitElement as j, createEvent as f, noShadowRoot as Q, safeClassMap as w, nothing as V } from "@arcgis/lumina";
|
|
7
|
+
import { u as k } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as H } from "../../chunks/useViewModel.js";
|
|
9
9
|
import { g as b } from "../../chunks/globalCss.js";
|
|
10
|
-
import { l as
|
|
11
|
-
import {
|
|
12
|
-
import { property as n, subclass as S } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
10
|
+
import { l as K } from "../../chunks/legacyIcon.js";
|
|
11
|
+
import { property as n, subclass as C } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
12
|
import u from "@arcgis/core/core/Error.js";
|
|
14
13
|
import { onLocaleChange as J } from "@arcgis/core/intl.js";
|
|
15
14
|
import q from "@arcgis/core/PopupTemplate.js";
|
|
16
15
|
import W from "@arcgis/core/support/actions/ActionButton.js";
|
|
17
|
-
import { t as X,
|
|
16
|
+
import { t as X, i as E } from "../../chunks/async-utils.js";
|
|
18
17
|
import B from "@arcgis/core/core/Accessor.js";
|
|
19
18
|
import O from "@arcgis/core/Graphic.js";
|
|
20
19
|
import Z from "@arcgis/core/symbols/CIMSymbol.js";
|
|
@@ -27,8 +26,8 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
|
|
|
27
26
|
import oe from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
28
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
30
|
-
v4.34.0-next.
|
|
31
|
-
const ie =
|
|
29
|
+
v4.34.0-next.50 */
|
|
30
|
+
const ie = G`@layer{arcgis-locate{display:block}}`;
|
|
32
31
|
let M = !1;
|
|
33
32
|
const re = {
|
|
34
33
|
maximumAge: 0,
|
|
@@ -46,7 +45,7 @@ function se() {
|
|
|
46
45
|
function ne() {
|
|
47
46
|
return ae() && se();
|
|
48
47
|
}
|
|
49
|
-
function
|
|
48
|
+
function ce(e) {
|
|
50
49
|
return e ??= re, new Promise((o, r) => {
|
|
51
50
|
setTimeout(
|
|
52
51
|
() => r(new u("geolocation:timeout", "getting the current geolocation position timed out")),
|
|
@@ -54,7 +53,7 @@ function le(e) {
|
|
|
54
53
|
), navigator.geolocation.getCurrentPosition(o, r, e ?? void 0);
|
|
55
54
|
});
|
|
56
55
|
}
|
|
57
|
-
function
|
|
56
|
+
function le(e, t) {
|
|
58
57
|
const { position: o, view: r } = e, a = pe(o)?.coords;
|
|
59
58
|
if (!a)
|
|
60
59
|
throw new u("geometry-service:no-coords", "Geolocation has no coordinates");
|
|
@@ -263,11 +262,11 @@ const L = {
|
|
|
263
262
|
]
|
|
264
263
|
}
|
|
265
264
|
});
|
|
266
|
-
let
|
|
265
|
+
let c = class extends B {
|
|
267
266
|
constructor() {
|
|
268
|
-
super(...arguments), this._geolocationUsable = !0, this.
|
|
267
|
+
super(...arguments), this._geolocationUsable = !0, this.goToLocationEnabled = !0, this.graphic = new O({
|
|
269
268
|
symbol: we
|
|
270
|
-
}), this.
|
|
269
|
+
}), this.rotationEnabled = !0;
|
|
271
270
|
}
|
|
272
271
|
//#region Lifecycle
|
|
273
272
|
initialize() {
|
|
@@ -282,7 +281,7 @@ let l = class extends B {
|
|
|
282
281
|
]);
|
|
283
282
|
}
|
|
284
283
|
destroy() {
|
|
285
|
-
this._clearGraphic(), this.view =
|
|
284
|
+
this._clearGraphic(), this.view = void 0;
|
|
286
285
|
}
|
|
287
286
|
//#endregion
|
|
288
287
|
//#region Private Methods
|
|
@@ -351,7 +350,7 @@ let l = class extends B {
|
|
|
351
350
|
}
|
|
352
351
|
async updatePosition(e, t) {
|
|
353
352
|
try {
|
|
354
|
-
const o = this.view, r = await
|
|
353
|
+
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
354
|
timestamp: a,
|
|
356
355
|
accuracy: g,
|
|
357
356
|
altitude: h,
|
|
@@ -362,8 +361,8 @@ let l = class extends B {
|
|
|
362
361
|
speed: R
|
|
363
362
|
};
|
|
364
363
|
i && (i.geometry = r, i.attributes = U);
|
|
365
|
-
const
|
|
366
|
-
await this._animatePoint(r,
|
|
364
|
+
const I = this._getScale(o);
|
|
365
|
+
await this._animatePoint(r, I, v, t);
|
|
367
366
|
} catch (o) {
|
|
368
367
|
if (!E(o))
|
|
369
368
|
throw new u("geolocation-positioning:invalid-point", "Cannot position invalid point", {
|
|
@@ -376,33 +375,33 @@ let l = class extends B {
|
|
|
376
375
|
};
|
|
377
376
|
p([
|
|
378
377
|
n()
|
|
379
|
-
],
|
|
378
|
+
], c.prototype, "_geolocationUsable", 2);
|
|
380
379
|
p([
|
|
381
380
|
n()
|
|
382
|
-
],
|
|
381
|
+
], c.prototype, "geolocationOptions", 2);
|
|
383
382
|
p([
|
|
384
383
|
n()
|
|
385
|
-
],
|
|
384
|
+
], c.prototype, "goToLocationEnabled", 2);
|
|
386
385
|
p([
|
|
387
386
|
n()
|
|
388
|
-
],
|
|
387
|
+
], c.prototype, "goToOverride", 2);
|
|
389
388
|
p([
|
|
390
389
|
n({
|
|
391
390
|
type: O
|
|
392
391
|
})
|
|
393
|
-
],
|
|
392
|
+
], c.prototype, "graphic", 2);
|
|
394
393
|
p([
|
|
395
394
|
n()
|
|
396
|
-
],
|
|
395
|
+
], c.prototype, "scale", 2);
|
|
397
396
|
p([
|
|
398
397
|
n()
|
|
399
|
-
],
|
|
398
|
+
], c.prototype, "rotationEnabled", 2);
|
|
400
399
|
p([
|
|
401
400
|
n()
|
|
402
|
-
],
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
],
|
|
401
|
+
], c.prototype, "view", 2);
|
|
402
|
+
c = p([
|
|
403
|
+
C("map-components.geolocation.GeolocationPositioning")
|
|
404
|
+
], c);
|
|
406
405
|
var be = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, d = (e, t, o, r) => {
|
|
407
406
|
for (var i = r > 1 ? void 0 : r ? Ae(t, o) : t, a = e.length - 1, s; a >= 0; a--)
|
|
408
407
|
(s = e[a]) && (i = (r ? s(t, o, i) : s(i)) || i);
|
|
@@ -490,10 +489,10 @@ function Me(e) {
|
|
|
490
489
|
]
|
|
491
490
|
});
|
|
492
491
|
}
|
|
493
|
-
let
|
|
492
|
+
let l = class extends c {
|
|
494
493
|
//#region Lifecycle
|
|
495
494
|
constructor(e) {
|
|
496
|
-
super(e), this.
|
|
495
|
+
super(e), this.popupEnabled = !0, this.locate = this.locate.bind(this);
|
|
497
496
|
}
|
|
498
497
|
initialize() {
|
|
499
498
|
this.addHandles([
|
|
@@ -521,19 +520,19 @@ let c = class extends l {
|
|
|
521
520
|
const e = new AbortController();
|
|
522
521
|
this._locateController = e, this.error = void 0;
|
|
523
522
|
try {
|
|
524
|
-
const t = await
|
|
523
|
+
const t = await ce(this.geolocationOptions);
|
|
525
524
|
if (await this.updatePosition(t, e), this._locateController !== e)
|
|
526
525
|
return null;
|
|
527
526
|
const { graphic: o } = this;
|
|
528
|
-
return o && this._updatePopupTemplate(o), this._addGraphic(), this.currentPosition = t, this._locateController =
|
|
527
|
+
return o && this._updatePopupTemplate(o), this._addGraphic(), this.currentPosition = t, this._locateController = void 0, t;
|
|
529
528
|
} catch (t) {
|
|
530
529
|
if (E(t))
|
|
531
530
|
return null;
|
|
532
|
-
throw e === this._locateController && (this._locateController =
|
|
531
|
+
throw e === this._locateController && (this._locateController = void 0), this.error = t, t;
|
|
533
532
|
}
|
|
534
533
|
}
|
|
535
534
|
cancelLocate() {
|
|
536
|
-
this._clearGraphic(), this._locateController && this._locateController.abort(), this._locateController =
|
|
535
|
+
this._clearGraphic(), this._locateController && this._locateController.abort(), this._locateController = void 0;
|
|
537
536
|
}
|
|
538
537
|
//#endregion
|
|
539
538
|
//#region Private Methods
|
|
@@ -547,37 +546,37 @@ let c = class extends l {
|
|
|
547
546
|
};
|
|
548
547
|
d([
|
|
549
548
|
n()
|
|
550
|
-
],
|
|
549
|
+
], l.prototype, "_locateController", 2);
|
|
551
550
|
d([
|
|
552
551
|
n()
|
|
553
|
-
],
|
|
552
|
+
], l.prototype, "currentPosition", 2);
|
|
554
553
|
d([
|
|
555
554
|
n()
|
|
556
|
-
],
|
|
555
|
+
], l.prototype, "error", 2);
|
|
557
556
|
d([
|
|
558
557
|
n()
|
|
559
|
-
],
|
|
558
|
+
], l.prototype, "messages", 2);
|
|
560
559
|
d([
|
|
561
560
|
n()
|
|
562
|
-
],
|
|
561
|
+
], l.prototype, "popupEnabled", 2);
|
|
563
562
|
d([
|
|
564
563
|
n({ readOnly: !0 })
|
|
565
|
-
],
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
],
|
|
569
|
-
const
|
|
564
|
+
], l.prototype, "state", 1);
|
|
565
|
+
l = d([
|
|
566
|
+
C("map-components.locate.LocateViewModel")
|
|
567
|
+
], l);
|
|
568
|
+
const Se = {
|
|
570
569
|
base: "esri-locate"
|
|
571
|
-
},
|
|
572
|
-
class Ee extends
|
|
570
|
+
}, S = "gps-off", Ce = H(l);
|
|
571
|
+
class Ee extends j {
|
|
573
572
|
constructor() {
|
|
574
|
-
super(...arguments), this.messages =
|
|
573
|
+
super(...arguments), this.messages = k(), 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 = F()("state"), this.arcgisReady = f(), this.arcgisSuccess = f();
|
|
575
574
|
}
|
|
576
575
|
static {
|
|
577
576
|
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 };
|
|
578
577
|
}
|
|
579
578
|
static {
|
|
580
|
-
this.shadowRootOptions =
|
|
579
|
+
this.shadowRootOptions = Q;
|
|
581
580
|
}
|
|
582
581
|
static {
|
|
583
582
|
this.styles = ie;
|
|
@@ -613,11 +612,11 @@ class Ee extends z {
|
|
|
613
612
|
});
|
|
614
613
|
}
|
|
615
614
|
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 =
|
|
617
|
-
return m`<div class=${w(
|
|
615
|
+
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 = K === void 0 ? S : void 0, h = this._localizeError(this.viewModel?.error);
|
|
616
|
+
return m`<div class=${w(z(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 ?? V}>${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
617
|
}
|
|
619
618
|
}
|
|
620
|
-
|
|
619
|
+
_("arcgis-locate", Ee);
|
|
621
620
|
export {
|
|
622
621
|
Ee as ArcgisLocate
|
|
623
622
|
};
|
|
@@ -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
|
/**
|
|
@@ -5,11 +5,11 @@ import o from "@arcgis/core/views/MapView.js";
|
|
|
5
5
|
import w from "@arcgis/core/WebMap.js";
|
|
6
6
|
import { LitElement as p, createEvent as a, noShadowRoot as c } from "@arcgis/lumina";
|
|
7
7
|
import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
8
|
-
import { css as m } from "
|
|
8
|
+
import { css as m } from "lit";
|
|
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.50 */
|
|
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.
|
|
@@ -3,10 +3,10 @@ import { usePropertyChange as e } from "@arcgis/lumina/controllers";
|
|
|
3
3
|
import i from "@arcgis/core/widgets/Measurement.js";
|
|
4
4
|
import { LitElement as s, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
5
|
import { m as r } from "../../chunks/useWidget.js";
|
|
6
|
-
import { css as n } from "
|
|
6
|
+
import { css as n } 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.
|
|
9
|
+
v4.34.0-next.50 */
|
|
10
10
|
const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as i } from "lit
|
|
3
|
-
import
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { f as
|
|
6
|
-
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
1
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as o, html as i } from "lit";
|
|
3
|
+
import c from "@arcgis/core/applications/Components/QuantityFormatter.js";
|
|
4
|
+
import { LitElement as l, safeClassMap as s } from "@arcgis/lumina";
|
|
5
|
+
import { f as m } from "../../chunks/measurementUtils.js";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const u =
|
|
8
|
+
v4.34.0-next.50 */
|
|
9
|
+
const u = o`: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
10
|
error: "error",
|
|
12
11
|
hint: "hint",
|
|
13
12
|
actions: "actions",
|
|
@@ -17,9 +16,9 @@ const u = m`:host,.hint,.error,.section,.actions,.item{display:flex;flex-directi
|
|
|
17
16
|
itemTitle: "item-title",
|
|
18
17
|
itemValue: "item-value"
|
|
19
18
|
};
|
|
20
|
-
class d extends
|
|
19
|
+
class d extends l {
|
|
21
20
|
constructor() {
|
|
22
|
-
super(...arguments), this._formatter = new
|
|
21
|
+
super(...arguments), this._formatter = new c(), this.items = [], this.state = "disabled", this.unsupportedLabel = "";
|
|
23
22
|
}
|
|
24
23
|
static {
|
|
25
24
|
this.properties = { hintLabel: 1, items: 0, state: 1, unsupportedLabel: 1 };
|
|
@@ -47,13 +46,13 @@ function h(t) {
|
|
|
47
46
|
return i`<section class=${s(e.section)}>${t.items.map((a) => f({ formatter: t.formatter, measurement: a.measurement, title: a.title }))}</section>`;
|
|
48
47
|
}
|
|
49
48
|
function f(t) {
|
|
50
|
-
const a = t.measurement.state === "available" ?
|
|
49
|
+
const a = t.measurement.state === "available" ? m(t.formatter, t.measurement.value) : null, n = t.measurement.state === "unavailable";
|
|
51
50
|
return i`<div class=${s({
|
|
52
51
|
[e.item]: !0,
|
|
53
|
-
[e.itemDisabled]:
|
|
52
|
+
[e.itemDisabled]: n
|
|
54
53
|
})}><span class=${s(e.itemTitle)}>${t.title}</span><span aria-live=polite class=${s(e.itemValue)}>${a ?? "-"}</span></div>`;
|
|
55
54
|
}
|
|
56
|
-
|
|
55
|
+
r("arcgis-measurement-content", d);
|
|
57
56
|
export {
|
|
58
57
|
d as ArcgisMeasurementContent
|
|
59
58
|
};
|