@arcgis/map-components 4.33.0-next.6 → 4.33.0-next.60
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/arcgis-map-components/{IZL6562P.js → 24TMHXO2.js} +2 -2
- package/dist/arcgis-map-components/24TMHXO2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/2CK7Z4YX.js +5 -0
- package/dist/arcgis-map-components/2CK7Z4YX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/32IENR7V.js +4 -0
- package/dist/arcgis-map-components/32IENR7V.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/3DLOUMC5.js +5 -0
- package/dist/arcgis-map-components/3DLOUMC5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/3XDVGBBU.js +5 -0
- package/dist/arcgis-map-components/3XDVGBBU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/456HSDGZ.js +5 -0
- package/dist/arcgis-map-components/456HSDGZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/4IKFZ55N.js +4 -0
- package/dist/arcgis-map-components/4IKFZ55N.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/56LU3SVA.js +5 -0
- package/dist/arcgis-map-components/56LU3SVA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/5FWICCBD.js +5 -0
- package/dist/arcgis-map-components/5FWICCBD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QFIKEQMH.js → 5OTXWHPD.js} +2 -2
- package/dist/arcgis-map-components/5OTXWHPD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6F3GV7NT.js +5 -0
- package/dist/arcgis-map-components/6F3GV7NT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6J3NKE3R.js +4 -0
- package/dist/arcgis-map-components/6J3NKE3R.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6NMWWHHM.js +5 -0
- package/dist/arcgis-map-components/6NMWWHHM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6P7OMT5P.js +5 -0
- package/dist/arcgis-map-components/6P7OMT5P.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7JL3PML3.js +5 -0
- package/dist/arcgis-map-components/7JL3PML3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7TRKIVEO.js +5 -0
- package/dist/arcgis-map-components/7TRKIVEO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/AAWPUUOM.js +5 -0
- package/dist/arcgis-map-components/AAWPUUOM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ARR7RZ36.js +5 -0
- package/dist/arcgis-map-components/ARR7RZ36.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BORZYCV2.js +5 -0
- package/dist/arcgis-map-components/BORZYCV2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BS5NLKH2.js +5 -0
- package/dist/arcgis-map-components/BS5NLKH2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BSBGP7KF.js +5 -0
- package/dist/arcgis-map-components/BSBGP7KF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BTMERNCS.js +5 -0
- package/dist/arcgis-map-components/BTMERNCS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BUZHZLP4.js +5 -0
- package/dist/arcgis-map-components/BUZHZLP4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/CKYNQ7IE.js +5 -0
- package/dist/arcgis-map-components/CKYNQ7IE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/CRETNBGN.js +5 -0
- package/dist/arcgis-map-components/CRETNBGN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/F6YDKX7M.js +5 -0
- package/dist/arcgis-map-components/F6YDKX7M.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FECQDBYR.js +4 -0
- package/dist/arcgis-map-components/FECQDBYR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GL6OEGZT.js +5 -0
- package/dist/arcgis-map-components/GL6OEGZT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GNKOERCE.js +5 -0
- package/dist/arcgis-map-components/GNKOERCE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/J6NIERYB.js +5 -0
- package/dist/arcgis-map-components/J6NIERYB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JEB4YP4J.js +5 -0
- package/dist/arcgis-map-components/JEB4YP4J.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JFO67LM4.js +5 -0
- package/dist/arcgis-map-components/JFO67LM4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JR7IA7DN.js +5 -0
- package/dist/arcgis-map-components/JR7IA7DN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JS3X7SXN.js +5 -0
- package/dist/arcgis-map-components/JS3X7SXN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KUMP5OH6.js +5 -0
- package/dist/arcgis-map-components/KUMP5OH6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LIFZU4CN.js +5 -0
- package/dist/arcgis-map-components/LIFZU4CN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LUUPS5GJ.js +5 -0
- package/dist/arcgis-map-components/LUUPS5GJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/N5DXGSJZ.js +5 -0
- package/dist/arcgis-map-components/N5DXGSJZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/NDDRHDM3.js +6 -0
- package/dist/arcgis-map-components/NDDRHDM3.js.LEGAL.txt +145 -0
- package/dist/arcgis-map-components/NEV6MACF.js +5 -0
- package/dist/arcgis-map-components/NEV6MACF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/NGMEIZ26.js +5 -0
- package/dist/arcgis-map-components/NGMEIZ26.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/NOU2IZW2.js +5 -0
- package/dist/arcgis-map-components/NOU2IZW2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OFRSD6D5.js +5 -0
- package/dist/arcgis-map-components/OFRSD6D5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OLDKH4CQ.js +5 -0
- package/dist/arcgis-map-components/OLDKH4CQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OQUQODGP.js +5 -0
- package/dist/arcgis-map-components/OQUQODGP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PVJVMO3P.js +5 -0
- package/dist/arcgis-map-components/PVJVMO3P.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/Q3GLFX3V.js +5 -0
- package/dist/arcgis-map-components/Q3GLFX3V.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/QXARYIMZ.js +5 -0
- package/dist/arcgis-map-components/QXARYIMZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/R53T37ZK.js +5 -0
- package/dist/arcgis-map-components/R53T37ZK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/RBW3Y4FH.js +5 -0
- package/dist/arcgis-map-components/RBW3Y4FH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/RSPRA24I.js +5 -0
- package/dist/arcgis-map-components/RSPRA24I.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/RWDPJCQC.js +5 -0
- package/dist/arcgis-map-components/RWDPJCQC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/SQMQRE6V.js +5 -0
- package/dist/arcgis-map-components/SQMQRE6V.js.LEGAL.txt +12 -0
- package/dist/arcgis-map-components/SSCLGJHH.js +5 -0
- package/dist/arcgis-map-components/SSCLGJHH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/SX4EWJYP.js +5 -0
- package/dist/arcgis-map-components/SX4EWJYP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TBDJ6UFO.js +5 -0
- package/dist/arcgis-map-components/TBDJ6UFO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/THCSBTCG.js +5 -0
- package/dist/arcgis-map-components/THCSBTCG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TIAN3VUL.js +5 -0
- package/dist/arcgis-map-components/TIAN3VUL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TIU4P72B.js +5 -0
- package/dist/arcgis-map-components/TIU4P72B.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TQBLFGMM.js +5 -0
- package/dist/arcgis-map-components/TQBLFGMM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TUDMH75H.js +5 -0
- package/dist/arcgis-map-components/TUDMH75H.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TVF6EHOX.js +4 -0
- package/dist/arcgis-map-components/TVF6EHOX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/UB3C4HX5.js +5 -0
- package/dist/arcgis-map-components/UB3C4HX5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/USYRSCT3.js +5 -0
- package/dist/arcgis-map-components/USYRSCT3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/V3M2M5JK.js +5 -0
- package/dist/arcgis-map-components/V3M2M5JK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/VSJEKQKI.js +4 -0
- package/dist/arcgis-map-components/VSJEKQKI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/WGBOXF7S.js +5 -0
- package/dist/arcgis-map-components/WGBOXF7S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XCQMVJD7.js +5 -0
- package/dist/arcgis-map-components/XCQMVJD7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XQKSYJKB.js +4 -0
- package/dist/arcgis-map-components/XQKSYJKB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YG5SST2Q.js +5 -0
- package/dist/arcgis-map-components/YG5SST2Q.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YIHRTHY4.js +5 -0
- package/dist/arcgis-map-components/YIHRTHY4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YLEAH5K5.js +4 -0
- package/dist/arcgis-map-components/YLEAH5K5.js.LEGAL.txt +15 -0
- package/dist/arcgis-map-components/YSXNPP2Y.js +4 -0
- package/dist/arcgis-map-components/YSXNPP2Y.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/Z3S7IXUZ.js +4 -0
- package/dist/arcgis-map-components/Z3S7IXUZ.js.LEGAL.txt +0 -0
- package/dist/arcgis-map-components/ZBFJFUD6.js +5 -0
- package/dist/arcgis-map-components/ZBFJFUD6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ar.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.bg.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.bs.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ca.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.cs.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.da.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.de.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.el.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.es.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.et.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.fi.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.fr.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.he.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.hr.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.hu.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.id.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.it.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ja.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ko.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.lt.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.lv.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.nl.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.no.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pl.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ro.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ru.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sk.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sl.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sr.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sv.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.th.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.tr.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.uk.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.vi.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-TW.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ar.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bg.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bs.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ca.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.cs.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.da.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.de.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.el.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.es.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.et.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fi.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.he.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hu.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.id.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.it.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ja.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ko.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lt.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lv.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.nl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.no.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ro.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ru.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sk.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sv.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.th.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.tr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.uk.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.vi.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-TW.json +1 -1
- package/dist/chunks/basemap-gallery-resources.js +23 -0
- package/dist/chunks/component-utils.js +84 -84
- package/dist/chunks/globalCss.js +2 -36
- package/dist/chunks/legacyIcon.js +4 -100
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useView.js +6 -6
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +6 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +20 -12
- package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -7
- package/dist/components/arcgis-attachments/customElement.js +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +48 -54
- package/dist/components/arcgis-basemap-gallery/index.d.ts +1 -0
- package/dist/components/arcgis-basemap-gallery/index.js +1 -0
- package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/customElement.d.ts +6 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +64 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +14 -5
- package/dist/components/arcgis-basemap-toggle/customElement.js +12 -12
- package/dist/components/arcgis-bookmarks/customElement.js +4 -4
- package/dist/components/arcgis-building-explorer/customElement.js +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -9
- package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-compass/customElement.d.ts +7 -0
- package/dist/components/arcgis-compass/customElement.js +12 -12
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +12 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.js +4 -4
- package/dist/components/arcgis-directional-pad/customElement.d.ts +5 -2
- package/dist/components/arcgis-directional-pad/customElement.js +30 -29
- package/dist/components/arcgis-directions/customElement.js +22 -21
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +16 -8
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +4 -4
- package/dist/components/arcgis-expand/customElement.d.ts +8 -1
- package/dist/components/arcgis-expand/customElement.js +11 -11
- package/dist/components/arcgis-feature/customElement.d.ts +12 -1
- package/dist/components/arcgis-feature/customElement.js +12 -12
- package/dist/components/arcgis-feature-form/customElement.js +4 -4
- package/dist/components/arcgis-feature-table/customElement.d.ts +14 -4
- package/dist/components/arcgis-feature-table/customElement.js +14 -14
- package/dist/components/arcgis-feature-templates/customElement.js +4 -4
- package/dist/components/arcgis-features/customElement.js +4 -4
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +4 -4
- package/dist/components/arcgis-fullscreen/customElement.d.ts +7 -4
- package/dist/components/arcgis-fullscreen/customElement.js +10 -12
- package/dist/components/arcgis-histogram/customElement.js +4 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +4 -4
- package/dist/components/arcgis-home/customElement.d.ts +9 -10
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-legend/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend/customElement.js +9 -9
- package/dist/components/arcgis-line-of-sight/customElement.js +4 -4
- package/dist/components/arcgis-link-chart/customElement.d.ts +28 -4
- package/dist/components/arcgis-link-chart/customElement.js +60 -44
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +2 -2
- package/dist/components/arcgis-locate/customElement.d.ts +6 -0
- package/dist/components/arcgis-locate/customElement.js +11 -11
- package/dist/components/arcgis-map/customElement.d.ts +78 -9
- package/dist/components/arcgis-map/customElement.js +59 -35
- package/dist/components/arcgis-measurement/customElement.js +8 -8
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +23 -20
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -9
- package/dist/components/arcgis-placement/customElement.js +24 -18
- package/dist/components/arcgis-print/customElement.d.ts +1 -0
- package/dist/components/arcgis-print/customElement.js +4 -4
- package/dist/components/arcgis-scale-bar/customElement.d.ts +18 -2
- package/dist/components/arcgis-scale-bar/customElement.js +9 -9
- package/dist/components/arcgis-scale-range-slider/customElement.js +6 -6
- package/dist/components/arcgis-scene/customElement.d.ts +372 -96
- package/dist/components/arcgis-scene/customElement.js +171 -75
- package/dist/components/arcgis-search/customElement.d.ts +8 -1
- package/dist/components/arcgis-search/customElement.js +4 -4
- package/dist/components/arcgis-shadow-cast/customElement.js +6 -6
- package/dist/components/arcgis-sketch/customElement.d.ts +4 -1
- package/dist/components/arcgis-sketch/customElement.js +14 -14
- package/dist/components/arcgis-slice/customElement.js +4 -4
- package/dist/components/arcgis-slider/customElement.js +7 -7
- package/dist/components/arcgis-swipe/customElement.d.ts +12 -7
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +4 -4
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +7 -7
- package/dist/components/arcgis-track/customElement.d.ts +14 -1
- package/dist/components/arcgis-track/customElement.js +14 -14
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +4 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +55 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +19 -98
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +67 -13
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +31 -55
- package/dist/components/arcgis-value-picker/customElement.js +4 -4
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +61 -61
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +24 -24
- package/dist/components/arcgis-version-management-version-item/customElement.js +3 -3
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +9 -1
- package/dist/components/arcgis-weather/customElement.js +6 -6
- package/dist/components/arcgis-zoom/customElement.d.ts +5 -2
- package/dist/components/arcgis-zoom/customElement.js +9 -9
- package/dist/docs/api.json +2608 -1354
- package/dist/docs/docs.json +1867 -1131
- package/dist/docs/vscode.html-custom-data.json +280 -151
- package/dist/docs/web-types.json +1035 -536
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +15 -14
- package/dist/testing/fixtures.d.ts +51 -0
- package/dist/testing/testUtils.d.ts +6 -0
- package/dist/types/lumina.d.ts +11 -9
- package/dist/types/preact.d.ts +11 -9
- package/dist/types/react.d.ts +11 -9
- package/dist/types/stencil.d.ts +11 -9
- package/dist/utils/component-utils.d.ts +3 -2
- package/package.json +7 -7
- package/dist/arcgis-map-components/26WPBNEC.js +0 -4
- package/dist/arcgis-map-components/2G434AHJ.js +0 -4
- package/dist/arcgis-map-components/3AEIBQ7A.js +0 -4
- package/dist/arcgis-map-components/3W2QRUGT.js +0 -4
- package/dist/arcgis-map-components/45RSKBVQ.js +0 -4
- package/dist/arcgis-map-components/4W6DW7FZ.js +0 -4
- package/dist/arcgis-map-components/5LR2UY57.js +0 -4
- package/dist/arcgis-map-components/5M23BIJN.js +0 -4
- package/dist/arcgis-map-components/5MG2SLIH.js +0 -4
- package/dist/arcgis-map-components/5R7IBMIU.js +0 -4
- package/dist/arcgis-map-components/6BRA3H5R.js +0 -4
- package/dist/arcgis-map-components/6L67GPXK.js +0 -4
- package/dist/arcgis-map-components/AIS6XRCA.js +0 -4
- package/dist/arcgis-map-components/CDPTHN7M.js +0 -4
- package/dist/arcgis-map-components/CY4RD5EZ.js +0 -4
- package/dist/arcgis-map-components/DGRHXGIJ.js +0 -4
- package/dist/arcgis-map-components/DJTAB5YJ.js +0 -4
- package/dist/arcgis-map-components/DS5UY4A5.js +0 -4
- package/dist/arcgis-map-components/F6KVHAW5.js +0 -4
- package/dist/arcgis-map-components/FAD4QCY5.js +0 -4
- package/dist/arcgis-map-components/G4NQLVDM.js +0 -4
- package/dist/arcgis-map-components/G5MYZSXI.js +0 -4
- package/dist/arcgis-map-components/GF7DQ2HF.js +0 -4
- package/dist/arcgis-map-components/GOF2ZPQO.js +0 -4
- package/dist/arcgis-map-components/GYOFX6GM.js +0 -4
- package/dist/arcgis-map-components/HGRPMJYS.js +0 -4
- package/dist/arcgis-map-components/HHCDTRYJ.js +0 -4
- package/dist/arcgis-map-components/I2XGQGQT.js +0 -4
- package/dist/arcgis-map-components/I3UH6WIZ.js +0 -4
- package/dist/arcgis-map-components/I72ZBGF7.js +0 -4
- package/dist/arcgis-map-components/ICI2QOLA.js +0 -4
- package/dist/arcgis-map-components/ILW2SXFG.js +0 -4
- package/dist/arcgis-map-components/IY27NX4K.js +0 -4
- package/dist/arcgis-map-components/J4JR5EEX.js +0 -4
- package/dist/arcgis-map-components/JE3RL5CN.js +0 -4
- package/dist/arcgis-map-components/KCOSPAM2.js +0 -4
- package/dist/arcgis-map-components/KXSIMLV4.js +0 -4
- package/dist/arcgis-map-components/L3EUZ3I3.js +0 -4
- package/dist/arcgis-map-components/L4MMMLN7.js +0 -4
- package/dist/arcgis-map-components/LLXR34C3.js +0 -4
- package/dist/arcgis-map-components/LTLMO4VR.js +0 -4
- package/dist/arcgis-map-components/LUVATZTZ.js +0 -4
- package/dist/arcgis-map-components/LWJ7XGPK.js +0 -4
- package/dist/arcgis-map-components/LX5BA6TS.js +0 -4
- package/dist/arcgis-map-components/LYR353RS.js +0 -4
- package/dist/arcgis-map-components/MA4JQKZW.js +0 -4
- package/dist/arcgis-map-components/MBLOZCXC.js +0 -4
- package/dist/arcgis-map-components/MU55G7BC.js +0 -4
- package/dist/arcgis-map-components/MXLBD6WM.js +0 -4
- package/dist/arcgis-map-components/NHFTLDIR.js +0 -4
- package/dist/arcgis-map-components/NWYMXX23.js +0 -4
- package/dist/arcgis-map-components/OKRYFOXT.js +0 -4
- package/dist/arcgis-map-components/PCEBHQ4H.js +0 -4
- package/dist/arcgis-map-components/PSWEKZOM.js +0 -4
- package/dist/arcgis-map-components/PV4PB5SF.js +0 -4
- package/dist/arcgis-map-components/QKBF6VGX.js +0 -4
- package/dist/arcgis-map-components/RMLEZPHC.js +0 -4
- package/dist/arcgis-map-components/S3O3LY3V.js +0 -4
- package/dist/arcgis-map-components/SOTBSA63.js +0 -6
- package/dist/arcgis-map-components/TJILDT5D.js +0 -4
- package/dist/arcgis-map-components/TXLHIVWF.js +0 -4
- package/dist/arcgis-map-components/UBINEOZD.js +0 -4
- package/dist/arcgis-map-components/UKEHTE3Y.js +0 -4
- package/dist/arcgis-map-components/UZ7QNRXJ.js +0 -4
- package/dist/arcgis-map-components/V2GMLJUR.js +0 -4
- package/dist/arcgis-map-components/VCZGAQCB.js +0 -4
- package/dist/arcgis-map-components/VPUYYO32.js +0 -4
- package/dist/arcgis-map-components/WZACTK7R.js +0 -4
- package/dist/arcgis-map-components/XA27VVWC.js +0 -4
- package/dist/arcgis-map-components/XLCKXKWC.js +0 -4
- package/dist/arcgis-map-components/ZASSP5GW.js +0 -4
- package/dist/arcgis-map-components/ZRIOISKT.js +0 -4
- package/dist/chunks/basemap-gallery-item.js +0 -53
- package/dist/chunks/disconnected.js +0 -16
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +0 -12
- /package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/index.d.ts +0 -0
- /package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/index.js +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { makeAccessorController as
|
|
1
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
2
|
+
import { makeAccessorController as h, reEmitEvent as e, accessorSupport as d } from "@arcgis/components-controllers/accessor";
|
|
3
3
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import {
|
|
4
|
+
import p from "@arcgis/core/views/LinkChartView.js";
|
|
5
|
+
import n from "@arcgis/core/WebLinkChart.js";
|
|
6
|
+
import { LitElement as l, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
|
|
7
|
+
import { b as r, i as g } from "../../chunks/component-utils.js";
|
|
8
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
12
|
-
const u = y
|
|
13
|
-
|
|
11
|
+
v4.33.0-next.60 */
|
|
12
|
+
const u = y`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = h(
|
|
13
|
+
n,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
16
16
|
* a hack to remove them from the runtime code. This argument is not used at
|
|
@@ -20,15 +20,15 @@ const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f =
|
|
|
20
20
|
* in an externalized package.
|
|
21
21
|
*/
|
|
22
22
|
{}
|
|
23
|
-
),
|
|
24
|
-
class
|
|
23
|
+
), _ = h(p, {});
|
|
24
|
+
class V extends l {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._map = f(this, {
|
|
26
|
+
super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this._map = f(this, {
|
|
27
27
|
editConstructorProperties: this._editMapProperties
|
|
28
|
-
}), this.
|
|
28
|
+
}), this.view = _(this, { editConstructorProperties: this._editViewProperties }), 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.graphics = this.view.graphics, this.highlights = this.view.highlights, 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.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();
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
|
-
this.properties = { view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, 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: 7, viewpoint: 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, graphics: 0, highlights: 0, interacting: 32, 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: 7, viewpoint: 0, zoom: 9 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
34
|
this.shadowRootOptions = m;
|
|
@@ -47,8 +47,8 @@ class b extends p {
|
|
|
47
47
|
return this.view.center ?? this._center;
|
|
48
48
|
}
|
|
49
49
|
set center(i) {
|
|
50
|
-
const
|
|
51
|
-
|
|
50
|
+
const t = r(i, this.ready ? this.view : void 0);
|
|
51
|
+
t && (this.ready && (this.view.center = t), this._center = t);
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* The extent represents the visible portion of a link chart within the view as an instance of
|
|
@@ -75,9 +75,9 @@ class b extends p {
|
|
|
75
75
|
return this._map.portalItem?.id ?? this._itemId;
|
|
76
76
|
}
|
|
77
77
|
set itemId(i) {
|
|
78
|
-
this._itemId = i, this.ready
|
|
78
|
+
this._itemId = i, this.ready ? d.reCreate(this._map, this).then(() => {
|
|
79
79
|
this.view.map = this._map;
|
|
80
|
-
}).catch(console.error);
|
|
80
|
+
}).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new n(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
|
|
81
81
|
}
|
|
82
82
|
/** Indication whether the view is being navigated (for example when panning). */
|
|
83
83
|
get navigating() {
|
|
@@ -125,15 +125,23 @@ class b extends p {
|
|
|
125
125
|
set zoom(i) {
|
|
126
126
|
this.ready && (this.view.zoom = i), this._zoom = i;
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
|
|
132
|
-
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region Public Methods
|
|
130
|
+
/**
|
|
131
|
+
* @deprecated since version 4.33. Use `element.map.add(layer)` instead.
|
|
132
|
+
*
|
|
133
|
+
* Adds a layer to the map layers collection.
|
|
134
|
+
* */
|
|
135
|
+
async addLayer(i, t) {
|
|
136
|
+
this.map?.add(i, t);
|
|
133
137
|
}
|
|
134
|
-
/**
|
|
135
|
-
|
|
136
|
-
|
|
138
|
+
/**
|
|
139
|
+
* @deprecated since version 4.33. Use `element.map.addMany([layer])` instead.
|
|
140
|
+
*
|
|
141
|
+
* Adds a layer or array of layers to the map layers collection.
|
|
142
|
+
* */
|
|
143
|
+
async addLayers(i, t) {
|
|
144
|
+
this.map?.addMany(i, t);
|
|
137
145
|
}
|
|
138
146
|
/** Closes the popup. */
|
|
139
147
|
async closePopup() {
|
|
@@ -144,8 +152,8 @@ class b extends p {
|
|
|
144
152
|
await this.manager.destroy();
|
|
145
153
|
}
|
|
146
154
|
/** Sets the view to a given target. */
|
|
147
|
-
async goTo(i,
|
|
148
|
-
return await this.view?.goTo(i,
|
|
155
|
+
async goTo(i, t) {
|
|
156
|
+
return await this.view?.goTo(i, t);
|
|
149
157
|
}
|
|
150
158
|
/**
|
|
151
159
|
* Opens the popup at the given location with content defined either explicitly with content or driven
|
|
@@ -157,8 +165,8 @@ class b extends p {
|
|
|
157
165
|
toMap(i) {
|
|
158
166
|
return this.view.toMap(i);
|
|
159
167
|
}
|
|
160
|
-
toScreen(i,
|
|
161
|
-
return this.view.toScreen(i,
|
|
168
|
+
toScreen(i, t) {
|
|
169
|
+
return this.view.toScreen(i, t);
|
|
162
170
|
}
|
|
163
171
|
/** Call this method to clear any fatal errors resulting from a lost WebGL context. */
|
|
164
172
|
async tryFatalErrorRecovery() {
|
|
@@ -168,10 +176,18 @@ class b extends p {
|
|
|
168
176
|
async whenLayerView(i) {
|
|
169
177
|
return await this.view?.whenLayerView(i);
|
|
170
178
|
}
|
|
171
|
-
|
|
172
|
-
|
|
179
|
+
/**
|
|
180
|
+
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
181
|
+
* This method takes two input parameters: a `callback` function and an `errback` function.
|
|
182
|
+
*/
|
|
183
|
+
async viewOnReady(i, t) {
|
|
184
|
+
return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
|
|
185
|
+
}
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region Lifecycle
|
|
173
188
|
load() {
|
|
174
|
-
|
|
189
|
+
const i = this;
|
|
190
|
+
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container ??= i.el.childElem;
|
|
175
191
|
}
|
|
176
192
|
loaded() {
|
|
177
193
|
this.manager.onLifecycle(() => [
|
|
@@ -183,24 +199,24 @@ class b extends p {
|
|
|
183
199
|
}, { initial: this.view.ready })
|
|
184
200
|
]);
|
|
185
201
|
}
|
|
186
|
-
|
|
187
|
-
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region Private Methods
|
|
188
204
|
_editMapProperties(i) {
|
|
189
|
-
this.map && (this._map = this.map), this.itemId
|
|
190
|
-
const { basemap:
|
|
191
|
-
|
|
192
|
-
const { ground:
|
|
193
|
-
return
|
|
205
|
+
this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
|
|
206
|
+
const { basemap: t, ...o } = i;
|
|
207
|
+
t || (i = o);
|
|
208
|
+
const { ground: w, ...c } = i;
|
|
209
|
+
return w || (i = c), i;
|
|
194
210
|
}
|
|
195
211
|
async _editViewProperties(i) {
|
|
196
212
|
await this.manager.use(this._map), this.view.ui || (i.ui = {
|
|
197
213
|
components: ["attribution"]
|
|
198
214
|
}), i.map ??= this._map;
|
|
199
|
-
const
|
|
200
|
-
return
|
|
215
|
+
const t = r(this.center, void 0);
|
|
216
|
+
return t && (i.center = t), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
|
|
201
217
|
}
|
|
202
218
|
}
|
|
203
|
-
|
|
219
|
+
v("arcgis-link-chart", V);
|
|
204
220
|
export {
|
|
205
|
-
|
|
221
|
+
V as ArcgisLinkChart
|
|
206
222
|
};
|
|
@@ -26,9 +26,10 @@ declare const useLinkChartLayoutSwitcherViewModel: (component: import('@arcgis/c
|
|
|
26
26
|
} & Pick<LinkChartLayoutSwitcherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LinkChartLayoutSwitcherViewModel>, options?: {
|
|
27
27
|
editConstructorProperties(props: unknown): unknown;
|
|
28
28
|
} | undefined) => LinkChartLayoutSwitcherViewModel;
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
/** A component for use in link charts that allows users to switch between different layouts. See [documentation on layouts](https://enterprise.arcgis.com/en/knowledge/latest/knowledge-studio/change-the-layout-applied-to-a-link-chart.htm) for more details.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
|
|
32
33
|
*/
|
|
33
34
|
export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
34
35
|
/**
|
|
@@ -11,8 +11,8 @@ import { LitElement as p, createEvent as y, noShadowRoot as w, safeClassMap as a
|
|
|
11
11
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
15
|
-
const b = f
|
|
14
|
+
v4.33.0-next.60 */
|
|
15
|
+
const b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
|
|
16
16
|
basicLayoutCategory: [
|
|
17
17
|
"basic-grid"
|
|
18
18
|
/* SIMPLE */
|
|
@@ -27,17 +27,23 @@ export declare class ArcgisLocate extends LitElement {
|
|
|
27
27
|
*/
|
|
28
28
|
autoDestroyDisabled: boolean;
|
|
29
29
|
geolocationOptions: any;
|
|
30
|
+
/** @default false */
|
|
30
31
|
goToLocationDisabled: boolean;
|
|
31
32
|
goToOverride: nullish | __esri.GoToOverride;
|
|
32
33
|
graphic: __esri.Graphic;
|
|
33
34
|
icon: Nil | string;
|
|
34
35
|
/** The component's default label. */
|
|
35
36
|
label: Nil | string;
|
|
37
|
+
/** Replace localized message strings with your own strings. */
|
|
36
38
|
messageOverrides?: typeof this.messages._overrides;
|
|
39
|
+
/** @default false */
|
|
37
40
|
popupDisabled: boolean;
|
|
38
41
|
position: __esri.UIPosition;
|
|
39
42
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
40
43
|
scale: number | nullish;
|
|
44
|
+
/**
|
|
45
|
+
* The current state of the component.
|
|
46
|
+
*/
|
|
41
47
|
readonly state: "ready" | "disabled" | "error" | "feature-unsupported" | "locating";
|
|
42
48
|
/**
|
|
43
49
|
* This function provides the ability to interrupt and cancel the process of
|
|
@@ -4,16 +4,16 @@ import { usePropertyChange as g } from "@arcgis/components-controllers";
|
|
|
4
4
|
import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
|
|
5
5
|
import { classes as u } from "@arcgis/components-utils";
|
|
6
6
|
import f from "@arcgis/core/widgets/Locate/LocateViewModel.js";
|
|
7
|
-
import { LitElement as v, createEvent as w, noShadowRoot as E, safeClassMap as
|
|
7
|
+
import { LitElement as v, createEvent as w, noShadowRoot as E, safeClassMap as l, nothing as b } from "@arcgis/lumina";
|
|
8
8
|
import { u as M } from "../../chunks/useView.js";
|
|
9
9
|
import { m as y } from "../../chunks/useViewModel.js";
|
|
10
|
-
import { g as
|
|
10
|
+
import { g as c } from "../../chunks/globalCss.js";
|
|
11
11
|
import { l as $ } from "../../chunks/legacyIcon.js";
|
|
12
12
|
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
15
|
-
v4.33.0-next.
|
|
16
|
-
const D = L
|
|
15
|
+
v4.33.0-next.60 */
|
|
16
|
+
const D = L`@layer{arcgis-locate{display:block}}`, O = {
|
|
17
17
|
base: "esri-locate"
|
|
18
18
|
}, n = "gps-off", T = y(f);
|
|
19
19
|
class I extends v {
|
|
@@ -29,8 +29,8 @@ class I extends v {
|
|
|
29
29
|
static {
|
|
30
30
|
this.styles = D;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region Public Methods
|
|
34
34
|
/**
|
|
35
35
|
* This function provides the ability to interrupt and cancel the process of
|
|
36
36
|
* programmatically obtaining the location of the user's device.
|
|
@@ -45,8 +45,8 @@ class I extends v {
|
|
|
45
45
|
async locate() {
|
|
46
46
|
return await this.viewModel.locate();
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region Private Methods
|
|
50
50
|
_localizeError(e) {
|
|
51
51
|
if (e instanceof GeolocationPositionError)
|
|
52
52
|
return e.code === GeolocationPositionError.PERMISSION_DENIED ? this.messages?.permissionError : e.code === GeolocationPositionError.TIMEOUT ? this.messages?.timeoutError : this.messages?.positionUnavailable;
|
|
@@ -58,11 +58,11 @@ class I extends v {
|
|
|
58
58
|
e.state === "locating" ? e.cancelLocate() : e.locate().catch(() => {
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region Rendering
|
|
63
63
|
render() {
|
|
64
64
|
const { viewModel: e, icon: d } = this, { state: o } = e, i = o === "locating", s = i ? this.messages.cancel : this.messages.title, h = o === "feature-unsupported", p = $ === void 0 ? n : void 0, a = this._localizeError(this.viewModel?.error);
|
|
65
|
-
return t`<div class=${
|
|
65
|
+
return t`<div class=${l(u(O.base, c.widget))}>${!h && t`<calcite-button class=${l(c.widgetButton)} .disabled=${o === "disabled"} .iconStart=${i ? void 0 : d ?? p} kind=neutral .label=${s} @click=${this._locate} title=${s ?? b}>${i ? t`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${a ? t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${a}</calcite-tooltip>` : null}</div>`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
m("arcgis-locate", I);
|
|
@@ -4,7 +4,7 @@ import { Use } from '@arcgis/components-controllers';
|
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
5
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
6
6
|
import { default as WebMap } from '@arcgis/core/WebMap.js';
|
|
7
|
-
import { PublicLitElement as LitElement,
|
|
7
|
+
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
8
|
|
|
9
9
|
declare const useWebMap: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
10
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
@@ -30,7 +30,44 @@ declare const useMapView: (component: import('@arcgis/components-controllers').S
|
|
|
30
30
|
}, options?: {
|
|
31
31
|
editConstructorProperties(props: __esri.MapViewProperties | undefined): __esri.MapViewProperties | Promise<__esri.MapViewProperties | undefined> | undefined;
|
|
32
32
|
} | undefined) => MapView;
|
|
33
|
-
/**
|
|
33
|
+
/** The ArcGIS Map Component is used to add 2D maps to web applications. For 3D maps, use the
|
|
34
|
+
* [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
35
|
+
*
|
|
36
|
+
* 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).
|
|
37
|
+
*
|
|
38
|
+
* ```html
|
|
39
|
+
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* Alternatively, the Map component can be initialized without a WebMap item.
|
|
43
|
+
*
|
|
44
|
+
* ```html
|
|
45
|
+
* <arcgis-map basemap="satellite" center="-154.88, 19.46" zoom="15"></arcgis-map>
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* Other components can be added and connected to the Map component.
|
|
49
|
+
|
|
50
|
+
* ```html
|
|
51
|
+
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca">
|
|
52
|
+
* <arcgis-zoom position="top-left"></arcgis-zoom>
|
|
53
|
+
* <arcgis-legend position="bottom-left"></arcgis-legend>
|
|
54
|
+
* </arcgis-map>
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* The Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/) of the ArcGIS Maps SDK for JavaScript.
|
|
58
|
+
*
|
|
59
|
+
* ```js
|
|
60
|
+
* const arcgisMap = document.querySelector("arcgis-map");
|
|
61
|
+
* arcgisMap.addEventListener("arcgisViewReadyChange", () => {
|
|
62
|
+
* const layer = new GraphicsLayer({ title: "My Layer" });
|
|
63
|
+
* arcgisMap.map.add(layer);
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* See also:
|
|
68
|
+
* - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
|
|
69
|
+
* - [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)
|
|
70
|
+
* - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
|
|
34
71
|
*/
|
|
35
72
|
export declare class ArcgisMap extends LitElement {
|
|
36
73
|
/** Internal view of the component. */
|
|
@@ -55,8 +92,13 @@ export declare class ArcgisMap extends LitElement {
|
|
|
55
92
|
background: nullish | __esri.ColorBackground;
|
|
56
93
|
/**
|
|
57
94
|
* Specifies a basemap for the map. The basemap is a set of layers that give
|
|
58
|
-
* geographic context to the
|
|
95
|
+
* geographic context to the view and the other operational layers
|
|
59
96
|
* in the map.
|
|
97
|
+
* It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)),
|
|
98
|
+
* [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html)
|
|
99
|
+
* or [BasemapStyle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-BasemapStyle.html).
|
|
100
|
+
*
|
|
101
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)
|
|
60
102
|
*/
|
|
61
103
|
basemap: __esri.Basemap | nullish | string;
|
|
62
104
|
/** Represents the view for a single basemap after it has been added to the map. */
|
|
@@ -75,6 +117,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
75
117
|
/**
|
|
76
118
|
* Indicates whether layer's displayFilter are honored when rendering layers in the view.
|
|
77
119
|
* If `false`, display filters are ignored and all features are rendered.
|
|
120
|
+
*
|
|
121
|
+
* @default false
|
|
78
122
|
*/
|
|
79
123
|
displayFilterDisabled: boolean;
|
|
80
124
|
/**
|
|
@@ -92,7 +136,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
92
136
|
* It can filter the map display on floor-aware layers by zero or more level IDs.
|
|
93
137
|
*/
|
|
94
138
|
floors: __esri.Collection<string>;
|
|
95
|
-
/** Gamepad input specific configuration settings
|
|
139
|
+
/** Gamepad input specific configuration settings. */
|
|
96
140
|
get gamepad(): __esri.GamepadSettings;
|
|
97
141
|
/**
|
|
98
142
|
* Allows for adding graphics directly to the default graphics in the View.
|
|
@@ -151,7 +195,11 @@ export declare class ArcgisMap extends LitElement {
|
|
|
151
195
|
navigation: __esri.Navigation;
|
|
152
196
|
padding: __esri.ViewPadding;
|
|
153
197
|
popup: nullish | __esri.Popup;
|
|
154
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Controls whether the popup opens when users click on the view.
|
|
200
|
+
*
|
|
201
|
+
* @default false
|
|
202
|
+
*/
|
|
155
203
|
popupDisabled: boolean;
|
|
156
204
|
/**
|
|
157
205
|
* When `true`, this property indicates whether the view successfully satisfied all dependencies,
|
|
@@ -238,13 +286,29 @@ export declare class ArcgisMap extends LitElement {
|
|
|
238
286
|
*/
|
|
239
287
|
get zoom(): number;
|
|
240
288
|
set zoom(newValue: number);
|
|
241
|
-
/**
|
|
289
|
+
/**
|
|
290
|
+
* @deprecated since version 4.33. Use `element.map.add(layer)` instead.
|
|
291
|
+
*
|
|
292
|
+
* Adds a layer to the map layers collection.
|
|
293
|
+
* */
|
|
242
294
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
243
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* @deprecated since version 4.33. Use `element.map.addMany([layer])` instead.
|
|
297
|
+
*
|
|
298
|
+
* Adds a layer or array of layers to the map layers collection.
|
|
299
|
+
* */
|
|
244
300
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
245
|
-
/**
|
|
301
|
+
/**
|
|
302
|
+
* @deprecated since version 4.33. Use `element.map.tables.add(table)` instead.
|
|
303
|
+
*
|
|
304
|
+
* Adds a table to the map tables collection.
|
|
305
|
+
* */
|
|
246
306
|
addTable(table: __esri.FeatureLayer): Promise<void>;
|
|
247
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* @deprecated since version 4.33. Use `element.map.tables.addMany([table])` instead.
|
|
309
|
+
*
|
|
310
|
+
* Adds a table or array of tables to the map tables collection.
|
|
311
|
+
* */
|
|
248
312
|
addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>;
|
|
249
313
|
/** Closes the popup. */
|
|
250
314
|
closePopup(): Promise<void>;
|
|
@@ -267,6 +331,11 @@ export declare class ArcgisMap extends LitElement {
|
|
|
267
331
|
tryFatalErrorRecovery(): Promise<void>;
|
|
268
332
|
/** Gets the LayerView created on the view for the given layer. */
|
|
269
333
|
whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
|
|
334
|
+
/**
|
|
335
|
+
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
336
|
+
* This method takes two input parameters: a `callback` function and an `errback` function.
|
|
337
|
+
*/
|
|
338
|
+
viewOnReady(callback?: () => void, errback?: (error: Error) => void): Promise<void>;
|
|
270
339
|
/**
|
|
271
340
|
* This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.
|
|
272
341
|
* This event will also emit if stationary toggles from true to false.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { makeAccessorController as r, reEmitEvent as e, accessorSupport as
|
|
1
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
+
import { makeAccessorController as r, reEmitEvent as e, accessorSupport as p } from "@arcgis/components-controllers/accessor";
|
|
3
3
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import {
|
|
4
|
+
import v from "@arcgis/core/views/MapView.js";
|
|
5
|
+
import o from "@arcgis/core/WebMap.js";
|
|
6
|
+
import { LitElement as m, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
7
|
+
import { b as h, i as g } from "../../chunks/component-utils.js";
|
|
8
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
12
|
-
const u = y
|
|
13
|
-
|
|
11
|
+
v4.33.0-next.60 */
|
|
12
|
+
const u = y`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = r(
|
|
13
|
+
o,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
16
16
|
* a hack to remove them from the runtime code. This argument is not used at
|
|
@@ -20,16 +20,16 @@ const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
|
|
|
20
20
|
* in an externalized package.
|
|
21
21
|
*/
|
|
22
22
|
{}
|
|
23
|
-
),
|
|
24
|
-
class
|
|
23
|
+
), _ = r(v, {});
|
|
24
|
+
class b extends m {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this.
|
|
26
|
+
super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this._map = f(this, { editConstructorProperties: this._editMapProperties }), this.view = _(this, { editConstructorProperties: this._editViewProperties }), 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.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();
|
|
27
27
|
}
|
|
28
28
|
static {
|
|
29
|
-
this.properties = { 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: 7, viewpoint: 0, zoom: 9 };
|
|
29
|
+
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: 7, viewpoint: 0, zoom: 9 };
|
|
30
30
|
}
|
|
31
31
|
static {
|
|
32
|
-
this.shadowRootOptions =
|
|
32
|
+
this.shadowRootOptions = l;
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
35
|
this.styles = u;
|
|
@@ -60,7 +60,7 @@ class _ extends l {
|
|
|
60
60
|
set extent(i) {
|
|
61
61
|
this.view.ready || (this._extent = i), i && !this.extent?.equals(i) && (this.view.extent = i);
|
|
62
62
|
}
|
|
63
|
-
/** Gamepad input specific configuration settings
|
|
63
|
+
/** Gamepad input specific configuration settings. */
|
|
64
64
|
get gamepad() {
|
|
65
65
|
return this.ready ? this.view.input.gamepad : void 0;
|
|
66
66
|
}
|
|
@@ -76,9 +76,9 @@ class _ extends l {
|
|
|
76
76
|
return this._map.portalItem?.id ?? this._itemId;
|
|
77
77
|
}
|
|
78
78
|
set itemId(i) {
|
|
79
|
-
this._itemId = i, this.ready
|
|
79
|
+
this._itemId = i, this.ready ? p.reCreate(this._map, this).then(() => {
|
|
80
80
|
this.view.map = this._map;
|
|
81
|
-
}).catch(console.error);
|
|
81
|
+
}).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new o(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
|
|
82
82
|
}
|
|
83
83
|
/** Indication whether the view is being navigated (for example when panning). */
|
|
84
84
|
get navigating() {
|
|
@@ -126,21 +126,37 @@ class _ extends l {
|
|
|
126
126
|
set zoom(i) {
|
|
127
127
|
this.ready && (this.view.zoom = i), this._zoom = i;
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
/**
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region Public Methods
|
|
131
|
+
/**
|
|
132
|
+
* @deprecated since version 4.33. Use `element.map.add(layer)` instead.
|
|
133
|
+
*
|
|
134
|
+
* Adds a layer to the map layers collection.
|
|
135
|
+
* */
|
|
132
136
|
async addLayer(i, t) {
|
|
133
137
|
this.map?.add(i, t);
|
|
134
138
|
}
|
|
135
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* @deprecated since version 4.33. Use `element.map.addMany([layer])` instead.
|
|
141
|
+
*
|
|
142
|
+
* Adds a layer or array of layers to the map layers collection.
|
|
143
|
+
* */
|
|
136
144
|
async addLayers(i, t) {
|
|
137
145
|
this.map?.addMany(i, t);
|
|
138
146
|
}
|
|
139
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* @deprecated since version 4.33. Use `element.map.tables.add(table)` instead.
|
|
149
|
+
*
|
|
150
|
+
* Adds a table to the map tables collection.
|
|
151
|
+
* */
|
|
140
152
|
async addTable(i) {
|
|
141
153
|
this.map?.tables.add(i);
|
|
142
154
|
}
|
|
143
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* @deprecated since version 4.33. Use `element.map.tables.addMany([table])` instead.
|
|
157
|
+
*
|
|
158
|
+
* Adds a table or array of tables to the map tables collection.
|
|
159
|
+
* */
|
|
144
160
|
async addTables(i, t) {
|
|
145
161
|
this.map?.tables.addMany(i, t);
|
|
146
162
|
}
|
|
@@ -185,10 +201,18 @@ class _ extends l {
|
|
|
185
201
|
async whenLayerView(i) {
|
|
186
202
|
return await this.view?.whenLayerView(i);
|
|
187
203
|
}
|
|
188
|
-
|
|
189
|
-
|
|
204
|
+
/**
|
|
205
|
+
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
206
|
+
* This method takes two input parameters: a `callback` function and an `errback` function.
|
|
207
|
+
*/
|
|
208
|
+
async viewOnReady(i, t) {
|
|
209
|
+
return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
|
|
210
|
+
}
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region Lifecycle
|
|
190
213
|
load() {
|
|
191
|
-
|
|
214
|
+
const i = this;
|
|
215
|
+
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container ??= i.el.childElem;
|
|
192
216
|
}
|
|
193
217
|
loaded() {
|
|
194
218
|
this.manager.onLifecycle(() => [
|
|
@@ -198,14 +222,14 @@ class _ extends l {
|
|
|
198
222
|
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
|
|
199
223
|
]);
|
|
200
224
|
}
|
|
201
|
-
|
|
202
|
-
|
|
225
|
+
//#endregion
|
|
226
|
+
//#region Private Methods
|
|
203
227
|
_editMapProperties(i) {
|
|
204
|
-
this.map && (this._map = this.map), this.itemId
|
|
205
|
-
const { basemap: t, ...
|
|
206
|
-
t || (i =
|
|
207
|
-
const { ground:
|
|
208
|
-
return
|
|
228
|
+
this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
|
|
229
|
+
const { basemap: t, ...n } = i;
|
|
230
|
+
t || (i = n);
|
|
231
|
+
const { ground: w, ...c } = i;
|
|
232
|
+
return w || (i = c), i;
|
|
209
233
|
}
|
|
210
234
|
async _editViewProperties(i) {
|
|
211
235
|
await this.manager.use(this._map), this.view.ui || (i.ui = {
|
|
@@ -215,7 +239,7 @@ class _ extends l {
|
|
|
215
239
|
return t && (i.center = t), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
|
|
216
240
|
}
|
|
217
241
|
}
|
|
218
|
-
|
|
242
|
+
d("arcgis-map", b);
|
|
219
243
|
export {
|
|
220
|
-
|
|
244
|
+
b as ArcgisMap
|
|
221
245
|
};
|