@arcgis/map-components 4.33.0-next.6 → 4.33.0-next.61
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/25UDFKHU.js +5 -0
- package/dist/arcgis-map-components/25UDFKHU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/2NJM45BX.js +4 -0
- package/dist/arcgis-map-components/2NJM45BX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/2UON2WPI.js +5 -0
- package/dist/arcgis-map-components/2UON2WPI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/45C27GEN.js +5 -0
- package/dist/arcgis-map-components/45C27GEN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/4IVCND5S.js +5 -0
- package/dist/arcgis-map-components/4IVCND5S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/54GNKV2U.js +5 -0
- package/dist/arcgis-map-components/54GNKV2U.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/56QMSWYD.js +5 -0
- package/dist/arcgis-map-components/56QMSWYD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IZL6562P.js → 5YZ7JHLG.js} +2 -2
- package/dist/arcgis-map-components/5YZ7JHLG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/74R74ZUK.js +4 -0
- package/dist/arcgis-map-components/74R74ZUK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7DSQZAWL.js +5 -0
- package/dist/arcgis-map-components/7DSQZAWL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7HPFVZWL.js +5 -0
- package/dist/arcgis-map-components/7HPFVZWL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7NGIBC3B.js +4 -0
- package/dist/arcgis-map-components/7NGIBC3B.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7P2UGQRB.js +5 -0
- package/dist/arcgis-map-components/7P2UGQRB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/A4MV5N7R.js +5 -0
- package/dist/arcgis-map-components/A4MV5N7R.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ABDTF6YG.js +5 -0
- package/dist/arcgis-map-components/ABDTF6YG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DSBFXCJF.js +5 -0
- package/dist/arcgis-map-components/DSBFXCJF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DSNWL5NU.js +4 -0
- package/dist/arcgis-map-components/DSNWL5NU.js.LEGAL.txt +0 -0
- package/dist/arcgis-map-components/DYP2GIEB.js +5 -0
- package/dist/arcgis-map-components/DYP2GIEB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/E64NXRTK.js +5 -0
- package/dist/arcgis-map-components/E64NXRTK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/EEFYKIZS.js +5 -0
- package/dist/arcgis-map-components/EEFYKIZS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/EHDZ4REZ.js +4 -0
- package/dist/arcgis-map-components/EHDZ4REZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FNXEUO5T.js +5 -0
- package/dist/arcgis-map-components/FNXEUO5T.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FQ2IQOZL.js +4 -0
- package/dist/arcgis-map-components/FQ2IQOZL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FRFAFY6S.js +5 -0
- package/dist/arcgis-map-components/FRFAFY6S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GLFTQ7S7.js +5 -0
- package/dist/arcgis-map-components/GLFTQ7S7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GQ4NXU3O.js +5 -0
- package/dist/arcgis-map-components/GQ4NXU3O.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/H2JN433N.js +5 -0
- package/dist/arcgis-map-components/H2JN433N.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/HE4GBKCR.js +5 -0
- package/dist/arcgis-map-components/HE4GBKCR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/IIDLDA66.js +4 -0
- package/dist/arcgis-map-components/IIDLDA66.js.LEGAL.txt +15 -0
- package/dist/arcgis-map-components/{QFIKEQMH.js → INU75IRC.js} +2 -2
- package/dist/arcgis-map-components/INU75IRC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/IRXV2SFX.js +5 -0
- package/dist/arcgis-map-components/IRXV2SFX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JOYJZLDJ.js +5 -0
- package/dist/arcgis-map-components/JOYJZLDJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JQRUYWII.js +5 -0
- package/dist/arcgis-map-components/JQRUYWII.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/K2L3K6N2.js +5 -0
- package/dist/arcgis-map-components/K2L3K6N2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/K5NVTNBF.js +5 -0
- package/dist/arcgis-map-components/K5NVTNBF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KMEWD5UM.js +4 -0
- package/dist/arcgis-map-components/KMEWD5UM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LASAGG2H.js +6 -0
- package/dist/arcgis-map-components/LASAGG2H.js.LEGAL.txt +145 -0
- package/dist/arcgis-map-components/LBLN7BBZ.js +5 -0
- package/dist/arcgis-map-components/LBLN7BBZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LFCE4JVQ.js +5 -0
- package/dist/arcgis-map-components/LFCE4JVQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LHET6XBT.js +5 -0
- package/dist/arcgis-map-components/LHET6XBT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LLUBF5H4.js +5 -0
- package/dist/arcgis-map-components/LLUBF5H4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MI2PVCE2.js +5 -0
- package/dist/arcgis-map-components/MI2PVCE2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MLM6YPS4.js +5 -0
- package/dist/arcgis-map-components/MLM6YPS4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MTMYU6BL.js +5 -0
- package/dist/arcgis-map-components/MTMYU6BL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/O3JZMXSD.js +5 -0
- package/dist/arcgis-map-components/O3JZMXSD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OAEDLDTD.js +4 -0
- package/dist/arcgis-map-components/OAEDLDTD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OBUVTYBQ.js +5 -0
- package/dist/arcgis-map-components/OBUVTYBQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OWRHN3WW.js +5 -0
- package/dist/arcgis-map-components/OWRHN3WW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PHBHJLUE.js +5 -0
- package/dist/arcgis-map-components/PHBHJLUE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PHVJWYV5.js +5 -0
- package/dist/arcgis-map-components/PHVJWYV5.js.LEGAL.txt +12 -0
- package/dist/arcgis-map-components/PSVT723F.js +5 -0
- package/dist/arcgis-map-components/PSVT723F.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PWTX3LOR.js +5 -0
- package/dist/arcgis-map-components/PWTX3LOR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/QS74OQF6.js +5 -0
- package/dist/arcgis-map-components/QS74OQF6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/R24STECG.js +5 -0
- package/dist/arcgis-map-components/R24STECG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/R474PR5F.js +5 -0
- package/dist/arcgis-map-components/R474PR5F.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/RNCYOW2G.js +5 -0
- package/dist/arcgis-map-components/RNCYOW2G.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/S2AZC62Y.js +5 -0
- package/dist/arcgis-map-components/S2AZC62Y.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/S5DX7CJY.js +5 -0
- package/dist/arcgis-map-components/S5DX7CJY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/STTGXZYG.js +5 -0
- package/dist/arcgis-map-components/STTGXZYG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/SUWSARGE.js +5 -0
- package/dist/arcgis-map-components/SUWSARGE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/T5J37CUA.js +5 -0
- package/dist/arcgis-map-components/T5J37CUA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/UMRGZ4LB.js +5 -0
- package/dist/arcgis-map-components/UMRGZ4LB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/V7ERYYFM.js +5 -0
- package/dist/arcgis-map-components/V7ERYYFM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/VGKA7S5E.js +5 -0
- package/dist/arcgis-map-components/VGKA7S5E.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/W5NJLJEH.js +5 -0
- package/dist/arcgis-map-components/W5NJLJEH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/WVPHXMVU.js +5 -0
- package/dist/arcgis-map-components/WVPHXMVU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XDCDUZ6R.js +5 -0
- package/dist/arcgis-map-components/XDCDUZ6R.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XJZVK2U6.js +5 -0
- package/dist/arcgis-map-components/XJZVK2U6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/Y2GSA7RI.js +5 -0
- package/dist/arcgis-map-components/Y2GSA7RI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YDYLDCQ2.js +5 -0
- package/dist/arcgis-map-components/YDYLDCQ2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YOO7SY2X.js +5 -0
- package/dist/arcgis-map-components/YOO7SY2X.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YT2LE2TQ.js +5 -0
- package/dist/arcgis-map-components/YT2LE2TQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/Z57M7UI3.js +5 -0
- package/dist/arcgis-map-components/Z57M7UI3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ZPGKIHWB.js +5 -0
- package/dist/arcgis-map-components/ZPGKIHWB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ZQYTVTHU.js +4 -0
- package/dist/arcgis-map-components/ZQYTVTHU.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 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.61 */
|
|
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
|
};
|
|
@@ -6,11 +6,11 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
10
|
-
const c = n
|
|
11
|
-
class
|
|
9
|
+
v4.33.0-next.61 */
|
|
10
|
+
const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
|
+
class h extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget =
|
|
13
|
+
super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.activeTool = this.widget.activeTool, this.activeWidget = this.widget.activeWidget, this.areaUnit = this.widget.areaUnit, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.linearUnit = this.widget.linearUnit, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = e()("activeTool", "state"), this.arcgisReady = a();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { activeTool: 1, activeWidget: 0, areaUnit: 1, autoDestroyDisabled: 5, icon: 1, label: 1, linearUnit: 1, position: 1, referenceElement: 1, state: 3 };
|
|
@@ -21,8 +21,8 @@ class l extends s {
|
|
|
21
21
|
static {
|
|
22
22
|
this.styles = c;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region Public Methods
|
|
26
26
|
async clear() {
|
|
27
27
|
this.widget?.clear();
|
|
28
28
|
}
|
|
@@ -34,7 +34,7 @@ class l extends s {
|
|
|
34
34
|
this.widget?.startMeasurement();
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
t("arcgis-measurement",
|
|
37
|
+
t("arcgis-measurement", h);
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
h as ArcgisMeasurement
|
|
40
40
|
};
|
|
@@ -11,13 +11,13 @@ type State = "disabled" | "ready";
|
|
|
11
11
|
type NavigationMode = "pan" | "rotate";
|
|
12
12
|
type LayoutMode = "horizontal" | "vertical";
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The Navigation Toggle component can be used to control the navigation mode of a Scene component.
|
|
15
15
|
*
|
|
16
16
|
* When the navigation mode is set to "pan" (default), the mouse drag gesture pans the view and right-click + drag allows the user
|
|
17
17
|
* to rotate the view. When the navigation mode is set to "rotate", the mouse drag gesture rotates the view and
|
|
18
18
|
* right-click + drag pans the view.
|
|
19
19
|
*
|
|
20
|
-
* The
|
|
20
|
+
* The Navigation Toggle component is only supported in 3D.
|
|
21
21
|
*/
|
|
22
22
|
export declare class ArcgisNavigationToggle extends LitElement {
|
|
23
23
|
/**
|
|
@@ -1,29 +1,32 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { usePropertyChange as
|
|
3
|
-
import { when as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { html as
|
|
6
|
-
import { a as
|
|
7
|
-
import { g as
|
|
1
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
+
import { usePropertyChange as g } from "@arcgis/components-controllers";
|
|
3
|
+
import { when as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as p, createEvent as h, noShadowRoot as v, safeClassMap as m, nothing as r } from "@arcgis/lumina";
|
|
5
|
+
import { html as u } from "lit";
|
|
6
|
+
import { a as y, u as b } from "../../chunks/useView.js";
|
|
7
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
8
8
|
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
12
|
-
const
|
|
13
|
-
base:
|
|
14
|
-
},
|
|
15
|
-
|
|
11
|
+
v4.33.0-next.61 */
|
|
12
|
+
const $ = "arcgis-navigation-toggle", w = {
|
|
13
|
+
base: $
|
|
14
|
+
}, x = M`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`, e = {
|
|
15
|
+
pan: "move",
|
|
16
|
+
rotate: "rotate"
|
|
17
|
+
};
|
|
18
|
+
class _ extends p {
|
|
16
19
|
constructor() {
|
|
17
|
-
super(...arguments), this.view =
|
|
20
|
+
super(...arguments), this.view = y(this), this._messages = b(), this.autoDestroyDisabled = !1, this.icon = e.pan, this.layout = "vertical", this.navigationMode = "pan", this.position = "top-left", this.state = "disabled", this.arcgisPropertyChange = g()("layout", "state"), this.arcgisReady = h();
|
|
18
21
|
}
|
|
19
22
|
static {
|
|
20
23
|
this.properties = { autoDestroyDisabled: 5, icon: 3, label: 1, layout: 3, navigationMode: 3, position: 1, referenceElement: 1, state: 3 };
|
|
21
24
|
}
|
|
22
25
|
static {
|
|
23
|
-
this.shadowRootOptions =
|
|
26
|
+
this.shadowRootOptions = v;
|
|
24
27
|
}
|
|
25
28
|
static {
|
|
26
|
-
this.styles =
|
|
29
|
+
this.styles = x;
|
|
27
30
|
}
|
|
28
31
|
//#endregion
|
|
29
32
|
//#region Public Methods
|
|
@@ -38,8 +41,8 @@ class _ extends g {
|
|
|
38
41
|
//#region Lifecycle
|
|
39
42
|
load() {
|
|
40
43
|
this.manager.onLifecycle(() => [
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
c(() => this.view?.navigation?.actionMap, () => this._updateNavigationActionMap()),
|
|
45
|
+
c(() => {
|
|
43
46
|
const { view: t } = this;
|
|
44
47
|
return t?.ready && t?.type === "3d" ? "ready" : "disabled";
|
|
45
48
|
}, (t) => {
|
|
@@ -68,11 +71,11 @@ class _ extends g {
|
|
|
68
71
|
//#endregion
|
|
69
72
|
//#region Rendering
|
|
70
73
|
render() {
|
|
71
|
-
const { _messages: t, navigationMode: a, state:
|
|
72
|
-
return
|
|
74
|
+
const { _messages: t, navigationMode: a, state: l } = this, s = t.pan ?? "", o = t.rotate ?? "", i = l === "disabled", n = a === "pan";
|
|
75
|
+
return u`<calcite-action-bar class=${m({ [w.base]: !0, [f.disabled]: i })} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${n} appearance=solid data-testid=navigation-toggle-pan .disabled=${i} .icon=${e.pan} @click=${this._onPanClick} scale=s .text=${s} title=${s ?? r}></calcite-action><calcite-action .active=${!n} appearance=solid data-testid=navigation-toggle-rotate .disabled=${i} .icon=${e.rotate} @click=${this._onRotateClick} scale=s .text=${o} title=${o ?? r}></calcite-action></calcite-action-bar>`;
|
|
73
76
|
}
|
|
74
77
|
}
|
|
75
|
-
|
|
78
|
+
d("arcgis-navigation-toggle", _);
|
|
76
79
|
export {
|
|
77
80
|
_ as ArcgisNavigationToggle
|
|
78
81
|
};
|
|
@@ -7,14 +7,14 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
11
|
-
const h = g
|
|
10
|
+
v4.33.0-next.61 */
|
|
11
|
+
const h = g`@layer{arcgis-oriented-imagery-viewer{display:block}}`, m = l(r);
|
|
12
12
|
class y extends o {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = m(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.position = "bottom-left", this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = a()("imageGalleryEnabled", "layer"), this.arcgisReady = d();
|
|
14
|
+
super(...arguments), this.widget = m(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.dataCaptureEnabled = this.widget.dataCaptureEnabled, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.position = "bottom-left", this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = a()("imageGalleryEnabled", "layer"), this.arcgisReady = d();
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.properties = { autoDestroyDisabled: 5, currentCoverageVisible: 5, disabled: 5, galleryOpened: 5, icon: 1, imageEnhancementToolActive: 5, imageGalleryEnabled: 4, isAdditionalCoverageVisible: 5, isAdditionalPointSourcesVisible: 5, label: 1, layer: 0, mapImageConversionToolState: 5, navigationToolActive: 5, orientedImageryLayerItemId: 1, position: 1, referenceElement: 1, referencePoint: 0 };
|
|
17
|
+
this.properties = { autoDestroyDisabled: 5, currentCoverageVisible: 5, dataCaptureEnabled: 5, disabled: 5, galleryOpened: 5, icon: 1, imageEnhancementToolActive: 5, imageGalleryEnabled: 4, isAdditionalCoverageVisible: 5, isAdditionalPointSourcesVisible: 5, label: 1, layer: 0, mapImageConversionToolState: 5, navigationToolActive: 5, orientedImageryLayerItemId: 1, position: 1, referenceElement: 1, referencePoint: 0 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
20
|
this.shadowRootOptions = n;
|
|
@@ -33,11 +33,7 @@ class y extends o {
|
|
|
33
33
|
willUpdate(e) {
|
|
34
34
|
if (e.has("orientedImageryLayerItemId")) {
|
|
35
35
|
const i = this.orientedImageryLayerItemId;
|
|
36
|
-
i && this.widget && (this.layer = new s({
|
|
37
|
-
portalItem: {
|
|
38
|
-
id: i
|
|
39
|
-
}
|
|
40
|
-
}), this.widget.view ? this.widget.view.map.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0);
|
|
36
|
+
i && this.widget && (this.layer = new s({ portalItem: { id: i } }), this.widget.view ? this.widget.view.map.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0);
|
|
41
37
|
}
|
|
42
38
|
}
|
|
43
39
|
loaded() {
|
|
@@ -1,41 +1,47 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { css as
|
|
1
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
+
import { g as i, r, d as n, c as o } from "../../chunks/component-utils.js";
|
|
3
|
+
import { LitElement as l, createEvent as a, noShadowRoot as c } from "@arcgis/lumina";
|
|
4
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
8
|
-
const
|
|
9
|
-
class
|
|
7
|
+
v4.33.0-next.61 */
|
|
8
|
+
const d = h`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`;
|
|
9
|
+
class m extends l {
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region Lifecycle
|
|
12
12
|
constructor() {
|
|
13
13
|
super(), this._observer = void 0, this._moveChildren = () => {
|
|
14
|
-
if (this.
|
|
15
|
-
for (let
|
|
16
|
-
this.
|
|
17
|
-
}, this.position = "bottom-left", this.arcgisReady =
|
|
14
|
+
if (i(this).parentElement !== this.el)
|
|
15
|
+
for (let t = this.el.firstElementChild; t !== null; t = this.el.firstElementChild)
|
|
16
|
+
i(this).append(t);
|
|
17
|
+
}, this.position = "bottom-left", this.arcgisReady = a();
|
|
18
|
+
const e = this;
|
|
19
|
+
e.el.childElem = document.createElement("div"), e.el.childElem.classList.add("arcgis-placement__container"), this.listen("arcgisReady", this._startObserving, { once: !0 });
|
|
18
20
|
}
|
|
19
21
|
static {
|
|
20
22
|
this.properties = { position: 1, referenceElement: 1 };
|
|
21
23
|
}
|
|
22
24
|
static {
|
|
23
|
-
this.shadowRootOptions =
|
|
25
|
+
this.shadowRootOptions = c;
|
|
24
26
|
}
|
|
25
27
|
static {
|
|
26
|
-
this.styles =
|
|
28
|
+
this.styles = d;
|
|
27
29
|
}
|
|
28
30
|
connectedCallback() {
|
|
29
31
|
super.connectedCallback(), this.el.view && this._startObserving();
|
|
30
32
|
}
|
|
31
33
|
willUpdate(e) {
|
|
32
|
-
e.has("referenceElement") &&
|
|
34
|
+
e.has("referenceElement") && r(this, this.referenceElement);
|
|
35
|
+
const t = i(this);
|
|
36
|
+
e.has("position") && t && this.position !== void 0 && this.el.view?.ui?.move(t, this.position);
|
|
33
37
|
}
|
|
34
38
|
loaded() {
|
|
35
|
-
|
|
39
|
+
n(this), o(this);
|
|
36
40
|
}
|
|
37
41
|
disconnectedCallback() {
|
|
38
|
-
super.disconnectedCallback()
|
|
42
|
+
super.disconnectedCallback();
|
|
43
|
+
const e = i(this);
|
|
44
|
+
e && this.el.view?.ui?.remove(e), this._observer?.disconnect();
|
|
39
45
|
}
|
|
40
46
|
//#endregion
|
|
41
47
|
//#region Private Methods
|
|
@@ -50,7 +56,7 @@ class a extends r {
|
|
|
50
56
|
this._moveChildren(), this._observer = new MutationObserver(this._moveChildren), this._observer.observe(this.el, { childList: !0 });
|
|
51
57
|
}
|
|
52
58
|
}
|
|
53
|
-
|
|
59
|
+
s("arcgis-placement", m);
|
|
54
60
|
export {
|
|
55
|
-
|
|
61
|
+
m as ArcgisPlacement
|
|
56
62
|
};
|
|
@@ -56,6 +56,7 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
56
56
|
* Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
|
|
57
57
|
*/
|
|
58
58
|
icon: string;
|
|
59
|
+
/** @default false */
|
|
59
60
|
includeDefaultTemplatesDisabled: boolean;
|
|
60
61
|
/** The component's default label. */
|
|
61
62
|
label: string;
|
|
@@ -7,8 +7,8 @@ import { m as n } 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.61 */
|
|
11
|
+
const d = h`@layer{arcgis-print{display:block}}`, m = n(r);
|
|
12
12
|
class p extends o {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.allowedFormats = this.widget.allowedFormats, this.allowedLayouts = this.widget.allowedLayouts, this.autoDestroyDisabled = !1, this.exportedLinks = this.widget.exportedLinks, this.extraParameters = this.widget.extraParameters, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.includeDefaultTemplatesDisabled = this.widget.includeDefaultTemplates, this.label = this.widget.label, this.portal = this.widget.portal, this.position = "bottom-left", this.printServiceUrl = this.widget.printServiceUrl, this.showPrintAreaEnabled = this.widget.showPrintAreaEnabled, this.state = this.viewModel.state, this.templateCustomTextElements = this.widget.templateCustomTextElements, this.templateOptions = this.widget.templateOptions, this.arcgisComplete = e(() => this.widget, "complete"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = a(), this.arcgisSubmit = e(() => this.widget, "submit");
|
|
@@ -22,8 +22,8 @@ class p extends o {
|
|
|
22
22
|
static {
|
|
23
23
|
this.styles = d;
|
|
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();
|
|
@@ -17,7 +17,18 @@ declare const useScaleBarViewModel: (component: import('@arcgis/components-contr
|
|
|
17
17
|
} & Pick<ScaleBarViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<ScaleBarViewModel>, options?: {
|
|
18
18
|
editConstructorProperties(props: unknown): unknown;
|
|
19
19
|
} | undefined) => ScaleBarViewModel;
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The Scale Bar component displays a scale bar representing the scale of the map.
|
|
22
|
+
* It respects various coordinate systems and displays units in metric or imperial values.
|
|
23
|
+
* Metric values show either kilometers, meters, centimeters, or millimeters depending on the scale, and likewise, imperial values show miles, feet, or inches depending on the scale.
|
|
24
|
+
* When working with Web Mercator or geographic coordinate systems the scale bar takes into account projection distortion and dynamically adjusts the scale bar.
|
|
25
|
+
*
|
|
26
|
+
* When the scale bar is inside the map, the actual location of the scale bar is used to calculate the scale.
|
|
27
|
+
* Otherwise, the center of the map is used to calculate the scale.
|
|
28
|
+
*
|
|
29
|
+
* **Known Limitations**
|
|
30
|
+
*
|
|
31
|
+
* - This component is not currently supported within an `arcgis-scene` component.
|
|
21
32
|
*/
|
|
22
33
|
export declare class ArcgisScaleBar extends LitElement {
|
|
23
34
|
private messages;
|
|
@@ -34,10 +45,15 @@ export declare class ArcgisScaleBar extends LitElement {
|
|
|
34
45
|
* When `unit` is set to `dual`, the style will always be `line`.
|
|
35
46
|
*/
|
|
36
47
|
barStyle: ScaleBarStyle;
|
|
37
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Icon which represents the component.
|
|
50
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
51
|
+
* Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
|
|
52
|
+
*/
|
|
38
53
|
icon: Nil | string;
|
|
39
54
|
/** The component's default label. */
|
|
40
55
|
label: Nil | string;
|
|
56
|
+
/** Replace localized message strings with your own strings. */
|
|
41
57
|
messageOverrides?: typeof this.messages._overrides;
|
|
42
58
|
position: __esri.UIPosition;
|
|
43
59
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
@@ -12,7 +12,7 @@ import { m as D } from "../../chunks/useViewModel.js";
|
|
|
12
12
|
import { g as v } from "../../chunks/globalCss.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.
|
|
15
|
+
v4.33.0-next.61 */
|
|
16
16
|
function $(f = 0, e = 0) {
|
|
17
17
|
return { x: f, y: e };
|
|
18
18
|
}
|
|
@@ -55,14 +55,14 @@ class k extends B {
|
|
|
55
55
|
set unit(e) {
|
|
56
56
|
this._unit = e;
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region Public Methods
|
|
60
60
|
/** Permanently destroy the component */
|
|
61
61
|
async destroy() {
|
|
62
62
|
await this.manager.destroy();
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region Lifecycle
|
|
66
66
|
updated() {
|
|
67
67
|
this._handleRootCreateOrUpdate();
|
|
68
68
|
}
|
|
@@ -80,8 +80,8 @@ class k extends B {
|
|
|
80
80
|
this._defaultUnit = e ?? "metric", i && this.requestUpdate();
|
|
81
81
|
}));
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region Private Methods
|
|
85
85
|
_handleContainerRef(e) {
|
|
86
86
|
e !== void 0 && this._handleRootCreateOrUpdate();
|
|
87
87
|
}
|
|
@@ -98,8 +98,8 @@ class k extends B {
|
|
|
98
98
|
unitDisplay: "short"
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region Rendering
|
|
103
103
|
render() {
|
|
104
104
|
const e = this.viewModel.state === "disabled", i = {
|
|
105
105
|
[v.disabled]: e
|
|
@@ -6,11 +6,11 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
10
|
-
const
|
|
9
|
+
v4.33.0-next.61 */
|
|
10
|
+
const r = n`@layer{arcgis-scale-range-slider{display:block}}`, c = o(t);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget =
|
|
13
|
+
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.hidePreview = this.widget.visibleElements.preview, this.hideScaleMenusMaxScaleMenu = this.widget.visibleElements.scaleMenus.maxScaleMenu, this.hideScaleMenusMinScaleMenu = this.widget.visibleElements.scaleMenus.minScaleMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.layer = this.widget.layer, this.maxScale = this.widget.maxScale, this.maxScaleLimit = this.widget.maxScaleLimit, this.minScale = this.widget.minScale, this.minScaleLimit = this.widget.minScaleLimit, this.mode = this.widget.mode, this.position = "bottom-left", this.region = this.widget.region, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("state", "minScale", "maxScale"), this.arcgisReady = a();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, disabled: 7, hidePreview: 5, hideScaleMenusMaxScaleMenu: 5, hideScaleMenusMinScaleMenu: 5, icon: 1, label: 1, layer: 0, maxScale: 9, maxScaleLimit: 9, minScale: 9, minScaleLimit: 9, mode: 1, position: 1, referenceElement: 1, region: 0, state: 3 };
|
|
@@ -19,10 +19,10 @@ class h extends s {
|
|
|
19
19
|
this.shadowRootOptions = l;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.styles =
|
|
22
|
+
this.styles = r;
|
|
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();
|