@arcgis/map-components 4.29.4 → 4.29.6
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-53e61c69.entry.js → p-01a02cf2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-db27653f.entry.js → p-0535037e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3ae6c462.entry.js → p-208ea84a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3e0b9ac7.entry.js → p-225cc5e5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-27ce81f2.entry.js → p-25bf8a1e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8c1be8bd.entry.js → p-27b48bc4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d3d61a36.entry.js → p-2a0b2463.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4c8e7e2c.entry.js → p-33c11303.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-553620ce.entry.js → p-34cb76b2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-22d04103.entry.js → p-3d49dbf4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ae397e9c.entry.js → p-406218c2.entry.js} +2 -2
- package/dist/arcgis-map-components/p-45dc51ee.entry.js +6 -0
- package/dist/arcgis-map-components/{p-e3d26885.entry.js → p-4c4652b6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-12fb5c4e.entry.js → p-4db3278e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-615fae30.entry.js → p-4edfa308.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ef36d680.entry.js → p-5148ed61.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-51934c05.entry.js → p-5a1ef062.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9c998df8.entry.js → p-5a7a21c7.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-be69d1de.entry.js → p-6315bb61.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7fba8942.entry.js → p-6419154b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d2478b4a.entry.js → p-66830d70.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3f1277f1.js → p-6d36cfbe.js} +1 -1
- package/dist/arcgis-map-components/{p-a8336e9d.entry.js → p-6f5ea7ed.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-616d2fa5.entry.js → p-7cebd595.entry.js} +2 -2
- package/dist/arcgis-map-components/p-81bd6792.entry.js +6 -0
- package/dist/arcgis-map-components/{p-7ce97354.entry.js → p-8658cd9a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3a6f3806.entry.js → p-87bcddac.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c9e12bd6.entry.js → p-8ef0cb1a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-410915ee.entry.js → p-904ed74e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-243808f7.entry.js → p-938c34ca.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0f59a47e.entry.js → p-9607f6ac.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6734bfac.js → p-96eef3b2.js} +1 -1
- package/dist/arcgis-map-components/{p-03e47c1f.entry.js → p-989b5827.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f048ccec.entry.js → p-9e176360.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6c2fa044.entry.js → p-9f97f02d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-fe9e49b8.entry.js → p-9fe1e2be.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a076eafa.entry.js → p-a8e8cdb5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d56de6ea.entry.js → p-a97fe55c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4c3f5c4f.entry.js → p-ad8e9b17.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8fea1e03.entry.js → p-aec4cdb6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-49db24c6.entry.js → p-b12fdeed.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cc2c402a.entry.js → p-b6635c85.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-67263775.entry.js → p-bc478fcc.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f8707dc8.entry.js → p-c52a7e3f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-700c5e8d.entry.js → p-c744dd58.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d826f166.entry.js → p-caf0dd23.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b1a0f548.entry.js → p-d0e1e22b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e666f2ae.entry.js → p-d311cf00.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9119daae.entry.js → p-d3805ca8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1e5b8ce9.entry.js → p-d7aba6e7.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-be00a73e.entry.js → p-dcb4a657.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-77f01589.js → p-dea7ed24.js} +1 -1
- package/dist/arcgis-map-components/{p-1cfd4790.entry.js → p-e15b4677.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d5a00223.entry.js → p-e33dd791.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c4f5276b.js → p-e64fd028.js} +1 -1
- package/dist/arcgis-map-components/{p-f5556348.entry.js → p-e9ce559c.entry.js} +2 -2
- package/dist/arcgis-map-components/p-ebcd233b.entry.js +6 -0
- package/dist/arcgis-map-components/{p-16b42835.entry.js → p-f234126c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-83732cd4.entry.js → p-f67e8ef0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-02d47ecb.entry.js → p-fad15acf.entry.js} +2 -2
- package/dist/arcgis-map-components/p-fd2aa3a5.entry.js +6 -0
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-attachments.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-gallery_2.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-compass.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-daylight.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directions.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-editor.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-expand.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-features.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-histogram.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-home.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-legend.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-locate.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-map-components.cjs.js +2 -2
- package/dist/cjs/arcgis-measurement.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-placement.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-print.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scene.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-search.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-sketch.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-slice.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-swipe.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-table-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-track.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-version-management.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-weather.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-zoom.cjs.entry.js +5 -5
- package/dist/cjs/{component-utils-4640e0fc.js → component-utils-80f3876f.js} +1 -1
- package/dist/cjs/{disconnected-5b3c503a.js → disconnected-e4c71e24.js} +1 -1
- package/dist/cjs/{index-7e79736d.js → index-1328e665.js} +1 -1
- package/dist/cjs/{index-cb011c8f.js → index-21d63c13.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/components/arcgis-area-measurement-2d.js +1 -1
- package/dist/components/arcgis-area-measurement-3d.js +1 -1
- package/dist/components/arcgis-attachments.js +1 -1
- package/dist/components/arcgis-basemap-gallery.js +1 -1
- package/dist/components/arcgis-basemap-layer-list.js +1 -1
- package/dist/components/arcgis-basemap-toggle.js +1 -1
- package/dist/components/arcgis-bookmarks.js +1 -1
- package/dist/components/arcgis-building-explorer.js +1 -1
- package/dist/components/arcgis-compass.js +1 -1
- package/dist/components/arcgis-coordinate-conversion.js +1 -1
- package/dist/components/arcgis-daylight.js +1 -1
- package/dist/components/arcgis-directional-pad.js +1 -1
- package/dist/components/arcgis-directions.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d.js +1 -1
- package/dist/components/arcgis-editor.js +1 -1
- package/dist/components/arcgis-elevation-profile.js +1 -1
- package/dist/components/arcgis-expand.js +1 -1
- package/dist/components/arcgis-feature-form.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +1 -1
- package/dist/components/arcgis-features.js +1 -1
- package/dist/components/arcgis-floor-filter.js +1 -1
- package/dist/components/arcgis-fullscreen.js +1 -1
- package/dist/components/arcgis-histogram-range-slider.js +1 -1
- package/dist/components/arcgis-histogram.js +1 -1
- package/dist/components/arcgis-home.js +1 -1
- package/dist/components/arcgis-layer-list.js +1 -1
- package/dist/components/arcgis-legend.js +1 -1
- package/dist/components/arcgis-line-of-sight.js +1 -1
- package/dist/components/arcgis-locate.js +1 -1
- package/dist/components/arcgis-map.js +1 -1
- package/dist/components/arcgis-measurement.js +1 -1
- package/dist/components/arcgis-navigation-toggle.js +1 -1
- package/dist/components/arcgis-placement.js +1 -1
- package/dist/components/arcgis-print.js +1 -1
- package/dist/components/arcgis-scale-bar.js +1 -1
- package/dist/components/arcgis-scale-range-slider.js +1 -1
- package/dist/components/arcgis-scene.js +1 -1
- package/dist/components/arcgis-search.js +1 -1
- package/dist/components/arcgis-shadow-cast.js +1 -1
- package/dist/components/arcgis-sketch.js +1 -1
- package/dist/components/arcgis-slice.js +1 -1
- package/dist/components/arcgis-slider.js +1 -1
- package/dist/components/arcgis-swipe.js +1 -1
- package/dist/components/arcgis-table-list.js +1 -1
- package/dist/components/arcgis-time-slider.js +1 -1
- package/dist/components/arcgis-track.js +1 -1
- package/dist/components/arcgis-utility-network-associations.js +1 -1
- package/dist/components/arcgis-utility-network-trace.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
- package/dist/components/arcgis-value-picker.js +1 -1
- package/dist/components/arcgis-version-management-service-item.js +1 -1
- package/dist/components/arcgis-version-management-version-item.js +1 -1
- package/dist/components/arcgis-version-management-version-list.js +1 -1
- package/dist/components/arcgis-version-management-version-properties.js +1 -1
- package/dist/components/arcgis-version-management.js +1 -1
- package/dist/components/arcgis-weather.js +1 -1
- package/dist/components/arcgis-zoom.js +1 -1
- package/dist/components/component-utils.js +1 -1
- package/dist/components/disconnected.js +1 -1
- package/dist/components/expand.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/version-management-service-item.js +1 -1
- package/dist/components/version-management-version-item.js +1 -1
- package/dist/components/version-management-version-list.js +1 -1
- package/dist/components/version-management-version-properties.js +1 -1
- package/dist/esm/arcgis-area-measurement-2d.entry.js +5 -5
- package/dist/esm/arcgis-area-measurement-3d.entry.js +5 -5
- package/dist/esm/arcgis-attachments.entry.js +5 -5
- package/dist/esm/arcgis-basemap-gallery_2.entry.js +5 -5
- package/dist/esm/arcgis-basemap-layer-list.entry.js +5 -5
- package/dist/esm/arcgis-basemap-toggle.entry.js +5 -5
- package/dist/esm/arcgis-bookmarks.entry.js +5 -5
- package/dist/esm/arcgis-building-explorer.entry.js +5 -5
- package/dist/esm/arcgis-compass.entry.js +5 -5
- package/dist/esm/arcgis-coordinate-conversion.entry.js +5 -5
- package/dist/esm/arcgis-daylight.entry.js +5 -5
- package/dist/esm/arcgis-directional-pad.entry.js +5 -5
- package/dist/esm/arcgis-directions.entry.js +5 -5
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +5 -5
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +5 -5
- package/dist/esm/arcgis-editor.entry.js +5 -5
- package/dist/esm/arcgis-elevation-profile.entry.js +5 -5
- package/dist/esm/arcgis-expand.entry.js +5 -5
- package/dist/esm/arcgis-feature-form.entry.js +5 -5
- package/dist/esm/arcgis-feature-table.entry.js +5 -5
- package/dist/esm/arcgis-feature-templates.entry.js +5 -5
- package/dist/esm/arcgis-feature.entry.js +5 -5
- package/dist/esm/arcgis-features.entry.js +5 -5
- package/dist/esm/arcgis-floor-filter.entry.js +5 -5
- package/dist/esm/arcgis-fullscreen.entry.js +5 -5
- package/dist/esm/arcgis-histogram-range-slider.entry.js +5 -5
- package/dist/esm/arcgis-histogram.entry.js +4 -4
- package/dist/esm/arcgis-home.entry.js +5 -5
- package/dist/esm/arcgis-layer-list.entry.js +5 -5
- package/dist/esm/arcgis-legend.entry.js +5 -5
- package/dist/esm/arcgis-line-of-sight.entry.js +5 -5
- package/dist/esm/arcgis-locate.entry.js +5 -5
- package/dist/esm/arcgis-map-components.js +3 -3
- package/dist/esm/arcgis-measurement.entry.js +5 -5
- package/dist/esm/arcgis-navigation-toggle.entry.js +5 -5
- package/dist/esm/arcgis-placement.entry.js +4 -4
- package/dist/esm/arcgis-print.entry.js +5 -5
- package/dist/esm/arcgis-scale-bar.entry.js +5 -5
- package/dist/esm/arcgis-scale-range-slider.entry.js +5 -5
- package/dist/esm/arcgis-scene.entry.js +4 -4
- package/dist/esm/arcgis-search.entry.js +5 -5
- package/dist/esm/arcgis-shadow-cast.entry.js +5 -5
- package/dist/esm/arcgis-sketch.entry.js +5 -5
- package/dist/esm/arcgis-slice.entry.js +5 -5
- package/dist/esm/arcgis-slider.entry.js +5 -5
- package/dist/esm/arcgis-swipe.entry.js +5 -5
- package/dist/esm/arcgis-table-list.entry.js +5 -5
- package/dist/esm/arcgis-time-slider.entry.js +5 -5
- package/dist/esm/arcgis-track.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-associations.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-trace.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +5 -5
- package/dist/esm/arcgis-value-picker.entry.js +5 -5
- package/dist/esm/arcgis-version-management-service-item_2.entry.js +3 -3
- package/dist/esm/arcgis-version-management-version-item_2.entry.js +3 -3
- package/dist/esm/arcgis-version-management.entry.js +3 -3
- package/dist/esm/arcgis-weather.entry.js +5 -5
- package/dist/esm/arcgis-zoom.entry.js +5 -5
- package/dist/esm/{component-utils-bf2916eb.js → component-utils-43d40a87.js} +1 -1
- package/dist/esm/{disconnected-00943a2f.js → disconnected-7f9ad39a.js} +1 -1
- package/dist/esm/{index-6c2d37bc.js → index-49eeeae6.js} +1 -1
- package/dist/esm/{index-45725769.js → index-6eb8592f.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/package.json +7 -7
- package/dist/arcgis-map-components/p-167e6b97.entry.js +0 -6
- package/dist/arcgis-map-components/p-2dc7106d.entry.js +0 -6
- package/dist/arcgis-map-components/p-35a0083f.entry.js +0 -6
- package/dist/arcgis-map-components/p-4e869a91.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.6
|
|
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-6d36cfbe.js";import{A as h,i as a}from"./p-96eef3b2.js";import{r as n,c as r,a as o}from"./p-e64fd028.js";import{o as c}from"./p-dea7ed24.js";const l=class{constructor(s){t(this,s),this.arcgisFeaturesReady=i(this,"arcgisFeaturesReady",7),this.featuresTriggerAction=i(this,"featuresTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.collapsed=!1,this.content=void 0,this.features=void 0,this.icon=void 0,this.promises=void 0,this.selectedFeature=void 0,this.selectedFeatureIndex=void 0,this.featuresTitle=void 0,this.visibleElementsActionBar=!0,this.visibleElementsCloseButton=!0,this.visibleElementsCollapseButton=!0,this.visibleElementsFeatureNavigation=!0,this.visibleElementsHeading=!0,this.visibleElementsSpinner=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}contentWatcher(t){this.widget&&(this.widget.content=t)}featuresWatcher(t){this.widget&&(this.widget.features=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}featuresTitleWatcher(t){this.widget&&(this.widget.title=t)}visibleElementsActionBarWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,actionBar:t})}visibleElementsCloseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,closeButton:t})}visibleElementsCollapseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,collapseButton:t})}visibleElementsFeatureNavigationWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,featureNavigation:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,heading:t})}visibleElementsSpinnerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,spinner:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async fetchFeatures(t,i){return await(this.widget?.fetchFeatures(t,i))}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async next(){return this.widget?.next()}async open(t){this.widget?.open(t)}async previous(){return this.widget?.previous()}async triggerAction(t){this.widget?.triggerAction(t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeaturesReady.emit(),r(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();o(this,t((()=>this.widget.collapsed),(t=>this.collapsed=t),{initial:!0})),o(this,t((()=>this.widget.promises),(t=>this.promises=t),{initial:!0})),o(this,t((()=>this.widget.selectedFeature),(t=>this.selectedFeature=t),{initial:!0})),o(this,t((()=>this.widget.selectedFeatureIndex),(t=>this.selectedFeatureIndex=t),{initial:!0}))}_createParams(){const t={};return t.visibleElements={actionBar:this.visibleElementsActionBar,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,featureNavigation:this.visibleElementsFeatureNavigation,heading:this.visibleElementsHeading,spinner:this.visibleElementsSpinner},this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),this.content&&(t.content=this.content),this.features&&(t.features=this.features),this.featuresTitle&&(t.title=this.featuresTitle),t}_proxyEvents(){this.widget.on("trigger-action",(t=>this.featuresTriggerAction.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],content:["contentWatcher"],features:["featuresWatcher"],icon:["iconWatcher"],featuresTitle:["featuresTitleWatcher"],visibleElementsActionBar:["visibleElementsActionBarWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsFeatureNavigation:["visibleElementsFeatureNavigationWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsSpinner:["visibleElementsSpinnerWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="arcgis-features{}";export{l as arcgis_features}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.6
|
|
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-6d36cfbe.js";import{C as r}from"./p-96eef3b2.js";import{r as h,c as o}from"./p-e64fd028.js";import{o as a}from"./p-dea7ed24.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.6
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as t,h as s,g as h}from"./p-3f1277f1.js";import{n as e,i as a,a as r,b as c}from"./p-6734bfac.js";import{r as o,c as n,a as d,i as l,b as p}from"./p-c4f5276b.js";import{o as v}from"./p-77f01589.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-6d36cfbe.js";import{n as e,i as a,a as r,b as c}from"./p-96eef3b2.js";import{r as o,c as n,a as d,i as l,b as p}from"./p-e64fd028.js";import{o as v}from"./p-dea7ed24.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.6
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as
|
|
6
|
+
import{r as i,c as e,h as t,H as s,g as n}from"./p-6d36cfbe.js";import{i as o}from"./p-96eef3b2.js";const c=class{constructor(t){i(this,t),this.versionItemActionClickedEvent=e(this,"versionItemActionClickedEvent",7),this.strings=void 0,this.hasAdvEditingUte=void 0,this.isVersioningApiAvailable=void 0,this.versionInfo=void 0}render(){const{strings:{actions:i},versionInfo:e}=this,n=e.versionIdentifier.name,o=e.versionIdentifier.guid,c=`actionSwitchToVersion_${o}`;return t(s,null,t("calcite-list-item",{description:n.split(".")[0],label:n.split(".")[1],value:o},t("calcite-action",{id:c,icon:"switch",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"changeVersion",versionInfo:e})},slot:"actions-start"}),t("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:c},t("span",null,i.switchToVersion)),t("calcite-action-menu",{"overlay-positioning":"fixed",slot:"actions-end"},t("calcite-action",{icon:"switch",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"changeVersion",versionInfo:e})},scale:"s",text:i.switchToVersion,textEnabled:!0}),t("calcite-action",{disabled:"SDE.DEFAULT"===n.toUpperCase()||!this.hasAdvEditingUte||!this.isVersioningApiAvailable,icon:"edit-attributes",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"editVersion",versionInfo:e})},scale:"s",text:i.editVersion,textEnabled:!0}))))}get _hostElement(){return n(this)}},a=class{constructor(t){i(this,t),this.versionItemActionClickedEventWithServiceUrl=e(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=e(this,"versionListActionClickedEvent",7),this._watchHandles=[],this.heading=void 0,this.serviceName=void 0,this.serviceUrl=void 0,this.strings=void 0,this.userHasAdvancedEditingUserTypeExtension=void 0,this.versionInfos=void 0,this.viewModel=void 0,this.state=void 0}async componentDidLoad(){const{watch:i}=await o();this._watchHandles.push(i((()=>this.versionInfos),(i=>{this.versionInfos=i})),i((()=>this.viewModel.state),(i=>{this.state=i})))}async componentWillLoad(){this.state=this.viewModel.state}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[]}render(){const{heading:i,serviceName:e,serviceUrl:n,state:o,strings:c,versionInfos:a,viewModel:r}=this;return t(s,null,t("calcite-flow-item",{heading:i,description:e},t("calcite-panel",{loading:"executing"===o,class:"panel-versions",heading:`${c.headers.manageVersions} (${a.length})`},t("calcite-action",{id:"actionRefreshVersions",icon:"refresh",onclick:()=>{this.versionListActionClickedEvent.emit({actionType:"refreshVersions",serviceUrl:n})},slot:"header-actions-end"}),t("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:"actionRefreshVersions"},t("span",null,c.actions.refreshVersions)),t("calcite-list",{class:"version-list",filterEnabled:!0},a.map((i=>t("arcgis-version-management-version-item",{strings:c,hasAdvEditingUte:r.advancedEditingUserTypeExtensionForUrl.get(n),isVersioningApiAvailable:(r.serverVersionForUrl.get(n)??0)>=11.2,versionInfo:i,onVersionItemActionClickedEvent:i=>{this.versionItemActionClickedEventWithServiceUrl.emit({...i.detail,serviceUrl:n})}})))),t("calcite-fab",{appearance:"outline-fill",slot:"fab",textEnabled:!0,text:c.actions.newVersion,onclick:()=>{this.versionListActionClickedEvent.emit({actionType:"newVersion",serviceUrl:n})}}))))}get _hostElement(){return n(this)}};export{c as arcgis_version_management_version_item,a as arcgis_version_management_version_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.6
|
|
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-6d36cfbe.js";import{v as h,i as n}from"./p-96eef3b2.js";import{r as a,c as o,a as r}from"./p-e64fd028.js";import{o as c}from"./p-dea7ed24.js";const l=class{constructor(i){t(this,i),this.arcgisFeatureReady=e(this,"arcgisFeatureReady",7),this._watchHandles=[],this.referenceElement=void 0,this.defaultPopupTemplateEnabled=!1,this.graphic=void 0,this.location=void 0,this.map=void 0,this.spatialReference=void 0,this.visibleElementsTitle=!0,this.visibleElementsContentAttachments=!0,this.visibleElementsContentFields=!0,this.visibleElementsContentMedia=!0,this.visibleElementsContentText=!0,this.visibleElementsContentExpression=!0,this.visibleElementsLastEditInfo=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}defaultPopupTemplateEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultPopupTemplateEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}locationWatcher(t){this.widget&&(this.widget.viewModel.location=t)}spatialReferenceWatcher(t){this.widget&&(this.widget.spatialReference=t)}visibleElementsTitleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,title:t})}visibleElementsContentAttachmentsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,attachments:t}})}visibleElementsContentFieldsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,fields:t}})}visibleElementsContentMediaWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,media:t}})}visibleElementsContentTextWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,text:t}})}visibleElementsContentExpressionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,expression:t}})}visibleElementsLastEditInfoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,lastEditInfo:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,e){this.widget?.setActiveMedia(t,e)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,this._addContainer(),this._setViewModelParams(),await this._addWatchers(),this.arcgisFeatureReady.emit(),o(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await n();r(this,t((()=>this.widget.view?.map),(t=>this.map=t)))}_createParams(){const t={};return t.visibleElements={title:this.visibleElementsTitle,content:{attachments:this.visibleElementsContentAttachments,fields:this.visibleElementsContentFields,media:this.visibleElementsContentMedia,text:this.visibleElementsContentText,expression:this.visibleElementsContentExpression},lastEditInfo:this.visibleElementsLastEditInfo},void 0!==this.defaultPopupTemplateEnabled&&(t.defaultPopupTemplateEnabled=this.defaultPopupTemplateEnabled),this.graphic&&(t.graphic=this.graphic),this.view&&(t.view=this.view),this.spatialReference&&(t.spatialReference=this.spatialReference),t}_setViewModelParams(){const t={};this.location&&(t.location=this.location),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],defaultPopupTemplateEnabled:["defaultPopupTemplateEnabledWatcher"],graphic:["graphicWatcher"],location:["locationWatcher"],spatialReference:["spatialReferenceWatcher"],visibleElementsTitle:["visibleElementsTitleWatcher"],visibleElementsContentAttachments:["visibleElementsContentAttachmentsWatcher"],visibleElementsContentFields:["visibleElementsContentFieldsWatcher"],visibleElementsContentMedia:["visibleElementsContentMediaWatcher"],visibleElementsContentText:["visibleElementsContentTextWatcher"],visibleElementsContentExpression:["visibleElementsContentExpressionWatcher"],visibleElementsLastEditInfo:["visibleElementsLastEditInfoWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_feature}
|
|
@@ -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.6
|
|
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-6d36cfbe.js";import{V as h,i as a}from"./p-96eef3b2.js";import{r,c,a as o}from"./p-e64fd028.js";import{o as d}from"./p-dea7ed24.js";const n=class{constructor(s){t(this,s),this.arcgisSliceReady=i(this,"arcgisSliceReady",7),this._watchHandles=[],this.referenceElement=void 0,this.analysis=void 0,this.excludedLayers=void 0,this.excludeGroundSurface=!1,this.icon=void 0,this.shape=void 0,this.tiltEnabled=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}excludedLayersWatcher(t){this.widget&&(this.widget.viewModel.excludedLayers=t)}excludeGroundSurfaceWatcher(t){this.widget&&(this.widget.viewModel.excludeGroundSurface=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}shapeWatcher(t){this.widget&&(this.widget.viewModel.shape=t)}tiltEnabledWatcher(t){this.widget&&(this.widget.viewModel.tiltEnabled=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clear(){this.widget?.viewModel.clear()}async start(){this.widget?.viewModel.start()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisSliceReady.emit(),c(this)}disconnectedCallback(){d(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.analysis),(t=>this.analysis=t),{initial:!0}))}_createParams(){const t={};return t.viewModel={excludeGroundSurface:this.excludeGroundSurface,tiltEnabled:this.tiltEnabled},this.excludedLayers&&(t.viewModel.excludedLayers=this.excludedLayers),this.shape&&(t.viewModel.shape=this.shape),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],excludedLayers:["excludedLayersWatcher"],excludeGroundSurface:["excludeGroundSurfaceWatcher"],icon:["iconWatcher"],shape:["shapeWatcher"],tiltEnabled:["tiltEnabledWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="arcgis-slice{}";export{n as arcgis_slice}
|
|
@@ -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.6
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as i,h as t,g as s}from"./p-6d36cfbe.js";import{O as a,i as h}from"./p-96eef3b2.js";import{r as c,c as r,a as n}from"./p-e64fd028.js";import{o as l}from"./p-dea7ed24.js";const o=class{constructor(t){e(this,t),this.arcgisScaleRangeSliderReady=i(this,"arcgisScaleRangeSliderReady",7),this._watchHandles=[],this.referenceElement=void 0,this.disabled=!1,this.layer=void 0,this.maxScale=void 0,this.maxScaleLimit=void 0,this.minScale=void 0,this.minScaleLimit=void 0,this.mode="range",this.region="US",this.visibleElementsPreview=!0,this.visibleElementsScaleMenusMinScaleMenu=!0,this.visibleElementsScaleMenusMaxScaleMenu=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(e){c(this,e)}disabledWatcher(e,i){this.widget&&e!==i&&(this.widget.disabled=e)}layerWatcher(e){this.widget&&(this.widget.layer=e)}maxScaleWatcher(e){void 0!==e&&this.widget&&(this.widget.maxScale=e)}maxScaleLimitWatcher(e){void 0!==e&&this.widget&&(this.widget.maxScaleLimit=e)}minScaleWatcher(e){void 0!==e&&this.widget&&(this.widget.minScale=e)}minScaleLimitWatcher(e){void 0!==e&&this.widget&&(this.widget.minScaleLimit=e)}modeWatcher(e){this.widget&&(this.widget.mode=e)}regionWatcher(e){this.widget&&(this.widget.region=e)}visibleElementsPreviewWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,preview:e})}visibleElementsScaleMenusMinScaleMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,minScaleMenu:e}})}visibleElementsScaleMenusMaxScaleMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,maxScaleMenu:e}})}positionWatcher(e){void 0!==e&&this.widget&&this.view.ui.move(this.childElem,e)}viewWatcher(e){void 0!==e&&this.widget&&(this.widget.view=e)}async componentDidLoad(){const e=this._createParams(),i=await a(e);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisScaleRangeSliderReady.emit(),r(this)}disconnectedCallback(){l(this)}render(){return t("div",{ref:e=>this.childElem=e})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:e}=await h();n(this,e((()=>this.widget?.disabled),(e=>this.disabled=e)))}_createParams(){const e={};return e.visibleElements={preview:this.visibleElementsPreview,scaleMenus:{minScaleMenu:this.visibleElementsScaleMenusMinScaleMenu,maxScaleMenu:this.visibleElementsScaleMenusMaxScaleMenu}},this.layer&&(e.layer=this.layer),void 0!==this.maxScale&&(e.maxScale=this.maxScale),void 0!==this.minScale&&(e.minScale=this.minScale),void 0!==this.maxScaleLimit&&(e.maxScaleLimit=this.maxScaleLimit),void 0!==this.minScaleLimit&&(e.minScaleLimit=this.minScaleLimit),this.mode&&(e.mode=this.mode),this.region&&(e.region=this.region),this.view&&(e.view=this.view),e}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],disabled:["disabledWatcher"],layer:["layerWatcher"],maxScale:["maxScaleWatcher"],maxScaleLimit:["maxScaleLimitWatcher"],minScale:["minScaleWatcher"],minScaleLimit:["minScaleLimitWatcher"],mode:["modeWatcher"],region:["regionWatcher"],visibleElementsPreview:["visibleElementsPreviewWatcher"],visibleElementsScaleMenusMinScaleMenu:["visibleElementsScaleMenusMinScaleMenuWatcher"],visibleElementsScaleMenusMaxScaleMenu:["visibleElementsScaleMenusMaxScaleMenuWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="arcgis-scale-range-slider{}";export{o as arcgis_scale_range_slider}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.6
|
|
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-6d36cfbe.js";import{f as h,i as r}from"./p-96eef3b2.js";import{r as a,c as l,a as n}from"./p-e64fd028.js";import{o as c}from"./p-dea7ed24.js";const o=class{constructor(i){t(this,i),this.arcgisBasemapLayerListReady=e(this,"arcgisBasemapLayerListReady",7),this.basemapLayerListTriggerAction=e(this,"basemapLayerListTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.baseFilterText="",this.baseItems=void 0,this.baseListItemCreatedFunction=void 0,this.basemapTitle=void 0,this.collapsed=!1,this.dragEnabled=!1,this.editingTitle=!1,this.filterPlaceholder="",this.icon=void 0,this.minFilterItems=10,this.referenceFilterText="",this.referenceListItemCreatedFunction=void 0,this.selectedItems=void 0,this.selectionMode="none",this.visibilityAppearance="default",this.visibleElementsBaseLayers=!0,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsEditTitleButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!0,this.visibleElementsReferenceLayers=!0,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryLayerIndicators=!1,this.view=void 0,this.widget=void 0,this.position="bottom-left"}referenceElementWatcher(t){a(this,t)}baseFilterTextWatcher(t){this.widget&&(this.widget.baseFilterText=t)}baseListItemCreatedFunctionWatcher(t){this.widget&&(this.widget.baseListItemCreatedFunction=t)}basemapTitleWatcher(t,e){this.widget&&t!==e&&(this.widget.basemapTitle=t)}collapsedWatcher(t){this.widget&&this.widget.collapsed!==t&&(this.widget.collapsed=t)}dragEnabledWatcher(t){this.widget&&void 0!==t&&(this.widget.dragEnabled=t)}editingTitleWatcher(t){this.widget&&void 0!==t&&(this.widget.editingTitle=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}minFilterItemsWatcher(t){this.widget&&(this.widget.minFilterItems=t)}referenceFilterTextWatcher(t){this.widget&&(this.widget.referenceFilterText=t)}referenceListItemCreatedFunctionWatcher(t){this.widget&&(this.widget.referenceListItemCreatedFunction=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibilityAppearanceWatcher(t){this.widget&&(this.widget.visibilityAppearance=t)}visibleElementsBaseLayersWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,baseLayers: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})}visibleElementsEditTitleButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editTitleButton: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,filter:t})}visibleElementsReferenceLayersWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,referenceLayers:t})}visibleElementsStatusIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,statusIndicators:t})}visibleElementsTemporaryLayerIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,temporaryLayerIndicators:t})}viewWatcher(t){this.widget&&(this.widget.view=t)}positionWatcher(t){this.widget&&this.view.ui.move(this.childElem,t)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,await this._addWatchers(),await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisBasemapLayerListReady.emit(),l(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={baseLayers:this.visibleElementsBaseLayers,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,editTitleButton:this.visibleElementsEditTitleButton,errors:this.visibleElementsErrors,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,referenceLayers:this.visibleElementsReferenceLayers,statusIndicators:this.visibleElementsStatusIndicators,temporaryLayerIndicators:this.visibleElementsTemporaryLayerIndicators},this.baseFilterText&&(t.baseFilterText=this.baseFilterText),this.baseListItemCreatedFunction&&(t.baseListItemCreatedFunction=this.baseListItemCreatedFunction),this.basemapTitle&&(t.basemapTitle=this.basemapTitle),void 0!==this.collapsed&&(t.collapsed=this.collapsed),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),void 0!==this.editingTitle&&(t.editingTitle=this.editingTitle),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.icon&&(t.icon=this.icon),void 0!==this.minFilterItems&&(t.minFilterItems=this.minFilterItems),this.referenceFilterText&&(t.referenceFilterText=this.referenceFilterText),this.referenceListItemCreatedFunction&&(t.referenceListItemCreatedFunction=this.referenceListItemCreatedFunction),this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibilityAppearance&&(t.visibilityAppearance=this.visibilityAppearance),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await r();n(this,[t((()=>this.widget.baseItems),(t=>this.baseItems=t),{initial:!0}),t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0}),t((()=>this.widget.basemapTitle),(t=>{this.basemapTitle||(this.basemapTitle=t)}),{initial:!0}),t((()=>this.widget.collapsed),(t=>this.collapsed=t))])}_proxyEvents(){this.widget?.on("trigger-action",(t=>this.basemapLayerListTriggerAction.emit(t)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],baseFilterText:["baseFilterTextWatcher"],baseListItemCreatedFunction:["baseListItemCreatedFunctionWatcher"],basemapTitle:["basemapTitleWatcher"],collapsed:["collapsedWatcher"],dragEnabled:["dragEnabledWatcher"],editingTitle:["editingTitleWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],icon:["iconWatcher"],minFilterItems:["minFilterItemsWatcher"],referenceFilterText:["referenceFilterTextWatcher"],referenceListItemCreatedFunction:["referenceListItemCreatedFunctionWatcher"],selectionMode:["selectionModeWatcher"],visibilityAppearance:["visibilityAppearanceWatcher"],visibleElementsBaseLayers:["visibleElementsBaseLayersWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsEditTitleButton:["visibleElementsEditTitleButtonWatcher"],visibleElementsErrors:["visibleElementsErrorsWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsReferenceLayers:["visibleElementsReferenceLayersWatcher"],visibleElementsStatusIndicators:["visibleElementsStatusIndicatorsWatcher"],visibleElementsTemporaryLayerIndicators:["visibleElementsTemporaryLayerIndicatorsWatcher"],view:["viewWatcher"],position:["positionWatcher"]}}};o.style="";export{o as arcgis_basemap_layer_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.6
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-6d36cfbe.js";import{a5 as h}from"./p-96eef3b2.js";import{r as o,c as r}from"./p-e64fd028.js";import{o as a}from"./p-dea7ed24.js";const c=class{constructor(s){t(this,s),this.arcgisZoomReady=i(this,"arcgisZoomReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.layout="vertical",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t,this.widget.iconClass=t)}layoutWatcher(t){this.widget&&this.widget.layout!==t&&(this.widget.layout=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 zoomIn(){this.widget?.viewModel.zoomIn()}async zoomOut(){this.widget?.viewModel.zoomOut()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisZoomReady.emit(),r(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.layout&&(t.layout=this.layout),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],layout:["layoutWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-zoom{}";export{c as arcgis_zoom}
|
|
@@ -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.6
|
|
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-6d36cfbe.js";import{c as h,i as a}from"./p-96eef3b2.js";import{r,c,a as o}from"./p-e64fd028.js";import{o as n}from"./p-dea7ed24.js";const d=class{constructor(s){t(this,s),this.arcgisAreaMeasurement2dReady=i(this,"arcgisAreaMeasurement2dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.arcgisAreaMeasurement2dReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t,whenOnce:i}=await a();o(this,t((()=>this.widget.unit),(t=>this.unit=t),{initial:!0})),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={container:this.childElem};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_area_measurement_2d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.6
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-
|
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-6d36cfbe.js";import{N as r}from"./p-96eef3b2.js";import{r as h,c as a}from"./p-e64fd028.js";import{o as c}from"./p-dea7ed24.js";const o=class{constructor(i){t(this,i),this.arcgisScaleBarReady=s(this,"arcgisScaleBarReady",7),this._watchHandles=[],this.referenceElement=void 0,this.barStyle="line",this.unit=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}styleWatcher(t){this.widget&&(this.widget.style=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),s=await r(t);this.widget=s,this._addContainer(),this.arcgisScaleBarReady.emit(),a(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.unit&&(t.unit=this.unit),this.barStyle&&(t.style=this.barStyle),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],barStyle:["styleWatcher"],unit:["unitWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="arcgis-scale-bar{}";export{o as arcgis_scale_bar}
|
|
@@ -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.6
|
|
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-6d36cfbe.js";import{H as h,i as a}from"./p-96eef3b2.js";import{r,c,a as o}from"./p-e64fd028.js";import{o as n}from"./p-dea7ed24.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}
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as
|
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-6d36cfbe.js";import{m as h}from"./p-96eef3b2.js";import{r as a,c as r}from"./p-e64fd028.js";import{o as n}from"./p-dea7ed24.js";const l=class{constructor(i){t(this,i),this.arcgisDaylightReady=e(this,"arcgisDaylightReady",7),this._watchHandles=[],this.referenceElement=void 0,this.currentSeason=void 0,this.dayPlaying=!1,this.yearPlaying=!1,this.dateOrSeason="date",this.icon=void 0,this.playSpeedMultiplier=1,this.timeSliderSteps=5,this.visibleElementsHeader=!0,this.visibleElementsPlayButtons=!0,this.visibleElementsDatePicker=!0,this.visibleElementsTimezone=!0,this.visibleElementsSunLightingToggle=!0,this.visibleElementsShadowsToggle=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}currentSeasonWatcher(t){this.widget&&(this.widget.viewModel.currentSeason=t)}dayPlayingWatcher(t){this.widget&&(this.widget.viewModel.dayPlaying=t)}yearPlayingWatcher(t){this.widget&&(this.widget.viewModel.yearPlaying=t)}dateOrSeasonWatcher(t){void 0!==t&&this.widget&&(this.widget.dateOrSeason=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}playSpeedMultiplierWatcher(t){void 0!==t&&this.widget&&(this.widget.playSpeedMultiplier=t)}timeSliderStepsWatcher(t){void 0!==t&&this.widget&&(this.widget.timeSliderSteps=t)}visibleElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements.header=t)}visibleElementsPlayButtonsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,playButtons:t})}visibleElementsDatePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,datePicker:t})}visibleElementsTimezoneWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,timezone:t})}visibleElementsSunLightingToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,sunLightingToggle:t})}visibleElementsShadowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,shadowsToggle: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._setViewModelParams(),this.arcgisDaylightReady.emit(),r(this)}disconnectedCallback(){n(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,playButtons:this.visibleElementsPlayButtons,datePicker:this.visibleElementsDatePicker,timezone:this.visibleElementsTimezone,sunLightingToggle:this.visibleElementsSunLightingToggle,shadowsToggle:this.visibleElementsShadowsToggle},this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.dateOrSeason&&(t.dateOrSeason=this.dateOrSeason),this.playSpeedMultiplier&&(t.playSpeedMultiplier=this.playSpeedMultiplier),this.timeSliderSteps&&(t.timeSliderSteps=this.timeSliderSteps),t}_setViewModelParams(){const t={dayPlaying:this.dayPlaying,yearPlaying:this.yearPlaying};this.currentSeason&&(t.currentSeason=this.currentSeason),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],currentSeason:["currentSeasonWatcher"],dayPlaying:["dayPlayingWatcher"],yearPlaying:["yearPlayingWatcher"],dateOrSeason:["dateOrSeasonWatcher"],icon:["iconWatcher"],playSpeedMultiplier:["playSpeedMultiplierWatcher"],timeSliderSteps:["timeSliderStepsWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsPlayButtons:["visibleElementsPlayButtonsWatcher"],visibleElementsDatePicker:["visibleElementsDatePickerWatcher"],visibleElementsTimezone:["visibleElementsTimezoneWatcher"],visibleElementsSunLightingToggle:["visibleElementsSunLightingToggleWatcher"],visibleElementsShadowsToggle:["visibleElementsShadowsToggleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_daylight}
|
|
@@ -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.6
|
|
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-6d36cfbe.js";import{a2 as a,i as e}from"./p-96eef3b2.js";import{c as o,a as c}from"./p-e64fd028.js";import{o as r}from"./p-dea7ed24.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(){r(this)}render(){return s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await e();c(this,i((()=>this.widget.canNext),(i=>this.canNext=i),{initial:!0})),c(this,i((()=>this.widget.canPlay),(i=>this.canPlay=i),{initial:!0})),c(this,i((()=>this.widget.canPrevious),(i=>this.canPrevious=i),{initial:!0})),c(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.6
|
|
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-6d36cfbe.js";import{Y as h,i as r}from"./p-96eef3b2.js";import{r as a,c as l,a as o}from"./p-e64fd028.js";import{o as n}from"./p-dea7ed24.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.6
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-3f1277f1.js";import{$ as o}from"./p-6734bfac.js";import{r as n,c}from"./p-c4f5276b.js";import{o as a}from"./p-77f01589.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-6d36cfbe.js";import{$ as o}from"./p-96eef3b2.js";import{r as n,c}from"./p-e64fd028.js";import{o as a}from"./p-dea7ed24.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,7 +1,7 @@
|
|
|
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.6
|
|
5
5
|
*/
|
|
6
6
|
let n,t,e,l=!1,o=!1,s=!1,i=!1;const c=n=>{const t=new URL(n,dn.t);return t.origin!==an.location.origin?t.href:t.pathname},r="slot-fb{display:contents}slot-fb[hidden]{display:none}",u={},a=n=>"object"==(n=typeof n)||"function"===n;function f(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const d=(n,t,...e)=>{let l=null,o=null,s=!1,i=!1;const c=[],r=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!a(l))&&(l+=""),s&&i?c[c.length-1].l+=l:c.push(s?v(null,l):l),i=s)};if(r(e),t){t.name&&(o=t.name);{const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}}const u=v(n,null);return u.o=t,c.length>0&&(u.i=c),u.u=o,u},v=(n,t)=>({v:0,$:n,l:t,p:null,i:null,o:null,u:null}),$={},p=n=>tn(n).$hostElement$,m=(n,t,e)=>{const l=p(n);return{emit:n=>y(l,t,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:n})}},y=(n,t,e)=>{const l=dn.ce(t,e);return n.dispatchEvent(l),l},h=new WeakMap,b=n=>"sc-"+n.m,w=(n,t,e,l,o,s)=>{if(e!==l){let i=on(n,t),c=t.toLowerCase();if("class"===t){const t=n.classList,o=S(e),s=S(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if("ref"===t)l&&l(n);else if(i||"o"!==t[0]||"n"!==t[1]){const c=a(l);if((i||c&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!i||4&s||o)&&!c&&n.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):on(an,c)?c.slice(2):c[2]+t.slice(3),e||l){const o=t.endsWith(j);t=t.replace(k,""),e&&dn.rel(n,t,e,o),l&&dn.ael(n,t,l,o)}}},g=/\s/,S=n=>n?n.split(g):[],j="Capture",k=RegExp(j+"$"),O=(n,t,e,l)=>{const o=11===t.p.nodeType&&t.p.host?t.p.host:t.p,s=n&&n.o||u,i=t.o||u;for(l in s)l in i||w(o,l,s[l],void 0,e,t.v);for(l in i)w(o,l,s[l],i[l],e,t.v)},C=(o,i,c,r)=>{const u=i.i[c];let a,f,d,v=0;if(l||(s=!0,"slot"===u.$&&(n&&r.classList.add(n+"-s"),u.v|=u.i?2:1)),null!==u.l)a=u.p=fn.createTextNode(u.l);else if(1&u.v)a=u.p=fn.createTextNode("");else if(a=u.p=fn.createElement(2&u.v?"slot-fb":u.$),O(null,u,!1),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.i)for(v=0;v<u.i.length;++v)f=C(o,u,v,a),f&&a.appendChild(f);return a["s-hn"]=e,3&u.v&&(a["s-sr"]=!0,a["s-cr"]=t,a["s-sn"]=u.u||"",d=o&&o.i&&o.i[c],d&&d.$===u.$&&o.p&&M(o.p,!1)),a},M=(n,t)=>{dn.v|=1;const l=n.childNodes;for(let n=l.length-1;n>=0;n--){const o=l[n];o["s-hn"]!==e&&o["s-ol"]&&(x(o).insertBefore(o,T(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,s=!0),t&&M(o,t)}dn.v&=-2},R=(n,t,l,o,s,i)=>{let c,r=n["s-cr"]&&n["s-cr"].parentNode||n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=C(null,l,s,n),c&&(o[s].p=c,r.insertBefore(c,T(t))))},P=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.p;D(t),n&&(o=!0,n["s-ol"]?n["s-ol"].remove():M(n,!0),n.remove())}}},L=(n,t)=>n.$===t.$&&("slot"!==n.$||n.u===t.u),T=n=>n&&n["s-ol"]||n,x=n=>(n["s-ol"]?n["s-ol"]:n).parentNode,E=(n,t,e=!1)=>{const l=t.p=n.p,o=n.i,s=t.i,i=t.l;let c;null===i?("slot"===t.$||O(n,t,!1),null!==o&&null!==s?((n,t,e,l,o=!1)=>{let s,i=0,c=0,r=t.length-1,u=t[0],a=t[r],f=l.length-1,d=l[0],v=l[f];for(;i<=r&&c<=f;)null==u?u=t[++i]:null==a?a=t[--r]:null==d?d=l[++c]:null==v?v=l[--f]:L(u,d)?(E(u,d,o),u=t[++i],d=l[++c]):L(a,v)?(E(a,v,o),a=t[--r],v=l[--f]):L(u,v)?("slot"!==u.$&&"slot"!==v.$||M(u.p.parentNode,!1),E(u,v,o),n.insertBefore(u.p,a.p.nextSibling),u=t[++i],v=l[--f]):L(a,d)?("slot"!==u.$&&"slot"!==v.$||M(a.p.parentNode,!1),E(a,d,o),n.insertBefore(a.p,u.p),a=t[--r],d=l[++c]):(s=C(t&&t[c],e,c,n),d=l[++c],s&&x(u.p).insertBefore(s,T(u.p)));i>r?R(n,null==l[f+1]?null:l[f+1].p,e,l,c,f):c>f&&P(t,i,r)})(l,o,t,s,e):null!==s?(null!==n.l&&(l.textContent=""),R(l,null,t,s,0,s.length-1)):null!==o&&P(o,0,o.length-1)):(c=l["s-cr"])?c.parentNode.textContent=i:n.l!==i&&(l.data=i)},N=n=>{const t=n.childNodes;for(const n of t)if(1===n.nodeType){if(n["s-sr"]){const e=n["s-sn"];n.hidden=!1;for(const l of t)if(l!==n)if(l["s-hn"]!==n["s-hn"]||""!==e){if(1===l.nodeType&&(e===l.getAttribute("slot")||e===l["s-sn"])){n.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){n.hidden=!0;break}}N(n)}},A=[],U=n=>{let t,e,l;for(const s of n.childNodes){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){e=t.parentNode.childNodes;const n=s["s-sn"];for(l=e.length-1;l>=0;l--)if(t=e[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==s["s-hn"])if(W(t,n)){let e=A.find((n=>n.h===t));o=!0,t["s-sn"]=t["s-sn"]||n,e?(e.h["s-sh"]=s["s-hn"],e.S=s):(t["s-sh"]=s["s-hn"],A.push({S:s,h:t})),t["s-sr"]&&A.map((n=>{W(n.h,t["s-sn"])&&(e=A.find((n=>n.h===t)),e&&!n.S&&(n.S=e.S))}))}else A.some((n=>n.h===t))||A.push({h:t})}1===s.nodeType&&U(s)}},W=(n,t)=>1===n.nodeType?null===n.getAttribute("slot")&&""===t||n.getAttribute("slot")===t:n["s-sn"]===t||""===t,D=n=>{n.o&&n.o.ref&&n.o.ref(null),n.i&&n.i.map(D)},F=(n,t)=>{t&&!n.j&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.j=t)))},H=(n,t)=>{if(n.v|=16,!(4&n.v))return F(n,n.k),gn((()=>q(n,t)));n.v|=512},q=(n,t)=>{const e=n.O;let l;return t&&(l=J(e,"componentWillLoad")),V(l,(()=>z(n,e,t)))},V=(n,t)=>_(n)?n.then(t):t(),_=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,z=async(n,t,e)=>{var l;const o=n.$hostElement$,s=o["s-rc"];e&&(n=>{const t=n.C,e=n.$hostElement$,l=t.v,o=((n,t)=>{var e;const l=b(t),o=un.get(l);if(n=11===n.nodeType?n:fn,o)if("string"==typeof o){let s,i=h.get(n=n.head||n);if(i||h.set(n,i=new Set),!i.has(l)){{s=fn.createElement("style"),s.innerHTML=o;const t=null!==(e=dn.M)&&void 0!==e?e:f(fn);null!=t&&s.setAttribute("nonce",t),n.insertBefore(s,n.querySelector("link"))}4&t.v&&(s.innerHTML+=r),i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);B(n,t,o,e),s&&(s.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>G(n);0===t.length?e():(Promise.all(t).then(e),n.v|=4,t.length=0)}},B=(i,c,r,u)=>{try{c=c.render(),i.v&=-17,i.v|=2,((i,c,r=!1)=>{var u,a,f,p;const m=i.$hostElement$,y=i.C,h=i.R||v(null,null),b=(n=>n&&n.$===$)(c)?c:d(null,null,c);if(e=m.tagName,y.P&&(b.o=b.o||{},y.P.map((([n,t])=>b.o[t]=m[n]))),r&&b.o)for(const n of Object.keys(b.o))m.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(b.o[n]=m[n]);if(b.$=null,b.v|=4,i.R=b,b.p=h.p=m.shadowRoot||m,n=m["s-sc"],t=m["s-cr"],l=0!=(1&y.v),o=!1,E(h,b,r),dn.v|=1,s){U(b.p);for(const n of A){const t=n.h;if(!t["s-ol"]){const n=fn.createTextNode("");n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t)}}for(const n of A){const t=n.h,e=n.S;if(e){const n=e.parentNode;let l=e.nextSibling;{let e=null===(u=t["s-ol"])||void 0===u?void 0:u.previousSibling;for(;e;){let o=null!==(a=e["s-nr"])&&void 0!==a?a:null;if(o&&o["s-sn"]===t["s-sn"]&&n===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}e=e.previousSibling}}(!l&&n!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(f=t["s-ih"])&&void 0!==f&&f))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(p=t.hidden)&&void 0!==p&&p),t.hidden=!0)}}o&&N(b.p),dn.v&=-2,A.length=0})(i,c,u)}catch(n){sn(n,i.$hostElement$)}return null},G=n=>{const t=n.$hostElement$,e=n.O,l=n.k;J(e,"componentDidRender"),64&n.v||(n.v|=64,K(t),J(e,"componentDidLoad"),n.L(t),l||I()),n.T(t),n.j&&(n.j(),n.j=void 0),512&n.v&&wn((()=>H(n,!1))),n.v&=-517},I=()=>{K(fn.documentElement),wn((()=>y(an,"appload",{detail:{namespace:"arcgis-map-components"}})))},J=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){sn(n)}},K=n=>n.setAttribute("hydrated",""),Q=(n,t,e)=>{var l;const o=n.prototype;if(t.N){n.watchers&&(t.A=n.watchers);const s=Object.entries(t.N);if(s.map((([n,[l]])=>{31&l||2&e&&32&l?Object.defineProperty(o,n,{get(){return((n,t)=>tn(this).U.get(t))(0,n)},set(e){((n,t,e,l)=>{const o=tn(n),s=o.$hostElement$,i=o.U.get(t),c=o.v,r=o.O;if(e=((n,t)=>null==n||a(n)?n:4&t?"false"!==n&&(""===n||!!n):2&t?parseFloat(n):1&t?n+"":n)(e,l.N[t][0]),(!(8&c)||void 0===i)&&e!==i&&(!Number.isNaN(i)||!Number.isNaN(e))&&(o.U.set(t,e),r)){if(l.A&&128&c){const n=l.A[t];n&&n.map((n=>{try{r[n](e,i,t)}catch(n){sn(n,s)}}))}2==(18&c)&&H(o,!1)}})(this,n,e,t)},configurable:!0,enumerable:!0}):1&e&&64&l&&Object.defineProperty(o,n,{value(...t){var e;const l=tn(this);return null===(e=null==l?void 0:l.W)||void 0===e?void 0:e.then((()=>{var e;return null===(e=l.O)||void 0===e?void 0:e[n](...t)}))}})})),1&e){const e=new Map;o.attributeChangedCallback=function(n,l,s){dn.jmp((()=>{var i;const c=e.get(n);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const e=tn(this),o=null==e?void 0:e.v;if(o&&!(8&o)&&128&o&&s!==l){const o=e.O,c=null===(i=t.A)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,n)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.A)&&void 0!==l?l:{}),...s.filter((([n,t])=>15&t[0])).map((([n,l])=>{var o;const s=l[1]||n;return e.set(s,n),512&l[0]&&(null===(o=t.P)||void 0===o||o.push([n,s])),s}))]))}}return n},X=n=>{J(n,"disconnectedCallback")},Y=(n,t={})=>{var e;const l=[],o=t.exclude||[],s=an.customElements,i=fn.head,c=i.querySelector("meta[charset]"),u=fn.createElement("style"),a=[];let d,v=!0;Object.assign(dn,t),dn.t=new URL(t.resourcesUrl||"./",fn.baseURI).href;let $=!1;if(n.map((n=>{n[1].map((t=>{var e;const i={v:t[0],m:t[1],N:t[2],D:t[3]};4&i.v&&($=!0),i.N=t[2],i.P=[],i.A=null!==(e=t[4])&&void 0!==e?e:{};const c=i.m,r=class extends HTMLElement{constructor(n){super(n),ln(n=this,i),1&i.v&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?a.push(this):dn.jmp((()=>(n=>{if(0==(1&dn.v)){const t=tn(n),e=t.C,l=()=>{};if(1&t.v)(null==t?void 0:t.O)||(null==t?void 0:t.F)&&t.F.then((()=>{}));else{t.v|=1,12&e.v&&(n=>{const t=n["s-cr"]=fn.createComment("");t["s-cn"]=!0,n.insertBefore(t,n.firstChild)})(n);{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){F(t,t.k=e);break}}e.N&&Object.entries(e.N).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.v)){t.v|=32;{if(l=rn(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(e.A=l.watchers,Q(l,e,2),l.isProxied=!0);const n=()=>{};t.v|=8;try{new l(t)}catch(n){sn(n)}t.v&=-9,t.v|=128,n()}if(l.style){let n=l.style;const t=b(e);if(!un.has(t)){const l=()=>{};((n,t,e)=>{let l=un.get(n);$n&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,un.set(n,l)})(t,n,!!(1&e.v)),l()}}}const o=t.k,s=()=>H(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){dn.jmp((()=>(async()=>{if(0==(1&dn.v)){const n=tn(this);(null==n?void 0:n.O)?X(n.O):(null==n?void 0:n.F)&&n.F.then((()=>X(n.O)))}})()))}componentOnReady(){return tn(this).F}};i.H=n[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,Q(r,i,1)))}))})),$&&(u.innerHTML+=r),u.innerHTML+=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length){u.setAttribute("data-styles","");const n=null!==(e=dn.M)&&void 0!==e?e:f(fn);null!=n&&u.setAttribute("nonce",n),i.insertBefore(u,c?c.nextSibling:i.firstChild)}v=!1,a.length?a.map((n=>n.connectedCallback())):dn.jmp((()=>d=setTimeout(I,30)))},Z=n=>dn.M=n,nn=new WeakMap,tn=n=>nn.get(n),en=(n,t)=>nn.set(t.O=n,t),ln=(n,t)=>{const e={v:0,$hostElement$:n,C:t,U:new Map};return e.W=new Promise((n=>e.T=n)),e.F=new Promise((n=>e.L=n)),n["s-p"]=[],n["s-rc"]=[],nn.set(n,e)},on=(n,t)=>t in n,sn=(n,t)=>(0,console.error)(n,t),cn=new Map,rn=n=>{const t=n.m.replace(/-/g,"_"),e=n.H,l=cn.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(cn.set(e,n),n[t])),sn)
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},un=new Map,an="undefined"!=typeof window?window:{},fn=an.document||{head:{}},dn={v:0,t:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},vn=n=>Promise.resolve(n),$n=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),pn=[],mn=[],yn=(n,t)=>e=>{n.push(e),i||(i=!0,t&&4&dn.v?wn(bn):dn.raf(bn))},hn=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){sn(n)}n.length=0},bn=()=>{hn(pn),hn(mn),(i=pn.length>0)&&dn.raf(bn)},wn=n=>vn().then(n),gn=yn(mn,!0);export{$ as H,c as a,Y as b,m as c,p as g,d as h,vn as p,en as r,Z as s}
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,a as t,h as i,H as s,g as n}from"./p-
|
|
6
|
+
import{r as e,a as t,h as i,H as s,g as n}from"./p-6d36cfbe.js";import{i as r,a3 as a}from"./p-96eef3b2.js";function o(e,t){let i=e;for(;i;){if(i===t)return!0;if(!i.parentNode)return!1;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1}var c=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),l=new Map;async function h(e,t,i=""){let s=`${t}/${i}${e}.json`;if(l.has(s))return l.get(s);try{let n=await fetch(s);if(n.ok){let e=await n.json();return l.set(s,e),e}if("en"===e)return void l.set(s,void 0);let r=await h("en",t,i);return l.set(s,r),r}catch{return void l.set(s,void 0)}}var d=new WeakMap,v=new WeakMap,u=new WeakMap;async function f(e,t){let{lang:i,t9nLocale:s}=function(e){let t=function(e,t,i){return function(e,t){let i=e;for(;i;){let e=i.closest(t);if(e)return e;let s=i.getRootNode();if(s===document)return null;i=s.host}return null}(e,`[${t}]`)?.getAttribute(t)??i}(e,"lang",navigator.language||"en");if(c.has(t))return{lang:t,t9nLocale:t};let i=t.slice(0,2);return{lang:t,t9nLocale:c.has(i)?i:"en"}}(e._hostElement);if(i===e._lang&&s===e._t9nLocale||(i!==e._lang&&(e._lang=i),s===e._t9nLocale))return;let n=u.get(e);if(!n){let t=v.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),r=`${t}/${i}/t9n`,a=`${i}.t9n.`;n=await h(s,r,a)}s!==e._t9nLocale&&(e._t9nLocale=s,e._t9nStrings=n,await(t?.call(e)))}const w=class{constructor(t){e(this,t),this._watchHandles=[],this.label=void 0,this.position="top-right",this.view=void 0,this._lang="",this._t9nLocale="",this._t9nStrings=void 0,this.state=void 0}positionWatcher(e){void 0!==e&&this.viewModel&&this.view.ui.move(this._hostElement,e)}async componentDidLoad(){const{watch:e}=await r();this._watchHandles.push(e((()=>this.viewModel.state),(e=>{this.state=e})))}async componentWillLoad(){await async function(e,t,i){v.set(e,t),d.set(e,function(e,t,i=(()=>{})){if(!t||t.length<=0)return;let s=new MutationObserver((t=>{for(let s of t)o(e,s.target)&&i()}));return s.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),s}(e._hostElement,["lang"],(()=>{f(e,i).catch(console.error)}))),await f(e,i)}(this,t("./assets")),await this._checkForView(),this.viewModel=await a({layers:this.view.map.layers}),this.label=this.label?this.label:this._t9nStrings.label}disconnectedCallback(){var e;e=this,d.get(e)?.disconnect(),d.delete(e),v.delete(e),this._watchHandles.forEach((e=>{e.remove()})),this._watchHandles=[]}render(){const{_t9nStrings:e,label:t,viewModel:n,viewModel:{state:r,loadError:a}}=this,o=Array.from(this.viewModel.serviceNames,(([e,t])=>({url:e,name:t})));return i(s,null,i("calcite-flow",{ref:e=>{this.flowElement=e},class:"flow-main"},i("calcite-flow-item",{heading:t},i("calcite-panel",{class:"panel-services",loading:"loading"===r},o.map((s=>i("arcgis-version-management-service-item",{flowElement:this.flowElement,heading:t,serviceUrl:s.url,strings:e,viewModel:n,onVersionItemActionClickedEventWithServiceUrl:e=>{this._handleVersionItemActionClick(e,this.flowElement)},onVersionListActionClickedEvent:e=>{this._handleVersionListActionClick(e,this.flowElement)}}))),"disabled"===r?i("calcite-notice",{class:"notice",closable:!1,kind:"warning",open:!0,scale:"s",slot:"footer"},i("div",{slot:"message"},this._getLoadError(a))):void 0))))}async _checkForView(){const e=this._hostElement.closest("arcgis-map");e?.view&&(await e.view.map.load(),this.view=e.view,this.view.ui.add(this._hostElement,this.position))}_createVersionPropertiesFlow(e,t){const{flowElement:i,viewModel:s}=this,n=document.createElement("arcgis-version-management-version-properties");return n.flowElement=i,n.serviceUrl=e,n.strings=this._t9nStrings,n.versionInfo=t,n.viewModel=s,n.addEventListener("versionPropertiesSaveClickedEvent",(async e=>{const{serviceUrl:t,versionInfo:n}=e.detail,r=n.versionIdentifier.name,a=r.split(".").length>1?r.split(".")[1]:r,o=r.split(".").length>1?r.split(".")[0]:s.userForUrl.get(t);if(""===n.versionIdentifier.guid?await s.createVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionName:a}):await s.alterVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionIdentifier:{name:"",guid:n.versionIdentifier.guid},versionName:a}),"ready"===s.state){await s.getVersionInfos(t,!0);const e=s.versionInfos.get(t);i.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos=e,await i.back()}})),n}_getLoadError(e){const{_t9nStrings:t}=this;switch(e){case"no-feature-services":return t.loadErrors.noFeatureServices;case"no-layers-property":return t.loadErrors.noLayersProperty;default:return e}}async _handleVersionItemActionClick(e,t){const{actionType:i,serviceUrl:s,versionInfo:n}=e.detail;switch(i){case"changeVersion":await this._switchToVersion(s,n.versionIdentifier.name,n.versionIdentifier.guid);break;case"editVersion":t.append(this._createVersionPropertiesFlow(s,n))}}async _handleVersionListActionClick(e,t){const{actionType:i,serviceUrl:s}=e.detail;switch(i){case"newVersion":t.append(this._createVersionPropertiesFlow(s,void 0));break;case"refreshVersions":{const e=await this.viewModel.getVersionInfos(s,!0);this.flowElement.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos=e;break}}}async _switchToVersion(e,t,i){await this.viewModel.changeVersion(e,t,i)}static get assetsDirs(){return["assets"]}get _hostElement(){return n(this)}static get watchers(){return{position:["positionWatcher"]}}};w.style=".div-content{background-color:var(--calcite-ui-foreground-1);padding:0.75rem}.flow-main{width:330px}.notice{width:-webkit-fill-available}.panel-services{max-height:400px}.panel-versions{max-height:400px}";export{w as arcgis_version_management}
|