@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,30 +1,30 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
1
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as l } from "lit-html";
|
|
3
3
|
import { usePropertyChange as f } from "@arcgis/components-controllers";
|
|
4
|
-
import { classes as
|
|
5
|
-
import { when as
|
|
6
|
-
import
|
|
7
|
-
import { safeClassMap as
|
|
8
|
-
import { u as
|
|
9
|
-
import { m as
|
|
10
|
-
import { unsafeStatic as
|
|
11
|
-
import { g as
|
|
12
|
-
import { c as
|
|
13
|
-
import { css as
|
|
4
|
+
import { classes as u } from "@arcgis/components-utils";
|
|
5
|
+
import { when as y, watch as b } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
+
import $ from "@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js";
|
|
7
|
+
import { safeClassMap as n, LitElement as M, createEvent as x, noShadowRoot as L, nothing as p, safeStyleMap as R } from "@arcgis/lumina";
|
|
8
|
+
import { u as _ } from "../../chunks/useView.js";
|
|
9
|
+
import { m as B } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { unsafeStatic as D, html as I } from "lit/static-html.js";
|
|
11
|
+
import { g as d } from "../../chunks/globalCss.js";
|
|
12
|
+
import { c as r } from "../../chunks/basemap-gallery-resources.js";
|
|
13
|
+
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
14
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
15
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
16
|
-
v4.33.0-next.
|
|
17
|
-
function
|
|
18
|
-
const
|
|
19
|
-
return I`<${
|
|
16
|
+
v4.33.0-next.60 */
|
|
17
|
+
function C({ level: o, class: s, children: e }) {
|
|
18
|
+
const i = k(o), t = `h${i}`, a = D(t);
|
|
19
|
+
return I`<${a} .ariaLevel=${String(i)} class=${n(u(d.heading, s))} role=heading>${e}</${a}>`;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
return Math.min(Math.max(o,
|
|
21
|
+
function E(o, s, e) {
|
|
22
|
+
return Math.min(Math.max(o, s), e);
|
|
23
23
|
}
|
|
24
24
|
function k(o) {
|
|
25
|
-
return
|
|
25
|
+
return E(Math.ceil(o), 1, 6);
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const S = A`@layer{arcgis-basemap-gallery{display:block}}`, G = B($), m = {
|
|
28
28
|
// Below this width, items are displayed as a single column and the thumbnail is placed above the title.
|
|
29
29
|
small: 200,
|
|
30
30
|
// Below this width, items are displayed as a single column but with the thumbnail side-by-side
|
|
@@ -34,18 +34,18 @@ const G = S`arcgis-basemap-gallery{display:block}`, K = R(M), m = {
|
|
|
34
34
|
// Above this width, items are displayed in a grid.
|
|
35
35
|
wide: 420
|
|
36
36
|
};
|
|
37
|
-
class
|
|
37
|
+
class K extends M {
|
|
38
38
|
constructor() {
|
|
39
|
-
super(...arguments), this.messages =
|
|
39
|
+
super(...arguments), this.messages = _({}), this.viewModel = G(this), this._width = 0, this._state = "", this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = !1, this.headingLevel = 2, this.icon = "basemap", this.label = "", this.position = "bottom-left", this.source = this.viewModel.source, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("activeBasemap", "state"), this.arcgisReady = x();
|
|
40
40
|
}
|
|
41
41
|
static {
|
|
42
|
-
this.properties = { _width: 16, _state: 16,
|
|
42
|
+
this.properties = { _width: 16, _state: 16, activeBasemap: 0, autoDestroyDisabled: 5, disabled: 7, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, source: 0, state: 3 };
|
|
43
43
|
}
|
|
44
44
|
static {
|
|
45
|
-
this.shadowRootOptions =
|
|
45
|
+
this.shadowRootOptions = L;
|
|
46
46
|
}
|
|
47
47
|
static {
|
|
48
|
-
this.styles =
|
|
48
|
+
this.styles = S;
|
|
49
49
|
}
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region Public Methods
|
|
@@ -57,55 +57,49 @@ class H extends $ {
|
|
|
57
57
|
//#region Lifecycle
|
|
58
58
|
loaded() {
|
|
59
59
|
this.manager.onLifecycle(() => [
|
|
60
|
-
|
|
60
|
+
y(() => this.source, () => {
|
|
61
61
|
this.viewModel.loadSource();
|
|
62
62
|
}, { sync: !0, initial: !0 }),
|
|
63
|
-
|
|
63
|
+
b(() => this.source.state, () => {
|
|
64
64
|
this._state = this.source.state;
|
|
65
|
-
}, { sync: !0 }),
|
|
66
|
-
p(() => this.viewModel.items.filter((s) => s.state !== "ready").length, (s) => {
|
|
67
|
-
this._itemsState = s > 0 ? "loading" : "ready";
|
|
68
|
-
}, { sync: !0 }),
|
|
69
|
-
p(() => this.viewModel.activeBasemap, () => {
|
|
70
|
-
this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap?.id}"]`)?.focus();
|
|
71
65
|
}, { sync: !0 })
|
|
72
66
|
]);
|
|
73
|
-
const
|
|
74
|
-
for (const
|
|
75
|
-
this._width =
|
|
67
|
+
const s = new ResizeObserver((i) => {
|
|
68
|
+
for (const t of i)
|
|
69
|
+
this._width = t.contentRect.width;
|
|
76
70
|
}), e = this.el.childElem;
|
|
77
|
-
e &&
|
|
71
|
+
e && s.observe(e);
|
|
78
72
|
}
|
|
79
73
|
//#endregion
|
|
80
74
|
//#region Private Methods
|
|
81
|
-
_getRoundRobinIndex(
|
|
82
|
-
return (
|
|
75
|
+
_getRoundRobinIndex(s, e) {
|
|
76
|
+
return (s + e) % e;
|
|
83
77
|
}
|
|
84
|
-
_handleKeyDown(
|
|
85
|
-
const { key: e } =
|
|
78
|
+
_handleKeyDown(s) {
|
|
79
|
+
const { key: e } = s;
|
|
86
80
|
if (!["ArrowUp", "ArrowDown", "ArrowRight", "ArrowLeft"].includes(e))
|
|
87
81
|
return;
|
|
88
|
-
|
|
89
|
-
const { items:
|
|
90
|
-
|
|
82
|
+
s.preventDefault();
|
|
83
|
+
const { items: t, activeBasemapIndex: a } = this.viewModel, h = e === "ArrowUp" || e === "ArrowLeft" ? this._getRoundRobinIndex(Math.max(a - 1, -1), t.length) : this._getRoundRobinIndex(a + 1, t.length), c = t.at(h);
|
|
84
|
+
c?.state === "ready" && (this.viewModel.activeBasemap = c.basemap);
|
|
91
85
|
}
|
|
92
86
|
//#endregion
|
|
93
87
|
//#region Rendering
|
|
94
88
|
render() {
|
|
95
|
-
const
|
|
96
|
-
[
|
|
97
|
-
[
|
|
89
|
+
const s = this.source.state === "loading", e = this.disabled || this.state === "disabled", i = this.viewModel.items, t = {
|
|
90
|
+
[r.sourceLoading]: s,
|
|
91
|
+
[d.disabled]: e,
|
|
98
92
|
"esri-component": !0
|
|
99
93
|
// For compatibility with Esri View UI
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
const h =
|
|
103
|
-
return
|
|
94
|
+
}, a = this._width;
|
|
95
|
+
a <= m.small || a >= m.wide ? t[r.layoutGrid] = !0 : a < m.default && (t[r.narrowItems] = !0);
|
|
96
|
+
const h = s ? l`<div class=${n(r.loader)}></div>` : null, c = s ? null : i.length > 0 ? l`<div aria-disabled=${this.disabled ?? p} aria-label=${this.label ?? p} class=${n(r.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${i.map((g, w) => l`<arcgis-basemap-gallery-item .disabled=${e} .item=${g} .itemIndex=${w} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>` : l`<div class=${n(d.empty)}>${C({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
|
|
97
|
+
return l`<div class=${n(u(r.base, d.widget, d.panel, t))} style=${R({
|
|
104
98
|
"--esri-basemap-gallery-small": `${m.small}px`
|
|
105
|
-
})}>${[h,
|
|
99
|
+
})}>${[h, c]}</div>`;
|
|
106
100
|
}
|
|
107
101
|
}
|
|
108
|
-
|
|
102
|
+
v("arcgis-basemap-gallery", K);
|
|
109
103
|
export {
|
|
110
|
-
|
|
104
|
+
K as ArcgisBasemapGallery
|
|
111
105
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import {
|
|
4
|
-
import { ArcgisBasemapGallery } from '
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { ArcgisBasemapGallery } from '../arcgis-basemap-gallery/customElement.js';
|
|
5
|
+
|
|
5
6
|
type BasemapGalleryMessages = ArcgisBasemapGallery["messages"];
|
|
6
|
-
|
|
7
|
+
/** @private **/
|
|
8
|
+
export declare class ArcgisBasemapGalleryItem extends LitElement {
|
|
7
9
|
disabled: boolean;
|
|
8
10
|
item: __esri.BasemapGalleryItem & {
|
|
9
11
|
uid: string;
|
|
@@ -11,6 +13,5 @@ export declare function BasemapGalleryItem({ disabled, item, itemIndex, viewMode
|
|
|
11
13
|
itemIndex: number;
|
|
12
14
|
viewModel: __esri.BasemapGalleryViewModel;
|
|
13
15
|
messages: BasemapGalleryMessages;
|
|
14
|
-
|
|
15
|
-
}): TemplateResult;
|
|
16
|
+
}
|
|
16
17
|
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { g as y, c as I } from "../../chunks/runtime.js";
|
|
2
|
+
import { classes as B } from "@arcgis/components-utils";
|
|
3
|
+
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as w, noShadowRoot as C, nothing as r, safeClassMap as s } from "@arcgis/lumina";
|
|
5
|
+
import { html as l } from "lit-html";
|
|
6
|
+
import { g as x } from "../../chunks/globalCss.js";
|
|
7
|
+
import { c as i } from "../../chunks/basemap-gallery-resources.js";
|
|
8
|
+
import { g as A } from "../../chunks/component-utils.js";
|
|
9
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
+
v4.33.0-next.60 */
|
|
12
|
+
function _(e) {
|
|
13
|
+
return e.portalItem?.type === "Web Scene" || e.referenceLayers.some((t) => t.type === "scene");
|
|
14
|
+
}
|
|
15
|
+
function S(e) {
|
|
16
|
+
return !!e?.portalItem?.tags?.some((t) => t.toLowerCase() === "beta");
|
|
17
|
+
}
|
|
18
|
+
class T extends w {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments), this._itemState = "loading", this._isActive = !1;
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.properties = { _itemState: 16, _isActive: 16, disabled: 5, item: 0, itemIndex: 9, viewModel: 0, messages: 0 };
|
|
24
|
+
}
|
|
25
|
+
static {
|
|
26
|
+
this.shadowRootOptions = C;
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region Lifecycle
|
|
30
|
+
loaded() {
|
|
31
|
+
this.manager.onLifecycle(() => [
|
|
32
|
+
g(() => this.item.state, (t) => {
|
|
33
|
+
this._itemState = t;
|
|
34
|
+
}, { sync: !0 }),
|
|
35
|
+
g(() => this.viewModel.activeBasemap, (t) => {
|
|
36
|
+
this._isActive = this.item.basemap.id === t?.id, this._isActive && (A(this)?.focus(), this.el.scrollIntoView({ block: "nearest" }));
|
|
37
|
+
}, { initial: !0, sync: !0 })
|
|
38
|
+
]);
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region Rendering
|
|
42
|
+
render() {
|
|
43
|
+
const { disabled: t, item: a, itemIndex: o, viewModel: c, messages: h } = this, u = a.basemap.thumbnailUrl || y("assets/basemap-gallery/images/basemap-toggle-64.svg"), m = a.basemap.title, b = a.basemap.portalItem?.snippet, $ = a.error?.message || b || m, { activeBasemapIndex: p } = c, n = p === o, f = n || p === -1 && o === 0 ? 0 : -1, v = {
|
|
44
|
+
[i.selectedItem]: n,
|
|
45
|
+
[i.itemError]: a.state === "error"
|
|
46
|
+
}, d = `basemapgallery-item-${a.uid}`;
|
|
47
|
+
return l`<div .ariaChecked=${n} .ariaDisabled=${t} aria-labelledby=${d ?? r} class=${s(B(i.item, v))} role=radio tabindex=${f ?? r} title=${$ ?? r} @click=${() => {
|
|
48
|
+
a.state === "ready" && (c.activeBasemap = a.basemap);
|
|
49
|
+
}}><img alt class=${s(i.itemThumbnail)} src=${u ?? r}><div class=${s(i.itemContent)}><div class=${s(i.itemTitle)}><span id=${d ?? r}>${m}</span></div>${_(a.basemap) ? D(a.basemap, h) : null}</div>${a.state !== "loading" ? null : l`<calcite-scrim><span aria-hidden=true class=${s(x.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function D(e, t) {
|
|
53
|
+
return l`<div class=${s(i.itemTagsContainer)}>${L(t)}${S(e) ? M(t) : null}</div>`;
|
|
54
|
+
}
|
|
55
|
+
function L(e) {
|
|
56
|
+
return l`<calcite-chip scale=s .label=${e.tag3D}>${e.tag3D}</calcite-chip>`;
|
|
57
|
+
}
|
|
58
|
+
function M(e) {
|
|
59
|
+
return l`<calcite-chip appearance=outline-fill scale=s .label=${e.tagBeta}>${e.tagBeta}</calcite-chip>`;
|
|
60
|
+
}
|
|
61
|
+
I("arcgis-basemap-gallery-item", T);
|
|
62
|
+
export {
|
|
63
|
+
T as ArcgisBasemapGalleryItem
|
|
64
|
+
};
|
|
@@ -7,8 +7,8 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
11
|
-
const d = h
|
|
10
|
+
v4.33.0-next.60 */
|
|
11
|
+
const d = h`@layer{arcgis-basemap-layer-list{display:block}}`, n = o(s);
|
|
12
12
|
class c extends r {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.baseFilterPredicate = this.widget.baseFilterPredicate, this.baseFilterText = this.widget.baseFilterText, this.baseListItemCreatedFunction = this.widget.baseListItemCreatedFunction, this.basemapTitle = this.widget.basemapTitle, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.editingTitle = this.widget.editingTitle, this.filterPlaceholder = this.widget.filterPlaceholder, this.headingLevel = this.widget.headingLevel, this.hideBaseLayers = this.widget.visibleElements.baseLayers, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideReferenceLayers = this.widget.visibleElements.referenceLayers, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.referenceFilterPredicate = this.widget.referenceFilterPredicate, this.referenceFilterText = this.widget.referenceFilterText, this.referenceListItemCreatedFunction = this.widget.referenceListItemCreatedFunction, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditTitleButton = this.widget.visibleElements.editTitleButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = i(() => this.widget, "trigger-action");
|
|
@@ -34,8 +34,8 @@ class c extends r {
|
|
|
34
34
|
get referenceItems() {
|
|
35
35
|
return this.widget.referenceItems;
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region Public Methods
|
|
39
39
|
/** Permanently destroy the component */
|
|
40
40
|
async destroy() {
|
|
41
41
|
await this.manager.destroy();
|
|
@@ -14,10 +14,16 @@ declare const useBasemapToggleViewModel: (component: import('@arcgis/components-
|
|
|
14
14
|
} & Pick<BasemapToggleViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<BasemapToggleViewModel>, options?: {
|
|
15
15
|
editConstructorProperties(props: unknown): unknown;
|
|
16
16
|
} | undefined) => BasemapToggleViewModel;
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Basemap Toggle component allows an end-user to switch between two basemaps.
|
|
19
|
+
*
|
|
20
|
+
* The basemaps can have different spatial references.
|
|
18
21
|
*/
|
|
19
22
|
export declare class ArcgisBasemapToggle extends LitElement {
|
|
20
23
|
private messages;
|
|
24
|
+
/**
|
|
25
|
+
* The map's current [basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap).
|
|
26
|
+
*/
|
|
21
27
|
readonly activeBasemap: __esri.Basemap | nullish;
|
|
22
28
|
/**
|
|
23
29
|
* If true, the component will not be destroyed automatically when
|
|
@@ -28,20 +34,23 @@ export declare class ArcgisBasemapToggle extends LitElement {
|
|
|
28
34
|
*/
|
|
29
35
|
autoDestroyDisabled: boolean;
|
|
30
36
|
/**
|
|
31
|
-
* Icon which represents the
|
|
32
|
-
*
|
|
37
|
+
* Icon which represents the component.
|
|
38
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
33
39
|
*/
|
|
34
40
|
icon: Nil | string;
|
|
35
41
|
/** The component's default label. */
|
|
36
42
|
label: string | undefined;
|
|
37
|
-
/**
|
|
43
|
+
/** Replace localized message strings with your own strings. */
|
|
38
44
|
messageOverrides?: typeof this.messages._overrides;
|
|
39
45
|
/** The next basemap for toggling. */
|
|
40
46
|
nextBasemap: __esri.Basemap | nullish;
|
|
41
47
|
position: __esri.UIPosition;
|
|
42
48
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
43
|
-
/**
|
|
49
|
+
/** Indicates if the Basemap title is displayed. */
|
|
44
50
|
showTitle: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The current state of the component.
|
|
53
|
+
*/
|
|
45
54
|
readonly state: "ready" | "loading" | "disabled" | "incompatible-next-basemap";
|
|
46
55
|
/** Permanently destroy the component */
|
|
47
56
|
destroy(): Promise<void>;
|
|
@@ -4,15 +4,15 @@ import { usePropertyChange as B } from "@arcgis/components-controllers";
|
|
|
4
4
|
import { classes as m } from "@arcgis/components-utils";
|
|
5
5
|
import { getBasemapThumbnailUrl as S } from "@arcgis/core/applications/Components/basemapUtils.js";
|
|
6
6
|
import x from "@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js";
|
|
7
|
-
import { LitElement as T, createEvent as M, noShadowRoot as k, safeClassMap as a, nothing as
|
|
7
|
+
import { LitElement as T, createEvent as M, noShadowRoot as k, safeClassMap as a, nothing as r, safeStyleMap as b } from "@arcgis/lumina";
|
|
8
8
|
import { u as I } from "../../chunks/useView.js";
|
|
9
9
|
import { m as C } from "../../chunks/useViewModel.js";
|
|
10
10
|
import { g as u } from "../../chunks/globalCss.js";
|
|
11
11
|
import { css as L } 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 A = L
|
|
14
|
+
v4.33.0-next.60 */
|
|
15
|
+
const A = L`@layer{arcgis-basemap-toggle{display:block}}`, s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
16
16
|
base: s,
|
|
17
17
|
secondaryBasemapImage: `${s}__image--secondary`,
|
|
18
18
|
container: `${o} ${s}__container`,
|
|
@@ -35,8 +35,8 @@ class E extends T {
|
|
|
35
35
|
static {
|
|
36
36
|
this.styles = A;
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region Public Methods
|
|
40
40
|
/** Permanently destroy the component */
|
|
41
41
|
async destroy() {
|
|
42
42
|
await this.manager.destroy();
|
|
@@ -45,19 +45,19 @@ class E extends T {
|
|
|
45
45
|
async toggle() {
|
|
46
46
|
return await this.viewModel.toggle();
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region Private Methods
|
|
50
50
|
_getThumbnailStyles(t) {
|
|
51
51
|
const n = S(t);
|
|
52
52
|
return n ? { backgroundImage: `url(${n})` } : { backgroundImage: "" };
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region Rendering
|
|
56
56
|
render() {
|
|
57
|
-
const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", d = t.state === "incompatible-next-basemap",
|
|
57
|
+
const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", d = t.state === "incompatible-next-basemap", c = i?.title ?? "", p = i && i.loadStatus !== "loaded";
|
|
58
58
|
let g;
|
|
59
|
-
const h = this.showTitle &&
|
|
60
|
-
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${
|
|
59
|
+
const h = this.showTitle && c, v = d, y = h || v, w = this._getThumbnailStyles(n), _ = this._getThumbnailStyles(i);
|
|
60
|
+
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${c ?? r}>${c}</span>` : null}${v ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? r}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(m(e.base, u.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? r} .disabled=${d} kind=neutral .label=${this.label ?? void 0} @click=${() => void this.toggle()} title=${this.label ?? void 0 ?? r}><div class=${a(m(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${b(w)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image, p ? e.imageLoading : null))} style=${b(_)}>${p || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(u.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
f("arcgis-basemap-toggle", E);
|
|
@@ -7,8 +7,8 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
11
|
-
const r = d
|
|
10
|
+
v4.33.0-next.60 */
|
|
11
|
+
const r = d`@layer{arcgis-bookmarks{display:block}}`, n = h(s);
|
|
12
12
|
class m extends o {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
|
|
@@ -22,8 +22,8 @@ class m extends o {
|
|
|
22
22
|
static {
|
|
23
23
|
this.styles = r;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region Public Methods
|
|
27
27
|
/** Permanently destroy the component */
|
|
28
28
|
async destroy() {
|
|
29
29
|
await this.manager.destroy();
|
|
@@ -6,8 +6,8 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
10
|
-
const a = r
|
|
9
|
+
v4.33.0-next.60 */
|
|
10
|
+
const a = r`@layer{arcgis-building-explorer{display:block}}`, d = h(s);
|
|
11
11
|
class n extends t {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = i()("level", "phase", "state"), this.arcgisReady = l();
|
|
@@ -21,8 +21,8 @@ class n extends t {
|
|
|
21
21
|
static {
|
|
22
22
|
this.styles = a;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region Public Methods
|
|
26
26
|
/** Permanently destroy the component */
|
|
27
27
|
async destroy() {
|
|
28
28
|
await this.manager.destroy();
|
|
@@ -18,15 +18,7 @@ declare const useCatalogLayerListWidget: (component: import('@arcgis/components-
|
|
|
18
18
|
icon: Nil | string;
|
|
19
19
|
label: Nil | string;
|
|
20
20
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
21
|
-
position: __esri.
|
|
22
|
-
/**
|
|
23
|
-
* If true, the component will not be destroyed automatically when it is
|
|
24
|
-
* disconnected from the document. This is useful when you want to move the
|
|
25
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
26
|
-
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
27
|
-
* memory leaks.
|
|
28
|
-
*/
|
|
29
|
-
UIPosition;
|
|
21
|
+
position: __esri.UIPosition;
|
|
30
22
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
31
23
|
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
32
24
|
name: string;
|
|
@@ -7,8 +7,8 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
11
|
-
const d = h
|
|
10
|
+
v4.33.0-next.60 */
|
|
11
|
+
const d = h`@layer{arcgis-catalog-layer-list{display:block}}`, n = r(s);
|
|
12
12
|
class c extends o {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogLayer = this.widget.catalogLayer, this.collapsed = this.widget.collapsed, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = i(() => this.widget, "trigger-action");
|
|
@@ -26,8 +26,8 @@ class c extends o {
|
|
|
26
26
|
get catalogItems() {
|
|
27
27
|
return this.widget.catalogItems;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region Public Methods
|
|
31
31
|
/** Permanently destroy the component */
|
|
32
32
|
async destroy() {
|
|
33
33
|
await this.manager.destroy();
|
|
@@ -30,10 +30,17 @@ export declare class ArcgisCompass extends LitElement {
|
|
|
30
30
|
set icon(value: string | undefined);
|
|
31
31
|
/** The component's default label. */
|
|
32
32
|
label: Nil | string;
|
|
33
|
+
/** Replace localized message strings with your own strings. */
|
|
33
34
|
messageOverrides?: typeof this.messages._overrides;
|
|
35
|
+
/**
|
|
36
|
+
* The z axis orientation.
|
|
37
|
+
*/
|
|
34
38
|
readonly orientation: __esri.Orientation;
|
|
35
39
|
position: __esri.UIPosition;
|
|
36
40
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
41
|
+
/**
|
|
42
|
+
* The current state of the component.
|
|
43
|
+
*/
|
|
37
44
|
readonly state: "rotation" | "disabled" | "compass";
|
|
38
45
|
destroy(): Promise<void>;
|
|
39
46
|
reset(): Promise<void>;
|
|
@@ -4,20 +4,20 @@ import { usePropertyChange as m } from "@arcgis/components-controllers";
|
|
|
4
4
|
import { classes as d } from "@arcgis/components-utils";
|
|
5
5
|
import h from "@arcgis/core/widgets/Compass/CompassViewModel.js";
|
|
6
6
|
import { LitElement as p, createEvent as g, noShadowRoot as u, safeClassMap as s, nothing as o, safeStyleMap as f } from "@arcgis/lumina";
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
7
|
+
import { u as y } from "../../chunks/useView.js";
|
|
8
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
9
9
|
import { g as i } from "../../chunks/globalCss.js";
|
|
10
10
|
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
14
|
-
const b =
|
|
13
|
+
v4.33.0-next.60 */
|
|
14
|
+
const b = $`@layer{arcgis-compass{display:block}}`, a = "esri-compass", r = {
|
|
15
15
|
base: a,
|
|
16
16
|
iconContainer: `${a}__icon-container`
|
|
17
|
-
}, v =
|
|
17
|
+
}, v = w(h);
|
|
18
18
|
class C extends p {
|
|
19
19
|
constructor() {
|
|
20
|
-
super(...arguments), this.messages =
|
|
20
|
+
super(...arguments), this.messages = y(), this.viewModel = v(this), this.autoDestroyDisabled = !1, this.orientation = this.viewModel.orientation, this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state", "orientation"), this.arcgisReady = g();
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.properties = { autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, orientation: 0, position: 3, referenceElement: 1, state: 3 };
|
|
@@ -34,21 +34,21 @@ class C extends p {
|
|
|
34
34
|
set icon(t) {
|
|
35
35
|
this._icon = t;
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region Public Methods
|
|
39
39
|
async destroy() {
|
|
40
40
|
await this.manager.destroy();
|
|
41
41
|
}
|
|
42
42
|
async reset() {
|
|
43
43
|
this.viewModel.reset();
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region Private Methods
|
|
47
47
|
_reset() {
|
|
48
48
|
this.viewModel.reset();
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region Rendering
|
|
52
52
|
render() {
|
|
53
53
|
const { messages: t, icon: n } = this;
|
|
54
54
|
return l`<div class=${s(d(r.base, i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state === "disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset ?? o}><div aria-hidden=true class=${s(r.iconContainer)} title=${t.reset ?? o}><calcite-icon .icon=${n} style=${f(M(this.orientation))}></calcite-icon></div></calcite-button></div>`;
|
|
@@ -62,12 +62,23 @@ export declare class ArcgisCoordinateConversion extends LitElement {
|
|
|
62
62
|
/** The component's default label. */
|
|
63
63
|
label: string;
|
|
64
64
|
locationSymbol: __esri.SimpleMarkerSymbol | __esri.PictureMarkerSymbol | __esri.PointSymbol3D | __esri.CIMSymbol;
|
|
65
|
-
mode: "
|
|
65
|
+
mode: "live" | "capture";
|
|
66
|
+
/**
|
|
67
|
+
* If this property is set to `false`, multiple conversions cannot be displayed.
|
|
68
|
+
*
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
66
71
|
multipleConversionsDisabled: boolean;
|
|
67
72
|
orientation: "auto" | "expand-up" | "expand-down";
|
|
68
73
|
position: __esri.UIPosition;
|
|
69
74
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
70
75
|
readonly state: "ready" | "loading" | "disabled";
|
|
76
|
+
/**
|
|
77
|
+
* Unless this property is set to `false`, sessionStorage or localStorage (depending on [storageType](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion.html#storageType))
|
|
78
|
+
* will be used to hydrate and persist the CoordinateConversion widget's state.
|
|
79
|
+
*
|
|
80
|
+
* @default false
|
|
81
|
+
*/
|
|
71
82
|
storageDisabled: boolean;
|
|
72
83
|
storageType: "local" | "session";
|
|
73
84
|
/** Permanently destroy the component */
|
|
@@ -6,8 +6,8 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
10
|
-
const l = h
|
|
9
|
+
v4.33.0-next.60 */
|
|
10
|
+
const l = h`@layer{arcgis-coordinate-conversion{display:block}}`, c = d(o);
|
|
11
11
|
class g extends n {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.conversions = this.widget.conversions, this.currentLocation = this.widget.currentLocation, this.formats = this.widget.formats, this.headingLevel = this.widget.headingLevel, this.hideCaptureButton = this.widget.visibleElements.captureButton, this.hideEditButton = this.widget.visibleElements.editButton, this.hideExpandButton = this.widget.visibleElements.expandButton, this.hideSettingsButton = this.widget.visibleElements.settingsButton, this.icon = this.widget.icon, this.label = this.widget.label, this.locationSymbol = this.widget.locationSymbol, this.mode = this.widget.mode, this.multipleConversionsDisabled = this.widget.multipleConversions, this.orientation = this.widget.orientation, this.position = "bottom-left", this.state = this.viewModel.state, this.storageDisabled = this.widget.storageEnabled, this.storageType = this.widget.storageType, this.arcgisPropertyChange = s()("currentLocation", "state"), this.arcgisReady = r();
|
|
@@ -21,8 +21,8 @@ class g extends n {
|
|
|
21
21
|
static {
|
|
22
22
|
this.styles = l;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region Public Methods
|
|
26
26
|
/** Permanently destroy the component */
|
|
27
27
|
async destroy() {
|
|
28
28
|
await this.manager.destroy();
|
|
@@ -5,8 +5,8 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
9
|
-
const o = h
|
|
8
|
+
v4.33.0-next.60 */
|
|
9
|
+
const o = h`@layer{arcgis-daylight{display:block}}`, d = l(i);
|
|
10
10
|
class n extends t {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentSeason = this.viewModel.currentSeason, this.dateOrSeason = this.widget.dateOrSeason, this.dayPlaying = this.viewModel.dayPlaying, this.headingLevel = this.widget.headingLevel, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideHeader = this.widget.visibleElements.header, this.hidePlayButtons = this.widget.visibleElements.playButtons, this.hideShadowsToggle = this.widget.visibleElements.shadowsToggle, this.hideSunLightingToggle = this.widget.visibleElements.sunLightingToggle, this.hideTimezone = this.widget.visibleElements.timezone, this.icon = this.widget.icon, this.label = this.widget.label, this.playSpeedMultiplier = this.widget.playSpeedMultiplier, this.position = "bottom-left", this.timeSliderSteps = this.widget.timeSliderSteps, this.yearPlaying = this.viewModel.yearPlaying, this.arcgisReady = s();
|
|
@@ -20,8 +20,8 @@ class n extends t {
|
|
|
20
20
|
static {
|
|
21
21
|
this.styles = o;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region Public Methods
|
|
25
25
|
/** Permanently destroy the component */
|
|
26
26
|
async destroy() {
|
|
27
27
|
await this.manager.destroy();
|