@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,140 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { X as newWidgetsSwipe } from './index2.js';
|
|
3
|
+
import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
|
|
4
|
+
|
|
5
|
+
const arcgisSwipeCss = "arcgis-swipe{}";
|
|
6
|
+
|
|
7
|
+
const ArcgisSwipe$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
+
this.referenceElement = undefined;
|
|
13
|
+
this.direction = undefined;
|
|
14
|
+
this.dragLabel = undefined;
|
|
15
|
+
this.leadingLayers = undefined;
|
|
16
|
+
this.swipePosition = undefined;
|
|
17
|
+
this.trailingLayers = undefined;
|
|
18
|
+
this.view = undefined;
|
|
19
|
+
this.position = "bottom-left";
|
|
20
|
+
this.widget = undefined;
|
|
21
|
+
}
|
|
22
|
+
//--------------------------------------------------------------------------
|
|
23
|
+
//
|
|
24
|
+
// Watchers
|
|
25
|
+
//
|
|
26
|
+
//--------------------------------------------------------------------------
|
|
27
|
+
directionWatcher(newValue) {
|
|
28
|
+
if (newValue !== undefined && this.widget) {
|
|
29
|
+
this.widget.direction = newValue;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
dragLabelWatcher(newValue) {
|
|
33
|
+
if (newValue !== undefined && this.widget) {
|
|
34
|
+
this.widget.dragLabel = newValue;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
leadingLayersWatcher(newValue) {
|
|
38
|
+
if (newValue !== undefined && this.widget) {
|
|
39
|
+
this.widget.leadingLayers = newValue;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
swipePositionWatcher(newValue) {
|
|
43
|
+
if (newValue !== undefined && this.widget) {
|
|
44
|
+
this.widget.position = newValue;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
trailingLayersWatcher(newValue) {
|
|
48
|
+
if (newValue !== undefined && this.widget) {
|
|
49
|
+
this.widget.trailingLayers = newValue;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
positionWatcher(newValue) {
|
|
53
|
+
if (newValue !== undefined && this.widget) {
|
|
54
|
+
if (typeof this.view !== "string") {
|
|
55
|
+
this.view.ui.move(this.childElem, newValue);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
referenceElementWatcher(newValue) {
|
|
60
|
+
referenceElementHelper(this, newValue);
|
|
61
|
+
}
|
|
62
|
+
viewWatcher(newValue) {
|
|
63
|
+
if (newValue !== undefined && this.widget) {
|
|
64
|
+
this.widget.view = newValue;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
//--------------------------------------------------------------------------
|
|
68
|
+
//
|
|
69
|
+
// Lifecycle
|
|
70
|
+
//
|
|
71
|
+
//--------------------------------------------------------------------------
|
|
72
|
+
async componentDidLoad() {
|
|
73
|
+
const params = this._createParams();
|
|
74
|
+
const widget = await newWidgetsSwipe(params);
|
|
75
|
+
this.widget = widget;
|
|
76
|
+
this.widgetReady.emit(true);
|
|
77
|
+
checkForView(this);
|
|
78
|
+
}
|
|
79
|
+
disconnectedCallback() {
|
|
80
|
+
onDisconnectedHelper(this);
|
|
81
|
+
}
|
|
82
|
+
render() {
|
|
83
|
+
return h("div", { ref: (el) => (this.childElem = el) });
|
|
84
|
+
}
|
|
85
|
+
//--------------------------------------------------------------------------
|
|
86
|
+
//
|
|
87
|
+
// Private Methods
|
|
88
|
+
//
|
|
89
|
+
//--------------------------------------------------------------------------
|
|
90
|
+
_createParams() {
|
|
91
|
+
const params = {
|
|
92
|
+
container: this.childElem
|
|
93
|
+
};
|
|
94
|
+
if (this.view) {
|
|
95
|
+
params.view = this.view;
|
|
96
|
+
}
|
|
97
|
+
return params;
|
|
98
|
+
}
|
|
99
|
+
get el() { return this; }
|
|
100
|
+
static get watchers() { return {
|
|
101
|
+
"direction": ["directionWatcher"],
|
|
102
|
+
"dragLabel": ["dragLabelWatcher"],
|
|
103
|
+
"leadingLayers": ["leadingLayersWatcher"],
|
|
104
|
+
"swipePosition": ["swipePositionWatcher"],
|
|
105
|
+
"trailingLayers": ["trailingLayersWatcher"],
|
|
106
|
+
"position": ["positionWatcher"],
|
|
107
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
108
|
+
"view": ["viewWatcher"]
|
|
109
|
+
}; }
|
|
110
|
+
static get style() { return arcgisSwipeCss; }
|
|
111
|
+
}, [0, "arcgis-swipe", {
|
|
112
|
+
"referenceElement": [1, "reference-element"],
|
|
113
|
+
"direction": [1],
|
|
114
|
+
"dragLabel": [1, "drag-label"],
|
|
115
|
+
"leadingLayers": [16],
|
|
116
|
+
"swipePosition": [2, "swipe-position"],
|
|
117
|
+
"trailingLayers": [16],
|
|
118
|
+
"view": [16],
|
|
119
|
+
"position": [1],
|
|
120
|
+
"widget": [1040]
|
|
121
|
+
}]);
|
|
122
|
+
function defineCustomElement$1() {
|
|
123
|
+
if (typeof customElements === "undefined") {
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
const components = ["arcgis-swipe"];
|
|
127
|
+
components.forEach(tagName => { switch (tagName) {
|
|
128
|
+
case "arcgis-swipe":
|
|
129
|
+
if (!customElements.get(tagName)) {
|
|
130
|
+
customElements.define(tagName, ArcgisSwipe$1);
|
|
131
|
+
}
|
|
132
|
+
break;
|
|
133
|
+
} });
|
|
134
|
+
}
|
|
135
|
+
defineCustomElement$1();
|
|
136
|
+
|
|
137
|
+
const ArcgisSwipe = ArcgisSwipe$1;
|
|
138
|
+
const defineCustomElement = defineCustomElement$1;
|
|
139
|
+
|
|
140
|
+
export { ArcgisSwipe, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface ArcgisTableList extends Components.ArcgisTableList, HTMLElement {}
|
|
4
|
+
export const ArcgisTableList: {
|
|
5
|
+
prototype: ArcgisTableList;
|
|
6
|
+
new (): ArcgisTableList;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { Y as newWidgetsTableList, i as importCoreReactiveUtils } from './index2.js';
|
|
3
|
+
import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './arcgis-expand2.js';
|
|
5
|
+
|
|
6
|
+
const arcgisTableListCss = "arcgis-table-list{}";
|
|
7
|
+
|
|
8
|
+
const ArcgisTableList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.triggerAction = createEvent(this, "triggerAction", 7);
|
|
13
|
+
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
14
|
+
this.referenceElement = undefined;
|
|
15
|
+
this.multipleSelectionEnabled = false;
|
|
16
|
+
this.selectionEnabled = true;
|
|
17
|
+
this.selectedItems = undefined;
|
|
18
|
+
this.tableItems = undefined;
|
|
19
|
+
this.view = undefined;
|
|
20
|
+
this.position = "bottom-left";
|
|
21
|
+
this.expandable = false;
|
|
22
|
+
this.widget = undefined;
|
|
23
|
+
}
|
|
24
|
+
//--------------------------------------------------------------------------
|
|
25
|
+
//
|
|
26
|
+
// Watchers
|
|
27
|
+
//
|
|
28
|
+
//--------------------------------------------------------------------------
|
|
29
|
+
multipleSelectionEnabledWatcher(newValue) {
|
|
30
|
+
if (newValue !== undefined && this.widget) {
|
|
31
|
+
this.widget.multipleSelectionEnabled = newValue;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
selectionEnabledWatcher(newValue) {
|
|
35
|
+
if (newValue !== undefined && this.widget) {
|
|
36
|
+
this.widget.selectionEnabled = newValue;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
positionWatcher(newValue) {
|
|
40
|
+
if (newValue !== undefined && this.widget) {
|
|
41
|
+
if (typeof this.view !== "string") {
|
|
42
|
+
this.view.ui.move(this.childElem, newValue);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
referenceElementWatcher(newValue) {
|
|
47
|
+
referenceElementHelper(this, newValue);
|
|
48
|
+
}
|
|
49
|
+
viewWatcher(newValue) {
|
|
50
|
+
if (newValue !== undefined && this.widget) {
|
|
51
|
+
this.widget.map = newValue.map;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//--------------------------------------------------------------------------
|
|
55
|
+
//
|
|
56
|
+
// Lifecycle
|
|
57
|
+
//
|
|
58
|
+
//--------------------------------------------------------------------------
|
|
59
|
+
async componentDidLoad() {
|
|
60
|
+
const params = this._createParams();
|
|
61
|
+
const widget = await newWidgetsTableList(params);
|
|
62
|
+
this.widget = widget;
|
|
63
|
+
await this._addWatchers();
|
|
64
|
+
this.widgetReady.emit(true);
|
|
65
|
+
checkForView(this);
|
|
66
|
+
this._hookEvents(this.widget);
|
|
67
|
+
}
|
|
68
|
+
disconnectedCallback() {
|
|
69
|
+
onDisconnectedHelper(this);
|
|
70
|
+
}
|
|
71
|
+
render() {
|
|
72
|
+
if (this.expandable) {
|
|
73
|
+
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
74
|
+
}
|
|
75
|
+
return h("div", { ref: (el) => (this.childElem = el) });
|
|
76
|
+
}
|
|
77
|
+
//--------------------------------------------------------------------------
|
|
78
|
+
//
|
|
79
|
+
// Private Methods
|
|
80
|
+
//
|
|
81
|
+
//--------------------------------------------------------------------------
|
|
82
|
+
async _addWatchers() {
|
|
83
|
+
const { watch } = await importCoreReactiveUtils();
|
|
84
|
+
watch(() => this.widget.selectedItems, (value) => (this.selectedItems = value));
|
|
85
|
+
watch(() => this.widget.tableItems, (value) => (this.tableItems = value));
|
|
86
|
+
}
|
|
87
|
+
_createParams() {
|
|
88
|
+
const params = {
|
|
89
|
+
container: this.childElem,
|
|
90
|
+
multipleSelectionEnabled: this.multipleSelectionEnabled,
|
|
91
|
+
selectionEnabled: this.selectionEnabled
|
|
92
|
+
};
|
|
93
|
+
if (this.view) {
|
|
94
|
+
params.map = this.view.map;
|
|
95
|
+
}
|
|
96
|
+
return params;
|
|
97
|
+
}
|
|
98
|
+
_hookEvents(widget) {
|
|
99
|
+
const triggerHandle = widget.on("trigger-action", (e) => {
|
|
100
|
+
this.triggerAction.emit(e);
|
|
101
|
+
});
|
|
102
|
+
widget.own(triggerHandle);
|
|
103
|
+
}
|
|
104
|
+
get el() { return this; }
|
|
105
|
+
static get watchers() { return {
|
|
106
|
+
"multipleSelectionEnabled": ["multipleSelectionEnabledWatcher"],
|
|
107
|
+
"selectionEnabled": ["selectionEnabledWatcher"],
|
|
108
|
+
"position": ["positionWatcher"],
|
|
109
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
110
|
+
"view": ["viewWatcher"]
|
|
111
|
+
}; }
|
|
112
|
+
static get style() { return arcgisTableListCss; }
|
|
113
|
+
}, [0, "arcgis-table-list", {
|
|
114
|
+
"referenceElement": [1, "reference-element"],
|
|
115
|
+
"multipleSelectionEnabled": [4, "multiple-selection-enabled"],
|
|
116
|
+
"selectionEnabled": [4, "selection-enabled"],
|
|
117
|
+
"selectedItems": [1040],
|
|
118
|
+
"tableItems": [1040],
|
|
119
|
+
"view": [16],
|
|
120
|
+
"position": [1],
|
|
121
|
+
"expandable": [4],
|
|
122
|
+
"widget": [1040]
|
|
123
|
+
}]);
|
|
124
|
+
function defineCustomElement$1() {
|
|
125
|
+
if (typeof customElements === "undefined") {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
const components = ["arcgis-table-list", "arcgis-expand"];
|
|
129
|
+
components.forEach(tagName => { switch (tagName) {
|
|
130
|
+
case "arcgis-table-list":
|
|
131
|
+
if (!customElements.get(tagName)) {
|
|
132
|
+
customElements.define(tagName, ArcgisTableList$1);
|
|
133
|
+
}
|
|
134
|
+
break;
|
|
135
|
+
case "arcgis-expand":
|
|
136
|
+
if (!customElements.get(tagName)) {
|
|
137
|
+
defineCustomElement$2();
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
} });
|
|
141
|
+
}
|
|
142
|
+
defineCustomElement$1();
|
|
143
|
+
|
|
144
|
+
const ArcgisTableList = ArcgisTableList$1;
|
|
145
|
+
const defineCustomElement = defineCustomElement$1;
|
|
146
|
+
|
|
147
|
+
export { ArcgisTableList, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface ArcgisTimeSlider extends Components.ArcgisTimeSlider, HTMLElement {}
|
|
4
|
+
export const ArcgisTimeSlider: {
|
|
5
|
+
prototype: ArcgisTimeSlider;
|
|
6
|
+
new (): ArcgisTimeSlider;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { Z as newWidgetsTimeSlider, i as importCoreReactiveUtils } from './index2.js';
|
|
3
|
+
import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './arcgis-expand2.js';
|
|
5
|
+
|
|
6
|
+
const arcgisTimeSliderCss = "arcgis-time-slider{}";
|
|
7
|
+
|
|
8
|
+
const ArcgisTimeSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.triggerAction = createEvent(this, "triggerAction", 7);
|
|
13
|
+
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
14
|
+
this.referenceElement = undefined;
|
|
15
|
+
this.actions = undefined;
|
|
16
|
+
this.effectiveStops = undefined;
|
|
17
|
+
this.fullTimeExtent = undefined;
|
|
18
|
+
this.layout = undefined;
|
|
19
|
+
this.loop = undefined;
|
|
20
|
+
this.mode = undefined;
|
|
21
|
+
this.playRate = undefined;
|
|
22
|
+
this.stops = undefined;
|
|
23
|
+
this.tickConfigs = undefined;
|
|
24
|
+
this.timeExtent = undefined;
|
|
25
|
+
this.timeVisible = undefined;
|
|
26
|
+
this.view = undefined;
|
|
27
|
+
this.position = "bottom-left";
|
|
28
|
+
this.expandable = false;
|
|
29
|
+
this.widget = undefined;
|
|
30
|
+
}
|
|
31
|
+
//--------------------------------------------------------------------------
|
|
32
|
+
//
|
|
33
|
+
// Watchers
|
|
34
|
+
//
|
|
35
|
+
//--------------------------------------------------------------------------
|
|
36
|
+
actionsWatcher(newValue) {
|
|
37
|
+
if (newValue !== undefined && this.widget) {
|
|
38
|
+
this.widget.actions = newValue;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
fullTimeExtentWatcher(newValue) {
|
|
42
|
+
if (newValue !== undefined && this.widget) {
|
|
43
|
+
this.widget.fullTimeExtent = newValue;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
layoutWatcher(newValue) {
|
|
47
|
+
if (newValue !== undefined && this.widget) {
|
|
48
|
+
this.widget.layout = newValue;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
loopWatcher(newValue) {
|
|
52
|
+
if (newValue !== undefined && this.widget) {
|
|
53
|
+
this.widget.loop = newValue;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
modeWatcher(newValue) {
|
|
57
|
+
if (newValue !== undefined && this.widget) {
|
|
58
|
+
this.widget.mode = newValue;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
playRateWatcher(newValue) {
|
|
62
|
+
if (newValue !== undefined && this.widget) {
|
|
63
|
+
this.widget.playRate = newValue;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
stopsWatcher(newValue) {
|
|
67
|
+
if (newValue !== undefined && this.widget) {
|
|
68
|
+
this.widget.stops = newValue;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
tickConfigsWatcher(newValue) {
|
|
72
|
+
if (newValue !== undefined && this.widget) {
|
|
73
|
+
this.widget.tickConfigs = newValue;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
timeExtentWatcher(newValue) {
|
|
77
|
+
if (newValue !== undefined && this.widget) {
|
|
78
|
+
this.widget.timeExtent = newValue;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
timeVisibleWatcher(newValue) {
|
|
82
|
+
if (newValue !== undefined && this.widget) {
|
|
83
|
+
this.widget.timeVisible = newValue;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
positionWatcher(newValue) {
|
|
87
|
+
if (newValue !== undefined && this.widget) {
|
|
88
|
+
if (typeof this.view !== "string") {
|
|
89
|
+
this.view.ui.move(this.childElem, newValue);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
referenceElementWatcher(newValue) {
|
|
94
|
+
referenceElementHelper(this, newValue);
|
|
95
|
+
}
|
|
96
|
+
viewWatcher(newValue) {
|
|
97
|
+
if (newValue !== undefined && this.widget) {
|
|
98
|
+
this.widget.view = newValue;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
//--------------------------------------------------------------------------
|
|
102
|
+
//
|
|
103
|
+
// Methods
|
|
104
|
+
//
|
|
105
|
+
//--------------------------------------------------------------------------
|
|
106
|
+
async next() {
|
|
107
|
+
return this.widget?.next();
|
|
108
|
+
}
|
|
109
|
+
async play() {
|
|
110
|
+
return this.widget?.play();
|
|
111
|
+
}
|
|
112
|
+
async previous() {
|
|
113
|
+
return this.widget?.previous();
|
|
114
|
+
}
|
|
115
|
+
async stop() {
|
|
116
|
+
return this.widget?.stop();
|
|
117
|
+
}
|
|
118
|
+
//--------------------------------------------------------------------------
|
|
119
|
+
//
|
|
120
|
+
// Lifecycle
|
|
121
|
+
//
|
|
122
|
+
//--------------------------------------------------------------------------
|
|
123
|
+
async componentDidLoad() {
|
|
124
|
+
const params = this._createParams();
|
|
125
|
+
const widget = await newWidgetsTimeSlider(params);
|
|
126
|
+
this.widget = widget;
|
|
127
|
+
await this._addWatchers();
|
|
128
|
+
this._proxyEvents();
|
|
129
|
+
this.widgetReady.emit(true);
|
|
130
|
+
checkForView(this);
|
|
131
|
+
}
|
|
132
|
+
disconnectedCallback() {
|
|
133
|
+
onDisconnectedHelper(this);
|
|
134
|
+
}
|
|
135
|
+
render() {
|
|
136
|
+
if (this.expandable) {
|
|
137
|
+
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
138
|
+
}
|
|
139
|
+
return h("div", { ref: (el) => (this.childElem = el) });
|
|
140
|
+
}
|
|
141
|
+
//--------------------------------------------------------------------------
|
|
142
|
+
//
|
|
143
|
+
// Private Methods
|
|
144
|
+
//
|
|
145
|
+
//--------------------------------------------------------------------------
|
|
146
|
+
async _addWatchers() {
|
|
147
|
+
const { watch } = await importCoreReactiveUtils();
|
|
148
|
+
watch(() => this.widget.effectiveStops, (value) => (this.effectiveStops = value), {
|
|
149
|
+
initial: true
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
_createParams() {
|
|
153
|
+
const params = {
|
|
154
|
+
container: this.childElem
|
|
155
|
+
};
|
|
156
|
+
if (this.actions !== undefined) {
|
|
157
|
+
params.actions = this.actions;
|
|
158
|
+
}
|
|
159
|
+
if (this.fullTimeExtent !== undefined) {
|
|
160
|
+
params.fullTimeExtent = this.fullTimeExtent;
|
|
161
|
+
}
|
|
162
|
+
if (this.layout !== undefined) {
|
|
163
|
+
params.layout = this.layout;
|
|
164
|
+
}
|
|
165
|
+
if (this.loop !== undefined) {
|
|
166
|
+
params.loop = this.loop;
|
|
167
|
+
}
|
|
168
|
+
if (this.mode !== undefined) {
|
|
169
|
+
params.mode = this.mode;
|
|
170
|
+
}
|
|
171
|
+
if (this.playRate !== undefined) {
|
|
172
|
+
params.playRate = this.playRate;
|
|
173
|
+
}
|
|
174
|
+
if (this.stops !== undefined) {
|
|
175
|
+
params.stops = this.stops;
|
|
176
|
+
}
|
|
177
|
+
if (this.tickConfigs !== undefined) {
|
|
178
|
+
params.tickConfigs = this.tickConfigs;
|
|
179
|
+
}
|
|
180
|
+
if (this.timeExtent !== undefined) {
|
|
181
|
+
params.timeExtent = this.timeExtent;
|
|
182
|
+
}
|
|
183
|
+
if (this.timeVisible !== undefined) {
|
|
184
|
+
params.timeVisible = this.timeVisible;
|
|
185
|
+
}
|
|
186
|
+
if (this.view) {
|
|
187
|
+
params.view = this.view;
|
|
188
|
+
}
|
|
189
|
+
return params;
|
|
190
|
+
}
|
|
191
|
+
async _proxyEvents() {
|
|
192
|
+
this.widget?.on("trigger-action", (e) => this.triggerAction.emit(e));
|
|
193
|
+
}
|
|
194
|
+
get el() { return this; }
|
|
195
|
+
static get watchers() { return {
|
|
196
|
+
"actions": ["actionsWatcher"],
|
|
197
|
+
"fullTimeExtent": ["fullTimeExtentWatcher"],
|
|
198
|
+
"layout": ["layoutWatcher"],
|
|
199
|
+
"loop": ["loopWatcher"],
|
|
200
|
+
"mode": ["modeWatcher"],
|
|
201
|
+
"playRate": ["playRateWatcher"],
|
|
202
|
+
"stops": ["stopsWatcher"],
|
|
203
|
+
"tickConfigs": ["tickConfigsWatcher"],
|
|
204
|
+
"timeExtent": ["timeExtentWatcher"],
|
|
205
|
+
"timeVisible": ["timeVisibleWatcher"],
|
|
206
|
+
"position": ["positionWatcher"],
|
|
207
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
208
|
+
"view": ["viewWatcher"]
|
|
209
|
+
}; }
|
|
210
|
+
static get style() { return arcgisTimeSliderCss; }
|
|
211
|
+
}, [0, "arcgis-time-slider", {
|
|
212
|
+
"referenceElement": [1, "reference-element"],
|
|
213
|
+
"actions": [16],
|
|
214
|
+
"effectiveStops": [1040],
|
|
215
|
+
"fullTimeExtent": [16],
|
|
216
|
+
"layout": [1],
|
|
217
|
+
"loop": [4],
|
|
218
|
+
"mode": [1],
|
|
219
|
+
"playRate": [2, "play-rate"],
|
|
220
|
+
"stops": [16],
|
|
221
|
+
"tickConfigs": [16],
|
|
222
|
+
"timeExtent": [16],
|
|
223
|
+
"timeVisible": [4, "time-visible"],
|
|
224
|
+
"view": [16],
|
|
225
|
+
"position": [1],
|
|
226
|
+
"expandable": [4],
|
|
227
|
+
"widget": [1040],
|
|
228
|
+
"next": [64],
|
|
229
|
+
"play": [64],
|
|
230
|
+
"previous": [64],
|
|
231
|
+
"stop": [64]
|
|
232
|
+
}]);
|
|
233
|
+
function defineCustomElement$1() {
|
|
234
|
+
if (typeof customElements === "undefined") {
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
const components = ["arcgis-time-slider", "arcgis-expand"];
|
|
238
|
+
components.forEach(tagName => { switch (tagName) {
|
|
239
|
+
case "arcgis-time-slider":
|
|
240
|
+
if (!customElements.get(tagName)) {
|
|
241
|
+
customElements.define(tagName, ArcgisTimeSlider$1);
|
|
242
|
+
}
|
|
243
|
+
break;
|
|
244
|
+
case "arcgis-expand":
|
|
245
|
+
if (!customElements.get(tagName)) {
|
|
246
|
+
defineCustomElement$2();
|
|
247
|
+
}
|
|
248
|
+
break;
|
|
249
|
+
} });
|
|
250
|
+
}
|
|
251
|
+
defineCustomElement$1();
|
|
252
|
+
|
|
253
|
+
const ArcgisTimeSlider = ArcgisTimeSlider$1;
|
|
254
|
+
const defineCustomElement = defineCustomElement$1;
|
|
255
|
+
|
|
256
|
+
export { ArcgisTimeSlider, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface ArcgisTrack extends Components.ArcgisTrack, HTMLElement {}
|
|
4
|
+
export const ArcgisTrack: {
|
|
5
|
+
prototype: ArcgisTrack;
|
|
6
|
+
new (): ArcgisTrack;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|