@arcgis/map-components 4.29.0 → 4.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/index.esm.js +1 -1
- package/dist/arcgis-map-components/{p-58f212ae.entry.js → p-039baf38.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2dc640ed.entry.js → p-04d44c0f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9e771c3c.js → p-08b9f923.js} +1 -1
- package/dist/arcgis-map-components/{p-cb46e2af.entry.js → p-0abcc5ac.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-56a95ba3.entry.js → p-0b1a6dd8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1e56dd90.entry.js → p-0b3b67a3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9ce44aab.entry.js → p-17a60724.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f7cfe67a.entry.js → p-18b4f16b.entry.js} +2 -2
- package/dist/arcgis-map-components/p-1e97149f.entry.js +6 -0
- package/dist/arcgis-map-components/{p-dacdacd6.entry.js → p-245670e5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4f09345f.entry.js → p-25b051db.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2c06ba12.entry.js → p-299f159d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4b1e3886.entry.js → p-2dfe81bd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b4fcd367.entry.js → p-31f990a3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0ab58f56.entry.js → p-36f1eda9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b074cff0.entry.js → p-3f4864a1.entry.js} +2 -2
- package/dist/arcgis-map-components/p-429499f5.entry.js +6 -0
- package/dist/arcgis-map-components/{p-f9fcdc47.entry.js → p-485f4ed8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a732030c.entry.js → p-49cd4129.entry.js} +2 -2
- package/dist/arcgis-map-components/p-557c9111.entry.js +6 -0
- package/dist/arcgis-map-components/{p-138f344c.entry.js → p-57617fda.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1af0c58d.entry.js → p-667d6cbe.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1392e55e.entry.js → p-6857cae8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a1943b88.entry.js → p-69a57981.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ad253fba.entry.js → p-706e47f7.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f0f6c75d.entry.js → p-70b18b2f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d5a46dcd.entry.js → p-7e428864.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b556c334.entry.js → p-8005a849.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-13df63e3.entry.js → p-829c2fd5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6e718744.entry.js → p-847a0241.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6c23ce45.entry.js → p-85aedc91.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-09d1fa30.entry.js → p-89f51d89.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-eef4eccf.entry.js → p-8c4bb3ac.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7b84ae7e.entry.js → p-904be69a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-60a89824.entry.js → p-96cebd34.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b34848cd.entry.js → p-98ea2d14.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3c0e7652.entry.js → p-9eb147de.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-86eceb6c.entry.js → p-9eeb438b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f3055fe7.entry.js → p-a2810d24.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-11dc096a.entry.js → p-a363a265.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0e12b068.entry.js → p-a38cad5d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a6ff2d23.entry.js → p-a4ffe004.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8080f998.js → p-af72e854.js} +1 -1
- package/dist/arcgis-map-components/{p-ffd00564.entry.js → p-b19122c2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ea5f7ab9.entry.js → p-bba99662.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-de09fd10.entry.js → p-bd74a698.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1b5e55d0.entry.js → p-c7d3618a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-84026e39.entry.js → p-c9dbdf48.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0a7d9b10.js → p-cf115433.js} +1 -1
- package/dist/arcgis-map-components/{p-3a0a6efa.entry.js → p-d20bc81e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-992cdc4c.entry.js → p-d2926040.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-defc03a6.entry.js → p-dcef19f5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-20272b55.js → p-e54e0ed6.js} +1 -1
- package/dist/arcgis-map-components/{p-ebde73ef.entry.js → p-eadbee7b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0c15b118.entry.js → p-ebf15b55.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4690c4ff.entry.js → p-ec00f5a4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-291893c2.entry.js → p-f36b2528.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e38096f1.entry.js → p-f3ec019d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-168fc61b.entry.js → p-f4f4576c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d630c013.entry.js → p-f58188aa.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-03ba0fda.entry.js → p-fcd46d6c.entry.js} +2 -2
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-attachments.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-gallery_2.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-compass.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-daylight.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directions.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-editor.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-expand.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-features.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-histogram.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-home.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-legend.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-locate.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-map-components.cjs.js +2 -2
- package/dist/cjs/arcgis-measurement.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-placement.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-print.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scene.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-search.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-sketch.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-slice.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-swipe.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-table-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-track.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-version-management.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-weather.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-zoom.cjs.entry.js +5 -5
- package/dist/cjs/{component-utils-f77c943e.js → component-utils-e131f0db.js} +1 -1
- package/dist/cjs/{disconnected-ec1c1b85.js → disconnected-ee64795e.js} +1 -1
- package/dist/cjs/{index-8bce9d37.js → index-653a4c1d.js} +1 -1
- package/dist/cjs/{index-11a44e53.js → index-a4132fa9.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/components/arcgis-area-measurement-2d.js +1 -1
- package/dist/components/arcgis-area-measurement-3d.js +1 -1
- package/dist/components/arcgis-attachments.js +1 -1
- package/dist/components/arcgis-basemap-gallery.js +1 -1
- package/dist/components/arcgis-basemap-layer-list.js +1 -1
- package/dist/components/arcgis-basemap-toggle.js +1 -1
- package/dist/components/arcgis-bookmarks.js +1 -1
- package/dist/components/arcgis-building-explorer.js +1 -1
- package/dist/components/arcgis-compass.js +1 -1
- package/dist/components/arcgis-coordinate-conversion.js +1 -1
- package/dist/components/arcgis-daylight.js +1 -1
- package/dist/components/arcgis-directional-pad.js +1 -1
- package/dist/components/arcgis-directions.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d.js +1 -1
- package/dist/components/arcgis-editor.js +1 -1
- package/dist/components/arcgis-elevation-profile.js +1 -1
- package/dist/components/arcgis-expand.js +1 -1
- package/dist/components/arcgis-feature-form.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +1 -1
- package/dist/components/arcgis-features.js +1 -1
- package/dist/components/arcgis-floor-filter.js +1 -1
- package/dist/components/arcgis-fullscreen.js +1 -1
- package/dist/components/arcgis-histogram-range-slider.js +1 -1
- package/dist/components/arcgis-histogram.js +1 -1
- package/dist/components/arcgis-home.js +1 -1
- package/dist/components/arcgis-layer-list.js +1 -1
- package/dist/components/arcgis-legend.js +1 -1
- package/dist/components/arcgis-line-of-sight.js +1 -1
- package/dist/components/arcgis-locate.js +1 -1
- package/dist/components/arcgis-map.js +1 -1
- package/dist/components/arcgis-measurement.js +1 -1
- package/dist/components/arcgis-navigation-toggle.js +1 -1
- package/dist/components/arcgis-placement.js +1 -1
- package/dist/components/arcgis-print.js +1 -1
- package/dist/components/arcgis-scale-bar.js +1 -1
- package/dist/components/arcgis-scale-range-slider.js +1 -1
- package/dist/components/arcgis-scene.js +1 -1
- package/dist/components/arcgis-search.js +1 -1
- package/dist/components/arcgis-shadow-cast.js +1 -1
- package/dist/components/arcgis-sketch.js +1 -1
- package/dist/components/arcgis-slice.js +1 -1
- package/dist/components/arcgis-slider.js +1 -1
- package/dist/components/arcgis-swipe.js +1 -1
- package/dist/components/arcgis-table-list.js +1 -1
- package/dist/components/arcgis-time-slider.js +1 -1
- package/dist/components/arcgis-track.js +1 -1
- package/dist/components/arcgis-utility-network-associations.js +1 -1
- package/dist/components/arcgis-utility-network-trace.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
- package/dist/components/arcgis-value-picker.js +1 -1
- package/dist/components/arcgis-version-management-service-item.js +1 -1
- package/dist/components/arcgis-version-management-version-item.js +1 -1
- package/dist/components/arcgis-version-management-version-list.js +1 -1
- package/dist/components/arcgis-version-management-version-properties.js +1 -1
- package/dist/components/arcgis-version-management.js +1 -1
- package/dist/components/arcgis-weather.js +1 -1
- package/dist/components/arcgis-zoom.js +1 -1
- package/dist/components/component-utils.js +1 -1
- package/dist/components/disconnected.js +1 -1
- package/dist/components/expand.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/version-management-service-item.js +1 -1
- package/dist/components/version-management-version-item.js +1 -1
- package/dist/components/version-management-version-list.js +1 -1
- package/dist/components/version-management-version-properties.js +1 -1
- package/dist/esm/arcgis-area-measurement-2d.entry.js +5 -5
- package/dist/esm/arcgis-area-measurement-3d.entry.js +5 -5
- package/dist/esm/arcgis-attachments.entry.js +5 -5
- package/dist/esm/arcgis-basemap-gallery_2.entry.js +5 -5
- package/dist/esm/arcgis-basemap-layer-list.entry.js +5 -5
- package/dist/esm/arcgis-basemap-toggle.entry.js +5 -5
- package/dist/esm/arcgis-bookmarks.entry.js +5 -5
- package/dist/esm/arcgis-building-explorer.entry.js +5 -5
- package/dist/esm/arcgis-compass.entry.js +5 -5
- package/dist/esm/arcgis-coordinate-conversion.entry.js +5 -5
- package/dist/esm/arcgis-daylight.entry.js +5 -5
- package/dist/esm/arcgis-directional-pad.entry.js +5 -5
- package/dist/esm/arcgis-directions.entry.js +5 -5
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +5 -5
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +5 -5
- package/dist/esm/arcgis-editor.entry.js +5 -5
- package/dist/esm/arcgis-elevation-profile.entry.js +5 -5
- package/dist/esm/arcgis-expand.entry.js +5 -5
- package/dist/esm/arcgis-feature-form.entry.js +5 -5
- package/dist/esm/arcgis-feature-table.entry.js +5 -5
- package/dist/esm/arcgis-feature-templates.entry.js +5 -5
- package/dist/esm/arcgis-feature.entry.js +5 -5
- package/dist/esm/arcgis-features.entry.js +5 -5
- package/dist/esm/arcgis-floor-filter.entry.js +5 -5
- package/dist/esm/arcgis-fullscreen.entry.js +5 -5
- package/dist/esm/arcgis-histogram-range-slider.entry.js +5 -5
- package/dist/esm/arcgis-histogram.entry.js +4 -4
- package/dist/esm/arcgis-home.entry.js +5 -5
- package/dist/esm/arcgis-layer-list.entry.js +5 -5
- package/dist/esm/arcgis-legend.entry.js +5 -5
- package/dist/esm/arcgis-line-of-sight.entry.js +5 -5
- package/dist/esm/arcgis-locate.entry.js +5 -5
- package/dist/esm/arcgis-map-components.js +3 -3
- package/dist/esm/arcgis-measurement.entry.js +5 -5
- package/dist/esm/arcgis-navigation-toggle.entry.js +5 -5
- package/dist/esm/arcgis-placement.entry.js +4 -4
- package/dist/esm/arcgis-print.entry.js +5 -5
- package/dist/esm/arcgis-scale-bar.entry.js +5 -5
- package/dist/esm/arcgis-scale-range-slider.entry.js +5 -5
- package/dist/esm/arcgis-scene.entry.js +4 -4
- package/dist/esm/arcgis-search.entry.js +5 -5
- package/dist/esm/arcgis-shadow-cast.entry.js +5 -5
- package/dist/esm/arcgis-sketch.entry.js +5 -5
- package/dist/esm/arcgis-slice.entry.js +5 -5
- package/dist/esm/arcgis-slider.entry.js +5 -5
- package/dist/esm/arcgis-swipe.entry.js +5 -5
- package/dist/esm/arcgis-table-list.entry.js +5 -5
- package/dist/esm/arcgis-time-slider.entry.js +5 -5
- package/dist/esm/arcgis-track.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-associations.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-trace.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +5 -5
- package/dist/esm/arcgis-value-picker.entry.js +5 -5
- package/dist/esm/arcgis-version-management-service-item_2.entry.js +3 -3
- package/dist/esm/arcgis-version-management-version-item_2.entry.js +3 -3
- package/dist/esm/arcgis-version-management.entry.js +3 -3
- package/dist/esm/arcgis-weather.entry.js +5 -5
- package/dist/esm/arcgis-zoom.entry.js +5 -5
- package/dist/esm/{component-utils-352c412f.js → component-utils-a1b18b71.js} +1 -1
- package/dist/esm/{disconnected-3f01362d.js → disconnected-a67fc7e0.js} +1 -1
- package/dist/esm/{index-94c85b30.js → index-508eea52.js} +1 -1
- package/dist/esm/{index-ee66e916.js → index-afe1b299.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/package.json +9 -9
- package/dist/arcgis-map-components/p-584899e6.entry.js +0 -6
- package/dist/arcgis-map-components/p-bcf32e68.entry.js +0 -6
- package/dist/arcgis-map-components/p-df09cadb.entry.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as h}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as h}from"./p-cf115433.js";import{_ as o,i as a}from"./p-08b9f923.js";import{r as e,c as r,a as c}from"./p-af72e854.js";import{o as n}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisTrackReady=i(this,"arcgisTrackReady",7),this.trackComplete=i(this,"trackComplete",7),this.trackError=i(this,"trackError",7),this._watchHandles=[],this.referenceElement=void 0,this.error=void 0,this.geolocationOptions=void 0,this.goToLocationEnabled=!0,this.graphic=void 0,this.icon=void 0,this.positionFilterFunction=void 0,this.rotationEnabled=!0,this.scale=void 0,this.state="disabled",this.tracking=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){e(this,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}positionFilterFunctionWatcher(t){this.widget&&(this.widget.viewModel.positionFilterFunction=t)}rotationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.rotationEnabled=t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async start(){this.widget.start()}async stop(){this.widget.stop()}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisTrackReady.emit(),r(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();c(this,[t((()=>this.widget.viewModel.error),(t=>this.error=t)),t((()=>this.widget.viewModel.state),(t=>this.state=t)),t((()=>this.widget.tracking),(t=>this.tracking=t),{initial:!0})])}_createParams(){const t={};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationEnabled&&(t.goToLocationEnabled=this.goToLocationEnabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.icon&&(t.icon=this.icon,t.iconClass=this.icon),void 0!==this.positionFilterFunction&&(t.viewModel={positionFilterFunction:this.positionFilterFunction}),void 0!==this.rotationEnabled&&(t.rotationEnabled=this.rotationEnabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("track",(t=>this.trackComplete.emit(t))),this.widget.on("track-error",(t=>this.trackError.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],icon:["iconWatcher"],positionFilterFunction:["positionFilterFunctionWatcher"],rotationEnabled:["rotationEnabledWatcher"],scale:["scaleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_track}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as h}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as h}from"./p-cf115433.js";import{J as o,i as e}from"./p-08b9f923.js";import{r as a,c,a as r}from"./p-af72e854.js";import{o as n}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisLocateReady=i(this,"arcgisLocateReady",7),this.locateSuccess=i(this,"locateSuccess",7),this.locateError=i(this,"locateError",7),this._watchHandles=[],this.referenceElement=void 0,this.error=void 0,this.geolocationOptions=void 0,this.goToLocationDisabled=!1,this.graphic=void 0,this.icon=void 0,this.popupDisabled=!1,this.scale=void 0,this.state=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationDisabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=!t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}popupDisabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=!t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async cancelLocate(){this.widget?.cancelLocate()}async locate(){return await(this.widget?.locate())}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisLocateReady.emit(),this._proxyEvents(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await e();r(this,[t((()=>this.widget?.viewModel?.state),(t=>this.state=t)),t((()=>this.widget?.viewModel?.error),(t=>this.error=t))])}_createParams(){const t={};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationDisabled&&(t.goToLocationEnabled=!this.goToLocationDisabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.icon&&(t.icon=this.icon,t.iconClass=this.icon),void 0!==this.popupDisabled&&(t.popupEnabled=!this.popupDisabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget?.on("locate",(t=>this.locateSuccess.emit(t))),this.widget?.on("locate-error",(t=>this.locateError.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationDisabled:["goToLocationDisabledWatcher"],graphic:["graphicWatcher"],icon:["iconWatcher"],popupDisabled:["popupDisabledWatcher"],scale:["scaleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="arcgis-locate{}";export{d as arcgis_locate}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as i,g as s}from"./p-
|
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-cf115433.js";import{v as h,i as n}from"./p-08b9f923.js";import{r as a,c as o,a as r}from"./p-af72e854.js";import{o as c}from"./p-e54e0ed6.js";const l=class{constructor(i){t(this,i),this.arcgisFeatureReady=e(this,"arcgisFeatureReady",7),this._watchHandles=[],this.referenceElement=void 0,this.defaultPopupTemplateEnabled=!1,this.graphic=void 0,this.location=void 0,this.map=void 0,this.spatialReference=void 0,this.visibleElementsTitle=!0,this.visibleElementsContentAttachments=!0,this.visibleElementsContentFields=!0,this.visibleElementsContentMedia=!0,this.visibleElementsContentText=!0,this.visibleElementsContentExpression=!0,this.visibleElementsLastEditInfo=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}defaultPopupTemplateEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultPopupTemplateEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}locationWatcher(t){this.widget&&(this.widget.viewModel.location=t)}spatialReferenceWatcher(t){this.widget&&(this.widget.spatialReference=t)}visibleElementsTitleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,title:t})}visibleElementsContentAttachmentsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,attachments:t}})}visibleElementsContentFieldsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,fields:t}})}visibleElementsContentMediaWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,media:t}})}visibleElementsContentTextWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,text:t}})}visibleElementsContentExpressionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,expression:t}})}visibleElementsLastEditInfoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,lastEditInfo:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,e){this.widget?.setActiveMedia(t,e)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,this._addContainer(),this._setViewModelParams(),await this._addWatchers(),this.arcgisFeatureReady.emit(),o(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await n();r(this,t((()=>this.widget.view?.map),(t=>this.map=t)))}_createParams(){const t={};return t.visibleElements={title:this.visibleElementsTitle,content:{attachments:this.visibleElementsContentAttachments,fields:this.visibleElementsContentFields,media:this.visibleElementsContentMedia,text:this.visibleElementsContentText,expression:this.visibleElementsContentExpression},lastEditInfo:this.visibleElementsLastEditInfo},void 0!==this.defaultPopupTemplateEnabled&&(t.defaultPopupTemplateEnabled=this.defaultPopupTemplateEnabled),this.graphic&&(t.graphic=this.graphic),this.view&&(t.view=this.view),this.spatialReference&&(t.spatialReference=this.spatialReference),t}_setViewModelParams(){const t={};this.location&&(t.location=this.location),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],defaultPopupTemplateEnabled:["defaultPopupTemplateEnabledWatcher"],graphic:["graphicWatcher"],location:["locationWatcher"],spatialReference:["spatialReferenceWatcher"],visibleElementsTitle:["visibleElementsTitleWatcher"],visibleElementsContentAttachments:["visibleElementsContentAttachmentsWatcher"],visibleElementsContentFields:["visibleElementsContentFieldsWatcher"],visibleElementsContentMedia:["visibleElementsContentMediaWatcher"],visibleElementsContentText:["visibleElementsContentTextWatcher"],visibleElementsContentExpression:["visibleElementsContentExpressionWatcher"],visibleElementsLastEditInfo:["visibleElementsLastEditInfoWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_feature}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
+
* v4.29.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{r as h,i as a}from"./p-08b9f923.js";import{r,c as n,a as c}from"./p-af72e854.js";import{o}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisDirectLineMeasurement3dReady=i(this,"arcgisDirectLineMeasurement3dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.analysis=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){this.widget&&(this.widget.unitOptions=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clear(){this.widget?.viewModel.clear()}async start(){this.widget?.viewModel.start()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDirectLineMeasurement3dReady.emit(),n(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t,whenOnce:i}=await a();c(this,t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:!0})),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directline_measurement_3d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{c as h,i as a}from"./p-08b9f923.js";import{r,c,a as o}from"./p-af72e854.js";import{o as n}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisAreaMeasurement2dReady=i(this,"arcgisAreaMeasurement2dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.arcgisAreaMeasurement2dReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t,whenOnce:i}=await a();o(this,t((()=>this.widget.unit),(t=>this.unit=t),{initial:!0})),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={container:this.childElem};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_area_measurement_2d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as e,g as s}from"./p-
|
|
6
|
+
import{r as t,c as i,h as e,g as s}from"./p-cf115433.js";import{a1 as r}from"./p-08b9f923.js";import{r as o,c as a}from"./p-af72e854.js";import{o as h}from"./p-e54e0ed6.js";const c=class{constructor(e){t(this,e),this.arcgisUtilityNetworkValidateTopologyReady=i(this,"arcgisUtilityNetworkValidateTopologyReady",7),this._watchHandles=[],this.referenceElement=void 0,this.extentToValidate="current",this.utilityNetwork=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkValidateTopologyReady.emit(),a(this)}disconnectedCallback(){h(this)}render(){return e("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-utility-network-validate-topology{}";export{c as arcgis_utility_network_validate_topology}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{o as r}from"./p-08b9f923.js";import{r as a,c as h}from"./p-af72e854.js";import{o as c}from"./p-e54e0ed6.js";const o=class{constructor(s){t(this,s),this.arcgisDirectionalPadReady=i(this,"arcgisDirectionalPadReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.visualScale="s",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t)}visualScaleWatcher(t){this.widget&&(this.widget.visualScale=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this._addContainer(),this.arcgisDirectionalPadReady.emit(),h(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.icon&&(t.icon=this.icon),this.visualScale&&(t.visualScale=this.visualScale),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],visualScale:["visualScaleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="arcgis-directional-pad{}";export{o as arcgis_directional_pad}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as t,h as s,g as h}from"./p-0a7d9b10.js";import{n as e,i as a,a as r,b as c}from"./p-9e771c3c.js";import{r as o,c as n,a as d,i as l,b as p}from"./p-8080f998.js";import{o as v}from"./p-20272b55.js";const W=class{constructor(s){i(this,s),this.arcgisBasemapGalleryReady=t(this,"arcgisBasemapGalleryReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeBasemap=void 0,this.disabled=!1,this.icon=void 0,this.source=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(i){o(this,i)}disabledWatcher(i,t){this.widget&&i!==t&&(this.widget.disabled=i)}iconWatcher(i){this.widget&&(this.widget.icon=i,this.widget.iconClass=i)}sourceWatcher(i){this.widget&&(this.widget.source=i)}positionWatcher(i){void 0!==i&&this.widget&&this.view.ui.move(this.childElem,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this._addContainer(),this.arcgisBasemapGalleryReady.emit(),n(this)}disconnectedCallback(){v(this)}render(){return s("div",{ref:i=>this.childElem=i})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:i}=await a();d(this,[i((()=>this.widget.source),(()=>this.source=this.widget.source),{initial:!0}),i((()=>this.widget.activeBasemap),(i=>this.activeBasemap=i),{initial:!0}),i((()=>this.widget.disabled),(i=>this.disabled=i))])}_createParams(){const i={};return this.icon&&(i.icon=this.icon,i.iconClass=this.icon),this.source&&(i.source=this.source),this.view&&(i.view=this.view),i}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],disabled:["disabledWatcher"],icon:["iconWatcher"],source:["sourceWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};W.style="";const g=class{constructor(s){i(this,s),this.arcgisViewReadyChange=t(this,"arcgisViewReadyChange",7),this.arcgisViewChange=t(this,"arcgisViewChange",7),this.arcgisViewClick=t(this,"arcgisViewClick",7),this.arcgisViewDoubleClick=t(this,"arcgisViewDoubleClick",7),this.arcgisViewDrag=t(this,"arcgisViewDrag",7),this.arcgisViewHold=t(this,"arcgisViewHold",7),this.arcgisViewImmediateClick=t(this,"arcgisViewImmediateClick",7),this.arcgisViewImmediateDoubleClick=t(this,"arcgisViewImmediateDoubleClick",7),this.arcgisViewKeyDown=t(this,"arcgisViewKeyDown",7),this.arcgisViewKeyUp=t(this,"arcgisViewKeyUp",7),this.arcgisViewLayerviewCreate=t(this,"arcgisViewLayerviewCreate",7),this.arcgisViewLayerviewCreateError=t(this,"arcgisViewLayerviewCreateError",7),this.arcgisViewLayerviewDestroy=t(this,"arcgisViewLayerviewDestroy",7),this.arcgisViewMouseWheel=t(this,"arcgisViewMouseWheel",7),this.arcgisViewPointerDown=t(this,"arcgisViewPointerDown",7),this.arcgisViewPointerEnter=t(this,"arcgisViewPointerEnter",7),this.arcgisViewPointerLeave=t(this,"arcgisViewPointerLeave",7),this.arcgisViewPointerMove=t(this,"arcgisViewPointerMove",7),this.arcgisViewPointerUp=t(this,"arcgisViewPointerUp",7),this._watchHandles=[],this.allLayerViews=void 0,this.background=void 0,this.basemapView=void 0,this.basemap=void 0,this.center=void 0,this.constraints=void 0,this.destroyDisabled=!1,this.extent=void 0,this.fatalError=void 0,this.floors=void 0,this.gamepad=void 0,this.graphics=void 0,this.highlightOptions=void 0,this.interacting=!1,this.itemId=void 0,this.layerViews=void 0,this.magnifier=void 0,this.map=void 0,this.navigating=!1,this.navigation=void 0,this.padding=void 0,this.popup=void 0,this.popupEnabled=!0,this.ready=!1,this.resizeAlign=void 0,this.resolution=void 0,this.rotation=0,this.scale=void 0,this.spatialReference=void 0,this.stationary=void 0,this.suspended=!0,this.theme=void 0,this.timeExtent=void 0,this.timeZone="system",this.toMap=void 0,this.toScreen=void 0,this.updating=!1,this.viewpoint=void 0,this.zoom=void 0,this.view=void 0}backgroundWatcher(i){this.view&&(this.background=i)}basemapWatcher(i){("string"==typeof i&&this.view?.map&&!l(i)||this.view?.map)&&(this.view.map.basemap=i)}centerWatcher(i,t){if(i!==t&&this.view)if("string"==typeof i){const t=i.split(",").map((i=>Number(i)));t[0]!==this.view.center.longitude&&t[1]!==this.view.center.latitude&&(this.view.center=t)}else Array.isArray(i)?i[0]!==this.view.center.longitude&&i[1]!==this.view.center.latitude&&(this.view.center=i):this.view.center.equals(i)||(this.view.center=i)}constraintsWatcher(i){this.view&&(this.view.constraints=i)}extentWatcher(i){this.view&&i&&!this.view.extent.equals(i)&&(this.view.extent=i)}floorsWatcher(i){this.view&&(this.view.floors=i)}graphicsWatcher(i){this.view&&(this.view.graphics=i)}highlightOptionsWatcher(i){this.view&&(this.view.highlightOptions=i)}itemIdWatcher(i,t){i!==t&&(this.view?.map?this._updateMap():this._loadMap())}mapWatcher(i){this.view&&(this.view.map=i)}navigationWatcher(i){this.view&&(this.view.navigation=i)}paddingWatcher(i){this.view&&(this.view.padding=i)}popupWatcher(i){this.view&&(this.view.popup=i)}popupEnabledWatcher(i,t){i!==t&&this.view&&(this.view.popupEnabled=i)}resizeAlignWatcher(i){this.view&&(this.view.resizeAlign=i)}rotationWatcher(i){this.view&&this.view.rotation!==i&&(this.view.rotation=i)}scaleWatcher(i,t){this.view?.interacting||null==i||i===t||(this.view.scale=i)}spatialReferenceWatcher(i){this.view&&i&&!this.view.spatialReference.equals(i)&&(this.view.spatialReference=i)}themeWatcher(i){this.view&&(this.view.theme=i)}timeExtentWatcher(i){this.view&&(this.view.timeExtent=i)}timeZoneWatcher(i){this.view&&(this.view.timeZone=i)}viewpointWatcher(i){this.view&&p(this.view.viewpoint,i)&&(this.view.viewpoint=i)}zoomWatcher(i,t){this.view?.interacting||null==i||i===t||(this.view.zoom=i)}async closePopup(){this.view?.closePopup()}async destroy(){this.destroyDisabled&&(this._clearWatchHandles(),this.view.destroy())}async goTo(i,t){return await(this.view?.goTo(i,t))}async hitTest(i,t){return await(this.view?.hitTest(i,t))}async openPopup(i){this.view?.openPopup(i)}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await(this.view?.whenLayerView(i))}async componentWillLoad(){this.view||await this._loadMap()}componentDidRender(){this.view&&!this.view.container&&(this.view.container=this.el)}componentDidLoad(){this._proxyEvents()}disconnectedCallback(){this.destroy()}render(){return s("div",{class:"arcgis-map",ref:i=>this.el=i})}_clearWatchHandles(){this._watchHandles.forEach((i=>i.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:i,when:t}=await a();d(this,[i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary,this.interacting=this.view.interacting,this.navigating=this.view.navigating,this.arcgisViewChange.emit()}),{initial:!0}),t((()=>this.view.stationary),(()=>{this.center=this.view.center,this.extent=this.view.extent,this.scale=this.view.scale,this.viewpoint=this.view.viewpoint,this.zoom=this.view.zoom,this.spatialReference=this.view.spatialReference})),i((()=>this.view.allLayerViews),(()=>{this.allLayerViews=this.view.allLayerViews}),{initial:!0}),i((()=>this.view.map?.basemap),(()=>{this.basemap=this.view.map?.basemap}),{initial:!0}),i((()=>this.view.fatalError),(()=>{this.fatalError=this.view.fatalError}),{initial:!0}),i((()=>this.view.input.gamepad),(()=>{this.gamepad=this.view.input.gamepad}),{initial:!0}),i((()=>this.view.graphics),(()=>{this.graphics=this.view.graphics}),{initial:!0}),i((()=>this.view.layerViews),(()=>{this.layerViews=this.view.layerViews}),{initial:!0}),i((()=>this.view.navigation),(()=>{this.navigation=this.view.navigation}),{initial:!0}),i((()=>this.view.map),(()=>{this.map=this.view.map}),{initial:!0}),i((()=>this.view.popup),(()=>{this.popup=this.view.popup}),{initial:!0}),i((()=>this.view.resolution),(()=>{this.resolution=this.view.resolution}),{initial:!0}),i((()=>this.view.rotation),(()=>{this.rotation=this.view.rotation}),{initial:!0}),i((()=>this.view.suspended),(()=>{this.suspended=this.view.suspended}),{initial:!0}),i((()=>this.view.updating),(()=>{this.updating=this.view.updating}),{initial:!0}),i((()=>this.view.ready),(()=>{this.ready=this.view.ready,this.arcgisViewReadyChange.emit()}),{initial:!0})])}async _createMap(){const i={};return this.itemId&&(i.portalItem=await this._createPortalItem()),this.basemap?i.basemap=this.basemap:l(this.itemId)&&(i.basemap="topo-vector"),await r(i)}async _createPortalItem(){const i={};return this.itemId&&(i.id=this.itemId),i}_createViewParams(){const i={};return this.background&&(i.background=this.background),this.center&&(i.center="string"==typeof this.center?this.center.split(",").map((i=>Number(i))):this.center),this.constraints&&(i.constraints=this.constraints),this.extent&&(i.extent=this.extent),this.floors&&(i.floors=this.floors),this.graphics&&(i.graphics=this.graphics),this.highlightOptions&&(i.highlightOptions=this.highlightOptions),this.map&&(i.map=this.map),this.navigation&&(i.navigation=this.navigation),this.padding&&(i.padding=this.padding),this.popup&&(i.popup=this.popup),void 0!==this.popupEnabled&&(i.popupEnabled=this.popupEnabled),void 0!==this.rotation&&(i.rotation=this.rotation),void 0!==this.scale&&(i.scale=this.scale),this.spatialReference&&(i.spatialReference=this.spatialReference),this.theme&&(i.theme=this.theme),this.timeExtent&&(i.timeExtent=this.timeExtent),this.timeZone&&(i.timeZone=this.timeZone),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.zoom&&(i.zoom=this.zoom),i}async _loadMap(){this.map||(this.map=await this._createMap());const i=this._createViewParams(),t=await c({...i});this.view=t,t.when((async()=>{this.toMap=t.toMap.bind(t),this.toScreen=t.toScreen.bind(t),await this._addWatchers()}))}_proxyEvents(){d(this,[this.view.on("click",(i=>{this.arcgisViewClick.emit(i)})),this.view.on("double-click",(i=>{this.arcgisViewDoubleClick.emit(i)})),this.view.on("drag",(i=>{this.arcgisViewDrag.emit(i)})),this.view.on("hold",(i=>{this.arcgisViewHold.emit(i)})),this.view.on("immediate-click",(i=>{this.arcgisViewImmediateClick.emit(i)})),this.view.on("immediate-double-click",(i=>{this.arcgisViewImmediateDoubleClick.emit(i)})),this.view.on("key-down",(i=>{this.arcgisViewKeyDown.emit(i)})),this.view.on("key-up",(i=>{this.arcgisViewKeyUp.emit(i)})),this.view.on("layerview-create",(i=>{this.arcgisViewLayerviewCreate.emit(i)})),this.view.on("layerview-create-error",(i=>{this.arcgisViewLayerviewCreateError.emit(i)})),this.view.on("layerview-destroy",(i=>{this.arcgisViewLayerviewDestroy.emit(i)})),this.view.on("mouse-wheel",(i=>{this.arcgisViewMouseWheel.emit(i)})),this.view.on("pointer-down",(i=>{this.arcgisViewPointerDown.emit(i)})),this.view.on("pointer-enter",(i=>{this.arcgisViewPointerEnter.emit(i)})),this.view.on("pointer-leave",(i=>{this.arcgisViewPointerLeave.emit(i)})),this.view.on("pointer-move",(i=>{this.arcgisViewPointerMove.emit(i)})),this.view.on("pointer-up",(i=>{this.arcgisViewPointerUp.emit(i)}))])}async _updateMap(){if(this.view?.map){this.view.map.destroy();const i=await this._createMap();this.view.map=i}}get _hostElement(){return h(this)}static get watchers(){return{background:["backgroundWatcher"],basemap:["basemapWatcher"],center:["centerWatcher"],constraints:["constraintsWatcher"],extent:["extentWatcher"],floors:["floorsWatcher"],graphics:["graphicsWatcher"],highlightOptions:["highlightOptionsWatcher"],itemId:["itemIdWatcher"],map:["mapWatcher"],navigation:["navigationWatcher"],padding:["paddingWatcher"],popup:["popupWatcher"],popupEnabled:["popupEnabledWatcher"],resizeAlign:["resizeAlignWatcher"],rotation:["rotationWatcher"],scale:["scaleWatcher"],spatialReference:["spatialReferenceWatcher"],theme:["themeWatcher"],timeExtent:["timeExtentWatcher"],timeZone:["timeZoneWatcher"],viewpoint:["viewpointWatcher"],zoom:["zoomWatcher"]}}};g.style=".arcgis-map{padding:0;margin:0;height:100%;width:100%}";export{W as arcgis_basemap_gallery,g as arcgis_map}
|
|
6
|
+
import{r as i,c as t,h as s,g as h}from"./p-cf115433.js";import{n as e,i as a,a as r,b as c}from"./p-08b9f923.js";import{r as o,c as n,a as d,i as l,b as p}from"./p-af72e854.js";import{o as v}from"./p-e54e0ed6.js";const W=class{constructor(s){i(this,s),this.arcgisBasemapGalleryReady=t(this,"arcgisBasemapGalleryReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeBasemap=void 0,this.disabled=!1,this.icon=void 0,this.source=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(i){o(this,i)}disabledWatcher(i,t){this.widget&&i!==t&&(this.widget.disabled=i)}iconWatcher(i){this.widget&&(this.widget.icon=i,this.widget.iconClass=i)}sourceWatcher(i){this.widget&&(this.widget.source=i)}positionWatcher(i){void 0!==i&&this.widget&&this.view.ui.move(this.childElem,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this._addContainer(),this.arcgisBasemapGalleryReady.emit(),n(this)}disconnectedCallback(){v(this)}render(){return s("div",{ref:i=>this.childElem=i})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:i}=await a();d(this,[i((()=>this.widget.source),(()=>this.source=this.widget.source),{initial:!0}),i((()=>this.widget.activeBasemap),(i=>this.activeBasemap=i),{initial:!0}),i((()=>this.widget.disabled),(i=>this.disabled=i))])}_createParams(){const i={};return this.icon&&(i.icon=this.icon,i.iconClass=this.icon),this.source&&(i.source=this.source),this.view&&(i.view=this.view),i}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],disabled:["disabledWatcher"],icon:["iconWatcher"],source:["sourceWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};W.style="";const g=class{constructor(s){i(this,s),this.arcgisViewReadyChange=t(this,"arcgisViewReadyChange",7),this.arcgisViewChange=t(this,"arcgisViewChange",7),this.arcgisViewClick=t(this,"arcgisViewClick",7),this.arcgisViewDoubleClick=t(this,"arcgisViewDoubleClick",7),this.arcgisViewDrag=t(this,"arcgisViewDrag",7),this.arcgisViewHold=t(this,"arcgisViewHold",7),this.arcgisViewImmediateClick=t(this,"arcgisViewImmediateClick",7),this.arcgisViewImmediateDoubleClick=t(this,"arcgisViewImmediateDoubleClick",7),this.arcgisViewKeyDown=t(this,"arcgisViewKeyDown",7),this.arcgisViewKeyUp=t(this,"arcgisViewKeyUp",7),this.arcgisViewLayerviewCreate=t(this,"arcgisViewLayerviewCreate",7),this.arcgisViewLayerviewCreateError=t(this,"arcgisViewLayerviewCreateError",7),this.arcgisViewLayerviewDestroy=t(this,"arcgisViewLayerviewDestroy",7),this.arcgisViewMouseWheel=t(this,"arcgisViewMouseWheel",7),this.arcgisViewPointerDown=t(this,"arcgisViewPointerDown",7),this.arcgisViewPointerEnter=t(this,"arcgisViewPointerEnter",7),this.arcgisViewPointerLeave=t(this,"arcgisViewPointerLeave",7),this.arcgisViewPointerMove=t(this,"arcgisViewPointerMove",7),this.arcgisViewPointerUp=t(this,"arcgisViewPointerUp",7),this._watchHandles=[],this.allLayerViews=void 0,this.background=void 0,this.basemapView=void 0,this.basemap=void 0,this.center=void 0,this.constraints=void 0,this.destroyDisabled=!1,this.extent=void 0,this.fatalError=void 0,this.floors=void 0,this.gamepad=void 0,this.graphics=void 0,this.highlightOptions=void 0,this.interacting=!1,this.itemId=void 0,this.layerViews=void 0,this.magnifier=void 0,this.map=void 0,this.navigating=!1,this.navigation=void 0,this.padding=void 0,this.popup=void 0,this.popupEnabled=!0,this.ready=!1,this.resizeAlign=void 0,this.resolution=void 0,this.rotation=0,this.scale=void 0,this.spatialReference=void 0,this.stationary=void 0,this.suspended=!0,this.theme=void 0,this.timeExtent=void 0,this.timeZone="system",this.toMap=void 0,this.toScreen=void 0,this.updating=!1,this.viewpoint=void 0,this.zoom=void 0,this.view=void 0}backgroundWatcher(i){this.view&&(this.background=i)}basemapWatcher(i){("string"==typeof i&&this.view?.map&&!l(i)||this.view?.map)&&(this.view.map.basemap=i)}centerWatcher(i,t){if(i!==t&&this.view)if("string"==typeof i){const t=i.split(",").map((i=>Number(i)));t[0]!==this.view.center.longitude&&t[1]!==this.view.center.latitude&&(this.view.center=t)}else Array.isArray(i)?i[0]!==this.view.center.longitude&&i[1]!==this.view.center.latitude&&(this.view.center=i):this.view.center.equals(i)||(this.view.center=i)}constraintsWatcher(i){this.view&&(this.view.constraints=i)}extentWatcher(i){this.view&&i&&!this.view.extent.equals(i)&&(this.view.extent=i)}floorsWatcher(i){this.view&&(this.view.floors=i)}graphicsWatcher(i){this.view&&(this.view.graphics=i)}highlightOptionsWatcher(i){this.view&&(this.view.highlightOptions=i)}itemIdWatcher(i,t){i!==t&&(this.view?.map?this._updateMap():this._loadMap())}mapWatcher(i){this.view&&(this.view.map=i)}navigationWatcher(i){this.view&&(this.view.navigation=i)}paddingWatcher(i){this.view&&(this.view.padding=i)}popupWatcher(i){this.view&&(this.view.popup=i)}popupEnabledWatcher(i,t){i!==t&&this.view&&(this.view.popupEnabled=i)}resizeAlignWatcher(i){this.view&&(this.view.resizeAlign=i)}rotationWatcher(i){this.view&&this.view.rotation!==i&&(this.view.rotation=i)}scaleWatcher(i,t){this.view?.interacting||null==i||i===t||(this.view.scale=i)}spatialReferenceWatcher(i){this.view&&i&&!this.view.spatialReference.equals(i)&&(this.view.spatialReference=i)}themeWatcher(i){this.view&&(this.view.theme=i)}timeExtentWatcher(i){this.view&&(this.view.timeExtent=i)}timeZoneWatcher(i){this.view&&(this.view.timeZone=i)}viewpointWatcher(i){this.view&&p(this.view.viewpoint,i)&&(this.view.viewpoint=i)}zoomWatcher(i,t){this.view?.interacting||null==i||i===t||(this.view.zoom=i)}async closePopup(){this.view?.closePopup()}async destroy(){this.destroyDisabled&&(this._clearWatchHandles(),this.view.destroy())}async goTo(i,t){return await(this.view?.goTo(i,t))}async hitTest(i,t){return await(this.view?.hitTest(i,t))}async openPopup(i){this.view?.openPopup(i)}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await(this.view?.whenLayerView(i))}async componentWillLoad(){this.view||await this._loadMap()}componentDidRender(){this.view&&!this.view.container&&(this.view.container=this.el)}componentDidLoad(){this._proxyEvents()}disconnectedCallback(){this.destroy()}render(){return s("div",{class:"arcgis-map",ref:i=>this.el=i})}_clearWatchHandles(){this._watchHandles.forEach((i=>i.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:i,when:t}=await a();d(this,[i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary,this.interacting=this.view.interacting,this.navigating=this.view.navigating,this.arcgisViewChange.emit()}),{initial:!0}),t((()=>this.view.stationary),(()=>{this.center=this.view.center,this.extent=this.view.extent,this.scale=this.view.scale,this.viewpoint=this.view.viewpoint,this.zoom=this.view.zoom,this.spatialReference=this.view.spatialReference})),i((()=>this.view.allLayerViews),(()=>{this.allLayerViews=this.view.allLayerViews}),{initial:!0}),i((()=>this.view.map?.basemap),(()=>{this.basemap=this.view.map?.basemap}),{initial:!0}),i((()=>this.view.fatalError),(()=>{this.fatalError=this.view.fatalError}),{initial:!0}),i((()=>this.view.input.gamepad),(()=>{this.gamepad=this.view.input.gamepad}),{initial:!0}),i((()=>this.view.graphics),(()=>{this.graphics=this.view.graphics}),{initial:!0}),i((()=>this.view.layerViews),(()=>{this.layerViews=this.view.layerViews}),{initial:!0}),i((()=>this.view.navigation),(()=>{this.navigation=this.view.navigation}),{initial:!0}),i((()=>this.view.map),(()=>{this.map=this.view.map}),{initial:!0}),i((()=>this.view.popup),(()=>{this.popup=this.view.popup}),{initial:!0}),i((()=>this.view.resolution),(()=>{this.resolution=this.view.resolution}),{initial:!0}),i((()=>this.view.rotation),(()=>{this.rotation=this.view.rotation}),{initial:!0}),i((()=>this.view.suspended),(()=>{this.suspended=this.view.suspended}),{initial:!0}),i((()=>this.view.updating),(()=>{this.updating=this.view.updating}),{initial:!0}),i((()=>this.view.ready),(()=>{this.ready=this.view.ready,this.arcgisViewReadyChange.emit()}),{initial:!0})])}async _createMap(){const i={};return this.itemId&&(i.portalItem=await this._createPortalItem()),this.basemap?i.basemap=this.basemap:l(this.itemId)&&(i.basemap="topo-vector"),await r(i)}async _createPortalItem(){const i={};return this.itemId&&(i.id=this.itemId),i}_createViewParams(){const i={};return this.background&&(i.background=this.background),this.center&&(i.center="string"==typeof this.center?this.center.split(",").map((i=>Number(i))):this.center),this.constraints&&(i.constraints=this.constraints),this.extent&&(i.extent=this.extent),this.floors&&(i.floors=this.floors),this.graphics&&(i.graphics=this.graphics),this.highlightOptions&&(i.highlightOptions=this.highlightOptions),this.map&&(i.map=this.map),this.navigation&&(i.navigation=this.navigation),this.padding&&(i.padding=this.padding),this.popup&&(i.popup=this.popup),void 0!==this.popupEnabled&&(i.popupEnabled=this.popupEnabled),void 0!==this.rotation&&(i.rotation=this.rotation),void 0!==this.scale&&(i.scale=this.scale),this.spatialReference&&(i.spatialReference=this.spatialReference),this.theme&&(i.theme=this.theme),this.timeExtent&&(i.timeExtent=this.timeExtent),this.timeZone&&(i.timeZone=this.timeZone),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.zoom&&(i.zoom=this.zoom),i}async _loadMap(){this.map||(this.map=await this._createMap());const i=this._createViewParams(),t=await c({...i});this.view=t,t.when((async()=>{this.toMap=t.toMap.bind(t),this.toScreen=t.toScreen.bind(t),await this._addWatchers()}))}_proxyEvents(){d(this,[this.view.on("click",(i=>{this.arcgisViewClick.emit(i)})),this.view.on("double-click",(i=>{this.arcgisViewDoubleClick.emit(i)})),this.view.on("drag",(i=>{this.arcgisViewDrag.emit(i)})),this.view.on("hold",(i=>{this.arcgisViewHold.emit(i)})),this.view.on("immediate-click",(i=>{this.arcgisViewImmediateClick.emit(i)})),this.view.on("immediate-double-click",(i=>{this.arcgisViewImmediateDoubleClick.emit(i)})),this.view.on("key-down",(i=>{this.arcgisViewKeyDown.emit(i)})),this.view.on("key-up",(i=>{this.arcgisViewKeyUp.emit(i)})),this.view.on("layerview-create",(i=>{this.arcgisViewLayerviewCreate.emit(i)})),this.view.on("layerview-create-error",(i=>{this.arcgisViewLayerviewCreateError.emit(i)})),this.view.on("layerview-destroy",(i=>{this.arcgisViewLayerviewDestroy.emit(i)})),this.view.on("mouse-wheel",(i=>{this.arcgisViewMouseWheel.emit(i)})),this.view.on("pointer-down",(i=>{this.arcgisViewPointerDown.emit(i)})),this.view.on("pointer-enter",(i=>{this.arcgisViewPointerEnter.emit(i)})),this.view.on("pointer-leave",(i=>{this.arcgisViewPointerLeave.emit(i)})),this.view.on("pointer-move",(i=>{this.arcgisViewPointerMove.emit(i)})),this.view.on("pointer-up",(i=>{this.arcgisViewPointerUp.emit(i)}))])}async _updateMap(){if(this.view?.map){this.view.map.destroy();const i=await this._createMap();this.view.map=i}}get _hostElement(){return h(this)}static get watchers(){return{background:["backgroundWatcher"],basemap:["basemapWatcher"],center:["centerWatcher"],constraints:["constraintsWatcher"],extent:["extentWatcher"],floors:["floorsWatcher"],graphics:["graphicsWatcher"],highlightOptions:["highlightOptionsWatcher"],itemId:["itemIdWatcher"],map:["mapWatcher"],navigation:["navigationWatcher"],padding:["paddingWatcher"],popup:["popupWatcher"],popupEnabled:["popupEnabledWatcher"],resizeAlign:["resizeAlignWatcher"],rotation:["rotationWatcher"],scale:["scaleWatcher"],spatialReference:["spatialReferenceWatcher"],theme:["themeWatcher"],timeExtent:["timeExtentWatcher"],timeZone:["timeZoneWatcher"],viewpoint:["viewpointWatcher"],zoom:["zoomWatcher"]}}};g.style=".arcgis-map{padding:0;margin:0;height:100%;width:100%}";export{W as arcgis_basemap_gallery,g as arcgis_map}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{p as h,q as a,i as r}from"./p-08b9f923.js";import{r as o,i as c,c as n,a as l}from"./p-af72e854.js";import{o as v}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisDirectionsReady=i(this,"arcgisDirectionsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.apiKey=void 0,this.icon=void 0,this.routeLayerItemId=void 0,this.lastRoute=void 0,this.layer=void 0,this.maxStops=50,this.searchProperties=void 0,this.unit=void 0,this.useDefaultRouteLayer=!0,this.visibleElementsLayerDetails=!0,this.visibleElementsSaveAsButton=!0,this.visibleElementsSaveButton=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}apiKeyWatcher(t){t&&this.widget&&(this.widget.apiKey=t)}iconWatcher(t){t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}routeLayerItemIdWatcher(t){c(t)?(this.view?.map.remove(this.layer),this.useDefaultRouteLayer&&h({}).then((t=>{this.layer=t}))):t&&this.widget&&h({portalItem:{id:t}}).then((t=>{this.layer=t}))}layerWatcher(t,i){i&&this.view?.map.remove(i),t&&this.widget?(this.widget.layer=t,this.view?.map.add(this.layer)):t||(this.widget.layer=null)}maxStopsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxStops=t)}searchPropertiesWatcher(t){this.widget&&(this.widget.searchProperties=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}visibleElementsLayerDetailsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,layerDetails:t})}visibleElementsSaveAsButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,saveAsButton:t})}visibleElementsSaveButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,saveButton:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this.layer&&this.widget.view.map.add(this.layer))}async getDirections(){return await(this.widget?.getDirections())}async save(){return await(this.widget?.save())}async saveAs(t,i){return await(this.widget?.saveAs(t,i))}async zoomToRoute(){this.widget?.zoomToRoute()}async componentDidLoad(){const t=await this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDirectionsReady.emit(),n(this)}disconnectedCallback(){v(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await r();l(this,t((()=>this.widget.lastRoute),(t=>this.lastRoute=t),{initial:!0}))}async _createParams(){const t={};return t.visibleElements={layerDetails:this.visibleElementsLayerDetails,saveAsButton:this.visibleElementsSaveAsButton,saveButton:this.visibleElementsSaveButton},this.view&&(t.view=this.view),this.apiKey&&(t.apiKey=this.apiKey),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.routeLayerItemId?(t.layer=await h({portalItem:{id:this.routeLayerItemId}}),this.layer=t.layer):this.layer?(t.layer=this.layer,this.layer=t.layer):this.useDefaultRouteLayer&&(t.layer=await h({}),this.layer=t.layer),void 0!==this.layer&&this.view?.map.add(this.layer),void 0!==this.maxStops&&(t.maxStops=this.maxStops),this.searchProperties&&(t.searchProperties=this.searchProperties),this.unit&&(t.unit=this.unit),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],apiKey:["apiKeyWatcher"],icon:["iconWatcher"],routeLayerItemId:["routeLayerItemIdWatcher"],layer:["layerWatcher"],maxStops:["maxStopsWatcher"],searchProperties:["searchPropertiesWatcher"],unit:["unitWatcher"],visibleElementsLayerDetails:["visibleElementsLayerDetailsWatcher"],visibleElementsSaveAsButton:["visibleElementsSaveAsButtonWatcher"],visibleElementsSaveButton:["visibleElementsSaveButtonWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directions}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,c as t,h as i,g as s}from"./p-
|
|
6
|
+
import{r as e,c as t,h as i,g as s}from"./p-cf115433.js";import{x as h,y as l,i as n}from"./p-08b9f923.js";import{r as a,i as o,c as r,a as c}from"./p-af72e854.js";import{o as m}from"./p-e54e0ed6.js";const d=class{constructor(i){e(this,i),this.arcgisFeatureTableReady=t(this,"arcgisFeatureTableReady",7),this.featureTableSelectionChange=t(this,"featureTableSelectionChange",7),this._watchHandles=[],this.referenceElement=void 0,this.activeFilters=void 0,this.activeSortOrders=[],this.attachmentsEnabled=!1,this.autoRefreshEnabled=!0,this.columnReorderingEnabled=!0,this.columns=void 0,this.editingEnabled=!1,this.filterGeometry=void 0,this.hiddenFields=!0,this.highlightEnabled=!0,this.highlightIds=void 0,this.layer=void 0,this.menu=void 0,this.menuConfig=void 0,this.multiSortEnabled=!1,this.pageSize=50,this.returnGeometryEnabled=!1,this.state=void 0,this.tableTemplate=void 0,this.timeZone=void 0,this.itemId=void 0,this.url=void 0,this.visibleElementsHeader=!0,this.visibleElementsMenu=!0,this.visibleElementsSelectionColumn=!0,this.visibleElementsColumnMenus=!0,this.visibleElementsMenuItemsClearSelection=!0,this.visibleElementsMenuItemsDeleteSelection=!0,this.visibleElementsMenuItemsRefreshData=!0,this.visibleElementsMenuItemsSelectedRecordsShowAllToggle=!0,this.visibleElementsMenuItemsToggleColumns=!0,this.visibleElementsMenuItemsZoomToSelection=!0,this.view=void 0,this.widget=void 0}referenceElementWatcher(e){a(this,e)}attachmentsEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.attachmentsEnabled=e)}autoRefreshEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.autoRefreshEnabled=e)}columnReorderingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.columnReorderingEnabled=e)}editingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.editingEnabled=e)}filterGeometryWatcher(e){e&&this.widget&&(this.widget.filterGeometry=e)}hiddenFieldsWatcher(e){e&&this.widget&&(this.widget.hiddenFields=e)}highlightEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.highlightEnabled=e)}highlightIdsWatcher(e){e&&this.widget&&(this.widget.highlightIds=e)}layerWatcher(e){e&&this.widget?this.widget.layer=e:e||(this.widget.layer=null)}menuConfigWatcher(e){e&&this.widget&&(this.widget.menuConfig=e)}multiSortEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.multiSortEnabled=e)}pageSizeWatcher(e){void 0!==e&&this.widget&&(this.widget.pageSize=e)}returnGeometryEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.returnGeometryEnabled=e)}tableTemplateWatcher(e){e&&this.widget&&(this.widget.tableTemplate=e)}timeZoneWatcher(e){this.widget&&(this.widget.timeZone=e)}async itemIdWatcher(e,t){if(o(e))this.layer=null;else if(e&&e!==t){const t=await h({portalItem:{id:e}});this.layer=t}}async urlWatcher(e,t){if(e&&e!==t){const t=await h({url:e});this.layer=t}}visibleElementsHeaderWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,header:e})}visibleElementsMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menu:e})}visibleElementsSelectionColumnWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionColumn:e})}visibleElementsColumnMenusWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,columnMenus:e})}visibleElementsMenuItemsClearSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,clearSelection:e}})}visibleElementsMenuItemsDeleteSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,deleteSelection:e}})}visibleElementsMenuItemsRefreshDataWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,refreshData:e}})}visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,selectedRecordsShowAllToggle:e}})}visibleElementsMenuItemsToggleColumnsWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,toggleColumns:e}})}visibleElementsMenuItemsZoomToSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,zoomToSelection:e}})}viewWatcher(e){void 0!==e&&this.widget&&(this.widget.view=e)}async clearSelectionFilter(){this.widget?.clearSelectionFilter()}async deleteSelection(e){await(this.widget?.deleteSelection(e))}async filterBySelection(){this.widget?.filterBySelection()}async findColumn(e){return this.widget?.findColumn(e)}async hideColumn(e){this.widget?.hideColumn(e)}async refresh(){await(this.widget?.refresh())}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}async componentDidLoad(){const e=await this._createParams(),t=await l(e);this.widget=t,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeatureTableReady.emit(),r(this)}disconnectedCallback(){m(this)}render(){return i("div",{class:"arcgis-feature-table",ref:e=>this.childElem=e})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:e}=await n();c(this,e((()=>this.widget.activeFilters),(e=>this.activeFilters=e),{initial:!0})),c(this,e((()=>this.widget.activeSortOrders),(e=>this.activeSortOrders=e),{initial:!0})),c(this,e((()=>this.widget.columns),(e=>this.columns=e),{initial:!0})),c(this,e((()=>this.widget.menu),(e=>this.menu=e),{initial:!0})),c(this,e((()=>this.widget.state),(e=>this.state=e),{initial:!0}))}async _createParams(){const e={};return e.visibleElements={header:this.visibleElementsHeader,menu:this.visibleElementsMenu,selectionColumn:this.visibleElementsSelectionColumn,columnMenus:this.visibleElementsColumnMenus,menuItems:{clearSelection:this.visibleElementsMenuItemsClearSelection,deleteSelection:this.visibleElementsMenuItemsDeleteSelection,refreshData:this.visibleElementsMenuItemsRefreshData,selectedRecordsShowAllToggle:this.visibleElementsMenuItemsSelectedRecordsShowAllToggle,toggleColumns:this.visibleElementsMenuItemsToggleColumns,zoomToSelection:this.visibleElementsMenuItemsZoomToSelection}},this.view&&(e.view=this.view),void 0!==this.attachmentsEnabled&&(e.attachmentsEnabled=this.attachmentsEnabled),void 0!==this.autoRefreshEnabled&&(e.autoRefreshEnabled=this.autoRefreshEnabled),void 0!==this.columnReorderingEnabled&&(e.columnReorderingEnabled=this.columnReorderingEnabled),void 0!==this.editingEnabled&&(e.editingEnabled=this.editingEnabled),void 0!==this.filterGeometry&&(e.filterGeometry=this.filterGeometry),void 0!==this.hiddenFields&&(e.hiddenFields=this.hiddenFields),void 0!==this.highlightEnabled&&(e.highlightEnabled=this.highlightEnabled),void 0!==this.highlightIds&&(e.highlightIds=this.highlightIds),void 0!==this.menuConfig&&(e.menuConfig=this.menuConfig),void 0!==this.multiSortEnabled&&(e.multiSortEnabled=this.multiSortEnabled),void 0!==this.pageSize&&(e.pageSize=this.pageSize),void 0!==this.tableTemplate&&(e.tableTemplate=this.tableTemplate),void 0!==this.timeZone&&(e.timeZone=this.timeZone),void 0!==this.layer?e.layer=this.layer:this.url?e.layer=await h({url:this.url}):this.itemId&&(e.layer=await h({portalItem:{id:this.itemId}})),e}_proxyEvents(){this.widget?.highlightIds.on("change",(e=>this.featureTableSelectionChange.emit(e)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],attachmentsEnabled:["attachmentsEnabledWatcher"],autoRefreshEnabled:["autoRefreshEnabledWatcher"],columnReorderingEnabled:["columnReorderingEnabledWatcher"],editingEnabled:["editingEnabledWatcher"],filterGeometry:["filterGeometryWatcher"],hiddenFields:["hiddenFieldsWatcher"],highlightEnabled:["highlightEnabledWatcher"],highlightIds:["highlightIdsWatcher"],layer:["layerWatcher"],menuConfig:["menuConfigWatcher"],multiSortEnabled:["multiSortEnabledWatcher"],pageSize:["pageSizeWatcher"],returnGeometryEnabled:["returnGeometryEnabledWatcher"],tableTemplate:["tableTemplateWatcher"],timeZone:["timeZoneWatcher"],itemId:["itemIdWatcher"],url:["urlWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsMenu:["visibleElementsMenuWatcher"],visibleElementsSelectionColumn:["visibleElementsSelectionColumnWatcher"],visibleElementsColumnMenus:["visibleElementsColumnMenusWatcher"],visibleElementsMenuItemsClearSelection:["visibleElementsMenuItemsClearSelectionWatcher"],visibleElementsMenuItemsDeleteSelection:["visibleElementsMenuItemsDeleteSelectionWatcher"],visibleElementsMenuItemsRefreshData:["visibleElementsMenuItemsRefreshDataWatcher"],visibleElementsMenuItemsSelectedRecordsShowAllToggle:["visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher"],visibleElementsMenuItemsToggleColumns:["visibleElementsMenuItemsToggleColumnsWatcher"],visibleElementsMenuItemsZoomToSelection:["visibleElementsMenuItemsZoomToSelectionWatcher"],view:["viewWatcher"]}}};d.style=".arcgis-feature-table{width:100%;height:100%}";export{d as arcgis_feature_table}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{u as h,i as n}from"./p-08b9f923.js";import{r as a,c as r,a as o}from"./p-af72e854.js";import{o as l}from"./p-e54e0ed6.js";const c=class{constructor(s){t(this,s),this.arcgisElevationProfileReady=i(this,"arcgisElevationProfileReady",7),this._watchHandles=[],this.referenceElement=void 0,this.effectiveUnits=void 0,this.highlightEnabled=!0,this.hoveredChartPosition=void 0,this.icon=void 0,this.input=void 0,this.profiles=void 0,this.progress=void 0,this.state="disabled",this.unit=void 0,this.uniformChartScaling=void 0,this.unitOptions=void 0,this.visibleElementsLegend=!0,this.visibleElementsChart=!0,this.visibleElementsClearButton=!0,this.visibleElementsSettingsButton=!0,this.visibleElementsSketchButton=!0,this.visibleElementsSelectButton=!0,this.visibleElementsUnitSelector=!0,this.visibleElementsUniformChartScalingToggle=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}highlightEnabledWatcher(t){this.widget&&(this.widget.viewModel.highlightEnabled=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}inputWatcher(t){t&&this.widget&&(this.widget.input=t)}profilesWatcher(t){t&&this.widget&&(this.widget.profiles=t)}unitWatcher(t){t&&this.widget&&(this.widget.unit=t)}uniformChartScalingWatcher(t){this.widget&&(this.widget.viewModel.uniformChartScaling=t)}unitOptionsWatcher(t){t&&this.widget&&(this.widget.unitOptions=t)}visibleElementsLegendWatcher(t){void 0!==t&&this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,legend:t})}visibleElementsChartWatcher(t){void 0!==t&&this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,chart:t})}visibleElementsClearButtonWatcher(t){void 0!==t&&this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,clearButton:t})}visibleElementsSettingsButtonWatcher(t){void 0!==t&&this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,settingsButton:t})}visibleElementsSketchButtonWatcher(t){void 0!==t&&this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,sketchButton:t})}visibleElementsSelectButtonWatcher(t){void 0!==t&&this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectButton:t})}visibleElementsUnitSelectorWatcher(t){void 0!==t&&this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,unitSelector:t})}visibleElementsUniformChartScalingToggleWatcher(t){void 0!==t&&this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,uniformChartScalingToggle:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._setViewModelParams(),await this._addWatchers(),this._addContainer(),this.arcgisElevationProfileReady.emit(),r(this)}disconnectedCallback(){l(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t,whenOnce:i}=await n();o(this,[t((()=>this.widget.input),(()=>this.input=this.widget.input),{initial:!0}),t((()=>this.widget.viewModel.effectiveUnits),(()=>this.effectiveUnits=this.widget.viewModel.effectiveUnits),{initial:!0}),t((()=>this.widget.viewModel.hoveredChartPosition),(()=>this.hoveredChartPosition=this.widget.viewModel.hoveredChartPosition),{initial:!0}),t((()=>this.widget.viewModel.progress),(()=>this.progress=this.widget.viewModel.progress),{initial:!0}),t((()=>this.widget.viewModel.state),(()=>this.state=this.widget.viewModel.state),{initial:!0})]),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={};return t.visibleElements={legend:this.visibleElementsLegend,chart:this.visibleElementsChart,clearButton:this.visibleElementsClearButton,settingsButton:this.visibleElementsSettingsButton,sketchButton:this.visibleElementsSketchButton,selectButton:this.visibleElementsSelectButton,unitSelector:this.visibleElementsUnitSelector,uniformChartScalingToggle:this.visibleElementsUniformChartScalingToggle},this.view&&(t.view=this.view),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.input&&(t.input=this.input),this.profiles&&(t.profiles=this.profiles),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}_setViewModelParams(){const t={};void 0!==this.highlightEnabled&&(t.highlightEnabled=this.highlightEnabled),void 0!==this.uniformChartScaling&&(t.uniformChartScaling=this.uniformChartScaling),this.widget.viewModel.set(t)}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],highlightEnabled:["highlightEnabledWatcher"],icon:["iconWatcher"],input:["inputWatcher"],profiles:["profilesWatcher"],unit:["unitWatcher"],uniformChartScaling:["uniformChartScalingWatcher"],unitOptions:["unitOptionsWatcher"],visibleElementsLegend:["visibleElementsLegendWatcher"],visibleElementsChart:["visibleElementsChartWatcher"],visibleElementsClearButton:["visibleElementsClearButtonWatcher"],visibleElementsSettingsButton:["visibleElementsSettingsButtonWatcher"],visibleElementsSketchButton:["visibleElementsSketchButtonWatcher"],visibleElementsSelectButton:["visibleElementsSelectButtonWatcher"],visibleElementsUnitSelector:["visibleElementsUnitSelectorWatcher"],visibleElementsUniformChartScalingToggle:["visibleElementsUniformChartScalingToggleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_elevation_profile}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
+
* v4.29.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as i,h as t,g as s}from"./p-cf115433.js";import{O as a,i as h}from"./p-08b9f923.js";import{r as c,c as r,a as n}from"./p-af72e854.js";import{o as l}from"./p-e54e0ed6.js";const o=class{constructor(t){e(this,t),this.arcgisScaleRangeSliderReady=i(this,"arcgisScaleRangeSliderReady",7),this._watchHandles=[],this.referenceElement=void 0,this.disabled=!1,this.layer=void 0,this.maxScale=void 0,this.maxScaleLimit=void 0,this.minScale=void 0,this.minScaleLimit=void 0,this.mode="range",this.region="US",this.visibleElementsPreview=!0,this.visibleElementsScaleMenusMinScaleMenu=!0,this.visibleElementsScaleMenusMaxScaleMenu=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(e){c(this,e)}disabledWatcher(e,i){this.widget&&e!==i&&(this.widget.disabled=e)}layerWatcher(e){this.widget&&(this.widget.layer=e)}maxScaleWatcher(e){void 0!==e&&this.widget&&(this.widget.maxScale=e)}maxScaleLimitWatcher(e){void 0!==e&&this.widget&&(this.widget.maxScaleLimit=e)}minScaleWatcher(e){void 0!==e&&this.widget&&(this.widget.minScale=e)}minScaleLimitWatcher(e){void 0!==e&&this.widget&&(this.widget.minScaleLimit=e)}modeWatcher(e){this.widget&&(this.widget.mode=e)}regionWatcher(e){this.widget&&(this.widget.region=e)}visibleElementsPreviewWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,preview:e})}visibleElementsScaleMenusMinScaleMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,minScaleMenu:e}})}visibleElementsScaleMenusMaxScaleMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,maxScaleMenu:e}})}positionWatcher(e){void 0!==e&&this.widget&&this.view.ui.move(this.childElem,e)}viewWatcher(e){void 0!==e&&this.widget&&(this.widget.view=e)}async componentDidLoad(){const e=this._createParams(),i=await a(e);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisScaleRangeSliderReady.emit(),r(this)}disconnectedCallback(){l(this)}render(){return t("div",{ref:e=>this.childElem=e})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:e}=await h();n(this,e((()=>this.widget?.disabled),(e=>this.disabled=e)))}_createParams(){const e={};return e.visibleElements={preview:this.visibleElementsPreview,scaleMenus:{minScaleMenu:this.visibleElementsScaleMenusMinScaleMenu,maxScaleMenu:this.visibleElementsScaleMenusMaxScaleMenu}},this.layer&&(e.layer=this.layer),void 0!==this.maxScale&&(e.maxScale=this.maxScale),void 0!==this.minScale&&(e.minScale=this.minScale),void 0!==this.maxScaleLimit&&(e.maxScaleLimit=this.maxScaleLimit),void 0!==this.minScaleLimit&&(e.minScaleLimit=this.minScaleLimit),this.mode&&(e.mode=this.mode),this.region&&(e.region=this.region),this.view&&(e.view=this.view),e}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],disabled:["disabledWatcher"],layer:["layerWatcher"],maxScale:["maxScaleWatcher"],maxScaleLimit:["maxScaleLimitWatcher"],minScale:["minScaleWatcher"],minScaleLimit:["minScaleLimitWatcher"],mode:["modeWatcher"],region:["regionWatcher"],visibleElementsPreview:["visibleElementsPreviewWatcher"],visibleElementsScaleMenusMinScaleMenu:["visibleElementsScaleMenusMinScaleMenuWatcher"],visibleElementsScaleMenusMaxScaleMenu:["visibleElementsScaleMenusMaxScaleMenuWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="arcgis-scale-range-slider{}";export{o as arcgis_scale_range_slider}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as a}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as a}from"./p-cf115433.js";import{E as h}from"./p-08b9f923.js";import{c as e}from"./p-af72e854.js";import{o as r}from"./p-e54e0ed6.js";const o=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.average=void 0,this.barCreatedFunction=void 0,this.bins=void 0,this.dataLineCreatedFunction=void 0,this.dataLines=void 0,this.excludedBarColor=void 0,this.includedBarColor=void 0,this.labelFormatFunction=void 0,this.max=0,this.min=0,this.precision=void 0,this.rangeType=void 0,this.standardDeviation=void 0,this.standardDeviationCount=void 0,this.values=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}averageWatcher(t){this.widget&&(this.widget.average=t)}barCreatedFunctionWatcher(t){this.widget&&(this.widget.barCreatedFunction=t)}binsWatcher(t){this.widget&&(this.widget.bins=t)}dataLineCreatedFunctionWatcher(t){this.widget&&(this.widget.dataLineCreatedFunction=t)}dataLinesWatcher(t){this.widget&&(this.widget.dataLines=t)}excludedBarColorWatcher(t){this.widget&&(this.widget.excludedBarColor=t)}includedBarColorWatcher(t){this.widget&&(this.widget.includedBarColor=t)}labelFormatFunctionWatcher(t){this.widget&&(this.widget.labelFormatFunction=t)}maxWatcher(t){this.widget&&(this.widget.max=Number(t))}minWatcher(t){this.widget&&(this.widget.min=Number(t))}precisionWatcher(t){this.widget&&(this.widget.precision=t)}rangeTypeWatcher(t){this.widget&&(this.widget.rangeType=t)}standardDeviationWatcher(t){this.widget&&(this.widget.standardDeviation=t)}standardDeviationCountWatcher(t){this.widget&&(this.widget.standardDeviationCount=t)}valuesWatcher(t){this.widget&&(this.widget.values=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),e(this)}disconnectedCallback(){r(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem,min:this.min,max:this.max};return void 0!==this.average&&(t.average=this.average),this.barCreatedFunction&&(t.barCreatedFunction=this.barCreatedFunction),void 0!==this.bins&&(t.bins=this.bins),this.dataLineCreatedFunction&&(t.dataLineCreatedFunction=this.dataLineCreatedFunction),void 0!==this.dataLines&&(t.dataLines=this.dataLines),this.excludedBarColor&&(t.excludedBarColor=this.excludedBarColor),this.includedBarColor&&(t.includedBarColor=this.includedBarColor),this.labelFormatFunction&&(t.labelFormatFunction=this.labelFormatFunction),void 0!==this.precision&&(t.precision=this.precision),this.rangeType&&(t.rangeType=this.rangeType),void 0!==this.standardDeviation&&(t.standardDeviation=this.standardDeviation),void 0!==this.standardDeviationCount&&(t.standardDeviationCount=this.standardDeviationCount),void 0!==this.values&&(t.values=this.values),t}get el(){return a(this)}static get watchers(){return{average:["averageWatcher"],barCreatedFunction:["barCreatedFunctionWatcher"],bins:["binsWatcher"],dataLineCreatedFunction:["dataLineCreatedFunctionWatcher"],dataLines:["dataLinesWatcher"],excludedBarColor:["excludedBarColorWatcher"],includedBarColor:["includedBarColorWatcher"],labelFormatFunction:["labelFormatFunctionWatcher"],max:["maxWatcher"],min:["minWatcher"],precision:["precisionWatcher"],rangeType:["rangeTypeWatcher"],standardDeviation:["standardDeviationWatcher"],standardDeviationCount:["standardDeviationCountWatcher"],values:["valuesWatcher"]}}};o.style="arcgis-histogram-range-slider{}";export{o as arcgis_histogram_range_slider}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-
|
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-cf115433.js";import{a0 as h,i as r}from"./p-08b9f923.js";import{r as a,c,a as o}from"./p-af72e854.js";import{o as l}from"./p-e54e0ed6.js";const d=class{constructor(i){t(this,i),this.arcgisUtilityNetworkTraceReady=s(this,"arcgisUtilityNetworkTraceReady",7),this.utilityNetworkTraceAddFlag=s(this,"utilityNetworkTraceAddFlag",7),this.utilityNetworkTraceAddFlagComplete=s(this,"utilityNetworkTraceAddFlagComplete",7),this.utilityNetworkTraceAddFlagError=s(this,"utilityNetworkTraceAddFlagError",7),this.utilityNetworkTraceAddResultArea=s(this,"utilityNetworkTraceAddResultArea",7),this.utilityNetworkTraceRemoveResultArea=s(this,"utilityNetworkTraceRemoveResultArea",7),this._watchHandles=[],this.referenceElement=void 0,this.enableResultArea=!1,this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.resultAreaProperties=void 0,this.selectedTraces=[],this.selectOnComplete=!0,this.showGraphicsOnComplete=!0,this.showSelectionAttributes=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}enableResultAreaWatcher(t){this.widget&&(this.widget.enableResultArea=t)}defaultGraphicColorWatcher(t){this.widget&&(this.widget.defaultGraphicColor=t)}disabledWatcher(t,s){this.widget&&t!==s&&(this.widget.disabled=t)}flagsWatcher(t){this.widget&&(this.widget.flags=t)}gdbVersionWatcher(t){this.widget&&(this.widget.gdbVersion=t)}inputSettingsWatcher(t){this.widget&&(this.widget.inputSettings=t)}resultAreaPropertiesWatcher(t){this.widget&&(this.widget.resultAreaProperties=t)}selectedTracesWatcher(t){this.widget&&(this.widget.selectedTraces=t)}selectOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.selectOnComplete=t)}showGraphicsOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.showGraphicsOnComplete=t)}showSelectionAttributesWatcher(t){void 0!==t&&this.widget&&(this.widget.showSelectionAttributes=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async checkCanTrace(){await(this.widget?.checkCanTrace())}async confirmReset(){this.widget?.confirmReset()}async componentDidLoad(){const t=this._createParams(),s=await h(t);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisUtilityNetworkTraceReady.emit(),c(this)}disconnectedCallback(){l(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await r();o(this,t((()=>this.widget.disabled),(t=>this.disabled=t)))}_createParams(){const t={};return this.defaultGraphicColor&&(t.defaultGraphicColor=this.defaultGraphicColor),void 0!==this.enableResultArea&&(t.enableResultArea=this.enableResultArea),this.flags&&(t.flags=this.flags),this.gdbVersion&&(t.gdbVersion=this.gdbVersion),this.inputSettings&&(t.inputSettings=this.inputSettings),this.resultAreaProperties&&(t.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(t.selectedTraces=this.selectedTraces),void 0!==this.selectOnComplete&&(t.selectOnComplete=this.selectOnComplete),void 0!==this.showGraphicsOnComplete&&(t.showGraphicsOnComplete=this.showGraphicsOnComplete),void 0!==this.showSelectionAttributes&&(t.showSelectionAttributes=this.showSelectionAttributes),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("add-flag",(t=>this.utilityNetworkTraceAddFlag.emit(t))),this.widget.on("add-flag-complete",(t=>this.utilityNetworkTraceAddFlagComplete.emit(t))),this.widget.on("add-flag-error",(t=>this.utilityNetworkTraceAddFlagError.emit(t))),this.widget.on("add-result-area",(t=>this.utilityNetworkTraceAddResultArea.emit(t))),this.widget.on("remove-result-area",(t=>this.utilityNetworkTraceRemoveResultArea.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],enableResultArea:["enableResultAreaWatcher"],defaultGraphicColor:["defaultGraphicColorWatcher"],disabled:["disabledWatcher"],flags:["flagsWatcher"],gdbVersion:["gdbVersionWatcher"],inputSettings:["inputSettingsWatcher"],resultAreaProperties:["resultAreaPropertiesWatcher"],selectedTraces:["selectedTracesWatcher"],selectOnComplete:["selectOnCompleteWatcher"],showGraphicsOnComplete:["showGraphicsOnCompleteWatcher"],showSelectionAttributes:["showSelectionAttributesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_utility_network_trace}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
+
* v4.29.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as t,h as s,g as r}from"./p-cf115433.js";import{r as i,c as o}from"./p-af72e854.js";import{o as a}from"./p-e54e0ed6.js";const c=class{constructor(s){e(this,s),this.placementReady=t(this,"placementReady",7),this.referenceElement=void 0,this.view=void 0,this.position="bottom-left"}referenceElementWatcher(e){i(this,e)}positionWatcher(e){void 0!==e&&this.view.ui.move(this.childElem,e)}async componentDidLoad(){this.placementReady.emit({ready:!0}),o(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:e=>this.childElem=e},s("slot",null))}get el(){return r(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"]}}};c.style="arcgis-placement{}";export{c as arcgis_placement}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as h}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as h}from"./p-cf115433.js";import{Z as e,i as a}from"./p-08b9f923.js";import{r as o,c as r,a as c}from"./p-af72e854.js";import{o as n}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisTimeSliderReady=i(this,"arcgisTimeSliderReady",7),this.timeSliderTriggerAction=i(this,"timeSliderTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.actions=void 0,this.disabled=!1,this.effectiveStops=void 0,this.fullTimeExtent=void 0,this.layout="auto",this.loop=!1,this.mode="time-window",this.playRate=1e3,this.stops={count:10},this.tickConfigs=void 0,this.timeExtent=void 0,this.timeVisible=!1,this.timeZone=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}actionsWatcher(t){this.widget&&(this.widget.actions=t)}disabledWatcher(t,i){this.widget&&t!==i&&(this.widget.disabled=t)}fullTimeExtentWatcher(t){this.widget&&(this.widget.fullTimeExtent=t)}layoutWatcher(t){this.widget&&(this.widget.layout=t)}loopWatcher(t){void 0!==t&&this.widget&&(this.widget.loop=t)}modeWatcher(t){this.widget&&(this.widget.mode=t)}playRateWatcher(t){void 0!==t&&this.widget&&(this.widget.playRate=t)}stopsWatcher(t){this.widget&&(this.widget.stops=t)}tickConfigsWatcher(t){this.widget&&(this.widget.tickConfigs=t)}timeExtentWatcher(t){this.widget&&(this.widget.timeExtent=t)}timeVisibleWatcher(t){void 0!==t&&this.widget&&(this.widget.timeVisible=t)}timeZoneWatcher(t){this.widget&&(this.widget.timeZone=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}async componentDidLoad(){const t=this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisTimeSliderReady.emit(),r(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();c(this,[t((()=>this.widget.effectiveStops),(t=>this.effectiveStops=t),{initial:!0}),t((()=>this.widget.disabled),(t=>this.disabled=t))])}_createParams(){const t={};return void 0!==this.actions&&(t.actions=this.actions),void 0!==this.fullTimeExtent&&(t.fullTimeExtent=this.fullTimeExtent),void 0!==this.layout&&(t.layout=this.layout),void 0!==this.loop&&(t.loop=this.loop),void 0!==this.mode&&(t.mode=this.mode),void 0!==this.playRate&&(t.playRate=this.playRate),void 0!==this.stops&&(t.stops=this.stops),void 0!==this.tickConfigs&&(t.tickConfigs=this.tickConfigs),void 0!==this.timeExtent&&(t.timeExtent=this.timeExtent),void 0!==this.timeVisible&&(t.timeVisible=this.timeVisible),this.timeZone&&(t.timeZone=this.timeZone),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget?.on("trigger-action",(t=>this.timeSliderTriggerAction.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],actions:["actionsWatcher"],disabled:["disabledWatcher"],fullTimeExtent:["fullTimeExtentWatcher"],layout:["layoutWatcher"],loop:["loopWatcher"],mode:["modeWatcher"],playRate:["playRateWatcher"],stops:["stopsWatcher"],tickConfigs:["tickConfigsWatcher"],timeExtent:["timeExtentWatcher"],timeVisible:["timeVisibleWatcher"],timeZone:["timeZoneWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="arcgis-time-slider{}";export{d as arcgis_time_slider}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as t,h as s,g as h}from"./p-
|
|
6
|
+
import{r as i,c as t,h as s,g as h}from"./p-cf115433.js";import{W as e,i as a}from"./p-08b9f923.js";import{c as r,a as n}from"./p-af72e854.js";import{o as d}from"./p-e54e0ed6.js";const o=class{constructor(s){i(this,s),this.sliderMaxChange=t(this,"sliderMaxChange",7),this.sliderMaxClick=t(this,"sliderMaxClick",7),this.sliderMinChange=t(this,"sliderMinChange",7),this.sliderMinClick=t(this,"sliderMinClick",7),this.sliderSegmentClick=t(this,"sliderSegmentClick",7),this.sliderSegmentDrag=t(this,"sliderSegmentDrag",7),this.sliderThumbChange=t(this,"sliderThumbChange",7),this.sliderThumbClick=t(this,"sliderThumbClick",7),this.sliderThumbDrag=t(this,"sliderThumbDrag",7),this.sliderTickClick=t(this,"sliderTickClick",7),this.sliderTrackClick=t(this,"sliderTrackClick",7),this.widgetReady=t(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.draggableSegmentsEnabled=void 0,this.effectiveMax=void 0,this.effectiveMin=void 0,this.effectiveSegmentElements=void 0,this.labelElements=void 0,this.labelInputsEnabled=void 0,this.labels=void 0,this.layout="horizontal",this.min=void 0,this.max=void 0,this.maxLabelElement=void 0,this.minLabelElement=void 0,this.precision=void 0,this.rangeLabelInputsEnabled=void 0,this.segmentElements=void 0,this.snapOnClickEnabled=void 0,this.syncedSegmentsEnabled=void 0,this.thumbElements=void 0,this.thumbsConstrained=void 0,this.tickConfigs=void 0,this.tickElements=void 0,this.trackElement=void 0,this.steps=void 0,this.values=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}draggableSegmentsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.draggableSegmentsEnabled=i)}effectiveMaxWatcher(i){void 0!==i&&this.widget&&(this.widget.effectiveMax=i)}effectiveMinWatcher(i){void 0!==i&&this.widget&&(this.widget.effectiveMin=i)}layoutWatcher(i){this.widget&&(this.widget.layout=i)}minWatcher(i){void 0!==i&&this.widget&&(this.widget.min=i)}maxWatcher(i){void 0!==i&&this.widget&&(this.widget.max=i)}precisionWatcher(i){void 0!==i&&this.widget&&(this.widget.precision=i)}rangeLabelInputsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.rangeLabelInputsEnabled=i)}snapOnClickEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.snapOnClickEnabled=i)}syncedSegmentsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.syncedSegmentsEnabled=i)}thumbsConstrainedWatcher(i){void 0!==i&&this.widget&&(this.widget.thumbsConstrained=i)}tickConfigsWatcher(i){this.widget&&(this.widget.tickConfigs=i)}stepsWatcher(i){this.widget&&(this.widget.steps=i)}valuesWatcher(i){"string"==typeof i&&(this.values=i.split(",").map((i=>Number(i)))),this.widget&&(this.widget.values=this.values)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){d(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await a();n(this,i((()=>this.widget.effectiveSegmentElements),(i=>this.effectiveSegmentElements=i),{initial:!0})),n(this,i((()=>this.widget.labelElements),(i=>this.labelElements=i),{initial:!0})),n(this,i((()=>this.widget.maxLabelElement),(i=>this.maxLabelElement=i),{initial:!0})),n(this,i((()=>this.widget.minLabelElement),(i=>this.minLabelElement=i),{initial:!0})),n(this,i((()=>this.widget.segmentElements),(i=>this.segmentElements=i),{initial:!0})),n(this,i((()=>this.widget.thumbElements),(i=>this.thumbElements=i),{initial:!0})),n(this,i((()=>this.widget.tickElements),(i=>this.tickElements=i),{initial:!0})),n(this,i((()=>this.widget.trackElement),(i=>this.trackElement=i),{initial:!0}))}_createParams(){const i={container:this.childElem,layout:this.layout};return void 0!==this.min&&(i.min=this.min),void 0!==this.max&&(i.max=this.max),this.steps&&("string"==typeof this.steps&&(this.steps=this.steps.split(",").map((i=>Number(i)))),i.steps=this.steps),this.values&&("string"==typeof this.values&&(this.values=this.values.split(",").map((i=>Number(i)))),i.values=this.values),i}get el(){return h(this)}static get watchers(){return{draggableSegmentsEnabled:["draggableSegmentsEnabledWatcher"],effectiveMax:["effectiveMaxWatcher"],effectiveMin:["effectiveMinWatcher"],layout:["layoutWatcher"],min:["minWatcher"],max:["maxWatcher"],precision:["precisionWatcher"],rangeLabelInputsEnabled:["rangeLabelInputsEnabledWatcher"],snapOnClickEnabled:["snapOnClickEnabledWatcher"],syncedSegmentsEnabled:["syncedSegmentsEnabledWatcher"],thumbsConstrained:["thumbsConstrainedWatcher"],tickConfigs:["tickConfigsWatcher"],steps:["stepsWatcher"],values:["valuesWatcher"]}}};o.style="arcgis-slider{min-width:200px;min-height:25px}";export{o as arcgis_slider}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,a as t,h as i,H as s,g as n}from"./p-
|
|
6
|
+
import{r as e,a as t,h as i,H as s,g as n}from"./p-cf115433.js";import{i as r,a3 as a}from"./p-08b9f923.js";function o(e,t){let i=e;for(;i;){if(i===t)return!0;if(!i.parentNode)return!1;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1}var c=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),l=new Map;async function h(e,t,i=""){let s=`${t}/${i}${e}.json`;if(l.has(s))return l.get(s);try{let n=await fetch(s);if(n.ok){let e=await n.json();return l.set(s,e),e}if("en"===e)return void l.set(s,void 0);let r=await h("en",t,i);return l.set(s,r),r}catch{return void l.set(s,void 0)}}var d=new WeakMap,v=new WeakMap,u=new WeakMap;async function f(e,t){let{lang:i,t9nLocale:s}=function(e){let t=function(e,t,i){return function(e,t){let i=e;for(;i;){let e=i.closest(t);if(e)return e;let s=i.getRootNode();if(s===document)return null;i=s.host}return null}(e,`[${t}]`)?.getAttribute(t)??i}(e,"lang",navigator.language||"en");if(c.has(t))return{lang:t,t9nLocale:t};let i=t.slice(0,2);return{lang:t,t9nLocale:c.has(i)?i:"en"}}(e._hostElement);if(i===e._lang&&s===e._t9nLocale||(i!==e._lang&&(e._lang=i),s===e._t9nLocale))return;let n=u.get(e);if(!n){let t=v.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),r=`${t}/${i}/t9n`,a=`${i}.t9n.`;n=await h(s,r,a)}s!==e._t9nLocale&&(e._t9nLocale=s,e._t9nStrings=n,await(t?.call(e)))}const w=class{constructor(t){e(this,t),this._watchHandles=[],this.label=void 0,this.position="top-right",this.view=void 0,this._lang="",this._t9nLocale="",this._t9nStrings=void 0,this.state=void 0}positionWatcher(e){void 0!==e&&this.viewModel&&this.view.ui.move(this._hostElement,e)}async componentDidLoad(){const{watch:e}=await r();this._watchHandles.push(e((()=>this.viewModel.state),(e=>{this.state=e})))}async componentWillLoad(){await async function(e,t,i){v.set(e,t),d.set(e,function(e,t,i=(()=>{})){if(!t||t.length<=0)return;let s=new MutationObserver((t=>{for(let s of t)o(e,s.target)&&i()}));return s.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),s}(e._hostElement,["lang"],(()=>{f(e,i).catch(console.error)}))),await f(e,i)}(this,t("./assets")),await this._checkForView(),this.viewModel=await a({layers:this.view.map.layers}),this.label=this.label?this.label:this._t9nStrings.label}disconnectedCallback(){var e;e=this,d.get(e)?.disconnect(),d.delete(e),v.delete(e),this._watchHandles.forEach((e=>{e.remove()})),this._watchHandles=[]}render(){const{_t9nStrings:e,label:t,viewModel:n,viewModel:{state:r,loadError:a}}=this,o=Array.from(this.viewModel.serviceNames,(([e,t])=>({url:e,name:t})));return i(s,null,i("calcite-flow",{ref:e=>{this.flowElement=e},class:"flow-main"},i("calcite-flow-item",{heading:t},i("calcite-panel",{class:"panel-services",loading:"loading"===r},o.map((s=>i("arcgis-version-management-service-item",{flowElement:this.flowElement,heading:t,serviceUrl:s.url,strings:e,viewModel:n,onVersionItemActionClickedEventWithServiceUrl:e=>{this._handleVersionItemActionClick(e,this.flowElement)},onVersionListActionClickedEvent:e=>{this._handleVersionListActionClick(e,this.flowElement)}}))),"disabled"===r?i("calcite-notice",{class:"notice",closable:!1,kind:"warning",open:!0,scale:"s",slot:"footer"},i("div",{slot:"message"},this._getLoadError(a))):void 0))))}async _checkForView(){const e=this._hostElement.closest("arcgis-map");e?.view&&(await e.view.map.load(),this.view=e.view,this.view.ui.add(this._hostElement,this.position))}_createVersionPropertiesFlow(e,t){const{flowElement:i,viewModel:s}=this,n=document.createElement("arcgis-version-management-version-properties");return n.flowElement=i,n.serviceUrl=e,n.strings=this._t9nStrings,n.versionInfo=t,n.viewModel=s,n.addEventListener("versionPropertiesSaveClickedEvent",(async e=>{const{serviceUrl:t,versionInfo:n}=e.detail,r=n.versionIdentifier.name,a=r.split(".").length>1?r.split(".")[1]:r,o=r.split(".").length>1?r.split(".")[0]:s.userForUrl.get(t);if(""===n.versionIdentifier.guid?await s.createVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionName:a}):await s.alterVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionIdentifier:{name:"",guid:n.versionIdentifier.guid},versionName:a}),"ready"===s.state){await s.getVersionInfos(t,!0);const e=s.versionInfos.get(t);i.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos=e,await i.back()}})),n}_getLoadError(e){const{_t9nStrings:t}=this;switch(e){case"no-feature-services":return t.loadErrors.noFeatureServices;case"no-layers-property":return t.loadErrors.noLayersProperty;default:return e}}async _handleVersionItemActionClick(e,t){const{actionType:i,serviceUrl:s,versionInfo:n}=e.detail;switch(i){case"changeVersion":await this._switchToVersion(s,n.versionIdentifier.name,n.versionIdentifier.guid);break;case"editVersion":t.append(this._createVersionPropertiesFlow(s,n))}}async _handleVersionListActionClick(e,t){const{actionType:i,serviceUrl:s}=e.detail;switch(i){case"newVersion":t.append(this._createVersionPropertiesFlow(s,void 0));break;case"refreshVersions":{const e=await this.viewModel.getVersionInfos(s,!0);this.flowElement.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos=e;break}}}async _switchToVersion(e,t,i){await this.viewModel.changeVersion(e,t,i)}static get assetsDirs(){return["assets"]}get _hostElement(){return n(this)}static get watchers(){return{position:["positionWatcher"]}}};w.style=".div-content{background-color:var(--calcite-ui-foreground-1);padding:0.75rem}.flow-main{width:330px}.notice{width:-webkit-fill-available}.panel-services{max-height:400px}.panel-versions{max-height:400px}";export{w as arcgis_version_management}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{A as h,i as a}from"./p-08b9f923.js";import{r as n,c as r,a as o}from"./p-af72e854.js";import{o as c}from"./p-e54e0ed6.js";const l=class{constructor(s){t(this,s),this.arcgisFeaturesReady=i(this,"arcgisFeaturesReady",7),this.featuresTriggerAction=i(this,"featuresTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.collapsed=!1,this.content=void 0,this.features=void 0,this.icon=void 0,this.promises=void 0,this.selectedFeature=void 0,this.selectedFeatureIndex=void 0,this.featuresTitle=void 0,this.visibleElementsActionBar=!0,this.visibleElementsCloseButton=!0,this.visibleElementsCollapseButton=!0,this.visibleElementsFeatureNavigation=!0,this.visibleElementsHeading=!0,this.visibleElementsSpinner=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}contentWatcher(t){this.widget&&(this.widget.content=t)}featuresWatcher(t){this.widget&&(this.widget.features=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}featuresTitleWatcher(t){this.widget&&(this.widget.title=t)}visibleElementsActionBarWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,actionBar:t})}visibleElementsCloseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,closeButton:t})}visibleElementsCollapseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,collapseButton:t})}visibleElementsFeatureNavigationWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,featureNavigation:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,heading:t})}visibleElementsSpinnerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,spinner:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async fetchFeatures(t,i){return await(this.widget?.fetchFeatures(t,i))}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async next(){return this.widget?.next()}async open(t){this.widget?.open(t)}async previous(){return this.widget?.previous()}async triggerAction(t){this.widget?.triggerAction(t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeaturesReady.emit(),r(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();o(this,t((()=>this.widget.collapsed),(t=>this.collapsed=t),{initial:!0})),o(this,t((()=>this.widget.promises),(t=>this.promises=t),{initial:!0})),o(this,t((()=>this.widget.selectedFeature),(t=>this.selectedFeature=t),{initial:!0})),o(this,t((()=>this.widget.selectedFeatureIndex),(t=>this.selectedFeatureIndex=t),{initial:!0}))}_createParams(){const t={};return t.visibleElements={actionBar:this.visibleElementsActionBar,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,featureNavigation:this.visibleElementsFeatureNavigation,heading:this.visibleElementsHeading,spinner:this.visibleElementsSpinner},this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),this.content&&(t.content=this.content),this.features&&(t.features=this.features),this.featuresTitle&&(t.title=this.featuresTitle),t}_proxyEvents(){this.widget.on("trigger-action",(t=>this.featuresTriggerAction.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],content:["contentWatcher"],features:["featuresWatcher"],icon:["iconWatcher"],featuresTitle:["featuresTitleWatcher"],visibleElementsActionBar:["visibleElementsActionBarWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsFeatureNavigation:["visibleElementsFeatureNavigationWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsSpinner:["visibleElementsSpinnerWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="arcgis-features{}";export{l as arcgis_features}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as i,g as s}from"./p-
|
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-cf115433.js";import{a4 as h}from"./p-08b9f923.js";import{r,c as a}from"./p-af72e854.js";import{o}from"./p-e54e0ed6.js";const c=class{constructor(i){t(this,i),this.arcgisWeatherReady=e(this,"arcgisWeatherReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.visibleElementsHeader=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}visibleElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,header:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,this._addContainer(),this.arcgisWeatherReady.emit(),a(this)}disconnectedCallback(){o(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={header:this.visibleElementsHeader},this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_weather}
|