@arcgis/map-components 4.28.0-beta.3 → 4.28.0-beta.30
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/arcgis-map-components.esm.js +1 -1
- package/dist/arcgis-map-components/{p-23d576b0.entry.js → p-0a66fa8d.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-9d02cb78.entry.js → p-0c18a557.entry.js} +1 -1
- package/dist/arcgis-map-components/p-172f38f7.entry.js +1 -0
- package/dist/arcgis-map-components/p-20925f97.entry.js +1 -0
- package/dist/arcgis-map-components/{p-d85ec49d.entry.js → p-226e59c4.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-a1f9533b.entry.js → p-24cdbcad.entry.js} +1 -1
- package/dist/arcgis-map-components/p-2d79d391.entry.js +1 -0
- package/dist/arcgis-map-components/{p-e44377c2.entry.js → p-2e4a4f71.entry.js} +1 -1
- package/dist/arcgis-map-components/p-320c8ee5.entry.js +1 -0
- package/dist/arcgis-map-components/p-33314746.entry.js +1 -0
- package/dist/arcgis-map-components/p-3f1ae6a2.entry.js +1 -0
- package/dist/arcgis-map-components/p-3f641f79.entry.js +1 -0
- package/dist/arcgis-map-components/p-42765ddd.entry.js +1 -0
- package/dist/arcgis-map-components/{p-807f5ccb.entry.js → p-4b24a092.entry.js} +1 -1
- package/dist/arcgis-map-components/p-51fb13d5.entry.js +1 -0
- package/dist/arcgis-map-components/p-55b644c8.entry.js +1 -0
- package/dist/arcgis-map-components/p-5b42abe4.entry.js +1 -0
- package/dist/arcgis-map-components/{p-0c980627.entry.js → p-5d7f6415.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-24f71e45.entry.js → p-6cf4bdd7.entry.js} +1 -1
- package/dist/arcgis-map-components/p-72aafbfe.entry.js +1 -0
- package/dist/arcgis-map-components/p-75fa430d.entry.js +1 -0
- package/dist/arcgis-map-components/p-7978010c.entry.js +1 -0
- package/dist/arcgis-map-components/{p-3c9a1b44.entry.js → p-900ede7a.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-8ff9c78a.entry.js → p-923d703e.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-fd541176.entry.js → p-9384e0fe.entry.js} +1 -1
- package/dist/arcgis-map-components/p-9481cd4c.entry.js +1 -0
- package/dist/arcgis-map-components/p-9640feca.entry.js +1 -0
- package/dist/arcgis-map-components/{p-0b5c2f6e.entry.js → p-9965ba9d.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-4f1fca1e.entry.js → p-9d3a3858.entry.js} +1 -1
- package/dist/arcgis-map-components/p-a1960d34.entry.js +1 -0
- package/dist/arcgis-map-components/{p-d8356fbd.entry.js → p-a7999196.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-8ce84840.entry.js → p-b427167c.entry.js} +1 -1
- package/dist/arcgis-map-components/p-b94821a2.entry.js +1 -0
- package/dist/arcgis-map-components/p-bc6dd02b.entry.js +1 -0
- package/dist/arcgis-map-components/p-be18cb46.entry.js +1 -0
- package/dist/arcgis-map-components/{p-4645298b.entry.js → p-c23a789f.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-3f1ef7f1.entry.js → p-c381e4aa.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-1765f32e.entry.js → p-cb746764.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-07abd3c4.entry.js → p-cc53cffe.entry.js} +1 -1
- package/dist/arcgis-map-components/p-cefe001a.entry.js +1 -0
- package/dist/arcgis-map-components/{p-b225ed09.entry.js → p-d2d67467.entry.js} +1 -1
- package/dist/arcgis-map-components/p-d5a61e17.entry.js +1 -0
- package/dist/arcgis-map-components/p-db2825b2.js +1 -0
- package/dist/arcgis-map-components/{p-fd8b7cf3.entry.js → p-db5cb0af.entry.js} +1 -1
- package/dist/arcgis-map-components/p-dcc5c906.entry.js +1 -0
- package/dist/arcgis-map-components/p-e07675e9.entry.js +1 -0
- package/dist/arcgis-map-components/p-f2a569fa.entry.js +1 -0
- package/dist/arcgis-map-components/{p-64871d68.entry.js → p-f45d9e23.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-ec679a3d.entry.js → p-f618ea34.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-0a6cca4a.entry.js → p-f7ca6ac1.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-8b4ef0d8.entry.js → p-fd63505f.entry.js} +1 -1
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-attachments.cjs.entry.js +2 -2
- package/dist/cjs/{arcgis-search.cjs.entry.js → arcgis-basemap-gallery_4.cjs.entry.js} +274 -2
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-compass.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-daylight.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-directions.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-editor.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +1 -1
- package/dist/cjs/arcgis-feature.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-features.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-histogram.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-home.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-legend.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-locate.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-map-components.cjs.js +1 -1
- package/dist/cjs/arcgis-measurement.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-print.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scene.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-sketch.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-slice.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-swipe.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-table-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-track.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-weather.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-zoom.cjs.entry.js +2 -2
- package/dist/cjs/{index-90cd1f23.js → index-1408586f.js} +0 -12
- package/dist/cjs/index-6b51d5a0.js +2 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/components/arcgis-area-measurement-2d.js +2 -2
- package/dist/components/arcgis-area-measurement-3d.js +2 -2
- package/dist/components/arcgis-attachments.js +1 -1
- package/dist/components/arcgis-basemap-gallery.js +2 -2
- package/dist/components/arcgis-basemap-layer-list.js +2 -2
- package/dist/components/arcgis-basemap-toggle.js +2 -2
- package/dist/components/arcgis-bookmarks.js +2 -2
- package/dist/components/arcgis-building-explorer.js +2 -2
- package/dist/components/arcgis-compass.js +2 -2
- package/dist/components/arcgis-coordinate-conversion.js +2 -2
- package/dist/components/arcgis-daylight.js +2 -2
- package/dist/components/arcgis-directions.js +3 -3
- package/dist/components/arcgis-directline-measurement-3d.js +3 -3
- package/dist/components/arcgis-distance-measurement-2d.js +3 -3
- package/dist/components/arcgis-editor.js +3 -3
- package/dist/components/arcgis-elevation-profile.js +3 -3
- package/dist/components/arcgis-expand2.js +4 -4
- package/dist/components/arcgis-feature-form.js +2 -2
- package/dist/components/arcgis-feature-table.js +3 -3
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +3 -3
- package/dist/components/arcgis-features.js +3 -3
- package/dist/components/arcgis-floor-filter.js +3 -3
- package/dist/components/arcgis-fullscreen.js +3 -3
- package/dist/components/arcgis-histogram-range-slider.js +2 -2
- package/dist/components/arcgis-histogram.js +2 -2
- package/dist/components/arcgis-home.js +3 -3
- package/dist/components/arcgis-layer-list.js +3 -3
- package/dist/components/arcgis-legend.js +3 -3
- package/dist/components/arcgis-line-of-sight.js +3 -3
- package/dist/components/arcgis-locate.js +3 -3
- package/dist/components/arcgis-map.js +4 -4
- package/dist/components/arcgis-measurement.js +3 -3
- package/dist/components/arcgis-navigation-toggle.js +3 -3
- package/dist/components/arcgis-print.js +3 -3
- package/dist/components/arcgis-scale-bar.js +3 -3
- package/dist/components/arcgis-scale-range-slider.js +3 -3
- package/dist/components/arcgis-scene.js +4 -4
- package/dist/components/arcgis-search.js +3 -3
- package/dist/components/arcgis-shadow-cast.js +3 -3
- package/dist/components/arcgis-sketch.js +3 -3
- package/dist/components/arcgis-slice.js +3 -3
- package/dist/components/arcgis-slider.js +2 -2
- package/dist/components/arcgis-swipe.js +3 -3
- package/dist/components/arcgis-table-list.js +3 -3
- package/dist/components/arcgis-time-slider.js +3 -3
- package/dist/components/arcgis-track.js +3 -3
- package/dist/components/arcgis-utility-network-associations.js +3 -3
- package/dist/components/arcgis-utility-network-trace.js +3 -3
- package/dist/components/arcgis-utility-network-validate-topology.js +3 -3
- package/dist/components/arcgis-value-picker.js +3 -3
- package/dist/components/arcgis-weather.js +3 -3
- package/dist/components/arcgis-zoom.js +3 -3
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index2.js +1 -12
- package/dist/esm/arcgis-area-measurement-2d.entry.js +2 -2
- package/dist/esm/arcgis-area-measurement-3d.entry.js +2 -2
- package/dist/esm/arcgis-attachments.entry.js +2 -2
- package/dist/esm/{arcgis-search.entry.js → arcgis-basemap-gallery_4.entry.js} +272 -3
- package/dist/esm/arcgis-basemap-layer-list.entry.js +2 -2
- package/dist/esm/arcgis-basemap-toggle.entry.js +2 -2
- package/dist/esm/arcgis-bookmarks.entry.js +2 -2
- package/dist/esm/arcgis-building-explorer.entry.js +2 -2
- package/dist/esm/arcgis-compass.entry.js +2 -2
- package/dist/esm/arcgis-coordinate-conversion.entry.js +2 -2
- package/dist/esm/arcgis-daylight.entry.js +2 -2
- package/dist/esm/arcgis-directions.entry.js +2 -2
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +2 -2
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +2 -2
- package/dist/esm/arcgis-editor.entry.js +2 -2
- package/dist/esm/arcgis-elevation-profile.entry.js +2 -2
- package/dist/esm/arcgis-feature-form.entry.js +2 -2
- package/dist/esm/arcgis-feature-table.entry.js +2 -2
- package/dist/esm/arcgis-feature-templates.entry.js +1 -1
- package/dist/esm/arcgis-feature.entry.js +2 -2
- package/dist/esm/arcgis-features.entry.js +2 -2
- package/dist/esm/arcgis-floor-filter.entry.js +2 -2
- package/dist/esm/arcgis-fullscreen.entry.js +2 -2
- package/dist/esm/arcgis-histogram-range-slider.entry.js +2 -2
- package/dist/esm/arcgis-histogram.entry.js +2 -2
- package/dist/esm/arcgis-home.entry.js +2 -2
- package/dist/esm/arcgis-layer-list.entry.js +2 -2
- package/dist/esm/arcgis-legend.entry.js +2 -2
- package/dist/esm/arcgis-line-of-sight.entry.js +2 -2
- package/dist/esm/arcgis-locate.entry.js +2 -2
- package/dist/esm/arcgis-map-components.js +1 -1
- package/dist/esm/arcgis-measurement.entry.js +2 -2
- package/dist/esm/arcgis-navigation-toggle.entry.js +2 -2
- package/dist/esm/arcgis-print.entry.js +2 -2
- package/dist/esm/arcgis-scale-bar.entry.js +2 -2
- package/dist/esm/arcgis-scale-range-slider.entry.js +2 -2
- package/dist/esm/arcgis-scene.entry.js +2 -2
- package/dist/esm/arcgis-shadow-cast.entry.js +2 -2
- package/dist/esm/arcgis-sketch.entry.js +2 -2
- package/dist/esm/arcgis-slice.entry.js +2 -2
- package/dist/esm/arcgis-slider.entry.js +2 -2
- package/dist/esm/arcgis-swipe.entry.js +2 -2
- package/dist/esm/arcgis-table-list.entry.js +2 -2
- package/dist/esm/arcgis-time-slider.entry.js +2 -2
- package/dist/esm/arcgis-track.entry.js +2 -2
- package/dist/esm/arcgis-utility-network-associations.entry.js +2 -2
- package/dist/esm/arcgis-utility-network-trace.entry.js +2 -2
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +2 -2
- package/dist/esm/arcgis-value-picker.entry.js +2 -2
- package/dist/esm/arcgis-weather.entry.js +2 -2
- package/dist/esm/arcgis-zoom.entry.js +2 -2
- package/dist/esm/{index-4775d1a3.js → index-e8599f5d.js} +1 -12
- package/dist/esm/index-eb3ead33.js +2 -10
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts +3 -1
- package/dist/types/components/arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts +3 -1
- package/dist/types/components/arcgis-attachments/arcgis-attachments.d.ts +3 -1
- package/dist/types/components/arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts +3 -1
- package/dist/types/components/arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts +3 -1
- package/dist/types/components/arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts +3 -1
- package/dist/types/components/arcgis-bookmarks/arcgis-bookmarks.d.ts +3 -1
- package/dist/types/components/arcgis-building-explorer/arcgis-building-explorer.d.ts +3 -1
- package/dist/types/components/arcgis-compass/arcgis-compass.d.ts +3 -1
- package/dist/types/components/arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts +3 -1
- package/dist/types/components/arcgis-daylight/arcgis-daylight.d.ts +3 -1
- package/dist/types/components/arcgis-directions/arcgis-directions.d.ts +3 -1
- package/dist/types/components/arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts +3 -1
- package/dist/types/components/arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts +3 -1
- package/dist/types/components/arcgis-editor/arcgis-editor.d.ts +3 -1
- package/dist/types/components/arcgis-elevation-profile/arcgis-elevation-profile.d.ts +3 -1
- package/dist/types/components/arcgis-expand/arcgis-expand.d.ts +3 -1
- package/dist/types/components/arcgis-feature/arcgis-feature.d.ts +3 -1
- package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +3 -1
- package/dist/types/components/arcgis-feature-table/arcgis-feature-table.d.ts +3 -1
- package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +3 -1
- package/dist/types/components/arcgis-features/arcgis-features.d.ts +3 -1
- package/dist/types/components/arcgis-floor-filter/arcgis-floor-filter.d.ts +3 -1
- package/dist/types/components/arcgis-fullscreen/arcgis-fullscreen.d.ts +3 -1
- package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +3 -1
- package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +3 -1
- package/dist/types/components/arcgis-home/arcgis-home.d.ts +3 -1
- package/dist/types/components/arcgis-layer-list/arcgis-layer-list.d.ts +3 -1
- package/dist/types/components/arcgis-legend/arcgis-legend.d.ts +3 -1
- package/dist/types/components/arcgis-line-of-sight/arcgis-line-of-sight.d.ts +3 -1
- package/dist/types/components/arcgis-locate/arcgis-locate.d.ts +3 -1
- package/dist/types/components/arcgis-map/arcgis-map.d.ts +3 -1
- package/dist/types/components/arcgis-measurement/arcgis-measurement.d.ts +3 -1
- package/dist/types/components/arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts +3 -1
- package/dist/types/components/arcgis-print/arcgis-print.d.ts +3 -1
- package/dist/types/components/arcgis-scale-bar/arcgis-scale-bar.d.ts +3 -1
- package/dist/types/components/arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts +3 -1
- package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +3 -1
- package/dist/types/components/arcgis-search/arcgis-search.d.ts +3 -1
- package/dist/types/components/arcgis-shadow-cast/arcgis-shadow-cast.d.ts +3 -1
- package/dist/types/components/arcgis-sketch/arcgis-sketch.d.ts +3 -1
- package/dist/types/components/arcgis-slice/arcgis-slice.d.ts +3 -1
- package/dist/types/components/arcgis-slider/arcgis-slider.d.ts +3 -1
- package/dist/types/components/arcgis-swipe/arcgis-swipe.d.ts +3 -1
- package/dist/types/components/arcgis-table-list/arcgis-table-list.d.ts +3 -1
- package/dist/types/components/arcgis-time-slider/arcgis-time-slider.d.ts +3 -1
- package/dist/types/components/arcgis-track/arcgis-track.d.ts +3 -1
- package/dist/types/components/arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts +3 -1
- package/dist/types/components/arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts +3 -1
- package/dist/types/components/arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts +3 -1
- package/dist/types/components/arcgis-value-picker/arcgis-value-picker.d.ts +3 -1
- package/dist/types/components/arcgis-weather/arcgis-weather.d.ts +3 -1
- package/dist/types/components/arcgis-zoom/arcgis-zoom.d.ts +3 -1
- package/dist/types/components.d.ts +53 -84
- package/package.json +24 -19
- package/dist/arcgis-map-components/p-081f326b.entry.js +0 -1
- package/dist/arcgis-map-components/p-377eb600.entry.js +0 -1
- package/dist/arcgis-map-components/p-3d6c62b1.entry.js +0 -1
- package/dist/arcgis-map-components/p-3e7a8f62.entry.js +0 -1
- package/dist/arcgis-map-components/p-3fb3cd98.entry.js +0 -1
- package/dist/arcgis-map-components/p-45e83d43.entry.js +0 -1
- package/dist/arcgis-map-components/p-49d72b53.entry.js +0 -1
- package/dist/arcgis-map-components/p-4dda5f02.entry.js +0 -1
- package/dist/arcgis-map-components/p-4f73ef63.entry.js +0 -1
- package/dist/arcgis-map-components/p-5aadd5fb.entry.js +0 -1
- package/dist/arcgis-map-components/p-6dc8ed90.entry.js +0 -1
- package/dist/arcgis-map-components/p-73033703.entry.js +0 -1
- package/dist/arcgis-map-components/p-89742628.entry.js +0 -1
- package/dist/arcgis-map-components/p-8d77d03b.entry.js +0 -1
- package/dist/arcgis-map-components/p-97b90887.entry.js +0 -1
- package/dist/arcgis-map-components/p-9a818285.js +0 -1
- package/dist/arcgis-map-components/p-a43644e2.entry.js +0 -1
- package/dist/arcgis-map-components/p-aa363618.entry.js +0 -1
- package/dist/arcgis-map-components/p-c0a17432.entry.js +0 -1
- package/dist/arcgis-map-components/p-c76deca3.entry.js +0 -1
- package/dist/arcgis-map-components/p-d0850132.entry.js +0 -1
- package/dist/arcgis-map-components/p-d171485a.entry.js +0 -1
- package/dist/arcgis-map-components/p-e06967c1.entry.js +0 -1
- package/dist/arcgis-map-components/p-e42630fb.entry.js +0 -1
- package/dist/arcgis-map-components/p-ef6c0cb0.entry.js +0 -1
- package/dist/arcgis-map-components/p-f1abe10c.entry.js +0 -1
- package/dist/arcgis-map-components/p-f6819d2e.entry.js +0 -1
- package/dist/arcgis-map-components/p-f7e2f919.entry.js +0 -1
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +0 -281
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +0 -100
- package/dist/components/arcgis-directional-pad.d.ts +0 -11
- package/dist/components/arcgis-directional-pad.js +0 -126
- package/dist/esm/arcgis-basemap-gallery_3.entry.js +0 -275
- package/dist/esm/arcgis-directional-pad.entry.js +0 -96
- package/dist/types/components/arcgis-directional-pad/arcgis-directional-pad.d.ts +0 -27
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface ArcgisDirectionalPad extends Components.ArcgisDirectionalPad, HTMLElement {}
|
|
4
|
-
export const ArcgisDirectionalPad: {
|
|
5
|
-
prototype: ArcgisDirectionalPad;
|
|
6
|
-
new (): ArcgisDirectionalPad;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { l as newWidgetsDirectionalPad } from './index2.js';
|
|
3
|
-
import { u as updateForView, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
|
|
4
|
-
import { d as defineCustomElement$2 } from './arcgis-expand2.js';
|
|
5
|
-
|
|
6
|
-
const arcgisDirectionalPadCss = "arcgis-directional-pad{}";
|
|
7
|
-
|
|
8
|
-
const ArcgisDirectionalPad$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
13
|
-
this.referenceElement = undefined;
|
|
14
|
-
this.visualScale = undefined;
|
|
15
|
-
this.view = undefined;
|
|
16
|
-
this.position = "bottom-left";
|
|
17
|
-
this.expandable = false;
|
|
18
|
-
this.widget = undefined;
|
|
19
|
-
}
|
|
20
|
-
//--------------------------------------------------------------------------
|
|
21
|
-
//
|
|
22
|
-
// Watchers
|
|
23
|
-
//
|
|
24
|
-
//--------------------------------------------------------------------------
|
|
25
|
-
positionWatcher(newValue) {
|
|
26
|
-
if (newValue !== undefined && this.widget) {
|
|
27
|
-
if (typeof this.view !== "string") {
|
|
28
|
-
this.view.ui.move(this.childElem, newValue);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
visualScaleWatcher(newValue) {
|
|
33
|
-
if (newValue !== undefined && this.widget) {
|
|
34
|
-
this.widget.visualScale = newValue;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
referenceElementWatcher(newValue) {
|
|
38
|
-
if (typeof newValue === "string") {
|
|
39
|
-
updateForView(newValue).then((view) => {
|
|
40
|
-
this.widget.view = view;
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
else if (newValue !== undefined && this.widget) {
|
|
44
|
-
this.widget.view = newValue.view;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
viewWatcher(newValue) {
|
|
48
|
-
if (newValue !== undefined && this.widget) {
|
|
49
|
-
this.widget.view = newValue;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
//--------------------------------------------------------------------------
|
|
53
|
-
//
|
|
54
|
-
// Lifecycle
|
|
55
|
-
//
|
|
56
|
-
//--------------------------------------------------------------------------
|
|
57
|
-
async componentDidLoad() {
|
|
58
|
-
const params = this._createParams();
|
|
59
|
-
const widget = await newWidgetsDirectionalPad(params);
|
|
60
|
-
this.widget = widget;
|
|
61
|
-
this.widgetReady.emit(true);
|
|
62
|
-
checkForView(this);
|
|
63
|
-
}
|
|
64
|
-
disconnectedCallback() {
|
|
65
|
-
onDisconnectedHelper(this);
|
|
66
|
-
}
|
|
67
|
-
render() {
|
|
68
|
-
if (this.expandable) {
|
|
69
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
70
|
-
}
|
|
71
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
72
|
-
}
|
|
73
|
-
//--------------------------------------------------------------------------
|
|
74
|
-
//
|
|
75
|
-
// Private Methods
|
|
76
|
-
//
|
|
77
|
-
//--------------------------------------------------------------------------
|
|
78
|
-
_createParams() {
|
|
79
|
-
const params = {
|
|
80
|
-
container: this.childElem
|
|
81
|
-
};
|
|
82
|
-
if (this.visualScale !== undefined) {
|
|
83
|
-
params.visualScale = this.visualScale;
|
|
84
|
-
}
|
|
85
|
-
return params;
|
|
86
|
-
}
|
|
87
|
-
get el() { return this; }
|
|
88
|
-
static get watchers() { return {
|
|
89
|
-
"position": ["positionWatcher"],
|
|
90
|
-
"visualScale": ["visualScaleWatcher"],
|
|
91
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
92
|
-
"view": ["viewWatcher"]
|
|
93
|
-
}; }
|
|
94
|
-
static get style() { return arcgisDirectionalPadCss; }
|
|
95
|
-
}, [0, "arcgis-directional-pad", {
|
|
96
|
-
"referenceElement": [1, "reference-element"],
|
|
97
|
-
"visualScale": [1, "visual-scale"],
|
|
98
|
-
"view": [16],
|
|
99
|
-
"position": [1],
|
|
100
|
-
"expandable": [4],
|
|
101
|
-
"widget": [1040]
|
|
102
|
-
}]);
|
|
103
|
-
function defineCustomElement$1() {
|
|
104
|
-
if (typeof customElements === "undefined") {
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
const components = ["arcgis-directional-pad", "arcgis-expand"];
|
|
108
|
-
components.forEach(tagName => { switch (tagName) {
|
|
109
|
-
case "arcgis-directional-pad":
|
|
110
|
-
if (!customElements.get(tagName)) {
|
|
111
|
-
customElements.define(tagName, ArcgisDirectionalPad$1);
|
|
112
|
-
}
|
|
113
|
-
break;
|
|
114
|
-
case "arcgis-expand":
|
|
115
|
-
if (!customElements.get(tagName)) {
|
|
116
|
-
defineCustomElement$2();
|
|
117
|
-
}
|
|
118
|
-
break;
|
|
119
|
-
} });
|
|
120
|
-
}
|
|
121
|
-
defineCustomElement$1();
|
|
122
|
-
|
|
123
|
-
const ArcgisDirectionalPad = ArcgisDirectionalPad$1;
|
|
124
|
-
const defineCustomElement = defineCustomElement$1;
|
|
125
|
-
|
|
126
|
-
export { ArcgisDirectionalPad, defineCustomElement };
|
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
|
|
2
|
-
import { n as newWidgetsBasemapGallery, i as importCoreReactiveUtils, a as newWidgetsExpand, b as importConfig, c as newWebMap, d as newViewsMapView } from './index-4775d1a3.js';
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
import { d as disableNavigation } from './mapping-utils-26beb904.js';
|
|
6
|
-
|
|
7
|
-
const arcgisBasemapGalleryCss = "";
|
|
8
|
-
|
|
9
|
-
const ArcgisBasemapGallery = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
registerInstance(this, hostRef);
|
|
12
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
13
|
-
this.referenceElement = undefined;
|
|
14
|
-
this.activeBasemap = undefined;
|
|
15
|
-
this.position = "bottom-left";
|
|
16
|
-
this.expandable = false;
|
|
17
|
-
this.source = undefined;
|
|
18
|
-
this.view = undefined;
|
|
19
|
-
this.widget = undefined;
|
|
20
|
-
}
|
|
21
|
-
//--------------------------------------------------------------------------
|
|
22
|
-
//
|
|
23
|
-
// Watchers
|
|
24
|
-
//
|
|
25
|
-
//--------------------------------------------------------------------------
|
|
26
|
-
positionWatcher(newValue) {
|
|
27
|
-
if (newValue !== undefined && this.widget) {
|
|
28
|
-
if (typeof this.view !== "string") {
|
|
29
|
-
this.view.ui.move(this.childElem, newValue);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
referenceElementWatcher(newValue) {
|
|
34
|
-
referenceElementHelper(this, newValue);
|
|
35
|
-
}
|
|
36
|
-
viewWatcher(newValue) {
|
|
37
|
-
if (newValue !== undefined && this.widget) {
|
|
38
|
-
this.widget.view = newValue;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
//--------------------------------------------------------------------------
|
|
42
|
-
//
|
|
43
|
-
// Lifecycle
|
|
44
|
-
//
|
|
45
|
-
//--------------------------------------------------------------------------
|
|
46
|
-
async componentDidLoad() {
|
|
47
|
-
const params = this._createParams();
|
|
48
|
-
const widget = await newWidgetsBasemapGallery(params);
|
|
49
|
-
this.widget = widget;
|
|
50
|
-
this.widget.when(() => {
|
|
51
|
-
this.source = this.widget.source;
|
|
52
|
-
});
|
|
53
|
-
await this._addWatchers();
|
|
54
|
-
this.widgetReady.emit(true);
|
|
55
|
-
checkForView(this);
|
|
56
|
-
}
|
|
57
|
-
disconnectedCallback() {
|
|
58
|
-
onDisconnectedHelper(this);
|
|
59
|
-
}
|
|
60
|
-
render() {
|
|
61
|
-
if (this.expandable) {
|
|
62
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
63
|
-
}
|
|
64
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
65
|
-
}
|
|
66
|
-
//--------------------------------------------------------------------------
|
|
67
|
-
//
|
|
68
|
-
// Private Interal Methods
|
|
69
|
-
//
|
|
70
|
-
//--------------------------------------------------------------------------
|
|
71
|
-
async _addWatchers() {
|
|
72
|
-
const { watch } = await importCoreReactiveUtils();
|
|
73
|
-
watch(() => this.widget.source, () => (this.source = this.widget.source));
|
|
74
|
-
watch(() => this.widget.activeBasemap, (basemap) => (this.activeBasemap = basemap));
|
|
75
|
-
}
|
|
76
|
-
_createParams() {
|
|
77
|
-
const params = {
|
|
78
|
-
container: this.childElem
|
|
79
|
-
};
|
|
80
|
-
if (this.view) {
|
|
81
|
-
params.view = this.view;
|
|
82
|
-
}
|
|
83
|
-
return params;
|
|
84
|
-
}
|
|
85
|
-
get el() { return getElement(this); }
|
|
86
|
-
static get watchers() { return {
|
|
87
|
-
"position": ["positionWatcher"],
|
|
88
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
89
|
-
"view": ["viewWatcher"]
|
|
90
|
-
}; }
|
|
91
|
-
};
|
|
92
|
-
ArcgisBasemapGallery.style = arcgisBasemapGalleryCss;
|
|
93
|
-
|
|
94
|
-
const arcgisExpandCss = "arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";
|
|
95
|
-
|
|
96
|
-
const ArcgisExpand = class {
|
|
97
|
-
constructor(hostRef) {
|
|
98
|
-
registerInstance(this, hostRef);
|
|
99
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
100
|
-
this.referenceElement = undefined;
|
|
101
|
-
this.position = "top-right";
|
|
102
|
-
this.view = undefined;
|
|
103
|
-
this.widget = undefined;
|
|
104
|
-
}
|
|
105
|
-
//--------------------------------------------------------------------------
|
|
106
|
-
//
|
|
107
|
-
// Watchers
|
|
108
|
-
//
|
|
109
|
-
//--------------------------------------------------------------------------
|
|
110
|
-
positionWatcher(newValue) {
|
|
111
|
-
if (newValue !== undefined && this.widget) {
|
|
112
|
-
if (typeof this.view !== "string") {
|
|
113
|
-
this.view.ui.move(this.childElem, newValue);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
referenceElementWatcher(newValue) {
|
|
118
|
-
referenceElementHelper(this, newValue);
|
|
119
|
-
}
|
|
120
|
-
viewWatcher(newValue) {
|
|
121
|
-
if (newValue !== undefined && this.widget) {
|
|
122
|
-
this.widget.view = newValue;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
//--------------------------------------------------------------------------
|
|
126
|
-
//
|
|
127
|
-
// Lifecycle
|
|
128
|
-
//
|
|
129
|
-
//--------------------------------------------------------------------------
|
|
130
|
-
async componentDidLoad() {
|
|
131
|
-
const widget = await newWidgetsExpand({
|
|
132
|
-
container: this.childElem
|
|
133
|
-
});
|
|
134
|
-
this.widget = widget;
|
|
135
|
-
if (this.view) {
|
|
136
|
-
this.widget.view = this.view;
|
|
137
|
-
}
|
|
138
|
-
this._checkForView();
|
|
139
|
-
}
|
|
140
|
-
disconnectedCallback() {
|
|
141
|
-
onDisconnectedHelper(this);
|
|
142
|
-
}
|
|
143
|
-
render() {
|
|
144
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
145
|
-
}
|
|
146
|
-
//--------------------------------------------------------------------------
|
|
147
|
-
//
|
|
148
|
-
// Private Internal Methods
|
|
149
|
-
//
|
|
150
|
-
//--------------------------------------------------------------------------
|
|
151
|
-
_checkForView() {
|
|
152
|
-
const viewRef = this.el.closest("arcgis-map") || this.el.closest("arcgis-scene");
|
|
153
|
-
if (viewRef?.view) {
|
|
154
|
-
this.view = viewRef.view;
|
|
155
|
-
this.view.ui.add(this.childElem, this.position);
|
|
156
|
-
this.widgetReady.emit(true);
|
|
157
|
-
}
|
|
158
|
-
else if (viewRef) {
|
|
159
|
-
const handler = () => {
|
|
160
|
-
this.view = viewRef.view;
|
|
161
|
-
this.view.ui.add(this.childElem, this.position);
|
|
162
|
-
this.widgetReady.emit(true);
|
|
163
|
-
};
|
|
164
|
-
viewRef.addEventListener("viewReady", handler, false);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
get el() { return getElement(this); }
|
|
168
|
-
static get watchers() { return {
|
|
169
|
-
"position": ["positionWatcher"],
|
|
170
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
171
|
-
"view": ["viewWatcher"]
|
|
172
|
-
}; }
|
|
173
|
-
};
|
|
174
|
-
ArcgisExpand.style = arcgisExpandCss;
|
|
175
|
-
|
|
176
|
-
const arcgisMapCss = ".arcgis-map{padding:0;margin:0;height:100%;width:100%}";
|
|
177
|
-
|
|
178
|
-
const ArcgisMap = class {
|
|
179
|
-
constructor(hostRef) {
|
|
180
|
-
registerInstance(this, hostRef);
|
|
181
|
-
this.viewReady = createEvent(this, "viewReady", 7);
|
|
182
|
-
this.apiKey = undefined;
|
|
183
|
-
this.basemap = undefined;
|
|
184
|
-
this.disableNavigation = false;
|
|
185
|
-
this.itemId = undefined;
|
|
186
|
-
this.zoom = undefined;
|
|
187
|
-
this.center = undefined;
|
|
188
|
-
this.view = undefined;
|
|
189
|
-
}
|
|
190
|
-
//--------------------------------------------------------------------------
|
|
191
|
-
//
|
|
192
|
-
// Watchers
|
|
193
|
-
//
|
|
194
|
-
//--------------------------------------------------------------------------
|
|
195
|
-
apiKeyWatcher(value) {
|
|
196
|
-
this.config.apiKey = value;
|
|
197
|
-
}
|
|
198
|
-
itemIdWatcher(value, old) {
|
|
199
|
-
if (value && value !== old) {
|
|
200
|
-
this.loadMap();
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
//--------------------------------------------------------------------------
|
|
204
|
-
//
|
|
205
|
-
// Lifecycle
|
|
206
|
-
//
|
|
207
|
-
//--------------------------------------------------------------------------
|
|
208
|
-
async componentWillLoad() {
|
|
209
|
-
this.config = await importConfig();
|
|
210
|
-
if (this.apiKey) {
|
|
211
|
-
this.config.apiKey = this.apiKey;
|
|
212
|
-
}
|
|
213
|
-
await this.loadMap();
|
|
214
|
-
}
|
|
215
|
-
componentDidRender() {
|
|
216
|
-
if (this.view) {
|
|
217
|
-
this.view.container = this.el;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
render() {
|
|
221
|
-
return h("div", { class: "arcgis-map", ref: (el) => (this.el = el) });
|
|
222
|
-
}
|
|
223
|
-
//--------------------------------------------------------------------------
|
|
224
|
-
//
|
|
225
|
-
// Private Methods
|
|
226
|
-
//
|
|
227
|
-
//--------------------------------------------------------------------------
|
|
228
|
-
async loadMap() {
|
|
229
|
-
const mapParams = {};
|
|
230
|
-
if (this.itemId) {
|
|
231
|
-
mapParams.portalItem = {
|
|
232
|
-
id: this.itemId
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
if (this.basemap) {
|
|
236
|
-
mapParams.basemap = this.basemap;
|
|
237
|
-
}
|
|
238
|
-
const map = await newWebMap(mapParams);
|
|
239
|
-
const params = {};
|
|
240
|
-
if (this.zoom) {
|
|
241
|
-
params.zoom = this.zoom;
|
|
242
|
-
}
|
|
243
|
-
if (this.center) {
|
|
244
|
-
if (typeof this.center === "string") {
|
|
245
|
-
params.center = this.center.split(",").map((x) => Number(x));
|
|
246
|
-
}
|
|
247
|
-
else {
|
|
248
|
-
params.center = this.center;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
const view = await newViewsMapView({
|
|
252
|
-
map,
|
|
253
|
-
...params
|
|
254
|
-
});
|
|
255
|
-
const { watch } = await importCoreReactiveUtils();
|
|
256
|
-
this.view = view;
|
|
257
|
-
watch(() => this.view.center, (center) => {
|
|
258
|
-
const value = `${center.longitude},${center.latitude}`;
|
|
259
|
-
this.center = value;
|
|
260
|
-
});
|
|
261
|
-
watch(() => this.view.zoom, (value) => (this.zoom = value));
|
|
262
|
-
if (this.disableNavigation) {
|
|
263
|
-
disableNavigation(this.view);
|
|
264
|
-
}
|
|
265
|
-
this.viewReady.emit(true);
|
|
266
|
-
}
|
|
267
|
-
get hostElem() { return getElement(this); }
|
|
268
|
-
static get watchers() { return {
|
|
269
|
-
"apiKey": ["apiKeyWatcher"],
|
|
270
|
-
"itemId": ["itemIdWatcher"]
|
|
271
|
-
}; }
|
|
272
|
-
};
|
|
273
|
-
ArcgisMap.style = arcgisMapCss;
|
|
274
|
-
|
|
275
|
-
export { ArcgisBasemapGallery as arcgis_basemap_gallery, ArcgisExpand as arcgis_expand, ArcgisMap as arcgis_map };
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
|
|
2
|
-
import { q as newWidgetsDirectionalPad } from './index-4775d1a3.js';
|
|
3
|
-
import { u as updateForView, c as checkForView } from './component-utils-2ebdae59.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisDirectionalPadCss = "arcgis-directional-pad{}";
|
|
7
|
-
|
|
8
|
-
const ArcgisDirectionalPad = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
-
this.referenceElement = undefined;
|
|
13
|
-
this.visualScale = undefined;
|
|
14
|
-
this.view = undefined;
|
|
15
|
-
this.position = "bottom-left";
|
|
16
|
-
this.expandable = false;
|
|
17
|
-
this.widget = undefined;
|
|
18
|
-
}
|
|
19
|
-
//--------------------------------------------------------------------------
|
|
20
|
-
//
|
|
21
|
-
// Watchers
|
|
22
|
-
//
|
|
23
|
-
//--------------------------------------------------------------------------
|
|
24
|
-
positionWatcher(newValue) {
|
|
25
|
-
if (newValue !== undefined && this.widget) {
|
|
26
|
-
if (typeof this.view !== "string") {
|
|
27
|
-
this.view.ui.move(this.childElem, newValue);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
visualScaleWatcher(newValue) {
|
|
32
|
-
if (newValue !== undefined && this.widget) {
|
|
33
|
-
this.widget.visualScale = newValue;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
referenceElementWatcher(newValue) {
|
|
37
|
-
if (typeof newValue === "string") {
|
|
38
|
-
updateForView(newValue).then((view) => {
|
|
39
|
-
this.widget.view = view;
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
else if (newValue !== undefined && this.widget) {
|
|
43
|
-
this.widget.view = newValue.view;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
viewWatcher(newValue) {
|
|
47
|
-
if (newValue !== undefined && this.widget) {
|
|
48
|
-
this.widget.view = newValue;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
//--------------------------------------------------------------------------
|
|
52
|
-
//
|
|
53
|
-
// Lifecycle
|
|
54
|
-
//
|
|
55
|
-
//--------------------------------------------------------------------------
|
|
56
|
-
async componentDidLoad() {
|
|
57
|
-
const params = this._createParams();
|
|
58
|
-
const widget = await newWidgetsDirectionalPad(params);
|
|
59
|
-
this.widget = widget;
|
|
60
|
-
this.widgetReady.emit(true);
|
|
61
|
-
checkForView(this);
|
|
62
|
-
}
|
|
63
|
-
disconnectedCallback() {
|
|
64
|
-
onDisconnectedHelper(this);
|
|
65
|
-
}
|
|
66
|
-
render() {
|
|
67
|
-
if (this.expandable) {
|
|
68
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
69
|
-
}
|
|
70
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
71
|
-
}
|
|
72
|
-
//--------------------------------------------------------------------------
|
|
73
|
-
//
|
|
74
|
-
// Private Methods
|
|
75
|
-
//
|
|
76
|
-
//--------------------------------------------------------------------------
|
|
77
|
-
_createParams() {
|
|
78
|
-
const params = {
|
|
79
|
-
container: this.childElem
|
|
80
|
-
};
|
|
81
|
-
if (this.visualScale !== undefined) {
|
|
82
|
-
params.visualScale = this.visualScale;
|
|
83
|
-
}
|
|
84
|
-
return params;
|
|
85
|
-
}
|
|
86
|
-
get el() { return getElement(this); }
|
|
87
|
-
static get watchers() { return {
|
|
88
|
-
"position": ["positionWatcher"],
|
|
89
|
-
"visualScale": ["visualScaleWatcher"],
|
|
90
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
91
|
-
"view": ["viewWatcher"]
|
|
92
|
-
}; }
|
|
93
|
-
};
|
|
94
|
-
ArcgisDirectionalPad.style = arcgisDirectionalPadCss;
|
|
95
|
-
|
|
96
|
-
export { ArcgisDirectionalPad as arcgis_directional_pad };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import type DirectionalPad from "@arcgis/core/widgets/DirectionalPad";
|
|
3
|
-
import { VNode } from "../../stencil-public-runtime";
|
|
4
|
-
import { ArcgisReferenceElement } from "../../utils/component-utils";
|
|
5
|
-
import { ExpandableComponent } from "../../utils/expandable";
|
|
6
|
-
import { ArcGISMapView } from "../types";
|
|
7
|
-
export type DirectionalPadWidget = InstanceType<typeof DirectionalPad>;
|
|
8
|
-
export declare class ArcgisDirectionalPad implements ExpandableComponent {
|
|
9
|
-
el: HTMLDivElement;
|
|
10
|
-
childElem: HTMLDivElement;
|
|
11
|
-
expandElem: HTMLArcgisExpandElement;
|
|
12
|
-
referenceElement: ArcgisReferenceElement | string;
|
|
13
|
-
visualScale: DirectionalPadWidget["visualScale"];
|
|
14
|
-
view: ArcGISMapView;
|
|
15
|
-
position: string;
|
|
16
|
-
expandable: boolean;
|
|
17
|
-
widget: DirectionalPadWidget;
|
|
18
|
-
widgetReady: EventEmitter<boolean>;
|
|
19
|
-
positionWatcher(newValue: string): void;
|
|
20
|
-
visualScaleWatcher(newValue: DirectionalPadWidget["visualScale"]): void;
|
|
21
|
-
referenceElementWatcher(newValue: ArcgisReferenceElement | string): void;
|
|
22
|
-
viewWatcher(newValue: ArcGISMapView): void;
|
|
23
|
-
componentDidLoad(): Promise<void>;
|
|
24
|
-
disconnectedCallback(): void;
|
|
25
|
-
render(): VNode;
|
|
26
|
-
private _createParams;
|
|
27
|
-
}
|