@arcgis/map-components 4.29.0-beta.4 → 4.29.0-beta.40
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/LICENSE.md +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.map +1 -0
- package/dist/arcgis-map-components/index.esm.js +2 -0
- package/dist/arcgis-map-components/index.esm.js.map +1 -0
- package/dist/arcgis-map-components/p-00f30dbd.entry.js +2 -0
- package/dist/arcgis-map-components/p-00f30dbd.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-05478da4.entry.js +2 -0
- package/dist/arcgis-map-components/p-05478da4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-06dc39eb.entry.js +2 -0
- package/dist/arcgis-map-components/p-06dc39eb.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-07325369.entry.js +2 -0
- package/dist/arcgis-map-components/p-07325369.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-07e7d7b2.js +2 -0
- package/dist/arcgis-map-components/p-07e7d7b2.js.map +1 -0
- package/dist/arcgis-map-components/p-09b972be.entry.js +2 -0
- package/dist/arcgis-map-components/p-09b972be.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-0e42e14b.entry.js +2 -0
- package/dist/arcgis-map-components/p-0e42e14b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-14f542a3.entry.js +2 -0
- package/dist/arcgis-map-components/p-14f542a3.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-181101b2.entry.js +2 -0
- package/dist/arcgis-map-components/p-181101b2.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1aa22ffc.entry.js +2 -0
- package/dist/arcgis-map-components/p-1aa22ffc.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1ed5d647.entry.js +2 -0
- package/dist/arcgis-map-components/p-1ed5d647.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-22738a30.entry.js +2 -0
- package/dist/arcgis-map-components/p-22738a30.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-2a78610a.entry.js +2 -0
- package/dist/arcgis-map-components/p-2a78610a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3209d063.entry.js +2 -0
- package/dist/arcgis-map-components/p-3209d063.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3a4ee895.entry.js +2 -0
- package/dist/arcgis-map-components/p-3a4ee895.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3ce612f0.entry.js +2 -0
- package/dist/arcgis-map-components/p-3ce612f0.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4280d545.js +2 -0
- package/dist/arcgis-map-components/p-4280d545.js.map +1 -0
- package/dist/arcgis-map-components/p-43e08c8e.entry.js +2 -0
- package/dist/arcgis-map-components/p-43e08c8e.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-45a6ec08.entry.js +2 -0
- package/dist/arcgis-map-components/p-45a6ec08.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4edb69dc.entry.js +2 -0
- package/dist/arcgis-map-components/p-4edb69dc.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-5245bc16.entry.js +2 -0
- package/dist/arcgis-map-components/p-5245bc16.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-530503e3.js +2 -0
- package/dist/arcgis-map-components/p-530503e3.js.map +1 -0
- package/dist/arcgis-map-components/p-55d0f5ad.entry.js +2 -0
- package/dist/arcgis-map-components/p-55d0f5ad.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-60a88ea8.entry.js +2 -0
- package/dist/arcgis-map-components/p-60a88ea8.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-62249867.entry.js +2 -0
- package/dist/arcgis-map-components/p-62249867.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-63bfa89a.entry.js +2 -0
- package/dist/arcgis-map-components/p-63bfa89a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-6eb31c62.entry.js +2 -0
- package/dist/arcgis-map-components/p-6eb31c62.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-70d39dcf.entry.js +2 -0
- package/dist/arcgis-map-components/p-70d39dcf.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-75c5fd05.entry.js +2 -0
- package/dist/arcgis-map-components/p-75c5fd05.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-761ac7d4.entry.js +2 -0
- package/dist/arcgis-map-components/p-761ac7d4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-786c1915.entry.js +2 -0
- package/dist/arcgis-map-components/p-786c1915.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-81207d02.entry.js +2 -0
- package/dist/arcgis-map-components/p-81207d02.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-82ba1e5d.entry.js +2 -0
- package/dist/arcgis-map-components/p-82ba1e5d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-883490a4.entry.js +2 -0
- package/dist/arcgis-map-components/p-883490a4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8a36eefa.entry.js +2 -0
- package/dist/arcgis-map-components/p-8a36eefa.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8c9da1b9.entry.js +2 -0
- package/dist/arcgis-map-components/p-8c9da1b9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-943108f9.entry.js +2 -0
- package/dist/arcgis-map-components/p-943108f9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-983881aa.entry.js +2 -0
- package/dist/arcgis-map-components/p-983881aa.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9d965bf8.entry.js +2 -0
- package/dist/arcgis-map-components/p-9d965bf8.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9de4c65d.entry.js +2 -0
- package/dist/arcgis-map-components/p-9de4c65d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9efd1c60.entry.js +2 -0
- package/dist/arcgis-map-components/p-9efd1c60.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a096c52f.entry.js +2 -0
- package/dist/arcgis-map-components/p-a096c52f.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a29e5958.entry.js +2 -0
- package/dist/arcgis-map-components/p-a29e5958.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a4367c0d.entry.js +2 -0
- package/dist/arcgis-map-components/p-a4367c0d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-b28da40c.entry.js +2 -0
- package/dist/arcgis-map-components/p-b28da40c.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ba7bfe2a.entry.js +2 -0
- package/dist/arcgis-map-components/p-ba7bfe2a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c1eb12b2.entry.js +2 -0
- package/dist/arcgis-map-components/p-c1eb12b2.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c8faa156.entry.js +2 -0
- package/dist/arcgis-map-components/p-c8faa156.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c95d50be.entry.js +2 -0
- package/dist/arcgis-map-components/p-c95d50be.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d0fb9a2a.entry.js +2 -0
- package/dist/arcgis-map-components/p-d0fb9a2a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d142ff74.js +2 -0
- package/dist/arcgis-map-components/p-d142ff74.js.map +1 -0
- package/dist/arcgis-map-components/p-dbc82e69.js +3 -0
- package/dist/arcgis-map-components/p-dbc82e69.js.map +1 -0
- package/dist/arcgis-map-components/p-dbf111db.entry.js +2 -0
- package/dist/arcgis-map-components/p-dbf111db.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e4a12f83.entry.js +2 -0
- package/dist/arcgis-map-components/p-e4a12f83.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ee414323.entry.js +2 -0
- package/dist/arcgis-map-components/p-ee414323.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-f66a4365.entry.js +2 -0
- package/dist/arcgis-map-components/p-f66a4365.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-f674b7f4.entry.js +2 -0
- package/dist/arcgis-map-components/p-f674b7f4.entry.js.map +1 -0
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +20 -16
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +18 -14
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-attachments.cjs.entry.js +47 -13
- package/dist/cjs/arcgis-attachments.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +509 -0
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +63 -34
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +35 -29
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +33 -25
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +48 -23
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-compass.cjs.entry.js +14 -18
- package/dist/cjs/arcgis-compass.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +60 -30
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-daylight.cjs.entry.js +24 -21
- package/dist/cjs/arcgis-daylight.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-directions.cjs.entry.js +51 -29
- package/dist/cjs/arcgis-directions.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +18 -22
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +16 -20
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-editor.cjs.entry.js +35 -29
- package/dist/cjs/arcgis-editor.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +35 -22
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +120 -7
- package/dist/cjs/arcgis-feature-form.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +72 -43
- package/dist/cjs/arcgis-feature-table.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +77 -13
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature.cjs.entry.js +52 -22
- package/dist/cjs/arcgis-feature.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-features.cjs.entry.js +52 -25
- package/dist/cjs/arcgis-features.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +21 -25
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +18 -22
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +140 -12
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-histogram.cjs.entry.js +119 -7
- package/dist/cjs/arcgis-histogram.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-home.cjs.entry.js +29 -23
- package/dist/cjs/arcgis-home.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +47 -22
- package/dist/cjs/arcgis-layer-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-legend.cjs.entry.js +19 -23
- package/dist/cjs/arcgis-legend.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +16 -20
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-locate.cjs.entry.js +27 -32
- package/dist/cjs/arcgis-locate.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-map-components.cjs.js +5 -3
- package/dist/cjs/arcgis-map-components.cjs.js.map +1 -0
- package/dist/cjs/arcgis-measurement.cjs.entry.js +28 -23
- package/dist/cjs/arcgis-measurement.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +14 -18
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-placement.cjs.entry.js +52 -0
- package/dist/cjs/arcgis-placement.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-print.cjs.entry.js +41 -27
- package/dist/cjs/arcgis-print.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +17 -21
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +40 -34
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-scene.cjs.entry.js +205 -0
- package/dist/cjs/arcgis-scene.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-search.cjs.entry.js +320 -0
- package/dist/cjs/arcgis-search.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +26 -29
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-sketch.cjs.entry.js +43 -37
- package/dist/cjs/arcgis-sketch.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-slice.cjs.entry.js +18 -31
- package/dist/cjs/arcgis-slice.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-slider.cjs.entry.js +41 -43
- package/dist/cjs/arcgis-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-swipe.cjs.entry.js +9 -6
- package/dist/cjs/arcgis-swipe.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-table-list.cjs.entry.js +47 -27
- package/dist/cjs/arcgis-table-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +37 -31
- package/dist/cjs/arcgis-time-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-track.cjs.entry.js +26 -30
- package/dist/cjs/arcgis-track.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +30 -31
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +43 -23
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +21 -32
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +44 -27
- package/dist/cjs/arcgis-value-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-weather.cjs.entry.js +25 -19
- package/dist/cjs/arcgis-weather.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-zoom.cjs.entry.js +23 -24
- package/dist/cjs/arcgis-zoom.cjs.entry.js.map +1 -0
- package/dist/cjs/{component-utils-cbd20e88.js → component-utils-70169d9c.js} +59 -5
- package/dist/cjs/component-utils-70169d9c.js.map +1 -0
- package/dist/cjs/disconnected-efe16c70.js +40 -0
- package/dist/cjs/disconnected-efe16c70.js.map +1 -0
- package/dist/cjs/{index-bfda1cdc.js → index-3c85172f.js} +2 -0
- package/dist/cjs/index-3c85172f.js.map +1 -0
- package/dist/cjs/{index-6b51d5a0.js → index-f95f0426.js} +752 -71
- package/dist/cjs/index-f95f0426.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -12
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/mapping-utils-2c2f871e.js +42 -0
- package/dist/cjs/mapping-utils-2c2f871e.js.map +1 -0
- package/dist/components/arcgis-area-measurement-2d.js +25 -15
- package/dist/components/arcgis-area-measurement-2d.js.map +1 -0
- package/dist/components/arcgis-area-measurement-3d.js +24 -14
- package/dist/components/arcgis-area-measurement-3d.js.map +1 -0
- package/dist/components/arcgis-attachments.js +56 -13
- package/dist/components/arcgis-attachments.js.map +1 -0
- package/dist/components/arcgis-basemap-gallery.js +31 -22
- package/dist/components/arcgis-basemap-gallery.js.map +1 -0
- package/dist/components/arcgis-basemap-layer-list.js +80 -36
- package/dist/components/arcgis-basemap-layer-list.js.map +1 -0
- package/dist/components/arcgis-basemap-toggle.js +43 -29
- package/dist/components/arcgis-basemap-toggle.js.map +1 -0
- package/dist/components/arcgis-bookmarks.js +44 -25
- package/dist/components/arcgis-bookmarks.js.map +1 -0
- package/dist/components/arcgis-building-explorer.js +57 -23
- package/dist/components/arcgis-building-explorer.js.map +1 -0
- package/dist/components/arcgis-compass.js +18 -17
- package/dist/components/arcgis-compass.js.map +1 -0
- package/dist/components/arcgis-coordinate-conversion.js +75 -30
- package/dist/components/arcgis-coordinate-conversion.js.map +1 -0
- package/dist/components/arcgis-daylight.js +34 -21
- package/dist/components/arcgis-daylight.js.map +1 -0
- package/dist/components/arcgis-directions.js +65 -29
- package/dist/components/arcgis-directions.js.map +1 -0
- package/dist/components/arcgis-directline-measurement-3d.js +25 -22
- package/dist/components/arcgis-directline-measurement-3d.js.map +1 -0
- package/dist/components/arcgis-distance-measurement-2d.js +23 -20
- package/dist/components/arcgis-distance-measurement-2d.js.map +1 -0
- package/dist/components/arcgis-editor.js +48 -29
- package/dist/components/arcgis-editor.js.map +1 -0
- package/dist/components/arcgis-elevation-profile.js +48 -23
- package/dist/components/arcgis-elevation-profile.js.map +1 -0
- package/dist/components/arcgis-expand.js +3 -1
- package/dist/components/arcgis-expand.js.map +1 -0
- package/dist/components/arcgis-feature-form.js +146 -10
- package/dist/components/arcgis-feature-form.js.map +1 -0
- package/dist/components/arcgis-feature-table.js +97 -42
- package/dist/components/arcgis-feature-table.js.map +1 -0
- package/dist/components/arcgis-feature-templates.js +93 -14
- package/dist/components/arcgis-feature-templates.js.map +1 -0
- package/dist/components/arcgis-feature.js +67 -23
- package/dist/components/arcgis-feature.js.map +1 -0
- package/dist/components/arcgis-features.js +65 -27
- package/dist/components/arcgis-features.js.map +1 -0
- package/dist/components/arcgis-floor-filter.js +30 -25
- package/dist/components/arcgis-floor-filter.js.map +1 -0
- package/dist/components/arcgis-fullscreen.js +23 -21
- package/dist/components/arcgis-fullscreen.js.map +1 -0
- package/dist/components/arcgis-histogram-range-slider.js +170 -12
- package/dist/components/arcgis-histogram-range-slider.js.map +1 -0
- package/dist/components/arcgis-histogram.js +147 -9
- package/dist/components/arcgis-histogram.js.map +1 -0
- package/dist/components/arcgis-home.js +36 -22
- package/dist/components/arcgis-home.js.map +1 -0
- package/dist/components/arcgis-layer-list.js +60 -23
- package/dist/components/arcgis-layer-list.js.map +1 -0
- package/dist/components/arcgis-legend.js +30 -23
- package/dist/components/arcgis-legend.js.map +1 -0
- package/dist/components/arcgis-line-of-sight.js +21 -20
- package/dist/components/arcgis-line-of-sight.js.map +1 -0
- package/dist/components/arcgis-locate.js +38 -32
- package/dist/components/arcgis-locate.js.map +1 -0
- package/dist/components/arcgis-map.js +100 -40
- package/dist/components/arcgis-map.js.map +1 -0
- package/dist/components/arcgis-measurement.js +36 -23
- package/dist/components/arcgis-measurement.js.map +1 -0
- package/dist/components/arcgis-navigation-toggle.js +19 -17
- package/dist/components/arcgis-navigation-toggle.js.map +1 -0
- package/dist/components/arcgis-placement.d.ts +11 -0
- package/dist/components/arcgis-placement.js +73 -0
- package/dist/components/arcgis-placement.js.map +1 -0
- package/dist/components/arcgis-print.js +54 -27
- package/dist/components/arcgis-print.js.map +1 -0
- package/dist/components/arcgis-scale-bar.js +24 -21
- package/dist/components/arcgis-scale-bar.js.map +1 -0
- package/dist/components/arcgis-scale-range-slider.js +54 -35
- package/dist/components/arcgis-scale-range-slider.js.map +1 -0
- package/dist/components/arcgis-scene.js +98 -34
- package/dist/components/arcgis-scene.js.map +1 -0
- package/dist/components/arcgis-search.js +107 -41
- package/dist/components/arcgis-search.js.map +1 -0
- package/dist/components/arcgis-shadow-cast.js +34 -31
- package/dist/components/arcgis-shadow-cast.js.map +1 -0
- package/dist/components/arcgis-sketch.js +59 -37
- package/dist/components/arcgis-sketch.js.map +1 -0
- package/dist/components/arcgis-slice.js +24 -33
- package/dist/components/arcgis-slice.js.map +1 -0
- package/dist/components/arcgis-slider.js +57 -43
- package/dist/components/arcgis-slider.js.map +1 -0
- package/dist/components/arcgis-swipe.js +18 -5
- package/dist/components/arcgis-swipe.js.map +1 -0
- package/dist/components/arcgis-table-list.js +58 -27
- package/dist/components/arcgis-table-list.js.map +1 -0
- package/dist/components/arcgis-time-slider.js +54 -31
- package/dist/components/arcgis-time-slider.js.map +1 -0
- package/dist/components/arcgis-track.js +36 -30
- package/dist/components/arcgis-track.js.map +1 -0
- package/dist/components/arcgis-utility-network-associations.js +50 -31
- package/dist/components/arcgis-utility-network-associations.js.map +1 -0
- package/dist/components/arcgis-utility-network-trace.js +56 -23
- package/dist/components/arcgis-utility-network-trace.js.map +1 -0
- package/dist/components/arcgis-utility-network-validate-topology.js +28 -32
- package/dist/components/arcgis-utility-network-validate-topology.js.map +1 -0
- package/dist/components/arcgis-value-picker.js +54 -27
- package/dist/components/arcgis-value-picker.js.map +1 -0
- package/dist/components/arcgis-weather.js +32 -19
- package/dist/components/arcgis-weather.js.map +1 -0
- package/dist/components/arcgis-zoom.js +28 -23
- package/dist/components/arcgis-zoom.js.map +1 -0
- package/dist/{esm/component-utils-2ebdae59.js → components/component-utils.js} +56 -4
- package/dist/components/component-utils.js.map +1 -0
- package/dist/components/disconnected.js +13 -97
- package/dist/components/disconnected.js.map +1 -0
- package/dist/components/expand.js +256 -0
- package/dist/components/expand.js.map +1 -0
- package/dist/components/index.d.ts +5 -55
- package/dist/components/index.js +3 -54
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +3 -1
- package/dist/components/index2.js.map +1 -0
- package/dist/components/mapping-utils.js +12 -10
- package/dist/components/mapping-utils.js.map +1 -0
- package/dist/esm/arcgis-area-measurement-2d.entry.js +20 -16
- package/dist/esm/arcgis-area-measurement-2d.entry.js.map +1 -0
- package/dist/esm/arcgis-area-measurement-3d.entry.js +18 -14
- package/dist/esm/arcgis-area-measurement-3d.entry.js.map +1 -0
- package/dist/esm/arcgis-attachments.entry.js +46 -12
- package/dist/esm/arcgis-attachments.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-gallery_3.entry.js +503 -0
- package/dist/esm/arcgis-basemap-gallery_3.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-layer-list.entry.js +63 -34
- package/dist/esm/arcgis-basemap-layer-list.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-toggle.entry.js +35 -29
- package/dist/esm/arcgis-basemap-toggle.entry.js.map +1 -0
- package/dist/esm/arcgis-bookmarks.entry.js +33 -25
- package/dist/esm/arcgis-bookmarks.entry.js.map +1 -0
- package/dist/esm/arcgis-building-explorer.entry.js +48 -23
- package/dist/esm/arcgis-building-explorer.entry.js.map +1 -0
- package/dist/esm/arcgis-compass.entry.js +14 -18
- package/dist/esm/arcgis-compass.entry.js.map +1 -0
- package/dist/esm/arcgis-coordinate-conversion.entry.js +60 -30
- package/dist/esm/arcgis-coordinate-conversion.entry.js.map +1 -0
- package/dist/esm/arcgis-daylight.entry.js +24 -21
- package/dist/esm/arcgis-daylight.entry.js.map +1 -0
- package/dist/esm/arcgis-directions.entry.js +51 -29
- package/dist/esm/arcgis-directions.entry.js.map +1 -0
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +18 -22
- package/dist/esm/arcgis-directline-measurement-3d.entry.js.map +1 -0
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +16 -20
- package/dist/esm/arcgis-distance-measurement-2d.entry.js.map +1 -0
- package/dist/esm/arcgis-editor.entry.js +35 -29
- package/dist/esm/arcgis-editor.entry.js.map +1 -0
- package/dist/esm/arcgis-elevation-profile.entry.js +35 -22
- package/dist/esm/arcgis-elevation-profile.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-form.entry.js +120 -7
- package/dist/esm/arcgis-feature-form.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-table.entry.js +72 -43
- package/dist/esm/arcgis-feature-table.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-templates.entry.js +77 -13
- package/dist/esm/arcgis-feature-templates.entry.js.map +1 -0
- package/dist/esm/arcgis-feature.entry.js +52 -22
- package/dist/esm/arcgis-feature.entry.js.map +1 -0
- package/dist/esm/arcgis-features.entry.js +52 -25
- package/dist/esm/arcgis-features.entry.js.map +1 -0
- package/dist/esm/arcgis-floor-filter.entry.js +21 -25
- package/dist/esm/arcgis-floor-filter.entry.js.map +1 -0
- package/dist/esm/arcgis-fullscreen.entry.js +18 -22
- package/dist/esm/arcgis-fullscreen.entry.js.map +1 -0
- package/dist/esm/arcgis-histogram-range-slider.entry.js +140 -12
- package/dist/esm/arcgis-histogram-range-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-histogram.entry.js +119 -7
- package/dist/esm/arcgis-histogram.entry.js.map +1 -0
- package/dist/esm/arcgis-home.entry.js +29 -23
- package/dist/esm/arcgis-home.entry.js.map +1 -0
- package/dist/esm/arcgis-layer-list.entry.js +47 -22
- package/dist/esm/arcgis-layer-list.entry.js.map +1 -0
- package/dist/esm/arcgis-legend.entry.js +19 -23
- package/dist/esm/arcgis-legend.entry.js.map +1 -0
- package/dist/esm/arcgis-line-of-sight.entry.js +16 -20
- package/dist/esm/arcgis-line-of-sight.entry.js.map +1 -0
- package/dist/esm/arcgis-locate.entry.js +27 -32
- package/dist/esm/arcgis-locate.entry.js.map +1 -0
- package/dist/esm/arcgis-map-components.js +6 -4
- package/dist/esm/arcgis-map-components.js.map +1 -0
- package/dist/esm/arcgis-measurement.entry.js +28 -23
- package/dist/esm/arcgis-measurement.entry.js.map +1 -0
- package/dist/esm/arcgis-navigation-toggle.entry.js +14 -18
- package/dist/esm/arcgis-navigation-toggle.entry.js.map +1 -0
- package/dist/esm/arcgis-placement.entry.js +48 -0
- package/dist/esm/arcgis-placement.entry.js.map +1 -0
- package/dist/esm/arcgis-print.entry.js +41 -27
- package/dist/esm/arcgis-print.entry.js.map +1 -0
- package/dist/esm/arcgis-scale-bar.entry.js +17 -21
- package/dist/esm/arcgis-scale-bar.entry.js.map +1 -0
- package/dist/esm/arcgis-scale-range-slider.entry.js +40 -34
- package/dist/esm/arcgis-scale-range-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-scene.entry.js +201 -0
- package/dist/esm/arcgis-scene.entry.js.map +1 -0
- package/dist/esm/arcgis-search.entry.js +316 -0
- package/dist/esm/arcgis-search.entry.js.map +1 -0
- package/dist/esm/arcgis-shadow-cast.entry.js +26 -29
- package/dist/esm/arcgis-shadow-cast.entry.js.map +1 -0
- package/dist/esm/arcgis-sketch.entry.js +43 -37
- package/dist/esm/arcgis-sketch.entry.js.map +1 -0
- package/dist/esm/arcgis-slice.entry.js +18 -31
- package/dist/esm/arcgis-slice.entry.js.map +1 -0
- package/dist/esm/arcgis-slider.entry.js +41 -43
- package/dist/esm/arcgis-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-swipe.entry.js +9 -6
- package/dist/esm/arcgis-swipe.entry.js.map +1 -0
- package/dist/esm/arcgis-table-list.entry.js +47 -27
- package/dist/esm/arcgis-table-list.entry.js.map +1 -0
- package/dist/esm/arcgis-time-slider.entry.js +37 -31
- package/dist/esm/arcgis-time-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-track.entry.js +26 -30
- package/dist/esm/arcgis-track.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-associations.entry.js +30 -31
- package/dist/esm/arcgis-utility-network-associations.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-trace.entry.js +43 -23
- package/dist/esm/arcgis-utility-network-trace.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +21 -32
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js.map +1 -0
- package/dist/esm/arcgis-value-picker.entry.js +44 -27
- package/dist/esm/arcgis-value-picker.entry.js.map +1 -0
- package/dist/esm/arcgis-weather.entry.js +25 -19
- package/dist/esm/arcgis-weather.entry.js.map +1 -0
- package/dist/esm/arcgis-zoom.entry.js +23 -24
- package/dist/esm/arcgis-zoom.entry.js.map +1 -0
- package/dist/esm/component-utils-42a79acb.js +125 -0
- package/dist/esm/component-utils-42a79acb.js.map +1 -0
- package/dist/esm/disconnected-bf72f8e5.js +38 -0
- package/dist/esm/disconnected-bf72f8e5.js.map +1 -0
- package/dist/esm/{index-eb3ead33.js → index-05f887cd.js} +752 -71
- package/dist/esm/index-05f887cd.js.map +1 -0
- package/dist/esm/{index-334b0bde.js → index-fd2cea51.js} +3 -1
- package/dist/esm/index-fd2cea51.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +6 -13
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/mapping-utils-a935fed9.js +40 -0
- package/dist/esm/mapping-utils-a935fed9.js.map +1 -0
- package/dist/loader/index.d.ts +2 -2
- package/dist/types/components/{arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts → area-measurement-2d/area-measurement-2d.d.ts} +5 -3
- package/dist/types/components/{arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts → area-measurement-3d/area-measurement-3d.d.ts} +5 -3
- package/dist/types/components/{arcgis-attachments/arcgis-attachments.d.ts → attachments/attachments.d.ts} +10 -1
- package/dist/types/components/{arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts → basemap-gallery/basemap-gallery.d.ts} +5 -3
- package/dist/types/components/{arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts → basemap-layer-list/basemap-layer-list.d.ts} +15 -8
- package/dist/types/components/{arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts → basemap-toggle/basemap-toggle.d.ts} +7 -4
- package/dist/types/components/{arcgis-bookmarks/arcgis-bookmarks.d.ts → bookmarks/bookmarks.d.ts} +10 -7
- package/dist/types/components/{arcgis-building-explorer/arcgis-building-explorer.d.ts → building-explorer/building-explorer.d.ts} +9 -3
- package/dist/types/components/{arcgis-compass/arcgis-compass.d.ts → compass/compass.d.ts} +4 -3
- package/dist/types/components/{arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts → coordinate-conversion/coordinate-conversion.d.ts} +14 -11
- package/dist/types/components/{arcgis-daylight/arcgis-daylight.d.ts → daylight/daylight.d.ts} +9 -6
- package/dist/types/components/{arcgis-directions/arcgis-directions.d.ts → directions/directions.d.ts} +13 -9
- package/dist/types/components/{arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts → directline-measurement-3d/directline-measurement-3d.d.ts} +6 -5
- package/dist/types/components/{arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts → distance-measurement-2d/distance-measurement-2d.d.ts} +6 -5
- package/dist/types/components/{arcgis-editor/arcgis-editor.d.ts → editor/editor.d.ts} +12 -9
- package/dist/types/components/{arcgis-elevation-profile/arcgis-elevation-profile.d.ts → elevation-profile/elevation-profile.d.ts} +12 -8
- package/dist/types/components/expand/expand.d.ts +48 -0
- package/dist/types/components/{arcgis-feature/arcgis-feature.d.ts → feature/feature.d.ts} +13 -5
- package/dist/types/components/feature-form/feature-form.d.ts +42 -0
- package/dist/types/components/{arcgis-feature-table/arcgis-feature-table.d.ts → feature-table/feature-table.d.ts} +25 -18
- package/dist/types/components/feature-templates/feature-templates.d.ts +38 -0
- package/dist/types/components/{arcgis-features/arcgis-features.d.ts → features/features.d.ts} +13 -4
- package/dist/types/components/{arcgis-floor-filter/arcgis-floor-filter.d.ts → floor-filter/floor-filter.d.ts} +8 -7
- package/dist/types/components/{arcgis-fullscreen/arcgis-fullscreen.d.ts → fullscreen/fullscreen.d.ts} +5 -4
- package/dist/types/components/histogram/histogram.d.ts +41 -0
- package/dist/types/components/histogram-range-slider/histogram-range-slider.d.ts +52 -0
- package/dist/types/components/{arcgis-home/arcgis-home.d.ts → home/home.d.ts} +7 -4
- package/dist/types/components/{arcgis-layer-list/arcgis-layer-list.d.ts → layer-list/layer-list.d.ts} +11 -6
- package/dist/types/components/{arcgis-legend/arcgis-legend.d.ts → legend/legend.d.ts} +10 -9
- package/dist/types/components/{arcgis-line-of-sight/arcgis-line-of-sight.d.ts → line-of-sight/line-of-sight.d.ts} +4 -3
- package/dist/types/components/{arcgis-locate/arcgis-locate.d.ts → locate/locate.d.ts} +11 -10
- package/dist/types/components/{arcgis-map/arcgis-map.d.ts → map/map.d.ts} +9 -2
- package/dist/types/components/{arcgis-measurement/arcgis-measurement.d.ts → measurement/measurement.d.ts} +7 -6
- package/dist/types/components/{arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts → navigation-toggle/navigation-toggle.d.ts} +5 -4
- package/dist/types/components/{arcgis-expand/arcgis-expand.d.ts → placement/placement.d.ts} +8 -13
- package/dist/types/components/{arcgis-print/arcgis-print.d.ts → print/print.d.ts} +14 -13
- package/dist/types/components/{arcgis-scale-bar/arcgis-scale-bar.d.ts → scale-bar/scale-bar.d.ts} +6 -5
- package/dist/types/components/{arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts → scale-range-slider/scale-range-slider.d.ts} +12 -9
- package/dist/types/components/{arcgis-scene/arcgis-scene.d.ts → scene/scene.d.ts} +9 -2
- package/dist/types/components/{arcgis-search/arcgis-search.d.ts → search/search.d.ts} +21 -20
- package/dist/types/components/{arcgis-shadow-cast/arcgis-shadow-cast.d.ts → shadow-cast/shadow-cast.d.ts} +6 -5
- package/dist/types/components/{arcgis-sketch/arcgis-sketch.d.ts → sketch/sketch.d.ts} +15 -12
- package/dist/types/components/{arcgis-slice/arcgis-slice.d.ts → slice/slice.d.ts} +4 -5
- package/dist/types/components/{arcgis-slider/arcgis-slider.d.ts → slider/slider.d.ts} +15 -14
- 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} +10 -5
- package/dist/types/components/{arcgis-time-slider/arcgis-time-slider.d.ts → time-slider/time-slider.d.ts} +16 -13
- package/dist/types/components/{arcgis-track/arcgis-track.d.ts → track/track.d.ts} +10 -9
- package/dist/types/components/{arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts → utility-network-associations/utility-network-associations.d.ts} +20 -17
- package/dist/types/components/{arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts → utility-network-trace/utility-network-trace.d.ts} +12 -11
- 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} +6 -5
- package/dist/types/components/{arcgis-value-picker/arcgis-value-picker.d.ts → value-picker/value-picker.d.ts} +9 -6
- package/dist/types/components/{arcgis-weather/arcgis-weather.d.ts → weather/weather.d.ts} +6 -3
- package/dist/types/components/{arcgis-zoom/arcgis-zoom.d.ts → zoom/zoom.d.ts} +5 -4
- package/dist/types/components.d.ts +953 -62
- package/dist/types/stencil-public-runtime.d.ts +53 -17
- package/dist/types/utils/component-utils.d.ts +9 -4
- package/dist/types/utils/expandable.d.ts +1 -0
- package/dist/types/utils/mapping-utils.d.ts +1 -1
- package/package.json +21 -23
- package/dist/arcgis-map-components/p-037a3bb6.entry.js +0 -1
- package/dist/arcgis-map-components/p-064bf907.entry.js +0 -1
- package/dist/arcgis-map-components/p-08015460.entry.js +0 -1
- package/dist/arcgis-map-components/p-0d492ad6.entry.js +0 -1
- package/dist/arcgis-map-components/p-0ee8ea5a.entry.js +0 -1
- package/dist/arcgis-map-components/p-11168df4.entry.js +0 -1
- package/dist/arcgis-map-components/p-1680f044.entry.js +0 -1
- package/dist/arcgis-map-components/p-1a6dcf6a.entry.js +0 -1
- package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
- package/dist/arcgis-map-components/p-29c81862.entry.js +0 -1
- package/dist/arcgis-map-components/p-2d3406f7.js +0 -1
- package/dist/arcgis-map-components/p-347dba98.entry.js +0 -1
- package/dist/arcgis-map-components/p-3673ae6e.entry.js +0 -1
- package/dist/arcgis-map-components/p-367c6986.entry.js +0 -1
- package/dist/arcgis-map-components/p-3b2623c6.entry.js +0 -1
- package/dist/arcgis-map-components/p-4722bbad.entry.js +0 -1
- package/dist/arcgis-map-components/p-48c89578.entry.js +0 -1
- package/dist/arcgis-map-components/p-5299aa69.entry.js +0 -1
- package/dist/arcgis-map-components/p-52c3388d.entry.js +0 -1
- package/dist/arcgis-map-components/p-5d2f53bd.entry.js +0 -1
- package/dist/arcgis-map-components/p-615399dd.entry.js +0 -1
- package/dist/arcgis-map-components/p-658a2499.entry.js +0 -1
- package/dist/arcgis-map-components/p-7031c422.entry.js +0 -1
- package/dist/arcgis-map-components/p-7084f84f.entry.js +0 -1
- package/dist/arcgis-map-components/p-74b7f2c3.entry.js +0 -1
- package/dist/arcgis-map-components/p-86a82586.entry.js +0 -1
- package/dist/arcgis-map-components/p-8a60074a.entry.js +0 -1
- package/dist/arcgis-map-components/p-8b4cf5da.entry.js +0 -1
- package/dist/arcgis-map-components/p-922bbfed.entry.js +0 -1
- package/dist/arcgis-map-components/p-932be58c.entry.js +0 -1
- package/dist/arcgis-map-components/p-99d486cb.entry.js +0 -1
- package/dist/arcgis-map-components/p-9fdd4596.entry.js +0 -1
- package/dist/arcgis-map-components/p-a0f092fc.entry.js +0 -1
- package/dist/arcgis-map-components/p-a1e2e59f.entry.js +0 -1
- package/dist/arcgis-map-components/p-a249c2fa.entry.js +0 -1
- package/dist/arcgis-map-components/p-a508d7c6.entry.js +0 -1
- package/dist/arcgis-map-components/p-a89102b6.entry.js +0 -1
- package/dist/arcgis-map-components/p-ac7e9294.entry.js +0 -1
- package/dist/arcgis-map-components/p-adcfd40d.entry.js +0 -1
- package/dist/arcgis-map-components/p-ae96d72a.entry.js +0 -1
- package/dist/arcgis-map-components/p-b026950f.entry.js +0 -1
- package/dist/arcgis-map-components/p-b5904340.entry.js +0 -1
- package/dist/arcgis-map-components/p-b813c9e6.js +0 -1
- package/dist/arcgis-map-components/p-c57f270d.entry.js +0 -1
- package/dist/arcgis-map-components/p-c63d9e91.entry.js +0 -1
- package/dist/arcgis-map-components/p-c8516f87.entry.js +0 -1
- package/dist/arcgis-map-components/p-d3f3affa.entry.js +0 -1
- package/dist/arcgis-map-components/p-d5ac71b2.entry.js +0 -1
- package/dist/arcgis-map-components/p-dcf3861b.entry.js +0 -1
- package/dist/arcgis-map-components/p-e1201530.entry.js +0 -1
- package/dist/arcgis-map-components/p-eb95717e.entry.js +0 -1
- package/dist/arcgis-map-components/p-ee1086de.entry.js +0 -1
- package/dist/arcgis-map-components/p-f28d6d27.js +0 -1
- package/dist/arcgis-map-components/p-f8353590.entry.js +0 -1
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +0 -97
- package/dist/cjs/arcgis-expand_4.cjs.entry.js +0 -693
- package/dist/cjs/disconnected-306cb220.js +0 -55
- package/dist/components/arcgis-expand2.js +0 -107
- package/dist/esm/arcgis-basemap-gallery.entry.js +0 -93
- package/dist/esm/arcgis-expand_4.entry.js +0 -686
- package/dist/esm/disconnected-bc5fc8bc.js +0 -52
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +0 -18
- package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +0 -24
- package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +0 -18
- package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +0 -25
|
@@ -1,686 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
|
|
2
|
-
import { n as newWidgetsExpand, i as importConfig, a as newWebMap, b as newViewsMapView, c as importCoreReactiveUtils, d as newWebScene, e as newViewsSceneView, f as newWidgetsSearch } from './index-334b0bde.js';
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisExpandCss = "arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";
|
|
7
|
-
|
|
8
|
-
const ArcgisExpand = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
-
this.referenceElement = undefined;
|
|
13
|
-
this.position = "top-right";
|
|
14
|
-
this.view = undefined;
|
|
15
|
-
this.widget = undefined;
|
|
16
|
-
}
|
|
17
|
-
//--------------------------------------------------------------------------
|
|
18
|
-
//
|
|
19
|
-
// Watchers
|
|
20
|
-
//
|
|
21
|
-
//--------------------------------------------------------------------------
|
|
22
|
-
positionWatcher(newValue) {
|
|
23
|
-
if (newValue !== undefined && this.widget) {
|
|
24
|
-
if (typeof this.view !== "string") {
|
|
25
|
-
this.view.ui.move(this.childElem, newValue);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
referenceElementWatcher(newValue) {
|
|
30
|
-
referenceElementHelper(this, newValue);
|
|
31
|
-
}
|
|
32
|
-
viewWatcher(newValue) {
|
|
33
|
-
if (newValue !== undefined && this.widget) {
|
|
34
|
-
this.widget.view = newValue;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
//--------------------------------------------------------------------------
|
|
38
|
-
//
|
|
39
|
-
// Lifecycle
|
|
40
|
-
//
|
|
41
|
-
//--------------------------------------------------------------------------
|
|
42
|
-
async componentDidLoad() {
|
|
43
|
-
const widget = await newWidgetsExpand({
|
|
44
|
-
container: this.childElem
|
|
45
|
-
});
|
|
46
|
-
this.widget = widget;
|
|
47
|
-
if (this.view) {
|
|
48
|
-
this.widget.view = this.view;
|
|
49
|
-
}
|
|
50
|
-
this._checkForView();
|
|
51
|
-
}
|
|
52
|
-
disconnectedCallback() {
|
|
53
|
-
onDisconnectedHelper(this);
|
|
54
|
-
}
|
|
55
|
-
render() {
|
|
56
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
57
|
-
}
|
|
58
|
-
//--------------------------------------------------------------------------
|
|
59
|
-
//
|
|
60
|
-
// Private Internal Methods
|
|
61
|
-
//
|
|
62
|
-
//--------------------------------------------------------------------------
|
|
63
|
-
_checkForView() {
|
|
64
|
-
const viewRef = this.el.closest("arcgis-map") || this.el.closest("arcgis-scene");
|
|
65
|
-
if (viewRef?.view) {
|
|
66
|
-
this.view = viewRef.view;
|
|
67
|
-
this.view.ui.add(this.childElem, this.position);
|
|
68
|
-
this.widgetReady.emit({ widget: this.widget });
|
|
69
|
-
}
|
|
70
|
-
else if (viewRef) {
|
|
71
|
-
const handler = () => {
|
|
72
|
-
this.view = viewRef.view;
|
|
73
|
-
this.view.ui.add(this.childElem, this.position);
|
|
74
|
-
this.widgetReady.emit({ widget: this.widget });
|
|
75
|
-
};
|
|
76
|
-
viewRef.addEventListener("viewReady", handler, false);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
get el() { return getElement(this); }
|
|
80
|
-
static get watchers() { return {
|
|
81
|
-
"position": ["positionWatcher"],
|
|
82
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
83
|
-
"view": ["viewWatcher"]
|
|
84
|
-
}; }
|
|
85
|
-
};
|
|
86
|
-
ArcgisExpand.style = arcgisExpandCss;
|
|
87
|
-
|
|
88
|
-
function disableNavigation(view) {
|
|
89
|
-
if (view.type === '2d') {
|
|
90
|
-
view.constraints.rotationEnabled = false;
|
|
91
|
-
}
|
|
92
|
-
view.popup.dockEnabled = true;
|
|
93
|
-
// Removes the zoom action on the popup
|
|
94
|
-
view.popup.actions.removeAll();
|
|
95
|
-
view.popup.viewModel.includeDefaultActions = false;
|
|
96
|
-
// stops propagation of default behavior when an event fires
|
|
97
|
-
function stopEvtPropagation(event) {
|
|
98
|
-
event.stopPropagation();
|
|
99
|
-
}
|
|
100
|
-
// exlude the zoom widget from the default UI
|
|
101
|
-
view.ui.components = ['attribution'];
|
|
102
|
-
// disable mouse wheel scroll zooming on the view
|
|
103
|
-
view.on('mouse-wheel', stopEvtPropagation);
|
|
104
|
-
// disable zooming via double-click on the view
|
|
105
|
-
view.on('double-click', stopEvtPropagation);
|
|
106
|
-
// disable zooming out via double-click + Control on the view
|
|
107
|
-
view.on('double-click', ['Control'], stopEvtPropagation);
|
|
108
|
-
// disables pinch-zoom and panning on the view
|
|
109
|
-
view.on('drag', stopEvtPropagation);
|
|
110
|
-
// disable the view's zoom box to prevent the Shift + drag
|
|
111
|
-
// and Shift + Control + drag zoom gestures.
|
|
112
|
-
view.on('drag', ['Shift'], stopEvtPropagation);
|
|
113
|
-
view.on('drag', ['Shift', 'Control'], stopEvtPropagation);
|
|
114
|
-
// prevents zooming with the + and - keys
|
|
115
|
-
view.on('key-down', event => {
|
|
116
|
-
const prohibitedKeys = ['+', '-', 'Shift', '_', '=', 'ArrowUp', 'ArrowDown', 'ArrowRight', 'ArrowLeft'];
|
|
117
|
-
const keyPressed = event.key;
|
|
118
|
-
if (prohibitedKeys.indexOf(keyPressed) !== -1) {
|
|
119
|
-
event.stopPropagation();
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
return view;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
const arcgisMapCss = ".arcgis-map{padding:0;margin:0;height:100%;width:100%}";
|
|
126
|
-
|
|
127
|
-
const ArcgisMap = class {
|
|
128
|
-
constructor(hostRef) {
|
|
129
|
-
registerInstance(this, hostRef);
|
|
130
|
-
this.viewReady = createEvent(this, "viewReady", 7);
|
|
131
|
-
this.apiKey = undefined;
|
|
132
|
-
this.basemap = undefined;
|
|
133
|
-
this.backgroundColor = undefined;
|
|
134
|
-
this.disableNavigation = false;
|
|
135
|
-
this.itemId = undefined;
|
|
136
|
-
this.portalUrl = undefined;
|
|
137
|
-
this.scale = undefined;
|
|
138
|
-
this.zoom = undefined;
|
|
139
|
-
this.center = undefined;
|
|
140
|
-
this.view = undefined;
|
|
141
|
-
}
|
|
142
|
-
apiKeyWatcher(value) {
|
|
143
|
-
this.config.apiKey = value;
|
|
144
|
-
}
|
|
145
|
-
backgroundColorWatcher(value) {
|
|
146
|
-
this.view.background = {
|
|
147
|
-
color: value
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
itemIdWatcher(value, old) {
|
|
151
|
-
if (value && value !== old) {
|
|
152
|
-
this.loadMap();
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
scaleWatcher(value, old) {
|
|
156
|
-
if (value != null && value !== old) {
|
|
157
|
-
this.view.scale = value;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
zoomWatcher(value, old) {
|
|
161
|
-
if (value != null && value !== old) {
|
|
162
|
-
this.view.zoom = value;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
//--------------------------------------------------------------------------
|
|
166
|
-
//
|
|
167
|
-
// Lifecycle
|
|
168
|
-
//
|
|
169
|
-
//--------------------------------------------------------------------------
|
|
170
|
-
async componentWillLoad() {
|
|
171
|
-
this.config = await importConfig();
|
|
172
|
-
if (this.apiKey) {
|
|
173
|
-
this.config.apiKey = this.apiKey;
|
|
174
|
-
}
|
|
175
|
-
this.loadMap();
|
|
176
|
-
}
|
|
177
|
-
componentDidRender() {
|
|
178
|
-
if (this.view) {
|
|
179
|
-
this.view.container = this.el;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
render() {
|
|
183
|
-
return h("div", { class: "arcgis-map", ref: (el) => (this.el = el) });
|
|
184
|
-
}
|
|
185
|
-
//--------------------------------------------------------------------------
|
|
186
|
-
//
|
|
187
|
-
// Private Methods
|
|
188
|
-
//
|
|
189
|
-
//--------------------------------------------------------------------------
|
|
190
|
-
async loadMap() {
|
|
191
|
-
const mapParams = {};
|
|
192
|
-
if (this.itemId) {
|
|
193
|
-
mapParams.portalItem = this._createPortalItem();
|
|
194
|
-
}
|
|
195
|
-
if (this.basemap) {
|
|
196
|
-
mapParams.basemap = this.basemap;
|
|
197
|
-
}
|
|
198
|
-
const map = await newWebMap(mapParams);
|
|
199
|
-
const params = this._createViewParams();
|
|
200
|
-
const view = await newViewsMapView({
|
|
201
|
-
map,
|
|
202
|
-
...params
|
|
203
|
-
});
|
|
204
|
-
this.view = view;
|
|
205
|
-
this._addWatchers();
|
|
206
|
-
if (this.disableNavigation) {
|
|
207
|
-
disableNavigation(this.view);
|
|
208
|
-
}
|
|
209
|
-
this.view.when(() => {
|
|
210
|
-
this.viewReady.emit({ view: this.view });
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
//--------------------------------------------------------------------------
|
|
214
|
-
//
|
|
215
|
-
// Private Methods
|
|
216
|
-
//
|
|
217
|
-
//--------------------------------------------------------------------------
|
|
218
|
-
async _addWatchers() {
|
|
219
|
-
const { watch, when } = await importCoreReactiveUtils();
|
|
220
|
-
watch(() => this.view.center, (center) => {
|
|
221
|
-
const value = `${center.longitude},${center.latitude}`;
|
|
222
|
-
this.center = value;
|
|
223
|
-
});
|
|
224
|
-
when(() => this.view.updating, () => {
|
|
225
|
-
when(() => !this.view.updating, () => {
|
|
226
|
-
if (this.zoom !== this.view.zoom) {
|
|
227
|
-
this.zoom = this.view.zoom;
|
|
228
|
-
}
|
|
229
|
-
if (this.scale !== this.view.scale) {
|
|
230
|
-
this.scale = this.view.scale;
|
|
231
|
-
}
|
|
232
|
-
}, { once: true });
|
|
233
|
-
});
|
|
234
|
-
}
|
|
235
|
-
_createPortalItem() {
|
|
236
|
-
const item = {};
|
|
237
|
-
if (this.itemId) {
|
|
238
|
-
item.id = this.itemId;
|
|
239
|
-
}
|
|
240
|
-
if (this.portalUrl) {
|
|
241
|
-
item.portal = {
|
|
242
|
-
url: this.portalUrl
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
return item;
|
|
246
|
-
}
|
|
247
|
-
_createViewParams() {
|
|
248
|
-
const params = {};
|
|
249
|
-
if (this.backgroundColor) {
|
|
250
|
-
params.background = {
|
|
251
|
-
color: this.backgroundColor
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
if (this.zoom !== undefined) {
|
|
255
|
-
params.zoom = this.zoom;
|
|
256
|
-
}
|
|
257
|
-
if (this.scale !== undefined) {
|
|
258
|
-
params.scale = this.scale;
|
|
259
|
-
}
|
|
260
|
-
if (this.center) {
|
|
261
|
-
if (typeof this.center === "string") {
|
|
262
|
-
params.center = this.center.split(",").map((x) => Number(x));
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
params.center = this.center;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
return params;
|
|
269
|
-
}
|
|
270
|
-
get hostElem() { return getElement(this); }
|
|
271
|
-
static get watchers() { return {
|
|
272
|
-
"apiKey": ["apiKeyWatcher"],
|
|
273
|
-
"backgroundColor": ["backgroundColorWatcher"],
|
|
274
|
-
"itemId": ["itemIdWatcher"],
|
|
275
|
-
"scale": ["scaleWatcher"],
|
|
276
|
-
"zoom": ["zoomWatcher"]
|
|
277
|
-
}; }
|
|
278
|
-
};
|
|
279
|
-
ArcgisMap.style = arcgisMapCss;
|
|
280
|
-
|
|
281
|
-
const arcgisSceneCss = ".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";
|
|
282
|
-
|
|
283
|
-
const ArcgisScene = class {
|
|
284
|
-
constructor(hostRef) {
|
|
285
|
-
registerInstance(this, hostRef);
|
|
286
|
-
this.viewReady = createEvent(this, "viewReady", 7);
|
|
287
|
-
this.apiKey = undefined;
|
|
288
|
-
this.basemap = undefined;
|
|
289
|
-
this.itemId = undefined;
|
|
290
|
-
this.portalUrl = undefined;
|
|
291
|
-
this.scale = undefined;
|
|
292
|
-
this.zoom = undefined;
|
|
293
|
-
this.center = undefined;
|
|
294
|
-
this.view = undefined;
|
|
295
|
-
this.disableNavigation = false;
|
|
296
|
-
}
|
|
297
|
-
apiKeyWatcher(value) {
|
|
298
|
-
this.config.apiKey = value;
|
|
299
|
-
}
|
|
300
|
-
itemIdWatcher(value, old) {
|
|
301
|
-
if (value && value !== old) {
|
|
302
|
-
this.loadMap();
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
scaleWatcher(value, old) {
|
|
306
|
-
if (value != null && value !== old) {
|
|
307
|
-
this.view.scale = value;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
zoomWatcher(value, old) {
|
|
311
|
-
if (value != null && value !== old) {
|
|
312
|
-
this.view.zoom = value;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
//--------------------------------------------------------------------------
|
|
316
|
-
//
|
|
317
|
-
// Lifecycle
|
|
318
|
-
//
|
|
319
|
-
//--------------------------------------------------------------------------
|
|
320
|
-
async componentWillLoad() {
|
|
321
|
-
this.config = await importConfig();
|
|
322
|
-
if (this.apiKey) {
|
|
323
|
-
this.config.apiKey = this.apiKey;
|
|
324
|
-
}
|
|
325
|
-
this.loadMap();
|
|
326
|
-
}
|
|
327
|
-
componentDidRender() {
|
|
328
|
-
if (this.view) {
|
|
329
|
-
this.view.container = this.el;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
render() {
|
|
333
|
-
return h("div", { class: "arcgis-scene", ref: (el) => (this.el = el) });
|
|
334
|
-
}
|
|
335
|
-
//--------------------------------------------------------------------------
|
|
336
|
-
//
|
|
337
|
-
// Private Methods
|
|
338
|
-
//
|
|
339
|
-
//--------------------------------------------------------------------------
|
|
340
|
-
async loadMap() {
|
|
341
|
-
const mapParams = {};
|
|
342
|
-
if (this.itemId) {
|
|
343
|
-
mapParams.portalItem = this._createPortalItem();
|
|
344
|
-
}
|
|
345
|
-
if (this.basemap) {
|
|
346
|
-
mapParams.basemap = this.basemap;
|
|
347
|
-
}
|
|
348
|
-
const map = await newWebScene(mapParams);
|
|
349
|
-
const params = this._createViewParams();
|
|
350
|
-
const view = await newViewsSceneView({
|
|
351
|
-
map,
|
|
352
|
-
...params
|
|
353
|
-
});
|
|
354
|
-
this.view = view;
|
|
355
|
-
this._addWatchers();
|
|
356
|
-
if (this.disableNavigation) {
|
|
357
|
-
disableNavigation(this.view);
|
|
358
|
-
}
|
|
359
|
-
this.view.when(() => {
|
|
360
|
-
this.viewReady.emit({ view: this.view });
|
|
361
|
-
});
|
|
362
|
-
}
|
|
363
|
-
async _addWatchers() {
|
|
364
|
-
const { watch, when } = await importCoreReactiveUtils();
|
|
365
|
-
watch(() => this.view.center, (center) => {
|
|
366
|
-
const value = `${center.longitude},${center.latitude}`;
|
|
367
|
-
this.center = value;
|
|
368
|
-
});
|
|
369
|
-
when(() => this.view.updating, () => {
|
|
370
|
-
when(() => !this.view.updating, () => {
|
|
371
|
-
if (this.zoom !== this.view.zoom) {
|
|
372
|
-
this.zoom = this.view.zoom;
|
|
373
|
-
}
|
|
374
|
-
if (this.scale !== this.view.scale) {
|
|
375
|
-
this.scale = this.view.scale;
|
|
376
|
-
}
|
|
377
|
-
}, { once: true });
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
_createPortalItem() {
|
|
381
|
-
const item = {};
|
|
382
|
-
if (this.itemId) {
|
|
383
|
-
item.id = this.itemId;
|
|
384
|
-
}
|
|
385
|
-
if (this.portalUrl) {
|
|
386
|
-
item.portal = {
|
|
387
|
-
url: this.portalUrl
|
|
388
|
-
};
|
|
389
|
-
}
|
|
390
|
-
return item;
|
|
391
|
-
}
|
|
392
|
-
_createViewParams() {
|
|
393
|
-
const params = {};
|
|
394
|
-
if (this.zoom !== undefined) {
|
|
395
|
-
params.zoom = this.zoom;
|
|
396
|
-
}
|
|
397
|
-
if (this.scale !== undefined) {
|
|
398
|
-
params.scale = this.scale;
|
|
399
|
-
}
|
|
400
|
-
if (this.center) {
|
|
401
|
-
if (typeof this.center === "string") {
|
|
402
|
-
params.center = this.center.split(",").map((x) => Number(x));
|
|
403
|
-
}
|
|
404
|
-
else {
|
|
405
|
-
params.center = this.center;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
return params;
|
|
409
|
-
}
|
|
410
|
-
get hostElem() { return getElement(this); }
|
|
411
|
-
static get watchers() { return {
|
|
412
|
-
"apiKey": ["apiKeyWatcher"],
|
|
413
|
-
"itemId": ["itemIdWatcher"],
|
|
414
|
-
"scale": ["scaleWatcher"],
|
|
415
|
-
"zoom": ["zoomWatcher"]
|
|
416
|
-
}; }
|
|
417
|
-
};
|
|
418
|
-
ArcgisScene.style = arcgisSceneCss;
|
|
419
|
-
|
|
420
|
-
const arcgisSearchCss = "";
|
|
421
|
-
|
|
422
|
-
const ArcgisSearch = class {
|
|
423
|
-
constructor(hostRef) {
|
|
424
|
-
registerInstance(this, hostRef);
|
|
425
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
426
|
-
this.searchBlur = createEvent(this, "searchBlur", 7);
|
|
427
|
-
this.searchClear = createEvent(this, "searchClear", 7);
|
|
428
|
-
this.searchComplete = createEvent(this, "searchComplete", 7);
|
|
429
|
-
this.searchFocus = createEvent(this, "searchFocus", 7);
|
|
430
|
-
this.searchStart = createEvent(this, "searchStart", 7);
|
|
431
|
-
this.selectResult = createEvent(this, "selectResult", 7);
|
|
432
|
-
this.suggestComplete = createEvent(this, "suggestComplete", 7);
|
|
433
|
-
this.suggestStart = createEvent(this, "suggestStart", 7);
|
|
434
|
-
this.referenceElement = undefined;
|
|
435
|
-
this.activeMenu = undefined;
|
|
436
|
-
this.activeSource = undefined;
|
|
437
|
-
this.activeSourceIndex = undefined;
|
|
438
|
-
this.allPlaceholder = undefined;
|
|
439
|
-
this.allSources = undefined;
|
|
440
|
-
this.autoSelect = undefined;
|
|
441
|
-
this.defaultSources = undefined;
|
|
442
|
-
this.includeDefaultSources = undefined;
|
|
443
|
-
this.locationEnabled = undefined;
|
|
444
|
-
this.maxResults = undefined;
|
|
445
|
-
this.maxSuggestions = undefined;
|
|
446
|
-
this.minSuggestCharacters = undefined;
|
|
447
|
-
this.popupEnabled = undefined;
|
|
448
|
-
this.popupTemplate = undefined;
|
|
449
|
-
this.portal = undefined;
|
|
450
|
-
this.resultGraphic = undefined;
|
|
451
|
-
this.resultGraphicEnabled = undefined;
|
|
452
|
-
this.results = undefined;
|
|
453
|
-
this.searchAllEnabled = undefined;
|
|
454
|
-
this.searchTerm = undefined;
|
|
455
|
-
this.selectedResult = undefined;
|
|
456
|
-
this.sources = undefined;
|
|
457
|
-
this.suggestions = undefined;
|
|
458
|
-
this.suggestionsEnabled = undefined;
|
|
459
|
-
this.position = "top-right";
|
|
460
|
-
this.expandable = false;
|
|
461
|
-
this.view = undefined;
|
|
462
|
-
this.widget = undefined;
|
|
463
|
-
}
|
|
464
|
-
//--------------------------------------------------------------------------
|
|
465
|
-
//
|
|
466
|
-
// Watchers
|
|
467
|
-
//
|
|
468
|
-
//--------------------------------------------------------------------------
|
|
469
|
-
positionWatcher(newValue) {
|
|
470
|
-
if (newValue !== undefined && this.widget) {
|
|
471
|
-
if (typeof this.view !== "string") {
|
|
472
|
-
this.view.ui.move(this.childElem, newValue);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
activeMenuWatcher(newValue) {
|
|
477
|
-
if (newValue !== undefined && this.widget) {
|
|
478
|
-
this.widget.activeMenu = newValue;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
activeSourceIndexWatcher(newValue) {
|
|
482
|
-
if (newValue !== undefined && this.widget) {
|
|
483
|
-
this.widget.activeSourceIndex = newValue;
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
allPlaceholderWatcher(newValue) {
|
|
487
|
-
if (newValue !== undefined && this.widget) {
|
|
488
|
-
this.widget.allPlaceholder = newValue;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
autoSelectWatcher(newValue) {
|
|
492
|
-
if (newValue !== undefined && this.widget) {
|
|
493
|
-
this.widget.autoSelect = newValue;
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
includeDefaultSourcesWatcher(newValue) {
|
|
497
|
-
if (newValue !== undefined && this.widget) {
|
|
498
|
-
this.widget.includeDefaultSources = newValue;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
locationEnabledWatcher(newValue) {
|
|
502
|
-
if (newValue !== undefined && this.widget) {
|
|
503
|
-
this.widget.locationEnabled = newValue;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
maxResultsWatcher(newValue) {
|
|
507
|
-
if (newValue !== undefined && this.widget) {
|
|
508
|
-
this.widget.maxResults = newValue;
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
maxSuggestionsWatcher(newValue) {
|
|
512
|
-
if (newValue !== undefined && this.widget) {
|
|
513
|
-
this.widget.maxSuggestions = newValue;
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
minSuggestCharactersWatcher(newValue) {
|
|
517
|
-
if (newValue !== undefined && this.widget) {
|
|
518
|
-
this.widget.minSuggestCharacters = newValue;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
popupEnabledWatcher(newValue) {
|
|
522
|
-
if (newValue !== undefined && this.widget) {
|
|
523
|
-
this.widget.popupEnabled = newValue;
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
popupTemplateWatcher(newValue) {
|
|
527
|
-
if (newValue !== undefined && this.widget) {
|
|
528
|
-
this.widget.popupTemplate = newValue;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
portalWatcher(newValue) {
|
|
532
|
-
if (newValue !== undefined && this.widget) {
|
|
533
|
-
this.widget.portal = newValue;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
resultGraphicEnabledWatcher(newValue) {
|
|
537
|
-
if (newValue !== undefined && this.widget) {
|
|
538
|
-
this.widget.resultGraphicEnabled = newValue;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
searchAllEnabledWatcher(newValue) {
|
|
542
|
-
if (newValue !== undefined && this.widget) {
|
|
543
|
-
this.widget.searchAllEnabled = newValue;
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
searchTermWatcher(newValue) {
|
|
547
|
-
if (newValue !== undefined && this.widget) {
|
|
548
|
-
this.widget.searchTerm = newValue;
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
sourcesWatcher(newValue) {
|
|
552
|
-
if (newValue !== undefined && this.widget) {
|
|
553
|
-
this.widget.sources = newValue;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
suggestionsEnabledWatcher(newValue) {
|
|
557
|
-
if (newValue !== undefined && this.widget) {
|
|
558
|
-
this.widget.suggestionsEnabled = newValue;
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
referenceElementWatcher(newValue) {
|
|
562
|
-
referenceElementHelper(this, newValue);
|
|
563
|
-
}
|
|
564
|
-
viewWatcher(newValue) {
|
|
565
|
-
if (newValue !== undefined && this.widget) {
|
|
566
|
-
this.widget.view = newValue;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
//--------------------------------------------------------------------------
|
|
570
|
-
//
|
|
571
|
-
// Methods
|
|
572
|
-
//
|
|
573
|
-
//--------------------------------------------------------------------------
|
|
574
|
-
async blurSearch() {
|
|
575
|
-
return this.widget?.blur();
|
|
576
|
-
}
|
|
577
|
-
async clearSearch() {
|
|
578
|
-
return this.widget?.clear();
|
|
579
|
-
}
|
|
580
|
-
async focusSearch() {
|
|
581
|
-
return this.widget?.focus();
|
|
582
|
-
}
|
|
583
|
-
async search(term) {
|
|
584
|
-
return this.widget?.search(term);
|
|
585
|
-
}
|
|
586
|
-
async suggest(term) {
|
|
587
|
-
return this.widget?.suggest(term);
|
|
588
|
-
}
|
|
589
|
-
//--------------------------------------------------------------------------
|
|
590
|
-
//
|
|
591
|
-
// Lifecycle
|
|
592
|
-
//
|
|
593
|
-
//--------------------------------------------------------------------------
|
|
594
|
-
async componentDidLoad() {
|
|
595
|
-
const params = this._createParams();
|
|
596
|
-
const widget = await newWidgetsSearch(params);
|
|
597
|
-
this.widget = widget;
|
|
598
|
-
await this._addWatchers();
|
|
599
|
-
this._proxyEvents();
|
|
600
|
-
this.widgetReady.emit({ widget: this.widget });
|
|
601
|
-
checkForView(this);
|
|
602
|
-
}
|
|
603
|
-
disconnectedCallback() {
|
|
604
|
-
onDisconnectedHelper(this);
|
|
605
|
-
}
|
|
606
|
-
render() {
|
|
607
|
-
if (this.expandable) {
|
|
608
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
609
|
-
}
|
|
610
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
611
|
-
}
|
|
612
|
-
//--------------------------------------------------------------------------
|
|
613
|
-
//
|
|
614
|
-
// Private Interal Methods
|
|
615
|
-
//
|
|
616
|
-
//--------------------------------------------------------------------------
|
|
617
|
-
async _addWatchers() {
|
|
618
|
-
const { watch } = await importCoreReactiveUtils();
|
|
619
|
-
watch(() => this.widget.activeSource, (value) => (this.activeSource = value), {
|
|
620
|
-
initial: true
|
|
621
|
-
});
|
|
622
|
-
watch(() => this.widget.activeSourceIndex, (value) => (this.activeSourceIndex = value), {
|
|
623
|
-
initial: true
|
|
624
|
-
});
|
|
625
|
-
watch(() => this.widget.allSources, (value) => (this.allSources = value), {
|
|
626
|
-
initial: true
|
|
627
|
-
});
|
|
628
|
-
watch(() => this.widget.defaultSources, (value) => (this.defaultSources = value), {
|
|
629
|
-
initial: true
|
|
630
|
-
});
|
|
631
|
-
watch(() => this.widget.resultGraphic, (value) => (this.resultGraphic = value), {
|
|
632
|
-
initial: true
|
|
633
|
-
});
|
|
634
|
-
watch(() => this.widget.results, (value) => (this.results = value), {
|
|
635
|
-
initial: true
|
|
636
|
-
});
|
|
637
|
-
watch(() => this.widget.selectedResult, (value) => (this.selectedResult = value), {
|
|
638
|
-
initial: true
|
|
639
|
-
});
|
|
640
|
-
}
|
|
641
|
-
_createParams() {
|
|
642
|
-
const params = {
|
|
643
|
-
container: this.childElem
|
|
644
|
-
};
|
|
645
|
-
if (this.view) {
|
|
646
|
-
params.view = this.view;
|
|
647
|
-
}
|
|
648
|
-
return params;
|
|
649
|
-
}
|
|
650
|
-
_proxyEvents() {
|
|
651
|
-
this.widget.on("search-blur", (e) => this.searchBlur.emit(e));
|
|
652
|
-
this.widget.on("search-clear", (e) => this.searchClear.emit(e));
|
|
653
|
-
this.widget.on("search-complete", (e) => this.searchComplete.emit(e));
|
|
654
|
-
this.widget.on("search-focus", (e) => this.searchFocus.emit(e));
|
|
655
|
-
this.widget.on("search-start", (e) => this.searchStart.emit(e));
|
|
656
|
-
this.widget.on("select-result", (e) => this.selectResult.emit(e));
|
|
657
|
-
this.widget.on("suggest-complete", (e) => this.suggestComplete.emit(e));
|
|
658
|
-
this.widget.on("suggest-start", (e) => this.suggestStart.emit(e));
|
|
659
|
-
}
|
|
660
|
-
get el() { return getElement(this); }
|
|
661
|
-
static get watchers() { return {
|
|
662
|
-
"position": ["positionWatcher"],
|
|
663
|
-
"activeMenu": ["activeMenuWatcher"],
|
|
664
|
-
"activeSourceIndex": ["activeSourceIndexWatcher"],
|
|
665
|
-
"allPlaceholder": ["allPlaceholderWatcher"],
|
|
666
|
-
"autoSelect": ["autoSelectWatcher"],
|
|
667
|
-
"includeDefaultSources": ["includeDefaultSourcesWatcher"],
|
|
668
|
-
"locationEnabled": ["locationEnabledWatcher"],
|
|
669
|
-
"maxResults": ["maxResultsWatcher"],
|
|
670
|
-
"maxSuggestions": ["maxSuggestionsWatcher"],
|
|
671
|
-
"minSuggestCharacters": ["minSuggestCharactersWatcher"],
|
|
672
|
-
"popupEnabled": ["popupEnabledWatcher"],
|
|
673
|
-
"popupTemplate": ["popupTemplateWatcher"],
|
|
674
|
-
"portal": ["portalWatcher"],
|
|
675
|
-
"resultGraphicEnabled": ["resultGraphicEnabledWatcher"],
|
|
676
|
-
"searchAllEnabled": ["searchAllEnabledWatcher"],
|
|
677
|
-
"searchTerm": ["searchTermWatcher"],
|
|
678
|
-
"sources": ["sourcesWatcher"],
|
|
679
|
-
"suggestionsEnabled": ["suggestionsEnabledWatcher"],
|
|
680
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
681
|
-
"view": ["viewWatcher"]
|
|
682
|
-
}; }
|
|
683
|
-
};
|
|
684
|
-
ArcgisSearch.style = arcgisSearchCss;
|
|
685
|
-
|
|
686
|
-
export { ArcgisExpand as arcgis_expand, ArcgisMap as arcgis_map, ArcgisScene as arcgis_scene, ArcgisSearch as arcgis_search };
|