@arcgis/map-components 1.0.0-beta.18 → 1.0.0-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
- package/dist/arcgis-map-components/{p-1307fe8a.entry.js → p-021530fd.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-9d16369e.entry.js → p-0685d15c.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-a094dafc.entry.js → p-09e15a1f.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-db02ac80.entry.js → p-0d77ce8d.entry.js} +1 -1
- package/dist/arcgis-map-components/p-0f83c24c.entry.js +1 -0
- package/dist/arcgis-map-components/p-177a536e.entry.js +1 -0
- package/dist/arcgis-map-components/{p-3b5c0098.entry.js → p-1977344d.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-79080368.entry.js → p-1b9d7fb5.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-5396bcb5.entry.js → p-20c7de19.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-741086a4.entry.js → p-23aebf98.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-0a81674b.entry.js → p-2bb7a744.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-1401deea.js → p-2d3406f7.js} +1 -1
- package/dist/arcgis-map-components/p-2fdc27af.entry.js +1 -0
- package/dist/arcgis-map-components/{p-85b278c1.entry.js → p-34df1205.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-5a87f5c4.entry.js → p-39df01ce.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-f32183ab.entry.js → p-39eb103e.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-1126ae71.entry.js → p-4b213105.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-86acdf29.entry.js → p-53d8e476.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-69214958.entry.js → p-57259fd5.entry.js} +1 -1
- package/dist/arcgis-map-components/p-5924285b.entry.js +1 -0
- package/dist/arcgis-map-components/{p-bfb9ceb4.entry.js → p-68a75dc8.entry.js} +1 -1
- package/dist/arcgis-map-components/p-68f62c97.entry.js +1 -0
- package/dist/arcgis-map-components/{p-b5182c68.entry.js → p-6951ecc2.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-e4f5a3f5.entry.js → p-69aaaa8c.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-d5b79b4e.entry.js → p-71ba5d8c.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-0decaa03.entry.js → p-796aa573.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-dfbbbdad.entry.js → p-7e3965a6.entry.js} +1 -1
- package/dist/arcgis-map-components/p-85e5fcb4.entry.js +1 -0
- package/dist/arcgis-map-components/{p-e432eb73.entry.js → p-91b9e93f.entry.js} +1 -1
- package/dist/arcgis-map-components/p-9566f3ac.entry.js +1 -0
- package/dist/arcgis-map-components/{p-9634a446.entry.js → p-9767670f.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-d2274db9.entry.js → p-9d0e9668.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-23530601.entry.js → p-a2ba2654.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-6e69fe28.entry.js → p-a47f9c9c.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-0b5368a6.entry.js → p-ac2a93fb.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-406f187c.entry.js → p-b35cd7c1.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-d9c0253a.entry.js → p-b59cc744.entry.js} +1 -1
- package/dist/arcgis-map-components/p-b699b1d2.entry.js +1 -0
- package/dist/arcgis-map-components/{p-7e90f27c.entry.js → p-c2d35c80.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-8bf81a13.entry.js → p-c9f47845.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-f9b78102.entry.js → p-ca9109da.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-a7715a1a.entry.js → p-cdf352de.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-fee8b15a.entry.js → p-d360bf58.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-c726b024.entry.js → p-d3b14bf9.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-866d57e1.entry.js → p-de286635.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-fa591c93.entry.js → p-e230d0a1.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-c28ede1a.entry.js → p-e3a2afb4.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-0dddef29.entry.js → p-e8b09e23.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-aa73b1cb.entry.js → p-ea6ae338.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-a6ab7f72.entry.js → p-ef4d2a7e.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-95aa4e86.entry.js → p-f37dec12.entry.js} +1 -1
- package/dist/arcgis-map-components/p-f62ad08d.entry.js +1 -0
- package/dist/arcgis-map-components/p-f6bc527c.js +1 -0
- package/dist/arcgis-map-components/p-f8e2e2ed.entry.js +1 -0
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-attachments.cjs.entry.js +1 -1
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-compass.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-daylight.cjs.entry.js +2 -2
- package/dist/{arcgis-map-components/arcgis-slice.entry.js → cjs/arcgis-directional-pad.cjs.entry.js} +34 -33
- package/dist/cjs/arcgis-directions.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-editor.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +1 -1
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-features.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-histogram.cjs.entry.js +1 -1
- package/dist/cjs/arcgis-home.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-legend.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-locate.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-map-components.cjs.js +1 -1
- package/dist/cjs/arcgis-measurement.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-print.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scene.cjs.entry.js +1 -1
- package/dist/cjs/arcgis-search.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-sketch.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-slice.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-swipe.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-table-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-track.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +220 -0
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +110 -0
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-weather.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-zoom.cjs.entry.js +2 -2
- package/dist/cjs/{component-utils-933b7aca.js → component-utils-cbd20e88.js} +1 -0
- package/dist/cjs/index-6b51d5a0.js +12 -0
- package/dist/cjs/{index-ef2acc94.js → index-fda6ecee.js} +36 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/components/arcgis-directional-pad.d.ts +11 -0
- package/dist/components/arcgis-directional-pad.js +126 -0
- package/dist/components/arcgis-directions.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d.js +1 -1
- package/dist/components/arcgis-editor.js +1 -1
- package/dist/components/arcgis-elevation-profile.js +1 -1
- package/dist/components/arcgis-expand2.js +1 -1
- package/dist/components/arcgis-feature-form.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +1 -1
- package/dist/components/arcgis-features.js +1 -1
- package/dist/components/arcgis-floor-filter.js +1 -1
- package/dist/components/arcgis-fullscreen.js +1 -1
- package/dist/components/arcgis-histogram-range-slider.js +1 -1
- package/dist/components/arcgis-histogram.js +1 -1
- package/dist/components/arcgis-home.js +1 -1
- package/dist/components/arcgis-layer-list.js +1 -1
- package/dist/components/arcgis-legend.js +1 -1
- package/dist/components/arcgis-line-of-sight.js +1 -1
- package/dist/components/arcgis-locate.js +1 -1
- package/dist/components/arcgis-map.js +1 -1
- package/dist/components/arcgis-measurement.js +1 -1
- package/dist/components/arcgis-navigation-toggle.js +1 -1
- package/dist/components/arcgis-print.js +1 -1
- package/dist/components/arcgis-scale-bar.js +1 -1
- package/dist/components/arcgis-scale-range-slider.js +1 -1
- package/dist/components/arcgis-scene.js +1 -1
- package/dist/components/arcgis-search.js +1 -1
- package/dist/components/arcgis-shadow-cast.js +1 -1
- package/dist/components/arcgis-sketch.js +1 -1
- package/dist/components/arcgis-slice.js +1 -1
- package/dist/components/arcgis-slider.js +1 -1
- package/dist/components/arcgis-swipe.js +1 -1
- package/dist/components/arcgis-table-list.js +1 -1
- package/dist/components/arcgis-time-slider.js +1 -1
- package/dist/components/arcgis-track.js +1 -1
- package/dist/components/arcgis-utility-network-associations.d.ts +11 -0
- package/dist/components/arcgis-utility-network-associations.js +258 -0
- package/dist/components/arcgis-utility-network-trace.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology.d.ts +11 -0
- package/dist/components/arcgis-utility-network-validate-topology.js +137 -0
- package/dist/components/arcgis-value-picker.js +1 -1
- package/dist/components/arcgis-weather.js +1 -1
- package/dist/components/arcgis-zoom.js +1 -1
- package/dist/components/disconnected.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index2.js +34 -1
- package/dist/esm/arcgis-area-measurement-2d.entry.js +2 -2
- package/dist/esm/arcgis-area-measurement-3d.entry.js +2 -2
- package/dist/esm/arcgis-attachments.entry.js +1 -1
- package/dist/esm/arcgis-basemap-gallery_3.entry.js +2 -2
- package/dist/esm/arcgis-basemap-layer-list.entry.js +2 -2
- package/dist/esm/arcgis-basemap-toggle.entry.js +2 -2
- package/dist/esm/arcgis-bookmarks.entry.js +2 -2
- package/dist/esm/arcgis-building-explorer.entry.js +2 -2
- package/dist/esm/arcgis-compass.entry.js +2 -2
- package/dist/esm/arcgis-coordinate-conversion.entry.js +2 -2
- package/dist/esm/arcgis-daylight.entry.js +2 -2
- package/dist/{arcgis-map-components/arcgis-shadow-cast.entry.js → esm/arcgis-directional-pad.entry.js} +22 -17
- package/dist/esm/arcgis-directions.entry.js +2 -2
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +2 -2
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +2 -2
- package/dist/esm/arcgis-editor.entry.js +2 -2
- package/dist/esm/arcgis-elevation-profile.entry.js +2 -2
- package/dist/esm/arcgis-feature-form.entry.js +1 -1
- package/dist/esm/arcgis-feature-table.entry.js +2 -2
- package/dist/esm/arcgis-feature-templates.entry.js +2 -2
- package/dist/esm/arcgis-feature.entry.js +2 -2
- package/dist/esm/arcgis-features.entry.js +2 -2
- package/dist/esm/arcgis-floor-filter.entry.js +2 -2
- package/dist/esm/arcgis-fullscreen.entry.js +2 -2
- package/dist/esm/arcgis-histogram-range-slider.entry.js +2 -2
- package/dist/esm/arcgis-histogram.entry.js +1 -1
- package/dist/esm/arcgis-home.entry.js +2 -2
- package/dist/esm/arcgis-layer-list.entry.js +2 -2
- package/dist/esm/arcgis-legend.entry.js +2 -2
- package/dist/esm/arcgis-line-of-sight.entry.js +2 -2
- package/dist/esm/arcgis-locate.entry.js +2 -2
- package/dist/esm/arcgis-map-components.js +1 -1
- package/dist/esm/arcgis-measurement.entry.js +2 -2
- package/dist/esm/arcgis-navigation-toggle.entry.js +2 -2
- package/dist/esm/arcgis-print.entry.js +2 -2
- package/dist/esm/arcgis-scale-bar.entry.js +2 -2
- package/dist/esm/arcgis-scale-range-slider.entry.js +2 -2
- package/dist/esm/arcgis-scene.entry.js +1 -1
- package/dist/esm/arcgis-search.entry.js +2 -2
- package/dist/esm/arcgis-shadow-cast.entry.js +2 -2
- package/dist/esm/arcgis-sketch.entry.js +2 -2
- package/dist/esm/arcgis-slice.entry.js +2 -2
- package/dist/esm/arcgis-slider.entry.js +2 -2
- package/dist/esm/arcgis-swipe.entry.js +2 -2
- package/dist/esm/arcgis-table-list.entry.js +2 -2
- package/dist/esm/arcgis-time-slider.entry.js +2 -2
- package/dist/esm/arcgis-track.entry.js +2 -2
- package/dist/esm/arcgis-utility-network-associations.entry.js +216 -0
- package/dist/esm/arcgis-utility-network-trace.entry.js +2 -2
- package/dist/{arcgis-map-components/arcgis-daylight.entry.js → esm/arcgis-utility-network-validate-topology.entry.js} +29 -35
- package/dist/esm/arcgis-value-picker.entry.js +2 -2
- package/dist/esm/arcgis-weather.entry.js +2 -2
- package/dist/esm/arcgis-zoom.entry.js +2 -2
- package/dist/{arcgis-map-components/component-utils-d3552de2.js → esm/component-utils-2ebdae59.js} +1 -1
- package/dist/esm/{index-ad26b6d0.js → index-98b79a87.js} +34 -1
- package/dist/esm/index-eb3ead33.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/arcgis-directional-pad/arcgis-directional-pad.d.ts +27 -0
- package/dist/types/components/arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts +50 -0
- package/dist/types/components/arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts +28 -0
- package/dist/types/components.d.ts +119 -0
- package/package.json +7 -6
- package/dist/arcgis-map-components/app-globals-0f993ce5.js +0 -3
- package/dist/arcgis-map-components/arcgis-area-measurement-2d.entry.js +0 -97
- package/dist/arcgis-map-components/arcgis-area-measurement-3d.entry.js +0 -90
- package/dist/arcgis-map-components/arcgis-attachments.entry.js +0 -69
- package/dist/arcgis-map-components/arcgis-basemap-gallery.entry.js +0 -93
- package/dist/arcgis-map-components/arcgis-basemap-layer-list.entry.js +0 -140
- package/dist/arcgis-map-components/arcgis-basemap-toggle.entry.js +0 -111
- package/dist/arcgis-map-components/arcgis-bookmarks.entry.js +0 -136
- package/dist/arcgis-map-components/arcgis-building-explorer.entry.js +0 -76
- package/dist/arcgis-map-components/arcgis-compass.entry.js +0 -86
- package/dist/arcgis-map-components/arcgis-coordinate-conversion.entry.js +0 -154
- package/dist/arcgis-map-components/arcgis-directions.entry.js +0 -190
- package/dist/arcgis-map-components/arcgis-directline-measurement-3d.entry.js +0 -110
- package/dist/arcgis-map-components/arcgis-distance-measurement-2d.entry.js +0 -102
- package/dist/arcgis-map-components/arcgis-editor.entry.js +0 -176
- package/dist/arcgis-map-components/arcgis-elevation-profile.entry.js +0 -132
- package/dist/arcgis-map-components/arcgis-expand.entry.js +0 -88
- package/dist/arcgis-map-components/arcgis-feature-form.entry.js +0 -32
- package/dist/arcgis-map-components/arcgis-feature-table.entry.js +0 -296
- package/dist/arcgis-map-components/arcgis-feature-templates.entry.js +0 -69
- package/dist/arcgis-map-components/arcgis-feature.entry.js +0 -102
- package/dist/arcgis-map-components/arcgis-features.entry.js +0 -129
- package/dist/arcgis-map-components/arcgis-floor-filter.entry.js +0 -130
- package/dist/arcgis-map-components/arcgis-fullscreen.entry.js +0 -88
- package/dist/arcgis-map-components/arcgis-histogram-range-slider.entry.js +0 -76
- package/dist/arcgis-map-components/arcgis-histogram.entry.js +0 -32
- package/dist/arcgis-map-components/arcgis-home.entry.js +0 -104
- package/dist/arcgis-map-components/arcgis-layer-list.entry.js +0 -124
- package/dist/arcgis-map-components/arcgis-legend.entry.js +0 -142
- package/dist/arcgis-map-components/arcgis-line-of-sight.entry.js +0 -90
- package/dist/arcgis-map-components/arcgis-locate.entry.js +0 -154
- package/dist/arcgis-map-components/arcgis-map.entry.js +0 -104
- package/dist/arcgis-map-components/arcgis-measurement.entry.js +0 -119
- package/dist/arcgis-map-components/arcgis-navigation-toggle.entry.js +0 -93
- package/dist/arcgis-map-components/arcgis-print.entry.js +0 -159
- package/dist/arcgis-map-components/arcgis-scale-bar.entry.js +0 -102
- package/dist/arcgis-map-components/arcgis-scale-range-slider.entry.js +0 -142
- package/dist/arcgis-map-components/arcgis-scene.entry.js +0 -102
- package/dist/arcgis-map-components/arcgis-search.entry.js +0 -272
- package/dist/arcgis-map-components/arcgis-sketch.entry.js +0 -197
- package/dist/arcgis-map-components/arcgis-slider.entry.js +0 -229
- package/dist/arcgis-map-components/arcgis-swipe.entry.js +0 -113
- package/dist/arcgis-map-components/arcgis-table-list.entry.js +0 -114
- package/dist/arcgis-map-components/arcgis-time-slider.entry.js +0 -212
- package/dist/arcgis-map-components/arcgis-track.entry.js +0 -143
- package/dist/arcgis-map-components/arcgis-utility-network-trace.entry.js +0 -158
- package/dist/arcgis-map-components/arcgis-value-picker.entry.js +0 -156
- package/dist/arcgis-map-components/arcgis-weather.entry.js +0 -82
- package/dist/arcgis-map-components/arcgis-zoom.entry.js +0 -96
- package/dist/arcgis-map-components/css-shim-b7d3d95f.js +0 -4
- package/dist/arcgis-map-components/disconnected-bc5fc8bc.js +0 -52
- package/dist/arcgis-map-components/dom-64053c71.js +0 -73
- package/dist/arcgis-map-components/index-82d260eb.js +0 -8293
- package/dist/arcgis-map-components/index-d9a93dfb.js +0 -3371
- package/dist/arcgis-map-components/mapping-utils-26beb904.js +0 -38
- package/dist/arcgis-map-components/p-095e0075.js +0 -1
- package/dist/arcgis-map-components/p-7e5545cf.entry.js +0 -1
- package/dist/arcgis-map-components/p-80fd5534.entry.js +0 -1
- package/dist/arcgis-map-components/p-81a3bd3b.entry.js +0 -1
- package/dist/arcgis-map-components/p-95287b70.entry.js +0 -1
- package/dist/arcgis-map-components/p-ae017ef1.entry.js +0 -1
- package/dist/arcgis-map-components/p-c64bceeb.entry.js +0 -1
- package/dist/arcgis-map-components/p-d0dc4119.entry.js +0 -1
- package/dist/arcgis-map-components/shadow-css-008a49f5.js +0 -387
- package/dist/esm/component-utils-d3552de2.js +0 -73
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
|
|
2
|
-
import { y as newWidgetsFloorFilter } from './index-82d260eb.js';
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-d3552de2.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisFloorFilterCss = "";
|
|
7
|
-
|
|
8
|
-
const ArcgisFloorFilter = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
-
this.referenceElement = undefined;
|
|
13
|
-
this.facility = undefined;
|
|
14
|
-
this.level = undefined;
|
|
15
|
-
this.longNames = undefined;
|
|
16
|
-
this.site = undefined;
|
|
17
|
-
this.position = "bottom-left";
|
|
18
|
-
this.expandable = false;
|
|
19
|
-
this.widget = undefined;
|
|
20
|
-
this.view = undefined;
|
|
21
|
-
}
|
|
22
|
-
//--------------------------------------------------------------------------
|
|
23
|
-
//
|
|
24
|
-
// Watchers
|
|
25
|
-
//
|
|
26
|
-
//--------------------------------------------------------------------------
|
|
27
|
-
positionWatcher(newValue) {
|
|
28
|
-
if (newValue !== undefined && this.widget) {
|
|
29
|
-
if (typeof this.view !== "string") {
|
|
30
|
-
this.view.ui.move(this.childElem, newValue);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
facilityWatcher(newValue) {
|
|
35
|
-
if (newValue !== undefined && this.widget) {
|
|
36
|
-
this.widget.facility = newValue;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
levelWatcher(newValue) {
|
|
40
|
-
if (newValue !== undefined && this.widget) {
|
|
41
|
-
this.widget.level = newValue;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
longNamesWatcher(newValue) {
|
|
45
|
-
if (newValue !== undefined && this.widget) {
|
|
46
|
-
this.widget.longNames = newValue;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
siteWatcher(newValue) {
|
|
50
|
-
if (newValue !== undefined && this.widget) {
|
|
51
|
-
this.widget.site = newValue;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
referenceElementWatcher(newValue) {
|
|
55
|
-
referenceElementHelper(this, newValue);
|
|
56
|
-
}
|
|
57
|
-
viewWatcher(newValue) {
|
|
58
|
-
if (newValue !== undefined && this.widget) {
|
|
59
|
-
this.widget.view = newValue;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
//--------------------------------------------------------------------------
|
|
63
|
-
//
|
|
64
|
-
// Methods
|
|
65
|
-
//
|
|
66
|
-
//--------------------------------------------------------------------------
|
|
67
|
-
async updateWebDocument(webmap) {
|
|
68
|
-
return this.widget?.updateWebDocument(webmap);
|
|
69
|
-
}
|
|
70
|
-
//--------------------------------------------------------------------------
|
|
71
|
-
//
|
|
72
|
-
// Lifecycle
|
|
73
|
-
//
|
|
74
|
-
//--------------------------------------------------------------------------
|
|
75
|
-
async componentDidLoad() {
|
|
76
|
-
const params = this._createParams();
|
|
77
|
-
const widget = await newWidgetsFloorFilter(params);
|
|
78
|
-
this.widget = widget;
|
|
79
|
-
this.widgetReady.emit(true);
|
|
80
|
-
checkForView(this);
|
|
81
|
-
}
|
|
82
|
-
disconnectedCallback() {
|
|
83
|
-
onDisconnectedHelper(this);
|
|
84
|
-
}
|
|
85
|
-
render() {
|
|
86
|
-
if (this.expandable) {
|
|
87
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
88
|
-
}
|
|
89
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
90
|
-
}
|
|
91
|
-
//--------------------------------------------------------------------------
|
|
92
|
-
//
|
|
93
|
-
// Private Methods
|
|
94
|
-
//
|
|
95
|
-
//--------------------------------------------------------------------------
|
|
96
|
-
_createParams() {
|
|
97
|
-
const params = {
|
|
98
|
-
container: this.childElem
|
|
99
|
-
};
|
|
100
|
-
if (this.facility) {
|
|
101
|
-
params.facility = this.facility;
|
|
102
|
-
}
|
|
103
|
-
if (this.level) {
|
|
104
|
-
params.level = this.level;
|
|
105
|
-
}
|
|
106
|
-
if (this.longNames) {
|
|
107
|
-
params.longNames = this.longNames;
|
|
108
|
-
}
|
|
109
|
-
if (this.site) {
|
|
110
|
-
params.site = this.site;
|
|
111
|
-
}
|
|
112
|
-
if (this.view) {
|
|
113
|
-
params.view = this.view;
|
|
114
|
-
}
|
|
115
|
-
return params;
|
|
116
|
-
}
|
|
117
|
-
get el() { return getElement(this); }
|
|
118
|
-
static get watchers() { return {
|
|
119
|
-
"position": ["positionWatcher"],
|
|
120
|
-
"facility": ["facilityWatcher"],
|
|
121
|
-
"level": ["levelWatcher"],
|
|
122
|
-
"longNames": ["longNamesWatcher"],
|
|
123
|
-
"site": ["siteWatcher"],
|
|
124
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
125
|
-
"view": ["viewWatcher"]
|
|
126
|
-
}; }
|
|
127
|
-
};
|
|
128
|
-
ArcgisFloorFilter.style = arcgisFloorFilterCss;
|
|
129
|
-
|
|
130
|
-
export { ArcgisFloorFilter as arcgis_floor_filter };
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
|
|
2
|
-
import { z as newWidgetsFullscreen } from './index-82d260eb.js';
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-d3552de2.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisFullscreenCss = "";
|
|
7
|
-
|
|
8
|
-
const ArcgisFullscreen = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
-
this.referenceElement = undefined;
|
|
13
|
-
this.element = undefined;
|
|
14
|
-
this.position = "bottom-left";
|
|
15
|
-
this.view = undefined;
|
|
16
|
-
this.widget = undefined;
|
|
17
|
-
}
|
|
18
|
-
//--------------------------------------------------------------------------
|
|
19
|
-
//
|
|
20
|
-
// Watchers
|
|
21
|
-
//
|
|
22
|
-
//--------------------------------------------------------------------------
|
|
23
|
-
positionWatcher(newValue) {
|
|
24
|
-
if (newValue !== undefined && this.widget) {
|
|
25
|
-
if (typeof this.view !== "string") {
|
|
26
|
-
this.view.ui.move(this.childElem, newValue);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
elementWatcher(newValue) {
|
|
31
|
-
if (newValue !== undefined && this.widget) {
|
|
32
|
-
this.widget.element = newValue;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
referenceElementWatcher(newValue) {
|
|
36
|
-
referenceElementHelper(this, newValue);
|
|
37
|
-
}
|
|
38
|
-
viewWatcher(newValue) {
|
|
39
|
-
if (newValue !== undefined && this.widget) {
|
|
40
|
-
this.widget.view = newValue;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
//--------------------------------------------------------------------------
|
|
44
|
-
//
|
|
45
|
-
// Lifecycle
|
|
46
|
-
//
|
|
47
|
-
//--------------------------------------------------------------------------
|
|
48
|
-
async componentDidLoad() {
|
|
49
|
-
const params = this._createParams();
|
|
50
|
-
const widget = await newWidgetsFullscreen(params);
|
|
51
|
-
this.widget = widget;
|
|
52
|
-
this.widgetReady.emit(true);
|
|
53
|
-
checkForView(this);
|
|
54
|
-
}
|
|
55
|
-
disconnectedCallback() {
|
|
56
|
-
onDisconnectedHelper(this);
|
|
57
|
-
}
|
|
58
|
-
render() {
|
|
59
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
60
|
-
}
|
|
61
|
-
//--------------------------------------------------------------------------
|
|
62
|
-
//
|
|
63
|
-
// Private Methods
|
|
64
|
-
//
|
|
65
|
-
//--------------------------------------------------------------------------
|
|
66
|
-
_createParams() {
|
|
67
|
-
const params = {
|
|
68
|
-
container: this.childElem
|
|
69
|
-
};
|
|
70
|
-
if (this.element) {
|
|
71
|
-
params.element = this.element;
|
|
72
|
-
}
|
|
73
|
-
if (this.view) {
|
|
74
|
-
params.view = this.view;
|
|
75
|
-
}
|
|
76
|
-
return params;
|
|
77
|
-
}
|
|
78
|
-
get el() { return getElement(this); }
|
|
79
|
-
static get watchers() { return {
|
|
80
|
-
"position": ["positionWatcher"],
|
|
81
|
-
"element": ["elementWatcher"],
|
|
82
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
83
|
-
"view": ["viewWatcher"]
|
|
84
|
-
}; }
|
|
85
|
-
};
|
|
86
|
-
ArcgisFullscreen.style = arcgisFullscreenCss;
|
|
87
|
-
|
|
88
|
-
export { ArcgisFullscreen as arcgis_fullscreen };
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
|
|
2
|
-
import { B as newWidgetsHistogramRangeSlider } from './index-82d260eb.js';
|
|
3
|
-
import { c as checkForView } from './component-utils-d3552de2.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisHistogramRangeSliderCss = "arcgis-histogram-range-slider{}";
|
|
7
|
-
|
|
8
|
-
const ArcgisHistogramRangeSlider = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
-
this.referenceElement = undefined;
|
|
13
|
-
this.max = 0;
|
|
14
|
-
this.min = 0;
|
|
15
|
-
this.position = "bottom-left";
|
|
16
|
-
this.expandable = false;
|
|
17
|
-
this.widget = undefined;
|
|
18
|
-
}
|
|
19
|
-
//--------------------------------------------------------------------------
|
|
20
|
-
//
|
|
21
|
-
// Watchers
|
|
22
|
-
//
|
|
23
|
-
//--------------------------------------------------------------------------
|
|
24
|
-
maxWatcher(newValue) {
|
|
25
|
-
if (this.widget) {
|
|
26
|
-
this.widget.max = Number(newValue);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
minWatcher(newValue) {
|
|
30
|
-
if (this.widget) {
|
|
31
|
-
this.widget.min = Number(newValue);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
//--------------------------------------------------------------------------
|
|
35
|
-
//
|
|
36
|
-
// Lifecycle
|
|
37
|
-
//
|
|
38
|
-
//--------------------------------------------------------------------------
|
|
39
|
-
async componentDidLoad() {
|
|
40
|
-
const params = this._createParams();
|
|
41
|
-
const widget = await newWidgetsHistogramRangeSlider(params);
|
|
42
|
-
this.widget = widget;
|
|
43
|
-
this.widgetReady.emit(true);
|
|
44
|
-
checkForView(this);
|
|
45
|
-
}
|
|
46
|
-
disconnectedCallback() {
|
|
47
|
-
onDisconnectedHelper(this);
|
|
48
|
-
}
|
|
49
|
-
render() {
|
|
50
|
-
if (this.expandable) {
|
|
51
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
52
|
-
}
|
|
53
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
54
|
-
}
|
|
55
|
-
//--------------------------------------------------------------------------
|
|
56
|
-
//
|
|
57
|
-
// Private Methods
|
|
58
|
-
//
|
|
59
|
-
//--------------------------------------------------------------------------
|
|
60
|
-
_createParams() {
|
|
61
|
-
const params = {
|
|
62
|
-
container: this.childElem,
|
|
63
|
-
min: this.min,
|
|
64
|
-
max: this.max
|
|
65
|
-
};
|
|
66
|
-
return params;
|
|
67
|
-
}
|
|
68
|
-
get el() { return getElement(this); }
|
|
69
|
-
static get watchers() { return {
|
|
70
|
-
"max": ["maxWatcher"],
|
|
71
|
-
"min": ["minWatcher"]
|
|
72
|
-
}; }
|
|
73
|
-
};
|
|
74
|
-
ArcgisHistogramRangeSlider.style = arcgisHistogramRangeSliderCss;
|
|
75
|
-
|
|
76
|
-
export { ArcgisHistogramRangeSlider as arcgis_histogram_range_slider };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, g as getElement } from './index-d9a93dfb.js';
|
|
2
|
-
import { A as newWidgetsHistogram } from './index-82d260eb.js';
|
|
3
|
-
|
|
4
|
-
const arcgisHistogramCss = "arcgis-histogram{}";
|
|
5
|
-
|
|
6
|
-
const ArcgisHistogram = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
10
|
-
this.referenceElement = undefined;
|
|
11
|
-
this.position = "bottom-left";
|
|
12
|
-
this.expandable = false;
|
|
13
|
-
this.widget = undefined;
|
|
14
|
-
}
|
|
15
|
-
//--------------------------------------------------------------------------
|
|
16
|
-
//
|
|
17
|
-
// Lifecycle
|
|
18
|
-
//
|
|
19
|
-
//--------------------------------------------------------------------------
|
|
20
|
-
async componentDidLoad() {
|
|
21
|
-
const params = {
|
|
22
|
-
container: this.childElem
|
|
23
|
-
};
|
|
24
|
-
const widget = await newWidgetsHistogram(params);
|
|
25
|
-
this.widget = widget;
|
|
26
|
-
this.widgetReady.emit(true);
|
|
27
|
-
}
|
|
28
|
-
get el() { return getElement(this); }
|
|
29
|
-
};
|
|
30
|
-
ArcgisHistogram.style = arcgisHistogramCss;
|
|
31
|
-
|
|
32
|
-
export { ArcgisHistogram as arcgis_histogram };
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
|
|
2
|
-
import { C as newWidgetsHome } from './index-82d260eb.js';
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-d3552de2.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisHomeCss = "arcgis-home{}";
|
|
7
|
-
|
|
8
|
-
const ArcgisHome = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.goCalled = createEvent(this, "goCalled", 7);
|
|
12
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
13
|
-
this.referenceElement = undefined;
|
|
14
|
-
this.viewpoint = undefined;
|
|
15
|
-
this.view = undefined;
|
|
16
|
-
this.position = "bottom-left";
|
|
17
|
-
this.widget = undefined;
|
|
18
|
-
}
|
|
19
|
-
//--------------------------------------------------------------------------
|
|
20
|
-
//
|
|
21
|
-
// Watchers
|
|
22
|
-
//
|
|
23
|
-
//--------------------------------------------------------------------------
|
|
24
|
-
positionWatcher(newValue) {
|
|
25
|
-
if (newValue !== undefined && this.widget) {
|
|
26
|
-
if (typeof this.view !== "string") {
|
|
27
|
-
this.view.ui.move(this.childElem, newValue);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
viewpointWatcher(newValue) {
|
|
32
|
-
if (newValue !== undefined && this.widget) {
|
|
33
|
-
this.widget.viewpoint = newValue;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
referenceElementWatcher(newValue) {
|
|
37
|
-
referenceElementHelper(this, newValue);
|
|
38
|
-
}
|
|
39
|
-
viewWatcher(newValue) {
|
|
40
|
-
if (newValue !== undefined && this.widget) {
|
|
41
|
-
this.widget.view = newValue;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
//--------------------------------------------------------------------------
|
|
45
|
-
//
|
|
46
|
-
// Methods
|
|
47
|
-
//
|
|
48
|
-
//--------------------------------------------------------------------------
|
|
49
|
-
async cancelGo() {
|
|
50
|
-
return this.widget?.cancelGo();
|
|
51
|
-
}
|
|
52
|
-
async go() {
|
|
53
|
-
return this.widget?.go();
|
|
54
|
-
}
|
|
55
|
-
//--------------------------------------------------------------------------
|
|
56
|
-
//
|
|
57
|
-
// Lifecycle
|
|
58
|
-
//
|
|
59
|
-
//--------------------------------------------------------------------------
|
|
60
|
-
async componentDidLoad() {
|
|
61
|
-
const params = this._createParams();
|
|
62
|
-
const widget = await newWidgetsHome(params);
|
|
63
|
-
this.widget = widget;
|
|
64
|
-
this.widgetReady.emit(true);
|
|
65
|
-
this._proxyEvents();
|
|
66
|
-
checkForView(this);
|
|
67
|
-
}
|
|
68
|
-
disconnectedCallback() {
|
|
69
|
-
onDisconnectedHelper(this);
|
|
70
|
-
}
|
|
71
|
-
render() {
|
|
72
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
73
|
-
}
|
|
74
|
-
//--------------------------------------------------------------------------
|
|
75
|
-
//
|
|
76
|
-
// Private Methods
|
|
77
|
-
//
|
|
78
|
-
//--------------------------------------------------------------------------
|
|
79
|
-
_createParams() {
|
|
80
|
-
const params = {
|
|
81
|
-
container: this.childElem
|
|
82
|
-
};
|
|
83
|
-
if (this.viewpoint) {
|
|
84
|
-
params.viewpoint = this.viewpoint;
|
|
85
|
-
}
|
|
86
|
-
if (this.view) {
|
|
87
|
-
params.view = this.view;
|
|
88
|
-
}
|
|
89
|
-
return params;
|
|
90
|
-
}
|
|
91
|
-
async _proxyEvents() {
|
|
92
|
-
this.widget?.on("go", (e) => this.goCalled.emit(e));
|
|
93
|
-
}
|
|
94
|
-
get el() { return getElement(this); }
|
|
95
|
-
static get watchers() { return {
|
|
96
|
-
"position": ["positionWatcher"],
|
|
97
|
-
"viewpoint": ["viewpointWatcher"],
|
|
98
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
99
|
-
"view": ["viewWatcher"]
|
|
100
|
-
}; }
|
|
101
|
-
};
|
|
102
|
-
ArcgisHome.style = arcgisHomeCss;
|
|
103
|
-
|
|
104
|
-
export { ArcgisHome as arcgis_home };
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
|
|
2
|
-
import { D as newWidgetsLayerList, i as importCoreReactiveUtils } from './index-82d260eb.js';
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-d3552de2.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisLayerListCss = "";
|
|
7
|
-
|
|
8
|
-
const ArcgisLayerList = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.triggerActionEvent = createEvent(this, "triggerActionEvent", 7);
|
|
12
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
13
|
-
this.referenceElement = undefined;
|
|
14
|
-
this.multipleSelectionEnabled = undefined;
|
|
15
|
-
this.operationalItems = undefined;
|
|
16
|
-
this.selectedItems = undefined;
|
|
17
|
-
this.selectionEnabled = undefined;
|
|
18
|
-
this.position = "bottom-left";
|
|
19
|
-
this.expandable = false;
|
|
20
|
-
this.view = undefined;
|
|
21
|
-
this.widget = undefined;
|
|
22
|
-
}
|
|
23
|
-
//--------------------------------------------------------------------------
|
|
24
|
-
//
|
|
25
|
-
// Watchers
|
|
26
|
-
//
|
|
27
|
-
//--------------------------------------------------------------------------
|
|
28
|
-
positionWatcher(newValue) {
|
|
29
|
-
if (newValue !== undefined && this.widget) {
|
|
30
|
-
if (typeof this.view !== "string") {
|
|
31
|
-
this.view.ui.move(this.childElem, newValue);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
multipleSelectionEnabledWatcher(newValue) {
|
|
36
|
-
if (newValue !== undefined && this.widget) {
|
|
37
|
-
this.widget.multipleSelectionEnabled = newValue;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
selectedItemsWatcher(newValue) {
|
|
41
|
-
if (newValue !== undefined && this.widget) {
|
|
42
|
-
this.widget.selectedItems = newValue;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
selectionEnabledWatcher(newValue) {
|
|
46
|
-
if (newValue !== undefined && this.widget) {
|
|
47
|
-
this.widget.selectionEnabled = newValue;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
referenceElementWatcher(newValue) {
|
|
51
|
-
referenceElementHelper(this, newValue);
|
|
52
|
-
}
|
|
53
|
-
viewWatcher(newValue) {
|
|
54
|
-
if (newValue !== undefined && this.widget) {
|
|
55
|
-
this.widget.view = newValue;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
//--------------------------------------------------------------------------
|
|
59
|
-
//
|
|
60
|
-
// Methods
|
|
61
|
-
//
|
|
62
|
-
//--------------------------------------------------------------------------
|
|
63
|
-
async triggerAction(action, item) {
|
|
64
|
-
return this.widget?.triggerAction(action, item);
|
|
65
|
-
}
|
|
66
|
-
//--------------------------------------------------------------------------
|
|
67
|
-
//
|
|
68
|
-
// Lifecycle
|
|
69
|
-
//
|
|
70
|
-
//--------------------------------------------------------------------------
|
|
71
|
-
async componentDidLoad() {
|
|
72
|
-
const params = this._createParams();
|
|
73
|
-
const widget = await newWidgetsLayerList(params);
|
|
74
|
-
this.widget = widget;
|
|
75
|
-
await this._addWatchers();
|
|
76
|
-
this._proxyEvents();
|
|
77
|
-
this.widgetReady.emit(true);
|
|
78
|
-
checkForView(this);
|
|
79
|
-
}
|
|
80
|
-
disconnectedCallback() {
|
|
81
|
-
onDisconnectedHelper(this);
|
|
82
|
-
}
|
|
83
|
-
render() {
|
|
84
|
-
if (this.expandable) {
|
|
85
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
86
|
-
}
|
|
87
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
88
|
-
}
|
|
89
|
-
//--------------------------------------------------------------------------
|
|
90
|
-
//
|
|
91
|
-
// Private Methods
|
|
92
|
-
//
|
|
93
|
-
//--------------------------------------------------------------------------
|
|
94
|
-
async _addWatchers() {
|
|
95
|
-
const { watch } = await importCoreReactiveUtils();
|
|
96
|
-
watch(() => this.widget.operationalItems, (value) => (this.operationalItems = value), {
|
|
97
|
-
initial: true
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
_createParams() {
|
|
101
|
-
const params = {
|
|
102
|
-
container: this.childElem
|
|
103
|
-
};
|
|
104
|
-
if (this.view) {
|
|
105
|
-
params.view = this.view;
|
|
106
|
-
}
|
|
107
|
-
return params;
|
|
108
|
-
}
|
|
109
|
-
async _proxyEvents() {
|
|
110
|
-
this.widget?.on("trigger-action", (e) => this.triggerActionEvent.emit(e));
|
|
111
|
-
}
|
|
112
|
-
get el() { return getElement(this); }
|
|
113
|
-
static get watchers() { return {
|
|
114
|
-
"position": ["positionWatcher"],
|
|
115
|
-
"multipleSelectionEnabled": ["multipleSelectionEnabledWatcher"],
|
|
116
|
-
"selectedItems": ["selectedItemsWatcher"],
|
|
117
|
-
"selectionEnabled": ["selectionEnabledWatcher"],
|
|
118
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
119
|
-
"view": ["viewWatcher"]
|
|
120
|
-
}; }
|
|
121
|
-
};
|
|
122
|
-
ArcgisLayerList.style = arcgisLayerListCss;
|
|
123
|
-
|
|
124
|
-
export { ArcgisLayerList as arcgis_layer_list };
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
|
|
2
|
-
import { E as newWidgetsLegend } from './index-82d260eb.js';
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-d3552de2.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisLegendCss = "";
|
|
7
|
-
|
|
8
|
-
const ArcgisLegend = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
-
this.referenceElement = undefined;
|
|
13
|
-
this.activeLayerInfos = undefined;
|
|
14
|
-
this.basemapLegendVisible = undefined;
|
|
15
|
-
this.hideLayersNotInCurrentView = undefined;
|
|
16
|
-
this.layerInfos = undefined;
|
|
17
|
-
this.respectLayerVisibility = undefined;
|
|
18
|
-
this.legendStyle = undefined;
|
|
19
|
-
this.position = "bottom-left";
|
|
20
|
-
this.expandable = false;
|
|
21
|
-
this.view = undefined;
|
|
22
|
-
this.widget = undefined;
|
|
23
|
-
}
|
|
24
|
-
//--------------------------------------------------------------------------
|
|
25
|
-
//
|
|
26
|
-
// Watchers
|
|
27
|
-
//
|
|
28
|
-
//--------------------------------------------------------------------------
|
|
29
|
-
positionWatcher(newValue) {
|
|
30
|
-
if (newValue !== undefined && this.widget) {
|
|
31
|
-
if (typeof this.view !== "string") {
|
|
32
|
-
this.view.ui.move(this.childElem, newValue);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
activeLayerInfosWatcher(newValue) {
|
|
37
|
-
if (newValue !== undefined && this.widget) {
|
|
38
|
-
this.widget.activeLayerInfos = newValue;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
basemapLegendVisibleWatcher(newValue) {
|
|
42
|
-
if (newValue !== undefined && this.widget) {
|
|
43
|
-
this.widget.basemapLegendVisible = newValue;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
hideLayersNotInCurrentViewWatcher(newValue) {
|
|
47
|
-
if (newValue !== undefined && this.widget) {
|
|
48
|
-
this.widget.hideLayersNotInCurrentView = newValue;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
layerInfosWatcher(newValue) {
|
|
52
|
-
if (newValue !== undefined && this.widget) {
|
|
53
|
-
this.widget.layerInfos = newValue;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
respectLayerVisibilityWatcher(newValue) {
|
|
57
|
-
if (newValue !== undefined && this.widget) {
|
|
58
|
-
this.widget.respectLayerVisibility = newValue;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
styleWatcher(newValue) {
|
|
62
|
-
if (newValue !== undefined && this.widget) {
|
|
63
|
-
this.widget.style = newValue;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
referenceElementWatcher(newValue) {
|
|
67
|
-
referenceElementHelper(this, newValue);
|
|
68
|
-
}
|
|
69
|
-
viewWatcher(newValue) {
|
|
70
|
-
if (newValue !== undefined && this.widget) {
|
|
71
|
-
this.widget.view = newValue;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
//--------------------------------------------------------------------------
|
|
75
|
-
//
|
|
76
|
-
// Lifecycle
|
|
77
|
-
//
|
|
78
|
-
//--------------------------------------------------------------------------
|
|
79
|
-
async componentDidLoad() {
|
|
80
|
-
const params = this._createParams();
|
|
81
|
-
const widget = await newWidgetsLegend(params);
|
|
82
|
-
this.widget = widget;
|
|
83
|
-
this.widgetReady.emit(true);
|
|
84
|
-
checkForView(this);
|
|
85
|
-
}
|
|
86
|
-
disconnectedCallback() {
|
|
87
|
-
onDisconnectedHelper(this);
|
|
88
|
-
}
|
|
89
|
-
render() {
|
|
90
|
-
if (this.expandable) {
|
|
91
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
92
|
-
}
|
|
93
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
94
|
-
}
|
|
95
|
-
//--------------------------------------------------------------------------
|
|
96
|
-
//
|
|
97
|
-
// Private Methods
|
|
98
|
-
//
|
|
99
|
-
//--------------------------------------------------------------------------
|
|
100
|
-
_createParams() {
|
|
101
|
-
const params = {
|
|
102
|
-
container: this.childElem
|
|
103
|
-
};
|
|
104
|
-
if (this.activeLayerInfos) {
|
|
105
|
-
params.activeLayerInfos = this.activeLayerInfos;
|
|
106
|
-
}
|
|
107
|
-
if (this.basemapLegendVisible !== undefined) {
|
|
108
|
-
params.basemapLegendVisible = this.basemapLegendVisible;
|
|
109
|
-
}
|
|
110
|
-
if (this.hideLayersNotInCurrentView !== undefined) {
|
|
111
|
-
params.hideLayersNotInCurrentView = this.hideLayersNotInCurrentView;
|
|
112
|
-
}
|
|
113
|
-
if (this.layerInfos) {
|
|
114
|
-
params.layerInfos = this.layerInfos;
|
|
115
|
-
}
|
|
116
|
-
if (this.respectLayerVisibility !== undefined) {
|
|
117
|
-
params.respectLayerVisibility = this.respectLayerVisibility;
|
|
118
|
-
}
|
|
119
|
-
if (this.legendStyle) {
|
|
120
|
-
params.style = this.legendStyle;
|
|
121
|
-
}
|
|
122
|
-
if (this.view) {
|
|
123
|
-
params.view = this.view;
|
|
124
|
-
}
|
|
125
|
-
return params;
|
|
126
|
-
}
|
|
127
|
-
get el() { return getElement(this); }
|
|
128
|
-
static get watchers() { return {
|
|
129
|
-
"position": ["positionWatcher"],
|
|
130
|
-
"activeLayerInfos": ["activeLayerInfosWatcher"],
|
|
131
|
-
"basemapLegendVisible": ["basemapLegendVisibleWatcher"],
|
|
132
|
-
"hideLayersNotInCurrentView": ["hideLayersNotInCurrentViewWatcher"],
|
|
133
|
-
"layerInfos": ["layerInfosWatcher"],
|
|
134
|
-
"respectLayerVisibility": ["respectLayerVisibilityWatcher"],
|
|
135
|
-
"legendStyle": ["styleWatcher"],
|
|
136
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
137
|
-
"view": ["viewWatcher"]
|
|
138
|
-
}; }
|
|
139
|
-
};
|
|
140
|
-
ArcgisLegend.style = arcgisLegendCss;
|
|
141
|
-
|
|
142
|
-
export { ArcgisLegend as arcgis_legend };
|