@arcgis/map-components 4.29.0-beta.4 → 4.29.0-beta.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.map +1 -0
- package/dist/arcgis-map-components/index.esm.js +2 -0
- package/dist/arcgis-map-components/index.esm.js.map +1 -0
- package/dist/arcgis-map-components/p-00f30dbd.entry.js +2 -0
- package/dist/arcgis-map-components/p-00f30dbd.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-05478da4.entry.js +2 -0
- package/dist/arcgis-map-components/p-05478da4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-06dc39eb.entry.js +2 -0
- package/dist/arcgis-map-components/p-06dc39eb.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-07325369.entry.js +2 -0
- package/dist/arcgis-map-components/p-07325369.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-07e7d7b2.js +2 -0
- package/dist/arcgis-map-components/p-07e7d7b2.js.map +1 -0
- package/dist/arcgis-map-components/p-09b972be.entry.js +2 -0
- package/dist/arcgis-map-components/p-09b972be.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-0e42e14b.entry.js +2 -0
- package/dist/arcgis-map-components/p-0e42e14b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-14f542a3.entry.js +2 -0
- package/dist/arcgis-map-components/p-14f542a3.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-181101b2.entry.js +2 -0
- package/dist/arcgis-map-components/p-181101b2.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1aa22ffc.entry.js +2 -0
- package/dist/arcgis-map-components/p-1aa22ffc.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1ed5d647.entry.js +2 -0
- package/dist/arcgis-map-components/p-1ed5d647.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-22738a30.entry.js +2 -0
- package/dist/arcgis-map-components/p-22738a30.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-2a78610a.entry.js +2 -0
- package/dist/arcgis-map-components/p-2a78610a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3209d063.entry.js +2 -0
- package/dist/arcgis-map-components/p-3209d063.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3a4ee895.entry.js +2 -0
- package/dist/arcgis-map-components/p-3a4ee895.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3ce612f0.entry.js +2 -0
- package/dist/arcgis-map-components/p-3ce612f0.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4280d545.js +2 -0
- package/dist/arcgis-map-components/p-4280d545.js.map +1 -0
- package/dist/arcgis-map-components/p-43e08c8e.entry.js +2 -0
- package/dist/arcgis-map-components/p-43e08c8e.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-45a6ec08.entry.js +2 -0
- package/dist/arcgis-map-components/p-45a6ec08.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4edb69dc.entry.js +2 -0
- package/dist/arcgis-map-components/p-4edb69dc.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-5245bc16.entry.js +2 -0
- package/dist/arcgis-map-components/p-5245bc16.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-530503e3.js +2 -0
- package/dist/arcgis-map-components/p-530503e3.js.map +1 -0
- package/dist/arcgis-map-components/p-55d0f5ad.entry.js +2 -0
- package/dist/arcgis-map-components/p-55d0f5ad.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-60a88ea8.entry.js +2 -0
- package/dist/arcgis-map-components/p-60a88ea8.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-62249867.entry.js +2 -0
- package/dist/arcgis-map-components/p-62249867.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-63bfa89a.entry.js +2 -0
- package/dist/arcgis-map-components/p-63bfa89a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-6eb31c62.entry.js +2 -0
- package/dist/arcgis-map-components/p-6eb31c62.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-70d39dcf.entry.js +2 -0
- package/dist/arcgis-map-components/p-70d39dcf.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-75c5fd05.entry.js +2 -0
- package/dist/arcgis-map-components/p-75c5fd05.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-761ac7d4.entry.js +2 -0
- package/dist/arcgis-map-components/p-761ac7d4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-786c1915.entry.js +2 -0
- package/dist/arcgis-map-components/p-786c1915.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-81207d02.entry.js +2 -0
- package/dist/arcgis-map-components/p-81207d02.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-82ba1e5d.entry.js +2 -0
- package/dist/arcgis-map-components/p-82ba1e5d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-883490a4.entry.js +2 -0
- package/dist/arcgis-map-components/p-883490a4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8a36eefa.entry.js +2 -0
- package/dist/arcgis-map-components/p-8a36eefa.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8c9da1b9.entry.js +2 -0
- package/dist/arcgis-map-components/p-8c9da1b9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-943108f9.entry.js +2 -0
- package/dist/arcgis-map-components/p-943108f9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-983881aa.entry.js +2 -0
- package/dist/arcgis-map-components/p-983881aa.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9d965bf8.entry.js +2 -0
- package/dist/arcgis-map-components/p-9d965bf8.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9de4c65d.entry.js +2 -0
- package/dist/arcgis-map-components/p-9de4c65d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9efd1c60.entry.js +2 -0
- package/dist/arcgis-map-components/p-9efd1c60.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a096c52f.entry.js +2 -0
- package/dist/arcgis-map-components/p-a096c52f.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a29e5958.entry.js +2 -0
- package/dist/arcgis-map-components/p-a29e5958.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a4367c0d.entry.js +2 -0
- package/dist/arcgis-map-components/p-a4367c0d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-b28da40c.entry.js +2 -0
- package/dist/arcgis-map-components/p-b28da40c.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ba7bfe2a.entry.js +2 -0
- package/dist/arcgis-map-components/p-ba7bfe2a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c1eb12b2.entry.js +2 -0
- package/dist/arcgis-map-components/p-c1eb12b2.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c8faa156.entry.js +2 -0
- package/dist/arcgis-map-components/p-c8faa156.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c95d50be.entry.js +2 -0
- package/dist/arcgis-map-components/p-c95d50be.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d0fb9a2a.entry.js +2 -0
- package/dist/arcgis-map-components/p-d0fb9a2a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d142ff74.js +2 -0
- package/dist/arcgis-map-components/p-d142ff74.js.map +1 -0
- package/dist/arcgis-map-components/p-dbc82e69.js +3 -0
- package/dist/arcgis-map-components/p-dbc82e69.js.map +1 -0
- package/dist/arcgis-map-components/p-dbf111db.entry.js +2 -0
- package/dist/arcgis-map-components/p-dbf111db.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e4a12f83.entry.js +2 -0
- package/dist/arcgis-map-components/p-e4a12f83.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ee414323.entry.js +2 -0
- package/dist/arcgis-map-components/p-ee414323.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-f66a4365.entry.js +2 -0
- package/dist/arcgis-map-components/p-f66a4365.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-f674b7f4.entry.js +2 -0
- package/dist/arcgis-map-components/p-f674b7f4.entry.js.map +1 -0
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +20 -16
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +18 -14
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-attachments.cjs.entry.js +47 -13
- package/dist/cjs/arcgis-attachments.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +509 -0
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +63 -34
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +35 -29
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +33 -25
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +48 -23
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-compass.cjs.entry.js +14 -18
- package/dist/cjs/arcgis-compass.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +60 -30
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-daylight.cjs.entry.js +24 -21
- package/dist/cjs/arcgis-daylight.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-directions.cjs.entry.js +51 -29
- package/dist/cjs/arcgis-directions.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +18 -22
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +16 -20
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-editor.cjs.entry.js +35 -29
- package/dist/cjs/arcgis-editor.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +35 -22
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +120 -7
- package/dist/cjs/arcgis-feature-form.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +72 -43
- package/dist/cjs/arcgis-feature-table.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +77 -13
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature.cjs.entry.js +52 -22
- package/dist/cjs/arcgis-feature.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-features.cjs.entry.js +52 -25
- package/dist/cjs/arcgis-features.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +21 -25
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +18 -22
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +140 -12
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-histogram.cjs.entry.js +119 -7
- package/dist/cjs/arcgis-histogram.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-home.cjs.entry.js +29 -23
- package/dist/cjs/arcgis-home.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +47 -22
- package/dist/cjs/arcgis-layer-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-legend.cjs.entry.js +19 -23
- package/dist/cjs/arcgis-legend.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +16 -20
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-locate.cjs.entry.js +27 -32
- package/dist/cjs/arcgis-locate.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-map-components.cjs.js +5 -3
- package/dist/cjs/arcgis-map-components.cjs.js.map +1 -0
- package/dist/cjs/arcgis-measurement.cjs.entry.js +28 -23
- package/dist/cjs/arcgis-measurement.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +14 -18
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-placement.cjs.entry.js +52 -0
- package/dist/cjs/arcgis-placement.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-print.cjs.entry.js +41 -27
- package/dist/cjs/arcgis-print.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +17 -21
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +40 -34
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-scene.cjs.entry.js +205 -0
- package/dist/cjs/arcgis-scene.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-search.cjs.entry.js +320 -0
- package/dist/cjs/arcgis-search.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +26 -29
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-sketch.cjs.entry.js +43 -37
- package/dist/cjs/arcgis-sketch.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-slice.cjs.entry.js +18 -31
- package/dist/cjs/arcgis-slice.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-slider.cjs.entry.js +41 -43
- package/dist/cjs/arcgis-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-swipe.cjs.entry.js +9 -6
- package/dist/cjs/arcgis-swipe.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-table-list.cjs.entry.js +47 -27
- package/dist/cjs/arcgis-table-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +37 -31
- package/dist/cjs/arcgis-time-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-track.cjs.entry.js +26 -30
- package/dist/cjs/arcgis-track.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +30 -31
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +43 -23
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +21 -32
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +44 -27
- package/dist/cjs/arcgis-value-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-weather.cjs.entry.js +25 -19
- package/dist/cjs/arcgis-weather.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-zoom.cjs.entry.js +23 -24
- package/dist/cjs/arcgis-zoom.cjs.entry.js.map +1 -0
- package/dist/cjs/{component-utils-cbd20e88.js → component-utils-70169d9c.js} +59 -5
- package/dist/cjs/component-utils-70169d9c.js.map +1 -0
- package/dist/cjs/disconnected-efe16c70.js +40 -0
- package/dist/cjs/disconnected-efe16c70.js.map +1 -0
- package/dist/cjs/{index-bfda1cdc.js → index-3c85172f.js} +2 -0
- package/dist/cjs/index-3c85172f.js.map +1 -0
- package/dist/cjs/{index-6b51d5a0.js → index-f95f0426.js} +752 -71
- package/dist/cjs/index-f95f0426.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -12
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/mapping-utils-2c2f871e.js +42 -0
- package/dist/cjs/mapping-utils-2c2f871e.js.map +1 -0
- package/dist/components/arcgis-area-measurement-2d.js +25 -15
- package/dist/components/arcgis-area-measurement-2d.js.map +1 -0
- package/dist/components/arcgis-area-measurement-3d.js +24 -14
- package/dist/components/arcgis-area-measurement-3d.js.map +1 -0
- package/dist/components/arcgis-attachments.js +56 -13
- package/dist/components/arcgis-attachments.js.map +1 -0
- package/dist/components/arcgis-basemap-gallery.js +31 -22
- package/dist/components/arcgis-basemap-gallery.js.map +1 -0
- package/dist/components/arcgis-basemap-layer-list.js +80 -36
- package/dist/components/arcgis-basemap-layer-list.js.map +1 -0
- package/dist/components/arcgis-basemap-toggle.js +43 -29
- package/dist/components/arcgis-basemap-toggle.js.map +1 -0
- package/dist/components/arcgis-bookmarks.js +44 -25
- package/dist/components/arcgis-bookmarks.js.map +1 -0
- package/dist/components/arcgis-building-explorer.js +57 -23
- package/dist/components/arcgis-building-explorer.js.map +1 -0
- package/dist/components/arcgis-compass.js +18 -17
- package/dist/components/arcgis-compass.js.map +1 -0
- package/dist/components/arcgis-coordinate-conversion.js +75 -30
- package/dist/components/arcgis-coordinate-conversion.js.map +1 -0
- package/dist/components/arcgis-daylight.js +34 -21
- package/dist/components/arcgis-daylight.js.map +1 -0
- package/dist/components/arcgis-directions.js +65 -29
- package/dist/components/arcgis-directions.js.map +1 -0
- package/dist/components/arcgis-directline-measurement-3d.js +25 -22
- package/dist/components/arcgis-directline-measurement-3d.js.map +1 -0
- package/dist/components/arcgis-distance-measurement-2d.js +23 -20
- package/dist/components/arcgis-distance-measurement-2d.js.map +1 -0
- package/dist/components/arcgis-editor.js +48 -29
- package/dist/components/arcgis-editor.js.map +1 -0
- package/dist/components/arcgis-elevation-profile.js +48 -23
- package/dist/components/arcgis-elevation-profile.js.map +1 -0
- package/dist/components/arcgis-expand.js +3 -1
- package/dist/components/arcgis-expand.js.map +1 -0
- package/dist/components/arcgis-feature-form.js +146 -10
- package/dist/components/arcgis-feature-form.js.map +1 -0
- package/dist/components/arcgis-feature-table.js +97 -42
- package/dist/components/arcgis-feature-table.js.map +1 -0
- package/dist/components/arcgis-feature-templates.js +93 -14
- package/dist/components/arcgis-feature-templates.js.map +1 -0
- package/dist/components/arcgis-feature.js +67 -23
- package/dist/components/arcgis-feature.js.map +1 -0
- package/dist/components/arcgis-features.js +65 -27
- package/dist/components/arcgis-features.js.map +1 -0
- package/dist/components/arcgis-floor-filter.js +30 -25
- package/dist/components/arcgis-floor-filter.js.map +1 -0
- package/dist/components/arcgis-fullscreen.js +23 -21
- package/dist/components/arcgis-fullscreen.js.map +1 -0
- package/dist/components/arcgis-histogram-range-slider.js +170 -12
- package/dist/components/arcgis-histogram-range-slider.js.map +1 -0
- package/dist/components/arcgis-histogram.js +147 -9
- package/dist/components/arcgis-histogram.js.map +1 -0
- package/dist/components/arcgis-home.js +36 -22
- package/dist/components/arcgis-home.js.map +1 -0
- package/dist/components/arcgis-layer-list.js +60 -23
- package/dist/components/arcgis-layer-list.js.map +1 -0
- package/dist/components/arcgis-legend.js +30 -23
- package/dist/components/arcgis-legend.js.map +1 -0
- package/dist/components/arcgis-line-of-sight.js +21 -20
- package/dist/components/arcgis-line-of-sight.js.map +1 -0
- package/dist/components/arcgis-locate.js +38 -32
- package/dist/components/arcgis-locate.js.map +1 -0
- package/dist/components/arcgis-map.js +100 -40
- package/dist/components/arcgis-map.js.map +1 -0
- package/dist/components/arcgis-measurement.js +36 -23
- package/dist/components/arcgis-measurement.js.map +1 -0
- package/dist/components/arcgis-navigation-toggle.js +19 -17
- package/dist/components/arcgis-navigation-toggle.js.map +1 -0
- package/dist/components/arcgis-placement.d.ts +11 -0
- package/dist/components/arcgis-placement.js +73 -0
- package/dist/components/arcgis-placement.js.map +1 -0
- package/dist/components/arcgis-print.js +54 -27
- package/dist/components/arcgis-print.js.map +1 -0
- package/dist/components/arcgis-scale-bar.js +24 -21
- package/dist/components/arcgis-scale-bar.js.map +1 -0
- package/dist/components/arcgis-scale-range-slider.js +54 -35
- package/dist/components/arcgis-scale-range-slider.js.map +1 -0
- package/dist/components/arcgis-scene.js +98 -34
- package/dist/components/arcgis-scene.js.map +1 -0
- package/dist/components/arcgis-search.js +107 -41
- package/dist/components/arcgis-search.js.map +1 -0
- package/dist/components/arcgis-shadow-cast.js +34 -31
- package/dist/components/arcgis-shadow-cast.js.map +1 -0
- package/dist/components/arcgis-sketch.js +59 -37
- package/dist/components/arcgis-sketch.js.map +1 -0
- package/dist/components/arcgis-slice.js +24 -33
- package/dist/components/arcgis-slice.js.map +1 -0
- package/dist/components/arcgis-slider.js +57 -43
- package/dist/components/arcgis-slider.js.map +1 -0
- package/dist/components/arcgis-swipe.js +18 -5
- package/dist/components/arcgis-swipe.js.map +1 -0
- package/dist/components/arcgis-table-list.js +58 -27
- package/dist/components/arcgis-table-list.js.map +1 -0
- package/dist/components/arcgis-time-slider.js +54 -31
- package/dist/components/arcgis-time-slider.js.map +1 -0
- package/dist/components/arcgis-track.js +36 -30
- package/dist/components/arcgis-track.js.map +1 -0
- package/dist/components/arcgis-utility-network-associations.js +50 -31
- package/dist/components/arcgis-utility-network-associations.js.map +1 -0
- package/dist/components/arcgis-utility-network-trace.js +56 -23
- package/dist/components/arcgis-utility-network-trace.js.map +1 -0
- package/dist/components/arcgis-utility-network-validate-topology.js +28 -32
- package/dist/components/arcgis-utility-network-validate-topology.js.map +1 -0
- package/dist/components/arcgis-value-picker.js +54 -27
- package/dist/components/arcgis-value-picker.js.map +1 -0
- package/dist/components/arcgis-weather.js +32 -19
- package/dist/components/arcgis-weather.js.map +1 -0
- package/dist/components/arcgis-zoom.js +28 -23
- package/dist/components/arcgis-zoom.js.map +1 -0
- package/dist/{esm/component-utils-2ebdae59.js → components/component-utils.js} +56 -4
- package/dist/components/component-utils.js.map +1 -0
- package/dist/components/disconnected.js +13 -97
- package/dist/components/disconnected.js.map +1 -0
- package/dist/components/expand.js +256 -0
- package/dist/components/expand.js.map +1 -0
- package/dist/components/index.d.ts +5 -55
- package/dist/components/index.js +3 -54
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +3 -1
- package/dist/components/index2.js.map +1 -0
- package/dist/components/mapping-utils.js +12 -10
- package/dist/components/mapping-utils.js.map +1 -0
- package/dist/esm/arcgis-area-measurement-2d.entry.js +20 -16
- package/dist/esm/arcgis-area-measurement-2d.entry.js.map +1 -0
- package/dist/esm/arcgis-area-measurement-3d.entry.js +18 -14
- package/dist/esm/arcgis-area-measurement-3d.entry.js.map +1 -0
- package/dist/esm/arcgis-attachments.entry.js +46 -12
- package/dist/esm/arcgis-attachments.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-gallery_3.entry.js +503 -0
- package/dist/esm/arcgis-basemap-gallery_3.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-layer-list.entry.js +63 -34
- package/dist/esm/arcgis-basemap-layer-list.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-toggle.entry.js +35 -29
- package/dist/esm/arcgis-basemap-toggle.entry.js.map +1 -0
- package/dist/esm/arcgis-bookmarks.entry.js +33 -25
- package/dist/esm/arcgis-bookmarks.entry.js.map +1 -0
- package/dist/esm/arcgis-building-explorer.entry.js +48 -23
- package/dist/esm/arcgis-building-explorer.entry.js.map +1 -0
- package/dist/esm/arcgis-compass.entry.js +14 -18
- package/dist/esm/arcgis-compass.entry.js.map +1 -0
- package/dist/esm/arcgis-coordinate-conversion.entry.js +60 -30
- package/dist/esm/arcgis-coordinate-conversion.entry.js.map +1 -0
- package/dist/esm/arcgis-daylight.entry.js +24 -21
- package/dist/esm/arcgis-daylight.entry.js.map +1 -0
- package/dist/esm/arcgis-directions.entry.js +51 -29
- package/dist/esm/arcgis-directions.entry.js.map +1 -0
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +18 -22
- package/dist/esm/arcgis-directline-measurement-3d.entry.js.map +1 -0
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +16 -20
- package/dist/esm/arcgis-distance-measurement-2d.entry.js.map +1 -0
- package/dist/esm/arcgis-editor.entry.js +35 -29
- package/dist/esm/arcgis-editor.entry.js.map +1 -0
- package/dist/esm/arcgis-elevation-profile.entry.js +35 -22
- package/dist/esm/arcgis-elevation-profile.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-form.entry.js +120 -7
- package/dist/esm/arcgis-feature-form.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-table.entry.js +72 -43
- package/dist/esm/arcgis-feature-table.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-templates.entry.js +77 -13
- package/dist/esm/arcgis-feature-templates.entry.js.map +1 -0
- package/dist/esm/arcgis-feature.entry.js +52 -22
- package/dist/esm/arcgis-feature.entry.js.map +1 -0
- package/dist/esm/arcgis-features.entry.js +52 -25
- package/dist/esm/arcgis-features.entry.js.map +1 -0
- package/dist/esm/arcgis-floor-filter.entry.js +21 -25
- package/dist/esm/arcgis-floor-filter.entry.js.map +1 -0
- package/dist/esm/arcgis-fullscreen.entry.js +18 -22
- package/dist/esm/arcgis-fullscreen.entry.js.map +1 -0
- package/dist/esm/arcgis-histogram-range-slider.entry.js +140 -12
- package/dist/esm/arcgis-histogram-range-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-histogram.entry.js +119 -7
- package/dist/esm/arcgis-histogram.entry.js.map +1 -0
- package/dist/esm/arcgis-home.entry.js +29 -23
- package/dist/esm/arcgis-home.entry.js.map +1 -0
- package/dist/esm/arcgis-layer-list.entry.js +47 -22
- package/dist/esm/arcgis-layer-list.entry.js.map +1 -0
- package/dist/esm/arcgis-legend.entry.js +19 -23
- package/dist/esm/arcgis-legend.entry.js.map +1 -0
- package/dist/esm/arcgis-line-of-sight.entry.js +16 -20
- package/dist/esm/arcgis-line-of-sight.entry.js.map +1 -0
- package/dist/esm/arcgis-locate.entry.js +27 -32
- package/dist/esm/arcgis-locate.entry.js.map +1 -0
- package/dist/esm/arcgis-map-components.js +6 -4
- package/dist/esm/arcgis-map-components.js.map +1 -0
- package/dist/esm/arcgis-measurement.entry.js +28 -23
- package/dist/esm/arcgis-measurement.entry.js.map +1 -0
- package/dist/esm/arcgis-navigation-toggle.entry.js +14 -18
- package/dist/esm/arcgis-navigation-toggle.entry.js.map +1 -0
- package/dist/esm/arcgis-placement.entry.js +48 -0
- package/dist/esm/arcgis-placement.entry.js.map +1 -0
- package/dist/esm/arcgis-print.entry.js +41 -27
- package/dist/esm/arcgis-print.entry.js.map +1 -0
- package/dist/esm/arcgis-scale-bar.entry.js +17 -21
- package/dist/esm/arcgis-scale-bar.entry.js.map +1 -0
- package/dist/esm/arcgis-scale-range-slider.entry.js +40 -34
- package/dist/esm/arcgis-scale-range-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-scene.entry.js +201 -0
- package/dist/esm/arcgis-scene.entry.js.map +1 -0
- package/dist/esm/arcgis-search.entry.js +316 -0
- package/dist/esm/arcgis-search.entry.js.map +1 -0
- package/dist/esm/arcgis-shadow-cast.entry.js +26 -29
- package/dist/esm/arcgis-shadow-cast.entry.js.map +1 -0
- package/dist/esm/arcgis-sketch.entry.js +43 -37
- package/dist/esm/arcgis-sketch.entry.js.map +1 -0
- package/dist/esm/arcgis-slice.entry.js +18 -31
- package/dist/esm/arcgis-slice.entry.js.map +1 -0
- package/dist/esm/arcgis-slider.entry.js +41 -43
- package/dist/esm/arcgis-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-swipe.entry.js +9 -6
- package/dist/esm/arcgis-swipe.entry.js.map +1 -0
- package/dist/esm/arcgis-table-list.entry.js +47 -27
- package/dist/esm/arcgis-table-list.entry.js.map +1 -0
- package/dist/esm/arcgis-time-slider.entry.js +37 -31
- package/dist/esm/arcgis-time-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-track.entry.js +26 -30
- package/dist/esm/arcgis-track.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-associations.entry.js +30 -31
- package/dist/esm/arcgis-utility-network-associations.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-trace.entry.js +43 -23
- package/dist/esm/arcgis-utility-network-trace.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +21 -32
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js.map +1 -0
- package/dist/esm/arcgis-value-picker.entry.js +44 -27
- package/dist/esm/arcgis-value-picker.entry.js.map +1 -0
- package/dist/esm/arcgis-weather.entry.js +25 -19
- package/dist/esm/arcgis-weather.entry.js.map +1 -0
- package/dist/esm/arcgis-zoom.entry.js +23 -24
- package/dist/esm/arcgis-zoom.entry.js.map +1 -0
- package/dist/esm/component-utils-42a79acb.js +125 -0
- package/dist/esm/component-utils-42a79acb.js.map +1 -0
- package/dist/esm/disconnected-bf72f8e5.js +38 -0
- package/dist/esm/disconnected-bf72f8e5.js.map +1 -0
- package/dist/esm/{index-eb3ead33.js → index-05f887cd.js} +752 -71
- package/dist/esm/index-05f887cd.js.map +1 -0
- package/dist/esm/{index-334b0bde.js → index-fd2cea51.js} +3 -1
- package/dist/esm/index-fd2cea51.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +6 -13
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/mapping-utils-a935fed9.js +40 -0
- package/dist/esm/mapping-utils-a935fed9.js.map +1 -0
- package/dist/loader/index.d.ts +2 -2
- package/dist/types/components/{arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts → area-measurement-2d/area-measurement-2d.d.ts} +5 -3
- package/dist/types/components/{arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts → area-measurement-3d/area-measurement-3d.d.ts} +5 -3
- package/dist/types/components/{arcgis-attachments/arcgis-attachments.d.ts → attachments/attachments.d.ts} +10 -1
- package/dist/types/components/{arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts → basemap-gallery/basemap-gallery.d.ts} +5 -3
- package/dist/types/components/{arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts → basemap-layer-list/basemap-layer-list.d.ts} +15 -8
- package/dist/types/components/{arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts → basemap-toggle/basemap-toggle.d.ts} +7 -4
- package/dist/types/components/{arcgis-bookmarks/arcgis-bookmarks.d.ts → bookmarks/bookmarks.d.ts} +10 -7
- package/dist/types/components/{arcgis-building-explorer/arcgis-building-explorer.d.ts → building-explorer/building-explorer.d.ts} +9 -3
- package/dist/types/components/{arcgis-compass/arcgis-compass.d.ts → compass/compass.d.ts} +4 -3
- package/dist/types/components/{arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts → coordinate-conversion/coordinate-conversion.d.ts} +14 -11
- package/dist/types/components/{arcgis-daylight/arcgis-daylight.d.ts → daylight/daylight.d.ts} +9 -6
- package/dist/types/components/{arcgis-directions/arcgis-directions.d.ts → directions/directions.d.ts} +13 -9
- package/dist/types/components/{arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts → directline-measurement-3d/directline-measurement-3d.d.ts} +6 -5
- package/dist/types/components/{arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts → distance-measurement-2d/distance-measurement-2d.d.ts} +6 -5
- package/dist/types/components/{arcgis-editor/arcgis-editor.d.ts → editor/editor.d.ts} +12 -9
- package/dist/types/components/{arcgis-elevation-profile/arcgis-elevation-profile.d.ts → elevation-profile/elevation-profile.d.ts} +12 -8
- package/dist/types/components/expand/expand.d.ts +48 -0
- package/dist/types/components/{arcgis-feature/arcgis-feature.d.ts → feature/feature.d.ts} +13 -5
- package/dist/types/components/feature-form/feature-form.d.ts +42 -0
- package/dist/types/components/{arcgis-feature-table/arcgis-feature-table.d.ts → feature-table/feature-table.d.ts} +25 -18
- package/dist/types/components/feature-templates/feature-templates.d.ts +38 -0
- package/dist/types/components/{arcgis-features/arcgis-features.d.ts → features/features.d.ts} +13 -4
- package/dist/types/components/{arcgis-floor-filter/arcgis-floor-filter.d.ts → floor-filter/floor-filter.d.ts} +8 -7
- package/dist/types/components/{arcgis-fullscreen/arcgis-fullscreen.d.ts → fullscreen/fullscreen.d.ts} +5 -4
- package/dist/types/components/histogram/histogram.d.ts +41 -0
- package/dist/types/components/histogram-range-slider/histogram-range-slider.d.ts +52 -0
- package/dist/types/components/{arcgis-home/arcgis-home.d.ts → home/home.d.ts} +7 -4
- package/dist/types/components/{arcgis-layer-list/arcgis-layer-list.d.ts → layer-list/layer-list.d.ts} +11 -6
- package/dist/types/components/{arcgis-legend/arcgis-legend.d.ts → legend/legend.d.ts} +10 -9
- package/dist/types/components/{arcgis-line-of-sight/arcgis-line-of-sight.d.ts → line-of-sight/line-of-sight.d.ts} +4 -3
- package/dist/types/components/{arcgis-locate/arcgis-locate.d.ts → locate/locate.d.ts} +11 -10
- package/dist/types/components/{arcgis-map/arcgis-map.d.ts → map/map.d.ts} +9 -2
- package/dist/types/components/{arcgis-measurement/arcgis-measurement.d.ts → measurement/measurement.d.ts} +7 -6
- package/dist/types/components/{arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts → navigation-toggle/navigation-toggle.d.ts} +5 -4
- package/dist/types/components/{arcgis-expand/arcgis-expand.d.ts → placement/placement.d.ts} +8 -13
- package/dist/types/components/{arcgis-print/arcgis-print.d.ts → print/print.d.ts} +14 -13
- package/dist/types/components/{arcgis-scale-bar/arcgis-scale-bar.d.ts → scale-bar/scale-bar.d.ts} +6 -5
- package/dist/types/components/{arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts → scale-range-slider/scale-range-slider.d.ts} +12 -9
- package/dist/types/components/{arcgis-scene/arcgis-scene.d.ts → scene/scene.d.ts} +9 -2
- package/dist/types/components/{arcgis-search/arcgis-search.d.ts → search/search.d.ts} +21 -20
- package/dist/types/components/{arcgis-shadow-cast/arcgis-shadow-cast.d.ts → shadow-cast/shadow-cast.d.ts} +6 -5
- package/dist/types/components/{arcgis-sketch/arcgis-sketch.d.ts → sketch/sketch.d.ts} +15 -12
- package/dist/types/components/{arcgis-slice/arcgis-slice.d.ts → slice/slice.d.ts} +4 -5
- package/dist/types/components/{arcgis-slider/arcgis-slider.d.ts → slider/slider.d.ts} +15 -14
- package/dist/types/components/{arcgis-swipe/arcgis-swipe.d.ts → swipe/swipe.d.ts} +1 -0
- package/dist/types/components/{arcgis-table-list/arcgis-table-list.d.ts → table-list/table-list.d.ts} +10 -5
- package/dist/types/components/{arcgis-time-slider/arcgis-time-slider.d.ts → time-slider/time-slider.d.ts} +16 -13
- package/dist/types/components/{arcgis-track/arcgis-track.d.ts → track/track.d.ts} +10 -9
- package/dist/types/components/{arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts → utility-network-associations/utility-network-associations.d.ts} +20 -17
- package/dist/types/components/{arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts → utility-network-trace/utility-network-trace.d.ts} +12 -11
- package/dist/types/components/{arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts → utility-network-validate-topology/utility-network-validate-topology.d.ts} +6 -5
- package/dist/types/components/{arcgis-value-picker/arcgis-value-picker.d.ts → value-picker/value-picker.d.ts} +9 -6
- package/dist/types/components/{arcgis-weather/arcgis-weather.d.ts → weather/weather.d.ts} +6 -3
- package/dist/types/components/{arcgis-zoom/arcgis-zoom.d.ts → zoom/zoom.d.ts} +5 -4
- package/dist/types/components.d.ts +953 -62
- package/dist/types/stencil-public-runtime.d.ts +53 -17
- package/dist/types/utils/component-utils.d.ts +9 -4
- package/dist/types/utils/expandable.d.ts +1 -0
- package/dist/types/utils/mapping-utils.d.ts +1 -1
- package/package.json +21 -23
- package/dist/arcgis-map-components/p-037a3bb6.entry.js +0 -1
- package/dist/arcgis-map-components/p-064bf907.entry.js +0 -1
- package/dist/arcgis-map-components/p-08015460.entry.js +0 -1
- package/dist/arcgis-map-components/p-0d492ad6.entry.js +0 -1
- package/dist/arcgis-map-components/p-0ee8ea5a.entry.js +0 -1
- package/dist/arcgis-map-components/p-11168df4.entry.js +0 -1
- package/dist/arcgis-map-components/p-1680f044.entry.js +0 -1
- package/dist/arcgis-map-components/p-1a6dcf6a.entry.js +0 -1
- package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
- package/dist/arcgis-map-components/p-29c81862.entry.js +0 -1
- package/dist/arcgis-map-components/p-2d3406f7.js +0 -1
- package/dist/arcgis-map-components/p-347dba98.entry.js +0 -1
- package/dist/arcgis-map-components/p-3673ae6e.entry.js +0 -1
- package/dist/arcgis-map-components/p-367c6986.entry.js +0 -1
- package/dist/arcgis-map-components/p-3b2623c6.entry.js +0 -1
- package/dist/arcgis-map-components/p-4722bbad.entry.js +0 -1
- package/dist/arcgis-map-components/p-48c89578.entry.js +0 -1
- package/dist/arcgis-map-components/p-5299aa69.entry.js +0 -1
- package/dist/arcgis-map-components/p-52c3388d.entry.js +0 -1
- package/dist/arcgis-map-components/p-5d2f53bd.entry.js +0 -1
- package/dist/arcgis-map-components/p-615399dd.entry.js +0 -1
- package/dist/arcgis-map-components/p-658a2499.entry.js +0 -1
- package/dist/arcgis-map-components/p-7031c422.entry.js +0 -1
- package/dist/arcgis-map-components/p-7084f84f.entry.js +0 -1
- package/dist/arcgis-map-components/p-74b7f2c3.entry.js +0 -1
- package/dist/arcgis-map-components/p-86a82586.entry.js +0 -1
- package/dist/arcgis-map-components/p-8a60074a.entry.js +0 -1
- package/dist/arcgis-map-components/p-8b4cf5da.entry.js +0 -1
- package/dist/arcgis-map-components/p-922bbfed.entry.js +0 -1
- package/dist/arcgis-map-components/p-932be58c.entry.js +0 -1
- package/dist/arcgis-map-components/p-99d486cb.entry.js +0 -1
- package/dist/arcgis-map-components/p-9fdd4596.entry.js +0 -1
- package/dist/arcgis-map-components/p-a0f092fc.entry.js +0 -1
- package/dist/arcgis-map-components/p-a1e2e59f.entry.js +0 -1
- package/dist/arcgis-map-components/p-a249c2fa.entry.js +0 -1
- package/dist/arcgis-map-components/p-a508d7c6.entry.js +0 -1
- package/dist/arcgis-map-components/p-a89102b6.entry.js +0 -1
- package/dist/arcgis-map-components/p-ac7e9294.entry.js +0 -1
- package/dist/arcgis-map-components/p-adcfd40d.entry.js +0 -1
- package/dist/arcgis-map-components/p-ae96d72a.entry.js +0 -1
- package/dist/arcgis-map-components/p-b026950f.entry.js +0 -1
- package/dist/arcgis-map-components/p-b5904340.entry.js +0 -1
- package/dist/arcgis-map-components/p-b813c9e6.js +0 -1
- package/dist/arcgis-map-components/p-c57f270d.entry.js +0 -1
- package/dist/arcgis-map-components/p-c63d9e91.entry.js +0 -1
- package/dist/arcgis-map-components/p-c8516f87.entry.js +0 -1
- package/dist/arcgis-map-components/p-d3f3affa.entry.js +0 -1
- package/dist/arcgis-map-components/p-d5ac71b2.entry.js +0 -1
- package/dist/arcgis-map-components/p-dcf3861b.entry.js +0 -1
- package/dist/arcgis-map-components/p-e1201530.entry.js +0 -1
- package/dist/arcgis-map-components/p-eb95717e.entry.js +0 -1
- package/dist/arcgis-map-components/p-ee1086de.entry.js +0 -1
- package/dist/arcgis-map-components/p-f28d6d27.js +0 -1
- package/dist/arcgis-map-components/p-f8353590.entry.js +0 -1
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +0 -97
- package/dist/cjs/arcgis-expand_4.cjs.entry.js +0 -693
- package/dist/cjs/disconnected-306cb220.js +0 -55
- package/dist/components/arcgis-expand2.js +0 -107
- package/dist/esm/arcgis-basemap-gallery.entry.js +0 -93
- package/dist/esm/arcgis-expand_4.entry.js +0 -686
- package/dist/esm/disconnected-bc5fc8bc.js +0 -52
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +0 -18
- package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +0 -24
- package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +0 -18
- package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +0 -25
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { a0 as newWidgetsUtilityNetworkAssociations } from './index2.js';
|
|
3
|
+
import { r as referenceElementHelper, c as checkForView } from './component-utils.js';
|
|
4
|
+
import { o as onDisconnectedHelper } from './disconnected.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './expand.js';
|
|
5
6
|
|
|
6
|
-
const
|
|
7
|
+
const utilityNetworkAssociationsCss = "arcgis-utility-network-associations{}";
|
|
7
8
|
|
|
8
|
-
const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisUtilityNetworkAssociations extends HTMLElement {
|
|
9
10
|
constructor() {
|
|
10
11
|
super();
|
|
11
12
|
this.__registerHost();
|
|
12
13
|
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
14
|
+
this._watchHandles = [];
|
|
13
15
|
this.referenceElement = undefined;
|
|
14
16
|
this.autoRefreshAssociations = undefined;
|
|
15
17
|
this.connectivityAssociationsLineSymbol = undefined;
|
|
@@ -24,22 +26,14 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
24
26
|
this.showAssociationsEnabled = undefined;
|
|
25
27
|
this.structuralAttachmentAssociationsLineSymbol = undefined;
|
|
26
28
|
this.utilityNetwork = undefined;
|
|
29
|
+
this.visibleElements = undefined;
|
|
27
30
|
this.view = undefined;
|
|
28
31
|
this.position = "bottom-left";
|
|
29
32
|
this.expandable = false;
|
|
30
33
|
this.widget = undefined;
|
|
31
34
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
// Watchers
|
|
35
|
-
//
|
|
36
|
-
//--------------------------------------------------------------------------
|
|
37
|
-
positionWatcher(newValue) {
|
|
38
|
-
if (newValue !== undefined && this.widget) {
|
|
39
|
-
if (typeof this.view !== "string") {
|
|
40
|
-
this.view.ui.move(this.childElem, newValue);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
35
|
+
referenceElementWatcher(newValue) {
|
|
36
|
+
referenceElementHelper(this, newValue);
|
|
43
37
|
}
|
|
44
38
|
autoRefreshAssociationsWatcher(newValue) {
|
|
45
39
|
if (newValue !== undefined && this.widget) {
|
|
@@ -47,7 +41,7 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
47
41
|
}
|
|
48
42
|
}
|
|
49
43
|
connectivityAssociationsLineSymbolWatcher(newValue) {
|
|
50
|
-
if (
|
|
44
|
+
if (this.widget) {
|
|
51
45
|
this.widget.connectivityAssociationsLineSymbol = newValue;
|
|
52
46
|
}
|
|
53
47
|
}
|
|
@@ -97,23 +91,18 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
97
91
|
}
|
|
98
92
|
}
|
|
99
93
|
structuralAttachmentAssociationsLineSymbolWatcher(newValue) {
|
|
100
|
-
if (
|
|
94
|
+
if (this.widget) {
|
|
101
95
|
this.widget.structuralAttachmentAssociationsLineSymbol = newValue;
|
|
102
96
|
}
|
|
103
97
|
}
|
|
104
98
|
utilityNetworkWatcher(newValue) {
|
|
105
|
-
if (
|
|
99
|
+
if (this.widget) {
|
|
106
100
|
this.widget.utilityNetwork = newValue;
|
|
107
101
|
}
|
|
108
102
|
}
|
|
109
|
-
|
|
110
|
-
if (
|
|
111
|
-
|
|
112
|
-
this.widget.view = view;
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
else if (newValue !== undefined && this.widget) {
|
|
116
|
-
this.widget.view = newValue.view;
|
|
103
|
+
visibleElementsWatcher(newValue) {
|
|
104
|
+
if (this.widget) {
|
|
105
|
+
this.widget.visibleElements = newValue;
|
|
117
106
|
}
|
|
118
107
|
}
|
|
119
108
|
viewWatcher(newValue) {
|
|
@@ -121,6 +110,11 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
121
110
|
this.widget.view = newValue;
|
|
122
111
|
}
|
|
123
112
|
}
|
|
113
|
+
positionWatcher(newValue) {
|
|
114
|
+
if (newValue !== undefined && this.widget) {
|
|
115
|
+
this.view.ui.move(this.childElem, newValue);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
124
118
|
//--------------------------------------------------------------------------
|
|
125
119
|
//
|
|
126
120
|
// Lifecycle
|
|
@@ -190,11 +184,14 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
190
184
|
if (this.utilityNetwork !== undefined) {
|
|
191
185
|
params.utilityNetwork = this.utilityNetwork;
|
|
192
186
|
}
|
|
187
|
+
if (this.visibleElements !== undefined) {
|
|
188
|
+
params.visibleElements = this.visibleElements;
|
|
189
|
+
}
|
|
193
190
|
return params;
|
|
194
191
|
}
|
|
195
192
|
get el() { return this; }
|
|
196
193
|
static get watchers() { return {
|
|
197
|
-
"
|
|
194
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
198
195
|
"autoRefreshAssociations": ["autoRefreshAssociationsWatcher"],
|
|
199
196
|
"connectivityAssociationsLineSymbol": ["connectivityAssociationsLineSymbolWatcher"],
|
|
200
197
|
"includeConnectivityAssociations": ["includeConnectivityAssociationsWatcher"],
|
|
@@ -208,10 +205,11 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
208
205
|
"showAssociationsEnabled": ["showAssociationsEnabledWatcher"],
|
|
209
206
|
"structuralAttachmentAssociationsLineSymbol": ["structuralAttachmentAssociationsLineSymbolWatcher"],
|
|
210
207
|
"utilityNetwork": ["utilityNetworkWatcher"],
|
|
211
|
-
"
|
|
212
|
-
"view": ["viewWatcher"]
|
|
208
|
+
"visibleElements": ["visibleElementsWatcher"],
|
|
209
|
+
"view": ["viewWatcher"],
|
|
210
|
+
"position": ["positionWatcher"]
|
|
213
211
|
}; }
|
|
214
|
-
static get style() { return
|
|
212
|
+
static get style() { return utilityNetworkAssociationsCss; }
|
|
215
213
|
}, [0, "arcgis-utility-network-associations", {
|
|
216
214
|
"referenceElement": [1, "reference-element"],
|
|
217
215
|
"autoRefreshAssociations": [4, "auto-refresh-associations"],
|
|
@@ -227,10 +225,29 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
227
225
|
"showAssociationsEnabled": [4, "show-associations-enabled"],
|
|
228
226
|
"structuralAttachmentAssociationsLineSymbol": [16],
|
|
229
227
|
"utilityNetwork": [16],
|
|
228
|
+
"visibleElements": [16],
|
|
230
229
|
"view": [1040],
|
|
231
230
|
"position": [1],
|
|
232
231
|
"expandable": [4],
|
|
233
232
|
"widget": [1040]
|
|
233
|
+
}, undefined, {
|
|
234
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
235
|
+
"autoRefreshAssociations": ["autoRefreshAssociationsWatcher"],
|
|
236
|
+
"connectivityAssociationsLineSymbol": ["connectivityAssociationsLineSymbolWatcher"],
|
|
237
|
+
"includeConnectivityAssociations": ["includeConnectivityAssociationsWatcher"],
|
|
238
|
+
"includeStructuralAttachmentAssociations": ["includeStructuralAttachmentAssociationsWatcher"],
|
|
239
|
+
"maxAllowableAssociations": ["maxAllowableAssociationsWatcher"],
|
|
240
|
+
"maxAllowableAssociationsSliderMax": ["maxAllowableAssociationsSliderMaxWatcher"],
|
|
241
|
+
"maxAllowableAssociationsSliderMin": ["maxAllowableAssociationsSliderMinWatcher"],
|
|
242
|
+
"maxAllowableAssociationsSliderStep": ["maxAllowableAssociationsSliderStepWatcher"],
|
|
243
|
+
"showArrowsConnectivity": ["showArrowsConnectivityWatcher"],
|
|
244
|
+
"showArrowsStructuralAttachment": ["showArrowsStructuralAttachmentWatcher"],
|
|
245
|
+
"showAssociationsEnabled": ["showAssociationsEnabledWatcher"],
|
|
246
|
+
"structuralAttachmentAssociationsLineSymbol": ["structuralAttachmentAssociationsLineSymbolWatcher"],
|
|
247
|
+
"utilityNetwork": ["utilityNetworkWatcher"],
|
|
248
|
+
"visibleElements": ["visibleElementsWatcher"],
|
|
249
|
+
"view": ["viewWatcher"],
|
|
250
|
+
"position": ["positionWatcher"]
|
|
234
251
|
}]);
|
|
235
252
|
function defineCustomElement$1() {
|
|
236
253
|
if (typeof customElements === "undefined") {
|
|
@@ -256,3 +273,5 @@ const ArcgisUtilityNetworkAssociations = ArcgisUtilityNetworkAssociations$1;
|
|
|
256
273
|
const defineCustomElement = defineCustomElement$1;
|
|
257
274
|
|
|
258
275
|
export { ArcgisUtilityNetworkAssociations, defineCustomElement };
|
|
276
|
+
|
|
277
|
+
//# sourceMappingURL=arcgis-utility-network-associations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"arcgis-utility-network-associations.js","mappings":";;;;;;AAAA,MAAM,6BAA6B,GAAG,uCAAuC;;MCgBhEA,kCAAgC;;;;;IA0L3C,kBAAa,GAAyB,EAAE,CAAC;;;;;;;;;;;;;;;;;oBAbtB,aAAa;sBASX,KAAK;;;EAtK1B,uBAAuB,CAAC,QAAyC;IAC/D,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;GACxC;EAKD,8BAA8B,CAAC,QAAqE;IAClG,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;MACzC,IAAI,CAAC,MAAM,CAAC,uBAAuB,GAAG,QAAQ,CAAC;KAChD;GACF;EAKD,yCAAyC,CACvC,QAAgF;IAEhF,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,kCAAkC,GAAG,QAAQ,CAAC;KAC3D;GACF;EAKD,sCAAsC,CACpC,QAA6E;IAE7E,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;MACzC,IAAI,CAAC,MAAM,CAAC,+BAA+B,GAAG,QAAQ,CAAC;KACxD;GACF;EAMD,8CAA8C,CAC5C,QAAqF;IAErF,I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D,MAAM,CAAC,kCAAkC,GAAG,IAAI,CAAC,kCAAkC,CAAC;KACrF;IAED,IAAI,IAAI,CAAC,sBAAsB,KAAK,SAAS,EAAE;MAC7C,MAAM,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC;KAC7D;IAED,IAAI,IAAI,CAAC,8BAA8B,KAAK,SAAS,EAAE;MACrD,MAAM,CAAC,8BAA8B,GAAG,IAAI,CAAC,8BAA8B,CAAC;KAC7E;IAED,IAAI,IAAI,CAAC,uBAAuB,KAAK,SAAS,EAAE;MAC9C,MAAM,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC;KAC/D;IAED,IAAI,IAAI,CAAC,0CAA0C,KAAK,SAAS,EAAE;MACjE,MAAM,CAAC,0CAA0C,GAAG,IAAI,CAAC,0CAA0C,CAAC;KACrG;IAED,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,EAAE;MACrC,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;KAC7C;IAED,IAAI,IAAI,CAAC,eAAe,KAAK,SAAS,EAAE;MACtC,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;KAC/C;IAED,OAAO,MAAM,CAAC;GACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ArcgisUtilityNetworkAssociations"],"sources":["src/components/utility-network-associations/utility-network-associations.css?tag=arcgis-utility-network-associations","src/components/utility-network-associations/utility-network-associations.tsx"],"sourcesContent":["arcgis-utility-network-associations {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsUtilityNetworkAssociations } from \"@arcgis/core-adapter\";\nimport type UtilityNetworkAssociations from \"@arcgis/core/widgets/UtilityNetworkAssociations\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView } from \"../types\";\n\nexport type UtilityNetworkAssociationsWidget = InstanceType<typeof UtilityNetworkAssociations>;\n\n@Component({\n tag: \"arcgis-utility-network-associations\",\n styleUrl: \"utility-network-associations.css\"\n})\nexport class ArcgisUtilityNetworkAssociations implements ExpandableComponent {\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() autoRefreshAssociations: UtilityNetworkAssociationsWidget[\"autoRefreshAssociations\"];\n\n @Watch(\"autoRefreshAssociations\")\n autoRefreshAssociationsWatcher(newValue: UtilityNetworkAssociationsWidget[\"autoRefreshAssociations\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.autoRefreshAssociations = newValue;\n }\n }\n\n @Prop() connectivityAssociationsLineSymbol: UtilityNetworkAssociationsWidget[\"connectivityAssociationsLineSymbol\"];\n\n @Watch(\"connectivityAssociationsLineSymbol\")\n connectivityAssociationsLineSymbolWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"connectivityAssociationsLineSymbol\"]\n ): void {\n if (this.widget) {\n this.widget.connectivityAssociationsLineSymbol = newValue;\n }\n }\n\n @Prop() includeConnectivityAssociations: UtilityNetworkAssociationsWidget[\"includeConnectivityAssociations\"];\n\n @Watch(\"includeConnectivityAssociations\")\n includeConnectivityAssociationsWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"includeConnectivityAssociations\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.includeConnectivityAssociations = newValue;\n }\n }\n\n @Prop()\n includeStructuralAttachmentAssociations: UtilityNetworkAssociationsWidget[\"includeStructuralAttachmentAssociations\"];\n\n @Watch(\"includeStructuralAttachmentAssociations\")\n includeStructuralAttachmentAssociationsWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"includeStructuralAttachmentAssociations\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.includeStructuralAttachmentAssociations = newValue;\n }\n }\n\n @Prop() maxAllowableAssociations: UtilityNetworkAssociationsWidget[\"maxAllowableAssociations\"];\n\n @Watch(\"maxAllowableAssociations\")\n maxAllowableAssociationsWatcher(newValue: UtilityNetworkAssociationsWidget[\"maxAllowableAssociations\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.maxAllowableAssociations = newValue;\n }\n }\n\n @Prop() maxAllowableAssociationsSliderMax: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderMax\"];\n\n @Watch(\"maxAllowableAssociationsSliderMax\")\n maxAllowableAssociationsSliderMaxWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderMax\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.maxAllowableAssociationsSliderMax = newValue;\n }\n }\n\n @Prop() maxAllowableAssociationsSliderMin: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderMin\"];\n\n @Watch(\"maxAllowableAssociationsSliderMin\")\n maxAllowableAssociationsSliderMinWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderMin\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.maxAllowableAssociationsSliderMin = newValue;\n }\n }\n\n @Prop() maxAllowableAssociationsSliderStep: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderStep\"];\n\n @Watch(\"maxAllowableAssociationsSliderStep\")\n maxAllowableAssociationsSliderStepWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderStep\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.maxAllowableAssociationsSliderStep = newValue;\n }\n }\n\n @Prop() showArrowsConnectivity: UtilityNetworkAssociationsWidget[\"showArrowsConnectivity\"];\n\n @Watch(\"showArrowsConnectivity\")\n showArrowsConnectivityWatcher(newValue: UtilityNetworkAssociationsWidget[\"showArrowsConnectivity\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showArrowsConnectivity = newValue;\n }\n }\n\n @Prop() showArrowsStructuralAttachment: UtilityNetworkAssociationsWidget[\"showArrowsStructuralAttachment\"];\n\n @Watch(\"showArrowsStructuralAttachment\")\n showArrowsStructuralAttachmentWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"showArrowsStructuralAttachment\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showArrowsStructuralAttachment = newValue;\n }\n }\n\n @Prop() showAssociationsEnabled: UtilityNetworkAssociationsWidget[\"showAssociationsEnabled\"];\n\n @Watch(\"showAssociationsEnabled\")\n showAssociationsEnabledWatcher(newValue: UtilityNetworkAssociationsWidget[\"showAssociationsEnabled\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showAssociationsEnabled = newValue;\n }\n }\n\n @Prop()\n structuralAttachmentAssociationsLineSymbol: UtilityNetworkAssociationsWidget[\"structuralAttachmentAssociationsLineSymbol\"];\n\n @Watch(\"structuralAttachmentAssociationsLineSymbol\")\n structuralAttachmentAssociationsLineSymbolWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"structuralAttachmentAssociationsLineSymbol\"]\n ): void {\n if (this.widget) {\n this.widget.structuralAttachmentAssociationsLineSymbol = newValue;\n }\n }\n\n @Prop() utilityNetwork: UtilityNetworkAssociationsWidget[\"utilityNetwork\"];\n\n @Watch(\"utilityNetwork\")\n utilityNetworkWatcher(newValue: UtilityNetworkAssociationsWidget[\"utilityNetwork\"]): void {\n if (this.widget) {\n this.widget.utilityNetwork = newValue;\n }\n }\n\n @Prop() visibleElements: UtilityNetworkAssociationsWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(newValue: UtilityNetworkAssociationsWidget[\"visibleElements\"]): void {\n if (this.widget) {\n this.widget.visibleElements = newValue;\n }\n }\n\n @Prop({ mutable: true }) view: ArcGISMapView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) widget: UtilityNetworkAssociationsWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.UtilityNetworkAssociations }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsUtilityNetworkAssociations(params);\n\n this.widget = widget;\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<UtilityNetworkAssociationsWidget> {\n const params: Partial<UtilityNetworkAssociationsWidget> = {\n container: this.childElem\n };\n\n if (this.autoRefreshAssociations !== undefined) {\n params.autoRefreshAssociations = this.autoRefreshAssociations;\n }\n\n if (this.connectivityAssociationsLineSymbol !== undefined) {\n params.connectivityAssociationsLineSymbol = this.connectivityAssociationsLineSymbol;\n }\n\n if (this.includeConnectivityAssociations !== undefined) {\n params.includeConnectivityAssociations = this.includeConnectivityAssociations;\n }\n\n if (this.includeStructuralAttachmentAssociations !== undefined) {\n params.includeStructuralAttachmentAssociations = this.includeStructuralAttachmentAssociations;\n }\n\n if (this.maxAllowableAssociations !== undefined) {\n params.maxAllowableAssociations = this.maxAllowableAssociations;\n }\n\n if (this.maxAllowableAssociationsSliderMax !== undefined) {\n params.maxAllowableAssociationsSliderMax = this.maxAllowableAssociationsSliderMax;\n }\n\n if (this.maxAllowableAssociationsSliderMin !== undefined) {\n params.maxAllowableAssociationsSliderMin = this.maxAllowableAssociationsSliderMin;\n }\n\n if (this.maxAllowableAssociationsSliderStep !== undefined) {\n params.maxAllowableAssociationsSliderStep = this.maxAllowableAssociationsSliderStep;\n }\n\n if (this.showArrowsConnectivity !== undefined) {\n params.showArrowsConnectivity = this.showArrowsConnectivity;\n }\n\n if (this.showArrowsStructuralAttachment !== undefined) {\n params.showArrowsStructuralAttachment = this.showArrowsStructuralAttachment;\n }\n\n if (this.showAssociationsEnabled !== undefined) {\n params.showAssociationsEnabled = this.showAssociationsEnabled;\n }\n\n if (this.structuralAttachmentAssociationsLineSymbol !== undefined) {\n params.structuralAttachmentAssociationsLineSymbol = this.structuralAttachmentAssociationsLineSymbol;\n }\n\n if (this.utilityNetwork !== undefined) {\n params.utilityNetwork = this.utilityNetwork;\n }\n\n if (this.visibleElements !== undefined) {\n params.visibleElements = this.visibleElements;\n }\n\n return params;\n }\n}\n"],"version":3}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView
|
|
4
|
-
import {
|
|
2
|
+
import { a1 as newWidgetsUtilityNetworkTrace } from './index2.js';
|
|
3
|
+
import { r as referenceElementHelper, c as checkForView } from './component-utils.js';
|
|
4
|
+
import { o as onDisconnectedHelper } from './disconnected.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './expand.js';
|
|
5
6
|
|
|
6
|
-
const
|
|
7
|
+
const utilityNetworkTraceCss = "";
|
|
7
8
|
|
|
8
|
-
const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisUtilityNetworkTrace extends HTMLElement {
|
|
9
10
|
constructor() {
|
|
10
11
|
super();
|
|
11
12
|
this.__registerHost();
|
|
@@ -13,6 +14,7 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
13
14
|
this.traceAddFlagComplete = createEvent(this, "traceAddFlagComplete", 7);
|
|
14
15
|
this.traceAddFlagError = createEvent(this, "traceAddFlagError", 7);
|
|
15
16
|
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
17
|
+
this._watchHandles = [];
|
|
16
18
|
this.referenceElement = undefined;
|
|
17
19
|
this.defaultGraphicColor = undefined;
|
|
18
20
|
this.flags = undefined;
|
|
@@ -27,33 +29,31 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
27
29
|
this.view = undefined;
|
|
28
30
|
this.widget = undefined;
|
|
29
31
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
//
|
|
34
|
-
//--------------------------------------------------------------------------
|
|
32
|
+
referenceElementWatcher(newValue) {
|
|
33
|
+
referenceElementHelper(this, newValue);
|
|
34
|
+
}
|
|
35
35
|
defaultGraphicColorWatcher(newValue) {
|
|
36
|
-
if (
|
|
36
|
+
if (this.widget) {
|
|
37
37
|
this.widget.defaultGraphicColor = newValue;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
flagsWatcher(newValue) {
|
|
41
|
-
if (
|
|
41
|
+
if (this.widget) {
|
|
42
42
|
this.widget.flags = newValue;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
gdbVersionWatcher(newValue) {
|
|
46
|
-
if (
|
|
46
|
+
if (this.widget) {
|
|
47
47
|
this.widget.gdbVersion = newValue;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
inputSettingsWatcher(newValue) {
|
|
51
|
-
if (
|
|
51
|
+
if (this.widget) {
|
|
52
52
|
this.widget.inputSettings = newValue;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
selectedTracesWatcher(newValue) {
|
|
56
|
-
if (
|
|
56
|
+
if (this.widget) {
|
|
57
57
|
this.widget.selectedTraces = newValue;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -74,14 +74,9 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
74
74
|
}
|
|
75
75
|
positionWatcher(newValue) {
|
|
76
76
|
if (newValue !== undefined && this.widget) {
|
|
77
|
-
|
|
78
|
-
this.view.ui.move(this.childElem, newValue);
|
|
79
|
-
}
|
|
77
|
+
this.view.ui.move(this.childElem, newValue);
|
|
80
78
|
}
|
|
81
79
|
}
|
|
82
|
-
referenceElementWatcher(newValue) {
|
|
83
|
-
referenceElementHelper(this, newValue);
|
|
84
|
-
}
|
|
85
80
|
viewWatcher(newValue) {
|
|
86
81
|
if (newValue !== undefined && this.widget) {
|
|
87
82
|
this.widget.view = newValue;
|
|
@@ -129,6 +124,30 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
129
124
|
const params = {
|
|
130
125
|
container: this.childElem
|
|
131
126
|
};
|
|
127
|
+
if (this.defaultGraphicColor) {
|
|
128
|
+
params.defaultGraphicColor = this.defaultGraphicColor;
|
|
129
|
+
}
|
|
130
|
+
if (this.flags) {
|
|
131
|
+
params.flags = this.flags;
|
|
132
|
+
}
|
|
133
|
+
if (this.gdbVersion) {
|
|
134
|
+
params.gdbVersion = this.gdbVersion;
|
|
135
|
+
}
|
|
136
|
+
if (this.inputSettings) {
|
|
137
|
+
params.inputSettings = this.inputSettings;
|
|
138
|
+
}
|
|
139
|
+
if (this.selectedTraces) {
|
|
140
|
+
params.selectedTraces = this.selectedTraces;
|
|
141
|
+
}
|
|
142
|
+
if (this.selectOnComplete !== undefined) {
|
|
143
|
+
params.selectOnComplete = this.selectOnComplete;
|
|
144
|
+
}
|
|
145
|
+
if (this.showGraphicsOnComplete !== undefined) {
|
|
146
|
+
params.showGraphicsOnComplete = this.showGraphicsOnComplete;
|
|
147
|
+
}
|
|
148
|
+
if (this.showSelectionAttributes !== undefined) {
|
|
149
|
+
params.showSelectionAttributes = this.showSelectionAttributes;
|
|
150
|
+
}
|
|
132
151
|
if (this.view) {
|
|
133
152
|
params.view = this.view;
|
|
134
153
|
}
|
|
@@ -141,6 +160,7 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
141
160
|
}
|
|
142
161
|
get el() { return this; }
|
|
143
162
|
static get watchers() { return {
|
|
163
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
144
164
|
"defaultGraphicColor": ["defaultGraphicColorWatcher"],
|
|
145
165
|
"flags": ["flagsWatcher"],
|
|
146
166
|
"gdbVersion": ["gdbVersionWatcher"],
|
|
@@ -150,10 +170,9 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
150
170
|
"showGraphicsOnComplete": ["showGraphicsOnCompleteWatcher"],
|
|
151
171
|
"showSelectionAttributes": ["showSelectionAttributesWatcher"],
|
|
152
172
|
"position": ["positionWatcher"],
|
|
153
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
154
173
|
"view": ["viewWatcher"]
|
|
155
174
|
}; }
|
|
156
|
-
static get style() { return
|
|
175
|
+
static get style() { return utilityNetworkTraceCss; }
|
|
157
176
|
}, [0, "arcgis-utility-network-trace", {
|
|
158
177
|
"referenceElement": [1, "reference-element"],
|
|
159
178
|
"defaultGraphicColor": [16],
|
|
@@ -170,6 +189,18 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
170
189
|
"widget": [1040],
|
|
171
190
|
"checkCanTrace": [64],
|
|
172
191
|
"confirmReset": [64]
|
|
192
|
+
}, undefined, {
|
|
193
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
194
|
+
"defaultGraphicColor": ["defaultGraphicColorWatcher"],
|
|
195
|
+
"flags": ["flagsWatcher"],
|
|
196
|
+
"gdbVersion": ["gdbVersionWatcher"],
|
|
197
|
+
"inputSettings": ["inputSettingsWatcher"],
|
|
198
|
+
"selectedTraces": ["selectedTracesWatcher"],
|
|
199
|
+
"selectOnComplete": ["selectOnCompleteWatcher"],
|
|
200
|
+
"showGraphicsOnComplete": ["showGraphicsOnCompleteWatcher"],
|
|
201
|
+
"showSelectionAttributes": ["showSelectionAttributesWatcher"],
|
|
202
|
+
"position": ["positionWatcher"],
|
|
203
|
+
"view": ["viewWatcher"]
|
|
173
204
|
}]);
|
|
174
205
|
function defineCustomElement$1() {
|
|
175
206
|
if (typeof customElements === "undefined") {
|
|
@@ -195,3 +226,5 @@ const ArcgisUtilityNetworkTrace = ArcgisUtilityNetworkTrace$1;
|
|
|
195
226
|
const defineCustomElement = defineCustomElement$1;
|
|
196
227
|
|
|
197
228
|
export { ArcgisUtilityNetworkTrace, defineCustomElement };
|
|
229
|
+
|
|
230
|
+
//# sourceMappingURL=arcgis-utility-network-trace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"arcgis-utility-network-trace.js","mappings":";;;;;;AAAA,MAAM,sBAAsB,GAAG,EAAE;;MCiBpBA,2BAAyB;;;;;;;;IAyHpC,kBAAa,GAAyB,EAAE,CAAC;;;;;;;;;;oBAtBtB,aAAa;sBASX,KAAK;;;;EArF1B,uBAAuB,CAAC,QAAyC;IAC/D,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;GACxC;EAKD,0B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AAK,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9E,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;GACzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ArcgisUtilityNetworkTrace"],"sources":["src/components/utility-network-trace/utility-network-trace.css?tag=arcgis-utility-network-trace","src/components/utility-network-trace/utility-network-trace.tsx"],"sourcesContent":["","import { Component, Element, Event, EventEmitter, Method, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsUtilityNetworkTrace } from \"@arcgis/core-adapter\";\nimport type UtilityNetworkTrace from \"@arcgis/core/widgets/UtilityNetworkTrace\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView } from \"../types\";\n\nexport type UtilityNetworkTraceWidget = InstanceType<typeof UtilityNetworkTrace>;\n\n@Component({\n tag: \"arcgis-utility-network-trace\",\n styleUrl: \"utility-network-trace.css\",\n shadow: false\n})\nexport class ArcgisUtilityNetworkTrace implements ExpandableComponent {\n //--------------------------------------------------------------------------\n //\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() defaultGraphicColor: UtilityNetworkTraceWidget[\"defaultGraphicColor\"];\n\n @Watch(\"defaultGraphicColor\")\n defaultGraphicColorWatcher(newValue: UtilityNetworkTraceWidget[\"defaultGraphicColor\"]): void {\n if (this.widget) {\n this.widget.defaultGraphicColor = newValue;\n }\n }\n\n @Prop() flags: UtilityNetworkTraceWidget[\"flags\"];\n\n @Watch(\"flags\")\n flagsWatcher(newValue: UtilityNetworkTraceWidget[\"flags\"]): void {\n if (this.widget) {\n this.widget.flags = newValue;\n }\n }\n\n @Prop() gdbVersion: UtilityNetworkTraceWidget[\"gdbVersion\"];\n\n @Watch(\"gdbVersion\")\n gdbVersionWatcher(newValue: UtilityNetworkTraceWidget[\"gdbVersion\"]): void {\n if (this.widget) {\n this.widget.gdbVersion = newValue;\n }\n }\n\n @Prop() inputSettings: UtilityNetworkTraceWidget[\"inputSettings\"];\n\n @Watch(\"inputSettings\")\n inputSettingsWatcher(newValue: UtilityNetworkTraceWidget[\"inputSettings\"]): void {\n if (this.widget) {\n this.widget.inputSettings = newValue;\n }\n }\n\n @Prop() selectedTraces: UtilityNetworkTraceWidget[\"selectedTraces\"];\n\n @Watch(\"selectedTraces\")\n selectedTracesWatcher(newValue: UtilityNetworkTraceWidget[\"selectedTraces\"]): void {\n if (this.widget) {\n this.widget.selectedTraces = newValue;\n }\n }\n\n @Prop() selectOnComplete: UtilityNetworkTraceWidget[\"selectOnComplete\"];\n\n @Watch(\"selectOnComplete\")\n selectOnCompleteWatcher(newValue: UtilityNetworkTraceWidget[\"selectOnComplete\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.selectOnComplete = newValue;\n }\n }\n\n @Prop() showGraphicsOnComplete: UtilityNetworkTraceWidget[\"showGraphicsOnComplete\"];\n\n @Watch(\"showGraphicsOnComplete\")\n showGraphicsOnCompleteWatcher(newValue: UtilityNetworkTraceWidget[\"showGraphicsOnComplete\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showGraphicsOnComplete = newValue;\n }\n }\n\n @Prop() showSelectionAttributes: UtilityNetworkTraceWidget[\"showSelectionAttributes\"];\n\n @Watch(\"showSelectionAttributes\")\n showSelectionAttributesWatcher(newValue: UtilityNetworkTraceWidget[\"showSelectionAttributes\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showSelectionAttributes = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) view: ArcGISMapView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop({ mutable: true }) widget: UtilityNetworkTraceWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) traceAddFlag: EventEmitter<__esri.UtilityNetworkTraceAddFlagEvent>;\n @Event({ cancelable: true }) traceAddFlagComplete: EventEmitter<__esri.UtilityNetworkTraceAddFlagCompleteEvent>;\n @Event({ cancelable: true }) traceAddFlagError: EventEmitter<__esri.UtilityNetworkTraceAddFlagErrorEvent>;\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.UtilityNetworkTrace }>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async checkCanTrace(): Promise<void> {\n return this.widget?.checkCanTrace();\n }\n\n @Method()\n async confirmReset(): Promise<void> {\n return this.widget?.confirmReset();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsUtilityNetworkTrace(params);\n\n this.widget = widget;\n\n this._proxyEvents();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<UtilityNetworkTraceWidget> {\n const params: Partial<UtilityNetworkTraceWidget> = {\n container: this.childElem\n };\n\n if (this.defaultGraphicColor) {\n params.defaultGraphicColor = this.defaultGraphicColor;\n }\n\n if (this.flags) {\n params.flags = this.flags;\n }\n\n if (this.gdbVersion) {\n params.gdbVersion = this.gdbVersion;\n }\n\n if (this.inputSettings) {\n params.inputSettings = this.inputSettings;\n }\n\n if (this.selectedTraces) {\n params.selectedTraces = this.selectedTraces;\n }\n\n if (this.selectOnComplete !== undefined) {\n params.selectOnComplete = this.selectOnComplete;\n }\n\n if (this.showGraphicsOnComplete !== undefined) {\n params.showGraphicsOnComplete = this.showGraphicsOnComplete;\n }\n\n if (this.showSelectionAttributes !== undefined) {\n params.showSelectionAttributes = this.showSelectionAttributes;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n\n private _proxyEvents() {\n this.widget.on(\"add-flag\", (e) => this.traceAddFlag.emit(e));\n this.widget.on(\"add-flag-complete\", (e) => this.traceAddFlagComplete.emit(e));\n this.widget.on(\"add-flag-error\", (e) => this.traceAddFlagError.emit(e));\n }\n}\n"],"version":3}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { a2 as newWidgetsUtilityNetworkValidateTopology } from './index2.js';
|
|
3
|
+
import { r as referenceElementHelper, c as checkForView } from './component-utils.js';
|
|
4
|
+
import { o as onDisconnectedHelper } from './disconnected.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './expand.js';
|
|
5
6
|
|
|
6
|
-
const
|
|
7
|
+
const utilityNetworkValidateTopologyCss = "arcgis-utility-network-validate-topology{}";
|
|
7
8
|
|
|
8
|
-
const ArcgisUtilityNetworkValidateTopology$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
const ArcgisUtilityNetworkValidateTopology$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisUtilityNetworkValidateTopology extends HTMLElement {
|
|
9
10
|
constructor() {
|
|
10
11
|
super();
|
|
11
12
|
this.__registerHost();
|
|
12
13
|
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
14
|
+
this._watchHandles = [];
|
|
13
15
|
this.referenceElement = undefined;
|
|
14
16
|
this.extentToValidate = undefined;
|
|
15
17
|
this.utilityNetwork = undefined;
|
|
@@ -18,43 +20,29 @@ const ArcgisUtilityNetworkValidateTopology$1 = /*@__PURE__*/ proxyCustomElement(
|
|
|
18
20
|
this.expandable = false;
|
|
19
21
|
this.widget = undefined;
|
|
20
22
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// Watchers
|
|
24
|
-
//
|
|
25
|
-
//--------------------------------------------------------------------------
|
|
26
|
-
positionWatcher(newValue) {
|
|
27
|
-
if (newValue !== undefined && this.widget) {
|
|
28
|
-
if (typeof this.view !== "string") {
|
|
29
|
-
this.view.ui.move(this.childElem, newValue);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
23
|
+
referenceElementWatcher(newValue) {
|
|
24
|
+
referenceElementHelper(this, newValue);
|
|
32
25
|
}
|
|
33
26
|
extentToValidateWatcher(newValue) {
|
|
34
|
-
if (
|
|
27
|
+
if (this.widget) {
|
|
35
28
|
this.widget.extentToValidate = newValue;
|
|
36
29
|
}
|
|
37
30
|
}
|
|
38
31
|
utilityNetworkWatcher(newValue) {
|
|
39
|
-
if (
|
|
32
|
+
if (this.widget) {
|
|
40
33
|
this.widget.utilityNetwork = newValue;
|
|
41
34
|
}
|
|
42
35
|
}
|
|
43
|
-
referenceElementWatcher(newValue) {
|
|
44
|
-
if (typeof newValue === "string") {
|
|
45
|
-
updateForView(newValue).then((view) => {
|
|
46
|
-
this.widget.view = view;
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
else if (newValue !== undefined && this.widget) {
|
|
50
|
-
this.widget.view = newValue.view;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
36
|
viewWatcher(newValue) {
|
|
54
37
|
if (newValue !== undefined && this.widget) {
|
|
55
38
|
this.widget.view = newValue;
|
|
56
39
|
}
|
|
57
40
|
}
|
|
41
|
+
positionWatcher(newValue) {
|
|
42
|
+
if (newValue !== undefined && this.widget) {
|
|
43
|
+
this.view.ui.move(this.childElem, newValue);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
58
46
|
//--------------------------------------------------------------------------
|
|
59
47
|
//
|
|
60
48
|
// Lifecycle
|
|
@@ -95,13 +83,13 @@ const ArcgisUtilityNetworkValidateTopology$1 = /*@__PURE__*/ proxyCustomElement(
|
|
|
95
83
|
}
|
|
96
84
|
get el() { return this; }
|
|
97
85
|
static get watchers() { return {
|
|
98
|
-
"
|
|
86
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
99
87
|
"extentToValidate": ["extentToValidateWatcher"],
|
|
100
88
|
"utilityNetwork": ["utilityNetworkWatcher"],
|
|
101
|
-
"
|
|
102
|
-
"
|
|
89
|
+
"view": ["viewWatcher"],
|
|
90
|
+
"position": ["positionWatcher"]
|
|
103
91
|
}; }
|
|
104
|
-
static get style() { return
|
|
92
|
+
static get style() { return utilityNetworkValidateTopologyCss; }
|
|
105
93
|
}, [0, "arcgis-utility-network-validate-topology", {
|
|
106
94
|
"referenceElement": [1, "reference-element"],
|
|
107
95
|
"extentToValidate": [1, "extent-to-validate"],
|
|
@@ -110,6 +98,12 @@ const ArcgisUtilityNetworkValidateTopology$1 = /*@__PURE__*/ proxyCustomElement(
|
|
|
110
98
|
"position": [1],
|
|
111
99
|
"expandable": [4],
|
|
112
100
|
"widget": [1040]
|
|
101
|
+
}, undefined, {
|
|
102
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
103
|
+
"extentToValidate": ["extentToValidateWatcher"],
|
|
104
|
+
"utilityNetwork": ["utilityNetworkWatcher"],
|
|
105
|
+
"view": ["viewWatcher"],
|
|
106
|
+
"position": ["positionWatcher"]
|
|
113
107
|
}]);
|
|
114
108
|
function defineCustomElement$1() {
|
|
115
109
|
if (typeof customElements === "undefined") {
|
|
@@ -135,3 +129,5 @@ const ArcgisUtilityNetworkValidateTopology = ArcgisUtilityNetworkValidateTopolog
|
|
|
135
129
|
const defineCustomElement = defineCustomElement$1;
|
|
136
130
|
|
|
137
131
|
export { ArcgisUtilityNetworkValidateTopology, defineCustomElement };
|
|
132
|
+
|
|
133
|
+
//# sourceMappingURL=arcgis-utility-network-validate-topology.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"arcgis-utility-network-validate-topology.js","mappings":";;;;;;AAAA,MAAM,iCAAiC,GAAG,4CAA4C;;MCgBzEA,sCAAoC;;;;;IA4D/C,kBAAa,GAAyB,EAAE,CAAC;;;;;oBAbtB,aAAa;sBASX,KAAK;;;EAxC1B,uBAAuB,CAAC,QAAyC;IAC/D,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;GACxC;EAKD,uBAAuB,CAAC,QAAkE;IACxF,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,gBAAgB,GAAG,QAAQ,CAAC;KACzC;GACF;EAKD,qBAAqB,CAAC,QAAgE;IACpF,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,cAAc,GAAG,QAAQ,CAAC;KACvC;GACF;EAKD,WAAW,CAAC,QAAuB;IACjC,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;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C;KACjD;IAED,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,EAAE;MACrC,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;KAC7C;IAED,OAAO,MAAM,CAAC;GACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ArcgisUtilityNetworkValidateTopology"],"sources":["src/components/utility-network-validate-topology/utility-network-validate-topology.css?tag=arcgis-utility-network-validate-topology","src/components/utility-network-validate-topology/utility-network-validate-topology.tsx"],"sourcesContent":["arcgis-utility-network-validate-topology {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsUtilityNetworkValidateTopology } from \"@arcgis/core-adapter\";\nimport type UtilityNetworkValidateTopology from \"@arcgis/core/widgets/UtilityNetworkValidateTopology\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView } from \"../types\";\n\nexport type UtilityNetworkValidateTopologyWidget = InstanceType<typeof UtilityNetworkValidateTopology>;\n\n@Component({\n tag: \"arcgis-utility-network-validate-topology\",\n styleUrl: \"utility-network-validate-topology.css\"\n})\nexport class ArcgisUtilityNetworkValidateTopology implements ExpandableComponent {\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() extentToValidate: UtilityNetworkValidateTopologyWidget[\"extentToValidate\"];\n\n @Watch(\"extentToValidate\")\n extentToValidateWatcher(newValue: UtilityNetworkValidateTopologyWidget[\"extentToValidate\"]): void {\n if (this.widget) {\n this.widget.extentToValidate = newValue;\n }\n }\n\n @Prop() utilityNetwork: UtilityNetworkValidateTopologyWidget[\"utilityNetwork\"];\n\n @Watch(\"utilityNetwork\")\n utilityNetworkWatcher(newValue: UtilityNetworkValidateTopologyWidget[\"utilityNetwork\"]): void {\n if (this.widget) {\n this.widget.utilityNetwork = newValue;\n }\n }\n\n @Prop({ mutable: true }) view: ArcGISMapView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) widget: UtilityNetworkValidateTopologyWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.UtilityNetworkValidateTopology }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsUtilityNetworkValidateTopology(params);\n\n this.widget = widget;\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<UtilityNetworkValidateTopologyWidget> {\n const params: Partial<UtilityNetworkValidateTopologyWidget> = {\n container: this.childElem\n };\n\n if (this.extentToValidate !== undefined) {\n params.extentToValidate = this.extentToValidate;\n }\n\n if (this.utilityNetwork !== undefined) {\n params.utilityNetwork = this.utilityNetwork;\n }\n\n return params;\n }\n}\n"],"version":3}
|