@arcgis/map-components 1.0.0-beta.14
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 +13 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -0
- package/dist/arcgis-map-components/index.esm.js +0 -0
- package/dist/arcgis-map-components/p-095e0075.js +1 -0
- package/dist/arcgis-map-components/p-0a81674b.entry.js +1 -0
- package/dist/arcgis-map-components/p-0b5368a6.entry.js +1 -0
- package/dist/arcgis-map-components/p-0dddef29.entry.js +1 -0
- package/dist/arcgis-map-components/p-0decaa03.entry.js +1 -0
- package/dist/arcgis-map-components/p-1126ae71.entry.js +1 -0
- package/dist/arcgis-map-components/p-1307fe8a.entry.js +1 -0
- package/dist/arcgis-map-components/p-1401deea.js +1 -0
- package/dist/arcgis-map-components/p-1e5e5ed9.js +2 -0
- package/dist/arcgis-map-components/p-23530601.entry.js +1 -0
- package/dist/arcgis-map-components/p-3b5c0098.entry.js +1 -0
- package/dist/arcgis-map-components/p-406f187c.entry.js +1 -0
- package/dist/arcgis-map-components/p-5396bcb5.entry.js +1 -0
- package/dist/arcgis-map-components/p-5a87f5c4.entry.js +1 -0
- package/dist/arcgis-map-components/p-5cabdee7.js +1 -0
- package/dist/arcgis-map-components/p-69214958.entry.js +1 -0
- package/dist/arcgis-map-components/p-6e69fe28.entry.js +1 -0
- package/dist/arcgis-map-components/p-741086a4.entry.js +1 -0
- package/dist/arcgis-map-components/p-79080368.entry.js +1 -0
- package/dist/arcgis-map-components/p-7e5545cf.entry.js +1 -0
- package/dist/arcgis-map-components/p-7e90f27c.entry.js +1 -0
- package/dist/arcgis-map-components/p-80fd5534.entry.js +1 -0
- package/dist/arcgis-map-components/p-81a3bd3b.entry.js +1 -0
- package/dist/arcgis-map-components/p-85b278c1.entry.js +1 -0
- package/dist/arcgis-map-components/p-866d57e1.entry.js +1 -0
- package/dist/arcgis-map-components/p-86acdf29.entry.js +1 -0
- package/dist/arcgis-map-components/p-8bf81a13.entry.js +1 -0
- package/dist/arcgis-map-components/p-95287b70.entry.js +1 -0
- package/dist/arcgis-map-components/p-95aa4e86.entry.js +1 -0
- package/dist/arcgis-map-components/p-9634a446.entry.js +1 -0
- package/dist/arcgis-map-components/p-9d16369e.entry.js +1 -0
- package/dist/arcgis-map-components/p-a094dafc.entry.js +1 -0
- package/dist/arcgis-map-components/p-a6ab7f72.entry.js +1 -0
- package/dist/arcgis-map-components/p-a7715a1a.entry.js +1 -0
- package/dist/arcgis-map-components/p-aa73b1cb.entry.js +1 -0
- package/dist/arcgis-map-components/p-ae017ef1.entry.js +1 -0
- package/dist/arcgis-map-components/p-b5182c68.entry.js +1 -0
- package/dist/arcgis-map-components/p-b813c9e6.js +1 -0
- package/dist/arcgis-map-components/p-bfb9ceb4.entry.js +1 -0
- package/dist/arcgis-map-components/p-c28ede1a.entry.js +1 -0
- package/dist/arcgis-map-components/p-c64bceeb.entry.js +1 -0
- package/dist/arcgis-map-components/p-c726b024.entry.js +1 -0
- package/dist/arcgis-map-components/p-d0dc4119.entry.js +1 -0
- package/dist/arcgis-map-components/p-d2274db9.entry.js +1 -0
- package/dist/arcgis-map-components/p-d5b79b4e.entry.js +1 -0
- package/dist/arcgis-map-components/p-d9c0253a.entry.js +1 -0
- package/dist/arcgis-map-components/p-db02ac80.entry.js +1 -0
- package/dist/arcgis-map-components/p-dfbbbdad.entry.js +1 -0
- package/dist/arcgis-map-components/p-e432eb73.entry.js +1 -0
- package/dist/arcgis-map-components/p-e4f5a3f5.entry.js +1 -0
- package/dist/arcgis-map-components/p-f32183ab.entry.js +1 -0
- package/dist/arcgis-map-components/p-f9b78102.entry.js +1 -0
- package/dist/arcgis-map-components/p-fa591c93.entry.js +1 -0
- package/dist/arcgis-map-components/p-fee8b15a.entry.js +1 -0
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +101 -0
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +94 -0
- package/dist/cjs/arcgis-attachments.cjs.entry.js +73 -0
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +281 -0
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +144 -0
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +115 -0
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +140 -0
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +80 -0
- package/dist/cjs/arcgis-compass.cjs.entry.js +90 -0
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +158 -0
- package/dist/cjs/arcgis-daylight.cjs.entry.js +116 -0
- package/dist/cjs/arcgis-directions.cjs.entry.js +194 -0
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +114 -0
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +106 -0
- package/dist/cjs/arcgis-editor.cjs.entry.js +180 -0
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +136 -0
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +36 -0
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +300 -0
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +73 -0
- package/dist/cjs/arcgis-feature.cjs.entry.js +106 -0
- package/dist/cjs/arcgis-features.cjs.entry.js +133 -0
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +134 -0
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +92 -0
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +80 -0
- package/dist/cjs/arcgis-histogram.cjs.entry.js +36 -0
- package/dist/cjs/arcgis-home.cjs.entry.js +108 -0
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +128 -0
- package/dist/cjs/arcgis-legend.cjs.entry.js +146 -0
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +94 -0
- package/dist/cjs/arcgis-locate.cjs.entry.js +158 -0
- package/dist/cjs/arcgis-map-components.cjs.js +23 -0
- package/dist/cjs/arcgis-measurement.cjs.entry.js +123 -0
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +97 -0
- package/dist/cjs/arcgis-print.cjs.entry.js +163 -0
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +106 -0
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +146 -0
- package/dist/cjs/arcgis-scene.cjs.entry.js +106 -0
- package/dist/cjs/arcgis-search.cjs.entry.js +276 -0
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +95 -0
- package/dist/cjs/arcgis-sketch.cjs.entry.js +201 -0
- package/dist/cjs/arcgis-slice.cjs.entry.js +103 -0
- package/dist/cjs/arcgis-slider.cjs.entry.js +233 -0
- package/dist/cjs/arcgis-swipe.cjs.entry.js +117 -0
- package/dist/cjs/arcgis-table-list.cjs.entry.js +118 -0
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +216 -0
- package/dist/cjs/arcgis-track.cjs.entry.js +147 -0
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +162 -0
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +160 -0
- package/dist/cjs/arcgis-weather.cjs.entry.js +86 -0
- package/dist/cjs/arcgis-zoom.cjs.entry.js +100 -0
- package/dist/cjs/component-utils-933b7aca.js +76 -0
- package/dist/cjs/disconnected-306cb220.js +55 -0
- package/dist/cjs/index-6b51d5a0.js +1607 -0
- package/dist/cjs/index-ef2acc94.js +717 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +22 -0
- package/dist/cjs/mapping-utils-c2c7b994.js +40 -0
- package/dist/components/arcgis-area-measurement-2d.d.ts +11 -0
- package/dist/components/arcgis-area-measurement-2d.js +128 -0
- package/dist/components/arcgis-area-measurement-3d.d.ts +11 -0
- package/dist/components/arcgis-area-measurement-3d.js +121 -0
- package/dist/components/arcgis-attachments.d.ts +11 -0
- package/dist/components/arcgis-attachments.js +99 -0
- package/dist/components/arcgis-basemap-gallery.d.ts +11 -0
- package/dist/components/arcgis-basemap-gallery.js +124 -0
- package/dist/components/arcgis-basemap-layer-list.d.ts +11 -0
- package/dist/components/arcgis-basemap-layer-list.js +175 -0
- package/dist/components/arcgis-basemap-toggle.d.ts +11 -0
- package/dist/components/arcgis-basemap-toggle.js +143 -0
- package/dist/components/arcgis-bookmarks.d.ts +11 -0
- package/dist/components/arcgis-bookmarks.js +169 -0
- package/dist/components/arcgis-building-explorer.d.ts +11 -0
- package/dist/components/arcgis-building-explorer.js +105 -0
- package/dist/components/arcgis-compass.d.ts +11 -0
- package/dist/components/arcgis-compass.js +109 -0
- package/dist/components/arcgis-coordinate-conversion.d.ts +11 -0
- package/dist/components/arcgis-coordinate-conversion.js +193 -0
- package/dist/components/arcgis-daylight.d.ts +11 -0
- package/dist/components/arcgis-daylight.js +144 -0
- package/dist/components/arcgis-directions.d.ts +11 -0
- package/dist/components/arcgis-directions.js +230 -0
- package/dist/components/arcgis-directline-measurement-3d.d.ts +11 -0
- package/dist/components/arcgis-directline-measurement-3d.js +142 -0
- package/dist/components/arcgis-distance-measurement-2d.d.ts +11 -0
- package/dist/components/arcgis-distance-measurement-2d.js +133 -0
- package/dist/components/arcgis-editor.d.ts +11 -0
- package/dist/components/arcgis-editor.js +219 -0
- package/dist/components/arcgis-elevation-profile.d.ts +11 -0
- package/dist/components/arcgis-elevation-profile.js +166 -0
- package/dist/components/arcgis-expand.d.ts +11 -0
- package/dist/components/arcgis-expand.js +6 -0
- package/dist/components/arcgis-expand2.js +107 -0
- package/dist/components/arcgis-feature-form.d.ts +11 -0
- package/dist/components/arcgis-feature-form.js +55 -0
- package/dist/components/arcgis-feature-table.d.ts +11 -0
- package/dist/components/arcgis-feature-table.js +355 -0
- package/dist/components/arcgis-feature-templates.d.ts +11 -0
- package/dist/components/arcgis-feature-templates.js +98 -0
- package/dist/components/arcgis-feature.d.ts +11 -0
- package/dist/components/arcgis-feature.js +133 -0
- package/dist/components/arcgis-features.d.ts +11 -0
- package/dist/components/arcgis-features.js +169 -0
- package/dist/components/arcgis-floor-filter.d.ts +11 -0
- package/dist/components/arcgis-floor-filter.js +164 -0
- package/dist/components/arcgis-fullscreen.d.ts +11 -0
- package/dist/components/arcgis-fullscreen.js +111 -0
- package/dist/components/arcgis-histogram-range-slider.d.ts +11 -0
- package/dist/components/arcgis-histogram-range-slider.js +106 -0
- package/dist/components/arcgis-histogram.d.ts +11 -0
- package/dist/components/arcgis-histogram.js +55 -0
- package/dist/components/arcgis-home.d.ts +11 -0
- package/dist/components/arcgis-home.js +129 -0
- package/dist/components/arcgis-layer-list.d.ts +11 -0
- package/dist/components/arcgis-layer-list.js +158 -0
- package/dist/components/arcgis-legend.d.ts +11 -0
- package/dist/components/arcgis-legend.js +177 -0
- package/dist/components/arcgis-line-of-sight.d.ts +11 -0
- package/dist/components/arcgis-line-of-sight.js +120 -0
- package/dist/components/arcgis-locate.d.ts +11 -0
- package/dist/components/arcgis-locate.js +184 -0
- package/dist/components/arcgis-map.d.ts +11 -0
- package/dist/components/arcgis-map.js +130 -0
- package/dist/components/arcgis-measurement.d.ts +11 -0
- package/dist/components/arcgis-measurement.js +153 -0
- package/dist/components/arcgis-navigation-toggle.d.ts +11 -0
- package/dist/components/arcgis-navigation-toggle.js +117 -0
- package/dist/components/arcgis-print.d.ts +11 -0
- package/dist/components/arcgis-print.js +197 -0
- package/dist/components/arcgis-scale-bar.d.ts +11 -0
- package/dist/components/arcgis-scale-bar.js +133 -0
- package/dist/components/arcgis-scale-range-slider.d.ts +11 -0
- package/dist/components/arcgis-scale-range-slider.js +177 -0
- package/dist/components/arcgis-scene.d.ts +11 -0
- package/dist/components/arcgis-scene.js +127 -0
- package/dist/components/arcgis-search.d.ts +11 -0
- package/dist/components/arcgis-search.js +330 -0
- package/dist/components/arcgis-shadow-cast.d.ts +11 -0
- package/dist/components/arcgis-shadow-cast.js +121 -0
- package/dist/components/arcgis-sketch.d.ts +11 -0
- package/dist/components/arcgis-sketch.js +238 -0
- package/dist/components/arcgis-slice.d.ts +11 -0
- package/dist/components/arcgis-slice.js +130 -0
- package/dist/components/arcgis-slider.d.ts +11 -0
- package/dist/components/arcgis-slider.js +281 -0
- package/dist/components/arcgis-swipe.d.ts +11 -0
- package/dist/components/arcgis-swipe.js +140 -0
- package/dist/components/arcgis-table-list.d.ts +11 -0
- package/dist/components/arcgis-table-list.js +147 -0
- package/dist/components/arcgis-time-slider.d.ts +11 -0
- package/dist/components/arcgis-time-slider.js +256 -0
- package/dist/components/arcgis-track.d.ts +11 -0
- package/dist/components/arcgis-track.js +171 -0
- package/dist/components/arcgis-utility-network-trace.d.ts +11 -0
- package/dist/components/arcgis-utility-network-trace.js +197 -0
- package/dist/components/arcgis-value-picker.d.ts +11 -0
- package/dist/components/arcgis-value-picker.js +198 -0
- package/dist/components/arcgis-weather.d.ts +11 -0
- package/dist/components/arcgis-weather.js +111 -0
- package/dist/components/arcgis-zoom.d.ts +11 -0
- package/dist/components/arcgis-zoom.js +121 -0
- package/dist/components/disconnected.js +122 -0
- package/dist/components/index.d.ts +81 -0
- package/dist/components/index.js +52 -0
- package/dist/components/index2.js +638 -0
- package/dist/components/mapping-utils.js +38 -0
- package/dist/esm/arcgis-area-measurement-2d.entry.js +97 -0
- package/dist/esm/arcgis-area-measurement-3d.entry.js +90 -0
- package/dist/esm/arcgis-attachments.entry.js +69 -0
- package/dist/esm/arcgis-basemap-gallery_3.entry.js +275 -0
- package/dist/esm/arcgis-basemap-layer-list.entry.js +140 -0
- package/dist/esm/arcgis-basemap-toggle.entry.js +111 -0
- package/dist/esm/arcgis-bookmarks.entry.js +136 -0
- package/dist/esm/arcgis-building-explorer.entry.js +76 -0
- package/dist/esm/arcgis-compass.entry.js +86 -0
- package/dist/esm/arcgis-coordinate-conversion.entry.js +154 -0
- package/dist/esm/arcgis-daylight.entry.js +112 -0
- package/dist/esm/arcgis-directions.entry.js +190 -0
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +110 -0
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +102 -0
- package/dist/esm/arcgis-editor.entry.js +176 -0
- package/dist/esm/arcgis-elevation-profile.entry.js +132 -0
- package/dist/esm/arcgis-feature-form.entry.js +32 -0
- package/dist/esm/arcgis-feature-table.entry.js +296 -0
- package/dist/esm/arcgis-feature-templates.entry.js +69 -0
- package/dist/esm/arcgis-feature.entry.js +102 -0
- package/dist/esm/arcgis-features.entry.js +129 -0
- package/dist/esm/arcgis-floor-filter.entry.js +130 -0
- package/dist/esm/arcgis-fullscreen.entry.js +88 -0
- package/dist/esm/arcgis-histogram-range-slider.entry.js +76 -0
- package/dist/esm/arcgis-histogram.entry.js +32 -0
- package/dist/esm/arcgis-home.entry.js +104 -0
- package/dist/esm/arcgis-layer-list.entry.js +124 -0
- package/dist/esm/arcgis-legend.entry.js +142 -0
- package/dist/esm/arcgis-line-of-sight.entry.js +90 -0
- package/dist/esm/arcgis-locate.entry.js +154 -0
- package/dist/esm/arcgis-map-components.js +18 -0
- package/dist/esm/arcgis-measurement.entry.js +119 -0
- package/dist/esm/arcgis-navigation-toggle.entry.js +93 -0
- package/dist/esm/arcgis-print.entry.js +159 -0
- package/dist/esm/arcgis-scale-bar.entry.js +102 -0
- package/dist/esm/arcgis-scale-range-slider.entry.js +142 -0
- package/dist/esm/arcgis-scene.entry.js +102 -0
- package/dist/esm/arcgis-search.entry.js +272 -0
- package/dist/esm/arcgis-shadow-cast.entry.js +91 -0
- package/dist/esm/arcgis-sketch.entry.js +197 -0
- package/dist/esm/arcgis-slice.entry.js +99 -0
- package/dist/esm/arcgis-slider.entry.js +229 -0
- package/dist/esm/arcgis-swipe.entry.js +113 -0
- package/dist/esm/arcgis-table-list.entry.js +114 -0
- package/dist/esm/arcgis-time-slider.entry.js +212 -0
- package/dist/esm/arcgis-track.entry.js +143 -0
- package/dist/esm/arcgis-utility-network-trace.entry.js +158 -0
- package/dist/esm/arcgis-value-picker.entry.js +156 -0
- package/dist/esm/arcgis-weather.entry.js +82 -0
- package/dist/esm/arcgis-zoom.entry.js +96 -0
- package/dist/esm/component-utils-d3552de2.js +73 -0
- package/dist/esm/disconnected-bc5fc8bc.js +52 -0
- package/dist/esm/index-ad26b6d0.js +638 -0
- package/dist/esm/index-eb3ead33.js +1579 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +18 -0
- package/dist/esm/mapping-utils-26beb904.js +38 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +21 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +11 -0
- package/dist/types/components/arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts +27 -0
- package/dist/types/components/arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts +26 -0
- package/dist/types/components/arcgis-attachments/arcgis-attachments.d.ts +22 -0
- package/dist/types/components/arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts +27 -0
- package/dist/types/components/arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts +35 -0
- package/dist/types/components/arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts +29 -0
- package/dist/types/components/arcgis-bookmarks/arcgis-bookmarks.d.ts +36 -0
- package/dist/types/components/arcgis-building-explorer/arcgis-building-explorer.d.ts +23 -0
- package/dist/types/components/arcgis-compass/arcgis-compass.d.ts +22 -0
- package/dist/types/components/arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts +43 -0
- package/dist/types/components/arcgis-daylight/arcgis-daylight.d.ts +30 -0
- package/dist/types/components/arcgis-directions/arcgis-directions.d.ts +44 -0
- package/dist/types/components/arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts +30 -0
- package/dist/types/components/arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts +28 -0
- package/dist/types/components/arcgis-editor/arcgis-editor.d.ts +45 -0
- package/dist/types/components/arcgis-elevation-profile/arcgis-elevation-profile.d.ts +34 -0
- package/dist/types/components/arcgis-expand/arcgis-expand.d.ts +21 -0
- package/dist/types/components/arcgis-feature/arcgis-feature.d.ts +28 -0
- package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +16 -0
- package/dist/types/components/arcgis-feature-table/arcgis-feature-table.d.ts +72 -0
- package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +22 -0
- package/dist/types/components/arcgis-features/arcgis-features.d.ts +35 -0
- package/dist/types/components/arcgis-floor-filter/arcgis-floor-filter.d.ts +33 -0
- package/dist/types/components/arcgis-fullscreen/arcgis-fullscreen.d.ts +23 -0
- package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +16 -0
- package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +23 -0
- package/dist/types/components/arcgis-home/arcgis-home.d.ts +27 -0
- package/dist/types/components/arcgis-layer-list/arcgis-layer-list.d.ts +35 -0
- package/dist/types/components/arcgis-legend/arcgis-legend.d.ts +36 -0
- package/dist/types/components/arcgis-line-of-sight/arcgis-line-of-sight.d.ts +26 -0
- package/dist/types/components/arcgis-locate/arcgis-locate.d.ts +38 -0
- package/dist/types/components/arcgis-map/arcgis-map.d.ts +22 -0
- package/dist/types/components/arcgis-measurement/arcgis-measurement.d.ts +33 -0
- package/dist/types/components/arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts +24 -0
- package/dist/types/components/arcgis-print/arcgis-print.d.ts +45 -0
- package/dist/types/components/arcgis-scale-bar/arcgis-scale-bar.d.ts +28 -0
- package/dist/types/components/arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts +38 -0
- package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +21 -0
- package/dist/types/components/arcgis-search/arcgis-search.d.ts +80 -0
- package/dist/types/components/arcgis-shadow-cast/arcgis-shadow-cast.d.ts +26 -0
- package/dist/types/components/arcgis-sketch/arcgis-sketch.d.ts +51 -0
- package/dist/types/components/arcgis-slice/arcgis-slice.d.ts +28 -0
- package/dist/types/components/arcgis-slider/arcgis-slider.d.ts +69 -0
- package/dist/types/components/arcgis-swipe/arcgis-swipe.d.ts +31 -0
- package/dist/types/components/arcgis-table-list/arcgis-table-list.d.ts +33 -0
- package/dist/types/components/arcgis-time-slider/arcgis-time-slider.d.ts +52 -0
- package/dist/types/components/arcgis-track/arcgis-track.d.ts +36 -0
- package/dist/types/components/arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts +46 -0
- package/dist/types/components/arcgis-value-picker/arcgis-value-picker.d.ts +46 -0
- package/dist/types/components/arcgis-weather/arcgis-weather.d.ts +24 -0
- package/dist/types/components/arcgis-zoom/arcgis-zoom.d.ts +25 -0
- package/dist/types/components/types.d.ts +20 -0
- package/dist/types/components.d.ts +2053 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1637 -0
- package/dist/types/utils/component-utils.d.ts +22 -0
- package/dist/types/utils/disconnected.d.ts +2 -0
- package/dist/types/utils/expandable.d.ts +6 -0
- package/dist/types/utils/mapping-utils.d.ts +2 -0
- package/package.json +86 -0
- package/readme.md +17 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
|
|
2
|
+
import { O as newWidgetsScaleBar } from './index-ad26b6d0.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 arcgisScaleBarCss = "arcgis-scale-bar{}";
|
|
7
|
+
|
|
8
|
+
const ArcgisScaleBar = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
+
this.referenceElement = undefined;
|
|
13
|
+
this.view = undefined;
|
|
14
|
+
this.position = "bottom-left";
|
|
15
|
+
this.expandable = false;
|
|
16
|
+
this.barStyle = undefined;
|
|
17
|
+
this.unit = undefined;
|
|
18
|
+
this.widget = undefined;
|
|
19
|
+
}
|
|
20
|
+
//--------------------------------------------------------------------------
|
|
21
|
+
//
|
|
22
|
+
// Watchers
|
|
23
|
+
//
|
|
24
|
+
//--------------------------------------------------------------------------
|
|
25
|
+
positionWatcher(newValue) {
|
|
26
|
+
if (newValue !== undefined && this.widget) {
|
|
27
|
+
if (typeof this.view !== "string") {
|
|
28
|
+
this.view.ui.move(this.childElem, newValue);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
referenceElementWatcher(newValue) {
|
|
33
|
+
referenceElementHelper(this, newValue);
|
|
34
|
+
}
|
|
35
|
+
viewWatcher(newValue) {
|
|
36
|
+
if (newValue !== undefined && this.widget) {
|
|
37
|
+
this.widget.view = newValue;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
styleWatcher(newValue) {
|
|
41
|
+
if (newValue !== undefined && this.widget) {
|
|
42
|
+
this.widget.style = newValue;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
unitWatcher(newValue) {
|
|
46
|
+
if (newValue !== undefined && this.widget) {
|
|
47
|
+
this.widget.unit = newValue;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
//--------------------------------------------------------------------------
|
|
51
|
+
//
|
|
52
|
+
// Lifecycle
|
|
53
|
+
//
|
|
54
|
+
//--------------------------------------------------------------------------
|
|
55
|
+
async componentDidLoad() {
|
|
56
|
+
const params = this._createParams();
|
|
57
|
+
const widget = await newWidgetsScaleBar(params);
|
|
58
|
+
this.widget = widget;
|
|
59
|
+
this.widgetReady.emit(true);
|
|
60
|
+
checkForView(this);
|
|
61
|
+
}
|
|
62
|
+
disconnectedCallback() {
|
|
63
|
+
onDisconnectedHelper(this);
|
|
64
|
+
}
|
|
65
|
+
render() {
|
|
66
|
+
if (this.expandable) {
|
|
67
|
+
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
68
|
+
}
|
|
69
|
+
return h("div", { ref: (el) => (this.childElem = el) });
|
|
70
|
+
}
|
|
71
|
+
//--------------------------------------------------------------------------
|
|
72
|
+
//
|
|
73
|
+
// Private Methods
|
|
74
|
+
//
|
|
75
|
+
//--------------------------------------------------------------------------
|
|
76
|
+
_createParams() {
|
|
77
|
+
const params = {
|
|
78
|
+
container: this.childElem
|
|
79
|
+
};
|
|
80
|
+
if (this.unit) {
|
|
81
|
+
params.unit = this.unit;
|
|
82
|
+
}
|
|
83
|
+
if (this.barStyle) {
|
|
84
|
+
params.style = this.barStyle;
|
|
85
|
+
}
|
|
86
|
+
if (this.view) {
|
|
87
|
+
params.view = this.view;
|
|
88
|
+
}
|
|
89
|
+
return params;
|
|
90
|
+
}
|
|
91
|
+
get el() { return getElement(this); }
|
|
92
|
+
static get watchers() { return {
|
|
93
|
+
"position": ["positionWatcher"],
|
|
94
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
95
|
+
"view": ["viewWatcher"],
|
|
96
|
+
"barStyle": ["styleWatcher"],
|
|
97
|
+
"unit": ["unitWatcher"]
|
|
98
|
+
}; }
|
|
99
|
+
};
|
|
100
|
+
ArcgisScaleBar.style = arcgisScaleBarCss;
|
|
101
|
+
|
|
102
|
+
export { ArcgisScaleBar as arcgis_scale_bar };
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
|
|
2
|
+
import { P as newWidgetsScaleRangeSlider } from './index-ad26b6d0.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 arcgisScaleRangeSliderCss = "arcgis-scale-range-slider{}";
|
|
7
|
+
|
|
8
|
+
const ArcgisScaleRangeSlider = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
+
this.referenceElement = undefined;
|
|
13
|
+
this.view = undefined;
|
|
14
|
+
this.position = "bottom-left";
|
|
15
|
+
this.expandable = false;
|
|
16
|
+
this.widget = undefined;
|
|
17
|
+
this.layer = undefined;
|
|
18
|
+
this.maxScale = undefined;
|
|
19
|
+
this.maxScaleLimit = undefined;
|
|
20
|
+
this.minScale = undefined;
|
|
21
|
+
this.minScaleLimit = undefined;
|
|
22
|
+
this.region = 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
|
+
maxScaleWatcher(newValue) {
|
|
37
|
+
if (newValue !== undefined && this.widget) {
|
|
38
|
+
this.widget.maxScale = newValue;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
minScaleWatcher(newValue) {
|
|
42
|
+
if (newValue !== undefined && this.widget) {
|
|
43
|
+
this.widget.minScale = newValue;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
maxScaleLimitWatcher(newValue) {
|
|
47
|
+
if (newValue !== undefined && this.widget) {
|
|
48
|
+
this.widget.maxScaleLimit = newValue;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
minScaleLimitWatcher(newValue) {
|
|
52
|
+
if (newValue !== undefined && this.widget) {
|
|
53
|
+
this.widget.minScaleLimit = newValue;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
layerWatcher(newValue) {
|
|
57
|
+
if (newValue !== undefined && this.widget) {
|
|
58
|
+
this.widget.layer = newValue;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
regionWatcher(newValue) {
|
|
62
|
+
if (newValue !== undefined && this.widget) {
|
|
63
|
+
this.widget.region = 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 newWidgetsScaleRangeSlider(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.layer) {
|
|
105
|
+
params.layer = this.layer;
|
|
106
|
+
}
|
|
107
|
+
if (this.maxScale !== undefined) {
|
|
108
|
+
params.maxScale = this.maxScale;
|
|
109
|
+
}
|
|
110
|
+
if (this.minScale !== undefined) {
|
|
111
|
+
params.minScale = this.minScale;
|
|
112
|
+
}
|
|
113
|
+
if (this.maxScaleLimit !== undefined) {
|
|
114
|
+
params.maxScaleLimit = this.maxScaleLimit;
|
|
115
|
+
}
|
|
116
|
+
if (this.minScaleLimit !== undefined) {
|
|
117
|
+
params.minScaleLimit = this.minScaleLimit;
|
|
118
|
+
}
|
|
119
|
+
if (this.region !== undefined) {
|
|
120
|
+
params.region = this.region;
|
|
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
|
+
"maxScale": ["maxScaleWatcher"],
|
|
131
|
+
"minScale": ["minScaleWatcher"],
|
|
132
|
+
"maxScaleLimit": ["maxScaleLimitWatcher"],
|
|
133
|
+
"minScaleLimit": ["minScaleLimitWatcher"],
|
|
134
|
+
"layer": ["layerWatcher"],
|
|
135
|
+
"region": ["regionWatcher"],
|
|
136
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
137
|
+
"view": ["viewWatcher"]
|
|
138
|
+
}; }
|
|
139
|
+
};
|
|
140
|
+
ArcgisScaleRangeSlider.style = arcgisScaleRangeSliderCss;
|
|
141
|
+
|
|
142
|
+
export { ArcgisScaleRangeSlider as arcgis_scale_range_slider };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
|
|
2
|
+
import { b as importConfig, Q as newWebScene, R as newViewsSceneView, i as importCoreReactiveUtils } from './index-ad26b6d0.js';
|
|
3
|
+
import { d as disableNavigation } from './mapping-utils-26beb904.js';
|
|
4
|
+
|
|
5
|
+
const arcgisSceneCss = ".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";
|
|
6
|
+
|
|
7
|
+
const ArcgisScene = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.viewReady = createEvent(this, "viewReady", 7);
|
|
11
|
+
this.apiKey = undefined;
|
|
12
|
+
this.itemId = undefined;
|
|
13
|
+
this.zoom = undefined;
|
|
14
|
+
this.center = undefined;
|
|
15
|
+
this.view = undefined;
|
|
16
|
+
this.disableNavigation = false;
|
|
17
|
+
}
|
|
18
|
+
//--------------------------------------------------------------------------
|
|
19
|
+
//
|
|
20
|
+
// Watchers
|
|
21
|
+
//
|
|
22
|
+
//--------------------------------------------------------------------------
|
|
23
|
+
apiKeyWatcher(value) {
|
|
24
|
+
this.config.apiKey = value;
|
|
25
|
+
}
|
|
26
|
+
itemIdWatcher(value, old) {
|
|
27
|
+
if (value && value !== old) {
|
|
28
|
+
this.loadMap();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//--------------------------------------------------------------------------
|
|
32
|
+
//
|
|
33
|
+
// Lifecycle
|
|
34
|
+
//
|
|
35
|
+
//--------------------------------------------------------------------------
|
|
36
|
+
async componentWillLoad() {
|
|
37
|
+
this.config = await importConfig();
|
|
38
|
+
if (this.apiKey) {
|
|
39
|
+
this.config.apiKey = this.apiKey;
|
|
40
|
+
}
|
|
41
|
+
if (this.itemId) {
|
|
42
|
+
this.loadMap();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
componentDidRender() {
|
|
46
|
+
if (this.view) {
|
|
47
|
+
this.view.container = this.el;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
return h("div", { class: "arcgis-scene", ref: (el) => (this.el = el) });
|
|
52
|
+
}
|
|
53
|
+
//--------------------------------------------------------------------------
|
|
54
|
+
//
|
|
55
|
+
// Private Methods
|
|
56
|
+
//
|
|
57
|
+
//--------------------------------------------------------------------------
|
|
58
|
+
async loadMap() {
|
|
59
|
+
const mapParams = {};
|
|
60
|
+
if (this.itemId) {
|
|
61
|
+
mapParams.portalItem = {
|
|
62
|
+
id: this.itemId
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
const map = await newWebScene(mapParams);
|
|
66
|
+
const params = {};
|
|
67
|
+
if (this.zoom) {
|
|
68
|
+
params.zoom = this.zoom;
|
|
69
|
+
}
|
|
70
|
+
if (this.center) {
|
|
71
|
+
if (typeof this.center === "string") {
|
|
72
|
+
params.center = this.center.split(",").map((x) => Number(x));
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
params.center = this.center;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
const view = await newViewsSceneView({
|
|
79
|
+
map,
|
|
80
|
+
...params
|
|
81
|
+
});
|
|
82
|
+
const { watch } = await importCoreReactiveUtils();
|
|
83
|
+
this.view = view;
|
|
84
|
+
watch(() => this.view.center, (center) => {
|
|
85
|
+
const value = `${center.longitude},${center.latitude}`;
|
|
86
|
+
this.center = value;
|
|
87
|
+
});
|
|
88
|
+
watch(() => this.view.zoom, (value) => (this.zoom = value));
|
|
89
|
+
if (this.disableNavigation) {
|
|
90
|
+
disableNavigation(this.view);
|
|
91
|
+
}
|
|
92
|
+
this.viewReady.emit(true);
|
|
93
|
+
}
|
|
94
|
+
get hostElem() { return getElement(this); }
|
|
95
|
+
static get watchers() { return {
|
|
96
|
+
"apiKey": ["apiKeyWatcher"],
|
|
97
|
+
"itemId": ["itemIdWatcher"]
|
|
98
|
+
}; }
|
|
99
|
+
};
|
|
100
|
+
ArcgisScene.style = arcgisSceneCss;
|
|
101
|
+
|
|
102
|
+
export { ArcgisScene as arcgis_scene };
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
|
|
2
|
+
import { S as newWidgetsSearch, i as importCoreReactiveUtils } from './index-ad26b6d0.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 arcgisSearchCss = "";
|
|
7
|
+
|
|
8
|
+
const ArcgisSearch = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
+
this.searchBlur = createEvent(this, "searchBlur", 7);
|
|
13
|
+
this.searchClear = createEvent(this, "searchClear", 7);
|
|
14
|
+
this.searchComplete = createEvent(this, "searchComplete", 7);
|
|
15
|
+
this.searchFocus = createEvent(this, "searchFocus", 7);
|
|
16
|
+
this.searchStart = createEvent(this, "searchStart", 7);
|
|
17
|
+
this.selectResult = createEvent(this, "selectResult", 7);
|
|
18
|
+
this.suggestComplete = createEvent(this, "suggestComplete", 7);
|
|
19
|
+
this.suggestStart = createEvent(this, "suggestStart", 7);
|
|
20
|
+
this.referenceElement = undefined;
|
|
21
|
+
this.activeMenu = undefined;
|
|
22
|
+
this.activeSource = undefined;
|
|
23
|
+
this.activeSourceIndex = undefined;
|
|
24
|
+
this.allPlaceholder = undefined;
|
|
25
|
+
this.allSources = undefined;
|
|
26
|
+
this.autoSelect = undefined;
|
|
27
|
+
this.defaultSources = undefined;
|
|
28
|
+
this.includeDefaultSources = undefined;
|
|
29
|
+
this.locationEnabled = undefined;
|
|
30
|
+
this.maxResults = undefined;
|
|
31
|
+
this.maxSuggestions = undefined;
|
|
32
|
+
this.minSuggestCharacters = undefined;
|
|
33
|
+
this.popupEnabled = undefined;
|
|
34
|
+
this.popupTemplate = undefined;
|
|
35
|
+
this.portal = undefined;
|
|
36
|
+
this.resultGraphic = undefined;
|
|
37
|
+
this.resultGraphicEnabled = undefined;
|
|
38
|
+
this.results = undefined;
|
|
39
|
+
this.searchAllEnabled = undefined;
|
|
40
|
+
this.searchTerm = undefined;
|
|
41
|
+
this.selectedResult = undefined;
|
|
42
|
+
this.sources = undefined;
|
|
43
|
+
this.suggestions = undefined;
|
|
44
|
+
this.suggestionsEnabled = undefined;
|
|
45
|
+
this.position = "top-right";
|
|
46
|
+
this.expandable = false;
|
|
47
|
+
this.view = undefined;
|
|
48
|
+
this.widget = undefined;
|
|
49
|
+
}
|
|
50
|
+
//--------------------------------------------------------------------------
|
|
51
|
+
//
|
|
52
|
+
// Watchers
|
|
53
|
+
//
|
|
54
|
+
//--------------------------------------------------------------------------
|
|
55
|
+
positionWatcher(newValue) {
|
|
56
|
+
if (newValue !== undefined && this.widget) {
|
|
57
|
+
if (typeof this.view !== "string") {
|
|
58
|
+
this.view.ui.move(this.childElem, newValue);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
activeMenuWatcher(newValue) {
|
|
63
|
+
if (newValue !== undefined && this.widget) {
|
|
64
|
+
this.widget.activeMenu = newValue;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
activeSourceIndexWatcher(newValue) {
|
|
68
|
+
if (newValue !== undefined && this.widget) {
|
|
69
|
+
this.widget.activeSourceIndex = newValue;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
allPlaceholderWatcher(newValue) {
|
|
73
|
+
if (newValue !== undefined && this.widget) {
|
|
74
|
+
this.widget.allPlaceholder = newValue;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
autoSelectWatcher(newValue) {
|
|
78
|
+
if (newValue !== undefined && this.widget) {
|
|
79
|
+
this.widget.autoSelect = newValue;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
includeDefaultSourcesWatcher(newValue) {
|
|
83
|
+
if (newValue !== undefined && this.widget) {
|
|
84
|
+
this.widget.includeDefaultSources = newValue;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
locationEnabledWatcher(newValue) {
|
|
88
|
+
if (newValue !== undefined && this.widget) {
|
|
89
|
+
this.widget.locationEnabled = newValue;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
maxResultsWatcher(newValue) {
|
|
93
|
+
if (newValue !== undefined && this.widget) {
|
|
94
|
+
this.widget.maxResults = newValue;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
maxSuggestionsWatcher(newValue) {
|
|
98
|
+
if (newValue !== undefined && this.widget) {
|
|
99
|
+
this.widget.maxSuggestions = newValue;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
minSuggestCharactersWatcher(newValue) {
|
|
103
|
+
if (newValue !== undefined && this.widget) {
|
|
104
|
+
this.widget.minSuggestCharacters = newValue;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
popupEnabledWatcher(newValue) {
|
|
108
|
+
if (newValue !== undefined && this.widget) {
|
|
109
|
+
this.widget.popupEnabled = newValue;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
popupTemplateWatcher(newValue) {
|
|
113
|
+
if (newValue !== undefined && this.widget) {
|
|
114
|
+
this.widget.popupTemplate = newValue;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
portalWatcher(newValue) {
|
|
118
|
+
if (newValue !== undefined && this.widget) {
|
|
119
|
+
this.widget.portal = newValue;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
resultGraphicEnabledWatcher(newValue) {
|
|
123
|
+
if (newValue !== undefined && this.widget) {
|
|
124
|
+
this.widget.resultGraphicEnabled = newValue;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
searchAllEnabledWatcher(newValue) {
|
|
128
|
+
if (newValue !== undefined && this.widget) {
|
|
129
|
+
this.widget.searchAllEnabled = newValue;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
searchTermWatcher(newValue) {
|
|
133
|
+
if (newValue !== undefined && this.widget) {
|
|
134
|
+
this.widget.searchTerm = newValue;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
sourcesWatcher(newValue) {
|
|
138
|
+
if (newValue !== undefined && this.widget) {
|
|
139
|
+
this.widget.sources = newValue;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
suggestionsEnabledWatcher(newValue) {
|
|
143
|
+
if (newValue !== undefined && this.widget) {
|
|
144
|
+
this.widget.suggestionsEnabled = newValue;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
referenceElementWatcher(newValue) {
|
|
148
|
+
referenceElementHelper(this, newValue);
|
|
149
|
+
}
|
|
150
|
+
viewWatcher(newValue) {
|
|
151
|
+
if (newValue !== undefined && this.widget) {
|
|
152
|
+
this.widget.view = newValue;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
//--------------------------------------------------------------------------
|
|
156
|
+
//
|
|
157
|
+
// Methods
|
|
158
|
+
//
|
|
159
|
+
//--------------------------------------------------------------------------
|
|
160
|
+
async blurSearch() {
|
|
161
|
+
return this.widget?.blur();
|
|
162
|
+
}
|
|
163
|
+
async clearSearch() {
|
|
164
|
+
return this.widget?.clear();
|
|
165
|
+
}
|
|
166
|
+
async focusSearch() {
|
|
167
|
+
return this.widget?.focus();
|
|
168
|
+
}
|
|
169
|
+
async search(term) {
|
|
170
|
+
return this.widget?.search(term);
|
|
171
|
+
}
|
|
172
|
+
async suggest(term) {
|
|
173
|
+
return this.widget?.suggest(term);
|
|
174
|
+
}
|
|
175
|
+
//--------------------------------------------------------------------------
|
|
176
|
+
//
|
|
177
|
+
// Lifecycle
|
|
178
|
+
//
|
|
179
|
+
//--------------------------------------------------------------------------
|
|
180
|
+
async componentDidLoad() {
|
|
181
|
+
const params = this._createParams();
|
|
182
|
+
const widget = await newWidgetsSearch(params);
|
|
183
|
+
this.widget = widget;
|
|
184
|
+
await this._addWatchers();
|
|
185
|
+
this._proxyEvents();
|
|
186
|
+
this.widgetReady.emit(true);
|
|
187
|
+
checkForView(this);
|
|
188
|
+
}
|
|
189
|
+
disconnectedCallback() {
|
|
190
|
+
onDisconnectedHelper(this);
|
|
191
|
+
}
|
|
192
|
+
render() {
|
|
193
|
+
if (this.expandable) {
|
|
194
|
+
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
195
|
+
}
|
|
196
|
+
return h("div", { ref: (el) => (this.childElem = el) });
|
|
197
|
+
}
|
|
198
|
+
//--------------------------------------------------------------------------
|
|
199
|
+
//
|
|
200
|
+
// Private Interal Methods
|
|
201
|
+
//
|
|
202
|
+
//--------------------------------------------------------------------------
|
|
203
|
+
async _addWatchers() {
|
|
204
|
+
const { watch } = await importCoreReactiveUtils();
|
|
205
|
+
watch(() => this.widget.activeSource, (value) => (this.activeSource = value), {
|
|
206
|
+
initial: true
|
|
207
|
+
});
|
|
208
|
+
watch(() => this.widget.activeSourceIndex, (value) => (this.activeSourceIndex = value), {
|
|
209
|
+
initial: true
|
|
210
|
+
});
|
|
211
|
+
watch(() => this.widget.allSources, (value) => (this.allSources = value), {
|
|
212
|
+
initial: true
|
|
213
|
+
});
|
|
214
|
+
watch(() => this.widget.defaultSources, (value) => (this.defaultSources = value), {
|
|
215
|
+
initial: true
|
|
216
|
+
});
|
|
217
|
+
watch(() => this.widget.resultGraphic, (value) => (this.resultGraphic = value), {
|
|
218
|
+
initial: true
|
|
219
|
+
});
|
|
220
|
+
watch(() => this.widget.results, (value) => (this.results = value), {
|
|
221
|
+
initial: true
|
|
222
|
+
});
|
|
223
|
+
watch(() => this.widget.selectedResult, (value) => (this.selectedResult = value), {
|
|
224
|
+
initial: true
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
_createParams() {
|
|
228
|
+
const params = {
|
|
229
|
+
container: this.childElem
|
|
230
|
+
};
|
|
231
|
+
if (this.view) {
|
|
232
|
+
params.view = this.view;
|
|
233
|
+
}
|
|
234
|
+
return params;
|
|
235
|
+
}
|
|
236
|
+
_proxyEvents() {
|
|
237
|
+
this.widget.on("search-blur", (e) => this.searchBlur.emit(e));
|
|
238
|
+
this.widget.on("search-clear", (e) => this.searchClear.emit(e));
|
|
239
|
+
this.widget.on("search-complete", (e) => this.searchComplete.emit(e));
|
|
240
|
+
this.widget.on("search-focus", (e) => this.searchFocus.emit(e));
|
|
241
|
+
this.widget.on("search-start", (e) => this.searchStart.emit(e));
|
|
242
|
+
this.widget.on("select-result", (e) => this.selectResult.emit(e));
|
|
243
|
+
this.widget.on("suggest-complete", (e) => this.suggestComplete.emit(e));
|
|
244
|
+
this.widget.on("suggest-start", (e) => this.suggestStart.emit(e));
|
|
245
|
+
}
|
|
246
|
+
get el() { return getElement(this); }
|
|
247
|
+
static get watchers() { return {
|
|
248
|
+
"position": ["positionWatcher"],
|
|
249
|
+
"activeMenu": ["activeMenuWatcher"],
|
|
250
|
+
"activeSourceIndex": ["activeSourceIndexWatcher"],
|
|
251
|
+
"allPlaceholder": ["allPlaceholderWatcher"],
|
|
252
|
+
"autoSelect": ["autoSelectWatcher"],
|
|
253
|
+
"includeDefaultSources": ["includeDefaultSourcesWatcher"],
|
|
254
|
+
"locationEnabled": ["locationEnabledWatcher"],
|
|
255
|
+
"maxResults": ["maxResultsWatcher"],
|
|
256
|
+
"maxSuggestions": ["maxSuggestionsWatcher"],
|
|
257
|
+
"minSuggestCharacters": ["minSuggestCharactersWatcher"],
|
|
258
|
+
"popupEnabled": ["popupEnabledWatcher"],
|
|
259
|
+
"popupTemplate": ["popupTemplateWatcher"],
|
|
260
|
+
"portal": ["portalWatcher"],
|
|
261
|
+
"resultGraphicEnabled": ["resultGraphicEnabledWatcher"],
|
|
262
|
+
"searchAllEnabled": ["searchAllEnabledWatcher"],
|
|
263
|
+
"searchTerm": ["searchTermWatcher"],
|
|
264
|
+
"sources": ["sourcesWatcher"],
|
|
265
|
+
"suggestionsEnabled": ["suggestionsEnabledWatcher"],
|
|
266
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
267
|
+
"view": ["viewWatcher"]
|
|
268
|
+
}; }
|
|
269
|
+
};
|
|
270
|
+
ArcgisSearch.style = arcgisSearchCss;
|
|
271
|
+
|
|
272
|
+
export { ArcgisSearch as arcgis_search };
|