@arcgis/map-components 4.29.6 → 4.29.7
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-5a1ef062.entry.js → p-000ce726.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-406218c2.entry.js → p-0176ffee.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a97fe55c.entry.js → p-048c93dc.entry.js} +2 -2
- package/dist/arcgis-map-components/p-08bdd78b.entry.js +6 -0
- package/dist/arcgis-map-components/{p-d311cf00.entry.js → p-11696a57.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-01a02cf2.entry.js → p-119bbcd6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ad8e9b17.entry.js → p-11b3803c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-25bf8a1e.entry.js → p-12907ba8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d0e1e22b.entry.js → p-12b7b6ad.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7cebd595.entry.js → p-14fb2d72.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0535037e.entry.js → p-17a04dd4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-fd2aa3a5.entry.js → p-17ab6997.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c52a7e3f.entry.js → p-1ef7802e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-aec4cdb6.entry.js → p-27150aef.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8658cd9a.entry.js → p-33e976b5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-fad15acf.entry.js → p-3ff1dc41.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4db3278e.entry.js → p-4107c8e4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f234126c.entry.js → p-41e5f19c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-938c34ca.entry.js → p-424a0cb9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e64fd028.js → p-4a56215a.js} +1 -1
- package/dist/arcgis-map-components/{p-66830d70.entry.js → p-4b882990.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6315bb61.entry.js → p-4e5043a9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3d49dbf4.entry.js → p-4f97ba64.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6419154b.entry.js → p-51f3f74c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9607f6ac.entry.js → p-5536dcd1.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-96eef3b2.js → p-5618cdb5.js} +1 -1
- package/dist/arcgis-map-components/p-64423033.entry.js +6 -0
- package/dist/arcgis-map-components/{p-34cb76b2.entry.js → p-65b77a7a.entry.js} +2 -2
- package/dist/arcgis-map-components/p-65bf36ad.entry.js +6 -0
- package/dist/arcgis-map-components/{p-208ea84a.entry.js → p-66193de2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9fe1e2be.entry.js → p-6cfc80ba.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-33c11303.entry.js → p-7164604b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9e176360.entry.js → p-72c4d504.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e9ce559c.entry.js → p-72cb85bd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-904ed74e.entry.js → p-7511a3e3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6f5ea7ed.entry.js → p-7557b4ed.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5148ed61.entry.js → p-7595bc46.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-27b48bc4.entry.js → p-7c95697d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b6635c85.entry.js → p-80928212.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e33dd791.entry.js → p-831a3483.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f67e8ef0.entry.js → p-893559c5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bc478fcc.entry.js → p-8ef95194.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4c4652b6.entry.js → p-901e2589.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a8e8cdb5.entry.js → p-98688f40.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-989b5827.entry.js → p-98e724bf.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5a7a21c7.entry.js → p-a2098d2b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b12fdeed.entry.js → p-a8f4ae54.entry.js} +2 -2
- package/dist/arcgis-map-components/p-aeeb895d.entry.js +6 -0
- package/dist/arcgis-map-components/{p-9f97f02d.entry.js → p-b055ff4c.entry.js} +2 -2
- package/dist/arcgis-map-components/p-b3375a64.entry.js +6 -0
- package/dist/arcgis-map-components/{p-e15b4677.entry.js → p-b923473d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4edfa308.entry.js → p-c06d9650.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-caf0dd23.entry.js → p-e201c9e4.entry.js} +2 -2
- package/dist/arcgis-map-components/p-e7167db8.entry.js +6 -0
- package/dist/arcgis-map-components/{p-6d36cfbe.js → p-e71f0b88.js} +1 -1
- package/dist/arcgis-map-components/{p-dcb4a657.entry.js → p-ef98a60f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-225cc5e5.entry.js → p-f2728c32.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8ef0cb1a.entry.js → p-f44bf4a1.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d7aba6e7.entry.js → p-f52e3491.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-87bcddac.entry.js → p-f77a9d21.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-dea7ed24.js → p-fef5523a.js} +1 -1
- 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-80f3876f.js → component-utils-0b80602d.js} +1 -1
- package/dist/cjs/{disconnected-e4c71e24.js → disconnected-2bed5c21.js} +1 -1
- package/dist/cjs/{index-1328e665.js → index-064ec7c3.js} +1 -1
- package/dist/cjs/{index-21d63c13.js → index-72c4fd5d.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-43d40a87.js → component-utils-2b64dfdd.js} +1 -1
- package/dist/esm/{disconnected-7f9ad39a.js → disconnected-7f6a3433.js} +1 -1
- package/dist/esm/{index-6eb8592f.js → index-42d43a77.js} +1 -1
- package/dist/esm/{index-49eeeae6.js → index-7904f36c.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-2a0b2463.entry.js +0 -6
- package/dist/arcgis-map-components/p-45dc51ee.entry.js +0 -6
- package/dist/arcgis-map-components/p-81bd6792.entry.js +0 -6
- package/dist/arcgis-map-components/p-c744dd58.entry.js +0 -6
- package/dist/arcgis-map-components/p-d3805ca8.entry.js +0 -6
- package/dist/arcgis-map-components/p-ebcd233b.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.7
|
|
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-e71f0b88.js";import{z as h}from"./p-5618cdb5.js";import{c as r}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const a=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.featureTemplatesSelect=i(this,"featureTemplatesSelect",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0,this.enableListScroll=void 0,this.filterFunction=void 0,this.filterText=void 0,this.groupBy=void 0,this.layers=void 0,this.selectionMode=void 0,this.visibleElements=void 0}enableListScrolWatcher(t){void 0!==t&&this.widget&&(this.widget.enableListScroll=t)}filterFunctionWatcher(t){this.widget&&(this.widget.filterFunction=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}groupByWatcher(t){this.widget&&(this.widget.groupBy=t)}layersWatcher(t){this.widget&&(this.widget.layers=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibleElementsWatcher(t){this.widget&&(this.widget.visibleElements=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){o(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.enableListScroll&&(t.enableListScroll=this.enableListScroll),this.filterFunction&&(t.filterFunction=this.filterFunction),this.filterText&&(t.filterText=this.filterText),this.groupBy&&(t.groupBy=this.groupBy),this.layers&&(t.layers=this.layers),void 0!==this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibleElements&&(t.visibleElements=this.visibleElements),t}_proxyEvents(){this.widget.on("select",(t=>this.featureTemplatesSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{enableListScroll:["enableListScrolWatcher"],filterFunction:["filterFunctionWatcher"],filterText:["filterTextWatcher"],groupBy:["groupByWatcher"],layers:["layersWatcher"],selectionMode:["selectionModeWatcher"],visibleElements:["visibleElementsWatcher"]}}};a.style="";export{a as arcgis_feature_templates}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.7
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as e,g as s}from"./p-
|
|
6
|
+
import{r as t,c as i,h as e,g as s}from"./p-e71f0b88.js";import{a1 as r}from"./p-5618cdb5.js";import{r as o,c as a}from"./p-4a56215a.js";import{o as h}from"./p-fef5523a.js";const c=class{constructor(e){t(this,e),this.arcgisUtilityNetworkValidateTopologyReady=i(this,"arcgisUtilityNetworkValidateTopologyReady",7),this._watchHandles=[],this.referenceElement=void 0,this.extentToValidate="current",this.utilityNetwork=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkValidateTopologyReady.emit(),a(this)}disconnectedCallback(){h(this)}render(){return e("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-utility-network-validate-topology{}";export{c as arcgis_utility_network_validate_topology}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.7
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as h}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as h}from"./p-e71f0b88.js";import{a6 as e,i as a}from"./p-5618cdb5.js";import{r as o,a as c}from"./p-4a56215a.js";import{o as r}from"./p-fef5523a.js";const n=class{constructor(s){t(this,s),this.arcgisExpandReady=i(this,"arcgisExpandReady",7),this._watchHandles=[],this.autoCollapse=!1,this.closeOnEsc=!0,this.collapseIcon=void 0,this.collapseTooltip=void 0,this.expanded=!1,this.expandIcon=void 0,this.expandTooltip=void 0,this.group=void 0,this.iconNumber=void 0,this.mode="auto",this.referenceElement=void 0,this.position="top-right",this.view=void 0,this.widget=void 0}autoCollapseWatcher(t){void 0!==t&&this.widget&&(this.widget.autoCollapse=t)}closeOnEscWatcher(t){void 0!==t&&this.widget&&(this.widget.closeOnEsc=t)}collapseIconWatcher(t){this.widget&&(this.widget.collapseIcon=t,this.widget.collapseIconClass=t)}collapseTooltipWatcher(t){this.widget&&(this.widget.collapseTooltip=t)}expandedWatcher(t){this.widget&&this.widget.expanded!==t&&(this.widget.expanded=t)}expandIconWatcher(t){this.widget&&(this.widget.expandIcon=t,this.widget.expandIconClass=t)}expandTooltipWatcher(t){this.widget&&(this.widget.expandTooltip=t)}groupWatcher(t){this.widget&&(this.widget.group=t)}iconNumberWatcher(t){void 0!==t&&this.widget&&(this.widget.iconNumber=t)}modeWatcher(t){this.widget&&(this.widget.mode=t)}referenceElementWatcher(t){o(this,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 collapse(){this.widget?.collapse()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}async componentDidLoad(){const t=this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisExpandReady.emit(),this._checkForView()}disconnectedCallback(){r(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();c(this,[t((()=>this.widget.expanded),(t=>this.expanded=t))])}_createParams(){const t={};return void 0!==this.autoCollapse&&(t.autoCollapse=this.autoCollapse),void 0!==this.closeOnEsc&&(t.closeOnEsc=this.closeOnEsc),this.collapseIcon&&(t.collapseIcon=this.collapseIcon,t.collapseIconClass=this.collapseIcon),this.collapseTooltip&&(t.collapseTooltip=this.collapseTooltip),void 0!==this.expanded&&(t.expanded=this.expanded),this.expandIcon&&(t.expandIcon=this.expandIcon,t.expandIconClass=this.expandIcon),this.expandTooltip&&(t.expandTooltip=this.expandTooltip),this.group&&(t.group=this.group),void 0!==this.iconNumber&&(t.iconNumber=this.iconNumber),this.mode&&(t.mode=this.mode),this.view&&(t.view=this.view),t}_checkForView(){const t=this.el.closest("arcgis-map")??this.el.closest("arcgis-scene");if(t?.view)this.view=t.view,this.view.ui.add(this.childElem,this.position);else if(t){const i=()=>{t.removeEventListener("arcgisViewReadyChange",i,!1),this.view=t.view,this.view.ui.add(this.childElem,this.position)};t.addEventListener("arcgisViewReadyChange",i,!1)}}get el(){return h(this)}static get watchers(){return{autoCollapse:["autoCollapseWatcher"],closeOnEsc:["closeOnEscWatcher"],collapseIcon:["collapseIconWatcher"],collapseTooltip:["collapseTooltipWatcher"],expanded:["expandedWatcher"],expandIcon:["expandIconWatcher"],expandTooltip:["expandTooltipWatcher"],group:["groupWatcher"],iconNumber:["iconNumberWatcher"],mode:["modeWatcher"],referenceElement:["referenceElementWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}";export{n as arcgis_expand}
|
|
@@ -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.7
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as s,h as
|
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-e71f0b88.js";import{a0 as h,i as r}from"./p-5618cdb5.js";import{r as a,c,a as o}from"./p-4a56215a.js";import{o as l}from"./p-fef5523a.js";const d=class{constructor(i){t(this,i),this.arcgisUtilityNetworkTraceReady=s(this,"arcgisUtilityNetworkTraceReady",7),this.utilityNetworkTraceAddFlag=s(this,"utilityNetworkTraceAddFlag",7),this.utilityNetworkTraceAddFlagComplete=s(this,"utilityNetworkTraceAddFlagComplete",7),this.utilityNetworkTraceAddFlagError=s(this,"utilityNetworkTraceAddFlagError",7),this.utilityNetworkTraceAddResultArea=s(this,"utilityNetworkTraceAddResultArea",7),this.utilityNetworkTraceRemoveResultArea=s(this,"utilityNetworkTraceRemoveResultArea",7),this._watchHandles=[],this.referenceElement=void 0,this.enableResultArea=!1,this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.resultAreaProperties=void 0,this.selectedTraces=[],this.selectOnComplete=!0,this.showGraphicsOnComplete=!0,this.showSelectionAttributes=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}enableResultAreaWatcher(t){this.widget&&(this.widget.enableResultArea=t)}defaultGraphicColorWatcher(t){this.widget&&(this.widget.defaultGraphicColor=t)}disabledWatcher(t,s){this.widget&&t!==s&&(this.widget.disabled=t)}flagsWatcher(t){this.widget&&(this.widget.flags=t)}gdbVersionWatcher(t){this.widget&&(this.widget.gdbVersion=t)}inputSettingsWatcher(t){this.widget&&(this.widget.inputSettings=t)}resultAreaPropertiesWatcher(t){this.widget&&(this.widget.resultAreaProperties=t)}selectedTracesWatcher(t){this.widget&&(this.widget.selectedTraces=t)}selectOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.selectOnComplete=t)}showGraphicsOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.showGraphicsOnComplete=t)}showSelectionAttributesWatcher(t){void 0!==t&&this.widget&&(this.widget.showSelectionAttributes=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async checkCanTrace(){await(this.widget?.checkCanTrace())}async confirmReset(){this.widget?.confirmReset()}async componentDidLoad(){const t=this._createParams(),s=await h(t);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisUtilityNetworkTraceReady.emit(),c(this)}disconnectedCallback(){l(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await r();o(this,t((()=>this.widget.disabled),(t=>this.disabled=t)))}_createParams(){const t={};return this.defaultGraphicColor&&(t.defaultGraphicColor=this.defaultGraphicColor),void 0!==this.enableResultArea&&(t.enableResultArea=this.enableResultArea),this.flags&&(t.flags=this.flags),this.gdbVersion&&(t.gdbVersion=this.gdbVersion),this.inputSettings&&(t.inputSettings=this.inputSettings),this.resultAreaProperties&&(t.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(t.selectedTraces=this.selectedTraces),void 0!==this.selectOnComplete&&(t.selectOnComplete=this.selectOnComplete),void 0!==this.showGraphicsOnComplete&&(t.showGraphicsOnComplete=this.showGraphicsOnComplete),void 0!==this.showSelectionAttributes&&(t.showSelectionAttributes=this.showSelectionAttributes),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("add-flag",(t=>this.utilityNetworkTraceAddFlag.emit(t))),this.widget.on("add-flag-complete",(t=>this.utilityNetworkTraceAddFlagComplete.emit(t))),this.widget.on("add-flag-error",(t=>this.utilityNetworkTraceAddFlagError.emit(t))),this.widget.on("add-result-area",(t=>this.utilityNetworkTraceAddResultArea.emit(t))),this.widget.on("remove-result-area",(t=>this.utilityNetworkTraceRemoveResultArea.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],enableResultArea:["enableResultAreaWatcher"],defaultGraphicColor:["defaultGraphicColorWatcher"],disabled:["disabledWatcher"],flags:["flagsWatcher"],gdbVersion:["gdbVersionWatcher"],inputSettings:["inputSettingsWatcher"],resultAreaProperties:["resultAreaPropertiesWatcher"],selectedTraces:["selectedTracesWatcher"],selectOnComplete:["selectOnCompleteWatcher"],showGraphicsOnComplete:["showGraphicsOnCompleteWatcher"],showSelectionAttributes:["showSelectionAttributesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_utility_network_trace}
|
|
@@ -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.7
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as s,g as i}from"./p-
|
|
6
|
+
import{r as t,c as e,h as s,g as i}from"./p-e71f0b88.js";import{t as a,i as n}from"./p-5618cdb5.js";import{r as l,c as o,a as h}from"./p-4a56215a.js";import{o as r}from"./p-fef5523a.js";const p=class{constructor(s){t(this,s),this.arcgisEditorReady=e(this,"arcgisEditorReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeWorkflow=void 0,this.allowedWorkflows=void 0,this.icon=void 0,this.labelOptions=void 0,this.layerInfos=void 0,this.snappingOptions=void 0,this.supportingWidgetDefaults=void 0,this.tooltipOptions=void 0,this.visibleElementsCreateFeaturesSection=!0,this.visibleElementsEditFeaturesSection=!0,this.visibleElementsLabelsToggle=!0,this.visibleElementsTooltipsToggle=!0,this.visibleElementsSnappingControls=!0,this.visibleElementsSnappingControlsHeader=!0,this.visibleElementsSnappingControlsEnabledToggle=!0,this.visibleElementsSnappingControlsSelfEnabledToggle=!0,this.visibleElementsSnappingControlsFeatureEnabledToggle=!0,this.visibleElementsSnappingControlsLayerList=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){l(this,t)}allowedWorkflowsWatcher(t){this.widget&&(this.widget.allowedWorkflows=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}labelOptionsWatcher(t){this.widget&&(this.widget.labelOptions=t)}layerInfosWatcher(t){this.widget&&(this.widget.layerInfos=t)}snappingOptionsWatcher(t){this.widget&&(this.widget.snappingOptions=t)}supportingWidgetDefaultsWatcher(t){this.widget&&(this.widget.supportingWidgetDefaults=t)}tooltipOptionsWatcher(t){this.widget&&(this.widget.tooltipOptions=t)}visibleElementsCreateFeaturesSectionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createFeaturesSection:t})}visibleElementsEditFeaturesSectionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editFeaturesSection:t})}visibleElementsLabelsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,labelsToggle:t})}visibleElementsTooltipsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,tooltipsToggle:t})}visibleElementsSnappingControlsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControls:t})}visibleElementsSnappingControlsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,header:t}})}visibleElementsSnappingControlsEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,enabledToggle:t}})}visibleElementsSnappingControlsSelfEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,selfEnabledToggle:t}})}visibleElementsSnappingControlsFeatureEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,featureEnabledToggle:t}})}visibleElementsSnappingControlsLayerListWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,layerList: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 cancelWorkflow(){await(this.widget?.cancelWorkflow())}async deleteFeatureFromWorkflow(){await(this.widget?.deleteFeatureFromWorkflow())}async startCreateFeaturesWorkflowAtFeatureCreation(t){await(this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(t))}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await(this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection())}async startUpdateWorkflowAtFeatureEdit(t){await(this.widget?.startUpdateWorkflowAtFeatureEdit(t))}async startUpdateWorkflowAtFeatureSelection(){await(this.widget?.startUpdateWorkflowAtFeatureSelection())}async startUpdateWorkflowAtMultipleFeatureSelection(t){await(this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(t))}async componentDidLoad(){const t=this._createParams(),e=await a(t);this.widget=e,await this._addWatchers(),this._addContainer(),this.arcgisEditorReady.emit(),o(this)}disconnectedCallback(){r(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await n();h(this,t((()=>this.widget.activeWorkflow),(t=>this.activeWorkflow=t),{initial:!0}))}_createParams(){const t={};return t.visibleElements={createFeaturesSection:this.visibleElementsCreateFeaturesSection,editFeaturesSection:this.visibleElementsEditFeaturesSection,labelsToggle:this.visibleElementsLabelsToggle,tooltipsToggle:this.visibleElementsTooltipsToggle,snappingControls:this.visibleElementsSnappingControls,snappingControlsElements:{header:this.visibleElementsSnappingControlsHeader,enabledToggle:this.visibleElementsSnappingControlsEnabledToggle,selfEnabledToggle:this.visibleElementsSnappingControlsSelfEnabledToggle,featureEnabledToggle:this.visibleElementsSnappingControlsFeatureEnabledToggle,layerList:this.visibleElementsSnappingControlsLayerList}},this.allowedWorkflows&&(t.allowedWorkflows=this.allowedWorkflows),this.icon&&(t.icon=this.icon),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layerInfos&&(t.layerInfos=this.layerInfos),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.supportingWidgetDefaults&&(t.supportingWidgetDefaults=this.supportingWidgetDefaults),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),this.view&&(t.view=this.view),t}get el(){return i(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],allowedWorkflows:["allowedWorkflowsWatcher"],icon:["iconWatcher"],labelOptions:["labelOptionsWatcher"],layerInfos:["layerInfosWatcher"],snappingOptions:["snappingOptionsWatcher"],supportingWidgetDefaults:["supportingWidgetDefaultsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],visibleElementsCreateFeaturesSection:["visibleElementsCreateFeaturesSectionWatcher"],visibleElementsEditFeaturesSection:["visibleElementsEditFeaturesSectionWatcher"],visibleElementsLabelsToggle:["visibleElementsLabelsToggleWatcher"],visibleElementsTooltipsToggle:["visibleElementsTooltipsToggleWatcher"],visibleElementsSnappingControls:["visibleElementsSnappingControlsWatcher"],visibleElementsSnappingControlsHeader:["visibleElementsSnappingControlsHeaderWatcher"],visibleElementsSnappingControlsEnabledToggle:["visibleElementsSnappingControlsEnabledToggleWatcher"],visibleElementsSnappingControlsSelfEnabledToggle:["visibleElementsSnappingControlsSelfEnabledToggleWatcher"],visibleElementsSnappingControlsFeatureEnabledToggle:["visibleElementsSnappingControlsFeatureEnabledToggleWatcher"],visibleElementsSnappingControlsLayerList:["visibleElementsSnappingControlsLayerListWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};p.style="";export{p as arcgis_editor}
|
|
@@ -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.7
|
|
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-e71f0b88.js";import{r as h,i as a}from"./p-5618cdb5.js";import{r,c as n,a as c}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const d=class{constructor(s){t(this,s),this.arcgisDirectLineMeasurement3dReady=i(this,"arcgisDirectLineMeasurement3dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.analysis=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){this.widget&&(this.widget.unitOptions=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clear(){this.widget?.viewModel.clear()}async start(){this.widget?.viewModel.start()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDirectLineMeasurement3dReady.emit(),n(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t,whenOnce:i}=await a();c(this,t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:!0})),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directline_measurement_3d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.7
|
|
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-e71f0b88.js";import{l as h,i as o}from"./p-5618cdb5.js";import{r as n,c as a,a as r}from"./p-4a56215a.js";import{o as c}from"./p-fef5523a.js";const l=class{constructor(s){t(this,s),this.arcgisCoordinateConversionReady=i(this,"arcgisCoordinateConversionReady",7),this._watchHandles=[],this.referenceElement=void 0,this.conversions=void 0,this.currentLocation=void 0,this.formats=void 0,this.icon=void 0,this.locationSymbol=void 0,this.mode="live",this.multipleConversions=!0,this.orientation="auto",this.storageEnabled=!0,this.storageType="session",this.visibleElementsSettingsButton=!0,this.visibleElementsEditButton=!0,this.visibleElementsExpandButton=!0,this.visibleElementsCaptureButton=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}conversionsWatcher(t){this.widget&&(this.widget.conversions=t)}formatsWatcher(t){this.widget&&(this.widget.formats=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}locationSymbolWatcher(t){this.widget&&(this.widget.locationSymbol=t)}modeWatcher(t){this.widget&&(this.widget.mode=t)}multipleConversionsWatcher(t){this.widget&&(this.widget.multipleConversions=t)}orientationWatcher(t){this.widget&&(this.widget.orientation=t)}storageEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.storageEnabled=t)}storageTypeWatcher(t){this.widget&&(this.widget.storageType=t)}visibleElementsSettingsButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,settingsButton:t})}visibleElementsEditButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editButton:t})}visibleElementsExpandButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,expandButton:t})}visibleElementsCaptureButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,captureButton: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 reverseConvert(t,i){return await(this.widget?.reverseConvert(t,i))}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisCoordinateConversionReady.emit(),a(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t,whenOnce:i}=await o();r(this,t((()=>this.widget.currentLocation),(t=>this.currentLocation=t),{initial:!0})),await i((()=>this.widget.formats)),this.formats=this.widget.formats}_createParams(){const t={};return t.visibleElements={settingsButton:this.visibleElementsSettingsButton,editButton:this.visibleElementsEditButton,expandButton:this.visibleElementsExpandButton,captureButton:this.visibleElementsCaptureButton},this.conversions&&(t.conversions=this.conversions),this.icon&&(t.icon=this.icon),this.formats&&(t.formats=this.formats),this.locationSymbol&&(t.locationSymbol=this.locationSymbol),this.mode&&(t.mode=this.mode),this.multipleConversions&&(t.multipleConversions=this.multipleConversions),this.orientation&&(t.orientation=this.orientation),void 0!==this.storageEnabled&&(t.storageEnabled=this.storageEnabled),this.storageType&&(t.storageType=this.storageType),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],conversions:["conversionsWatcher"],formats:["formatsWatcher"],icon:["iconWatcher"],locationSymbol:["locationSymbolWatcher"],mode:["modeWatcher"],multipleConversions:["multipleConversionsWatcher"],orientation:["orientationWatcher"],storageEnabled:["storageEnabledWatcher"],storageType:["storageTypeWatcher"],visibleElementsSettingsButton:["visibleElementsSettingsButtonWatcher"],visibleElementsEditButton:["visibleElementsEditButtonWatcher"],visibleElementsExpandButton:["visibleElementsExpandButtonWatcher"],visibleElementsCaptureButton:["visibleElementsCaptureButtonWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_coordinate_conversion}
|
|
@@ -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.7
|
|
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-e71f0b88.js";import{M as h,i as a}from"./p-5618cdb5.js";import{r,c as o,a as c}from"./p-4a56215a.js";import{o as l}from"./p-fef5523a.js";const n=class{constructor(s){t(this,s),this.arcgisPrintReady=i(this,"arcgisPrintReady",7),this.printComplete=i(this,"printComplete",7),this.printSubmit=i(this,"printSubmit",7),this._watchHandles=[],this.referenceElement=void 0,this.allowedFormats="all",this.allowedLayouts="all",this.exportedLinks=void 0,this.extraParameters=void 0,this.icon=void 0,this.includeDefaultTemplates=!0,this.portal=void 0,this.printServiceUrl=void 0,this.templateCustomTextElements=void 0,this.templateOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}allowedFormatsWatcher(t){this.widget&&(this.widget.allowedFormats=t.split(","))}allowedLayoutsWatcher(t){this.widget&&(this.widget.allowedLayouts=t.split(","))}extraParametersWatcher(t){this.widget&&(this.widget.extraParameters=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}includeDefaultTemplatesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultTemplates=t)}portalWatcher(t){this.widget&&(this.widget.portal=t)}printServiceUrlWatcher(t){this.widget&&(this.widget.printServiceUrl=t)}templateCustomTextElementsWatcher(t){this.widget&&(this.widget.templateCustomTextElements=t)}templateOptionsWatcher(t){this.widget&&(this.widget.templateOptions=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._proxyEvents(),this._addContainer(),this.arcgisPrintReady.emit(),o(this)}disconnectedCallback(){l(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();c(this,t((()=>this.widget.exportedLinks),(t=>this.exportedLinks=t),{initial:!0}))}_createParams(){const t={};return this.allowedFormats&&(t.allowedFormats=this.allowedFormats),this.allowedLayouts&&(t.allowedLayouts=this.allowedLayouts),this.extraParameters&&(t.extraParameters=this.extraParameters),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),void 0!==this.includeDefaultTemplates&&(t.includeDefaultTemplates=this.includeDefaultTemplates),this.portal&&(t.portal=this.portal),this.printServiceUrl&&(t.printServiceUrl=this.printServiceUrl),this.templateCustomTextElements&&(t.templateCustomTextElements=this.templateCustomTextElements),this.templateOptions&&(t.templateOptions=this.templateOptions),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("complete",(t=>this.printComplete.emit(t))),this.widget.on("submit",(t=>this.printSubmit.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],allowedFormats:["allowedFormatsWatcher"],allowedLayouts:["allowedLayoutsWatcher"],extraParameters:["extraParametersWatcher"],icon:["iconWatcher"],includeDefaultTemplates:["includeDefaultTemplatesWatcher"],portal:["portalWatcher"],printServiceUrl:["printServiceUrlWatcher"],templateCustomTextElements:["templateCustomTextElementsWatcher"],templateOptions:["templateOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_print}
|
|
@@ -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.7
|
|
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-e71f0b88.js";import{L as a}from"./p-5618cdb5.js";import{r,c as o}from"./p-4a56215a.js";import{o as h}from"./p-fef5523a.js";const c=class{constructor(s){t(this,s),this.arcgisNavigationToggleReady=i(this,"arcgisNavigationToggleReady",7),this._watchHandles=[],this.referenceElement=void 0,this.layout="vertical",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}layoutWatcher(t){void 0!==t&&this.widget&&(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 toggle(){this.widget?.toggle()}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,this._addContainer(),this.arcgisNavigationToggleReady.emit(),o(this)}disconnectedCallback(){h(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.layout&&(t.layout=this.layout),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],layout:["layoutWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-navigation-toggle{}";export{c as arcgis_navigation_toggle}
|
|
@@ -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.7
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as t,h as s,g as h}from"./p-6d36cfbe.js";import{i as e,P as a,Q as r}from"./p-96eef3b2.js";import{i as o,e as n,f as c,b as d,g as l,a as p}from"./p-e64fd028.js";const v=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.alphaCompositingEnabled=!1,this.analyses=void 0,this.basemapView=void 0,this.basemap=void 0,this.camera=void 0,this.center=void 0,this.clippingArea=void 0,this.constraints=void 0,this.destroyDisabled=!1,this.environment=void 0,this.extent=void 0,this.fatalError=void 0,this.floors=void 0,this.gamepad=void 0,this.graphics=void 0,this.ground=void 0,this.groundView=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.performanceInfo=void 0,this.popup=void 0,this.popupEnabled=!0,this.qualityProfile=void 0,this.ready=!1,this.resolution=void 0,this.scale=void 0,this.spatialReference=void 0,this.stationary=void 0,this.suspended=!1,this.theme=void 0,this.timeExtent=void 0,this.toMap=void 0,this.toScreen=void 0,this.updating=!1,this.viewingMode="global",this.viewpoint=void 0,this.zoom=void 0,this.view=void 0}alphaCompositingEnabledWatcher(i){void 0!==i&&this.view&&(this.view.alphaCompositingEnabled=i)}basemapWatcher(i){("string"==typeof i&&this.view?.map&&!o(i)||this.view?.map)&&(this.view.map.basemap=i)}cameraWatcher(i){this.view&&i&&n(this.view.camera,i)&&(this.view.camera=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)}clippingAreaWatcher(i){this.view&&i&&!this.view.clippingArea?.equals(i)&&(this.view.clippingArea=i)}constraintsWatcher(i){this.view&&(this.view.constraints=i)}environmentWatcher(i){this.view&&i&&c(this.view.environment,i)&&(this.view.environment=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)}groundWatcher(i){this.view?.map&&!o(i)&&(this.view.map.ground=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)}qualityProfileWatcher(i){this.view&&this.view.qualityProfile!==i&&(this.view.qualityProfile=i)}scaleWatcher(i,t){this.view&&this.view.stationary&&!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)}viewingModeWatcher(i){this.view&&(this.view.viewingMode=i)}viewpointWatcher(i){this.view&&d(this.view.viewpoint,i)&&(this.view.viewpoint=i)}zoomWatcher(i,t){this.view&&this.view.stationary&&!this.view.interacting&&i!==t&&l(i)&&(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){return await(this.view?.openPopup(i))}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(i){return await(this.view?.whenAnalysisView(i))}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-scene",ref:i=>this.el=i})}_clearWatchHandles(){this._watchHandles.forEach((i=>i.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:i,when:t}=await e();p(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.camera=this.view.camera,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.analyses),(()=>{this.analyses=this.view.analyses}),{initial:!0}),i((()=>this.view.map?.basemap),(()=>{this.basemap=this.view.map?.basemap}),{initial:!0}),i((()=>this.view.basemapView),(()=>{this.basemapView=this.view.basemapView}),{initial:!0}),i((()=>this.view.environment),(()=>{this.environment=this.view.environment}),{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.map?.ground),(()=>{this.ground=this.view.map?.ground}),{initial:!0}),i((()=>this.view.groundView),(()=>{this.groundView=this.view.groundView}),{initial:!0}),i((()=>this.view.interacting),(()=>{this.interacting=this.view.interacting})),i((()=>this.view.navigating),(()=>{this.navigating=this.view.navigating})),i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary})),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.performanceInfo),(()=>{this.performanceInfo=this.view.performanceInfo})),i((()=>this.view.popup),(()=>{this.popup=this.view.popup}),{initial:!0}),i((()=>this.view.qualityProfile),(()=>{this.qualityProfile=this.view.qualityProfile}),{initial:!0}),i((()=>this.view.resolution),(()=>{this.resolution=this.view.resolution}),{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:o(this.itemId)&&(i.basemap="topo-vector"),this.ground?i.ground=this.ground:o(this.itemId)&&(i.ground="world-elevation"),await a(i)}async _createPortalItem(){const i={};return this.itemId&&(i.id=this.itemId),i}_createViewParams(){const i={};return 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.scale&&(i.scale=this.scale),this.spatialReference&&(i.spatialReference=this.spatialReference),this.theme&&(i.theme=this.theme),this.timeExtent&&(i.timeExtent=this.timeExtent),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.zoom&&(i.zoom=this.zoom),i}async _loadMap(){const i=await this._createMap(),t=this._createViewParams(),s=await r({map:i,...t});this.view=s,s.when((async()=>{this.toMap=s.toMap.bind(s),this.toScreen=s.toScreen.bind(s),await this._addWatchers()}))}_proxyEvents(){p(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{alphaCompositingEnabled:["alphaCompositingEnabledWatcher"],basemap:["basemapWatcher"],camera:["cameraWatcher"],center:["centerWatcher"],clippingArea:["clippingAreaWatcher"],constraints:["constraintsWatcher"],environment:["environmentWatcher"],extent:["extentWatcher"],floors:["floorsWatcher"],graphics:["graphicsWatcher"],ground:["groundWatcher"],highlightOptions:["highlightOptionsWatcher"],itemId:["itemIdWatcher"],map:["mapWatcher"],navigation:["navigationWatcher"],padding:["paddingWatcher"],popup:["popupWatcher"],popupEnabled:["popupEnabledWatcher"],qualityProfile:["qualityProfileWatcher"],scale:["scaleWatcher"],spatialReference:["spatialReferenceWatcher"],theme:["themeWatcher"],timeExtent:["timeExtentWatcher"],viewingMode:["viewingModeWatcher"],viewpoint:["viewpointWatcher"],zoom:["zoomWatcher"]}}};v.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{v as arcgis_scene}
|
|
6
|
+
import{r as i,c as t,h as s,g as h}from"./p-e71f0b88.js";import{i as e,P as a,Q as r}from"./p-5618cdb5.js";import{i as o,e as n,f as c,b as d,g as l,a as p}from"./p-4a56215a.js";const v=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.alphaCompositingEnabled=!1,this.analyses=void 0,this.basemapView=void 0,this.basemap=void 0,this.camera=void 0,this.center=void 0,this.clippingArea=void 0,this.constraints=void 0,this.destroyDisabled=!1,this.environment=void 0,this.extent=void 0,this.fatalError=void 0,this.floors=void 0,this.gamepad=void 0,this.graphics=void 0,this.ground=void 0,this.groundView=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.performanceInfo=void 0,this.popup=void 0,this.popupEnabled=!0,this.qualityProfile=void 0,this.ready=!1,this.resolution=void 0,this.scale=void 0,this.spatialReference=void 0,this.stationary=void 0,this.suspended=!1,this.theme=void 0,this.timeExtent=void 0,this.toMap=void 0,this.toScreen=void 0,this.updating=!1,this.viewingMode="global",this.viewpoint=void 0,this.zoom=void 0,this.view=void 0}alphaCompositingEnabledWatcher(i){void 0!==i&&this.view&&(this.view.alphaCompositingEnabled=i)}basemapWatcher(i){("string"==typeof i&&this.view?.map&&!o(i)||this.view?.map)&&(this.view.map.basemap=i)}cameraWatcher(i){this.view&&i&&n(this.view.camera,i)&&(this.view.camera=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)}clippingAreaWatcher(i){this.view&&i&&!this.view.clippingArea?.equals(i)&&(this.view.clippingArea=i)}constraintsWatcher(i){this.view&&(this.view.constraints=i)}environmentWatcher(i){this.view&&i&&c(this.view.environment,i)&&(this.view.environment=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)}groundWatcher(i){this.view?.map&&!o(i)&&(this.view.map.ground=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)}qualityProfileWatcher(i){this.view&&this.view.qualityProfile!==i&&(this.view.qualityProfile=i)}scaleWatcher(i,t){this.view&&this.view.stationary&&!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)}viewingModeWatcher(i){this.view&&(this.view.viewingMode=i)}viewpointWatcher(i){this.view&&d(this.view.viewpoint,i)&&(this.view.viewpoint=i)}zoomWatcher(i,t){this.view&&this.view.stationary&&!this.view.interacting&&i!==t&&l(i)&&(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){return await(this.view?.openPopup(i))}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(i){return await(this.view?.whenAnalysisView(i))}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-scene",ref:i=>this.el=i})}_clearWatchHandles(){this._watchHandles.forEach((i=>i.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:i,when:t}=await e();p(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.camera=this.view.camera,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.analyses),(()=>{this.analyses=this.view.analyses}),{initial:!0}),i((()=>this.view.map?.basemap),(()=>{this.basemap=this.view.map?.basemap}),{initial:!0}),i((()=>this.view.basemapView),(()=>{this.basemapView=this.view.basemapView}),{initial:!0}),i((()=>this.view.environment),(()=>{this.environment=this.view.environment}),{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.map?.ground),(()=>{this.ground=this.view.map?.ground}),{initial:!0}),i((()=>this.view.groundView),(()=>{this.groundView=this.view.groundView}),{initial:!0}),i((()=>this.view.interacting),(()=>{this.interacting=this.view.interacting})),i((()=>this.view.navigating),(()=>{this.navigating=this.view.navigating})),i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary})),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.performanceInfo),(()=>{this.performanceInfo=this.view.performanceInfo})),i((()=>this.view.popup),(()=>{this.popup=this.view.popup}),{initial:!0}),i((()=>this.view.qualityProfile),(()=>{this.qualityProfile=this.view.qualityProfile}),{initial:!0}),i((()=>this.view.resolution),(()=>{this.resolution=this.view.resolution}),{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:o(this.itemId)&&(i.basemap="topo-vector"),this.ground?i.ground=this.ground:o(this.itemId)&&(i.ground="world-elevation"),await a(i)}async _createPortalItem(){const i={};return this.itemId&&(i.id=this.itemId),i}_createViewParams(){const i={};return 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.scale&&(i.scale=this.scale),this.spatialReference&&(i.spatialReference=this.spatialReference),this.theme&&(i.theme=this.theme),this.timeExtent&&(i.timeExtent=this.timeExtent),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.zoom&&(i.zoom=this.zoom),i}async _loadMap(){const i=await this._createMap(),t=this._createViewParams(),s=await r({map:i,...t});this.view=s,s.when((async()=>{this.toMap=s.toMap.bind(s),this.toScreen=s.toScreen.bind(s),await this._addWatchers()}))}_proxyEvents(){p(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{alphaCompositingEnabled:["alphaCompositingEnabledWatcher"],basemap:["basemapWatcher"],camera:["cameraWatcher"],center:["centerWatcher"],clippingArea:["clippingAreaWatcher"],constraints:["constraintsWatcher"],environment:["environmentWatcher"],extent:["extentWatcher"],floors:["floorsWatcher"],graphics:["graphicsWatcher"],ground:["groundWatcher"],highlightOptions:["highlightOptionsWatcher"],itemId:["itemIdWatcher"],map:["mapWatcher"],navigation:["navigationWatcher"],padding:["paddingWatcher"],popup:["popupWatcher"],popupEnabled:["popupEnabledWatcher"],qualityProfile:["qualityProfileWatcher"],scale:["scaleWatcher"],spatialReference:["spatialReferenceWatcher"],theme:["themeWatcher"],timeExtent:["timeExtentWatcher"],viewingMode:["viewingModeWatcher"],viewpoint:["viewpointWatcher"],zoom:["zoomWatcher"]}}};v.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{v as arcgis_scene}
|
|
@@ -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.7
|
|
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-e71f0b88.js";import{a5 as h}from"./p-5618cdb5.js";import{r as o,c as r}from"./p-4a56215a.js";import{o as a}from"./p-fef5523a.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.7
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,c as t,h as i,g as s}from"./p-
|
|
6
|
+
import{r as e,c as t,h as i,g as s}from"./p-e71f0b88.js";import{x as h,y as l,i as a}from"./p-5618cdb5.js";import{r as n,i as o,c as r,a as c}from"./p-4a56215a.js";import{o as m}from"./p-fef5523a.js";const d=class{constructor(i){e(this,i),this.arcgisFeatureTableReady=t(this,"arcgisFeatureTableReady",7),this.featureTableSelectionChange=t(this,"featureTableSelectionChange",7),this._watchHandles=[],this.referenceElement=void 0,this.activeFilters=void 0,this.activeSortOrders=[],this.attachmentsEnabled=!1,this.autoRefreshEnabled=!0,this.columnReorderingEnabled=!0,this.columns=void 0,this.editingEnabled=!1,this.filterGeometry=void 0,this.hiddenFields=!0,this.highlightEnabled=!0,this.highlightIds=void 0,this.layer=void 0,this.menu=void 0,this.menuConfig=void 0,this.multiSortEnabled=!1,this.pageSize=50,this.returnGeometryEnabled=!1,this.state=void 0,this.tableTemplate=void 0,this.timeZone=void 0,this.itemId=void 0,this.url=void 0,this.visibleElementsHeader=!0,this.visibleElementsMenu=!0,this.visibleElementsSelectionColumn=!0,this.visibleElementsColumnMenus=!0,this.visibleElementsMenuItemsClearSelection=!0,this.visibleElementsMenuItemsDeleteSelection=!0,this.visibleElementsMenuItemsRefreshData=!0,this.visibleElementsMenuItemsSelectedRecordsShowAllToggle=!0,this.visibleElementsMenuItemsToggleColumns=!0,this.visibleElementsMenuItemsZoomToSelection=!0,this.view=void 0,this.widget=void 0}referenceElementWatcher(e){n(this,e)}attachmentsEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.attachmentsEnabled=e)}autoRefreshEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.autoRefreshEnabled=e)}columnReorderingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.columnReorderingEnabled=e)}editingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.editingEnabled=e)}filterGeometryWatcher(e){e&&this.widget&&(this.widget.filterGeometry=e)}hiddenFieldsWatcher(e){e&&this.widget&&(this.widget.hiddenFields=e)}highlightEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.highlightEnabled=e)}highlightIdsWatcher(e){e&&this.widget&&(this.widget.highlightIds=e)}layerWatcher(e){e&&this.widget?this.widget.layer=e:e||(this.widget.layer=null)}menuConfigWatcher(e){e&&this.widget&&(this.widget.menuConfig=e)}multiSortEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.multiSortEnabled=e)}pageSizeWatcher(e){void 0!==e&&this.widget&&(this.widget.pageSize=e)}returnGeometryEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.returnGeometryEnabled=e)}tableTemplateWatcher(e){e&&this.widget&&(this.widget.tableTemplate=e)}timeZoneWatcher(e){this.widget&&(this.widget.timeZone=e)}async itemIdWatcher(e,t){if(o(e))this.layer=null;else if(e&&e!==t){const t=await h({portalItem:{id:e}});this.layer=t}}async urlWatcher(e,t){if(e&&e!==t){const t=await h({url:e});this.layer=t}}visibleElementsHeaderWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,header:e})}visibleElementsMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menu:e})}visibleElementsSelectionColumnWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionColumn:e})}visibleElementsColumnMenusWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,columnMenus:e})}visibleElementsMenuItemsClearSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,clearSelection:e}})}visibleElementsMenuItemsDeleteSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,deleteSelection:e}})}visibleElementsMenuItemsRefreshDataWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,refreshData:e}})}visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,selectedRecordsShowAllToggle:e}})}visibleElementsMenuItemsToggleColumnsWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,toggleColumns:e}})}visibleElementsMenuItemsZoomToSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,zoomToSelection:e}})}viewWatcher(e){void 0!==e&&this.widget&&(this.widget.view=e)}async clearSelectionFilter(){this.widget?.clearSelectionFilter()}async deleteSelection(e){await(this.widget?.deleteSelection(e))}async filterBySelection(){this.widget?.filterBySelection()}async findColumn(e){return this.widget?.findColumn(e)}async hideColumn(e){this.widget?.hideColumn(e)}async refresh(){await(this.widget?.refresh())}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}async componentDidLoad(){const e=await this._createParams(),t=await l(e);this.widget=t,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeatureTableReady.emit(),r(this)}disconnectedCallback(){m(this)}render(){return i("div",{class:"arcgis-feature-table",ref:e=>this.childElem=e})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:e}=await a();c(this,e((()=>this.widget.activeFilters),(e=>this.activeFilters=e),{initial:!0})),c(this,e((()=>this.widget.activeSortOrders),(e=>this.activeSortOrders=e),{initial:!0})),c(this,e((()=>this.widget.columns),(e=>this.columns=e),{initial:!0})),c(this,e((()=>this.widget.menu),(e=>this.menu=e),{initial:!0})),c(this,e((()=>this.widget.state),(e=>this.state=e),{initial:!0}))}async _createParams(){const e={};return e.visibleElements={header:this.visibleElementsHeader,menu:this.visibleElementsMenu,selectionColumn:this.visibleElementsSelectionColumn,columnMenus:this.visibleElementsColumnMenus,menuItems:{clearSelection:this.visibleElementsMenuItemsClearSelection,deleteSelection:this.visibleElementsMenuItemsDeleteSelection,refreshData:this.visibleElementsMenuItemsRefreshData,selectedRecordsShowAllToggle:this.visibleElementsMenuItemsSelectedRecordsShowAllToggle,toggleColumns:this.visibleElementsMenuItemsToggleColumns,zoomToSelection:this.visibleElementsMenuItemsZoomToSelection}},this.view&&(e.view=this.view),void 0!==this.attachmentsEnabled&&(e.attachmentsEnabled=this.attachmentsEnabled),void 0!==this.autoRefreshEnabled&&(e.autoRefreshEnabled=this.autoRefreshEnabled),void 0!==this.columnReorderingEnabled&&(e.columnReorderingEnabled=this.columnReorderingEnabled),void 0!==this.editingEnabled&&(e.editingEnabled=this.editingEnabled),void 0!==this.filterGeometry&&(e.filterGeometry=this.filterGeometry),void 0!==this.hiddenFields&&(e.hiddenFields=this.hiddenFields),void 0!==this.highlightEnabled&&(e.highlightEnabled=this.highlightEnabled),void 0!==this.highlightIds&&(e.highlightIds=this.highlightIds),void 0!==this.menuConfig&&(e.menuConfig=this.menuConfig),void 0!==this.multiSortEnabled&&(e.multiSortEnabled=this.multiSortEnabled),void 0!==this.pageSize&&(e.pageSize=this.pageSize),void 0!==this.tableTemplate&&(e.tableTemplate=this.tableTemplate),void 0!==this.timeZone&&(e.timeZone=this.timeZone),void 0!==this.layer?e.layer=this.layer:this.url?e.layer=await h({url:this.url}):this.itemId&&(e.layer=await h({portalItem:{id:this.itemId}})),e}_proxyEvents(){this.widget?.highlightIds.on("change",(e=>this.featureTableSelectionChange.emit(e)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],attachmentsEnabled:["attachmentsEnabledWatcher"],autoRefreshEnabled:["autoRefreshEnabledWatcher"],columnReorderingEnabled:["columnReorderingEnabledWatcher"],editingEnabled:["editingEnabledWatcher"],filterGeometry:["filterGeometryWatcher"],hiddenFields:["hiddenFieldsWatcher"],highlightEnabled:["highlightEnabledWatcher"],highlightIds:["highlightIdsWatcher"],layer:["layerWatcher"],menuConfig:["menuConfigWatcher"],multiSortEnabled:["multiSortEnabledWatcher"],pageSize:["pageSizeWatcher"],returnGeometryEnabled:["returnGeometryEnabledWatcher"],tableTemplate:["tableTemplateWatcher"],timeZone:["timeZoneWatcher"],itemId:["itemIdWatcher"],url:["urlWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsMenu:["visibleElementsMenuWatcher"],visibleElementsSelectionColumn:["visibleElementsSelectionColumnWatcher"],visibleElementsColumnMenus:["visibleElementsColumnMenusWatcher"],visibleElementsMenuItemsClearSelection:["visibleElementsMenuItemsClearSelectionWatcher"],visibleElementsMenuItemsDeleteSelection:["visibleElementsMenuItemsDeleteSelectionWatcher"],visibleElementsMenuItemsRefreshData:["visibleElementsMenuItemsRefreshDataWatcher"],visibleElementsMenuItemsSelectedRecordsShowAllToggle:["visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher"],visibleElementsMenuItemsToggleColumns:["visibleElementsMenuItemsToggleColumnsWatcher"],visibleElementsMenuItemsZoomToSelection:["visibleElementsMenuItemsZoomToSelectionWatcher"],view:["viewWatcher"]}}};d.style=".arcgis-feature-table{width:100%;height:100%}";export{d as arcgis_feature_table}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.7
|
|
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-e71f0b88.js";import{B as h}from"./p-5618cdb5.js";import{r,c as a}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const c=class{constructor(s){t(this,s),this.arcgisFloorFilterReady=i(this,"arcgisFloorFilterReady",7),this._watchHandles=[],this.referenceElement=void 0,this.facility=void 0,this.level=void 0,this.longNames=!0,this.site=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}facilityWatcher(t){this.widget&&(this.widget.facility=t)}levelWatcher(t){this.widget&&(this.widget.level=t)}longNamesWatcher(t){void 0!==t&&this.widget&&(this.widget.longNames=t)}siteWatcher(t){this.widget&&(this.widget.site=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 updateWebDocument(t){this.widget?.updateWebDocument(t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisFloorFilterReady.emit(),a(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.facility&&(t.facility=this.facility),this.level&&(t.level=this.level),void 0!==this.longNames&&(t.longNames=this.longNames),this.site&&(t.site=this.site),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],facility:["facilityWatcher"],level:["levelWatcher"],longNames:["longNamesWatcher"],site:["siteWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_floor_filter}
|
|
@@ -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.7
|
|
5
5
|
*/
|
|
6
6
|
function n(n){const e=n.el.closest("arcgis-expand")||n.expandElem;if(e?.widget)return n.view=e.view,e.widget.content=n.childElem,e.expandIcon||(e.widget.expandIcon=n.widget.icon,e.widget.expandIconClass=n.widget.iconClass),!0;if(e){const a=()=>{e.removeEventListener("arcgisExpandReady",a,!1),n.view=e.view,e.widget.content=n.childElem,e.expandIcon||(e.widget.expandIcon=n.widget.icon,e.widget.expandIconClass=n.widget.iconClass)};return e.addEventListener("arcgisExpandReady",a,!1),!0}return!1}function e(n,e){Array.isArray(e)?n._watchHandles=[...n._watchHandles,...e]:n._watchHandles.push(e)}function a(e){let a=!1;if(n(e)){const n=e.el.closest("arcgis-map")??e.el.closest("arcgis-scene");if(n?.view)e.view=n.view;else if(n){const a=()=>{n.removeEventListener("arcgisViewReadyChange",a,!1),e.view=n.view};n.addEventListener("arcgisViewReadyChange",a,!1)}}else{let n=e.el.closest("arcgis-map")??e.el.closest("arcgis-scene");n||"string"!=typeof e.referenceElement||(n=document.querySelector(e.referenceElement),a=!0),n?.view?(e.view=n.view,a||e.view.ui.add(e.childElem??e.el,e.position)):n&&function(n,e,a){const i=()=>{n.removeEventListener("arcgisViewReadyChange",i,!1),e.view=n.view,a||e.view.ui.add(e.childElem?e.childElem:e.el,e.position)};n.addEventListener("arcgisViewReadyChange",i,!1)}(n,e,a)}}function i(n){return null==n||""===n}function s(n){return null!=n&&n%1==0}function c(n,e){return void 0===e||n.position!==e.position||n.heading!==e.heading||n.tilt!==e.tilt}function r(n,e){return void 0===e||e.atmosphereEnabled!==n.atmosphereEnabled||e.lighting.date!==n.lighting.date||e.lighting.directShadowsEnabled!==n.lighting.directShadowsEnabled||e.lighting.cameraTrackingEnabled!==n.lighting.cameraTrackingEnabled||e.lighting.date!==n.lighting.date||e.lighting.displayUTCOffset!==n.lighting.displayUTCOffset}function t(n,e){return void 0===e||n.targetGeometry!==e.targetGeometry||n.rotation!==e.rotation||n.scale!==e.scale}async function o(n,e){"string"==typeof e?n.view=await async function(n){const e=document.querySelector(n);return await new Promise((n=>{if(void 0!==e?.view)n(e.view);else if(e){const a=()=>{e.removeEventListener("arcgisViewReadyChange",a,!1),n(e.view)};e.addEventListener("arcgisViewReadyChange",a,!1)}}))}(e):n.widget&&(n.view=e.view)}export{e as a,t as b,a as c,n as d,c as e,r as f,s as g,i,o as r}
|
|
@@ -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.7
|
|
5
5
|
*/
|
|
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}
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{$ as o}from"./p-5618cdb5.js";import{r as n,c}from"./p-4a56215a.js";import{o as a}from"./p-fef5523a.js";const h=class{constructor(s){t(this,s),this.arcgisUtilityNetworkAssociationsReady=i(this,"arcgisUtilityNetworkAssociationsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.autoRefreshAssociations=!0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=!0,this.includeStructuralAttachmentAssociations=!0,this.maxAllowableAssociations=250,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}autoRefreshAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.autoRefreshAssociations=t)}connectivityAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.connectivityAssociationsLineSymbol=t)}includeConnectivityAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeConnectivityAssociations=t)}includeStructuralAttachmentAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=t)}maxAllowableAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociations=t)}maxAllowableAssociationsSliderMaxWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=t)}maxAllowableAssociationsSliderMinWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=t)}maxAllowableAssociationsSliderStepWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=t)}showArrowsConnectivityWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsConnectivity=t)}showArrowsStructuralAttachmentWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsStructuralAttachment=t)}showAssociationsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showAssociationsEnabled=t)}structuralAttachmentAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput:t}})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkAssociationsReady.emit(),c(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},void 0!==this.autoRefreshAssociations&&(t.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(t.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(t.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(t.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(t.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(t.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],visibleElementsConnectivityAssociationsSettingsArrowsToggle:["visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher"],visibleElementsConnectivityAssociationsSettingsCapSelect:["visibleElementsConnectivityAssociationsSettingsCapSelectWatcher"],visibleElementsConnectivityAssociationsSettingsColorPicker:["visibleElementsConnectivityAssociationsSettingsColorPickerWatcher"],visibleElementsConnectivityAssociationsSettingsStylePicker:["visibleElementsConnectivityAssociationsSettingsStylePickerWatcher"],visibleElementsConnectivityAssociationsSettingsWidthInput:["visibleElementsConnectivityAssociationsSettingsWidthInputWatcher"],visibleElementsMaxAllowableAssociationsSlider:["visibleElementsMaxAllowableAssociationsSliderWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:["visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:["visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:["visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:["visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};h.style="arcgis-utility-network-associations{}";export{h as arcgis_utility_network_associations}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.7
|
|
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-e71f0b88.js";import{a2 as a,i as e}from"./p-5618cdb5.js";import{c as o,a as c}from"./p-4a56215a.js";import{o as r}from"./p-fef5523a.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.7
|
|
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-e71f0b88.js";import{v as h,i as n}from"./p-5618cdb5.js";import{r as a,c as o,a as r}from"./p-4a56215a.js";import{o as c}from"./p-fef5523a.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.7
|
|
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-e71f0b88.js";import{Y as h,i as r}from"./p-5618cdb5.js";import{r as a,c as l,a as o}from"./p-4a56215a.js";import{o as n}from"./p-fef5523a.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}
|