@arcgis/map-components 4.29.2 → 4.29.3
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-02114e39.entry.js +6 -0
- package/dist/arcgis-map-components/{p-fb7a7356.entry.js → p-0a8b87b8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7c61545d.entry.js → p-0fc06989.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e61a71e8.entry.js → p-101f6659.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f73c74b7.js → p-19785e15.js} +1 -1
- package/dist/arcgis-map-components/{p-545ca2c5.entry.js → p-1a8200c4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ae8b6fd4.entry.js → p-2addbf7c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5bda19ad.entry.js → p-2e2af5c5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-261a550f.entry.js → p-35860767.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-caf9415a.entry.js → p-45c8802d.entry.js} +2 -2
- package/dist/arcgis-map-components/p-47e6c19f.entry.js +6 -0
- package/dist/arcgis-map-components/{p-63de5537.entry.js → p-4c29fba9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c5a2a7fd.entry.js → p-50fefc41.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d1625e27.entry.js → p-523d7f24.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-24aa6d94.entry.js → p-52edf7e3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b25223a6.entry.js → p-59d4a1ac.entry.js} +2 -2
- package/dist/arcgis-map-components/p-5a80178a.entry.js +6 -0
- package/dist/arcgis-map-components/{p-977dbf55.js → p-606f55b9.js} +1 -1
- package/dist/arcgis-map-components/{p-cdf57959.entry.js → p-65d25dde.entry.js} +2 -2
- package/dist/arcgis-map-components/p-739f0c9b.entry.js +6 -0
- package/dist/arcgis-map-components/{p-f0ac087d.entry.js → p-7e63b285.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cf91aa97.entry.js → p-7ee298cd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d4e42458.entry.js → p-7f837d3a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-912ae3b6.entry.js → p-80a29458.entry.js} +2 -2
- package/dist/arcgis-map-components/p-8e903518.entry.js +6 -0
- package/dist/arcgis-map-components/{p-f5884617.entry.js → p-a0f99f44.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-52489bcb.entry.js → p-a3f02ede.entry.js} +2 -2
- package/dist/arcgis-map-components/p-a586a48f.entry.js +6 -0
- package/dist/arcgis-map-components/{p-c494eb66.entry.js → p-a68a8db5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-dba80c00.entry.js → p-a9e34560.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e1311c80.entry.js → p-ac96e6ed.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ee8ab77f.entry.js → p-add8d527.entry.js} +2 -2
- package/dist/arcgis-map-components/p-b3266ab3.entry.js +6 -0
- package/dist/arcgis-map-components/{p-e3f0f492.js → p-b8864b7b.js} +1 -1
- package/dist/arcgis-map-components/{p-a2a12bdd.entry.js → p-bfbf4a9f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d6d634ed.entry.js → p-cba403d1.entry.js} +2 -2
- package/dist/arcgis-map-components/p-cf09f8e6.entry.js +6 -0
- package/dist/arcgis-map-components/{p-76695d6a.entry.js → p-d005362c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-176526bc.entry.js → p-d2a544d0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b5fb6b18.entry.js → p-d358c0c8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1b84e826.entry.js → p-d61cd2c0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a4e49953.entry.js → p-d8624b2c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-354a94ef.entry.js → p-db3ccf7d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f683821b.entry.js → p-de0b7cc9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2f4f6063.entry.js → p-e031328d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-37cd31b8.entry.js → p-e308cba2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-76ab535b.entry.js → p-e398ddcd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-24db40d4.entry.js → p-e4395d7d.entry.js} +2 -2
- package/dist/arcgis-map-components/p-e6234306.entry.js +6 -0
- package/dist/arcgis-map-components/{p-e6c7aaab.entry.js → p-e661f18c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-642c81ce.js → p-e71125e1.js} +1 -1
- package/dist/arcgis-map-components/{p-6151c7de.entry.js → p-e7debc97.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-efc7147e.entry.js → p-e97370cd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-694de826.entry.js → p-ead6dc2f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-382ca581.entry.js → p-eb219829.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1296d70b.entry.js → p-ec1f2b4e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4ef1408a.entry.js → p-f92ca7ea.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6fce6ef6.entry.js → p-fb1b0208.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9484abb9.entry.js → p-fb80be66.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b98092d4.entry.js → p-fb9a841a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cca0e657.entry.js → p-fc6179f0.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 +9 -7
- 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 +13 -6
- 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 +12 -9
- 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 +3 -3
- 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 +10 -7
- 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-84edb881.js → component-utils-e1066983.js} +1 -1
- package/dist/cjs/{disconnected-660b76ab.js → disconnected-2b76402f.js} +1 -1
- package/dist/cjs/{index-d6679071.js → index-382ffdf0.js} +1 -1
- package/dist/cjs/{index-f7d9294c.js → index-ce51f3a9.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- 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 +6 -4
- 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 +2 -2
- 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 +9 -6
- 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 +7 -4
- 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 +12 -5
- 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 +9 -7
- 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 +13 -6
- 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 +12 -9
- 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 +4 -4
- 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 +10 -7
- 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-e1b295ca.js → component-utils-cfde8469.js} +1 -1
- package/dist/esm/{disconnected-6c25fa91.js → disconnected-2427b13e.js} +1 -1
- package/dist/esm/{index-d08e0912.js → index-5ef8a625.js} +1 -1
- package/dist/esm/{index-3953c192.js → index-d2bcf99a.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +4 -4
- 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/dist/types/components/expand/expand.d.ts +1 -0
- package/package.json +7 -7
- package/dist/arcgis-map-components/p-272dd0c3.entry.js +0 -6
- package/dist/arcgis-map-components/p-80e8957f.entry.js +0 -6
- package/dist/arcgis-map-components/p-8f8851b7.entry.js +0 -6
- package/dist/arcgis-map-components/p-901c4b5e.entry.js +0 -6
- package/dist/arcgis-map-components/p-94f7ef8a.entry.js +0 -6
- package/dist/arcgis-map-components/p-a63b1ea9.entry.js +0 -6
- package/dist/arcgis-map-components/p-c42926ee.entry.js +0 -6
- package/dist/arcgis-map-components/p-ce68b15e.entry.js +0 -6
- package/dist/arcgis-map-components/p-fbc97586.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.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-642c81ce.js";import{$ as o}from"./p-e3f0f492.js";import{r as n,c}from"./p-f73c74b7.js";import{o as a}from"./p-977dbf55.js";const h=class{constructor(s){t(this,s),this.arcgisUtilityNetworkAssociationsReady=i(this,"arcgisUtilityNetworkAssociationsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.autoRefreshAssociations=!0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=!0,this.includeStructuralAttachmentAssociations=!0,this.maxAllowableAssociations=250,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}autoRefreshAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.autoRefreshAssociations=t)}connectivityAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.connectivityAssociationsLineSymbol=t)}includeConnectivityAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeConnectivityAssociations=t)}includeStructuralAttachmentAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=t)}maxAllowableAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociations=t)}maxAllowableAssociationsSliderMaxWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=t)}maxAllowableAssociationsSliderMinWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=t)}maxAllowableAssociationsSliderStepWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=t)}showArrowsConnectivityWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsConnectivity=t)}showArrowsStructuralAttachmentWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsStructuralAttachment=t)}showAssociationsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showAssociationsEnabled=t)}structuralAttachmentAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput: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 o(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkAssociationsReady.emit(),c(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},void 0!==this.autoRefreshAssociations&&(t.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(t.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(t.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(t.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(t.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(t.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],visibleElementsConnectivityAssociationsSettingsArrowsToggle:["visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher"],visibleElementsConnectivityAssociationsSettingsCapSelect:["visibleElementsConnectivityAssociationsSettingsCapSelectWatcher"],visibleElementsConnectivityAssociationsSettingsColorPicker:["visibleElementsConnectivityAssociationsSettingsColorPickerWatcher"],visibleElementsConnectivityAssociationsSettingsStylePicker:["visibleElementsConnectivityAssociationsSettingsStylePickerWatcher"],visibleElementsConnectivityAssociationsSettingsWidthInput:["visibleElementsConnectivityAssociationsSettingsWidthInputWatcher"],visibleElementsMaxAllowableAssociationsSlider:["visibleElementsMaxAllowableAssociationsSliderWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:["visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:["visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:["visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:["visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};h.style="arcgis-utility-network-associations{}";export{h as arcgis_utility_network_associations}
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e71125e1.js";import{$ as o}from"./p-b8864b7b.js";import{r as n,c}from"./p-19785e15.js";import{o as a}from"./p-606f55b9.js";const h=class{constructor(s){t(this,s),this.arcgisUtilityNetworkAssociationsReady=i(this,"arcgisUtilityNetworkAssociationsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.autoRefreshAssociations=!0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=!0,this.includeStructuralAttachmentAssociations=!0,this.maxAllowableAssociations=250,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}autoRefreshAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.autoRefreshAssociations=t)}connectivityAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.connectivityAssociationsLineSymbol=t)}includeConnectivityAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeConnectivityAssociations=t)}includeStructuralAttachmentAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=t)}maxAllowableAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociations=t)}maxAllowableAssociationsSliderMaxWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=t)}maxAllowableAssociationsSliderMinWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=t)}maxAllowableAssociationsSliderStepWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=t)}showArrowsConnectivityWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsConnectivity=t)}showArrowsStructuralAttachmentWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsStructuralAttachment=t)}showAssociationsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showAssociationsEnabled=t)}structuralAttachmentAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput: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 o(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkAssociationsReady.emit(),c(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},void 0!==this.autoRefreshAssociations&&(t.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(t.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(t.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(t.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(t.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(t.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],visibleElementsConnectivityAssociationsSettingsArrowsToggle:["visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher"],visibleElementsConnectivityAssociationsSettingsCapSelect:["visibleElementsConnectivityAssociationsSettingsCapSelectWatcher"],visibleElementsConnectivityAssociationsSettingsColorPicker:["visibleElementsConnectivityAssociationsSettingsColorPickerWatcher"],visibleElementsConnectivityAssociationsSettingsStylePicker:["visibleElementsConnectivityAssociationsSettingsStylePickerWatcher"],visibleElementsConnectivityAssociationsSettingsWidthInput:["visibleElementsConnectivityAssociationsSettingsWidthInputWatcher"],visibleElementsMaxAllowableAssociationsSlider:["visibleElementsMaxAllowableAssociationsSliderWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:["visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:["visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:["visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:["visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};h.style="arcgis-utility-network-associations{}";export{h as arcgis_utility_network_associations}
|
|
@@ -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.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as e,h as t,g as s}from"./p-
|
|
6
|
+
import{r as i,c as e,h as t,g as s}from"./p-e71125e1.js";import{O as a,i as h}from"./p-b8864b7b.js";import{r as c,c as r,a as n}from"./p-19785e15.js";import{o as l}from"./p-606f55b9.js";const o=class{constructor(t){i(this,t),this.arcgisScaleRangeSliderReady=e(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(i){c(this,i)}disabledWatcher(i,e){this.widget&&i!==e&&(this.widget.disabled=i)}layerWatcher(i){this.widget&&(this.widget.layer=i)}maxScaleWatcher(i){void 0!==i&&this.widget&&(this.widget.maxScale=i)}maxScaleLimitWatcher(i){void 0!==i&&this.widget&&(this.widget.maxScaleLimit=i)}minScaleWatcher(i){void 0!==i&&this.widget&&(this.widget.minScale=i)}minScaleLimitWatcher(i){void 0!==i&&this.widget&&(this.widget.minScaleLimit=i)}modeWatcher(i){this.widget&&(this.widget.mode=i)}regionWatcher(i){this.widget&&(this.widget.region=i)}visibleElementsPreviewWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,preview:i})}visibleElementsScaleMenusMinScaleMenuWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,minScaleMenu:i}})}visibleElementsScaleMenusMaxScaleMenuWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,maxScaleMenu: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(),e=await a(i);this.widget=e,await this._addWatchers(),this._addContainer(),this.arcgisScaleRangeSliderReady.emit(),r(this)}disconnectedCallback(){l(this)}render(){return t("div",{ref:i=>this.childElem=i})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:i}=await h();n(this,i((()=>this.widget?.disabled),(i=>this.disabled=i)))}_createParams(){const i={};return i.visibleElements={preview:this.visibleElementsPreview,scaleMenus:{minScaleMenu:this.visibleElementsScaleMenusMinScaleMenu,maxScaleMenu:this.visibleElementsScaleMenusMaxScaleMenu}},this.layer&&(i.layer=this.layer),void 0!==this.maxScale&&(i.maxScale=this.maxScale),void 0!==this.minScale&&(i.minScale=this.minScale),void 0!==this.maxScaleLimit&&(i.maxScaleLimit=this.maxScaleLimit),void 0!==this.minScaleLimit&&(i.minScaleLimit=this.minScaleLimit),this.mode&&(i.mode=this.mode),this.region&&(i.region=this.region),this.view&&(i.view=this.view),i}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}
|
|
@@ -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.3
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e71125e1.js";import{Y as h,i as r}from"./p-b8864b7b.js";import{r as a,c as l,a as o}from"./p-19785e15.js";import{o as n}from"./p-606f55b9.js";const c=class{constructor(s){t(this,s),this.arcgisTableListReady=i(this,"arcgisTableListReady",7),this.tableListTriggerAction=i(this,"tableListTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.icon=void 0,this.minDragEnabledItems=2,this.minFilterItems=10,this.selectedItems=void 0,this.selectionMode="none",this.listItemCreatedFunction=void 0,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}collapsedWatcher(t){this.widget&&this.widget.collapsed!==t&&(this.widget.collapsed=t)}dragEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.dragEnabled=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}minDragEnabledItemsWatcher(t){this.widget&&(this.widget.minDragEnabledItems=t)}minFilterItemsWatcher(t){this.widget&&(this.widget.minFilterItems=t)}selectedItemsWatcher(t){void 0!==t&&this.widget&&(this.widget.selectedItems=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}listItemCreatedFunctionWatcher(t){this.widget&&(this.widget.listItemCreatedFunction=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})}visibleElementsErrorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,errors:t})}visibleElementsFilterWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,filter:t})}visibleElementsFlowWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,flow:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,heading:t})}visibleElementsStatusIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,statusIndicators:t})}visibleElementsTemporaryTableIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,temporaryTableIndicators:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.map=t.map)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisTableListReady.emit(),l(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 r();o(this,[t((()=>this.widget.selectedItems),(t=>this.selectedItems=t)),t((()=>this.widget.collapsed),(t=>this.collapsed=t))])}_createParams(){const t={};return t.visibleElements={closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,errors:this.visibleElementsErrors,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,statusIndicators:this.visibleElementsStatusIndicators,temporaryTableIndicators:this.visibleElementsTemporaryTableIndicators},void 0!==this.collapsed&&(t.collapsed=this.collapsed),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.filterText&&(t.filterText=this.filterText),this.icon&&(t.icon=this.icon),this.listItemCreatedFunction&&(t.listItemCreatedFunction=this.listItemCreatedFunction),void 0!==this.minDragEnabledItems&&(t.minDragEnabledItems=this.minDragEnabledItems),void 0!==this.minFilterItems&&(t.minFilterItems=this.minFilterItems),this.selectedItems&&(t.selectedItems=this.selectedItems),this.selectionMode&&(t.selectionMode=this.selectionMode),this.view&&(t.map=this.view.map),t}_proxyEvents(){this.widget?.on("trigger-action",(t=>this.tableListTriggerAction.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],collapsed:["collapsedWatcher"],dragEnabled:["dragEnabledWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],filterText:["filterTextWatcher"],icon:["iconWatcher"],minDragEnabledItems:["minDragEnabledItemsWatcher"],minFilterItems:["minFilterItemsWatcher"],selectedItems:["selectedItemsWatcher"],selectionMode:["selectionModeWatcher"],listItemCreatedFunction:["listItemCreatedFunctionWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsErrors:["visibleElementsErrorsWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsStatusIndicators:["visibleElementsStatusIndicatorsWatcher"],visibleElementsTemporaryTableIndicators:["visibleElementsTemporaryTableIndicatorsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-table-list{}";export{c as arcgis_table_list}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{C as r}from"./p-b8864b7b.js";import{r as h,c as o}from"./p-19785e15.js";import{o as a}from"./p-606f55b9.js";const c=class{constructor(i){t(this,i),this.widgetReady=e(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.element=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}elementWatcher(t){this.widget&&(this.widget.element=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 r(t);this.widget=e,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){a(this)}render(){return i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.element&&(t.element=this.element),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],element:["elementWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_fullscreen}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{z as h}from"./p-b8864b7b.js";import{c as r}from"./p-19785e15.js";import{o}from"./p-606f55b9.js";const a=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.featureTemplatesSelect=i(this,"featureTemplatesSelect",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0,this.enableListScroll=void 0,this.filterFunction=void 0,this.filterText=void 0,this.groupBy=void 0,this.layers=void 0,this.selectionMode=void 0,this.visibleElements=void 0}enableListScrolWatcher(t){void 0!==t&&this.widget&&(this.widget.enableListScroll=t)}filterFunctionWatcher(t){this.widget&&(this.widget.filterFunction=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}groupByWatcher(t){this.widget&&(this.widget.groupBy=t)}layersWatcher(t){this.widget&&(this.widget.layers=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibleElementsWatcher(t){this.widget&&(this.widget.visibleElements=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){o(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};return void 0!==this.enableListScroll&&(t.enableListScroll=this.enableListScroll),this.filterFunction&&(t.filterFunction=this.filterFunction),this.filterText&&(t.filterText=this.filterText),this.groupBy&&(t.groupBy=this.groupBy),this.layers&&(t.layers=this.layers),void 0!==this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibleElements&&(t.visibleElements=this.visibleElements),t}_proxyEvents(){this.widget.on("select",(t=>this.featureTemplatesSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{enableListScroll:["enableListScrolWatcher"],filterFunction:["filterFunctionWatcher"],filterText:["filterTextWatcher"],groupBy:["groupByWatcher"],layers:["layersWatcher"],selectionMode:["selectionModeWatcher"],visibleElements:["visibleElementsWatcher"]}}};a.style="";export{a as arcgis_feature_templates}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{k as h,i as a}from"./p-b8864b7b.js";import{r,c as o,a as c}from"./p-19785e15.js";import{o as n}from"./p-606f55b9.js";const d=class{constructor(s){t(this,s),this.arcgisCompassReady=i(this,"arcgisCompassReady",7),this._watchHandles=[],this.referenceElement=void 0,this.orientation={x:0,y:0,z:0},this.icon=void 0,this.state="disabled",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}orientationWatcher(t,i){var s,e;this.widget&&((s=t).x!==(e=i).x||s.y!==e.y||s.z!==e.z)&&(this.widget.viewModel.orientation=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=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 reset(){this.widget?.reset()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this._setViewModelParams(),await this._addWatchers(),this.arcgisCompassReady.emit(),o(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.orientation),(t=>this.orientation=t)),t((()=>this.widget?.viewModel.state),(t=>this.state=t))])}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),t}_setViewModelParams(){this.widget.viewModel.set({orientation:this.orientation})}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],orientation:["orientationWatcher"],icon:["iconWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_compass}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{g as a,i as h}from"./p-b8864b7b.js";import{r,c as o,a as n}from"./p-19785e15.js";import{o as c}from"./p-606f55b9.js";const l=class{constructor(s){t(this,s),this.arcgisBasemapToggleReady=i(this,"arcgisBasemapToggleReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeBasemap=void 0,this.nextBasemap=void 0,this.visibleElementsTitle=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}nextBasemapWatcher(t){t&&this.widget&&(this.widget.nextBasemap=t)}visibleElementsTitleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,title: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 toggle(){return await(this.widget?.toggle())}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisBasemapToggleReady.emit(),o(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={visibleElements:{}};return this.nextBasemap&&(t.nextBasemap=this.nextBasemap),this.visibleElementsTitle&&(t.visibleElements.title=this.visibleElementsTitle),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await h();n(this,t((()=>this.widget.activeBasemap),(t=>this.activeBasemap=t),{initial:!0})),n(this,t((()=>this.widget.nextBasemap),(t=>this.nextBasemap=t),{initial:!0}))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],nextBasemap:["nextBasemapWatcher"],visibleElementsTitle:["visibleElementsTitleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_basemap_toggle}
|
|
@@ -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.3
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-e71125e1.js";import{a4 as h}from"./p-b8864b7b.js";import{r,c as a}from"./p-19785e15.js";import{o}from"./p-606f55b9.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}
|
|
@@ -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.3
|
|
5
5
|
*/
|
|
6
6
|
const t="define"in window&&"function"==typeof window.define&&"amd"in window.define;function i(t){return void 0!==t.default}async function a(t){return await new Promise((i=>window.require([t],(t=>{i(t)}))))}async function n(n){return new(await async function(){if(t)return await a("esri/layers/FeatureLayer");const n=await import("@arcgis/core/layers/FeatureLayer.js");return i(n)?n.default:n}())(n)}async function r(n){return new(await async function(){if(t)return await a("esri/layers/GraphicsLayer");const n=await import("@arcgis/core/layers/GraphicsLayer.js");return i(n)?n.default:n}())(n)}async function e(n){return new(await async function(){if(t)return await a("esri/layers/RouteLayer");const n=await import("@arcgis/core/layers/RouteLayer.js");return i(n)?n.default:n}())(n)}async function s(n){return new(await async function(){if(t)return await a("esri/views/MapView");const n=await import("@arcgis/core/views/MapView.js");return i(n)?n.default:n}())(n)}async function c(n){return new(await async function(){if(t)return await a("esri/views/SceneView");const n=await import("@arcgis/core/views/SceneView.js");return i(n)?n.default:n}())(n)}async function o(n){return new(await async function(){if(t)return await a("esri/WebMap");const n=await import("@arcgis/core/WebMap.js");return i(n)?n.default:n}())(n)}async function w(n){return new(await async function(){if(t)return await a("esri/WebScene");const n=await import("@arcgis/core/WebScene.js");return i(n)?n.default:n}())(n)}async function u(n){return new(await async function(){if(t)return await a("esri/widgets/AreaMeasurement2D");const n=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return i(n)?n.default:n}())(n)}async function g(n){return new(await async function(){if(t)return await a("esri/widgets/AreaMeasurement3D");const n=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return i(n)?n.default:n}())(n)}async function f(n){return new(await async function(){if(t)return await a("esri/widgets/Attachments");const n=await import("@arcgis/core/widgets/Attachments.js");return i(n)?n.default:n}())(n)}async function y(n){return new(await async function(){if(t)return await a("esri/widgets/BasemapGallery");const n=await import("@arcgis/core/widgets/BasemapGallery.js");return i(n)?n.default:n}())(n)}async function d(n){return new(await async function(){if(t)return await a("esri/widgets/BasemapLayerList");const n=await import("@arcgis/core/widgets/BasemapLayerList.js");return i(n)?n.default:n}())(n)}async function m(n){return new(await async function(){if(t)return await a("esri/widgets/BasemapToggle");const n=await import("@arcgis/core/widgets/BasemapToggle.js");return i(n)?n.default:n}())(n)}async function p(n){return new(await async function(){if(t)return await a("esri/widgets/Bookmarks");const n=await import("@arcgis/core/widgets/Bookmarks.js");return i(n)?n.default:n}())(n)}async function l(n){return new(await async function(){if(t)return await a("esri/widgets/BuildingExplorer");const n=await import("@arcgis/core/widgets/BuildingExplorer.js");return i(n)?n.default:n}())(n)}async function j(n){return new(await async function(){if(t)return await a("esri/widgets/Compass");const n=await import("@arcgis/core/widgets/Compass.js");return i(n)?n.default:n}())(n)}async function S(n){return new(await async function(){if(t)return await a("esri/widgets/CoordinateConversion");const n=await import("@arcgis/core/widgets/CoordinateConversion.js");return i(n)?n.default:n}())(n)}async function L(n){return new(await async function(){if(t)return await a("esri/widgets/Daylight");const n=await import("@arcgis/core/widgets/Daylight.js");return i(n)?n.default:n}())(n)}async function F(n){return new(await async function(){if(t)return await a("esri/widgets/DirectionalPad");const n=await import("@arcgis/core/widgets/DirectionalPad.js");return i(n)?n.default:n}())(n)}async function M(n){return new(await async function(){if(t)return await a("esri/widgets/Directions");const n=await import("@arcgis/core/widgets/Directions.js");return i(n)?n.default:n}())(n)}async function D(n){return new(await async function(){if(t)return await a("esri/widgets/DirectLineMeasurement3D");const n=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return i(n)?n.default:n}())(n)}async function T(n){return new(await async function(){if(t)return await a("esri/widgets/DistanceMeasurement2D");const n=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return i(n)?n.default:n}())(n)}async function h(n){return new(await async function(){if(t)return await a("esri/widgets/Editor");const n=await import("@arcgis/core/widgets/Editor.js");return i(n)?n.default:n}())(n)}async function k(n){return new(await async function(){if(t)return await a("esri/widgets/ElevationProfile");const n=await import("@arcgis/core/widgets/ElevationProfile.js");return i(n)?n.default:n}())(n)}async function V(n){return new(await async function(){if(t)return await a("esri/widgets/Expand");const n=await import("@arcgis/core/widgets/Expand.js");return i(n)?n.default:n}())(n)}async function v(n){return new(await async function(){if(t)return await a("esri/widgets/Feature");const n=await import("@arcgis/core/widgets/Feature.js");return i(n)?n.default:n}())(n)}async function B(n){return new(await async function(){if(t)return await a("esri/widgets/FeatureForm");const n=await import("@arcgis/core/widgets/FeatureForm.js");return i(n)?n.default:n}())(n)}async function P(n){return new(await async function(){if(t)return await a("esri/widgets/Features");const n=await import("@arcgis/core/widgets/Features.js");return i(n)?n.default:n}())(n)}async function b(n){return new(await async function(){if(t)return await a("esri/widgets/FeatureTable");const n=await import("@arcgis/core/widgets/FeatureTable.js");return i(n)?n.default:n}())(n)}async function A(n){return new(await async function(){if(t)return await a("esri/widgets/FeatureTemplates");const n=await import("@arcgis/core/widgets/FeatureTemplates.js");return i(n)?n.default:n}())(n)}async function C(n){return new(await async function(){if(t)return await a("esri/widgets/FloorFilter");const n=await import("@arcgis/core/widgets/FloorFilter.js");return i(n)?n.default:n}())(n)}async function E(n){return new(await async function(){if(t)return await a("esri/widgets/Fullscreen");const n=await import("@arcgis/core/widgets/Fullscreen.js");return i(n)?n.default:n}())(n)}async function N(n){return new(await async function(){if(t)return await a("esri/widgets/Histogram");const n=await import("@arcgis/core/widgets/Histogram.js");return i(n)?n.default:n}())(n)}async function U(n){return new(await async function(){if(t)return await a("esri/widgets/HistogramRangeSlider");const n=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return i(n)?n.default:n}())(n)}async function H(n){return new(await async function(){if(t)return await a("esri/widgets/Home");const n=await import("@arcgis/core/widgets/Home.js");return i(n)?n.default:n}())(n)}async function R(n){return new(await async function(){if(t)return await a("esri/widgets/LayerList");const n=await import("@arcgis/core/widgets/LayerList.js");return i(n)?n.default:n}())(n)}async function W(n){return new(await async function(){if(t)return await a("esri/widgets/Legend");const n=await import("@arcgis/core/widgets/Legend.js");return i(n)?n.default:n}())(n)}async function x(n){return new(await async function(){if(t)return await a("esri/widgets/LineOfSight");const n=await import("@arcgis/core/widgets/LineOfSight.js");return i(n)?n.default:n}())(n)}async function G(n){return new(await async function(){if(t)return await a("esri/widgets/Locate");const n=await import("@arcgis/core/widgets/Locate.js");return i(n)?n.default:n}())(n)}async function O(n){return new(await async function(){if(t)return await a("esri/widgets/Measurement");const n=await import("@arcgis/core/widgets/Measurement.js");return i(n)?n.default:n}())(n)}async function Z(n){return new(await async function(){if(t)return await a("esri/widgets/NavigationToggle");const n=await import("@arcgis/core/widgets/NavigationToggle.js");return i(n)?n.default:n}())(n)}async function q(n){return new(await async function(){if(t)return await a("esri/widgets/Print");const n=await import("@arcgis/core/widgets/Print.js");return i(n)?n.default:n}())(n)}async function z(n){return new(await async function(){if(t)return await a("esri/widgets/ScaleBar");const n=await import("@arcgis/core/widgets/ScaleBar.js");return i(n)?n.default:n}())(n)}async function I(n){return new(await async function(){if(t)return await a("esri/widgets/ScaleRangeSlider");const n=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return i(n)?n.default:n}())(n)}async function J(n){return new(await async function(){if(t)return await a("esri/widgets/Search");const n=await import("@arcgis/core/widgets/Search.js");return i(n)?n.default:n}())(n)}async function K(n){return new(await async function(){if(t)return await a("esri/widgets/ShadowCast");const n=await import("@arcgis/core/widgets/ShadowCast.js");return i(n)?n.default:n}())(n)}async function Q(n){return new(await async function(){if(t)return await a("esri/widgets/Sketch");const n=await import("@arcgis/core/widgets/Sketch.js");return i(n)?n.default:n}())(n)}async function X(n){return new(await async function(){if(t)return await a("esri/widgets/Slice");const n=await import("@arcgis/core/widgets/Slice.js");return i(n)?n.default:n}())(n)}async function Y(n){return new(await async function(){if(t)return await a("esri/widgets/Slider");const n=await import("@arcgis/core/widgets/Slider.js");return i(n)?n.default:n}())(n)}async function $(n){return new(await async function(){if(t)return await a("esri/widgets/Swipe");const n=await import("@arcgis/core/widgets/Swipe.js");return i(n)?n.default:n}())(n)}async function _(n){return new(await async function(){if(t)return await a("esri/widgets/TableList");const n=await import("@arcgis/core/widgets/TableList.js");return i(n)?n.default:n}())(n)}async function tt(n){return new(await async function(){if(t)return await a("esri/widgets/TimeSlider");const n=await import("@arcgis/core/widgets/TimeSlider.js");return i(n)?n.default:n}())(n)}async function it(n){return new(await async function(){if(t)return await a("esri/widgets/Track");const n=await import("@arcgis/core/widgets/Track.js");return i(n)?n.default:n}())(n)}async function at(n){return new(await async function(){if(t)return await a("esri/widgets/UtilityNetworkAssociations");const n=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return i(n)?n.default:n}())(n)}async function nt(n){return new(await async function(){if(t)return await a("esri/widgets/UtilityNetworkTrace");const n=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return i(n)?n.default:n}())(n)}async function rt(n){return new(await async function(){if(t)return await a("esri/widgets/UtilityNetworkValidateTopology");const n=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return i(n)?n.default:n}())(n)}async function et(n){return new(await async function(){if(t)return await a("esri/widgets/ValuePicker");const n=await import("@arcgis/core/widgets/ValuePicker.js");return i(n)?n.default:n}())(n)}async function st(n){return new(await async function(){if(t)return await a("esri/widgets/VersionManagement/VersionManagementViewModel");const n=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return i(n)?n.default:n}())(n)}async function ct(n){return new(await async function(){if(t)return await a("esri/widgets/Weather");const n=await import("@arcgis/core/widgets/Weather.js");return i(n)?n.default:n}())(n)}async function ot(n){return new(await async function(){if(t)return await a("esri/widgets/Zoom");const n=await import("@arcgis/core/widgets/Zoom.js");return i(n)?n.default:n}())(n)}async function wt(){if(t)return await a("esri/core/reactiveUtils");const n=await import("@arcgis/core/core/reactiveUtils.js");return i(n)?n.default:n}export{at as $,P as A,C as B,E as C,N as D,U as E,H as F,R as G,W as H,x as I,G as J,O as K,Z as L,q as M,z as N,I as O,w as P,c as Q,J as R,K as S,Q as T,r as U,X as V,Y as W,$ as X,_ as Y,tt as Z,it as _,o as a,nt as a0,rt as a1,et as a2,st as a3,ct as a4,ot as a5,V as a6,s as b,u as c,g as d,f as e,d as f,m as g,p as h,wt as i,l as j,j as k,S as l,L as m,y as n,F as o,e as p,M as q,D as r,T as s,h as t,k as u,v,B as w,n as x,b as y,A as z}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{S as h}from"./p-b8864b7b.js";import{r as a,c as r}from"./p-19785e15.js";import{o}from"./p-606f55b9.js";const n=class{constructor(s){t(this,s),this.arcgisShadowCastReady=i(this,"arcgisShadowCastReady",7),this._watchHandles=[],this.referenceElement=void 0,this.discreteOptions=void 0,this.durationOptions=void 0,this.endTimeOfDay=576e5,this.startTimeOfDay=36e6,this.thresholdOptions=void 0,this.utcOffset=void 0,this.visualizationType="threshold",this.icon=void 0,this.visibleElementsTimeRangeSlider=!0,this.visibleElementsTimezone=!0,this.visibleElementsDatePicker=!0,this.visibleElementsVisualizationOptions=!0,this.visibleElementsColorPicker=!0,this.visibleElementsTooltip=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}discreteOptionsWatcher(t){this.widget&&(this.widget.viewModel.discreteOptions=t)}durationOptionsWatcher(t){this.widget&&(this.widget.viewModel.durationOptions=t)}endTimeOfDayWatcher(t){this.widget&&(this.widget.viewModel.endTimeOfDay=t)}startTimeOfDayWatcher(t){this.widget&&(this.widget.viewModel.startTimeOfDay=t)}thresholdOptionsWatcher(t){this.widget&&(this.widget.viewModel.thresholdOptions=t)}utcOffsetWatcher(t){this.widget&&(this.widget.viewModel.utcOffset=t)}visualizationTypeWatcher(t){this.widget&&(this.widget.viewModel.visualizationType=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}visibleElementsTimeRangeSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,timeRangeSlider:t})}visibleElementsTimezoneWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,timezone:t})}visibleElementsDatePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,datePicker:t})}visibleElementsVisualizationOptionsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,visualizationOptions:t})}visibleElementsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,colorPicker:t})}visibleElementsTooltipWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,tooltip: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 getDuration(t){return this.widget?.viewModel.getDuration(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(),this._addContainer(),this.arcgisShadowCastReady.emit(),r(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={timeRangeSlider:this.visibleElementsTimeRangeSlider,timezone:this.visibleElementsTimezone,datePicker:this.visibleElementsDatePicker,visualizationOptions:this.visibleElementsVisualizationOptions,colorPicker:this.visibleElementsColorPicker,tooltip:this.visibleElementsTooltip},this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),t}_setViewModelParams(){const t={endTimeOfDay:this.endTimeOfDay,startTimeOfDay:this.startTimeOfDay,visualizationType:this.visualizationType};this.discreteOptions&&(t.discreteOptions=this.discreteOptions),this.durationOptions&&(t.durationOptions=this.durationOptions),this.thresholdOptions&&(t.thresholdOptions=this.thresholdOptions),this.utcOffset&&(t.utcOffset=this.utcOffset),this.widget.viewModel.set(t)}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],discreteOptions:["discreteOptionsWatcher"],durationOptions:["durationOptionsWatcher"],endTimeOfDay:["endTimeOfDayWatcher"],startTimeOfDay:["startTimeOfDayWatcher"],thresholdOptions:["thresholdOptionsWatcher"],utcOffset:["utcOffsetWatcher"],visualizationType:["visualizationTypeWatcher"],icon:["iconWatcher"],visibleElementsTimeRangeSlider:["visibleElementsTimeRangeSliderWatcher"],visibleElementsTimezone:["visibleElementsTimezoneWatcher"],visibleElementsDatePicker:["visibleElementsDatePickerWatcher"],visibleElementsVisualizationOptions:["visibleElementsVisualizationOptionsWatcher"],visibleElementsColorPicker:["visibleElementsColorPickerWatcher"],visibleElementsTooltip:["visibleElementsTooltipWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="arcgis-shadow-cast{}";export{n as arcgis_shadow_cast}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{d as h,i as a}from"./p-b8864b7b.js";import{r,c,a as o}from"./p-19785e15.js";import{o as n}from"./p-606f55b9.js";const d=class{constructor(s){t(this,s),this.arcgisAreaMeasurement3dReady=i(this,"arcgisAreaMeasurement3dReady",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)}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.arcgisAreaMeasurement3dReady.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.analysis),(t=>this.analysis=t))]),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={container:this.childElem};return 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_3d}
|
|
@@ -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.3
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e71125e1.js";import{I as h,i as a}from"./p-b8864b7b.js";import{r,c as o,a as c}from"./p-19785e15.js";import{o as n}from"./p-606f55b9.js";const d=class{constructor(s){t(this,s),this.arcgisLineOfSightReady=i(this,"arcgisLineOfSightReady",7),this._watchHandles=[],this.referenceElement=void 0,this.analysis=void 0,this.icon=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=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 continue(){this.widget?.viewModel.continue()}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,await this._addWatchers(),this._addContainer(),this.arcgisLineOfSightReady.emit(),o(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.analysis),(t=>this.analysis=t),{initial:!0}))}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="arcgis-line-of-sight{}";export{d as arcgis_line_of_sight}
|
|
@@ -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.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as s,g as i}from"./p-642c81ce.js";import{T as l,i as o,U as n}from"./p-e3f0f492.js";import{r as h,c as a,a as r}from"./p-f73c74b7.js";import{o as c}from"./p-977dbf55.js";const p=class{constructor(s){t(this,s),this.arcgisSketchReady=e(this,"arcgisSketchReady",7),this.sketchCreate=e(this,"sketchCreate",7),this.sketchDelete=e(this,"sketchDelete",7),this.sketchRedo=e(this,"sketchRedo",7),this.sketchUndo=e(this,"sketchUndo",7),this.sketchUpdate=e(this,"sketchUpdate",7),this._watchHandles=[],this.referenceElement=void 0,this.activeTool=void 0,this.availableCreateTools=void 0,this.createGraphic=void 0,this.creationMode="continuous",this.defaultCreateOptions=void 0,this.defaultUpdateOptions=void 0,this.icon=void 0,this.labelOptions=void 0,this.layer=void 0,this.layout="horizontal",this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.snappingOptions=void 0,this.tooltipOptions=void 0,this.updateGraphics=void 0,this.visibleElementsCreateToolsPoint=!0,this.visibleElementsCreateToolsPolyline=!0,this.visibleElementsCreateToolsPolygon=!0,this.visibleElementsCreateToolsRectangle=!0,this.visibleElementsCreateToolsCircle=!0,this.visibleElementsDuplicateButton=!0,this.visibleElementsSelectionToolsRectangle=!0,this.visibleElementsSelectionToolsLasso=!0,this.visibleElementsSettingsMenu=!0,this.visibleElementsLabelsToggle=!0,this.visibleElementsTooltipsToggle=!0,this.visibleElementsSnappingControls=!0,this.visibleElementsSnappingControlsElementsHeader=!0,this.visibleElementsSnappingControlsElementsEnabledToggle=!0,this.visibleElementsSnappingControlsElementsSelfEnabledToggle=!0,this.visibleElementsSnappingControlsElementsFeatureEnabledToggle=!0,this.visibleElementsSnappingControlsElementsLayerList=!0,this.visibleElementsUndoRedoMenu=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}availableCreateToolsWatcher(t){this.widget&&(this.widget.availableCreateTools=t)}creationModeWatcher(t){this.widget&&(this.widget.creationMode=t)}defaultCreateOptionsWatcher(t){this.widget&&(this.widget.defaultCreateOptions=t)}defaultUpdateOptionsWatcher(t){this.widget&&(this.widget.defaultUpdateOptions=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}labelOptionsWatcher(t){this.widget&&(this.widget.labelOptions=t)}layerWatcher(t){this.widget&&(this.widget.layer=t)}layoutWatcher(t){this.widget&&(this.widget.layout=t)}pointSymbolWatcher(t){this.widget&&(this.widget.viewModel.pointSymbol=t)}polylineSymbolWatcher(t){this.widget&&(this.widget.viewModel.polylineSymbol=t)}polygonSymbolWatcher(t){this.widget&&(this.widget.viewModel.polygonSymbol=t)}snappingOptionsWatcher(t){this.widget&&(this.widget.snappingOptions=t)}tooltipOptionsWatcher(t){this.widget&&(this.widget.tooltipOptions=t)}visibleElementsCreateToolsPointWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,point:t}})}visibleElementsCreateToolsPolylineWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,polyline:t}})}visibleElementsCreateToolsPolygonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,polygon:t}})}visibleElementsCreateToolsRectangleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,rectangle:t}})}visibleElementsCreateToolsCircleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,circle:t}})}visibleElementsDuplicateButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,duplicateButton:t})}visibleElementsSelectionToolsRectangleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionTools:{...this.widget.visibleElements.selectionTools,"rectangle-selection":t}})}visibleElementsSelectionToolsLassoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionTools:{...this.widget.visibleElements.selectionTools,"lasso-selection":t}})}visibleElementsSettingsMenuWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,settingsMenu:t})}visibleElementsLabelsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,labelsToggle:t})}visibleElementsTooltipsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,tooltipsToggle:t})}visibleElementsSnappingControlsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControls:t})}visibleElementsSnappingControlsElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{header:t}})}visibleElementsSnappingControlsElementsEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{enabledToggle:t}})}visibleElementsSnappingControlsElementsSelfEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{selfEnabledToggle:t}})}visibleElementsSnappingControlsElementsFeatureEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{featureEnabledToggle:t}})}visibleElementsSnappingControlsElementsLayerListWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{layerList:t}})}visibleElementsUndoRedoMenuWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,undoRedoMenu: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.widget.view.map?.add(this.layer))}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(t,e){this.widget?.create(t,e)}async delete(){this.widget?.delete()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async undo(){this.widget?.undo()}async update(t,e){this.widget?.update(t,e)}async componentDidLoad(){const t=await this._createParams(),e=await l(t);this.widget=e,this._setViewModelParams(),await this._addWatchers(),this._addContainer(),this.arcgisSketchReady.emit(),a(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 o();r(this,t((()=>this.widget.activeTool),(t=>this.activeTool=t),{initial:!0})),r(this,t((()=>this.widget.createGraphic),(t=>this.createGraphic=t),{initial:!0})),r(this,t((()=>this.widget.updateGraphics),(t=>this.updateGraphics=t),{initial:!0}))}async _createParams(){this.layer||(this.layer=await n({title:"Sketch Layer",creationMode:"update"}));const t={layer:this.layer};return t.visibleElements={createTools:{point:this.visibleElementsCreateToolsPoint,polyline:this.visibleElementsCreateToolsPolyline,polygon:this.visibleElementsCreateToolsPolygon,rectangle:this.visibleElementsCreateToolsRectangle,circle:this.visibleElementsCreateToolsCircle},duplicateButton:this.visibleElementsDuplicateButton,selectionTools:{"rectangle-selection":this.visibleElementsSelectionToolsRectangle,"lasso-selection":this.visibleElementsSelectionToolsLasso},settingsMenu:this.visibleElementsSettingsMenu,labelsToggle:this.visibleElementsLabelsToggle,tooltipsToggle:this.visibleElementsTooltipsToggle,snappingControls:this.visibleElementsSnappingControls,snappingControlsElements:{header:this.visibleElementsSnappingControlsElementsHeader,enabledToggle:this.visibleElementsSnappingControlsElementsEnabledToggle,selfEnabledToggle:this.visibleElementsSnappingControlsElementsSelfEnabledToggle,featureEnabledToggle:this.visibleElementsSnappingControlsElementsFeatureEnabledToggle,layerList:this.visibleElementsSnappingControlsElementsLayerList},undoRedoMenu:this.visibleElementsUndoRedoMenu},this.view&&(t.view=this.view),this.availableCreateTools&&(t.availableCreateTools=this.availableCreateTools),this.creationMode&&(t.creationMode=this.creationMode),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultUpdateOptions&&(t.defaultUpdateOptions=this.defaultUpdateOptions),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layout&&(t.layout=this.layout),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),t}_setViewModelParams(){const t={};this.pointSymbol&&(t.pointSymbol=this.pointSymbol),this.polylineSymbol&&(t.polylineSymbol=this.polylineSymbol),this.polygonSymbol&&(t.polygonSymbol=this.polygonSymbol),this.widget.viewModel.set(t)}get el(){return i(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],availableCreateTools:["availableCreateToolsWatcher"],creationMode:["creationModeWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultUpdateOptions:["defaultUpdateOptionsWatcher"],icon:["iconWatcher"],labelOptions:["labelOptionsWatcher"],layer:["layerWatcher"],layout:["layoutWatcher"],pointSymbol:["pointSymbolWatcher"],polylineSymbol:["polylineSymbolWatcher"],polygonSymbol:["polygonSymbolWatcher"],snappingOptions:["snappingOptionsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],visibleElementsCreateToolsPoint:["visibleElementsCreateToolsPointWatcher"],visibleElementsCreateToolsPolyline:["visibleElementsCreateToolsPolylineWatcher"],visibleElementsCreateToolsPolygon:["visibleElementsCreateToolsPolygonWatcher"],visibleElementsCreateToolsRectangle:["visibleElementsCreateToolsRectangleWatcher"],visibleElementsCreateToolsCircle:["visibleElementsCreateToolsCircleWatcher"],visibleElementsDuplicateButton:["visibleElementsDuplicateButtonWatcher"],visibleElementsSelectionToolsRectangle:["visibleElementsSelectionToolsRectangleWatcher"],visibleElementsSelectionToolsLasso:["visibleElementsSelectionToolsLassoWatcher"],visibleElementsSettingsMenu:["visibleElementsSettingsMenuWatcher"],visibleElementsLabelsToggle:["visibleElementsLabelsToggleWatcher"],visibleElementsTooltipsToggle:["visibleElementsTooltipsToggleWatcher"],visibleElementsSnappingControls:["visibleElementsSnappingControlsWatcher"],visibleElementsSnappingControlsElementsHeader:["visibleElementsSnappingControlsElementsHeaderWatcher"],visibleElementsSnappingControlsElementsEnabledToggle:["visibleElementsSnappingControlsElementsEnabledToggleWatcher"],visibleElementsSnappingControlsElementsSelfEnabledToggle:["visibleElementsSnappingControlsElementsSelfEnabledToggleWatcher"],visibleElementsSnappingControlsElementsFeatureEnabledToggle:["visibleElementsSnappingControlsElementsFeatureEnabledToggleWatcher"],visibleElementsSnappingControlsElementsLayerList:["visibleElementsSnappingControlsElementsLayerListWatcher"],visibleElementsUndoRedoMenu:["visibleElementsUndoRedoMenuWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};p.style="arcgis-sketch{}";export{p as arcgis_sketch}
|
|
6
|
+
import{r as t,c as e,h as s,g as i}from"./p-e71125e1.js";import{T as l,i as o,U as n}from"./p-b8864b7b.js";import{r as h,c as a,a as r}from"./p-19785e15.js";import{o as c}from"./p-606f55b9.js";const p=class{constructor(s){t(this,s),this.arcgisSketchReady=e(this,"arcgisSketchReady",7),this.sketchCreate=e(this,"sketchCreate",7),this.sketchDelete=e(this,"sketchDelete",7),this.sketchRedo=e(this,"sketchRedo",7),this.sketchUndo=e(this,"sketchUndo",7),this.sketchUpdate=e(this,"sketchUpdate",7),this._watchHandles=[],this.referenceElement=void 0,this.activeTool=void 0,this.availableCreateTools=void 0,this.createGraphic=void 0,this.creationMode="continuous",this.defaultCreateOptions=void 0,this.defaultUpdateOptions=void 0,this.icon=void 0,this.labelOptions=void 0,this.layer=void 0,this.layout="horizontal",this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.snappingOptions=void 0,this.tooltipOptions=void 0,this.updateGraphics=void 0,this.visibleElementsCreateToolsPoint=!0,this.visibleElementsCreateToolsPolyline=!0,this.visibleElementsCreateToolsPolygon=!0,this.visibleElementsCreateToolsRectangle=!0,this.visibleElementsCreateToolsCircle=!0,this.visibleElementsDuplicateButton=!0,this.visibleElementsSelectionToolsRectangle=!0,this.visibleElementsSelectionToolsLasso=!0,this.visibleElementsSettingsMenu=!0,this.visibleElementsLabelsToggle=!0,this.visibleElementsTooltipsToggle=!0,this.visibleElementsSnappingControls=!0,this.visibleElementsSnappingControlsElementsHeader=!0,this.visibleElementsSnappingControlsElementsEnabledToggle=!0,this.visibleElementsSnappingControlsElementsSelfEnabledToggle=!0,this.visibleElementsSnappingControlsElementsFeatureEnabledToggle=!0,this.visibleElementsSnappingControlsElementsLayerList=!0,this.visibleElementsUndoRedoMenu=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}availableCreateToolsWatcher(t){this.widget&&(this.widget.availableCreateTools=t)}creationModeWatcher(t){this.widget&&(this.widget.creationMode=t)}defaultCreateOptionsWatcher(t){this.widget&&(this.widget.defaultCreateOptions=t)}defaultUpdateOptionsWatcher(t){this.widget&&(this.widget.defaultUpdateOptions=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}labelOptionsWatcher(t){this.widget&&(this.widget.labelOptions=t)}layerWatcher(t){this.widget&&(this.widget.layer=t)}layoutWatcher(t){this.widget&&(this.widget.layout=t)}pointSymbolWatcher(t){this.widget&&(this.widget.viewModel.pointSymbol=t)}polylineSymbolWatcher(t){this.widget&&(this.widget.viewModel.polylineSymbol=t)}polygonSymbolWatcher(t){this.widget&&(this.widget.viewModel.polygonSymbol=t)}snappingOptionsWatcher(t){this.widget&&(this.widget.snappingOptions=t)}tooltipOptionsWatcher(t){this.widget&&(this.widget.tooltipOptions=t)}visibleElementsCreateToolsPointWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,point:t}})}visibleElementsCreateToolsPolylineWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,polyline:t}})}visibleElementsCreateToolsPolygonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,polygon:t}})}visibleElementsCreateToolsRectangleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,rectangle:t}})}visibleElementsCreateToolsCircleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,circle:t}})}visibleElementsDuplicateButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,duplicateButton:t})}visibleElementsSelectionToolsRectangleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionTools:{...this.widget.visibleElements.selectionTools,"rectangle-selection":t}})}visibleElementsSelectionToolsLassoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionTools:{...this.widget.visibleElements.selectionTools,"lasso-selection":t}})}visibleElementsSettingsMenuWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,settingsMenu:t})}visibleElementsLabelsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,labelsToggle:t})}visibleElementsTooltipsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,tooltipsToggle:t})}visibleElementsSnappingControlsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControls:t})}visibleElementsSnappingControlsElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{header:t}})}visibleElementsSnappingControlsElementsEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{enabledToggle:t}})}visibleElementsSnappingControlsElementsSelfEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{selfEnabledToggle:t}})}visibleElementsSnappingControlsElementsFeatureEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{featureEnabledToggle:t}})}visibleElementsSnappingControlsElementsLayerListWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{layerList:t}})}visibleElementsUndoRedoMenuWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,undoRedoMenu: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.widget.view.map?.add(this.layer))}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(t,e){this.widget?.create(t,e)}async delete(){this.widget?.delete()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async undo(){this.widget?.undo()}async update(t,e){this.widget?.update(t,e)}async componentDidLoad(){const t=await this._createParams(),e=await l(t);this.widget=e,this._setViewModelParams(),await this._addWatchers(),this._addContainer(),this.arcgisSketchReady.emit(),a(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 o();r(this,t((()=>this.widget.activeTool),(t=>this.activeTool=t),{initial:!0})),r(this,t((()=>this.widget.createGraphic),(t=>this.createGraphic=t),{initial:!0})),r(this,t((()=>this.widget.updateGraphics),(t=>this.updateGraphics=t),{initial:!0}))}async _createParams(){this.layer||(this.layer=await n({title:"Sketch Layer",creationMode:"update"}));const t={layer:this.layer};return t.visibleElements={createTools:{point:this.visibleElementsCreateToolsPoint,polyline:this.visibleElementsCreateToolsPolyline,polygon:this.visibleElementsCreateToolsPolygon,rectangle:this.visibleElementsCreateToolsRectangle,circle:this.visibleElementsCreateToolsCircle},duplicateButton:this.visibleElementsDuplicateButton,selectionTools:{"rectangle-selection":this.visibleElementsSelectionToolsRectangle,"lasso-selection":this.visibleElementsSelectionToolsLasso},settingsMenu:this.visibleElementsSettingsMenu,labelsToggle:this.visibleElementsLabelsToggle,tooltipsToggle:this.visibleElementsTooltipsToggle,snappingControls:this.visibleElementsSnappingControls,snappingControlsElements:{header:this.visibleElementsSnappingControlsElementsHeader,enabledToggle:this.visibleElementsSnappingControlsElementsEnabledToggle,selfEnabledToggle:this.visibleElementsSnappingControlsElementsSelfEnabledToggle,featureEnabledToggle:this.visibleElementsSnappingControlsElementsFeatureEnabledToggle,layerList:this.visibleElementsSnappingControlsElementsLayerList},undoRedoMenu:this.visibleElementsUndoRedoMenu},this.view&&(t.view=this.view),this.availableCreateTools&&(t.availableCreateTools=this.availableCreateTools),this.creationMode&&(t.creationMode=this.creationMode),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultUpdateOptions&&(t.defaultUpdateOptions=this.defaultUpdateOptions),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layout&&(t.layout=this.layout),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),t}_setViewModelParams(){const t={};this.pointSymbol&&(t.pointSymbol=this.pointSymbol),this.polylineSymbol&&(t.polylineSymbol=this.polylineSymbol),this.polygonSymbol&&(t.polygonSymbol=this.polygonSymbol),this.widget.viewModel.set(t)}get el(){return i(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],availableCreateTools:["availableCreateToolsWatcher"],creationMode:["creationModeWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultUpdateOptions:["defaultUpdateOptionsWatcher"],icon:["iconWatcher"],labelOptions:["labelOptionsWatcher"],layer:["layerWatcher"],layout:["layoutWatcher"],pointSymbol:["pointSymbolWatcher"],polylineSymbol:["polylineSymbolWatcher"],polygonSymbol:["polygonSymbolWatcher"],snappingOptions:["snappingOptionsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],visibleElementsCreateToolsPoint:["visibleElementsCreateToolsPointWatcher"],visibleElementsCreateToolsPolyline:["visibleElementsCreateToolsPolylineWatcher"],visibleElementsCreateToolsPolygon:["visibleElementsCreateToolsPolygonWatcher"],visibleElementsCreateToolsRectangle:["visibleElementsCreateToolsRectangleWatcher"],visibleElementsCreateToolsCircle:["visibleElementsCreateToolsCircleWatcher"],visibleElementsDuplicateButton:["visibleElementsDuplicateButtonWatcher"],visibleElementsSelectionToolsRectangle:["visibleElementsSelectionToolsRectangleWatcher"],visibleElementsSelectionToolsLasso:["visibleElementsSelectionToolsLassoWatcher"],visibleElementsSettingsMenu:["visibleElementsSettingsMenuWatcher"],visibleElementsLabelsToggle:["visibleElementsLabelsToggleWatcher"],visibleElementsTooltipsToggle:["visibleElementsTooltipsToggleWatcher"],visibleElementsSnappingControls:["visibleElementsSnappingControlsWatcher"],visibleElementsSnappingControlsElementsHeader:["visibleElementsSnappingControlsElementsHeaderWatcher"],visibleElementsSnappingControlsElementsEnabledToggle:["visibleElementsSnappingControlsElementsEnabledToggleWatcher"],visibleElementsSnappingControlsElementsSelfEnabledToggle:["visibleElementsSnappingControlsElementsSelfEnabledToggleWatcher"],visibleElementsSnappingControlsElementsFeatureEnabledToggle:["visibleElementsSnappingControlsElementsFeatureEnabledToggleWatcher"],visibleElementsSnappingControlsElementsLayerList:["visibleElementsSnappingControlsElementsLayerListWatcher"],visibleElementsUndoRedoMenu:["visibleElementsUndoRedoMenuWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};p.style="arcgis-sketch{}";export{p as arcgis_sketch}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{a2 as a,i as e}from"./p-b8864b7b.js";import{c as o,a as r}from"./p-19785e15.js";import{o as c}from"./p-606f55b9.js";const n=class{constructor(s){i(this,s),this.arcgisValuePickerReady=t(this,"arcgisValuePickerReady",7),this.arcgisValuePickerValuesChange=t(this,"arcgisValuePickerValuesChange",7),this.valuePickerAnimate=t(this,"valuePickerAnimate",7),this.valuePickerNext=t(this,"valuePickerNext",7),this.valuePickerPause=t(this,"valuePickerPause",7),this.valuePickerPlay=t(this,"valuePickerPlay",7),this.valuePickerPrevious=t(this,"valuePickerPrevious",7),this._watchHandles=[],this.referenceElement=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0,this.canNext=void 0,this.canPlay=void 0,this.canPrevious=void 0,this.caption=void 0,this.component=void 0,this.layout=void 0,this.loop=void 0,this.playRate=void 0,this.visibleElements=void 0,this.values=void 0}positionWatcher(i){void 0!==i&&this.widget&&this.view.ui.move(this.childElem,i)}captionWatcher(i){this.widget.caption=i}componentWatcher(i){this.widget&&(this.widget.component=i)}layoutWatcher(i){this.widget&&(this.widget.layout=i)}loopWatcher(i){void 0!==i&&this.widget&&(this.widget.loop=i)}playRateWatcher(i){void 0!==i&&this.widget&&(this.widget.playRate=i)}visibleElementsWatcher(i){this.widget&&(this.widget.visibleElements=i)}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async componentDidLoad(){const i=this._createParams(),t=await a(i);this.widget=t,await this._addWatchers(),this._proxyEvents(),this.arcgisValuePickerReady.emit(),o(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await e();r(this,i((()=>this.widget.canNext),(i=>this.canNext=i),{initial:!0})),r(this,i((()=>this.widget.canPlay),(i=>this.canPlay=i),{initial:!0})),r(this,i((()=>this.widget.canPrevious),(i=>this.canPrevious=i),{initial:!0})),r(this,i((()=>this.widget.values),(i=>{this.values=i,this.arcgisValuePickerValuesChange.emit()}),{initial:!0}))}_createParams(){const i={container:this.childElem};return this.caption&&(i.caption=this.caption),this.component&&(i.component=this.component),this.layout&&(i.layout=this.layout),void 0!==this.loop&&(i.loop=this.loop),void 0!==this.playRate&&(i.playRate=this.playRate),this.visibleElements&&(i.visibleElements=this.visibleElements),i}_proxyEvents(){this.widget.on("animate",(i=>this.valuePickerAnimate.emit(i))),this.widget.on("next",(i=>this.valuePickerNext.emit(i))),this.widget.on("pause",(i=>this.valuePickerPause.emit(i))),this.widget.on("play",(i=>this.valuePickerPlay.emit(i))),this.widget.on("previous",(i=>this.valuePickerPrevious.emit(i)))}get el(){return h(this)}static get watchers(){return{position:["positionWatcher"],caption:["captionWatcher"],component:["componentWatcher"],layout:["layoutWatcher"],loop:["loopWatcher"],playRate:["playRateWatcher"],visibleElements:["visibleElementsWatcher"]}}};n.style="arcgis-value-picker{}";export{n as arcgis_value_picker}
|
|
@@ -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.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as t,h as s,g as h}from"./p-642c81ce.js";import{n as e,i as a,a as r,b as c}from"./p-e3f0f492.js";import{r as o,c as n,a as d,i as l,b as p}from"./p-f73c74b7.js";import{o as v}from"./p-977dbf55.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-e71125e1.js";import{n as e,i as a,a as r,b as c}from"./p-b8864b7b.js";import{r as o,c as n,a as d,i as l,b as p}from"./p-19785e15.js";import{o as v}from"./p-606f55b9.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.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as e,h as t,H as s,g as n}from"./p-
|
|
6
|
+
import{r as i,c as e,h as t,H as s,g as n}from"./p-e71125e1.js";import{i as c}from"./p-b8864b7b.js";const o=class{constructor(t){i(this,t),this.versionItemActionClickedEventWithServiceUrl=e(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=e(this,"versionListActionClickedEvent",7),this._versionListEventListeners=new Map,this._watchHandles=[],this._versionItemActionClickedEventWithServiceUrl=i=>{this.versionItemActionClickedEventWithServiceUrl.emit(i.detail)},this._versionListActionClickedEvent=i=>{this.versionListActionClickedEvent.emit(i.detail)},this.flowElement=void 0,this.heading=void 0,this.serviceUrl=void 0,this.strings=void 0,this.viewModel=void 0,this.state=void 0}async componentDidLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}async componentWillLoad(){this.state=this.viewModel.state}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[],this._removeVersionListEventListeners(this._versionList)}render(){const{flowElement:i,heading:e,serviceUrl:n,strings:c,viewModel:o}=this;let{_versionList:a}=this;const r=o.serviceNames.get(n);return t(s,null,t("calcite-panel",{heading:r},t("calcite-action",{id:`actionManageVersions_${r}`,icon:"list",scale:"s",slot:"header-actions-end",onclick:async()=>{a=document.createElement("arcgis-version-management-version-list"),a.heading=e,a.serviceUrl=n,a.serviceName=r,a.strings=c,a.userHasAdvancedEditingUserTypeExtension=o.advancedEditingUserTypeExtensionForUrl.get(n),await o.getVersionInfos(n,!1),a.versionInfos=o.versionInfos.get(n),a.viewModel=o,this._addVersionListEventListeners(a),i.append(a)}}),t("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:`actionManageVersions_${r}`},t("span",null,c.headers.manageVersions))))}_addVersionListEventListeners(i){i.addEventListener("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),this._versionListEventListeners.set("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),i.addEventListener("versionListActionClickedEvent",this._versionListActionClickedEvent),this._versionListEventListeners.set("versionListActionClickedEvent",this._versionListActionClickedEvent)}_removeVersionListEventListeners(i){for(const[e,t]of this._versionListEventListeners)i.removeEventListener(e,t)}get _hostElement(){return n(this)}},a=class{constructor(t){i(this,t),this.versionPropertiesSaveClickedEvent=e(this,"versionPropertiesSaveClickedEvent",7),this._watchHandles=[],this.flowElement=void 0,this.serviceUrl=void 0,this.strings=void 0,this.versionInfo=void 0,this.viewModel=void 0,this.executionError=void 0,this.state=void 0}async componentDidLoad(){await this.viewModel.getVersionInfos(this.serviceUrl,!1)}async componentWillLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[]}render(){const{serviceUrl:i,strings:e,versionInfo:n}=this,{viewModel:{executionError:c}}=this;return t(s,null,t("calcite-flow-item",{description:n?n.versionIdentifier.name:"",heading:n?e.actions.editVersion:e.actions.newVersion},t("calcite-panel",{loading:"executing"===this.state},t("div",{class:"div-content"},t("calcite-label",null,e.input.versionName,t("calcite-input-text",{id:"inputName",maxLength:62,value:n?n.versionIdentifier.name.split(".")[1]:""})),t("calcite-label",null,e.input.versionDescription,t("calcite-text-area",{id:"inputDescription",resize:"vertical",value:n?n.description:""})),t("calcite-label",null,e.input.versionAccess,t("calcite-chip-group",{id:"chipGroupAccessLevel",selectionMode:"single"},t("calcite-chip",{selected:"public"===n?.access,value:"public"},e.accessLevels.public),t("calcite-chip",{selected:"protected"===n?.access,value:"protected"},e.accessLevels.protected),t("calcite-chip",{selected:"private"===n?.access||!n,value:"private"},e.accessLevels.private))),t("calcite-label",null,e.input.versionOwner,t("calcite-input-text",{id:"inputOwner",disabled:!this.viewModel.advancedEditingUserTypeExtensionForUrl.get(i),value:n?n.versionIdentifier.name.split(".")[0]:this.viewModel.userForUrl.get(i)?.toUpperCase()})),t("calcite-button",{appearance:"outline",slot:"footer",width:"half",onClick:()=>{this.flowElement.back()}},e.actions.cancelSave),t("calcite-button",{slot:"footer",width:"half",onClick:async()=>{const e=Array.from(this._hostElement.getElementsByTagName("calcite-input-text")),t=this._hostElement.getElementsByTagName("calcite-text-area")[0],s=e.find((i=>"inputName"===i.id)),c=e.find((i=>"inputOwner"===i.id)),o=Array.from(this._hostElement.getElementsByTagName("calcite-chip-group"))[0];this.versionPropertiesSaveClickedEvent.emit({serviceUrl:i,versionInfo:{access:o.selectedItems[0].value,description:t.value,versionIdentifier:{name:""!==c.value?`${c.value}.${s.value}`:s.value,guid:n?n.versionIdentifier.guid:""}}})}},e.actions.saveVersion)),"failed"===this.state?t("calcite-notice",{class:"notice",closable:!0,kind:"warning",open:!0,scale:"s",slot:"footer"},t("div",{slot:"message"},this._getExecutionError(c))):void 0)))}_getExecutionError(i){const{strings:{executionErrors:e}}=this;switch(i){case"no-advanced-editing-user-type-extension":return e.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return e.noFeatureServiceFound;case"no-valid-enterprise-version":return e.notValidEnterpriseVersion;case"no-valid-version-name":return e.invalidVersionName;default:return i}}get _hostElement(){return n(this)}};export{o as arcgis_version_management_service_item,a as arcgis_version_management_version_properties}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{e as a,i as e}from"./p-b8864b7b.js";import{d as r,a as c}from"./p-19785e15.js";import{o}from"./p-606f55b9.js";const n=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.capabilities=void 0,this.displayType=void 0,this.graphic=void 0,this.submitting=void 0,this.visibleElements=void 0,this.widget=void 0}capabilitiesWatcher(t){this.widget&&(this.widget.capabilities=t)}displayTypeWatcher(t){this.widget&&(this.widget.displayType=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}visibleElementsWatcher(t){this.widget&&(this.widget.visibleElements=t)}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){o(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})}async _addWatchers(){const{watch:t}=await e();c(this,t((()=>this.widget.submitting),(t=>this.submitting=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return this.displayType&&(t.displayType=this.displayType),this.graphic&&(t.graphic=this.graphic),this.visibleElements&&(t.visibleElements=this.visibleElements),t}get el(){return h(this)}static get watchers(){return{capabilities:["capabilitiesWatcher"],displayType:["displayTypeWatcher"],graphic:["graphicWatcher"],visibleElements:["visibleElementsWatcher"]}}};n.style="";export{n as arcgis_attachments}
|
|
@@ -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.3
|
|
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-e71125e1.js";import{E as a}from"./p-b8864b7b.js";import{c as e}from"./p-19785e15.js";import{o as r}from"./p-606f55b9.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 a(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 h(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.3
|
|
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-e71125e1.js";import{H as h,i as a}from"./p-b8864b7b.js";import{r,c,a as o}from"./p-19785e15.js";import{o as n}from"./p-606f55b9.js";const d=class{constructor(s){t(this,s),this.arcgisLegendReady=i(this,"arcgisLegendReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeLayerInfos=void 0,this.basemapLegendVisible=!1,this.hideLayersNotInCurrentView=!1,this.icon=void 0,this.respectLayerVisibilityDisabled=!1,this.legendStyle="classic",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}activeLayerInfosWatcher(t){this.widget&&(this.widget.activeLayerInfos=t)}basemapLegendVisibleWatcher(t){void 0!==t&&this.widget&&(this.widget.basemapLegendVisible=t)}hideLayersNotInCurrentViewWatcher(t){void 0!==t&&this.widget&&(this.widget.hideLayersNotInCurrentView=t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t,this.widget.iconClass=t)}respectLayerVisibilityDisabledWatcher(t){void 0!==t&&this.widget&&(this.widget.respectLayerVisibility=!t)}styleWatcher(t){void 0!==t&&this.widget&&(this.widget.style=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._addContainer(),this.arcgisLegendReady.emit(),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 a();o(this,[t((()=>this.widget.activeLayerInfos),(t=>{this.activeLayerInfos=t}))])}_createParams(){const t={};return this.activeLayerInfos&&(t.activeLayerInfos=this.activeLayerInfos),void 0!==this.basemapLegendVisible&&(t.basemapLegendVisible=this.basemapLegendVisible),void 0!==this.hideLayersNotInCurrentView&&(t.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView),void 0!==this.respectLayerVisibilityDisabled&&(t.respectLayerVisibility=!this.respectLayerVisibilityDisabled),this.legendStyle&&(t.style=this.legendStyle),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],icon:["iconWatcher"],respectLayerVisibilityDisabled:["respectLayerVisibilityDisabledWatcher"],legendStyle:["styleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_legend}
|