@arcgis/map-components 4.29.0-beta.3 → 4.29.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/{readme.md → README.md} +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
- package/dist/arcgis-map-components/p-0076e605.entry.js +1 -0
- package/dist/arcgis-map-components/p-009f057c.entry.js +1 -0
- package/dist/arcgis-map-components/p-0127ffba.entry.js +1 -0
- package/dist/arcgis-map-components/{p-620959fc.js → p-01e1a2e1.js} +1 -1
- package/dist/arcgis-map-components/p-0bb43cd0.entry.js +1 -0
- package/dist/arcgis-map-components/p-0d1cd2e8.entry.js +1 -0
- package/dist/arcgis-map-components/p-0f14ea76.entry.js +1 -0
- package/dist/arcgis-map-components/p-0fcaa85d.entry.js +1 -0
- package/dist/arcgis-map-components/p-0fdf755a.entry.js +1 -0
- package/dist/arcgis-map-components/p-10572d2b.entry.js +1 -0
- package/dist/arcgis-map-components/p-12a52958.entry.js +1 -0
- package/dist/arcgis-map-components/p-149ebf01.entry.js +1 -0
- package/dist/arcgis-map-components/p-20df3c4e.entry.js +1 -0
- package/dist/arcgis-map-components/p-24a675dd.entry.js +1 -0
- package/dist/arcgis-map-components/p-2f2e72ee.entry.js +1 -0
- package/dist/arcgis-map-components/p-300406b2.entry.js +1 -0
- package/dist/arcgis-map-components/p-362072b4.entry.js +1 -0
- package/dist/arcgis-map-components/p-3bff45a4.entry.js +1 -0
- package/dist/arcgis-map-components/p-4677414a.entry.js +1 -0
- package/dist/arcgis-map-components/p-4c57ff19.entry.js +1 -0
- package/dist/arcgis-map-components/p-4da9380f.entry.js +1 -0
- package/dist/arcgis-map-components/p-4e46d4c9.entry.js +1 -0
- package/dist/arcgis-map-components/p-5128f95d.entry.js +1 -0
- package/dist/arcgis-map-components/p-5bf9cd80.entry.js +1 -0
- package/dist/arcgis-map-components/p-5fc3de02.entry.js +1 -0
- package/dist/arcgis-map-components/p-61a2aad6.entry.js +1 -0
- package/dist/arcgis-map-components/p-6d23feca.entry.js +1 -0
- package/dist/arcgis-map-components/p-7abd0a2e.js +1 -0
- package/dist/arcgis-map-components/p-8691e75d.entry.js +1 -0
- package/dist/arcgis-map-components/p-88368469.entry.js +1 -0
- package/dist/arcgis-map-components/p-89d6dbd8.entry.js +1 -0
- package/dist/arcgis-map-components/p-8c600310.entry.js +1 -0
- package/dist/arcgis-map-components/p-96b91396.entry.js +1 -0
- package/dist/arcgis-map-components/p-a3f21e98.entry.js +1 -0
- package/dist/arcgis-map-components/p-a584465f.entry.js +1 -0
- package/dist/arcgis-map-components/p-ab8aabdd.entry.js +1 -0
- package/dist/arcgis-map-components/p-ab913166.entry.js +1 -0
- package/dist/arcgis-map-components/p-ac581e44.entry.js +1 -0
- package/dist/arcgis-map-components/p-af78f7b8.js +1 -0
- package/dist/arcgis-map-components/p-b1269a65.entry.js +1 -0
- package/dist/arcgis-map-components/p-b2eba29e.entry.js +1 -0
- package/dist/arcgis-map-components/p-b9195a9c.entry.js +1 -0
- package/dist/arcgis-map-components/p-b9c68beb.entry.js +1 -0
- package/dist/arcgis-map-components/p-be3c8618.entry.js +1 -0
- package/dist/arcgis-map-components/p-ccc17e7b.entry.js +1 -0
- package/dist/arcgis-map-components/p-ccfa2c32.entry.js +1 -0
- package/dist/arcgis-map-components/p-d59a24e9.entry.js +1 -0
- package/dist/arcgis-map-components/p-da88cac1.entry.js +1 -0
- package/dist/arcgis-map-components/p-e1665f38.entry.js +1 -0
- package/dist/arcgis-map-components/p-e6f8ae2b.entry.js +1 -0
- package/dist/arcgis-map-components/p-e9c3edb0.entry.js +1 -0
- package/dist/arcgis-map-components/p-ed9f6cfa.js +2 -0
- package/dist/arcgis-map-components/p-f55b57a8.entry.js +1 -0
- package/dist/arcgis-map-components/p-f6a6f495.entry.js +1 -0
- package/dist/arcgis-map-components/p-fa328109.entry.js +1 -0
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-attachments.cjs.entry.js +6 -5
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +17 -16
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +11 -10
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-compass.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-daylight.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-directions.cjs.entry.js +22 -10
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-editor.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-expand_4.cjs.entry.js +334 -554
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +5 -4
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +314 -0
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-feature.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-features.cjs.entry.js +13 -12
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-histogram.cjs.entry.js +5 -4
- package/dist/cjs/arcgis-home.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-legend.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-locate.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-map-components.cjs.js +2 -2
- package/dist/cjs/arcgis-measurement.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-print.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-search.cjs.entry.js +277 -0
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-sketch.cjs.entry.js +13 -12
- package/dist/cjs/arcgis-slice.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-slider.cjs.entry.js +23 -22
- package/dist/cjs/arcgis-swipe.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-table-list.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-track.cjs.entry.js +9 -8
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +13 -12
- package/dist/cjs/arcgis-weather.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-zoom.cjs.entry.js +7 -6
- package/dist/cjs/{component-utils-cbd20e88.js → component-utils-54ae1d40.js} +29 -3
- package/dist/cjs/{disconnected-306cb220.js → disconnected-86c5cc08.js} +11 -3
- package/dist/cjs/{index-6b51d5a0.js → index-b9b7643c.js} +385 -8
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/components/arcgis-area-measurement-2d.js +8 -6
- package/dist/components/arcgis-area-measurement-3d.js +6 -4
- package/dist/components/arcgis-attachments.js +6 -4
- package/dist/components/arcgis-basemap-gallery.js +8 -6
- package/dist/components/arcgis-basemap-layer-list.js +16 -14
- package/dist/components/arcgis-basemap-toggle.js +10 -8
- package/dist/components/arcgis-bookmarks.js +8 -6
- package/dist/components/arcgis-building-explorer.js +6 -4
- package/dist/components/arcgis-compass.js +5 -3
- package/dist/components/arcgis-coordinate-conversion.js +8 -6
- package/dist/components/arcgis-daylight.js +6 -4
- package/dist/components/arcgis-directions.js +21 -8
- package/dist/components/arcgis-directline-measurement-3d.js +8 -6
- package/dist/components/arcgis-distance-measurement-2d.js +6 -4
- package/dist/components/arcgis-editor.js +8 -6
- package/dist/components/arcgis-elevation-profile.js +6 -4
- package/dist/components/arcgis-expand.js +1 -1
- package/dist/components/arcgis-feature-form.js +3 -2
- package/dist/components/arcgis-feature-table.js +22 -14
- package/dist/components/arcgis-feature-templates.js +6 -4
- package/dist/components/arcgis-feature.js +6 -4
- package/dist/components/arcgis-features.js +12 -10
- package/dist/components/arcgis-floor-filter.js +6 -4
- package/dist/components/arcgis-fullscreen.js +5 -3
- package/dist/components/arcgis-histogram-range-slider.js +6 -4
- package/dist/components/arcgis-histogram.js +3 -2
- package/dist/components/arcgis-home.js +5 -3
- package/dist/components/arcgis-layer-list.js +8 -6
- package/dist/components/arcgis-legend.js +6 -4
- package/dist/components/arcgis-line-of-sight.js +8 -6
- package/dist/components/arcgis-locate.js +5 -3
- package/dist/components/arcgis-map.js +107 -35
- package/dist/components/arcgis-measurement.js +8 -6
- package/dist/components/arcgis-navigation-toggle.js +5 -3
- package/dist/components/arcgis-placement.d.ts +11 -0
- package/dist/components/arcgis-placement.js +68 -0
- package/dist/components/arcgis-print.js +8 -6
- package/dist/components/arcgis-scale-bar.js +6 -4
- package/dist/components/arcgis-scale-range-slider.js +6 -4
- package/dist/components/arcgis-scene.js +106 -29
- package/dist/components/arcgis-search.js +20 -18
- package/dist/components/arcgis-shadow-cast.js +6 -4
- package/dist/components/arcgis-sketch.js +12 -10
- package/dist/components/arcgis-slice.js +8 -6
- package/dist/components/arcgis-slider.js +22 -20
- package/dist/components/arcgis-swipe.js +5 -3
- package/dist/components/arcgis-table-list.js +8 -6
- package/dist/components/arcgis-time-slider.js +8 -6
- package/dist/components/arcgis-track.js +7 -5
- package/dist/components/arcgis-utility-network-associations.js +6 -4
- package/dist/components/arcgis-utility-network-trace.js +6 -4
- package/dist/components/arcgis-utility-network-validate-topology.js +6 -4
- package/dist/components/arcgis-value-picker.js +12 -10
- package/dist/components/arcgis-weather.js +6 -4
- package/dist/components/arcgis-zoom.js +5 -3
- package/dist/components/component-utils.js +119 -0
- package/dist/components/disconnected.js +11 -97
- package/dist/components/{arcgis-expand2.js → expand.js} +6 -3
- package/dist/components/index.d.ts +54 -53
- package/dist/components/index.js +1 -0
- package/dist/esm/arcgis-area-measurement-2d.entry.js +9 -8
- package/dist/esm/arcgis-area-measurement-3d.entry.js +7 -6
- package/dist/esm/arcgis-attachments.entry.js +6 -5
- package/dist/esm/arcgis-basemap-gallery.entry.js +9 -8
- package/dist/esm/arcgis-basemap-layer-list.entry.js +17 -16
- package/dist/esm/arcgis-basemap-toggle.entry.js +11 -10
- package/dist/esm/arcgis-bookmarks.entry.js +9 -8
- package/dist/esm/arcgis-building-explorer.entry.js +7 -6
- package/dist/esm/arcgis-compass.entry.js +7 -6
- package/dist/esm/arcgis-coordinate-conversion.entry.js +9 -8
- package/dist/esm/arcgis-daylight.entry.js +7 -6
- package/dist/esm/arcgis-directions.entry.js +22 -10
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +9 -8
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +7 -6
- package/dist/esm/arcgis-editor.entry.js +9 -8
- package/dist/esm/arcgis-elevation-profile.entry.js +7 -6
- package/dist/esm/arcgis-expand_4.entry.js +333 -553
- package/dist/esm/arcgis-feature-form.entry.js +5 -4
- package/dist/esm/arcgis-feature-table.entry.js +310 -0
- package/dist/esm/arcgis-feature-templates.entry.js +7 -6
- package/dist/esm/arcgis-feature.entry.js +7 -6
- package/dist/esm/arcgis-features.entry.js +13 -12
- package/dist/esm/arcgis-floor-filter.entry.js +7 -6
- package/dist/esm/arcgis-fullscreen.entry.js +7 -6
- package/dist/esm/arcgis-histogram-range-slider.entry.js +7 -6
- package/dist/esm/arcgis-histogram.entry.js +5 -4
- package/dist/esm/arcgis-home.entry.js +7 -6
- package/dist/esm/arcgis-layer-list.entry.js +9 -8
- package/dist/esm/arcgis-legend.entry.js +7 -6
- package/dist/esm/arcgis-line-of-sight.entry.js +9 -8
- package/dist/esm/arcgis-locate.entry.js +7 -6
- package/dist/esm/arcgis-map-components.js +3 -3
- package/dist/esm/arcgis-measurement.entry.js +9 -8
- package/dist/esm/arcgis-navigation-toggle.entry.js +7 -6
- package/dist/esm/arcgis-print.entry.js +9 -8
- package/dist/esm/arcgis-scale-bar.entry.js +7 -6
- package/dist/esm/arcgis-scale-range-slider.entry.js +7 -6
- package/dist/esm/arcgis-search.entry.js +273 -0
- package/dist/esm/arcgis-shadow-cast.entry.js +7 -6
- package/dist/esm/arcgis-sketch.entry.js +13 -12
- package/dist/esm/arcgis-slice.entry.js +9 -8
- package/dist/esm/arcgis-slider.entry.js +23 -22
- package/dist/esm/arcgis-swipe.entry.js +7 -6
- package/dist/esm/arcgis-table-list.entry.js +9 -8
- package/dist/esm/arcgis-time-slider.entry.js +9 -8
- package/dist/esm/arcgis-track.entry.js +9 -8
- package/dist/esm/arcgis-utility-network-associations.entry.js +7 -6
- package/dist/esm/arcgis-utility-network-trace.entry.js +7 -6
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +7 -6
- package/dist/esm/arcgis-value-picker.entry.js +13 -12
- package/dist/esm/arcgis-weather.entry.js +7 -6
- package/dist/esm/arcgis-zoom.entry.js +7 -6
- package/dist/esm/{component-utils-2ebdae59.js → component-utils-6b40f5ab.js} +28 -4
- package/dist/esm/{disconnected-bc5fc8bc.js → disconnected-dc405cac.js} +11 -3
- package/dist/esm/{index-c227d296.js → index-307928e0.js} +1 -1
- package/dist/esm/{index-eb3ead33.js → index-d73b34b5.js} +385 -8
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/{arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts → area-measurement-2d/area-measurement-2d.d.ts} +1 -0
- package/dist/types/components/{arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts → area-measurement-3d/area-measurement-3d.d.ts} +1 -0
- package/dist/types/components/{arcgis-attachments/arcgis-attachments.d.ts → attachments/attachments.d.ts} +1 -0
- package/dist/types/components/{arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts → basemap-gallery/basemap-gallery.d.ts} +1 -0
- package/dist/types/components/{arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts → basemap-layer-list/basemap-layer-list.d.ts} +1 -0
- package/dist/types/components/{arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts → basemap-toggle/basemap-toggle.d.ts} +1 -0
- package/dist/types/components/{arcgis-bookmarks/arcgis-bookmarks.d.ts → bookmarks/bookmarks.d.ts} +1 -0
- package/dist/types/components/{arcgis-building-explorer/arcgis-building-explorer.d.ts → building-explorer/building-explorer.d.ts} +1 -0
- package/dist/types/components/{arcgis-compass/arcgis-compass.d.ts → compass/compass.d.ts} +1 -0
- package/dist/types/components/{arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts → coordinate-conversion/coordinate-conversion.d.ts} +1 -0
- package/dist/types/components/{arcgis-daylight/arcgis-daylight.d.ts → daylight/daylight.d.ts} +1 -0
- package/dist/types/components/{arcgis-directions/arcgis-directions.d.ts → directions/directions.d.ts} +2 -1
- package/dist/types/components/{arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts → directline-measurement-3d/directline-measurement-3d.d.ts} +1 -0
- package/dist/types/components/{arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts → distance-measurement-2d/distance-measurement-2d.d.ts} +1 -0
- package/dist/types/components/{arcgis-editor/arcgis-editor.d.ts → editor/editor.d.ts} +1 -0
- package/dist/types/components/{arcgis-elevation-profile/arcgis-elevation-profile.d.ts → elevation-profile/elevation-profile.d.ts} +1 -0
- package/dist/types/components/{arcgis-expand/arcgis-expand.d.ts → expand/expand.d.ts} +1 -0
- package/dist/types/components/{arcgis-feature/arcgis-feature.d.ts → feature/feature.d.ts} +1 -0
- package/dist/types/components/{arcgis-feature-form/arcgis-feature-form.d.ts → feature-form/feature-form.d.ts} +1 -0
- package/dist/types/components/{arcgis-feature-table/arcgis-feature-table.d.ts → feature-table/feature-table.d.ts} +1 -0
- package/dist/types/components/{arcgis-feature-templates/arcgis-feature-templates.d.ts → feature-templates/feature-templates.d.ts} +1 -0
- package/dist/types/components/{arcgis-features/arcgis-features.d.ts → features/features.d.ts} +1 -0
- package/dist/types/components/{arcgis-floor-filter/arcgis-floor-filter.d.ts → floor-filter/floor-filter.d.ts} +1 -0
- package/dist/types/components/{arcgis-fullscreen/arcgis-fullscreen.d.ts → fullscreen/fullscreen.d.ts} +1 -0
- package/dist/types/components/{arcgis-histogram/arcgis-histogram.d.ts → histogram/histogram.d.ts} +1 -0
- package/dist/types/components/{arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts → histogram-range-slider/histogram-range-slider.d.ts} +1 -0
- package/dist/types/components/{arcgis-home/arcgis-home.d.ts → home/home.d.ts} +1 -0
- package/dist/types/components/{arcgis-layer-list/arcgis-layer-list.d.ts → layer-list/layer-list.d.ts} +1 -0
- package/dist/types/components/{arcgis-legend/arcgis-legend.d.ts → legend/legend.d.ts} +1 -0
- package/dist/types/components/{arcgis-line-of-sight/arcgis-line-of-sight.d.ts → line-of-sight/line-of-sight.d.ts} +1 -0
- package/dist/types/components/{arcgis-locate/arcgis-locate.d.ts → locate/locate.d.ts} +1 -0
- package/dist/types/components/{arcgis-map/arcgis-map.d.ts → map/map.d.ts} +11 -2
- package/dist/types/components/{arcgis-measurement/arcgis-measurement.d.ts → measurement/measurement.d.ts} +1 -0
- package/dist/types/components/{arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts → navigation-toggle/navigation-toggle.d.ts} +1 -0
- package/dist/types/components/placement/placement.d.ts +18 -0
- package/dist/types/components/{arcgis-print/arcgis-print.d.ts → print/print.d.ts} +1 -0
- package/dist/types/components/{arcgis-scale-bar/arcgis-scale-bar.d.ts → scale-bar/scale-bar.d.ts} +1 -0
- package/dist/types/components/{arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts → scale-range-slider/scale-range-slider.d.ts} +1 -0
- package/dist/types/components/{arcgis-scene/arcgis-scene.d.ts → scene/scene.d.ts} +11 -2
- package/dist/types/components/{arcgis-search/arcgis-search.d.ts → search/search.d.ts} +1 -0
- package/dist/types/components/{arcgis-shadow-cast/arcgis-shadow-cast.d.ts → shadow-cast/shadow-cast.d.ts} +1 -0
- package/dist/types/components/{arcgis-sketch/arcgis-sketch.d.ts → sketch/sketch.d.ts} +1 -0
- package/dist/types/components/{arcgis-slice/arcgis-slice.d.ts → slice/slice.d.ts} +1 -0
- package/dist/types/components/{arcgis-slider/arcgis-slider.d.ts → slider/slider.d.ts} +1 -0
- package/dist/types/components/{arcgis-swipe/arcgis-swipe.d.ts → swipe/swipe.d.ts} +1 -0
- package/dist/types/components/{arcgis-table-list/arcgis-table-list.d.ts → table-list/table-list.d.ts} +1 -0
- package/dist/types/components/{arcgis-time-slider/arcgis-time-slider.d.ts → time-slider/time-slider.d.ts} +1 -0
- package/dist/types/components/{arcgis-track/arcgis-track.d.ts → track/track.d.ts} +1 -0
- package/dist/types/components/{arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts → utility-network-associations/utility-network-associations.d.ts} +1 -0
- package/dist/types/components/{arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts → utility-network-trace/utility-network-trace.d.ts} +1 -0
- package/dist/types/components/{arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts → utility-network-validate-topology/utility-network-validate-topology.d.ts} +1 -0
- package/dist/types/components/{arcgis-value-picker/arcgis-value-picker.d.ts → value-picker/value-picker.d.ts} +1 -0
- package/dist/types/components/{arcgis-weather/arcgis-weather.d.ts → weather/weather.d.ts} +1 -0
- package/dist/types/components/{arcgis-zoom/arcgis-zoom.d.ts → zoom/zoom.d.ts} +1 -0
- package/dist/types/components.d.ts +75 -51
- package/dist/types/utils/component-utils.d.ts +9 -4
- package/package.json +15 -15
- package/dist/arcgis-map-components/p-01d9efae.entry.js +0 -1
- package/dist/arcgis-map-components/p-11e7ce02.entry.js +0 -1
- package/dist/arcgis-map-components/p-1435356e.entry.js +0 -1
- package/dist/arcgis-map-components/p-174f9d11.entry.js +0 -1
- package/dist/arcgis-map-components/p-18c653a4.entry.js +0 -1
- package/dist/arcgis-map-components/p-1b5e33ea.entry.js +0 -1
- package/dist/arcgis-map-components/p-1c631990.entry.js +0 -1
- package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
- package/dist/arcgis-map-components/p-21721d4b.entry.js +0 -1
- package/dist/arcgis-map-components/p-2becbf01.entry.js +0 -1
- package/dist/arcgis-map-components/p-2c5be6b0.entry.js +0 -1
- package/dist/arcgis-map-components/p-2d3406f7.js +0 -1
- package/dist/arcgis-map-components/p-312ff83f.entry.js +0 -1
- package/dist/arcgis-map-components/p-3361d81f.entry.js +0 -1
- package/dist/arcgis-map-components/p-3587b4d8.entry.js +0 -1
- package/dist/arcgis-map-components/p-3b5560bb.entry.js +0 -1
- package/dist/arcgis-map-components/p-3e676259.entry.js +0 -1
- package/dist/arcgis-map-components/p-47629a4c.entry.js +0 -1
- package/dist/arcgis-map-components/p-4b5fa9a2.entry.js +0 -1
- package/dist/arcgis-map-components/p-4bb15110.entry.js +0 -1
- package/dist/arcgis-map-components/p-4c103777.entry.js +0 -1
- package/dist/arcgis-map-components/p-4d5e7ddd.entry.js +0 -1
- package/dist/arcgis-map-components/p-4fa3c6fe.entry.js +0 -1
- package/dist/arcgis-map-components/p-501861a1.entry.js +0 -1
- package/dist/arcgis-map-components/p-535bf289.entry.js +0 -1
- package/dist/arcgis-map-components/p-5a91868a.entry.js +0 -1
- package/dist/arcgis-map-components/p-5cabdee7.js +0 -1
- package/dist/arcgis-map-components/p-5d835456.entry.js +0 -1
- package/dist/arcgis-map-components/p-5db2786d.entry.js +0 -1
- package/dist/arcgis-map-components/p-5ea3ce11.entry.js +0 -1
- package/dist/arcgis-map-components/p-721673c8.entry.js +0 -1
- package/dist/arcgis-map-components/p-8c18a99c.entry.js +0 -1
- package/dist/arcgis-map-components/p-8d184d92.entry.js +0 -1
- package/dist/arcgis-map-components/p-8fde8001.entry.js +0 -1
- package/dist/arcgis-map-components/p-927f8748.entry.js +0 -1
- package/dist/arcgis-map-components/p-9aad48fe.entry.js +0 -1
- package/dist/arcgis-map-components/p-9c1b8e69.entry.js +0 -1
- package/dist/arcgis-map-components/p-9e667282.entry.js +0 -1
- package/dist/arcgis-map-components/p-a67dda4e.entry.js +0 -1
- package/dist/arcgis-map-components/p-acb4a35a.entry.js +0 -1
- package/dist/arcgis-map-components/p-b19043d5.entry.js +0 -1
- package/dist/arcgis-map-components/p-b813c9e6.js +0 -1
- package/dist/arcgis-map-components/p-bb6e5f04.entry.js +0 -1
- package/dist/arcgis-map-components/p-bfae0a1f.entry.js +0 -1
- package/dist/arcgis-map-components/p-c63a5c7f.entry.js +0 -1
- package/dist/arcgis-map-components/p-ce14e49f.entry.js +0 -1
- package/dist/arcgis-map-components/p-d3fbbf3f.entry.js +0 -1
- package/dist/arcgis-map-components/p-d8be8a46.entry.js +0 -1
- package/dist/arcgis-map-components/p-dafb17cf.entry.js +0 -1
- package/dist/arcgis-map-components/p-ec2cc024.entry.js +0 -1
- package/dist/arcgis-map-components/p-ef0b3818.entry.js +0 -1
- package/dist/arcgis-map-components/p-f0e5dcc7.entry.js +0 -1
- package/dist/arcgis-map-components/p-f5cc7f2d.entry.js +0 -1
- package/dist/arcgis-map-components/p-f7b74cd4.entry.js +0 -1
- package/dist/cjs/arcgis-scene.cjs.entry.js +0 -126
- package/dist/cjs/mapping-utils-c2c7b994.js +0 -40
- package/dist/esm/arcgis-scene.entry.js +0 -122
- package/dist/esm/mapping-utils-26beb904.js +0 -38
- /package/dist/cjs/{index-bfda1cdc.js → index-c24d722b.js} +0 -0
|
@@ -17,6 +17,7 @@ export declare class ArcgisTableList implements ExpandableComponent {
|
|
|
17
17
|
position: string;
|
|
18
18
|
expandable: boolean;
|
|
19
19
|
widget: TableListWidget;
|
|
20
|
+
_watchHandles: __esri.WatchHandle[];
|
|
20
21
|
triggerAction: EventEmitter<__esri.TableListTriggerActionEvent>;
|
|
21
22
|
widgetReady: EventEmitter<{
|
|
22
23
|
widget: __esri.TableList;
|
|
@@ -24,6 +24,7 @@ export declare class ArcgisTimeSlider implements ExpandableComponent {
|
|
|
24
24
|
position: string;
|
|
25
25
|
expandable: boolean;
|
|
26
26
|
widget: TimeSliderWidget;
|
|
27
|
+
_watchHandles: __esri.WatchHandle[];
|
|
27
28
|
triggerAction: EventEmitter<__esri.TimeSliderTriggerActionEvent>;
|
|
28
29
|
widgetReady: EventEmitter<{
|
|
29
30
|
widget: __esri.TimeSlider;
|
|
@@ -16,6 +16,7 @@ export declare class ArcgisTrack implements WidgetElement {
|
|
|
16
16
|
position: string;
|
|
17
17
|
view: ArcGISMapView | ArcGISSceneView;
|
|
18
18
|
widget: TrackWidget;
|
|
19
|
+
_watchHandles: __esri.WatchHandle[];
|
|
19
20
|
trackComplete: EventEmitter<__esri.TrackTrackEvent>;
|
|
20
21
|
trackError: EventEmitter<__esri.TrackTrackErrorEvent>;
|
|
21
22
|
widgetReady: EventEmitter<{
|
|
@@ -26,6 +26,7 @@ export declare class ArcgisUtilityNetworkAssociations implements ExpandableCompo
|
|
|
26
26
|
position: string;
|
|
27
27
|
expandable: boolean;
|
|
28
28
|
widget: UtilityNetworkAssociationsWidget;
|
|
29
|
+
_watchHandles: __esri.WatchHandle[];
|
|
29
30
|
widgetReady: EventEmitter<{
|
|
30
31
|
widget: __esri.UtilityNetworkAssociations;
|
|
31
32
|
}>;
|
|
@@ -21,6 +21,7 @@ export declare class ArcgisUtilityNetworkTrace implements ExpandableComponent {
|
|
|
21
21
|
expandable: boolean;
|
|
22
22
|
view: ArcGISMapView;
|
|
23
23
|
widget: UtilityNetworkTraceWidget;
|
|
24
|
+
_watchHandles: __esri.WatchHandle[];
|
|
24
25
|
traceAddFlag: EventEmitter<__esri.UtilityNetworkTraceAddFlagEvent>;
|
|
25
26
|
traceAddFlagComplete: EventEmitter<__esri.UtilityNetworkTraceAddFlagCompleteEvent>;
|
|
26
27
|
traceAddFlagError: EventEmitter<__esri.UtilityNetworkTraceAddFlagErrorEvent>;
|
|
@@ -15,6 +15,7 @@ export declare class ArcgisUtilityNetworkValidateTopology implements ExpandableC
|
|
|
15
15
|
position: string;
|
|
16
16
|
expandable: boolean;
|
|
17
17
|
widget: UtilityNetworkValidateTopologyWidget;
|
|
18
|
+
_watchHandles: __esri.WatchHandle[];
|
|
18
19
|
widgetReady: EventEmitter<{
|
|
19
20
|
widget: __esri.UtilityNetworkValidateTopology;
|
|
20
21
|
}>;
|
|
@@ -21,6 +21,7 @@ export declare class ArcgisValuePicker {
|
|
|
21
21
|
loop: ValuePickerWidget["loop"];
|
|
22
22
|
playRate: ValuePickerWidget["playRate"];
|
|
23
23
|
values: ValuePickerWidget["values"];
|
|
24
|
+
_watchHandles: __esri.WatchHandle[];
|
|
24
25
|
widgetReady: EventEmitter<{
|
|
25
26
|
widget: __esri.ValuePicker;
|
|
26
27
|
}>;
|
|
@@ -6,58 +6,58 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { ArcgisReferenceElement } from "./utils/component-utils";
|
|
9
|
-
import { AreaMeasurement2DWidget } from "./components/
|
|
9
|
+
import { AreaMeasurement2DWidget } from "./components/area-measurement-2d/area-measurement-2d";
|
|
10
10
|
import { ArcGISFeatureLayer, ArcGISGraphic, ArcGISMapView, ArcGISSceneView } from "./components/types";
|
|
11
|
-
import { AreaMeasurement3DWidget } from "./components/
|
|
12
|
-
import { AttachmentsWidget } from "./components/
|
|
13
|
-
import { BasemapGalleryWidget } from "./components/
|
|
14
|
-
import { BasemapLayerListWidget } from "./components/
|
|
15
|
-
import { BasemapToggleWidget } from "./components/
|
|
16
|
-
import { BookmarksWidget } from "./components/
|
|
17
|
-
import { BuildingExplorerWidget } from "./components/
|
|
18
|
-
import { CompassWidget } from "./components/
|
|
19
|
-
import { CoordinateConversionWidget } from "./components/
|
|
20
|
-
import { DaylightWidget } from "./components/
|
|
21
|
-
import { DirectionsWidget } from "./components/
|
|
22
|
-
import { DirectLineMeasurement3DWidget } from "./components/
|
|
23
|
-
import { DistanceMeasurement2DWidget } from "./components/
|
|
24
|
-
import { EditorWidget } from "./components/
|
|
25
|
-
import { ElevationProfileWidget } from "./components/
|
|
26
|
-
import { ExpandWidget } from "./components/
|
|
27
|
-
import { FeatureWidget } from "./components/
|
|
28
|
-
import { FeatureFormWidget } from "./components/
|
|
29
|
-
import { FeatureTableWidget } from "./components/
|
|
30
|
-
import { FeatureTemplatesWidget } from "./components/
|
|
31
|
-
import { FeaturesWidget } from "./components/
|
|
32
|
-
import { FloorFilterWidget } from "./components/
|
|
33
|
-
import { FullscreenWidget } from "./components/
|
|
34
|
-
import { HistogramWidget } from "./components/
|
|
35
|
-
import { HistogramRangeSliderWidget } from "./components/
|
|
36
|
-
import { HomeWidget } from "./components/
|
|
37
|
-
import { LayerListWidget } from "./components/
|
|
38
|
-
import { LegendWidget } from "./components/
|
|
39
|
-
import { LineOfSightWidget } from "./components/
|
|
40
|
-
import { LocateWidget } from "./components/
|
|
41
|
-
import { MeasurementWidget } from "./components/
|
|
42
|
-
import { NavigationToggleWidget } from "./components/
|
|
43
|
-
import { PrintWidget } from "./components/
|
|
44
|
-
import { ScaleBarWidget } from "./components/
|
|
45
|
-
import { ScaleRangeSliderWidget } from "./components/
|
|
46
|
-
import { SearchWidget } from "./components/
|
|
47
|
-
import { ShadowCastWidget } from "./components/
|
|
48
|
-
import { SketchWidget } from "./components/
|
|
49
|
-
import { SliceWidget } from "./components/
|
|
50
|
-
import { SliderWidget } from "./components/
|
|
51
|
-
import { SwipeWidget } from "./components/
|
|
52
|
-
import { TableListWidget } from "./components/
|
|
53
|
-
import { TimeSliderWidget } from "./components/
|
|
54
|
-
import { TrackWidget } from "./components/
|
|
55
|
-
import { UtilityNetworkAssociationsWidget } from "./components/
|
|
56
|
-
import { UtilityNetworkTraceWidget } from "./components/
|
|
57
|
-
import { UtilityNetworkValidateTopologyWidget } from "./components/
|
|
58
|
-
import { ValuePickerWidget } from "./components/
|
|
59
|
-
import { WeatherWidget } from "./components/
|
|
60
|
-
import { ZoomWidget } from "./components/
|
|
11
|
+
import { AreaMeasurement3DWidget } from "./components/area-measurement-3d/area-measurement-3d";
|
|
12
|
+
import { AttachmentsWidget } from "./components/attachments/attachments";
|
|
13
|
+
import { BasemapGalleryWidget } from "./components/basemap-gallery/basemap-gallery";
|
|
14
|
+
import { BasemapLayerListWidget } from "./components/basemap-layer-list/basemap-layer-list";
|
|
15
|
+
import { BasemapToggleWidget } from "./components/basemap-toggle/basemap-toggle";
|
|
16
|
+
import { BookmarksWidget } from "./components/bookmarks/bookmarks";
|
|
17
|
+
import { BuildingExplorerWidget } from "./components/building-explorer/building-explorer";
|
|
18
|
+
import { CompassWidget } from "./components/compass/compass";
|
|
19
|
+
import { CoordinateConversionWidget } from "./components/coordinate-conversion/coordinate-conversion";
|
|
20
|
+
import { DaylightWidget } from "./components/daylight/daylight";
|
|
21
|
+
import { DirectionsWidget } from "./components/directions/directions";
|
|
22
|
+
import { DirectLineMeasurement3DWidget } from "./components/directline-measurement-3d/directline-measurement-3d";
|
|
23
|
+
import { DistanceMeasurement2DWidget } from "./components/distance-measurement-2d/distance-measurement-2d";
|
|
24
|
+
import { EditorWidget } from "./components/editor/editor";
|
|
25
|
+
import { ElevationProfileWidget } from "./components/elevation-profile/elevation-profile";
|
|
26
|
+
import { ExpandWidget } from "./components/expand/expand";
|
|
27
|
+
import { FeatureWidget } from "./components/feature/feature";
|
|
28
|
+
import { FeatureFormWidget } from "./components/feature-form/feature-form";
|
|
29
|
+
import { FeatureTableWidget } from "./components/feature-table/feature-table";
|
|
30
|
+
import { FeatureTemplatesWidget } from "./components/feature-templates/feature-templates";
|
|
31
|
+
import { FeaturesWidget } from "./components/features/features";
|
|
32
|
+
import { FloorFilterWidget } from "./components/floor-filter/floor-filter";
|
|
33
|
+
import { FullscreenWidget } from "./components/fullscreen/fullscreen";
|
|
34
|
+
import { HistogramWidget } from "./components/histogram/histogram";
|
|
35
|
+
import { HistogramRangeSliderWidget } from "./components/histogram-range-slider/histogram-range-slider";
|
|
36
|
+
import { HomeWidget } from "./components/home/home";
|
|
37
|
+
import { LayerListWidget } from "./components/layer-list/layer-list";
|
|
38
|
+
import { LegendWidget } from "./components/legend/legend";
|
|
39
|
+
import { LineOfSightWidget } from "./components/line-of-sight/line-of-sight";
|
|
40
|
+
import { LocateWidget } from "./components/locate/locate";
|
|
41
|
+
import { MeasurementWidget } from "./components/measurement/measurement";
|
|
42
|
+
import { NavigationToggleWidget } from "./components/navigation-toggle/navigation-toggle";
|
|
43
|
+
import { PrintWidget } from "./components/print/print";
|
|
44
|
+
import { ScaleBarWidget } from "./components/scale-bar/scale-bar";
|
|
45
|
+
import { ScaleRangeSliderWidget } from "./components/scale-range-slider/scale-range-slider";
|
|
46
|
+
import { SearchWidget } from "./components/search/search";
|
|
47
|
+
import { ShadowCastWidget } from "./components/shadow-cast/shadow-cast";
|
|
48
|
+
import { SketchWidget } from "./components/sketch/sketch";
|
|
49
|
+
import { SliceWidget } from "./components/slice/slice";
|
|
50
|
+
import { SliderWidget } from "./components/slider/slider";
|
|
51
|
+
import { SwipeWidget } from "./components/swipe/swipe";
|
|
52
|
+
import { TableListWidget } from "./components/table-list/table-list";
|
|
53
|
+
import { TimeSliderWidget } from "./components/time-slider/time-slider";
|
|
54
|
+
import { TrackWidget } from "./components/track/track";
|
|
55
|
+
import { UtilityNetworkAssociationsWidget } from "./components/utility-network-associations/utility-network-associations";
|
|
56
|
+
import { UtilityNetworkTraceWidget } from "./components/utility-network-trace/utility-network-trace";
|
|
57
|
+
import { UtilityNetworkValidateTopologyWidget } from "./components/utility-network-validate-topology/utility-network-validate-topology";
|
|
58
|
+
import { ValuePickerWidget } from "./components/value-picker/value-picker";
|
|
59
|
+
import { WeatherWidget } from "./components/weather/weather";
|
|
60
|
+
import { ZoomWidget } from "./components/zoom/zoom";
|
|
61
61
|
export namespace Components {
|
|
62
62
|
interface ArcgisAreaMeasurement2d {
|
|
63
63
|
"expandable": boolean;
|
|
@@ -441,6 +441,11 @@ export namespace Components {
|
|
|
441
441
|
"view": ArcGISSceneView;
|
|
442
442
|
"widget": NavigationToggleWidget;
|
|
443
443
|
}
|
|
444
|
+
interface ArcgisPlacement {
|
|
445
|
+
"position": string;
|
|
446
|
+
"referenceElement": ArcgisReferenceElement | string;
|
|
447
|
+
"view": ArcGISMapView | ArcGISSceneView;
|
|
448
|
+
}
|
|
444
449
|
interface ArcgisPrint {
|
|
445
450
|
"allowedFormats": PrintWidget["allowedFormats"];
|
|
446
451
|
"allowedLayouts": PrintWidget["allowedLayouts"];
|
|
@@ -867,6 +872,10 @@ export interface ArcgisNavigationToggleCustomEvent<T> extends CustomEvent<T> {
|
|
|
867
872
|
detail: T;
|
|
868
873
|
target: HTMLArcgisNavigationToggleElement;
|
|
869
874
|
}
|
|
875
|
+
export interface ArcgisPlacementCustomEvent<T> extends CustomEvent<T> {
|
|
876
|
+
detail: T;
|
|
877
|
+
target: HTMLArcgisPlacementElement;
|
|
878
|
+
}
|
|
870
879
|
export interface ArcgisPrintCustomEvent<T> extends CustomEvent<T> {
|
|
871
880
|
detail: T;
|
|
872
881
|
target: HTMLArcgisPrintElement;
|
|
@@ -1148,6 +1157,12 @@ declare global {
|
|
|
1148
1157
|
prototype: HTMLArcgisNavigationToggleElement;
|
|
1149
1158
|
new (): HTMLArcgisNavigationToggleElement;
|
|
1150
1159
|
};
|
|
1160
|
+
interface HTMLArcgisPlacementElement extends Components.ArcgisPlacement, HTMLStencilElement {
|
|
1161
|
+
}
|
|
1162
|
+
var HTMLArcgisPlacementElement: {
|
|
1163
|
+
prototype: HTMLArcgisPlacementElement;
|
|
1164
|
+
new (): HTMLArcgisPlacementElement;
|
|
1165
|
+
};
|
|
1151
1166
|
interface HTMLArcgisPrintElement extends Components.ArcgisPrint, HTMLStencilElement {
|
|
1152
1167
|
}
|
|
1153
1168
|
var HTMLArcgisPrintElement: {
|
|
@@ -1297,6 +1312,7 @@ declare global {
|
|
|
1297
1312
|
"arcgis-map": HTMLArcgisMapElement;
|
|
1298
1313
|
"arcgis-measurement": HTMLArcgisMeasurementElement;
|
|
1299
1314
|
"arcgis-navigation-toggle": HTMLArcgisNavigationToggleElement;
|
|
1315
|
+
"arcgis-placement": HTMLArcgisPlacementElement;
|
|
1300
1316
|
"arcgis-print": HTMLArcgisPrintElement;
|
|
1301
1317
|
"arcgis-scale-bar": HTMLArcgisScaleBarElement;
|
|
1302
1318
|
"arcgis-scale-range-slider": HTMLArcgisScaleRangeSliderElement;
|
|
@@ -1704,6 +1720,12 @@ declare namespace LocalJSX {
|
|
|
1704
1720
|
"view"?: ArcGISSceneView;
|
|
1705
1721
|
"widget"?: NavigationToggleWidget;
|
|
1706
1722
|
}
|
|
1723
|
+
interface ArcgisPlacement {
|
|
1724
|
+
"onPlacementReady"?: (event: ArcgisPlacementCustomEvent<{ ready: boolean }>) => void;
|
|
1725
|
+
"position"?: string;
|
|
1726
|
+
"referenceElement"?: ArcgisReferenceElement | string;
|
|
1727
|
+
"view"?: ArcGISMapView | ArcGISSceneView;
|
|
1728
|
+
}
|
|
1707
1729
|
interface ArcgisPrint {
|
|
1708
1730
|
"allowedFormats"?: PrintWidget["allowedFormats"];
|
|
1709
1731
|
"allowedLayouts"?: PrintWidget["allowedLayouts"];
|
|
@@ -2068,6 +2090,7 @@ declare namespace LocalJSX {
|
|
|
2068
2090
|
"arcgis-map": ArcgisMap;
|
|
2069
2091
|
"arcgis-measurement": ArcgisMeasurement;
|
|
2070
2092
|
"arcgis-navigation-toggle": ArcgisNavigationToggle;
|
|
2093
|
+
"arcgis-placement": ArcgisPlacement;
|
|
2071
2094
|
"arcgis-print": ArcgisPrint;
|
|
2072
2095
|
"arcgis-scale-bar": ArcgisScaleBar;
|
|
2073
2096
|
"arcgis-scale-range-slider": ArcgisScaleRangeSlider;
|
|
@@ -2127,6 +2150,7 @@ declare module "@stencil/core" {
|
|
|
2127
2150
|
"arcgis-map": LocalJSX.ArcgisMap & JSXBase.HTMLAttributes<HTMLArcgisMapElement>;
|
|
2128
2151
|
"arcgis-measurement": LocalJSX.ArcgisMeasurement & JSXBase.HTMLAttributes<HTMLArcgisMeasurementElement>;
|
|
2129
2152
|
"arcgis-navigation-toggle": LocalJSX.ArcgisNavigationToggle & JSXBase.HTMLAttributes<HTMLArcgisNavigationToggleElement>;
|
|
2153
|
+
"arcgis-placement": LocalJSX.ArcgisPlacement & JSXBase.HTMLAttributes<HTMLArcgisPlacementElement>;
|
|
2130
2154
|
"arcgis-print": LocalJSX.ArcgisPrint & JSXBase.HTMLAttributes<HTMLArcgisPrintElement>;
|
|
2131
2155
|
"arcgis-scale-bar": LocalJSX.ArcgisScaleBar & JSXBase.HTMLAttributes<HTMLArcgisScaleBarElement>;
|
|
2132
2156
|
"arcgis-scale-range-slider": LocalJSX.ArcgisScaleRangeSlider & JSXBase.HTMLAttributes<HTMLArcgisScaleRangeSliderElement>;
|
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
import { ArcGISMapView, ArcGISSceneView } from "../components/types";
|
|
2
2
|
import { ExpandableComponent } from "./expandable";
|
|
3
3
|
export type ArcgisReferenceElement = HTMLArcgisMapElement | HTMLArcgisSceneElement;
|
|
4
|
-
export interface
|
|
5
|
-
|
|
6
|
-
childElem?: HTMLDivElement;
|
|
4
|
+
export interface BaseComponentElement extends Partial<HTMLElement> {
|
|
5
|
+
childElem: HTMLDivElement;
|
|
7
6
|
referenceElement?: ArcgisReferenceElement | string;
|
|
8
7
|
view?: ArcGISMapView | ArcGISSceneView;
|
|
9
8
|
position: string;
|
|
9
|
+
}
|
|
10
|
+
export interface WidgetElement extends BaseComponentElement {
|
|
11
|
+
el: HTMLDivElement;
|
|
10
12
|
widget: any;
|
|
13
|
+
_watchHandles: __esri.WatchHandle[];
|
|
11
14
|
}
|
|
12
15
|
export interface ViewElement extends Partial<HTMLElement> {
|
|
13
16
|
el: HTMLDivElement;
|
|
14
|
-
|
|
17
|
+
_hostElement?: HTMLArcgisMapElement | HTMLArcgisSceneElement;
|
|
15
18
|
apiKey?: string;
|
|
16
19
|
basemap?: string;
|
|
17
20
|
itemId?: string;
|
|
18
21
|
view?: ArcGISMapView | ArcGISSceneView;
|
|
19
22
|
}
|
|
23
|
+
export declare function addHandles(element: WidgetElement, handle: __esri.WatchHandle | __esri.WatchHandle[]): void;
|
|
20
24
|
export declare function checkForView(element: WidgetElement | ExpandableComponent): void;
|
|
25
|
+
export declare function isNullOrEmptyString(value: string): boolean;
|
|
21
26
|
export declare function updateForView(viewStr: string): Promise<any>;
|
|
22
27
|
export declare function referenceElementHelper(element: WidgetElement | ExpandableComponent, refElement: ArcgisReferenceElement | string): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
3
|
"description": "ArcGIS Map Components",
|
|
4
|
-
"
|
|
4
|
+
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
5
|
+
"version": "4.29.0-beta.30",
|
|
5
6
|
"module": "dist/components/index.js",
|
|
6
7
|
"main": "dist/index.cjs.js",
|
|
7
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -43,8 +44,6 @@
|
|
|
43
44
|
"test": "stencil test --spec --e2e",
|
|
44
45
|
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
45
46
|
"generate": "stencil generate",
|
|
46
|
-
"compress": "node ./scripts/compress.mjs",
|
|
47
|
-
"create:comp": "node ./scripts/create-component.mjs",
|
|
48
47
|
"clean": "rimraf ./node_modules ./storybook-static ./storybook-static-external ./turbo ./dist ./www",
|
|
49
48
|
"lint": "eslint ."
|
|
50
49
|
},
|
|
@@ -52,40 +51,41 @@
|
|
|
52
51
|
"@stencil/core": "2.22.3"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@arcgis/components-plugins": "4.29.0-beta.
|
|
54
|
+
"@arcgis/components-plugins": "4.29.0-beta.30",
|
|
56
55
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
57
|
-
"@arcgis/core-adapter": "4.29.0-beta.
|
|
56
|
+
"@arcgis/core-adapter": "4.29.0-beta.30",
|
|
58
57
|
"@arcgis/eslint-config": "1.0.0",
|
|
59
58
|
"@arcgis/typescript-config": "1.0.0",
|
|
60
59
|
"@esri/calcite-components": "^1.8.0",
|
|
61
60
|
"@stencil/angular-output-target": "0.8.1",
|
|
62
61
|
"@stencil/react-output-target": "0.5.3",
|
|
63
|
-
"@storybook/addon-a11y": "^7.
|
|
64
|
-
"@storybook/addon-essentials": "^7.
|
|
65
|
-
"@storybook/addon-links": "^7.
|
|
66
|
-
"@storybook/web-components": "^7.
|
|
67
|
-
"@storybook/web-components-vite": "^7.
|
|
62
|
+
"@storybook/addon-a11y": "^7.6.0",
|
|
63
|
+
"@storybook/addon-essentials": "^7.6.0",
|
|
64
|
+
"@storybook/addon-links": "^7.6.0",
|
|
65
|
+
"@storybook/web-components": "^7.6.0",
|
|
66
|
+
"@storybook/web-components-vite": "^7.6.0",
|
|
68
67
|
"@types/jest": "^29.5.0",
|
|
69
68
|
"@vitejs/plugin-react": "^4.0.1",
|
|
70
|
-
"eslint": "^8.
|
|
69
|
+
"eslint": "^8.52.0",
|
|
71
70
|
"jest": "^29.5.0",
|
|
72
71
|
"jest-cli": "^29.5.0",
|
|
73
72
|
"kill-port": "^2.0.1",
|
|
74
|
-
"lit": "^
|
|
73
|
+
"lit": "^3.1.0",
|
|
74
|
+
"prettier": "^3.0.0",
|
|
75
75
|
"puppeteer": "^20.5.0",
|
|
76
76
|
"react": "^18.2.0",
|
|
77
77
|
"react-dom": "^18.2.0",
|
|
78
78
|
"rimraf": "^5.0.0",
|
|
79
79
|
"rollup": "^3.25.0",
|
|
80
80
|
"rollup-plugin-gzip": "^3.1.0",
|
|
81
|
-
"storybook": "^7.
|
|
81
|
+
"storybook": "^7.6.0",
|
|
82
82
|
"typescript": "4.9.5",
|
|
83
|
-
"vite": "^
|
|
83
|
+
"vite": "^5.0.0",
|
|
84
84
|
"zlib": "^1.0.5"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
88
88
|
"@esri/calcite-components": ">=1.7.0 <2.0.0"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "358cf8e8c177bf9615f9963da9e663cb7b44a233"
|
|
91
91
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{U as h,i as a,V as o}from"./p-620959fc.js";import{r,c}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const d=class{constructor(s){t(this,s),this.sketchCreate=i(this,"sketchCreate",7),this.sketchDelete=i(this,"sketchDelete",7),this.sketchRedo=i(this,"sketchRedo",7),this.sketchUndo=i(this,"sketchUndo",7),this.sketchUpdate=i(this,"sketchUpdate",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeTool=void 0,this.availableCreateTools=void 0,this.createGraphic=void 0,this.creationMode=void 0,this.defaultCreateOptions=void 0,this.defaultUpdateOptions=void 0,this.labelOptions=void 0,this.layer=void 0,this.layout=void 0,this.snappingOptions=void 0,this.tooltipOptions=void 0,this.updateGraphics=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}availableCreateToolsWatcher(t){void 0!==t&&this.widget&&(this.widget.availableCreateTools=t)}creationModeWatcher(t){void 0!==t&&this.widget&&(this.widget.creationMode=t)}defaultCreateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultCreateOptions=t)}defaultUpdateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultUpdateOptions=t)}labelOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.labelOptions=t)}layerWatcher(t){void 0!==t&&this.widget&&(this.widget.layer=t)}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}snappingOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.snappingOptions=t)}tooltipOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.tooltipOptions=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this.widget.view.map?.add(this.layer))}async componentDidLoad(){const t=await this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),c(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.activeTool),(t=>this.activeTool=t),{initial:!0}),t((()=>this.widget.createGraphic),(t=>this.createGraphic=t),{initial:!0}),t((()=>this.widget.updateGraphics),(t=>this.updateGraphics=t),{initial:!0})}async _createParams(){this.layer=await o({title:"Sketch Layer",creationMode:"update"});const t={container:this.childElem,layer:this.layer};return this.view&&(t.view=this.view),this.availableCreateTools&&(t.availableCreateTools=this.availableCreateTools),this.creationMode&&(t.creationMode=this.creationMode),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultUpdateOptions&&(t.defaultUpdateOptions=this.defaultUpdateOptions),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layout&&(t.layout=this.layout),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),t}get el(){return e(this)}static get watchers(){return{availableCreateTools:["availableCreateToolsWatcher"],creationMode:["creationModeWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultUpdateOptions:["defaultUpdateOptionsWatcher"],labelOptions:["labelOptionsWatcher"],layer:["layerWatcher"],layout:["layoutWatcher"],snappingOptions:["snappingOptionsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="arcgis-sketch{}";export{d as arcgis_sketch}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{s as r}from"./p-620959fc.js";import{r as h,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.dateOrSeason=void 0,this.playSpeedMultiplier=void 0,this.timeSliderSteps=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}dateOrSeasonWatcher(t){void 0!==t&&this.widget&&(this.widget.dateOrSeason=t)}playSpeedMultiplierWatcher(t){void 0!==t&&this.widget&&(this.widget.playSpeedMultiplier=t)}timeSliderStepsWatcher(t){void 0!==t&&this.widget&&(this.widget.timeSliderSteps=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.dateOrSeason&&(t.dateOrSeason=this.dateOrSeason),this.playSpeedMultiplier&&(t.playSpeedMultiplier=this.playSpeedMultiplier),this.timeSliderSteps&&(t.timeSliderSteps=this.timeSliderSteps),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],dateOrSeason:["dateOrSeasonWatcher"],playSpeedMultiplier:["playSpeedMultiplierWatcher"],timeSliderSteps:["timeSliderStepsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_daylight}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{L as h}from"./p-620959fc.js";import{r as o,c as a}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const r=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.locateSuccess=i(this,"locateSuccess",7),this.locateError=i(this,"locateError",7),this.referenceElement=void 0,this.geolocationOptions=void 0,this.goToLocationEnabled=void 0,this.graphic=void 0,this.popupEnabled=void 0,this.scale=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0,this.useHeadingEnabled=!0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=t)}graphicWatcher(t){void 0!==t&&this.widget&&(this.widget.graphic=t)}popupEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}useHeadingWatcher(t){this.widget&&(this.widget.useHeadingEnabled=t)}async cancelLocate(){return this.widget?.cancelLocate()}async locate(){return this.widget?.locate()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem,useHeadingEnabled:this.useHeadingEnabled};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationEnabled&&(t.goToLocationEnabled=this.goToLocationEnabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.popupEnabled&&(t.popupEnabled=this.popupEnabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("locate",(t=>this.locateSuccess.emit(t))),this.widget?.on("locate-error",(t=>this.locateError.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],popupEnabled:["popupEnabledWatcher"],scale:["scaleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"],useHeadingEnabled:["useHeadingWatcher"]}}};r.style="arcgis-locate{}";export{r as arcgis_locate}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{v as h,i as r}from"./p-620959fc.js";import{r as a,c as o}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.analysis=void 0,this.unit=void 0,this.unitOptions=void 0,this.widget=void 0,this.view=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}unitWatcher(t){t&&this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){t&&this.widget&&(this.widget.unitOptions=t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_directline_measurement_3d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{Z as h,i as a}from"./p-620959fc.js";import{r,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const n=class{constructor(e){t(this,e),this.triggerAction=i(this,"triggerAction",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.multipleSelectionEnabled=!1,this.selectionEnabled=!0,this.selectedItems=void 0,this.tableItems=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}multipleSelectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleSelectionEnabled=t)}selectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.selectionEnabled=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.map=t.map)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this),this._hookEvents(this.widget)}disconnectedCallback(){c(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.selectedItems),(t=>this.selectedItems=t)),t((()=>this.widget.tableItems),(t=>this.tableItems=t))}_createParams(){const t={container:this.childElem,multipleSelectionEnabled:this.multipleSelectionEnabled,selectionEnabled:this.selectionEnabled};return this.view&&(t.map=this.view.map),t}_hookEvents(t){const i=t.on("trigger-action",(t=>{this.triggerAction.emit(t)}));t.own(i)}get el(){return s(this)}static get watchers(){return{multipleSelectionEnabled:["multipleSelectionEnabledWatcher"],selectionEnabled:["selectionEnabledWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="arcgis-table-list{}";export{n as arcgis_table_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{r as o,i as r}from"./p-620959fc.js";import{r as h,c as a}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.conversions=void 0,this.currentLocation=void 0,this.formats=void 0,this.locationSymbol=void 0,this.mode=void 0,this.multipleConversions=void 0,this.orientation=void 0,this.storageEnabled=void 0,this.storageType=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}conversionsWatcher(t){void 0!==t&&this.widget&&(this.widget.conversions=t)}formatsWatcher(t){void 0!==t&&this.widget&&(this.widget.formats=t)}locationSymbolWatcher(t){void 0!==t&&this.widget&&(this.widget.locationSymbol=t)}modeWatcher(t){void 0!==t&&this.widget&&(this.widget.mode=t)}multipleConversionsWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleConversions=t)}orientationWatcher(t){void 0!==t&&this.widget&&(this.widget.orientation=t)}storageEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.storageEnabled=t)}storageTypeWatcher(t){void 0!==t&&this.widget&&(this.widget.storageType=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async reverseConvert(t,i){return this.widget?.reverseConvert(t,i)}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.currentLocation),(t=>this.currentLocation=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],conversions:["conversionsWatcher"],formats:["formatsWatcher"],locationSymbol:["locationSymbolWatcher"],mode:["modeWatcher"],multipleConversions:["multipleConversionsWatcher"],orientation:["orientationWatcher"],storageEnabled:["storageEnabledWatcher"],storageType:["storageTypeWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_coordinate_conversion}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{C as r,i as h}from"./p-620959fc.js";import{r as a,c as n}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.content=void 0,this.features=void 0,this.selectedFeature=void 0,this.selectedFeatureIndex=void 0,this.selectedFeatureWidget=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async fetchFeatures(t,i){return this.widget?.fetchFeatures(t,i)}async clear(){return this.widget?.clear()}async close(){return this.widget?.close()}async next(){return this.widget?.next()}async open(t){return this.widget?.open(t)}async previous(){return this.widget?.previous()}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this._addWatchers(),this.widgetReady.emit({widget:this.widget}),n(this)}disconnectedCallback(){o(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await h();t((()=>this.widget.selectedFeature),(t=>this.selectedFeature=t),{initial:!0}),t((()=>this.widget.selectedFeatureIndex),(t=>this.selectedFeatureIndex=t),{initial:!0}),t((()=>this.widget.selectedFeatureWidget),(t=>this.selectedFeatureWidget=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.content&&(t.content=this.content),this.features&&(t.features=this.features),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-features{}";export{c as arcgis_features}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let e=!1;const t={},n=e=>"object"==(e=typeof e)||"function"===e;function l(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const o=(e,t,...l)=>{let o=null,c=!1,i=!1;const r=[],a=t=>{for(let l=0;l<t.length;l++)o=t[l],Array.isArray(o)?a(o):null!=o&&"boolean"!=typeof o&&((c="function"!=typeof e&&!n(o))&&(o+=""),c&&i?r[r.length-1].t+=o:r.push(c?s(null,o):o),i=c)};if(a(l),t){const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}const u=s(e,null);return u.l=t,r.length>0&&(u.o=r),u},s=(e,t)=>({i:0,u:e,t,m:null,o:null,l:null}),c={},i=e=>A(e).p,r=(e,t,n)=>{const l=i(e);return{emit:e=>a(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},a=(e,t,n)=>{const l=G.ce(t,n);return e.dispatchEvent(l),l},u=new WeakMap,f=e=>"sc-"+e.h,d=(e,t,l,o,s,c)=>{if(l!==o){let i=U(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,n=p(l),s=p(o);t.remove(...n.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!n.includes(e))))}else if("ref"===t)o&&o(e);else{const r=n(o);if((i||r&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?i=!1:null!=l&&e[t]==n||(e[t]=n)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&c||s)&&!r&&e.setAttribute(t,o=!0===o?"":o)}}},m=/\s/,p=e=>e?e.split(m):[],h=(e,n,l,o)=>{const s=11===n.m.nodeType&&n.m.host?n.m.host:n.m,c=e&&e.l||t,i=n.l||t;for(o in c)o in i||d(s,o,c[o],void 0,l,n.i);for(o in i)d(s,o,c[o],i[o],l,n.i)},$=(e,t,n)=>{const l=t.o[n];let o,s,c=0;if(o=l.m=B.createElement(l.u),h(null,l,!1),l.o)for(c=0;c<l.o.length;++c)s=$(e,l,c),s&&o.appendChild(s);return o},y=(e,t,n,l,o,s)=>{let c,i=e;for(;o<=s;++o)l[o]&&(c=$(null,n,o),c&&(l[o].m=c,i.insertBefore(c,t)))},b=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.m,g(l),o.remove())},w=(e,t)=>e.u===t.u,v=(e,t)=>{const n=t.m=e.m,l=e.o,o=t.o;h(e,t,!1),null!==l&&null!==o?((e,t,n,l)=>{let o,s=0,c=0,i=t.length-1,r=t[0],a=t[i],u=l.length-1,f=l[0],d=l[u];for(;s<=i&&c<=u;)null==r?r=t[++s]:null==a?a=t[--i]:null==f?f=l[++c]:null==d?d=l[--u]:w(r,f)?(v(r,f),r=t[++s],f=l[++c]):w(a,d)?(v(a,d),a=t[--i],d=l[--u]):w(r,d)?(v(r,d),e.insertBefore(r.m,a.m.nextSibling),r=t[++s],d=l[--u]):w(a,f)?(v(a,f),e.insertBefore(a.m,r.m),a=t[--i],f=l[++c]):(o=$(t&&t[c],n,c),f=l[++c],o&&r.m.parentNode.insertBefore(o,r.m));s>i?y(e,null==l[u+1]?null:l[u+1].m,n,l,c,u):c>u&&b(t,s,i)})(n,l,t,o):null!==o?y(n,null,t,o,0,o.length-1):null!==l&&b(l,0,l.length-1)},g=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(g)},S=(e,t)=>{t&&!e.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$=t)))},j=(e,t)=>{if(e.i|=16,!(4&e.i))return S(e,e.v),te((()=>M(e,t)));e.i|=512},M=(e,t)=>{const n=e.g;let l;return t&&(l=L(n,"componentWillLoad")),x(l,(()=>k(e,n,t)))},k=async(e,t,n)=>{const o=e.p,s=o["s-rc"];n&&(e=>{const t=e.S;((e,t)=>{var n;let o=f(t);const s=_.get(o);if(e=11===e.nodeType?e:B,s)if("string"==typeof s){let t,c=u.get(e=e.head||e);if(c||u.set(e,c=new Set),!c.has(o)){{t=B.createElement("style"),t.innerHTML=s;const o=null!==(n=G.j)&&void 0!==n?n:l(B);null!=o&&t.setAttribute("nonce",o),e.insertBefore(t,e.querySelector("link"))}c&&c.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s])})(e.p.getRootNode(),t)})(e);C(e,t),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=o["s-p"],n=()=>O(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},C=(e,t)=>{try{t=t.render&&t.render(),e.i&=-17,e.i|=2,((e,t)=>{const n=e.p,l=e.S,i=e.M||s(null,null),r=(e=>e&&e.u===c)(t)?t:o(null,null,t);l.k&&(r.l=r.l||{},l.k.map((([e,t])=>r.l[t]=n[e]))),r.u=null,r.i|=4,e.M=r,r.m=i.m=n,v(i,r)})(e,t)}catch(t){q(t,e.p)}return null},O=e=>{const t=e.p,n=e.g,l=e.v;L(n,"componentDidRender"),64&e.i||(e.i|=64,E(t),L(n,"componentDidLoad"),e.C(t),l||P()),e.O(t),e.$&&(e.$(),e.$=void 0),512&e.i&&ee((()=>j(e,!1))),e.i&=-517},P=()=>{E(B.documentElement),ee((()=>a(z,"appload",{detail:{namespace:"arcgis-map-components"}})))},L=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){q(e)}},x=(e,t)=>e&&e.then?e.then(t):t(),E=e=>e.setAttribute("hydrated",""),N=(e,t,l)=>{if(t.P){e.watchers&&(t.L=e.watchers);const o=Object.entries(t.P),s=e.prototype;if(o.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(s,e,{get(){return((e,t)=>A(this).N.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=A(e),c=s.p,i=s.N.get(t),r=s.i,a=s.g;if(l=((e,t)=>null==e||n(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.P[t][0]),(!(8&r)||void 0===i)&&l!==i&&(!Number.isNaN(i)||!Number.isNaN(l))&&(s.N.set(t,l),a)){if(o.L&&128&r){const e=o.L[t];e&&e.map((e=>{try{a[e](l,i,t)}catch(e){q(e,c)}}))}2==(18&r)&&j(s,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(s,e,{value(...t){const n=A(this);return n.R.then((()=>n.g[e](...t)))}})})),1&l){const n=new Map;s.attributeChangedCallback=function(e,t,l){G.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=o.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.k.push([e,o]),o}))}}return e},R=(e,t={})=>{var n;const o=[],s=t.exclude||[],c=z.customElements,i=B.head,r=i.querySelector("meta[charset]"),a=B.createElement("style"),u=[];let d,m=!0;Object.assign(G,t),G.T=new URL(t.resourcesUrl||"./",B.baseURI).href,e.map((e=>{e[1].map((t=>{const n={i:t[0],h:t[1],P:t[2],W:t[3]};n.P=t[2],n.k=[],n.L={};const l=n.h,i=class extends HTMLElement{constructor(e){super(e),F(e=this,n)}connectedCallback(){d&&(clearTimeout(d),d=null),m?u.push(this):G.jmp((()=>(e=>{if(0==(1&G.i)){const t=A(e),n=t.S,l=()=>{};if(!(1&t.i)){t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){S(t,t.v=n);break}}n.P&&Object.entries(n.P).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.i)){{if(t.i|=32,(o=V(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.L=o.watchers,N(o,n,2),o.isProxied=!0);const e=()=>{};t.i|=8;try{new o(t)}catch(e){q(e)}t.i&=-9,t.i|=128,e()}if(o.style){let e=o.style;const t=f(n);if(!_.has(t)){const l=()=>{};((e,t,n)=>{let l=_.get(e);J&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,_.set(e,l)})(t,e,!!(1&n.i)),l()}}}const s=t.v,c=()=>j(t,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,t,n)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(()=>{0==(1&G.i)&&L(A(this).g,"disconnectedCallback")})()))}componentOnReady(){return A(this).A}};n.D=e[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,N(i,n,1)))}))}));{a.innerHTML=o+"{visibility:hidden}[hydrated]{visibility:inherit}",a.setAttribute("data-styles","");const e=null!==(n=G.j)&&void 0!==n?n:l(B);null!=e&&a.setAttribute("nonce",e),i.insertBefore(a,r?r.nextSibling:i.firstChild)}m=!1,u.length?u.map((e=>e.connectedCallback())):G.jmp((()=>d=setTimeout(P,30)))},T=e=>G.j=e,W=new WeakMap,A=e=>W.get(e),D=(e,t)=>W.set(t.g=e,t),F=(e,t)=>{const n={i:0,p:e,S:t,N:new Map};return n.R=new Promise((e=>n.O=e)),n.A=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],W.set(e,n)},U=(e,t)=>t in e,q=(e,t)=>(0,console.error)(e,t),H=new Map,V=e=>{const t=e.h.replace(/-/g,"_"),n=e.D,l=H.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(H.set(n,e),e[t])),q)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},_=new Map,z="undefined"!=typeof window?window:{},B=z.document||{head:{}},G={i:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},I=e=>Promise.resolve(e),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),K=[],Q=[],X=(t,n)=>l=>{t.push(l),e||(e=!0,n&&4&G.i?ee(Z):G.raf(Z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){q(e)}e.length=0},Z=()=>{Y(K),Y(Q),(e=K.length>0)&&G.raf(Z)},ee=e=>I().then(e),te=X(Q,!0);export{R as b,r as c,i as g,o as h,I as p,D as r,T as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{t as h,u as r,i as a}from"./p-620959fc.js";import{r as o,c}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const d=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.apiKey=void 0,this.routeLayerItemId=void 0,this.lastRoute=void 0,this.layer=void 0,this.maxStops=void 0,this.searchProperties=void 0,this.unit=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}apiKeyWatcher(t){t&&this.widget&&(this.widget.apiKey=t)}routeLayerItemIdWatcher(t){t&&this.widget&&h({portalItem:{id:t}}).then((t=>{this.layer=t}))}layerWatcher(t){t&&this.widget&&(this.widget.layer=t,this.view?.map.add(this.layer))}maxStopsWatcher(t){t&&this.widget&&(this.widget.maxStops=t)}searchPropertiesWatcher(t){t&&this.widget&&(this.widget.searchProperties=t)}unitWatcher(t){t&&this.widget&&(this.widget.unit=t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this.layer&&this.widget.view.map.add(this.layer))}async getDirections(){return this.widget?.getDirections()}async save(){return this.widget?.save()}async saveAs(t,i){return this.widget?.saveAs(t,i)}async zoomToRoute(){return this.widget?.zoomToRoute()}async componentDidLoad(){const t=await this._createParams(),i=await r(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),c(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.lastRoute),(t=>this.lastRoute=t),{initial:!0})}async _createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.apiKey&&(t.apiKey=this.apiKey),this.routeLayerItemId?(t.layer=await h({portalItem:{id:this.routeLayerItemId}}),this.layer=t.layer):this.layer?(t.layer=this.layer,this.layer=t.layer):(t.layer=await h({}),this.layer=t.layer),void 0!==this.layer&&this.view?.map.add(this.layer),void 0!==this.maxStops&&(t.maxStops=this.maxStops),this.searchProperties&&(t.searchProperties=this.searchProperties),this.unit&&(t.unit=this.unit),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],apiKey:["apiKeyWatcher"],routeLayerItemId:["routeLayerItemIdWatcher"],layer:["layerWatcher"],maxStops:["maxStopsWatcher"],searchProperties:["searchPropertiesWatcher"],unit:["unitWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directions}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{k as h,i as r}from"./p-620959fc.js";import{r as a,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const n=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeBasemap=void 0,this.position="bottom-left",this.expandable=!1,this.source=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this.widget.when((()=>{this.source=this.widget.source})),await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.source),(()=>this.source=this.widget.source)),t((()=>this.widget.activeBasemap),(t=>this.activeBasemap=t))}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_basemap_gallery}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s,g as h}from"./p-1e5e5ed9.js";import{X as e,i as a}from"./p-620959fc.js";import{c as r}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){i(this,s),this.sliderMaxChange=t(this,"sliderMaxChange",7),this.sliderMaxClick=t(this,"sliderMaxClick",7),this.sliderMinChange=t(this,"sliderMinChange",7),this.sliderMinClick=t(this,"sliderMinClick",7),this.sliderSegmentClick=t(this,"sliderSegmentClick",7),this.sliderSegmentDrag=t(this,"sliderSegmentDrag",7),this.sliderThumbChange=t(this,"sliderThumbChange",7),this.sliderThumbClick=t(this,"sliderThumbClick",7),this.sliderThumbDrag=t(this,"sliderThumbDrag",7),this.sliderTickClick=t(this,"sliderTickClick",7),this.sliderTrackClick=t(this,"sliderTrackClick",7),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.draggableSegmentsEnabled=void 0,this.effectiveMax=void 0,this.effectiveMin=void 0,this.effectiveSegmentElements=void 0,this.labelElements=void 0,this.labelInputsEnabled=void 0,this.labels=void 0,this.layout="horizontal",this.min=void 0,this.max=void 0,this.maxLabelElement=void 0,this.minLabelElement=void 0,this.precision=void 0,this.rangeLabelInputsEnabled=void 0,this.segmentElements=void 0,this.snapOnClickEnabled=void 0,this.syncedSegmentsEnabled=void 0,this.thumbElements=void 0,this.thumbsConstrained=void 0,this.tickConfigs=void 0,this.tickElements=void 0,this.trackElement=void 0,this.steps=void 0,this.values=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}draggableSegmentsEnabledWatcher(i){this.widget&&(this.widget.draggableSegmentsEnabled=i)}effectiveMaxWatcher(i){this.widget&&(this.widget.effectiveMax=i)}effectiveMinWatcher(i){this.widget&&(this.widget.effectiveMin=i)}layoutWatcher(i){this.widget&&(this.widget.layout=i)}minWatcher(i){this.widget&&(this.widget.min=i)}maxWatcher(i){this.widget&&(this.widget.max=i)}precisionWatcher(i){this.widget&&(this.widget.precision=i)}rangeLabelInputsEnabledWatcher(i){this.widget&&(this.widget.rangeLabelInputsEnabled=i)}snapOnClickEnabledWatcher(i){this.widget&&(this.widget.snapOnClickEnabled=i)}stepsWatcher(i){this.widget&&(this.widget.steps=i)}syncedSegmentsEnabledWatcher(i){this.widget&&(this.widget.syncedSegmentsEnabled=i)}thumbsConstrainedWatcher(i){this.widget&&(this.widget.thumbsConstrained=i)}tickConfigsWatcher(i){this.widget&&(this.widget.tickConfigs=i)}valuesWatcher(i){"string"==typeof i&&(this.values=i.split(",").map((i=>Number(i)))),this.widget&&(this.widget.values=this.values)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await a();i((()=>this.widget.effectiveSegmentElements),(i=>this.effectiveSegmentElements=i),{initial:!0}),i((()=>this.widget.labelElements),(i=>this.labelElements=i),{initial:!0}),i((()=>this.widget.maxLabelElement),(i=>this.maxLabelElement=i),{initial:!0}),i((()=>this.widget.minLabelElement),(i=>this.minLabelElement=i),{initial:!0}),i((()=>this.widget.segmentElements),(i=>this.segmentElements=i),{initial:!0}),i((()=>this.widget.thumbElements),(i=>this.thumbElements=i),{initial:!0}),i((()=>this.widget.tickElements),(i=>this.tickElements=i),{initial:!0}),i((()=>this.widget.trackElement),(i=>this.trackElement=i),{initial:!0})}_createParams(){const i={container:this.childElem,layout:this.layout};return void 0!==this.min&&(i.min=this.min),void 0!==this.max&&(i.max=this.max),this.steps&&("string"==typeof this.steps&&(this.steps=this.steps.split(",").map((i=>Number(i)))),i.steps=this.steps),this.values&&("string"==typeof this.values&&(this.values=this.values.split(",").map((i=>Number(i)))),i.values=this.values),i}get el(){return h(this)}static get watchers(){return{draggableSegmentsEnabled:["draggableSegmentsEnabledWatcher"],effectiveMax:["effectiveMaxWatcher"],effectiveMin:["effectiveMinWatcher"],layout:["layoutWatcher"],min:["minWatcher"],max:["maxWatcher"],precision:["precisionWatcher"],rangeLabelInputsEnabled:["rangeLabelInputsEnabledWatcher"],snapOnClickEnabled:["snapOnClickEnabledWatcher"],steps:["stepsWatcher"],syncedSegmentsEnabled:["syncedSegmentsEnabledWatcher"],thumbsConstrained:["thumbsConstrainedWatcher"],tickConfigs:["tickConfigsWatcher"],values:["valuesWatcher"]}}};c.style="arcgis-slider{min-width:200px;min-height:25px}";export{c as arcgis_slider}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as e}from"./p-b813c9e6.js";function t(t){let i=!1;if(!e(t)){let e=t.el.closest("arcgis-map")||t.el.closest("arcgis-scene");e||"string"!=typeof t.referenceElement||(e=document.querySelector(t.referenceElement),i=!0),e?.view&&"string"!=typeof e?.view?(t.view=e.view,i||t.view.ui.add(t.childElem||t.el,t.position)):e&&function(e,t,i){const n=()=>{e?.removeEventListener("viewReady",n,!1),t.view=e?.view,i||"string"==typeof t.view||t.view?.ui.add(t.childElem?t.childElem:t.el,t.position)};e.addEventListener("viewReady",n,!1)}(e,t,i)}}async function i(e){const t=document.querySelector(e);return new Promise((e=>{if(void 0!==t?.view)e(t.view);else if(t){const i=()=>{t.removeEventListener("viewReady",i,!1),e(t.view)};t.addEventListener("viewReady",i,!1)}}))}async function n(e,t){"string"==typeof t?e.view=await i(t):void 0!==t&&e.widget&&(e.view=t.view)}export{t as c,n as r,i as u}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,g as i}from"./p-1e5e5ed9.js";import{F as o}from"./p-620959fc.js";const a=class{constructor(i){t(this,i),this.widgetReady=s(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}async componentDidLoad(){const t={container:this.childElem},s=await o(t);this.widget=s,this.widgetReady.emit({widget:this.widget})}get el(){return i(this)}};a.style="arcgis-histogram{}";export{a as arcgis_histogram}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{l as h,i as a}from"./p-620959fc.js";import{r,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const n=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.basemapTitle=void 0,this.baseItems=void 0,this.editingEnabled=!1,this.mulitpleSelectionEnabled=!1,this.position="bottom-left",this.expandable=!1,this.referenceItems=void 0,this.selectedItems=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}basemapTitleWatcher(t){void 0!==t&&this.widget&&(this.widget.basemapTitle=t)}editingBasemapEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.editingEnabled=t)}multipleSelectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleSelectionEnabled=t)}selectedItemsWatcher(t){void 0!==t&&this.widget&&(this.widget.selectedItems=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.basemapTitle&&(t.basemapTitle=this.basemapTitle),void 0!==this.editingEnabled&&(t.editingEnabled=this.editingEnabled),void 0!==this.mulitpleSelectionEnabled&&(t.multipleSelectionEnabled=this.mulitpleSelectionEnabled),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.basemapTitle),(t=>this.basemapTitle=t),{initial:!0}),t((()=>this.widget.editingEnabled),(t=>this.editingEnabled=t),{initial:!0}),t((()=>this.widget.multipleSelectionEnabled),(t=>this.mulitpleSelectionEnabled=t),{initial:!0}),t((()=>this.widget.referenceItems),(t=>this.referenceItems=t),{initial:!0}),t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0})}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],basemapTitle:["basemapTitleWatcher"],editingEnabled:["editingBasemapEnabledWatcher"],mulitpleSelectionEnabled:["multipleSelectionEnabledWatcher"],selectedItems:["selectedItemsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_basemap_layer_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{I as h,i as r}from"./p-620959fc.js";import{r as a,c}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const n=class{constructor(e){t(this,e),this.triggerActionEvent=i(this,"triggerActionEvent",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.multipleSelectionEnabled=void 0,this.operationalItems=void 0,this.selectedItems=void 0,this.selectionEnabled=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}multipleSelectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleSelectionEnabled=t)}selectedItemsWatcher(t){void 0!==t&&this.widget&&(this.widget.selectedItems=t)}selectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.selectionEnabled=t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async triggerAction(t,i){return this.widget?.triggerAction(t,i)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),c(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.operationalItems),(t=>this.operationalItems=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("trigger-action",(t=>this.triggerActionEvent.emit(t)))}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],multipleSelectionEnabled:["multipleSelectionEnabledWatcher"],selectedItems:["selectedItemsWatcher"],selectionEnabled:["selectionEnabledWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_layer_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{O as h,i as a}from"./p-620959fc.js";import{r,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const l=class{constructor(e){t(this,e),this.printComplete=i(this,"printComplete",7),this.printSubmit=i(this,"printSubmit",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.allowedFormats=void 0,this.allowedLayouts=void 0,this.exportedLinks=void 0,this.extraParameters=void 0,this.includeDefaultTemplates=void 0,this.portal=void 0,this.printServiceUrl=void 0,this.templateCustomTextElements=void 0,this.templateOptions=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}allowedFormatsWatcher(t){t&&this.widget&&(this.widget.allowedFormats=t.split(","))}allowedLayoutsWatcher(t){t&&this.widget&&(this.widget.allowedLayouts=t.split(","))}extraParametersWatcher(t){t&&this.widget&&(this.widget.extraParameters=t)}includeDefaultTemplatesWatcher(t){t&&this.widget&&(this.widget.includeDefaultTemplates=t)}portalWatcher(t){t&&this.widget&&(this.widget.portal=t)}printServiceUrlWatcher(t){t&&this.widget&&(this.widget.printServiceUrl=t)}templateCustomTextElementsWatcher(t){t&&this.widget&&(this.widget.templateCustomTextElements=t)}templateOptionsWatcher(t){t&&this.widget&&(this.widget.templateOptions=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.exportedLinks),(t=>this.exportedLinks=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.allowedFormats&&(t.allowedFormats=this.allowedFormats),this.allowedLayouts&&(t.allowedLayouts=this.allowedLayouts),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("complete",(t=>this.printComplete.emit(t))),this.widget.on("submit",(t=>this.printSubmit.emit(t)))}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],allowedFormats:["allowedFormatsWatcher"],allowedLayouts:["allowedLayoutsWatcher"],extraParameters:["extraParametersWatcher"],includeDefaultTemplates:["includeDefaultTemplatesWatcher"],portal:["portalWatcher"],printServiceUrl:["printServiceUrlWatcher"],templateCustomTextElements:["templateCustomTextElementsWatcher"],templateOptions:["templateOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_print}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{a5 as r}from"./p-620959fc.js";import{r as o,c as h}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.layout=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async zoomIn(){return this.widget?.zoomIn()}async zoomOut(){return this.widget?.zoomOut()}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{layout:["layoutWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-zoom{}";export{c as arcgis_zoom}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{a4 as r}from"./p-620959fc.js";import{r as h,c as o}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){a(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_weather}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,g as s}from"./p-1e5e5ed9.js";import{E as r}from"./p-620959fc.js";import{r as h,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const a=class{constructor(i){t(this,i),this.widgetReady=e(this,"widgetReady",7),this.referenceElement=void 0,this.element=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}elementWatcher(t){void 0!==t&&this.widget&&(this.widget.element=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),e=await r(t);this.widget=e,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.element&&(t.element=this.element),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],element:["elementWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};a.style="";export{a as arcgis_fullscreen}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{o as h,i as o}from"./p-620959fc.js";import{r as a,c as r}from"./p-2d3406f7.js";import{o as d}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.bookmarkEdit=i(this,"bookmarkEdit",7),this.bookmarkSelect=i(this,"bookmarkSelect",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.bookmarks=void 0,this.defaultCreateOptions=void 0,this.defaultEditOptions=void 0,this.editingEnabled=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}bookmarksWatcher(t){void 0!==t&&this.widget&&(this.widget.bookmarks=t)}defaultCreateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultCreateOptions=t)}defaultEditOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultEditOptions=t)}editingEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.editingEnabled=t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){d(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await o();t((()=>this.widget.editingEnabled),(t=>this.editingEnabled=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.bookmarks&&(t.bookmarks=this.bookmarks),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultEditOptions&&(t.defaultEditOptions=this.defaultEditOptions),void 0!==this.editingEnabled&&(t.editingEnabled=this.editingEnabled),t}_proxyEvents(){this.widget.on("bookmark-edit",(t=>this.bookmarkEdit.emit(t))),this.widget.on("bookmark-select",(t=>this.bookmarkSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],bookmarks:["bookmarksWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultEditOptions:["defaultEditOptionsWatcher"],editingEnabled:["editingEnabledWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_bookmarks}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{p as r}from"./p-620959fc.js";import{r as h,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const a=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0,this.view=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t={container:this.childElem};this.view&&(t.view=this.view);const i=await r(t);this.widget=i,this.view&&(i.view=this.view),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};a.style="";export{a as arcgis_building_explorer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as e,g as s}from"./p-1e5e5ed9.js";import{J as h}from"./p-620959fc.js";import{r,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){i(this,e),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.activeLayerInfos=void 0,this.basemapLegendVisible=void 0,this.hideLayersNotInCurrentView=void 0,this.layerInfos=void 0,this.respectLayerVisibility=void 0,this.legendStyle=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}activeLayerInfosWatcher(i){void 0!==i&&this.widget&&(this.widget.activeLayerInfos=i)}basemapLegendVisibleWatcher(i){void 0!==i&&this.widget&&(this.widget.basemapLegendVisible=i)}hideLayersNotInCurrentViewWatcher(i){void 0!==i&&this.widget&&(this.widget.hideLayersNotInCurrentView=i)}layerInfosWatcher(i){void 0!==i&&this.widget&&(this.widget.layerInfos=i)}respectLayerVisibilityWatcher(i){void 0!==i&&this.widget&&(this.widget.respectLayerVisibility=i)}styleWatcher(i){void 0!==i&&this.widget&&(this.widget.style=i)}referenceElementWatcher(i){r(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await h(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},e("div",{ref:i=>this.childElem=i})):e("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.activeLayerInfos&&(i.activeLayerInfos=this.activeLayerInfos),void 0!==this.basemapLegendVisible&&(i.basemapLegendVisible=this.basemapLegendVisible),void 0!==this.hideLayersNotInCurrentView&&(i.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView),this.layerInfos&&(i.layerInfos=this.layerInfos),void 0!==this.respectLayerVisibility&&(i.respectLayerVisibility=this.respectLayerVisibility),this.legendStyle&&(i.style=this.legendStyle),this.view&&(i.view=this.view),i}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],layerInfos:["layerInfosWatcher"],respectLayerVisibility:["respectLayerVisibilityWatcher"],legendStyle:["styleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_legend}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,g as e}from"./p-1e5e5ed9.js";import{B as r}from"./p-620959fc.js";import{c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const h=class{constructor(i){t(this,i),this.widgetReady=s(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0,this.layers=void 0}layersWatcher(t){void 0!==t&&this.widget&&(this.widget.layers=t)}async componentDidLoad(){const t=this._createParams(),s=await r(t);this.widget=s,a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?i("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},i("div",{ref:t=>this.childElem=t})):i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.layers&&(t.layers=this.layers),t}get el(){return e(this)}static get watchers(){return{layers:["layersWatcher"]}}};h.style="";export{h as arcgis_feature_templates}
|