@arcgis/map-components 4.34.0-next.7 → 4.34.0-next.70
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/2AR2RL4Y.js +4 -0
- package/dist/cdn/2AWZIA3L.js +4 -0
- package/dist/cdn/2I4CTEGV.js +4 -0
- package/dist/cdn/{73246WZV.js → 2KCAS352.js} +2 -2
- package/dist/cdn/2MLBYMYA.js +4 -0
- package/dist/cdn/2PVEP6H4.js +4 -0
- package/dist/cdn/354NC6VV.js +4 -0
- package/dist/cdn/3A3INGT3.js +4 -0
- package/dist/cdn/3OUX647B.js +4 -0
- package/dist/cdn/3VNO3VMG.js +4 -0
- package/dist/cdn/47XZ6W3K.js +4 -0
- package/dist/cdn/4CC7QROP.js +4 -0
- package/dist/cdn/4F55IKBO.js +4 -0
- package/dist/cdn/4H7DRS3O.js +4 -0
- package/dist/cdn/4O2D4TBD.js +4 -0
- package/dist/cdn/4SIW7M26.js +4 -0
- package/dist/cdn/4UBJIIXV.js +4 -0
- package/dist/cdn/4UEFUOAA.js +4 -0
- package/dist/cdn/5AZIZ3PF.js +4 -0
- package/dist/cdn/5CSIVQNY.js +4 -0
- package/dist/cdn/{IN5MEX7L.js → 5CZOXXGR.js} +2 -2
- package/dist/cdn/{BKCPYV3Y.js → 5EDSTFDH.js} +1 -1
- package/dist/cdn/5LHMHWF3.js +4 -0
- package/dist/cdn/5VYYHNUR.js +4 -0
- package/dist/cdn/5XANDIBI.js +4 -0
- package/dist/cdn/5XBSTGLH.js +4 -0
- package/dist/cdn/{DDSDEOST.js → 5ZULWT7U.js} +2 -2
- package/dist/cdn/{ECQIBBNZ.js → 6IIFVCUH.js} +2 -2
- package/dist/cdn/6RAZA3AP.js +4 -0
- package/dist/cdn/6WTGSRMX.js +4 -0
- package/dist/cdn/6YJ53JQR.js +4 -0
- package/dist/cdn/{4SFJ5GIR.js → 7EFXGXNC.js} +1 -1
- package/dist/cdn/7KVEY34N.js +4 -0
- package/dist/cdn/AAAAM4JS.js +4 -0
- package/dist/cdn/ABJZBV47.js +4 -0
- package/dist/cdn/AIINTYP2.js +4 -0
- package/dist/cdn/AQRGA3CG.js +4 -0
- package/dist/cdn/ATNQTFZB.js +4 -0
- package/dist/cdn/B4VWYF4R.js +4 -0
- package/dist/cdn/BD2SVJPH.js +4 -0
- package/dist/cdn/BFO4H73P.js +4 -0
- package/dist/cdn/BJQ5WB7Y.js +4 -0
- package/dist/cdn/BLS32VQR.js +4 -0
- package/dist/cdn/BMZ7R3XZ.js +4 -0
- package/dist/cdn/BODFPY2F.js +4 -0
- package/dist/cdn/BX3APZPD.js +4 -0
- package/dist/cdn/{LUASKWWP.js → BXZBWMK6.js} +2 -2
- package/dist/cdn/C6MN2WSS.js +4 -0
- package/dist/cdn/C6WNJM44.js +4 -0
- package/dist/cdn/CF7Y5MK6.js +4 -0
- package/dist/cdn/CGKUNVNP.js +4 -0
- package/dist/cdn/CJKPNMKS.js +4 -0
- package/dist/cdn/CKAJNS6I.js +4 -0
- package/dist/cdn/D2MI5TXS.js +4 -0
- package/dist/cdn/{B7KN6YTQ.js → D37I3LMF.js} +2 -2
- package/dist/cdn/DCELIW32.js +4 -0
- package/dist/cdn/DWDFHXAC.js +4 -0
- package/dist/cdn/E7MBDFUE.js +4 -0
- package/dist/cdn/EBLLW3H2.js +4 -0
- package/dist/cdn/EKVSV7IH.js +4 -0
- package/dist/cdn/EMER4YVN.js +6 -0
- package/dist/cdn/EP3IWPAW.js +4 -0
- package/dist/cdn/EWJETCOF.js +4 -0
- package/dist/cdn/EWKMFWBT.js +4 -0
- package/dist/cdn/FHZ4BAXV.js +4 -0
- package/dist/cdn/FKPVE63A.js +4 -0
- package/dist/cdn/FNQNKSR2.js +4 -0
- package/dist/cdn/FO6BAT7N.js +4 -0
- package/dist/cdn/FYTAWAQI.js +4 -0
- package/dist/cdn/GKPZTMAJ.js +4 -0
- package/dist/cdn/GMK6EVBP.js +4 -0
- package/dist/cdn/{JSWLDDUC.js → GMP2KW5X.js} +2 -2
- package/dist/cdn/GPL4UAFP.js +4 -0
- package/dist/cdn/GUQ7OX6Q.js +4 -0
- package/dist/cdn/GVEZBE5M.js +4 -0
- package/dist/cdn/GWAKAXNK.js +4 -0
- package/dist/cdn/GYQDEXP6.js +4 -0
- package/dist/cdn/H36MD5PS.js +4 -0
- package/dist/cdn/HDH3SA27.js +4 -0
- package/dist/cdn/HGECBCSE.js +4 -0
- package/dist/cdn/HIKNK4L5.js +4 -0
- package/dist/cdn/{QAP64MEA.js → HKWWBQUE.js} +1 -1
- package/dist/cdn/HLUFKK5B.js +4 -0
- package/dist/cdn/HMS5KVRL.js +4 -0
- package/dist/cdn/HRXKM2RU.js +4 -0
- package/dist/cdn/HSYVJFUD.js +4 -0
- package/dist/cdn/HXANX6UI.js +4 -0
- package/dist/cdn/I2AJTFGI.js +4 -0
- package/dist/cdn/IABBUAVF.js +4 -0
- package/dist/cdn/IELBU3OR.js +4 -0
- package/dist/cdn/IJCXBO5H.js +4 -0
- package/dist/cdn/IPLHIJA2.js +4 -0
- package/dist/cdn/IQOB2WHM.js +4 -0
- package/dist/cdn/IQU5FXFG.js +4 -0
- package/dist/cdn/ISRIAET4.js +4 -0
- package/dist/cdn/IXAEG2AX.js +4 -0
- package/dist/cdn/J24HQZUE.js +4 -0
- package/dist/cdn/J6GJZPBF.js +4 -0
- package/dist/cdn/JDUEYLBI.js +4 -0
- package/dist/cdn/JHJ3IPEO.js +4 -0
- package/dist/cdn/JJCLARQC.js +4 -0
- package/dist/cdn/JJQ662J6.js +4 -0
- package/dist/cdn/JXG4Q2Q5.js +4 -0
- package/dist/cdn/JXY43SSP.js +4 -0
- package/dist/cdn/K2TRJM27.js +4 -0
- package/dist/cdn/K5Z6FQ7O.js +4 -0
- package/dist/cdn/KHHY53OI.js +4 -0
- package/dist/cdn/KVELDCFU.js +4 -0
- package/dist/cdn/KVVPPPAG.js +4 -0
- package/dist/cdn/LC4O7QMB.js +4 -0
- package/dist/cdn/LWNTGQ4I.js +4 -0
- package/dist/cdn/LX5PHN6W.js +4 -0
- package/dist/cdn/MDJHRHKH.js +5 -0
- package/dist/cdn/MGVM6IXP.js +4 -0
- package/dist/cdn/MKUMSG4G.js +4 -0
- package/dist/cdn/ML7ZZEWH.js +4 -0
- package/dist/cdn/N2OPC5TW.js +4 -0
- package/dist/cdn/{EAVGPD6R.js → N4AMD5OM.js} +1 -1
- package/dist/cdn/NCGGXOKG.js +4 -0
- package/dist/cdn/NEKAFFJA.js +4 -0
- package/dist/cdn/NOWVAMZG.js +4 -0
- package/dist/cdn/NSGPJKHX.js +4 -0
- package/dist/cdn/NSRZO7UM.js +4 -0
- package/dist/cdn/{FAJWL466.js → O673AIIF.js} +2 -2
- package/dist/cdn/OAYIC4MN.js +4 -0
- package/dist/cdn/OC47Z2XQ.js +4 -0
- package/dist/cdn/OCQDH6IW.js +4 -0
- package/dist/cdn/OFSW2VUZ.js +4 -0
- package/dist/cdn/OIPCRWX7.js +4 -0
- package/dist/cdn/ONE42ZUL.js +4 -0
- package/dist/cdn/OXNIPYQL.js +4 -0
- package/dist/cdn/OY3AYNNR.js +4 -0
- package/dist/cdn/{7MLMQPS2.js → PBTBBJK7.js} +1 -1
- package/dist/cdn/PFBMKQBE.js +4 -0
- package/dist/cdn/PMQIZBP2.js +4 -0
- package/dist/cdn/PP7Q7UNI.js +4 -0
- package/dist/cdn/PYFFSITY.js +4 -0
- package/dist/cdn/{KXFOXBSW.js → PZDLSZBV.js} +1 -1
- package/dist/cdn/QBHY6CBB.js +4 -0
- package/dist/cdn/QEI2TTJN.js +4 -0
- package/dist/cdn/QTI5DTMV.js +4 -0
- package/dist/cdn/RF4MOEMZ.js +4 -0
- package/dist/cdn/RKLE6RRM.js +4 -0
- package/dist/cdn/RPRK6C74.js +4 -0
- package/dist/cdn/RSVQX3RP.js +4 -0
- package/dist/cdn/SDJJWQPY.js +4 -0
- package/dist/cdn/SJWH25MD.js +4 -0
- package/dist/cdn/SYTCDH6J.js +4 -0
- package/dist/cdn/T43ZKBUL.js +4 -0
- package/dist/cdn/THPL3AWL.js +4 -0
- package/dist/cdn/TYHMP45B.js +4 -0
- package/dist/cdn/U7GCDM6L.js +4 -0
- package/dist/cdn/UAVTLQX7.js +4 -0
- package/dist/cdn/UH3J53SE.js +4 -0
- package/dist/cdn/UJLVRNX6.js +4 -0
- package/dist/cdn/UKHU2KV4.js +4 -0
- package/dist/cdn/UUKGM4CS.js +4 -0
- package/dist/cdn/UZZO325J.js +4 -0
- package/dist/cdn/VMOB7LDF.js +4 -0
- package/dist/cdn/VOVSPPXO.js +4 -0
- package/dist/cdn/VZKJR64R.js +4 -0
- package/dist/cdn/VZXRN45C.js +4 -0
- package/dist/cdn/WBMYK2NM.js +4 -0
- package/dist/cdn/WQTH5DEY.js +4 -0
- package/dist/cdn/WWK3KN4N.js +4 -0
- package/dist/cdn/{TD3FQAZG.js → WWQ76UBW.js} +1 -1
- package/dist/cdn/{EF5ADWHS.js → X4AY7J4P.js} +2 -2
- package/dist/cdn/X5EFDMTN.js +4 -0
- package/dist/cdn/XAUOLY2L.js +4 -0
- package/dist/cdn/XNWNXAWW.js +4 -0
- package/dist/cdn/XOGYW5MN.js +4 -0
- package/dist/cdn/XQFTJYY2.js +4 -0
- package/dist/cdn/XQZU3IUE.js +4 -0
- package/dist/cdn/XTOHHIAU.js +4 -0
- package/dist/cdn/XWQEZXIF.js +4 -0
- package/dist/cdn/{62NV7NFZ.js → YDKCBMOW.js} +2 -2
- package/dist/cdn/YID6KBLE.js +4 -0
- package/dist/cdn/YKPFG6ZM.js +4 -0
- package/dist/cdn/YN2IBXDY.js +4 -0
- package/dist/cdn/YOUIY6WZ.js +4 -0
- package/dist/cdn/{576TH74N.js → YS2IN3HF.js} +2 -2
- package/dist/cdn/YW5ODCJD.js +4 -0
- package/dist/cdn/Z47CMIYF.js +4 -0
- package/dist/cdn/{42FXNNW7.js → Z6MZTW2K.js} +2 -2
- package/dist/cdn/ZF4GIRLB.js +4 -0
- package/dist/cdn/ZXWVQURO.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +34 -26
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-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 +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +402 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +59 -27
- package/dist/components/arcgis-search/customElement.js +42 -39
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +39 -33
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +54 -5
- package/dist/components/arcgis-weather/customElement.js +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +3785 -1107
- package/dist/docs/docs.json +2854 -925
- package/dist/docs/vscode.html-custom-data.json +467 -174
- package/dist/docs/web-types.json +1076 -488
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -20
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -18
- package/dist/types/preact.d.ts +29 -18
- package/dist/types/react.d.ts +30 -18
- package/dist/types/stencil.d.ts +28 -18
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/3CVTJ6IR.js +0 -4
- package/dist/cdn/3K4LQ5ZH.js +0 -4
- package/dist/cdn/3NYGB5KC.js +0 -4
- package/dist/cdn/3V7IRFXL.js +0 -4
- package/dist/cdn/43IJVAZP.js +0 -4
- package/dist/cdn/4QHWO73K.js +0 -4
- package/dist/cdn/4V2M77YV.js +0 -4
- package/dist/cdn/5FZJ2H3A.js +0 -4
- package/dist/cdn/5H7D7TSV.js +0 -4
- package/dist/cdn/5KK3XQQZ.js +0 -4
- package/dist/cdn/5LHNWCSF.js +0 -4
- package/dist/cdn/5N4BVYD2.js +0 -4
- package/dist/cdn/5ZJSJBH7.js +0 -4
- package/dist/cdn/6DLNCYNJ.js +0 -4
- package/dist/cdn/6EUTPSR3.js +0 -4
- package/dist/cdn/6JC3X4DH.js +0 -4
- package/dist/cdn/6VMYCMSX.js +0 -4
- package/dist/cdn/7DA7Y4DS.js +0 -4
- package/dist/cdn/7S7U4ABF.js +0 -4
- package/dist/cdn/AGNZOUXO.js +0 -4
- package/dist/cdn/APM7HWPV.js +0 -4
- package/dist/cdn/AXC7MHUY.js +0 -6
- package/dist/cdn/B7YWZFHG.js +0 -4
- package/dist/cdn/BGL6T3KT.js +0 -4
- package/dist/cdn/BIDDZ56Y.js +0 -4
- package/dist/cdn/BNXSE33Y.js +0 -4
- package/dist/cdn/BTMPB2XP.js +0 -4
- package/dist/cdn/BWZL65MZ.js +0 -4
- package/dist/cdn/C3JX4XWF.js +0 -4
- package/dist/cdn/C4TSJEJH.js +0 -4
- package/dist/cdn/C5Y2CFYN.js +0 -4
- package/dist/cdn/CPW7VJRT.js +0 -4
- package/dist/cdn/CTEALHBJ.js +0 -4
- package/dist/cdn/CXJCTNJJ.js +0 -4
- package/dist/cdn/CXVJEZRT.js +0 -4
- package/dist/cdn/DMKGED3D.js +0 -4
- package/dist/cdn/DZRQ3FJN.js +0 -4
- package/dist/cdn/EGXWFLZ6.js +0 -4
- package/dist/cdn/ESO25JEU.js +0 -4
- package/dist/cdn/FEHLXR64.js +0 -4
- package/dist/cdn/FOZYNPTO.js +0 -4
- package/dist/cdn/FUIIOE5K.js +0 -4
- package/dist/cdn/G6V7COIW.js +0 -4
- package/dist/cdn/GXHWA464.js +0 -4
- package/dist/cdn/HLUINBW7.js +0 -4
- package/dist/cdn/I3YONNOJ.js +0 -4
- package/dist/cdn/IFU5E2LC.js +0 -4
- package/dist/cdn/IKGGVPEL.js +0 -4
- package/dist/cdn/ITWSP5JU.js +0 -4
- package/dist/cdn/JCV3FTL7.js +0 -4
- package/dist/cdn/JP5OTXJX.js +0 -4
- package/dist/cdn/JZ6AB7NM.js +0 -4
- package/dist/cdn/JZO3ICTU.js +0 -4
- package/dist/cdn/KGJHCOZ4.js +0 -4
- package/dist/cdn/KHCCACST.js +0 -4
- package/dist/cdn/KPKM24HM.js +0 -4
- package/dist/cdn/L7LDYNLW.js +0 -4
- package/dist/cdn/LHUB6IIZ.js +0 -4
- package/dist/cdn/LJC6WRCS.js +0 -4
- package/dist/cdn/LJSRLQJH.js +0 -4
- package/dist/cdn/LTOXWTO6.js +0 -4
- package/dist/cdn/MHERALSB.js +0 -4
- package/dist/cdn/N2HYKSZN.js +0 -4
- package/dist/cdn/N3UCR7B4.js +0 -4
- package/dist/cdn/N7QZNEIJ.js +0 -4
- package/dist/cdn/NAGYELAG.js +0 -4
- package/dist/cdn/NH4L7TUF.js +0 -4
- package/dist/cdn/PITGRP5J.js +0 -4
- package/dist/cdn/Q4LEDOCN.js +0 -4
- package/dist/cdn/QGSP733R.js +0 -4
- package/dist/cdn/QX4PFK5W.js +0 -4
- package/dist/cdn/R4OCIRWR.js +0 -4
- package/dist/cdn/RR5F3SPW.js +0 -4
- package/dist/cdn/RTEPILHE.js +0 -4
- package/dist/cdn/RYH4JLMG.js +0 -4
- package/dist/cdn/SVIUUV22.js +0 -4
- package/dist/cdn/T4FMPBKP.js +0 -4
- package/dist/cdn/T7AW36YP.js +0 -4
- package/dist/cdn/TC2TTTMU.js +0 -4
- package/dist/cdn/TE3QJZJW.js +0 -4
- package/dist/cdn/TQV4YCGY.js +0 -4
- package/dist/cdn/TUT5QPQJ.js +0 -4
- package/dist/cdn/TY2YZASD.js +0 -4
- package/dist/cdn/UOH2BTYV.js +0 -4
- package/dist/cdn/UQXB5REP.js +0 -4
- package/dist/cdn/UV5D3ZXY.js +0 -4
- package/dist/cdn/VENK34O7.js +0 -4
- package/dist/cdn/VGV6LYWI.js +0 -4
- package/dist/cdn/VRTJXWFO.js +0 -4
- package/dist/cdn/VT73N5VK.js +0 -4
- package/dist/cdn/VZX6PQA2.js +0 -4
- package/dist/cdn/W2EA6D3X.js +0 -4
- package/dist/cdn/WFTKJB4P.js +0 -4
- package/dist/cdn/WOY7XX7B.js +0 -4
- package/dist/cdn/XGXYIF65.js +0 -4
- package/dist/cdn/XJ6BZ6DU.js +0 -4
- package/dist/cdn/XV6MSZ6U.js +0 -4
- package/dist/cdn/YTBQINZ7.js +0 -4
- package/dist/cdn/ZEROK655.js +0 -4
- package/dist/cdn/ZH4LI6ZS.js +0 -4
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { classes as
|
|
1
|
+
import { c as _ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as G, html as g } from "lit";
|
|
3
|
+
import { usePropertyChange as F } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { classes as z } from "@arcgis/toolkit/dom";
|
|
5
5
|
import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
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 { createRef as H, ref as K } from "lit-html/directives/ref.js";
|
|
9
|
+
import { m as J } from "../../chunks/useViewModel.js";
|
|
9
10
|
import { g as b } from "../../chunks/globalCss.js";
|
|
10
|
-
import { l as
|
|
11
|
-
import { css as K } from "@lit/reactive-element/css-tag.js";
|
|
11
|
+
import { l as q } from "../../chunks/legacyIcon.js";
|
|
12
12
|
import { property as n, subclass as S } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
13
|
import u from "@arcgis/core/core/Error.js";
|
|
14
|
-
import { onLocaleChange as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { t as
|
|
18
|
-
import
|
|
14
|
+
import { onLocaleChange as B } from "@arcgis/core/intl.js";
|
|
15
|
+
import W from "@arcgis/core/PopupTemplate.js";
|
|
16
|
+
import X from "@arcgis/core/support/actions/ActionButton.js";
|
|
17
|
+
import { t as Z, i as C } from "../../chunks/async-utils.js";
|
|
18
|
+
import Y from "@arcgis/core/core/Accessor.js";
|
|
19
19
|
import O from "@arcgis/core/Graphic.js";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
20
|
+
import $ from "@arcgis/core/symbols/CIMSymbol.js";
|
|
21
|
+
import ee from "@arcgis/core/geometry/Point.js";
|
|
22
22
|
import * as A from "@arcgis/core/geometry/operators/projectOperator.js";
|
|
23
|
-
import
|
|
24
|
-
import { geographicToWebMercator as
|
|
25
|
-
import
|
|
26
|
-
import { project as
|
|
27
|
-
import
|
|
23
|
+
import E from "@arcgis/core/config.js";
|
|
24
|
+
import { geographicToWebMercator as te } from "@arcgis/core/geometry/support/webMercatorUtils.js";
|
|
25
|
+
import oe from "@arcgis/core/portal/Portal.js";
|
|
26
|
+
import { project as ie } from "@arcgis/core/rest/geometryService.js";
|
|
27
|
+
import re 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.
|
|
31
|
-
const
|
|
32
|
-
let
|
|
33
|
-
const
|
|
30
|
+
v4.34.0-next.70 */
|
|
31
|
+
const ae = G`@layer{arcgis-locate{display:block}}`;
|
|
32
|
+
let P = !1;
|
|
33
|
+
const se = {
|
|
34
34
|
maximumAge: 0,
|
|
35
35
|
timeout: 15e3,
|
|
36
36
|
enableHighAccuracy: !0
|
|
37
37
|
};
|
|
38
|
-
function
|
|
38
|
+
function ne() {
|
|
39
39
|
const e = "geolocation" in navigator;
|
|
40
40
|
return e || console.warn("geolocation-unsupported", "Geolocation unsupported."), e;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function ce() {
|
|
43
43
|
const e = window.isSecureContext;
|
|
44
|
-
return e ||
|
|
44
|
+
return e || P || (P = !0, console.warn("insecure-context", "Geolocation requires a secure origin.")), e;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function le() {
|
|
47
|
+
return ne() && ce();
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return e ??=
|
|
49
|
+
function pe(e) {
|
|
50
|
+
return e ??= se, new Promise((o, r) => {
|
|
51
51
|
setTimeout(
|
|
52
52
|
() => r(new u("geolocation:timeout", "getting the current geolocation position timed out")),
|
|
53
53
|
e?.timeout ?? 15e3
|
|
54
54
|
), navigator.geolocation.getCurrentPosition(o, r, e ?? void 0);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
const { position: o, view: r } = e, a =
|
|
57
|
+
function de(e, t) {
|
|
58
|
+
const { position: o, view: r } = e, a = ue(o)?.coords;
|
|
59
59
|
if (!a)
|
|
60
60
|
throw new u("geometry-service:no-coords", "Geolocation has no coordinates");
|
|
61
|
-
const s =
|
|
62
|
-
return
|
|
61
|
+
const s = he(a);
|
|
62
|
+
return me(s, r, t);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function ue(e) {
|
|
65
65
|
const t = e?.coords || {}, o = {
|
|
66
66
|
accuracy: t.accuracy,
|
|
67
67
|
altitude: t.altitude,
|
|
@@ -82,8 +82,8 @@ function pe(e) {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return new
|
|
85
|
+
function he({ longitude: e, latitude: t, altitude: o }) {
|
|
86
|
+
return new ee({
|
|
87
87
|
longitude: e,
|
|
88
88
|
latitude: t,
|
|
89
89
|
z: o || void 0,
|
|
@@ -92,36 +92,36 @@ function de({ longitude: e, latitude: t, altitude: o }) {
|
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
async function
|
|
95
|
+
async function me(e, t, o) {
|
|
96
96
|
if (!t)
|
|
97
97
|
return await Promise.resolve(e);
|
|
98
98
|
const r = t.spatialReference;
|
|
99
|
-
return r.isWGS84 ? await Promise.resolve(e) : r.isWebMercator ? await Promise.resolve(
|
|
99
|
+
return r.isWGS84 ? await Promise.resolve(e) : r.isWebMercator ? await Promise.resolve(te(e)) : A.isLoaded() ? await Promise.resolve(A.execute(e, r)) : await ge(o).then(async (i) => {
|
|
100
100
|
if (!i)
|
|
101
101
|
throw new u("geometry-service:missing-url", "Geometry service URL is missing");
|
|
102
|
-
const a = new
|
|
102
|
+
const a = new re({
|
|
103
103
|
geometries: [e],
|
|
104
104
|
outSpatialReference: r
|
|
105
105
|
});
|
|
106
|
-
return (await
|
|
106
|
+
return (await ie(i, a, o))[0];
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
async function
|
|
110
|
-
if (
|
|
111
|
-
return await Promise.resolve(
|
|
112
|
-
const t =
|
|
109
|
+
async function ge(e) {
|
|
110
|
+
if (E.geometryServiceUrl)
|
|
111
|
+
return await Promise.resolve(E.geometryServiceUrl);
|
|
112
|
+
const t = oe.getDefault();
|
|
113
113
|
try {
|
|
114
114
|
await t.load(e);
|
|
115
115
|
} catch {
|
|
116
116
|
}
|
|
117
117
|
return t.helperServices?.geometry?.url;
|
|
118
118
|
}
|
|
119
|
-
var
|
|
120
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
119
|
+
var fe = Object.defineProperty, ye = Object.getOwnPropertyDescriptor, p = (e, t, o, r) => {
|
|
120
|
+
for (var i = r > 1 ? void 0 : r ? ye(t, o) : t, a = e.length - 1, s; a >= 0; a--)
|
|
121
121
|
(s = e[a]) && (i = (r ? s(t, o, i) : s(i)) || i);
|
|
122
|
-
return r && i &&
|
|
122
|
+
return r && i && fe(t, o, i), i;
|
|
123
123
|
};
|
|
124
|
-
const
|
|
124
|
+
const ve = 2500;
|
|
125
125
|
function T(e) {
|
|
126
126
|
const t = {
|
|
127
127
|
type: "CIMVectorMarker",
|
|
@@ -229,12 +229,12 @@ const L = {
|
|
|
229
229
|
scaleX: 1,
|
|
230
230
|
textureFilter: "Picture",
|
|
231
231
|
url: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="
|
|
232
|
-
},
|
|
232
|
+
}, we = T("layer"), be = T("background"), Ae = new $({
|
|
233
233
|
data: {
|
|
234
234
|
type: "CIMSymbolReference",
|
|
235
235
|
symbol: {
|
|
236
236
|
type: "CIMPointSymbol",
|
|
237
|
-
symbolLayers: [
|
|
237
|
+
symbolLayers: [we, be, L],
|
|
238
238
|
angleAlignment: "Map"
|
|
239
239
|
},
|
|
240
240
|
primitiveOverrides: [
|
|
@@ -263,15 +263,15 @@ const L = {
|
|
|
263
263
|
]
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
|
-
let
|
|
266
|
+
let c = class extends Y {
|
|
267
267
|
constructor() {
|
|
268
|
-
super(...arguments), this._geolocationUsable = !0, this.
|
|
269
|
-
symbol:
|
|
270
|
-
}), this.
|
|
268
|
+
super(...arguments), this._geolocationUsable = !0, this.goToLocationEnabled = !0, this.graphic = new O({
|
|
269
|
+
symbol: Ae
|
|
270
|
+
}), this.rotationEnabled = !0;
|
|
271
271
|
}
|
|
272
272
|
//#region Lifecycle
|
|
273
273
|
initialize() {
|
|
274
|
-
|
|
274
|
+
le() || (this._geolocationUsable = !1), this.addHandles([
|
|
275
275
|
y(
|
|
276
276
|
() => this.view?.type,
|
|
277
277
|
() => this._handleViewTypeChange(),
|
|
@@ -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
|
|
@@ -313,7 +313,7 @@ let l = class extends B {
|
|
|
313
313
|
return e;
|
|
314
314
|
}
|
|
315
315
|
_getScale(e) {
|
|
316
|
-
const { scale: t } = this, o = typeof t == "number" ? t :
|
|
316
|
+
const { scale: t } = this, o = typeof t == "number" ? t : ve;
|
|
317
317
|
return this._getScaleWithinConstraints(o, e);
|
|
318
318
|
}
|
|
319
319
|
_getHeading(e, t) {
|
|
@@ -344,28 +344,28 @@ let l = class extends B {
|
|
|
344
344
|
view: i
|
|
345
345
|
});
|
|
346
346
|
const s = { signal: r.signal };
|
|
347
|
-
|
|
347
|
+
Z(s), this.goToOverride && i && this.goToOverride(i, {
|
|
348
348
|
target: a,
|
|
349
349
|
options: s
|
|
350
350
|
}), await i.goTo(a, s);
|
|
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 de({ position: e, view: o }, { signal: t.signal }), { graphic: i } = this, { timestamp: a, coords: s } = e, { accuracy: m, altitude: h, altitudeAccuracy: N, latitude: D, longitude: R, speed: x } = s, v = this._getHeading(e, o), U = {
|
|
355
355
|
timestamp: a,
|
|
356
|
-
accuracy:
|
|
356
|
+
accuracy: m,
|
|
357
357
|
altitude: h,
|
|
358
358
|
altitudeAccuracy: N,
|
|
359
359
|
heading: v,
|
|
360
360
|
latitude: D,
|
|
361
|
-
longitude:
|
|
362
|
-
speed:
|
|
361
|
+
longitude: R,
|
|
362
|
+
speed: x
|
|
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
|
-
if (!
|
|
368
|
+
if (!C(o))
|
|
369
369
|
throw new u("geolocation-positioning:invalid-point", "Cannot position invalid point", {
|
|
370
370
|
error: o
|
|
371
371
|
});
|
|
@@ -376,46 +376,46 @@ 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
|
-
|
|
402
|
+
], c.prototype, "view", 2);
|
|
403
|
+
c = p([
|
|
404
404
|
S("map-components.geolocation.GeolocationPositioning")
|
|
405
|
-
],
|
|
406
|
-
var
|
|
407
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
405
|
+
], c);
|
|
406
|
+
var Ee = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, d = (e, t, o, r) => {
|
|
407
|
+
for (var i = r > 1 ? void 0 : r ? Pe(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);
|
|
409
|
-
return r && i &&
|
|
409
|
+
return r && i && Ee(t, o, i), i;
|
|
410
410
|
};
|
|
411
|
-
const
|
|
411
|
+
const Me = new X({
|
|
412
412
|
icon: "trash",
|
|
413
413
|
id: "remove-selected-feature",
|
|
414
414
|
title: "{messages.remove}",
|
|
415
415
|
className: "esri-icon-trash"
|
|
416
416
|
});
|
|
417
|
-
function
|
|
418
|
-
return new
|
|
417
|
+
function Se(e) {
|
|
418
|
+
return new W({
|
|
419
419
|
title: e.currentLocation,
|
|
420
420
|
fieldInfos: [
|
|
421
421
|
{
|
|
@@ -482,7 +482,7 @@ function Me(e) {
|
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
],
|
|
485
|
-
actions: [
|
|
485
|
+
actions: [Me.clone()],
|
|
486
486
|
content: [
|
|
487
487
|
{
|
|
488
488
|
type: "fields"
|
|
@@ -490,14 +490,14 @@ 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([
|
|
500
|
-
|
|
500
|
+
B(() => {
|
|
501
501
|
const { graphic: e, view: t } = this;
|
|
502
502
|
if (!e)
|
|
503
503
|
return;
|
|
@@ -521,66 +521,68 @@ 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 pe(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
|
-
if (
|
|
530
|
+
if (C(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
|
|
540
540
|
_updatePopupTemplate(e) {
|
|
541
541
|
if (!this.popupEnabled)
|
|
542
542
|
return;
|
|
543
|
-
const t =
|
|
543
|
+
const t = Se(this.messages), o = e !== this.graphic;
|
|
544
544
|
this.destroyed || o || (e.popupTemplate = t);
|
|
545
545
|
}
|
|
546
546
|
//#endregion
|
|
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
|
-
|
|
565
|
+
], l.prototype, "state", 1);
|
|
566
|
+
l = d([
|
|
567
567
|
S("map-components.locate.LocateViewModel")
|
|
568
|
-
],
|
|
568
|
+
], l);
|
|
569
569
|
const Ce = {
|
|
570
570
|
base: "esri-locate"
|
|
571
|
-
},
|
|
572
|
-
class
|
|
571
|
+
}, M = "gps-off", Oe = J(l);
|
|
572
|
+
class Te extends j {
|
|
573
573
|
constructor() {
|
|
574
|
-
super(
|
|
574
|
+
super(), this.locateButtonElement = H(), this.messages = k(), this.viewModel = Oe(this), this.hideErrorTooltip = () => {
|
|
575
|
+
this.isErrorTooltipOpen = !1;
|
|
576
|
+
}, this.isErrorTooltipOpen = !1, 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 = M, 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(), this.listenOn(document, "click", this.hideErrorTooltip);
|
|
575
577
|
}
|
|
576
578
|
static {
|
|
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 };
|
|
579
|
+
this.properties = { isErrorTooltipOpen: 16, 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
580
|
}
|
|
579
581
|
static {
|
|
580
|
-
this.shadowRootOptions =
|
|
582
|
+
this.shadowRootOptions = Q;
|
|
581
583
|
}
|
|
582
584
|
static {
|
|
583
|
-
this.styles =
|
|
585
|
+
this.styles = ae;
|
|
584
586
|
}
|
|
585
587
|
async cancelLocate() {
|
|
586
588
|
this.viewModel.cancelLocate();
|
|
@@ -594,7 +596,7 @@ class Ee extends z {
|
|
|
594
596
|
loaded() {
|
|
595
597
|
this.viewModel.messages = { ...this.messages, ...this.messageOverrides }, this.manager.onLifecycle(() => [
|
|
596
598
|
y(() => this.viewModel.error, (t) => {
|
|
597
|
-
this.arcgisError.emit({ error: t });
|
|
599
|
+
this.isErrorTooltipOpen = !!t, this.arcgisError.emit({ error: t });
|
|
598
600
|
}),
|
|
599
601
|
y(() => this.viewModel.currentPosition, (t) => {
|
|
600
602
|
this.arcgisSuccess.emit({ position: t });
|
|
@@ -613,11 +615,11 @@ class Ee extends z {
|
|
|
613
615
|
});
|
|
614
616
|
}
|
|
615
617
|
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",
|
|
617
|
-
return
|
|
618
|
+
const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", m = q === void 0 ? M : void 0, h = this._localizeError(this.viewModel?.error);
|
|
619
|
+
return g`<div class=${w(z(Ce.base, b.widget))}>${!s && g`<calcite-button class=${w(b.widgetButton)} .disabled=${r === "disabled"} .loading=${i} .iconStart=${i ? void 0 : o ?? m} kind=neutral .label=${a} @click=${this._locate} title=${a ?? V} ${K(this.locateButtonElement)}></calcite-button>` || ""}${h ? g`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${h}</calcite-tooltip>` : null}</div>`;
|
|
618
620
|
}
|
|
619
621
|
}
|
|
620
|
-
|
|
622
|
+
_("arcgis-locate", Te);
|
|
621
623
|
export {
|
|
622
|
-
|
|
624
|
+
Te as ArcgisLocate
|
|
623
625
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import {
|
|
4
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
5
5
|
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" | "
|
|
9
|
+
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "presentation" | "tables" | "thumbnailUrl" | "widgets" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "presentation" | "tables" | "thumbnailUrl" | "widgets" | "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/)
|
|
@@ -102,7 +102,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
102
102
|
* For animating the view, see this component's goTo() method.
|
|
103
103
|
*/
|
|
104
104
|
get center(): __esri.MapView["center"];
|
|
105
|
-
set center(newValue: __esri.MapView["center"] |
|
|
105
|
+
set center(newValue: __esri.MapView["center"] | nil | number[] | string);
|
|
106
106
|
/** Specifies constraints to scale, zoom, and rotation that may be applied to the MapView. */
|
|
107
107
|
constraints: __esri.View2DConstraints;
|
|
108
108
|
/**
|
|
@@ -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.
|
|
@@ -173,8 +176,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
173
176
|
*
|
|
174
177
|
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the Map component loads.
|
|
175
178
|
*/
|
|
176
|
-
get itemId():
|
|
177
|
-
set itemId(newValue:
|
|
179
|
+
get itemId(): nil | string;
|
|
180
|
+
set itemId(newValue: nil | string);
|
|
178
181
|
/**
|
|
179
182
|
* A collection containing a hierarchical list of all the created
|
|
180
183
|
* esri/views/layers/LayerView LayerViews of the
|
|
@@ -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
|
/**
|
|
@@ -429,7 +442,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
429
442
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
430
443
|
private _map: __esri.Map;
|
|
431
444
|
readonly _setterTypes: {
|
|
432
|
-
center?: __esri.MapView["center"] |
|
|
445
|
+
center?: __esri.MapView["center"] | nil | number[] | string;
|
|
433
446
|
ground?: __esri.Ground | string;
|
|
434
447
|
};
|
|
435
448
|
}
|